/* 网飞猫：低眩光暗室索引系统。页面内容不依赖本文件可见。 */
:root {
  color-scheme: dark;
  --bg: #0E1117;
  --black: #080A0E;
  --surface: #161B24;
  --surface-hover: #1c2330;
  --steel: #232B3A;
  --stroke: #303848;
  --stroke-soft: #252d3a;
  --text: #F1F5F9;
  --text-soft: #94A3B8;
  --text-dim: #718096;
  --primary: #F25C36;
  --primary-hover: #ff704c;
  --blue: #38BDF8;
  --blue-soft: rgba(56,189,248,.10);
  --primary-soft: rgba(242,92,54,.10);
  --content-width: 1240px;
  --radius: 8px;
  --radius-lg: 10px;
  font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { background: var(--bg); color: var(--text); margin: 0; min-width: 320px; -webkit-font-smoothing: antialiased; }
body,button,input { font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button,input { font: inherit; }
button,a,summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { background: rgba(242,92,54,.38); color: white; }
.container { width: min(calc(100% - 64px),var(--content-width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: -65px; left: 12px; border-radius: 6px; background: var(--blue); color: var(--black); padding: 10px 16px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(8,10,14,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid #222934; }
.topbar { display: flex; gap: 40px; align-items: center; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { flex: 0 0 auto; width: 42px; height: 42px; object-fit: contain; border-radius: 6px; }
.brand > span { display: flex; flex-direction: column; font-size: 22px; letter-spacing: -.5px; font-weight: 800; line-height: 1.18; }
.brand small { margin-top: 5px; font-size: 10px; color: var(--text-soft); font-weight: 500; letter-spacing: 1px; }
.topnav { display: flex; gap: 6px; align-items: center; height: 74px; }
.topnav a { position: relative; display: inline-flex; height: 100%; align-items: center; padding: 0 17px; color: var(--text-soft); font-size: 14px; font-weight: 650; white-space: nowrap; transition: color .2s ease; }
.topnav a:hover,.topnav a[aria-current="page"] { color: var(--text); }
.topnav a[aria-current="page"]::after { content: ''; position: absolute; bottom: 0; left: 18px; right: 18px; background: var(--primary); height: 3px; border-radius: 4px 4px 0 0; }
.top-action { margin-left: auto; border: 1px solid rgba(56,189,248,.3); color: var(--blue); background: rgba(56,189,248,.07); border-radius: 7px; padding: 9px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s ease,border-color .2s ease; }
.top-action:hover { background: rgba(56,189,248,.16); border-color: var(--blue); }
.top-action span { margin-left: 5px; }
.hero { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,.75fr); gap: 22px; padding-block: 36px 30px; }
.hero-copy { min-height: 300px; padding: 34px 35px 26px; border: 1px solid var(--stroke-soft); background: radial-gradient(ellipse at top right,rgba(242,92,54,.10),transparent 48%),linear-gradient(125deg,#1a1b25,#121720 78%); border-radius: var(--radius-lg); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .5px; color: #f8a08b; }
.eyebrow-dot { background: var(--primary); width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(242,92,54,.09); }
.hero h1,.download-hero h1 { font-size: clamp(27px,3.35vw,45px); font-weight: 800; letter-spacing: -1px; line-height: 1.3; margin: 15px 0; }
.hero h1 span,.download-hero h1 span { color: #f8b09c; }
.hero-copy > p { max-width: 620px; font-size: 14px; line-height: 1.95; color: #b7c3d2; margin: 0 0 22px; }
.hero-features,.error-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 13px; min-height: 42px; padding: 10px 17px; font-size: 13px; font-weight: 750; border-radius: 7px; border: 1px solid transparent; line-height: 1.35; transition: transform .18s ease,background .18s ease,border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #141014; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: rgba(255,255,255,.025); border-color: #435065; color: var(--text); }
.btn-outline:hover { background: var(--surface-hover); border-color: #8491a4; }
.btn-blue { background: var(--blue); color: #071019; }
.btn-blue:hover { background: #6bd0ff; }
.hero-side { border: 1px solid var(--stroke-soft); border-radius: var(--radius-lg); padding: 17px 20px 13px; background: #151a23; }
.side-label { color: var(--text-soft); font-size: 12px; font-weight: 700; letter-spacing: .4px; padding: 2px 0 13px; border-bottom: 1px solid var(--stroke-soft); }
.hero-side a { display: grid; grid-template-columns: 62px 1fr 20px; gap: 7px; align-items: center; border-bottom: 1px solid var(--stroke-soft); padding: 14px 0; transition: color .18s ease; }
.hero-side a:last-child { border-bottom: 0; }
.hero-side a > span:first-child { color: #e2e8f0; font-size: 14px; font-weight: 800; }
.hero-side a strong { font-weight: 500; color: var(--text-soft); font-size: 12px; }
.hero-side a > span:last-child { color: var(--text-dim); text-align: right; }
.hero-side a:hover > span:last-child,.hero-side a:hover strong { color: var(--blue); }
.library { padding-block: 8px 34px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-kicker { font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: .6px; }
.section-heading h2 { font-size: clamp(21px,2.1vw,27px); line-height: 1.35; letter-spacing: -.5px; margin: 4px 0 3px; }
.section-heading p { margin: 4px 0 0; font-size: 13px; color: var(--text-soft); }
.results-count { color: var(--text-soft); font-size: 12px; white-space: nowrap; background: var(--surface); border: 1px solid var(--stroke-soft); border-radius: 4px; padding: 5px 10px; }
.search-panel { background: var(--surface); padding: 15px; border: 1px solid var(--stroke-soft); border-radius: var(--radius-lg); }
.search-panel label { display: block; margin-bottom: 7px; color: var(--text-soft); font-size: 12px; font-weight: 650; }
.search-row { display: flex; align-items: stretch; gap: 10px; }
.search-input { border-radius: 7px; background: #0d121a; border: 1px solid #374151; display: flex; align-items: center; gap: 10px; padding-inline: 13px; flex: 1 1 auto; min-width: 0; transition: border-color .16s ease; }
.search-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(56,189,248,.13); }
.search-input svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--text-dim); }
.search-input input { appearance: none; background: transparent; color: var(--text); width: 100%; border: 0; padding: 10px 0; min-width: 0; outline: 0; font-size: 13px; }
.search-input input::placeholder { color: #758296; }
.search-button { min-width: 109px; }
.filter-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 18px; }
.filter-chip { display: inline-flex; justify-content: center; align-items: center; min-width: 70px; padding: 6px 16px; background: var(--steel); border: 1px solid #323b4c; color: #b5c1d1; border-radius: 4px; font-size: 13px; font-weight: 650; }
.filter-chip:hover { color: #fff; border-color: #586478; }
.filter-chip.is-active { border-color: var(--primary); background: var(--primary-soft); color: #ffb6a2; }
.film-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 15px; }
.film-card { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius-lg); border: 1px solid #28313d; background: var(--surface); overflow: hidden; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.film-card:hover { border-color: #4a5667; transform: translateY(-2px); background: var(--surface-hover); }
.film-poster { position: relative; aspect-ratio: 2/3; background: linear-gradient(145deg,#282f3c,#131922); overflow: hidden; }
.film-poster::after { content: ''; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent,rgba(5,8,14,.65)); pointer-events: none; }
.film-poster img { width: 100%; height: 100%; object-fit: cover; color: var(--text-soft); font-size: 12px; }
.poster-pill { position: absolute; bottom: 10px; left: 10px; z-index: 1; background: rgba(11,15,23,.83); border: 1px solid rgba(255,255,255,.15); color: #fff; font-weight: 700; padding: 3px 7px; font-size: 11px; border-radius: 4px; }
.film-body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex-grow: 1; }
.film-meta { display: flex; align-items: center; gap: 6px; color: var(--blue); font-size: 11px; font-variant-numeric: tabular-nums; }
.film-meta > span:nth-child(2) { color: var(--text-dim); }
.film-body h3 { margin: 5px 0 5px; font-size: 15px; line-height: 1.4; letter-spacing: -.1px; }
.film-body > p { color: #acb9ca; font-size: 12px; line-height: 1.8; margin: 0 0 11px; flex-grow: 1; }
.film-details { font-size: 12px; border-top: 1px solid var(--stroke-soft); padding-top: 8px; color: var(--text-soft); }
.film-details summary { cursor: pointer; list-style: none; color: #d9e2ec; font-size: 12px; font-weight: 700; padding: 3px 0; }
.film-details summary::-webkit-details-marker { display: none; }
.film-details summary::after { content: '+'; float: right; color: var(--primary); font-size: 16px; line-height: 1; }
.film-details[open] summary::after { content: '−'; }
.film-details p { margin: 8px 0 1px; line-height: 1.85; color: var(--text-soft); }
.catalog-note { margin-top: 18px; padding: 15px 17px; background: rgba(56,189,248,.035); border-left: 3px solid rgba(56,189,248,.65); border-radius: 0 7px 7px 0; }
.catalog-note strong { font-size: 13px; color: #a9dff8; }
.catalog-note p { margin: 5px 0 0; line-height: 1.75; font-size: 12px; color: var(--text-soft); }
.empty-state { text-align: center; border: 1px dashed #4d5a6a; border-radius: var(--radius-lg); padding: 50px 18px; background: var(--surface); }
.empty-state h3 { margin: 0 0 8px; }
.empty-state p { margin: 0 0 20px; color: var(--text-soft); }
.channel-section { margin-block: 4px 36px; }
.channel-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.channel-card { min-height: 186px; position: relative; border: 1px solid var(--stroke); border-radius: var(--radius-lg); padding: 17px; background: linear-gradient(142deg,#1a202c,#151920); transition: background .18s ease,border-color .18s ease; }
.channel-card:hover { border-color: #58677b; background: #202736; }
.channel-index { font-size: 12px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.channel-card h3 { margin: 8px 0 6px; font-size: 20px; }
.channel-card p { margin: 0 18px 0 0; color: #a0b0c2; font-size: 12px; line-height: 1.8; }
.channel-arrow { position: absolute; top: 14px; right: 17px; color: var(--blue); }
.download-banner { border: 1px solid #314357; border-radius: 10px; overflow: hidden; background: radial-gradient(ellipse at 83% 50%,rgba(56,189,248,.14),transparent 39%),linear-gradient(105deg,#192334,#101722); margin-bottom: 46px; min-height: 220px; display: flex; justify-content: space-between; align-items: center; padding: 28px 39px; gap: 30px; }
.download-banner-content { max-width: 620px; }
.download-banner .section-kicker { color: var(--blue); }
.download-banner h2 { margin: 4px 0 9px; font-size: clamp(23px,2.6vw,31px); }
.download-banner p { color: #afc4d7; line-height: 1.85; font-size: 13px; margin: 0 0 18px; }
.devices-art { position: relative; width: 220px; height: 148px; flex: 0 0 220px; }
.screen-screen { position: absolute; inset: 12px 18px 22px 0; border: 7px solid #3d5369; border-radius: 9px; background: #0c141f; display: flex; align-items: end; justify-content: space-evenly; padding: 13px 9px; overflow: hidden; }
.screen-glow { position: absolute; inset: 0; background: radial-gradient(circle at 45% 30%,rgba(56,189,248,.26),transparent 58%); }
.screen-screen > span { z-index: 1; width: 27%; height: 58%; background: linear-gradient(155deg,#465d76,#162536); border-radius: 3px; }
.phone-screen { position: absolute; right: 0; bottom: 0; width: 69px; height: 128px; border: 5px solid #72899c; background: #111c27; border-radius: 12px; display: flex; flex-direction: column; align-items: center; padding: 15px 8px; gap: 8px; box-shadow: 0 0 0 3px #172333; }
.phone-screen div { height: 51px; width: 100%; background: linear-gradient(160deg,#1c5063,#202636); border-radius: 2px; }
.phone-screen span { height: 6px; width: 95%; background: #3d5163; border-radius: 3px; }
.phone-screen span:last-child { width: 67%; align-self: start; }
.site-footer { background: #080A0E; border-top: 1px solid #242c39; padding-top: 31px; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr; gap: 64px; padding-bottom: 28px; }
.footer-brand { font-weight: 800; font-size: 21px; color: #fff; }
.footer-grid p { font-size: 12px; line-height: 2; max-width: 420px; color: var(--text-soft); }
.footer-grid nav { display: flex; flex-direction: column; gap: 9px; }
.footer-grid nav strong { font-size: 13px; margin-bottom: 3px; }
.footer-grid nav a { font-size: 12px; color: var(--text-soft); }
.footer-grid nav a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #232b36; padding-block: 16px 21px; color: #8896a9; font-size: 11px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; margin-top: 23px; color: var(--text-soft); font-size: 12px; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span[aria-current] { color: var(--text); }
.download-hero { margin-top: 16px; border: 1px solid #2c3544; border-radius: var(--radius-lg); padding: 43px 42px; min-height: 290px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; background: radial-gradient(ellipse at 90% 60%,rgba(56,189,248,.095),transparent 54%),#171d27; }
.download-hero > div:first-child { position: relative; z-index: 1; max-width: 720px; }
.download-hero h1 { margin: 15px 0 14px; }
.download-hero h1 span { color: #9bdffc; }
.download-hero p { max-width: 645px; color: #b5c1d0; font-size: 14px; line-height: 1.95; margin: 0 0 22px; }
.download-hero-mark { position: relative; width: 230px; height: 230px; flex: 0 0 230px; }
.mark-circle { position: absolute; border: 1px solid rgba(56,189,248,.31); border-radius: 50%; }
.mark-circle-one { width: 230px; height: 230px; inset: 0; }
.mark-circle-two { width: 160px; height: 160px; top: 35px; left: 35px; border-color: rgba(242,92,54,.25); }
.mark-bar { position: absolute; width: 65px; height: 65px; top: 82px; left: 82px; border-radius: 10px; border: 9px solid var(--blue); transform: rotate(-12deg); box-shadow: 0 0 50px rgba(56,189,248,.12); }
.device-nav { margin: 20px 0 37px; display: flex; flex-wrap: wrap; gap: 10px; }
.device-nav a { display: inline-flex; border: 1px solid #3b4657; background: var(--steel); padding: 7px 16px; border-radius: 5px; font-size: 12px; color: #c7d4e3; font-weight: 700; }
.device-nav a:hover { border-color: var(--blue); color: var(--blue); }
.guide-section { margin-bottom: 42px; scroll-margin-top: 112px; }
.guide-section .section-heading { margin-bottom: 18px; }
.guide-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.guide-card { border: 1px solid var(--stroke); background: var(--surface); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; min-width: 0; }
.guide-icon { color: var(--blue); border-radius: 5px; background: rgba(56,189,248,.09); width: 37px; height: 37px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.guide-card h3 { font-size: 18px; margin: 14px 0 8px; }
.guide-card > p { color: #acbbcc; font-size: 13px; line-height: 1.95; margin: 0 0 18px; flex-grow: 1; }
.guide-detail { border-top: 1px solid var(--stroke); padding-top: 14px; display: flex; flex-direction: column; gap: 5px; font-size: 12px; }
.guide-detail strong { color: #dce7f2; }
.guide-detail span { color: var(--text-soft); }
.guide-detail a { color: var(--blue); font-weight: 800; }
.guide-alert { margin-top: 17px; border: 1px solid rgba(242,92,54,.31); background: rgba(242,92,54,.05); border-radius: var(--radius); padding: 17px 21px; }
.guide-alert strong { font-size: 14px; color: #ffc3b1; }
.guide-alert p { font-size: 12px; color: #bec6d3; line-height: 1.9; margin: 5px 0 0; }
.tv-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: 25px; background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius-lg); padding: 24px; }
.tv-visual { background: radial-gradient(circle,rgba(56,189,248,.09),transparent 65%),#101620; border-radius: 8px; min-height: 280px; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }
.tv-frame { border: 8px solid #3c4d60; border-radius: 13px; width: min(85%,340px); aspect-ratio: 16/10; background: #0e1621; padding: 18px; }
.tv-ui > span { display: block; color: #e4edf7; font-size: 15px; font-weight: 800; margin-bottom: 16px; }
.tv-ui > div { display: flex; gap: 7px; }
.tv-ui i { display: block; width: 32%; aspect-ratio: 2/3; max-height: 105px; background: linear-gradient(140deg,#486277,#192536); border-radius: 4px; }
.tv-ui i:nth-child(2) { background: linear-gradient(145deg,#663e38,#24222a); }
.tv-ui i:nth-child(3) { background: linear-gradient(145deg,#42655c,#172a2a); }
.tv-leg { width: 75px; height: 12px; background: #3b4f63; clip-path: polygon(38% 0,62% 0,66% 72%,100% 72%,100% 100%,0 100%,0 72%,34% 72%); }
.tv-text { align-self: center; }
.tv-text h3 { font-size: 18px; margin: 0 0 11px; }
.tv-text p { font-size: 13px; color: #acb9c9; line-height: 1.85; }
.check-list { list-style: none; padding: 0; margin: 13px 0 0; display: grid; gap: 8px; }
.check-list li { position: relative; font-size: 12px; color: #bdc9d6; line-height: 1.8; padding-left: 23px; }
.check-list li::before { content: '✓'; color: var(--blue); font-weight: 900; position: absolute; left: 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--stroke); border-radius: 8px; }
.compare-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 590px; font-size: 12px; }
.compare-table caption { text-align: left; padding: 11px 14px; color: var(--text-soft); background: #131923; }
.compare-table th,.compare-table td { padding: 14px; border-bottom: 1px solid var(--stroke-soft); vertical-align: top; }
.compare-table thead { background: var(--steel); color: #eff6ff; }
.compare-table tbody { background: var(--surface); }
.compare-table tbody th { font-size: 12px; color: #dce4ee; width: 145px; white-space: nowrap; }
.compare-table tbody td { color: #aebcca; line-height: 1.7; }
.compare-table tr:last-child td,.compare-table tr:last-child th { border-bottom: 0; }
.compare-table tbody tr:hover { background: #1e2733; }
.table-note { margin: 10px 0 0; color: var(--text-soft); font-size: 11px; line-height: 1.85; }
.faq-list { border: 1px solid var(--stroke); background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; }
.faq-list details + details { border-top: 1px solid var(--stroke-soft); }
.faq-list summary { padding: 17px 22px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--blue); font-size: 21px; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details[open] summary { color: var(--blue); }
.faq-list details > p { padding: 0 22px 19px; margin: 0; font-size: 12px; line-height: 1.95; color: #b8c4d2; }
.faq-list details p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.back-to-library { margin-bottom: 49px; background: linear-gradient(115deg,#1b242f,#141a22); border: 1px solid #344155; border-radius: 9px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 26px; }
.back-to-library h2 { font-size: 19px; margin: 0 0 4px; }
.back-to-library p { margin: 0; color: var(--text-soft); font-size: 12px; }
.state-page { padding-block: 90px 130px; text-align: center; min-height: 55vh; }
.error-numeral { color: var(--primary); font-size: clamp(80px,12vw,160px); font-weight: 900; line-height: 1; letter-spacing: -5px; }
.state-page h1 { font-size: 30px; margin: 12px 0; }
.state-page p { color: var(--text-soft); font-size: 14px; max-width: 510px; margin: 0 auto 23px; line-height: 1.9; }
.error-actions { justify-content: center; }
.may-animate { transition: transform .3s ease,border-color .2s ease; }
.may-animate.in-view { transform: translateY(0); }
@media (max-width:1100px) {
  .container { width: min(calc(100% - 48px),var(--content-width)); }
  .film-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .hero { grid-template-columns: minmax(0,1.4fr) minmax(260px,.75fr); }
  .hero-copy { padding: 29px 26px; }
  .hero h1 { font-size: 34px; }
  .hero-side { padding-inline: 16px; }
  .footer-grid { gap: 30px; }
}
@media (max-width:830px) {
  .topbar { gap: 17px; }
  .topnav { margin-left: auto; }
  .topnav a { padding-inline: 11px; }
  .top-action { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 0; }
  .hero-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
  .hero-side .side-label { grid-column: 1/-1; }
  .hero-side a:nth-last-child(2) { border-bottom: 0; }
  .film-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .channel-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .download-hero-mark { flex-basis: 160px; transform: scale(.75); transform-origin: center; }
  .download-hero { padding: 32px; }
  .download-hero h1 { font-size: 33px; }
  .guide-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-cards .guide-card:last-child { grid-column: 1/-1; }
  .tv-layout { gap: 16px; padding: 18px; }
}
@media (max-width:620px) {
  html { scroll-padding-top: 105px; }
  .container { width: calc(100% - 28px); }
  .topbar { min-height: 62px; gap: 7px; flex-wrap: wrap; padding-top: 7px; }
  .site-header { position: sticky; }
  .brand { gap: 8px; }
  .brand img { height: 34px; width: 34px; }
  .brand > span { font-size: 18px; }
  .brand small { font-size: 9px; }
  .topnav { height: 48px; width: 100%; order: 3; justify-content: space-around; gap: 0; }
  .topnav a { flex: 1; justify-content: center; padding: 0 6px; font-size: 12px; }
  .topnav a[aria-current="page"]::after { left: 24px; right: 24px; }
  .hero { padding-top: 17px; gap: 11px; }
  .hero-copy { padding: 22px 19px; }
  .hero h1 { font-size: clamp(26px,7vw,34px); margin: 13px 0; }
  .hero-copy > p { font-size: 12px; line-height: 1.85; }
  .hero-features .btn { padding-inline: 11px; font-size: 12px; }
  .hero-side { padding: 12px 14px; }
  .hero-side a { grid-template-columns: 1fr 13px; gap: 0; padding: 11px 0; }
  .hero-side a strong { display: none; }
  .hero-side a > span:first-child { font-size: 12px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading p { font-size: 12px; }
  .search-panel { padding: 11px; }
  .search-row { gap: 7px; }
  .search-button { min-width: 75px; padding-inline: 9px; font-size: 12px; }
  .filter-nav { gap: 6px; }
  .filter-chip { flex: 1 1 16%; min-width: 56px; font-size: 12px; padding: 6px 9px; }
  .film-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .film-body { padding: 10px; }
  .film-body h3 { font-size: 14px; }
  .film-body > p { font-size: 11px; }
  .film-meta { font-size: 10px; }
  .channel-grid { gap: 9px; }
  .channel-card { padding: 14px; min-height: 175px; }
  .channel-card h3 { font-size: 18px; }
  .channel-card p { font-size: 11px; }
  .download-banner { padding: 24px 20px; margin-bottom: 30px; }
  .devices-art { display: none; }
  .download-banner h2 { font-size: 23px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 15px; }
  .footer-grid > div { grid-column: 1/-1; }
  .footer-grid p { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .download-hero { margin-top: 13px; padding: 22px 18px; }
  .download-hero h1 { font-size: clamp(25px,7vw,33px); }
  .download-hero p { font-size: 12px; }
  .download-hero-mark { display: none; }
  .device-nav { margin: 15px 0 28px; gap: 7px; }
  .device-nav a { padding: 7px 9px; font-size: 11px; }
  .guide-cards { grid-template-columns: 1fr; }
  .guide-cards .guide-card:last-child { grid-column: auto; }
  .guide-card { padding: 19px; }
  .guide-section { margin-bottom: 32px; }
  .tv-layout { grid-template-columns: 1fr; }
  .tv-visual { min-height: 225px; }
  .back-to-library { padding: 20px; align-items: start; flex-direction: column; }
  .back-to-library h2 { font-size: 17px; }
  .state-page { padding-block: 60px 85px; }
  .state-page h1 { font-size: 24px; }
}
@media (max-width:370px) {
  .hero-features { align-items: stretch; }
  .hero-features .btn { width: 100%; }
  .film-grid { gap: 7px; }
  .film-body { padding: 8px; }
  .search-input { gap: 5px; padding-inline: 8px; }
  .search-input input { font-size: 12px; }
  .search-button { min-width: 65px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
}
@media print {
  :root { color-scheme: light; }
  body { color: black; background: white; }
  .site-header,.site-footer,.search-panel,.filter-nav,.download-banner,.device-nav { display: none!important; }
  .container { width: 100%; }
  .film-card,.guide-card { break-inside: avoid; border-color: #aaa; }
  .film-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .film-body > p,.guide-card > p { color: #222; }
}
