
:root{
 --bg:#f3f5f9;--surface:#fff;--surface-2:#f8f9fc;--ink:#172033;--muted:#788397;
 --line:#e5e9f0;--accent:#ff6b35;--accent-dark:#e95522;--accent-soft:#fff0e9;
 --nav:#111a2c;--nav-2:#1b2941;--radius:18px;--shadow:0 10px 30px rgba(25,39,65,.07);
 --max:1240px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.6}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
img{display:block;max-width:100%}
.container{width:min(var(--max),calc(100% - 40px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(17,26,44,.97);backdrop-filter:blur(16px);box-shadow:0 6px 24px #10182722}
.header-inner{min-height:76px;display:flex;align-items:center;gap:26px}
.brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;color:#fff}
.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--accent);color:#fff;font-size:17px;box-shadow:0 7px 18px #ff6b3544}
.brand-copy{display:flex;flex-direction:column;line-height:1.12}
.brand-name{font-size:19px;font-weight:900;letter-spacing:-.04em}
.brand em{font-size:10px;color:#aab6ca;font-style:normal;letter-spacing:.16em;text-transform:uppercase;margin-top:4px}
.main-nav{display:flex;align-items:center;gap:5px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:none}
.main-nav::-webkit-scrollbar{display:none}
.nav-link{white-space:nowrap;padding:9px 12px;border-radius:9px;color:#b8c3d5;font-size:13px;font-weight:700;transition:.2s}
.nav-link:hover,.nav-link.active{background:#ffffff14;color:#fff}
.nav-link.active{box-shadow:inset 0 -2px var(--accent)}
.search-box{height:42px;display:flex;align-items:center;gap:6px;flex:0 0 260px;padding:4px 5px 4px 13px;border:1px solid #ffffff22;border-radius:12px;background:#ffffff0c}
.search-input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#fff;font-size:12px}
.search-input::placeholder{color:#9aa8bd}
.search-btn,.mobile-search button{border:0;border-radius:9px;background:var(--accent);color:white;font-size:12px;font-weight:800;padding:8px 13px;cursor:pointer}
.search-btn:hover,.mobile-search button:hover{background:var(--accent-dark)}
.mobile-overlay,.mobile-sidebar,.mobile-menu-btn{display:none}
.main{min-height:65vh;padding:28px 0 56px}
.site-footer{background:var(--nav);color:#aeb9cb;padding:30px 0;margin-top:34px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.footer-brand{font-size:17px;font-weight:900;color:#fff}
.footer-brand span{font-size:12px;color:#91a0b8;font-weight:500}
.site-footer p{margin:0;font-size:12px}
.footer-copy{color:#78879e}
.home-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:220px;padding:34px 42px;margin:0 0 26px;border-radius:24px;background:linear-gradient(115deg,#111a2c 0%,#243651 70%,#314767 100%);color:#fff;box-shadow:var(--shadow)}
.home-hero:after{content:"";position:absolute;width:310px;height:310px;right:8%;top:-130px;border-radius:50%;border:1px solid #ffffff18;box-shadow:0 0 0 35px #ffffff08,0 0 0 75px #ffffff05}
.hero-copy{position:relative;z-index:1;max-width:610px}
.hero-eyebrow,.section-kicker,.rank-kicker,.novel-eyebrow{font-size:10px;letter-spacing:.2em;text-transform:uppercase;font-weight:900;color:var(--accent)}
.home-hero h1{margin:8px 0 8px;font-size:clamp(27px,4vw,42px);line-height:1.15;letter-spacing:-.045em}
.home-hero p{margin:0;color:#b9c5d7;font-size:13px}
.hero-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.hero-pills span{padding:5px 10px;border:1px solid #ffffff24;border-radius:99px;color:#dce4ef;font-size:11px}
.hero-stamp{position:relative;z-index:1;display:grid;place-items:center;width:116px;height:116px;flex:0 0 116px;border:1px solid #ffffff32;border-radius:50%;background:#ffffff0b;color:#fff;font-size:30px;transform:rotate(-10deg)}
.hero-stamp small{display:block;font-size:9px;letter-spacing:.2em;color:#ffb18f}
.section{margin:0 0 28px}
.section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:0 0 15px}
.section-heading{display:flex;align-items:center;gap:11px}
.section-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:var(--accent-soft);color:var(--accent);font-size:16px}
.section-title{margin:0;color:var(--ink);font-size:21px;font-weight:900;letter-spacing:-.035em;line-height:1.25}
.section-note{margin:4px 0 0;color:var(--muted);font-size:11px}
.section-more{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#5b6679;font-size:11px;font-weight:800;white-space:nowrap;transition:.2s}
.section-more:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
/* one-column vertical custom category ticker */
.feature-scroll-panel{padding:18px;border:1px solid #e7eaf0;border-radius:20px;background:linear-gradient(135deg,#fff,#f9fafc);box-shadow:var(--shadow)}
.feature-scroll-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.feature-scroll-title{display:flex;align-items:center;gap:10px}
.live-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px #ff6b351c}
.feature-scroll-title h2{margin:0;font-size:17px;font-weight:900;letter-spacing:-.025em}
.feature-scroll-title p{margin:2px 0 0;color:var(--muted);font-size:10px}
.feature-scroll-count{padding:5px 9px;border-radius:99px;background:#fff0e9;color:var(--accent);font-size:10px;font-weight:900}
.feature-scroll-viewport{height:330px;overflow:hidden;position:relative;border-radius:13px;background:#f7f8fb}
.feature-scroll-viewport:before,.feature-scroll-viewport:after{content:"";position:absolute;left:0;right:0;height:22px;z-index:2;pointer-events:none}
.feature-scroll-viewport:before{top:0;background:linear-gradient(#f7f8fb,transparent)}
.feature-scroll-viewport:after{bottom:0;background:linear-gradient(transparent,#f7f8fb)}
.feature-scroll-track{display:flex;flex-direction:column;will-change:transform;animation:featureScroll var(--scroll-duration,42s) linear infinite}
.feature-scroll-list{display:flex;flex-direction:column;gap:7px;padding:8px}
.feature-scroll-item{min-height:58px;display:flex;align-items:center;gap:12px;padding:7px 12px;border:1px solid #e8ebf1;border-radius:12px;background:#fff;color:var(--ink);transition:border-color .2s,transform .2s,box-shadow .2s}
.feature-scroll-item:hover{border-color:#ffb294;transform:translateX(3px);box-shadow:0 5px 16px #1720330c}
.feature-scroll-number{width:25px;height:25px;display:grid;place-items:center;flex:0 0 25px;border-radius:8px;background:#eef1f6;color:#6d788b;font-size:11px;font-weight:900}
.feature-scroll-item:nth-child(-n+3) .feature-scroll-number{background:var(--accent);color:#fff}
.feature-scroll-thumb{width:34px;height:46px;flex:0 0 34px;overflow:hidden;border-radius:7px;background:#e6eaf0}
.feature-scroll-thumb img{width:100%;height:100%;object-fit:cover}
.feature-scroll-info{min-width:0;flex:1}
.feature-scroll-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:850}
.feature-scroll-info small{display:block;margin-top:2px;color:#8a95a7;font-size:10px}
.feature-scroll-arrow{color:#a1aaba;font-size:18px}
.feature-scroll-viewport:hover .feature-scroll-track,.feature-scroll-viewport:focus-within .feature-scroll-track{animation-play-state:paused}
@keyframes featureScroll{to{transform:translateY(-50%)}}
.video-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 14px}
.video-card{display:block;min-width:0;color:var(--ink);transition:transform .22s}
.video-card:hover{transform:translateY(-4px)}
.card-cover{position:relative;overflow:hidden;aspect-ratio:2/3;border-radius:14px;background:#dfe4ec;box-shadow:0 6px 18px #17203312}
.card-cover:after{content:"";position:absolute;inset:48% 0 0;background:linear-gradient(transparent,#0c1425a8);pointer-events:none}
.card-cover img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.video-card:hover .card-cover img{transform:scale(1.045)}
.card-tag,.card-score{position:absolute;z-index:2;top:9px;padding:4px 7px;border-radius:6px;font-size:10px;font-weight:850}
.card-tag{left:8px;background:var(--accent);color:#fff}
.card-score{right:8px;background:#101a2bcc;color:#ffd28d}
.card-play{position:absolute;z-index:2;left:50%;top:50%;display:grid;place-items:center;width:42px;height:42px;transform:translate(-50%,-50%);border:1px solid #ffffff9c;border-radius:50%;background:#ff6b35e8;color:#fff;opacity:0;transition:opacity .2s}
.video-card:hover .card-play{opacity:1}
.card-info{padding:8px 2px 0}
.card-title{margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#202b3f;font-size:13px;font-weight:800;line-height:1.45;min-height:2.9em}
.card-subline{margin:4px 0 0;color:#8a95a7;font-size:10px}
.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:10px 0 20px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.page-title{margin:0;color:var(--ink);font-size:28px;font-weight:950;letter-spacing:-.04em}
.page-count{color:var(--muted);font-size:11px}.page-count strong{color:var(--accent)}
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 16px;color:#8994a6;font-size:11px}
.breadcrumb a:hover{color:var(--accent)}
.filter-bar,.filter-section,.keyword-panel{padding:15px 17px;margin:14px 0 20px;border:1px solid var(--line);border-radius:15px;background:#fff}
.filter-group{display:flex;align-items:flex-start;gap:12px}
.filter-label{flex:0 0 auto;color:#69758a;font-size:12px;font-weight:850;padding-top:6px}
.filter-options{display:flex;flex-wrap:wrap;gap:7px}
.filter-tag,.novel-filter-tag{display:inline-flex;align-items:center;padding:6px 11px;border:1px solid #e7eaf0;border-radius:8px;background:#f7f8fb;color:#647086;font-size:11px}
.filter-tag:hover,.filter-tag.active,.novel-filter-tag:hover,.novel-filter-tag.active{border-color:#ffc2a9;background:var(--accent-soft);color:var(--accent)}
.pagination,.novel-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin:30px 0}
.page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#667287;font-size:11px}
.page-btn:hover,.page-btn.active{border-color:var(--accent);background:var(--accent);color:#fff}
.page-btn.disabled{opacity:.4;pointer-events:none}
.page-ellipsis,.page-info{color:#8994a6;font-size:11px}
.layout-with-sidebar,.main-content{display:block;min-width:0}
.novel-section{padding:21px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:var(--shadow)}
.novel-title-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.novel-title-card{min-width:0;display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid #e8ebf1;border-radius:12px;background:#f9fafc;color:#273248;transition:.2s}
.novel-title-card:hover{border-color:#ffb99b;background:#fff7f2;transform:translateY(-2px)}
.novel-title-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800}
.novel-title-arrow{color:var(--accent);font-size:19px;line-height:1}
.novel-page{padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.novel-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:18px}
.novel-page-heading h1{margin:4px 0 0;font-size:28px;letter-spacing:-.04em}
.novel-category-nav{display:flex;gap:7px;overflow-x:auto;padding:0 0 14px;margin-bottom:18px;border-bottom:1px solid var(--line);scrollbar-width:thin}
.novel-category-link{white-space:nowrap;padding:7px 11px;border-radius:8px;background:#f4f6fa;color:#667287;font-size:11px;font-weight:750}
.novel-category-link:hover{background:var(--accent-soft);color:var(--accent)}
.novel-search-form,.article-search-form{display:flex;gap:7px;max-width:360px}
.novel-search-form input,.article-search-form input{width:100%;min-width:0;height:39px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#f8f9fc;outline:none;font-size:11px}
.novel-search-form input:focus,.article-search-form input:focus{border-color:#ffad8a}
.novel-search-form button,.article-search-form button{border:0;border-radius:10px;background:var(--accent);color:#fff;padding:0 14px;font-size:11px;font-weight:850}
.article-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.article-card{display:flex;min-width:0;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff}
.article-card:hover{border-color:#ffb99b;background:#fff8f4}
.article-desc,.card-desc{color:var(--muted);font-size:11px}
.detail-article,.play-article{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}
.detail-title,.play-title{margin:0;font-size:26px;line-height:1.3;letter-spacing:-.03em}
.detail-subtitle,.play-subtitle{color:var(--muted);font-size:12px}
.article-content{margin-top:22px;line-height:1.9;overflow-wrap:anywhere}
.article-content img{height:auto;max-width:100%;margin:15px auto;border-radius:12px}
.play-safety-notice{display:flex;align-items:center;gap:10px;padding:11px 14px;margin:16px 0;border-radius:10px;background:#fff5e9;color:#9c5b1e;font-size:11px}
.play-safety-notice p{margin:0}
.player-box{position:relative;overflow:hidden;width:100%;min-height:280px;border-radius:15px;background:#101827}
.player-box iframe,.player-box video{max-width:100%}
.related-section{margin-top:28px}
.rank-page{max-width:var(--max);margin:0 auto}
.rank-hero{padding:26px 30px;margin-bottom:18px;border-radius:20px;background:linear-gradient(110deg,#111a2c,#2c405e);color:#fff}
.rank-hero h1{margin:4px 0;font-size:30px}
.rank-hero p:last-child{margin:0;color:#c0cada;font-size:12px}
.rank-nav{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 22px}
.rank-nav a{padding:8px 14px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#677287;font-size:11px;font-weight:800}
.rank-nav a:hover,.rank-nav a.is-active{border-color:var(--accent);background:var(--accent);color:#fff}
.rank-section{margin-bottom:28px}
.rank-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
.rank-section-head h2{margin:0;font-size:19px}
.rank-section-head span{color:var(--muted);font-size:10px}
.rank-grid,.home-ranking-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.rank-item,.home-ranking-card{display:flex;align-items:center;gap:10px;padding:9px;border:1px solid var(--line);border-radius:12px;background:#fff}
.rank-poster,.home-ranking-cover{position:relative;width:56px;height:76px;flex:0 0 56px;overflow:hidden;border-radius:8px;background:#e7ebf1}
.rank-poster img,.home-ranking-cover img{width:100%;height:100%;object-fit:cover}
.rank-number,.home-ranking-number{position:absolute;top:4px;left:4px;z-index:2;padding:2px 5px;border-radius:5px;background:var(--accent);color:#fff;font-size:9px;font-weight:900}
.rank-item-info,.home-ranking-info{min-width:0;flex:1}
.rank-item-info h3{margin:0;font-size:11px;line-height:1.4}
.rank-item-info p{margin:3px 0 0;color:var(--muted);font-size:9px}
.home-ranking-arrow{color:var(--accent)}
.site-floating-tools{position:fixed;right:18px;bottom:22px;z-index:60;display:flex;flex-direction:column;gap:8px}
.site-tool-btn{width:40px;height:40px;border:0;border-radius:13px;background:var(--nav);color:#fff;font-size:17px;box-shadow:0 6px 18px #111a2c2a;cursor:pointer}
.site-tool-btn:hover{background:var(--accent)}
.site-back-top{display:none}.site-back-top.is-visible{display:block}
.site-toast{position:fixed;left:50%;bottom:25px;z-index:80;transform:translate(-50%,20px);padding:10px 15px;border-radius:10px;background:var(--nav);color:#fff;font-size:11px;opacity:0;pointer-events:none;transition:.2s}
.site-toast.is-visible{opacity:1;transform:translate(-50%,0)}
.article-back-previous-wrap{margin:20px 0;text-align:center}
.article-back-previous{padding:9px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#566176}
@media(max-width:1050px){.header-inner{gap:14px}.search-box{flex-basis:210px}.main-nav{gap:1px}.nav-link{padding:8px}.video-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.rank-grid,.home-ranking-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .container{width:calc(100% - 26px)}
 .header-inner{min-height:auto;display:grid;grid-template-columns:1fr auto;gap:9px;padding-top:11px;padding-bottom:11px}
 .brand-mark{width:34px;height:34px}.brand-name{font-size:17px}
 .main-nav{grid-column:1/-1;grid-row:2;order:2;width:100%;padding:2px 0 4px}
 .nav-link{padding:7px 10px;font-size:11px}
 .search-box{grid-column:1/-1;grid-row:3;flex:unset;width:100%;height:38px}
 .main{padding:18px 0 38px}
 .home-hero{min-height:180px;padding:24px 22px;border-radius:18px}
 .home-hero h1{font-size:27px}.hero-stamp{width:74px;height:74px;flex-basis:74px;font-size:21px}.hero-stamp small{font-size:7px}
 .section-title{font-size:18px}.section-header{margin-bottom:12px}
 .feature-scroll-panel{padding:13px;border-radius:16px}
 .feature-scroll-viewport{height:290px}
 .feature-scroll-item{min-height:54px;padding:6px 9px;gap:8px}
 .feature-scroll-thumb{width:30px;height:40px;flex-basis:30px}
 .feature-scroll-info strong{font-size:11px}
 .video-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}
 .card-cover{border-radius:11px}.card-title{font-size:11px}.card-subline{font-size:9px}
 .page-title{font-size:23px}
 .novel-section,.novel-page{padding:15px;border-radius:15px}
 .novel-title-grid,.article-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .novel-title-card{padding:11px 10px}.novel-title-text{font-size:11px}
 .novel-page-heading{align-items:flex-start;flex-direction:column}
 .novel-page-heading h1{font-size:24px}
 .novel-search-form,.article-search-form{max-width:none;width:100%}
 .rank-grid,.home-ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rank-hero{padding:22px}.rank-hero h1{font-size:25px}
 .detail-article,.play-article{padding:15px}
 .detail-title,.play-title{font-size:21px}
 .player-box{min-height:210px}
 .footer-inner{align-items:flex-start;flex-direction:column;gap:8px}
}
@media(max-width:380px){.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-stamp{display:none}.rank-grid,.home-ranking-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.rank-section[aria-hidden="true"]{display:none}


/* ===== PURPLE EDITION · clean white / night mode ===== */
:root{
 --bg:#f7f5fc;--surface:#fff;--surface-2:#fbf9ff;--ink:#211b32;--muted:#827b96;
 --line:#ece7f5;--accent:#8955d8;--accent-dark:#7040bd;--accent-soft:#f2eaff;
 --nav:#fff;--nav-2:#f8f4ff;--radius:18px;--shadow:0 12px 34px rgba(66,39,105,.075);
}
body{background:var(--bg);color:var(--ink)}
.site-header{background:rgba(255,255,255,.94);border-bottom:1px solid #eee8f6;box-shadow:0 5px 24px rgba(56,35,86,.06)}
.header-inner{gap:17px}
.brand{color:var(--ink);gap:7px}
.brand-logo{display:block;width:166px;height:56px;object-fit:contain;flex:0 0 auto}
.brand-copy{display:none}
.nav-link{color:#6e6480}
.nav-link:hover,.nav-link.active{background:#f3ecff;color:var(--accent)}
.nav-link.active{box-shadow:inset 0 -2px var(--accent)}
.search-box{height:43px;flex:0 1 290px;min-width:190px;padding:4px 5px 4px 14px;border:1px solid #e6ddf2;border-radius:13px;background:#faf8fd;gap:8px}
.search-input{height:100%;color:#332744;font-size:13px;writing-mode:horizontal-tb;white-space:nowrap}
.search-input::placeholder{color:#a49ab3}
.search-btn{min-width:62px;height:33px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;writing-mode:horizontal-tb;word-break:keep-all;border-radius:9px;background:linear-gradient(135deg,#a879e9,#8050ce);font-size:13px;padding:0 13px}
.search-btn:hover{background:var(--accent-dark)}
.theme-toggle{height:38px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid #e8e0f2;border-radius:11px;background:#fff;color:#6f588d;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.theme-toggle:hover{border-color:#cdb4ed;background:#f7f1ff;color:var(--accent)}
.theme-toggle-icon{font-size:16px;line-height:1}
.main{padding-top:25px}
.home-hero{background:radial-gradient(circle at 85% 15%,#d9c1ff 0,transparent 27%),linear-gradient(115deg,#3c245f 0%,#68429a 58%,#9167c5 100%);box-shadow:0 16px 36px rgba(85,48,131,.18)}
.hero-eyebrow,.section-kicker,.rank-kicker,.novel-eyebrow{color:#c9a9ff}
.hero-stamp{border-color:#ffffff55;background:#ffffff12}
.hero-stamp small{color:#e0caff}
.section-icon{background:#f0e7ff;color:var(--accent)}
.section-more:hover{border-color:#c9b1eb;color:var(--accent);background:#f6f0ff}
.feature-scroll-panel{border-color:#e9e1f3;background:linear-gradient(135deg,#fff,#fbf8ff)}
.live-dot{background:#9560df;box-shadow:0 0 0 5px #9560df1c}
.feature-scroll-item:hover{border-color:#cbb1ed}
.feature-scroll-number{background:#f0ebf7;color:#786b8c}
.feature-scroll-item:nth-child(-n+3) .feature-scroll-number{background:var(--accent)}
.card-tag{background:linear-gradient(135deg,#a879e9,#8050ce)}
.card-play{background:#8955d8e8}
.card-title{color:#2c233c}
.video-frame{padding:20px;border:1px solid #e9e2f2;border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.video-frame-section{margin-top:26px}
.video-frame-section>.section-header{margin-bottom:15px}
.novel-section,.novel-page,.detail-article,.play-article{border-color:#e9e2f2;box-shadow:var(--shadow)}
.novel-title-card:hover{border-color:#cbb2ed;background:#f8f3ff}
.filter-tag:hover,.filter-tag.active,.novel-filter-tag:hover,.novel-filter-tag.active{border-color:#c6a8ed;background:#f4edff;color:var(--accent)}
.page-btn:hover,.page-btn.active{border-color:var(--accent);background:var(--accent)}
.novel-search-form button,.article-search-form button{background:var(--accent)}
.play-article{padding:26px}
.player-box{width:100%;min-height:0;aspect-ratio:16/9;height:auto;border-radius:16px;background:#100d18;box-shadow:0 12px 30px rgba(24,15,38,.15)}
.player-box iframe,.player-box video,.player-box embed{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%}
.player-box .MacPlayer,.player-box #player,.player-box .dplayer,.player-box .artplayer-app{width:100%!important;height:100%!important;min-height:0!important}
.play-keywords{padding:17px 18px;margin-top:18px;border:1px solid #e9e1f3;border-radius:15px;background:linear-gradient(135deg,#fff,#fbf8ff)}
.play-keywords-heading{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.keyword-spark{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#f0e7ff;color:var(--accent);font-size:17px}
.play-keywords-heading h2{margin:0;color:var(--ink);font-size:15px;font-weight:900}
.play-keywords-heading p{margin:2px 0 0;color:var(--muted);font-size:10px}
.play-keyword-list{display:flex;flex-wrap:wrap;gap:8px}
.play-keyword-list a{display:inline-flex;align-items:center;padding:7px 12px;border:1px solid #e8def5;border-radius:99px;background:#f8f4ff;color:#74539a;font-size:11px;font-weight:750;transition:.2s}
.play-keyword-list a:hover{border-color:#b895e7;background:#eee3ff;color:#683bb0;transform:translateY(-1px)}
.related-section{margin-top:28px}
.rank-hero{background:linear-gradient(110deg,#3c245f,#8056b2)}
.rank-nav a:hover,.rank-nav a.is-active{border-color:var(--accent);background:var(--accent)}
.site-footer{background:#2e2043;color:#d3c8e1}
.footer-brand{color:#fff}
.footer-brand span,.footer-copy{color:#b3a2c9}
.site-tool-btn{background:#68449a}
.site-tool-btn:hover{background:var(--accent)}
@media(max-width:1050px){
 .header-inner{gap:10px}
 .brand-logo{width:142px;height:50px}
 .search-box{flex-basis:220px;min-width:170px}
 .nav-link{padding:8px 9px}
}
@media(max-width:760px){
 .header-inner{grid-template-columns:1fr auto;gap:8px}
 .brand-logo{width:150px;height:48px}
 .main-nav{grid-column:1/-1;grid-row:2}
 .search-box{grid-column:1/-1;grid-row:3;min-width:0;width:100%;height:40px}
 .theme-toggle{grid-column:2;grid-row:1;justify-self:end}
 .video-frame{padding:13px;border-radius:16px}
 .play-article{padding:15px}
 .player-box{aspect-ratio:16/9;min-height:0}
 .play-keywords{padding:14px}
}
@media(max-width:380px){
 .brand-logo{width:130px;height:43px}
 .theme-toggle{padding:0 8px}
 .theme-toggle-text{font-size:11px}
}

/* Night palette: the layout remains identical, only surfaces and text change. */
html[data-theme="dark"]{
 color-scheme:dark;
 --bg:#15111d;--surface:#211a2c;--surface-2:#292136;--ink:#f1eafa;--muted:#b2a5c2;
 --line:#3a2e4b;--accent:#b58aef;--accent-dark:#9a6bda;--accent-soft:#38294d;
 --nav:#211a2c;--nav-2:#2b2238;--shadow:0 12px 34px rgba(0,0,0,.22);
}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .site-header{background:rgba(33,26,44,.96);border-color:#392d49}
html[data-theme="dark"] .brand{color:#f5edff}
html[data-theme="dark"] .nav-link{color:#c7bad8}
html[data-theme="dark"] .nav-link:hover,html[data-theme="dark"] .nav-link.active{background:#ffffff12;color:#fff}
html[data-theme="dark"] .search-box{background:#2b2238;border-color:#49395e}
html[data-theme="dark"] .search-input{color:#f5edff}
html[data-theme="dark"] .search-input::placeholder{color:#a99ab9}
html[data-theme="dark"] .theme-toggle{background:#2b2238;border-color:#49395e;color:#e0c9ff}
html[data-theme="dark"] .home-hero{background:radial-gradient(circle at 85% 15%,#61458a 0,transparent 27%),linear-gradient(115deg,#241833,#3c2857 58%,#624487)}
html[data-theme="dark"] .section-title,html[data-theme="dark"] .card-title,
html[data-theme="dark"] .play-keywords-heading h2,html[data-theme="dark"] .detail-title,
html[data-theme="dark"] .play-title,html[data-theme="dark"] .novel-page-heading h1{color:var(--ink)}
html[data-theme="dark"] .section-more,html[data-theme="dark"] .video-frame,
html[data-theme="dark"] .novel-section,html[data-theme="dark"] .novel-page,
html[data-theme="dark"] .detail-article,html[data-theme="dark"] .play-article,
html[data-theme="dark"] .feature-scroll-panel{background:#211a2c;border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .feature-scroll-viewport{background:#1b1525}
html[data-theme="dark"] .feature-scroll-viewport:before{background:linear-gradient(#1b1525,transparent)}
html[data-theme="dark"] .feature-scroll-viewport:after{background:linear-gradient(transparent,#1b1525)}
html[data-theme="dark"] .feature-scroll-item,html[data-theme="dark"] .novel-title-card,
html[data-theme="dark"] .rank-item,html[data-theme="dark"] .home-ranking-card,
html[data-theme="dark"] .article-card{background:#292136;border-color:#40334f;color:var(--ink)}
html[data-theme="dark"] .feature-scroll-number{background:#40334f;color:#d8c8ec}
html[data-theme="dark"] .novel-title-card:hover,html[data-theme="dark"] .article-card:hover{background:#342744}
html[data-theme="dark"] .play-keywords{background:#241c30;border-color:#40334f}
html[data-theme="dark"] .play-keyword-list a{background:#342744;border-color:#4a385f;color:#ddc7fa}
html[data-theme="dark"] .play-keyword-list a:hover{background:#49345f;border-color:#7655a0}
html[data-theme="dark"] .filter-bar,html[data-theme="dark"] .filter-section,
html[data-theme="dark"] .keyword-panel{background:#211a2c;border-color:var(--line)}
html[data-theme="dark"] .filter-tag,html[data-theme="dark"] .novel-filter-tag,
html[data-theme="dark"] .page-btn,html[data-theme="dark"] .rank-nav a{background:#292136;border-color:#40334f;color:#d3c5e3}
html[data-theme="dark"] .novel-search-form input,html[data-theme="dark"] .article-search-form input{background:#292136;border-color:#40334f;color:#f1eafa}
html[data-theme="dark"] .play-safety-notice{background:#3b2d24;color:#f0c99b}
html[data-theme="dark"] .site-footer{background:#100d16}
html[data-theme="dark"] .site-tool-btn{background:#7952aa}
html[data-theme="dark"] .site-toast{background:#332642}

.recent-video-section .video-frame,.video-frame-section .video-frame{padding:20px}
.recent-video-section .video-frame .section-header,.video-frame-section .video-frame .section-header{margin:0 0 16px}
html[data-theme="dark"] .card-title{color:#f0e8fa}
html[data-theme="dark"] .section-more{background:#292136;border-color:#40334f;color:#e0d5ed}
html[data-theme="dark"] .page-header{border-color:var(--line)}
html[data-theme="dark"] .breadcrumb{color:#a99bb9}
html[data-theme="dark"] .article-desc,html[data-theme="dark"] .card-desc{color:var(--muted)}
@media(max-width:760px){.recent-video-section .video-frame,.video-frame-section .video-frame{padding:13px}}
