/**
 * HalkSports — Gelişmiş tema (koyu / açık / sistem), mobil, oynatıcı araç çubuğu
 */
html[data-theme="dark"] {
  color-scheme: dark;
  --t-bg: #09090b;
  --t-bg-2: #0f0f12;
  --t-surface: rgba(39, 39, 42, 0.55);
  --t-surface-2: #18181b;
  --t-surface-3: #27272a;
  --t-border: rgba(255, 255, 255, 0.07);
  --t-border-strong: rgba(255, 255, 255, 0.12);
  --t-text: #fafafa;
  --t-muted: #a1a1aa;
  --t-muted-2: #71717a;
  --t-accent: #10b981;
  --t-accent-hover: #34d399;
  --t-accent-dim: rgba(16, 185, 129, 0.12);
  --t-live: #f87171;
  --t-glow: rgba(16, 185, 129, 0.22);
  --t-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --t-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --t-chrome-bg: rgba(24, 24, 27, 0.95);
}

html[data-theme="light"] {
  color-scheme: light;
  --t-bg: #f4f4f5;
  --t-bg-2: #e4e4e7;
  --t-surface: rgba(255, 255, 255, 0.92);
  --t-surface-2: #ffffff;
  --t-surface-3: #fafafa;
  --t-border: rgba(0, 0, 0, 0.09);
  --t-border-strong: rgba(0, 0, 0, 0.14);
  --t-text: #18181b;
  --t-muted: #52525b;
  --t-muted-2: #71717a;
  --t-accent: #059669;
  --t-accent-hover: #10b981;
  --t-accent-dim: rgba(5, 150, 105, 0.1);
  --t-live: #dc2626;
  --t-glow: rgba(5, 150, 105, 0.18);
  --t-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --t-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
  --t-chrome-bg: rgba(255, 255, 255, 0.96);
}

@media (prefers-color-scheme: light) {
  html[data-theme="system"] {
    color-scheme: light;
    --t-bg: #f4f4f5;
    --t-bg-2: #e4e4e7;
    --t-surface: rgba(255, 255, 255, 0.92);
    --t-surface-2: #ffffff;
    --t-surface-3: #fafafa;
    --t-border: rgba(0, 0, 0, 0.09);
    --t-border-strong: rgba(0, 0, 0, 0.14);
    --t-text: #18181b;
    --t-muted: #52525b;
    --t-muted-2: #71717a;
    --t-accent: #059669;
    --t-accent-hover: #10b981;
    --t-accent-dim: rgba(5, 150, 105, 0.1);
    --t-live: #dc2626;
    --t-glow: rgba(5, 150, 105, 0.18);
    --t-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --t-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
    --t-chrome-bg: rgba(255, 255, 255, 0.96);
  }
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    color-scheme: dark;
    --t-bg: #09090b;
    --t-bg-2: #0f0f12;
    --t-surface: rgba(39, 39, 42, 0.55);
    --t-surface-2: #18181b;
    --t-surface-3: #27272a;
    --t-border: rgba(255, 255, 255, 0.07);
    --t-border-strong: rgba(255, 255, 255, 0.12);
    --t-text: #fafafa;
    --t-muted: #a1a1aa;
    --t-muted-2: #71717a;
    --t-accent: #10b981;
    --t-accent-hover: #34d399;
    --t-accent-dim: rgba(16, 185, 129, 0.12);
    --t-live: #f87171;
    --t-glow: rgba(16, 185, 129, 0.22);
    --t-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --t-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
    --t-chrome-bg: rgba(24, 24, 27, 0.95);
  }
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.theme-hs-pro {
  --hs-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hs-radius: 14px;
  --hs-radius-sm: 10px;
  --hs-radius-lg: 18px;
  --hs-tap: 48px;
  --maxwidth: min(1180px, 100vw - 20px);
  --hs-bg-deep: var(--t-bg);
  --hs-bg: var(--t-bg-2);
  --hs-surface: var(--t-surface);
  --hs-surface-2: var(--t-surface-2);
  --hs-border: var(--t-border);
  --hs-border-strong: var(--t-border-strong);
  --hs-text: var(--t-text);
  --hs-muted: var(--t-muted);
  --hs-muted-2: var(--t-muted-2);
  --hs-accent: var(--t-accent);
  --hs-accent-bright: var(--t-accent-hover);
  --hs-accent-dim: var(--t-accent-dim);
  --hs-live: var(--t-live);
  --hs-glow: var(--t-glow);
  --hs-shadow: var(--t-shadow);
  --hs-shadow-lg: var(--t-shadow-lg);
}

