/* NOT: bilesen kurallari html[data-theme]x3 ile oncelendi. Miras frontend.css
   icinde !important tasiyan (0,4,1) ozgullukte kurallar var; bu onek esitlik
   saglar, ayni ozgullukte sonra yuklenen dosya kazanir. Ozgulluk hesabi
   olculerek secildi, tahminle degil. */
/* ==========================================================================
   ni-ui.css — NI tek disiplin katmani (dark-only)
   Kaynak tema kurallari: Frame.io style reference (Refero extended export,
   2026-06-03). Uyarlama notlari:
   - Tipografi agirligi: DESIGN.md "display=400" diyor, tokens.json olcumu 600
     gosteriyor. Olculen veri esas alindi (600), NI mobil-agirlikli ve 400
     buyuk puntoda ince kaliyor.
   - Tek aksan kurali korundu: Iris Glow #6199F6 = etkilesim aksani
     (link, focus, aktif, eyebrow). NI kategori renkleri (film/dizi/mac/
     yerli/program/f1) SADECE veri kodlamasi olarak kalir, etkilesimde
     kullanilmaz. Kirmizi yalnizca canli/aciliyet sinyali.
   - Birincil aksiyon = beyaz dolgu + siyah metin (Frame.io'nun en kontrastli
     ogesi). Platform marka renkli butonlar bu tek tipe indirildi; platform
     kimligini LOGO tasiyor.
   - Golge yok, hover'da yukselme/buyume yok.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENLAR — dark-only. Eski NI token adlari geriye donuk eslendi ki
   2.300 mevcut kural otomatik yeni palete tasinsin.
   -------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
  /* Yuzey merdiveni */
  --surface-0: #050914;
  --surface-1: #0B111F;
  --surface-2: #0D1422;
  --surface-3: #111A2B;
  --surface-hover: #172236;

  /* Metin hiyerarsisi */
  --color-text: #F8FAFC;
  --color-text-secondary: #B4BBC8;
  --color-text-muted: #7B8496;

  /* Kenarlar */
  --color-border: rgba(255, 255, 255, .10);
  --color-border-hover: rgba(255, 255, 255, .18);
  --color-halo: #4F4F80;

  /* Tek etkilesim aksani */
  --accent: #6199F6;
  --accent-hover: #8FB6F9;
  --accent-soft: rgba(97, 153, 246, .14);
  --accent-ring: rgba(97, 153, 246, .30);

  /* Yaricap sozlesmesi — rol basina TEK deger */
  --radius-pill: 999px;
  --radius-card: 14px;
  --radius-input: 10px;
  --radius-tight: 8px;

  /* Tipografi */
  --font-ui: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --text-eyebrow: 12px;
  --text-caption: 12px;
  --text-sm: 13px;
  --text-body: 15px;
  --text-lg: 18px;
  --text-h3: 24px;

  /* Bosluk */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-80: 80px;

  /* --- Geriye donuk eslemeler: eski token adlari yeni sisteme baglandi --- */
  --color-bg: #050914;
  --color-bg-card: #0D1422;
  --color-bg-muted: #111A2B;
  --color-bg-hover: #172236;
  --color-surface: #0D1422;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 999px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;

  /* Kategori renkleri — sadece veri kodlamasi, koyu zemine ayarli */
  --color-mac: #FF3B43;
  --color-dizi: #6BA7FF;
  --color-film: #F7B84B;
  --color-yerli: #34D399;
  --color-program: #F472B6;
  --color-f1: #A78BFA;


  /* --- Tanimsiz kalmis 15 token: hepsi ACIK hex fallback'e dusuyordu.
     Burada tanimlanunca site genelindeki her kullanimi tek seferde duzelir. --- */
  --ni-bg-alt: #111A2B;
  --ni-bg-card: #0D1422;
  --ni-muted: #7B8496;
  --color-bg-soft: #111A2B;
  --color-bg-subtle: #0B111F;
  --color-text-soft: #7B8496;
  --color-muted: #7B8496;
  --color-border-subtle: rgba(255, 255, 255, .10);
  --color-accent: #6199F6;
  --color-primary: #6199F6;
  --color-link: #6199F6;
  --color-focus: #6199F6;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. TABAN — tipografik ses
   -------------------------------------------------------------------------- */
html {
  background: var(--surface-0);
}

