/* 影视大全：深色媒体基底、紧凑海报网格与清透青色强调 */
:root {
    color-scheme: dark;
    --bg: #0f172a;
    --bg-deep: #020617;
    --panel: #1e293b;
    --panel-soft: #263449;
    --line: rgba(148, 163, 184, .18);
    --text: #f1f5f9;
    --muted: #94a3b8;
    --accent: #22d3ee;
    --accent-strong: #06b6d4;
    --radius: 14px;
    --radius-small: 9px;
    --content: 1200px;
    --shadow: 0 18px 45px rgba(0, 0, 0, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
[hidden] { display: none !important; }
.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; z-index: 1000; top: 8px; left: 8px; padding: 9px 14px;
    color: var(--bg-deep); background: var(--accent); border-radius: 8px;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(2, 6, 23, .92); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.header-inner {
    width: min(var(--content), calc(100% - 48px)); min-height: 76px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; }
.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .08em; line-height: 1.4; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav a {
    padding: 9px 15px; color: #cbd5e1; border-radius: 8px; font-size: 14px;
    transition: color .2s ease, background .2s ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--accent); background: rgba(34, 211, 238, .09); }
.nav-toggle {
    display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line);
    border-radius: 10px; background: var(--panel); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--text); border-radius: 2px; }
main { overflow: clip; }
.hero-shell {
    width: min(var(--content), calc(100% - 48px)); min-height: 460px; margin: 28px auto 0;
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    align-items: center; gap: 42px; padding: 38px 0 44px;
}
.eyebrow {
    margin: 0 0 11px; color: var(--accent); font-size: 12px; font-weight: 800;
    letter-spacing: .12em;
}
.hero-copy h1 { max-width: 650px; margin: 0; font-size: clamp(34px, 4.3vw, 54px); line-height: 1.22; letter-spacing: -.045em; }
.hero-lead { max-width: 620px; margin: 22px 0 25px; color: #cbd5e1; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 9px;
    font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #04212a; background: var(--accent); }
.button-primary:hover { color: #04212a; background: #67e8f9; }
.button-quiet { color: #dbeafe; border-color: var(--line); background: rgba(30, 41, 59, .55); }
.button-quiet:hover { border-color: rgba(34, 211, 238, .5); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--muted); font-size: 12px; }
.hero-facts b { color: var(--text); margin-right: 4px; }
.hero-art { position: relative; min-height: 360px; display: grid; place-items: center; }
.hero-art__frame {
    position: relative; width: min(100%, 440px); height: 330px; overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .25); border-radius: 18px; background: var(--panel);
    box-shadow: var(--shadow); transform: rotate(1.2deg);
}
.hero-art__frame::after {
    content: ""; position: absolute; inset: 30% 0 0;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .92));
}
.hero-art__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-art__caption { position: absolute; z-index: 1; right: 24px; bottom: 22px; left: 24px; }
.hero-art__caption span { display: block; margin-bottom: 5px; color: var(--accent); font-size: 12px; }
.hero-art__caption strong { display: block; max-width: 310px; font-size: 21px; line-height: 1.45; }
.hero-stamp {
    position: absolute; right: 0; top: 18px; width: 82px; height: 82px; display: grid; place-content: center;
    color: #05232a; background: var(--accent); border: 5px solid var(--bg); border-radius: 50%;
    text-align: center; font-size: 16px; font-weight: 900; line-height: 1.25; transform: rotate(9deg);
}
.content-section { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 42px 0; }
.section-heading {
    display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 22px;
}
.section-heading h2, .access-strip h2 { margin: 0; font-size: clamp(23px, 2.7vw, 31px); line-height: 1.35; letter-spacing: -.025em; }
.section-heading > p { max-width: 510px; margin: 0 0 3px; color: var(--muted); font-size: 13px; }
.section-heading--compact { margin-bottom: 20px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 20px 0 17px; }
.search-field {
    display: flex; align-items: center; gap: 10px; width: min(390px, 100%); min-height: 44px;
    padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel);
}
.search-icon { color: var(--accent); font-size: 23px; line-height: 1; }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 13px; }
.search-field input::placeholder { color: #718096; }
.filter-status { margin: 0; color: var(--muted); font-size: 12px; }
.film-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 17px; }
.film-card {
    min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--panel); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.film-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .45); box-shadow: 0 14px 28px rgba(0, 0, 0, .2); }
