:root {
  color-scheme:dark;
  --test-bg:#070707;
  --test-panel:#111;
  --test-line:rgba(255,255,255,.14);
  --test-muted:#a0a0a0;
  --test-text:#f4f4f4;
  --test-accent:#f0f0f0;
  --test-poster-width:216px;
  --test-card-gap:16px;
  --test-landscape-width:calc((var(--test-poster-width) * 2) + var(--test-card-gap));
  --test-top-number-width:102px;
}
* { box-sizing:border-box; }
html { background:var(--test-bg); scroll-behavior:smooth; }
body { margin:0; background:var(--test-bg); color:var(--test-text); font-family:"Open Sans",Inter,"Helvetica Neue",Arial,sans-serif; overflow-x:hidden; }
button,input { font:inherit; }
a { color:inherit; }
.test-skip { position:fixed; left:12px; top:8px; z-index:2000; transform:translateY(-160%); background:#fff; color:#000; padding:10px 14px; border-radius:5px; font-weight:800; }
.test-skip:focus { transform:none; }
.test-visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.test-header { position:absolute; z-index:1000; top:0; left:0; right:0; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:34px; min-height:74px; padding:0 clamp(18px,4vw,58px); background:linear-gradient(to bottom,rgba(0,0,0,.92),transparent); transition:background .25s,box-shadow .25s; }
.test-header.is-scrolled { position:fixed; top:0; background:rgba(5,5,5,.96); box-shadow:0 1px 0 var(--test-line); backdrop-filter:blur(14px); }
.test-logo { color:#fff; font-family:"Helvetica Neue","Arial Nova","Segoe UI",Arial,sans-serif; font-size:34px; font-weight:900; line-height:1; letter-spacing:.8px; text-decoration:none; text-transform:uppercase; white-space:nowrap; }
.test-logo span { font-weight:inherit; }
.test-nav { display:flex; align-items:center; justify-content:center; gap:clamp(16px,2vw,30px); }
.test-nav a { color:#bdbdbd; font-size:13px; font-weight:650; text-decoration:none; white-space:nowrap; }
.test-nav a:hover,.test-nav a[aria-current="page"] { color:#fff; }
.test-actions { display:flex; align-items:center; gap:10px; min-width:max-content; }
.test-icon-button { width:40px; height:40px; display:grid; place-items:center; border:0; background:transparent; color:#fff; cursor:pointer; }
.test-icon-button svg { width:22px; fill:none; stroke:currentColor; stroke-width:2; }
.test-header-search { width:clamp(150px,15vw,235px); display:grid; grid-template-columns:1fr 40px; border:1px solid rgba(255,255,255,.3); border-radius:4px; background:rgba(0,0,0,.4); overflow:hidden; }
.test-header-search:focus-within { border-color:#fff; background:#050505; }
.test-header-search input { min-width:0; height:38px; border:0; outline:0; padding:0 4px 0 12px; background:transparent; color:#fff; font-size:13px; }
.test-header-search button { display:grid; place-items:center; border:0; background:transparent; color:#fff; cursor:pointer; }
.test-header-search svg { width:19px; fill:none; stroke:currentColor; stroke-width:2; }
.test-actions .of-nav-btn { min-height:38px; border-radius:999px; padding-inline:15px; }
/* The banner fills the window down to where the first row's title peeks in
   (never taller than the 16:9 picture), so the same amount of picture shows
   whichever row comes first: Continue Watching, My List or Trending Now. */
.test-hero { position:relative; min-height:680px; height:clamp(680px, min(56.25vw, 100vh - 110px), 1240px); height:clamp(680px, min(56.25vw, 100svh - 110px), 1240px); display:flex; align-items:flex-end; isolation:isolate; overflow:hidden; background-color:#040404; background-image:linear-gradient(180deg,rgba(0,0,0,.06) 0%,rgba(0,0,0,.12) 44%,rgba(0,0,0,.28) 76%,rgba(0,0,0,.56) 100%); background-position:center top; background-size:cover; }
.test-hero::after { content:""; position:absolute; z-index:0; right:0; bottom:0; left:0; height:320px; background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.26) 22%,rgba(0,0,0,.64) 62%,rgba(0,0,0,.96) 100%); pointer-events:none; }
.test-hero-copy { position:relative; z-index:1; width:min(620px,88vw); margin:0 0 170px clamp(20px,5vw,72px); }
.test-eyebrow { margin:0 0 10px; color:#b9b9b9; font:800 10px/1.2 "Courier New",monospace; letter-spacing:.22em; text-transform:uppercase; }
.test-hero-title { margin:0; }
.test-hero-logo { display:block; width:auto; height:auto; max-width:min(440px,76vw); max-height:180px; object-fit:contain; object-position:left center; filter:drop-shadow(0 3px 16px rgba(0,0,0,.32)); }
.test-hero-meta { display:flex; flex-wrap:wrap; gap:0 8px; margin:18px 0 0; color:#fff; font-size:30px; font-weight:600; line-height:1.18; letter-spacing:0; text-shadow:0 2px 10px rgba(0,0,0,.72),0 0 24px rgba(0,0,0,.28); }
.test-hero-description { max-width:900px; margin:0 0 30px; color:rgba(255,255,255,.9); font-size:26px; line-height:1.26; text-shadow:0 2px 10px rgba(0,0,0,.72),0 0 24px rgba(0,0,0,.28); }
.test-hero-description { margin-top:16px; }
.test-hero-actions { display:flex; flex-wrap:wrap; gap:11px; margin-top:30px; }
.test-button { min-height:58px; display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:0 30px; border:1px solid transparent; border-radius:999px; font-size:22px; font-weight:700; text-decoration:none; transition:transform .18s,background .18s; }
.test-button:hover { transform:translateY(-2px); }
.test-button-primary { background:#f2f2f2; color:#090909; }
.test-button-secondary { background:rgba(65,65,65,.78); color:#fff; backdrop-filter:blur(8px); }
.test-hero .test-button { padding:20px 30px; font-size:28px; line-height:1; }
.test-rows { position:relative; z-index:3; margin-top:-64px; padding-bottom:35px; }
/* Until home.js fills the rows, hold a screen's worth of space so the About
   section below starts off-screen and is not pushed down in view (layout shift). */
.test-rows:empty { min-height:100vh; }
.test-row { position:relative; margin:0 0 30px; padding-left:clamp(18px,4vw,58px); }
.test-row-heading { display:flex; align-items:baseline; gap:12px; margin:0 0 11px; padding-right:clamp(18px,4vw,58px); }
.test-row-heading h2 { margin:0; font-size:28px; font-weight:650; line-height:1.08; letter-spacing:-.02em; }
.test-row-heading a { color:rgba(255,255,255,.58); font-size:28px; font-weight:750; line-height:1; text-decoration:none; opacity:.96; transition:.18s; }
.test-row:hover .test-row-heading a,.test-row-heading a:focus { opacity:1; transform:none; }
.test-tray-wrap { position:relative; }
.test-tray { display:flex; gap:var(--test-card-gap); overflow-x:auto; padding:2px clamp(18px,4vw,58px) 12px 0; scroll-snap-type:x proximity; scrollbar-width:none; }
.test-tray::-webkit-scrollbar { display:none; }
.test-card { position:relative; flex:0 0 var(--test-landscape-width); width:var(--test-landscape-width); min-width:0; scroll-snap-align:start; transition:transform .2s; }
.test-card:hover,.test-card:focus-within { transform:translateY(-2px); z-index:5; }
.test-card-link { display:block; color:#fff; text-decoration:none; }
.test-card-image { position:relative; aspect-ratio:16/9; overflow:hidden; border-radius:6px; background:#181818; box-shadow:0 8px 25px #0007; }
.test-card-image img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .2s; }
.test-card:hover img { transform:scale(1.025); }
.test-contain-card .test-card-image img { object-fit:contain; padding:18px; }
.test-card-image::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,.08); transition:background .18s; }
.test-card:hover .test-card-image::after,.test-card:focus-within .test-card-image::after { background:rgba(0,0,0,.34); }
.test-card-hover { position:absolute; z-index:3; inset:0; display:grid; place-items:center; opacity:0; transition:opacity .18s; }
.test-card-hover span { width:48px; height:48px; display:grid; place-items:center; padding-left:3px; border:2px solid rgba(255,255,255,.92); border-radius:50%; background:rgba(0,0,0,.46); color:#fff; font-size:20px; }
.test-card:hover .test-card-hover,.test-card:focus-within .test-card-hover { opacity:1; }
.test-card-title { position:absolute; z-index:2; left:10px; right:10px; bottom:9px; font-size:clamp(10px,1vw,13px); font-weight:780; text-shadow:0 2px 6px #000; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.test-card-meta { display:flex; gap:7px; margin-top:7px; color:#858585; font-size:9px; text-transform:uppercase; letter-spacing:.06em; }
.test-card-badge { position:absolute; z-index:2; top:8px; left:8px; border:1px solid #ffffff66; border-radius:3px; background:#080808d9; padding:3px 6px; color:#fff; font-size:8px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.test-progress { position:absolute; z-index:3; left:9px; right:9px; bottom:5px; height:3px; background:#ffffff40; }
.test-progress span { display:block; height:100%; background:#f3f3f3; }
.test-poster-row .test-card,.test-poster-card { flex-basis:var(--test-poster-width); width:var(--test-poster-width); }
.test-poster-row .test-card-image,.test-poster-card .test-card-image { aspect-ratio:2/3; }
.test-large-card { flex-basis:calc(var(--test-poster-width) * 1.5); width:calc(var(--test-poster-width) * 1.5); }
.test-large-card .test-card-image { aspect-ratio:2/3; }
.test-top-card { flex-basis:calc(var(--test-poster-width) + var(--test-top-number-width)); width:calc(var(--test-poster-width) + var(--test-top-number-width)); }
.test-top-card .test-card-link { position:relative; display:flex; align-items:flex-end; width:100%; padding-left:var(--test-top-number-width); }
.test-top-number { position:absolute; z-index:0; left:-4px; bottom:28px; color:#fff; font-size:166px; line-height:.76; font-weight:900; letter-spacing:-.08em; text-shadow:0 14px 34px rgba(0,0,0,.32); pointer-events:none; user-select:none; }
.test-top-card .test-card-image { z-index:1; flex:0 0 var(--test-poster-width); aspect-ratio:2/3; }
.test-live-card { flex-basis:var(--test-landscape-width); width:var(--test-landscape-width); border-radius:7px; background:#090909; }
.test-live-media { position:relative; min-height:230px; aspect-ratio:16/9; overflow:hidden; border-radius:7px; background:#111; }
.test-live-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 44%,rgba(0,0,0,.75) 100%); }
.test-live-media img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .2s; }
.test-live-card:hover .test-live-media img { transform:scale(1.025); }
.test-live-badge { position:absolute; z-index:2; top:14px; left:16px; padding:5px 8px; border-radius:3px; background:#e6e6e6; color:#111; font-size:10px; font-weight:900; letter-spacing:.12em; }
/* Same wordmark as the header .test-logo, scaled down: same face, weight, caps,
   and tracking (.8px at 34px = .024em), with OLDIE and FLIX at one weight. */
.test-live-logo { position:absolute; z-index:2; right:16px; bottom:38px; color:#fff; font-family:"Helvetica Neue","Arial Nova","Segoe UI",Arial,sans-serif; font-size:24px; font-weight:900; line-height:1; letter-spacing:.024em; text-transform:uppercase; white-space:nowrap; text-shadow:0 3px 6px rgba(0,0,0,.45); }
.test-live-logo span { font-weight:inherit; }
/* Channel logo: the channel name in its themed font (channel-fonts.css), top right like Classix. */
.test-live-brand { position:absolute; z-index:2; top:10px; right:16px; max-width:66%; overflow:hidden; color:#fff; font-size:26px; line-height:1.1; text-align:right; text-shadow:0 2px 8px rgba(0,0,0,.7),0 0 18px rgba(0,0,0,.4); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.test-live-progress { position:absolute; z-index:3; right:16px; bottom:14px; left:16px; height:5px; background:rgba(255,255,255,.28); }
.test-live-progress span { display:block; height:100%; background:#fff; }
.test-live-copy { display:grid; grid-template-columns:minmax(0,1fr) minmax(82px,26%); gap:18px; align-items:start; padding:12px 2px 0; }
.test-live-title-group { min-width:0; overflow:hidden; }
.test-live-title-group strong { display:block; overflow:hidden; color:#fff; font-size:22px; font-weight:650; line-height:1.14; text-overflow:ellipsis; white-space:nowrap; }
.test-live-title-group small { display:block; margin-top:3px; overflow:hidden; color:rgba(255,255,255,.58); font-size:18px; font-weight:500; line-height:1.16; text-overflow:ellipsis; white-space:nowrap; }
.test-live-channel { justify-self:end; color:#fff; font-size:14px; font-weight:650; line-height:1.12; text-align:right; }
.test-tray-button { position:absolute; z-index:10; top:0; bottom:12px; width:42px; border:0; background:linear-gradient(to right,#050505d9,transparent); color:#fff; font-size:28px; opacity:0; cursor:pointer; transition:opacity .2s; }
.test-tray-wrap:hover .test-tray-button { opacity:1; }
/* Keyboard users can see the arrow they tabbed to; none at the ends of a row. */
.test-tray-button:focus-visible { opacity:1; outline:2px solid #fff; outline-offset:-4px; }
.test-tray-button[hidden] { display:none; }
.test-tray-prev { left:0; transform:translateX(calc(-1 * clamp(18px,4vw,58px))); }
.test-tray-next { right:0; background:linear-gradient(to left,#050505e8,transparent); }
.test-mobile-nav { display:none; }
.test-search-overlay { position:fixed; z-index:3000; inset:0; background:rgba(0,0,0,.96); padding:clamp(70px,12vw,150px) clamp(20px,10vw,150px); overflow:auto; }
.test-search-close { position:absolute; top:25px; right:30px; border:0; background:transparent; color:#fff; font-size:42px; cursor:pointer; }
.test-search-form { max-width:950px; margin:auto; }
.test-search-form label { display:block; margin-bottom:18px; font-size:clamp(24px,5vw,58px); font-weight:850; letter-spacing:-.045em; }
.test-search-form div { display:grid; grid-template-columns:1fr auto; }
.test-search-form input { min-width:0; border:0; border-bottom:2px solid #777; background:transparent; color:#fff; padding:14px 4px; font-size:clamp(17px,2vw,25px); outline:none; }
.test-search-form button { border:0; background:#fff; color:#000; padding:0 23px; font-weight:800; }
.test-search-results { max-width:950px; margin:30px auto; display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:14px; }
.test-search-results .test-card { flex:auto; }
html[data-artwork="mono"] .test-hero { filter:grayscale(100%); }
html[data-artwork="mono"] .test-card-image img,html[data-artwork="mono"] .test-live-media img,html[data-artwork="mono"] .test-search-results img { filter:grayscale(100%); }
@media (prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
@media (max-width:900px) {
  :root { --test-poster-width:192px; --test-card-gap:14px; --test-top-number-width:78px; }
  .test-header { grid-template-columns:auto 1fr; gap:15px; }
  .test-nav { order:3; grid-column:1/-1; justify-content:flex-start; overflow:auto; padding-bottom:10px; scrollbar-width:none; }
  .test-actions { justify-self:end; }
  .test-hero { min-height:620px; height:620px; }
  .test-hero-copy { margin-bottom:136px; }
  .test-hero .test-hero-heading { font-size:40px; }
  .test-hero-logo { max-width:min(360px,74vw); max-height:148px; }
  .test-hero-description { font-size:21px; }
  .test-top-number { bottom:22px; font-size:128px; }
  .test-live-media { min-height:210px; }
  .test-live-title-group strong { font-size:20px; }
  .test-live-title-group small { font-size:16px; }
  .test-row-heading h2 { font-size:26px; }
  .test-rows { margin-top:-48px; }
}
@media (max-width:650px) {
  :root { --test-poster-width:156px; --test-card-gap:12px; --test-top-number-width:52px; }
  body { padding-bottom:68px; }
  .test-logo { font-size:30px; letter-spacing:.5px; }
  .test-header { min-height:61px; padding-inline:15px; }
  .test-header .test-nav { display:none; }
  .test-header-search { display:none; }
  .test-actions .of-nav-btn { min-height:34px; padding-inline:11px; font-size:10px; }
  .test-hero { height:520px; min-height:520px; background-position:65% 20%; }
  .test-hero::after { height:220px; background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.36) 34%,rgba(0,0,0,.9) 100%); }
  .test-hero-copy { width:auto; margin:0 17px 118px; }
  .test-hero-logo { max-width:min(280px,78vw); max-height:112px; }
  .test-hero-meta { font-size:22px; }
  .test-hero-description { display:none; }
  .test-hero .test-button { min-height:50px; padding-inline:24px; font-size:18px; }
  .test-rows { margin-top:-30px; }
  .test-row { margin-bottom:24px; padding-left:14px; }
  .test-row-heading { padding-right:14px; }
  .test-row-heading h2 { font-size:24px; }
  .test-row-heading a { display:none; }
  .test-tray { padding-right:14px; }
  .test-top-number { bottom:15px; font-size:94px; }
  .test-live-media { min-height:194px; }
  .test-live-title-group strong { font-size:18px; }
  .test-live-title-group small { font-size:15px; }
  .test-tray-button { display:none; }
  .test-mobile-nav { position:fixed; z-index:1500; left:0; right:0; bottom:0; display:grid; grid-auto-flow:column; grid-auto-columns:1fr; min-height:64px; padding-bottom:env(safe-area-inset-bottom); border-top:1px solid #333; background:rgba(7,7,7,.97); backdrop-filter:blur(15px); }
  .test-mobile-nav a,.test-mobile-nav button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; border:0; background:transparent; color:#888; font-size:9px; text-decoration:none; }
  .test-mobile-nav span { color:#ddd; font-size:22px; line-height:1; }
  .test-mobile-nav [aria-current="page"] { color:#fff; }
  .test-search-overlay { padding:90px 18px; }
  .test-search-form div { grid-template-columns:1fr; gap:12px; }
  .test-search-form button { min-height:45px; }
  .test-search-results { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* ---- Redesign additions -------------------------------------------------- */
.test-hero[hidden],.test-button[hidden] { display:none; }
button.test-button { cursor:pointer; font-family:inherit; }
.test-hero-heading { color:#fff; font-size:clamp(44px,6.4vw,92px); font-weight:900; line-height:.95; letter-spacing:-.035em; text-shadow:0 3px 18px rgba(0,0,0,.55); overflow-wrap:anywhere; }
.test-artwork-toggle[hidden] { display:none; }
.test-artwork-toggle { display:inline-flex; padding:3px; border:1px solid rgba(255,255,255,.3); border-radius:999px; background:rgba(0,0,0,.45); }
.test-artwork-toggle button { min-height:30px; padding:0 12px; border:0; border-radius:999px; background:transparent; color:#bdbdbd; font-size:12px; font-weight:750; cursor:pointer; }
.test-artwork-toggle button:hover { color:#fff; }
.test-artwork-toggle button[aria-pressed="true"] { background:#f2f2f2; color:#090909; }
.test-artwork-toggle button:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.test-card-image.has-title::before { content:""; position:absolute; z-index:1; left:0; right:0; bottom:0; height:55%; background:linear-gradient(180deg,transparent,rgba(0,0,0,.82)); pointer-events:none; }
.test-card-image.has-title .test-card-title { font-size:clamp(13px,1.1vw,16px); }
.test-empty { margin:120px clamp(18px,4vw,58px) 40px; color:var(--test-muted); font-size:18px; }
@media (max-width:650px) {
  .test-artwork-toggle button { min-height:26px; padding:0 9px; font-size:10px; }
}
@media (max-width:400px) {
  .test-logo { font-size:24px; letter-spacing:.3px; }
  .test-header { gap:8px; padding-inline:10px; }
}
.test-live-channel span { display:block; }
.test-live-channel .test-live-number { margin-top:5px; color:rgba(255,255,255,.58); font-size:12px; letter-spacing:.06em; }

/* ---- Browse pages: Movies, TV Shows, A–Z --------------------------------- */
.test-browse { min-height:70vh; padding:150px clamp(18px,4vw,58px) 40px; }
.test-browse-head { max-width:1180px; }
.test-browse-head h1 { margin:0; font-size:clamp(40px,5vw,68px); font-weight:900; line-height:1; letter-spacing:-.035em; }
.test-browse-intro { max-width:60ch; margin:12px 0 0; color:var(--test-muted); font-size:18px; line-height:1.45; }
.test-browse-tools { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:26px; }
.test-browse-search { flex:1 1 320px; max-width:520px; min-height:48px; display:flex; align-items:center; gap:10px; padding:0 16px; border:1px solid rgba(255,255,255,.3); border-radius:999px; background:rgba(255,255,255,.04); }
.test-browse-search:focus-within { border-color:#fff; }
.test-browse-search svg { flex:0 0 20px; width:20px; fill:none; stroke:var(--test-muted); stroke-width:2; }
.test-browse-search input { flex:1; min-width:0; height:46px; border:0; outline:0; background:transparent; color:#fff; font-size:16px; }
.test-browse-select { min-height:48px; display:inline-flex; align-items:center; gap:8px; padding:0 8px 0 16px; border:1px solid rgba(255,255,255,.3); border-radius:999px; color:var(--test-muted); font-size:13px; font-weight:650; }
.test-browse-select select { min-height:44px; border:0; outline:0; background:transparent; color:#fff; font:inherit; font-weight:750; cursor:pointer; }
.test-browse-select select option { background:#111; color:#fff; }
.test-browse-select:focus-within { border-color:#fff; }
.test-browse-link { padding:0 6px; color:#fff; font-size:14px; font-weight:750; text-decoration:none; }
.test-browse-link:hover { text-decoration:underline; }
.test-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.test-chip { min-height:38px; padding:0 16px; border:1px solid rgba(255,255,255,.28); border-radius:999px; background:transparent; color:#d6d6d6; font-size:13px; font-weight:700; white-space:nowrap; cursor:pointer; }
.test-chip:hover { border-color:#fff; color:#fff; }
.test-chip[aria-pressed="true"] { border-color:#f2f2f2; background:#f2f2f2; color:#090909; }
.test-chip:focus-visible,.test-az-letters a:focus-visible,.test-browse-link:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.test-browse-count { margin:30px 0 14px; color:var(--test-muted); font-size:14px; }
.test-browse-results:focus { outline:none; }
/* Same for browse grids: the footer stays off-screen until the grid is built. */
.test-browse-results:empty { min-height:100vh; }
.test-browse-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:26px 16px; }
.test-browse-grid .test-card,.test-search-results .test-card { width:auto; flex:none; }
.test-card-caption { display:block; margin-top:9px; }
.test-card-caption strong { display:block; overflow:hidden; color:#fff; font-size:14px; font-weight:700; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.test-card-caption small { display:block; margin-top:3px; color:var(--test-muted); font-size:12px; }
.test-browse-more { display:flex; justify-content:center; margin-top:34px; }
.test-browse-more .test-button { min-height:50px; padding:0 28px; font-size:16px; }
.test-browse-empty { margin:40px 0; color:var(--test-muted); font-size:18px; }
.test-az-letters { display:flex; flex-wrap:wrap; gap:4px; margin-top:20px; }
.test-az-letters a,.test-az-letters span { width:34px; height:34px; display:grid; place-items:center; border-radius:6px; font-size:14px; font-weight:800; text-decoration:none; }
.test-az-letters a { background:rgba(255,255,255,.08); color:#fff; }
.test-az-letters a:hover { background:#f2f2f2; color:#090909; }
.test-az-letters span { color:#4a4a4a; }
.test-az-group { margin-top:34px; scroll-margin-top:90px; }
.test-az-group h2 { margin:0 0 14px; padding-bottom:8px; border-bottom:1px solid var(--test-line); font-size:28px; font-weight:850; }
@media (max-width:650px) {
  .test-browse { padding:100px 14px 30px; }
  .test-browse-intro { font-size:16px; }
  .test-browse-search { flex-basis:100%; max-width:none; }
  .test-browse-tools { gap:10px; }
  .test-browse-select { flex:1 1 130px; min-width:0; padding-left:14px; }
  .test-browse-select span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
  .test-browse-select select { flex:1; min-width:0; }
  .test-chips { flex-wrap:nowrap; margin-inline:-14px; padding:0 14px 4px; overflow-x:auto; scrollbar-width:none; }
  .test-chips::-webkit-scrollbar { display:none; }
  .test-browse-grid { grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:20px 12px; }
  .test-az-letters a,.test-az-letters span { width:30px; height:30px; font-size:13px; }
}

/* ---- Home banner: Classix-style still + title logo ---------------------- */
.test-hero-actions { align-items:center; }
.test-hero-icon { width:58px; height:58px; display:inline-grid; place-items:center; padding:0 0 3px; border:2px solid rgba(255,255,255,.78); border-radius:50%; background:rgba(20,20,20,.5); color:#fff; font-size:32px; font-weight:400; line-height:1; cursor:pointer; backdrop-filter:blur(6px); transition:transform .18s,background .18s; }
.test-hero-icon:hover { transform:translateY(-2px); background:rgba(255,255,255,.16); }
.test-hero-icon:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.test-hero-icon[aria-pressed="true"] { font-size:26px; }
.test-hero-icon[hidden] { display:none; }
.test-hero-title .test-hero-logo { margin:0; }
@media (max-width:650px) {
  .test-hero-icon { width:50px; height:50px; font-size:28px; }
}

/* ---- Top 10: room for the two-digit "10" -------------------------------- */
/* The number column is sized for one digit; "10" is about twice as wide, so
   that card reserves 1.85x the space instead of tucking the 0 under its poster. */
.test-top-card.test-top-wide { flex-basis:calc(var(--test-poster-width) + var(--test-top-number-width) * 1.85); width:calc(var(--test-poster-width) + var(--test-top-number-width) * 1.85); }
.test-top-card.test-top-wide .test-card-link { padding-left:calc(var(--test-top-number-width) * 1.85); }

/* ---- Watch pages: movie.html and show.html -------------------------------- */
/* Laid out like the Classix watch page (web.classixapp.com/watch/...): the
   title and meta live on a 640px player, details in a glass sidebar, then
   episode and poster rails. Artwork follows the B&W / Color setting; the film
   itself always plays as it was made. */
.of-watch-page { --of-line:rgba(255,255,255,.08); position:relative; isolation:isolate; overflow:hidden; min-height:100vh; padding:118px clamp(18px,4vw,58px) 30px; background:#000; }
.of-watch-page::before { content:""; position:absolute; z-index:-2; inset:0 0 auto; height:920px; background-image:var(--of-backdrop,none); background-position:center top; background-size:cover; opacity:.36; pointer-events:none; }
.of-watch-page::after { content:""; position:absolute; z-index:-1; inset:0 0 auto; height:920px; background:radial-gradient(circle at left top,rgba(0,0,0,.26) 0%,rgba(0,0,0,.82) 64%),linear-gradient(180deg,rgba(0,0,0,.14) 0%,rgba(0,0,0,.72) 56%,#000 100%); pointer-events:none; }
html[data-artwork="mono"] .of-watch-page::before,html[data-artwork="mono"] .of-episode-art img,html[data-artwork="mono"] .of-cast-avatar img { filter:grayscale(100%); }
.of-watch-shell { width:min(1540px,100%); margin:0 auto; }
.of-watch-hero { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(320px,.78fr); gap:28px; align-items:start; margin-bottom:30px; }
.of-watch-hero[hidden] { display:none; }
.of-watch-stage { min-width:0; }

/* Player shell and stage */
.of-player-shell { overflow:hidden; border:1px solid rgba(255,255,255,.06); border-radius:28px; background:rgba(6,7,9,.92); box-shadow:0 32px 90px rgba(0,0,0,.4); }
.of-player-frame { position:relative; height:640px; background:#000; }
.of-player-frame[hidden] { display:none; }
.of-player-video { display:block; width:100%; height:100%; object-fit:contain; background:#000; cursor:pointer; }
.of-player-video:focus-visible { outline:3px solid #fff; outline-offset:-3px; }
/* Like the Classix poster: the still fills the stage until playback starts. */
.of-player-frame:not(.has-started) .of-player-video { object-fit:cover; }
.of-player-frame.is-idle,.of-player-frame.is-idle .of-player-video { cursor:none; }
.of-player-frame.is-fullscreen { height:100vh; border-radius:0; }

/* Overlay: title on top, controls at the bottom; fades while playing and idle */
.of-player-overlay { position:absolute; z-index:4; inset:0; display:flex; flex-direction:column; justify-content:space-between; padding:32px 34px 26px; background:linear-gradient(180deg,rgba(8,8,10,.82),rgba(8,8,10,.12) 24%,rgba(8,8,10,.02) 56%,rgba(8,8,10,.92) 100%); pointer-events:none; opacity:1; transition:opacity .22s ease; }
.of-player-overlay.is-hidden { opacity:0; }
.of-player-overlay.is-hidden .of-player-bottom { pointer-events:none; }
.of-player-topbar { max-width:min(760px,82%); transition:opacity .3s ease; }
/* While the film plays, the title steps aside and only the bottom of the picture
   is shaded behind the controls; paused, ended or not yet started, both come back. */
.of-player-frame.is-playing .of-player-topbar { opacity:0; }
.of-player-frame.is-playing .of-player-overlay { background:linear-gradient(180deg,rgba(8,8,10,0) 0%,rgba(8,8,10,0) 58%,rgba(8,8,10,.88) 100%); }
.of-player-topbar h1 { margin:0; color:#fff; font-size:52px; font-weight:800; line-height:1; letter-spacing:-.05em; text-shadow:0 2px 14px rgba(0,0,0,.5); }
.of-player-episode { margin:12px 0 0; color:rgba(255,255,255,.9); font-size:22px; font-weight:600; line-height:1.3; }
.of-player-episode[hidden] { display:none; }
.of-player-meta { display:flex; flex-wrap:wrap; margin:16px 0 0; color:rgba(255,255,255,.86); font-size:20px; font-weight:600; line-height:1.35; }
.of-player-meta span + span::before,.of-watch-meta span + span::before { content:"•"; margin:0 .45em; }
.of-player-bottom { position:relative; display:flex; flex-direction:column; pointer-events:auto; }
.of-player-controls { display:flex; flex-direction:column; gap:18px; padding-top:24px; }
.of-player-track { position:relative; height:10px; overflow:visible; border-radius:999px; background:rgba(255,255,255,.14); box-shadow:inset 0 0 0 1px rgba(255,255,255,.06); cursor:pointer; touch-action:none; }
.of-player-track:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.of-player-buffer,.of-player-fill { position:absolute; top:0; left:0; height:100%; border-radius:inherit; pointer-events:none; }
.of-player-buffer { width:0; background:rgba(255,255,255,.18); }
.of-player-fill { width:0; background:#fff; }
.of-player-handle { position:absolute; top:50%; left:0; width:18px; height:18px; margin:-9px 0 0 -9px; border-radius:999px; background:#fff; box-shadow:0 4px 16px rgba(0,0,0,.34); pointer-events:none; }
.of-player-labels { display:flex; justify-content:space-between; gap:12px; margin-top:12px; color:rgba(255,255,255,.88); font-size:15px; font-weight:600; font-variant-numeric:tabular-nums; }
.of-player-utility { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; }
.of-player-left,.of-player-right { display:flex; align-items:center; gap:14px; }
.of-player-icon { width:54px; height:54px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:999px; background:rgba(255,255,255,.12); color:#fff; backdrop-filter:blur(14px); cursor:pointer; transition:background .18s ease,transform .18s ease,box-shadow .18s ease; }
.of-player-icon svg { width:24px; height:24px; }
.of-player-icon:hover,.of-player-icon:focus-visible { background:rgba(255,255,255,.2); box-shadow:0 12px 28px rgba(0,0,0,.26); transform:translateY(-2px) scale(1.03); outline:none; }
.of-player-icon:focus-visible { box-shadow:0 0 0 2px #fff; }
.of-player-icon[hidden] { display:none; }
.of-player-play { background:#fff; color:#0b0b0b; }
.of-player-play:hover,.of-player-play:focus-visible { background:#fff; }
.of-player-volume { width:110px; display:inline-flex; }
.of-player-volume input { width:100%; accent-color:#fff; cursor:pointer; }
.of-player-speed select { height:54px; padding:0 16px; border:0; border-radius:999px; background:rgba(255,255,255,.12); color:#fff; font:700 15px/1 inherit; font-family:inherit; cursor:pointer; backdrop-filter:blur(14px); }
.of-player-speed select:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.of-player-speed option { background:#111; }
.of-player-status { position:absolute; z-index:6; top:50%; left:50%; margin:0; padding:10px 16px; transform:translate(-50%,-50%); border-radius:999px; background:rgba(0,0,0,.78); font-size:14px; font-weight:600; }
.of-player-status[hidden],.of-player-error[hidden] { display:none; }
.of-player-error { position:absolute; z-index:9; top:50%; left:50%; width:min(430px,calc(100% - 40px)); padding:24px; transform:translate(-50%,-50%); border:1px solid rgba(255,255,255,.12); border-radius:20px; background:rgba(15,15,15,.96); text-align:center; }
.of-player-error strong,.of-player-error span { display:block; margin-bottom:12px; }
.of-player-error .of-action { min-height:46px; padding:0 22px; border:0; border-radius:999px; background:#fff; color:#111; font-family:inherit; font-weight:700; cursor:pointer; }
.of-up-next { position:absolute; z-index:8; right:34px; bottom:150px; display:flex; flex-wrap:wrap; align-items:center; gap:10px; max-width:calc(100% - 68px); padding:14px 16px; border-radius:20px; background:rgba(14,15,18,.92); box-shadow:0 18px 46px rgba(0,0,0,.38); backdrop-filter:blur(16px); }
.of-up-next span { flex:1 1 220px; font-weight:700; }
.of-up-next .of-watch-button { min-height:44px; padding:0 18px; }

/* When there is nothing to play */
.of-player-message { min-height:640px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:40px 24px; text-align:center; background:radial-gradient(circle at 50% 30%,#1b1b1b,#050505); }
.of-player-message[hidden] { display:none; }
.of-player-message-film { margin:0; color:rgba(255,255,255,.6); font-size:15px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.of-player-message-film:empty { display:none; }
.of-player-message strong { font-size:clamp(24px,2.6vw,38px); font-weight:800; letter-spacing:-.02em; }
.of-player-message span { max-width:52ch; color:rgba(255,255,255,.72); line-height:1.6; }
.of-player-message .of-watch-button { margin-top:10px; }
.of-player-message .of-watch-button[hidden] { display:none; }

/* Sidebar */
.of-watch-sidebar { display:flex; flex-direction:column; gap:18px; padding:24px; border:1px solid rgba(255,255,255,.06); border-radius:28px; background:rgba(10,11,15,.9); box-shadow:0 24px 70px rgba(0,0,0,.28); backdrop-filter:blur(18px); }
.of-watch-sidebar[hidden] { display:none; }
.of-watch-art { width:100%; }
.of-watch-art.has-logo { padding:8px 0 4px; }
.of-watch-art img { display:block; width:auto; max-width:100%; max-height:110px; object-fit:contain; }
.of-watch-art img[hidden],.of-watch-name[hidden] { display:none; }
/* Classix sets the title in the sidebar at 48px when there is no logo. */
.of-watch-name { margin:0; color:#fff; font-size:48px; font-weight:800; line-height:.98; letter-spacing:-.05em; overflow-wrap:anywhere; }
html[data-artwork="mono"] .of-watch-art.has-logo img { filter:grayscale(100%); }
.of-watch-type { display:inline-flex; align-items:center; padding:7px 12px; border-radius:999px; background:rgba(255,255,255,.1); color:#fff; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.of-watch-meta { display:flex; flex-wrap:wrap; margin:14px 0 0; color:rgba(255,255,255,.88); font-size:17px; font-weight:600; line-height:1.45; }
.of-watch-description { margin:16px 0 0; color:rgba(255,255,255,.82); font-size:17px; line-height:1.65; }
.of-watch-resume { margin:14px 0 0; color:#fff; font-size:15px; font-weight:700; }
.of-watch-resume[hidden] { display:none; }
.of-watch-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.of-watch-rate { display:inline-flex; gap:12px; }
.of-watch-rate[hidden] { display:none; }
.of-watch-button,.of-watch-icon { border:0; border-radius:999px; font-family:inherit; text-decoration:none; cursor:pointer; transition:background .18s ease,transform .18s ease,box-shadow .18s ease; }
.of-watch-button { min-height:54px; display:inline-flex; align-items:center; justify-content:center; padding:0 24px; background:#fff; color:#111; font-size:16px; font-weight:700; }
.of-watch-button.is-secondary { background:rgba(255,255,255,.1); color:#fff; }
.of-watch-button[hidden],.of-watch-icon[hidden] { display:none; }
.of-watch-icon { width:54px; height:54px; display:inline-flex; align-items:center; justify-content:center; padding:0; background:rgba(255,255,255,.1); color:#fff; }
.of-watch-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linejoin:round; stroke-linecap:round; }
.of-watch-icon[aria-pressed="true"] { background:#fff; color:#111; }
.of-watch-heart[aria-pressed="true"] svg { fill:currentColor; }
.of-watch-button:hover,.of-watch-icon:hover,.of-watch-button:focus-visible,.of-watch-icon:focus-visible { transform:translateY(-2px); box-shadow:0 12px 28px rgba(0,0,0,.26); }
.of-watch-button:focus-visible,.of-watch-icon:focus-visible,.of-season-select:focus-visible,.of-episode-card:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.of-watch-trivia { margin:0; padding-top:14px; border-top:1px solid rgba(255,255,255,.08); color:rgba(255,255,255,.82); font-size:15px; line-height:1.6; }
.of-watch-trivia[hidden] { display:none; }
.of-watch-trivia span:first-child { display:block; margin-bottom:4px; color:rgba(255,255,255,.52); font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }

/* Director / Rating rows and "Report playback issue", as in the Classix sidebar */
.of-watch-details { display:grid; gap:10px; margin:0; padding-top:14px; border-top:1px solid rgba(255,255,255,.08); }
.of-watch-details[hidden],.of-watch-detail-row[hidden] { display:none; }
.of-watch-detail-row { display:grid; grid-template-columns:92px minmax(0,1fr); gap:12px; align-items:baseline; }
.of-watch-detail-row dt { color:rgba(255,255,255,.52); font-size:14px; font-weight:600; }
.of-watch-detail-row dd { margin:0; color:#fff; font-size:15px; line-height:1.45; }
.of-watch-detail-row dd a { color:#fff; text-decoration:none; border-bottom:1px solid rgba(255,255,255,.28); }
.of-watch-detail-row dd a:hover,.of-watch-detail-row dd a:focus-visible { border-bottom-color:#fff; outline:0; }
.of-watch-rating-star { color:#f5c518; }
html[data-artwork="mono"] .of-watch-rating-star { color:#fff; }
.of-watch-detail-row dd small { margin-left:6px; color:rgba(255,255,255,.5); font-size:12px; }
.of-watch-report-row { padding-top:2px; }
.of-watch-report-link { display:inline-flex; align-items:center; gap:7px; padding:6px 0; border:0; background:transparent; color:rgba(255,255,255,.58); font:inherit; font-size:14px; cursor:pointer; }
.of-watch-report-link svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linejoin:round; stroke-linecap:round; }
.of-watch-report-link:hover,.of-watch-report-link:focus-visible { color:#fff; outline:0; text-decoration:underline; }

/* Report dialog */
.of-report { width:min(460px,calc(100vw - 32px)); max-height:calc(100vh - 32px); padding:0; border:1px solid rgba(255,255,255,.12); border-radius:14px; background:#141414; color:#fff; box-shadow:0 30px 80px rgba(0,0,0,.6); }
.of-report::backdrop { background:rgba(0,0,0,.72); }
.of-report-form { position:relative; padding:26px 24px 22px; }
.of-report-form h2 { margin:0 36px 6px 0; font-size:22px; }
.of-report-intro { margin:0 0 16px; color:rgba(255,255,255,.72); font-size:14px; line-height:1.5; }
.of-report-close { position:absolute; top:12px; right:12px; width:34px; height:34px; border:0; border-radius:50%; background:rgba(255,255,255,.08); color:#fff; font-size:20px; line-height:1; cursor:pointer; }
.of-report-close:hover,.of-report-close:focus-visible { background:rgba(255,255,255,.18); outline:0; }
.of-report fieldset { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 14px; padding:0; border:0; }
.of-report legend { margin-bottom:8px; color:rgba(255,255,255,.52); font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.of-report fieldset label { position:relative; display:inline-flex; align-items:center; min-height:36px; padding:0 14px; border:1px solid rgba(255,255,255,.2); border-radius:999px; font-size:14px; cursor:pointer; }
.of-report fieldset input { position:absolute; opacity:0; pointer-events:none; }
.of-report fieldset label:has(input:checked) { border-color:#fff; background:#fff; color:#111; font-weight:600; }
.of-report fieldset label:has(input:focus-visible) { outline:2px solid #fff; outline-offset:2px; }
.of-report-note-label { display:block; margin-bottom:6px; color:rgba(255,255,255,.72); font-size:14px; }
.of-report-note-label span { color:rgba(255,255,255,.45); }
.of-report textarea { width:100%; box-sizing:border-box; padding:10px 12px; border:1px solid rgba(255,255,255,.2); border-radius:8px; background:#0b0b0b; color:#fff; font:inherit; font-size:14px; resize:vertical; }
.of-report textarea:focus { border-color:#fff; outline:0; }
.of-report-status { min-height:20px; margin:10px 0 0; font-size:14px; }
.of-report-status.is-error { color:#ff9b9b; }
.of-report-status.is-ok { color:#9be7a6; }
.of-report-actions { display:flex; gap:10px; margin-top:12px; }
.of-report-actions .of-watch-button { min-height:46px; padding:0 22px; font-size:15px; }
.of-report-actions .of-watch-button[disabled] { opacity:.55; cursor:default; transform:none; box-shadow:none; }
.of-report-cancel { min-height:46px; padding:0 18px; border:1px solid rgba(255,255,255,.24); border-radius:999px; background:transparent; color:#fff; font:inherit; font-size:15px; cursor:pointer; }
.of-report-cancel:hover,.of-report-cancel:focus-visible { border-color:#fff; outline:0; }

/* Episodes rail and related rows */
.of-watch-section { margin-top:14px; padding-top:14px; }
.of-watch-section[hidden] { display:none; }
.of-watch-section-head { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:12px; }
.of-watch-section-head h2 { margin:0; color:#fff; font-size:28px; font-weight:650; line-height:1.08; letter-spacing:-.02em; }
.of-watch-note { margin:0 0 14px; color:rgba(255,255,255,.62); font-size:15px; }
.of-season-wrap[hidden] { display:none; }
.of-season-select { height:46px; padding:0 16px; border:0; border-radius:999px; background:rgba(255,255,255,.1); color:#fff; font-family:inherit; font-size:15px; font-weight:700; cursor:pointer; }
.of-season-select option { background:#111; }
.of-episode-rail { padding-right:0; }
.of-episode-card { position:relative; flex:0 0 340px; width:340px; padding:0; border:0; background:transparent; color:#fff; font-family:inherit; text-align:left; cursor:pointer; scroll-snap-align:start; }
.of-episode-art { position:relative; display:block; aspect-ratio:16/9; overflow:hidden; border-radius:10px; background:#181818; box-shadow:0 8px 25px #0007; }
.of-episode-art img { width:100%; height:100%; display:block; object-fit:cover; opacity:.7; transition:transform .2s,opacity .2s; }
.of-episode-card:hover .of-episode-art img,.of-episode-card.is-active .of-episode-art img { opacity:.95; transform:scale(1.025); }
.of-episode-card.is-active .of-episode-art { box-shadow:0 0 0 2px #fff,0 8px 25px #0007; }
.of-episode-card:hover .test-card-hover,.of-episode-card:focus-visible .test-card-hover { opacity:1; }
.of-episode-pill { position:absolute; z-index:2; top:10px; left:10px; display:inline-flex; align-items:center; padding:5px 10px; border-radius:999px; background:rgba(255,255,255,.9); color:#0f1014; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.of-episode-caption { display:block; margin-top:11px; }
.of-episode-caption strong { display:block; overflow:hidden; font-size:18px; font-weight:700; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.of-episode-caption small { display:block; margin-top:4px; color:rgba(255,255,255,.62); font-size:13px; }

/* Episode layout switch (Row / List), next to the season picker */
.of-episode-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; }
.of-layout-toggle { display:inline-flex; padding:3px; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(0,0,0,.35); }
.of-layout-toggle button { display:inline-flex; align-items:center; gap:7px; min-height:38px; padding:0 14px; border:0; border-radius:999px; background:transparent; color:#bdbdbd; font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
.of-layout-toggle svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.of-layout-toggle button:hover { color:#fff; }
.of-layout-toggle button[aria-pressed="true"] { background:#f2f2f2; color:#090909; }
.of-layout-toggle button:focus-visible { outline:2px solid #fff; outline-offset:2px; }

/* List layout: episodes top to bottom, scrolling inside the section so a long
   series does not push Cast & Crew far down the page. */
.of-episode-rail { position:relative; }
#episodesSection.is-list .of-episode-rail { flex-direction:column; gap:8px; max-height:min(680px,72vh); padding:2px 10px 2px 0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scroll-snap-type:y proximity; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.3) transparent; }
#episodesSection.is-list .test-tray-button { display:none; }
#episodesSection.is-list .of-episode-card { flex:none; width:100%; display:grid; grid-template-columns:240px minmax(0,1fr); gap:20px; align-items:center; padding:10px; border-radius:12px; background:rgba(255,255,255,.035); transition:background .18s; }
#episodesSection.is-list .of-episode-card:hover,#episodesSection.is-list .of-episode-card:focus-visible { background:rgba(255,255,255,.09); }
#episodesSection.is-list .of-episode-card.is-active { background:rgba(255,255,255,.12); }
#episodesSection.is-list .of-episode-card.is-active .of-episode-art { box-shadow:0 0 0 2px #fff; }
#episodesSection.is-list .of-episode-caption { margin-top:0; }
#episodesSection.is-list .of-episode-caption strong { font-size:19px; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
#episodesSection.is-list .of-episode-caption small { font-size:14px; }
@media (max-width:650px) {
  #episodesSection .of-watch-section-head { flex-wrap:wrap; }
  .of-layout-toggle button { min-height:34px; padding:0 11px; }
  .of-layout-toggle button span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
  #episodesSection.is-list .of-episode-card { grid-template-columns:132px minmax(0,1fr); gap:12px; padding:8px; }
  #episodesSection.is-list .of-episode-pill { top:6px; left:6px; padding:3px 7px; font-size:9px; }
  #episodesSection.is-list .of-episode-caption strong { font-size:15px; }
  #episodesSection.is-list .of-episode-caption small { font-size:12px; }
}
/* Rows carry their own left padding (as on the home page) and scroll to the
   right edge, so they cancel the page padding instead of adding to it. */
.of-watch-rows { margin:22px calc(-1 * clamp(18px,4vw,58px)) 0; padding-top:10px; }

@media (max-width:1199px) {
  .of-watch-hero { grid-template-columns:1fr; }
}
@media (max-width:991px) {
  .of-player-frame,.of-player-message { height:520px; min-height:520px; }
  .of-player-topbar h1,.of-watch-name { font-size:38px; }
  .of-player-meta { font-size:16px; }
  .of-player-icon,.of-watch-icon { width:50px; height:50px; }
  .of-player-speed select { height:50px; }
  .of-watch-button { min-height:50px; }
}
@media (max-width:767px) {
  .of-watch-page { padding:96px 14px 24px; }
  .of-player-shell,.of-watch-sidebar { border-radius:20px; }
  .of-player-frame,.of-player-message { height:320px; min-height:320px; }
  .of-player-overlay { padding:20px 18px 18px; }
  .of-player-topbar { max-width:100%; }
  .of-player-topbar h1,.of-watch-name { font-size:30px; }
  .of-player-episode { font-size:15px; }
  .of-player-meta,.of-watch-meta { font-size:14px; }
  .of-watch-description { font-size:14px; }
  .of-player-controls { gap:12px; padding-top:12px; }
  .of-player-track { height:8px; }
  .of-player-handle { width:16px; height:16px; margin:-8px 0 0 -8px; }
  .of-player-labels { margin-top:8px; font-size:13px; }
  .of-player-utility,.of-player-left,.of-player-right { gap:8px; }
  .of-player-utility { flex-wrap:nowrap; }
  .of-player-volume,.of-player-speed { display:none; }
  .of-player-icon { width:42px; height:42px; }
  .of-player-icon svg { width:20px; height:20px; }
  .of-up-next { right:12px; bottom:96px; left:12px; max-width:none; padding:10px 12px; }
  .of-episode-card { flex-basis:260px; width:260px; }
  .of-watch-rows { margin-inline:-14px; }
}

/* ---- Cast & Crew rail (Classix sizes: 216px avatars, 152px on phones) ---- */
.of-cast-section[hidden] { display:none; }
.of-cast-rail { align-items:flex-start; gap:18px; padding-top:12px; padding-bottom:18px; }
.of-cast-card { flex:0 0 216px; width:216px; color:#fff; text-align:center; text-decoration:none; scroll-snap-align:start; }
.of-cast-avatar { width:216px; height:216px; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; overflow:hidden; border:1px solid rgba(255,255,255,.14); border-radius:999px; background:rgba(255,255,255,.08); box-shadow:0 18px 42px rgba(0,0,0,.26); transition:background .18s ease,transform .18s ease,box-shadow .18s ease; }
.of-cast-avatar img { width:100%; height:100%; display:block; object-fit:cover; object-position:center 20%; }
.of-cast-initials { color:rgba(255,255,255,.7); font-size:64px; font-weight:800; letter-spacing:-.02em; }
.of-cast-card:hover .of-cast-avatar,.of-cast-card:focus-visible .of-cast-avatar { background:rgba(255,255,255,.14); box-shadow:0 22px 52px rgba(0,0,0,.34); transform:translateY(-2px) scale(1.03); }
.of-cast-card:focus-visible { outline:none; }
.of-cast-card:focus-visible .of-cast-avatar { outline:2px solid #fff; outline-offset:3px; }
.of-cast-name,.of-cast-role { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; text-overflow:ellipsis; }
.of-cast-name { color:#fff; font-size:20px; font-weight:700; line-height:1.14; }
.of-cast-role { margin-top:6px; color:rgba(255,255,255,.64); font-size:16px; font-weight:500; line-height:1.14; }
@media (max-width:767px) {
  .of-cast-rail { gap:14px; }
  .of-cast-card { flex-basis:152px; width:152px; }
  .of-cast-avatar { width:152px; height:152px; margin-bottom:10px; }
  .of-cast-initials { font-size:46px; }
  .of-cast-name { font-size:17px; }
  .of-cast-role { margin-top:5px; font-size:14px; }
}

/* ---- Title logos on landscape cards (TMDB, scripts/build-title-logos.js) -- */
/* Two classes deep so it beats .test-card-image img, which sizes the artwork. */
.test-card-image .test-card-logo { position:absolute; z-index:2; left:12px; bottom:10px; width:auto; height:auto; max-width:62%; max-height:46%; object-fit:contain; object-position:left bottom; filter:drop-shadow(0 2px 8px rgba(0,0,0,.6)); pointer-events:none; transition:none; }
.test-card:hover .test-card-image .test-card-logo { transform:none; }
html[data-artwork="mono"] .test-card-image .test-card-logo { filter:grayscale(100%) drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.test-card-image .test-card-title[hidden] { display:none; }
/* A logo stays invisible until checkLogo() has confirmed it is readable. */
.test-card-image .test-card-logo.is-checking { opacity:0; }

/* ------------------------------------------------------------------
   About OldieFlix: the live home page's search text, carried over word
   for word by scripts/build-redesign-seo.js (H1, topics, FAQ, footer).
   ------------------------------------------------------------------ */
.of-seo { box-sizing:border-box; width:calc(100% - 2 * clamp(20px,5vw,72px)); max-width:1320px; margin:48px auto 0; padding:28px 0 0; border-top:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.66); font-size:14px; line-height:1.6; }
.of-seo h1 { margin:0 0 8px; color:#fff; font-size:clamp(22px,2.4vw,28px); font-weight:800; line-height:1.2; letter-spacing:-.015em; }
.of-seo h2 { margin:0; color:#fff; font-size:16px; font-weight:750; line-height:1.3; }
.of-seo h3 { margin:0; color:#fff; font-size:14px; font-weight:650; line-height:1.4; }
.of-seo p { margin:0 0 8px; }
.of-seo strong { color:rgba(255,255,255,.86); font-weight:600; }
.of-seo em { font-style:normal; color:#fff; }
.of-seo a { color:#fff; text-decoration:none; border-bottom:1px solid rgba(255,255,255,.3); }
.of-seo a:hover,.of-seo a:focus-visible { border-bottom-color:#fff; outline:0; }
/* Centred heading and introduction; the topic text stays left-aligned for reading. */
.of-seo .seo-hero { max-width:900px; margin:0 auto 26px; text-align:center; }
.of-seo .seo-hero p { margin:0; }
/* Condensed: topics flow through three newspaper columns, each folding under its heading; FAQ
   answers fold under their questions. Same words, all in the page. */
.of-seo-topics { columns:3; column-gap:32px; }
.of-seo .seo-section { min-width:0; margin-bottom:20px; break-inside:avoid; scroll-margin-top:96px; }
.of-seo summary { display:flex; align-items:center; justify-content:space-between; gap:10px; list-style:none; cursor:pointer; }
.of-seo summary::-webkit-details-marker { display:none; }
.of-seo summary::after { content:"+"; flex:none; color:rgba(255,255,255,.45); font-size:18px; line-height:1; transition:transform .2s; }
.of-seo details[open] > summary::after { transform:rotate(45deg); }
.of-seo summary:focus-visible { outline:2px solid #fff; outline-offset:3px; border-radius:4px; }
.of-seo-topic > summary { margin-bottom:8px; padding-bottom:6px; border-bottom:1px solid rgba(255,255,255,.08); }
.of-seo #faq { column-span:all; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 16px; align-items:start; margin-top:6px; }
.of-seo #faq > h2 { grid-column:1 / -1; margin-bottom:4px; text-align:center; }
.of-seo .faq-item { padding:10px 14px; border-radius:10px; background:rgba(255,255,255,.04); }
.of-seo .faq-item[open] { background:rgba(255,255,255,.07); }
.of-seo .faq-item p { margin:8px 0 2px; font-size:13.5px; }
.of-seo .classic-list { margin:0 0 8px; padding-left:18px; }
.of-seo .classic-list li { margin-bottom:4px; break-inside:avoid; }
@media (max-width:1100px) {
  .of-seo-topics { columns:2; }
  .of-seo #faq { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
/* Phones: topics start folded (home.js), so the section is a list of headings. */
@media (max-width:760px) {
  .of-seo { width:calc(100% - 32px); margin:36px auto 0; padding-top:22px; }
  .of-seo-topics { columns:1; }
  .of-seo .seo-section { margin-bottom:0; }
  .of-seo #faq { grid-template-columns:1fr; }
  .of-seo-topic > summary { margin:0; padding:12px 0; }
  .of-seo-topic[open] { padding-bottom:10px; }
  .of-seo #faq { gap:8px; margin-top:18px; }
}

/* ------------------------------------------------------------------
   Footer: the live site's footer and its film-strip decal (sprocket holes),
   same markup (scripts/lib/live-footer.js) and same look as oldieflix.com.
   ------------------------------------------------------------------ */
.filmstrip { height:14px; background:repeating-linear-gradient(90deg,#111 0,#111 14px,#0a0a0a 14px,#0a0a0a 28px); border-top:1px solid #1a1a1a; border-bottom:1px solid #1a1a1a; }
.site-footer { margin-top:10px; padding:32px 20px; border-top:2px solid #1a1a1a; background:#000; font-family:"Helvetica Neue","Arial Nova","Segoe UI",Arial,sans-serif; }
.footer-inner { max-width:860px; margin:0 auto; text-align:center; }
.footer-inner > p { margin:0 0 18px; color:#7a7a7a; font-size:13px; line-height:1.55; letter-spacing:.15px; }
.footer-inner strong { color:#666; }
.footer-nav { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 20px; margin-bottom:20px; }
.footer-nav a { color:#727272; font-size:12px; line-height:1.35; letter-spacing:.2px; text-decoration:none; text-transform:uppercase; transition:color .2s; }
.footer-nav a:hover,.footer-nav a:focus-visible { color:#fff; outline:0; }
.footer-inner > p.footer-credit { margin:-6px 0 0; color:#5f5f5f; font-size:11px; }
/* Space above the film strip comes from the page content, so it keeps the content's background. */
main { padding-bottom:48px; }
/* Title pages: related titles as plain links in the HTML (readable without
   scripts); watch.js replaces them with the usual rows. */
.of-static-links { display:flex; flex-wrap:wrap; gap:10px 14px; margin:0; padding:0 clamp(18px,4vw,58px) 0 0; list-style:none; }
.of-static-links li { padding:10px 14px; border-radius:10px; background:rgba(255,255,255,.05); color:rgba(255,255,255,.55); font-size:13px; }
.of-static-links a { color:#fff; font-size:15px; font-weight:600; text-decoration:none; }
.of-static-links a:hover,.of-static-links a:focus-visible { text-decoration:underline; outline:0; }

/* ------------------------------------------------------------------
   Black-and-white mode covers the moving picture too: every <video> on
   the site (watch pages, Live TV, previews), also in full screen and in
   the Document Picture-in-Picture window. player.js keeps colour-only
   routes (plain PiP, casting) out of B&W mode.
   ------------------------------------------------------------------ */
html[data-artwork="mono"] video { filter:grayscale(100%); }
.of-pip-window { margin:0; background:#000; overflow:hidden; }
.of-pip-window .of-player-frame { position:fixed; inset:0; height:100%; border-radius:0; }
.of-pip-window .of-player-topbar h1 { font-size:24px; }
.of-pip-window .of-player-meta,.of-pip-window .of-player-episode { font-size:14px; }
.of-pip-placeholder { display:grid; place-items:center; height:640px; border-radius:inherit; background:#050505; color:rgba(255,255,255,.6); font-size:15px; }

/* Player additions matching Tubi: subtitles (CC), quality, cast, settings panel */
.of-player-icon.is-on { background:#fff; color:#0b0b0b; }
.of-player-quality { display:inline-flex; align-items:center; height:30px; padding:0 10px; border:1px solid rgba(255,255,255,.45); border-radius:6px; color:#fff; font-size:12px; font-weight:800; letter-spacing:.08em; }
.of-player-quality[hidden] { display:none; }
.of-player-panel { position:absolute; z-index:12; right:0; bottom:calc(100% + 14px); width:min(440px,calc(100vw - 48px)); max-height:min(460px,70vh); overflow:auto; padding:18px 18px 8px; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:rgba(14,15,18,.96); box-shadow:0 24px 60px rgba(0,0,0,.55); backdrop-filter:blur(18px); color:#fff; overscroll-behavior:contain; }
.of-player-panel[hidden] { display:none; }
.of-player-panel-section { padding-bottom:14px; margin-bottom:14px; border-bottom:1px solid rgba(255,255,255,.08); }
.of-player-panel-section:last-child { border-bottom:0; margin-bottom:0; }
.of-player-panel h3 { margin:0 0 10px; color:rgba(255,255,255,.6); font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.of-player-panel-row { margin-bottom:10px; }
.of-player-panel-label { display:block; margin-bottom:6px; font-size:13px; font-weight:600; }
.of-player-choices { display:flex; flex-wrap:wrap; gap:6px; }
.of-player-choice { min-height:34px; padding:0 12px; border:1px solid rgba(255,255,255,.2); border-radius:999px; background:transparent; color:#fff; font:inherit; font-size:13px; cursor:pointer; }
.of-player-choice:hover { border-color:#fff; }
.of-player-choice[aria-checked="true"] { border-color:#fff; background:#fff; color:#0b0b0b; font-weight:700; }
.of-player-choice:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.of-player-caption-sample { margin:8px 0 0; padding:6px 10px; border-radius:4px; line-height:1.3; text-align:center; }
.of-player-keys { display:grid; grid-template-columns:auto 1fr; gap:6px 14px; margin:0; font-size:13px; }
.of-player-keys dt { color:#fff; font-weight:700; white-space:nowrap; }
.of-player-keys dd { margin:0; color:rgba(255,255,255,.7); }
@media (max-width:650px) {
  .of-player-panel { right:-4px; width:calc(100vw - 32px); max-height:60vh; }
}

/* ---- Collection pages (collections/<slug>.html) and links to them --------- */
.of-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 18px; color:var(--test-muted); font-size:13px; }
.of-breadcrumb a { color:#d6d6d6; text-decoration:none; }
.of-breadcrumb a:hover, .of-breadcrumb a:focus-visible { color:#fff; text-decoration:underline; }
.of-collection-intro { max-width:72ch; margin-top:16px; }
.of-collection-intro p { margin:0 0 14px; color:rgba(255,255,255,.78); font-size:17px; line-height:1.6; }
.of-collection-intro a { color:#fff; text-decoration:underline; text-decoration-color:rgba(255,255,255,.35); text-underline-offset:3px; }
.of-collection-intro a:hover, .of-collection-intro a:focus-visible { text-decoration-color:#fff; }
.of-collection-kids { margin:18px 0 0; padding:12px 16px; border-radius:10px; background:rgba(255,255,255,.06); color:#d6d6d6; font-size:14px; }
.of-collection-picks, .of-collection-all, .of-collection-more { margin-top:46px; }
.of-collection-picks h2, .of-collection-all > h2, .of-collection-more h2 { margin:0 0 18px; font-size:clamp(22px,2.4vw,30px); font-weight:800; letter-spacing:-.01em; }
.of-pick-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; margin:0; padding:0; list-style:none; }
.of-pick-link { display:flex; gap:14px; height:100%; padding:12px; border-radius:12px; background:rgba(255,255,255,.05); color:inherit; text-decoration:none; transition:background .2s; }
.of-pick-link:hover, .of-pick-link:focus-visible { background:rgba(255,255,255,.1); outline:0; }
.of-pick-poster { flex:0 0 84px; width:84px; height:126px; border-radius:6px; object-fit:cover; background:#181818; }
.of-pick-text { display:flex; flex-direction:column; gap:4px; min-width:0; }
.of-pick-text strong { color:#fff; font-size:16px; line-height:1.25; }
.of-pick-text small { color:var(--test-muted); font-size:12px; }
.of-pick-text span { color:rgba(255,255,255,.72); font-size:13px; line-height:1.45; }
.of-collection-jump { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 8px; }
.of-collection-jump a, .of-collection-links a, .of-title-collections a { display:inline-flex; align-items:center; min-height:34px; padding:0 14px; border:1px solid rgba(255,255,255,.28); border-radius:999px; color:#d6d6d6; font-size:13px; font-weight:700; text-decoration:none; white-space:nowrap; }
.of-collection-jump a:hover, .of-collection-links a:hover, .of-title-collections a:hover,
.of-collection-jump a:focus-visible, .of-collection-links a:focus-visible, .of-title-collections a:focus-visible { border-color:#fff; color:#fff; outline:0; }
.of-collection-group { margin-top:34px; scroll-margin-top:90px; }
.of-collection-group h3 { margin:0 0 16px; font-size:20px; font-weight:800; }
.of-collection-group h3 small { margin-left:6px; color:var(--test-muted); font-size:14px; font-weight:600; }
.of-collection-more .of-static-links { padding-right:0; }
.of-collection-links, .of-title-collections { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:16px; }
.of-collection-links > span, .of-title-collections > span { margin-right:4px; color:var(--test-muted); font-size:13px; font-weight:700; }
.of-title-collections { margin:28px clamp(18px,4vw,58px) 0; }
[data-card-slug][hidden], [data-card-group][hidden] { display:none !important; }
html.of-kids-pending [data-card-slug] { visibility:hidden; }
@media (max-width:650px) {
  .of-collection-intro p { font-size:16px; }
  .of-pick-list { grid-template-columns:1fr; }
  .of-collection-jump a, .of-collection-links a, .of-title-collections a { min-height:32px; padding:0 12px; font-size:12px; }
}
html[data-artwork="mono"] .of-pick-poster { filter:grayscale(100%); }

/* ---- Old-time radio (radio.html, radio/<slug>.html) ------------------------ */
.of-radio-card { position:relative; display:flex; flex-direction:column; justify-content:space-between; aspect-ratio:1; padding:14px; overflow:hidden; border-radius:10px; background:radial-gradient(circle at 30% 20%,#3a3a3a 0%,#161616 55%,#0b0b0b 100%); box-shadow:inset 0 0 0 1px rgba(255,255,255,.12), 0 8px 24px #0007; color:#fff; text-align:left; }
.of-radio-card::after { content:""; position:absolute; right:-18%; bottom:-18%; width:62%; aspect-ratio:1; border-radius:50%; background:repeating-radial-gradient(circle,rgba(255,255,255,.09) 0 2px,transparent 2px 9px); pointer-events:none; }
.of-radio-card-kicker { font:800 9px/1.2 "Courier New",monospace; letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.6); }
.of-radio-card strong { position:relative; z-index:1; font-size:clamp(18px,2.2vw,28px); line-height:1.02; letter-spacing:.01em; word-break:break-word; }
.of-radio-card-years { position:relative; z-index:1; font-size:12px; font-weight:700; color:rgba(255,255,255,.7); }
.of-radio-card[data-genre="Detective"] strong { font-family:"OF Channel Oswald",sans-serif; text-transform:uppercase; }
.of-radio-card[data-genre="Crime"] strong { font-family:"OF Channel Black Ops One",sans-serif; }
.of-radio-card[data-genre="Mystery"] strong, .of-radio-card[data-genre="Thriller"] strong { font-family:"OF Channel Abril Fatface",serif; }
.of-radio-card[data-genre="Horror"] strong { font-family:"OF Channel Creepster",cursive; letter-spacing:.03em; }
.of-radio-card[data-genre="Western"] strong { font-family:"OF Channel Limelight",serif; }
.of-radio-card[data-genre="Sci-Fi"] strong { font-family:"OF Channel Audiowide",sans-serif; }
.of-radio-card[data-genre="Comedy"] strong { font-family:"OF Channel Luckiest Guy",cursive; letter-spacing:.02em; }
.of-radio-card[data-genre="Drama"] strong { font-family:"OF Channel Cinzel Decorative",serif; }
.of-radio-card[data-genre="Adventure"] strong { font-family:"OF Channel Lalezar",sans-serif; }
.of-radio-group { margin-top:42px; }
.of-radio-group h2 { margin:0 0 16px; font-size:clamp(22px,2.4vw,30px); font-weight:800; }
.of-radio-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:22px 16px; }
.of-radio-tile { display:flex; flex-direction:column; gap:10px; color:inherit; text-decoration:none; }
.of-radio-tile:hover .of-radio-card, .of-radio-tile:focus-visible .of-radio-card { box-shadow:inset 0 0 0 2px #fff, 0 8px 24px #0007; }
.of-radio-tile:focus-visible { outline:0; }
.of-radio-tile-text strong { display:block; color:#fff; font-size:14px; line-height:1.25; }
.of-radio-tile-text small { display:block; margin-top:3px; color:var(--test-muted); font-size:12px; }
.of-radio-hero { display:grid; grid-template-columns:minmax(160px,240px) 1fr; gap:clamp(20px,4vw,44px); align-items:center; max-width:1100px; }
.of-radio-hero h1 { margin:0; font-size:clamp(36px,4.6vw,62px); font-weight:900; line-height:1; letter-spacing:-.03em; }
.of-radio-premise { max-width:62ch; margin:16px 0 0; color:rgba(255,255,255,.8); font-size:17px; line-height:1.55; }
.of-radio-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }
.of-radio-actions .test-button { min-height:48px; padding:0 22px; font-size:15px; }
.of-radio-episodes { margin-top:46px; max-width:1100px; }
.of-radio-episodes > h2 { margin:0 0 14px; font-size:clamp(22px,2.4vw,30px); font-weight:800; }
.of-radio-year { margin-top:12px; border-top:1px solid var(--test-line); scroll-margin-top:90px; }
.of-radio-year summary { display:flex; align-items:baseline; gap:10px; padding:14px 0; font-size:19px; font-weight:800; cursor:pointer; }
.of-radio-year summary small { color:var(--test-muted); font-size:13px; font-weight:600; }
.of-radio-list { margin:0 0 10px; padding:0; list-style:none; }
.of-radio-ep { width:100%; display:grid; grid-template-columns:48px 1fr auto auto; gap:14px; align-items:center; padding:11px 12px; border:0; border-radius:8px; background:transparent; color:#e8e8e8; font:inherit; text-align:left; cursor:pointer; }
.of-radio-ep:hover, .of-radio-ep:focus-visible { background:rgba(255,255,255,.07); outline:0; }
.of-radio-ep.is-current { background:rgba(255,255,255,.12); color:#fff; }
.of-radio-ep-num { color:var(--test-muted); font-size:13px; font-variant-numeric:tabular-nums; }
.of-radio-ep-title { font-size:15px; font-weight:650; }
.of-radio-ep time, .of-radio-ep-dur { color:var(--test-muted); font-size:13px; white-space:nowrap; }
.of-radio-ep.is-current .of-radio-ep-num::before { content:"♪ "; color:#fff; }
.of-radio-rights { margin:40px 0 0; color:var(--test-muted); font-size:13px; }
.of-radio-rights a { color:#d6d6d6; }
.of-radio-player { position:fixed; z-index:1400; left:0; right:0; bottom:0; display:grid; grid-template-columns:minmax(0,1.2fr) auto minmax(0,1.6fr) auto; gap:10px 22px; align-items:center; padding:12px clamp(16px,4vw,48px); border-top:1px solid #333; background:rgba(10,10,10,.96); backdrop-filter:blur(14px); }
.of-radio-player[hidden] { display:none; }
.of-radio-player-now { min-width:0; }
.of-radio-player-now strong, .of-radio-player-now span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.of-radio-player-now strong { color:#fff; font-size:15px; }
.of-radio-player-now span { margin-top:2px; color:var(--test-muted); font-size:12px; }
.of-radio-player-controls { display:flex; align-items:center; gap:6px; }
.of-radio-player-controls button { min-width:40px; height:40px; padding:0 8px; border:0; border-radius:999px; background:rgba(255,255,255,.08); color:#fff; font:700 13px/1 inherit; cursor:pointer; }
.of-radio-player-controls button.is-primary { width:48px; height:48px; background:#f2f2f2; color:#090909; font-size:16px; }
.of-radio-player-seek { display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center; color:var(--test-muted); font-size:12px; font-variant-numeric:tabular-nums; }
.of-radio-player-seek input { width:100%; accent-color:#fff; }
.of-radio-player-options { display:flex; gap:10px; }
.of-radio-player-options label { display:flex; align-items:center; gap:6px; color:var(--test-muted); font-size:12px; }
.of-radio-player-options select { padding:6px 8px; border:1px solid rgba(255,255,255,.25); border-radius:8px; background:#111; color:#fff; font:inherit; }
body.of-radio-playing { padding-bottom:90px; }
html[data-artwork="mono"] .of-radio-card { filter:grayscale(100%); }
@media (max-width:900px) {
  .of-radio-player { grid-template-columns:1fr auto; }
  .of-radio-player-seek { grid-column:1 / -1; }
  .of-radio-player-options { grid-column:1 / -1; justify-content:space-between; }
  body.of-radio-playing { padding-bottom:170px; }
}
@media (max-width:650px) {
  .of-radio-hero { grid-template-columns:1fr; }
  .of-radio-hero .of-radio-card { max-width:200px; }
  .of-radio-ep { grid-template-columns:36px 1fr auto; }
  .of-radio-ep time { display:none; }
  .of-radio-player { bottom:64px; padding:10px 14px; }
  .of-radio-player-controls button { min-width:36px; height:36px; }
  .of-radio-player-controls button.is-primary { width:44px; height:44px; }
  body.of-radio-playing { padding-bottom:240px; }
}

/* ---- Copyright & takedown form (takedown.html) ---------------------------- */
.of-takedown-form { display:grid; gap:16px; max-width:720px; margin-top:32px; }
.of-form-row { display:grid; gap:6px; }
.of-form-row label { color:#fff; font-size:14px; font-weight:700; }
.of-form-row label small { color:var(--test-muted); font-weight:500; }
.of-form-row input, .of-form-row textarea { width:100%; padding:12px 14px; border:1px solid rgba(255,255,255,.28); border-radius:10px; background:#101010; color:#fff; font:inherit; font-size:15px; }
.of-form-row input:focus, .of-form-row textarea:focus { border-color:#fff; outline:0; }
.of-form-check { display:flex; gap:10px; align-items:flex-start; color:rgba(255,255,255,.82); font-size:14px; line-height:1.5; }
.of-form-check input { margin-top:4px; }
.of-takedown-form .test-button { justify-self:start; min-height:48px; padding:0 24px; font-size:15px; }
.of-form-status { min-height:1.5em; margin:0; color:#d6d6d6; font-size:14px; }
.of-radio-card strong { overflow-wrap:break-word; word-break:normal; hyphens:manual; }
.of-radio-card.is-long strong { font-size:clamp(15px,1.6vw,21px); }
.of-radio-card.is-very-long strong { font-size:clamp(13px,1.25vw,17px); }
.of-radio-hero .of-radio-card strong { font-size:clamp(22px,2.6vw,34px); }
.of-radio-hero .of-radio-card.is-long strong { font-size:clamp(18px,2vw,26px); }
.of-radio-hero .of-radio-card.is-very-long strong { font-size:clamp(15px,1.6vw,21px); }