body {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.55;
  letter-spacing: .01em;
  color: var(--color-text);
  font-feature-settings: "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Baslik olcegi — puntoyla ters orantili harf araligi (Frame.io kurali) */
h1, .ni-h1 {
  font-size: clamp(28px, 5.2vw, 44px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 600;
}

h2, .ni-h2 {
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.14;
  letter-spacing: -.028em;
  font-weight: 600;
}

h3, .ni-h3 {
  font-size: var(--text-h3);
  line-height: 1.25;
  letter-spacing: -.022em;
  font-weight: 600;
}

h4, h5, h6 {
  font-size: var(--text-lg);
  line-height: 1.3;
  letter-spacing: -.012em;
  font-weight: 600;
}

/* Bolum etiketi — Frame.io eyebrow imzasi */
.ni-eyebrow {
  display: block;
  font-size: var(--text-eyebrow);
  font-weight: 500;
  line-height: .9;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-8);
}

/* Sayisal yuzeyler tabular — skor, saat, fiyat, tablo hizalanir */
table, .ni-score, .ni-time, .ni-match-time, .ni-price, .ni-cta-price,
.ni-countdown, .ni-rank, .ni-trh-rank, .ni-trend-rank {
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Icerik metni icindeki linkler aksan alir */
.ni-prose a, .entry-content a, .ni-post-content a, .ni-editorial-block a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(97, 153, 246, .4);
}

.ni-prose a:hover, .entry-content a:hover, .ni-post-content a:hover, .ni-editorial-block a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. BUTONLAR — 50 miras sinif 4 primitife indirildi
   -------------------------------------------------------------------------- */

/* 3a. Ortak taban */
html[data-theme][data-theme][data-theme] .ni-btn,
html[data-theme][data-theme][data-theme] .ni-btn-primary,
html[data-theme][data-theme][data-theme] .ni-btn-outline,
html[data-theme][data-theme][data-theme] .ni-cta-button,
html[data-theme][data-theme][data-theme] .ni-nav-cta,
html[data-theme][data-theme][data-theme] .ni-jw-watch-btn,
html[data-theme][data-theme][data-theme] .ni-platform-cta,
html[data-theme][data-theme][data-theme] .ni-prime-trial-cta,
html[data-theme][data-theme][data-theme] .ni-ticket-btn,
html[data-theme][data-theme][data-theme] .ni-news-cta-btn,
html[data-theme][data-theme][data-theme] .ni-qa-submit-btn,
html[data-theme][data-theme][data-theme] .ni-vpn-cta,
html[data-theme][data-theme][data-theme] .ni-vpn-hub-cta,
html[data-theme][data-theme][data-theme] .ni-vpn-mini-cta-btn,
html[data-theme][data-theme][data-theme] .ni-search-form__btn,
html[data-theme][data-theme][data-theme] .ni-eng-btn,
html[data-theme][data-theme][data-theme] .ni-eng-btn--primary,
html[data-theme][data-theme][data-theme] .ni-avail-alert-btn,
html[data-theme][data-theme][data-theme] .ni-episode-nav-btn,
html[data-theme][data-theme][data-theme] .ni-filter-btn,
html[data-theme][data-theme][data-theme] .ni-dropdown-btn,
html[data-theme][data-theme][data-theme] .ni-quick-nav__pill,
html[data-theme][data-theme][data-theme] .ni-form-pill,
html[data-theme][data-theme][data-theme] .ni-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 20px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none !important;
  text-shadow: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, opacity .16s ease;
}

/* Hover'da yukselme/buyume yok — sadece renk degisimi */
html[data-theme][data-theme][data-theme] .ni-btn:hover,
html[data-theme][data-theme][data-theme] .ni-btn-primary:hover,
html[data-theme][data-theme][data-theme] .ni-btn-outline:hover,
html[data-theme][data-theme][data-theme] .ni-cta-button:hover,
html[data-theme][data-theme][data-theme] .ni-nav-cta:hover,
html[data-theme][data-theme][data-theme] .ni-jw-watch-btn:hover,
html[data-theme][data-theme][data-theme] .ni-platform-cta:hover,
html[data-theme][data-theme][data-theme] .ni-prime-trial-cta:hover,
html[data-theme][data-theme][data-theme] .ni-ticket-btn:hover,
html[data-theme][data-theme][data-theme] .ni-news-cta-btn:hover,
html[data-theme][data-theme][data-theme] .ni-qa-submit-btn:hover,
html[data-theme][data-theme][data-theme] .ni-vpn-cta:hover,
html[data-theme][data-theme][data-theme] .ni-vpn-hub-cta:hover,
html[data-theme][data-theme][data-theme] .ni-vpn-mini-cta-btn:hover,
html[data-theme][data-theme][data-theme] .ni-search-form__btn:hover,
html[data-theme][data-theme][data-theme] .ni-eng-btn:hover,
html[data-theme][data-theme][data-theme] .ni-eng-btn--primary:hover,
html[data-theme][data-theme][data-theme] .ni-avail-alert-btn:hover,
html[data-theme][data-theme][data-theme] .ni-episode-nav-btn:hover,
html[data-theme][data-theme][data-theme] .ni-filter-btn:hover,
html[data-theme][data-theme][data-theme] .ni-dropdown-btn:hover,
html[data-theme][data-theme][data-theme] .ni-quick-nav__pill:hover,
html[data-theme][data-theme][data-theme] .ni-form-pill:hover,
html[data-theme][data-theme][data-theme] .ni-clear-btn:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* 3b. Birincil — beyaz dolgu, siyah metin. Sayfanin en kontrastli ogesi. */
html[data-theme][data-theme][data-theme] .ni-btn,
html[data-theme][data-theme][data-theme] .ni-btn-primary,
html[data-theme][data-theme][data-theme] .ni-cta-button,
html[data-theme][data-theme][data-theme] .ni-nav-cta,
html[data-theme][data-theme][data-theme] .ni-jw-watch-btn,
html[data-theme][data-theme][data-theme] .ni-platform-cta,
html[data-theme][data-theme][data-theme] .ni-prime-trial-cta,
html[data-theme][data-theme][data-theme] .ni-ticket-btn,
html[data-theme][data-theme][data-theme] .ni-news-cta-btn,
html[data-theme][data-theme][data-theme] .ni-qa-submit-btn,
html[data-theme][data-theme][data-theme] .ni-vpn-cta,
html[data-theme][data-theme][data-theme] .ni-vpn-hub-cta,
html[data-theme][data-theme][data-theme] .ni-vpn-mini-cta-btn,
html[data-theme][data-theme][data-theme] .ni-search-form__btn,
html[data-theme][data-theme][data-theme] .ni-eng-btn--primary {
  background: var(--color-text) !important;
  background-image: none !important;
  color: var(--surface-0) !important;
  border-color: transparent !important;
  font-weight: 600;
}

