/* ==========================================================================
   GORKHA TV — HIMALAYAN MODERNISM THEME
   Presentation-only layer, linked LAST in every public page's <head> (after
   style.css and the page's own inline <style id="page-style">), so equal-
   specificity rules here win. Admin pages don't load it and keep their look.

   It changes colours, type, spacing and layout only — no element IDs, data
   hooks or behaviour depend on anything in this file.

   Palette: black / charcoal surfaces, light text, and Gorkha red accents to
   match the logo. Division identity is carried by names and content.
   ========================================================================== */

:root {
  --charcoal: #101216;
  --slate: #1B1F26;
  --slate-2: #2A3039;
  --midnight: #C11F31;
  --ivory: #F4F1EA;
  --ivory-2: #C2C5CC;
  --ivory-3: #9BA1AA;
  --copper: #F04455;
  --copper-hover: #FF6270;
  --gold-antique: #F04455;
  --hairline: rgba(244, 241, 234, 0.12);
  --hairline-strong: rgba(244, 241, 234, 0.22);
  --live-red: #C11F31;

  --font-display: 'Fraunces', 'Noto Serif Devanagari', Georgia, serif;
  --font-ui: 'Mukta', 'Noto Serif Devanagari', system-ui, sans-serif;

  /* style.css's own variable names, re-pointed through the Gorkha palette. */
  --red: var(--copper);
  --dark: var(--charcoal);
  --surface: var(--slate);
  --surface2: var(--slate-2);
  --border: rgba(244, 241, 234, 0.16);
  --text: var(--ivory);
  --muted: var(--ivory-2);
  --gold: var(--gold-antique);

  /* tokens.css brand-pack names, re-pointed to the Gorkha palette */
  --gtv-night: var(--charcoal);
  --gtv-slate: var(--slate);
  --gtv-snow: var(--ivory);
  --gtv-mist: var(--ivory-2);
  --bg: var(--charcoal);
  --text-2: var(--ivory-2);
  --brand-accent: var(--copper);
  --live: var(--live-red);
  --chimal-accent: #F04455;
  --chimal-deep: #C11F31;
  --chimal-tint: #2A1418;
  --khabar-accent: #F04455;
  --khabar-deep: #C11F31;
  --khabar-tint: #2A1418;
  --swara-accent: #F04455;
  --swara-deep: #C11F31;
  --swara-tint: #2A1418;
  --ukaali-accent: #F04455;
  --ukaali-deep: #C11F31;
  --ukaali-tint: #2A1418;
  --font-body: var(--font-ui);
}

/* ── BASE TYPE ─────────────────────────────────────────────────────────── */
body { background: var(--charcoal); color: var(--ivory); font-family: var(--font-ui); font-size: 16px; line-height: 1.6; }
h1, h2, h3, .display,
.hero-title, .row-title, .genre-hero-label, .watch-title, .chart-title, .coll-title,
.creator-name, .legal-title, .browse-title, .submit-title, .creator-banner-title,
.feature-hero-title, .keyart-title {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
/* Inline styles (in templates and JS-built markup) that named the old Anek
   display face pick up the new display face instead. */
[style*="Anek"] { font-family: var(--font-display) !important; }
:lang(ne) { font-family: var(--font-ui); }
::selection { background: rgba(240, 68, 85, 0.36); color: var(--ivory); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

/* ── HEADER ────────────────────────────────────────────────────────────── */
/* Scoped to .site-nav: style.css's bare `nav {…}` rule also hit the
   server-rendered <nav class="breadcrumb"> and the per-page jump menus,
   turning the breadcrumb into a sticky dark box. */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  height: 68px; padding: 0 40px; gap: 28px;
  display: flex; align-items: center;
  background: rgba(16, 18, 22, 0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--ivory); }
.site-logo-mark { width: 34px; height: 34px; border-radius: 50%; display: block; }
.site-logo-word { font: 700 22px/1 var(--font-display); letter-spacing: 0; white-space: nowrap; }
body:not([data-editorial-page="home"]) .site-nav .site-logo { gap: 0; }
body:not([data-editorial-page="home"]) .site-nav .site-logo-mark { width: 30px; height: 30px; }
body:not([data-editorial-page="home"]) .site-nav .site-logo-word { display: none; }

.site-nav .nav-links { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.site-nav .nav-links::-webkit-scrollbar { display: none; }
.site-nav .nav-links li { flex-shrink: 0; }
.site-nav .nav-links a {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px; border-radius: 999px;
  font: 700 13px/1 var(--font-ui); letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ivory); background: transparent; transition: background 0.2s, color 0.2s;
}
.site-nav .nav-links a:hover { background: rgba(240, 68, 85, 0.14); color: var(--ivory); }
.site-nav .nav-links a[aria-current="page"],
.site-nav .nav-links a[aria-current="true"] { color: var(--ivory); }
.site-nav .nav-links a.nav-plain { font: 500 15px/1 var(--font-ui); letter-spacing: 0; text-transform: none; color: var(--ivory-2); }
.site-nav .nav-links a.nav-plain:hover, .site-nav .nav-links a.nav-plain.active { color: var(--ivory); }
.nav-div::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--div-color, var(--copper)); flex-shrink: 0; }
.nav-div[data-div="chimal"] { --div-color: var(--chimal-accent); }
.nav-div[data-div="khabar"] { --div-color: var(--khabar-accent); }
.nav-div[data-div="swara"] { --div-color: var(--swara-accent); }
.nav-div[data-div="ukaali"] { --div-color: var(--ukaali-accent); }
/* Current division — set by the page's own data-brand on <html>. */
html[data-brand="chimal"] .nav-div[data-div="chimal"],
html[data-brand="khabar"] .nav-div[data-div="khabar"],
html[data-brand="swara"] .nav-div[data-div="swara"],
html[data-brand="ukaali"] .nav-div[data-div="ukaali"] {
  background: rgba(242, 236, 225, 0.08); box-shadow: inset 0 0 0 1px var(--div-color);
}

