@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #0d0e12;
  --surface: #14161c;
  --surface-raised: #191b22;
  --surface-soft: #1f2129;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .15);
  --text: #f4f3ef;
  --muted: #a0a1aa;
  --muted-2: #737680;
  --gold: #ffc955;
  --gold-soft: #f5b83c;
  --gold-dark: #8d6323;
  --gold-wash: rgba(255, 201, 85, .1);
  --radius: 14px;
  --shell: 1200px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(118px + env(safe-area-inset-top, 0px)); }
body { margin: 0; min-width: 320px; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--bg); color: var(--text); -webkit-tap-highlight-color: transparent; }
body.modal-open, body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: calc(64px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); background: rgba(15, 16, 21, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { height: 64px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; position: relative; letter-spacing: -.075em; white-space: nowrap; font-weight: 950; line-height: 1; }
.brand img { display: block; width: 134px; height: auto; object-fit: contain; }
.brand-mark { color: #f6f6f4; font-size: 19px; }
.brand-mark:first-letter { color: var(--gold); }
.brand-flare { color: #ff9f25; font-size: 12px; display: inline-block; vertical-align: top; margin-left: -2px; transform: translateY(-4px) rotate(14deg); }
.brand-name { color: #dfe0e4; font-size: 16px; margin-left: 1px; }
.brand sup { position: absolute; top: -10px; right: 14px; padding: 2px 4px; border-radius: 4px; color: #17130a; background: var(--gold); font-size: 7px; letter-spacing: -.01em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.65vw, 24px); flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; }
.primary-nav a { color: #c4c5ca; font-size: 12px; font-weight: 700; transition: color .18s ease; }
.primary-nav a:hover { color: var(--gold); }
.search-form { display: flex; flex: 0 1 184px; min-width: 144px; height: 36px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.14); }
.search-form input { width: 100%; min-width: 0; padding: 6px 2px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 12px; }
.search-form input::placeholder { color: #777983; }
.search-form:focus-within { border-color: var(--gold); }
.icon-button { width: 34px; height: 34px; position: relative; flex: 0 0 auto; display: inline-grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: #c3c4cb; cursor: pointer; transition: background .18s ease, color .18s ease; }
.icon-button:hover { color: var(--gold); background: rgba(255,255,255,.06); }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.header-actions { display: flex; position: relative; align-items: center; gap: 5px; }
.saved-count { position: absolute; top: 0; right: 0; display: grid; place-items: center; min-width: 14px; height: 14px; padding-inline: 3px; border-radius: 9px; color: #17130a; background: var(--gold); font-size: 9px; font-weight: 800; }
.language-menu { position: absolute; z-index: 70; top: calc(100% + 10px); right: 0; width: 164px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 12px; background: #1a1c23; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.language-choice { display: flex; width: 100%; justify-content: space-between; padding: 10px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; text-align: left; font-size: 12px; cursor: pointer; }
.language-choice:hover, .language-choice.active { color: var(--gold); background: rgba(255,255,255,.045); }

/* Sponsor strip */
.sponsor-strip { position: sticky; z-index: 40; top: calc(64px + env(safe-area-inset-top, 0px)); min-height: 36px; border-bottom: 1px solid rgba(255,255,255,.075); background: rgba(27, 28, 34, .96); backdrop-filter: blur(16px); }
.sponsor-inner { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 16px; }
.sponsor-copy { display: flex; min-width: 0; align-items: center; gap: 8px; color: #a5a6ae; font-size: 11px; }
.sponsor-copy strong { color: #e7e7e9; font-size: 11px; }
.sponsor-label { padding: 3px 6px; border: 1px solid rgba(255,201,85,.35); border-radius: 4px; color: var(--gold); background: rgba(255,201,85,.09); font-size: 9px; font-weight: 800; }
.sponsor-separator { color: #555761; }
.sponsor-detail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 4px 0; border: 0; color: var(--gold); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; transition: color .18s ease, gap .18s ease; }
.text-link:hover { gap: 11px; color: #ffdf93; }

/* Hero */
.page-content { padding-bottom: 80px; }
.hero { min-height: 350px; position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; overflow: hidden; margin-top: 30px; padding: 38px 48px; border: 1px solid rgba(255,201,85,.42); border-radius: 14px; background: radial-gradient(ellipse at 83% 47%, rgba(126, 77, 31, .14), transparent 42%), linear-gradient(120deg, #191a20 0%, #15161c 56%, #14151a 100%); box-shadow: 0 20px 70px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.02); }
.hero:before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(18,19,24,.2), transparent 55%, rgba(18,19,24,.06)); }
.hero-copy { z-index: 2; position: relative; }
.eyebrow, .section-kicker, .modal-kicker { display: block; color: #8e9098; font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #a0a0a6; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px rgba(255,201,85,.85); }
.hero h1 { margin: 0; color: #ffd16d; font-size: clamp(38px, 4.4vw, 57px); font-weight: 950; letter-spacing: -.06em; line-height: 1.13; text-shadow: 0 4px 26px rgba(249,180,58,.12); }
.hero h1 span { color: #ffe5a8; }
.hero-copy > p { margin: 16px 0 18px; color: #b8b9c0; font-size: 15px; line-height: 1.85; }
.hero-copy > p strong { color: #eee6d1; font-weight: 800; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.hero-pills span { padding: 6px 10px; border: 1px solid rgba(255,201,85,.15); border-radius: 4px; color: #e4c77f; background: rgba(255,201,85,.065); font-size: 11px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 10px; color: #1b160b; background: linear-gradient(105deg, #ffda7a, #f7b938); box-shadow: 0 8px 24px rgba(245,184,60,.19), inset 0 1px 0 rgba(255,255,255,.55); font-size: 14px; font-weight: 900; cursor: pointer; transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 12px 30px rgba(245,184,60,.27), inset 0 1px 0 rgba(255,255,255,.55); }
.dice { font-size: 19px; line-height: 1; }
.button-arrow { font-size: 22px; line-height: 1; font-weight: 500; }
.hero-art { min-width: 0; height: 272px; position: relative; align-self: stretch; }
.hero-glow { position: absolute; width: 78%; height: 70%; top: 17%; right: 0; border-radius: 50%; background: rgba(214,140,50,.17); filter: blur(42px); }
.hero-cover { position: absolute; bottom: 14px; width: 28%; max-width: 190px; height: 218px; object-fit: cover; border: 1px solid rgba(255,220,155,.46); border-radius: 8px; box-shadow: 0 16px 36px rgba(0,0,0,.48); }
.hero-cover-back { right: 1%; bottom: 30px; width: 26%; height: 190px; transform: rotate(14deg); opacity: .92; }
.hero-cover-left { left: 5%; bottom: 20px; transform: rotate(-13deg); }
.hero-cover-mid { z-index: 2; left: 33%; bottom: 4px; width: 33%; height: 224px; transform: rotate(-1deg); box-shadow: 0 22px 42px rgba(0,0,0,.58), 0 0 20px rgba(255,201,85,.13); }
.hero-cover-right { right: -2%; bottom: 17px; transform: rotate(11deg); }
.hero-art-caption { position: absolute; z-index: 3; right: 7%; bottom: 0; display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.56); font-size: 9px; letter-spacing: .06em; }
.hero-art-caption span { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* Section headings and cards */
.content-section { margin-top: 78px; scroll-margin-top: 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { margin: 5px 0 0; color: #f1f1f2; font-size: 25px; font-weight: 850; letter-spacing: -.04em; }
.section-kicker { color: #72747d; }
.heading-note { color: var(--muted-2); font-size: 11px; }
.shuffle-button { margin-bottom: 4px; font-size: 13px; }
.shuffle-icon { font-size: 18px; line-height: .7; }
.video-grid, .ranking-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.video-card { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: var(--surface); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.video-card:hover { transform: translateY(-4px); border-color: rgba(255,201,85,.45); box-shadow: 0 14px 30px rgba(0,0,0,.28); }
.video-card.is-picked { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(255,201,85,.52), 0 0 34px rgba(255,201,85,.16); }
.poster-wrap { position: relative; overflow: hidden; aspect-ratio: 1.65 / 1; background: #202128; }
.poster-wrap:after { content: ""; pointer-events: none; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.18)); }
.poster-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .42s cubic-bezier(.2,.7,.2,1); }
.video-card:hover .poster-wrap img { transform: scale(1.045); }
.rank-badge { position: absolute; z-index: 2; top: 0; left: 0; display: grid; min-width: 36px; height: 37px; place-items: center; padding-inline: 7px; border-radius: 0 0 8px 0; color: #241a08; background: var(--gold); font-size: 15px; font-weight: 950; }
.rank-badge.top-rank { min-width: 35px; height: 39px; color: #261b08; background: linear-gradient(140deg, #ffe08c, #e9a826); }
.save-button { position: absolute; z-index: 3; right: 9px; bottom: 9px; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; color: #fff; background: rgba(15,16,21,.7); backdrop-filter: blur(8px); font-size: 19px; cursor: pointer; opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease, color .18s ease, background .18s ease; }
.video-card:hover .save-button, .save-button.is-saved { opacity: 1; transform: translateY(0); }
.save-button.is-saved { color: #201704; background: var(--gold); border-color: var(--gold); }
.video-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px 0; }
.video-code { color: #c2a455; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.score { color: #e4e4e7; font-size: 11px; font-weight: 800; white-space: nowrap; }
.score i { color: #83858c; font-size: 9px; font-style: normal; font-weight: 500; }
.video-card h3 { margin: 8px 12px 0; color: #e9e9eb; font-size: 13px; font-weight: 750; line-height: 1.55; }
.video-title:hover { color: var(--gold); }
.video-actors { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 30px; margin: 5px 12px 12px; color: #858790; font-size: 10px; }
.video-actors a:hover { color: #ddd0aa; }
.video-actors span { color: #53555d; }
.claim-card { min-height: 100%; position: relative; display: flex; overflow: hidden; flex-direction: column; align-items: flex-start; justify-content: center; padding: 25px 21px 17px; border: 1px solid rgba(255,201,85,.48); border-radius: 10px; color: var(--text); background: radial-gradient(ellipse at 20% 15%, rgba(255,201,85,.15), transparent 47%), linear-gradient(142deg, #272117, #17171b 66%); text-align: left; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.claim-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: screen; }
.claim-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 36px rgba(200,139,39,.15); }
.claim-glow { position: absolute; width: 150px; height: 150px; top: -45px; right: -36px; border-radius: 50%; border: 1px solid rgba(255,201,85,.16); box-shadow: 0 0 0 13px rgba(255,201,85,.035), 0 0 0 28px rgba(255,201,85,.025); }
.claim-corner { position: absolute; top: 16px; left: 17px; color: rgba(255,215,138,.65); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.claim-star { margin-top: 18px; color: var(--gold); font-size: 36px; text-shadow: 0 0 28px rgba(255,201,85,.5); }
.claim-title { margin-top: 10px; color: #ffda84; font-size: 17px; font-weight: 900; }
.claim-copy { max-width: 180px; margin-top: 8px; color: #dad3c3; font-size: 12px; line-height: 1.7; }
.claim-link { display: inline-flex; gap: 8px; margin-top: 15px; color: var(--gold); font-size: 11px; font-weight: 800; }
.claim-foot { position: absolute; right: 16px; bottom: 13px; left: 16px; padding-top: 9px; border-top: 1px solid rgba(255,201,85,.15); color: #8e8572; font-size: 9px; }
.empty-state { margin-top: 18px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--muted); text-align: center; font-size: 13px; }

/* Rankings */
.ranking-section { margin-top: 84px; }
.ranking-grid { row-gap: 18px; }
.wide-link { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(110deg, rgba(255,201,85,.055), rgba(255,255,255,.015)); transition: border-color .18s ease, background .18s ease; }
.wide-link:hover { border-color: rgba(255,201,85,.38); background: rgba(255,201,85,.08); }
.wide-link-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,201,85,.25); border-radius: 10px; color: var(--gold); background: rgba(255,201,85,.08); font-size: 20px; }
.wide-link strong, .wide-link small { display: block; }
.wide-link strong { color: #e9e9eb; font-size: 13px; }
.wide-link small { margin-top: 4px; color: #888a93; font-size: 10px; }
.wide-link-arrow { margin-left: auto; color: var(--gold); font-size: 19px; }

/* Leaderboards */
.leaderboard-section { margin-top: 76px; }
.leader-grid { display: grid; gap: 10px; }
.leader-card { display: flex; min-height: 74px; align-items: center; gap: 14px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(105deg, #17191f, #13151a); transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.leader-card:hover { transform: translateX(3px); border-color: rgba(255,201,85,.35); background: #1b1c22; }
.leader-rank { width: 25px; flex: 0 0 auto; color: #858791; font-size: 12px; font-weight: 900; text-align: center; }
.leader-rank.gold { color: #ffd36c; }.leader-rank.silver { color: #c7c9d2; }.leader-rank.bronze { color: #d39162; }
.avatar { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; color: #f4ecd9; background: #403c4d; font-size: 16px; font-weight: 800; }
.avatar-a { background: radial-gradient(circle at 65% 28%, #f0b28b, transparent 28%), linear-gradient(135deg, #59463e, #292c39); }.avatar-b { background: radial-gradient(circle at 70% 24%, #f1bb8d, transparent 28%), linear-gradient(135deg, #5e4545, #262b3c); }.avatar-c { background: radial-gradient(circle at 63% 27%, #efc294, transparent 28%), linear-gradient(135deg, #485b65, #34334a); }.avatar-d { background: radial-gradient(circle at 68% 22%, #d49e82, transparent 28%), linear-gradient(135deg, #4c4d5c, #202932); }.avatar-e { background: radial-gradient(circle at 65% 23%, #dbad8a, transparent 28%), linear-gradient(135deg, #494e48, #282735); }.avatar-f { background: radial-gradient(circle at 65% 23%, #d1a184, transparent 28%), linear-gradient(135deg, #5b4541, #252c35); }
.leader-info { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.leader-info strong { overflow: hidden; color: #ececef; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.leader-info small { color: #858791; font-size: 10px; }
.leader-score { display: flex; align-items: baseline; gap: 5px; margin-left: auto; }
.leader-score strong { color: #ebd49c; font-size: 15px; font-variant-numeric: tabular-nums; }
.leader-score small { color: #777983; font-size: 10px; }
.leader-arrow { margin-left: 8px; color: #777983; font-size: 23px; transition: transform .18s ease, color .18s ease; }
.leader-card:hover .leader-arrow { transform: translateX(3px); color: var(--gold); }

/* Discovery and category cards */
.explore-banner { min-height: 184px; position: relative; display: flex; overflow: hidden; align-items: center; justify-content: space-between; gap: 22px; margin-top: 86px; padding: 32px 42px; border: 1px solid rgba(255,201,85,.25); border-radius: 13px; background: radial-gradient(ellipse at 84% 50%, rgba(117,82,177,.2), transparent 45%), linear-gradient(108deg, #1d1c22, #17171e 70%); }
.explore-copy { position: relative; z-index: 2; }
.explore-copy h2 { margin: 9px 0 6px; color: #f1eee6; font-size: 24px; font-weight: 850; letter-spacing: -.04em; }
.explore-copy p { margin: 0; color: #9b9ca5; font-size: 12px; }
.outline-button { position: relative; z-index: 2; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 18px; padding: 12px 17px; border: 1px solid rgba(255,201,85,.5); border-radius: 8px; color: #f4d98d; background: rgba(255,201,85,.06); font-size: 12px; font-weight: 800; transition: background .18s ease, border-color .18s ease; }
.outline-button:hover { border-color: var(--gold); background: rgba(255,201,85,.12); }
.outline-button span { font-size: 17px; }
.explore-orbit { position: absolute; right: 14%; top: 50%; width: 250px; height: 250px; border: 1px solid rgba(183,150,255,.12); border-radius: 50%; transform: translateY(-50%); }
.orbit-two { width: 172px; height: 172px; right: calc(14% + 39px); border-color: rgba(255,201,85,.15); }
.category-section { margin-top: 76px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.category-card { display: flex; min-height: 85px; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #17191f; transition: transform .18s ease, border-color .18s ease; }
.category-card:hover { transform: translateY(-3px); border-color: rgba(255,201,85,.35); }
.category-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 11px; font-size: 20px; }
.category-card > span:nth-child(2) { min-width: 0; flex: 1; }
.category-card strong, .category-card small { display: block; }
.category-card strong { color: #e6e6e9; font-size: 12px; }
.category-card small { margin-top: 5px; color: #82848d; font-size: 9px; }
.category-card > b { color: #858790; font-size: 17px; font-weight: 400; }
.category-gold .category-icon { color: #f5ca69; background: rgba(245,184,60,.12); }.category-rose .category-icon { color: #f19caa; background: rgba(241,156,170,.1); }.category-blue .category-icon { color: #8cbbec; background: rgba(112,164,220,.12); }.category-violet .category-icon { color: #b59af2; background: rgba(163,130,229,.12); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #111217; }
.footer-main { display: grid; grid-template-columns: 1.75fr 1fr 1fr 1fr; gap: 56px; padding-top: 48px; padding-bottom: 38px; }
.footer-brand { margin-bottom: 15px; }
.footer-brand-col p { max-width: 320px; margin: 0; color: #898b94; font-size: 11px; line-height: 1.9; }
.footer-social { display: flex; gap: 8px; margin-top: 17px; }
.footer-social a { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #9a9ca5; font-size: 12px; transition: color .18s ease, border-color .18s ease; }
.footer-social a:hover { color: var(--gold); border-color: rgba(255,201,85,.5); }
.footer-col { display: flex; align-items: flex-start; flex-direction: column; gap: 11px; }
.footer-col h3 { margin: 1px 0 3px; color: #e4e4e7; font-size: 12px; font-weight: 800; }
.footer-col a, .footer-col button { padding: 0; border: 0; color: #898b94; background: transparent; font-size: 10px; text-align: left; cursor: pointer; transition: color .18s ease; }
.footer-col a:hover, .footer-col button:hover { color: var(--gold); }
.footer-col .footer-subhead { margin-top: 8px; }
.language-check { margin-left: 5px; color: var(--gold); }
.footer-bottom { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); color: #777983; font-size: 9px; }
.footer-bottom div { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--gold); }

/* Modals, drawer, and notifications */
.modal-backdrop, .drawer-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: calc(22px + env(safe-area-inset-top, 0px)) calc(22px + env(safe-area-inset-right, 0px)) calc(22px + env(safe-area-inset-bottom, 0px)) calc(22px + env(safe-area-inset-left, 0px)); background: rgba(0,0,0,.76); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.modal { width: min(100%, 560px); position: relative; padding: 31px 33px; border: 1px solid rgba(255,201,85,.73); border-radius: 13px; background: #191a20; box-shadow: 0 25px 90px rgba(0,0,0,.58); }
.age-modal { width: min(760px, 100%); padding: 43px 47px; border-width: 2px; border-radius: 14px; }
.age-modal h2 { margin-top: 9px; font-size: 31px; }
.age-modal p { font-size: 14px; line-height: 1.8; }
.modal h2 { margin: 8px 0 13px; color: #f1f0ed; font-size: 26px; letter-spacing: -.04em; }
.modal p { margin: 0 0 12px; color: #a4a5ad; font-size: 13px; line-height: 1.8; }
.modal .age-terms { color: #777983; font-size: 11px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.modal-actions .primary-button { min-height: 43px; font-size: 12px; }
.quiet-button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 8px; color: #c5c6cc; background: rgba(255,255,255,.025); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.quiet-button:hover { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.06); }
.modal-close { position: absolute; top: 13px; right: 14px; width: 30px; height: 30px; border: 0; border-radius: 8px; color: #9fa0a8; background: transparent; font-size: 24px; cursor: pointer; }
.modal-close:hover { color: #fff; background: rgba(255,255,255,.08); }
.sponsor-modal { width: min(100%, 470px); }
.sponsor-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 21px 0; }
.sponsor-specs span { padding: 12px 9px; border: 1px solid var(--line); border-radius: 8px; color: #a6a7af; background: rgba(255,255,255,.025); font-size: 10px; text-align: center; }
.sponsor-specs b { display: block; margin-bottom: 6px; color: var(--gold); font-size: 15px; }
.drawer-backdrop { z-index: 80; display: block; padding: 0; background: rgba(0,0,0,.55); }
.saved-drawer { width: min(420px, calc(100% - 20px)); height: 100vh; height: 100dvh; position: fixed; z-index: 90; top: 0; right: 0; display: flex; flex-direction: column; padding: calc(27px + env(safe-area-inset-top, 0px)) calc(27px + env(safe-area-inset-right, 0px)) calc(27px + env(safe-area-inset-bottom, 0px)) 27px; border-left: 1px solid var(--line-strong); background: #15161c; box-shadow: -20px 0 70px rgba(0,0,0,.4); transform: translateX(105%); transition: transform .27s cubic-bezier(.2,.7,.2,1); }
.saved-drawer.is-open { transform: translateX(0); }
.drawer-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.drawer-heading h2 { margin: 5px 0 0; font-size: 23px; }
.drawer-close { font-size: 23px; }
.drawer-intro { margin: 16px 0; color: #8b8d96; font-size: 11px; line-height: 1.7; }
.saved-list { flex: 1; overflow: auto; }
.saved-empty { padding: 28px 5px; color: #83858e; font-size: 12px; text-align: center; }
.saved-item { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.025); }
.saved-item img { width: 67px; height: 48px; object-fit: cover; border-radius: 6px; }
.saved-item-copy { min-width: 0; flex: 1; }
.saved-item-copy strong, .saved-item-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-item-copy strong { color: #e5e5e8; font-size: 11px; }
.saved-item-copy small { margin-top: 5px; color: #8d8f98; font-size: 9px; }
.saved-item button { width: 27px; height: 27px; border: 0; border-radius: 7px; color: #999ba3; background: transparent; cursor: pointer; }
.saved-item button:hover { color: #ff9b8f; background: rgba(255,128,112,.1); }
.clear-saved { align-self: flex-start; margin-top: 15px; }
.toast { position: fixed; z-index: 120; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: min(420px, calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); padding: 12px 16px; border: 1px solid rgba(255,201,85,.36); border-radius: 9px; color: #f4e7c2; background: rgba(27,27,31,.96); box-shadow: 0 12px 30px rgba(0,0,0,.35); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* Search state */
.video-card.is-filtered-out, .claim-card.is-filtered-out { display: none; }
.search-active .video-grid, .search-active .ranking-grid { transition: opacity .18s ease; }

@media (max-width: 1120px) {
  .header-inner { gap: 18px; }
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: 11px; }
  .search-form { flex-basis: 150px; }
  .video-grid, .ranking-grid { gap: 14px; }
  .hero { grid-template-columns: minmax(0, .94fr) minmax(350px, 1.06fr); padding-inline: 34px; }
  .hero-art { height: 252px; }
  .hero-cover { height: 194px; }
  .hero-cover-mid { height: 205px; }
}

@media (max-width: 920px) {
  .shell { width: min(var(--shell), calc(100% - 40px)); }
  .header-inner { gap: 14px; }
  .brand-mark { font-size: 16px; }.brand-name { font-size: 14px; }
  .primary-nav { justify-content: flex-start; gap: 17px; overflow-x: auto; scrollbar-width: none; }
  .primary-nav::-webkit-scrollbar { display: none; }
  .search-form { flex: 0 0 36px; min-width: 36px; justify-content: flex-end; border: 0; }
  .search-form input { width: 0; opacity: 0; padding: 0; transition: width .2s ease, opacity .2s ease; }
  .search-form:focus-within { flex-basis: 190px; }
  .search-form:focus-within input { width: 100%; opacity: 1; padding: 6px 2px; }
  .video-grid, .ranking-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .claim-card { min-height: 100%; }
  .hero { grid-template-columns: 1fr .88fr; min-height: 322px; }
  .hero-art { height: 225px; }
  .hero-cover { height: 174px; }.hero-cover-mid { height: 185px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { gap: 30px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: calc(156px + env(safe-area-inset-top, 0px)); }
  .shell { width: calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); margin-right: calc(16px + env(safe-area-inset-right, 0px)); margin-left: calc(16px + env(safe-area-inset-left, 0px)); }
  .site-header { height: calc(108px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
  .header-inner { height: 58px; gap: 6px; }
  .brand { margin-right: auto; }
  .brand img { width: 126px; }
  .primary-nav { position: absolute; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: 0; left: calc(16px + env(safe-area-inset-left, 0px)); display: flex; height: 44px; justify-content: flex-start; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .primary-nav::-webkit-scrollbar { display: none; }
  .primary-nav a { display: flex !important; align-items: center; min-height: 44px; font-size: 10px; }
  .search-form { flex: 0 0 42px; min-width: 42px; height: 42px; }
  .search-form input { font-size: 16px; }
  .search-form:focus-within { position: absolute; z-index: 4; right: calc(106px + env(safe-area-inset-right, 0px)); left: calc(16px + env(safe-area-inset-left, 0px)); height: 42px; padding-inline: 9px; border: 1px solid rgba(255,201,85,.38); border-radius: 8px; background: #191a20; }
  .search-form:focus-within input { width: 100%; font-size: 16px; }
  .header-actions { gap: 0; }
  .icon-button { width: 44px; height: 44px; }
  .sponsor-strip { top: calc(108px + env(safe-area-inset-top, 0px)); min-height: 34px; }
  .sponsor-inner { min-height: 34px; }
  .sponsor-copy { gap: 6px; font-size: 9px; }
  .sponsor-copy strong { overflow: hidden; max-width: 160px; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .sponsor-detail, .sponsor-separator { display: none; }
  .sponsor-label { padding: 2px 4px; font-size: 8px; }
  .sponsor-info { font-size: 10px; }
  .page-content { padding-bottom: 54px; }
  .hero { display: block; min-height: 0; margin-top: 18px; padding: 26px 20px 0; }
  .hero h1 { font-size: 39px; }
  .hero-copy > p { max-width: 420px; margin: 12px 0 14px; font-size: 12px; }
  .desktop-break { display: none; }
  .hero-pills { gap: 6px; margin-bottom: 16px; }
  .hero-pills span { padding: 5px 7px; font-size: 9px; }
  .primary-button { min-height: 46px; padding-inline: 15px; font-size: 12px; }
  .hero-art { height: 178px; margin-top: 7px; }
  .hero-cover { bottom: 7px; height: 140px; width: 26%; }
  .hero-cover-left { left: 7%; }.hero-cover-mid { left: 33%; bottom: 0; width: 34%; height: 152px; }.hero-cover-back { right: 4%; bottom: 19px; height: 126px; }.hero-cover-right { right: 1%; }
  .hero-art-caption { right: 6%; bottom: 1px; font-size: 8px; }
  .content-section { margin-top: 55px; }
  .section-heading { margin-bottom: 15px; }
  .section-heading h2 { font-size: 20px; }
  .section-kicker { font-size: 8px; }
  .video-grid, .ranking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .claim-card { min-height: 218px; padding: 20px 13px 15px; }
  .claim-title { font-size: 14px; }.claim-copy { font-size: 10px; }.claim-foot { right: 12px; left: 12px; font-size: 8px; }
  .poster-wrap { aspect-ratio: 1.48 / 1; }
  .video-meta { padding: 9px 9px 0; }.video-code { font-size: 8px; }.score { font-size: 9px; }.score i { font-size: 8px; }
  .video-card h3 { margin: 7px 9px 0; font-size: 11px; }.video-actors { gap: 4px; margin: 4px 9px 9px; font-size: 9px; }
  .save-button { right: 6px; bottom: 6px; width: 40px; height: 40px; opacity: 1; transform: none; }
  .rank-badge { min-width: 30px; height: 31px; font-size: 13px; }
  .ranking-section, .leaderboard-section { margin-top: 59px; }
  .wide-link { margin-top: 14px; padding: 13px; }
  .leader-card { min-height: 67px; gap: 9px; padding: 9px; }
  .avatar { width: 36px; height: 36px; font-size: 14px; }
  .leader-info strong { font-size: 11px; }.leader-info small { font-size: 8px; }.leader-score strong { font-size: 12px; }.leader-score small { font-size: 9px; }
  .leader-rank { width: 20px; font-size: 10px; }.leader-arrow { margin-left: 1px; font-size: 19px; }
  .explore-banner { min-height: 0; align-items: flex-start; flex-direction: column; margin-top: 60px; padding: 24px 21px; }
  .explore-copy h2 { max-width: 290px; font-size: 19px; line-height: 1.45; }.explore-copy p { font-size: 10px; }
  .outline-button { padding: 9px 12px; font-size: 10px; }
  .explore-orbit { right: -8%; width: 180px; height: 180px; }.orbit-two { right: calc(-8% + 28px); width: 124px; height: 124px; }
  .category-section { margin-top: 58px; }
  .category-grid { gap: 9px; }
  .category-card { min-height: 73px; gap: 8px; padding: 10px; }
  .category-icon { width: 32px; height: 32px; font-size: 16px; }.category-card strong { font-size: 10px; }.category-card small { font-size: 8px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 34px; padding-bottom: 27px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-brand-col p { max-width: 440px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
  .footer-bottom div { gap: 13px; }
  .modal { max-height: calc(100vh - 44px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - 44px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 25px 21px; }
  .age-modal { width: min(760px, 100%); padding: 26px 22px; }
  .modal h2 { font-size: 22px; }.modal p { font-size: 12px; }
  .modal-actions { flex-direction: column; align-items: stretch; }
  .modal-actions button { width: 100%; min-height: 46px; }
  .saved-drawer { padding-left: 21px; }
}

@supports (-webkit-touch-callout: none) {
  html { -webkit-text-size-adjust: 100%; }
  input, select, textarea { font-size: 16px; }
  input[type="search"] { -webkit-appearance: none; appearance: none; border-radius: 0; }
  .site-header, .sponsor-strip { -webkit-backdrop-filter: blur(16px); }
  .primary-nav, .saved-list, .modal, .modal-backdrop { -webkit-overflow-scrolling: touch; }
  button, a { touch-action: manipulation; }
}

@media (hover: none) and (pointer: coarse) {
  .save-button { opacity: 1; transform: none; }
  .video-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