html[data-theme][data-theme][data-theme] .ni-btn:hover,
html[data-theme][data-theme][data-theme] .ni-btn-primary:hover,
html[data-theme][data-theme][data-theme] .ni-cta-button:hover,
html[data-theme][data-theme][data-theme] .ni-nav-cta:hover,
html[data-theme][data-theme][data-theme] .ni-jw-watch-btn:hover,
html[data-theme][data-theme][data-theme] .ni-platform-cta:hover,
html[data-theme][data-theme][data-theme] .ni-prime-trial-cta:hover,
html[data-theme][data-theme][data-theme] .ni-ticket-btn:hover,
html[data-theme][data-theme][data-theme] .ni-news-cta-btn:hover,
html[data-theme][data-theme][data-theme] .ni-qa-submit-btn:hover,
html[data-theme][data-theme][data-theme] .ni-vpn-cta:hover,
html[data-theme][data-theme][data-theme] .ni-vpn-hub-cta:hover,
html[data-theme][data-theme][data-theme] .ni-vpn-mini-cta-btn:hover,
html[data-theme][data-theme][data-theme] .ni-search-form__btn:hover,
html[data-theme][data-theme][data-theme] .ni-eng-btn--primary:hover {
  background: #FFFFFF !important;
  color: var(--surface-0) !important;
}

/* Platform marka renkleri notrlestirildi — kimligi logo tasir */
html[data-theme][data-theme][data-theme] .ni-cta-button[data-cta-platform] {
  background: var(--color-text) !important;
  color: var(--surface-0) !important;
}

html[data-theme][data-theme][data-theme] .ni-cta-button[data-cta-platform]:hover {
  background: #FFFFFF !important;
  color: var(--surface-0) !important;
}

/* Birincil buton icindeki logo koyu zeminden aciga gecti */
html[data-theme][data-theme][data-theme] .ni-cta-button img,
html[data-theme][data-theme][data-theme] .ni-jw-watch-btn svg,
html[data-theme][data-theme][data-theme] .ni-jw-watch-btn img {
  border-radius: 4px;
  background: transparent !important;
  padding: 0 !important;
}

/* 3c. Hayalet — saydam + ince kenar, hover'da tam tersine doner */
html[data-theme][data-theme][data-theme] .ni-btn-outline,
html[data-theme][data-theme][data-theme] .ni-episode-nav-btn,
html[data-theme][data-theme][data-theme] .ni-filter-btn,
html[data-theme][data-theme][data-theme] .ni-dropdown-btn,
html[data-theme][data-theme][data-theme] .ni-eng-btn,
html[data-theme][data-theme][data-theme] .ni-avail-alert-btn,
html[data-theme][data-theme][data-theme] .ni-quick-nav__pill,
html[data-theme][data-theme][data-theme] .ni-form-pill {
  background: transparent !important;
  background-image: none !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border-hover) !important;
  font-weight: 500;
}

html[data-theme][data-theme][data-theme] .ni-btn-outline:hover,
html[data-theme][data-theme][data-theme] .ni-episode-nav-btn:hover,
html[data-theme][data-theme][data-theme] .ni-filter-btn:hover,
html[data-theme][data-theme][data-theme] .ni-dropdown-btn:hover,
html[data-theme][data-theme][data-theme] .ni-eng-btn:hover,
html[data-theme][data-theme][data-theme] .ni-avail-alert-btn:hover,
html[data-theme][data-theme][data-theme] .ni-quick-nav__pill:hover,
html[data-theme][data-theme][data-theme] .ni-form-pill:hover {
  background: var(--color-text) !important;
  color: var(--surface-0) !important;
  border-color: var(--color-text) !important;
}

/* Aktif/secili hayalet oge = aksan */
html[data-theme][data-theme][data-theme] .ni-filter-btn.active,
html[data-theme][data-theme][data-theme] .ni-quick-nav__pill--accent,
html[data-theme][data-theme][data-theme] .ni-quick-nav__pill.is-active,
html[data-theme][data-theme][data-theme] .ni-dropdown-btn.is-open,
html[data-theme][data-theme][data-theme] .ni-dropdown-menu button.selected {
  background: var(--accent-soft) !important;
  color: var(--accent-hover) !important;
  border-color: rgba(97, 153, 246, .45) !important;
}

