:root {
    --bg: #0d1512;
    --surface: #19241f;
    --surface-2: #222f29;
    --line: #3d5148;
    --text: #edf1ef;
    --muted: #b0beb8;
    --soft: #8b9c94;
    --accent: #4eeda6;
    --accent-2: #eeb838;
    --accent-3: #e4a04d;
    --danger: #e74b40;
    color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 21, 18, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.site-header-inner { width: min(1220px, calc(100% - 24px)); min-height: 68px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; white-space: nowrap; }
.site-logo-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: #fff; }
.site-nav { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-nav a { padding: 8px 10px; color: var(--soft); border-radius: 6px; white-space: nowrap; }
.site-nav a:hover, .site-nav a:focus { background: var(--surface-2); color: var(--text); }
.site-search { display: flex; width: min(330px, 32vw); border: 1px solid var(--line); background: #090a0d; border-radius: 8px; overflow: hidden; }
.site-search input { min-width: 0; width: 100%; border: 0; outline: 0; padding: 10px 12px; color: var(--text); background: transparent; }
.site-search button, .btn { border: 0; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.btn.secondary { background: transparent; border: 1px solid var(--line); color: var(--text); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); }
.home-hero { padding: 34px 0 18px; background: radial-gradient(circle at 20% 20%, rgba(78, 237, 166, .16), transparent 26%), linear-gradient(180deg, #141519, #0d1512); }
.home-hero h1 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 54px); line-height: 1.08; letter-spacing: 0; }
.hero-track { display: grid; gap: 18px; }
.home-hero-item { position: relative; min-height: 430px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; overflow: hidden; border-radius: 8px; background: #050608; border: 1px solid var(--line); }
.home-hero-item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .46; }
.home-hero-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,8,.92), rgba(5,6,8,.52), rgba(5,6,8,.18)); }
.home-hero-copy { position: relative; z-index: 1; width: min(650px, 100%); padding: 42px; }
.home-hero-copy h2 { margin: 8px 0 10px; font-size: clamp(28px, 4vw, 48px); line-height: 1.12; letter-spacing: 0; }
.home-hero-copy p { color: var(--soft); margin: 0 0 18px; }
.eyebrow { color: var(--accent-2); font-size: 14px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 12px; color: var(--muted); font-size: 14px; }
.meta-line span { min-width: 0; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.section-block { padding: 32px 0; }
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.section-title h2, .episode-section h2, .faq-section h2, .vod-feedback h2, .section-block h2 { margin: 0; font-size: 24px; letter-spacing: 0; }
.section-title a { color: var(--accent-2); }
.vod-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.vod-card, .topic-card, .person-card, .text-card, .type-card, .feedback-item { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; overflow: hidden; }
.vod-poster { position: relative; display: block; aspect-ratio: 2 / 3; background: #08090b; }
.vod-poster img { width: 100%; height: 100%; object-fit: cover; }
.vod-poster span { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 7px; border-radius: 5px; background: rgba(5,6,8,.78); color: #fff; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vod-card-body { padding: 10px; }
.vod-card h2, .text-card h2, .topic-card h2, .person-card h2 { margin: 0; font-size: 15px; line-height: 1.35; letter-spacing: 0; }
.vod-card p, .text-card p, .topic-card p, .type-card span { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.type-card { padding: 16px; display: grid; gap: 6px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; color: var(--muted); font-size: 14px; }
.page-heading { margin: 26px 0 22px; }
.page-heading.compact { margin-bottom: 14px; }
.page-heading h1, .system-page h1, .form-page h1, .article-page h1, .detail-info h1, .detail-page > h1, .sitemap-page > h1, .user-panel h1 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 42px); line-height: 1.16; letter-spacing: 0; }
.page-heading p { margin: 0; color: var(--muted); }
.subtype-nav, .filter-panel, .episode-section, .faq-section, .vod-feedback, .form-box, .user-panel, .user-menu { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; }
.subtype-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; margin-bottom: 18px; }
.subtype-nav a, .filter-row a, .episode-grid a, .pagination a, .pagination span { border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; color: var(--soft); }
.filter-panel { padding: 14px; margin-bottom: 20px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.filter-row:last-child { border-bottom: 0; }
.filter-row strong { width: 48px; color: var(--accent-2); }
.detail-hero { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; margin: 24px 0 30px; align-items: start; }
.detail-poster { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #08090b; }
.detail-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.detail-desc { color: var(--soft); margin: 14px 0; }
.info-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 16px 0; }
.info-list div { min-width: 0; }
.info-list dt { color: var(--muted); font-size: 13px; }
.info-list dd { margin: 0; overflow-wrap: anywhere; }
.score-box, .visual-stars { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; color: var(--accent-2); }
.score-num { font-size: 22px; font-weight: 800; }
.episode-section { padding: 18px; margin: 22px 0; }
.source-group { margin-top: 16px; }
.source-group h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: 0; }
.episode-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.episode-grid a { text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #101116; }
.player-box { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #000; display: grid; place-items: center; }
.player-box iframe { width: 100%; height: 100%; border: 0; background: #000; }
.player-message { margin: 0; color: var(--soft); padding: 18px; text-align: center; }
.feedback-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.vod-feedback, .faq-section { padding: 18px; margin: 22px 0; }
.feedback-item { padding: 14px; }
.feedback-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.feedback-user { color: var(--text); }
.feedback-stars { color: var(--accent-2); white-space: nowrap; }
.feedback-item p { margin: 10px 0; color: var(--soft); }
.feedback-item time { color: var(--muted); font-size: 13px; }
.faq-section details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq-section summary { cursor: pointer; font-weight: 700; }
.faq-section p { color: var(--soft); margin: 8px 0 0; }
.empty-state { display: block; margin: 16px 0; padding: 18px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center; }
.empty-state.is-hidden { display: none; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0; }
.text-grid, .person-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.text-card { padding: 16px; }
.text-list { display: grid; gap: 8px; }
.text-list a, .text-list span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--soft); }
.topic-card a, .person-card a { display: grid; gap: 10px; padding: 10px; }
.topic-card img, .person-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; background: #08090b; }
.article-body { color: var(--soft); overflow-wrap: anywhere; }
.article-body img { height: auto; border-radius: 8px; margin: 14px 0; }
.system-page, .form-page { padding: 42px 0; }
.form-box { display: grid; gap: 14px; padding: 18px; max-width: 640px; }
.form-box label { display: grid; gap: 6px; color: var(--soft); }
.form-box input, .form-box textarea, .verify-code input { width: 100%; border: 1px solid var(--line); background: #090a0d; color: var(--text); border-radius: 6px; padding: 10px 12px; outline: 0; }
.verify-code { display: flex; gap: 10px; align-items: center; }
.verify-code img { height: 42px; border-radius: 6px; cursor: pointer; }
.user-page { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; padding: 26px 0; }
.user-menu { display: grid; align-content: start; gap: 6px; padding: 14px; }
.user-menu a { padding: 9px 10px; border-radius: 6px; color: var(--soft); }
.user-menu a:hover { background: var(--surface-2); }
.user-panel { padding: 18px; }
.user-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.user-stats span { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #101116; }
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: #090a0d; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }
.backtop { position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--text); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.backtop.is-visible { opacity: 1; pointer-events: auto; }
@media (max-width: 980px) {
    .site-header-inner { grid-template-columns: auto auto; }
    .nav-toggle { display: block; justify-self: end; }
    .site-nav, .site-search { grid-column: 1 / -1; width: 100%; display: none; }
    .site-header.is-open .site-nav, .site-header.is-open .site-search { display: flex; }
    .site-nav { flex-wrap: wrap; }
    .vod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .detail-hero { grid-template-columns: 200px minmax(0, 1fr); }
    .episode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .feedback-list, .text-grid, .person-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .container { width: min(100% - 20px, 1180px); }
    .home-hero { padding-top: 18px; }
    .home-hero-item { min-height: 480px; }
    .home-hero-copy { padding: 24px; }
    .vod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .detail-hero, .user-page { grid-template-columns: 1fr; }
    .detail-poster { max-width: 230px; }
    .info-list, .feedback-list, .text-grid, .person-grid, .type-grid, .episode-grid, .user-stats { grid-template-columns: 1fr; }
    .footer-grid { display: grid; }
    .site-search { border-radius: 6px; }
    .filter-row strong { width: 100%; }
}


/* split s0010_moban10 dark 碧青 triad */
body {
  color: #edf1ef;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
