/* KimberPlay Web v2 — the Android app's structure: rail, hero, poster rows, live rows,
   timeline guide. Calm-premium tokens; vivid cyan only where attention must land. */

:root {
  --ground: #0A0A0F; --card: #121218; --elevated: #1A1A22; --border: #2A2A33;
  --text: #F4F4F7; --muted: #A1A1AA; --faint: #6B6B7D;
  --steel: #5FB3C4; --vivid: #00E5FF; --glow: #1E0C30; --magenta: #D65DF0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--ground);
  background-image: radial-gradient(900px 420px at 85% -120px, var(--glow), var(--ground) 70%);
  color: var(--text);
  font: 15px/1.5 Roboto, "Segoe UI", system-ui, sans-serif;
}
#app { min-height: 100%; display: flex; flex-direction: column; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }

.brand { font-size: 44px; font-weight: 800; cursor: pointer; }
.brand-small { font-size: 21px; }
.brand-kimber { color: var(--vivid); }
.brand-play { color: var(--magenta); }
.tagline { color: var(--muted); font-size: 17px; }
.spacer { flex: 1; }
.muted { color: var(--muted); }
.status { color: var(--steel); min-height: 22px; }
.fineprint { color: var(--faint); font-size: 12.5px; line-height: 1.55; }
.empty { padding: 30px; }

/* ── Topbar ── */
.topbar { display: flex; align-items: center; gap: 14px; padding: 10px 18px;
  border-bottom: 1px solid var(--border); background: rgba(10, 10, 15, 0.75);
  position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.chip { background: var(--elevated); border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 5px 14px; font-size: 12.5px; white-space: nowrap; }
.search { max-width: 320px; }

/* ── Layout: rail + content ── */
.layout { flex: 1; display: flex; min-height: 0; }
.rail { width: 92px; flex-shrink: 0; padding: 18px 8px; display: flex; flex-direction: column;
  gap: 6px; border-right: 1px solid var(--border);
  position: sticky; top: 55px; height: calc(100vh - 55px); }
.rail-item { display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 4px; border-radius: 10px; color: var(--muted); border: 1px solid transparent; }
.rail-item:hover { color: var(--text); background: var(--card); }
.rail-item.selected { color: var(--steel); background: var(--card); border-color: var(--border); }
.rail-icon { font-size: 19px; line-height: 1; }
.rail-label { font-size: 11px; }
.content { flex: 1; min-width: 0; overflow-x: hidden; }
.page { padding: 20px 26px 46px; display: flex; flex-direction: column; gap: 14px; }

/* ── Hero ── */
.hero { position: relative; border-radius: 16px; overflow: hidden; min-height: 260px;
  display: flex; align-items: flex-end; border: 1px solid var(--border); }
.hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%;
  font-size: 120px; display: flex; align-items: center; justify-content: center;
  color: rgba(244, 244, 247, 0.08); font-weight: 800; letter-spacing: 0.05em; }
.hero-inner { position: relative; padding: 26px 30px; width: 100%;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.92) 30%, transparent);
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hero-chip { background: var(--steel); color: #0A0A0F; font-weight: 800; font-size: 11px;
  letter-spacing: 0.08em; border-radius: 5px; padding: 3px 9px; }
.hero-title { font-size: clamp(24px, 4vw, 40px); font-weight: 800; line-height: 1.1; }
.hero-meta { color: var(--steel); font-size: 14.5px; }
.hero-btn { margin-top: 6px; }

/* ── Rows & poster cards ── */
.row-header { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.row-accent { width: 4px; height: 20px; border-radius: 2px; background: var(--steel); }
.row-title { font-size: 18px; font-weight: 700; }
.poster-row { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px;
  scrollbar-width: thin; }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px; }
.poster-card { position: relative; width: 160px; flex-shrink: 0; display: flex;
  flex-direction: column; gap: 6px; cursor: pointer; }
.poster-grid .poster-card { width: auto; }
.poster-art { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card); transition: border-color 0.12s, transform 0.12s; }
.live-card .poster-art { aspect-ratio: 16 / 10; object-fit: contain; padding: 14px; }
.poster-card:hover .poster-art { border-color: var(--vivid); transform: scale(1.02); }
.monogram { display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 34px; color: rgba(244, 244, 247, 0.55); }
.poster-name { font-size: 13px; font-weight: 600; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.poster-epg { color: var(--steel); font-size: 12px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.badge { position: absolute; top: 8px; right: 8px; background: rgba(10, 10, 15, 0.85);
  border: 1px solid var(--border); color: var(--text); font-size: 11px; font-weight: 700;
  border-radius: 6px; padding: 2px 8px; }
.prog { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.poster-card .prog { position: absolute; left: 8px; right: 8px; bottom: 44px; }
.prog-fill { height: 100%; background: var(--steel); border-radius: 2px; }

/* ── Live list ── */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip-btn { cursor: pointer; flex-shrink: 0; }
.chip-btn:hover { color: var(--text); border-color: var(--steel); }
.chip-btn.selected { color: var(--steel); border-color: var(--steel); }
.live-list { display: flex; flex-direction: column; gap: 8px; }
.live-row { display: flex; align-items: center; gap: 14px; background: var(--card);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; cursor: pointer;
  transition: border-color 0.12s; }
.live-row:hover { border-color: var(--vivid); }
.live-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 8px;
  flex-shrink: 0; font-size: 17px; }
.live-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.live-name { font-weight: 700; font-size: 14.5px; }
.live-epg { color: var(--steel); font-size: 13px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.live-epg.dim { color: var(--faint); }
.fav { color: #3A3A44; font-size: 17px; padding: 6px; }
.live-row:hover .fav, .poster-card:hover .fav { color: var(--muted); }
.fav.on { color: var(--steel) !important; }

/* ── Guide (timeline) ── */
.guide-page { gap: 0; }
.gx-axis { display: flex; margin-top: 12px; }
.gx-gutter { width: 200px; flex-shrink: 0; }
.gx-track { position: relative; flex: 1; min-width: 0; height: 26px; }
.gx-tick { position: absolute; top: 0; transform: translateX(-50%); color: var(--faint);
  font-size: 11.5px; font-variant-numeric: tabular-nums; }
.gx-rows { display: flex; flex-direction: column; }
.gx-row { display: flex; border-top: 1px solid var(--border); }
.gx-row .gx-track { height: 44px; }
.gx-channel { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 2px;
  text-align: left; cursor: pointer; border-right: 1px solid var(--border); }
.gx-channel:hover .gx-name { color: var(--vivid); }
.gx-logo { width: 30px; height: 30px; object-fit: contain; border-radius: 6px;
  flex-shrink: 0; font-size: 12px; }
.gx-name { font-size: 12.5px; font-weight: 600; line-height: 1.2; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gx-block { position: absolute; top: 5px; bottom: 5px; background: var(--elevated);
  border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; overflow: hidden;
  cursor: pointer; }
.gx-block:hover { border-color: var(--vivid); }
.gx-block.now { background: #14232a; border-color: #2d515c; }
.gx-block-title { font-size: 12px; white-space: nowrap; }
.gx-empty { position: absolute; inset: 5px; display: flex; align-items: center;
  padding-left: 10px; color: var(--faint); font-size: 12px; }
.gx-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--vivid);
  opacity: 0.8; pointer-events: none; }

/* ── Onboarding / settings / cards ── */
.onboarding { flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 18px; padding: 28px 16px; }
.card { width: min(560px, 100%); background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 13px; }
.settings-page .card { width: min(640px, 100%); }
.card-title { font-size: 20px; }
.section-label { color: var(--muted); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; margin-top: 6px; }
.field { background: var(--elevated); border: 1px solid var(--border); color: var(--text);
  border-radius: 9px; padding: 10px 13px; font: inherit; width: 100%; }
.field:focus { outline: 2px solid var(--vivid); outline-offset: -1px; }
.btn { background: var(--steel); color: #0A0A0F; font-weight: 700; border: none;
  border-radius: 9px; padding: 11px 18px; }
.btn:hover { filter: brightness(1.08); }
.btn-secondary { background: var(--elevated); color: var(--text); border: 1px solid var(--border); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 13px; }
.btn-ghost:hover { color: var(--text); border-color: var(--steel); }
a { color: var(--steel); }

/* ── Player overlay ── */
.player-overlay { position: fixed; inset: 0; z-index: 20; background: #000;
  display: flex; flex-direction: column; }
.player-bar { display: flex; align-items: baseline; gap: 14px; padding: 12px 18px;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.9), rgba(10, 10, 15, 0.4)); }
.info-name { font-size: 18px; font-weight: 700; }
.info-epg { color: var(--steel); font-size: 14px; }
.player-overlay video { flex: 1; width: 100%; min-height: 0; background: #000; }
/* Picture-in-picture: the video floats in its own window; the in-page player steps aside but stays alive. */
.player-overlay.pip { opacity: 0; pointer-events: none; }
.player-status { position: absolute; left: 20px; bottom: 70px; max-width: 560px;
  color: var(--text); font-size: 14px; text-shadow: 0 1px 6px #000; }

/* ── Category sidebar + split panes (real-provider scale) ── */
.split-page { padding-top: 12px; }
.split { display: flex; gap: 0; align-items: flex-start; }
.catbar { width: 260px; flex-shrink: 0; position: sticky; top: 55px; align-self: flex-start;
  max-height: calc(100vh - 67px); display: flex; flex-direction: column; gap: 8px;
  padding-right: 12px; border-right: 1px solid var(--border); }
.catbar-filter { flex-shrink: 0; }
.catbar-list { overflow-y: auto; display: flex; flex-direction: column; gap: 2px;
  padding-right: 4px; scrollbar-width: thin; }
.cat-item { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  text-align: left; padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.cat-item:hover { background: var(--card); color: var(--text); }
.cat-item.selected { background: var(--card); color: var(--steel); }
.cat-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-count { flex-shrink: 0; font-size: 11px; color: var(--faint);
  font-variant-numeric: tabular-nums; }
.pane { flex: 1; min-width: 0; padding-left: 16px; }
.pane-head { font-weight: 700; color: var(--muted); margin-bottom: 10px;
  font-size: 13px; letter-spacing: 0.02em; }
.empty-sm { padding: 10px; font-size: 13px; }
.guide-pane { overflow-x: auto; }

/* ── Phones ── */
@media (max-width: 760px) {
  .layout { flex-direction: column-reverse; }
  .rail { width: 100%; height: auto; position: fixed; bottom: 0; left: 0; right: 0; top: auto;
    flex-direction: row; justify-content: space-around; padding: 6px 4px;
    border-right: none; border-top: 1px solid var(--border);
    background: rgba(10, 10, 15, 0.92); backdrop-filter: blur(8px); z-index: 6; }
  .rail-item { flex: 1; padding: 6px 2px; }
  .content { padding-bottom: 70px; }
  .page { padding: 14px 14px 60px; }
  .search { max-width: 160px; }
  .chip { display: none; }
  .topbar .search { flex: 1; }
  .gx-gutter { width: 120px; }
  .poster-card { width: 130px; }
  .hero { min-height: 200px; }
}

/* ── v0.3 additions: series, skins, hero backdrop, zap ── */
.hero-backdrop-img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: blur(28px) brightness(0.45) saturate(1.1); transform: scale(1.15); }
.series-head { display: flex; gap: 20px; align-items: flex-end; }
.series-cover { width: 150px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--border); font-size: 30px; }
.series-meta { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.badge-inline { position: static; flex-shrink: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 52px; height: 52px; border-radius: 12px;
  border: 2px solid var(--border); cursor: pointer; }
.swatch:hover { border-color: var(--steel); }
.swatch.selected { border-color: var(--vivid); }
.swatch-dot { position: absolute; right: 7px; bottom: 7px; width: 10px; height: 10px;
  border-radius: 50%; display: block; }

@media (max-width: 760px) {
  .split { flex-direction: column; }
  .catbar { width: 100%; position: static; max-height: 38vh; border-right: none;
    border-bottom: 1px solid var(--border); padding: 0 0 10px; }
  .pane { padding-left: 0; padding-top: 12px; }
}

/* ── Desktop (mpv) playback panel ── */
.mpv-overlay { display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 15, 0.96); }
.mpv-card { width: min(420px, 92%); background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 30px; display: flex; flex-direction: column; align-items: center;
  gap: 14px; text-align: center; }
.mpv-art { width: 120px; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--border); font-size: 30px; }
.mpv-name { font-size: 20px; font-weight: 700; }
.mpv-status { color: var(--steel); font-size: 14px; min-height: 20px; }
.mpv-controls { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 6px; }
/* Picture-in-picture: the video sits bottom-right on top of everything; this card moves bottom-left,
   stops covering the app, and offers Full screen / Stop. */
.mpv-overlay.mpv-pip { top: auto; right: auto; bottom: 24px; left: 24px; width: auto; height: auto; background: transparent; pointer-events: none; }
.mpv-overlay.mpv-pip .mpv-card { pointer-events: auto; width: 360px; padding: 14px 16px; flex-direction: row; text-align: left; gap: 12px; align-items: center; flex-wrap: wrap; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
.mpv-overlay.mpv-pip .mpv-art { width: 44px; }
.mpv-overlay.mpv-pip .mpv-name { font-size: 15px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpv-overlay.mpv-pip .mpv-status { display: none; }
.mpv-overlay.mpv-pip .mpv-hint { flex-basis: 100%; margin: 0; }
.mpv-overlay.mpv-pip .mpv-controls { flex-direction: row; margin-top: 0; }
.mpv-overlay.mpv-pip .mpv-controls .btn { flex: 1; padding: 8px 10px; font-size: 13px; }
.mpv-controls .btn { width: 100%; }

/* ── Detail pages (Series / Movie), Android parity ── */
.detail-page { padding: 16px 0 46px; }
.detail-page > .btn-ghost { margin: 0 26px 12px; }
.detail-hero { position: relative; min-height: 340px; display: flex; align-items: flex-end;
  overflow: hidden; padding: 0; margin-bottom: 8px; }
.detail-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.4) saturate(1.05); }
.detail-scrim { position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ground) 6%, rgba(10,10,15,0.55) 45%, rgba(10,10,15,0.2)),
    linear-gradient(to right, var(--ground) 2%, transparent 60%); }
.detail-row { position: relative; display: flex; gap: 24px; padding: 26px; width: 100%;
  align-items: flex-end; }