/* Kurulmus/pasif durum */
html[data-theme][data-theme][data-theme] .ni-avail-alert-btn.is-armed,
html[data-theme][data-theme][data-theme] .ni-avail-alert-btn:disabled,
html[data-theme][data-theme][data-theme] .ni-btn:disabled,
html[data-theme][data-theme][data-theme] .ni-btn-primary:disabled,
html[data-theme][data-theme][data-theme] button:disabled {
  opacity: .55;
  cursor: default;
  background: transparent !important;
  color: var(--color-text-secondary) !important;
  border-color: var(--color-border) !important;
}

/* 3d. Kucuk olcek */
html[data-theme][data-theme][data-theme] .ni-filter-btn,
html[data-theme][data-theme][data-theme] .ni-quick-nav__pill,
html[data-theme][data-theme][data-theme] .ni-form-pill,
html[data-theme][data-theme][data-theme] .ni-clear-btn,
html[data-theme][data-theme][data-theme] .ni-pc-pill {
  min-height: 32px;
  padding: 6px 14px;
  font-size: var(--text-sm);
}

/* 3e. Buyuk olcek — donusum yuzeyleri */
html[data-theme][data-theme][data-theme] .ni-cta-button,
html[data-theme][data-theme][data-theme] .ni-jw-watch-btn,
html[data-theme][data-theme][data-theme] .ni-vpn-mini-cta-btn {
  min-height: 48px;
  padding: 14px 26px;
  font-size: var(--text-body);
}

/* Sessiz link-buton */
html[data-theme][data-theme][data-theme] .ni-clear-btn {
  background: transparent !important;
  color: var(--color-text-muted) !important;
  border-color: transparent !important;
}

html[data-theme][data-theme][data-theme] .ni-clear-btn:hover {
  color: var(--color-text) !important;
  background: var(--surface-hover) !important;
  border-color: transparent !important;
}

/* --------------------------------------------------------------------------
   4. ROZETLER / PILL'LER — buton degil, durum etiketi
   -------------------------------------------------------------------------- */
html[data-theme][data-theme][data-theme] .ni-pill,
html[data-theme][data-theme][data-theme] .ni-pill-live,
html[data-theme][data-theme][data-theme] .ni-pill-today,
html[data-theme][data-theme][data-theme] .ni-pill-tomorrow,
html[data-theme][data-theme][data-theme] .ni-pill-new,
html[data-theme][data-theme][data-theme] .ni-pill-free,
html[data-theme][data-theme][data-theme] .ni-pill--free,
html[data-theme][data-theme][data-theme] .ni-type-badge,
html[data-theme][data-theme][data-theme] .ni-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: none !important;
}

html[data-theme][data-theme][data-theme] .ni-pill-live {
  background: rgba(255, 59, 67, .16) !important;
  color: #FF7A80 !important;
  border-color: rgba(255, 59, 67, .32) !important;
}

html[data-theme][data-theme][data-theme] .ni-pill-free,
html[data-theme][data-theme][data-theme] .ni-pill--free {
  background: rgba(52, 211, 153, .14) !important;
  color: #4ADE80 !important;
  border-color: rgba(52, 211, 153, .30) !important;
}

html[data-theme][data-theme][data-theme] .ni-pill-today,
html[data-theme][data-theme][data-theme] .ni-pill-tomorrow,
html[data-theme][data-theme][data-theme] .ni-pill-new,
html[data-theme][data-theme][data-theme] .ni-pc-pill {
  background: var(--accent-soft) !important;
  color: var(--accent-hover) !important;
  border-color: rgba(97, 153, 246, .28) !important;
}

/* --------------------------------------------------------------------------
   5. KUTULAR — tek yuzey, tek yaricap, golge yok
   -------------------------------------------------------------------------- */
html[data-theme][data-theme][data-theme] .ni-watch-cta,
html[data-theme][data-theme][data-theme] .ni-card,
html[data-theme][data-theme][data-theme] .ni-panel,
html[data-theme][data-theme][data-theme] .ni-cta-card,
html[data-theme][data-theme][data-theme] .ni-qa-card,
html[data-theme][data-theme][data-theme] .ni-blog-card,
html[data-theme][data-theme][data-theme] .ni-content-card,
html[data-theme][data-theme][data-theme] .ni-related-card,
html[data-theme][data-theme][data-theme] .ni-episode-card,
html[data-theme][data-theme][data-theme] .ni-discover-card,
html[data-theme][data-theme][data-theme] .ni-country-card,
html[data-theme][data-theme][data-theme] .ni-genre-card,
html[data-theme][data-theme][data-theme] .ni-sd-card,
html[data-theme][data-theme][data-theme] .ni-rich-card,
html[data-theme][data-theme][data-theme] .ni-vpn-mini-cta,
html[data-theme][data-theme][data-theme] .ni-vpn-inline-cta,
html[data-theme][data-theme][data-theme] .ni-news-cta,
html[data-theme][data-theme][data-theme] .ni-editorial-block,
html[data-theme][data-theme][data-theme] .ni-swh-xlink,
html[data-theme][data-theme][data-theme] .ni-suggest-box,
html[data-theme][data-theme][data-theme] .ni-form-card,
html[data-theme][data-theme][data-theme] .ni-auth-card {
  background: var(--surface-2) !important;
  background-image: none !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: none !important;
  color: var(--color-text);
}

