/* ============================================================
   SN Plus TV — PHONE layout.
   2026-11-25 ~12:59 EST: same app/content as the TV sample,
   re-laid-out for a portrait phone.
   2026-11-26 ~07:52-07:53 EST — NETFLIX MOBILE REBUILD (Boss:
   "Arrange it for mobile the way Netflix looks" / "Look at the
   Netflix app on mobile — make it 100% like that"): the phone
   build now follows the Netflix mobile app's structure —
   slim logo bar over a full-bleed billboard hero, category chip
   row, flat poster/landscape tile rows on a pitch-black canvas,
   Netflix-style title page (16:9 hero, full-width Play, episode
   list rows) and a dark blurred bottom tab bar with Search in
   the centre. Identity stays OURS: SN Plus logo, jigari burgundy
   #B30E31 in the brand-accent role (Play, active dot, badges),
   silver #e2e6ea as the light neutral. Loaded AFTER style.css;
   these rules win by cascade order at equal specificity.
   ============================================================ */

html, body { height:100%; overflow:hidden; }
body {
  font-size:16px;
  background:#050506;
  color:#f2f4f6;
  -webkit-tap-highlight-color:transparent;
  -webkit-text-size-adjust:100%;
}

/* ---------- chrome: rail / partner bar / footer OFF, tab bar ON ---------- */
#rail { display:none; }
#partnerbar { display:none !important; }
#footerbar { display:none; }
/* §AC (2026-11-26): the bottom bar is now a FLOATING pill (Boss's
   Netflix screenshots) — the screen runs full height underneath it
   and each view carries enough bottom padding for its last row to
   scroll clear of the pill. */
#screen {
  left:0; right:0; top:0; bottom:0;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
}
body.on-home #screen { bottom:0; }

/* ---------- Netflix-mobile top bar: logo alone + search/bell ---------- */
#mobilebar {
  position:fixed; top:0; left:0; right:0; z-index:70;
  height:calc(54px + env(safe-area-inset-top));
  padding:env(safe-area-inset-top) 10px 0 14px;
  display:flex; align-items:center; gap:6px;
  background:linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 70%, transparent 100%);
  transition:background .25s ease;
}
#mobilebar.solid {
  background:rgba(5,5,6,.94);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.07);
}
#mb-logo { height:36px; width:36px; border-radius:9px; display:block; }
/* Section title beside the logo (his shots: logo + "Home"). Set by
   js/phone.js from the current view, in the UI language. */
#mb-title { font-size:20px; font-weight:800; color:#fff; letter-spacing:.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* Notifications count badge on the bell (§AC): our burgundy in the
   red-badge role of his screenshots; hidden when the count is 0. */
#mb-bell { position:relative; }
#mb-badge {
  position:absolute; top:1px; right:-1px; min-width:19px; height:19px;
  padding:0 5px; border-radius:10px; border:2px solid #050506;
  background:#b30e31; color:#fff; font-size:11px; font-weight:700;
  display:flex; align-items:center; justify-content:center; line-height:1;
}
#mb-badge[hidden] { display:none; }
#mb-back {
  display:none; width:40px; height:40px; margin-left:-8px; flex:0 0 auto;
  background:transparent; border:none; color:#fff; cursor:pointer; padding:0;
  align-items:center; justify-content:center;
}
#mobilebar.show-back #mb-back { display:flex; }
#mb-back svg { width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
#mb-actions { margin-left:auto; display:flex; align-items:center; gap:2px; }
.mb-btn {
  width:42px; height:42px; background:transparent; border:none; color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center; padding:0;
}
.mb-btn svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.mb-btn:active { opacity:.65; }
/* Sub-pages (except the series page, whose hero runs under the bar)
   start below the solid bar. */
body.bar-solid .view { padding-top:calc(62px + env(safe-area-inset-top)); }

/* ---------- bottom bar: FLOATING PILL (§AC — Boss's own Netflix
   screenshots, 2026-11-26 ~08:16 EST): a dark translucent capsule
   floating over the content with margins on ALL sides, four items
   (Home / Live TV / Search / My SN Plus); the active item sits in
   a soft burgundy-tinted pill inside the bar. NOT a full-width
   strip. Wired by js/phone.js (the My SN Plus item opens a sheet,
   not an app.js view). ---------- */
#tabbar {
  position:absolute; z-index:60;
  left:12px; right:12px; bottom:calc(10px + env(safe-area-inset-bottom));
  height:56px; padding:5px; gap:2px;
  display:flex; border-radius:999px;
  background:rgba(16,16,20,.88);
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 12px 32px rgba(0,0,0,.55);
}
.pill-btn {
  flex:1 1 0; min-width:0; background:transparent; color:#9aa3ad; border:none;
  border-radius:999px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  font-size:9.5px; font-weight:500; letter-spacing:.2px; padding:4px 0 3px; cursor:pointer;
  font-family:inherit;
}
.pill-btn svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.pill-btn.active { background:rgba(179,14,49,.32); color:#fff; }
.pill-btn:active { transform:scale(.97); }
/* My SN Plus icon = the current profile's colour tile with the
   little face (js/phone.js sets the tile colour). */
#pill-avatar {
  width:22px; height:22px; border-radius:7px; background:#b30e31; color:#fff;
  display:flex; align-items:center; justify-content:center;
}
#pill-avatar svg { width:17px; height:17px; fill:currentColor; stroke:currentColor; stroke-width:1.4; }

/* ---------- touch: no D-pad focus ring / scale ---------- */
.focusable.focused {
  border-color:transparent;
  box-shadow:none;
  transform:none;
}
.topmenu-btn.focused { border-color:transparent; background:rgba(179,14,49,.10); }
.chip.focused, .sub-chip.focused, .lang-chip.focused { border-color:transparent; }

/* ---------- views & the Netflix category chip row ---------- */
.view { padding:0 0 calc(104px + env(safe-area-inset-bottom)); }
/* Home: the chip row starts below the fixed bar; the hero follows it
   (Netflix order: wordmark bar → chips → billboard). */
body.on-home .view { padding-top:calc(54px + env(safe-area-inset-top)); }
#topmenu {
  position:sticky; top:calc(54px + env(safe-area-inset-top)); z-index:25;
  display:flex; flex-wrap:nowrap; gap:8px;
  margin:0; padding:10px 16px;
  overflow-x:auto; scrollbar-width:none;
  background:rgba(5,5,6,.92);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
}
#topmenu::-webkit-scrollbar { display:none; }
#topmenu-brand { display:none; }
/* §AC: the Home chip row is rebuilt by js/phone.js to the six
   chips of Boss's screenshots (Series / Live TV / Movies / News /
   Radio / Categories▾) and styled like his shots: FILLED dark
   pills, no outline, ~40px tall, softly rounded. */
.topmenu-btn {
  flex:0 0 auto; height:40px; padding:0 17px;
  font-size:15px; font-weight:600; color:#fff; white-space:nowrap;
  background:#26262c; border:none; border-radius:12px;
  cursor:pointer; font-family:inherit;
  display:inline-flex; align-items:center; gap:6px;
}
.topmenu-btn .chip-caret { font-size:11px; color:#c9cfd6; }
.topmenu-btn:active { transform:scale(.97); background:#33333a; }

/* ---------- hero: Netflix billboard — full-width 16:9, whole
   picture inside the frame (§W standard fit: contain over a blurred
   backdrop — never cropped), gradient fade into the canvas,
   centred title + meta, then the action row [My List] [▶ Play]
   [Info] injected by js/phone.js. Dots centred (Boss's letter). */
#hero {
  width:100%; height:auto; aspect-ratio:16/9;
  margin:0 0 6px; background:#000;
}
#hero-shade {
  background:linear-gradient(180deg, rgba(0,0,0,.30) 0%, transparent 26%, transparent 42%, rgba(0,0,0,.90) 100%);
}
#hero-body { left:0; right:0; bottom:27px; max-width:none; padding:0 18px; text-align:center; }
#hero-kicker { font-size:10.5px; font-weight:700; letter-spacing:2.6px; color:#e2e6ea; margin-bottom:5px; }
#hero-title {
  font-size:26px; font-weight:800; line-height:1.12; text-align:center;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
