:root {
    color-scheme: light;
    --bg: #f8f9f5;
    --panel: #ffffff;
    --panel-2: #f1f4eb;
    --line: #d8ddce;
    --text: #2b311f;
    --muted: #646c55;
    --green: #7ca922;
    --cyan: #45a92c;
    --red: #d02619;
    --shadow: 0 16px 40px rgba(248,249,245,0.12);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
    margin: 0;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(124, 169, 34, .08), transparent 260px),
        repeating-linear-gradient(0deg, rgba(255,255,255,.025), rgba(255,255,255,.025) 1px, transparent 1px, transparent 4px),
        var(--bg);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(69, 169, 44, .16);
    background: rgba(248, 249, 245, .92);
    backdrop-filter: blur(12px);
}
.header-inner,
.footer-inner,
.site-main {
    width: min(1200px, calc(100% - 28px));
    margin: 0 auto;
}
.header-inner {
    min-height: 68px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(220px, 320px);
    gap: 18px;
    align-items: center;
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(124, 169, 34, .7);
    background: #071014;
    color: var(--green);
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 0 18px rgba(124, 169, 34, .2);
}
.brand-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.site-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a,
.chip,
.pagination a,
.pagination span,
.btn,
.site-search button {
    border: 1px solid rgba(69, 169, 44, .18);
    background: rgba(16, 27, 34, .82);
    color: var(--text);
    border-radius: 6px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    white-space: nowrap;
}
.site-nav a:hover,
.chip:hover,
.pagination a:hover,
.btn:hover,
.site-search button:hover {
    border-color: rgba(124, 169, 34, .7);
    color: var(--green);
}
.site-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}
.site-search input {
    width: 100%;
    min-height: 38px;
    border-radius: 6px;
    border: 1px solid rgba(69, 169, 44, .22);
    background: #071014;
    color: var(--text);
    padding: 0 12px;
    outline: none;
}
.site-search input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(124, 169, 34, .12); }
.site-main { padding: 26px 0 42px; }
.hero-band,
.section,
.detail-layout,
.player-wrap {
    margin-bottom: 28px;
}
.hero-band {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: 24px;
    align-items: stretch;
    padding: 26px;
    border: 1px solid rgba(69, 169, 44, .18);
    background: linear-gradient(135deg, rgba(16, 27, 34, .94), rgba(7, 16, 20, .82));
    box-shadow: var(--shadow);
}
.hero-random {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
}
.hero-site-title {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
    gap: 18px;
    align-items: center;
}
.hero-site-title h1 { margin-bottom: 0; }
.hero-copy { min-width: 0; }
.hero-kicker {
    margin: 0 0 8px;
    color: var(--green);
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
}
.hero-vod-title {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
}
.hero-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    padding: 0;
    margin: 0 0 18px;
    color: var(--muted);
    list-style: none;
}
.hero-meta li { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-meta b { color: var(--text); margin-right: 5px; }
.hero-feature {
    position: relative;
    display: block;
    min-height: 260px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid rgba(124, 169, 34, .28);
    border-radius: 6px;
    background: #071014;
}
.hero-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .72));
    pointer-events: none;
}
.hero-feature em {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 4px;
    background: rgba(248, 249, 245, .84);
    color: var(--green);
    font-size: 13px;
    font-style: normal;
    padding: 4px 8px;
}
h1,
.page-title {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: 0;
}
h2 {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.25;
}
.lead { color: var(--muted); margin: 0 0 18px; max-width: 720px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}
.stat {
    min-height: 78px;
    border: 1px solid rgba(124, 169, 34, .18);
    background: rgba(7, 16, 20, .78);
    border-radius: 6px;
    padding: 12px;
}
.stat strong { display: block; color: var(--green); font-size: 22px; line-height: 1.2; }
.stat span { color: var(--muted); font-size: 13px; }
.terminal-panel {
    min-height: 220px;
    border: 1px solid rgba(124, 169, 34, .28);
    background: #061014;
    border-radius: 6px;
    padding: 16px;
    overflow: hidden;
}
.terminal-panel p { margin: 0 0 8px; color: #9debc3; font-family: Consolas, "Courier New", monospace; }
.terminal-panel .cursor { color: var(--green); }
.section-head,
.breadcrumb,
.toolbar-row,
.episode-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.breadcrumb {
    justify-content: flex-start;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}
.breadcrumb a { color: var(--cyan); }
.grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}
.vod-card {
    min-width: 0;
    display: block;
}
.poster {
    position: relative;
    display: block;
    aspect-ratio: 5 / 7;
    border-radius: 6px;
    overflow: hidden;
    background: #0d1d22;
    border: 1px solid rgba(69, 169, 44, .14);
}
.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease, filter .22s ease;
}
.poster em {
    position: absolute;
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 4px;
    background: rgba(248, 249, 245, .82);
    color: var(--green);
    font-size: 12px;
    font-style: normal;
    padding: 2px 7px;
}
.vod-card:hover .poster img { transform: scale(1.045); filter: saturate(1.12); }
.vod-card strong {
    display: block;
    margin-top: 8px;
    line-height: 1.35;
    min-height: 38px;
    color: var(--text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.vod-card small {
    display: block;
    min-height: 20px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.filters {
    display: grid;
    gap: 12px;
    margin: 18px 0 22px;
    padding: 16px;
    border: 1px solid rgba(69, 169, 44, .16);
    background: rgba(11, 19, 24, .72);
    border-radius: 6px;
}
.filter-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}
.filter-row b { color: var(--green); line-height: 36px; }
.filter-options { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.chip.active,
.pagination .active {
    border-color: rgba(124, 169, 34, .82);
    background: rgba(124, 169, 34, .12);
    color: var(--green);
}
.empty {
    padding: 26px;
    border: 1px dashed rgba(69, 169, 44, .26);
    color: var(--muted);
    background: rgba(7, 16, 20, .66);
    border-radius: 6px;
    text-align: center;
}
.pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 26px 0 0;
}
.detail-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
}
.detail-poster img {
    width: 100%;
    aspect-ratio: 5 / 7;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(69, 169, 44, .18);
    background: #0d1d22;
}
.meta-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    padding: 0;
    margin: 18px 0;
    list-style: none;
}
.meta-list li { min-width: 0; color: var(--muted); }
.meta-list b { color: var(--text); margin-right: 4px; }
.summary {
    color: #c5ddd7;
    background: rgba(11, 19, 24, .66);
    border-left: 3px solid var(--green);
    padding: 14px 16px;
    border-radius: 0 6px 6px 0;
}
.episode-block {
    margin-top: 22px;
    padding: 16px;
    border: 1px solid rgba(69, 169, 44, .16);
    background: rgba(11, 19, 24, .72);
    border-radius: 6px;
}
.episode-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.episode-list a {
    min-width: 0;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(69, 169, 44, .18);
    background: rgba(7, 16, 20, .82);
    border-radius: 6px;
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.episode-list a:hover,
.episode-list a.active { border-color: var(--green); color: var(--green); }
.player-wrap {
    border: 1px solid rgba(69, 169, 44, .18);
    background: #020506;
    box-shadow: var(--shadow);
}
.player-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.player-frame iframe,
.player-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.player-message {
    color: var(--muted);
    padding: 18px;
    text-align: center;
}
.player-tools {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px;
    background: rgba(7, 16, 20, .96);
    border-top: 1px solid rgba(69, 169, 44, .14);
}
.player-wide .site-main { width: min(1500px, calc(100% - 20px)); }
.light-mask {
    position: fixed;
    inset: 0;
    z-index: 18;
    pointer-events: none;
    background: rgba(0, 0, 0, .78);
    opacity: 0;
    transition: opacity .18s ease;
}
.lights-off .light-mask { opacity: 1; }
.lights-off .player-wrap,
.lights-off .site-header { position: relative; z-index: 19; }
.download-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}
.download-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(69, 169, 44, .16);
    background: rgba(7, 16, 20, .82);
    border-radius: 6px;
    padding: 10px;
}
.download-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-footer {
    border-top: 1px solid rgba(69, 169, 44, .14);
    background: #f8f9f5;
    color: var(--muted);
}
.footer-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-inner p { margin: 0; }
.jump-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
}
.jump-box {
    width: min(420px, calc(100% - 28px));
    border: 1px solid rgba(124, 169, 34, .28);
    background: var(--panel);
    border-radius: 6px;
    padding: 24px;
    text-align: center;
}
@media (max-width: 980px) {
    .header-inner { grid-template-columns: 1fr; padding: 12px 0; }
    .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hero-band,
    .hero-random,
    .hero-site-title { grid-template-columns: 1fr; }
    .episode-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .site-main { padding-top: 18px; }
    .hero-band { padding: 18px; }
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-poster { width: min(240px, 70vw); }
    .meta-list { grid-template-columns: 1fr; }
    .episode-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .filter-row { grid-template-columns: 1fr; gap: 6px; }
    .filter-row b { line-height: 1.4; }
    .hero-stats { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .episode-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .download-item { grid-template-columns: 1fr; }
    .site-search { grid-template-columns: 1fr auto; }
}


/* split s0041_moban3 light 柠绿 analog */
body {
  color: #2b311f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