html[data-theme][data-theme][data-theme] .ni-card:hover,
html[data-theme][data-theme][data-theme] .ni-panel:hover,
html[data-theme][data-theme][data-theme] .ni-cta-card:hover,
html[data-theme][data-theme][data-theme] .ni-qa-card:hover,
html[data-theme][data-theme][data-theme] .ni-blog-card:hover,
html[data-theme][data-theme][data-theme] .ni-content-card:hover,
html[data-theme][data-theme][data-theme] .ni-related-card:hover,
html[data-theme][data-theme][data-theme] .ni-episode-card:hover,
html[data-theme][data-theme][data-theme] .ni-discover-card:hover,
html[data-theme][data-theme][data-theme] .ni-country-card:hover,
html[data-theme][data-theme][data-theme] .ni-genre-card:hover,
html[data-theme][data-theme][data-theme] .ni-poster-card:hover,
html[data-theme][data-theme][data-theme] .ni-sd-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--color-border-hover) !important;
}

/* Kart ici gorsel hover'da buyumez */
html[data-theme][data-theme][data-theme] .ni-blog-card:hover .ni-blog-card-img img,
html[data-theme][data-theme][data-theme] .ni-poster-card:hover img,
html[data-theme][data-theme][data-theme] .ni-content-card:hover img,
html[data-theme][data-theme][data-theme] .ni-related-card:hover img {
  transform: none !important;
}

/* Kart icindeki ikincil metin tek tona iner */
html[data-theme][data-theme][data-theme] .ni-card p,
html[data-theme][data-theme][data-theme] .ni-panel p,
html[data-theme][data-theme][data-theme] .ni-blog-card p,
html[data-theme][data-theme][data-theme] .ni-content-card p,
html[data-theme][data-theme][data-theme] .ni-cta-card p,
html[data-theme][data-theme][data-theme] .ni-related-card p,
html[data-theme][data-theme][data-theme] .ni-episode-card p {
  color: var(--color-text-secondary);
}

/* Cercevelenmis medya — Frame.io halo kurali */
html[data-theme][data-theme][data-theme] .ni-poster-card,
html[data-theme][data-theme][data-theme] .ni-poster,
html[data-theme][data-theme][data-theme] .ni-hero-media,
html[data-theme][data-theme][data-theme] .ni-video-frame,
html[data-theme][data-theme][data-theme] .ni-trailer-frame {
  border-radius: var(--radius-card) !important;
  overflow: hidden;
  box-shadow: none !important;
}

/* Canli mac vurgusu — kirmizi SADECE burada */
html[data-theme][data-theme][data-theme] .ni-card-live,
html[data-theme][data-theme][data-theme] .ni-rich-card-live {
  border-color: rgba(255, 59, 67, .30) !important;
  background: var(--surface-2) !important;
}

/* --------------------------------------------------------------------------
   6. FORM ALANLARI — tek metin kutusu dili
   -------------------------------------------------------------------------- */
html[data-theme][data-theme][data-theme] input[type="text"],
html[data-theme][data-theme][data-theme] input[type="search"],
html[data-theme][data-theme][data-theme] input[type="email"],
html[data-theme][data-theme][data-theme] input[type="password"],
html[data-theme][data-theme][data-theme] input[type="number"],
html[data-theme][data-theme][data-theme] input[type="tel"],
html[data-theme][data-theme][data-theme] input[type="url"],
html[data-theme][data-theme][data-theme] input[type="date"],
html[data-theme][data-theme][data-theme] select,
html[data-theme][data-theme][data-theme] textarea,
html[data-theme][data-theme][data-theme] .ni-qa-name-input,
html[data-theme][data-theme][data-theme] .ni-qa-question-input {
  background: var(--surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.4;
  padding: 11px 14px;
  box-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease;
  -webkit-appearance: none;
  appearance: none;
}

html[data-theme][data-theme][data-theme] textarea {
  min-height: 96px;
  resize: vertical;
}

html[data-theme][data-theme][data-theme] select {
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-text-muted) 50%),
                    linear-gradient(135deg, var(--color-text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

html[data-theme][data-theme][data-theme] input::placeholder,
html[data-theme][data-theme][data-theme] textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}

html[data-theme][data-theme][data-theme] input:focus,
html[data-theme][data-theme][data-theme] select:focus,
html[data-theme][data-theme][data-theme] textarea:focus,
html[data-theme][data-theme][data-theme] .ni-qa-name-input:focus,
html[data-theme][data-theme][data-theme] .ni-qa-question-input:focus {
  outline: none;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-ring) !important;
}

/* Arama kutulari: cerceve sarmalayicida, input ciplak */
html[data-theme][data-theme][data-theme] .ni-search-box,
html[data-theme][data-theme][data-theme] .ni-global-search-box,
html[data-theme][data-theme][data-theme] .ni-header-search-box,
html[data-theme][data-theme][data-theme] .ni-app-search,
html[data-theme][data-theme][data-theme] .ni-filter-search,
html[data-theme][data-theme][data-theme] .ni-search-form__input-wrap {
  background: var(--surface-1) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: none !important;
  transition: border-color .16s ease, box-shadow .16s ease;
}

