/* cinema */
/* Cinema: dark, flat and quiet, closer to a streaming service. Plain spinner while a video starts. */
:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --bg: #0b0b0f;
  --bg-image: radial-gradient(1000px 500px at 50% -20%, #ffffff0d, transparent 70%);
  --card: #17171d;
  --text: #f4f4f6;
  --muted: #9a9aa6;
  --accent: #f4f4f6;
  --accent-ink: #0b0b0f;
  --accent-shade: transparent;
  --progress: #e5383b;
  --ok: #e5383b;
  --ok-ink: #fff;
  --overlay: #ffffff0f;
  --overlay-2: #ffffff1f;
  --radius: 10px;
  --radius-lg: 16px;
  --chip-radius: 12px;
  --loader-bg: #000;
}

.logo { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; padding-inline-start: 2px;
  border: 3px solid var(--progress); color: #fff; font-size: 12px;
}
.eyebrow { color: var(--muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }
.hero { background: none; border: 0; padding: 0; }
.hero h1 { font-weight: 800; letter-spacing: -1px; }
.row h2 { font-size: 20px; font-weight: 600; }
.play-btn { font-size: 20px; font-weight: 700; padding: 13px 30px; border-radius: 8px; }
.play-btn:hover { transform: none; background: #fff; }
.play-btn:active { transform: scale(.98); }
.pill-btn { border-radius: 8px; font-size: 16px; font-weight: 600; }
.hero-progress, .ep-progress { height: 4px; }

/* Muted cards: a hint of the season's color, not a rainbow */
.hero-art, .ep-art {
  background: linear-gradient(160deg, hsl(var(--hue, 220) 35% 24%), #111116);
  font-weight: 800; text-shadow: none; color: #ffffffcc;
}
.ep-card { box-shadow: none; }
.ep-card:hover, .ep-card:focus-visible { transform: scale(1.03); box-shadow: 0 12px 30px -12px #000; }
.ep-title { font-size: 16px; font-weight: 600; }
.ep-art .badge { font-size: 12px; font-weight: 700; border-radius: 4px; }
.has-thumb .num {
  min-width: 34px; height: 34px; font-size: 16px; border-radius: 6px; box-shadow: none;
  background: #000b; color: #fff;
}
.hero-art.has-thumb .num { min-width: 48px; height: 48px; font-size: 24px; }

/* Seasons as flat tiles; watched progress is a bar along the bottom instead of a ring */
.season-chip {
  width: 92px; height: 72px; font-size: 26px; font-weight: 700; overflow: hidden;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--overlay-2);
}
.seasons { grid-auto-columns: 92px; }
.season-chip small { bottom: 8px; font-size: 11px; color: var(--muted); }
.season-chip .season-num { margin-top: -14px; }
.season-chip.active { outline: 0; background: var(--text); color: var(--bg); }
.season-chip.active small { color: inherit; }
.season-chip .ring {
  inset: auto 0 0 0; height: 3px; border-radius: 0; -webkit-mask: none; mask: none;
  background: linear-gradient(90deg, var(--progress) var(--done-pct, 0%), transparent 0);
}
[dir="rtl"] .season-chip .ring { background: linear-gradient(-90deg, var(--progress) var(--done-pct, 0%), transparent 0); }

.loader-title { font-weight: 700; text-shadow: none; }
.loader-msg { font-size: 16px; color: var(--muted); }
.loader-spinner { width: 48px; height: 48px; border-width: 4px; border-color: #ffffff22; border-top-color: #fff; }
.player-loading.compact .loader-spinner { width: 40px; height: 40px; }
.toast button { border-radius: 6px; }