body.theme-hs-pro {
  font-family: var(--hs-font) !important;
  color: var(--hs-text) !important;
  background: var(--hs-bg-deep) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: max(10px, env(safe-area-inset-left));
  padding-right: max(10px, env(safe-area-inset-right));
}

body.theme-hs-pro::before {
  display: none;
}

body.theme-hs-pro :focus-visible {
  outline: 2px solid var(--hs-accent);
  outline-offset: 2px;
}

/* ——— Oynatıcı sütunu + araç çubuğu ——— */
body.theme-hs-pro .player-column {
  width: 100%;
  min-width: 0;
}

body.theme-hs-pro .player-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* Tarayıcı tam ekranı: shell viewport’u kaplar; iframe kalan alanı doldurur */
#player-shell:fullscreen,
#player-shell:-webkit-full-screen,
#player-shell:-moz-full-screen {
  width: 100% !important;
  width: 100vw !important;
  max-width: none !important;
  height: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  min-height: -webkit-fill-available !important;
  max-height: none !important;
  margin: 0 !important;
  background: #000;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0)
    env(safe-area-inset-left, 0);
}

#player-shell:fullscreen .player-chrome,
#player-shell:-webkit-full-screen .player-chrome,
#player-shell:-moz-full-screen .player-chrome {
  flex: 0 0 auto;
}

#player-shell:fullscreen .live-player,
#player-shell:-webkit-full-screen .live-player,
#player-shell:-moz-full-screen .live-player {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

#player-shell:fullscreen .player-attributes,
#player-shell:-webkit-full-screen .player-attributes,
#player-shell:-moz-full-screen .player-attributes {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

#player-shell:fullscreen #macth-video,
#player-shell:-webkit-full-screen #macth-video,
#player-shell:-moz-full-screen #macth-video {
  flex: 1 1 auto;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
}

body.theme-hs-pro .player-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: var(--hs-radius);
  border: 1px solid var(--hs-border);
  background: var(--t-chrome-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--hs-shadow);
}

body.theme-hs-pro .pc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--hs-radius-sm);
  border: 1px solid var(--hs-border);
  background: var(--hs-surface-2);
  color: var(--hs-text);
  font-family: var(--hs-font);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

body.theme-hs-pro .pc-btn:hover {
  border-color: var(--hs-accent);
  background: var(--hs-accent-dim);
}

body.theme-hs-pro .pc-btn:active {
  transform: scale(0.98);
}

body.theme-hs-pro .pc-btn[aria-pressed="true"] {
  border-color: var(--hs-accent);
  background: var(--hs-accent-dim);
  color: var(--hs-accent-bright);
}

body.theme-hs-pro .pc-btn i {
  font-size: 0.9rem;
  width: 1.1em;
  text-align: center;
}

body.theme-hs-pro .pc-btn__hint {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.7;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  body.theme-hs-pro .player-chrome {
    padding: 8px;
    gap: 6px;
  }

  body.theme-hs-pro .pc-btn .pc-label {
    display: none;
  }

  body.theme-hs-pro .pc-btn {
    padding: 0 12px;
    min-width: 44px;
    justify-content: center;
  }

  body.theme-hs-pro .pc-btn__hint {
    display: none;
  }
}

/* Sinema: karartma */
.hs-cinema-dim {
  position: fixed;
  inset: 0;
  z-index: 8000;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

body.hs-cinema .player-shell {
  z-index: 8100;
  position: relative;
}

body.hs-cinema .header-top.fixed-bottom {
  z-index: 8200 !important;
}

/* Tiyatro: geniş oynatıcı, liste alta */
body.hs-theater .container-grid.player-grid {
  grid-template-columns: 1fr !important;
  max-width: min(960px, 100%) !important;
  margin-left: auto;
  margin-right: auto;
}

body.hs-theater #macth-video {
  height: min(58vh, 560px) !important;
  max-height: none !important;
}