html[data-theme][data-theme][data-theme] .ni-search-box:focus-within,
html[data-theme][data-theme][data-theme] .ni-global-search-box:focus-within,
html[data-theme][data-theme][data-theme] .ni-header-search-box:focus-within,
html[data-theme][data-theme][data-theme] .ni-app-search:focus-within,
html[data-theme][data-theme][data-theme] .ni-filter-search:focus-within,
html[data-theme][data-theme][data-theme] .ni-search-form__input-wrap:focus-within {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-ring) !important;
}

html[data-theme][data-theme][data-theme] .ni-search-box input,
html[data-theme][data-theme][data-theme] .ni-global-search-box input,
html[data-theme][data-theme][data-theme] .ni-header-search-box input,
html[data-theme][data-theme][data-theme] .ni-app-search input,
html[data-theme][data-theme][data-theme] .ni-filter-search input,
html[data-theme][data-theme][data-theme] .ni-search-form__input {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--color-text) !important;
  font-size: var(--text-body);
  padding: 10px 4px;
}

html[data-theme][data-theme][data-theme] .ni-search-box input::placeholder,
html[data-theme][data-theme][data-theme] .ni-global-search-box input::placeholder,
html[data-theme][data-theme][data-theme] .ni-header-search-box input::placeholder,
html[data-theme][data-theme][data-theme] .ni-app-search input::placeholder,
html[data-theme][data-theme][data-theme] .ni-filter-search input::placeholder,
html[data-theme][data-theme][data-theme] .ni-search-form__input::placeholder {
  color: var(--color-text-muted) !important;
}

/* Tarayici otomatik doldurma koyu kalir */
html[data-theme][data-theme][data-theme] input:-webkit-autofill,
html[data-theme][data-theme][data-theme] input:-webkit-autofill:hover,
html[data-theme][data-theme][data-theme] input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-text);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-1) inset;
  caret-color: var(--color-text);
}

/* --------------------------------------------------------------------------
   7. TABLOLAR — kanal/operator tablosu tek dile geldi
   -------------------------------------------------------------------------- */
html[data-theme][data-theme][data-theme] .ni-table,
html[data-theme][data-theme][data-theme] .ni-channel-table,
html[data-theme][data-theme][data-theme] table.ni-data {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-size: var(--text-sm);
}

html[data-theme][data-theme][data-theme] .ni-table th,
html[data-theme][data-theme][data-theme] .ni-channel-table th,
html[data-theme][data-theme][data-theme] table.ni-data th {
  background: var(--surface-3);
  color: var(--color-text-secondary);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
}

html[data-theme][data-theme][data-theme] .ni-table td,
html[data-theme][data-theme][data-theme] .ni-channel-table td,
html[data-theme][data-theme][data-theme] table.ni-data td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

