/* 网飞猫：暗夜视听索引界面 */
:root {
    color-scheme: dark;
    --accent: #F25C36;
    --steel: #232B3A;
    --deep: #080A0E;
    --background: #0E1117;
    --panel: #161B24;
    --text: #F1F5F9;
    --muted: #94A3B8;
    --cyan: #38BDF8;
    --line: rgba(148, 163, 184, .16);
    --radius-card: 10px;
    --radius-control: 7px;
    font-family: Inter, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body { margin: 0; color: var(--text); background: var(--background); font-size: 15px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip-link, .visually-hidden { 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:focus { z-index: 100; top: 10px; left: 10px; width: auto; height: auto; clip: auto; padding: 9px 14px; background: var(--accent); color: white; }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(8,10,14,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { width: min(1240px, calc(100% - 40px)); min-height: 70px; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 850; letter-spacing: -.04em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; }
.main-nav { display: flex; align-items: center; gap: 26px; height: 70px; }
.main-nav a { display: inline-flex; align-items: center; height: 100%; color: var(--muted); font-size: 14px; position: relative; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.header-download { margin-left: auto; padding: 8px 13px; border: 1px solid rgba(56,189,248,.38); border-radius: 6px; color: var(--cyan); font-size: 13px; }
.header-download:hover { background: rgba(56,189,248,.1); }
.page-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.intro-panel { min-height: 178px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px 0 25px; border-bottom: 1px solid var(--line); }
.eyebrow, .section-kicker { margin: 0 0 7px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(25px, 3vw, 34px); line-height: 1.3; letter-spacing: -.04em; }
.intro-description { max-width: 760px; margin: 0; color: var(--muted); }
.primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex: 0 0 auto; padding: 11px 17px; border-radius: var(--radius-control); font-weight: 750; font-size: 14px; transition: transform .18s ease, background .18s ease; }
.primary-action { color: #fff; background: var(--accent); }
.primary-action:hover { background: #ff704d; transform: translateY(-1px); }
.secondary-action { color: var(--cyan); border: 1px solid rgba(56,189,248,.38); background: rgba(56,189,248,.06); }
.secondary-action:hover { background: rgba(56,189,248,.13); }
.search-panel { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.search-form { display: flex; max-width: 720px; gap: 9px; }
.search-form input { flex: 1; min-width: 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--panel); }
.search-form input::placeholder { color: #718096; }
.search-form input:focus { border-color: var(--cyan); outline: 1px solid rgba(56,189,248,.18); }
.search-form button { border: 0; border-radius: 7px; padding: 0 22px; color: white; background: var(--accent); cursor: pointer; font-weight: 700; }
.search-form button:hover { background: #ff704d; }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.category-chip { padding: 5px 13px; border: 1px solid transparent; border-radius: 5px; color: var(--muted); background: var(--steel); font-size: 13px; }
.category-chip:hover { color: var(--text); border-color: rgba(148,163,184,.25); }
.category-chip.is-active { color: #fff; background: rgba(242,92,54,.18); border-color: rgba(242,92,54,.55); }
.content-section, .category-section { padding: 29px 0 4px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-heading h2, .about-section h2, .device-strip h2, .download-return h2 { margin: 0; font-size: 22px; line-height: 1.35; letter-spacing: -.025em; }
.section-kicker { margin-bottom: 3px; color: var(--cyan); }
.result-count { color: var(--muted); font-size: 13px; }
.media-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 15px; }
.media-card { min-width: 0; overflow: hidden; }
.poster-wrap { position: relative; overflow: hidden; aspect-ratio: 2 / 3; border: 1px solid var(--line); border-radius: 7px; background: linear-gradient(145deg, #232b3a, #111722); }
.poster { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.media-card:hover .poster { transform: scale(1.035); }
.poster-tag { position: absolute; right: 7px; bottom: 7px; padding: 2px 7px; color: #fff; background: rgba(8,10,14,.82); border: 1px solid rgba(255,255,255,.15); border-radius: 4px; font-size: 10px; }
.media-info { padding: 9px 1px 0; }
.media-info h3 { overflow: hidden; margin: 0 0 3px; font-size: 15px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.media-meta { margin: 0 0 5px; color: var(--cyan); font-size: 11px; }
.media-summary { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.catalog-note { margin: 17px 0 0; color: #718096; font-size: 12px; }
.empty-state { padding: 38px 20px; border: 1px dashed var(--line); border-radius: var(--radius-card); text-align: center; background: rgba(22,27,36,.55); }
.empty-state strong { font-size: 17px; }
.empty-state p { margin: 6px 0 12px; color: var(--muted); }
.text-link { color: var(--cyan); }
.category-section { padding-top: 34px; }
.category-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.category-feature { position: relative; display: flex; min-height: 120px; flex-direction: column; justify-content: end; overflow: hidden; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: linear-gradient(135deg, #1c2635, #151a23); }
.category-feature::after { content: ""; position: absolute; width: 100px; height: 100px; top: -35px; right: -25px; border: 1px solid rgba(56,189,248,.18); border-radius: 50%; box-shadow: 0 0 0 14px rgba(56,189,248,.025), 0 0 0 29px rgba(56,189,248,.02); }
.category-feature span { color: var(--cyan); font-size: 11px; }
.category-feature strong { font-size: 19px; }
.category-feature small { color: var(--muted); font-size: 12px; }
.category-feature:hover { border-color: rgba(56,189,248,.45); transform: translateY(-2px); }
.device-strip { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 34px 0; padding: 23px 25px; border: 1px solid rgba(56,189,248,.2); border-radius: var(--radius-card); background: linear-gradient(105deg, rgba(35,43,58,.82), rgba(22,27,36,.85)); }
.device-strip p:not(.section-kicker) { max-width: 720px; margin: 8px 0 0; color: var(--muted); }
.about-section { padding: 23px 0 36px; border-top: 1px solid var(--line); }
.about-section p { max-width: 950px; margin: 9px 0 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: var(--deep); }
.footer-inner { width: min(1240px, calc(100% - 40px)); margin: auto; padding: 25px 0 20px; display: grid; grid-template-columns: 1fr auto; gap: 10px 25px; }
.footer-brand strong { font-size: 18px; }
.footer-brand p { max-width: 560px; margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--cyan); }
.copyright { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: #64748b; font-size: 12px; }
.breadcrumb { display: flex; gap: 9px; padding: 19px 0; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--cyan); }
.download-intro { padding: 18px 0 25px; }
.download-intro p:last-child { max-width: 780px; margin: 0; color: var(--muted); }
.client-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.client-card { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); }
.client-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 8px; color: var(--accent); background: rgba(242,92,54,.12); font-size: 19px; font-weight: 850; }
.client-card-tv .client-icon { color: var(--cyan); background: rgba(56,189,248,.12); }
.client-label { margin: 15px 0 2px; color: var(--muted); font-size: 12px; }
.client-card h2 { margin: 0 0 8px; font-size: 23px; }
.client-card > p:not(.client-label) { min-height: 52px; margin-bottom: 12px; color: var(--muted); }
.client-card ul { margin: 0; padding-left: 19px; color: #cbd5e1; font-size: 13px; }
.client-card li { margin: 5px 0; }
.availability-note { margin-top: 17px; padding: 10px 12px; border-left: 2px solid var(--cyan); color: var(--muted); background: rgba(56,189,248,.055); font-size: 12px; }
.install-guide { padding: 35px 0; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin: 0; padding: 0; list-style: none; }
.steps-list li { display: flex; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(22,27,36,.55); }
.steps-list li > span { color: var(--accent); font-size: 18px; font-weight: 800; }
.steps-list strong { font-size: 14px; }
.steps-list p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.download-return { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; padding: 22px; border-radius: 9px; background: var(--steel); }
.download-return p { margin: 5px 0 0; color: var(--muted); }
@media (max-width: 1000px) {
    .media-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .header-inner { gap: 23px; }
}
@media (max-width: 760px) {
    .header-inner, .page-shell, .footer-inner { width: min(100% - 28px, 600px); }
    .header-inner { min-height: 62px; gap: 16px; }
    .brand { font-size: 19px; }
    .brand img { width: 33px; height: 33px; }
    .main-nav { height: 62px; gap: 13px; }
    .main-nav a { font-size: 12px; }
    .header-download { padding: 6px 8px; font-size: 11px; }
    .intro-panel { min-height: auto; align-items: flex-start; flex-direction: column; gap: 15px; padding: 25px 0 20px; }
    h1 { font-size: 26px; }
    .intro-description { font-size: 13px; }
    .primary-action, .secondary-action { padding: 9px 13px; }
    .media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 11px; }
    .media-info h3 { font-size: 13px; }
    .media-summary { font-size: 11px; }
    .category-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .device-strip { align-items: flex-start; flex-direction: column; padding: 19px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { flex-wrap: wrap; }
    .copyright { grid-column: auto; }
    .steps-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .header-inner { flex-wrap: wrap; padding: 10px 0; row-gap: 3px; }
    .brand { margin-right: auto; }
    .main-nav { order: 3; width: 100%; height: 34px; }
    .main-nav a { height: 34px; }
    .header-download { margin-left: 0; }
    .media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 9px; }
    .search-form { gap: 6px; }
    .search-form input { padding: 10px; font-size: 13px; }
    .search-form button { padding: 0 12px; font-size: 13px; }
    .category-chip { padding: 5px 10px; font-size: 12px; }
    .section-heading h2, .about-section h2, .device-strip h2, .download-return h2 { font-size: 19px; }
    .client-grid { grid-template-columns: 1fr; }
    .client-card > p:not(.client-label) { min-height: 0; }
    .download-return { align-items: flex-start; flex-direction: column; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