#hero-meta { margin:8px 0 0; gap:13px; flex-wrap:wrap; justify-content:center; }
.hero-badge { background:transparent; font-size:12.5px; font-weight:600; letter-spacing:.3px; color:#d7dce1; padding:0; border:none; border-radius:0; }
.hero-badge.alt { background:transparent; border:none; color:#d7dce1; }
.hero-badge:first-child { color:#ff8296; }
#hero-desc { display:none; }
#hero-dots { left:50%; right:auto; transform:translateX(-50%); bottom:8px; gap:6px; }
.hero-dot { width:7px; height:7px; background:rgba(255,255,255,.35); }
.hero-dot.on { width:18px; background:#b30e31; border-radius:5px; }
#hero-adtag { top:12px; right:12px; font-size:11px; letter-spacing:1.5px; padding:5px 10px; }
/* Netflix billboard action row (js/phone.js injects .nf-actions
   into #hero-body; clicks are stop-propagated so they never also
   trigger the hero's own open-detail handler). */
.nf-actions { display:flex; gap:9px; justify-content:center; align-items:stretch; margin-top:13px; }
.nf-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  height:42px; padding:0 16px; border:none; border-radius:8px; cursor:pointer;
  font-family:inherit; font-size:14.5px; font-weight:600; color:#fff;
  background:rgba(255,255,255,.16); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
}
.nf-btn svg { width:15px; height:15px; fill:currentColor; flex:0 0 auto; }
.nf-btn.nf-play { background:#b30e31; font-weight:700; font-size:15.5px; padding:0 27px; }
.nf-btn:active { transform:scale(.97); }
/* The hero itself carries title + badges on a phone; the TV focus
   detail line under it would only repeat them. */
#home-detail { display:none; }

/* ---------- rows & tiles: Netflix mobile — flat tiles, no boxes,
   no titles under tiles, headers 17px bold at a 16px margin, tiles
   bleed off the right edge so the next one peeks ---------- */
.row-block { margin-bottom:24px; }
.row-head { margin:0 0 8px; padding:0 16px; gap:8px; align-items:baseline; }
.row-title { font-size:17px; font-weight:700; color:#fff; }
.row-count { display:none; }
.row-more { margin-left:auto; background:transparent; border:none; color:#9aa3ad; font-size:13px; font-weight:500; padding:4px 0; border-radius:0; }
.card-row {
  gap:8px; padding:2px 16px 6px;
  -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain;
}
.card { width:150px; padding:0; background:transparent; border:none; border-radius:0; color:#fff; box-shadow:none; }
.card .thumb { height:auto; aspect-ratio:16/9; border-radius:6px; background:#17171b; }
.card .thumb img { object-fit:cover; background:transparent; }
.card .thumb .letter { font-size:26px; color:#8a929c; }
.card .c-title { font-size:12px; line-height:1.3; height:32px; margin-top:7px; }
.card .c-sub { font-size:11px; height:15px; margin-top:2px; }
.card.poster { width:118px; }
.card.poster .thumb { height:auto; aspect-ratio:2/3; }
.card.wide { width:82vw; max-width:340px; }
.card.wide .thumb { height:auto; }
.card .kind-badge { top:6px; left:6px; font-size:8.5px; padding:2px 6px; border-radius:4px; background:rgba(0,0,0,.72); color:#e2e6ea; }
.badge { top:6px; left:6px; font-size:9px; padding:2px 7px; border-radius:4px; }
.card .fav-star { top:3px; right:5px; font-size:16px; }
.partner-name { font-size:16px; }
.partner-open { font-size:10.5px; }

/* ---------- inner pages: one-column phone layout ---------- */
.page-title { font-size:21px; font-weight:800; margin:14px 16px 4px; color:#fff; }
.page-sub { font-size:13.5px; margin:0 16px 14px; max-width:none; color:#aeb6be; line-height:1.45; }
.chips {
  flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none;
  gap:8px; margin:0 0 14px; padding:2px 16px;
}
.chips::-webkit-scrollbar { display:none; }
.chip {
  flex:0 0 auto; font-size:13.5px; font-weight:500; padding:8px 15px;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.28);
  color:#fff; border-radius:999px;
}
.chip.active { background:#e2e6ea; border-color:#e2e6ea; color:#0b0b0d; font-weight:700; }
/* Grids (Live TV, Movies, Search results, Favorites): Netflix
   3-across tile grid. */
.grid { gap:8px; padding:2px 16px; }
.grid .card { width:calc((100% - 16px) / 3); }
.season-title { font-size:17px; font-weight:700; margin:18px 16px 2px; color:#fff; }
.set-row { gap:8px; margin:6px 16px 20px; }

/* ---------- series page: Netflix title-detail structure ----------
   16:9 hero (injected by js/phone.js, §W standard fit) → centred
   title → meta line → synopsis → full-width burgundy Play →
   secondary actions → episode LIST (16:9 thumb left, the single
   "S1: E22" line right — Boss's episode rule 2026-11-26). */
.nf-detail-hero { position:relative; width:100%; aspect-ratio:16/9; background:#000; overflow:hidden; }
.nf-detail-hero .bg { position:absolute; inset:0; background-size:cover; background-position:center; filter:blur(24px) brightness(.55) saturate(1.1); transform:scale(1.18); }
.nf-detail-hero img.main { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.nf-detail-hero .fade { position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.18) 0%, transparent 30%, transparent 58%, rgba(5,5,6,.92) 100%); }
.view[data-view="seriesDetail"] .page-title { font-size:24px; text-align:center; margin:12px 16px 4px; }
.view[data-view="seriesDetail"] .nf-meta { text-align:center; color:#c9cfd6; font-size:13px; margin:0 16px 8px; }
.view[data-view="seriesDetail"] .nf-synopsis { font-size:14px; color:#dfe3e8; line-height:1.5; margin:0 16px 6px; text-align:left; }
.view[data-view="seriesDetail"] .set-row { margin:8px 16px 18px; gap:10px; }
.view[data-view="seriesDetail"] #sd-play {
  flex:1 1 100%; height:48px; margin:0; font-size:16.5px; font-weight:700; border-radius:8px;
}
.view[data-view="seriesDetail"] .set-row .big-btn.set-btn {
  flex:1 1 0; height:44px; margin:0; padding:0 10px; font-size:14.5px; font-weight:600;
  background:rgba(255,255,255,.14); color:#fff; border-radius:8px; box-shadow:none;
}
.ep-row { flex-direction:column; flex-wrap:nowrap; gap:0; padding:0 16px; overflow:visible; }
.ep-row .card {
  display:flex; align-items:center; gap:12px; width:100%;
  padding:10px 0; background:transparent; border:none; border-radius:0;
  border-bottom:1px solid rgba(255,255,255,.07); text-align:left; color:#fff;
}
.ep-row .card .thumb { flex:0 0 124px; width:124px; height:auto; aspect-ratio:16/9; border-radius:5px; }
.ep-row .card .thumb::after {
  content:'▶'; position:absolute; inset:0; z-index:2; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:17px; text-shadow:0 1px 8px rgba(0,0,0,.9);
}
.ep-row .card .c-sub { font-size:15px; font-weight:600; color:#fff; margin:0; height:auto; }
.ep-row .card .kind-badge, .ep-row .card .fav-star { display:none; }

/* ---------- search: Netflix mobile — a real input, not a TV
   letter grid (js/phone.js injects #nf-search; typing drives the
   app's own updateSearch()) ---------- */
#kb .kb-row, #kb-query { display:none; }
#nf-search {
  width:100%; height:46px; margin:2px 0 14px; padding:0 14px;
  background:#2a2a2e; border:1px solid rgba(255,255,255,.14); border-radius:8px;
  color:#fff; font-family:inherit; font-size:16px; outline:none;
}
#nf-search::placeholder { color:#9aa3ad; }
#nf-search:focus { background:#333338; border-color:rgba(255,255,255,.4); }

#search-wrap, #support-wrap { flex-direction:column; gap:16px; padding:0 16px; }
#kb, #support-left { width:100%; }
#kb-query, #sup-query { font-size:20px; min-height:54px; padding:12px 14px; margin-bottom:14px; }
.kb-row { gap:8px; margin-bottom:8px; }
.kb-key { font-size:16px; padding:12px 0; border-radius:10px; }
.support-h { font-size:17px; margin:0 0 10px; }
.sup-qbtn { font-size:14px; padding:12px 14px; }
.chat-q { font-size:15px; margin:0 0 10px 24px; padding:12px 14px; }
.chat-a { font-size:15px; margin:0 24px 10px 0; padding:12px 14px; }
#support-status { font-size:13px; }
.lang-chip { font-size:13px; padding:7px 14px; }
#support-lang .lang-label { font-size:13px; }

.state-box { padding-top:110px; }
.state-text { font-size:19px; margin-bottom:22px; color:#e8ebee; }
.spinner { width:44px; height:44px; border-width:6px; margin-bottom:18px; }
.big-btn { font-size:16px; padding:12px 26px; border-radius:12px; }

/* ---------- player: touch-first ---------- */
#player-top { padding:14px 16px 30px; }
#player-title { font-size:20px; padding-right:52px; }
#player-hint { display:none; }
#player-close {
  position:absolute; top:10px; right:12px; z-index:5;
  width:40px; height:40px; border-radius:50%; border:none;
  background:rgba(0,0,0,.72); color:#fff;
  font-size:19px; line-height:1; font-weight:700;
}
#player-cc { font-size:14px; padding:8px 16px; margin-top:10px; }
#player-error { padding-top:180px; }
#sub-cue { width:94%; }
#sub-cue-text { font-size:17px; padding:3px 10px; }
#sub-cue-name { font-size:13px; }
#subbar { padding:60px 16px 30px; }
.subbar-title { font-size:19px; margin-bottom:14px; }
.sub-chip { font-size:14px; padding:9px 18px; }
#tickerbar { height:34px; }
#ticker-tab { font-size:13px; padding:3px 8px; }
.ticker-item { font-size:14px; }
.ticker-load { font-size:13px; }
#ticker-breaking { bottom:34px; }
#ticker-breaking-tab { font-size:15px; }
#ticker-breaking-text { font-size:14px; padding:0 12px; }
#ad-label { top:14px; left:14px; font-size:13px; padding:5px 12px; }
#ad-bottom { padding:18px 16px 14px; }
#ad-count { font-size:14px; }
#ad-skip { font-size:14px; padding:10px 20px; }

/* Category banner tiles at phone size. */
.chip.cat-tile { width:150px; height:84px; border-radius:10px; }
.chip.cat-tile.active { outline-width:2px; }

/* JARGA colours on phone (2026-11-25): A-Z strip + legal text sizing. */
.az-strip { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; gap:6px; padding:2px 16px; margin-bottom:12px; }
.az-strip::-webkit-scrollbar { display:none; }
.az-btn { flex:0 0 auto; font-size:13px; padding:7px 12px; }
.legal-p { font-size:14px; line-height:1.55; margin:0 16px 12px; }

/* Motion on phone (2026-11-25 ~17:52): no D-pad settle animation;
   a touch-press grows the card gently with the burgundy ring, and
   chips dip on press. The idle wallpaper fits the small screen. */
.focusable.focused { animation:none; }
.card:active, .card.touch-press {
  transform:scale(1.045);
  box-shadow:0 0 0 2px #b30e31, 0 10px 24px rgba(20,20,30,.28);
}
.chip:active, .az-btn:active { transform:scale(.96); }
#attract .attract-brand { left:16px; bottom:26px; font-size:24px; }
#attract .attract-hint { right:16px; bottom:26px; font-size:13px; }

/* Feature surfaces at phone size (pairing, categories, inbox,
   PIN) — carried from the 2026-11-26 rebuild, margins aligned to
   the Netflix 16px content margin. */
.chip.cat-tile.active{outline:none;box-shadow:0 0 0 2px #b30e31}
#sub-cue.sub-lg #sub-cue-text{font-size:23px}
.cat-grid{grid-template-columns:repeat(2,1fr);gap:8px;padding:0 16px}
.card-row .card.cat-card{width:150px}
.pair-wrap{flex-direction:column;gap:20px;padding:0 16px}
#pair-qr{width:240px;height:240px}
.pair-code{font-size:40px}
.fee-card{margin:18px 16px}
.inbox-item{margin:0 16px 10px}
#pin-dots{padding:0 16px}
#claim-code-display{padding:0 16px}
.attract-note{padding:0 24px}
.attract-note-title{font-size:34px}
.attract-note-line{font-size:17px}

/* ============================================================
   §AC (2026-11-26) — PROFILE PICKER + MY SN PLUS SHEET, matched
   to Boss's OWN Netflix screenshots (~08:16 EST):
   picker = full-bleed featured backdrop art, a dark sheet at the
   bottom with "Choose Your Profile", a 3-across grid of big
   rounded-square colour tiles with the little face, the name
   under each tile, an Add tile (+) and an Edit tile (pencil).
   Profiles are LOCAL (js/phone.js, localStorage). The sheet =
   the "My Netflix" page in sheet form: profile header + switch,
   Favorites, Connect TV, Notifications, Settings.
   Z-order: picker 96 / sheet 97 — above the attract layer (90)
   and the chrome, below the player (100) and the opener (9999,
   which still plays first at launch).
   ============================================================ */
#sn-profiles { position:fixed; inset:0; z-index:96; display:none; background:#050506; }
#sn-profiles.open { display:block; }
.pf-bg { position:absolute; inset:0; background-size:cover; background-position:center 18%; background-color:#0a0a0d; }
.pf-shade { position:absolute; inset:0; background:linear-gradient(180deg, rgba(5,5,6,.20) 0%, rgba(5,5,6,.38) 42%, rgba(13,13,17,.96) 74%, #0d0d11 100%); }
.pf-panel {
  position:absolute; left:0; right:0; bottom:0;
  padding:20px 22px calc(30px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg, rgba(27,27,34,.94), rgba(15,15,19,.99));
  border-top:1px solid rgba(255,255,255,.09);
  border-radius:26px 26px 0 0;
  box-shadow:0 -18px 44px rgba(0,0,0,.5);
}
.pf-close {
  position:absolute; top:-46px; right:16px; width:38px; height:38px; border-radius:50%;
  background:rgba(10,10,13,.72); border:1px solid rgba(255,255,255,.18); color:#fff;
  font-size:17px; line-height:1; cursor:pointer; display:none;
}
#sn-profiles.can-close .pf-close { display:block; }
.pf-heading { text-align:center; font-size:19px; font-weight:500; color:#c9cfd6; margin:6px 0 20px; }
.pf-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px 14px; max-width:344px; margin:0 auto; }
.pf-item { background:none; border:none; padding:0; cursor:pointer; font-family:inherit;
  display:flex; flex-direction:column; align-items:center; gap:8px; }
.pf-tile {
  position:relative; width:100%; max-width:104px; aspect-ratio:1/1; border-radius:20px;
  display:flex; align-items:center; justify-content:center; color:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.45);
}
.pf-tile svg { width:56%; height:56%; fill:currentColor; stroke:currentColor; stroke-width:1.2; stroke-linecap:round; }
/* the smile is a stroked open path, never a filled blob */
.pf-tile svg path, #pill-avatar svg path, .sn-prof-tile svg path { fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }
#sn-profiles.editing .pf-item.util-add { display:none; }
.pf-tile.util { background:#3c434c; color:#e8ebee; box-shadow:none; }
.pf-name { font-size:15.5px; font-weight:600; color:#fff; max-width:110px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pf-item:active .pf-tile { transform:scale(.95); }
.pf-editbadge {
  position:absolute; top:-7px; right:-7px; width:26px; height:26px; border-radius:50%;
  background:#e2e6ea; color:#141417; display:none; align-items:center; justify-content:center;
  border:2px solid #0d0d11;
}
.pf-editbadge svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2.2; }
#sn-profiles.editing .pf-editbadge { display:flex; }
#sn-profiles.editing .pf-tile { box-shadow:0 0 0 2px rgba(226,230,234,.55), 0 8px 22px rgba(0,0,0,.45); }
/* profile editor (add / rename / recolour / delete) */
.pf-editor { max-width:344px; margin:0 auto; display:none; }
#sn-profiles.show-editor .pf-editor { display:block; }
#sn-profiles.show-editor .pf-grid, #sn-profiles.show-editor .pf-heading { display:none; }
.pf-editor h3 { font-size:18px; font-weight:700; color:#fff; margin:2px 0 14px; text-align:center; }
#pf-name-input {
  width:100%; height:48px; padding:0 14px; margin-bottom:16px;
  background:#2a2a2e; border:1px solid rgba(255,255,255,.16); border-radius:10px;
  color:#fff; font-family:inherit; font-size:16px; outline:none; box-sizing:border-box;
}
#pf-name-input:focus { border-color:rgba(255,255,255,.45); }
.pf-swatches { display:flex; gap:12px; justify-content:center; margin-bottom:20px; }
.pf-swatch { width:34px; height:34px; border-radius:50%; border:2px solid transparent; cursor:pointer; padding:0; }
.pf-swatch.sel { border-color:#fff; box-shadow:0 0 0 2px rgba(255,255,255,.35); }
.pf-editor-btns { display:flex; gap:10px; }
.pf-save {
  flex:1 1 auto; height:46px; border:none; border-radius:10px; cursor:pointer;
  background:#b30e31; color:#fff; font-family:inherit; font-size:15.5px; font-weight:700;
}
.pf-cancel {
  flex:0 0 auto; height:46px; padding:0 18px; border-radius:10px; cursor:pointer;
  background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.16);
  font-family:inherit; font-size:15px; font-weight:600;
}
.pf-delete {
  display:none; width:100%; margin-top:14px; background:none; border:none; cursor:pointer;
  color:#ff8296; font-family:inherit; font-size:14.5px; font-weight:600; padding:6px;
}
.pf-editor.can-delete .pf-delete { display:block; }

/* ---------- My SN Plus sheet ---------- */
#sn-sheet { position:fixed; inset:0; z-index:97; display:none; }
#sn-sheet.open { display:block; }
.sn-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.55); }
.sn-panel {
  position:absolute; left:0; right:0; bottom:0;
  background:#141419; border-radius:22px 22px 0 0;
  padding:10px 18px calc(16px + env(safe-area-inset-bottom));
  box-shadow:0 -14px 40px rgba(0,0,0,.5);
  animation:sn-up .22s ease;
}
@keyframes sn-up { from { transform:translateY(26px); opacity:.4; } to { transform:none; opacity:1; } }
.sn-grab { width:38px; height:4px; border-radius:2px; background:rgba(255,255,255,.25); margin:2px auto 10px; }
.sn-prof { display:flex; align-items:center; gap:12px; padding:8px 2px 14px; border-bottom:1px solid rgba(255,255,255,.09); }
.sn-prof-tile { width:46px; height:46px; border-radius:12px; flex:0 0 auto; display:flex; align-items:center; justify-content:center; color:#fff; background:#b30e31; }
.sn-prof-tile svg { width:27px; height:27px; fill:currentColor; stroke:currentColor; stroke-width:1.2; stroke-linecap:round; }
.sn-prof-name { font-size:17px; font-weight:700; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sn-prof-sub { font-size:12.5px; color:#9aa3ad; margin-top:1px; }
.sn-switch {
  margin-left:auto; flex:0 0 auto; height:36px; padding:0 15px; border:none; border-radius:999px;
  background:#b30e31; color:#fff; font-family:inherit; font-size:13.5px; font-weight:700; cursor:pointer;
}
.sn-row {
  display:flex; align-items:center; gap:14px; width:100%; padding:15px 2px;
  background:none; border:none; border-bottom:1px solid rgba(255,255,255,.06);
  color:#fff; font-family:inherit; font-size:16px; font-weight:600; text-align:left; cursor:pointer;
}
.sn-row:last-child { border-bottom:none; }
.sn-row svg { width:22px; height:22px; fill:none; stroke:#c9cfd6; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
.sn-row .sn-chev { margin-left:auto; width:18px; height:18px; stroke:#7d8590; }
.sn-row .sn-count { margin-left:auto; font-size:13px; font-weight:700; color:#ff8296; }
.sn-row .sn-count + .sn-chev { margin-left:8px; }
.sn-row:active { opacity:.65; }

/* ============================================================
   §AD (2026-11-26) — DESKTOP PRESENTATION (Boss's order ~09:03
   EST: "Organize the inside of the mobile version, like
   Netflix — when someone opens it on a computer, its files
   should be organized"). Boss opened the phone build on his
   ultrawide monitor and it stretched/clipped edge to edge.
   Netflix never looks broken on any screen, so above phone
   width the whole app sits ORGANIZED inside ONE centred
   standard frame: a 430px column, full height, the app's own
   canvas inside it, PITCH BLACK (#000) on both sides. Nothing
   stretches, nothing clips, no row bleeds past the column.
   Below 700px NOTHING in this block applies — the phone
   experience is exactly as §AA/§AC built it.
   Technique: every full-screen layer already spans left:0 /
   right:0 (or inset:0), so giving it the column width + auto
   side margins centres it exactly — no transforms, no DOM
   change, js/app.js and js/phone.js untouched. The floating
   pill keeps its 12px inset, now measured from the COLUMN
   edges; the picker panel, the My SN Plus sheet panel, the
   player and the attract layer all live inside the column
   because their inner panels anchor to the overlay's edges.
   ============================================================ */
@media (min-width: 700px) {
  body { background:#000; }
  #screen {
    width:430px; max-width:100%;
    margin-left:auto; margin-right:auto;
    background:#050506;
    box-shadow:0 0 0 1px rgba(255,255,255,.07), 0 0 72px rgba(0,0,0,.85);
  }
  #mobilebar {
    width:430px; max-width:100%;
    margin-left:auto; margin-right:auto;
  }
  #tabbar {
    left:0; right:0;
    width:406px; max-width:calc(100% - 24px);
    margin-left:auto; margin-right:auto;
  }
  #player, #attract, #sn-profiles, #sn-sheet, #sn-opener {
    width:430px; max-width:100%;
    margin-left:auto; margin-right:auto;
  }
}

/* ============================================================
   §AE (2026-11-26) — NETFLIX-STANDARD POLISH (Boss's order
   ~09:07 EST: "Make the mobile version like Netflix — LIGHT
   and organized. Check every row, the menu, the wallpaper,
   the animation — first, when you enter."). The audit found
   the substance already in the shared layer (lazy card images,
   fail-open opener, Ken Burns backdrop, 30 s idle attract);
   what the PHONE layer was missing is finished here:
   1. HERO PICTURE MOTION: the Ken Burns drift lived only on
      the blurred backdrop (§W), so the sharp picture itself
      read frozen. The picture layer now breathes too — a
      gentle 16 s scale from .962 to 1 and back. The scale
      NEVER exceeds 1, so the whole picture always stays
      inside the frame (§P3 standard fit is untouched); the
      backdrop keeps its own drift underneath. The motion
      follows the app's own .kenburns state: while a promo
      video plays, app.js removes the class and the picture
      rests under the video, exactly as before.
   2. SHEET CLOSE ANIMATION: the My SN Plus sheet slid up on
      open but vanished instantly on close. It now slides
      down + fades over 190 ms (js/phone.js holds the .open
      class for the duration via its .closing state).
   3. PICKER ENTRY: the profile panel rises like the sheet
      and the shade fades in — no hard cut at launch.
   4. VIEW TRANSITIONS: every navigation renders a fresh
      .view node, so a short fade/rise on .view gives every
      page change the same smooth 180 ms settle — no jarring
      cuts anywhere in the app.
   5. REDUCED MOTION: viewers who ask their system for less
      motion get none of these animations.
   ============================================================ */
#hero-bg.kenburns::after { animation:heroPicKB 16s ease-in-out infinite alternate; }
@keyframes heroPicKB { from { transform:scale(.962); } to { transform:scale(1); } }

.view { animation:nf-view-in .18s ease; }
@keyframes nf-view-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

#sn-profiles.open .pf-panel { animation:sn-up .24s ease; }
#sn-profiles.open .pf-shade { animation:pf-fade .24s ease; }
@keyframes pf-fade { from { opacity:.35; } to { opacity:1; } }

#sn-sheet .sn-backdrop { transition:opacity .19s ease; }
#sn-sheet.closing .sn-backdrop { opacity:0; }
#sn-sheet.closing .sn-panel { animation:sn-down .19s ease forwards; }
@keyframes sn-down { from { transform:none; opacity:1; } to { transform:translateY(26px); opacity:.35; } }

@media (prefers-reduced-motion: reduce) {
  #hero-bg.kenburns::before, #hero-bg.kenburns::after,
  .view, .sn-panel, #sn-sheet.closing .sn-panel,
  #sn-profiles.open .pf-panel, #sn-profiles.open .pf-shade { animation:none; }
}

/* §AE row audit fix — STICKY HOVER: the shared stylesheet grows
   a card on :hover (scale 1.05, the TV/mouse focus feel). On a
   touch screen :hover STICKS to the last-tapped / last-touched
   card, leaving one card permanently enlarged, its gaps uneven
   and its edges over its neighbours (measured in the §AE
   audit: the Drama Series row's first card sat at 124px wide
   against its siblings' 118px, shifted 3px off the row's
   padding). On the phone the press feedback is .touch-press /
   :active (the motion section earlier in this file) — so
   :hover alone never scales a card here. The :not() guards
   keep the intended press grow untouched while a finger
   is down. */
.card:hover:not(:active):not(.touch-press) { transform:none; }

/* §BR (Boss's written priority list 2026-11-27, section 2):
   the Premium view's series collection, injected by
   js/phone.js under the benefits text — premium television
   series only, no news. A plain section heading in the
   row-title style and the standard 3-across poster grid
   (the .grid rules above size the cards); cards stay
   frameless on the pitch-black canvas like every other
   phone card — no boxes, no white frames. */
.nf-premium-sec { margin-top:4px; }
.nf-premium-h { font-size:17px; font-weight:700; color:#fff; margin:12px 16px 8px; }
.nf-premium-grid { padding-bottom:10px; }

/* §BR part 2 — the TV rest-flip forms at phone scale (Boss
   2026-11-27 ~01:10 EST: the mobile front mixes horizontal
   and vertical rows like the TV build, and resting on a
   horizontal card turns it vertical — js/phone.js maps the
   TV's ~1 s focus/hover rest to mouse rest, DOM focus rest
   and touch tap-and-hold). Geometry mirrors the TV ratios:
   a wide card narrows to 150px and its thumb takes the
   TV flipped proportion (158:280, portrait); a poster card
   grows by the TV's ~1.17 factor (118 -> 138px), its 2:3
   thumb unchanged in shape. In-flow growth, exactly like
   the TV rows; the flipped card paints above its neighbours
   while it grows. */
.row-block .card { transition:width .45s ease; }
.row-block .card .thumb { transition:aspect-ratio .45s ease; }
.row-block .card.flipped { position:relative; z-index:6; }
.row-block .card:not(.poster).flipped { width:150px; }
.row-block .card:not(.poster).flipped .thumb { aspect-ratio:158/280; }
.row-block .card.poster.flipped { width:138px; }


/* ============================================================
   §BS (2026-11-27) — Boss's voice-call orders ~08:37-08:39 EST:
   (1) the profile-picker backdrop becomes a MOVING wallpaper
   (#pf-video cycles the drama promos; .pf-bg keeps the banner
   artwork with a slow Ken Burns drift as poster/fallback);
   (2) profile tiles ~35% SMALLER (104 -> 68 px), Netflix-
   compact — tap targets stay >= 44 px (the .pf-item button
   still spans its grid column, ~81 x 90 px);
   (3) the profile verification gate panel (.pf-verify).
   ============================================================ */
#pf-video {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center 18%;
  opacity:0; transition:opacity .8s ease; background:#0a0a0d;
}
#pf-video.on { opacity:1; }
.pf-bg.pf-kb { animation:pf-kb 14s ease-in-out infinite alternate; }
@keyframes pf-kb { from { transform:scale(1); } to { transform:scale(1.07); } }

/* (2) smaller profile tiles */
.pf-panel { padding:16px 18px calc(24px + env(safe-area-inset-bottom)); }
.pf-heading { font-size:17px; margin:4px 0 14px; }
.pf-grid { grid-template-columns:repeat(3, 1fr); gap:14px 10px; max-width:264px; }
.pf-item { gap:6px; }
.pf-tile { max-width:68px; border-radius:15px; }
.pf-name { font-size:13px; max-width:84px; }
.pf-editbadge { width:22px; height:22px; top:-6px; right:-6px; }
.pf-editbadge svg { width:12px; height:12px; }

/* (3) verification gate */
.pf-verify { max-width:344px; margin:0 auto; display:none; }
#sn-profiles.show-verify .pf-verify { display:block; }
#sn-profiles.show-verify .pf-grid,
#sn-profiles.show-verify .pf-heading,
#sn-profiles.show-verify .pf-editor { display:none; }
.pf-verify h3 { font-size:18px; font-weight:700; color:#fff; margin:2px 0 10px; text-align:center; }
.pfv-sub { font-size:13.5px; line-height:1.45; color:#c9cfd6; text-align:center; margin:0 0 16px; }
.pfv-step1, .pfv-step2, .pfv-step3 { display:none; }
.pf-verify[data-step="1"] .pfv-step1 { display:block; }
.pf-verify[data-step="2"] .pfv-step2 { display:block; }
.pf-verify[data-step="3"] .pfv-step3 { display:block; }
.pf-verify input {
  width:100%; height:48px; padding:0 14px; margin-bottom:12px;
  background:#2a2a2e; border:1px solid rgba(255,255,255,.16); border-radius:10px;
  color:#fff; font-family:inherit; font-size:16px; outline:none; box-sizing:border-box;
}
.pf-verify input:focus { border-color:rgba(255,255,255,.45); }
#pfv-code { text-align:center; font-size:24px; font-weight:700; letter-spacing:10px; }
.pfv-err { min-height:18px; font-size:13px; color:#ff8fa3; text-align:center; margin-bottom:10px; }
.pfv-sent { font-size:13.5px; line-height:1.45; color:#c9cfd6; text-align:center; margin:0 0 14px; }
.pfv-preview {
  display:none; font-size:13px; line-height:1.5; color:#e8ebee;
  border:1px dashed rgba(226,230,234,.5); border-radius:10px;
  padding:10px 12px; margin-bottom:14px; text-align:center;
  background:rgba(179,14,49,.14);
}
.pfv-preview b { font-size:17px; letter-spacing:3px; color:#fff; }
.pfv-btns { display:flex; gap:10px; }
.pfv-send, .pfv-confirm {
  flex:1 1 auto; height:46px; border:none; border-radius:10px; cursor:pointer;
  background:#b30e31; color:#fff; font-family:inherit; font-size:15.5px; font-weight:700;
}
.pfv-back, .pfv-cancel2, .pfv-resend {
  flex:0 0 auto; height:46px; padding:0 16px; border-radius:10px; cursor:pointer;
  background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.16);
  font-family:inherit; font-size:14.5px; font-weight:600;
}
.pfv-resend:disabled { opacity:.45; cursor:default; }
.pfv-send:disabled { opacity:.6; }
.pfv-done { text-align:center; font-size:16px; font-weight:700; color:#fff; padding:26px 0 10px; }

/* ============================================================
   §BT (2026-11-27) — STANDARD FIT for the profile/waiting
   backdrop (Boss's phone screenshot ~09:19 EST: the §BS motion
   backdrop filled the portrait screen with ONE zoomed face and
   giant cut-off title letters — "on mobile the video file is
   very big, it cannot be seen"). CAUSE: #pf-video carried
   object-fit:cover and .pf-bg background-size:cover; cover-fit
   of a 16:9 frame into 390x844 shows only a narrow centre
   slice, hugely magnified. FIX = Boss's §P3/§W standard, the
   same pattern as .attract-slide / .nf-detail-hero / the
   opener's two layers: the WHOLE picture at contain fit over
   a blurred, darkened copy of the same art on pitch black —
   nothing cropped, nothing stretched.
   Layer order in #sn-profiles (explicit z-index; DOM order
   previously left .pf-bg painted over the video):
   .pf-bg (0: blurred backdrop ::before + full poster ::after)
   < #pf-video (1: contain) < .pf-shade (2) < .pf-panel (3).
   ============================================================ */
.pf-bg { z-index:0; }
.pf-bg::before {
  content:''; position:absolute; inset:0;
  background-image:inherit; background-size:cover; background-position:center;
  filter:blur(26px) brightness(.5) saturate(1.15);
  transform:scale(1.18);
}
.pf-bg::after {
  content:''; position:absolute; inset:0;
  background-image:inherit; background-size:contain; background-position:center;
  background-repeat:no-repeat;
}
/* the Ken Burns drift now rides the blurred backdrop only
   (as on .attract-slide); the sharp full picture never zooms */
.pf-bg.pf-kb { animation:none; }
.pf-bg.pf-kb::before { animation:pf-kb2 14s ease-in-out infinite alternate; }
@keyframes pf-kb2 { from { transform:scale(1.18); } to { transform:scale(1.26); } }
#pf-video {
  object-fit:contain; object-position:center;
  background:transparent; z-index:1;
}
.pf-shade { z-index:2; }
.pf-panel { z-index:3; }

/* ============================================================
   §BV — Boss's WRITTEN DIRECTIVE 2026-11-27 §§1–3 (mobile
   layout corrections = his stated priority). Phone tree only.

   §1 BANNERS AT MOBILE PROPORTIONS. The catalogue already
   carries, for every one of the 12 story series, a true
   720x1280 (9:16) portrait poster AND a true 16:9 hero
   banner (measured 2026-11-27 from the live feed). The
   fault was presentation: the portrait posters were shown
   cover-cropped into 2:3 thumbs, and the waiting-screen
   backdrop led with the 16:9 banner — a small centre strip
   on a portrait screen (the §BT complaint). Now each form
   is shown in its own ratio, whole and sharp:
   posters 9:16 in the rows (below), the 16:9 banner in
   the billboard + the expanded preview, and the picker
   backdrop leads with the portrait poster (js §BV).
   §1 ZOOM-OUT: the billboard's still-picture drift is now
   a zoom-OUT settle (1.13 -> 1, the Fix11 TV pattern Boss
   approved) instead of the §AE zoom-in drift.
   §1 BOTTOM BAR: the floating pill shrinks 56 -> 50 px
   (icons 21 -> 19 px); view bottom padding follows.
   §2 PREMIUM HEADING CENTRED above the premium series
   section (the section itself was §BR: the 12 premium
   story series, zero news; the news programmes — Pashto
   Brief News, Dari Briefing News = Persian News, Regional
   & Global Affairs = Current Affairs — sit in the lower
   Our Contents row of Home, outside Premium; verified by
   the §BV harness).
   §3 INTERACTIVE POSTERS: default portrait 9:16; on rest
   (mouse/focus >= 1 s, touch hold >= 450 ms — js §BV) the
   card expands into a landscape 16:9 preview layer with
   the item's own banner art, a zoom-out settle and a
   clearly visible Play button. The layer is position:fixed
   centred on the card — the layout itself never moves.
   The §BR rest-flip rules below this block are dormant:
   js no longer adds .flipped.
   ============================================================ */

/* --- §3: posters at their true 9:16 (was 2:3 cover-crop) --- */
.card.poster .thumb { aspect-ratio:9/16; }
.row-block .card.poster { width:124px; }

/* --- §3: the expanded 16:9 preview layer --- */
.card.expanded { z-index:40; box-shadow:0 0 0 2px #b30e31; border-radius:6px; }
.xp {
  position:fixed; z-index:900;
  width:min(78vw, 320px); aspect-ratio:16/9;
  border-radius:10px; overflow:hidden; background:#000;
  box-shadow:0 18px 48px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.14);
  animation:xp-in .34s cubic-bezier(.2,.7,.25,1) both;
  transition:opacity .18s ease, transform .18s ease;
}
.xp.closing { opacity:0; transform:scale(.86); }
@keyframes xp-in { from { opacity:0; transform:scale(.78); } to { opacity:1; transform:scale(1); } }
.xp-img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  animation:xp-zoomout 7s ease-out both;
  opacity:0; transition:opacity .25s ease;
}
.xp-img.ld { opacity:1; }
@keyframes xp-zoomout { from { transform:scale(1.14); } to { transform:scale(1); } }
.xp-shade {
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(0,0,0,.55) 0%, transparent 45%);
}
.xp-play {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-58%);
  width:58px; height:58px; border-radius:50%;
  background:#b30e31; box-shadow:0 8px 24px rgba(0,0,0,.55);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.xp-play svg { width:26px; height:26px; fill:#fff; margin-left:3px; }
.xp-play:active { transform:translate(-50%,-58%) scale(.93); }
.xp-title {
  position:absolute; left:12px; right:12px; bottom:9px;
  font-size:14px; font-weight:700; color:#fff; text-align:left;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  text-shadow:0 2px 8px rgba(0,0,0,.8);
}
@media (prefers-reduced-motion: reduce) {
  .xp, .xp-img { animation:none; }
}

/* --- §1: billboard stills settle with a zoom-OUT drift --- */
#hero-bg.kenburns::after { animation:heroPicZoomOut 9s ease-in-out infinite alternate; }
@keyframes heroPicZoomOut { from { transform:scale(1.13); } to { transform:scale(1); } }

/* --- §1: bottom navigation pill, smaller --- */
#tabbar { height:50px; }
.pill-btn svg { width:19px; height:19px; }
#pill-avatar { width:20px; height:20px; }
#pill-avatar svg { width:15px; height:15px; }
.view { padding:0 0 calc(94px + env(safe-area-inset-bottom)); }

/* --- §2: the Premium heading centred over its series --- */
.nf-premium-h { text-align:center; margin-left:0; margin-right:0; }

/* ============================================================
   §BW — Boss's voice order 2026-11-27 ~15:55 EST: the front
   billboard frame leaves 16:9 for the mobile frame's own
   proportion, 9:16 portrait (the slot is full-width, so at
   390 CSS px the frame is 390x693), carrying the uniform
   720x1280 re-cut front banners (js/phone.js §BW). On a
   front-banner slide the poster's baked name is the title,
   so the HTML kicker + title step aside (.bw-front, set by
   js/phone.js); meta + actions stay on the banner's dark
   lower band. The promo video keeps the standing whole-frame
   contain fit (a video frame is never cropped). Everything
   else about the billboard (shade, dots, zoom-out settle)
   is unchanged.
   ============================================================ */
#hero { aspect-ratio:9/16; }
#hero.bw-front #hero-kicker, #hero.bw-front #hero-title { display:none; }

/* ============================================================
   §BX (2026-11-27) — picker backdrop rebuilt + Home country
   blocks (js/phone.js §BX). The §BS/§BT backdrop stack
   (#pf-video episode stream + .pf-bg cover/contain copies)
   stands down: ONE composed slide per banner instead — a
   single .pfbx-slide element whose ::before is the blurred
   darkened copy and whose ::after is the WHOLE §BW 9:16
   front banner at contain (the §W standard fit inside one
   element, so the layers can never paint as separate
   strips). Slides CUT (no flip, no fade — Boss 2026-11-27
   ~19:46 EST); each banner carries its OWN motion effect
   (12 effects below). Layer order: .pfbx-slide (1, on=2)
   < .pf-shade (2, DOM later) < .pf-panel (3).
   ============================================================ */
#sn-profiles #pf-video, #sn-profiles .pf-bg { display:none !important; }
.pfbx-slide {
  position:absolute; inset:0; z-index:1;
  opacity:0; transition:none; /* Boss 2026-11-27 ~19:46 EST: NO flip, no fade — slides CUT */
  pointer-events:none; background:#050506;
}
.pfbx-slide.on { opacity:1; z-index:2; }
.pfbx-slide::before {
  content:''; position:absolute; inset:0;
  background-image:var(--pfbx); background-size:cover; background-position:center;
  filter:blur(26px) brightness(.45) saturate(1.15);
  transform:scale(1.18);
}
.pfbx-slide::after {
  content:''; position:absolute; inset:0;
  background-image:var(--pfbx); background-size:contain; background-position:center;
  background-repeat:no-repeat;
}
/* TWELVE DIFFERENT EFFECTS, one per banner (js/phone.js §BX
   FRONT_FX, keyed by [data-fx] on the live slide). Each runs
   once across the slide's ~6 s dwell; the change to the next
   banner is a plain cut. */
.pfbx-slide.on::after { animation:pfbxZoomOut 6.5s ease-out forwards; }
.pfbx-slide.on[data-fx="zoomout"]::after { animation:pfbxZoomOut 6.5s ease-out forwards; }
.pfbx-slide.on[data-fx="zoomin"]::after { animation:pfbxZoomIn 9s linear forwards; }
.pfbx-slide.on[data-fx="panleft"]::after { animation:pfbxPanLeft 6.5s ease-in-out forwards; }
.pfbx-slide.on[data-fx="panright"]::after { animation:pfbxPanRight 6.5s ease-in-out forwards; }
.pfbx-slide.on[data-fx="panup"]::after { animation:pfbxPanUp 6.5s ease-in-out forwards; }
.pfbx-slide.on[data-fx="pandown"]::after { animation:pfbxPanDown 6.5s ease-in-out forwards; }
.pfbx-slide.on[data-fx="diagin"]::after { animation:pfbxDiagIn 6.5s ease-in-out forwards; }
.pfbx-slide.on[data-fx="diagout"]::after { animation:pfbxDiagOut 6.5s ease-out forwards; }
.pfbx-slide.on[data-fx="breathe"]::after { animation:pfbxBreathe 3.25s ease-in-out 2 forwards; }
.pfbx-slide.on[data-fx="tilt"]::after { animation:pfbxTilt 6.5s ease-in-out forwards; }
.pfbx-slide.on[data-fx="focus"]::after { animation:pfbxFocus 6.5s ease-out forwards; }
.pfbx-slide.on[data-fx="dawn"]::after { animation:pfbxDawn 6.5s ease-out forwards; }
@keyframes pfbxZoomOut { from { transform:scale(1.12); } to { transform:scale(1); } }
@keyframes pfbxZoomIn { from { transform:scale(1); } to { transform:scale(1.14); } }
@keyframes pfbxPanLeft { from { transform:scale(1.07) translateX(2.5%); } to { transform:scale(1.07) translateX(-2.5%); } }
@keyframes pfbxPanRight { from { transform:scale(1.07) translateX(-2.5%); } to { transform:scale(1.07) translateX(2.5%); } }
@keyframes pfbxPanUp { from { transform:scale(1.07) translateY(2%); } to { transform:scale(1.07) translateY(-2%); } }
@keyframes pfbxPanDown { from { transform:scale(1.07) translateY(-2%); } to { transform:scale(1.07) translateY(2%); } }
@keyframes pfbxDiagIn { from { transform:scale(1) translate(0,0); } to { transform:scale(1.10) translate(-1.5%,-1.5%); } }
@keyframes pfbxDiagOut { from { transform:scale(1.12) translate(1.5%,1.5%); } to { transform:scale(1) translate(0,0); } }
@keyframes pfbxBreathe { 0% { transform:scale(1); } 50% { transform:scale(1.05); } 100% { transform:scale(1); } }
@keyframes pfbxTilt { from { transform:scale(1.08) rotate(-1.1deg); } to { transform:scale(1.08) rotate(1.1deg); } }
@keyframes pfbxFocus { 0% { filter:blur(6px); transform:scale(1.04); } 40% { filter:blur(0); transform:scale(1); } 100% { filter:blur(0); transform:scale(1); } }
@keyframes pfbxDawn { from { filter:brightness(.55); transform:scale(1); } to { filter:brightness(1); transform:scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .pfbx-slide.on::after { animation:none; }
}
/* --- the bottom of Home, Amazon-pattern (Boss 2026-11-27
   ~19:46 EST): dark sections, bold white headings with a
   silver accent rule, dense varied blocks. Brand stays
   two-colour: silver accent only, jigari untouched. --- */
#bx-countries .bx-stack-head { margin-bottom:2px; }
#bx-countries .row-block { margin-bottom:26px; }
#bx-countries .row-head {
  border-top:1px solid rgba(231,234,238,.14);
  padding-top:14px;
}
#bx-countries .bx-stack-head .row-head { border-top:none; padding-top:0; }
#bx-countries .row-title { position:relative; padding-left:12px; }
#bx-countries .row-title::before {
  content:''; position:absolute; left:0; top:12%; bottom:12%;
  width:4px; border-radius:2px; background:#e7eaee;
}
#bx-countries .row-count { color:#9aa3ad; }
/* Channel index — mixed layouts (Boss 2026-11-27 ~19:48 EST):
   big-tile horizontal rail / small-tile vertical grid /
   standard rail / wide two-up grid, cycling down the page. */
#bx-countries .bx-rail-big .card { width:252px; }
#bx-countries .bx-rail-big .card .thumb { height:150px; }
/* Top-10 row: big outlined numerals beside wide cards
   (Boss's reference pictures — numerals in silver outline,
   brand two-colour kept). */
#bx-countries .bx-top10-item { display:flex; align-items:flex-end; flex:0 0 auto; }
#bx-countries .bx-num {
  font-size:62px; font-weight:900; line-height:.78; letter-spacing:-.02em;
  color:transparent; -webkit-text-stroke:2px #e7eaee;
  margin-right:-6px; position:relative; z-index:2; user-select:none;
}
#bx-countries .bx-top10-item .card { width:228px; }
#bx-countries .bx-top10-item .card .thumb { height:128px; }
/* PREMIUM tile badge — jigari pill on premium channels. */
#bx-countries .bx-premium-badge {
  position:absolute; top:6px; left:6px; z-index:4;
  background:#b30e31; color:#fff; font-size:9px; font-weight:800;
  letter-spacing:.07em; padding:2px 6px; border-radius:4px;
}
#bx-countries .bx-grid-small .card-row {
  display:grid; grid-template-columns:repeat(4, 1fr);
  gap:10px; overflow:visible; padding:8px 2px 14px;
}
#bx-countries .bx-grid-small .card { width:auto; }
#bx-countries .bx-grid-small .card .thumb { height:auto; aspect-ratio:16/10; }
#bx-countries .bx-grid-wide .card-row {
  display:grid; grid-template-columns:1fr 1fr;
  gap:14px; overflow:visible; padding:8px 2px 14px;
}
#bx-countries .bx-grid-wide .card { width:auto; }
#bx-countries .bx-grid-wide .card .thumb { height:auto; aspect-ratio:16/9; }
#bx-countries .bx-index-head .row-title { text-transform:none; }

/* ============================================================
   §BZ (2026-11-27) — the profile sheet's top edge curves
   like the moon (Boss, voice ~20:36 EST: the black box that
   holds the profiles — its top is NOT straight, «لکه
   سپوږمۍ غوندې», it dips a little down in a gentle arc,
   the way Netflix's app does it).
   The panel's own background / top border / shadow move to
   a ::before layer the size of the panel: it carries the
   same gradient and the 26 px top corners, cut by an SVG
   mask whose top boundary is a shallow quadratic arc —
   ≈1.6% of panel height at the sides, ≈5.1% at the centre,
   a dip of ≈3.5% of panel height (≈6 px on the 1-row
   picker, ≈10 px with two rows of profiles) — a concave crescent,
   not a wave, not an angle. A hairline band drawn in the
   same SVG geometry rides the arc (the old straight
   border-top, curved). The upward shadow becomes a
   drop-shadow filter on the panel itself so it follows
   the moon silhouette (a mask on the layer would clip
   the layer's own box-shadow away). ONLY the background
   layer is cut: the heading, grid, editor, verify panel
   and the ✕ (top:-46px) are children of the panel and
   are never masked. Where masks are unsupported the
   layer paints square — graceful, nothing breaks.
   ============================================================ */
.pf-panel {
  background:none; border-top:none; border-radius:0; box-shadow:none;
  isolation:isolate;
  /* §BZ glow (Boss's Netflix glow sample, ~20:53 EST): a soft
     LUMINOUS RIM — silver light hugging the moon arc — rides
     over the dark grounding shadow. Silver only; never the
     sample's purple/orange. */
  filter:drop-shadow(0 -12px 20px rgba(0,0,0,.45))
         drop-shadow(0 -1px 6px rgba(206,210,224,.35));
}
.pf-panel::before {
  content:''; position:absolute; inset:0; z-index:-1;
  border-radius:26px 26px 0 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,1.6 Q50,8.6 100,1.6 L100,2.2 Q50,9.2 0,2.2 Z' fill='rgba(255,255,255,0.10)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(27,27,34,.94), rgba(15,15,19,.99));
  background-size:100% 100%, 100% 100%;
  background-repeat:no-repeat;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,1.6 Q50,8.6 100,1.6 L100,100 L0,100 Z' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-size:100% 100%; -webkit-mask-repeat:no-repeat;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,1.6 Q50,8.6 100,1.6 L100,100 L0,100 Z' fill='white'/%3E%3C/svg%3E");
  mask-size:100% 100%; mask-repeat:no-repeat;
}

/* §BZ featured frame (Boss ~20:53–20:56 EST): the hero IS
   the featured block — full mobile frame, 9:16 (§BW) — and
   it is the ONE place video plays on the front. The video
   must FILL the frame (cover), never paint as a contain
   band over the poster: one frame, one video, nothing
   stacked above or below it. The poster is the placeholder
   until HeroVideo's first frame (.on); while the video
   plays it covers the poster completely. A soft silver
   moon-halo rims the frame. */
#hero-video { object-fit:cover; }
#hero {
  box-shadow:0 14px 30px rgba(0,0,0,.55),
             0 0 24px rgba(200,205,220,.10);
}

/* §BZ rows of twelve: cards past the twelfth on a capped
   content row (js/phone.js §BZ renderHome wrap) wait
   behind that row's View-all. */
.bz-cap { display:none !important; }

/* §BZ focus feel on touch (Boss ~20:54 EST: a card under
   the hand GROWS — «یو دم غټیږی»): home-row cards swell
   briefly while pressed. The front's cards are portrait
   (vertical) by the §BV grammar; the featured frame above
   is the full-frame vertical stage. */
.card-row .card { transition:transform .12s ease; }
.card-row .card:active { transform:scale(1.05); }

/* ============================================================
   §CB (2026-11-27 ~23:02 EST) — ONE picture/video at a time on
   the open flow + the Amazon "Clips" block (js/phone.js §CB).
   Boss: on open a double screen appears behind/after the
   opener, and a double video on click — remove the doubling,
   exactly one picture/video. The remaining twin-image stacks
   were the §W "standard fit" composites: the SAME picture
   painted twice at once (blurred cover copy + sharp contain
   copy). On the phone they now collapse to a SINGLE cover
   image each:
   (1) picker backdrop .pfbx-slide — the ::before blurred twin
       is gone; ::after alone carries the §BW banner, cover-fit
       (the banner's poster sits at 0.82 scale centred inside
       the file, so the frame crop never reaches it). The 12
       per-banner motion effects still animate ::after.
   (2) hero #hero-bg — ::before/::after twins are gone; the
       element's own cover background is the one picture, and
       the zoom-out settle (kenburns) moves onto the element
       itself. #hero-video (cover, §BZ) still fades over it
       and covers it completely while playing.
   The opener twin is removed in index.html/js/opener.js §CB.
   ============================================================ */
.pfbx-slide::before { display:none !important; }
.pfbx-slide::after { background-size:cover; }
#hero-bg::before, #hero-bg::after { display:none !important; }
#hero-bg.kenburns { animation:heroPicZoomOut 9s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  #hero-bg.kenburns { animation:none; }
}

/* --- §CB Clips block (Boss's Amazon Clips screenshot,
   2026-11-27 22:58 EST): TWELVE tall portrait cards TWO
   ACROSS with their titles, then ONE full-screen block
   (whole mobile frame, 9:16) with the video playing inside
   it. Mixed orientation by design: the doubles are vertical,
   the full block is the TV-style screen. Branding stays
   two-colour: white titles, silver meta/halo, jigari only
   in the standing badges. Press grows the card (§BZ feel). --- */
.cb-tag { color:#9aa3ad; font-size:13px; margin:2px 0 12px; }
.cb-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.cb-clip {
  position:relative; display:block; width:100%; aspect-ratio:9/13;
  border:none; padding:0; border-radius:12px; overflow:hidden;
  background:#17171b; cursor:pointer; text-align:left;
  transition:transform .12s ease;
  box-shadow:0 10px 22px rgba(0,0,0,.5), 0 0 18px rgba(200,205,220,.08);
}
.cb-clip img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cb-clip:active { transform:scale(1.04); }
.cb-shade {
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(0deg, rgba(0,0,0,.62) 0%, transparent 42%);
}
.cb-clip-title {
  position:absolute; left:10px; right:10px; bottom:8px;
  font-size:14px; font-weight:700; color:#fff; text-align:left;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  text-shadow:0 2px 8px rgba(0,0,0,.8);
}
.cb-feature {
  position:relative; margin-top:12px; width:100%; aspect-ratio:9/16;
  border-radius:14px; overflow:hidden; background:#000; cursor:pointer;
  transition:transform .12s ease;
  box-shadow:0 14px 30px rgba(0,0,0,.55), 0 0 24px rgba(200,205,220,.10);
}
.cb-feature:active { transform:scale(1.02); }
.cb-feature-img, .cb-feature-video {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.cb-feature-video { opacity:0; transition:opacity .5s ease; }
.cb-feature-video.on { opacity:1; }
.cb-feature .cb-clip-title { font-size:17px; left:14px; right:14px; bottom:12px; }
@media (prefers-reduced-motion: reduce) {
  .cb-clip, .cb-feature { transition:none; }
}

/* ============================================================
   §CC (2026-11-27 ~23:55 EST) — Boss's two orders on the
   live call:
   (1) The Clips block's VIDEO BLOCK is SIXTEEN BY NINE —
       the same proportion as the TV video block — not the
       9:16 full-frame portrait of §CB. The video and its
       poster still fill the block at cover (no letterbox
       strips, exactly one video; §CB wiring unchanged).
   (2) The downside's horizontal banner lines are
       DISTRIBUTED through the front (js/phone.js §CC): the
       country rails + A–Z index now live in
       .bx-countries-seg segments spread among the standing
       rows. The segments carry the SAME Amazon-pattern
       downside styling as §BX's single stack (the rules
       below mirror the #bx-countries set for the segment
       scope; the first segment keeps id="bx-countries", so
       it matches both sets — identical declarations).
   ============================================================ */
.cb-feature { aspect-ratio:16/9; }

.bx-countries-seg .bx-stack-head { margin-bottom:2px; }
.bx-countries-seg .row-block { margin-bottom:26px; }
.bx-countries-seg .row-head {
  border-top:1px solid rgba(231,234,238,.14);
  padding-top:14px;
}
.bx-countries-seg .bx-stack-head .row-head { border-top:none; padding-top:0; }
.bx-countries-seg .row-title { position:relative; padding-left:12px; }
.bx-countries-seg .row-title::before {
  content:''; position:absolute; left:0; top:12%; bottom:12%;
  width:4px; border-radius:2px; background:#e7eaee;
}
.bx-countries-seg .row-count { color:#9aa3ad; }
.bx-countries-seg .bx-rail-big .card { width:252px; }
.bx-countries-seg .bx-rail-big .card .thumb { height:150px; }
.bx-countries-seg .bx-top10-item { display:flex; align-items:flex-end; flex:0 0 auto; }
.bx-countries-seg .bx-num {
  font-size:62px; font-weight:900; line-height:.78; letter-spacing:-.02em;
  color:transparent; -webkit-text-stroke:2px #e7eaee;
  margin-right:-6px; position:relative; z-index:2; user-select:none;
}
.bx-countries-seg .bx-top10-item .card { width:228px; }
.bx-countries-seg .bx-top10-item .card .thumb { height:128px; }
.bx-countries-seg .bx-premium-badge {
  position:absolute; top:6px; left:6px; z-index:4;
  background:#b30e31; color:#fff; font-size:9px; font-weight:800;
  letter-spacing:.07em; padding:2px 6px; border-radius:4px;
}
.bx-countries-seg .bx-grid-small .card-row {
  display:grid; grid-template-columns:repeat(4, 1fr);
  gap:10px; overflow:visible; padding:8px 2px 14px;
}
.bx-countries-seg .bx-grid-small .card { width:auto; }
.bx-countries-seg .bx-grid-small .card .thumb { height:auto; aspect-ratio:16/10; }
.bx-countries-seg .bx-grid-wide .card-row {
  display:grid; grid-template-columns:1fr 1fr;
  gap:14px; overflow:visible; padding:8px 2px 14px;
}
.bx-countries-seg .bx-grid-wide .card { width:auto; }
.bx-countries-seg .bx-grid-wide .card .thumb { height:auto; aspect-ratio:16/9; }
.bx-countries-seg .bx-index-head .row-title { text-transform:none; }

/* ============================================================
   §CE (2026-11-28) — smoky colour-matched finish, per-banner
   hero motion, preview orientation flip + play-vertical-
   first geometry, wallpaper still motion. See js/phone.js
   §CE for the orders and the reasoning.
   ============================================================ */

/* --- the smoky four-side fade: a copy of the SAME picture,
   blurred and colour-rich, masked so only the edge band
   shows — the edges melt into the picture's own colours
   (per-image by construction, never one fixed colour); the
   centre stays the one sharp picture (§CB rule intact). --- */
.smk {
  position:absolute; inset:0; z-index:2; pointer-events:none;
  border-radius:inherit;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  filter:blur(13px) saturate(1.3) brightness(.88);
  transform:scale(1.16);
  -webkit-mask-image:radial-gradient(120% 120% at 50% 50%, transparent 54%, rgba(0,0,0,.5) 76%, #000 94%);
  mask-image:radial-gradient(120% 120% at 50% 50%, transparent 54%, rgba(0,0,0,.5) 76%, #000 94%);
}
.card .thumb .kind-badge, .card .thumb .fav-star { z-index:3; }
.cb-clip .smk { z-index:1; }
.cb-clip .cb-shade { z-index:2; }
.cb-clip .cb-clip-title { z-index:3; }
.cb-feature .smk { z-index:2; }
.cb-feature .cb-shade { z-index:3; }
.cb-feature .cb-clip-title { z-index:4; }
#hero-smk { z-index:3; }
#hero-dots, #hero-adtag { z-index:4; }

/* --- the picker slides carry the same finish: §CB retired
   the ::before as a full blurred twin; §CE returns it as an
   EDGE-MASKED smoke layer only (the centre of the slide is
   purely the one sharp banner on ::after beneath it). --- */
.pfbx-slide::after { z-index:1; }
.pfbx-slide::before {
  display:block !important; z-index:2;
  background-image:var(--pfbx); background-size:cover; background-position:center;
  filter:blur(15px) saturate(1.3) brightness(.9);
  transform:scale(1.16);
  -webkit-mask-image:radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0,0,0,.5) 77%, #000 95%);
  mask-image:radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0,0,0,.5) 77%, #000 95%);
}

/* --- hero motion: a DIFFERENT smooth effect per front
   banner (the §BX FRONT_FX map, stamped as data-fx on #hero
   by js/phone.js §CE). Every keyframe is a continuous
   ease/linear motion — no steps, no jumps. Slides outside
   the twelve keep the gentle zoom-out settle (§CB rule). --- */
#hero[data-fx="zoomout"] #hero-bg.kenburns { animation:pfbxZoomOut 6.5s ease-out infinite alternate; }
#hero[data-fx="zoomin"] #hero-bg.kenburns { animation:pfbxZoomIn 9s linear infinite alternate; }
#hero[data-fx="panleft"] #hero-bg.kenburns { animation:pfbxPanLeft 6.5s ease-in-out infinite alternate; }
#hero[data-fx="panright"] #hero-bg.kenburns { animation:pfbxPanRight 6.5s ease-in-out infinite alternate; }
#hero[data-fx="panup"] #hero-bg.kenburns { animation:pfbxPanUp 6.5s ease-in-out infinite alternate; }
#hero[data-fx="pandown"] #hero-bg.kenburns { animation:pfbxPanDown 6.5s ease-in-out infinite alternate; }
#hero[data-fx="diagin"] #hero-bg.kenburns { animation:pfbxDiagIn 6.5s ease-in-out infinite alternate; }
#hero[data-fx="diagout"] #hero-bg.kenburns { animation:pfbxDiagOut 6.5s ease-out infinite alternate; }
#hero[data-fx="breathe"] #hero-bg.kenburns { animation:pfbxBreathe 6.5s ease-in-out infinite alternate; }
#hero[data-fx="tilt"] #hero-bg.kenburns { animation:pfbxTilt 6.5s ease-in-out infinite alternate; }
#hero[data-fx="focus"] #hero-bg.kenburns { animation:pfbxFocus 6.5s ease-out infinite alternate; }
#hero[data-fx="dawn"] #hero-bg.kenburns { animation:pfbxDawn 6.5s ease-out infinite alternate; }

/* --- the idle wallpaper's still pictures MOVE (Boss:
   pictures with motion effects only, never video): a gentle
   zoom that never exceeds the frame, so the whole picture
   always stays inside (§P3/§W fit preserved). --- */
.attract-slide.on::after { animation:ceAttractZoom 9s ease-in-out infinite alternate; }
@keyframes ceAttractZoom { from { transform:scale(.93); } to { transform:scale(1); } }

/* --- §BV preview, §CE geometry: the layer flips the card's
   orientation (poster card -> 16:9 landscape, as built;
   wide card -> 9:16 portrait .xp-v), and PLAY morphs it
   vertical first (js/phone.js playAfterVertical drives the
   inline geometry; these transitions make it smooth). --- */
.xp {
  transition:opacity .18s ease, transform .18s ease,
    width .42s ease-in-out, height .42s ease-in-out,
    left .42s ease-in-out, top .42s ease-in-out;
}
.xp.xp-v { width:min(58vw, 232px); aspect-ratio:9/16; }
@media (prefers-reduced-motion: reduce) {
  .xp { transition:opacity .18s ease; }
  #hero[data-fx] #hero-bg.kenburns { animation:none; }
  .attract-slide.on::after { animation:none; }
}

/* --- §CE addendum (Boss, call 2026-11-28 ~00:46 EST): NO RED
   LINES in the mobile graphic design. Every LINE drawn around
   the front's graphics — the focus ring, the touch-press ring,
   the expanded-preview ring, the category-tile active outline,
   the row-more ring, the top-menu focus border — is SILVER
   now (the brand's second colour). Red survives only as solid
   FILLS where it was always a button/badge (Play, count
   badges, active chips) — never as a line. These rules come
   last in the phone layer so they win over css/style.css and
   the earlier phone blocks at equal specificity. --- */
.card.focused { box-shadow:0 0 0 3px #c7ccd4, 0 24px 48px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.1); }
.cat-card.focused { box-shadow:0 0 0 3px #c7ccd4, 0 22px 44px rgba(0,0,0,.65); }
.card:active, .card.touch-press { box-shadow:0 0 0 2px #c7ccd4, 0 10px 24px rgba(20,20,30,.28); }
.card.expanded { box-shadow:0 0 0 2px #c7ccd4; }
.chip.cat-tile.active { box-shadow:0 0 0 2px #c7ccd4; outline:none; }
.row-more.focused { box-shadow:0 0 0 3px #c7ccd4; }
.chip.focused, .az-btn.focused, .set-btn.focused, .lang-chip.focused, .sub-chip.focused { box-shadow:0 0 0 3px #c7ccd4; }
.topmenu-btn.focused { border-color:#c7ccd4; }

/* ============================================================
   §CH (2026-11-28) — PLAYER FULL-SCREEN LANDSCAPE + CINEMATIC
   DEPTH (Boss's three-requirements, requirements 2 + 3).
   ============================================================ */

/* --- the expand/compress control: sits in the player top bar
   beside the close button, same round dark chip, 44 px touch
   target. It fades with the top bar (the §AP fade machinery),
   like the CC chip. --- */
#player-fs {
  position:absolute; top:8px; right:62px; z-index:5;
  width:44px; height:44px; border-radius:50%; border:none;
  background:rgba(0,0,0,.72); color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
#player-fs svg { width:22px; height:22px; display:block; }
#player-fs .fs-shut { display:none; }
#player-fs.on .fs-open { display:none; }
#player-fs.on .fs-shut { display:block; }

/* --- full-screen: the video fills the screen with the WHOLE
   picture — object-fit:contain, never cropped, never stretched;
   the player ground is pure black; only the player is in
   full-screen, so all app chrome is gone by construction. --- */
#player:fullscreen, #player:-webkit-full-screen { background:#000; }
#player:fullscreen #video, #player:-webkit-full-screen #video {
  object-fit:contain; width:100%; height:100%;
}
#player:fullscreen #embed-frame, #player:-webkit-full-screen #embed-frame {
  width:100%; height:100%;
}

/* --- cinematic depth on the phone (requirement 3): the §CE
   smoke already melts every picture's edges into its own
   colours; what the phone lacked was the soft shadow
   UNDERNEATH. Row cards, Clips cards, the feature block, the
   Rentals shelf (standard .card markup) and the hero now all
   sit on the same ground shadow as the TV. Shadows only. --- */
.card .thumb { box-shadow:0 16px 30px -10px rgba(0,0,0,.62), 0 4px 10px rgba(0,0,0,.35); }
.cb-clip { box-shadow:0 16px 30px -10px rgba(0,0,0,.62), 0 4px 10px rgba(0,0,0,.35); }
.cb-feature { box-shadow:0 24px 44px -14px rgba(0,0,0,.72), 0 6px 14px rgba(0,0,0,.4); }
#hero { box-shadow:0 30px 44px -22px rgba(0,0,0,.8); }

/* ============================================================
   §CG (2026-11-28 ~08:06 EST) — the Clips feature block's
   Play button (Boss's ruling: NO AUTOPLAY — a Play button
   only, playback solely on the viewer's own press). Jigari
   is a solid FILL here, per the standing rule that red
   survives as fills (Play buttons), never as lines. While
   the promo plays, the button quiets to a translucent pause
   chip so the picture stays clean. --- */
.cb-play {
  position:absolute; left:50%; top:50%; z-index:5;
  transform:translate(-50%,-50%);
  width:66px; height:66px; border-radius:50%;
  background:#B30E31; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 28px rgba(0,0,0,.55);
  cursor:pointer; pointer-events:auto;
}
.cb-play svg { width:30px; height:30px; fill:#fff; display:block; }
.cb-play.playing { background:rgba(12,12,16,.55); box-shadow:0 6px 16px rgba(0,0,0,.4); }

/* ============================================================
   §CJ (2026-11-28 ~08:20–08:48 EST) — consolidated front
   layout markers + the waiting-screen redesign.
   ============================================================ */

/* --- the Live TV section's LIVE tag: a small solid jigari
   badge (a FILL, per the brand rule — never a line) beside
   the section title. --- */
.cj-live-tag {
  display:inline-block; margin-left:10px; padding:2px 8px;
  border-radius:6px; background:#B30E31; color:#fff;
  font-size:11px; font-weight:800; letter-spacing:1.5px;
  vertical-align:2px;
}

/* --- WAITING SCREEN (Boss, chat 2026-11-28 08:31 EST):
   the blurred background is REMOVED COMPLETELY. The ground
   is 100% pure black #000000; the slide's blurred twin
   (::before, the blurred side extensions in Boss's
   screenshot) and the colour sheen layer are gone; the
   poster itself — the high-resolution 720×1280 (9:16)
   original — is shown COMPLETE at contain fit (no crop,
   no distortion, no blurred extensions), blending into
   the black, and carries a stronger, smoother cinematic
   push-in applied directly to the full-size poster (the
   scale never exceeds 1, so the complete poster stays
   visible at every moment of the motion). --- */
#attract { background:#000 !important; }
.attract-slide { background:#000; }
.attract-shade { display:none !important; }
/* SINGLE PAINTER (proven by the §CJ layer-kill probes): the
   slide paints its inline image THREE ways by default —
   the element's own background at auto size (a zoomed crop
   filling the screen), the ::before blurred twin, and the
   ::after contain copy. Both pseudo layers are now gone and
   the element's own background is the ONE painting: the
   full 9:16 poster at contain fit on pure black, carrying
   the cinematic push-in itself (scale never exceeds 1, so
   the complete poster stays visible throughout). */
.attract-slide {
  background-size:contain !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}
.attract-slide::before, .attract-slide::after { display:none !important; }
.attract-slide.on { animation:cjAttractCinema 12s ease-in-out infinite alternate; }
@keyframes cjAttractCinema {
  from { transform:scale(.93) translateY(10px); }
  to   { transform:scale(1) translateY(0); }
}

/* --- branding + viewing instruction BELOW the poster
   (08:31 EST point 7): the SN PLUS name and the
   "Press any key to watch" line sit in the black band
   under the centred 9:16 poster, right-aligned clear of
   the Ask Me button at bottom-left. --- */
#attract .attract-brand {
  left:auto; right:16px; bottom:54px;
  font-size:15px; letter-spacing:3px;
}
#attract .attract-hint {
  right:16px; bottom:28px; font-size:12.5px;
}

/* --- "ASK ME" AI ASSISTANT BUTTON (Boss, chat 2026-11-28
   08:33 EST): replaces the SN PLUS name in the bottom-left
   corner of the waiting screen. It appears with the
   screensaver (js/phone.js §CJ appends it to #attract),
   carries a subtle pulsing invitation ring, and a tap goes
   directly to the AI Assistant. Jigari is a solid FILL
   (the brand rule: fills yes, lines no). --- */
#attract-askme {
  position:absolute; left:14px; bottom:16px; z-index:6;
  display:flex; align-items:center; gap:8px;
  padding:11px 18px 11px 13px; border:none; border-radius:999px;
  background:#B30E31; color:#fff; cursor:pointer;
  font-size:15px; font-weight:700; letter-spacing:.4px;
  box-shadow:0 10px 26px rgba(0,0,0,.6);
  animation:cjAskPulse 2.6s ease-in-out infinite;
}
#attract-askme .cj-ask-ic { display:flex; }
#attract-askme .cj-ask-ic svg { width:20px; height:20px; fill:#fff; display:block; }
@keyframes cjAskPulse {
  0%, 100% { box-shadow:0 10px 26px rgba(0,0,0,.6), 0 0 0 0 rgba(179,14,49,.55); transform:scale(1); }
  50% { box-shadow:0 10px 26px rgba(0,0,0,.6), 0 0 0 12px rgba(179,14,49,0); transform:scale(1.045); }
}
@media (prefers-reduced-motion: reduce) {
  .attract-slide.on { animation:none; }
  #attract-askme { animation:none; }
}

/* --- +30% BIGGER, BOTH ORIENTATIONS (Boss's clarification,
   chat 2026-11-28 09:12 EST): horizontal AND vertical
   banners/cards each grow 30% from their settled sizes,
   aspect ratios untouched, one consistent size set across
   every front row (Live TV, drama, catalogue rails, Clips
   pattern rows). Settled → new:
   .card (landscape) 150 → 195 · .card.poster (vertical)
   124 → 161 · category tiles 150 → 195 · focus-flip widths
   track the same growth (150 → 195, 138 → 179) · the
   downside's big rail 252 → 328 (thumb 150 → 195) and the
   Top-10 rail 228 → 296 (thumb 128 → 166) · .card.wide
   (the drama row's wide banners) 82vw/max 340 → 98vw/max
   442 (+30% on the cap; on a 390 px phone the visible
   width is frame-limited to ~382). The Clips two-across
   grid and the A–Z grid patterns are grid-derived (their
   size IS the two-across/section pattern) and keep their
   geometry. --- */
.card { width:195px; }
.row-block .card.poster { width:161px; }
.card.wide { width:98vw; max-width:442px; }
.card-row .card.cat-card { width:195px; }
.row-block .card:not(.poster).flipped { width:195px; }
.row-block .card.poster.flipped { width:179px; }
#bx-countries .bx-rail-big .card { width:328px; }
#bx-countries .bx-rail-big .card .thumb { height:195px; }
#bx-countries .bx-top10-item .card { width:296px; }
#bx-countries .bx-top10-item .card .thumb { height:166px; }

/* ============================================================
   §CO (2026-11-28 ~11:56–11:57 EST) — Boss's live-call mobile
   pass (js/phone.js §CO): +30% BIGGER over the CURRENT live
   build (the §CJ sizes), aspect ratios untouched, and the
   per-channel-row featured forms. Current live -> §CO:
   .card (landscape) 195 -> 254 · .card.poster (vertical)
   161 -> 209 · category tiles 195 -> 254 · focus-flip widths
   195 -> 254 / 179 -> 233 · .card.wide cap 442 -> 575 (the
   visible width on a 390px phone stays frame-limited) ·
   downside big rail 328 -> 426 (thumb 195 -> 254) and the
   SAME for the later .bx-countries-seg segments, which §CJ's
   rules never reached (they still measured 252/150 live) ·
   Top-10 rail 296 -> 385 (thumb 166 -> 216), segments
   included. The grid patterns (A-Z grid sections, the Clips
   two-across block, .grid views) are grid-derived — their
   size IS their pattern — and keep their geometry, as in §CJ.
   ============================================================ */
.card { width:254px; }
.row-block .card.poster { width:209px; }
.card.wide { width:98vw; max-width:575px; }
.card-row .card.cat-card { width:254px; }
.row-block .card:not(.poster).flipped { width:254px; }
.row-block .card.poster.flipped { width:233px; }
#bx-countries .bx-rail-big .card, .bx-countries-seg .bx-rail-big .card { width:426px; }
#bx-countries .bx-rail-big .card .thumb, .bx-countries-seg .bx-rail-big .card .thumb { height:254px; }
#bx-countries .bx-top10-item .card, .bx-countries-seg .bx-top10-item .card { width:385px; }
#bx-countries .bx-top10-item .card .thumb, .bx-countries-seg .bx-top10-item .card .thumb { height:216px; }

/* --- ONE FULL-SIZE FEATURED CARD PER CHANNEL ROW (§CO (3)):
   the first card of a channel row is frame-wide 16:9 (the
   .card.wide pattern), the second stands VERTICAL 9:16 with
   the picture covering the whole frame (TV §CL3 cover rule).
   The ID-scoped rules keep the forms inside the downside's
   big rails too, and a rest-flip never shrinks them. --- */
#view-root .card.co-feat { width:98vw; max-width:575px; }
#view-root .row-block .card.co-feat .thumb { height:auto; aspect-ratio:16/9; }
#view-root .row-block .card.co-feat.flipped { width:98vw; max-width:575px; }
#view-root .card.co-vert { width:209px; }
#view-root .row-block .card.co-vert .thumb { height:auto; aspect-ratio:9/16; }
#view-root .row-block .card.co-vert .thumb img { object-fit:cover; }
#view-root .row-block .card.co-vert.flipped { width:209px; }
/* A featured row's cards keep their own height (the TV §CL8
   rule): the vertical card sets the row's height, the other
   cards do not stretch into tall empty frames. */
#view-root .card-row.co-row { align-items:flex-start; }

/* ============================================================
   §CP (2026-11-28, Boss's chat directives 13:09–13:34 EST)
   (6) VERTICAL CARDS 2-ACROSS: poster (vertical) cards are
       sized so exactly TWO show side by side across the phone
       width — (100vw − 38px of row padding/gaps) / 2, capped
       at the §CO 209px so landscape/tablet widths keep the
       +30% size instead of ballooning. This supersedes the
       §CO 209px poster width in portrait, by Boss's direct
       order. The poster thumb keeps its 9:16 aspect, so the
       cards stay fully vertical.
   (2) HERO IN MOTION: six distinct Amazon-style picture
       motions (mv1–mv6) assigned per hero slide by js §CP.
       The sharp picture layer (::after, contain fit) only
       ever scales/translates within the frame-safe range —
       the whole picture always stays visible (§P3 fit is
       untouched); the blurred cover backdrop (::before)
       takes the larger moves. While a promo video plays,
       app.js removes .kenburns and every motion rests.
   ============================================================ */
#view-root .row-block .card.poster { width:min(calc((100vw - 38px) * 0.5), 209px); }
#view-root .row-block .card.poster.flipped { width:min(calc((100vw - 38px) * 0.5), 209px); }

#hero-bg.mv1.kenburns::after { animation:cpKB1 16s ease-in-out infinite alternate; }
@keyframes cpKB1 { from { transform:scale(.95); } to { transform:scale(1.02) translate(-1%,-1%); } }
#hero-bg.mv2.kenburns::after { animation:cpKB2 18s ease-in-out infinite alternate; }
@keyframes cpKB2 { from { transform:scale(1.02) translate(1%,0); } to { transform:scale(.95) translate(-1%,1%); } }
#hero-bg.mv3.kenburns::after { animation:cpKB3 15s ease-in-out infinite alternate; }
@keyframes cpKB3 { from { transform:scale(.98) translateX(1.6%); } to { transform:scale(.98) translateX(-1.6%); } }
#hero-bg.mv4.kenburns::after { animation:cpKB4 15s ease-in-out infinite alternate; }
@keyframes cpKB4 { from { transform:scale(.98) translateX(-1.6%); } to { transform:scale(.98) translateX(1.6%); } }
#hero-bg.mv5.kenburns::after { animation:cpKB5 17s ease-in-out infinite alternate; }
@keyframes cpKB5 { from { transform:scale(.98) translateY(1.6%); } to { transform:scale(.98) translateY(-1.6%); } }
#hero-bg.mv6.kenburns::after { animation:cpKB6 20s ease-in-out infinite alternate; }
@keyframes cpKB6 { from { transform:scale(.94) translate(-1.2%,1%); } to { transform:scale(1.01) translate(1.2%,-1%); } }

#hero-bg.mv1.kenburns::before { animation:cpKBB1 16s ease-in-out infinite alternate; }
@keyframes cpKBB1 { from { transform:scale(1.18) translate(0,0); } to { transform:scale(1.34) translate(-2%,-2%); } }
#hero-bg.mv2.kenburns::before { animation:cpKBB2 18s ease-in-out infinite alternate; }
@keyframes cpKBB2 { from { transform:scale(1.34) translate(2%,0); } to { transform:scale(1.18) translate(-1%,1%); } }
#hero-bg.mv3.kenburns::before { animation:cpKBB3 15s ease-in-out infinite alternate; }
@keyframes cpKBB3 { from { transform:scale(1.26) translateX(2.4%); } to { transform:scale(1.26) translateX(-2.4%); } }
#hero-bg.mv4.kenburns::before { animation:cpKBB4 15s ease-in-out infinite alternate; }
@keyframes cpKBB4 { from { transform:scale(1.26) translateX(-2.4%); } to { transform:scale(1.26) translateX(2.4%); } }
#hero-bg.mv5.kenburns::before { animation:cpKBB5 17s ease-in-out infinite alternate; }
@keyframes cpKBB5 { from { transform:scale(1.26) translateY(2.4%); } to { transform:scale(1.26) translateY(-2.4%); } }
#hero-bg.mv6.kenburns::before { animation:cpKBB6 20s ease-in-out infinite alternate; }
@keyframes cpKBB6 { from { transform:scale(1.16) translate(-2%,1.5%); } to { transform:scale(1.32) translate(2%,-1.5%); } }

@media (prefers-reduced-motion: reduce) {
  #hero-bg.kenburns::before, #hero-bg.kenburns::after { animation:none; }
}


/* ============================================================
   §CQ (Boss, 2026-11-28 14:11–14:47 EST) — mobile completion:
   gradual morph motion, vertical motion-zoom, featured
   strips for Movies/Rental/Free/Category views, big-card
   grids, category name bars, the A–Z entry block, wallpaper
   branding removal + the animated AI assistant, and the
   Urdu/Arabic size lift (Pashto untouched). */

/* (9) the horizontal→vertical morph is a GRADUAL MOTION —
   width and thumb aspect ease over .65s, never a snap flip;
   the revert eases back the same way */
#view-root .card { transition: width .65s cubic-bezier(.25,.9,.3,1), transform .65s cubic-bezier(.25,.9,.3,1); }
#view-root .card .thumb { transition: aspect-ratio .65s cubic-bezier(.25,.9,.3,1); }

/* (9) vertical cards: subtle MOTION ZOOM on touch/focus —
   the card stays vertical, only a gentle scale */
#view-root .card.poster.cq-zoom { transform: scale(1.05); z-index: 8; }
#view-root .card.poster:focus-visible { transform: scale(1.04); }

/* (8) a hold-press preview opened from a poster card keeps
   the vertical geometry (the §CE layer forced portrait) */
.xp.cq-xpv { width: min(64vw, 252px) !important; height: auto !important; aspect-ratio: 9/16; }

/* featured strip (Movies / Rental / Free / Category views) */
.cq-feat { display: flex; gap: 14px; align-items: stretch; margin: 4px 14px 18px; padding: 14px;
  background: linear-gradient(135deg, #2c0a13, #141419 65%); border: 1px solid #3a3f46; border-radius: 16px; }
.cq-feat-art { flex: 0 0 102px; width: 102px; }
.cq-feat-art img { width: 100%; height: 100%; min-height: 148px; object-fit: cover; border-radius: 10px; display: block; background: #1c1c22; }
.cq-feat-art.wide-art { flex: 0 0 128px; width: 128px; }
.cq-feat-art.wide-art img { min-height: 108px; }
.cq-feat-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cq-feat-kicker { color: #ff8296; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.cq-feat-title { color: #fff; font-size: 20px; font-weight: 800; line-height: 1.2; margin-top: 3px; }
.cq-feat-meta { color: #c9ced4; font-size: 13.5px; margin-top: 3px; }
.cq-feat-desc { color: #aeb4bc; font-size: 13px; line-height: 1.45; margin-top: 5px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cq-feat-btn { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.cq-view .rental-card.cq-sel { outline: 3px solid #e8ebee; outline-offset: 2px; }

/* (7) big-card grids: posters 2-across at the +30% standard,
   channels full-width horizontal — no small grid cards */
.cq-biggrid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px; }
.cq-biggrid .card.poster { width: 100% !important; }
.cq-biggrid .card:not(.poster) { grid-column: 1 / -1; width: 100% !important; }
.cq-biggrid .card:not(.poster) .thumb { height: auto; aspect-ratio: 16/9; }

/* (5) Home category tiles carry their full name, legible */
#view-root .cat-card .cq-catname { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  padding: 14px 9px 6px; font-size: 14.5px; font-weight: 700; color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(5,5,8,.9) 55%); pointer-events: none; }

/* (1) the compact A–Z entry block on the front */
.cq-az-note { color: #aeb4bc; font-size: 14px; padding: 0 2px 4px; }

/* (10) wallpaper: written SN Plus branding removed */
.cq-attract .attract-brand, .cq-attract .attract-note { display: none !important; }

/* (10) the animated AI assistant in the Ask Me spot: her
   compact disc with the white "AI" mark, gently floating */
#attract-askme.cq-ai { gap: 10px; }
.cq-ai-disc { position: relative; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #d21f42, #7d0a22 72%);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px rgba(232,235,238,.85), 0 6px 18px rgba(0,0,0,.5);
  animation: cqFloat 3.4s ease-in-out infinite; }
.cq-ai-disc svg { width: 24px; height: 24px; fill: #fff; }
.cq-ai-badge { position: absolute; right: -7px; bottom: -5px; background: #fff; color: #14161a;
  font-size: 10.5px; font-weight: 800; letter-spacing: .4px; padding: 1px 5px; border-radius: 6px; }
@keyframes cqFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* (11) Urdu + Arabic a bit bigger (Pashto untouched) */
.cq-ur-ar #support-thread .sup-msg { font-size: 17.5px !important; line-height: 1.9; }
.cq-rtl-big { font-size: 1.16em !important; line-height: 1.65; }

/* §CX (Boss, voice call 2026-11-28 ~20:20 EST): channel grids
   (Live TV / News / Radio) — the 3-across grid made channel
   cards 114x64, too small to see. Central VERTICAL layout:
   portrait cards, two per row, centred, big and clear. */
.grid.cq-chanvert { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px; justify-items: center; }
.grid.cq-chanvert .card { width: 100% !important; max-width: 250px; }
.grid.cq-chanvert .card .thumb { height: auto; aspect-ratio: 2/3; }

/* ============================ §CY front rails (Boss, chat
   2026-11-28 ~20:33 EST) ============================
   Every content row on the mobile front is a horizontal scrolling
   rail of right-sized cards — never one giant card filling the
   whole row — and each front rail carries at most 10 items (the
   complete sets live in the Series / Movies / category views).
   Poster cards in the series-store and rental rails shrink from
   176px to 124px wide so a rail reads as a rail and the front
   stays compact. */
@media (max-width: 700px) {
  #world-series-row .card-row, #rentals-row .card-row { flex-wrap: nowrap; overflow-x: auto; }
  #world-series-row .card-row .card.poster, #rentals-row .card-row .card.poster { flex: 0 0 124px !important; width: 124px !important; }
  body.on-home #world-series-row .card-row > .card:nth-of-type(n+11),
  body.on-home #rentals-row .card-row > .card:nth-of-type(n+11) { display: none; }
}

/* ============================ §CZ (Boss, voice 2026-11-28
   ~20:50–20:52 EST) ============================
   (1) TEN PER ROW, mobile front, every content rail: channel
   country rails and the Free Classics rail join the §CY
   series/rental cap — at most 10 visible items per Home rail
   (partner tiles are not content cards and keep their row;
   complete sets live in the views and the A–Z index).
   (2) NO FLIP focus: the focused card takes a calm ZOOM with
   SLOW motion (.6s), the focus settle slows to .9s — no
   turning, no orientation change, ever. */
@media (max-width: 700px) {
  body.on-home .card-row > .card:not(.partner-card):nth-of-type(n+11) { display: none; }
  .card { transition: transform .6s ease, box-shadow .6s ease; }
  .card.focused { transform: scale(1.04); }
  .focusable.focused { animation-duration: .9s; }
}

/* ================= §DA (2026-11-28) — HERO SHADOW REMOVED
   (Boss, chat 2026-11-28 ~21:24 EST: «از هیرو شیدو را ختم کنید» —
   end the shadow on the hero.) (1) The hero frame's box-shadow
   is removed — both the §BZ drop shadow + silver moon-halo and
   the later cinematic-depth ground shadow — so the hero sits
   clean and flat. (2) The SmokeFX shadow frame inside the hero
   (#hero-smk: the blurred, edge-masked copy js/phone.js §CE
   lays over the picture's edges) is hidden. NOT touched: the
   #hero-shade billboard legibility gradient, card shadows and
   card smoke, hero motion. Revert = delete this block. */
#hero{box-shadow:none}
#hero-smk{display:none}

/* §DE (2026-11-28): while a hero promo plays it is the ONLY hero
   layer — the picture hides, so no picture+video double. (The
   phone hero was already single-layer + cover, §CB/§BZ.) */
#hero.hv-on #hero-bg { opacity:0; }