html[data-theme][data-theme][data-theme] .ni-table tr:last-child td,
html[data-theme][data-theme][data-theme] .ni-channel-table tr:last-child td,
html[data-theme][data-theme][data-theme] table.ni-data tr:last-child td {
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. MIRAS TEMIZLIGI — acik tema kalintilari ve golge patlamalari
   -------------------------------------------------------------------------- */

/* Sabit acik zeminli KUTULAR koyu yuzeye cevrildi (dark-only'de okunmaz
   kalirlardi). img/svg haric tutuldu: platform logolari beyaz zemini
   kasitli kullaniyor. */
html[data-theme][data-theme][data-theme] div[style*="background:#fff"],
html[data-theme][data-theme][data-theme] div[style*="background: #fff"],
html[data-theme][data-theme][data-theme] div[style*="background:#ffffff"],
html[data-theme][data-theme][data-theme] div[style*="background: #ffffff"],
html[data-theme][data-theme][data-theme] div[style*="background:#F8FAFC"],
html[data-theme][data-theme][data-theme] div[style*="background:#f8fafc"],
html[data-theme][data-theme][data-theme] div[style*="background:#F7F8FA"],
html[data-theme][data-theme][data-theme] section[style*="background:#fff"],
html[data-theme][data-theme][data-theme] section[style*="background:#ffffff"],
html[data-theme][data-theme][data-theme] section[style*="background:#F8FAFC"],
html[data-theme][data-theme][data-theme] aside[style*="background:#fff"],
html[data-theme][data-theme][data-theme] aside[style*="background:#ffffff"],
html[data-theme][data-theme][data-theme] aside[style*="background:#F8FAFC"] {
  background: var(--surface-2) !important;
  border-color: var(--color-border) !important;
  color: var(--color-text) !important;
}

/* Bilinen sabit-koyu metin sizintilari (acik kutu icin yazilmislardi) */
html[data-theme][data-theme][data-theme] .ni-swh-xlink h3,
html[data-theme][data-theme][data-theme] .ni-swh-xlink h4,
html[data-theme][data-theme][data-theme] .ni-editorial-block h3,
html[data-theme][data-theme][data-theme] .ni-sd-card h3 {
  color: var(--color-text) !important;
}

html[data-theme][data-theme][data-theme] .ni-swh-xlink p,
html[data-theme][data-theme][data-theme] .ni-editorial-block p,
html[data-theme][data-theme][data-theme] .ni-sd-card p,
html[data-theme][data-theme][data-theme] .ni-last-updated small {
  color: var(--color-text-secondary) !important;
}

html[data-theme][data-theme][data-theme] .ni-swh-xlink a {
  color: var(--accent) !important;
}

/* VPN affiliate varyantlari tek koyu yuzeye indi */
html[data-theme][data-theme][data-theme] .ni-vpn-affiliate,
html[data-theme][data-theme][data-theme] .ni-vpn-strip,
html[data-theme][data-theme][data-theme] .ni-vpn-sticky {
  background: var(--surface-2) !important;
  background-image: none !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: none !important;
  color: var(--color-text) !important;
}

html[data-theme][data-theme][data-theme] .ni-vpn-affiliate .ni-vpn-pitch,
html[data-theme][data-theme][data-theme] .ni-vpn-strip .ni-vpn-pitch,
html[data-theme][data-theme][data-theme] .ni-vpn-disclosure,
html[data-theme][data-theme][data-theme] .ni-vpn-price {
  color: var(--color-text-secondary) !important;
}

/* Golge tokenlari zaten none; kalan sabit golgeler de sondurulur */
html[data-theme][data-theme][data-theme] .ni-card,
html[data-theme][data-theme][data-theme] .ni-panel,
html[data-theme][data-theme][data-theme] .ni-cta-card,
html[data-theme][data-theme][data-theme] .ni-blog-card,
html[data-theme][data-theme][data-theme] .ni-content-card,
html[data-theme][data-theme][data-theme] .ni-poster-card,
html[data-theme][data-theme][data-theme] .ni-related-card,
html[data-theme][data-theme][data-theme] .ni-episode-card,
html[data-theme][data-theme][data-theme] .ni-qa-card,
html[data-theme][data-theme][data-theme] .ni-vpn-mini-cta,
html[data-theme][data-theme][data-theme] .ni-suggest-box,
html[data-theme][data-theme][data-theme] .ni-rich-card {
  filter: none;
}

/* Yatay tasma sticky header'i kirmasin (overflow-x:clip kurali) */
html,
html[data-theme][data-theme][data-theme] body {
  overflow-x: clip;
}
/* --------------------------------------------------------------------------
   9. GEC KALAN BILESENLER — JS ile enjekte edilen yuzeyler de ayni dile geldi.
   (Bunlarin stili runtime'da <style> olarak basiliyor; onek ozgullugu
   sayesinde belge sirasindan bagimsiz kazanir.)
   -------------------------------------------------------------------------- */

/* 9a. Cerez bandi */
html[data-theme][data-theme][data-theme] .ni-consent__box,
html[data-theme][data-theme][data-theme] .ni-follow-prompt,
html[data-theme][data-theme][data-theme] .ni-ai-suggestions {
  background: var(--surface-2) !important;
  background-image: none !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: none !important;
  color: var(--color-text) !important;
}

html[data-theme][data-theme][data-theme] .ni-consent__text,
html[data-theme][data-theme][data-theme] .ni-follow-prompt p {
  color: var(--color-text-secondary) !important;
}

html[data-theme][data-theme][data-theme] .ni-consent__btn,
html[data-theme][data-theme][data-theme] .ni-consent__save,
html[data-theme][data-theme][data-theme] .ni-fp-btn,
html[data-theme][data-theme][data-theme] .ni-ai-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 20px;
  border: 1px solid var(--color-border-hover) !important;
  border-radius: var(--radius-pill) !important;
  background: transparent !important;
  color: var(--color-text) !important;
  font-family: var(--font-ui) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

html[data-theme][data-theme][data-theme] .ni-consent__btn:hover,
html[data-theme][data-theme][data-theme] .ni-consent__save:hover,
html[data-theme][data-theme][data-theme] .ni-fp-btn:hover,
html[data-theme][data-theme][data-theme] .ni-ai-fab:hover {
  background: var(--color-text) !important;
  color: var(--surface-0) !important;
  border-color: var(--color-text) !important;
  transform: none !important;
}

/* Bu gruplarin birincil aksiyonu = beyaz dolgu */
html[data-theme][data-theme][data-theme] .ni-consent__btn--primary,
html[data-theme][data-theme][data-theme] .ni-fp-btn-primary {
  background: var(--color-text) !important;
  color: var(--surface-0) !important;
  border-color: transparent !important;
  font-weight: 600 !important;
}

html[data-theme][data-theme][data-theme] .ni-consent__btn--primary:hover,
html[data-theme][data-theme][data-theme] .ni-fp-btn-primary:hover {
  background: #FFFFFF !important;
  color: var(--surface-0) !important;
}

html[data-theme][data-theme][data-theme] .ni-fp-btn-ghost {
  background: transparent !important;
  color: var(--color-text-secondary) !important;
  border-color: var(--color-border-hover) !important;
}

/* 9b. Puan cipleri — kutu degil pill */
html[data-theme][data-theme][data-theme] .ni-rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--radius-pill) !important;
  background: var(--surface-3) !important;
  background-image: none !important;
  border: 1px solid var(--color-border) !important;
  color: var(--color-text) !important;
  font-size: var(--text-sm) !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: none !important;
}

