/* MovieOwn — the brand's own red (#E50914, the wordmark) on the apps'
   near-black (#0A0A0F). Warm greys, a red glow behind featured trailers. */
:root {
  --bg: #0a0a0f;
  --bg2: #121218;
  --card: #17171f;
  --card2: #1e1e28;
  --line: #2a2a35;
  --text: #f4f4f6;
  --muted: #9b9ba8;
  --red: #e50914;
  --red2: #b20710;
  --red-soft: rgba(229, 9, 20, .14);
  --gold: #f2b33d;
  --radius: 12px;
  --w: 1280px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 30; background: linear-gradient(180deg, rgba(10,10,15,.98), rgba(10,10,15,.9)); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--w); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 18px; }
.brand { color: var(--red); display: flex; align-items: center; }
.brand:hover { color: var(--red); }
.wordmark { width: auto; height: 22px; stroke: none; }
.brand.small .wordmark { height: 18px; }
.nav { display: flex; gap: 4px; }
.nav a, .nav-menu { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; border: 0; background: none; font-weight: 600; font-size: 14px; color: #d9d9e0; }
.nav a:hover, .nav-menu:hover { background: var(--bg2); color: #fff; }
.nav a.on { background: var(--red-soft); color: #fff; box-shadow: inset 0 0 0 1px rgba(229, 9, 20, .45); }
.nav a.on svg { color: var(--red); }
.search { flex: 1; display: flex; align-items: center; position: relative; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding-left: 14px; min-width: 0; transition: border-color .15s; }
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.search-ico { color: var(--muted); flex: none; }
.search input { flex: 1; border: 0; background: none; color: var(--text); padding: 10px 12px; font-size: 15px; min-width: 0; outline: none; }
.search input::placeholder { color: var(--muted); }
.search select { border: 0; border-left: 1px solid var(--line); background: none; color: #d9d9e0; padding: 0 14px; height: 24px; font-weight: 600; outline: none; }
.search select option { background: var(--bg2); }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.6); }
.suggest a { display: flex; gap: 12px; padding: 9px 14px; align-items: center; border-bottom: 1px solid var(--line); }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover { background: var(--card2); }
.suggest img { width: 38px; height: 56px; object-fit: cover; border-radius: 6px; background: var(--bg2); }
.suggest b { display: block; font-weight: 600; }
.suggest small { color: var(--muted); }
.wl-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.wl-link:hover { background: var(--bg2); }
.wl-link b { position: absolute; top: 2px; right: 0; background: var(--red); color: #fff; border-radius: 999px; font-size: 10px; min-width: 16px; height: 16px; display: grid; place-items: center; padding: 0 4px; }
.wl-link b:empty { display: none; }

/* ---------- browse drawer */
.drawer { position: sticky; top: 63px; z-index: 25; background: var(--bg2); border-bottom: 1px solid var(--line); }
.drawer[hidden] { display: none; }
.drawer-in { max-width: var(--w); margin: 0 auto; padding: 22px 20px; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 24px; }
.drawer h4 { margin: 0 0 10px; color: var(--red); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.drawer-col > a { display: block; padding: 4px 0; color: #d9d9e0; }
.drawer-col > a:hover { color: #fff; }
.drawer-genres { display: flex; flex-wrap: wrap; gap: 6px; }
.drawer-genres a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.drawer-genres a:hover { border-color: var(--red); }

/* ---------- sections and rows */
.section { margin: 38px 0; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.section-h h2 { margin: 0; font-size: 21px; letter-spacing: -.2px; }
.section-h h2 em { font-style: normal; color: var(--red); }
.section-h a { color: var(--muted); font-weight: 600; font-size: 14px; }
.section-h a:hover { color: #fff; }
.page-title { font-size: 32px; letter-spacing: -.5px; margin: 30px 0 6px; }
.sub { color: var(--muted); margin: 0 0 22px; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: 172px; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; }
.card .pimg { position: relative; aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg2); transition: transform .2s, box-shadow .2s; }
.card:hover .pimg { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.55), 0 0 0 1px rgba(229,9,20,.5); }
.card .pimg img { width: 100%; height: 100%; object-fit: cover; }
.card .score { position: absolute; left: 8px; bottom: 8px; background: rgba(10,10,15,.85); border-radius: 999px; padding: 2px 9px; font-size: 13px; font-weight: 700; display: flex; gap: 4px; align-items: center; }
.card .score i { color: var(--gold); font-style: normal; }
.wl-btn { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(10,10,15,.75); display: grid; place-items: center; }
.wl-btn svg { width: 16px; height: 16px; }
.wl-btn.on { background: var(--red); }
.wl-btn.on svg { fill: #fff; }
.card .t { font-weight: 600; margin-top: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.card .meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.card .trailer-btn { position: absolute; inset: 0 0 auto 0; aspect-ratio: 2 / 3; display: grid; place-items: center; border: 0; padding: 0; background: none; pointer-events: none; }
.card .trailer-btn span { pointer-events: auto; width: 52px; height: 52px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(229,9,20,.5); opacity: 0; transform: scale(.85); transition: opacity .15s, transform .15s; }
.card:hover .trailer-btn span { opacity: 1; transform: none; }
.card .trailer-btn svg { width: 22px; height: 22px; fill: #fff; stroke: none; margin-left: 3px; }

/* ---------- home hero */
.hero { position: relative; display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin-top: 24px; }
.hero::before { content: ""; position: absolute; left: 5%; right: 40%; top: 10%; bottom: -10%; background: radial-gradient(closest-side, rgba(229,9,20,.28), transparent); filter: blur(40px); z-index: -1; }
.hero-main { position: relative; border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.hero-main video, .hero-main img.bg { width: 100%; height: 100%; object-fit: cover; }
.hero-main .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,15,.96) 0%, rgba(10,10,15,.3) 50%, transparent 75%); pointer-events: none; }
.hero-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: flex; gap: 18px; align-items: flex-end; }
.hero-info img.poster { width: 108px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.hero-tag { display: inline-block; color: var(--red); font-weight: 800; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 4px; }
.hero-info h3 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.4px; }
.hero-info p { margin: 0; color: #d4d4dc; max-width: 560px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btn-red { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 10px 20px; font-weight: 700; box-shadow: 0 8px 24px rgba(229,9,20,.35); }
.btn-red:hover { background: #f6121d; color: #fff; }
.btn-red svg, .btn-ghost svg { width: 16px; height: 16px; }
.btn-red svg path[d^="M7 4"], .btn-ghost svg path[d^="M7 4"] { fill: currentColor; stroke: none; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--bg2); border-radius: 999px; padding: 9px 18px; font-weight: 600; }
.btn-ghost:hover { border-color: var(--red); }
.upnext { background: var(--bg2); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.upnext h4 { margin: 2px 4px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--red); }
.upnext-item { display: flex; gap: 12px; padding: 8px; border-radius: 10px; cursor: pointer; }
.upnext-item:hover, .upnext-item.on { background: var(--card2); }
.upnext-item.on { box-shadow: inset 3px 0 0 var(--red); }
.upnext-item img { width: 58px; height: 86px; object-fit: cover; border-radius: 7px; flex: none; }
.upnext-item b { display: block; line-height: 1.3; }
.upnext-item small { color: var(--muted); }

/* ---------- Tonight teaser on home + Tonight page */
.tonight-cta { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin: 38px 0 0; padding: 22px 26px; border-radius: 16px; background: radial-gradient(120% 140% at 0% 0%, rgba(229,9,20,.28), transparent 60%), var(--bg2); border: 1px solid rgba(229,9,20,.3); }
.tonight-cta h3 { margin: 0 0 4px; font-size: 22px; }
.tonight-cta p { margin: 0; color: #cfcfd8; }
.planner { margin-top: 26px; padding: 24px; border-radius: 18px; background: radial-gradient(90% 120% at 100% 0%, rgba(229,9,20,.18), transparent 60%), var(--bg2); border: 1px solid var(--line); }
.planner h1 { margin: 0; font-size: 34px; letter-spacing: -.6px; }
.planner h1 em { font-style: normal; color: var(--red); }
.planner .lead { color: #cfcfd8; margin: 6px 0 22px; }
.pl-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.pl-row > b { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.time-val { font-size: 26px; font-weight: 800; }
.time-val small { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 8px; }
input[type=range] { width: 100%; accent-color: var(--red); }
.moods { display: flex; flex-wrap: wrap; gap: 8px; }
.mood { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; display: flex; gap: 7px; align-items: center; }
.mood:hover { border-color: #55556a; }
.mood.on { background: var(--red); border-color: var(--red); color: #fff; }
.seg { justify-self: start; max-width: 100%; flex-wrap: wrap; display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: #cfcfd8; }
.seg button.on { background: var(--card2); color: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-top: 22px; }
.pick { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; transition: border-color .15s; }
.pick:hover { border-color: rgba(229,9,20,.6); }
.pick img { width: 84px; height: 126px; border-radius: 9px; object-fit: cover; flex: none; background: var(--bg2); }
.pick b { display: block; font-size: 16px; line-height: 1.3; }
.pick .meta { color: var(--muted); font-size: 13px; margin: 3px 0 8px; }
.ends { display: inline-flex; align-items: center; gap: 6px; background: var(--red-soft); color: #fff; border: 1px solid rgba(229,9,20,.4); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; }
.ends svg { width: 14px; height: 14px; color: var(--red); }
.pick .why { color: #bdbdc8; font-size: 13px; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Reels: TikTok-style vertical clips */
body.reel-on { overflow: hidden; }
body.reel-on .foot { display: none; }
.reel { height: calc(100dvh - var(--hdr, 65px)); overflow-y: auto; scroll-snap-type: y mandatory; background: #000; scrollbar-width: none; overscroll-behavior: contain; }
.reel::-webkit-scrollbar { display: none; }
.slide { position: relative; height: calc(100dvh - var(--hdr, 65px)); scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; overflow: hidden; }
.slide .bgblur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) brightness(.3); }
.slide .nov { position: relative; color: #cfcfd8; font-weight: 600; }
.frame { position: relative; height: calc(100% - 28px); aspect-ratio: 9 / 16; max-width: 100%; border-radius: 16px; overflow: visible; background: #000; }
.frame .still, .frame .clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame .clip { opacity: 0; transition: opacity .25s, transform .45s ease; }
.frame { overflow: visible; }
.frame .clip-box { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; }
.slide.playing .clip { opacity: 1; }
.frame .tap { position: absolute; inset: 0; z-index: 1; border-radius: 16px; background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 38%), linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 15%); cursor: pointer; }
.frame .prog { position: absolute; left: 12px; right: 12px; bottom: 8px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); z-index: 3; overflow: hidden; }
.frame .prog i { display: block; height: 100%; width: 0; background: var(--red); }
.frame .cap { position: absolute; left: 16px; right: 72px; bottom: 22px; z-index: 2; pointer-events: none; }
.frame .cap h3 { margin: 0; font-size: 19px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.frame .cap .facts { color: #e2e2ea; font-size: 13px; margin-top: 2px; }
.frame .cap .facts i { color: var(--gold); font-style: normal; }
.frame .cap p { margin: 6px 0 0; color: #dcdce4; font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.frame .cap .more { pointer-events: auto; display: inline-block; margin-top: 8px; font-weight: 700; font-size: 13px; background: rgba(255,255,255,.14); padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.frame .acts { position: absolute; right: 10px; bottom: 26px; z-index: 2; display: flex; flex-direction: column; gap: 14px; }
.frame .act { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(20,20,26,.55); display: grid; place-items: center; backdrop-filter: blur(6px); color: #fff; }
.frame .act:hover { background: rgba(60,60,70,.7); }
.frame .act.on { background: var(--red); }
.frame .act.on svg { fill: #fff; }
.frame .act svg { width: 22px; height: 22px; }
.frame .unmute { position: absolute; top: 14px; left: 14px; z-index: 2; display: none; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 6px 12px 6px 10px; background: rgba(20,20,26,.7); color: #fff; font-weight: 700; font-size: 13px; backdrop-filter: blur(6px); }
.frame .unmute svg { width: 16px; height: 16px; }
.reel.muted .slide.playing .unmute { display: inline-flex; }
.frame .paused { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .15s; }
.frame .paused svg { width: 64px; height: 64px; fill: rgba(255,255,255,.85); stroke: none; filter: drop-shadow(0 4px 12px rgba(0,0,0,.5)); }
.slide.is-paused .paused { opacity: 1; }
.frame .burst { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.frame .burst svg { width: 96px; height: 96px; fill: var(--red); stroke: #fff; stroke-width: 1; filter: drop-shadow(0 6px 20px rgba(229,9,20,.6)); }
.frame .burst.go { animation: burst .8s ease-out; }
@keyframes burst { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1.1); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05) translateY(-20px); } }
.reel-back { display: none; }
@media (min-width: 701px) {
  /* The actions sit beside the clip on wide screens, as on TikTok's site. */
  .frame .acts { right: auto; left: calc(100% + 14px); bottom: 10px; }
  .frame .cap { right: 16px; }
}
@media (max-width: 700px) {
  body.reel-on .top, body.reel-on .drawer { display: none; }
  body.reel-on .reel, body.reel-on .slide { height: 100dvh; }
  .frame { height: 100%; width: 100%; aspect-ratio: auto; border-radius: 0; }
  .frame .still, .frame .clip, .frame .tap, .frame .clip-box { border-radius: 0; }
  .frame .unmute { top: 14px; left: auto; right: 14px; }
  .reel-back { display: grid; place-items: center; position: fixed; top: 10px; left: 10px; z-index: 6; width: 40px; height: 40px; border-radius: 50%; background: rgba(20,20,26,.55); backdrop-filter: blur(6px); color: #fff; }
}

/* ---------- lists (charts, search, watchlist) */
.list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg2); }
.list-item { display: flex; gap: 16px; padding: 14px; border-bottom: 1px solid var(--line); align-items: center; }
.list-item:last-child { border-bottom: 0; }
.list-item:hover { background: var(--card); }
.list-item img { width: 60px; height: 90px; object-fit: cover; border-radius: 7px; background: var(--card); flex: none; }
.list-item .rank { width: 36px; color: var(--red); font-weight: 800; text-align: right; flex: none; font-size: 18px; }
.list-item .info { flex: 1; min-width: 0; }
.list-item b { font-size: 16px; }
.list-item .meta { color: var(--muted); font-size: 14px; }
.list-item .meta i { color: var(--gold); font-style: normal; }
.list-item .ov { color: #bdbdc8; font-size: 14px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- title page */
.tp-hero { position: relative; margin-top: 0; }
.tp-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 520px; background-image: var(--bd); background-size: cover; background-position: center 20%; opacity: .16; mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); z-index: -1; }
.tp-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-top: 28px; }
.tp-head h1 { margin: 0; font-size: 40px; line-height: 1.12; letter-spacing: -.8px; }
.tp-head .orig { color: var(--muted); margin-top: 4px; }
.tp-head .facts { color: #cfcfd8; margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tp-head .facts .cert { border: 1px solid #55556a; border-radius: 4px; padding: 0 6px; font-size: 13px; }
.scorebox { display: flex; gap: 12px; }
.scorebox > div { background: rgba(23,23,31,.8); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; text-align: center; min-width: 110px; }
.scorebox small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 11px; font-weight: 700; }
.scorebox .big { display: flex; align-items: baseline; justify-content: center; gap: 4px; font-size: 24px; font-weight: 800; margin-top: 2px; }
.scorebox .big i { color: var(--gold); font-style: normal; font-size: 20px; }
.scorebox .big span { color: var(--muted); font-size: 13px; font-weight: 500; }
.tp-media { display: grid; grid-template-columns: 230px 1fr 170px; gap: 12px; margin-top: 20px; }
.tp-poster { border-radius: var(--radius); overflow: hidden; background: var(--bg2); aspect-ratio: 2 / 3; }
.tp-poster img { width: 100%; height: 100%; object-fit: cover; }
.tp-video { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; align-self: start; }
.tp-video video, .tp-video iframe, .tp-video > img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.tp-video .ph { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent 50%); }
.tp-video .ph .pbtn { width: 74px; height: 74px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(229,9,20,.5); transition: transform .15s; }
.tp-video .ph:hover .pbtn { transform: scale(1.06); }
.tp-video .ph .pbtn svg { width: 30px; height: 30px; fill: #fff; stroke: none; margin-left: 4px; }
.tp-video .ph span.cap { position: absolute; left: 16px; bottom: 14px; font-weight: 700; }
.tp-side { display: flex; flex-direction: column; gap: 12px; }
.tp-side a { flex: 1; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: 22px; padding: 10px; }
.tp-side a:hover { border-color: var(--red); }
.tp-side small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.tp-body { display: grid; grid-template-columns: 1fr 330px; gap: 30px; margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14px; background: var(--bg2); }
.chips a:hover { border-color: var(--red); }
.plot { font-size: 16px; margin: 14px 0; color: #e4e4ea; }
.credits { border-top: 1px solid var(--line); }
.credits div { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.credits b { width: 90px; flex: none; }
.credits span a { color: #ff4d55; }
.credits span a:hover { color: #fff; }
.credits span a + a::before { content: " · "; color: var(--muted); }
.tp-aside { display: flex; flex-direction: column; gap: 12px; }
.wl-big { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px; background: var(--red); color: #fff; font-weight: 700; }
.wl-big.on { background: var(--card); border: 1px solid var(--line); }
.wl-big.on svg { fill: var(--red); color: var(--red); }
.endcard { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.endcard small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 11px; font-weight: 700; }
.endcard .when { font-size: 22px; font-weight: 800; margin-top: 2px; }
.endcard .when em { font-style: normal; color: var(--red); }
.endcard p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.tagline { color: #cfcfd8; font-style: italic; margin: 0; }
.cast { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
.cast a { display: flex; gap: 12px; align-items: center; }
.cast img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--bg2); flex: none; }
.cast a:hover img { box-shadow: 0 0 0 2px var(--red); }
.cast b { display: block; }
.cast small { color: var(--muted); }
.vids { display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.vid { cursor: pointer; }
.vid .th { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--bg2); }
.vid .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.vid:hover .th img { transform: scale(1.04); }
.vid .th span { position: absolute; left: 8px; bottom: 8px; background: rgba(10,10,15,.85); border-radius: 6px; padding: 2px 8px; font-size: 13px; font-weight: 600; }
.vid .th span::before { content: "▶ "; color: var(--red); }
.vid b { display: block; margin-top: 6px; font-size: 14px; }
.photos { display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.photos img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--bg2); }
.details dl { display: grid; grid-template-columns: 170px 1fr; margin: 0; border-top: 1px solid var(--line); }
.details dt, .details dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.details dt { font-weight: 700; }
.details dd { color: #d4d4dc; }

/* ---------- person */
.person { display: grid; grid-template-columns: 240px 1fr; gap: 26px; margin-top: 28px; }
.person img { border-radius: 14px; }
.bio { white-space: pre-line; color: #d4d4dc; }

/* ---------- player modal */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { width: min(1100px, 100%); position: relative; }
.modal-media { aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 0 80px rgba(229,9,20,.25); }
.modal-media video, .modal-media iframe { width: 100%; height: 100%; border: 0; }
.modal-cap { margin-top: 12px; font-weight: 700; }
.modal-close { position: absolute; top: -46px; right: 0; background: var(--bg2); border: 1px solid var(--line); border-radius: 50%; width: 36px; height: 36px; }

/* ---------- footer */
.foot { border-top: 1px solid var(--line); margin-top: 64px; background: #07070b; }
.foot-in { max-width: var(--w); margin: 0 auto; padding: 32px 20px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-weight: 600; color: #cfcfd8; }
.attrib { color: var(--muted); font-size: 12px; display: flex; gap: 6px; align-items: center; justify-content: center; margin: 0; opacity: .7; }
.attrib:hover { opacity: 1; }
.attrib img { height: 8px; width: auto; }
.copy { color: var(--muted); font-size: 13px; margin: 0; }

.loading { padding: 90px 0; text-align: center; color: var(--muted); }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }
.btn-more { display: block; margin: 18px auto 0; border: 1px solid var(--line); background: var(--bg2); border-radius: 999px; padding: 9px 24px; font-weight: 600; }
.btn-more:hover { border-color: var(--red); }

@media (max-width: 900px) {
  .top-in { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; }
  .nav a span, .nav-menu span { display: none; }
  .hero, .tp-body { grid-template-columns: 1fr; }
  .upnext { height: auto; min-height: 0; max-height: 330px; }
  .tp-media { grid-template-columns: 1fr; }
  .tp-poster { display: none; }
  .tp-side { flex-direction: row; }
  .tp-head { flex-direction: column; }
  .person { grid-template-columns: 1fr; }
  .person img { width: 180px; }
  .drawer { top: 110px; }
  .drawer-in { grid-template-columns: 1fr; }
  .cast { grid-template-columns: 1fr; }
  .details dl { grid-template-columns: 120px 1fr; }
  .pl-row { grid-template-columns: 1fr; gap: 8px; }
  .tonight-cta { grid-template-columns: 1fr; }
  .card .trailer-btn { place-items: end end; padding: 0 8px 8px 0; }
  .card .trailer-btn span { opacity: 1; transform: none; width: 36px; height: 36px; }
  .card .trailer-btn svg { width: 16px; height: 16px; }
}

.kids { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; color: #cfcfd8; font-weight: 600; font-size: 14px; }
.kids input { accent-color: var(--red); width: 16px; height: 16px; }
.tn-opts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pick .eps { color: #cfcfd8; font-size: 13px; margin-top: 6px; }
.endcard .seg { margin-top: 10px; }
.endcard .seg button { padding: 4px 11px; font-size: 13px; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-btns .btn-red { margin-top: 0; }
.slide .still { object-fit: cover; }
.hero > *, .tp-body > *, .tp-media > *, .pl-row > *, .person > *, .drawer-in > * { min-width: 0; }
html, body { overflow-x: clip; }
@media (max-width: 900px) {
  .hero-main { aspect-ratio: 4 / 3; }
  .hero-info { padding: 16px; }
  .hero-info img.poster { display: none; }
  .hero-info h3 { font-size: 22px; }
  .planner { padding: 18px; }
  .planner h1 { font-size: 28px; }
  .time-val { font-size: 22px; }
  .tp-head h1 { font-size: 30px; }
  .slide .over h3 { font-size: 20px; }
  .slide .over p { -webkit-line-clamp: 3; font-size: 14px; }
}
.watchcard { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.watchcard:empty { display: none; }
.watchcard small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.watchcard .wgroup { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.watchcard .wgroup b { width: 54px; flex: none; font-size: 13px; }
.wlogos { display: flex; flex-wrap: wrap; gap: 8px; }
.wlogos img { width: 38px; height: 38px; border-radius: 9px; transition: transform .15s; }
.wlogos a:hover img { transform: scale(1.08); box-shadow: 0 0 0 2px var(--red); }
.watchcard p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.watchcard p.jw { font-size: 11px; opacity: .7; margin-top: 10px; }