@media (max-width: 1099px) {
  body.hs-theater #macth-video {
    height: min(42vh, 400px) !important;
  }
}

/* ——— Üst bar ——— */
body.theme-hs-pro .live-header {
  position: relative;
  margin-bottom: 1.15rem;
  padding: 1rem 1.25rem;
  border-radius: var(--hs-radius-lg);
  border: 1px solid var(--hs-border);
  background: var(--hs-surface-2);
  box-shadow: var(--hs-shadow);
  overflow: hidden;
}

body.theme-hs-pro .live-header::before {
  display: none;
}

body.theme-hs-pro .live-header-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem 1.25rem;
  align-items: center;
}

@media (max-width: 720px) {
  body.theme-hs-pro .live-header-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  body.theme-hs-pro .live-header-stats {
    width: 100%;
    justify-content: space-around !important;
  }
}

body.theme-hs-pro .live-header-title {
  font-family: var(--hs-font) !important;
  font-size: clamp(1.35rem, 4vw, 1.85rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  color: var(--hs-text) !important;
  background: none !important;
  -webkit-text-fill-color: var(--hs-text) !important;
  text-shadow: none !important;
}

body.theme-hs-pro .live-header-subtitle {
  color: var(--hs-muted) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
}

body.theme-hs-pro .live-indicator {
  padding: 0.4rem 0.95rem !important;
  border-radius: 999px !important;
  border: 1px solid color-mix(in srgb, var(--hs-live) 35%, transparent) !important;
  background: color-mix(in srgb, var(--hs-live) 12%, transparent) !important;
  box-shadow: none !important;
}

body.theme-hs-pro .live-dot {
  background: var(--hs-live) !important;
  box-shadow: none !important;
}

body.theme-hs-pro .live-indicator-text {
  color: var(--hs-live) !important;
  font-weight: 700 !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.1em !important;
}

body.theme-hs-pro .header-stat-value {
  color: var(--hs-accent-bright) !important;
  font-variant-numeric: tabular-nums;
}

body.theme-hs-pro .header-stat-label {
  color: var(--hs-muted-2) !important;
  font-weight: 600 !important;
  font-size: 0.68rem !important;
}

body.theme-hs-pro .live-header-stats {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

body.theme-hs-pro .lives {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--hs-accent-dim);
  color: var(--hs-accent-bright) !important;
  border: 1px solid color-mix(in srgb, var(--hs-accent) 30%, transparent);
}

body.theme-hs-pro #live-content .single-match {
  min-height: 54px;
}

body.theme-hs-pro .single-match img {
  border-radius: 8px;
  object-fit: contain;
  background: color-mix(in srgb, var(--hs-text) 6%, transparent);
}

body.theme-hs-pro #live-content .single-match .match-detail .teams img,
body.theme-hs-pro #live-content .single-match .away img {
  max-height: 38px;
  width: auto;
  max-width: 76px;
  min-width: 22px;
}

/* ——— Grid ——— */
body.theme-hs-pro .container-grid.player-grid {
  display: grid !important;
  gap: 1.15rem !important;
  align-items: start !important;
  grid-template-columns: 1fr !important;
}

@media (min-width: 1080px) {
  body.theme-hs-pro .container-grid.player-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px) !important;
  }
}

body.theme-hs-pro .live-player {
  border-radius: var(--hs-radius-lg) !important;
  border: 1px solid var(--hs-border-strong) !important;
  background: #000 !important;
  box-shadow: var(--hs-shadow-lg) !important;
  min-height: unset !important;
  overflow: hidden;
}

body.theme-hs-pro .player-attributes {
  border-radius: var(--hs-radius-lg) !important;
  background: #000;
}

body.theme-hs-pro #macth-video {
  display: block;
  width: 100%;
  height: clamp(200px, min(50vw, 52vh), 500px);
  max-height: 68vh;
  border: 0;
  border-radius: calc(var(--hs-radius-lg) - 2px);
  background: #000;
}

@media (min-width: 1400px) {
  body.theme-hs-pro #macth-video {
    height: 480px;
    max-height: none;
  }
}