/* 9c. Canli serit — tam kirmizi bant yerine koyu yuzey + kirmizi sinyal */
html[data-theme][data-theme][data-theme] .ni-live-strip {
  background: var(--surface-1) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--color-border) !important;
  color: var(--color-text-secondary) !important;
  font-size: var(--text-sm) !important;
  box-shadow: none !important;
}

html[data-theme][data-theme][data-theme] .ni-live-strip a {
  color: var(--color-text) !important;
  text-decoration: none !important;
  font-weight: 500;
}

html[data-theme][data-theme][data-theme] .ni-live-strip a:hover {
  color: var(--accent-hover) !important;
}

html[data-theme][data-theme][data-theme] .ni-live-strip strong,
html[data-theme][data-theme][data-theme] .ni-live-strip .ni-live-dot,
html[data-theme][data-theme][data-theme] .ni-live-strip b {
  color: var(--color-mac) !important;
}

/* 9d. Yil rozeti — blok olarak tam genislige yayiliyordu, pill'e indirildi */
html[data-theme][data-theme][data-theme] .ni-year {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  min-height: 22px;
  padding: 3px 10px !important;
  border-radius: var(--radius-pill) !important;
  background: var(--surface-3) !important;
  border: 1px solid var(--color-border) !important;
  color: var(--color-text-secondary) !important;
  font-size: 11px !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

/* 9e. Sessiz satir-sonu linkleri (lig "tumu" bandi vb.) */
html[data-theme][data-theme][data-theme] .ni-today-more {
  background: transparent !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-pill) !important;
  color: var(--color-text-secondary) !important;
  font-size: var(--text-caption) !important;
}

html[data-theme][data-theme][data-theme] .ni-today-more:hover {
  color: var(--color-text) !important;
  border-color: var(--color-border-hover) !important;
}

/* 9f. Metin ici linkler aksana gecti (cerez politikasi vb.) */
html[data-theme][data-theme][data-theme] .ni-consent__text a,
html[data-theme][data-theme][data-theme] .ni-consent a {
  color: var(--accent) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   10. TEK AKSAN TEMIZLIGI — kirmizi/eski mavi baglantilar aksana gecti.
   Kirmizi artik yalnizca canli/aciliyet sinyali; link ve aktif durum degil.
   Kontrast denetcisi bu kumeyi 3,5-4,5 araliginda (AA alti) raporlamisti.
   -------------------------------------------------------------------------- */
html[data-theme][data-theme][data-theme] .ni-trh-all,
html[data-theme][data-theme][data-theme] .ni-results-rail-all,
html[data-theme][data-theme][data-theme] .ni-footer-more,
html[data-theme][data-theme][data-theme] .ni-derleme-eyebrow,
html[data-theme][data-theme][data-theme] .ni-info-link,
html[data-theme][data-theme][data-theme] .ni-more-link,
html[data-theme][data-theme][data-theme] .ni-trh-more,
html[data-theme][data-theme][data-theme] .ni-section-more {
  color: var(--accent) !important;
}

html[data-theme][data-theme][data-theme] .ni-trh-all:hover,
html[data-theme][data-theme][data-theme] .ni-results-rail-all:hover,
html[data-theme][data-theme][data-theme] .ni-footer-more:hover,
html[data-theme][data-theme][data-theme] .ni-info-link:hover,
html[data-theme][data-theme][data-theme] .ni-more-link:hover {
  color: var(--accent-hover) !important;
}

/* Arama gonder butonu — birincil pill */
html[data-theme][data-theme][data-theme] .ni-app-search button,
html[data-theme][data-theme][data-theme] .ni-global-search-box button[type="submit"] {
  background: var(--color-text) !important;
  background-image: none !important;
  color: var(--surface-0) !important;
  border: 0 !important;
  border-radius: var(--radius-pill) !important;
  min-height: 40px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none !important;
}

/* Hero paneli uzerindeki etiket — gorsel uzerinde saydam koyu pill */
html[data-theme][data-theme][data-theme] .ni-app-hero-overlay span {
  display: inline-flex;
  align-items: center;
  background: rgba(5, 9, 20, .62) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: var(--radius-pill) !important;
  color: var(--color-text) !important;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: none !important;
}

/* Sekmeler — aktif sekme aksan, kirmizi degil */
html[data-theme][data-theme][data-theme] .ni-tab {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-pill) !important;
  color: var(--color-text-secondary) !important;
  min-height: 34px;
  padding: 7px 16px;
  font-size: var(--text-sm) !important;
  font-weight: 500;
  box-shadow: none !important;
}

html[data-theme][data-theme][data-theme] .ni-tab:hover {
  color: var(--color-text) !important;
  border-color: var(--color-border-hover) !important;
}

html[data-theme][data-theme][data-theme] .ni-tab.active {
  background: var(--accent-soft) !important;
  color: var(--accent-hover) !important;
  border-color: rgba(97, 153, 246, .45) !important;
}

/* Atlama baglantisi — odakta okunur olmali */
html[data-theme][data-theme][data-theme] .ni-skip-link {
  background: var(--color-text) !important;
  color: var(--surface-0) !important;
}