.poster-link { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: #263449; }
.poster { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.film-card:hover .poster { transform: scale(1.045); }
.poster-badge {
    position: absolute; left: 9px; bottom: 9px; padding: 3px 7px; color: #04212a;
    background: var(--accent); border-radius: 5px; font-size: 10px; font-weight: 800;
}
.film-card__body { padding: 12px 12px 13px; }
.film-card__meta { display: flex; justify-content: space-between; gap: 5px; color: var(--muted); font-size: 10px; }
.film-card h3 { overflow: hidden; margin: 6px 0 5px; font-size: 15px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.film-card h3 a:hover { color: var(--accent); }
.film-card__body > p { display: -webkit-box; min-height: 58px; overflow: hidden; margin: 0; color: #aab8ca; font-size: 11px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.film-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.rating-label { color: var(--muted); font-size: 10px; }
.film-card__foot strong { color: var(--accent); font-size: 11px; }
.empty-state { padding: 28px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.split-section { padding-top: 35px; }
.collection-list { display: grid; gap: 10px; }
.collection-card {
    display: grid; grid-template-columns: 58px minmax(0, 1fr) 28px; align-items: start; gap: 15px;
    padding: 19px 21px; border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(110deg, rgba(30, 41, 59, .98), rgba(30, 41, 59, .68));
}
.collection-number { color: var(--accent); font-size: 26px; font-weight: 800; line-height: 1.2; }
.collection-main h3 { margin: 0 0 5px; font-size: 17px; }
.collection-main > p { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.collection-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.collection-tags a { padding: 4px 9px; color: #cbd5e1; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; }
.collection-tags a:hover { color: var(--accent); border-color: rgba(34, 211, 238, .5); }
.collection-arrow { color: var(--accent); font-size: 20px; }
.ranking-section { padding-top: 30px; }
.ranking-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 16px; }
.ranking-item {
    display: grid; grid-template-columns: 35px 54px minmax(0, 1fr) auto; align-items: center; gap: 13px;
    min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel);
}
.ranking-index { color: var(--accent); font-size: 19px; font-weight: 850; text-align: center; }
.ranking-item img { width: 54px; height: 64px; object-fit: cover; border-radius: 6px; background: var(--panel-soft); }
.ranking-copy { min-width: 0; }
.ranking-copy h3 { margin: 0 0 3px; font-size: 14px; }
.ranking-copy p { overflow: hidden; margin: 0; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ranking-year { color: var(--muted); font-size: 11px; }
.detail-library { padding-top: 35px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.detail-card { scroll-margin-top: 100px; padding: 18px 19px; border: 1px solid var(--line); border-radius: 11px; background: rgba(30, 41, 59, .65); }
.detail-card:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.detail-card__top { display: flex; justify-content: space-between; gap: 10px; color: var(--accent); font-size: 10px; }
.detail-card__top span:last-child { color: var(--muted); text-align: right; }
.detail-card h3 { margin: 9px 0 6px; font-size: 16px; }
.detail-card p { margin: 0; color: #b5c1d1; font-size: 12px; line-height: 1.85; }
.access-strip {
    width: min(var(--content), calc(100% - 48px)); margin: 25px auto 58px; padding: 27px 30px;
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
    border: 1px solid rgba(34, 211, 238, .23); border-radius: 16px;
    background: linear-gradient(105deg, rgba(34, 211, 238, .11), rgba(30, 41, 59, .95) 55%);
}
.access-strip > div { max-width: 760px; }
.access-strip h2 { font-size: 23px; }
.access-strip > div > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-inner { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 30px 0 24px; }
.footer-brand strong { font-size: 18px; }
.footer-brand p { margin: 3px 0 16px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 17px; font-size: 12px; }
.footer-links a { color: #cbd5e1; }
.copyright { margin: 0; padding-top: 14px; color: #718096; border-top: 1px solid var(--line); font-size: 11px; }
.page-hero { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 30px 0 24px; }
.page-hero--compact { max-width: 980px; padding-top: 27px; }
.breadcrumb { margin-bottom: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 11px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #64748b; }
.page-hero h1 { max-width: 820px; margin: 0; font-size: clamp(31px, 4vw, 45px); line-height: 1.25; letter-spacing: -.035em; }
.page-lead { max-width: 790px; margin: 17px 0 0; color: #bdc9d8; font-size: 15px; line-height: 1.95; }
.official-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; padding-top: 16px; }
.official-main { display: grid; gap: 13px; }
.prose-card { padding: 23px 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.prose-card h2 { margin: 0 0 12px; font-size: 19px; }
.prose-card p { margin: 0 0 12px; color: #c1ccda; font-size: 13px; line-height: 1.95; }
.prose-card p:last-child { margin-bottom: 0; }
.check-list { display: grid; gap: 11px; margin: 0; padding-left: 20px; color: #c1ccda; font-size: 13px; }
.check-list li::marker { color: var(--accent); }
.check-list strong { color: var(--text); }
.official-aside { display: grid; align-content: start; gap: 13px; }
.aside-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.aside-card--accent { background: linear-gradient(145deg, rgba(34, 211, 238, .13), var(--panel) 72%); }
.aside-icon { display: grid; width: 34px; height: 34px; place-items: center; color: #04212a; background: var(--accent); border-radius: 50%; font-weight: 900; }
.aside-card h2 { margin: 13px 0 6px; font-size: 16px; }
.aside-card p { margin: 0; color: var(--muted); font-size: 12px; }
.aside-link { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); color: #dbeafe; font-size: 12px; }
.aside-link:first-of-type { margin-top: 9px; }
.aside-link span { color: var(--accent); }
.qa-list { display: grid; gap: 8px; }
.qa-list details { padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; background: rgba(2, 6, 23, .2); }
.qa-list summary { position: relative; padding-right: 20px; cursor: pointer; color: var(--text); font-size: 13px; font-weight: 700; list-style: none; }
.qa-list summary::-webkit-details-marker { display: none; }
.qa-list summary::after { content: "+"; position: absolute; right: 0; color: var(--accent); font-size: 18px; line-height: 1; }
.qa-list details[open] summary::after { content: "−"; }
.qa-list details p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.device-intro { display: grid; grid-template-columns: minmax(0, 1fr) 390px; align-items: center; gap: 45px; padding-top: 15px; }
.device-copy h2 { margin: 0 0 13px; font-size: 25px; }
.device-copy p { margin: 0 0 10px; color: #bdc9d8; font-size: 13px; line-height: 1.95; }
.device-visual { padding: 20px 20px 0; }
.device-screen { height: 210px; padding: 12px; border: 8px solid #334155; border-bottom-width: 12px; border-radius: 13px; background: #020617; box-shadow: var(--shadow); }
.device-screen__bar { height: 10px; margin-bottom: 11px; border-radius: 4px; background: #334155; }
.device-screen__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.device-screen__grid i { height: 68px; border-radius: 5px; background: linear-gradient(145deg, #155e75, #334155); }
.device-screen__grid i:nth-child(2n) { background: linear-gradient(145deg, #475569, #1e293b); }
.device-base { width: 112%; height: 12px; margin-left: -6%; border-radius: 0 0 14px 14px; background: #64748b; clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); }
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.guide-card { min-height: 190px; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.guide-number { color: var(--accent); font-size: 13px; font-weight: 850; }
.guide-card h3 { margin: 12px 0 7px; font-size: 16px; }
.guide-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.qa-list--wide { max-width: 900px; }
.not-found { width: min(700px, calc(100% - 48px)); min-height: 490px; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found-code { margin: 0; color: var(--accent); font-size: 90px; font-weight: 900; line-height: 1; letter-spacing: -.07em; }
.not-found h1 { margin: 18px 0 4px; font-size: 31px; }
.not-found > p:not(.not-found-code) { margin: 0 0 22px; color: var(--muted); }
@media (max-width: 1050px) {
    .film-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hero-shell { gap: 25px; }
    .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .header-inner, .hero-shell, .content-section, .page-hero, .footer-inner, .access-strip { width: min(100% - 32px, var(--content)); }
    .header-inner { min-height: 66px; }
    .brand { font-size: 17px; }
    .brand img { width: 38px; height: 38px; }
    .nav-toggle { display: block; }
    .primary-nav {
        position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none;
        padding: 10px 16px 15px; border-bottom: 1px solid var(--line); background: #020617;
    }
    .primary-nav.is-open { display: grid; }
    .primary-nav a { padding: 11px 12px; }
    .hero-shell { grid-template-columns: 1fr; gap: 10px; margin-top: 9px; padding: 32px 0 28px; }
    .hero-copy h1 { max-width: 600px; font-size: clamp(34px, 8vw, 46px); }
    .hero-lead { margin: 15px 0 20px; font-size: 14px; }
    .hero-art { min-height: 260px; margin-top: 4px; }
    .hero-art__frame { width: min(100% - 24px, 480px); height: 245px; }
    .hero-stamp { right: 4px; top: 0; width: 68px; height: 68px; font-size: 13px; }
    .content-section { padding: 30px 0; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 9px; }
    .film-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .film-card__body { padding: 9px; }
    .film-card h3 { font-size: 13px; }
    .film-card__body > p { min-height: 54px; font-size: 10px; }
    .film-card__meta { font-size: 9px; }
    .ranking-list { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .access-strip { align-items: flex-start; flex-direction: column; margin-bottom: 38px; padding: 22px; }
    .access-strip h2 { font-size: 20px; }
    .official-layout { grid-template-columns: 1fr; gap: 13px; }
    .official-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .device-intro { grid-template-columns: 1fr; gap: 12px; }
    .device-visual { width: min(420px, 100%); margin: 0 auto; }
    .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    body { font-size: 14px; }
    .header-inner, .hero-shell, .content-section, .page-hero, .footer-inner, .access-strip { width: calc(100% - 28px); }
    .hero-copy h1 { font-size: 34px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .button { width: 100%; }
    .hero-facts { gap: 12px; }
    .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .film-card__body > p { min-height: 49px; }
    .catalog-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
    .search-field { width: 100%; }
    .collection-card { grid-template-columns: 34px minmax(0, 1fr) 15px; gap: 9px; padding: 15px 12px; }
    .collection-number { font-size: 20px; }
    .collection-main h3 { font-size: 15px; }
    .collection-tags { gap: 5px; }
    .collection-tags a { padding: 3px 6px; font-size: 10px; }
    .ranking-item { grid-template-columns: 25px 47px minmax(0, 1fr) auto; gap: 8px; padding: 8px; }
    .ranking-item img { width: 47px; height: 57px; }
    .ranking-copy p { white-space: normal; line-height: 1.5; }
    .detail-card { padding: 15px; }
    .detail-card__top { flex-direction: column; gap: 3px; }
    .detail-card__top span:last-child { text-align: left; }
    .official-aside { grid-template-columns: 1fr; }
    .prose-card { padding: 18px; }
    .page-hero h1 { font-size: 32px; }
    .guide-grid { grid-template-columns: 1fr; }
    .guide-card { min-height: 0; }
    .footer-links { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