.site-search {
  margin-left: auto; flex-shrink: 1; min-width: 160px; width: 280px;
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--slate); border: 1px solid transparent; transition: border-color 0.2s;
}
.site-search:focus-within { border-color: var(--hairline-strong); }
.site-search svg { width: 17px; height: 17px; flex-shrink: 0; stroke: var(--ivory-2); }
.site-search input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none;
  color: var(--ivory); font: 400 14px var(--font-ui);
}
.site-search input::placeholder { color: var(--ivory-2); }
.site-search input::-webkit-search-cancel-button { filter: invert(0.8); }
.site-search-icon { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; margin-left: auto; }
.site-search-icon svg { width: 22px; height: 22px; stroke: var(--ivory); }
.site-nav .nav-spacer { margin-left: auto; }
.site-nav .nav-creator-link {
  flex-shrink: 0; font: 500 15px/1 var(--font-ui); color: #E3DCCF; background: none; padding: 0; border: 0;
  white-space: nowrap; transition: color 0.2s;
}
.site-nav .nav-creator-link:hover { color: var(--ivory); background: none; }
.site-nav .nav-right { flex-shrink: 0; display: flex; align-items: center; gap: 12px; }
.btn-signin { background: var(--midnight); color: #FFFFFF; border-radius: 999px; padding: 10px 20px; }
.btn-signin:hover { background: #D62F3E; }
.user-avatar { border-radius: 50%; border-color: var(--hairline-strong); }
.user-dropdown { border-radius: 14px; border-color: var(--hairline); background: var(--slate); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55); }

/* Breadcrumb back to a plain text trail */
nav.breadcrumb {
  position: static; height: auto; background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 0; gap: 6px; padding: 16px 40px 0; max-width: 1400px; margin: 0 auto; font-size: 13px;
}
.breadcrumb a, .breadcrumb-sep { color: var(--ivory-3); }
.breadcrumb a:hover { color: var(--ivory); }

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.btn-play, .genre-cta-btn, .feature-btn-primary {
  background: var(--copper); color: var(--charcoal); border-radius: 999px; font-family: var(--font-ui); font-weight: 700;
  min-height: 48px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.2s, transform 0.2s;
}
.btn-play:hover, .genre-cta-btn:hover { background: var(--copper-hover); opacity: 1; }
.btn-play svg { width: 16px; height: 16px; fill: var(--charcoal); }
.btn-more {
  background: transparent; color: var(--ivory); border-radius: 999px; min-height: 48px; padding: 0 24px;
  box-shadow: inset 0 0 0 1px rgba(242, 236, 225, 0.4); white-space: nowrap; font-family: var(--font-ui);
}
.btn-more:hover { background: rgba(242, 236, 225, 0.08); }
.btn-more svg { width: 18px; height: 18px; }

/* ── HOME HERO ─────────────────────────────────────────────────────────── */
.hero { height: 620px; background: var(--midnight); }
.hero-bg { filter: none; background-position: center 30%; }
.hero-gradient {
  background:
    linear-gradient(90deg, rgba(16, 18, 22, 0.97) 0%, rgba(16, 18, 22, 0.84) 32%, rgba(16, 18, 22, 0.15) 68%, rgba(16, 18, 22, 0) 100%),
    linear-gradient(0deg, var(--charcoal) 0%, rgba(16, 18, 22, 0) 38%);
}
.hero-content { padding: 0 64px 72px; max-width: 720px; }
.hero-tag {
  background: none; color: var(--chimal-accent); padding: 0; border-radius: 0;
  font: 700 12px/1 var(--font-ui); letter-spacing: 0.18em;
}
.hero-title {
  font-size: clamp(34px, 4.4vw, 58px); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; text-shadow: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px;
}
.hero-meta { font-size: 15px; color: #E3DCCF; }
.hero-meta .lang-badge { border-color: var(--hairline-strong); border-radius: 6px; color: var(--ivory-2); }
.hero-desc { font-size: 16px; color: var(--ivory-2); max-width: 560px; line-height: 1.65; }
.hero-controls {
  position: absolute; z-index: 4; right: 64px; bottom: 30px;
  display: flex; align-items: center; gap: 8px; padding: 6px;
  border: 1px solid rgba(242, 236, 225, 0.12); border-radius: 999px;
  background: rgba(16, 18, 22, 0.82); backdrop-filter: blur(12px);
}
.hero-controls[hidden] { display: none; }
.hero-dots { position: static; display: flex; align-items: center; gap: 6px; }
.hero-control-btn, .hero-dot {
  appearance: none; border: 0; cursor: pointer; color: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; transition: background 0.2s, color 0.2s, width 0.2s;
}
.hero-control-btn[hidden] { display: none; }
.hero-control-btn { width: 32px; height: 32px; border-radius: 50%; }
.hero-control-btn:hover { background: rgba(242, 236, 225, 0.12); }
.hero-control-btn svg { width: 16px; height: 16px; }
.hero-control-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.hero-play-icon { display: none; }
.hero-toggle.is-paused .hero-pause-icon { display: none; }
.hero-toggle.is-paused .hero-play-icon { display: block; }
.hero-dot { width: 7px; height: 7px; padding: 0; border-radius: 999px; background: rgba(242, 236, 225, 0.38); }
.hero-dot.active { width: 22px; background: var(--copper); }

/* Keyboard users can bypass the full global header without changing layout. */
.skip-link {
  position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px;
  border-radius: 999px; background: var(--ivory); color: var(--charcoal);
  font-weight: 700; transform: translateY(-160%); transition: transform 0.15s;
}
.skip-link:focus { transform: translateY(0); }

/* ── HOME: FOUR DIVISIONS ──────────────────────────────────────────────── */
.genre-banners { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 48px 64px 8px; max-width: 1440px; }
.genre-banner {
  aspect-ratio: auto; border-radius: 16px; background: var(--slate); display: flex; flex-direction: column;
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.genre-banner picture { height: auto; aspect-ratio: 16 / 9; }
.genre-banner img { height: 100%; }
.genre-banner-caption { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; border-top: 3px solid var(--div-color, var(--copper)); }
.genre-banner-name { font: 700 13px/1 var(--font-ui); letter-spacing: 0.16em; color: var(--div-color, var(--copper)); }
.genre-banner-tagline { font: 600 18px/1.25 var(--font-display); color: var(--ivory); }
.genre-banner:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--hairline-strong), 0 16px 36px rgba(0, 0, 0, 0.45); }

/* ── CATEGORY CHIPS ────────────────────────────────────────────────────── */
.cats-bar { padding: 32px 64px 0; gap: 10px; }
.cat-pill {
  background: transparent; border: 1px solid var(--hairline-strong); color: #E3DCCF;
  padding: 0 18px; height: 40px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 14px; font-weight: 500;
}
.cat-pill:hover { background: rgba(242, 236, 225, 0.06); color: var(--ivory); }
.cat-pill.active { background: var(--ivory); border-color: var(--ivory); color: var(--charcoal); font-weight: 700; }

/* Clear entry point into the larger set of category and location rows. */
.discovery-tools { max-width: 1440px; margin: 0 auto; padding: 46px 64px 0; }
.discovery-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-kicker { display: block; color: var(--copper); font: 700 11px/1.3 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; }
.discovery-heading h2, .benefits-heading h2 {
  margin-top: 6px; color: var(--ivory); font: 600 clamp(24px, 2.4vw, 32px)/1.15 var(--font-display);
}
.discovery-heading p { max-width: 390px; margin-bottom: 3px; color: var(--ivory-2); font-size: 15px; }
.discovery-tools .cats-bar { padding: 22px 0 0; }

/* ── ROWS + CARDS ──────────────────────────────────────────────────────── */
.row { padding: 40px 64px 8px; }
.row-header { margin-bottom: 18px; }
.row-title { font-size: 26px; font-weight: 600; color: var(--ivory); gap: 0; }
.row-title::before { display: none; }
.see-all { font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--copper); }
.see-all:hover { color: var(--copper-hover); }
.cards-scroll { gap: 18px; padding-bottom: 12px; }
.cards-scroll .card { width: 248px; }
.card {
  background: transparent; border-radius: 12px; overflow: visible;
  transition: transform 0.25s cubic-bezier(.2, .8, .2, 1);
}
.card:hover { transform: translateY(-4px); box-shadow: none; }
.card-thumb { border-radius: 12px; background: var(--slate-2); }
.card:hover .card-thumb img { transform: scale(1.04); }
.card-play-overlay { background: rgba(16, 18, 22, 0.45); }
.play-circle { background: var(--copper); width: 48px; height: 48px; }
.play-circle svg { fill: var(--charcoal); }
.card-cat-badge {
  top: 8px; left: 8px; background: rgba(16, 18, 22, 0.9); color: var(--ivory);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; padding: 4px 8px; border-radius: 6px;
}
.card-status-badge { top: 34px; left: 8px; }
.card-like-count, .card-thumb .card-views {
  border-radius: 6px; background: rgba(16, 18, 22, 0.9); font-weight: 600;
}
.card-body { padding: 12px 2px 4px; }
.card-title {
  font-family: var(--font-ui); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ivory);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-sub { font-size: 13px; color: var(--ivory-2); margin-top: 4px; }
.card-progress-fill { background: var(--copper); }
.num-big { font-family: var(--font-display); font-style: italic; }

/* ── HOME: CREATOR BANNER + "WHY JOIN" ─────────────────────────────────── */
.creator-promo { max-width: 1440px; margin: 52px auto 0; padding: 0 64px; }
.creator-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 30px 34px; border-radius: 20px; border: 1px solid var(--hairline);
  background: radial-gradient(ellipse at 0% 50%, rgba(240, 68, 85, 0.18), transparent 58%), var(--slate);
}
.creator-banner-title { margin-top: 7px; font-size: 26px; font-weight: 600; }
.creator-banner-subtitle { margin-top: 5px; color: var(--ivory-2); font-size: 15px; }
.creator-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.creator-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 18px; border: 1px solid transparent; border-radius: 999px;
  background: var(--copper); color: var(--charcoal); font-weight: 700; font-size: 14px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.creator-btn:hover { background: var(--copper-hover); }
