/* 黄果短剧 · 方案 B 编辑部视觉。移动端优先，断点为 640 / 900 / 1200。 */
:root {
  color-scheme: dark;
  --bg: #0e1412;
  --surface: #152019;
  --surface-2: #1a261a;
  --surface-3: #223323;
  --surface-hover: #2a3b2a;
  --accent: #c8f542;
  --accent-soft: #ddff79;
  --accent-ink: #172209;
  --coral: #ff7b68;
  --text: #f4f6ee;
  --muted: #aab5a7;
  --faint: #768277;
  --line: #304333;
  --line-strong: #58735a;
  --text-legal: #c1c9bd;
  --text-poster: #f7faee;
  --bg-rgb: 14, 20, 18;
  --surface-rgb: 21, 32, 25;
  --backdrop-rgb: 3, 8, 5;
  --sticky-rgb: 18, 27, 21;
  --poster-rgb: 8, 12, 9;
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-round: 50%;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --container: 1320px;
  --gutter: clamp(18px, 4.3vw, 60px);
  --section-space: clamp(44px, 6vw, 88px);
  --header-height: 64px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.7 var(--font); -webkit-font-smoothing: antialiased; padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
body, input, button { font-family: var(--font); }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
button, input { border-radius: 0; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section[id] { scroll-margin-top: var(--header-height); }
.icon { flex: 0 0 auto; width: 21px; height: 21px; vertical-align: middle; }
.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; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 18px; border-radius: var(--radius-sm); background: var(--text); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.button { min-height: 48px; padding: 11px 22px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-ink); font-size: .9375rem; font-weight: 750; line-height: 1.5; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.button:hover { background: var(--accent-soft); }
.button:active { transform: translateY(1px); }
.button-small { min-height: 44px; padding: var(--space-2) 13px; font-size: .8125rem; gap: 6px; }
.button-small .icon { width: 17px; height: 17px; }
.button-outline { background: transparent; border-color: var(--line-strong); color: var(--text); }
.button-outline:hover { background: var(--surface-hover); border-color: var(--accent); color: var(--accent-soft); }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; background: transparent; border-radius: var(--radius-sm); }
.icon-button:hover { background: var(--surface-hover); }
.text-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-size: .875rem; color: var(--muted); }
.text-link:hover { color: var(--accent-soft); }
.text-link .icon { width: 17px; height: 17px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.section-heading h2, .lab-copy h2, .watchlist-inner h2, .faq-intro h2, .download-copy h2 { font-size: 1.55rem; font-weight: 760; }
.section-kicker { display: block; color: var(--accent); font-size: .68rem; line-height: 1.7; margin-bottom: 8px; }
.heading-note { color: var(--muted); font-size: .68rem; text-align: right; }
.sample-note { margin-top: 20px; color: var(--muted); font-size: .68rem; line-height: 1.8; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(var(--bg-rgb), .96); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.header-inner { min-height: var(--header-height); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-3); }
.brand { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; font-size: 1.45rem; font-weight: 800; line-height: 1; }
.brand img { width: 36px; height: 36px; }
.brand-word { margin-left: 3px; font-size: 1.13rem; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: var(--space-1); }
.header-actions > .button .icon { display: none; }
.site-nav { order: 3; width: 100%; display: flex; justify-content: space-between; gap: var(--space-3); }
.site-nav a { display: inline-flex; align-items: center; min-height: 46px; font-size: .875rem; color: var(--muted); position: relative; white-space: nowrap; }
.site-nav a[aria-current], .site-nav a:hover { color: var(--text); }
.site-nav a[aria-current]::after { content: ""; position: absolute; height: 3px; width: 20px; bottom: 0; left: calc(50% - 10px); background: var(--accent); border-radius: var(--radius-xs); }
.nav-toggle { display: none; }
.js .nav-toggle { display: inline-grid; }
.js .site-nav { display: none; }

.hero { position: relative; overflow: hidden; isolation: isolate; min-height: 700px; background: var(--bg); }
.hero-mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 2px; opacity: .78; }
.hero-tile { min-width: 0; min-height: 0; overflow: hidden; background: var(--surface-2); }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, opacity .25s; }
.hero-tile:hover img, .hero-tile:focus-visible img { transform: scale(1.04); }
.hero-tile.is-muted { opacity: .18; }
.hero-tile-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.hero-tile-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.hero-tile-3 { grid-column: 3 / 5; grid-row: 1 / 2; }
.hero-tile-4 { grid-column: 2 / 3; grid-row: 2 / 4; }
.hero-tile-5 { grid-column: 3 / 4; grid-row: 2 / 4; }
.hero-tile-6 { grid-column: 4 / 5; grid-row: 2 / 3; }
.hero-tile-7 { grid-column: 1 / 2; grid-row: 3 / 5; }
.hero-tile-8 { grid-column: 3 / 5; grid-row: 4 / 5; }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: rgba(8, 13, 10, .74); }
.hero-inner { min-height: inherit; position: relative; display: flex; flex-direction: column; justify-content: center; padding-block: 100px 35px; }
.hero-copy { max-width: 650px; padding: 22px 20px 24px; border-left: 4px solid var(--accent); background: rgba(14, 20, 18, .9); }
.hero-kicker { display: inline-flex; align-items: center; gap: var(--space-2); font-size: .72rem; font-weight: 700; color: var(--accent-soft); }
.hero-kicker > span { width: 6px; height: 6px; background: var(--accent); border-radius: var(--radius-round); }
.hero h1 { margin-top: 14px; font-size: 2.45rem; font-weight: 850; line-height: 1.04; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 590px; color: #d3dbcd; font-size: .9rem; margin-top: 20px; line-height: 1.9; }
.hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; }
.hero-secondary { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-size: .8125rem; color: var(--text); }
.hero-secondary:hover { color: var(--accent-soft); }
.hero-modes { display: flex; flex-wrap: wrap; gap: 4px 17px; margin-top: 25px; }
.hero-modes button { min-height: 35px; padding: 0 0 4px; background: transparent; color: var(--muted); border-bottom: 2px solid transparent; font-size: .75rem; }
.hero-modes button:hover, .hero-modes button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.hero-side-note { display: none; }

