/* 网飞猫：暗夜视听索引界面 */
:root {
    color-scheme: dark;
    --accent: #F25C36;
    --steel: #232B3A;
    --black: #080A0E;
    --background: #0E1117;
    --panel: #161B24;
    --text: #F1F5F9;
    --muted: #94A3B8;
    --cyan: #38BDF8;
    --line: rgba(148,163,184,.16);
    --radius: 10px;
    --content: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: var(--background);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    padding: 10px 14px; color: #080A0E; background: #fff; border-radius: 6px;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(8,10,14,.94); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.header-inner {
    width: min(var(--content), calc(100% - 48px)); min-height: 72px; margin: auto;
    display: flex; align-items: center; gap: 38px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 190px; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
.brand span { display: grid; line-height: 1.3; }
.brand strong { font-size: 19px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 28px; flex: 1; }
.main-nav a { color: #AAB4C3; font-size: 14px; transition: color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"] { position: relative; }
.main-nav a[aria-current="page"]::after {
    content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: -25px; background: var(--accent);
}
.header-download {
    display: inline-flex; align-items: center; gap: 12px; padding: 9px 15px;
    border: 1px solid rgba(56,189,248,.35); border-radius: 7px; color: var(--cyan);
    font-size: 13px; transition: background .2s, border-color .2s;
}
.header-download:hover { background: rgba(56,189,248,.1); border-color: var(--cyan); }
.page-shell { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; }
.intro-panel {
    min-height: 248px; margin-top: 26px; padding: 31px 38px;
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
    overflow: hidden; position: relative;
    background: linear-gradient(112deg, #171D28 0%, #141923 62%, #20202A 100%);
    border: 1px solid var(--line); border-radius: 12px;
}
.intro-panel::before {
    content: ""; position: absolute; width: 340px; height: 340px; right: 9%; top: -205px;
    border: 1px solid rgba(242,92,54,.18); border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(242,92,54,.025), 0 0 0 70px rgba(242,92,54,.02);
}
.intro-copy { max-width: 780px; position: relative; z-index: 1; }
.eyebrow, .section-kicker {
    color: var(--cyan); font-size: 12px; letter-spacing: .08em; font-weight: 700;
}
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(242,92,54,.65); }
h1, h2, h3, p { margin-top: 0; }
.intro-panel h1 { margin: 12px 0 9px; font-size: clamp(25px, 3vw, 34px); line-height: 1.35; letter-spacing: -.035em; }
.intro-panel p { max-width: 710px; margin-bottom: 20px; color: #AAB4C3; font-size: 14px; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.button {
    min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 9px 16px; border-radius: 7px; font-size: 13px; font-weight: 700;
    transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--accent); border: 1px solid var(--accent); }
.button-primary:hover { background: #ff704b; }
.button-secondary { color: #D8E0EA; border: 1px solid #465163; background: rgba(255,255,255,.025); }
.button-secondary:hover { border-color: #8190A4; }
.intro-side { min-width: 185px; min-height: 175px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; }
.side-mark {
    width: 106px; height: 106px; display: grid; place-items: center; border-radius: 28px;
    border: 1px solid rgba(242,92,54,.35); background: radial-gradient(circle at 35% 30%, #3C2B2B, #161B24 70%);
    color: #FF9A75; font-size: 47px; font-weight: 900; transform: rotate(-7deg);
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.side-caption { display: grid; text-align: center; margin-top: 13px; line-height: 1.5; }
.side-caption strong { font-size: 13px; }
.side-caption span { color: var(--muted); font-size: 11px; }
.search-section { margin-top: 20px; padding: 17px 18px 15px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.search-form {
    display: flex; align-items: center; gap: 12px; min-height: 46px;
    padding: 4px 5px 4px 14px; border: 1px solid #303B4B; border-radius: 7px; background: #10151D;
}
.search-form:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,189,248,.08); }
.search-icon { color: var(--cyan); font-size: 25px; line-height: 1; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 13px; }
.search-form input::placeholder { color: #758196; }
.search-form button { border: 0; border-radius: 5px; padding: 8px 18px; color: white; background: var(--accent); cursor: pointer; font-size: 13px; font-weight: 700; }
.category-row { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 13px; }
.category-chip { padding: 5px 13px; border: 1px solid #303A49; border-radius: 5px; color: #AEB9C8; background: #202735; font-size: 12px; transition: .2s; }
.category-chip:hover { border-color: #68778B; color: white; }
.category-chip.is-active { color: #fff; background: rgba(242,92,54,.16); border-color: rgba(242,92,54,.55); }
.catalog-section { margin-top: 32px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 17px; }
.section-heading h2 { margin: 5px 0 3px; font-size: 23px; letter-spacing: -.025em; line-height: 1.4; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.result-count { color: var(--muted); font-size: 12px; padding-bottom: 5px; }
.poster-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 19px 15px; }
.poster-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); transition: border-color .2s, transform .2s; }
.poster-card:hover { transform: translateY(-3px); border-color: rgba(56,189,248,.42); }
.poster-image-wrap { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #252C37; }
.poster-image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.poster-card:hover .poster-image { transform: scale(1.035); }
.poster-image-wrap::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(4,7,11,.58)); pointer-events: none; }
.poster-type, .poster-year { position: absolute; z-index: 1; top: 9px; padding: 3px 7px; border-radius: 4px; font-size: 10px; }
.poster-type { left: 9px; color: white; background: rgba(8,10,14,.78); }
.poster-year { right: 9px; color: #D9E3EF; background: rgba(8,10,14,.68); font-variant-numeric: tabular-nums; }
.poster-info { padding: 11px 11px 13px; }
.poster-info h3 { overflow: hidden; margin: 0 0 5px; font-size: 14px; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.poster-meta { display: flex; justify-content: space-between; gap: 5px; color: var(--cyan); font-size: 10px; }
.poster-meta span:last-child { color: #AAB4C3; }
.poster-info p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 42px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.85; }
.empty-state { padding: 50px 20px; text-align: center; border: 1px dashed #394557; border-radius: 10px; background: rgba(22,27,36,.55); }
.empty-symbol { display: block; color: var(--cyan); font-size: 42px; }
.empty-state h3 { margin: 5px 0; font-size: 18px; }
.empty-state p { color: var(--muted); font-size: 13px; }
.category-overview { margin-top: 35px; }
.compact-heading { margin-bottom: 13px; }
.category-overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.category-overview-grid a {
    min-height: 116px; padding: 14px 15px; position: relative; display: flex; flex-direction: column;
    border: 1px solid var(--line); border-radius: 9px; background: #141A23; transition: border-color .2s, background .2s;
}
.category-overview-grid a:hover { border-color: rgba(56,189,248,.4); background: #19212C; }
.category-number { color: var(--accent); font-size: 10px; font-weight: 800; font-variant-numeric: tabular-nums; }
.category-overview-grid strong { margin-top: 2px; font-size: 17px; }
.category-overview-grid small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.category-overview-grid b { position: absolute; right: 14px; top: 15px; color: var(--cyan); font-size: 16px; }
.device-strip {
    margin-top: 34px; padding: 22px 25px; display: flex; align-items: center; gap: 20px;
    border: 1px solid rgba(56,189,248,.22); border-radius: 10px;
    background: linear-gradient(100deg, rgba(56,189,248,.09), rgba(22,27,36,.92) 45%);
}
.device-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: var(--cyan); background: rgba(56,189,248,.12); font-size: 25px; }
.device-copy { flex: 1; }
.device-copy h2 { margin: 3px 0 3px; font-size: 19px; }
.device-copy p { max-width: 720px; margin: 0; color: var(--muted); font-size: 12px; }
.button-device { flex: 0 0 auto; color: #06131B; background: var(--cyan); border: 1px solid var(--cyan); }
.button-device:hover { background: #70D3FF; }
.about-section { margin: 35px 0 45px; padding: 25px 28px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 45px; border: 1px solid var(--line); border-radius: 10px; background: #121720; }
.about-main h2 { margin: 5px 0 10px; font-size: 21px; }
.about-main p { margin: 0 0 8px; color: #AAB4C3; font-size: 12px; }
.about-facts { display: grid; align-content: center; gap: 10px; }
.about-facts div { padding: 9px 12px; display: flex; justify-content: space-between; gap: 10px; border-left: 2px solid var(--accent); background: rgba(255,255,255,.025); }
.about-facts strong { font-size: 12px; }
.about-facts span { color: var(--muted); font-size: 11px; text-align: right; }
.site-footer { background: var(--black); border-top: 1px solid var(--line); }
.footer-inner { width: min(var(--content), calc(100% - 48px)); margin: auto; padding: 27px 0 20px; display: grid; grid-template-columns: 1fr auto; gap: 15px 30px; }
.footer-logo { color: var(--text); font-size: 19px; font-weight: 900; }
.footer-brand p { max-width: 520px; margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; align-items: center; gap: 22px; color: #B3BECC; font-size: 12px; }
.footer-links a:hover { color: var(--cyan); }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); color: #697587; font-size: 10px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin: 21px 0 13px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--cyan); }
.download-hero {
    min-height: 235px; padding: 31px 40px; display: flex; justify-content: space-between; align-items: center;
    overflow: hidden; position: relative; border: 1px solid var(--line); border-radius: 12px;
    background: linear-gradient(115deg, #171D28, #111923 70%, #12232C);
}
.download-hero > div:first-child { max-width: 740px; position: relative; z-index: 1; }
.download-hero h1 { margin: 9px 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.4; }
.download-hero p { max-width: 690px; margin-bottom: 17px; color: #AAB4C3; font-size: 13px; }
.download-orbit { width: 160px; height: 160px; margin-right: 45px; display: grid; place-items: center; position: relative; border: 1px solid rgba(56,189,248,.35); border-radius: 50%; box-shadow: 0 0 0 22px rgba(56,189,248,.035), 0 0 0 48px rgba(56,189,248,.02); }
.download-orbit span { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #F25C36, #9D382B); font-size: 38px; font-weight: 900; transform: rotate(-8deg); }
.download-orbit i, .download-orbit b { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.download-orbit i { top: 18px; right: 19px; }.download-orbit b { left: 10px; bottom: 38px; background: var(--accent); }
.download-options { margin-top: 34px; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.download-card { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.download-card-top { display: flex; justify-content: space-between; align-items: center; }
.download-index { color: var(--accent); font-size: 12px; font-weight: 800; }
.device-label { padding: 3px 8px; border-radius: 4px; color: var(--cyan); background: rgba(56,189,248,.1); font-size: 10px; }
.device-illustration { height: 76px; display: grid; place-items: center; margin: 14px 0 10px; color: #78D7FF; background: linear-gradient(135deg, #1C3441, #1B2430); border-radius: 8px; font-size: 42px; }
.device-2 { color: #FF987A; background: linear-gradient(135deg, #3A2829, #24232D); }
.device-3 { color: #78D7FF; background: linear-gradient(135deg, #1A3540, #202936); }
.download-card h3 { margin: 0 0 7px; font-size: 17px; }
.download-card > p { min-height: 62px; margin-bottom: 10px; color: var(--muted); font-size: 11px; }
.download-card ul { min-height: 76px; margin: 0; padding: 0 0 0 17px; color: #B9C4D2; font-size: 11px; }
.download-card li { padding: 2px 0; }
.availability-note { margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--line); color: #D6A18F; font-size: 10px; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.install-guide { margin-top: 36px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; padding: 25px; border: 1px solid var(--line); border-radius: 10px; background: #121720; }
.guide-heading h2 { margin: 6px 0; font-size: 21px; }
.guide-heading p { color: var(--muted); font-size: 12px; }
.guide-list { display: grid; gap: 12px; }
.guide-list article { display: flex; gap: 14px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.guide-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.guide-list article > span { color: var(--cyan); font-size: 12px; font-weight: 800; }
.guide-list h3 { margin: 0 0 3px; font-size: 13px; }
.guide-list p { margin: 0; color: var(--muted); font-size: 11px; }
.download-faq { margin: 35px 0; }
.download-faq details { margin-top: 9px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; background: #141A23; }
.download-faq summary { cursor: pointer; font-size: 13px; font-weight: 700; }
.download-faq summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.download-faq details p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.back-to-catalog { margin: 35px 0 45px; padding: 22px 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(242,92,54,.22); border-radius: 10px; background: rgba(242,92,54,.055); }
.back-to-catalog h2 { margin: 0 0 3px; font-size: 18px; }
.back-to-catalog p { margin: 0; color: var(--muted); font-size: 12px; }
.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.error-code { color: var(--accent); font-size: clamp(70px, 14vw, 130px); font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.error-page h1 { margin: 14px 0 4px; font-size: 25px; }
.error-page p { color: var(--muted); font-size: 13px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (max-width: 980px) {
    .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .header-inner { gap: 22px; }
    .intro-side { min-width: 145px; }
    .download-orbit { margin-right: 10px; }
}
@media (max-width: 720px) {
    .header-inner, .page-shell, .footer-inner { width: min(100% - 28px, var(--content)); }
    .header-inner { min-height: 64px; gap: 12px; }
    .brand { min-width: 0; gap: 8px; }
    .brand img { width: 35px; height: 35px; }
    .brand strong { font-size: 16px; }
    .brand small { font-size: 9px; }
    .main-nav { gap: 13px; justify-content: center; }
    .main-nav a { font-size: 11px; white-space: nowrap; }
    .main-nav a[aria-current="page"]::after { bottom: -23px; }
    .header-download { padding: 7px 9px; font-size: 11px; white-space: nowrap; }
    .intro-panel { margin-top: 15px; padding: 23px 20px; min-height: 0; }
    .intro-side { display: none; }
    .intro-panel h1 { font-size: 25px; }
    .intro-panel p { font-size: 12px; }
    .search-section { padding: 12px; }
    .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 9px; }
    .poster-info { padding: 8px; }
    .poster-info h3 { font-size: 12px; }
    .poster-info p { font-size: 10px; min-height: 38px; }
    .poster-meta { font-size: 9px; }
    .section-heading h2 { font-size: 20px; }
    .category-overview-grid { grid-template-columns: repeat(2, 1fr); }
    .device-strip { align-items: flex-start; flex-wrap: wrap; padding: 17px; gap: 12px; }
    .device-copy { min-width: calc(100% - 65px); }
    .device-copy h2 { font-size: 17px; }
    .button-device { margin-left: 60px; }
    .about-section { grid-template-columns: 1fr; gap: 17px; padding: 20px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { gap: 17px; }
    .copyright { grid-column: auto; }
    .download-hero { padding: 25px 22px; }
    .download-orbit { display: none; }
    .download-hero h1 { font-size: 25px; }
    .download-grid { grid-template-columns: 1fr; }
    .download-card > p, .download-card ul { min-height: 0; }
    .install-guide { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
    .back-to-catalog { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
    .header-inner { flex-wrap: wrap; padding: 9px 0; }
    .brand { flex: 1; }
    .main-nav { order: 3; width: 100%; justify-content: flex-start; padding: 3px 0 2px 43px; }
    .main-nav a[aria-current="page"]::after { bottom: -7px; }
    .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .poster-info p { min-height: 36px; }
    .search-form { gap: 7px; padding-left: 9px; }
    .search-form button { padding: 8px 11px; }
    .category-chip { padding: 5px 10px; }
    .about-facts div { flex-direction: column; gap: 1px; }
    .about-facts span { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
