:root {
  --bg: #0b0b0d;
  --panel: #151518;
  --line: rgba(255, 255, 255, .1);
  --text: #f3f1ec;
  --dim: #a9a6a0;
  --red: #c8102e;
  --red-hi: #e21d3d;
  --pad: clamp(16px, 4vw, 60px);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- top bar ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; height: 68px; padding: 0 var(--pad); display: flex; align-items: center; gap: 36px;
  background: linear-gradient(rgba(0, 0, 0, .8), transparent); transition: background .35s; }
.nav.solid { background: rgba(11, 11, 13, .96); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { font-family: var(--serif); font-weight: 700; font-size: 30px; letter-spacing: .04em; color: var(--red-hi); line-height: 1; }
.brand-name { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--text); padding-left: 12px; border-left: 1px solid var(--line); }
.links { display: flex; gap: 24px; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.links a { font-size: 14px; color: #d6d3cd; transition: color .2s; }
.links a:hover { color: #fff; }
.search { display: flex; align-items: center; margin-left: auto; border: 1px solid transparent; transition: border-color .3s, background .3s; }
.search button { width: 38px; height: 36px; display: grid; place-items: center; flex: none; }
.search.open { border-color: rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .8); }
.search input::-webkit-search-cancel-button { display: none; }
#q-clear { display: none; width: 32px; }
#q-clear svg { width: 15px; height: 15px; }
.search.open.has #q-clear { display: grid; }
.row.grid .track { flex-wrap: wrap; overflow: visible; gap: 28px 8px; }
.row.grid .arrow { display: none; }

/* ---------- search bar that pops up in the middle ---------- */
.spot { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .55); display: flex; justify-content: center; align-items: flex-start; padding: 18vh 16px 0; animation: fade .18s ease both; }
.spot-box { width: min(680px, 100%); background: rgba(32, 32, 36, .82); -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); overflow: hidden; animation: spot-in .22s cubic-bezier(.2, .8, .2, 1) both; }
.spot-bar { display: flex; align-items: center; gap: 14px; padding: 0 20px; height: 64px; }
.spot-bar svg { width: 24px; height: 24px; fill: none; stroke: #b9b6b0; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.spot-bar input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 22px; font-weight: 400; }
.spot-bar input::placeholder { color: #8d8a85; }
.spot-bar kbd { font: inherit; font-size: 11px; color: #a9a6a0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 5px; padding: 2px 7px; }
.spot-list { max-height: min(56vh, 520px); overflow-y: auto; }
.spot-list:not(:empty) { border-top: 1px solid rgba(255, 255, 255, .12); padding: 8px; }
.spot-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px; border-radius: 10px; text-align: left; }
.spot-item.on { background: rgba(255, 255, 255, .13); }
.spot-item img { width: 104px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; background: #000; flex: none; }
.spot-item strong { display: block; font-weight: 500; font-size: 16px; }
.spot-item small { color: var(--dim); font-size: 12.5px; }
.spot-none { color: var(--dim); text-align: center; padding: 22px 0; margin: 0; }
@keyframes spot-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
.search svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.search input { width: 0; padding: 0; opacity: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 14px; transition: width .35s cubic-bezier(.2, .7, .2, 1), opacity .25s; }
.search.open input { width: min(240px, 44vw); opacity: 1; }
.search input::placeholder { color: #9b9892; }

/* ---------- featured film ---------- */
.hero { position: relative; height: min(88vh, 56.25vw); min-height: 460px; display: flex; align-items: flex-end; padding: 0 var(--pad) clamp(70px, 11vw, 150px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11, 11, 13, .92) 0%, rgba(11, 11, 13, .55) 38%, transparent 68%), linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 13, .35) 26%, transparent 52%); }
.hero-copy { position: relative; z-index: 2; max-width: 560px; animation: rise .9s ease both; }
.tagline { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--dim); margin: 0 0 14px; }
.tagline::before { content: ""; width: 34px; height: 2px; background: var(--red-hi); }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6.4vw, 92px); line-height: .96; margin: 0 0 16px; letter-spacing: .005em; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.hero .meta { margin: 0 0 14px; }
.hero .desc { font-size: clamp(14px, 1.25vw, 18px); line-height: 1.55; color: #e2dfd9; margin: 0 0 26px; text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }
.meta { font-size: 13px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.meta b { font-weight: 500; color: #fff; border: 1px solid rgba(255, 255, 255, .45); padding: 1px 7px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px; font-size: 16px; font-weight: 600; border-radius: 4px; transition: background .2s, transform .2s; }
.btn svg { width: 20px; height: 20px; }
.btn.play { background: #fff; color: #0b0b0d; }
.btn.play:hover { background: #d9d6d0; }
.btn.more { background: rgba(120, 120, 124, .5); color: #fff; }
.btn.more:hover { background: rgba(120, 120, 124, .32); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- rows ---------- */
.rows { position: relative; z-index: 3; margin-top: clamp(-90px, -7vw, -30px); padding-bottom: 40px; }
.row { margin-bottom: clamp(26px, 3.4vw, 46px); position: relative; scroll-margin-top: 90px; }
.row h2 { font-size: clamp(16px, 1.5vw, 21px); font-weight: 500; margin: 0 var(--pad) 12px; letter-spacing: .01em; }
.track { display: flex; gap: 8px; overflow-x: auto; padding: 14px var(--pad) 26px; scroll-snap-type: x proximity; scroll-padding: 0 var(--pad); scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.tile { position: relative; flex: none; width: clamp(180px, 22.6vw, 330px); aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--panel); scroll-snap-align: start;
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), box-shadow .32s; padding: 0; text-align: left; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 34px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .92)); opacity: 0; transform: translateY(6px); transition: opacity .28s, transform .28s; }
.tile .cap strong { display: block; font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .cap span { font-size: 11.5px; color: var(--dim); }
.tile:hover, .tile:focus-visible { transform: scale(1.09); z-index: 5; box-shadow: 0 14px 40px rgba(0, 0, 0, .8); }
.tile:hover .cap, .tile:focus-visible .cap { opacity: 1; transform: none; }
.arrow { position: absolute; top: 46px; bottom: 26px; width: var(--pad); min-width: 34px; z-index: 6; display: grid; place-items: center; background: rgba(11, 11, 13, .55); opacity: 0; transition: opacity .25s, background .25s; }
.arrow svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.arrow.l { left: 0; } .arrow.r { right: 0; }
.row:hover .arrow:not([hidden]) { opacity: 1; }
.arrow:hover { background: rgba(11, 11, 13, .8); }
.arrow:hover svg { transform: scale(1.3); }
.empty { text-align: center; color: var(--dim); padding: 160px 20px 120px; }

/* ---------- coming soon ---------- */
.flag { position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; }
.soon { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 12px 0 14px; }
.soon-tag { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--red-hi); font-weight: 600; }
.count { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.soon-date { font-size: 13px; color: var(--dim); flex-basis: 100%; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px var(--pad) 50px; color: var(--dim); font-size: 13.5px; }
.foot-brand { font-family: var(--serif); font-size: 22px; color: var(--text); letter-spacing: .04em; margin-bottom: 8px; }
.foot p { margin: 4px 0; } .foot .small { font-size: 12px; margin-top: 14px; }

/* ---------- film window ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .78); overflow-y: auto; padding: 62px 0 40px; animation: fade .25s ease both; }
.modal[hidden] { display: none; }
.sheet { position: relative; width: min(960px, 100%); margin: 0 auto; background: var(--panel); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, .8); animation: pop .32s cubic-bezier(.2, .7, .2, 1) both; }
.close { position: fixed; top: 12px; right: 16px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(11, 11, 13, .85); display: grid; place-items: center; }
.close svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.stage { position: relative; aspect-ratio: 16 / 9; background: #000; }
.stage img, .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.stage .shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel) 0%, transparent 45%); }
.info { padding: 18px clamp(18px, 4vw, 44px) 40px; }
.info .actions { margin: 16px 0 4px; }
.info h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 4vw, 44px); margin: 0 0 10px; line-height: 1.05; }
.info .desc { color: #dcd9d3; line-height: 1.6; font-size: 15.5px; max-width: 640px; margin: 14px 0 0; }
body.locked { overflow: hidden; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }

@media (max-width: 820px) {
  .links, .brand-name { display: none; }
  .nav { gap: 14px; justify-content: space-between; }
  .hero { height: 78vh; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 4%, rgba(11, 11, 13, .6) 42%, rgba(11, 11, 13, .15) 75%); }
  .tile { width: 62vw; }
  .tile .cap { opacity: 1; transform: none; }
  .tile:hover { transform: none; }
  .arrow { display: none; }
  .btn { padding: 11px 22px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

.foot { position: relative; }
.foot-mark { position: absolute; right: var(--pad); bottom: 44px; font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: .04em; color: #3a3a3f; cursor: default; }

/* ---------- player controls ---------- */
.theater { background: #000; }
.theater:fullscreen { display: flex; flex-direction: column; width: 100vw; height: 100vh; }
.theater:fullscreen .stage { flex: 1; aspect-ratio: auto; }
.ctrl { background: #0b0b0d; padding: 0 14px 8px; }
.ctrl-row { display: flex; align-items: center; gap: 4px; }
.ctrl button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; position: relative; transition: background .2s, transform .15s; flex: none; color: #fff; }
.ctrl button:hover { background: rgba(255, 255, 255, .12); transform: scale(1.08); }
.ctrl svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctrl button span { position: absolute; font-size: 8px; font-weight: 600; top: 19px; }
.ctrl .time { font-size: 13px; color: #d6d3cd; font-variant-numeric: tabular-nums; margin-left: 8px; white-space: nowrap; }
.ctrl .grow { flex: 1; }
.ctrl select { background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font: inherit; font-size: 13px; padding: 5px 6px; border-radius: 4px; }
.ctrl select option { background: #151518; }
.ctrl input[type=range] { -webkit-appearance: none; appearance: none; background: none; cursor: pointer; margin: 0; }
.ctrl input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--red-hi) var(--p, 0%), rgba(255, 255, 255, .28) var(--p, 0%)); }
.ctrl input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .28); }
.ctrl input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--red-hi); }
.ctrl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--red-hi); margin-top: -5px; transition: transform .15s; }
.ctrl input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--red-hi); }
.ctrl input[type=range]:hover::-webkit-slider-thumb { transform: scale(1.3); }
.seek { display: block; width: 100%; height: 18px; }
.vol { width: 84px; --p: 100%; }
.vol::-webkit-slider-runnable-track { background: rgba(255, 255, 255, .5) !important; }
.vol::-webkit-slider-thumb { background: #fff !important; }

/* ---------- my list and continue watching ---------- */
.btn.round { width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); background: rgba(20, 20, 22, .6); color: #fff; }
.btn.round:hover { border-color: #fff; }
.btn.round.on { border-color: #fff; background: rgba(255, 255, 255, .16); }
.prog { position: absolute; left: 10px; right: 10px; bottom: 7px; height: 3px; background: rgba(255, 255, 255, .3); border-radius: 2px; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--red-hi); }
@media (max-width: 560px) { .vol, #c-speed { display: none; } .ctrl button { width: 38px; height: 38px; } }

/* ---------- rotating top ---------- */
.hero-video { position: absolute; z-index: 2; right: var(--pad); top: 50%; transform: translateY(-56%); width: min(860px, calc(100% - var(--pad) * 2 - 610px)); aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .75); opacity: 0; transition: opacity .9s ease; }
.hero-video.on { opacity: 1; }
.hero-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.dots { display: flex; gap: 7px; margin-top: 26px; }
.dots button { width: 26px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); transition: background .25s, width .25s; }
.dots button.on { background: #fff; width: 44px; }
.dots button:hover { background: rgba(255, 255, 255, .7); }
.rank { position: absolute; left: 6px; bottom: -6px; font-family: var(--serif); font-weight: 700; font-size: clamp(56px, 6.4vw, 96px); line-height: 1; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .95), 0 0 3px #000; pointer-events: none; }
@media (max-width: 1100px) {
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; height: auto; min-height: 70vh; padding-top: 84px; }
  .hero-video { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 760px; margin-bottom: 22px; order: -1; }
  .hero-video:not(.on) { height: 0; aspect-ratio: auto; margin: 0; }
}
.hero h1 { font-size: clamp(38px, 5.2vw, 76px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .08em; }
.hero .desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- elegant frame around the top video (around it, never over the picture) ---------- */
.hero-video { aspect-ratio: auto; overflow: visible; border-radius: 2px; padding: 12px 12px 0; background: rgba(11, 11, 13, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(243, 241, 236, .42); box-shadow: 0 0 0 5px rgba(11, 11, 13, .35), 0 0 0 6px rgba(243, 241, 236, .14), 0 34px 90px rgba(0, 0, 0, .8); }
.hv-screen { aspect-ratio: 16 / 9; background: #000; overflow: hidden; outline: 1px solid rgba(243, 241, 236, .18); }
.hv-screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.hv-label { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 2px 13px; font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--dim); }
.hv-label i { width: 30px; height: 2px; background: var(--red-hi); flex: none; }
.hv-label b { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .06em; text-transform: none; color: var(--text); margin-left: auto; font-style: italic; }
@media (max-width: 1100px) { .hero-video:not(.on) { padding: 0; border: 0; overflow: hidden; box-shadow: none; } }

/* ---------- top video frame: black, clean, Netflix-like ---------- */
.hero-video { padding: 0; background: #000; border: 0; border-radius: 6px; overflow: hidden; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 24px 70px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06); }
.hv-screen { outline: 0; }
.hv-label { background: #000; padding: 13px 16px 14px; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .18em; color: #fff; }
.hv-label i { width: 4px; height: 16px; border-radius: 1px; }
.hv-label b { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 12px; letter-spacing: .04em; color: #b3b3b3; }

/* ---------- My List tab in the top bar ---------- */
.mine-tab { margin-left: auto; flex: none; font-size: 14px; color: #d6d3cd; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.mine-tab:hover { color: #fff; }
.mine-tab.on { color: #fff; font-weight: 500; border-color: var(--red-hi); }
.mine-tab + .search { margin-left: 16px; }
.rows .empty { padding: 120px 20px; max-width: 520px; margin: 0 auto; line-height: 1.6; }
@media (max-width: 820px) { .nav { justify-content: flex-start; } }

/* ---------- preview window you can use: click to watch, hover to hold, sound button ---------- */
.hero-video { cursor: pointer; transition: opacity .9s ease, transform .3s ease, box-shadow .3s ease; }
.hero-video:hover { box-shadow: 0 28px 80px rgba(0, 0, 0, .9), 0 0 0 2px rgba(255, 255, 255, .55); }
.hv-screen iframe { pointer-events: none; }
.hv-label b { margin-left: auto; }
.hv-sound { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); display: grid; place-items: center; flex: none; margin: -6px 0 -6px 4px; transition: border-color .2s, background .2s; }
.hv-sound:hover, .hv-sound.on { border-color: #fff; background: rgba(255, 255, 255, .14); }
.hv-sound svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- big title at the top: capitals, sized to fit, uncluttered ---------- */
.hero-copy { max-width: 540px; }
.hero h1 { text-transform: uppercase; font-weight: 600; letter-spacing: .045em; line-height: 1.04; font-size: clamp(34px, 4.4vw, 64px); -webkit-line-clamp: 3; text-wrap: balance; overflow-wrap: break-word; margin-bottom: 18px; }
.hero h1.mid { font-size: clamp(27px, 3.1vw, 46px); line-height: 1.08; }
.hero h1.long { font-size: clamp(21px, 2.2vw, 32px); line-height: 1.16; letter-spacing: .06em; }
.hero .tagline { margin-bottom: 16px; }
.hero .desc { -webkit-line-clamp: 2; margin-bottom: 24px; }
.hero .soon { margin: 4px 0 14px; }
.hero h1, .info h2 { font-variant-numeric: lining-nums; }

/* ---------- ranked row: big outlined numbers beside the covers ---------- */
.row.top .track { gap: 6px; padding-top: 18px; }
.top-item { display: flex; align-items: flex-end; flex: none; scroll-snap-align: start; }
.top-num { font-family: var(--sans); font-weight: 600; font-size: clamp(120px, 15vw, 230px); line-height: .74; letter-spacing: -.07em; color: #0b0b0d; -webkit-text-stroke: 3px #77777c; paint-order: stroke fill; margin-right: -.13em; padding-left: .04em; user-select: none; transition: -webkit-text-stroke-color .3s; font-variant-numeric: lining-nums; }
.top-item:hover .top-num { -webkit-text-stroke-color: #fff; }
.top-item .tile { position: relative; z-index: 1; width: clamp(170px, 19vw, 285px); scroll-snap-align: none; }
@media (max-width: 820px) { .top-item .tile { width: 48vw; } .top-num { font-size: 30vw; -webkit-text-stroke-width: 2px; } }
.top-num { -webkit-text-stroke: 4px #9c9ca2; margin-right: -.1em; }

.hv-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-screen { transition: opacity .7s ease; }
.hv-screen.out { opacity: 0; }

/* ---------- pulsing glow on the big picture at the top ---------- */
@keyframes glow {
  0%, 100% { box-shadow: 0 24px 70px rgba(0, 0, 0, .85), 0 0 0 1px rgba(226, 29, 61, .35), 0 0 16px 2px rgba(226, 29, 61, .22); }
  50% { box-shadow: 0 24px 70px rgba(0, 0, 0, .85), 0 0 0 1px rgba(226, 29, 61, .95), 0 0 46px 12px rgba(226, 29, 61, .62); }
}
.hero-video.on { animation: glow 2.6s ease-in-out infinite; }
.hero-video:hover { outline: 2px solid rgba(255, 255, 255, .75); }

/* ---------- ranked row: the number pops out to the side and glows on hover, staying behind the covers ---------- */
.row.top .track { gap: 32px; padding-top: 24px; }
.top-num { position: relative; z-index: 0; transform-origin: 100% 100%; transition: transform .35s cubic-bezier(.2, .7, .2, 1), -webkit-text-stroke-color .3s, filter .35s; }
.top-item:hover .top-num { transform: translateX(-18px) scale(1.07); -webkit-text-stroke-color: #fff; filter: drop-shadow(0 0 9px rgba(255, 255, 255, .5)) drop-shadow(0 0 24px rgba(226, 29, 61, .65)); }

/* ---------- More page ---------- */
.links a.on { color: #fff; font-weight: 500; }
#foot-more { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.about { max-width: 860px; margin: 0 auto; padding: 20px var(--pad) 70px; animation: rise .6s ease both; }
.about-id { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.about-mark { font-family: var(--serif); font-weight: 700; font-size: clamp(84px, 13vw, 168px); line-height: .8; letter-spacing: .02em; color: var(--red-hi); text-shadow: 0 0 60px rgba(226, 29, 61, .35); }
.about h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.1; margin: 0 0 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.about .check { width: clamp(26px, 3vw, 38px); height: clamp(26px, 3vw, 38px); flex: none; }
.about-tag { margin: 0; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--dim); }
.about-text { padding: 34px 0 10px; }
.about-text p { color: #d9d6d0; font-size: 16.5px; line-height: 1.75; margin: 0 0 18px; }
.about-text .lead { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 29px); line-height: 1.4; color: var(--text); }
.yt-card { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); margin-top: 22px; padding: clamp(20px, 3vw, 32px); background: #151518; border: 1px solid var(--line); border-radius: 12px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.yt-card:hover { border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.yt-logo { width: clamp(84px, 12vw, 136px); flex: none; }
.yt-card span { flex: 1; min-width: 0; }
.yt-card strong { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3vw, 36px); line-height: 1.15; }
.yt-card small { display: block; color: var(--dim); font-size: 14px; margin-top: 6px; overflow-wrap: anywhere; }
.yt-card .btn { flex: none; background: #f00; color: #fff; }
@media (max-width: 640px) { .yt-card { flex-wrap: wrap; } .yt-card .btn { width: 100%; justify-content: center; } }
.about-id > div { flex: 1; min-width: 0; }
.about h1 { font-size: clamp(24px, 3.1vw, 40px); }
@media (min-width: 700px) { .about h1 { flex-wrap: nowrap; white-space: nowrap; } }

.stage iframe.pre { visibility: hidden; }

/* ---------- new badge, share, more like this ---------- */
.flag.new { background: #fff; color: #0b0b0d; }
.toast { position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px); z-index: 80; background: #f3f1ec; color: #0b0b0d; font-size: 14px; font-weight: 500; padding: 11px 20px; border-radius: 6px; box-shadow: 0 12px 40px rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
#m-more:not(:empty) { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
#m-more h3 { font-size: 19px; font-weight: 500; margin: 0 0 14px; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.more-grid .tile { width: auto; }
.more-grid .tile:hover, .more-grid .tile:focus-visible { transform: scale(1.04); }
.more-grid .tile .cap { opacity: 1; transform: none; }
@media (max-width: 640px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- plain page content that is there before the site's scripts run (search engines read this) ---------- */
a.tile { display: block; }
.ssr-list, .ssr-about { max-width: 900px; margin: 0 var(--pad) 28px; color: var(--dim); font-size: 14.5px; line-height: 1.65; }
.ssr-list { padding-left: 18px; } .ssr-list li { margin-bottom: 8px; }
.ssr-list a, .ssr-about a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.ssr-about { padding-top: 110px; } .row.ssr + .ssr-list + .ssr-about, .ssr-list + .ssr-about { padding-top: 0; }
.ssr-about h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); color: var(--text); margin: 0 0 8px; }
.ssr-about h2 { font-size: 19px; font-weight: 500; color: var(--text); margin: 26px 0 10px; }
