/* 51视频 · 全站唯一样式文件。手机优先；断点见文件底部。 */
:root {
  color-scheme: dark;
  --bg: #101116;
  --surface: #1a1c23;
  --surface-raised: #22242d;
  --surface-hover: #2d2e38;
  --accent: #ff3d71;
  --accent-soft: #ff90af;
  --button-bg: #cb2452;
  --button-hover: #b81e49;
  --text: #f5f3f5;
  --muted: #a7a8b4;
  --faint: #868895;
  --line: #30313c;
  --tint: #22151e;
  /* 扩展表面与文字色：所有主题配色均集中于此。 */
  --surface-hero: #14161e;
  --surface-download: #1c151d;
  --surface-platform: #2a1c28;
  --surface-platform-hover: #382231;
  --surface-selected: #33202c;
  --border-download: #38232e;
  --border-thumb: #52505a;
  --border-thumb-desktop: #63616a;
  --border-outline: #676872;
  --border-platform: #6c3f53;
  --text-hero: #d6d3db;
  --text-label: #eee8ee;
  --text-download: #b8acb9;
  --text-platform: #c0afbd;
  --text-placeholder: #c4b8c2;
  --text-theater: #c8bdc8;
  --text-quality: #cdcbd3;
  --text-legal: #bbb8c3;
  --text-rose: #ff9cba;
  --text-selected: #ffc1d2;
  --text-poster: #fff0f4;
  --bg-rgb: 16, 17, 22;
  --tint-rgb: 34, 21, 30;
  --highlight-rgb: 255, 255, 255;
  --poster-rgb: 14, 16, 21;
  --backdrop-rgb: 5, 6, 11;
  --sticky-rgb: 25, 26, 34;
  --thumb-rgb: 25, 27, 34;
  --radius-xs: 3px;
  --radius-frame: 2px;
  --radius-round: 50%;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --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(42px, 5.6vw, 80px);
  --header-height: 64px;
  /* 原生 CSS 的媒体查询不支持 var()，下方 @media 使用同值字面量。 */
  --breakpoint-sm: 640px;
  --breakpoint-md: 900px;
  --breakpoint-lg: 1200px;
  --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 { margin: 0; }
h1, h2, h3 { line-height: 1.3; }
button, input { border-radius: 0; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 5px; }
::selection { background: var(--button-bg); color: var(--text); }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section[id] { scroll-margin-top: 0; }
.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(--button-bg); color: var(--text); font-size: .9375rem; font-weight: 600; line-height: 1.5; transition: background .18s, border-color .18s, transform .18s; }
.button:hover { background: var(--button-hover); }
.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(--border-outline); }
.button-outline:hover { background: var(--surface-hover); border-color: var(--muted); }
.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; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(var(--bg-rgb), 0.960784); border-bottom: 1px solid rgba(var(--highlight-rgb), 0.050980); }
.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.5rem; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.brand img { width: 36px; height: 36px; }
.brand-word { margin-left: 3px; letter-spacing: -.05em; font-size: 1.15rem; 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-frame); }
.nav-toggle { display: none; }
.js .nav-toggle { display: inline-grid; }
.js .site-nav { display: none; }
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: 630px; background: var(--surface-hero); }
.hero-art, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 65% 30%; }
.hero-image-1 { object-position: 72% 30%; }
.hero-image-2 { object-position: 55% 28%; }
.hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(var(--bg-rgb), 0.937255) 8%, rgba(var(--bg-rgb), 0.658824) 37%, rgba(var(--bg-rgb), 0.078431) 80%), linear-gradient(90deg, rgba(var(--bg-rgb), 0.396078), rgba(var(--bg-rgb), 0.062745)); }
.hero-inner { min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 200px; padding-bottom: 15px; }
.hero-copy { max-width: 580px; }
.hero-kicker { display: inline-flex; align-items: center; gap: var(--space-2); font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--text-label); }
.hero-kicker > span { width: 5px; height: 5px; background: var(--accent); border-radius: var(--radius-round); }
.hero h1 { margin-top: 14px; font-size: clamp(2.125rem, 7.8vw, 3.75rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.22; text-shadow: 0 2px 24px rgba(var(--bg-rgb), 0.333333); }
.title-period { color: var(--accent); }
.hero-copy > p { color: var(--text-hero); font-size: .875rem; margin-top: 14px; line-height: 1.85; }
.hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; }
.hero-buttons .button { padding-inline: 18px; }
.hero-secondary { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-size: .8125rem; }
.hero-secondary .icon { width: 18px; height: 18px; }
.hero-secondary:hover { color: var(--accent-soft); }
.hero-bottom { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.hero-selection { display: flex; align-items: center; gap: var(--space-3); }
.tiny-label { color: var(--accent-soft); font-size: .6875rem; }
.hero-selection strong { font-size: .8125rem; font-weight: 500; }
.hero-selection-note { display: none; }
.hero-switcher { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); max-width: 560px; }
.js .hero-switcher { display: grid; }
.hero-thumb { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 46px; padding: 5px; border: 1px solid var(--border-thumb); border-radius: var(--radius-sm); background: rgba(var(--thumb-rgb), 0.921569); text-align: left; }
.hero-thumb img { width: 37px; height: 29px; object-fit: cover; border-radius: var(--radius-xs); flex-shrink: 0; }
.hero-thumb span { font-size: .625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-thumb[aria-pressed="true"] { border-color: var(--accent); background: var(--surface-selected); }
.hero-thumb[aria-pressed="true"] span { color: var(--text-selected); }
.hero-thumb:hover { background: var(--surface-hover); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 22px; }
.section-heading h2, .experience-copy h2, .speed-copy h2, .faq-intro h2, .download-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; font-weight: 700; }
.section-kicker { display: block; color: var(--accent-soft); font-size: .6875rem; line-height: 1.7; letter-spacing: .06em; margin-bottom: 7px; }
.section-heading > .text-link { flex-shrink: 0; font-size: .75rem; min-height: 34px; }
.film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 25px; }
.film-card { min-width: 0; }
.film-card a { display: block; border-radius: var(--radius-sm); }
.poster { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface); aspect-ratio: 3 / 4; }
.poster > img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .4s ease; }
.poster::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(var(--poster-rgb), 0.658824)); pointer-events: none; }
.poster-action { position: absolute; bottom: 12px; left: 12px; z-index: 1; display: flex; align-items: center; gap: 7px; font-size: .6875rem; color: var(--text-poster); }
.poster-action > .icon { width: 16px; height: 16px; }
.poster-action > span { display: none; }
.film-card h3 { margin-top: 10px; font-size: .9375rem; font-weight: 600; overflow-wrap: anywhere; }
.film-card p { display: flex; align-items: center; gap: 2px; font-size: .6875rem; margin-top: 5px; color: var(--muted); }
.film-card p .icon { width: 12px; height: 12px; }
.film-card a:hover h3 { color: var(--accent-soft); }
.sample-note { margin-top: 22px; color: var(--muted); font-size: .6875rem; line-height: 1.8; }
.latest-section { padding-top: var(--space-6); padding-bottom: 0; }
.featured-section { padding-bottom: 0; }
.featured-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.feature-film { min-width: 0; }
.landscape { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.landscape > img { width: 100%; height: 100%; object-fit: cover; }
.landscape::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(var(--bg-rgb), 0.541176)); }
.feature-chip { position: absolute; top: 12px; left: 12px; padding: 3px var(--space-2); background: rgba(var(--bg-rgb), 0.874510); font-size: .625rem; border-radius: var(--radius-xs); }
.round-arrow { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(var(--highlight-rgb), 0.466667); border-radius: var(--radius-round); }
.round-arrow .icon { width: 17px; height: 17px; }
.feature-film h3 { font-size: 1rem; margin-top: var(--space-3); }
.feature-film p { color: var(--muted); font-size: .75rem; margin-top: 5px; }
.feature-film a:hover h3 { color: var(--accent-soft); }
.theater-panel { background: var(--tint); padding: 30px 22px var(--space-5); border-radius: var(--radius); position: relative; overflow: hidden; isolation: isolate; }
.theater-backdrop { position: absolute; inset: 0; z-index: -1; }
.theater-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; opacity: .18; }
.theater-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--tint-rgb), 0.960784), rgba(var(--tint-rgb), 0.431373)); }
.theater-copy h2 { font-size: 1.0625rem; font-weight: 500; }
.theater-copy h3 { font-size: clamp(1.625rem, 3vw, 2.625rem); font-weight: 700; letter-spacing: -.04em; margin-top: 15px; }
.theater-copy p { font-size: .8125rem; color: var(--text-theater); margin-top: 17px; line-height: 1.9; }
.theater-copy .text-link { color: var(--text-rose); margin-top: var(--space-4); }
.theater-films { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.theater-film { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 3 / 4; }
.theater-film img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .35s; }
.theater-film::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(var(--bg-rgb), 0.901961)); }
.theater-film > span { position: absolute; bottom: 12px; left: 12px; right: 10px; font-size: .875rem; z-index: 1; }
.quality-section { padding-top: 0; }
.quality-inner { display: grid; gap: 28px; align-items: center; }
.quality-visual { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
.quality-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.quality-visual::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, rgba(var(--bg-rgb), 0.768627)); }
.image-caption { position: absolute; bottom: 20px; left: 22px; font-size: .75rem; letter-spacing: .1em; z-index: 2; }
.quality-frame { position: absolute; inset: 16px; border: 1px solid rgba(var(--highlight-rgb), 0.266667); border-radius: var(--radius-frame); }
.experience-copy > p { color: var(--muted); margin-top: 18px; font-size: .9375rem; line-height: 1.9; }
.experience-line { display: flex; align-items: center; gap: 10px; padding-block: 20px; margin-top: 5px; border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--text-quality); }
.experience-line .icon { color: var(--accent-soft); }
.experience-copy .text-link { margin-top: var(--space-3); }
.speed-section { background: var(--surface); padding-block: 34px; }
.speed-inner { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 22px 18px; align-items: center; }
.speed-mark { color: var(--accent); align-self: start; margin-top: 9px; }
.speed-mark > .icon { width: 46px; height: 58px; stroke-width: .9; }
.speed-copy > p { color: var(--muted); font-size: .8125rem; margin-top: var(--space-3); }
.speed-inner > .button { grid-column: 2; justify-self: start; font-size: .8125rem; }
.faq-inner { display: grid; gap: 25px; }
.faq-intro > p { color: var(--muted); font-size: .8125rem; margin-top: 13px; }
.faq-intro > .text-link { color: var(--accent-soft); 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: 21px; font-size: .875rem; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { font-size: 1.375rem; font-weight: 300; color: var(--muted); line-height: 1; transition: transform .2s; }
.faq-list details[open] summary > span { transform: rotate(45deg); color: var(--accent-soft); }
.faq-list details > p { color: var(--muted); font-size: .8125rem; line-height: 1.9; padding: 0 25px 22px 0; }
.download-section { background: var(--surface-download); border-top: 1px solid var(--border-download); border-bottom: 1px solid var(--border-download); }
.download-inner { display: grid; gap: 28px; align-items: center; }
.download-copy > p { color: var(--text-download); font-size: .875rem; 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-platform); border: 1px solid var(--border-platform); padding: 15px 18px; border-radius: var(--radius-sm); }
.platform-button:hover { background: var(--surface-platform-hover); border-color: var(--accent-soft); }
.platform-button > .icon:first-child { color: var(--accent-soft); width: 26px; height: 26px; }
.platform-button > span { display: flex; flex: 1; flex-direction: column; }
.platform-button strong { font-size: .9375rem; font-weight: 600; }
.platform-button small { font-size: .6875rem; color: var(--text-platform); margin-top: 1px; }
.platform-button > .icon:last-child { width: 18px; height: 18px; }
.download-options > p { color: var(--text-download); font-size: .6875rem; }
.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 22px; }
.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-soft); }
.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), 0.980392); 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; }
.mobile-download img { width: 37px; height: 37px; }
.mobile-download span { display: flex; flex-direction: column; }
.mobile-download strong { font-size: .875rem; line-height: 1.5; }
.mobile-download small { font-size: .625rem; color: var(--muted); }
.mobile-download .button { min-height: 42px; padding-inline: 14px; }
.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), 0.780392); }
.dialog[data-fallback][open] { position: fixed; z-index: 60; inset: 0; margin: auto; box-shadow: 0 0 0 100vmax rgba(var(--backdrop-rgb), 0.780392); }
.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-soft); }
.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: clamp(2rem, 4.5vw, 2.75rem); letter-spacing: -.04em; }
.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-soft); }
.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: 30px; }
.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-placeholder); }
.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; }
.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-soft); }
.legal-document { min-width: 0; max-width: 820px; }
.legal-status { color: var(--muted); font-size: .75rem; margin-top: var(--space-3); margin-bottom: var(--space-6); }
.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, .theater-film:hover img { transform: scale(1.035); }
  .poster-action { transform: translateY(4px); opacity: 0; transition: opacity .2s, transform .2s; }
  .poster-action > span { display: inline; }
  .film-card a:hover .poster-action, .film-card a:focus-visible .poster-action { transform: translateY(0); opacity: 1; }
}
@media (min-width: 640px) {
  .hero { min-height: 640px; }
  .hero-inner { padding-top: 140px; padding-bottom: 25px; }
  .hero-copy > p { font-size: 1rem; }
  .hero-bottom { margin-top: 42px; gap: 18px; }
  .hero-thumb { padding: 7px 9px; gap: 9px; }
  .hero-thumb img { width: 64px; height: 39px; }
  .hero-thumb span { font-size: .75rem; }
  .hero-selection-note { display: inline; color: var(--muted); font-size: .6875rem; margin-left: auto; }
  .section-heading { margin-bottom: 25px; }
  .section-heading > .text-link { font-size: .875rem; }
  .film-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; row-gap: 30px; }
  .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .feature-film h3 { font-size: .9375rem; }
  .feature-film p { font-size: .6875rem; }
  .feature-chip { top: 8px; left: 8px; font-size: .5625rem; }
  .round-arrow { width: 28px; height: 28px; right: 10px; bottom: 10px; }
  .theater-panel { padding: 35px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 28px; }
  .theater-copy h3 { max-width: 7em; }
  .theater-copy p { font-size: .75rem; }
  .theater-films { margin-top: 0; gap: var(--space-3); }
  .quality-inner { grid-template-columns: 1.12fr 1fr; gap: 35px; }
  .experience-copy > p { font-size: .8125rem; }
  .speed-inner { grid-template-columns: 60px 1fr auto; gap: 28px; }
  .speed-mark .icon { width: 60px; height: 74px; }
  .speed-inner > .button { grid-column: 3; }
  .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-main nav { gap: 0 18px; }
  .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; }
}
@media (min-width: 900px) {
  :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: 660px; }
  .hero-shade { background: linear-gradient(90deg, rgba(var(--bg-rgb), 0.984314) 1%, rgba(var(--bg-rgb), 0.933333) 26%, rgba(var(--bg-rgb), 0.639216) 45%, rgba(var(--bg-rgb), 0.101961) 70%, rgba(var(--bg-rgb), 0.000000)), linear-gradient(0deg, var(--bg), rgba(var(--bg-rgb), 0.733333) 10%, rgba(var(--bg-rgb), 0.000000) 42%); }
  .hero-image { object-position: center 36%; }
  .hero-image-2 { object-position: 50% 30%; }
  .hero-inner { justify-content: space-between; padding-top: 105px; }
  .hero h1 { font-size: 3.75rem; line-height: 1.23; }
  .hero-copy > p { margin-top: 23px; }
  .hero-buttons { margin-top: 28px; gap: 25px; }
  .hero-buttons .button { min-height: 50px; padding-inline: var(--space-5); }
  .hero-secondary { font-size: .875rem; }
  .hero-bottom { margin-top: 45px; flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .hero-selection { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
  .hero-selection strong { font-size: 1rem; }
  .hero-selection-note { margin-left: 0; }
  .hero-switcher { width: 510px; }
  .hero-thumb img { width: 67px; height: 41px; }
  .hero-thumb { border-color: var(--border-thumb-desktop); }
  .hero-thumb span { font-size: .6875rem; }
  .latest-section { padding-top: 36px; }
  .film-grid.home-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .film-card h3 { font-size: .9375rem; }
  .featured-grid { gap: 22px; }
  .feature-film h3 { font-size: 1.0625rem; }
  .feature-film p { font-size: .75rem; }
  .feature-chip { top: 13px; left: 13px; font-size: .625rem; }
  .round-arrow { width: 36px; height: 36px; }
  .theater-panel { grid-template-columns: 1.3fr 1fr; padding: 45px var(--space-7); gap: 70px; }
  .theater-copy h3 { max-width: none; }
  .theater-copy p { font-size: .875rem; }
  .theater-films { gap: 20px; }
  .theater-film { aspect-ratio: 3 / 3.8; }
  .theater-film > span { font-size: .9375rem; bottom: 16px; left: 16px; }
  .quality-inner { grid-template-columns: 1.15fr 1fr; gap: 65px; }
  .quality-visual { aspect-ratio: 16 / 10; }
  .experience-copy > p { font-size: .9375rem; }
  .experience-line { max-width: 340px; }
  .speed-section { padding-block: 42px; }
  .speed-inner { grid-template-columns: 85px 1fr auto; gap: 38px; }
  .speed-mark { margin-top: 0; }
  .speed-mark .icon { width: 77px; height: 88px; }
  .speed-copy p { font-size: .875rem; }
  .speed-copy p br { display: none; }
  .faq-inner { grid-template-columns: .8fr 1.5fr; gap: 70px; }
  .download-inner { grid-template-columns: 1fr 1.1fr; gap: 40px; }
  .download-options { gap: var(--space-3); }
  .platform-button { padding: 17px; gap: var(--space-3); }
  .platform-button > .icon:last-child { display: none; }
  .site-footer { padding-top: 40px; }
  .mobile-download { display: none; }
  .catalog-page .container { max-width: var(--container); }
  .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: 690px; }
  .hero-inner { padding-top: 112px; padding-bottom: 30px; }
  .hero h1 { font-size: 4.125rem; }
  .hero-switcher { width: 580px; }
  .hero-thumb { gap: 10px; }
  .hero-thumb span { font-size: .75rem; }
  .film-grid.home-grid { gap: 22px; }
  .catalog-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .theater-panel { padding: var(--space-7) 58px; gap: 100px; }
  .theater-films { max-width: 390px; justify-self: end; width: 100%; }
  .quality-inner { gap: 90px; }
  .quality-visual { aspect-ratio: 16 / 9; }
  .experience-copy h2 { font-size: 2.125rem; }
  .download-options { gap: var(--space-4); }
  .platform-button { padding: 18px 22px; }
  .platform-button > .icon:last-child { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