.new-wall, .film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 28px; }
.new-wall-section { background: var(--surface); }
.film-card { min-width: 0; }
.film-card a { display: block; }
.poster { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface-3); border-radius: var(--radius-sm); }
.poster > img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .35s; }
.poster::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: rgba(var(--poster-rgb), .65); pointer-events: none; }
.poster-meta { position: absolute; left: 9px; right: 9px; bottom: 8px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--text-poster); font-size: .63rem; }
.poster-meta b { color: var(--accent-soft); font-weight: 700; }
.poster-meta span { color: #d6dfd2; white-space: nowrap; }
.poster-action { position: absolute; right: 10px; top: 10px; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; background: rgba(var(--poster-rgb), .72); color: var(--accent); border-radius: var(--radius-round); }
.poster-action > .icon { width: 15px; height: 15px; }
.poster-action > span { display: none; }
.film-card h3 { margin-top: 10px; font-size: .92rem; font-weight: 650; overflow-wrap: anywhere; }
.film-card p { display: flex; align-items: center; gap: 2px; font-size: .65rem; margin-top: 5px; color: var(--muted); overflow-wrap: anywhere; }
.film-card p .icon { width: 12px; height: 12px; }
.film-card a:hover h3, .film-card a:focus-visible h3 { color: var(--accent-soft); }

.latest-section { background: var(--bg); }
.featured-section { background: var(--surface-2); }
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.featured-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.featured-art { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.featured-art img { width: 100%; height: 100%; object-fit: cover; }
.featured-art > span { position: absolute; left: 10px; bottom: 10px; padding: 4px 7px; color: var(--accent-ink); background: var(--accent); border-radius: var(--radius-xs); font-size: .64rem; font-weight: 750; }
.featured-copy { padding: 14px; }
.featured-copy small { color: var(--accent); font-size: .64rem; }
.featured-copy h3 { margin-top: 5px; font-size: 1rem; }
.featured-copy p { margin-top: 6px; color: var(--muted); font-size: .72rem; }
.genre-section { background: var(--bg); }
.genre-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.section-prose { display: grid; gap: 14px; max-width: 900px; margin: -5px 0 25px; }
.section-prose p, .lab-copy > p, .watchlist-inner > div > p { color: #c4cec1; font-size: .9rem; line-height: 2; overflow-wrap: anywhere; }
.genre-card { position: relative; min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .18s, background .18s; }
.genre-card:hover { border-color: var(--accent); background: var(--surface-2); }
.genre-index { color: var(--accent); font: 700 .72rem/1 var(--font); }
.genre-card strong { font-size: 1rem; }
.genre-card small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .68rem; line-height: 1.6; overflow-wrap: anywhere; }
.genre-card small .icon { width: 14px; height: 14px; }
.genre-mark { display: grid; place-items: center; align-self: flex-end; width: 27px; height: 27px; border: 1px solid var(--line-strong); color: var(--accent); }
.genre-mark .icon { width: 14px; height: 14px; }

.lab-section { background: var(--surface-2); }
.lab-inner { display: grid; gap: 30px; }
.lab-copy > p, .watchlist-inner > div > p, .ranking-panel > div > p { margin-top: 14px; color: var(--muted); font-size: .88rem; line-height: 1.9; }
.format-notes { display: grid; gap: 0; margin-top: 20px; border-top: 1px solid var(--line); }
.format-notes > div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.format-notes dt { color: var(--accent-soft); font-size: .8rem; font-weight: 750; }
.format-notes dd { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.8; }
.content-footnote { color: var(--muted) !important; font-size: .75rem !important; }
.lab-copy ul { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; color: #d8e1d3; font-size: .8rem; }
.lab-copy li { display: flex; align-items: center; gap: 10px; }
.lab-copy li .icon { width: 17px; height: 17px; color: var(--accent); }
.lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lab-grid a { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); background: var(--surface-3); }
.lab-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.lab-grid a:hover img, .lab-grid a:focus-visible img { transform: scale(1.04); }
.lab-grid a > span { position: absolute; left: 8px; bottom: 8px; padding: 3px 6px; background: rgba(var(--poster-rgb), .78); color: var(--accent-soft); font-size: .62rem; }
.ranking-section { background: var(--bg); }
.ranking-panel { display: grid; gap: 24px; padding: 25px 20px; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); }
.mini-ranking { display: grid; gap: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mini-ranking li { display: flex; align-items: center; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--line); }
.mini-ranking li > b { width: 30px; color: var(--accent); font-size: 1.15rem; }
.mini-ranking li > span { display: flex; flex: 1; flex-direction: column; min-width: 0; font-size: .86rem; }
.mini-ranking li > span small { margin-top: 2px; color: var(--muted); font-size: .66rem; }
.mini-ranking li > .icon { width: 16px; height: 16px; color: var(--muted); }
.watchlist-section { background: var(--surface-2); }
.watchlist-inner { display: grid; gap: 25px; }
.watchlist-card { display: grid; gap: 0; border: 1px solid var(--line); background: var(--surface); }
.watchlist-card > div { display: flex; align-items: center; gap: 11px; min-height: 70px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.watchlist-card > div:last-child { border-bottom: 0; }
.watchlist-dot { width: 10px; height: 10px; flex: 0 0 auto; border: 2px solid var(--accent); border-radius: var(--radius-round); }
.watchlist-card span:not(.watchlist-dot) { display: flex; flex-direction: column; min-width: 0; }
.watchlist-card strong { font-size: .82rem; }
.watchlist-card small { margin-top: 3px; color: var(--muted); font-size: .66rem; overflow-wrap: anywhere; }
.faq-section { background: var(--bg); }
.faq-inner { display: grid; gap: 25px; }
.faq-intro > p { color: var(--muted); font-size: .82rem; margin-top: 13px; }
.faq-intro > .text-link { color: var(--accent); margin-top: var(--space-3); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 19px; font-size: .85rem; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { font-size: 1.35rem; font-weight: 300; color: var(--muted); line-height: 1; transition: transform .2s; }
.faq-list details[open] summary > span { transform: rotate(45deg); color: var(--accent); }
.faq-list details > p { color: var(--muted); font-size: .78rem; line-height: 1.9; padding: 0 25px 20px 0; }

.download-section { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.download-inner { display: grid; gap: 28px; align-items: center; }
.download-copy > p { color: #c9d4c5; font-size: .88rem; margin-top: 15px; line-height: 1.9; }
.download-options { display: grid; gap: var(--space-3); min-width: 0; }
.platform-button { display: flex; align-items: center; gap: 13px; min-height: 77px; background: var(--surface); border: 1px solid var(--line-strong); padding: 15px 18px; border-radius: var(--radius-sm); }
.platform-button:hover { background: var(--surface-hover); border-color: var(--accent); }
.platform-button > .icon:first-child { color: var(--accent); width: 26px; height: 26px; }
.platform-button > span { display: flex; flex: 1; flex-direction: column; }
.platform-button strong { font-size: .9375rem; font-weight: 700; }
.platform-button small { font-size: .6875rem; color: var(--muted); margin-top: 1px; }
.platform-button > .icon:last-child { width: 18px; height: 18px; color: var(--muted); }
.download-options > p { color: var(--muted); font-size: .68rem; }

.site-footer { padding-top: 35px; }
.footer-main { display: flex; flex-direction: column; gap: 23px; }
.footer-main .brand { font-size: 1.3rem; }
.footer-main .brand img { width: 31px; height: 31px; }
.footer-main .brand-word { font-size: 1rem; }
.footer-main p { color: var(--muted); font-size: .75rem; margin-top: 9px; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 0 16px; }
.footer-main nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .75rem; color: var(--muted); }
.footer-main nav a:hover, .footer-bottom a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 3px 18px; border-top: 1px solid var(--line); margin-top: var(--space-5); padding-block: 18px 23px; font-size: .625rem; color: var(--muted); }
.footer-bottom a { min-height: 24px; display: inline-flex; align-items: center; }
.mobile-download { position: fixed; inset: auto 0 0; z-index: 25; background: rgba(var(--sticky-rgb), .98); border-top: 1px solid var(--line); padding: 11px max(18px, env(safe-area-inset-right, 0px)) calc(11px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px)); display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.mobile-download > div { display: flex; gap: var(--space-2); align-items: center; min-width: 0; }
.mobile-download img { width: 37px; height: 37px; }
.mobile-download span { display: flex; flex-direction: column; min-width: 0; }
.mobile-download strong { font-size: .875rem; line-height: 1.5; }
.mobile-download small { font-size: .625rem; color: var(--muted); white-space: nowrap; }
.mobile-download .button { min-height: 42px; padding-inline: 14px; white-space: nowrap; }

.modal-open { overflow: hidden; }
.dialog { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; }
.dialog:not([open]) { display: none; }
.dialog::backdrop { background: rgba(var(--backdrop-rgb), .82); }
.dialog[data-fallback][open] { position: fixed; z-index: 60; inset: 0; margin: auto; box-shadow: 0 0 0 100vmax rgba(var(--backdrop-rgb), .82); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.dialog-head strong { font-size: 1rem; line-height: 1.6; }
.dialog-head > .icon-button { margin-right: -10px; }
.drawer { max-height: none; min-height: 100%; width: min(340px, calc(100% - 35px)); margin: 0 0 0 auto; border-radius: 0; border-right: 0; padding: 20px var(--space-5); }
.drawer[data-fallback][open] { inset: 0 0 0 auto; margin: 0; }
.drawer-nav { display: flex; flex-direction: column; gap: 0; margin-top: 28px; }
.drawer-nav a { padding: 18px 0; min-height: 60px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-nav a[aria-current] { color: var(--accent); }
.drawer-caption { margin-top: 36px; color: var(--muted); font-size: .8125rem; }
.copy-dialog > p { font-size: .875rem; color: var(--muted); margin-top: 15px; }
.copy-dialog .copy-url { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); overflow-wrap: anywhere; font-size: .8125rem; user-select: all; }
.copy-dialog > .button { margin-top: 20px; width: 100%; }
.copy-dialog .copy-status { min-height: 24px; margin-top: 10px; font-size: .75rem; }

.breadcrumb { display: flex; align-items: center; gap: var(--space-2); color: var(--muted); font-size: .75rem; padding-top: 25px; }
.breadcrumb a { min-height: 36px; display: inline-flex; align-items: center; }
.breadcrumb .icon { width: 13px; height: 13px; }
.breadcrumb span { color: var(--text); }
.catalog-heading { display: flex; flex-direction: column; gap: 22px; margin-block: 22px; }
.catalog-heading h1, .legal-document h1 { font-size: 2rem; }
.catalog-heading p { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.catalog-search { min-height: 48px; border: 1px solid var(--line); display: flex; align-items: center; padding-left: 14px; background: var(--surface); border-radius: var(--radius-sm); }
.catalog-search:focus-within { border-color: var(--accent); }
.catalog-search > .icon { width: 18px; height: 18px; color: var(--muted); }
.catalog-search input { width: 100%; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); padding: 10px; font-size: .875rem; }
.catalog-search input::placeholder { color: var(--muted); }
.catalog-search input::-webkit-search-cancel-button { display: none; }
.catalog-search .icon-button { width: 44px; height: 44px; color: var(--muted); }
.catalog-notice { border-block: 1px solid var(--line); padding-block: var(--space-4); margin-bottom: 22px; }
.catalog-notice > p { color: var(--muted); font-size: .75rem; }
.catalog-notice dl { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 11px 0 0; }
.catalog-notice dl > div { display: flex; gap: 7px; font-size: .6875rem; }
.catalog-notice dt { color: var(--muted); }
.catalog-notice dd { margin: 0; color: var(--text); }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 25px; }
.filter-chip { min-height: 35px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--muted); font-size: .72rem; }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.catalog-end { display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: center; padding-block: var(--space-7) 65px; margin-top: 35px; border-top: 1px solid var(--line); }
.catalog-end p { color: var(--muted); font-size: .875rem; }
.search-empty { padding: 50px 10px; text-align: center; }
.search-empty h2 { font-size: 1.25rem; }
.search-empty p { color: var(--muted); font-size: .875rem; margin-block: 14px 22px; }
.ranking-list { display: grid; gap: 8px; padding: 0; list-style: none; }
.ranking-list > li { display: grid; grid-template-columns: 35px 70px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 92px; padding: 9px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); }
.ranking-number { color: var(--accent); font-size: 1.15rem; font-weight: 800; }
.ranking-poster { width: 70px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-xs); background: var(--surface-3); }
.ranking-poster img { width: 100%; height: 100%; object-fit: cover; }
.ranking-info { min-width: 0; }
.ranking-info > span { color: var(--accent); font-size: .64rem; }
.ranking-info h2 { margin-top: 3px; font-size: .9rem; overflow-wrap: anywhere; }
.ranking-info p { margin-top: 4px; color: var(--muted); font-size: .65rem; overflow-wrap: anywhere; }
.ranking-state { display: none; color: var(--muted); font-size: .65rem; }