/* ——— Liste paneli ——— */
body.theme-hs-pro .live-list {
  border: 1px solid var(--hs-border-strong) !important;
  border-radius: var(--hs-radius-lg) !important;
  background: var(--hs-surface-2) !important;
  box-shadow: var(--hs-shadow) !important;
  overflow: hidden;
  backdrop-filter: none;
}

body.theme-hs-pro .live-list.radarOn .list-area,
body.theme-hs-pro .live-list.radarOn .list-tabbed {
  width: 100% !important;
  min-width: 0 !important;
}

body.theme-hs-pro .live-list .list-area,
body.theme-hs-pro .live-list .list-tabbed {
  height: auto !important;
  max-height: min(460px, calc(100dvh - 300px)) !important;
}

@media (max-width: 1079px) {
  body.theme-hs-pro .live-list .list-area,
  body.theme-hs-pro .live-list .list-tabbed {
    max-height: min(400px, calc(100dvh - 380px)) !important;
  }
}

body.theme-hs-pro .head-grid {
  display: flex !important;
  background: var(--t-surface-3) !important;
  border-bottom: 1px solid var(--hs-border) !important;
  padding: 4px !important;
  gap: 4px !important;
  margin: 0 !important;
}

body.theme-hs-pro .head-grid > div {
  flex: 1 !important;
  min-height: var(--hs-tap) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  border-radius: var(--hs-radius-sm) !important;
  border: none !important;
  padding: 0.6rem 0.65rem !important;
  cursor: pointer;
  color: var(--hs-muted) !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  transition: background 0.15s ease, color 0.15s ease;
}

body.theme-hs-pro .head-grid > div:hover {
  color: var(--hs-text) !important;
  background: var(--hs-accent-dim) !important;
}

body.theme-hs-pro .head-grid > div.active {
  color: var(--hs-text) !important;
  background: var(--hs-accent-dim) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hs-accent) 35%, transparent) !important;
}

body.theme-hs-pro .list-blink {
  width: 7px !important;
  height: 7px !important;
  background: var(--hs-live) !important;
  box-shadow: none !important;
  margin-right: 0 !important;
  flex-shrink: 0;
}

body.theme-hs-pro .head-grid > div[data-focustab="next"] .list-blink {
  background: var(--hs-muted-2) !important;
  animation: none !important;
}

body.theme-hs-pro .search-container {
  position: relative;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--hs-border);
  background: color-mix(in srgb, var(--hs-bg-deep) 50%, transparent);
}

body.theme-hs-pro .search-container input {
  width: 100%;
  min-height: var(--hs-tap);
  padding: 0.6rem 2.6rem 0.6rem 0.95rem !important;
  font-size: 0.9375rem !important;
  border-radius: var(--hs-radius-sm) !important;
  border: 1px solid var(--hs-border) !important;
  background: var(--hs-surface-2) !important;
  color: var(--hs-text) !important;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

body.theme-hs-pro .search-container input::placeholder {
  color: var(--hs-muted-2) !important;
}

body.theme-hs-pro .search-container input:focus {
  border-color: var(--hs-accent) !important;
  box-shadow: 0 0 0 3px var(--hs-glow) !important;
}

body.theme-hs-pro .search-container .search-icon {
  color: var(--hs-muted-2) !important;
  right: 1.2rem !important;
}

body.theme-hs-pro .single-match {
  margin: 5px 8px !important;
  border-radius: var(--hs-radius-sm) !important;
  border: 1px solid transparent !important;
  background: color-mix(in srgb, var(--hs-text) 3%, transparent) !important;
  transition: background 0.15s, border-color 0.15s;
}

body.theme-hs-pro .single-match:nth-child(odd) {
  background: color-mix(in srgb, var(--hs-text) 4.5%, transparent) !important;
}

body.theme-hs-pro .single-match:hover,
body.theme-hs-pro .single-match.active {
  background: var(--hs-accent-dim) !important;
  border-color: color-mix(in srgb, var(--hs-accent) 40%, transparent) !important;
  transform: none;
  box-shadow: none !important;
}

body.theme-hs-pro .single-match:hover .teams,
body.theme-hs-pro .single-match.active .teams {
  color: var(--hs-text) !important;
}

body.theme-hs-pro .match-detail .teams {
  color: var(--hs-text) !important;
}

body.theme-hs-pro .match-detail .event,
body.theme-hs-pro .match-detail .date {
  color: var(--hs-muted-2) !important;
}

body.theme-hs-pro .single-match:hover svg,
body.theme-hs-pro .single-match.active svg {
  fill: var(--hs-accent-bright) !important;
}

body.theme-hs-pro .vertical-menu {
  background: var(--hs-surface-2) !important;
  border: 1px solid var(--hs-border) !important;
  border-radius: var(--hs-radius-sm) !important;
  box-shadow: var(--hs-shadow) !important;
  padding: 0.55rem 0.4rem !important;
  gap: 0.45rem !important;
}

body.theme-hs-pro .menu-item {
  width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  opacity: 0.85 !important;
  transition: opacity 0.15s, background 0.15s !important;
}

body.theme-hs-pro .menu-item:hover {
  opacity: 1 !important;
  background: var(--hs-accent-dim) !important;
  filter: none !important;
}

body.theme-hs-pro .menu-item.active {
  opacity: 1 !important;
  background: var(--hs-accent-dim) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hs-accent) 45%, transparent) !important;
  filter: none !important;
}