.detail-poster { width: 190px; aspect-ratio: 2/3; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--border); flex-shrink: 0; font-size: 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.detail-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.detail-badges { display: flex; align-items: center; gap: 10px; }
.detail-sub { color: var(--muted); font-size: 12.5px; }
.detail-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.08; }
.detail-meta { color: var(--steel); font-size: 13.5px; font-weight: 600; }
.detail-plot { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 70ch;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.detail-cast { color: var(--faint); font-size: 12px; }
.detail-buttons { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.detail-play { font-size: 15px; }
.badge-check { background: var(--steel); color: #0A0A0F; border-color: var(--steel); }

.season-chips { padding: 0 26px 6px; }
.ep-list { display: flex; flex-direction: column; gap: 8px; padding: 6px 26px; }
.ep-row { display: flex; align-items: center; gap: 14px; background: var(--card);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px; cursor: pointer;
  transition: border-color 0.12s; }
.ep-row:hover { border-color: var(--vivid); }
.ep-row.nextup { border-color: rgba(95,179,196,0.5); }
.ep-thumb { position: relative; width: 150px; height: 84px; flex-shrink: 0; border-radius: 6px;
  overflow: hidden; background: #000; }
.ep-thumb-img { width: 100%; height: 100%; object-fit: cover; font-size: 22px; }
.ep-check { position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 10px;
  background: var(--steel); color: #0A0A0F; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; }
.ep-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0,0,0,0.5); }
.ep-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ep-line { display: flex; align-items: center; gap: 8px; }
.ep-num { color: var(--steel); font-size: 12px; font-weight: 700; }
.ep-dim { color: var(--muted); font-size: 11px; }
.ep-nextup-tag { color: var(--vivid); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.ep-title { font-weight: 600; font-size: 14px; }
.ep-plot { color: var(--muted); font-size: 12px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-mark { flex-shrink: 0; color: var(--muted); font-size: 12px; border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 12px; }
.ep-mark:hover { color: var(--text); border-color: var(--steel); }
.ep-mark.on { color: var(--steel); border-color: var(--steel); }

@media (max-width: 760px) {
  .detail-row { flex-direction: column; align-items: flex-start; }
  .detail-poster { width: 110px; }
  .ep-thumb { width: 110px; height: 62px; }
  .ep-mark { display: none; }
}

.mpv-hint { color: var(--faint); font-size: 12px; line-height: 1.5; max-width: 340px; }

/* ── v0.4: legal gate, setup wizard, modals, PIN pad, Private (After Dark) ── */
.terms-page { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 28px 40px 24px;
  max-width: 980px; width: 100%; margin: 0 auto; min-height: 100vh; }
.terms-head { display: flex; align-items: center; gap: 12px; }
.terms-links { color: var(--muted); font-size: 13px; }
.terms-title { font-size: 26px; font-weight: 800; }
.terms-box { flex: 1; min-height: 0; max-height: 58vh; overflow-y: auto; background: var(--card);
  border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; display: flex;
  flex-direction: column; gap: 10px; outline: none; }
.terms-box:focus { border-color: var(--vivid); }
.terms-h { font-size: 15px; font-weight: 700; margin-top: 6px; }
.terms-p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.terms-copy { color: var(--faint); font-size: 11px; margin-top: 8px; }
.terms-hint { color: var(--muted); font-size: 12.5px; min-height: 18px; }
.terms-hint.warn { color: #F5A623; }
.terms-actions { display: flex; gap: 14px; align-items: center; }
.btn:disabled { opacity: 0.35; cursor: default; filter: none; }

.wizard { flex: 1; display: flex; min-height: 100vh; }
.wizard-side { width: 360px; flex-shrink: 0; padding: 40px 36px; display: flex; flex-direction: column;
  justify-content: center; gap: 14px; background: linear-gradient(180deg, #16121F, var(--ground)); }
.wizard-h { font-size: 24px; font-weight: 800; }
.wizard-steps { list-style: none; display: flex; gap: 8px; margin: 6px 0; }
.wizard-step-dot { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--faint);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
.wizard-step-dot.on { color: var(--vivid); border-color: var(--vivid); }
.wizard-step-dot.done { color: var(--steel); border-color: var(--steel); }
.wizard-main { flex: 1; min-width: 0; padding: 40px 48px; overflow-y: auto; }
.wizard-step { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.type-cards { display: flex; gap: 12px; margin-bottom: 4px; }
.type-card { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  text-align: left; background: var(--card); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 16px; color: var(--muted); }
.type-card b { font-size: 15px; }
.type-card small { font-size: 11.5px; }
.type-card:hover { border-color: var(--text); color: var(--text); }
.type-card.selected { background: rgba(95, 179, 196, 0.16); border-color: var(--steel); color: var(--text); }
.field-label { color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 4px; }
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-row { display: flex; align-items: center; gap: 14px; background: var(--card);
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--vivid); flex-shrink: 0; }
.check-text { display: flex; flex-direction: column; gap: 2px; }
.check-text b { font-size: 14.5px; }
.check-text small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.toggle-card { display: flex; align-items: center; gap: 14px; background: var(--card);
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.toggle-card.on { border-color: #FF2D55; background: rgba(255, 45, 85, 0.08); }
.toggle-card .check-text { flex: 1; }
.toggle-btn { flex-shrink: 0; min-width: 64px; }
.toggle-card.on .toggle-btn { background: #FF2D55; color: #fff; border-color: #FF2D55; }

.modal-overlay { position: fixed; inset: 0; z-index: 30; background: rgba(5, 5, 8, 0.78);
  display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(4px); }
.modal-box { width: min(460px, 100%); background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.pin-box { align-items: center; text-align: center; width: min(340px, 100%); }
.pin-dots { display: flex; gap: 14px; margin: 4px 0; }
.pin-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); }
.pin-dot.on { background: var(--vivid); border-color: var(--vivid); }
.pin-status { min-height: 20px; font-size: 13px; }
.pin-pad { display: grid; grid-template-columns: repeat(3, 66px); gap: 8px; }
.pin-key { height: 52px; border-radius: 12px; background: var(--elevated); border: 1px solid var(--border);
  font-size: 20px; font-weight: 700; }
.pin-key:hover { border-color: var(--vivid); }
.pin-key-fn { font-size: 12px; color: var(--muted); }

/* Private (After Dark): a deliberately distinct crimson-black world. */
.ad-page { --steel: #FF2D55; --vivid: #FF3B00; --card: #1B0A10; --elevated: #241018; --border: #3A1620;
  background: linear-gradient(180deg, #1A050A, #070308); margin: -20px -26px -46px;
  padding: 20px 26px 46px; min-height: calc(100vh - 55px); }
.detail-page.ad-page { margin: 0; padding: 16px 0 46px; }
.ad-top { display: flex; align-items: center; gap: 10px; }
.ad-lock { color: #FF2D55; font-size: 20px; }
.ad-lock.big { font-size: 44px; }
.ad-title { font-size: 22px; font-weight: 900; }
.ad-btn { border: 1px solid transparent; background: rgba(255, 255, 255, 0.08); border-radius: 10px;
  padding: 8px 14px; font-size: 12.5px; font-weight: 700; }
.ad-btn:hover { background: #FF2D55; }
.ad-btn.on { background: rgba(255, 59, 0, 0.28); border-color: #FF3B00; }
.ad-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 60px 20px; max-width: 520px; margin: 0 auto; }
.ad-bar .section-label { margin-top: 10px; }
.ad-art { filter: blur(14px) brightness(0.7); transition: filter 0.15s; }
.ad-card:hover .ad-art { filter: none; }
.ad-hidden .ad-art, .ad-hidden .ad-card:hover .ad-art { filter: blur(30px) brightness(0.3); }
.ad-hero .hero-backdrop-img { filter: blur(24px) brightness(0.4); }
.ad-hidden .ad-hero .hero-backdrop-img { filter: blur(40px) brightness(0.15); }
.ad-chip { background: #FF2D55; color: #fff; }
.ad-watch { background: #FF2D55; color: #fff; }
.ad-dots { display: flex; gap: 6px; margin-top: 8px; }
.ad-dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); }
.ad-dot.on { width: 20px; background: #FF3B00; }
.ad-move { position: absolute; left: 8px; top: 8px; opacity: 0; font-size: 10.5px; font-weight: 700;
  background: rgba(10, 10, 15, 0.85); border: 1px solid var(--border); border-radius: 6px;
  padding: 3px 7px; color: var(--muted); }
.live-row .ad-move { position: static; opacity: 1; flex-shrink: 0; }
.ad-card:hover .ad-move { opacity: 1; }
.ad-move:hover { color: var(--text); border-color: var(--steel); }
.rail-private { color: #FF2D55; }

@media (max-width: 760px) {
  .terms-page { padding: 18px 14px; }
  .terms-box { max-height: 52vh; }
  .wizard { flex-direction: column; }
  .wizard-side { width: 100%; padding: 26px 18px 12px; }
  .wizard-main { padding: 12px 18px 40px; }
  .type-cards { flex-direction: column; }
  .ad-page { margin: -14px -14px -60px; padding: 14px 14px 60px; }
}

/* ══ v0.5 — Android parity shell (MainLayout.kt / DashboardScreen.kt, dp × 4/3 → px at the
   1280×720 design canvas; the body is then zoomed to the window so a 1920px window renders
   exactly like a 1080p TV). Never use vw/vh below this line — they do not follow the zoom. ══ */
:root { --zoom: 1; --vh100: calc(100vh / var(--zoom)); }
.icon { display: inline-flex; width: 24px; height: 24px; flex-shrink: 0; }
.icon svg { width: 100%; height: 100%; fill: currentColor; }
.brand-kimber { color: #22D3EE; }   /* FIXED brand tokens — identical under every skin */
.brand-play { color: #D946EF; }

/* Top header bar: wordmark · spacer · Source pill · search · settings · avatar (63dp). */
.topbar { height: 84px; padding: 0 43px 0 37px; gap: 19px; border-bottom: none; background: none;
  backdrop-filter: none; position: relative; }
.topbar .brand-small { font-size: 29px; font-weight: 900; letter-spacing: -0.01em; }
.source-pill { display: inline-flex; align-items: center; padding: 8px 19px; border-radius: 27px;
  background: #2A2A35; border: 1px solid var(--border); color: #fff; font-size: 16px; font-weight: 700;
  white-space: nowrap; max-width: 360px; overflow: hidden; text-overflow: ellipsis; cursor: default; }
.top-icon { width: 49px; height: 49px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; color: var(--text); transition: transform 0.12s, background 0.12s; }
.top-icon .icon { width: 31px; height: 31px; }
.top-icon:hover, .top-icon.on { background: var(--vivid); color: #fff; transform: scale(1.12); }
.avatar { width: 45px; height: 45px; border-radius: 50%; background: #E57373; color: #fff; font-weight: 700;
  font-size: 19px; display: inline-flex; align-items: center; justify-content: center; border: 3px solid transparent; }
.avatar:hover { border-color: #fff; }
.topbar .search { max-width: 340px; height: 40px; border-radius: 20px; padding: 0 18px; }

/* Left rail: 78dp collapsed, OVERLAYS the content, expands to 224dp with labels on hover. */
.layout { position: relative; }
.rail { position: fixed; left: 0; top: 84px; bottom: 0; width: 104px; height: auto; z-index: 6;
  padding: 24px 16px; gap: 8px; border-right: none; background: #0D0D12; align-items: stretch;
  transition: width 0.16s ease; overflow: hidden; }
.rail:hover { width: 299px; }
.rail-item { position: relative; width: 100%; height: 61px; padding: 0 17px; border-radius: 13px;
  flex-direction: row; justify-content: flex-start; align-items: center; gap: 21px; color: var(--muted);
  border: 1px solid transparent; transition: transform 0.12s, background 0.12s; }
.rail-item .icon { width: 32px; height: 32px; }
.rail-item .rail-label { display: block; font-size: 19px; font-weight: 500; white-space: nowrap; opacity: 0;
  transition: opacity 0.12s; }
.rail:hover .rail-label { opacity: 1; }
.rail-item:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); border-color: var(--vivid);
  transform: scale(1.035); }
.rail-item.selected { background: color-mix(in srgb, var(--steel) 20%, transparent); color: var(--text); }
.rail-item.selected .rail-label { font-weight: 700; }
.content { margin-left: 104px; }

/* Collapsed category bar (44dp → 59px, slim marker) that expands over the content. */
.split { position: relative; min-height: calc(var(--vh100) - 84px); }
.catbar { position: absolute; left: 0; top: 0; bottom: 0; width: 59px; height: 100%; max-height: none;
  padding: 21px 7px; border-right: none; background: #101015; z-index: 4;
  transition: width 0.17s ease, padding 0.17s ease; overflow: hidden; }
.catbar:hover, .catbar:focus-within { width: 373px; padding: 21px 21px; }
.catbar-marker { position: absolute; left: 27px; width: 5px; height: 29px; border-radius: 3px;
  background: var(--steel); transition: opacity 0.12s; }
.catbar:hover .catbar-marker, .catbar:focus-within .catbar-marker { opacity: 0; }
.catbar > .catbar-filter, .catbar > .catbar-list, .catbar > .chips, .catbar > .section-label, .catbar > .cat-item,
.catbar-title { opacity: 0; transition: opacity 0.12s; }
.catbar:hover > *, .catbar:focus-within > * { opacity: 1; }
.catbar-title { font-size: 29px; font-weight: 700; margin-bottom: 6px; }
.catbar .cat-item { font-size: 17px; padding: 11px 13px; border-radius: 11px; }
.cat-item.selected { background: color-mix(in srgb, var(--steel) 22%, transparent); color: var(--text); font-weight: 700; }
.pane { margin-left: 59px; padding-left: 32px; padding-top: 8px; padding-right: 43px; }
.split-page { padding: 0; }

/* Home page: full-bleed spotlight hero, then rails at the 48dp gutter, 24dp apart. */
.page { padding: 0 0 64px; gap: 32px; }
.page > * { margin-left: 64px; margin-right: 64px; }
.page > .hero { margin: 0; }
.hero { position: relative; height: 453px; min-height: 0; border-radius: 0; border: none; overflow: hidden;
  background: linear-gradient(135deg, var(--glow), var(--ground)); display: block; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 14s ease-in-out infinite alternate; transform-origin: center; }
.hero-art.logo { inset: auto; right: 75px; top: 22%; height: 56%; width: 42%; object-fit: contain; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-scrim-h { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.92), rgba(0,0,0,0.5), transparent); }
.hero-scrim-v { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7)); }
.hero-inner { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; padding: 35px 0 29px 64px;
  display: flex; flex-direction: column; justify-content: center; gap: 0; background: none; }
.hero-chips { display: flex; align-items: center; gap: 11px; }
.hero-chip { background: var(--steel); color: #0A0A0F; font-size: 15px; font-weight: 900; letter-spacing: 0.02em;
  border-radius: 4px; padding: 3px 9px; }
.hero-kind { color: var(--muted); font-size: 17px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-title { font-size: 43px; font-weight: 900; line-height: 48px; margin-top: 13px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-meta { color: var(--muted); font-size: 20px; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-actions { display: flex; align-items: center; gap: 21px; margin-top: 24px; }
.hero-btn { margin: 0; padding: 15px 35px; border-radius: 11px; background: var(--steel); color: #0A0A0F;
  font-size: 19px; font-weight: 700; transition: transform 0.12s, background 0.12s; }
.hero-btn:hover, .hero:focus-within .hero-btn { background: #F4F4F7; color: #000; transform: scale(1.05); filter: none; }
.spot-dots { display: flex; align-items: center; gap: 8px; }
.spot-dot { width: 9px; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.35); cursor: pointer; }
.spot-dot.on { width: 29px; background: var(--steel); }
.hero-hint { color: rgba(161, 161, 170, 0.86); font-size: 16px; margin-top: 13px; opacity: 0; transition: opacity 0.15s; }
.hero:hover .hero-hint, .hero:focus-within .hero-hint { opacity: 1; }
.hero-empty { position: absolute; left: 64px; top: 0; bottom: 0; width: 65%; display: flex; flex-direction: column;
  justify-content: center; gap: 16px; }
.hero-kicker { color: var(--steel); font-size: 17px; font-weight: 900; letter-spacing: 0.04em; }

/* Rail chrome: 20sp header with a 4×18dp accent bar; 14dp between cards; 12dp card radius. */
.row-header { margin: 0 64px; gap: 13px; }
.row-accent { width: 5px; height: 24px; border-radius: 3px; background: var(--steel); }
.row-title { font-size: 27px; font-weight: 700; }
.row-hint { color: var(--muted); font-size: 16px; }
.rail-section { display: flex; flex-direction: column; gap: 16px; }
.poster-row { gap: 19px; padding: 8px 3px 10px; }
.tile { position: relative; flex-shrink: 0; border-radius: 16px; overflow: hidden; background: var(--card);
  border: 3px solid var(--border); cursor: pointer; transition: transform 0.14s, border-color 0.12s; }
.tile:hover { border-color: var(--vivid); }
.tile-wide { width: 299px; height: 168px; }
.tile-wide:hover { transform: scale(1.06); }
.tile-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-art.logo { object-fit: contain; inset: 20%; width: 60%; height: 60%; }
.tile-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800; color: rgba(255, 255, 255, 0.92); }
.tile-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.85)); }
.tile-title { position: absolute; left: 16px; right: 16px; bottom: 13px; font-size: 17px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-pill { position: absolute; top: 11px; right: 11px; background: rgba(0, 0, 0, 0.76); color: #fff; font-size: 16px;
  font-weight: 600; border-radius: 7px; padding: 4px 9px; }
.tile-poster .tile-pill { top: 8px; left: 8px; right: auto; font-size: 13px; padding: 3px 7px; border-radius: 6px; }
.tile-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(0, 0, 0, 0.6); }
.tile-prog .prog-fill { background: var(--steel); }
/* Live channel card: 228dp wide, 112dp art panel + footer. */
.tile-live { width: 304px; height: auto; }
.tile-live:hover { transform: scale(1.06); }
.tile-live .tile-panel { position: relative; height: 149px; }
.tile-live .tile-panel-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.25), transparent, rgba(0,0,0,0.35)); }
.tile-live-badge { position: absolute; top: 11px; left: 11px; background: var(--steel); color: #0A0A0F; font-size: 16px;
  font-weight: 700; border-radius: 5px; padding: 3px 8px; }
.tile-live .tile-prog { height: 4px; background: rgba(0, 0, 0, 0.5); }
.tile-foot { padding: 12px 16px; display: flex; flex-direction: column; gap: 3px; }
.tile-name { font-size: 19px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-now { font-size: 17px; color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-now.none { color: var(--muted); }
/* Poster: 136×204dp with the title plate inside. */
.tile-poster { width: 181px; height: 272px; }
.tile-poster:hover { transform: scale(1.07); }
.tile-poster .tile-title { font-size: 17px; font-weight: 600; line-height: 20px; white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; left: 13px; right: 13px; bottom: 12px; }
.tile-poster .tile-scrim { background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.82)); }
.tile-poster .tile-initials { font-size: 17px; font-weight: 700; padding: 13px; text-align: center;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; align-items: unset; }
/* Explore hub row: five gradient tiles, 94dp tall. */
.hub-row { display: flex; gap: 21px; margin-top: 11px; margin-bottom: 11px; }
.hub-tile { flex: 1; height: 125px; border-radius: 19px; position: relative; overflow: hidden; cursor: pointer;
  border: 3px solid rgba(255, 255, 255, 0.10); padding: 19px; display: flex; flex-direction: column;
  justify-content: space-between; align-items: flex-start; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--steel) 62%, transparent), var(--glow), var(--card));
  transition: transform 0.12s, border-color 0.12s; }
.hub-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.14), transparent, rgba(0,0,0,0.28)); }
.hub-tile:hover { border-color: #fff; transform: scale(1.05); }
.hub-tile:hover::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.12); }
.hub-tile .icon { width: 35px; height: 35px; position: relative; }
.hub-label { position: relative; font-size: 19px; font-weight: 800; letter-spacing: 0.7px; text-transform: uppercase; }
/* Actions dialog (hold-OK on a Continue Watching card). */
.actions-box { width: 480px; padding: 27px; gap: 13px; }
.actions-box h2 { font-size: 20px; }
.action-row { text-align: left; border-radius: 13px; padding: 16px 21px; background: rgba(255, 255, 255, 0.05);
  color: var(--muted); font-size: 19px; font-weight: 600; }
.action-row:hover { background: color-mix(in srgb, var(--vivid) 90%, transparent); color: #fff; }

@media (max-width: 760px) {
  .topbar { height: 60px; padding: 0 14px; gap: 10px; }
  .topbar .brand-small { font-size: 22px; }
  .source-pill { display: none; }
  .top-icon { width: 40px; height: 40px; }
  .top-icon .icon { width: 24px; height: 24px; }
  .avatar { width: 36px; height: 36px; font-size: 15px; }
  .rail { position: fixed; top: auto; bottom: 0; width: 100%; height: auto; padding: 4px; flex-direction: row;
    background: rgba(13, 13, 18, 0.96); transition: none; }
  .rail:hover { width: 100%; }
  .rail-item { width: auto; flex: 1; height: 48px; padding: 0; justify-content: center; }
  .rail-item .rail-label { display: none; }
  .content { margin-left: 0; }
  .catbar { position: static; width: 100%; padding: 0 0 10px; transition: none; }
  .catbar > *, .catbar-title { opacity: 1 !important; }
  .catbar-marker { display: none; }
  .pane { margin-left: 0; padding: 12px 0 0; }
  .page > * { margin-left: 14px; margin-right: 14px; }
  .row-header { margin: 0 14px; }
  .hero { height: 300px; }
  .hero-inner { width: 100%; padding: 20px 16px; }
  .hero-title { font-size: 28px; line-height: 32px; }
  .hero-btn { padding: 12px 22px; font-size: 16px; }
  .tile-wide { width: 230px; height: 130px; }
  .tile-live { width: 240px; }
  .tile-live .tile-panel { height: 118px; }
  .tile-poster { width: 136px; height: 204px; }
  .hub-row { flex-wrap: wrap; }
  .hub-tile { flex: 1 1 40%; height: 90px; }
}

/* ── Live TV (LiveTvScreen.kt): collection rail · channel list (58%) · preview (42%) ── */
.catbar-sub { color: var(--muted); font-size: 15px; margin: -4px 0 4px; opacity: 0; transition: opacity 0.12s; }
.catbar:hover .catbar-sub, .catbar:focus-within .catbar-sub { opacity: 1; }
.lv-pane { padding: 11px 32px 0 32px; display: flex; flex-direction: column; gap: 13px;
  height: calc(var(--vh100) - 84px); }
.lv-head { display: flex; align-items: flex-end; gap: 21px; }
.lv-titles { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lv-title { font-size: 32px; font-weight: 700; line-height: 37px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-hint { color: var(--muted); font-size: 15px; }
.lv-count { margin-left: auto; color: var(--muted); font-size: 15px; padding: 0 0 3px 21px; white-space: nowrap; }
.lv-body { display: flex; gap: 21px; flex: 1; min-height: 0; }
.lv-list { flex: 0 0 58%; min-width: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 11px;
  padding: 3px 6px 24px 3px; scrollbar-width: thin; }
.lv-row { position: relative; height: 117px; flex-shrink: 0; border-radius: 13px; background: var(--card);
  border: 1px solid var(--border); padding: 13px 16px; display: flex; align-items: center; gap: 16px;
  cursor: pointer; overflow: hidden; outline: none; }
.lv-row.selected { background: color-mix(in srgb, var(--steel) 10%, transparent);
  border-color: color-mix(in srgb, var(--steel) 45%, transparent); }
.lv-row:hover, .lv-row:focus { background: #262630; border: 3px solid var(--vivid); padding: 11px 14px; }
.lv-stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 3px; background: transparent; }
.lv-row.selected .lv-stripe, .lv-row:hover .lv-stripe, .lv-row:focus .lv-stripe { background: var(--vivid); }
.lv-logo { width: 75px; height: 75px; border-radius: 11px; background: rgba(0, 0, 0, 0.45); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; padding: 9px; font-size: 16px; font-weight: 800; color: var(--steel); }
.lv-logo img { width: 100%; height: 100%; object-fit: contain; }
.lv-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lv-title-row { display: flex; align-items: center; gap: 8px; }
.lv-name { font-size: 19px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-star { width: 20px; height: 20px; color: var(--steel); }
.lv-now { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-now.none { font-weight: 400; color: var(--muted); }
.lv-prog-row { display: flex; align-items: center; gap: 11px; }
.lv-prog { flex: 1; height: 4px; border-radius: 3px; background: var(--border); overflow: hidden; }
.lv-prog .prog-fill { background: var(--steel); }
.lv-left { color: var(--muted); font-size: 15px; white-space: nowrap; }
.lv-next { width: 200px; flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; }
.lv-next-label { color: var(--steel); font-size: 15px; font-weight: 700; }
.lv-next-title { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-next-time { color: var(--muted); font-size: 15px; }
.lv-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 5px; padding: 4px 8px; font-size: 15px;
  font-weight: 800; color: var(--steel); background: color-mix(in srgb, var(--steel) 18%, transparent); flex-shrink: 0; }
.lv-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lv-preview { flex: 0 0 42%; min-width: 0; border-radius: 19px; background: #101015; border: 1px solid var(--border);
  padding: 21px; display: flex; flex-direction: column; gap: 13px; overflow: hidden; }
.lv-pv-top { display: flex; align-items: center; gap: 11px; }
.lv-pv-name { flex: 1; font-size: 19px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-pv-media { position: relative; aspect-ratio: 16 / 9; border-radius: 13px; background: #000; display: flex;
  align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.lv-pv-media img { width: 100%; height: 100%; object-fit: contain; padding: 37px; }
.lv-pv-initials { font-size: 45px; font-weight: 800; color: var(--steel); }
.lv-pv-chip { position: absolute; left: 11px; bottom: 11px; background: rgba(0, 0, 0, 0.75); color: #fff;
  border-radius: 5px; padding: 5px 11px; font-size: 15px; font-weight: 700; }
.lv-pv-title { font-size: 29px; font-weight: 800; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.lv-pv-time { color: var(--muted); font-size: 15px; }
.lv-pv-prog { height: 5px; border-radius: 3px; background: var(--border); overflow: hidden; flex-shrink: 0; }
.lv-pv-prog .prog-fill { background: var(--steel); }
.lv-pv-desc, .lv-pv-none { color: var(--muted); font-size: 15px; line-height: 20px; display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lv-pv-next { border-radius: 11px; background: #1B1B22; padding: 13px; display: flex; flex-direction: column; gap: 3px; }
.lv-pv-next-title { font-size: 15px; font-weight: 600; }
.lv-pv-next-time { color: var(--muted); font-size: 13px; }
.lv-pv-actions { margin-top: auto; display: flex; gap: 13px; padding-top: 8px; }
.lv-pv-btn { height: 56px; border-radius: 29px; padding: 0 16px; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; font-size: 16px; font-weight: 700; background: #1B1B22;
  border: 1px solid var(--border); color: var(--text); }
.lv-pv-btn.primary { flex: 1; background: var(--steel); color: #0A0A0F; border-color: transparent; }
.lv-pv-btn.fav { width: 157px; flex-shrink: 0; }
.lv-pv-btn:hover { background: #fff; color: #000; border-color: transparent; }
.lv-pv-btn .icon { width: 24px; height: 24px; }
.lv-empty, .lv-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px; padding: 32px 64px; flex: 1; }
.lv-empty .icon, .lv-placeholder .icon { width: 56px; height: 56px; color: var(--steel); margin-bottom: 11px; }
.lv-empty h3, .lv-placeholder h3 { font-size: 23px; font-weight: 700; }
.lv-empty p, .lv-placeholder p { color: var(--muted); font-size: 16px; line-height: 23px; }

/* ── Movies / Series browse (VodBrowser): sidebar search, 172dp hero, adaptive 132dp grid ── */
.catbar-eyebrow { color: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: 2px; margin: 8px 0 4px;
  opacity: 0; transition: opacity 0.12s; }
.catbar:hover .catbar-eyebrow, .catbar:focus-within .catbar-eyebrow { opacity: 1; }
.vp-search { height: 53px; border-radius: 27px; background: #131317; padding: 0 19px; font-size: 17px; margin: 8px 0 4px;
  opacity: 0; transition: opacity 0.12s; }
.catbar:hover .vp-search, .catbar:focus-within .vp-search { opacity: 1; }
.catbar .cat-item.selected { background: var(--steel); color: #0A0A0F; }
.vod-pane { padding: 0 0 32px 0; }
.vod-hero { position: relative; height: 229px; overflow: hidden; background: var(--ground); }
.vod-hero-bd { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.vod-hero-scrim { position: absolute; inset: 0;
  background: linear-gradient(90deg, #0A0A0D, rgba(10, 10, 13, 0.65), transparent), linear-gradient(180deg, transparent, #0A0A0D); }
.vod-hero-row { position: absolute; inset: 0; display: flex; gap: 27px; padding: 21px 32px; align-items: stretch; }
.vod-hero-poster { height: 100%; aspect-ratio: 0.7; border-radius: 11px; background: var(--card); overflow: hidden; flex-shrink: 0; }
.vod-hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.vod-hero-col { display: flex; flex-direction: column; justify-content: center; gap: 0; min-width: 0; }
.vod-hero-badges { display: flex; align-items: center; gap: 11px; }
.vod-hero-badge { background: var(--steel); color: #0A0A0F; font-size: 15px; font-weight: 700; border-radius: 5px; padding: 3px 9px; }
.vod-hero-cat { color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vod-hero-title { font-size: 32px; font-weight: 700; line-height: 36px; margin-top: 11px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.vod-hero-details { margin-top: 16px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border-radius: 11px;
  background: var(--steel); color: #0A0A0F; padding: 11px 27px; font-size: 17px; font-weight: 700; transition: transform 0.12s; }
.vod-hero-details .icon { width: 24px; height: 24px; }
.vod-hero-details:hover { background: #fff; color: #000; transform: scale(1.05); }
.vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); column-gap: 21px; row-gap: 19px;
  padding: 8px 32px 32px; }
.vp-card { width: 173px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; outline: none;
  transition: transform 0.14s; transform-origin: center; }
.vp-card:hover, .vp-card:focus { transform: scale(1.07); z-index: 2; }
.vp-poster { position: relative; width: 100%; aspect-ratio: 0.68; border-radius: 11px; background: var(--card);
  border: 3px solid transparent; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.vp-card:hover .vp-poster, .vp-card:focus .vp-poster, .vp-card.selected .vp-poster { border-color: var(--vivid); }
.vp-poster img { width: 100%; height: 100%; object-fit: cover; }
.vp-initials { font-size: 35px; font-weight: 800; color: var(--muted); }
.vp-watched { position: absolute; top: 9px; right: 9px; width: 32px; height: 32px; border-radius: 50%; background: var(--steel);
  color: #fff; display: flex; align-items: center; justify-content: center; }
.vp-watched .icon { width: 20px; height: 20px; }
.vp-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: rgba(0, 0, 0, 0.65); }
.vp-prog .prog-fill { background: var(--steel); }
.vp-caption { font-size: 16px; font-weight: 500; line-height: 19px; color: var(--muted); display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-card:hover .vp-caption, .vp-card:focus .vp-caption, .vp-card.selected .vp-caption { color: var(--text); }
.vp-empty { color: var(--muted); font-size: 19px; text-align: center; padding: 64px 32px; }
.vp-foryou { display: flex; flex-direction: column; gap: 24px; padding: 5px 0 32px; }
.vp-rail-title { font-size: 21px; font-weight: 700; padding: 0 32px 11px; }
.vp-rail-row { display: flex; gap: 19px; overflow-x: auto; padding: 8px 32px 12px; scrollbar-width: thin; }
.vp-rail-row .vp-card { flex-shrink: 0; width: 176px; }

@media (max-width: 760px) {
  .vod-hero { height: 170px; }
  .vod-hero-row { padding: 12px 14px; gap: 14px; }
  .vod-hero-title { font-size: 22px; line-height: 26px; }
  .vp-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); padding: 8px 14px 24px; }
  .vp-card { width: auto; }
  .vp-rail-row { padding: 8px 14px 12px; }
  .vp-rail-title { padding: 0 14px 8px; }
}

/* ── Guide (GuideScreen.kt): header strip, chips, 132dp gutter, 46dp rows, cursor ── */
.gd-pane { padding: 11px 32px 0 32px; display: flex; flex-direction: column; gap: 11px; height: calc(var(--vh100) - 84px); }
.gd-pane.nogroups { margin-left: 0; }
.gd-header { display: flex; align-items: flex-start; gap: 21px; min-height: 104px; }
.gd-h-left { display: flex; gap: 21px; flex: 1; min-width: 0; align-items: flex-start; }
.gd-h-art { width: 85px; height: 61px; border-radius: 5px; background: var(--card); padding: 5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; }
.gd-h-art img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gd-h-col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gd-h-title { font-size: 23px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-h-meta { color: var(--steel); font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-h-desc { color: var(--muted); font-size: 16px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.gd-h-hint { color: var(--muted); font-size: 16px; }
.gd-h-hint.accent { color: var(--steel); font-weight: 600; }
.gd-h-right { display: flex; gap: 11px; align-items: center; flex-shrink: 0; }
.gd-clock { border-radius: 21px; background: var(--card); border: 1px solid var(--border); padding: 9px 19px;
  color: var(--steel); font-size: 17px; font-weight: 700; white-space: nowrap; }
.gd-chip-stale { border-radius: 21px; background: var(--card); border: 1px solid var(--border); padding: 9px 16px;
  color: var(--muted); font-size: 16px; font-weight: 600; white-space: nowrap; }
.gd-chips { display: flex; gap: 11px; overflow-x: auto; padding: 3px 0; scrollbar-width: none; flex-shrink: 0; }
.gd-chip { flex-shrink: 0; border-radius: 5px; padding: 5px 13px; font-size: 15px; font-weight: 700; background: var(--card);
  border: 1px solid var(--border); color: var(--text); }
.gd-chip.accent { background: color-mix(in srgb, var(--steel) 22%, transparent); border-color: var(--steel); }
.gd-chip:hover { background: var(--vivid); color: #0A0A0F; border-color: #fff; }
.gd-grid { flex: 1; min-height: 0; overflow: auto; outline: none; position: relative; scrollbar-width: thin; }
.gd-axis { display: flex; position: sticky; top: 0; z-index: 2; background: var(--ground); height: 27px; }
.gd-gutter { width: 176px; flex-shrink: 0; position: sticky; left: 0; z-index: 3; background: var(--ground); }
.gd-axis-label { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 1.3px; display: flex; align-items: center; }
.gd-track { position: relative; height: 100%; flex-shrink: 0;
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--border) 45%, transparent) 1px, transparent 1px); }
.gd-tick { position: absolute; top: 0; height: 27px; display: flex; align-items: center; padding-left: 5px; color: var(--muted);
  font-size: 13px; white-space: nowrap; }
.gd-rows { position: relative; display: flex; flex-direction: column; gap: 3px; padding-bottom: 32px; }
.gd-nowline { position: absolute; top: 0; bottom: 0; width: 4px; background: var(--steel); z-index: 1; pointer-events: none; }
.gd-row { display: flex; height: 61px; flex-shrink: 0; }
.gd-cell { width: 176px; flex-shrink: 0; position: sticky; left: 0; z-index: 2; margin-right: 3px; border-radius: 4px;
  background: var(--card); border: 1px solid transparent; padding: 0 8px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.gd-row.cursor .gd-cell { background: color-mix(in srgb, var(--steel) 25%, var(--ground)); border-color: var(--steel); }
.gd-num { min-width: 24px; color: var(--muted); font-size: 13px; font-weight: 700; text-align: center; }
.gd-row.cursor .gd-num { color: var(--steel); }
.gd-logo { width: 35px; height: 35px; border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gd-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gd-name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-block { position: absolute; top: 0; height: 61px; border-radius: 4px; background: var(--card); overflow: hidden; cursor: pointer;
  display: flex; align-items: center; padding: 0 8px 0 11px; box-sizing: border-box; border: 3px solid transparent; }
.gd-block.now { background: color-mix(in srgb, var(--steel) 16%, var(--ground)); }
.gd-block.empty { background: #141418; }
.gd-block.empty .gd-block-title { color: var(--muted); }
.gd-block.cursor { background: var(--steel); border-color: var(--text); }
.gd-block.cursor .gd-block-title { color: #0A0A0F; font-weight: 700; }
.gd-block.now .gd-block-title { font-weight: 700; }
.gd-block-fill { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--steel) 22%, transparent); }
.gd-block.cursor .gd-block-fill { display: none; }
.gd-key { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.gd-block-title { position: relative; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-dialog { width: min(907px, 92%); border-radius: 24px; padding: 32px; gap: 19px; }
.gd-d-head { display: flex; gap: 24px; align-items: flex-start; }
.gd-d-art { width: 157px; height: 109px; border-radius: 13px; background: var(--ground); padding: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; }
.gd-d-art img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gd-d-col { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gd-d-eyebrow { color: var(--steel); font-size: 16px; font-weight: 900; letter-spacing: 1.3px; }
.gd-d-title { font-size: 32px; font-weight: 900; line-height: 36px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gd-d-sub { color: var(--muted); font-size: 19px; }
.gd-d-meta { color: var(--steel); font-size: 17px; font-weight: 600; }
.gd-d-desc { color: var(--muted); font-size: 19px; line-height: 25px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.gd-d-action { width: 100%; text-align: left; border-radius: 13px; padding: 16px 21px; font-size: 19px; font-weight: 700;
  background: color-mix(in srgb, var(--ground) 72%, transparent); border: 1px solid var(--border); color: var(--text); }
.gd-d-action.primary { background: var(--steel); color: #0A0A0F; border-color: transparent; }
.gd-d-action:hover, .gd-d-action:focus { background: #F4F4F7; color: #000; border-color: #fff; outline: none; }

/* ── Detail pages (SeriesDetailScreen / MovieDetailScreen): poster, cyan category, divider, pill buttons ── */
.detail-page > .btn-ghost { margin: 12px 32px; align-self: flex-start; }
.detail-poster { width: 300px; border-radius: 14px; }
.detail-row { padding: 36px 40px; gap: 34px; align-items: center; }
.detail-title { font-size: 44px; }
.detail-cat { color: var(--vivid); font-size: 18px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.detail-divider { height: 3px; background: rgba(255, 255, 255, 0.12); border-radius: 2px; margin: 8px 0 10px; max-width: 760px; }
.detail-buttons .btn { height: 70px; padding: 0 30px; border-radius: 12px; font-size: 22px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 12px; }
.detail-buttons .btn .icon { width: 26px; height: 26px; }
.detail-buttons .btn-secondary { background: rgba(255, 255, 255, 0.08); border: none; color: var(--text); }
.detail-buttons .btn-secondary:hover { background: rgba(255, 255, 255, 0.16); }
.detail-play { background: var(--vivid); color: #06161A; }
.season-bar { display: flex; align-items: center; margin: 14px 32px 6px; }
.season-bar .muted { font-size: 18px; }
.season-btn { margin-left: auto; height: 52px; padding: 0 24px; border-radius: 26px; background: #1F2029; color: var(--text);
  font-size: 18px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.season-btn:hover { background: #fff; color: #000; }
.season-chips { padding: 0 32px 6px; }
.ep-list { padding: 6px 32px; }
.ep-row { border-radius: 14px; padding: 12px; border-width: 2px; }
.ep-row:hover { border-color: var(--vivid); }
.ep-thumb { width: 250px; height: 140px; border-radius: 10px; }
.ep-num { color: var(--vivid); font-size: 17px; font-weight: 700; letter-spacing: 0.04em; }
.ep-title { font-size: 21px; }
@media (max-width: 760px) {
  .detail-poster { width: 140px; }
  .detail-title { font-size: 28px; }
  .detail-buttons .btn { height: 48px; font-size: 16px; padding: 0 18px; }
  .ep-thumb { width: 110px; height: 62px; }
  .season-bar { margin: 10px 14px; }
  .ep-list { padding: 6px 14px; }
}

/* ── Settings (SettingsScreen.kt): master/detail, cards, rows, switches, dialogs, paywall, toast ── */
.st-pane { padding: 35px 53px 32px; display: flex; flex-direction: column; gap: 24px; }
.st-title { font-size: 32px; font-weight: 700; line-height: 37px; }
.st-label { color: var(--muted); font-size: 21px; }
.st-card { border-radius: 11px; background: var(--card); border: 1px solid var(--border); display: flex; flex-direction: column; }
.st-card > p, .st-card > .st-field, .st-card > .st-btn, .st-card > .st-steps, .st-card > .st-src-row, .st-card > .st-qrs, .st-card > .brand { margin: 0 21px; }
.st-card > .st-field, .st-card > .st-btn.wide { width: calc(100% - 42px); }
.st-card > :first-child { margin-top: 21px; }
.st-card > :last-child { margin-bottom: 21px; }
.st-card > * + * { margin-top: 13px; }
.st-card > .st-row { margin: 0; }
.st-card > .st-row + .st-row { margin-top: 0; }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 21px; padding: 21px; text-align: left; width: 100%; }
.st-row.nav { cursor: pointer; }
.st-row.nav:hover { background: color-mix(in srgb, var(--vivid) 15%, transparent); }
.st-row.nav:hover .st-row-title { color: var(--vivid); }
.st-row-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.st-row-title { font-size: 21px; color: var(--text); }
.st-row-sub { color: var(--muted); font-size: 17px; line-height: 23px; }
.st-row-chevron { color: var(--muted); font-size: 24px; }
.st-divider { height: 1px; background: var(--border); }
.st-switch { position: relative; width: 56px; height: 30px; border-radius: 15px; background: #3A3A44; flex-shrink: 0; transition: background 0.15s; }
.st-switch .st-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #E0E0E6; transition: left 0.15s, background 0.15s; }
.st-switch.on { background: color-mix(in srgb, var(--steel) 40%, transparent); }
.st-switch.on .st-knob { left: 29px; background: var(--steel); }
.st-btn { border-radius: 8px; padding: 12px 19px; font-size: 16px; font-weight: 700; color: #fff; background: #2A2A35; }
.st-btn.dark { background: #2A2A35; }
.st-btn.accent { background: var(--steel); color: #0A0A0F; }
.st-btn.navy { background: #2C3E50; }
.st-btn.teal { background: #16A085; }
.st-btn.wide { width: 100%; }
.st-btn:hover { filter: brightness(1.15); }
.st-steps { display: flex; gap: 11px; }
.st-steps .st-btn { flex: 1; }
.st-field { height: 64px; border-radius: 5px; background: #131317; font-size: 19px; }
.st-note { color: var(--muted); font-size: 17px; line-height: 22px; }
.st-accent { color: var(--steel); font-size: 19px; }
.st-copy { color: rgba(161, 161, 170, 0.7); font-size: 15px; }
.st-plan { font-size: 19px; font-weight: 700; }
.st-plan.plus { color: var(--steel); }
.st-src-row { display: flex; align-items: center; gap: 13px; }
.st-src-url { flex: 1; color: var(--muted); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-link { color: var(--steel); font-size: 16px; }
.st-link:hover { color: #fff; }
.about-brand { font-size: 32px; }
.st-pl-row { display: flex; align-items: center; gap: 21px; padding: 21px; }
.st-pl-left { flex: 0 0 55%; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.st-pl-line { display: flex; align-items: center; gap: 11px; }
.st-pl-chip { border-radius: 5px; padding: 3px 8px; font-size: 15px; font-weight: 700; color: #fff; background: #555; }
.st-pl-chip.xtream { background: var(--steel); }
.st-pl-name { font-size: 19px; font-weight: 700; }
.st-pl-url { color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-pl-right { flex: 1; display: flex; gap: 11px; justify-content: flex-end; }
.st-sync { width: min(760px, 92%); border-radius: 24px; background: #15151C; padding: 32px; gap: 16px; }
.st-sync-list { display: flex; flex-direction: column; gap: 8px; }
.st-sync-row { display: grid; grid-template-columns: 24px 1fr; column-gap: 13px; align-items: center; text-align: left; border-radius: 13px;
  padding: 16px 21px; background: #1E1E26; }
.st-sync-row.on { background: rgba(255, 255, 255, 0.10); }
.st-sync-row:hover { background: color-mix(in srgb, var(--vivid) 28%, transparent); }
.st-radio { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--steel); grid-row: span 2; }
.st-sync-row.on .st-radio { background: var(--steel); }
.st-sync-title { font-size: 19px; font-weight: 700; }
.st-sync-desc { color: var(--muted); font-size: 15px; line-height: 20px; }
.st-skins { width: min(693px, 92%); }
.st-skin-list { display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; }
.st-skin-row { display: flex; align-items: center; gap: 16px; text-align: left; border-radius: 11px; border: 1px solid var(--border); padding: 13px 16px; }
.st-skin-row.on { border-color: var(--steel); }
.st-skin-row:hover { border-color: var(--vivid); }
.st-skin-swatch { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; }
.st-groups { width: min(640px, 92%); max-height: 80vh; }
.st-groups-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.st-groups-title { font-size: 24px; font-weight: 700; }
.st-group-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; max-height: 440px; }
.st-group-row { display: flex; align-items: center; gap: 8px; border-radius: 9px; padding: 8px 11px; background: rgba(255, 255, 255, 0.04); }
.st-group-row.hidden .st-group-name { color: var(--faint); text-decoration: line-through; }
.st-group-name { flex: 1; min-width: 0; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-mini { border-radius: 6px; padding: 6px 10px; font-size: 14px; font-weight: 700; background: #2A2A35; color: #fff; }
.st-mini.wide { min-width: 88px; }
.st-mini.danger { background: #B91C1C; }
.st-mini:hover { background: var(--vivid); color: #0A0A0F; }
.st-profiles { width: min(640px, 92%); background: #141419; }
.st-profile-list { display: flex; flex-direction: column; gap: 11px; max-height: 320px; overflow-y: auto; }
.st-profile-row { display: flex; align-items: center; gap: 21px; border-radius: 11px; border: 1px solid var(--border); padding: 16px; cursor: pointer; }
.st-profile-row.active { background: color-mix(in srgb, var(--steel) 15%, transparent); border-color: var(--steel); }
.st-profile-row:hover { border-color: #fff; }
.st-profile-avatar { width: 48px; height: 48px; border-radius: 50%; color: #fff; font-size: 21px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.st-profile-name { font-size: 20px; }
.st-profile-row.active .st-profile-name { font-weight: 700; }
.st-profile-active { color: var(--steel); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.st-profile-form { display: flex; flex-direction: column; gap: 11px; }
.toast { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); opacity: 0; z-index: 40; background: rgba(24, 24, 32, 0.95);
  border: 1px solid var(--steel); border-radius: 14px; padding: 14px 22px; font-size: 17px; font-weight: 600; transition: transform 0.25s, opacity 0.25s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.pw-box { width: min(640px, 92%); padding: 43px; align-items: center; text-align: center; gap: 16px; background: color-mix(in srgb, var(--card) 95%, transparent); }
.pw-kicker { color: var(--steel); font-size: 19px; font-weight: 700; letter-spacing: 2px; }
.pw-title { font-size: 29px; font-weight: 800; }
.pw-desc { color: var(--muted); font-size: 17px; line-height: 24px; }
.pw-price { font-size: 24px; font-weight: 800; }
.pw-fine { color: var(--muted); font-size: 15px; }
.pw-url { color: #fff; font-size: 19px; font-weight: 700; text-decoration: none; }
.pw-qr-wrap, .st-qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pw-qr, .st-qr { width: 168px; height: 168px; padding: 10px; border-radius: 12px; background: #fff; box-sizing: border-box; }
.st-qr { width: 132px; height: 132px; padding: 8px; }
.pw-qr svg, .st-qr svg { display: block; width: 100%; height: 100%; }
.st-qrs { display: flex; gap: 28px; margin: 12px 0 4px; }
.pw-back { width: 100%; padding: 12px; border-radius: 8px; font-size: 19px; font-weight: 600; color: var(--text); }
.pw-back:hover, .pw-back:focus { background: var(--vivid); color: #0A0A0F; outline: none; }

@media (max-width: 760px) {
  .st-pane { padding: 16px 14px 60px; }
  .st-pl-row { flex-direction: column; align-items: stretch; }
  .st-pl-left { flex: none; }
}

/* ── News Hub (NewsHubScreen.kt): topic rail, headline feed, your channels ── */
.nw-split { min-height: calc(var(--vh100) - 84px); }
.nw-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 64px; background: #101015; padding: 27px 8px; z-index: 4;
  display: flex; flex-direction: column; gap: 3px; overflow: hidden; transition: width 0.17s ease, padding 0.17s ease; }
.nw-rail:hover, .nw-rail:focus-within { width: 333px; padding: 27px 19px; }
.nw-rail-title { font-size: 27px; font-weight: 700; opacity: 0; transition: opacity 0.12s; white-space: nowrap; }
.nw-rail-sub { color: var(--muted); font-size: 15px; margin-bottom: 13px; opacity: 0; transition: opacity 0.12s; white-space: nowrap; }
.nw-rail:hover .nw-rail-title, .nw-rail:hover .nw-rail-sub, .nw-rail:focus-within .nw-rail-title, .nw-rail:focus-within .nw-rail-sub { opacity: 1; }
.nw-row { display: flex; align-items: center; gap: 0; width: 100%; border-radius: 12px; padding: 13px 8px; color: var(--muted);
  border: 1px solid transparent; white-space: nowrap; overflow: hidden; justify-content: flex-start; transition: padding 0.17s; }
.nw-rail:hover .nw-row, .nw-rail:focus-within .nw-row { padding: 13px 16px; gap: 16px; }
.nw-row .icon { width: 29px; height: 29px; flex-shrink: 0; }
.nw-row-label { font-size: 17px; font-weight: 500; max-width: 0; opacity: 0; overflow: hidden; transition: opacity 0.12s, max-width 0.17s; }
.nw-rail:hover .nw-row-label, .nw-rail:focus-within .nw-row-label { max-width: 260px; opacity: 1; }
.nw-row:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); border-color: var(--vivid); }
.nw-row.selected { background: color-mix(in srgb, var(--steel) 20%, transparent); color: var(--text); }
.nw-row.selected .nw-row-label { font-weight: 700; }
.nw-rail-gap { height: 19px; }
.nw-pane { margin-left: 64px; padding: 29px 37px 32px; display: flex; flex-direction: column; gap: 19px; }
.nw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 21px; }
.nw-titles { display: flex; flex-direction: column; gap: 5px; }
.nw-title { font-size: 32px; font-weight: 700; line-height: 37px; }
.nw-sub { color: var(--muted); font-size: 17px; }
.nw-refresh { display: inline-flex; align-items: center; gap: 8px; border-radius: 24px; background: #17171C; border: 1px solid var(--border);
  padding: 11px 17px; font-size: 15px; font-weight: 700; color: var(--text); flex-shrink: 0; }
.nw-refresh .icon { width: 21px; height: 21px; }
.nw-refresh:hover:not(:disabled) { background: var(--vivid); color: #0A0A0F; }
.nw-refresh:disabled { opacity: 0.6; cursor: default; }
.nw-body { display: flex; flex-direction: column; gap: 13px; padding-bottom: 32px; }
.nw-hero { position: relative; height: 280px; border-radius: 21px; background: var(--card); border: 3px solid transparent; overflow: hidden; cursor: pointer; }
.nw-hero:hover { border-color: var(--vivid); }
.nw-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nw-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9)); }
.nw-hero-col { position: absolute; left: 0; right: 0; bottom: 0; padding: 29px; display: flex; flex-direction: column; gap: 11px; }
.nw-eyebrow-row { display: flex; align-items: center; gap: 11px; }
.nw-breaking { background: #FF3B4E; color: #fff; font-size: 15px; font-weight: 900; letter-spacing: 1.6px; border-radius: 7px; padding: 4px 11px; }
.nw-breaking.small { font-size: 13px; padding: 2px 8px; border-radius: 5px; }
.nw-eyebrow { color: var(--steel); font-size: 15px; font-weight: 900; letter-spacing: 1.6px; }
.nw-hero-title { font-size: 29px; font-weight: 700; line-height: 35px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-hero-summary { color: var(--muted); font-size: 17px; line-height: 23px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-card { display: flex; gap: 19px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); padding: 16px; cursor: pointer; }
.nw-card:hover { background: color-mix(in srgb, var(--vivid) 15%, var(--card)); border: 3px solid var(--vivid); padding: 14px; }
.nw-thumb { width: 176px; height: 99px; border-radius: 11px; object-fit: cover; background: #000; flex-shrink: 0; }
.nw-card-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.nw-card-title { font-size: 20px; font-weight: 600; line-height: 24px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-card-summary { color: var(--muted); font-size: 16px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-sheet { width: min(60%, 900px); border-radius: 24px; padding: 32px; gap: 16px; max-height: 85vh; overflow-y: auto; }
.nw-sheet-img { width: 100%; height: 293px; object-fit: cover; border-radius: 16px; }
.nw-sheet-title { font-size: 29px; font-weight: 700; line-height: 36px; }
.nw-sheet-summary { color: var(--muted); font-size: 20px; line-height: 28px; }
.nw-close { align-self: flex-start; }
.k-loading { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 64px; color: var(--muted); font-size: 17px; }
.k-spinner { width: 51px; height: 51px; border-radius: 50%; border: 4px solid var(--steel); border-top-color: transparent; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nw-channels { display: flex; flex-direction: column; gap: 13px; }
.nw-modes { display: flex; gap: 11px; }
.nw-mode { border-radius: 12px; background: #17171C; padding: 11px 21px; font-size: 17px; font-weight: 700; color: var(--text); }
.nw-mode.selected { background: color-mix(in srgb, var(--steel) 25%, transparent); }
.nw-mode:hover { background: var(--vivid); color: #0A0A0F; }
.nw-facets { display: flex; gap: 11px; overflow-x: auto; padding: 3px 0; scrollbar-width: none; }
.nw-facet { flex-shrink: 0; border-radius: 24px; background: #17171C; border: 1px solid var(--border); padding: 11px 19px; font-size: 16px; font-weight: 700; color: var(--text); white-space: nowrap; }
.nw-facet.selected { background: color-mix(in srgb, var(--steel) 22%, transparent); border-color: var(--steel); }
.nw-facet:hover { background: var(--vivid); color: #0A0A0F; }
.nw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nw-ch-card { display: flex; align-items: center; gap: 13px; border-radius: 13px; background: var(--card); border: 1px solid var(--border); padding: 13px; cursor: pointer; }
.nw-ch-card:hover { background: #1B1B22; border: 3px solid var(--vivid); padding: 11px; }
.nw-ch-tile { width: 59px; height: 59px; border-radius: 8px; background: #0F0F13; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.nw-ch-tile img { width: 51px; height: 51px; object-fit: contain; }
.nw-ch-fallback { width: 27px; height: 27px; color: var(--muted); }
.nw-ch-col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nw-ch-name { font-size: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nw-ch-sub { color: var(--muted); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nw-ch-sub.live { color: var(--steel); }

@media (max-width: 760px) {
  .nw-rail { position: static; width: 100%; flex-direction: row; flex-wrap: wrap; padding: 8px; }
  .nw-rail-title, .nw-rail-sub, .nw-rail-gap { display: none; }
  .nw-row { width: auto; }
  .nw-row-label { opacity: 1; }
  .nw-pane { margin-left: 0; padding: 12px 14px 60px; }
  .nw-hero { height: 220px; }
  .nw-grid { grid-template-columns: 1fr; }
  .nw-sheet { width: 92%; }
}

/* ── Player chrome (PlayerScreen.kt), drawn over <video> in the browser and over mpv on Windows ── */
html.overlay-mode, html.overlay-mode body { background: transparent !important; background-image: none !important; overflow: hidden; }
html.overlay-mode #app { display: none; }
.pl-host { position: fixed; inset: 0; }
.pl-root { position: absolute; inset: 0; z-index: 25; font-family: Roboto, "Segoe UI", system-ui, sans-serif; color: #F4F4F7; }
/* Author display values would otherwise beat the UA's [hidden] rule and show every panel at once. */
.pl-root [hidden] { display: none !important; }
.pl-root .spacer { flex: 1; }
.pl-banner { position: absolute; top: 43px; left: 43px; border-radius: 16px; background: rgba(0, 0, 0, 0.77);
  border: 1px solid rgba(255, 255, 255, 0.14); padding: 16px 21px; display: flex; flex-direction: column; gap: 4px; max-width: 60%; }
.pl-b-line1 { display: flex; align-items: center; gap: 11px; }
.pl-b-name { font-size: 24px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-b-live { background: var(--steel); color: #000; font-size: 15px; font-weight: 900; border-radius: 5px; padding: 3px 8px; }
.pl-b-clock { color: var(--muted); font-size: 16px; margin-left: 5px; }
.pl-b-line2 { color: var(--muted); font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-transport { position: absolute; left: 0; right: 0; bottom: 0; padding: 27px 59px; display: flex; flex-direction: column; gap: 13px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.92)); }
.pl-t-title { font-size: 28px; font-weight: 700; }
.pl-t-sub { color: var(--muted); font-size: 19px; }
.pl-t-row { display: flex; align-items: center; gap: 19px; }
.pl-t-pp { width: 48px; height: 48px; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pl-t-pp .icon { width: 40px; height: 40px; }
.pl-t-livechip { background: var(--steel); color: #0A0A0F; border-radius: 5px; padding: 4px 12px; font-size: 16px; font-weight: 700; }
.pl-t-time, .pl-t-dur { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pl-t-dur { color: var(--muted); }
.pl-t-track { position: relative; flex: 1; height: 21px; cursor: pointer; }
.pl-t-base, .pl-t-buf, .pl-t-played { position: absolute; left: 0; top: 6px; height: 8px; border-radius: 4px; }
.pl-t-base { right: 0; background: rgba(255, 255, 255, 0.22); }
.pl-t-buf { background: rgba(255, 255, 255, 0.34); }
.pl-t-played { background: var(--steel); }
.pl-t-thumb { position: absolute; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--steel); border: 3px solid #fff; }
.pl-t-hint { color: rgba(161, 161, 170, 0.9); font-size: 16px; }
.pl-side { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; background: rgba(10, 10, 15, 0.9); padding: 21px; display: flex; flex-direction: column; }
.pl-s-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 16px; }
.pl-s-title { font-size: 27px; font-weight: 700; }
.pl-s-count { color: var(--muted); font-size: 16px; }
.pl-s-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; scrollbar-width: thin; }
.pl-s-row { display: flex; align-items: center; gap: 13px; text-align: left; border-radius: 11px; padding: 11px 16px; border: 1px solid transparent; color: rgba(255, 255, 255, 0.85); }
.pl-s-row:hover, .pl-s-row:focus { background: rgba(255, 255, 255, 0.06); border-color: var(--border); outline: none; }
.pl-s-row.active { background: color-mix(in srgb, var(--steel) 12%, transparent); border: 2px solid var(--steel); color: #fff; }
.pl-s-num { width: 37px; font-size: 15px; font-weight: 700; color: var(--muted); }
.pl-s-row.active .pl-s-num { color: var(--steel); }
.pl-s-logo { width: 43px; height: 43px; border-radius: 5px; background: #2A2A33; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; overflow: hidden; flex-shrink: 0; }
.pl-s-logo img { width: 100%; height: 100%; object-fit: contain; }
.pl-s-col { display: flex; flex-direction: column; min-width: 0; }
.pl-s-name { font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-s-row.active .pl-s-name { font-weight: 700; }
.pl-s-prog { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-epg { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; background: rgba(10, 10, 15, 0.96); padding: 21px; display: flex; flex-direction: column; gap: 4px; }
.pl-e-title { font-size: 24px; font-weight: 700; }
.pl-e-ch { color: var(--steel); font-size: 20px; font-weight: 500; }
.pl-e-sub { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.pl-e-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; }
.pl-e-day { color: var(--steel); font-size: 15px; font-weight: 900; letter-spacing: 1px; padding: 11px 5px 0; }
.pl-e-card { text-align: left; border-radius: 12px; background: rgba(18, 18, 24, 0.72); border: 1px solid var(--border); padding: 15px; display: flex; flex-direction: column; gap: 5px; color: var(--text); }
.pl-e-card.current { background: color-mix(in srgb, var(--steel) 12%, transparent); border-color: color-mix(in srgb, var(--steel) 65%, transparent); }
.pl-e-card.past { opacity: 0.6; }
.pl-e-card:hover, .pl-e-card:focus { background: var(--vivid); color: #0A0A0F; border-color: #fff; outline: none; }
.pl-e-card:focus .pl-e-time, .pl-e-card:hover .pl-e-time, .pl-e-card:focus .pl-e-desc, .pl-e-card:hover .pl-e-desc { color: #0A0A0F; }
.pl-e-time-row { display: flex; align-items: center; justify-content: space-between; }
.pl-e-time { font-size: 16px; color: var(--muted); }
.pl-e-card.current .pl-e-time { color: var(--steel); font-weight: 700; }
.pl-e-live { background: var(--steel); color: #0A0A0F; font-size: 13px; font-weight: 900; border-radius: 4px; padding: 1px 7px; }
.pl-e-ptitle { font-size: 20px; }
.pl-e-card.current .pl-e-ptitle { font-weight: 700; }
.pl-e-desc { color: var(--muted); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pl-e-prog { height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.pl-e-fill { height: 100%; background: var(--steel); }
.pl-e-foot { color: var(--muted); font-size: 15px; padding-top: 11px; }
.pl-e-empty { color: var(--muted); font-size: 17px; text-align: center; padding: 32px; }
.pl-digits { position: absolute; top: 85px; left: 50%; transform: translateX(-50%); border-radius: 16px; background: rgba(18, 18, 24, 0.9);
  border: 1px solid color-mix(in srgb, var(--steel) 60%, transparent); padding: 19px 37px; text-align: center; }
.pl-d-num { font-size: 53px; font-weight: 700; }
.pl-d-hint { color: var(--muted); font-size: 16px; }
.pl-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.pl-center > * { pointer-events: auto; }
.pl-buffering { display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--muted); font-size: 16px; }
.pl-buffering .k-spinner { width: 64px; height: 64px; }
.pl-error { border-radius: 16px; background: rgba(26, 26, 34, 0.87); padding: 32px; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.pl-error-head { font-size: 24px; font-weight: 700; }
.pl-error-head.gold { color: #FFD700; }
.pl-error-head.red { color: #FF6B6B; }
.pl-error-body { color: var(--muted); font-size: 17px; line-height: 24px; }
.pl-error-auto { color: #FFD700; font-size: 15px; }
.pl-error-row { display: flex; gap: 16px; }
.pl-error-btn { border-radius: 11px; background: rgba(255, 255, 255, 0.15); padding: 13px 32px; font-size: 19px; font-weight: 700; color: #fff; }
.pl-error-btn:hover, .pl-error-btn:focus { background: var(--vivid); color: #000; outline: none; }
.pl-options { position: absolute; right: 0; top: 0; bottom: 0; width: 613px; background: rgba(16, 16, 21, 0.95); padding: 37px 27px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.pl-o-title { font-size: 29px; font-weight: 700; margin-bottom: 11px; }
.pl-o-row { display: flex; align-items: center; gap: 19px; text-align: left; border-radius: 13px; padding: 16px 19px; background: rgba(255, 255, 255, 0.04); border: 2px solid transparent; color: var(--text); }
.pl-o-row:hover, .pl-o-row:focus { background: color-mix(in srgb, var(--vivid) 16%, transparent); border-color: var(--vivid); outline: none; }
.pl-o-row .icon { width: 29px; height: 29px; }
.pl-o-label { flex: 1; font-size: 20px; font-weight: 500; }
.pl-o-value { color: var(--muted); font-size: 17px; font-weight: 600; }
.pl-o-row:focus .pl-o-value, .pl-o-row:hover .pl-o-value { color: var(--vivid); }
.pl-o-chev { width: 24px; height: 24px; color: var(--muted); }
.pl-o-div { height: 1px; background: var(--border); margin: 5px 0; }
.pl-picker { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.35); }
.pl-pk-box { width: 40%; min-width: 480px; border-radius: 21px; background: #121218; border: 1px solid var(--border); padding: 27px; display: flex; flex-direction: column; gap: 16px; }
.pl-pk-head { display: flex; align-items: center; justify-content: space-between; }
.pl-pk-title { font-size: 24px; font-weight: 700; }
.pl-pk-x { width: 40px; height: 40px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.pl-pk-x:hover, .pl-pk-x:focus { background: color-mix(in srgb, var(--vivid) 20%, transparent); outline: none; }
.pl-pk-x .icon { width: 32px; height: 32px; }
.pl-pk-list { max-height: 533px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.pl-pk-row { display: flex; align-items: center; justify-content: space-between; text-align: left; border-radius: 11px; padding: 13px 19px; background: rgba(255, 255, 255, 0.03); border: 1px solid transparent; color: var(--text); }
.pl-pk-row:hover, .pl-pk-row:focus { background: rgba(255, 255, 255, 0.06); outline: none; border-color: #fff; }
.pl-pk-row.on { background: color-mix(in srgb, var(--steel) 12%, transparent); border-color: color-mix(in srgb, var(--steel) 50%, transparent); }
.pl-pk-col { display: flex; flex-direction: column; gap: 2px; }
.pl-pk-label { font-size: 19px; }
.pl-pk-row.on .pl-pk-label { color: var(--steel); font-weight: 700; }
.pl-pk-codec { color: var(--muted); font-size: 15px; }
.pl-pk-check { width: 27px; height: 27px; color: var(--steel); }
.pl-pk-empty { color: var(--muted); font-size: 19px; text-align: center; padding: 32px; }
.pl-pk-gold { color: #FFD700; font-size: 17px; font-weight: 700; text-align: center; }
.pl-pk-big { font-size: 29px; font-weight: 700; text-align: center; }
.pl-pk-sub { color: var(--muted); font-size: 16px; text-align: center; }
.pl-pk-cancel { align-self: center; border-radius: 11px; background: #2A2A33; padding: 13px 32px; font-size: 17px; font-weight: 700; color: #fff; }
.pl-pk-cancel:hover, .pl-pk-cancel:focus { background: #FF6B6B; outline: none; }
.pl-pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.pl-pk-preset { border-radius: 11px; padding: 19px 0; font-size: 20px; font-weight: 700; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: #fff; }
.pl-pk-preset:hover, .pl-pk-preset:focus { background: color-mix(in srgb, var(--vivid) 15%, transparent); border: 2px solid var(--vivid); outline: none; }
.pl-info { position: absolute; top: 107px; right: 21px; border-radius: 13px; background: rgba(0, 0, 0, 0.8); border: 1px solid var(--border); padding: 19px; display: flex; flex-direction: column; gap: 8px; min-width: 360px; }
.pl-i-title { color: var(--steel); font-size: 16px; font-weight: 900; letter-spacing: 1.3px; }
.pl-i-row { display: flex; justify-content: space-between; gap: 21px; }
.pl-i-k { color: var(--muted); font-size: 17px; width: 120px; }
.pl-i-v { font-size: 17px; font-weight: 500; }
.pl-badge-tr { position: absolute; top: 21px; right: 21px; border-radius: 19px; background: rgba(255, 215, 0, 0.8); color: #000; padding: 8px 13px; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.pl-badge-tr .icon { width: 19px; height: 19px; }
.pl-black { position: absolute; inset: 0; background: #000; z-index: 30; }
.pl-black-hint { position: absolute; bottom: 80px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.35); font-size: 17px; }
.pl-toast { position: absolute; left: 50%; bottom: 200px; transform: translateX(-50%); border-radius: 12px; background: rgba(24, 24, 32, 0.95); border: 1px solid var(--steel); padding: 12px 21px; font-size: 17px; }

/* ── Search (SearchScreen.kt): title, field, mode tabs, result groups ── */
.sr-page { padding: 24px 64px 64px; gap: 21px; }
.sr-page > * { margin: 0; }
.sr-title { font-size: 32px; font-weight: 700; line-height: 37px; }
.sr-sub { color: var(--muted); font-size: 19px; margin-top: -13px; }
.sr-field { height: 64px; border-radius: 5px; background: #131317; padding: 0 16px; font-size: 19px; }
.sr-field:focus { outline: none; border-color: var(--vivid); }
.sr-tabs { display: flex; gap: 16px; }
.sr-tab { border-radius: 27px; padding: 11px 27px; font-size: 17px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); }
.sr-tab:hover { border-color: #fff; color: #fff; }
.sr-tab.selected { background: color-mix(in srgb, var(--steel) 20%, transparent); border-color: var(--steel); color: #fff; }
.sr-results { display: flex; flex-direction: column; gap: 16px; }
.sr-head { font-size: 21px; font-weight: 600; }
.sr-hint { color: var(--muted); font-size: 19px; text-align: center; padding: 64px 0; }
.sr-grid { padding: 0 0 32px; }
.sr-live-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 21px; padding-bottom: 32px; }
.sr-live-card { border-radius: 16px; overflow: hidden; background: var(--card); border: 3px solid var(--border); cursor: pointer;
  transition: transform 0.12s, border-color 0.12s; }
.sr-live-card:hover { border-color: var(--vivid); transform: scale(1.05); }
.sr-live-panel { position: relative; aspect-ratio: 16 / 10; }
.sr-live-name { display: block; padding: 11px 13px; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-guide-list { display: flex; flex-direction: column; gap: 11px; padding-bottom: 32px; }
.sr-guide-row { display: flex; align-items: center; gap: 16px; border-radius: 11px; background: var(--card); border: 1px solid var(--border);
  padding: 16px; cursor: pointer; }
.sr-guide-row:hover { border-color: var(--vivid); }
.sr-guide-logo { width: 53px; height: 53px; border-radius: 5px; object-fit: contain; flex-shrink: 0; }
.sr-guide-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sr-guide-title { font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-guide-meta { color: var(--muted); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-pill { flex-shrink: 0; border-radius: 8px; padding: 7px 13px; font-size: 16px; font-weight: 700; background: #2A2A35; color: #fff; }
.sr-pill.live { background: var(--steel); color: #0A0A0F; }

@media (max-width: 760px) {
  .sr-page { padding: 16px 14px 60px; }
  .sr-live-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .gd-pane { padding: 8px 0 0; height: calc(var(--vh100) - 60px); }
  .gd-header { min-height: 0; }
  .gd-h-right { display: none; }
  .gd-gutter, .gd-cell { width: 120px; }
  .gd-name { font-size: 13px; }
}

@media (max-width: 760px) {
  .lv-pane { height: auto; padding: 8px 0 0; }
  .lv-body { flex-direction: column; }
  .lv-list, .lv-preview { flex: none; }
  .lv-next { display: none; }
  .lv-row { height: auto; min-height: 96px; }
}

/* ── Sports Hub (SportsHubScreen.kt) — dp × 4/3 ── */
.sh { position: relative; min-height: calc(var(--vh100) - 84px); display: flex; }
.sh-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 64px; background: #101015; padding: 27px 8px; z-index: 4;
  display: flex; flex-direction: column; gap: 3px; overflow: hidden auto; transition: width 0.17s ease, padding 0.17s ease; scrollbar-width: none; }
.sh-rail:hover, .sh-rail:focus-within { width: 357px; padding: 27px 19px; }
.sh-rail-title { font-size: 27px; font-weight: 700; opacity: 0; transition: opacity 0.12s; white-space: nowrap; line-height: 32px; }
.sh-rail-sub { color: var(--muted); font-size: 15px; margin-bottom: 13px; opacity: 0; transition: opacity 0.12s; white-space: nowrap; }
.sh-rail-eyebrow { color: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: 2px; opacity: 0; transition: opacity 0.12s; white-space: nowrap; }
.sh-rail:hover .sh-rail-title, .sh-rail:hover .sh-rail-sub, .sh-rail:hover .sh-rail-eyebrow,
.sh-rail:focus-within .sh-rail-title, .sh-rail:focus-within .sh-rail-sub, .sh-rail:focus-within .sh-rail-eyebrow { opacity: 1; }
.sh-rail-gap { height: 11px; flex-shrink: 0; } .sh-rail:hover .sh-rail-gap, .sh-rail:focus-within .sh-rail-gap { height: 19px; }
.sh-rail-gap-sm { height: 8px; flex-shrink: 0; }
.sh-row { display: flex; align-items: center; gap: 0; width: 100%; border-radius: 12px; padding: 13px 8px; color: var(--muted); flex-shrink: 0;
  border: 1px solid transparent; white-space: nowrap; overflow: hidden; justify-content: flex-start; transition: padding 0.17s; }
.sh-rail:hover .sh-row, .sh-rail:focus-within .sh-row { padding: 13px 16px; gap: 16px; }
.sh-row .icon { width: 29px; height: 29px; flex-shrink: 0; }
.sh-row-label { font-size: 17px; font-weight: 500; max-width: 0; opacity: 0; overflow: hidden; transition: opacity 0.12s, max-width 0.17s; }
.sh-rail:hover .sh-row-label, .sh-rail:focus-within .sh-row-label { max-width: 280px; opacity: 1; }
.sh-row:hover, .sh-row:focus-visible { background: rgba(255, 255, 255, 0.08); color: var(--text); border-color: var(--vivid); outline: none; }
.sh-row.selected { background: color-mix(in srgb, var(--steel) 20%, transparent); color: var(--text); }
.sh-row.selected .sh-row-label { font-weight: 700; }
.sh-pane { margin-left: 64px; flex: 1; min-width: 0; padding: 29px 37px 32px; display: flex; flex-direction: column; }
.sh-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 21px; margin-bottom: 19px; }
.sh-titles { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sh-title { font-size: 32px; font-weight: 700; line-height: 37px; }
.sh-sub { color: var(--muted); font-size: 17px; }
.sh-tools { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.sh-refresh { border-radius: 24px; background: #17171C; border: 1px solid var(--border); padding: 11px 17px; font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; }
.sh-refresh:hover, .sh-refresh:focus-visible { background: var(--vivid); border-color: var(--vivid); color: var(--text); outline: none; }
.sh-seg { display: inline-flex; gap: 4px; border-radius: 12px; background: #17171C; padding: 4px; }
.sh-seg-btn { border-radius: 9px; padding: 9px 24px; font-size: 16px; font-weight: 700; color: var(--muted); }
.sh-seg-btn.selected { background: color-mix(in srgb, var(--steel) 25%, transparent); color: var(--text); }
.sh-seg-btn:hover, .sh-seg-btn:focus-visible { background: var(--vivid); color: var(--text); outline: none; }
.sh-section { display: flex; flex-direction: column; gap: 19px; }
.sh-chips { display: flex; gap: 11px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sh-datechip { border-radius: 24px; background: #17171C; border: 1px solid var(--border); padding: 11px 21px; font-size: 16px; font-weight: 700; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.sh-datechip.selected { background: color-mix(in srgb, var(--steel) 24%, transparent); border-color: var(--vivid); color: var(--text); }
.sh-datechip:hover, .sh-datechip:focus-visible { background: var(--vivid); border-color: var(--vivid); color: var(--text); outline: none; }
.sh-leaguechip { display: inline-flex; align-items: center; gap: 8px; border-radius: 24px; background: #17171C; padding: 11px 19px; font-size: 16px; font-weight: 700; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.sh-leaguechip-ic { font-size: 20px; line-height: 1; }
.sh-leaguechip.selected { background: color-mix(in srgb, var(--steel) 25%, transparent); color: var(--text); }
.sh-leaguechip:hover, .sh-leaguechip:focus-visible { background: var(--vivid); color: var(--text); outline: none; }
.sh-note { color: var(--muted); font-size: 19px; text-align: center; padding: 120px 0; }
.sh-empty { display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 120px 0; text-align: center; }
.sh-empty-title { font-size: 21px; font-weight: 700; }
.sh-empty-hint { color: var(--muted); font-size: 17px; }
.sh-list { display: flex; flex-direction: column; gap: 16px; }
/* GameCard */
.sh-card { position: relative; border-radius: 16px; border: 2px solid var(--border); overflow: hidden; cursor: pointer; display: flex; flex-shrink: 0;
  transition: transform 0.15s, border-color 0.15s; outline: none; }
.sh-card.live { border-color: color-mix(in srgb, var(--steel) 60%, transparent); }
.sh-card:hover, .sh-card:focus-visible { border-color: var(--fc); border-width: 3px; transform: scale(1.012); z-index: 1; }
.sh-card.wide { width: 480px; }
.sh-card-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--steel); }
.sh-card-mark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 171px; height: 171px; object-fit: contain; opacity: 0.075; pointer-events: none; }
.sh-card:hover .sh-card-mark { opacity: 0.12; }
.sh-card-mark-icon { position: absolute; right: -16px; top: 50%; transform: translateY(-50%); width: 99px; height: 99px; opacity: 0.08; color: var(--text); pointer-events: none; }
.sh-card-body { position: relative; display: flex; flex-direction: column; gap: 13px; padding: 21px; width: 100%; min-width: 0; }
.sh-card-top { display: flex; align-items: center; gap: 11px; }
.sh-card-league { color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-pill { border-radius: 7px; padding: 4px 11px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.sh-pill.live { background: var(--steel); color: #fff; }
.sh-pill.final { background: #2A2A31; color: var(--muted); }
.sh-pill.pre { background: #14343F; color: #48D1E0; }
.sh-card-teams { display: flex; flex-direction: column; gap: 13px; }
.sh-team { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sh-team-badge { width: 51px; height: 51px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.07); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.sh-team-badge img { width: 41px; height: 41px; object-fit: contain; }
.sh-team-abbr { color: var(--muted); font-size: 15px; font-weight: 700; }
.sh-team-name { flex: 1; min-width: 0; font-size: 21px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-team-score { font-size: 27px; font-weight: 900; font-variant-numeric: tabular-nums; min-width: 32px; text-align: right; }
.sh-star { font-size: 24px; color: var(--muted); border-radius: 50%; padding: 3px 8px; line-height: 1; }
.sh-star.on { color: #F5C518; }
.sh-star:hover, .sh-star:focus-visible { color: var(--vivid); outline: none; }
.sh-card-event { font-size: 23px; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-card-field { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-chip { align-self: flex-start; border-radius: 7px; background: rgba(72, 209, 224, 0.12); color: #48D1E0; padding: 5px 11px; font-size: 13px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sh-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 11px; }
.sh-card-hint { color: rgba(161, 161, 170, 0.9); font-size: 15px; font-weight: 500; }
.sh-card-hint.set { color: #F5C518; }
.sh-card-ok { color: var(--muted); font-size: 15px; font-weight: 900; }
.sh-card:hover .sh-card-ok, .sh-card:focus-visible .sh-card-ok { color: var(--fc); }
/* Home */
.sh-home { display: flex; flex-direction: column; gap: 24px; padding-bottom: 32px; }
.sh-spot { position: relative; height: 253px; border-radius: 21px; border: 3px solid var(--border); overflow: hidden; cursor: pointer; transition: transform 0.15s, border-color 0.15s; outline: none; }
.sh-spot:hover, .sh-spot:focus-visible { border-color: var(--fc); transform: scale(1.02); }
.sh-spot-logo { position: absolute; top: 50%; width: 253px; height: 253px; object-fit: contain; opacity: 0.11; transform: translateY(-50%); pointer-events: none; }
.sh-spot-logo.left { left: -45px; } .sh-spot-logo.right { right: -45px; }
.sh-spot:hover .sh-spot-logo { opacity: 0.16; }
.sh-spot-bar { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 176px; border-radius: 0 5px 5px 0; }
.sh-spot-content { position: relative; height: 100%; display: flex; align-items: center; gap: 32px; padding: 27px 35px; }
.sh-spot-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 13px; }
.sh-spot-league { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 15px; font-weight: 700; }
.sh-spot-yours { border-radius: 7px; background: rgba(245, 197, 24, 0.2); color: #F5C518; padding: 4px 9px; font-size: 13px; font-weight: 900; }
.sh-spot-title { font-size: 36px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.15; }
.sh-spot-sub { color: var(--muted); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-spot-right { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.sh-spot-cta { font-size: 13px; font-weight: 900; letter-spacing: 1px; }
.sh-spot-arrow { font-size: 45px; font-weight: 300; line-height: 1; }
.sh-lockup { display: flex; align-items: center; gap: 19px; }
.sh-lockup-team { display: flex; align-items: center; gap: 11px; }
.sh-lockup-badge { width: 77px; height: 77px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.10); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.sh-lockup-badge img { width: 64px; height: 64px; object-fit: contain; }
.sh-lockup-abbr { color: var(--muted); font-size: 15px; font-weight: 700; }
.sh-lockup-score { font-size: 32px; font-weight: 900; font-variant-numeric: tabular-nums; }
.sh-lockup-vs { color: var(--muted); font-size: 16px; font-weight: 900; }
.sh-metrics { display: flex; gap: 13px; }
.sh-metric { flex: 1; border-radius: 15px; border: 1px solid var(--border); padding: 19px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sh-metric-label { font-size: 13px; font-weight: 900; letter-spacing: 1.33px; }
.sh-metric-value { font-size: 32px; font-weight: 900; line-height: 1.1; }
.sh-metric-detail { color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-hhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sh-hhead-titles { display: flex; flex-direction: column; gap: 3px; }
.sh-hhead-title { font-size: 24px; font-weight: 700; }
.sh-hhead-sub { color: var(--muted); font-size: 15px; }
.sh-hrail { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; min-height: 253px; padding: 6px 4px 8px; margin: -6px -4px -8px; }
.sh-tiles { display: flex; gap: 13px; }
.sh-tile { flex: 1; position: relative; height: 149px; border-radius: 15px; border: 2px solid var(--border); overflow: hidden; text-align: left; transition: transform 0.15s, border-color 0.15s; display: flex; align-items: stretch; }
.sh-tile:hover, .sh-tile:focus-visible { border-color: var(--acc); transform: scale(1.025); outline: none; z-index: 1; }
.sh-tile-icon { position: absolute; right: -13px; top: 50%; transform: translateY(-50%); width: 77px; height: 77px; color: var(--acc); opacity: 0.14; }
.sh-tile:hover .sh-tile-icon { opacity: 0.25; }
.sh-tile-text { position: relative; padding: 19px; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.sh-tile-eyebrow { font-size: 15px; font-weight: 900; letter-spacing: 1.5px; }
.sh-tile-name { font-size: 20px; font-weight: 700; }
.sh-tile-count { color: var(--muted); font-size: 13px; }
.sh-action { border-radius: 19px; background: #17151A; border: 2px solid var(--border); padding: 24px; display: flex; flex-direction: column; gap: 7px; text-align: left; transition: border-color 0.15s; }
.sh-action:hover, .sh-action:focus-visible { border-color: var(--vivid); outline: none; }
.sh-eyebrow { color: var(--steel); font-size: 13px; font-weight: 900; letter-spacing: 1.6px; }
.sh-action-title { font-size: 24px; font-weight: 700; }
.sh-action-body { color: var(--muted); font-size: 16px; }
.sh-action-go { font-size: 17px; font-weight: 700; margin-top: 4px; }
/* Follow teams */
.sh-following { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sh-following-label { color: var(--muted); font-size: 13px; font-weight: 900; letter-spacing: 1.33px; margin-right: 4px; }
.sh-followchip { border-radius: 24px; background: rgba(245, 197, 24, 0.14); border: 1px solid rgba(245, 197, 24, 0.5); color: #F5C518; padding: 7px 14px; font-size: 14px; font-weight: 700; }
.sh-followchip:hover, .sh-followchip:focus-visible { background: var(--vivid); border-color: var(--vivid); color: var(--text); outline: none; }
.sh-teams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.sh-teampick { display: flex; align-items: center; gap: 13px; border-radius: 13px; background: var(--card); border: 2px solid var(--border); padding: 13px; text-align: left; transition: transform 0.15s, border-color 0.15s; min-width: 0; }
.sh-teampick.on { border-color: #F5C518; }
.sh-teampick:hover, .sh-teampick:focus-visible { border-color: var(--acc); transform: scale(1.025); outline: none; z-index: 1; }
.sh-teampick-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sh-teampick-name { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-teampick-sub { color: var(--muted); font-size: 15px; }
.sh-teampick.on .sh-teampick-sub { color: #F5C518; }
/* Sports channels */
.sh-chgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sh-ch { display: flex; align-items: center; gap: 16px; border-radius: 13px; background: var(--card); border: 2px solid var(--border); padding: 13px 16px; text-align: left; min-width: 0; }
.sh-ch:hover, .sh-ch:focus-visible { border-color: var(--vivid); background: #1B1B22; outline: none; }
.sh-ch-logo { width: 75px; height: 56px; border-radius: 8px; background: #0F0F13; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.sh-ch-logo img { max-width: 64px; max-height: 48px; object-fit: contain; }
.sh-ch-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sh-ch-name { font-size: 19px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-ch-now { color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Standings */
.sh-standings { display: flex; flex-direction: column; gap: 3px; }
.sh-st-group { font-size: 20px; font-weight: 700; margin: 8px 0; }
.sh-st-row { display: flex; align-items: center; gap: 0; border-radius: 11px; padding: 11px 16px; border: 1px solid transparent; outline: none; }
.sh-st-row.head { padding: 5px 16px; color: var(--muted); font-size: 15px; font-weight: 700; }
.sh-st-row:not(.head):hover, .sh-st-row:not(.head):focus-visible { background: #1B1B22; border-color: var(--vivid); }
.sh-st-rank { width: 37px; font-size: 17px; flex-shrink: 0; }
.sh-st-logo { width: 35px; height: 35px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-right: 11px; flex-shrink: 0; }
.sh-st-logo img { width: 29px; height: 29px; object-fit: contain; }
.sh-st-team { flex: 1; min-width: 0; font-size: 19px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-st-stat { width: 61px; text-align: right; font-size: 17px; font-weight: 500; color: var(--muted); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.sh-st-stat.strong { color: var(--text); font-weight: 700; }
.sh-st-row.head .sh-st-stat { font-size: 15px; font-weight: 700; }
/* Sheets */
.sh-back { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; zoom: var(--zoom); }
.sh-sheet { background: #121218; border: 1px solid var(--border); border-radius: 21px; padding: 27px; display: flex; flex-direction: column; gap: 16px; max-height: calc(var(--vh100) - 40px); overflow-y: auto; }
.sh-sheet-title { font-size: 24px; font-weight: 700; }
.sh-sheet-sub { color: var(--muted); font-size: 16px; }
.sh-watch { width: 50%; min-width: 520px; }
.sh-watch-list { display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow-y: auto; }
.sh-watch-row { display: flex; align-items: center; gap: 16px; border-radius: 13px; background: rgba(255,255,255,0.04); border: 2px solid transparent; padding: 13px 16px; text-align: left; }
.sh-watch-row:hover, .sh-watch-row:focus-visible { background: rgba(0, 229, 255, 0.16); border-color: var(--vivid); outline: none; }
.sh-watch-logo { width: 53px; height: 53px; border-radius: 8px; background: #0F0F13; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.sh-watch-logo img { width: 45px; height: 45px; object-fit: contain; }
.sh-watch-name { flex: 1; min-width: 0; font-size: 19px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-watch-go { font-size: 17px; }
.sh-watch-divider { color: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: 1.33px; padding: 11px 0 3px; }
.sh-gc { width: 90%; height: 92%; border-radius: 24px; padding: 35px; gap: 21px; }
.sh-gc-head { display: flex; align-items: center; gap: 11px; }
.sh-gc-status { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: var(--muted); }
.sh-gc-status.live { color: #FF3B4E; }
.sh-pulse { width: 12px; height: 12px; border-radius: 50%; background: #FF3B4E; animation: sh-pulse 0.7s ease-in-out infinite alternate; }
@keyframes sh-pulse { from { opacity: 0.35; } to { opacity: 1; } }
.sh-gc-league { color: var(--muted); font-size: 17px; font-weight: 700; }
.sh-gc-close { width: 44px; height: 44px; border-radius: 50%; font-size: 20px; color: var(--muted); }
.sh-gc-close:hover, .sh-gc-close:focus-visible { background: var(--vivid); color: var(--text); outline: none; }
.sh-gc-board { flex: 1; display: flex; align-items: center; justify-content: center; gap: 64px; }
.sh-gc-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 200px; }
.sh-gc-badge { width: 53px; height: 53px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.10); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.sh-gc-badge img { width: 45px; height: 45px; object-fit: contain; }
.sh-gc-abbr { font-size: 20px; font-weight: 900; }
.sh-gc-abbr-fallback { color: var(--muted); font-size: 15px; font-weight: 700; }
.sh-gc-name { color: var(--muted); font-size: 15px; }
.sh-gc-score { font-size: 69px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.sh-gc-sep { color: var(--muted); font-size: 40px; font-weight: 300; }
.sh-gc-event { font-size: 32px; font-weight: 900; text-align: center; }
.sh-gc-field { color: var(--muted); font-size: 17px; padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
.sh-gc-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sh-gc-venue { color: var(--muted); font-size: 15px; }
.sh-gc-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.sh-dbtn { border-radius: 12px; border: 1px solid var(--border); background: #1B1B22; padding: 13px 24px; font-size: 17px; font-weight: 700; color: var(--text); }
.sh-dbtn.primary { background: color-mix(in srgb, var(--steel) 30%, transparent); }
.sh-dbtn:hover, .sh-dbtn:focus-visible { background: var(--vivid); border-color: var(--vivid); color: var(--ground); outline: none; }
.sh-gd { width: 74%; max-height: 853px; padding: 29px; }
.sh-gd-title { font-size: 32px; font-weight: 900; }
.sh-gd-sub { color: var(--muted); font-size: 17px; }
@media (max-width: 1099px) {
  .sh-rail { position: static; width: 100%; flex-direction: row; flex-wrap: wrap; padding: 8px; }
  .sh-rail-title, .sh-rail-sub, .sh-rail-eyebrow, .sh-rail-gap, .sh-rail-gap-sm { display: none; }
  .sh { flex-direction: column; }
  .sh-pane { margin-left: 0; padding: 16px; }
  .sh-tiles { flex-wrap: wrap; } .sh-tile { flex: 1 1 40%; }
  .sh-teams, .sh-chgrid { grid-template-columns: 1fr 1fr; }
  .sh-watch, .sh-gd { width: 100%; min-width: 0; }
}

/* ── Splash (SplashScreen.kt): #0B0B14→#150E26, brand bloom, mark 240×206dp, wordmark 44sp Black ── */
.splash { position: fixed; inset: 0; z-index: 100; background: linear-gradient(180deg, #0B0B14, #150E26); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.splash-bloom { position: absolute; inset: 0; pointer-events: none; }
.splash-col { position: relative; display: flex; flex-direction: column; align-items: center; gap: 13px; will-change: transform; }
.splash-mark { width: 320px; height: 275px; object-fit: contain; will-change: transform; }
.splash-wordwrap { position: relative; opacity: 0; will-change: transform, opacity; }
.splash-word, .splash-sheen { font-size: 59px; font-weight: 900; line-height: 1.1; white-space: nowrap; display: flex; }
.splash-kimber { color: #22D3EE; } .splash-play { color: #D946EF; }
.splash-sheen { position: absolute; inset: 0; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), transparent); background-repeat: no-repeat; opacity: 0; pointer-events: none; }

/* ── Browse (BrowseScreen.kt) ── */
.rail { overflow: hidden auto; scrollbar-width: none; }
.br-page { padding: 21px 64px 32px; display: flex; flex-direction: column; gap: 21px; }
.br-head { display: flex; flex-direction: column; gap: 5px; }
.br-title { font-size: 37px; font-weight: 700; }
.br-sub { color: var(--muted); font-size: 19px; }
.br-search { box-sizing: border-box; height: 64px; border-radius: 5px; background: #131317; font-size: 19px; padding: 0 16px; width: 100%; }
.br-search::placeholder { color: #6B6B7D; }
.br-search:focus { border-color: var(--vivid); outline: none; }
.br-chips { display: flex; gap: 13px; overflow-x: auto; scrollbar-width: none; padding: 5px 0; }
.br-chip { border-radius: 27px; background: var(--card); border: 1px solid var(--border); padding: 11px 21px; font-size: 16px; font-weight: 500; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.br-chip.selected { background: var(--steel); border-color: var(--steel); color: var(--ground); }
.br-chip:hover, .br-chip:focus-visible { background: rgba(0, 229, 255, 0.2); border-color: var(--vivid); color: var(--text); outline: none; }
.br-chip.selected:hover { background: var(--steel); color: var(--ground); }
.br-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 21px; padding-bottom: 43px; }
.br-item { display: flex; flex-direction: column; gap: 8px; cursor: pointer; outline: none; transition: transform 0.15s; min-width: 0; }
.br-item:hover, .br-item:focus-visible { transform: scale(1.06); z-index: 1; }
.br-card { position: relative; aspect-ratio: 1.6; border-radius: 11px; background: var(--card); border: 2px solid transparent; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.br-item:hover .br-card, .br-item:focus-visible .br-card { border-color: var(--vivid); }
.br-card img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.br-card.fallback { background: linear-gradient(135deg, #1E3A8A, #1E1B4B); }
.br-fallback { font-size: 32px; font-weight: 800; }
.br-live { position: absolute; top: 11px; left: 11px; border-radius: 5px; background: var(--steel); color: var(--ground); padding: 3px 8px; font-size: 13px; font-weight: 700; }
.br-focus { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.12s; }
.br-focus .icon { width: 48px; height: 48px; border-radius: 50%; background: var(--steel); color: var(--ground); padding: 8px; }
.br-item:hover .br-focus, .br-item:focus-visible .br-focus { opacity: 1; }
.br-name { font-size: 17px; padding: 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-item:hover .br-name, .br-item:focus-visible .br-name { color: var(--vivid); }
.br-cat { color: var(--muted); font-size: 15px; padding: 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 120px 0; text-align: center; }
.k-state-title { font-size: 23px; font-weight: 700; }
.k-state-body { color: var(--muted); font-size: 17px; line-height: 25px; }
.k-state-retry { border-radius: 11px; background: var(--steel); color: var(--ground); padding: 11px 24px; font-size: 17px; font-weight: 700; }
/* ── Recordings (RecordingsScreen.kt) ── */
.rc-page { padding: 21px 64px 32px; display: flex; flex-direction: column; gap: 27px; min-height: calc(var(--vh100) - 84px); }
.rc-head { display: flex; align-items: center; justify-content: space-between; gap: 21px; }
.rc-titles { display: flex; flex-direction: column; gap: 4px; }
.rc-title, .rm-title { font-size: 32px; font-weight: 700; line-height: 37px; }
.rc-sub, .rm-sub { color: var(--muted); font-size: 17px; }
.rc-tabs { display: flex; gap: 16px; }
.rc-tab { border-radius: 27px; border: 1px solid var(--border); padding: 11px 27px; font-size: 16px; font-weight: 600; color: var(--text); }
.rc-tab.selected { background: color-mix(in srgb, var(--steel) 20%, transparent); border-color: var(--steel); }
.rc-tab:hover, .rc-tab:focus-visible { border-color: var(--text); outline: none; }
.rc-empty { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 19px; line-height: 29px; white-space: pre-line; }
/* ── Reminders (RemindersScreen.kt) ── */
.rm-page { padding: 21px 64px 32px; display: flex; flex-direction: column; gap: 27px; min-height: calc(var(--vh100) - 84px); }
.rm-head { display: flex; flex-direction: column; gap: 4px; padding-top: 5px; }
.rm-empty { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 19px; }
.rm-list { display: flex; flex-direction: column; gap: 13px; }
.rm-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 11px; background: var(--card); border: 1px solid var(--border); padding: 21px; }
.rm-row:focus-within { border-color: var(--vivid); }
.rm-left { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 0.7; }
.rm-bell { width: 27px; height: 27px; color: #FFD700; flex-shrink: 0; }
.rm-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.rm-prog { font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-meta { color: var(--muted); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-actions { display: flex; gap: 11px; flex-shrink: 0; }
.rm-btn { border-radius: 8px; padding: 9px 19px; font-size: 15px; font-weight: 600; color: #fff; }
.rm-btn.tune { background: var(--steel); }
.rm-btn.cancel { background: #2A2A35; }
.rm-btn:hover, .rm-btn:focus-visible { background: var(--vivid); color: var(--ground); outline: none; }
@media (max-width: 1099px) { .br-page, .rc-page, .rm-page { padding: 16px; } .br-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Private / After Dark (AfterDarkScreen.kt): its own ember/crimson palette, never the skin's ── */
.pv-page { position: relative; display: flex; min-height: calc(var(--vh100) - 84px); background: linear-gradient(180deg, #1A050A, #070308); padding: 0; }
.pv-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 59px; background: #120609; padding: 21px 7px; z-index: 4; display: flex; flex-direction: column; gap: 13px; overflow: hidden auto; scrollbar-width: none; transition: width 0.17s ease, padding 0.17s ease; }
.pv-bar:hover, .pv-bar:focus-within { width: 373px; padding: 21px 21px; }
.pv-bar-title { font-size: 29px; font-weight: 700; opacity: 0; white-space: nowrap; transition: opacity 0.12s; }
.pv-search { display: flex; align-items: center; gap: 11px; border-radius: 13px; background: rgba(255,255,255,0.06); border: 1px solid #3A1620; padding: 12px 16px; opacity: 0; transition: opacity 0.12s; }
.pv-search:focus-within { border-color: #FF2D55; }
.pv-search .icon { width: 21px; height: 21px; color: var(--muted); flex-shrink: 0; }
.pv-search-input { background: none; border: 0; color: var(--text); font-size: 17px; width: 100%; outline: none; caret-color: #FF2D55; font-family: inherit; }
.pv-search-input::placeholder { color: var(--muted); }
.pv-chips { display: flex; gap: 11px; opacity: 0; transition: opacity 0.12s; }
.pv-chip { border-radius: 21px; background: #1B0A10; border: 1px solid #3A1620; padding: 9px 19px; font-size: 15px; font-weight: 700; color: var(--muted); }
.pv-chip.selected { background: rgba(255,59,0,0.25); border-color: #FF3B00; color: var(--text); }
.pv-chip:hover, .pv-chip:focus-visible { background: #FF2D55; border-color: #FF3B00; color: #fff; outline: none; }
.pv-eyebrow { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 1.9px; opacity: 0; white-space: nowrap; transition: opacity 0.12s; }
.pv-gap-sm { height: 3px; flex-shrink: 0; } .pv-gap-xs { height: 5px; flex-shrink: 0; }
.pv-bar:hover .pv-bar-title, .pv-bar:hover .pv-search, .pv-bar:hover .pv-chips, .pv-bar:hover .pv-eyebrow,
.pv-bar:focus-within .pv-bar-title, .pv-bar:focus-within .pv-search, .pv-bar:focus-within .pv-chips, .pv-bar:focus-within .pv-eyebrow { opacity: 1; }
.pv-row { display: flex; align-items: center; gap: 11px; width: 100%; border-radius: 11px; padding: 12px 5px; border: 1px solid transparent; color: var(--muted); font-size: 17px; white-space: nowrap; overflow: hidden; text-align: left; flex-shrink: 0; transition: padding 0.17s; }
.pv-bar:hover .pv-row, .pv-bar:focus-within .pv-row { padding: 12px 16px; }
.pv-row-mark { width: 5px; height: 27px; border-radius: 3px; background: transparent; flex-shrink: 0; }
.pv-row.selected .pv-row-mark { background: #FF2D55; }
.pv-bar:hover .pv-row-mark, .pv-bar:focus-within .pv-row-mark { display: none; }
.pv-row-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity 0.12s; }
.pv-row-count { font-size: 15px; color: var(--muted); opacity: 0; transition: opacity 0.12s; }
.pv-bar:hover .pv-row-label, .pv-bar:hover .pv-row-count, .pv-bar:focus-within .pv-row-label, .pv-bar:focus-within .pv-row-count { opacity: 1; }
.pv-row.selected { background: rgba(255,45,85,0.22); color: #fff; }
.pv-row.selected .pv-row-label { font-weight: 700; }
.pv-row:hover, .pv-row:focus-visible { background: rgba(255,255,255,0.08); border-color: #FF2D55; color: #fff; outline: none; }
.pv-cats { display: flex; flex-direction: column; gap: 3px; }
.pv-content { margin-left: 59px; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pv-top { display: flex; align-items: center; gap: 13px; padding: 21px 43px 8px 32px; }
.pv-top-lock { width: 29px; height: 29px; color: #FF2D55; }
.pv-title { font-size: 29px; font-weight: 900; color: #fff; }
.pv-barbtn { display: inline-flex; align-items: center; gap: 9px; border-radius: 13px; background: rgba(255,255,255,0.08); border: 1px solid transparent; padding: 11px 19px; font-size: 16px; font-weight: 700; color: var(--text); margin-left: 13px; }
.pv-barbtn .icon { width: 20px; height: 20px; }
.pv-barbtn.emphasized { background: rgba(255,59,0,0.28); border-color: #FF3B00; }
.pv-barbtn:hover, .pv-barbtn:focus-visible { background: #FF2D55; border-color: #FF3B00; color: #fff; outline: none; }
.pv-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; text-align: center; padding: 40px 20%; }
.pv-empty-lock { width: 59px; height: 59px; color: #FF2D55; }
.pv-empty-title { font-size: 24px; font-weight: 700; }
.pv-empty-body { color: var(--muted); font-size: 17px; }
.pv-scroll { display: flex; flex-direction: column; gap: 19px; padding: 5px 43px 53px 32px; }
.pv-hero { position: relative; height: 309px; border-radius: 21px; background: #1B0A10; border: 1px solid #3A1620; overflow: hidden; cursor: pointer; outline: none; }
.pv-hero-art { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(24px); }
.pv-hidden .pv-hero-art { filter: blur(45px); }
.pv-hero-scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.pv-hidden .pv-hero-scrim { background: rgba(0,0,0,0.8); }
.pv-hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.9), rgba(0,0,0,0.4), transparent); }
.pv-hero-col { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; padding: 29px 0 27px 37px; display: flex; flex-direction: column; justify-content: center; }
.pv-hero-badges { display: flex; align-items: center; gap: 11px; }
.pv-hero-badge { border-radius: 4px; background: #FF2D55; color: #fff; padding: 3px 9px; font-size: 15px; font-weight: 900; }
.pv-hero-cat { color: var(--muted); font-size: 15px; font-weight: 600; }
.pv-hero-title { font-size: 35px; font-weight: 900; line-height: 40px; color: #fff; margin-top: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pv-hero-watch { display: inline-flex; align-items: center; gap: 11px; align-self: flex-start; margin-top: 21px; border-radius: 11px; background: #FF2D55; color: #fff; padding: 13px 32px; font-size: 19px; font-weight: 700; }
.pv-hero-watch .icon { width: 24px; height: 24px; }
.pv-hero-watch:hover, .pv-hero-watch:focus-visible { background: #fff; color: #000; outline: none; }
.pv-dots { position: absolute; right: 24px; bottom: 24px; display: flex; gap: 8px; }
.pv-dot { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.35); transition: width 0.2s; }
.pv-dot.on { width: 27px; background: #FF3B00; }
.pv-railhead { display: flex; align-items: center; gap: 13px; padding-top: 8px; }
.pv-railbar { width: 5px; height: 24px; border-radius: 3px; background: #FF3B00; }
.pv-railtitle { font-size: 24px; font-weight: 700; }
.pv-rail { display: flex; gap: 19px; overflow-x: auto; scrollbar-width: none; padding: 8px 4px; margin: -8px -4px; }
.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(187px, 1fr)); gap: 19px; }
.pv-grid.live { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.pv-poster { width: 100%; border-radius: 16px; background: #1B0A10; border: 2px solid #3A1620; overflow: hidden; cursor: pointer; outline: none; position: relative; aspect-ratio: 140 / 200; transition: transform 0.15s, border-color 0.15s; }
.pv-poster.rail { width: 200px; flex-shrink: 0; aspect-ratio: 150 / 210; }
.pv-poster:hover, .pv-poster:focus-visible { border-color: #FF2D55; transform: scale(1.07); z-index: 1; }
.pv-poster-art { position: absolute; inset: 0; }
.pv-poster-art img { width: 100%; height: 100%; object-fit: cover; filter: blur(21px); transform: scale(1.15); transition: filter 0.2s; }
.pv-poster:hover .pv-poster-art img, .pv-poster:focus-visible .pv-poster-art img { filter: none; transform: none; }
.pv-hidden .pv-poster:hover .pv-poster-art img, .pv-hidden .pv-poster:focus-visible .pv-poster-art img { filter: blur(21px); transform: scale(1.15); }
.pv-scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.72); transition: background 0.2s; }
.pv-poster:hover .pv-scrim, .pv-poster:focus-visible .pv-scrim { background: rgba(0,0,0,0.12); }
.pv-hidden .pv-scrim, .pv-hidden .pv-poster:hover .pv-scrim, .pv-hidden .pv-poster:focus-visible .pv-scrim { background: rgba(0,0,0,0.85); }
.pv-poster-lock { position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; transform: translate(-50%, -50%); color: rgba(255,255,255,0.32); }
.pv-poster:hover .pv-poster-lock, .pv-poster:focus-visible .pv-poster-lock { display: none; }
.pv-hidden .pv-poster:hover .pv-poster-lock, .pv-hidden .pv-poster:focus-visible .pv-poster-lock { display: block; }
.pv-poster-grad { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.82)); }
.pv-poster-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 11px 12px; font-size: 15px; font-weight: 600; line-height: 17px; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pv-live { display: flex; align-items: center; gap: 16px; height: 149px; border-radius: 16px; background: #1B0A10; border: 2px solid #3A1620; padding: 16px; cursor: pointer; outline: none; transition: transform 0.15s, border-color 0.15s; }
.pv-live:hover, .pv-live:focus-visible { border-color: #FF2D55; transform: scale(1.035); z-index: 1; }
.pv-live-logo { position: relative; width: 99px; height: 99px; border-radius: 12px; background: rgba(0,0,0,0.45); overflow: hidden; flex-shrink: 0; }
.pv-live-logo img { width: 100%; height: 100%; object-fit: contain; filter: blur(16px); }
.pv-live:hover .pv-live-logo img, .pv-live:focus-visible .pv-live-logo img { filter: none; }
.pv-hidden .pv-live:hover .pv-live-logo img, .pv-hidden .pv-live:focus-visible .pv-live-logo img { filter: blur(16px); }
.pv-live-logo .pv-scrim { background: rgba(0,0,0,0.62); }
.pv-live:hover .pv-live-logo .pv-scrim, .pv-live:focus-visible .pv-live-logo .pv-scrim { background: transparent; }
.pv-hidden .pv-live-logo .pv-scrim, .pv-hidden .pv-live:hover .pv-live-logo .pv-scrim { background: rgba(0,0,0,0.85); }
.pv-live-badge { position: absolute; left: 0; top: 0; z-index: 1; border-radius: 4px; background: #FF2D55; color: #fff; padding: 3px 7px; font-size: 15px; font-weight: 900; }
.pv-live-col { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pv-live-name { font-size: 19px; font-weight: 700; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pv-live-cat { color: var(--muted); font-size: 13px; }
.pv-live-hint { color: #FF3B00; font-size: 13px; font-weight: 700; opacity: 0; }
.pv-live:hover .pv-live-hint, .pv-live:focus-visible .pv-live-hint { opacity: 1; }
.pv-hidden .pv-live-hint { opacity: 0 !important; }
.pv-nomatch { grid-column: 1 / -1; padding-top: 53px; text-align: center; color: var(--muted); font-size: 19px; }
.pv-dialog { border-radius: 21px; background: #120609; border: 1px solid #3A1620; padding: 27px; display: flex; flex-direction: column; gap: 13px; max-width: calc(100% - 40px); }
.pv-dialog-title { font-size: 20px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-dialog-hint { color: var(--muted); font-size: 16px; line-height: 21px; }
.pv-action { width: 100%; border-radius: 11px; padding: 13px 16px; text-align: left; font-size: 19px; color: var(--muted); }
.pv-action:hover, .pv-action:focus-visible { background: rgba(255,45,85,0.28); color: #fff; font-weight: 700; outline: none; }
/* PinLockDialog.kt */
.pk-box { width: 480px; max-width: calc(100% - 40px); box-sizing: border-box; border-radius: 21px; background: #121218; border: 1px solid var(--border); padding: 32px; display: flex; flex-direction: column; align-items: center; gap: 21px; }
.pk-eyebrow { color: var(--steel); font-size: 16px; font-weight: 700; letter-spacing: 1.33px; }
.pk-status { font-size: 20px; font-weight: 600; text-align: center; min-height: 24px; }
.pk-status.error { color: var(--steel); }
.pk-dots { display: flex; gap: 16px; }
.pk-dot { width: 19px; height: 19px; border-radius: 50%; background: #2E2E38; border: 1px solid var(--border); box-sizing: border-box; }
.pk-dot.on { background: var(--steel); border-color: var(--steel); }
.pk-gap { height: 11px; }
.pk-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.pk-key { aspect-ratio: 1.5; border-radius: 11px; background: #19191F; border: 1px solid var(--border); font-size: 21px; font-weight: 700; color: var(--text); }
.pk-key:hover, .pk-key:focus-visible { background: var(--vivid); border-color: var(--text); outline: none; }
@media (max-width: 1099px) {
  .pv-bar { position: static; width: 100%; padding: 12px; }
  .pv-bar .pv-bar-title, .pv-bar .pv-search, .pv-bar .pv-chips, .pv-bar .pv-eyebrow, .pv-row-label, .pv-row-count { opacity: 1; }
  .pv-row-mark { display: none; }
  .pv-page { flex-direction: column; }
  .pv-content { margin-left: 0; }
  .pv-top, .pv-scroll { padding-left: 16px; padding-right: 16px; }
  .pv-hero-col { width: 100%; }
}

/* ── Onboarding (OnboardingScreen.kt): 380dp gradient panel + the form ── */
.wizard.ob { display: flex; min-height: var(--vh100); background: var(--ground); }
.ob-side { width: 507px; flex-shrink: 0; background: linear-gradient(180deg, #16121F, #0A0A0D); padding: 53px; display: flex; flex-direction: column; justify-content: center; }
.ob-brand { font-size: 37px; margin-bottom: 27px; }
.ob-h { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.ob-body { color: var(--muted); font-size: 19px; line-height: 27px; margin-bottom: 27px; }
.ob-note { color: rgba(161, 161, 170, 0.7); font-size: 16px; }
.ob-legal { margin-top: 13px; }
.ob-main { flex: 1; min-width: 0; padding: 53px 64px; overflow-y: auto; display: flex; flex-direction: column; gap: 21px; }
.ob-title { font-size: 29px; font-weight: 700; }
.ob-types { display: flex; gap: 16px; }
.ob-type { flex: 1; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; border-radius: 16px; background: var(--card); border: 2px solid var(--border); padding: 21px; text-align: left; color: var(--muted); }
.ob-type b { font-size: 20px; font-weight: 700; } .ob-type small { font-size: 15px; color: var(--muted); }
.ob-type.selected { background: color-mix(in srgb, var(--steel) 18%, transparent); border-color: var(--steel); color: var(--text); }
.ob-type:hover, .ob-type:focus-visible { border-color: #fff; color: var(--text); outline: none; }
.ob-gap { height: 5px; } .ob-gap-lg { height: 13px; }
.ob-label { color: var(--muted); font-size: 16px; font-weight: 600; margin-bottom: -13px; }
.ob-field, .iw-field, .iw-search { box-sizing: border-box; height: 64px; border-radius: 5px; background: #131317; border: 1px solid var(--border); font-size: 19px; padding: 0 16px; width: 100%; color: var(--text); }
.ob-field::placeholder, .iw-field::placeholder, .iw-search::placeholder { color: #6B6B7D; }
.ob-field:focus, .iw-field:focus, .iw-search:focus { border-color: var(--vivid); outline: none; }
.ob-buttons { display: flex; gap: 21px; flex-wrap: wrap; }
.ob-btn { border-radius: 13px; padding: 16px 37px; font-size: 20px; font-weight: 700; background: rgba(255,255,255,0.14); color: #fff; }
.ob-btn.primary { background: #fff; color: #000; }
.ob-btn:hover, .ob-btn:focus-visible { background: var(--vivid); color: #fff; outline: none; }
.ob-status { min-height: 20px; }
/* ── Import wizard (ImportWizardDialog.kt): full-screen tuner, 70/30 ── */
.iw { position: fixed; inset: 0; z-index: 60; background: linear-gradient(180deg, #0A0A0E, #141420); padding: 21px; zoom: var(--zoom); overflow: hidden; }
.iw-row { display: flex; gap: 21px; height: 100%; }
.iw-left { flex: 7; min-width: 0; display: flex; flex-direction: column; }
.iw-right { flex: 3; min-width: 0; }
.iw-head { display: flex; align-items: center; gap: 13px; }
.iw-brand { font-size: 32px; }
.iw-title { font-size: 29px; font-weight: 700; }
.iw-stepline { color: var(--steel); font-size: 17px; font-weight: 600; margin-top: 5px; }
.iw-dots { display: flex; align-items: center; gap: 11px; margin-top: 11px; }
.iw-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.iw-dot.on { background: var(--steel); } .iw-dot.current { width: 13px; height: 13px; }
.iw-dots-title { color: var(--muted); font-size: 15px; }
.iw-hairline { height: 1px; background: rgba(255,255,255,0.08); margin-top: 8px; }
.iw-content { flex: 1; min-height: 0; overflow-y: auto; padding: 13px 0; }
.iw-step { display: flex; flex-direction: column; gap: 13px; }
.iw-desc { color: var(--muted); font-size: 16px; line-height: 21px; }
.iw-h { font-size: 19px; font-weight: 600; }
.iw-h.warn { color: #FFAB40; }
.iw-hint { color: var(--muted); font-size: 15px; }
.iw-presets { display: flex; gap: 13px; }
.iw-preset { flex: 1; border-radius: 11px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); padding: 13px 16px; font-size: 16px; font-weight: 700; color: var(--text); text-align: center; }
.iw-preset.selected { background: color-mix(in srgb, var(--steel) 20%, transparent); border-color: var(--steel); }
.iw-preset:hover, .iw-preset:focus-visible { border-color: #fff; outline: none; }
.iw-buckets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px 13px; }
.iw-region { grid-column: 1 / -1; color: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: 1.33px; padding-top: 8px; }
.iw-bucket { display: flex; align-items: center; gap: 8px; border-radius: 11px; background: rgba(0,0,0,0.2); border: 1px solid var(--border); padding: 8px 13px; cursor: pointer; transition: transform 0.12s; min-width: 0; }
.iw-bucket.checked { background: color-mix(in srgb, var(--steel) 12%, transparent); border-color: var(--steel); }
.iw-bucket:hover, .iw-bucket:focus-within { border-color: #fff; background: rgba(255,255,255,0.04); transform: scale(1.02); }
.iw-bucket input { width: 27px; height: 27px; accent-color: var(--steel); flex-shrink: 0; margin: 0; }
.iw-bucket-label { flex: 1; min-width: 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iw-bucket-count { color: var(--muted); font-size: 15px; font-weight: 700; flex-shrink: 0; }
.iw-bucket-count.on { color: var(--steel); }
.iw-cat { padding: 11px 16px; gap: 11px; }
.iw-tabs { display: flex; align-items: center; gap: 13px; }
.iw-tab { border-radius: 27px; background: #1E1E28; padding: 11px 24px; font-size: 16px; font-weight: 700; color: #fff; }
.iw-tab.selected { background: var(--steel); }
.iw-tab:hover, .iw-tab:focus-visible { background: var(--vivid); outline: none; }
.iw-search { width: 293px; height: 56px; }
.iw-counter { display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.iw-showing { color: var(--muted); font-size: 16px; }
.iw-bulk { display: flex; gap: 11px; }
.iw-bulk-btn { border-radius: 27px; padding: 8px 16px; font-size: 13px; font-weight: 700; color: #fff; }
.iw-bulk-btn.all { background: #2E7D32; } .iw-bulk-btn.none { background: #C62828; }
.iw-bulk-btn:hover, .iw-bulk-btn:focus-visible { filter: brightness(1.25); outline: none; }
.iw-empty { color: var(--muted); font-size: 19px; text-align: center; padding: 80px 0; }
.iw-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 13px; }
.iw-cols { display: flex; gap: 32px; }
.iw-col { flex: 1; display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.iw-toggle { display: flex; align-items: center; justify-content: space-between; gap: 13px; border-radius: 11px; background: rgba(255,255,255,0.04); padding: 11px 16px; cursor: pointer; }
.iw-toggle-label { font-size: 17px; }
.iw-switch-input { position: absolute; opacity: 0; width: 0; height: 0; }
.iw-switch { position: relative; width: 69px; height: 43px; border-radius: 22px; background: #3A3A44; border: 2px solid #6B6B7D; transition: background 0.15s; flex-shrink: 0; box-sizing: border-box; }
.iw-switch::after { content: ""; position: absolute; top: 50%; left: 6px; width: 21px; height: 21px; border-radius: 50%; background: #A1A1AA; transform: translateY(-50%); transition: left 0.15s, width 0.15s, height 0.15s, background 0.15s; }
.iw-switch.on { background: color-mix(in srgb, var(--steel) 40%, transparent); border-color: var(--steel); }
.iw-switch.on::after { left: 32px; width: 32px; height: 32px; background: var(--steel); }
.iw-toggle:focus-within .iw-switch { border-color: var(--vivid); }
.iw-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.iw-badge { border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); padding: 8px 13px; font-size: 15px; font-weight: 700; color: var(--text); }
.iw-badge.checked { background: color-mix(in srgb, var(--steel) 20%, transparent); border-color: var(--steel); }
.iw-badge:hover, .iw-badge:focus-visible { border-color: #fff; outline: none; }
.iw-skip { display: flex; flex-direction: column; gap: 8px; }
.iw-foot { display: flex; gap: 16px; padding-top: 13px; }
.iw-nav { flex: 1; border-radius: 27px; padding: 15px 24px; font-size: 17px; font-weight: 700; }
.iw-nav.back { background: var(--card); color: var(--text); }
.iw-nav.next { background: var(--steel); color: var(--ground); }
.iw-nav.build { flex: 1.3; }
.iw-nav:hover, .iw-nav:focus-visible { background: var(--vivid); color: var(--ground); outline: none; }
.iw-preview { height: 100%; box-sizing: border-box; border-radius: 16px; background: rgba(0,0,0,0.4); border: 1px solid var(--border); padding: 21px; display: flex; flex-direction: column; justify-content: space-between; }
.iw-preview-top { display: flex; flex-direction: column; gap: 16px; }
.iw-preview-head { display: flex; align-items: center; gap: 11px; }
.iw-status-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--muted); }
.iw-status-dot.busy { background: var(--steel); } .iw-status-dot.ok { background: #4CAF50; }
.iw-preview-label { font-size: 15px; font-weight: 700; letter-spacing: 1.33px; }
.iw-preview-note { color: var(--muted); font-size: 16px; line-height: 21px; }
.iw-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.iw-stat { border-radius: 11px; background: rgba(255,255,255,0.04); padding: 13px; display: flex; flex-direction: column; gap: 3px; }
.iw-stat-label { color: var(--muted); font-size: 13px; }
.iw-stat-value { font-size: 21px; font-weight: 700; }
@media (max-width: 1099px) {
  .wizard.ob { flex-direction: column; } .ob-side { width: auto; padding: 32px 24px; } .ob-main { padding: 24px; }
  .iw-row { flex-direction: column; } .iw-right { display: none; }
  .iw-buckets { grid-template-columns: 1fr 1fr; } .iw-cols { flex-direction: column; }
}

/* ── Language (LanguagePickerDialog.kt + the Terms chip) ── */
.lang-chip { display: inline-flex; align-items: center; gap: 11px; border-radius: 999px; background: rgba(255,255,255,0.10); border: 1px solid var(--border); padding: 11px 19px; font-size: 17px; font-weight: 600; color: var(--text); }
.lang-chip .icon { width: 21px; height: 21px; color: var(--muted); }
.lang-chip:hover, .lang-chip:focus-visible { background: var(--vivid); border-color: var(--vivid); color: #fff; outline: none; }
.lang-chip:hover .icon, .lang-chip:focus-visible .icon { color: #fff; }
.lang-box { width: 50%; min-width: 420px; max-width: calc(100% - 40px); box-sizing: border-box; border-radius: 21px; background: rgba(18, 18, 24, 0.97); border: 1px solid color-mix(in srgb, var(--steel) 50%, transparent); padding: 32px; display: flex; flex-direction: column; gap: 5px; max-height: calc(var(--vh100) - 40px); overflow-y: auto; }
.lang-title { font-size: 24px; font-weight: 700; }
.lang-sub { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
.lang-row { width: 100%; text-align: left; border-radius: 27px; padding: 13px 21px; font-size: 19px; color: var(--text); }
.lang-row.current { font-weight: 700; }
.lang-row:hover, .lang-row:focus-visible { background: var(--vivid); color: var(--ground); outline: none; }

/* ── Playlists Manager (multi-playlist) ── */
.source-pill.btn-pill { cursor: pointer; }
.source-pill.btn-pill:hover, .source-pill.btn-pill:focus-visible { background: var(--vivid); border-color: #fff; color: #fff; outline: none; }
.st-add { padding: 16px; gap: 16px; }
.st-add-title { padding: 0 !important; }
.st-add-types { display: flex; gap: 16px; }
.st-add-type { flex: 1; border-radius: 8px; background: var(--card); border: 1px solid var(--border); padding: 11px; font-size: 15px; font-weight: 600; color: var(--text); }
.st-add-type.selected { background: var(--steel); border-color: var(--steel); color: var(--ground); }
.st-add-type:hover, .st-add-type:focus-visible { border-color: var(--vivid); outline: none; }
.st-add .st-field { width: 100% !important; box-sizing: border-box; }
.st-add-status { min-height: 20px; padding: 0 !important; }
.st-add-actions { display: flex; gap: 16px; }
.st-add-actions .st-btn { flex: 1; }
.st-del { width: 560px; max-width: calc(100% - 40px); box-sizing: border-box; border-radius: 21px; background: #1E1E26; border: 1px solid var(--border); padding: 32px; display: flex; flex-direction: column; gap: 21px; }
.st-del-title { font-size: 27px; font-weight: 700; }
.st-del-body { color: var(--muted); font-size: 19px; line-height: 27px; }
.st-del-actions { display: flex; gap: 16px; }
.st-del-btn { flex: 1; border-radius: 27px; padding: 13px 21px; font-size: 17px; font-weight: 700; background: #444; color: #fff; }
.st-del-btn.danger { background: var(--steel); color: var(--ground); }
.st-del-btn:hover, .st-del-btn:focus-visible { background: var(--vivid); color: var(--ground); outline: none; }

/* ── Recordings (RecordingsScreen.kt rows) + player DVR badge/notice ── */
.rc-head-right { display: flex; align-items: center; gap: 13px; }
.rc-storage { border-radius: 11px; background: #1B1B22; border: 1px solid var(--border); padding: 11px 19px; font-size: 15px; font-weight: 700; color: #4CAF50; white-space: nowrap; }
.rc-list { display: flex; flex-direction: column; gap: 13px; }
.rc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 11px; background: var(--card); border: 1px solid var(--border); padding: 21px; }
.rc-row:focus-within { border-color: var(--vivid); }
.rc-left { flex: 0 1 60%; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.rc-line { display: flex; align-items: center; gap: 11px; min-width: 0; }
.rc-chip { border-radius: 5px; padding: 3px 8px; font-size: 13px; font-weight: 700; letter-spacing: 1.33px; flex-shrink: 0; }
.rc-chip.rec { color: #E53935; background: rgba(229, 57, 53, 0.14); }
.rc-chip.failed { color: #FFB74D; background: rgba(255, 183, 77, 0.14); }
.rc-chip.saved { color: #4CAF50; background: rgba(76, 175, 80, 0.14); }
.rc-chip.timer { color: var(--steel); background: color-mix(in srgb, var(--steel) 14%, transparent); }
.rc-title { font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-meta { color: var(--muted); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-detail { color: var(--muted); font-size: 15px; }
.rc-detail.failed { color: #FFB74D; }
.rc-actions { flex: 0 0 auto; display: flex; gap: 13px; justify-content: flex-end; }
.rc-btn { border-radius: 8px; padding: 9px 19px; font-size: 15px; font-weight: 700; color: #fff; background: #2A2A35; }
.rc-btn.stop { background: #C62828; }
.rc-btn.play { background: var(--steel); color: var(--ground); }
.rc-btn.delete { background: #555; }
.rc-btn.delete.armed { background: #C62828; }
.rc-btn:hover, .rc-btn:focus-visible { background: var(--vivid); color: var(--ground); outline: none; }
.pl-rec-dot { width: 12px; height: 12px; border-radius: 50%; background: #E53935; animation: sh-pulse 0.7s ease-in-out infinite alternate; }
.pl-notice { position: absolute; left: 50%; top: 96px; transform: translateX(-50%); background: rgba(18, 18, 24, 0.92); border: 1px solid var(--steel); border-radius: 14px; padding: 14px 22px; font-size: 19px; font-weight: 600; color: var(--text); z-index: 6; }

/* ── Tier-1 parity additions (2026-09-03) ─────────────────────────────────── */
/* Series identity caveat + typed error pages (SeriesDetailScreen.kt) */
.detail-caveat { margin: 12px 64px 0; padding: 10px 14px; border-radius: 10px; border: 1px solid color-mix(in srgb, #F5B942 45%, transparent); background: rgba(245, 185, 66, 0.10); color: #F5D58A; font-size: 15px; line-height: 1.4; }
.detail-problem { margin: 28px 64px; padding: 26px 28px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); max-width: 720px; }
.detail-problem h3 { margin: 0 0 6px; font-size: 24px; font-weight: 700; }
.detail-problem p { margin: 0 0 18px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
/* Kimber Engine Report (EngineReportDialog.kt) */
.er-box { width: 640px; max-width: calc(100% - 48px); padding: 30px 34px 28px; }
.er-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; color: var(--steel); }
.er-title { margin: 0; font-size: 28px; font-weight: 800; }
.er-lede { margin: 6px 0 20px; color: var(--ink-2); font-size: 16px; }
.er-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.er-cell { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.er-cell b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.er-cell span { font-size: 12.5px; color: var(--ink-2); letter-spacing: 0.02em; }
.er-note { margin: 0 0 18px; color: var(--ink-3); font-size: 13.5px; line-height: 1.45; }
/* Home "Next Up" rail: hub game cards inside an ordinary rail */
.nextup-rail .sh-card { flex-shrink: 0; width: 372px; }

/* ── Tier 2: Up Next / Still Watching cards, Skip Intro chip, CATCH UP badge ─────────────── */
.pl-prompt, .pl-intro { position: absolute; right: 48px; bottom: 150px; z-index: 5; }
.pl-np-card { min-width: 380px; max-width: 520px; background: rgba(18, 18, 24, 0.94); border: 1px solid var(--steel); border-radius: 16px; padding: 18px 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.pl-np-card.still { border-color: #F5B942; }
.pl-np-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 900; letter-spacing: 0.16em; color: var(--steel); }
.pl-np-card.still .pl-np-kicker { color: #F5B942; }
.pl-np-title { margin: 0; font-size: 22px; font-weight: 800; color: #FFFFFF; }
.pl-np-sub { margin: 6px 0 0; font-size: 15px; color: #C9C9D4; }
.pl-np-hint { margin: 10px 0 0; font-size: 13px; color: #8A8A99; }
.pl-intro-chip { display: inline-block; background: rgba(18, 18, 24, 0.94); border: 1px solid #00E5FF; color: #FFFFFF; border-radius: 999px; padding: 10px 18px; font-size: 17px; font-weight: 800; }
.pl-e-catchup { background: #F5B942; color: #0A0A0F; font-size: 12px; font-weight: 900; border-radius: 4px; padding: 1px 7px; margin-left: 6px; }

/* ── Tier 2: Filter & Sort + Ask Kimber (VodDiscoveryDialog.kt) ─────────────────────────── */
.dv-open { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 8px 12px 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: #E4E4EC; cursor: pointer; text-align: left; width: calc(100% - 24px); }
.dv-open.active { border-color: var(--steel); }
.dv-open:hover, .dv-open:focus-visible { border-color: #00E5FF; outline: none; }
.dv-open-label { font-size: 11px; font-weight: 900; letter-spacing: 0.12em; color: var(--steel); }
.dv-open-sub { font-size: 12.5px; color: #A1A1AA; }
.dv-box { width: 960px; max-width: calc(100% - 48px); max-height: calc(var(--vh100, 100vh) - 64px); display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.dv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 26px 14px; border-bottom: 1px solid var(--border); }
.dv-title { margin: 0; font-size: 24px; font-weight: 800; display: flex; align-items: baseline; gap: 4px; }
.dv-count { font-size: 14px; font-weight: 600; color: var(--steel); }
.dv-sub { margin: 4px 0 0; color: #A1A1AA; font-size: 13px; }
.dv-actions { display: flex; gap: 10px; flex-shrink: 0; }
.dv-body { overflow-y: auto; padding: 14px 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.dv-ask { padding: 14px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--steel) 55%, transparent); background: rgba(95, 179, 196, 0.08); }
.dv-ask-kicker { margin: 0 0 8px; font-size: 11px; font-weight: 900; letter-spacing: 0.14em; color: var(--steel); }
.dv-ask-row { display: flex; gap: 10px; }
.dv-ask-field { flex: 1; }
.dv-ask-summary { margin: 8px 0 0; min-height: 16px; font-size: 12.5px; color: #A1A1AA; }
.dv-row { display: flex; flex-direction: column; gap: 6px; }
.dv-label { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #8A8A99; }
.dv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dv-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: #D4D4DC; font: inherit; font-size: 13.5px; cursor: pointer; }
.dv-chip.on { background: var(--steel); border-color: var(--steel); color: #0A0A0F; font-weight: 700; }
.dv-chip:focus-visible { outline: 2px solid #00E5FF; outline-offset: 1px; }
.dv-note, .dv-locked { margin: 2px 0 0; font-size: 12px; color: #8A8A99; }
.dv-locked { letter-spacing: 0.04em; }

/* ── Tier 2: Assign guide channel (AssignEpgDialog.kt) ──────────────────────────────────── */
.ae-box { width: 640px; max-width: calc(100% - 48px); }
.ae-search { width: 100%; margin: 12px 0 10px; }
.ae-list { max-height: 50vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.ae-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: #E4E4EC; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.ae-row:hover, .ae-row:focus-visible { border-color: #00E5FF; outline: none; }
.ae-row.on { border-color: var(--steel); }
.ae-row.clear { color: #F5B942; }
.ae-name { font-weight: 600; }
.ae-id { color: #8A8A99; font-size: 12px; font-family: ui-monospace, Consolas, monospace; }
.ae-empty { padding: 12px 4px; }
.st-row-value { font-size: 14px; font-weight: 700; color: var(--steel); padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--steel) 55%, transparent); }

/* ── Tier 2e: Game Center detail, team schedule, spotlight live preview ─────────────────── */
.hero-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease; }
.hero-preview.on { opacity: 1; }
.sh-gc-detail { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 6px; }
.sh-gc-h { margin: 6px 0 0; font-size: 11px; font-weight: 900; letter-spacing: 0.14em; color: #8A8A99; text-transform: uppercase; }
.sh-wp { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: #E4E4EC; }
.sh-wp-bar { flex: 1; height: 10px; border-radius: 5px; overflow: hidden; display: flex; justify-content: flex-end; }
.sh-wp-fill { height: 100%; }
.sh-gc-sit { display: flex; flex-direction: column; gap: 2px; }
.sh-gc-sit-line { font-size: 15px; font-weight: 700; color: #FFFFFF; }
.sh-gc-lastplay { font-size: 13.5px; color: #C9C9D4; }
.sh-line { border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.sh-line th { font-weight: 700; color: #8A8A99; padding: 2px 10px; text-align: center; font-size: 12px; }
.sh-line td { padding: 3px 10px; text-align: center; color: #E4E4EC; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.sh-line-team { text-align: left !important; font-weight: 800; }
.sh-line-total { font-weight: 800; color: #FFFFFF; }
.sh-plays { display: flex; flex-direction: column; gap: 3px; max-height: 160px; overflow-y: auto; }
.sh-play { display: grid; grid-template-columns: 56px 48px 1fr; gap: 8px; font-size: 13px; color: #D4D4DC; }
.sh-play-time { color: #8A8A99; font-variant-numeric: tabular-nums; }
.sh-play-team { font-weight: 800; }
.sh-leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-leader { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: #C9C9D4; }
.sh-leader-team { font-weight: 800; color: #FFFFFF; margin-bottom: 2px; }
.sh-sched-list { display: flex; flex-direction: column; gap: 4px; max-height: 60vh; overflow-y: auto; }
.sh-sched-row { display: grid; grid-template-columns: 64px 1fr 84px 44px; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: #E4E4EC; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.sh-sched-row:hover, .sh-sched-row:focus-visible { border-color: #00E5FF; outline: none; }
.sh-sched-row.win .sh-sched-res { color: #3DDC97; } .sh-sched-row.loss .sh-sched-res { color: #FF6B6B; } .sh-sched-row.live .sh-sched-res { color: #00E5FF; }
.sh-sched-date { color: #8A8A99; font-size: 12.5px; }
.sh-sched-score { font-variant-numeric: tabular-nums; text-align: right; }
.sh-sched-res { font-weight: 900; text-align: right; }

/* ── Tier 3: canonical titles — sources badge, tech badges, Sources overlay ──────────────── */
.vp-src-badge { position: absolute; top: 8px; left: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(10, 10, 15, 0.82); border: 1px solid var(--steel); color: var(--steel); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.detail-tech { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 64px 0; }
.detail-tech-chip { padding: 3px 9px; border-radius: 6px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: #C9C9D4; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.so-box { width: 760px; max-width: calc(100% - 48px); }
.so-list { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 6px; max-height: 44vh; overflow-y: auto; }
.so-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: #E4E4EC; font: inherit; text-align: left; cursor: pointer; }
.so-row:hover, .so-row:focus-visible { border-color: #00E5FF; outline: none; }
.so-row.on { border-color: var(--steel); }
.so-col { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.so-name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.so-chip { padding: 2px 7px; border-radius: 5px; border: 1px solid var(--border); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; color: #C9C9D4; }
.so-chip.kind { color: var(--steel); border-color: color-mix(in srgb, var(--steel) 55%, transparent); }
.so-chip.health.healthy { color: #3DDC97; border-color: rgba(61, 220, 151, 0.45); }
.so-chip.health.degraded { color: #F5B942; border-color: rgba(245, 185, 66, 0.45); }
.so-chip.health.unavailable { color: #FF6B6B; border-color: rgba(255, 107, 107, 0.45); }
.so-go { color: var(--steel); font-size: 18px; }
.so-h { margin: 14px 0 6px; font-size: 11px; font-weight: 900; letter-spacing: 0.14em; color: #8A8A99; text-transform: uppercase; }
.so-fix { display: flex; flex-wrap: wrap; gap: 6px; }
.so-fix-btn { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: #D4D4DC; font: inherit; font-size: 13px; cursor: pointer; }
.so-fix-btn.accent { border-color: var(--steel); color: var(--steel); }
.so-fix-btn:hover, .so-fix-btn:focus-visible { border-color: #00E5FF; outline: none; }

/* ── Television hosts (Samsung Tizen; `?tv=1` preview in a browser) ──────────────────────
   spatial.ts moves a single focus ring with the D-pad; it must be the most saturated thing on screen. */
html.tv .tv-focus { outline: 3px solid var(--fc, #22d3ee) !important; outline-offset: 3px; scroll-margin: 72px; position: relative; z-index: 2; }
html.tv .tile.tv-focus, html.tv .hub-tile.tv-focus, html.tv .sh-card.tv-focus, html.tv .sh-tile.tv-focus { transform: scale(1.06); }
html.tv, html.tv * { cursor: none; }
/* AVPlay draws on the TV's video plane BEHIND the page: while a stream plays the page lets it through. */
html.tv-playing, html.tv-playing body { background: transparent !important; }
html.tv-playing #app { visibility: hidden; }
.player-overlay.avplay-overlay { background: transparent !important; }
/* The AVPlay hole is a white plugin box in a desktop browser: only a real Samsung engine gets to show it. */
html.tv-preview #av-player { display: none !important; }