.legal-page { padding-block: 30px 65px; }
.legal-layout { display: grid; gap: 25px; }
.legal-aside > .text-link { font-size: .75rem; }
.arrow-back { transform: rotate(180deg); }
.legal-aside nav { display: flex; gap: 20px; margin-top: 10px; }
.legal-aside nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .875rem; color: var(--muted); }
.legal-aside nav a[aria-current] { color: var(--accent); }
.legal-document { min-width: 0; max-width: 820px; }
.legal-document section { margin-bottom: 30px; }
.legal-document section h2 { font-size: 1.125rem; margin-bottom: var(--space-3); }
.legal-document section p { color: var(--text-legal); font-size: .9375rem; line-height: 2; overflow-wrap: anywhere; }

@media (hover: hover) and (pointer: fine) {
  .film-card a:hover .poster > img { transform: scale(1.035); }
  .poster-action { opacity: 0; transition: opacity .2s; }
  .film-card a:hover .poster-action, .film-card a:focus-visible .poster-action { opacity: 1; }
}
@media (min-width: 640px) {
  .section-heading h2, .lab-copy h2, .watchlist-inner h2, .faq-intro h2, .download-copy h2 { font-size: 1.75rem; }
  .hero h1 { font-size: 3.75rem; }
  .hero { min-height: 720px; }
  .hero-inner { padding-block: 120px 45px; }
  .hero-copy { padding: 30px 28px 30px; }
  .hero-copy > p { font-size: 1rem; }
  .new-wall, .film-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; row-gap: 30px; }
  .new-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .genre-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .lab-inner { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 45px; }
  .lab-grid { gap: 10px; }
  .ranking-panel { grid-template-columns: 1fr 1.15fr auto; align-items: center; gap: 30px; padding: 35px; }
  .ranking-panel > .button { white-space: nowrap; }
  .watchlist-inner { grid-template-columns: .95fr 1.05fr; align-items: center; gap: 45px; }
  .download-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-options > p { grid-column: 1 / -1; }
  .footer-main { flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; }
  .footer-bottom { justify-content: space-between; }
  .catalog-heading { flex-direction: row; justify-content: space-between; align-items: center; margin-block: 28px; gap: 30px; }
  .catalog-search { width: 270px; }
  .legal-layout { gap: 35px; }
  .ranking-list > li { grid-template-columns: 45px 82px minmax(0, 1fr) auto; gap: 18px; min-height: 116px; padding: 12px 15px; }
  .ranking-poster { width: 82px; }
  .ranking-state { display: block; }
}
@media (min-width: 900px) {
  .catalog-heading h1, .legal-document h1 { font-size: 2.85rem; }
  .section-heading h2, .lab-copy h2, .watchlist-inner h2, .faq-intro h2, .download-copy h2 { font-size: 2rem; }
  :root { --header-height: 76px; }
  body { padding-bottom: 0; }
  .header-inner { flex-wrap: nowrap; gap: var(--space-6); }
  .brand { font-size: 1.75rem; gap: var(--space-2); }
  .brand img { width: 40px; height: 40px; }
  .brand-word { font-size: 1.375rem; }
  .site-nav, .js .site-nav { order: 0; width: auto; display: flex; justify-content: flex-start; gap: var(--space-6); flex: 1; margin-left: 22px; }
  .site-nav a { min-height: var(--header-height); font-size: .9375rem; }
  .site-nav a[aria-current]::after { bottom: 17px; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .header-actions > .button { padding-inline: var(--space-4); }
  .header-actions > .button .icon { display: block; }
  .hero { min-height: 760px; }
  .hero-mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); }
  .hero-tile-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
  .hero-tile-2 { grid-column: 2 / 4; grid-row: 1 / 2; }
  .hero-tile-3 { grid-column: 4 / 7; grid-row: 1 / 2; }
  .hero-tile-4 { grid-column: 2 / 3; grid-row: 2 / 4; }
  .hero-tile-5 { grid-column: 3 / 5; grid-row: 2 / 4; }
  .hero-tile-6 { grid-column: 5 / 7; grid-row: 2 / 3; }
  .hero-tile-7 { grid-column: 1 / 3; grid-row: 3 / 5; }
  .hero-tile-8 { grid-column: 4 / 7; grid-row: 4 / 5; }
  .hero-veil { background: rgba(8, 13, 10, .66); }
  .hero-inner { padding-block: 120px 55px; justify-content: center; }
  .hero-copy { max-width: 690px; padding: 35px 36px 34px; }
  .hero h1 { font-size: 5.5rem; }
  .hero-copy > p { max-width: 560px; }
  .hero-side-note { position: absolute; display: flex; flex-direction: column; right: 0; bottom: 58px; max-width: 180px; padding-left: 15px; border-left: 1px solid var(--accent); }
  .hero-side-note span { color: var(--accent); font-size: .65rem; }
  .hero-side-note strong { margin-top: 6px; font-size: 1rem; }
  .hero-side-note small { margin-top: 4px; color: var(--muted); font-size: .64rem; line-height: 1.65; }
  .new-wall { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
  .film-grid.latest-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .featured-grid { gap: 20px; }
  .genre-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lab-inner { gap: 85px; }
  .lab-grid { gap: 14px; }
  .ranking-panel { gap: 45px; }
  .faq-inner { grid-template-columns: .8fr 1.5fr; gap: 70px; }
  .download-inner { grid-template-columns: 1fr 1.1fr; gap: 40px; }
  .site-footer { padding-top: 40px; }
  .mobile-download { display: none; }
  .catalog-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-6) 22px; }
  .catalog-notice { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
  .catalog-notice dl { flex-shrink: 0; margin: 0; gap: 17px; }
  .legal-page { padding-top: 55px; }
  .legal-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 55px; }
  .legal-aside { align-self: start; position: sticky; top: calc(var(--header-height) + 28px); }
  .legal-aside nav { flex-direction: column; gap: 5px; margin-top: 25px; }
}
@media (min-width: 1200px) {
  .hero { min-height: 800px; }
  .hero-inner { padding-block: 130px 65px; }
  .hero h1 { font-size: 6rem; }
  .new-wall { gap: 20px; }
  .catalog-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ranking-panel { padding: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
