:root {
    --bg: #070b14;
    --panel: #0d1422;
    --panel-2: #121c2d;
    --line: rgba(255, 255, 255, 0.1);
    --text: #f4f7fb;
    --muted: #9aa7b9;
    --red: #ff3b4e;
    --cyan: #32d6d2;
    --gold: #ffc65a;
    --violet: #9d7bff;
    --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 85% 0%, #101c35 0, var(--bg) 28rem); color: var(--text); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; z-index: -1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.shell { width: min(1320px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 20, .86); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { margin: 0; font-size: 1.25rem; }
.brand a, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; }
.brand img, .footer-brand img { width: 38px; height: 38px; }
.search { display: flex; width: min(430px, 45vw); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(50,214,210,.12); }
.search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 11px 18px; background: transparent; color: var(--text); }
.search button { width: 48px; border: 0; background: transparent; color: var(--cyan); cursor: pointer; font-size: 1.4rem; }
.main-nav { border-top: 1px solid rgba(255,255,255,.05); }
.nav-scroll { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.nav-scroll a { flex: none; padding: 11px 16px; color: var(--muted); font-size: .9rem; border-bottom: 2px solid transparent; }
.nav-scroll a span { margin-right: 7px; color: var(--cyan); }
.nav-scroll a:hover, .nav-scroll a.active { color: #fff; border-color: var(--red); }
.home-main, .page-main { padding-block: 26px 80px; }
.hero { position: relative; aspect-ratio: 16 / 7.2; min-height: 440px; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: #0b1120; box-shadow: 0 28px 70px rgba(0,0,0,.38); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, transform .6s ease; transform: scale(1.02); }
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,16,.96) 0%, rgba(5,8,16,.74) 38%, rgba(5,8,16,.1) 74%), linear-gradient(0deg, rgba(5,8,16,.65), transparent 45%); }
.hero-content { position: absolute; left: clamp(30px, 6vw, 86px); top: 50%; transform: translateY(-50%); width: min(560px, 58%); }
.hero-label, .eyebrow { display: inline-flex; color: var(--cyan); text-transform: uppercase; font-size: .78rem; letter-spacing: .16em; font-weight: 800; }
.hero-content h2 { margin: 10px 0 6px; font-size: clamp(2.7rem, 5.5vw, 5.4rem); line-height: 1.02; letter-spacing: -.04em; }
.hero-meta { color: #dbe4f0; }
.hero-desc { color: var(--muted); max-width: 48ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { min-height: 44px; padding: 10px 19px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 700; border: 1px solid transparent; }
.button.primary { background: var(--red); color: #fff; box-shadow: 0 10px 25px rgba(255,59,78,.24); }
.button.ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: rgba(7,11,20,.55); color: #fff; font-size: 2rem; cursor: pointer; }
.hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
.hero-dots { position: absolute; right: 28px; bottom: 26px; display: flex; gap: 8px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; }
.hero-dots button.active { width: 28px; border-radius: 9px; background: var(--red); }
.content-section { margin-top: 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading > div { display: flex; align-items: center; gap: 12px; }
.section-heading h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); }
.section-heading p { margin: 0; color: var(--muted); }
.section-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-2); color: var(--cyan); border: 1px solid var(--line); }
.media-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 16px; }
.media-card { min-width: 0; }
.poster { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 15px; background: var(--panel); border: 1px solid var(--line); }
.poster::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgba(7,11,20,.48); color: #fff; font-size: 2rem; transition: .25s; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.poster:hover img { transform: scale(1.05); }
.poster:hover::after { opacity: 1; }
.quality, .score { position: absolute; top: 10px; z-index: 2; padding: 3px 8px; border-radius: 7px; font-size: .72rem; font-weight: 800; }
.quality { left: 10px; background: var(--red); } .score { right: 10px; background: rgba(7,11,20,.82); color: var(--gold); }
.card-body h3 { margin: 12px 0 3px; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-body h3 a:hover { color: var(--cyan); }
.meta { margin: 0; color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta span { margin: 0 5px; opacity: .45; }
.tagline { margin: 8px 0 0; color: #8290a5; font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.accent-red { padding: 28px; border-radius: 24px; background: linear-gradient(135deg, rgba(255,59,78,.09), transparent 45%); border: 1px solid rgba(255,59,78,.18); }
.rail .media-grid { grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); grid-template-columns: none; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.rail .media-card { scroll-snap-align: start; }
.accent-blue .media-card:nth-child(1) { grid-column: span 2; }
.accent-blue .media-card:nth-child(1) .poster { aspect-ratio: 4 / 3; }
.spotlight { padding: 30px; background: var(--panel); border-radius: 8px 28px 8px 28px; }
.spotlight .media-card:nth-child(even) { transform: translateY(18px); }
.accent-violet { border-top: 1px solid rgba(157,123,255,.35); padding-top: 30px; }
.accent-violet .section-icon { color: var(--violet); box-shadow: 0 0 25px rgba(157,123,255,.25); }
.compact .media-grid { grid-template-columns: repeat(5, 1fr); }
.compact .poster { aspect-ratio: 4 / 5; }
.accent-gold { padding: 30px; background: linear-gradient(180deg, rgba(255,198,90,.08), rgba(255,198,90,0)); border-top: 2px solid var(--gold); }
.rank-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 32px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rank-panel a, .rank-columns a { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 18px; background: var(--panel); }
.rank-panel b, .rank-columns b { font-size: 1.25rem; color: var(--red); font-style: italic; }
.rank-panel span, .rank-columns span { display: grid; }
.rank-panel small, .rank-columns small { color: var(--muted); }
.rank-panel em, .rank-columns em { color: var(--gold); font-style: normal; font-weight: 800; }
.editorial-feature { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--panel); }
.editorial-feature img { width: 100%; height: 380px; object-fit: cover; }
.editorial-feature div { padding: clamp(28px, 5vw, 70px); }
.editorial-feature h3 { font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: 1.2; margin: 12px 0; }
.editorial-feature p, .about-block p { color: var(--muted); }
.text-link { color: var(--cyan); font-weight: 700; }
.coming-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.coming-grid article { display: grid; grid-template-columns: 74px 1fr auto; gap: 16px; align-items: center; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.coming-grid article > span { font-size: 1.3rem; color: var(--red); font-weight: 800; }
.coming-grid h3, .coming-grid p { margin: 0; }
.coming-grid p { color: var(--muted); font-size: .85rem; }
.coming-grid a { color: var(--cyan); }
.about-block { margin-top: 70px; display: grid; grid-template-columns: 1fr 1.7fr auto; gap: 38px; align-items: center; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, var(--panel), #101d33); }
.about-block h2 { margin: 8px 0 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: .85rem; margin-bottom: 22px; }
.breadcrumb strong { color: #fff; }
.channel-hero, .simple-hero { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: clamp(30px, 6vw, 72px); min-height: 270px; background: linear-gradient(125deg, rgba(50,214,210,.13), rgba(157,123,255,.08), var(--panel)); border: 1px solid var(--line); border-radius: 24px; }
.channel-hero h1, .simple-hero h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); margin: 8px 0; line-height: 1; }
.channel-hero p, .simple-hero p { max-width: 65ch; color: var(--muted); }
.channel-count { display: grid; text-align: right; color: var(--muted); }
.channel-count strong { font-size: 4rem; color: var(--red); line-height: 1; }
.filter-panel { margin-top: 26px; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 15px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.filter-panel div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-panel button { border: 0; border-radius: 999px; padding: 7px 13px; background: transparent; color: var(--muted); cursor: pointer; }
.filter-panel button.active { background: var(--red); color: #fff; }
.filter-panel select { margin-left: 10px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: #0b1220; color: #fff; }
.channel-highlight { margin-top: 28px; display: grid; grid-template-columns: 1.4fr 1fr; min-height: 330px; overflow: hidden; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.channel-highlight img { width: 100%; height: 100%; max-height: 390px; object-fit: cover; }
.channel-highlight div { padding: 42px; align-self: center; }
.channel-highlight h2 { font-size: 2.5rem; margin: 8px 0; }
.channel-highlight p { color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.pagination span, .pagination strong { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; }
.pagination strong { background: var(--red); }
.detail-hero { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); }
.detail-backdrop { position: absolute; inset: 0; opacity: .25; }
.detail-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #080d17 20%, rgba(8,13,23,.74)); }
.detail-backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px); }
.detail-content { position: relative; display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 70px); padding: clamp(26px, 5vw, 64px); }
.detail-poster { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 22px 50px rgba(0,0,0,.42); }
.detail-copy h1 { font-size: clamp(2.3rem, 5vw, 4.8rem); margin: 8px 0 0; line-height: 1.1; }
.detail-copy > p { color: #c1cbd9; max-width: 68ch; }
.detail-copy .alias { color: var(--muted); }
.detail-copy dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.detail-copy dl div { display: grid; grid-template-columns: 70px 1fr; border-bottom: 1px solid var(--line); padding: 8px 0; }
.detail-copy dt { color: var(--muted); }
.detail-copy dd { margin: 0; }
.episode-section, .synopsis { margin-top: 36px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.episodes { display: flex; flex-wrap: wrap; gap: 10px; }
.episodes a { min-width: 98px; text-align: center; padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); }
.episodes a:hover, .episodes a.current { background: var(--red); border-color: var(--red); }
.stills { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.stills img { width: 100%; height: 250px; object-fit: cover; border-radius: 13px; }
.media-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-list a { display: flex; align-items: center; gap: 14px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.mini-list img { width: 54px; height: 70px; object-fit: cover; border-radius: 7px; }
.mini-list span { display: grid; min-width: 0; }
.mini-list small { color: var(--muted); }
.app-strip { margin-bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 46px; background: linear-gradient(110deg, #101b30, #102734); border: 1px solid var(--line); border-radius: 26px 26px 0 0; }
.app-copy { max-width: 680px; }
.app-copy h2 { margin: 8px 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.app-copy p { color: var(--muted); }
.qr-art { width: 150px; height: 150px; }
.site-footer { background: #050810; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-block: 50px; }
.footer-grid p { color: var(--muted); max-width: 50ch; }
.footer-grid h2 { font-size: 1rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:hover { color: var(--cyan); }
.copyright { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 20px; color: #6e7b8e; font-size: .8rem; }
.rank-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.rank-columns section { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rank-columns h2 { padding: 8px 18px; }
.rank-columns a { grid-template-columns: 38px 1fr auto; border-top: 1px solid var(--line); }
.simple-hero > span { order: 2; font-size: 7rem; color: rgba(50,214,210,.28); }
.timeline { margin-top: 34px; border-left: 1px solid var(--line); }
.timeline article { display: grid; grid-template-columns: 160px 26px 1fr; align-items: center; gap: 18px; padding: 16px 0; }
.timeline time { color: var(--muted); text-align: right; }
.timeline article > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--red); }
.timeline h2, .timeline p { margin: 0; }
.timeline p { color: var(--muted); }
.prose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.prose section, .guide-grid article { padding: 30px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.prose p, .guide-grid p { color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.guide-grid b { font-size: 2.5rem; color: var(--red); }
.search-page { margin-top: 34px; }
.search-page form { max-width: 760px; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.search-page form > label { display: block; margin-bottom: 10px; font-weight: 700; }
.search-page form > div { display: flex; gap: 10px; }
.search-page input { flex: 1; min-width: 0; padding: 11px 14px; background: #080d17; border: 1px solid var(--line); border-radius: 9px; color: #fff; }
.search-status { color: var(--muted); margin: 28px 0 14px; }
.search-page .media-card.hidden { display: none; }