body.theme-hs-pro .menu-item svg {
  fill: var(--hs-accent-bright) !important;
}

body.theme-hs-pro .list-head {
  color: var(--hs-text) !important;
  background: color-mix(in srgb, var(--hs-bg) 40%, transparent) !important;
  border-bottom: 1px solid var(--hs-border) !important;
}

body.theme-hs-pro [data-focustab] {
  color: var(--hs-muted) !important;
}

body.theme-hs-pro [data-focustab].active {
  color: var(--hs-accent-bright) !important;
}

body.theme-hs-pro .list-tabbed > div {
  color: var(--hs-muted) !important;
  border-bottom-color: var(--hs-border) !important;
}

body.theme-hs-pro .list-tabbed > div.active {
  color: var(--hs-text) !important;
  background: var(--hs-accent-dim) !important;
}

body.theme-hs-pro .list-tabbed svg {
  fill: var(--hs-muted-2) !important;
}

body.theme-hs-pro .list-tabbed > div.active svg {
  fill: var(--hs-accent-bright) !important;
}

body.theme-hs-pro footer {
  color: var(--hs-muted) !important;
  margin-top: 1.35rem;
}

body.theme-hs-pro footer > b {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-muted-2) !important;
  margin-bottom: 0.45rem;
}

/* Skor widget’ları — tema uyumlu; koyu modda iframe renkleri invert ile koyulaştırılır */
body.theme-hs-pro .hs-score-widgets {
  max-width: var(--maxwidth);
  margin: 1.1rem auto 0;
  padding: 0 2px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

body.theme-hs-pro .hs-score-widget {
  border-radius: var(--hs-radius-lg);
  border: 1px solid var(--hs-border-strong);
  background: var(--hs-surface-2);
  box-shadow: var(--hs-shadow);
  overflow: hidden;
}

body.theme-hs-pro .hs-widget-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 0.75rem;
  padding: 0.5rem 0.75rem 0.45rem;
  border-bottom: 1px solid var(--hs-border);
  background: var(--hs-bg-deep);
}

body.theme-hs-pro .hs-widget-title {
  margin: 0;
  font-family: var(--hs-font);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hs-text) !important;
}

body.theme-hs-pro .hs-widget-desc {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--hs-muted) !important;
  max-width: min(48ch, 100%);
  text-align: right;
  flex: 1 1 12rem;
}

body.theme-hs-pro .hs-embed-viewport {
  padding: 0.35rem 0.5rem 0.45rem;
  background: var(--hs-bg-deep);
}

body.theme-hs-pro .hs-embed-card {
  position: relative;
  width: 100%;
  height: clamp(118px, 22vw, 178px);
  border-radius: var(--hs-radius);
  overflow: hidden;
  border: 1px solid var(--hs-border);
  background: var(--hs-bg-deep);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] body.theme-hs-pro .hs-embed-card {
  background: var(--t-bg-2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: light) {
  html[data-theme="system"] body.theme-hs-pro .hs-embed-card {
    background: var(--t-bg-2);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  }
}

body.theme-hs-pro .hs-embed-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: calc(var(--hs-radius) - 1px);
  touch-action: pan-x pan-y;
}