.creator-btn-secondary { background: transparent; color: var(--ivory); border-color: var(--hairline-strong); }
.creator-btn-secondary:hover { background: rgba(242, 236, 225, 0.08); border-color: var(--ivory-2); }
.benefits-section { margin-top: 72px; padding: 56px 64px; border-top: 1px solid var(--hairline); background: linear-gradient(130deg, rgba(193, 31, 49, 0.18), rgba(16, 18, 22, 0.2) 60%); }
.benefits-inner { max-width: 1312px; margin: 0 auto; }
.benefits-heading { margin-bottom: 26px; text-align: center; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.benefit-card { min-height: 180px; padding: 22px; border: 1px solid var(--hairline); border-radius: 16px; background: rgba(27, 33, 32, 0.76); }
.benefit-icon { margin-bottom: 16px; font-size: 24px; }
.benefit-title { color: var(--ivory); font: 600 18px/1.25 var(--font-display); }
.benefit-copy { margin-top: 8px; color: var(--ivory-2); font-size: 14px; line-height: 1.55; }

/* ── SEARCH ────────────────────────────────────────────────────────────── */
.search-wrap-page { max-width: 1440px; min-height: calc(100vh - 260px); margin: 0 auto; padding: 56px 64px 80px; }
.search-hero {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 48px;
  margin-bottom: 42px; padding: 38px; border: 1px solid var(--hairline); border-radius: 24px;
  background: radial-gradient(ellipse at 0% 50%, rgba(240, 68, 85, 0.22), transparent 60%), var(--slate);
}
.search-kicker { color: var(--copper); font: 700 11px/1.3 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; }
.search-intro h1 { margin-top: 10px; color: var(--ivory); font: 600 clamp(34px, 4vw, 52px)/1.08 var(--font-display); letter-spacing: -0.025em; }
.search-intro p { margin-top: 12px; color: var(--ivory-2); font-size: 16px; }
.search-label { display: block; margin: 0 0 9px 5px; color: var(--ivory-2); font-size: 13px; font-weight: 600; }
.search-input-wrap { position: relative; display: flex; align-items: center; }
.search-input-icon { position: absolute; left: 18px; width: 20px; height: 20px; color: var(--ivory-2); pointer-events: none; }
.search-input-wrap input {
  width: 100%; max-width: none; height: 58px; padding: 0 142px 0 50px;
  border: 1px solid var(--hairline-strong); border-radius: 999px; background: rgba(16, 18, 22, 0.82);
  color: var(--ivory); font: 400 16px var(--font-ui); transition: border-color 0.2s, background 0.2s;
}
.search-input-wrap input:focus { outline: none; border-color: var(--copper); background: rgba(16, 18, 22, 0.96); }
.search-input-wrap input::placeholder { color: var(--ivory-3); }
.search-clear {
  position: absolute; right: 104px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: transparent; color: var(--ivory-2); font-size: 22px; line-height: 1; cursor: pointer;
}
.search-clear:hover { background: rgba(242, 236, 225, 0.1); color: var(--ivory); }
.search-clear[hidden] { display: none; }
.search-submit {
  position: absolute; right: 7px; min-height: 44px; padding: 0 19px; border: 0; border-radius: 999px;
  background: var(--copper); color: var(--charcoal); font: 700 14px var(--font-ui); cursor: pointer;
  transition: background 0.2s;
}
.search-submit:hover { background: var(--copper-hover); }
.search-help { margin: 10px 0 0 5px; color: var(--ivory-3); font-size: 12px; }
.search-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.search-results-group + .search-results-group { margin-top: 38px; }
.search-section-title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; color: var(--ivory); font: 600 26px/1.2 var(--font-display); }
.search-section-title .count { color: var(--ivory-3); font: 500 13px var(--font-ui); }
.search-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px; }
.creator-mini-row { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: thin; scrollbar-color: var(--slate-2) transparent; }
.creator-mini { flex: 0 0 148px; padding: 18px 12px 14px; border: 1px solid var(--hairline); border-radius: 16px; background: var(--slate); text-align: center; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.creator-mini:hover { transform: translateY(-2px); border-color: var(--hairline-strong); background: var(--slate-2); }
.creator-mini img, .creator-mini-placeholder { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; background: var(--slate-2); }
.creator-mini img { object-fit: cover; }
.creator-mini-placeholder { color: var(--ivory); font: 600 24px var(--font-display); }
.creator-mini .name { display: block; overflow: hidden; color: var(--ivory); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }

/* ── GENRE (DIVISION) PAGES ────────────────────────────────────────────── */
.genre-subnav { background: rgba(16, 18, 22, 0.98); border-bottom-color: var(--hairline); top: 68px; padding: 0 40px; }
.genre-subnav a { font-size: 14px; }
.genre-feature { padding: 24px 40px 8px; }
.feature-hero { border-radius: 20px; }
.artist-rank { font-family: var(--font-display); font-style: italic; }

/* CHIMAL — cinematic: near-black, letterboxed feature, gold wide-tracked caps */
html[data-brand="chimal"] body { background: var(--charcoal); }
html[data-brand="chimal"] .feature-hero { box-shadow: inset 0 12px 0 #000, inset 0 -12px 0 #000; }
html[data-brand="chimal"] .row-title { letter-spacing: 0.01em; }

/* KHABAR — editorial: hairline rules, serif headlines, calm */
html[data-brand="khabar"] body { background: var(--charcoal); }
html[data-brand="khabar"] .row { border-top: 1px solid var(--hairline); }
html[data-brand="khabar"] .card-title { font-family: var(--font-display); font-weight: 600; }
html[data-brand="khabar"] .card-thumb { border-radius: 6px; }

/* SWARA — expressive: rhododendron glow, italic numerals */
html[data-brand="swara"] body { background: radial-gradient(1200px 520px at 50% -120px, rgba(240, 68, 85, 0.2), transparent 70%), var(--charcoal); background-repeat: no-repeat; }
html[data-brand="swara"] .row-title { font-style: italic; }

/* UKAALI — energetic, mobile-first (feed + shorts pages set data-brand) */
html[data-brand="ukaali"] body { background: var(--charcoal); }
html[data-brand="ukaali"] .site-nav { background: rgba(16, 18, 22, 0.96); }

/* DIVISION LANDING HEADER */
.genre-hero {
  position: relative; padding: 44px 40px 24px; border-bottom: 1px solid var(--hairline);
  background-image: radial-gradient(ellipse at 12% 0%, rgba(240, 68, 85, 0.18), transparent 58%), var(--terrace-pattern, none);
  background-repeat: no-repeat, repeat;
}
.genre-hero-inner { max-width: 1312px; margin-left: auto; margin-right: auto; }
.genre-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.genre-hero-copy { max-width: 760px; text-align: left; }
.genre-eyebrow { color: var(--ivory-2); font: 700 11px/1.3 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; }
.genre-eyebrow span { color: var(--copper); padding: 0 5px; }
.genre-hero-label {
  margin-top: 12px; color: var(--red); text-align: left;
  font: 600 clamp(38px, 5.5vw, 68px)/1 var(--font-display); letter-spacing: -0.035em;
}
.genre-hero-sub { max-width: 620px; margin: 14px 0 0; color: var(--ivory-2); font-size: 16px; line-height: 1.55; }
.genre-browse-link {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px;
  border: 1px solid var(--hairline-strong); border-radius: 999px; color: var(--ivory); font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.genre-browse-link:hover { background: rgba(242, 236, 225, 0.08); border-color: var(--ivory-2); }
.genre-browse-link span { color: var(--copper); font-size: 18px; }
.genre-subnav { margin-top: 0; }
.genre-subnav a { height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid transparent; border-radius: 999px; }
.genre-subnav a.active, .genre-subnav a:hover { border: 1px solid var(--red); background: rgba(242, 236, 225, 0.06); color: var(--ivory); }
.genre-subnav a[aria-current="location"] { color: var(--charcoal); background: var(--red); border-color: var(--red); }
.feature-hero { min-height: 230px; }
.feature-body { padding: 22px 26px; }
.feature-title {
  font-size: clamp(22px, 2.3vw, 30px);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.feature-actions { margin-top: 12px; }
.feature-wave { height: 40px; top: 18px; }

/* ── WATCH PAGE ────────────────────────────────────────────────────────── */
.watch-title { font-weight: 600; }
.watch-actions { flex-wrap: wrap; }
.watch-actions > * { white-space: nowrap; }
.btn-yt { border-radius: 999px; }
.modal-fav-btn, .autoplay-toggle-btn { border-radius: 999px; }

/* ── FOOTER ────────────────────────────────────────────────────────────── */
footer.site-footer { background: #0D0F0D; border-top: 1px solid var(--hairline); padding: 64px 64px 40px; margin-top: 80px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 40px; max-width: 1400px; margin: 0 auto 40px; }
.site-footer .footer-word { font: 700 26px/1 var(--font-display); color: var(--ivory); }
.site-footer .footer-about p { font-size: 15px; line-height: 1.7; color: var(--ivory-2); margin-top: 14px; max-width: 340px; }
.site-footer h4 { font: 700 12px/1 var(--font-ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-antique); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.site-footer li { margin: 0; }
.site-footer a { font-size: 15px; color: #E3DCCF; transition: color 0.2s; }
.site-footer a:hover { color: var(--ivory); }
.site-footer .footer-bottom {
  max-width: 1400px; margin: 0 auto; padding-top: 22px; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ivory-3);
}

/* ── MOBILE BOTTOM TAB BAR ─────────────────────────────────────────────── */
.mobile-nav { background: #161A18; border-top-color: var(--hairline); }
.mobile-nav-item { color: var(--ivory-2); text-transform: none; letter-spacing: 0; font-size: 11px; }
.mobile-nav-item svg { stroke: var(--ivory-2); }
.mobile-nav-item.active { color: var(--copper); }
.mobile-nav-item.active svg { stroke: var(--copper); }

/* ── ACCENT-FILLED CONTROLS ────────────────────────────────────────────── */
/* Every accent (copper and the four division colours) is light enough that
   white text on it fails 4.5:1 — charcoal passes on all of them (5.6–8.9:1). */
.follow-btn, .creator-yt-link, .creator-btn, .btn-yt, .comment-submit-btn {
  color: var(--charcoal); border-radius: 999px; font-weight: 700;
}
.creator-btn:hover, .follow-btn:hover, .btn-yt:hover { filter: brightness(1.08); }
/* templates/home.html styles this link as a red button with !important. */
nav.site-nav a.nav-creator-link {
  background: none !important; color: #E3DCCF !important; padding: 0 !important; border-radius: 0 !important;
  font-weight: 500 !important; font-size: 15px !important; text-transform: none; letter-spacing: 0;
}
nav.site-nav a.nav-creator-link:hover { color: var(--ivory) !important; }

/* tokens.css sets --brand-accent per [data-brand]; :root above would win on
   order, so restate the division accents with more specificity. */
html[data-brand="chimal"] { --brand-accent: var(--chimal-accent); }
html[data-brand="khabar"] { --brand-accent: var(--khabar-accent); }
html[data-brand="swara"] { --brand-accent: var(--swara-accent); }
html[data-brand="ukaali"] { --brand-accent: var(--ukaali-accent); }

/* Division feature panels (js/genre.js renderFeature*) */
.feature-title { font-family: var(--font-display) !important; font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
.feature-btn { border-radius: 999px; min-height: 46px; padding: 0 24px; display: inline-flex; align-items: center; gap: 8px; background: var(--ivory); color: var(--charcoal); font-weight: 700; }
.feature-btn.outline { background: transparent; color: var(--ivory); border: 0; box-shadow: inset 0 0 0 1px rgba(242, 236, 225, 0.45); }
.feature-pill { border-radius: 6px; color: var(--charcoal); }

/* ── BADGES ────────────────────────────────────────────────────────────── */
.badge--live, .badge--breaking { background: var(--live-red); }

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .site-nav .nav-creator-link { display: none; }
  .site-search { width: 220px; }
  .genre-banners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .footer-about { grid-column: 1 / -1; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  /* Two rows: logo / search / account, then the four divisions as a
     swipeable chip row. Not sticky on phones — the bottom tab bar is the
     always-visible navigation there, and the taller header would otherwise
     cover the genre pages' own sticky jump menu. */
  nav.site-nav { position: relative; flex-wrap: wrap; height: auto; padding: 10px 16px 0; gap: 8px 10px; }
  .site-logo-word { font-size: 20px; }
  .site-logo-mark { width: 30px; height: 30px; }
  .site-search { display: none; }
  .site-search-icon { display: inline-flex; }
  .site-nav .nav-spacer { display: none; }
  .site-nav .nav-links { display: flex; order: 10; flex-basis: 100%; padding: 4px 0 12px; gap: 8px; }
  .site-nav .nav-links a { height: 36px; padding: 0 11px; gap: 6px; font-size: 12px; letter-spacing: 0.05em; background: var(--slate); }
  .site-nav .nav-links { gap: 6px; }
  .site-nav .nav-links a.nav-plain { background: transparent; font-size: 14px; }
  .genre-subnav { top: 0; padding: 0 16px; }
  nav.breadcrumb { padding: 12px 16px 0; }

  .hero { height: auto; min-height: 520px; margin: 0 16px; border-radius: 20px; }
  .hero-content { padding: 160px 20px 28px; max-width: none; }
  .hero-gradient { background: linear-gradient(0deg, rgba(16, 18, 22, 0.98) 0%, rgba(193, 31, 49, 0.42) 45%, rgba(16, 18, 22, 0) 78%); }
  .hero-title { font-size: 30px; }
  .hero-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; margin-top: 8px; }
  .hero-actions .btn-play { flex: 1; }
  .hero-controls { right: 20px; bottom: 14px; }
  .hero-control-btn { width: 30px; height: 30px; }

  .genre-banners { padding: 28px 16px 4px; gap: 12px; }
  .discovery-tools { padding: 34px 16px 0; }
  .discovery-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .discovery-heading p { font-size: 14px; }
  .discovery-tools .cats-bar { padding-top: 16px; }
  .row { padding: 32px 16px 4px; }
  .row-title { font-size: 21px; }
  .cards-scroll { gap: 12px; }
  .cards-scroll .card { width: 220px; }
  .genre-feature { padding: 16px 16px 4px; }
  .feature-hero { min-height: 200px; }
  .feature-body { padding: 18px; }
  .feature-title { font-size: 21px; }
  .creator-promo { margin-top: 36px; padding: 0 16px; }
  .creator-banner { align-items: flex-start; flex-direction: column; gap: 20px; padding: 24px; }
  .creator-banner-title { font-size: 22px; }
  .creator-buttons { justify-content: flex-start; width: 100%; }
  .creator-btn { flex: 1; }
  .benefits-section { margin-top: 48px; padding: 40px 16px; }
  .benefits-grid { gap: 10px; }
  .benefit-card { min-height: 0; padding: 17px; }
  .benefit-title { font-size: 16px; }
  .benefit-copy { font-size: 13px; }

  footer.site-footer { padding: 48px 20px 32px; }
}

@media (max-width: 380px) {
  /* small Android phones (360px): keep all four divisions in view */
  .site-nav .nav-links a { padding: 0 9px; font-size: 11px; letter-spacing: 0.03em; }
}

@media (max-width: 560px) {
  .genre-banners { grid-template-columns: 1fr; }
  .genre-banner-tagline { font-size: 17px; }
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .hero-title { font-size: 27px; }
  .hero-controls { right: 12px; bottom: 12px; gap: 4px; padding: 4px; }
  .hero-control-btn { width: 28px; height: 28px; }
  .hero-dots { gap: 4px; }
  .hero-dot { width: 6px; height: 6px; }
  .hero-dot.active { width: 16px; }
  .benefits-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .genre-banner, .card-thumb img, .hero-control-btn, .hero-dot, .genre-browse-link, .creator-mini { transition: none; }
  .card:hover, .genre-banner:hover { transform: none; }
}

@media (max-width: 900px) {
  .genre-hero { padding: 36px 20px 22px; }
  .genre-hero-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  .genre-hero-label { font-size: clamp(36px, 8vw, 52px); }
  .genre-hero-sub { margin-top: 10px; font-size: 15px; }
  .genre-subnav { top: 0; padding: 8px 16px; }
  .search-wrap-page { padding: 36px 20px 56px; }
  .search-hero { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
}

@media (max-width: 560px) {
  .genre-hero { padding: 30px 16px 20px; }
  .genre-eyebrow { font-size: 10px; }
  .genre-browse-link { min-height: 42px; }
  .genre-subnav { padding: 6px 12px; }
  .genre-subnav a { height: 36px; padding: 0 12px; font-size: 12px; }
  .search-wrap-page { padding: 24px 16px 44px; }
  .search-hero { gap: 20px; margin-bottom: 32px; padding: 22px; border-radius: 20px; }
  .search-intro h1 { font-size: 34px; }
  .search-intro p { font-size: 14px; }
  .search-input-wrap input { height: 54px; padding-right: 104px; font-size: 16px; }
  .search-clear { right: 82px; width: 30px; height: 30px; }
  .search-submit { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .search-section-title { font-size: 22px; }
  .search-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── GORKHA TV VIEWING EXPERIENCE ──────────────────────────────────────── */
html body[data-editorial-page] {
  --charcoal: #101216;
  --slate: #1B1F26;
  --slate-2: #2A3039;
  --midnight: #C11F31;
  --ivory: #F4F1EA;
  --ivory-2: #C2C5CC;
  --ivory-3: #9BA1AA;
  --copper: #F04455;
  --copper-hover: #FF6270;
  --gold-antique: #F04455;
  --hairline: rgba(244, 241, 234, 0.12);
  --hairline-strong: rgba(244, 241, 234, 0.22);
  --font-display: var(--font-ui);
  --dark: var(--charcoal);
  --surface: var(--slate);
  --surface2: var(--slate-2);
  --border: rgba(244, 241, 234, 0.16);
  --text: var(--ivory);
  --muted: var(--ivory-2);
  --gold: var(--gold-antique);
  --brand-accent: var(--copper);
  --brand-deep: var(--midnight);
  --brand-tint: #2A1418;
  --live: var(--midnight);
  --gtv-night: #101216;
  --gtv-slate: #1B1F26;
  --gtv-snow: #F4F1EA;
  --gtv-mist: #C2C5CC;
  --gtv-red: #F04455;
  --red: var(--copper) !important;
  --chimal-accent: #F04455;
  --chimal-deep: #C11F31;
  --chimal-tint: #2A1418;
  --khabar-accent: #F04455;
  --khabar-deep: #C11F31;
  --khabar-tint: #2A1418;
  --swara-accent: #F04455;
  --swara-deep: #C11F31;
  --swara-tint: #2A1418;
  --ukaali-accent: #F04455;
  --ukaali-deep: #C11F31;
  --ukaali-tint: #2A1418;

  background-color: var(--charcoal);
  background-image: linear-gradient(rgba(16, 18, 22, 0.96), rgba(16, 18, 22, 0.96)), url('/patterns/gorkhatv-terrace-pattern.svg');
  color: var(--ivory);
}
body[data-editorial-page] { font-family: var(--font-ui); color: var(--ivory); }
body[data-editorial-page] :is(h1, h2, h3, .row-title, .genre-hero-label, .search-section-title) {
  font-family: var(--font-ui); letter-spacing: -0.035em;
}
body[data-editorial-page] .site-nav {
  position: sticky; height: 72px; padding: 0 clamp(20px, 5vw, 72px); gap: 20px;
  color: var(--ivory); background: rgba(16, 18, 22, 0.96);
  border-bottom: 1px solid rgba(240, 68, 85, 0.42);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
body[data-editorial-page] .site-logo-word { color: var(--ivory); font: 750 21px/1 var(--font-ui); letter-spacing: -0.04em; }
body[data-editorial-page] .site-nav .nav-links a {
  height: 40px; padding: 0 12px; border-radius: 10px; color: var(--ivory-2);
  font-size: 12px; letter-spacing: 0.07em; transition: color 0.18s, background 0.18s;
}
body[data-editorial-page] .site-nav .nav-links a:hover { color: var(--ivory); background: rgba(240, 68, 85, 0.12); }
body[data-editorial-page] .site-nav .nav-links a.active {
  color: #FFFFFF; background: var(--midnight); box-shadow: none; font-weight: 700;
}
body[data-editorial-page] .site-nav .nav-links a.active:hover { background: #D62F3E; }
body[data-editorial-page] .site-search { border-color: var(--hairline); background: var(--charcoal); }
body[data-editorial-page] .site-search:focus-within { border-color: var(--copper); }
body[data-editorial-page] .site-search input { color: var(--ivory); }
body[data-editorial-page] .site-search input::placeholder { color: var(--ivory-3); }
body[data-editorial-page] .site-search svg { stroke: var(--ivory-2); }
body[data-editorial-page] .site-search-icon svg { stroke: var(--ivory); }
body[data-editorial-page] .site-nav .nav-creator-link { color: var(--ivory-2); }
body[data-editorial-page] .site-nav .nav-creator-link:hover { color: var(--copper); }
body[data-editorial-page] .btn-signin { background: var(--midnight); color: #FFFFFF; }
body[data-editorial-page] .btn-signin:hover { background: #D62F3E; }
body[data-editorial-page] .user-avatar { background: var(--slate-2); color: var(--ivory); }
body[data-editorial-page] .site-nav a:focus-visible,
body[data-editorial-page] button:focus-visible,
body[data-editorial-page] input:focus-visible,
body[data-editorial-page] .cards-scroll a:focus-visible { outline-color: var(--copper); }
body[data-editorial-page] .breadcrumb { color: var(--ivory-2); }
body[data-editorial-page] .breadcrumb a { color: var(--ivory-2); }
body[data-editorial-page] .breadcrumb span[aria-current] { color: var(--ivory); }

/* Home page: a compact viewing stage with a regional signal palette. */
body[data-editorial-page="home"] .hero {
  width: min(100% - 48px, 1440px); height: auto; min-height: 360px; margin: 24px auto 0;
  overflow: hidden; border: 1px solid var(--hairline); border-radius: 22px;
  background: radial-gradient(ellipse at 12% 0%, rgba(240, 68, 85, 0.24), transparent 55%), linear-gradient(120deg, #1B1F26, #101216);
  box-shadow: inset 4px 0 0 var(--midnight), 0 16px 44px rgba(0, 0, 0, 0.32);
}
body[data-editorial-page="home"] .hero-bg {
  inset: 16px 16px 16px auto; width: 45%; height: auto; border-radius: 17px;
  background-position: center; filter: none; clip-path: none; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}
body[data-editorial-page="home"] .hero-gradient { background: none; }
body[data-editorial-page="home"] .hero-content {
  width: 60%; max-width: 760px; min-height: 360px; height: auto; justify-content: center;
  padding: 36px 20px 64px 34px; color: var(--ivory);
}
body[data-editorial-page="home"] .hero-eyebrow { margin-bottom: 14px; }
body[data-editorial-page="home"] .hero-tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px;
  border: 1px solid rgba(240, 68, 85, 0.32); border-radius: 7px; background: rgba(240, 68, 85, 0.14);
  color: var(--copper); font-size: 11px; letter-spacing: 0.12em;
}
body[data-editorial-page="home"] .hero-title {
  max-width: 600px; margin-bottom: 14px; color: var(--ivory);
  font-size: clamp(34px, 4vw, 56px); font-weight: 750; line-height: 1.04; letter-spacing: -0.045em;
}
body[data-editorial-page="home"] .hero-meta { color: var(--ivory-2); font-size: 14px; }
body[data-editorial-page="home"] .hero-meta .dot { background: var(--gold-antique); }
body[data-editorial-page="home"] .hero-meta .lang-badge { border-color: var(--hairline-strong); color: var(--ivory-2); }
body[data-editorial-page="home"] .hero-desc { max-width: 500px; margin: 12px 0 18px; color: var(--ivory-2); }
body[data-editorial-page="home"] .btn-play {
  min-height: 46px; padding: 0 19px; border-radius: 10px; background: var(--midnight); color: #FFFFFF;
  font-size: 14px; letter-spacing: 0.01em;
}
body[data-editorial-page="home"] .btn-play:hover { background: #D62F3E; }
body[data-editorial-page="home"] .btn-play svg { fill: #FFFFFF; }
body[data-editorial-page="home"] .btn-more {
  min-height: 46px; padding: 0 18px; border: 1px solid var(--hairline-strong);
  border-radius: 10px; background: rgba(255,255,255,0.05); box-shadow: none; color: var(--ivory); font-size: 14px;
}
body[data-editorial-page="home"] .btn-more svg { stroke: var(--ivory); }
body[data-editorial-page="home"] .btn-more:hover { background: var(--slate-2); }
body[data-editorial-page="home"] .hero-controls {
  right: 24px; bottom: 20px; gap: 4px; padding: 4px;
  border-color: var(--hairline-strong); background: rgba(27, 31, 38, 0.94);
  backdrop-filter: blur(8px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
body[data-editorial-page="home"] .hero-control-btn { color: var(--ivory); }
body[data-editorial-page="home"] .hero-control-btn:hover { background: rgba(240, 68, 85, 0.16); }
body[data-editorial-page="home"] .hero-dot { background: rgba(244, 241, 234, 0.32); }
body[data-editorial-page="home"] .hero-dot.active { background: var(--copper); }
body[data-editorial-page="home"] .genre-banners {
  width: min(100% - 48px, 1440px); margin: 18px auto 0; padding: 0 0 8px;
  gap: 14px; border-bottom: 0;
}
body[data-editorial-page="home"] .genre-banner {
  border: 1px solid rgba(240, 68, 85, 0.24); border-radius: 14px; background: var(--slate);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24); overflow: hidden;
}
body[data-editorial-page="home"] .genre-banner picture { aspect-ratio: 2.4 / 1; overflow: hidden; }
body[data-editorial-page="home"] .genre-banner img { transition: transform 0.35s ease; }
body[data-editorial-page="home"] .genre-banner:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38); }
body[data-editorial-page="home"] .genre-banner:hover img { transform: scale(1.025); }
body[data-editorial-page="home"] .genre-banner-caption {
  padding: 11px 13px 13px; border-top: 0; border-bottom: 0; border-left: 3px solid var(--copper);
}
body[data-editorial-page="home"] .genre-banner-name { color: var(--copper); font-size: 10px; }
body[data-editorial-page="home"] .genre-banner-tagline { color: var(--ivory); font: 600 14px/1.3 var(--font-ui); }
body[data-editorial-page="home"] .discovery-tools { padding-top: 30px; }
body[data-editorial-page="home"] .section-kicker { color: var(--copper); letter-spacing: 0.13em; }
body[data-editorial-page="home"] .discovery-heading h2,
body[data-editorial-page="home"] .benefits-heading h2 { color: var(--ivory); }
body[data-editorial-page="home"] .discovery-heading p { color: var(--ivory-2); }
body[data-editorial-page="home"] .discovery-tools .cats-bar {
  flex-wrap: wrap; overflow: visible; padding: 16px 0 2px; border-bottom: 0;
}
body[data-editorial-page="home"] .cat-pill {
  height: 36px; padding: 0 14px; border: 1px solid var(--hairline-strong); border-radius: 10px;
  background: rgba(255,255,255,0.05); color: var(--ivory-2); font-size: 13px;
}
body[data-editorial-page="home"] .cat-pill:hover { background: var(--slate-2); color: var(--copper-hover); }
body[data-editorial-page="home"] .cat-pill.active {
  border-color: var(--midnight); background: var(--midnight); color: #FFFFFF; font-weight: 700;
}
body[data-editorial-page="home"] .row { max-width: 1440px; margin-inline: auto; padding: 30px 24px 4px; }
body[data-editorial-page="home"] .row-header {
  max-width: 1440px; margin: 0 auto 16px; padding: 0 0 10px; border-bottom: 1px solid rgba(240, 68, 85, 0.28);
}
body[data-editorial-page="home"] .row-title {
  color: var(--ivory); font: 700 clamp(20px, 2vw, 26px)/1.2 var(--font-ui); letter-spacing: -0.035em;
}
body[data-editorial-page="home"] .row-title::before { display: none; }
body[data-editorial-page="home"] .see-all {
  color: var(--copper); font-size: 13px; letter-spacing: 0; text-transform: none;
}
body[data-editorial-page="home"] .cards-scroll {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; padding: 0 0 10px; overflow: visible; scroll-snap-type: none;
}
body[data-editorial-page="home"] .cards-scroll .card {
  width: auto; min-width: 0; flex: initial; border: 1px solid rgba(240, 68, 85, 0.2); border-radius: 14px;
  background: var(--slate); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28); transform: none;
}
body[data-editorial-page="home"] .card:hover { border-color: rgba(240, 68, 85, 0.68); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42); transform: translateY(-3px); }
body[data-editorial-page="home"] .card-thumb { aspect-ratio: 16 / 10; border-radius: 12px 12px 0 0; background: var(--slate-2); }
body[data-editorial-page="home"] .card-thumb img { transition: filter 0.2s ease; }
body[data-editorial-page="home"] .card:hover .card-thumb img { transform: none; filter: saturate(1.06); }
body[data-editorial-page="home"] .card-play-overlay { background: rgba(16, 18, 22, 0.32); }
body[data-editorial-page="home"] .play-circle { width: 42px; height: 42px; background: var(--copper); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.36); }
body[data-editorial-page="home"] .play-circle svg { fill: #FFFFFF; }
body[data-editorial-page="home"] .card-cat-badge,
body[data-editorial-page="home"] .card-like-count,
body[data-editorial-page="home"] .card-thumb .card-views {
  border-radius: 7px; background: rgba(16, 18, 22, 0.9); color: #FFFFFF;
}
body[data-editorial-page="home"] .card-body { padding: 12px 14px 15px; }
body[data-editorial-page="home"] .card-title { color: var(--ivory); font-size: 15px; line-height: 1.35; }
body[data-editorial-page="home"] .card-sub { color: var(--ivory-2); font-size: 12px; }
body[data-editorial-page="home"] #magic-row {
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
}
body[data-editorial-page="home"] #magic-row .magic-card { margin-right: 0; }
body[data-editorial-page="home"] .creator-promo { margin-top: 44px; }
body[data-editorial-page="home"] .creator-banner {
  border-radius: 18px; border-color: rgba(240, 68, 85, 0.28);
  background:
    radial-gradient(ellipse at 92% 10%, rgba(240, 68, 85, 0.2), transparent 42%),
    radial-gradient(ellipse at 8% 100%, rgba(184, 29, 43, 0.14), transparent 48%),
    linear-gradient(118deg, #1B1F26 0%, #18171C 48%, #241519 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 48px rgba(0, 0, 0, 0.34);
}
body[data-editorial-page="home"] .creator-banner .section-kicker { color: var(--copper-hover); }
body[data-editorial-page="home"] .creator-banner-title { color: var(--ivory); }
body[data-editorial-page="home"] .creator-banner-subtitle { color: var(--ivory-2); }
body[data-editorial-page="home"] .creator-btn {
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.32);
  white-space: nowrap;
}
body[data-editorial-page="home"] .creator-btn:first-child {
  background: var(--midnight);
  color: #FFFFFF;
  border-color: rgba(240, 68, 85, 0.42);
}
body[data-editorial-page="home"] .creator-btn:first-child:hover {
  background: #D62F3E;
}
body[data-editorial-page="home"] .creator-btn-secondary {
  color: #FFFFFF;
  border-color: rgba(244, 241, 234, 0.28);
  background: linear-gradient(135deg, #24262D, #17181D);
}
body[data-editorial-page="home"] .creator-btn-secondary:hover {
  color: #FFFFFF;
  border-color: rgba(240, 68, 85, 0.6);
  background: linear-gradient(135deg, #302127, #1B1D22);
}
body[data-editorial-page="home"] .creator-banner .creator-btn:focus-visible {
  outline-color: var(--copper);
}
body[data-editorial-page="home"] .benefits-section {
  border-top: 1px solid var(--hairline); background: rgba(27, 31, 38, 0.52);
}
body[data-editorial-page="home"] .benefit-card { border-radius: 12px; border-color: var(--hairline); background: var(--slate); }
body[data-editorial-page="home"] .benefit-title { color: var(--ivory); }
body[data-editorial-page="home"] .benefit-copy { color: var(--ivory-2); }

/* Division pages: the four branded destinations stay distinct inside one app. */
body[data-editorial-page="genre"] .genre-hero {
  padding: clamp(30px, 4vw, 48px) clamp(20px, 5vw, 72px) 22px;
  border-bottom: 1px solid var(--hairline);
  background-image: radial-gradient(ellipse at 86% 0%, rgba(240, 68, 85, 0.24), transparent 42%), linear-gradient(rgba(16, 18, 22, 0.94), rgba(16, 18, 22, 0.94)), url('/patterns/gorkhatv-terrace-pattern.svg');
}
body[data-editorial-page="genre"] .genre-hero-label { color: var(--red); }
body[data-editorial-page="genre"] .genre-hero-sub { color: var(--ivory-2); }
body[data-editorial-page="genre"] .genre-eyebrow { color: var(--ivory-2); }
body[data-editorial-page="genre"] .genre-hero { padding: 14px clamp(16px, 5vw, 72px); }
body[data-editorial-page="genre"] .genre-hero-inner {
  align-items: center; flex-direction: row; gap: 16px;
}
body[data-editorial-page="genre"] .genre-hero-copy {
  display: flex; align-items: center; gap: 12px; max-width: none; min-width: 0;
}
body[data-editorial-page="genre"] .genre-eyebrow,
body[data-editorial-page="genre"] .genre-hero-sub { display: none; }
body[data-editorial-page="genre"] .genre-hero-label {
  flex-shrink: 0; margin: 0; font-size: clamp(22px, 3vw, 34px); line-height: 1; white-space: nowrap;
}
body[data-editorial-page="genre"] .genre-browse-link {
  min-height: 40px; padding: 0 12px; border-color: transparent; border-radius: 10px; background: var(--midnight); color: #FFFFFF;
  white-space: nowrap;
}
body[data-editorial-page="genre"] .genre-browse-link:hover { border-color: transparent; background: #D62F3E; }
body[data-editorial-page="genre"] .genre-browse-link span { color: #FFFFFF; }
body[data-editorial-page="genre"] .genre-subnav {
  top: 0; padding: 7px clamp(20px, 5vw, 72px); background: rgba(16, 18, 22, 0.96);
  border-bottom: 1px solid var(--hairline); backdrop-filter: blur(10px);
}
body[data-editorial-page="genre"] .genre-subnav a {
  height: 36px; padding: 0 13px; border-radius: 9px; color: var(--ivory-2); font-size: 12px;
}
body[data-editorial-page="genre"] .genre-subnav a.active,
body[data-editorial-page="genre"] .genre-subnav a:hover {
  border: 1px solid var(--hairline-strong); background: var(--slate-2); color: var(--ivory); box-shadow: none;
}
body[data-editorial-page="genre"] .genre-subnav a[aria-current="location"] {
  background: var(--midnight); color: #FFFFFF; border-color: var(--midnight); box-shadow: none;
}
body[data-editorial-page="genre"] .genre-wrap { max-width: 1440px; }
body[data-editorial-page="genre"] .genre-wrap .row { padding: 34px clamp(20px, 5vw, 72px) 4px; }
body[data-editorial-page="genre"] .genre-wrap .row-header {
  margin-bottom: 16px; padding-bottom: 11px; border-bottom: 1px solid var(--hairline);
}
body[data-editorial-page="genre"] .genre-wrap .row-title { color: var(--ivory); font: 700 clamp(20px, 2vw, 26px)/1.2 var(--font-ui); }
body[data-editorial-page="genre"] .genre-wrap .row-title::before { display: none; }
body[data-editorial-page="genre"] .genre-wrap .cards-scroll {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; overflow: visible; scroll-snap-type: none;
}
body[data-editorial-page="genre"] .genre-wrap .cards-scroll .card {
  width: auto; min-width: 0; flex: initial; border: 1px solid rgba(240, 68, 85, 0.2);
  border-radius: 14px; background: var(--slate); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28); transform: none;
}
body[data-editorial-page="genre"] .genre-wrap .card-thumb { aspect-ratio: 16 / 10; border-radius: 12px 12px 0 0; }
body[data-editorial-page="genre"] .genre-wrap .card:hover { border-color: rgba(240, 68, 85, 0.68); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42); }
body[data-editorial-page="genre"] .genre-wrap .num-card {
  position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center;
  width: auto; min-width: 0; flex: initial; padding: 8px; border-radius: 12px;
  background: var(--slate); color: var(--ivory); text-decoration: none;
}
body[data-editorial-page="genre"] .genre-wrap .num-big {
  margin: 0; color: var(--ivory-2); font: 700 18px/1 var(--font-ui);
  text-align: center; -webkit-text-stroke: 0;
}
body[data-editorial-page="genre"] .genre-wrap .num-card-img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--slate-2);
}
body[data-editorial-page="genre"] .genre-wrap .num-card:hover .num-card-img { transform: translateY(-2px); }
body[data-editorial-page="genre"] .genre-feature { padding: 24px clamp(20px, 5vw, 72px) 8px; }
body[data-editorial-page="genre"] .feature-hero { min-height: 280px; border-radius: 16px; }
body[data-editorial-page="genre"] .feature-body { max-width: 720px; }
body[data-editorial-page="genre"] .feature-title { color: #FFFCF5; }
body[data-editorial-page="genre"] .feature-btn {
  border-radius: 10px; background: var(--midnight); color: #FFFFFF;
}
body[data-editorial-page="genre"] .feature-btn:hover { background: #D62F3E; }
body[data-editorial-page="genre"] .feature-btn.outline {
  background: rgba(16, 18, 22, 0.72); color: var(--ivory); border-color: rgba(240, 68, 85, 0.62);
}
body[data-editorial-page="genre"] .genre-empty { color: var(--ivory-2); }
body[data-editorial-page="genre"] .news-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px;
  padding: 0 clamp(20px, 5vw, 72px);
}
body[data-editorial-page="genre"] .news-item { border-color: var(--hairline); }
body[data-editorial-page="genre"] .news-headline { color: var(--ivory); font-family: var(--font-display); font-weight: 600; }
body[data-editorial-page="genre"] .news-meta { color: var(--ivory-2); }
body[data-editorial-page="genre"] .news-thumb { border-radius: 10px; }
body[data-editorial-page="genre"] .genre-cta-btn {
  border-radius: 10px; background: var(--midnight); color: #FFFFFF;
}
body[data-editorial-page="genre"] .genre-cta-btn:hover { background: #D62F3E; }

/* Search: a fast, modern entry point into the video catalogue. */
body[data-editorial-page="search"] .search-wrap-page { max-width: 1440px; padding: 52px clamp(20px, 5vw, 72px) 80px; }
body[data-editorial-page="search"] .search-hero {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 36px;
  padding: clamp(24px, 4vw, 40px); border: 1px solid rgba(240, 68, 85, 0.32);
  border-radius: 20px; background: radial-gradient(ellipse at 0% 50%, rgba(240, 68, 85, 0.22), transparent 62%), linear-gradient(135deg, #1B1F26, #171317);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}
body[data-editorial-page="search"] .search-intro h1 { color: var(--ivory); font-size: clamp(32px, 3.6vw, 48px); font-weight: 750; }
body[data-editorial-page="search"] .search-intro p,
body[data-editorial-page="search"] .search-label { color: var(--ivory-2); }
body[data-editorial-page="search"] .search-input-wrap input {
  height: 54px; border-color: var(--hairline-strong); border-radius: 12px;
  background: var(--charcoal); color: var(--ivory);
}
body[data-editorial-page="search"] .search-input-wrap input:focus { border-color: var(--copper); background: var(--charcoal); }
body[data-editorial-page="search"] .search-input-wrap input::placeholder { color: var(--ivory-3); }
body[data-editorial-page="search"] .search-input-icon { color: var(--ivory-2); }
body[data-editorial-page="search"] .search-clear { right: 104px; color: var(--ivory-2); }
body[data-editorial-page="search"] .search-clear:hover { background: var(--slate-2); color: var(--ivory); }
body[data-editorial-page="search"] .search-submit { min-height: 40px; border-radius: 9px; background: var(--midnight); color: #FFFFFF; }
body[data-editorial-page="search"] .search-submit:hover { background: #D62F3E; }
body[data-editorial-page="search"] .search-help { color: var(--ivory-3); }
body[data-editorial-page="search"] .search-section-title { color: var(--ivory); }
body[data-editorial-page="search"] .search-section-title .count { color: var(--ivory-3); }
body[data-editorial-page="search"] .search-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body[data-editorial-page="search"] .search-grid .card {
  min-width: 0; border: 1px solid rgba(240, 68, 85, 0.2); border-radius: 14px; background: var(--slate);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}
body[data-editorial-page="search"] .search-grid .card-thumb { aspect-ratio: 16 / 10; border-radius: 12px 12px 0 0; }
body[data-editorial-page="search"] .search-grid .card:hover { border-color: rgba(240, 68, 85, 0.68); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42); }
body[data-editorial-page="search"] .search-grid .card-title { color: var(--ivory); }
body[data-editorial-page="search"] .search-grid .card-sub { color: var(--ivory-2); }
body[data-editorial-page="search"] .creator-mini-row { scrollbar-color: var(--slate-2) transparent; }
body[data-editorial-page="search"] .creator-mini {
  border-radius: 12px; border-color: var(--hairline); background: var(--slate);
}
body[data-editorial-page="search"] .creator-mini:hover {
  transform: translateY(-2px); border-color: rgba(240, 68, 85, 0.48); background: var(--slate-2);
}
body[data-editorial-page="search"] .creator-mini img,
body[data-editorial-page="search"] .creator-mini-placeholder { background: var(--slate-2); }
body[data-editorial-page="search"] .creator-mini-placeholder { color: var(--ivory); }
body[data-editorial-page="search"] .creator-mini .name { color: var(--ivory); }
body[data-editorial-page] .site-footer {
  margin-top: 56px; padding: 48px clamp(20px, 5vw, 72px) 30px;
  border-top: 1px solid var(--hairline-strong); background: #0C0D10;
}
body[data-editorial-page] .site-footer .footer-word { color: var(--ivory); }
body[data-editorial-page] .site-footer .footer-about p { color: var(--ivory-2); }
body[data-editorial-page] .site-footer h4 { color: var(--copper); }
body[data-editorial-page] .site-footer a { color: var(--ivory-2); }
body[data-editorial-page] .site-footer a:hover { color: var(--copper); }
body[data-editorial-page] .site-footer .footer-bottom { border-color: var(--hairline); color: var(--ivory-3); }
body[data-editorial-page] .mobile-nav { background: rgba(16, 18, 22, 0.98); border-top-color: rgba(240, 68, 85, 0.45); }
body[data-editorial-page] .mobile-nav-item { color: var(--ivory-2); }
body[data-editorial-page] .mobile-nav-item svg { stroke: var(--ivory-2); }
body[data-editorial-page] .mobile-nav-item.active,
body[data-editorial-page] .mobile-nav-item.active svg { color: var(--copper); stroke: var(--copper); }
body[data-editorial-page] .player-bar { background: var(--midnight); border-top-color: var(--hairline-strong); color: #FFFFFF; }
body[data-editorial-page] .player-bar-title { color: #FFFFFF; }
body[data-editorial-page] .player-bar-thumb { border-radius: 8px; }

.keyart-mark [fill]:not([fill="none"]),
.shorts-ukaali-mark [fill]:not([fill="none"]) { fill: var(--brand-accent) !important; }
.keyart-mark [stroke]:not([stroke="none"]),
.shorts-ukaali-mark [stroke]:not([stroke="none"]) { stroke: var(--brand-accent) !important; }
.watch-swara-mark path { stroke: var(--brand-accent) !important; }

@media (max-width: 900px) {
  body[data-editorial-page] .site-nav { position: relative; height: auto; padding: 10px 20px 0; gap: 8px 10px; }
  body[data-editorial-page] .site-nav .nav-links a { height: 36px; }
  body[data-editorial-page="home"] .hero {
    width: calc(100% - 40px); height: auto; min-height: clamp(360px, 52vh, 440px);
    min-height: clamp(360px, 52svh, 440px); margin-top: 16px;
  }
  body[data-editorial-page="home"] .hero-bg { width: 44%; }
  body[data-editorial-page="home"] .hero-content { width: 64%; min-height: 0; padding: 24px 18px 58px 0; }
  body[data-editorial-page="home"] .genre-banners { width: calc(100% - 40px); }
  body[data-editorial-page="home"] .row { max-width: none; padding: 24px 20px 4px; }
  body[data-editorial-page="home"] .cards-scroll { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  body[data-editorial-page="home"] .row-header { margin-bottom: 14px; }
  body[data-editorial-page="home"] .creator-promo { padding: 0 20px; }
  body[data-editorial-page="home"] .benefits-section { margin-top: 36px; padding: 32px 20px; }
  body[data-editorial-page="genre"] .genre-hero { padding: 34px 20px 20px; }
  body[data-editorial-page="genre"] .genre-wrap .row { padding: 28px 20px 4px; }
  body[data-editorial-page="genre"] .genre-wrap .cards-scroll { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  body[data-editorial-page="genre"] .genre-feature { padding: 18px 20px 6px; }
  body[data-editorial-page="genre"] .news-list { padding: 0 20px; }
  body[data-editorial-page="genre"] .genre-subnav { position: sticky; }
  body[data-editorial-page="search"] .search-wrap-page { padding: 34px 20px 56px; }
  body[data-editorial-page="search"] .search-hero { grid-template-columns: 1fr; gap: 20px; }
  body[data-editorial-page="search"] .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body[data-editorial-page] .site-nav { padding: 10px 16px 0; border-bottom-width: 2px; }
  body[data-editorial-page="home"] .hero { width: calc(100% - 32px); min-height: 0; margin-top: 12px; }
  body[data-editorial-page="home"] .hero-bg {
    inset: 10px 10px auto; width: calc(100% - 20px); height: clamp(128px, 38vw, 156px); clip-path: none; background-position: center 35%;
    border-radius: 14px;
  }
  body[data-editorial-page="home"] .hero-gradient {
    background: linear-gradient(180deg, transparent 33%, rgba(238, 244, 242, 0.55) 44%, var(--charcoal) 56%);
  }
  body[data-editorial-page="home"] .hero-content {
    width: 100%; min-height: 0; justify-content: flex-end;
    padding: calc(clamp(128px, 38vw, 156px) + 12px) 16px 58px;
  }
  body[data-editorial-page="home"] .hero-eyebrow { margin-bottom: 8px; }
  body[data-editorial-page="home"] .hero-title { margin-bottom: 8px; font-size: clamp(28px, 8vw, 34px); }
  body[data-editorial-page="home"] .hero-meta { gap: 8px; margin-bottom: 8px; font-size: 12px; }
  body[data-editorial-page="home"] .hero-desc { display: none; }
  body[data-editorial-page="home"] .hero-actions { flex-wrap: nowrap; gap: 8px; }
  body[data-editorial-page="home"] .hero-actions .btn-play,
  body[data-editorial-page="home"] .hero-actions .btn-more {
    min-height: 42px; padding: 0 12px; gap: 6px; font-size: 13px;
  }
  body[data-editorial-page="home"] .hero-controls { right: 12px; bottom: 10px; }
  body[data-editorial-page="home"] .genre-banners {
    display: flex; width: calc(100% - 32px); gap: 10px; margin-top: 12px;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body[data-editorial-page="home"] .genre-banner-caption { padding: 7px 8px 8px; }
  body[data-editorial-page="home"] .genre-banner-tagline { font-size: 12px; }
  body[data-editorial-page="home"] .genre-banners::-webkit-scrollbar { display: none; }
  body[data-editorial-page="home"] .genre-banner {
    flex: 0 0 min(68vw, 220px); width: min(68vw, 220px); scroll-snap-align: start;
  }
  body[data-editorial-page="home"] .genre-banner picture { aspect-ratio: 2.4 / 1; }
  body[data-editorial-page="home"] .discovery-tools { padding: 18px 16px 0; }
  body[data-editorial-page="home"] .discovery-heading { gap: 4px; }
  body[data-editorial-page="home"] .discovery-heading p { display: none; }
  body[data-editorial-page="home"] .discovery-tools .cats-bar {
    flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; padding: 10px 16px 12px 0;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  body[data-editorial-page="home"] .discovery-tools .cats-bar::-webkit-scrollbar { display: none; }
  body[data-editorial-page="home"] .row { max-width: none; padding: 18px 16px 2px; }
  body[data-editorial-page="home"] .row-header { margin-bottom: 10px; padding-bottom: 7px; }
  /* Keep each discovery section to one swipeable row instead of stacking
     several rows of cards on a phone. */
  body[data-editorial-page="home"] .cards-scroll {
    display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; overflow-y: hidden;
    padding: 0 0 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  body[data-editorial-page="home"] .cards-scroll .card { flex: 0 0 min(68vw, 220px); width: min(68vw, 220px); }
  body[data-editorial-page="home"] .card-body { padding: 10px 11px 12px; }
  body[data-editorial-page="home"] .card-title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  }
  body[data-editorial-page="home"] .card-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body[data-editorial-page="home"] .creator-promo { margin-top: 24px; padding: 0 16px; }
  body[data-editorial-page="home"] .creator-banner { gap: 14px; padding: 16px; }
  body[data-editorial-page="home"] .creator-banner-title { font-size: 18px; }
  body[data-editorial-page="home"] .creator-banner-subtitle { font-size: 12px; margin-bottom: 10px; }
  body[data-editorial-page="home"] .creator-btn { min-height: 40px; padding: 0 10px; font-size: 12px; }
  body[data-editorial-page="home"] .benefits-section { margin-top: 24px; padding: 24px 16px; }
  body[data-editorial-page="home"] .benefits-heading { margin-bottom: 16px; }
  body[data-editorial-page="home"] .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body[data-editorial-page="home"] .benefit-card { padding: 12px; }
  body[data-editorial-page="home"] .benefit-icon { margin-bottom: 8px; font-size: 20px; }
  body[data-editorial-page="home"] .benefit-title { font-size: 14px; }
  body[data-editorial-page="home"] .benefit-copy { font-size: 12px; line-height: 1.4; }
  body[data-editorial-page="genre"] .genre-hero { padding: 12px 16px; }
  body[data-editorial-page="genre"] .genre-hero-inner { gap: 12px; }
  body[data-editorial-page="genre"] .genre-hero-label { font-size: clamp(22px, 6vw, 28px); }
  body[data-editorial-page="genre"] .genre-wrap .row { padding: 24px 16px 2px; }
  body[data-editorial-page="genre"] .genre-wrap .cards-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body[data-editorial-page="genre"] .genre-feature { padding: 16px 16px 4px; }
  body[data-editorial-page="genre"] .genre-wrap .num-card { grid-template-columns: 26px minmax(0, 1fr); }
  body[data-editorial-page="genre"] .genre-wrap .num-big { font-size: 14px; }
  body[data-editorial-page="genre"] .news-list { padding: 0 16px; grid-template-columns: 1fr; }
  body[data-editorial-page="genre"] .news-thumb { width: 84px; height: 84px; }
  body[data-editorial-page="search"] .search-wrap-page { padding: 24px 16px 44px; }
  body[data-editorial-page="search"] .search-hero { gap: 18px; padding-top: 22px; }
  body[data-editorial-page="search"] .search-intro h1 { font-size: 36px; }
  body[data-editorial-page="search"] .search-input-wrap input { padding-right: 100px; }
  body[data-editorial-page="search"] .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body[data-editorial-page="search"] .creator-mini { flex-basis: 132px; }
  body[data-editorial-page] .site-footer { margin-top: 28px; padding: 32px 16px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body[data-editorial-page] *,
  body[data-editorial-page] *::before,
  body[data-editorial-page] *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  body[data-editorial-page="home"] .genre-banner:hover img { transform: none; }
}