/* Açık tema: Sporx iframe olduğu gibi (beyaz arka plan doğal) */
html[data-theme="light"] body.theme-hs-pro .hs-embed-frame {
  filter: none;
}

@media (prefers-color-scheme: light) {
  html[data-theme="system"] body.theme-hs-pro .hs-embed-frame {
    filter: none;
  }
}

/* Koyu tema: beyaz gömülü sayfayı koyu görünüme çevir (renkler yaklaşık korunur) */
html[data-theme="dark"] body.theme-hs-pro .hs-embed-frame {
  filter: invert(1) hue-rotate(180deg) saturate(0.9) brightness(1.03) contrast(0.98);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] body.theme-hs-pro .hs-embed-frame {
    filter: invert(1) hue-rotate(180deg) saturate(0.9) brightness(1.03) contrast(0.98);
  }
}

@media (max-width: 600px) {
  body.theme-hs-pro .hs-score-widgets {
    margin-top: 0.85rem;
    gap: 0.6rem;
  }

  body.theme-hs-pro .hs-widget-head {
    padding: 0.45rem 0.65rem 0.38rem;
  }

  body.theme-hs-pro .hs-embed-card {
    height: min(148px, 36vh);
  }

  body.theme-hs-pro .hs-embed-viewport {
    padding: 0.3rem 0.45rem 0.4rem;
    -webkit-overflow-scrolling: touch;
  }
}

body.theme-hs-pro {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

body.theme-hs-pro .header-top.fixed-bottom {
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  width: calc(100% - 20px) !important;
  max-width: var(--maxwidth) !important;
  margin: 0 !important;
  z-index: 1000 !important;
  padding: 0.8rem 1.1rem calc(0.8rem + env(safe-area-inset-bottom)) !important;
  border-radius: var(--hs-radius-lg) var(--hs-radius-lg) 0 0 !important;
  border: 1px solid var(--hs-border-strong) !important;
  border-bottom: none !important;
  background: var(--t-chrome-bg) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--hs-shadow-lg) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
}

body.theme-hs-pro .header-text {
  color: var(--hs-muted) !important;
  font-size: 0.74rem !important;
  line-height: 1.45 !important;
}

body.theme-hs-pro .header-text a {
  color: var(--hs-accent-bright) !important;
  font-weight: 600 !important;
  text-decoration: none;
}

body.theme-hs-pro .header-text a:hover {
  text-decoration: underline;
}

body.theme-hs-pro .social-area svg {
  color: var(--hs-muted-2) !important;
  transition: color 0.15s, transform 0.15s;
}

body.theme-hs-pro .social-area a:hover svg {
  color: var(--hs-accent-bright) !important;
  transform: scale(1.06);
}

@media (max-width: 768px) {
  body.theme-hs-pro .header-top.fixed-bottom {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.55rem !important;
    text-align: center;
  }

  body.theme-hs-pro {
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }
}

body.theme-hs-pro *::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

body.theme-hs-pro *::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--hs-border) 30%, transparent);
}

body.theme-hs-pro *::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--hs-accent) 55%, var(--hs-muted-2));
  border-radius: 999px;
}

body.theme-hs-pro a:hover {
  color: var(--hs-accent-bright) !important;
}

body.theme-hs-pro .kategori-bar {
  background: var(--hs-surface-2) !important;
}

body.theme-hs-pro .ad-slot iframe,
body.theme-hs-pro .ad-slot video,
body.theme-hs-pro .ad-slot img {
  border-radius: var(--hs-radius-sm) !important;
  box-shadow: var(--hs-shadow) !important;
}

@supports not (color: color-mix(in srgb, white, black)) {
  body.theme-hs-pro .live-indicator {
    border: 1px solid rgba(248, 113, 113, 0.35) !important;
    background: rgba(248, 113, 113, 0.1) !important;
  }

  html[data-theme="light"] body.theme-hs-pro .live-indicator {
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
    background: rgba(220, 38, 38, 0.08) !important;
  }
}
