:root{color-scheme:dark;--bg:#101110;--panel:#1a1c1a;--muted:#92968e;--line:#30332f;--accent:#d5ec9c}
button,a{cursor:pointer}
header{align-items:center;gap:38px;z-index:3}
.logo{white-space:nowrap}
.logo small{font-size:8px;letter-spacing:2px;display:block;line-height:1;color:var(--accent)}
nav{gap:27px;color:#a9aca5}
nav a:hover,nav a.active{color:var(--accent)}
.search{align-items:center;padding:9px 15px}
.search input{outline:0}
.menu{font-size:23px}
.wrap{padding:0 5%}
.meta{display:flex;gap:12px;flex-wrap:wrap;color:#c7cabf;margin:18px 0}
.meta span+span:before{content:'·';margin-right:12px;color:#72786e}

.section-head p{margin:0;color:var(--muted);font-size:12px}

.page{padding-top:55px;min-height:65vh}
.filter-row b{width:56px;color:#878d82;font-weight:400}
.chip{border:0;background:none}
.chip.on,.chip:hover{background:var(--accent);color:#182010}
.detail p{color:#b7bbb2;max-width:730px}
.episode{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}
.episode a{background:#242824;padding:10px 20px;border-radius:4px}
.topics{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.topic{height:240px;background-size:cover;background-position:center;border-radius:5px;display:flex;align-items:end;padding:28px;font-size:23px;font-weight:700}
.empty{padding:60px;text-align:center;background:var(--panel);color:var(--muted)}
footer{padding:40px 5%}
.foot{max-width:1440px}
@media(max-width:1000px){nav{gap:16px}.grid{grid-template-columns:repeat(4,1fr)}.header-right .search input{width:90px}}
@media(max-width:680px){header{height:65px;gap:12px}header nav,.header-right .search{display:none}.menu{display:block}.grid{grid-template-columns:repeat(3,1fr);gap:12px}.card h3{font-size:13px}.section{padding:28px 0}.section-head h2{font-size:21px}.page{padding-top:35px}.detail{grid-template-columns:110px 1fr;gap:18px}.detail h1{font-size:25px}.detail .buttons{flex-wrap:wrap}.topics{grid-template-columns:1fr}.topic{height:190px}.rankrow{grid-template-columns:35px 55px 1fr auto;gap:10px}.rankrow img{width:55px;height:75px}.foot{display:block}.player{aspect-ratio:16/9}.btn{padding:11px 16px}}
header{height:auto;display:block;padding:0;border-bottom:0}

.header-sub{border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff18}
.sub-links{overflow-x:auto}
.sub-links::-webkit-scrollbar{display:none}
.sub-links a:hover{color:var(--accent)}
@media(max-width:1100px){.header-main{gap:24px}.header-main nav{gap:18px}}
@media(max-width:680px){.header-main{height:65px;padding:0 5%;gap:12px}.header-main nav{display:none}.header-right{gap:16px}.header-sub .sub-links{height:45px;gap:24px}.logo small{letter-spacing:1px}}
@media(max-width:680px){.header-main{height:60px}.bottom-nav{position:fixed;z-index:10;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#171a17f5;border-top:1px solid #ffffff1c;padding:7px 0 max(8px,env(safe-area-inset-bottom));backdrop-filter:blur(14px)}.bottom-nav a,.bottom-nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;color:#8d9388;font-size:11px;line-height:1.4}.bottom-nav button{background:none;border:0;padding:0;cursor:pointer}.bottom-nav a span,.bottom-nav button span{font-size:22px;line-height:1.15}.bottom-nav a.active,.bottom-nav button.active{color:var(--accent)}body{padding-bottom:65px}}
.notice-bar{margin-top:18px;border-radius:5px;font-size:13px}
.notice-label{flex:none;font-weight:600}
.notice-dot{color:var(--accent)}
@keyframes notice-scroll{to{transform:translateX(-50%)}}
@media(max-width:680px){.notice-bar{margin-top:12px;padding:9px 11px;gap:10px;font-size:12px}.notice-label{font-size:12px}}
@media(max-width:680px){.mobile-sticky{position:sticky;top:0;z-index:20;background:#101110;padding-bottom:1px}.mobile-sticky .notice-bar{margin-bottom:10px}.mobile-sticky header{z-index:3}}
.card,.rankrow>div{min-width:0}
.card h3,.card p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.episode a{max-width:100%;overflow-wrap:anywhere}
.breadcrumbs a:hover{color:var(--accent)}
.breadcrumbs [aria-current]{color:#d4d8ce}
.sub-links a.selected{color:var(--accent);position:relative;font-weight:600}
.sub-links a.selected:after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:2px;background:var(--accent)}
.film-subnav{align-items:center;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.film-subnav::-webkit-scrollbar{display:none}
.film-subnav>span{color:#92968e;margin-right:10px;flex:none}
.film-subitem{border:0;background:transparent;cursor:pointer;white-space:nowrap}
.film-subitem.on{background:var(--accent);color:#181818}
@media(max-width:680px){.film-subnav{padding-top:10px;gap:4px}.film-subitem{padding:6px 10px}}

.story-text.expanded{display:block}

.source-button.active{background:var(--accent);color:#191919}
.film-download-page{padding-top:26px}
.film-download-page .filters{margin-top:16px}
@media(max-width:680px){.film-download-page{padding-top:20px}}
.episode-tab{border:0;background:#292d29;color:#c7ccc4;padding:7px 12px;border-radius:4px;cursor:pointer}
.episode-tab.active{background:var(--accent);color:#191919}
.episode-list a.active{background:var(--accent);color:#191919}

.episode-step span{color:#6d726a}
.episode-step a:hover{color:var(--accent)}

.play-meta-card .episode-step a,.play-meta-card .episode-step span{border:1px solid #3a4039;border-radius:4px;padding:7px 12px;font-size:12px}
.play-meta-card .episode-step a:hover{border-color:var(--accent);color:var(--accent)}
.play-meta-card .episode-step span{opacity:.45}

.topic-page .topics{margin-top:20px}

.wrap.page{padding-top:24px}
@media(max-width:680px){.wrap.page{padding-top:16px}}
body[data-model="novel"] .bottom-nav a[data-page="topics"],body[data-model="comic"] .bottom-nav a[data-page="topics"]{display:none}

[hidden]{display:none!important}
.footer-links{display:flex;flex-wrap:wrap;gap:22px;font-size:13px}
body[data-model] .header-main{padding:0 5%;gap:30px}
body[data-model] .header-main nav{display:flex;gap:26px;align-items:center;white-space:nowrap;font-size:16px;font-weight:600}
body[data-model] .sub-links{height:48px;padding:0 5%;gap:30px}
body[data-model] .bottom-nav a,body[data-model] .bottom-nav button{min-width:0}
body[data-model] .wrap{max-width:1440px;margin:auto;padding-left:5%;padding-right:5%}
body[data-model] .wrap.page{padding-top:26px}
body[data-model] .breadcrumbs{font-size:13px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body[data-model] .film-subnav,body[data-model] .common-subnav{padding:14px 22px 4px;gap:9px}
body[data-model] .film-subitem,body[data-model] .chip{padding:6px 12px;line-height:1.6;border-radius:4px;display:inline-block;font-size:13px}
body[data-model] .filters{padding:14px 22px;border-radius:5px;margin:12px 0 28px}
body[data-model] .filter-row{gap:9px;padding:6px 0}

@media(max-width:1100px){body[data-model] .header-main{gap:24px}body[data-model] .header-main nav{gap:18px}}
@media(max-width:680px){
 body[data-model] .header-main{height:60px;gap:12px}
 body[data-model] .header-main nav{display:none}
 body[data-model] .sub-links{height:45px;gap:24px}
 
 body[data-model] .wrap.page{padding-top:20px}
 body[data-model] .film-subnav,body[data-model] .common-subnav{padding:10px 14px 4px;gap:6px}
 body[data-model] .film-subitem,body[data-model] .chip{padding:6px 10px;font-size:12px}
 body[data-model] .filters{padding:10px 14px;margin:12px 0 22px}
 body[data-model] .filter-row{gap:6px;padding:5px 0}
 
 
 .common-result-heading h1{font-size:17px}.common-result-heading>span{font-size:11px}
 
 .common-primary{padding:8px 14px;font-size:12px}
 
 
 .footer-links{margin-top:20px;gap:18px}
}

body[data-model] .site-search-panel{width:100%;max-width:740px;margin:32px auto 38px;text-align:center;padding:0 12px;box-sizing:border-box}
body[data-model] .site-search-panel h1{font-size:28px;font-weight:600;line-height:1.4;margin:0 0 10px;letter-spacing:1px}

body[data-model] .common-result-heading h2,body[data-model] .story-result-heading h2{font-size:19px;font-weight:600;margin:0}
@media(max-width:680px){
 body[data-model] .site-search-panel{max-width:100%;margin:24px auto 28px;padding:0}
 body[data-model] .site-search-panel h1{font-size:23px;margin-bottom:8px}
 
 
 
 body[data-model] .common-result-heading h2,body[data-model] .story-result-heading h2{font-size:17px}
}

body:is([data-model="novel"],[data-model="comic"]) .bottom-nav a.active,body:is([data-model="novel"],[data-model="comic"]) .bottom-nav button.active{color:var(--story-accent)}
.story-page .chip.on{background:var(--story-accent);color:#fff}
.story-page .chip.on:hover{background:var(--story-accent);color:#fff}

.comic-cover>small{position:absolute;bottom:0;left:0;right:0;padding:18px 8px 7px;background:linear-gradient(transparent,#000b);color:#fff;font-size:11px}
.story-secondary[aria-pressed="true"]{background:var(--story-tint);color:var(--story-accent);border-color:var(--story-accent)}
.story-catalog-head>div{display:flex;gap:18px;align-items:center;font-size:12px;color:var(--story-muted)}
.comic-chapter-grid b{display:block;font-size:13px;font-weight:500}
.comic-chapter-grid small{display:block;margin-top:5px;color:var(--story-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.novel-reader[data-paper="white"]{background:#fff;color:#333;border-color:#e2e2e2}
.novel-reader[data-paper="night"]{color:#d3d6c6;border-color:#3f433a}

.novel-home-booklist li>b{font:22px Georgia,serif;color:var(--story-accent);min-width:25px}

body[data-model="article"] .film-subitem.on,body[data-model="article"] .chip.on{background:#1671b8;color:#fff}

body[data-model="article"] .btn{background:#fff;color:#33495a;border-color:#d4dee7}
body[data-model="article"] .bottom-nav a.active,body[data-model="article"] .bottom-nav button.active{color:#1671b8}

.directory-facts a{color:var(--accent)}

body[data-model="person"] .bottom-nav a.active,body[data-model="person"] .bottom-nav button.active{color:#98634e}

/* People (actors, directors) and TAG lists shown below a detail page's main information. */
.detail-extras{margin-top:24px}
.people-group,.tag-group{margin-top:16px}
.people-group h2,.tag-group h2{margin:0 0 8px;font-size:13px;font-weight:600;color:var(--muted,#92968e)}
.people-list,.tag-list{display:flex;flex-wrap:wrap;gap:8px}
.people-list{gap:12px 8px}
.person-chip{display:flex;flex-direction:column;align-items:center;gap:6px;width:72px;color:inherit;font-size:13px;line-height:1.4;text-align:center}
.person-chip img{width:64px;height:64px;border-radius:50%;object-fit:cover;object-position:center top;background:var(--panel,#1a1c1a);border:2px solid transparent;box-sizing:border-box}
.person-chip span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.person-chip-plain{color:var(--muted,#92968e)}
.person-chip-plain img{filter:grayscale(1);opacity:.75}
a.person-chip:hover{color:var(--accent,#d5ec9c)}
a.person-chip:hover img{border-color:var(--accent,#d5ec9c)}
.site-shell a.tag-chip{display:inline-block;padding:4px 12px;border:1px solid var(--line,#30332f);border-radius:4px;color:var(--accent,#d5ec9c);font-size:14px;line-height:1.5}
.site-shell a.tag-chip:hover{border-color:var(--accent,#d5ec9c);color:var(--accent,#d5ec9c)}

.story-text p{margin:0;max-width:none}
.detail-extras .tag-list{justify-content:center}
.detail-extras .people-group{display:flex;align-items:flex-start;gap:12px}
.detail-extras .people-group h2{flex:none;width:3em;margin:0;font-size:13px;font-weight:700;line-height:64px;color:inherit}
.detail-extras .people-group .people-list{flex:1;min-width:0}
@media(max-width:767px){.person-chip{width:60px}.person-chip img{width:56px;height:56px}.detail-extras .people-group h2{line-height:56px}}
@media(max-width:767px){
  [data-page="detail"]:has(> .detail-people-block){display:flex;flex-direction:column}
  [data-page="detail"]:has(> .detail-people-block) > .episode-panel{order:1}
  [data-page="detail"]:has(> .detail-people-block) > .detail-people-block{order:2}
  [data-page="detail"]:has(> .detail-people-block) > .detail-tags-block{order:3}
  [data-page="detail"]:has(> .detail-people-block) > :is(.detail-neighbors,.section){order:4}
}

/* Play page: title above the player, previous/next below it. */
.play-title{margin-top:16px}
.play-title h1{margin:0;font-size:19px;color:var(--site-ink)}
.play-title h1 span{margin-left:8px;padding:3px 7px;border-radius:3px;background:var(--site-tint);color:var(--accent);font-size:12px;font-weight:400}
.play-layout{margin-top:12px}
.play-sidebar{display:flex;flex-direction:column}
.play-sidebar .play-step{margin:auto 0 0;padding-top:12px;border-top:1px solid var(--line,#3a4039);justify-content:space-between;gap:8px}
.play-step a{flex:1;padding:7px 12px;border:1px solid var(--line,#3a4039);border-radius:4px;font-size:12px;text-align:center}
.play-step a:hover{border-color:var(--accent);color:var(--accent)}
@media(max-width:1000px){.play-title h1{font-size:16px}}
.play-synopsis-text p{margin:0}
.play-synopsis-brief .play-synopsis-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-width:0}
.play-synopsis-brief a{flex:none;color:var(--accent);font-size:12px}
.play-synopsis-brief a:hover{text-decoration:underline}

:root{--site-bg:#f2f5f8;--site-surface:#fff;--site-ink:#263746;--site-muted:#71808d;--site-border:#dce4eb;--site-accent:#1671b8;--site-tint:#eaf3fa;--site-scheme:light;--button-ink:#fff}
:root[data-theme="dark"]{--site-bg:#101110;--site-surface:#222127;--site-ink:#f4f5ee;--site-muted:#aaa5af;--site-border:#3b3942;--site-accent:#f04d8a;--site-tint:#302f36;--site-scheme:dark;--button-ink:#24131d}
body[data-model]{color-scheme:var(--site-scheme);--bg:var(--site-bg);--panel:var(--site-surface);--muted:var(--site-muted);--line:var(--site-border);--accent:var(--site-accent);--model-accent:var(--site-accent);--model-panel:var(--site-surface);--model-line:var(--site-border);--model-ink:var(--button-ink);--story-bg:var(--site-bg);--story-panel:var(--site-surface);--story-ink:var(--site-ink);--story-muted:var(--site-muted);--story-line:var(--site-border);--story-accent:var(--site-accent);--story-tint:var(--site-tint)}
body[data-model] :is(header,.mobile-sticky,.header-main,.header-sub){background:var(--site-surface);color:var(--site-ink);border-color:var(--site-border)}
body[data-model] :is(.logo){color:var(--site-ink)}
body[data-model] :is(.header-main nav,.sub-links){color:var(--site-muted)}
body[data-model] :is(.sub-links a.selected,.notice-label){color:var(--site-accent)}
body[data-model] .sub-links a.selected:after{background:var(--site-accent)}
body[data-model] .search{background:var(--site-bg);color:var(--site-muted)}
body[data-model] .search input{color:var(--site-ink)}
body[data-model] .search button{color:var(--site-muted)!important}
body[data-model] .notice-bar{background:var(--site-tint);border-color:var(--site-border)}
body[data-model] :is(.menu){color:var(--site-ink)}

body[data-model] :is(.bottom-nav a,.bottom-nav button){color:var(--site-muted)}
body[data-model] :is(.bottom-nav a.active,.bottom-nav button.active){color:var(--site-accent)}
body[data-model] :is(.breadcrumbs,.more){color:var(--site-muted)}
body[data-model] .breadcrumbs [aria-current]{color:var(--site-ink)}
body[data-model] :is(.filters,.episode-panel,.play-sidebar,.play-meta-card,.empty,.recommend-block,.film-block,.cinema-topics){background:var(--site-surface);border-color:var(--site-border)}
body[data-model] :is(.chip,.film-subitem){color:var(--site-ink)}
body[data-model] :is(.chip.on,.film-subitem.on){background:var(--site-accent);color:var(--button-ink)}
body[data-model] .chip:hover{background:var(--site-tint);color:var(--site-accent)}

body[data-model] :is(.btn,.story-secondary){background:var(--site-surface);border-color:var(--site-border);color:var(--site-ink)}
body[data-model] :is(.btn.primary,.common-primary,.story-primary){background:var(--site-accent);border-color:var(--site-accent);color:var(--button-ink)}
body[data-model] :is(.story-primary,.common-primary):hover{color:var(--button-ink)!important}
body[data-model] :is(.source-button.active,.episode-tab.active,.episode-list a.active){background:var(--site-accent);color:var(--button-ink)}

body[data-model] :is(.cinema-topic span,.topic){color:#fff}

body[data-model] footer{border-color:var(--site-border);color:var(--site-muted)}
body[data-model] .footer-links{color:var(--site-muted)}
body[data-model] .film-subnav .film-subitem.on{color:var(--button-ink)}
:root[data-theme="dark"] .novel-reader[data-paper="night"]{background:var(--site-surface);color:var(--site-ink);border-color:var(--site-border)}

:root{--container:1240px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:130px}
body.site-shell{margin:0;font:15px/1.65 system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;background:var(--site-bg);color:var(--site-ink)}
.site-shell a{color:inherit;text-decoration:none}
.site-shell a:hover{color:var(--site-accent)}
.site-shell button,.site-shell input,.site-shell select{font:inherit}
.site-shell button{cursor:pointer}
.site-shell button:disabled{cursor:default;opacity:.45}
.site-shell :focus-visible{outline:2px solid var(--site-accent);outline-offset:4px}
.site-shell [hidden]{display:none!important}
.site-shell img{display:block;max-width:100%;object-fit:cover}
.site-shell :is(h1,h2,h3,p){overflow-wrap:anywhere}
.site-shell h1{font-size:28px;line-height:1.4}
.site-shell h2{font-size:20px;line-height:1.5}
.site-shell .wrap{width:min(var(--container),calc(100% - 40px));margin-inline:auto}
.site-shell .site-page{min-height:60vh;padding-block:24px 40px}
.site-shell .mobile-sticky{position:sticky;top:0;z-index:30}
.site-shell header{position:static}
.site-shell .header-main{width:min(var(--container),calc(100% - 40px));min-height:78px;margin:auto;display:flex;align-items:center}
.site-shell .logo{display:flex;position:relative;align-items:center;font-size:25px;font-weight:800;min-width:72px}
.site-shell .brand-image{height:38px;width:auto;max-width:180px;object-fit:contain}
@media (max-width:767px){.site-shell .brand-image{height:32px;max-width:144px}}
.site-shell [data-current="是"],.site-shell [aria-current="page"]{color:var(--site-accent)}
.site-shell .header-right{display:flex;align-items:center;gap:10px;margin-left:auto}
.site-shell .header-right .search{width:240px;display:flex;border-radius:24px;overflow:hidden}
.site-shell .search .search-scope{display:flex;align-items:center;flex:none;padding-left:14px;color:var(--site-accent);font-size:13px;white-space:nowrap}.site-shell .search .search-scope+input{padding-left:8px}.site-shell .search input{width:100%;min-width:0;background:transparent;border:0;padding:8px 14px}
.site-shell .search button{border:0;background:transparent;min-width:44px}
.site-shell .theme-toggle,.site-shell .menu{border:1px solid var(--site-border);background:transparent;color:var(--site-ink);width:44px;height:44px;border-radius:8px;align-items:center;justify-content:center}
.site-shell .menu{display:none}

@media(max-width:767px){.site-shell .theme-toggle,.site-shell .menu{width:40px;height:40px}.site-shell .logo-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.site-shell .header-sub{border-block:1px solid var(--site-border)}
.site-shell .sub-links{width:min(var(--container),calc(100% - 40px));margin:auto;display:flex;overflow:auto;white-space:nowrap;scrollbar-width:thin}
.site-shell .notice-bar{display:flex;gap:16px;border:1px solid var(--site-border);margin-block:16px 0;padding:10px 16px;overflow:hidden}
.site-shell .notice-label{white-space:nowrap}
.skip-link{position:fixed;left:16px;top:-100px;z-index:100;background:var(--site-surface);padding:12px}
.skip-link:focus{top:12px}
.site-shell .section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.site-shell .section-head h2{margin:0}
.site-shell .section-head p{color:var(--site-muted);margin:5px 0}
.site-shell .section-head .more{font-size:13px;white-space:nowrap;color:var(--site-muted)}
.site-shell .filters{border:1px solid var(--site-border)}
.site-shell .filter-row{display:flex;flex-wrap:wrap;align-items:center;margin:6px 0}

.site-shell .chip{align-items:center;min-height:36px}
.site-shell .chip[data-current="是"]{background:var(--site-accent);color:var(--button-ink)}
.site-shell .film-subnav{display:flex;flex-wrap:wrap;margin-block:14px}
.site-shell .film-subnav:empty{display:none}
.site-shell .pager-numbers a{min-width:36px}
.site-shell .pager-numbers a[data-current="是"]{background:var(--site-accent);border-color:var(--site-accent);color:var(--button-ink)}
.site-shell .site-search-panel h1{margin-bottom:20px}

.site-shell .pager{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:14px;margin:28px 0}
.site-shell .pager a,.site-shell .btn,.site-shell .story-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--site-border);padding:9px 18px;border-radius:5px;background:var(--site-surface);color:var(--site-ink)}
.site-shell .breadcrumbs{margin-bottom:22px}

.site-shell .prose{font-size:17px;line-height:1.95;overflow-wrap:anywhere}
.site-shell .prose iframe{max-width:100%}
.site-shell .prose pre,.site-shell .prose table{max-width:100%;overflow:auto;display:block}
.site-shell .prose p{margin:1em 0}

.site-shell .story-reader[data-paper="paper"]{background:#faf6eb;color:#3b3429}
.site-shell .story-reader[data-paper="white"]{background:#fff;color:#263746}
.site-shell .story-reader[data-paper="night"]{background:#191a1d;color:#dedbd2}

.site-shell .site-dialog{width:min(520px,calc(100% - 32px));max-height:85vh;overflow:auto;background:var(--site-surface);color:var(--site-ink);border:1px solid var(--site-border);border-radius:12px;padding:22px}
.site-shell .site-dialog::backdrop{background:#0009}
.site-shell .dialog-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.site-shell .dialog-title button{border:0;background:transparent;color:var(--site-ink);width:44px;height:44px;font-size:26px}

.site-shell .mobile-column-tree{display:grid;gap:16px;margin-bottom:20px}
.site-shell .mobile-column-root{display:block;padding:0 0 8px;font-weight:700;font-size:15px;border-bottom:1px solid var(--site-border)}
.site-shell .mobile-column-subs{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px}
.site-shell .mobile-column-subs:empty{display:none}
.site-shell .mobile-column-subs a{padding:6px 12px;border-radius:14px;font-size:13px;background:color-mix(in srgb,var(--site-ink) 9%,transparent)}
.site-shell .mobile-column-tree a[data-current="是"]{color:var(--site-accent)}
.site-shell footer{background:var(--site-surface);border-top:1px solid var(--site-border);margin-top:20px}
.site-shell .foot{width:min(var(--container),calc(100% - 40px));margin:auto;display:flex;justify-content:space-between;gap:35px;padding:28px 0}
.site-shell footer p{font-size:13px;color:var(--site-muted)}
.site-shell .friend-links{display:flex;flex-wrap:wrap;gap:20px;padding-bottom:20px;font-size:13px}
.site-shell .bottom-nav{display:none}
.site-shell .back-top{position:fixed;right:24px;bottom:28px;background:var(--site-accent);color:var(--button-ink);border:0;border-radius:50%;width:44px;height:44px;z-index:25}
@media(max-width:1199px){
 .site-shell .header-main{gap:18px}.site-shell .desktop-nav{gap:16px}.site-shell .header-right .search{width:195px}
 .site-shell .grid{grid-template-columns:repeat(5,minmax(0,1fr))}.site-shell .film-block{grid-template-columns:minmax(0,1fr) 200px}
 
 .site-shell .directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 
}
@media(max-width:1023px){
 .site-shell .desktop-nav{display:none}.site-shell .menu{display:inline-flex}.site-shell .header-right .search{width:260px}
 .site-shell .film-block{grid-template-columns:minmax(0,1fr)}.site-shell .film-block>aside{display:none}
 
 .site-shell .novel-home-top{grid-template-columns:minmax(0,1fr) 240px}.site-shell .novel-home-genres{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-shell .novel-home-update-row,.site-shell .novel-home-update-head{grid-template-columns:70px 1fr 1.3fr 80px 60px}
 .site-shell .grid,.site-shell .film-block .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:767px){
 .site-shell .filter-row{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none}.site-shell .filter-row::-webkit-scrollbar{display:none}.site-shell .filter-row .chip{flex:none}
 .site-shell--list[data-model="cinema"] .site-page{padding-top:20px}.site-shell--list[data-model="cinema"] .filters{margin:12px 0 22px;padding:12px 14px}.site-shell--list[data-model="cinema"] .grid{gap:18px 10px}
 .site-shell .wrap,.site-shell .header-main,.site-shell .sub-links,.site-shell .foot{width:calc(100% - 28px)}
 .site-shell .header-main{min-height:66px;padding-block:8px;gap:10px}.site-shell .logo{font-size:21px}
 .site-shell .header-right .search{display:none}.site-shell .header-right{gap:7px}.site-shell .theme-toggle,.site-shell .menu{border:0}
 .site-shell .sub-links{gap:20px;font-size:13px;padding-block:8px}.site-shell .site-page{padding-top:18px;padding-bottom:24px}
 .site-shell .notice-bar{font-size:12px;padding:8px 10px;margin-top:10px}.site-shell h1{font-size:23px}.site-shell h2{font-size:18px}
 .site-shell .cinema-home .recommend-block,.site-shell .cinema-home .film-block{padding:16px;margin-bottom:16px}.site-shell .section-head{margin-bottom:14px}
 .site-shell .grid,.site-shell .film-block .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.site-shell .card h3{font-size:13px}

 
 
 
 .site-shell .prose{font-size:16px}
 
 .site-shell .novel-home-top{grid-template-columns:minmax(0,1fr)}.site-shell .novel-home-strong{display:none}
 .site-shell .novel-home-lead{grid-template-columns:110px minmax(0,1fr);gap:16px}.site-shell .novel-home-lead>a{width:110px}.site-shell .novel-home-lead p{font-size:13px}
 .site-shell .novel-home-genres{grid-template-columns:minmax(0,1fr)}
 .site-shell .novel-home-update-head{display:none}.site-shell .novel-home-update-row{grid-template-columns:1fr 1fr;gap:6px;padding-block:14px}
 .site-shell .novel-home-update-row>a:first-child,.site-shell .novel-home-update-row>small{display:none}
 
 
 .site-shell .story-reader{padding:25px 18px}.site-shell .story-reader h1{font-size:25px}.site-shell .comic-reader{padding-inline:0}
 .site-shell .directory-grid{grid-template-columns:minmax(0,1fr)}
 .site-shell .foot{display:block;padding-block:22px}.site-shell footer{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 .site-shell .bottom-nav{display:flex;position:fixed;inset:auto 0 0;background:var(--site-surface);border-top:1px solid var(--site-border);z-index:35;padding:5px 6px calc(5px + env(safe-area-inset-bottom));justify-content:space-around}
 .site-shell .bottom-nav a,.site-shell .bottom-nav button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:52px;min-width:44px;border:0;background:transparent;color:var(--site-muted);font-size:11px}
 .site-shell .bottom-nav span{font-size:21px;line-height:1.3}.site-shell .back-top{bottom:calc(80px + env(safe-area-inset-bottom));right:15px}.site-shell .site-search-panel{margin-block:6px 24px}
}
@media(max-width:359px){
 .site-shell .grid,.site-shell .film-block .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-shell .reader-toolbar{gap:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.site-shell *,.site-shell *:before,.site-shell *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
body.site-shell .wrap{padding-inline:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.site-shell .logo>span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:767px){.site-shell .logo>span{max-width:140px}}
body.site-shell[data-model] .header-main,body.site-shell[data-model] .sub-links{max-width:none;padding-inline:0}
body.site-shell[data-model] .header-main{height:auto;padding-block:12px}
@media(max-width:767px){body.site-shell[data-model] .header-main{padding-block:8px}}
.site-shell .logo{flex-wrap:nowrap;gap:10px;letter-spacing:2px}
.site-shell .desktop-nav{flex:none;align-self:stretch;flex-wrap:nowrap}
.site-shell .desktop-nav a{display:flex;align-items:center;position:relative;padding-block:0;font-size:16px;font-weight:600;color:var(--site-muted)}
.site-shell .desktop-nav a:hover,.site-shell .desktop-nav a[data-current="是"]{color:var(--site-accent)}
.site-shell .desktop-nav a[data-current="是"]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--site-accent)}
.site-shell .sub-links{justify-content:flex-start;align-items:stretch;padding-block:0}
.site-shell .sub-links a{display:flex;align-items:center;position:relative}
.site-shell .sub-links a:hover,.site-shell .sub-links a[data-current="是"]{color:var(--site-accent)}
.site-shell .sub-links a[data-current="是"]{font-weight:600}
.site-shell .sub-links a[data-current="是"]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--site-accent)}
@media(min-width:1024px){body.site-shell[data-model] .header-main{height:76px;padding-block:0;gap:30px}body.site-shell[data-model] .header-main .header-right{margin-left:auto}}
@media(max-width:767px){.site-shell .sub-links{height:45px;gap:24px}}
.site-shell a.notice-item:hover{color:var(--site-accent)}
.site-shell .notice-bar{align-items:center}
.site-shell .notice-text{flex:1 1 0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-shell .notice-item{color:inherit;text-decoration:none}
.site-shell a.notice-item:hover{text-decoration:underline}
.site-shell .notice-item+.notice-dot{margin-inline:1.2em}
.site-shell .notice-dot:last-child{display:none}
.site-shell .notice-more{flex:none;padding:0;border:0;background:none;color:var(--site-accent);font:inherit;cursor:pointer;white-space:nowrap}
.site-shell .notice-more:hover{text-decoration:underline}
.site-shell .notice-bar.is-open{align-items:flex-start}
.site-shell .notice-bar.is-open .notice-text{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.7}
.site-shell .app-ad-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:12px 10px;margin-block:14px 0;padding:12px 14px;border-radius:10px;background:var(--site-surface);border:1px solid var(--site-border)}
.site-shell .app-ad-row[data-ad-tiered]:not([data-ad-ready]),.site-shell .text-ad-row[data-ad-tiered]:not([data-ad-ready]){opacity:0}
.site-shell .text-ad-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin-block:12px 0}
.site-shell .text-ad{display:block;text-align:center;min-width:0;padding:7px 12px;border-radius:10px;font-size:13px;font-weight:700;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none;border:1px solid transparent}
.site-shell .text-ad:nth-child(5n+1){color:#f87171;background:rgba(239,68,68,.14);border-color:rgba(239,68,68,.32)}
.site-shell .text-ad:nth-child(5n+2){color:#34d399;background:rgba(16,185,129,.14);border-color:rgba(16,185,129,.32)}
.site-shell .text-ad:nth-child(5n+3){color:#fbbf24;background:rgba(245,158,11,.14);border-color:rgba(245,158,11,.32)}
.site-shell .text-ad:nth-child(5n+4){color:#60a5fa;background:rgba(59,130,246,.14);border-color:rgba(59,130,246,.32)}
.site-shell .text-ad:nth-child(5n+5){color:#c084fc;background:rgba(168,85,247,.14);border-color:rgba(168,85,247,.32)}
html[data-theme="light"] .site-shell .text-ad:nth-child(5n+1){color:#b91c1c;background:#fef2f2;border-color:#fecaca}
html[data-theme="light"] .site-shell .text-ad:nth-child(5n+2){color:#047857;background:#ecfdf5;border-color:#a7f3d0}
html[data-theme="light"] .site-shell .text-ad:nth-child(5n+3){color:#b45309;background:#fffbeb;border-color:#fde68a}
html[data-theme="light"] .site-shell .text-ad:nth-child(5n+4){color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}
html[data-theme="light"] .site-shell .text-ad:nth-child(5n+5){color:#7e22ce;background:#faf5ff;border-color:#e9d5ff}
.site-shell .app-ad{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0;color:inherit;text-decoration:none}
.site-shell .app-ad-icon-box{position:relative;width:56px;height:56px;border-radius:14px;overflow:hidden;background:var(--site-surface);border:1px solid var(--site-border);flex:none}
.site-shell .app-ad-icon{display:block;width:100%;height:100%;object-fit:cover}
.site-shell .app-ad[data-ad-level="9"] .app-ad-icon-box::after{content:"荐";position:absolute;right:0;top:0;padding:1px 4px;font-size:10px;font-weight:700;line-height:1.2;background:var(--site-accent);color:#fff;border-radius:0 0 0 6px}
.site-shell .app-ad-name{max-width:100%;font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-shell .app-ad-note{max-width:100%;font-size:11px;line-height:1.3;opacity:.62;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-shell a.app-ad:hover .app-ad-name{color:var(--site-accent)}
.site-shell .ad-banner-slot{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:14px}
.site-shell .ad-banner-slot[data-ad-slot="top"]{margin-block:12px 0}
.site-shell .wrap:has(> .ad-banner-slot[data-ad-slot="top"], > .text-ad-row, > .app-ad-row) + .wrap.page{padding-top:14px}
.site-shell .ad-banner-slot[data-ad-pc-limit]:not([data-ad-ready]),.ad-float-bar:not([data-ad-ready]){opacity:0}
.site-shell .ad-banner-slot:has(> .ad-banner-item:only-child){grid-template-columns:minmax(0,760px);justify-content:center}
.site-shell .ad-banner-slot:has(> .ad-banner-item:nth-child(2):last-child),.site-shell .ad-banner-slot:has(> .ad-banner-item:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.site-shell .ad-banner-item{position:relative;display:block;width:100%;aspect-ratio:6.4/1;border-radius:10px;overflow:hidden;border:1px solid var(--site-border);background:var(--site-surface)}
.site-shell .ad-banner-item img{display:block;width:100%;height:100%;object-fit:cover}
.site-shell .ad-banner-item:hover{border-color:var(--site-accent)}
.site-shell .ad-slot-ctrl{position:absolute;top:6px;right:6px;z-index:3;display:inline-flex;align-items:center;padding:2px 8px;border:0;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font-size:11px;line-height:1.4;cursor:pointer}
.ad-float-host{display:contents}
.ad-float-bar{position:fixed;z-index:45;padding:8px;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.28);border:1px solid var(--site-border);background:var(--site-surface)}
.ad-float-bar--pc-corner{top:72px;right:18px;left:auto;transform:none;width:400px;max-width:calc(100vw - 36px);padding:10px}
.ad-float-bar--pc-corner .ad-float-grid{display:flex;flex-direction:column;gap:8px;width:100%;max-height:calc(100vh - 108px);overflow-y:auto}
.ad-float-bar--top{top:68px;left:50%;transform:translateX(-50%)}
.ad-float-bar--bottom{bottom:12px;left:50%;transform:translateX(-50%)}
.ad-float-grid{display:grid;grid-template-columns:1fr;gap:6px;width:100%}
.ad-float-item{position:relative;width:100%}
.ad-float-bar .ad-banner-item{position:relative;display:block;width:100%;aspect-ratio:6.4/1;overflow:hidden;border-radius:6px;border:1px solid var(--site-border)}
.ad-float-bar .ad-banner-item img{display:block;width:100%;height:100%;object-fit:cover}
.ad-float-close{position:absolute;top:4px;right:4px;z-index:4;min-width:22px;height:22px;padding:0 6px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(0,0,0,.74);color:#fff;font-size:11px;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.ad-float-close:disabled{opacity:.78;cursor:not-allowed;background:rgba(0,0,0,.58)}
.ad-float-close:not(:disabled):hover{background:var(--site-accent)}
@media(max-width:1099px){.site-shell .ad-banner-slot,.site-shell .ad-banner-slot:has(> .ad-banner-item:nth-child(2):last-child),.site-shell .ad-banner-slot:has(> .ad-banner-item:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.site-shell .app-ad-row{grid-template-columns:repeat(auto-fit,minmax(56px,1fr));gap:10px 6px;padding:10px 8px}.site-shell .app-ad-row[data-ad-cols="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}.site-shell .app-ad-icon-box{width:48px;height:48px;border-radius:12px}.site-shell .text-ad-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.site-shell .text-ad-row:has(> .text-ad:only-child){grid-template-columns:1fr}.site-shell .text-ad{padding:6px 8px;font-size:12px}.site-shell .ad-banner-slot,.site-shell .ad-banner-slot:has(> .ad-banner-item:only-child),.site-shell .ad-banner-slot:has(> .ad-banner-item:nth-child(2):last-child),.site-shell .ad-banner-slot:has(> .ad-banner-item:nth-child(4):last-child){grid-template-columns:1fr;gap:8px;margin-block:10px}.ad-float-bar{left:8px;right:8px;width:auto;transform:none;padding:4px}.ad-float-bar--top{top:114px}.ad-float-bar--bottom{bottom:64px}.ad-float-close{top:4px;right:4px}}
.site-shell .rank-board{counter-reset:rank}
.site-shell .episode-widget [hidden],.site-shell .episode-list[hidden]{display:none}
.site-shell .novel-book>.comic-cover>small{display:none}

.sort-row .chip[data-direction="倒序"]::after{content:" ↓"}
.sort-row .chip[data-direction="正序"]::after{content:" ↑"}

/* List pages of every model share the video filter panel: no field titles, "all" first. */
body.site-shell.site-shell--list[data-model] .filters{background:var(--site-surface);border:0;border-radius:6px;padding:18px 22px;margin:14px 0 28px}
body.site-shell.site-shell--list[data-model] .filter-row{gap:9px;margin:0;padding:7px 0}
body.site-shell.site-shell--list[data-model] .filters .chip{min-height:0;padding:5px 12px;color:var(--site-ink)}
body.site-shell.site-shell--list[data-model] .filters .chip:hover,body.site-shell.site-shell--list[data-model] .filters .chip[data-current="是"]{background:var(--site-accent);color:var(--button-ink)}
body.site-shell.site-shell--list[data-model] .breadcrumbs{gap:8px;margin-bottom:0}
body.site-shell.site-shell--list[data-model] .film-subnav{flex-wrap:nowrap;gap:8px;margin:0;padding:14px 0 4px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
body.site-shell.site-shell--list[data-model] .film-subnav::-webkit-scrollbar{display:none}
body.site-shell.site-shell--list[data-model] .film-subitem{flex:none;padding:6px 12px;border-radius:4px;color:var(--site-ink)}
body.site-shell.site-shell--list[data-model] .film-subitem:hover,body.site-shell.site-shell--list[data-model] .film-subitem[data-current="是"],body.site-shell.site-shell--list[data-model] .film-subnav:not(:has([data-current="是"])) .film-all{background:var(--site-accent);color:var(--button-ink)}
@media(max-width:767px){body.site-shell.site-shell--list[data-model] .filters{margin:12px 0 22px;padding:12px 14px}body.site-shell.site-shell--list[data-model] .filter-row{gap:6px;padding:5px 0}}
/* The panel keeps the content width and no side gap is added before the first chip, so every "all" chip starts at the content edge. */
body.site-shell.site-shell--list[data-model] .film-subnav{padding-inline:0}

.cms-icon{width:1em;height:1em;vertical-align:-0.15em;margin-right:4px;flex:none;display:inline-block}
.cms-icon-img{object-fit:contain;border-radius:2px}
@media(max-width:767px){body.site-shell .breadcrumbs,body.site-shell[data-model] .breadcrumbs{display:none}.site-shell .menu{display:none!important}}

/* Unified navigation drawer (models + columns) */
.site-shell .nav-drawer{padding:0;overflow:hidden;width:min(640px,calc(100% - 32px));max-height:80vh}
.site-shell .nav-drawer[open]{display:flex;flex-direction:column}
.site-shell .nav-drawer .dialog-title{padding:14px 18px;margin:0;border-bottom:1px solid var(--site-border);flex:none}
.site-shell .nav-drawer .dialog-title button{width:36px;height:36px;font-size:24px}
.site-shell .nav-drawer-body{display:flex;flex:1 1 auto;min-height:0;overflow:hidden}
.site-shell .nav-drawer-tabs{flex:0 0 92px;display:flex;flex-direction:column;overflow-y:auto;background:var(--site-bg);border-right:1px solid var(--site-border);padding:8px 0}
.site-shell .nav-drawer-tab{position:relative;border:0;background:transparent;color:var(--site-muted);padding:13px 10px;text-align:center;font-size:14px;font-weight:500;line-height:1.3;transition:background .15s,color .15s}
.site-shell .nav-drawer-tab[aria-selected="true"]{background:var(--site-surface);color:var(--site-accent);font-weight:700}
.site-shell .nav-drawer-tab[aria-selected="true"]::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:var(--site-accent)}
.site-shell .nav-drawer-panels{flex:1 1 auto;min-width:0;overflow-y:auto;padding:14px 16px calc(18px + env(safe-area-inset-bottom))}
.site-shell .nav-drawer-quick{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.site-shell .nav-quick-link{display:inline-flex;align-items:center;padding:6px 12px;border-radius:16px;font-size:13px;border:1px solid var(--site-border);background:var(--site-bg);color:var(--site-ink)}
.site-shell .nav-quick-link.is-primary{background:var(--site-accent);border-color:var(--site-accent);color:var(--button-ink);font-weight:600}
@media(max-width:767px){
 .site-shell .nav-drawer{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;height:74vh;max-height:74vh;border:0;border-top:1px solid var(--site-border);border-radius:16px 16px 0 0}
}

/* Unified 3-state search hero (PC 1-2 rows hot tags + mobile centered colorful 1-per-row) */
.site-shell .search-hero{display:flex;flex-direction:column;align-items:center;gap:16px;padding:12px 0 22px;margin-bottom:20px}
.site-shell .search-bar{display:flex;align-items:center;width:100%;max-width:620px;height:46px;padding:4px 4px 4px 16px;border:1px solid var(--site-border);border-radius:999px;background:var(--site-surface);transition:border-color .15s,box-shadow .15s}
.site-shell .search-bar:focus-within{border-color:var(--site-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--site-accent) 16%,transparent)}
.site-shell .search-bar input{flex:1 1 auto;min-width:0;height:100%;border:0;background:transparent;color:var(--site-ink);font-size:15px;outline:none}
.site-shell .search-bar button{flex:none;height:36px;padding:0 22px;border:0;border-radius:999px;background:var(--site-accent);color:var(--button-ink);font-size:14px;font-weight:600;white-space:nowrap}
.site-shell .search-hot{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;max-width:740px;margin-top:4px}
.site-shell .search-hot-title{font-size:13px;font-weight:600;letter-spacing:.06em;color:var(--site-muted);text-align:center}
.site-shell .search-hot-list{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;max-height:70px;overflow:hidden}
.site-shell .search-hot-tag{display:inline-flex;align-items:center;height:30px;padding:0 14px;border-radius:999px;border:1px solid var(--site-border);background:var(--site-surface);color:var(--site-ink);font-size:13px;transition:border-color .15s,color .15s,background .15s}
.site-shell .search-hot-tag:hover{border-color:var(--site-accent);background:var(--site-tint);color:var(--site-accent)}
.site-shell .search-summary{align-self:flex-start;margin:4px 0 0;font-size:13px;color:var(--site-muted)}
.site-shell .search-summary strong{color:var(--site-ink);font-weight:600}
.site-shell .search-empty{width:100%;max-width:620px;margin:4px 0 0;padding:24px 20px;border:1px dashed var(--site-border);border-radius:10px;background:var(--site-surface);color:var(--site-muted);text-align:center;font-size:14px}
@media(max-width:767px){
 .site-shell .search-hero{align-items:center;gap:14px;padding:2px 0 14px;margin-bottom:14px}
 .site-shell .search-bar{max-width:none;height:44px;padding:4px 4px 4px 14px}
 .site-shell .search-bar input{font-size:14px}
 .site-shell .search-bar button{height:34px;padding:0 16px;font-size:13px}
 .site-shell .search-hot{gap:12px;margin-top:8px;padding:8px 0}
 .site-shell .search-hot-list{flex-direction:column;flex-wrap:nowrap;align-items:center;gap:10px;width:100%;max-height:none;overflow:visible}
 .site-shell .search-hot-tag{height:auto;padding:4px 12px;border:0;border-radius:0;background:transparent;font-size:15px;font-weight:500;line-height:1.5;text-align:center}
 .site-shell .search-hot-tag:nth-child(6n+1){color:#d94646}
 .site-shell .search-hot-tag:nth-child(6n+2){color:#d97706}
 .site-shell .search-hot-tag:nth-child(6n+3){color:#059669}
 .site-shell .search-hot-tag:nth-child(6n+4){color:#2563eb}
 .site-shell .search-hot-tag:nth-child(6n+5){color:#7c3aed}
 .site-shell .search-hot-tag:nth-child(6n+6){color:#db2777}
 :root[data-theme="dark"] .site-shell .search-hot-tag:nth-child(6n+1){color:#fb7185}
 :root[data-theme="dark"] .site-shell .search-hot-tag:nth-child(6n+2){color:#fbbf24}
 :root[data-theme="dark"] .site-shell .search-hot-tag:nth-child(6n+3){color:#34d399}
 :root[data-theme="dark"] .site-shell .search-hot-tag:nth-child(6n+4){color:#60a5fa}
 :root[data-theme="dark"] .site-shell .search-hot-tag:nth-child(6n+5){color:#a78bfa}
 :root[data-theme="dark"] .site-shell .search-hot-tag:nth-child(6n+6){color:#f472b6}
 .site-shell .search-summary{margin:0;font-size:12px}
 .site-shell .search-empty{padding:18px 14px;font-size:13px}
}

/* Navigation typography refinement (PC model/column + mobile column/bottom bar) */
body.site-shell{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
body.site-shell .desktop-nav{gap:26px}
body.site-shell .desktop-nav a{font-size:16px;font-weight:500;letter-spacing:.02em;line-height:1.4}
body.site-shell .desktop-nav a[data-current="是"]{font-weight:700}
body.site-shell .desktop-nav a[data-current="是"]:after{height:2.5px;border-radius:2px}
body.site-shell[data-model] .sub-links{height:44px;gap:22px}
body.site-shell .sub-links a{font-size:14px;font-weight:400;letter-spacing:.01em;line-height:1.4}
body.site-shell .sub-links a[data-current="是"]{font-weight:600}
body.site-shell .sub-links a[data-current="是"]:after{height:2px;border-radius:2px}
body.site-shell .sub-links .cms-icon{width:14px;height:14px}
@media(max-width:767px){
 body.site-shell[data-model] .sub-links{height:44px;gap:18px}
 body.site-shell .sub-links a{font-size:14px;font-weight:500;letter-spacing:.01em}
 body.site-shell .sub-links a[data-current="是"]{font-weight:600}
 body.site-shell .sub-links a[data-current="是"]:after{left:50%;right:auto;width:20px;height:2.5px;transform:translateX(-50%);border-radius:2px}
 body.site-shell .bottom-nav{padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
 body.site-shell .bottom-nav a,body.site-shell .bottom-nav button{gap:3px;min-height:48px;font-size:12px;font-weight:500;letter-spacing:.02em;line-height:1.2}
 body.site-shell .bottom-nav a em,body.site-shell .bottom-nav button em{font-style:normal}
 body.site-shell .bottom-nav a[data-current="是"],body.site-shell .bottom-nav button[data-current="是"]{font-weight:600;color:var(--site-accent)}
 body.site-shell .bottom-nav-icon{width:20px;height:20px;flex:none;display:block}
}

/* Unified Rank Hub (Top 3 podium + ranked list, responsive & dual-theme) */
body.site-shell .rank-hub-page{padding-block:20px 44px}
body.site-shell .rank-hub-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 14px;background:transparent;border:0;border-radius:0;padding:8px 5%;margin:0}
body.site-shell .header-sub--rank .rank-hub-models{padding-top:0}
@media(max-width:767px){body.site-shell .rank-hub-head{flex-direction:column;align-items:stretch;gap:6px;padding:7px 4%}body.site-shell .rank-hub-periods{justify-content:space-between}}
body.site-shell .rank-hub-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--site-border)}
body.site-shell .rank-hub-title{display:flex;align-items:baseline;gap:10px;min-width:0}
body.site-shell .rank-hub-title h1{margin:0;font-size:22px;font-weight:700;line-height:1.3;color:var(--site-ink)}
body.site-shell .rank-hub-title span{font-size:13px;color:var(--site-muted)}
body.site-shell .rank-hub-periods{display:inline-flex;align-items:center;gap:4px;padding:3px;border-radius:999px;background:var(--site-bg);border:1px solid var(--site-border);flex:none}
body.site-shell .rank-hub-periods button{border:0;background:transparent;color:var(--site-muted);height:30px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:500;transition:background .15s,color .15s}
body.site-shell .rank-hub-periods button:hover{color:var(--site-ink)}
body.site-shell .rank-hub-periods button.on{background:var(--site-accent);color:var(--button-ink);font-weight:600}
body.site-shell .rank-hub-models{display:flex;align-items:center;gap:10px;padding-top:14px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
body.site-shell .rank-hub-models::-webkit-scrollbar{display:none}
body.site-shell .rank-hub-model{flex:none;display:inline-flex;align-items:center;height:34px;padding:0 16px;border-radius:8px;font-size:14px;font-weight:500;color:var(--site-muted);background:var(--site-bg);border:1px solid transparent;transition:all .15s}
body.site-shell .rank-hub-model:hover{color:var(--site-ink);border-color:var(--site-border)}
body.site-shell .rank-hub-model[data-current="是"]{background:var(--site-tint);color:var(--site-accent);border-color:color-mix(in srgb,var(--site-accent) 45%,transparent);font-weight:700}
body.site-shell .rank-hub-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.site-shell .rank-hub-board[hidden]{display:none}
body.site-shell .rank-hub-item{position:relative;display:grid;grid-template-columns:42px 72px minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 18px;border-radius:10px;background:var(--site-surface);border:1px solid var(--site-border);color:var(--site-ink);transition:border-color .15s,transform .15s}
body.site-shell .rank-hub-item:hover{border-color:var(--site-accent);color:var(--site-ink)}
body.site-shell .rank-hub-item:nth-child(-n+3){grid-template-columns:96px minmax(0,1fr);grid-template-rows:1fr auto;align-items:start;gap:12px 14px;padding:16px}
body.site-shell .rank-hub-item:nth-child(-n+3):hover{transform:translateY(-2px)}
body.site-shell .rank-hub-item:nth-child(n+4){grid-column:1 / -1}
body.site-shell .rank-hub-badge{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;font-size:14px;font-weight:700;background:var(--site-bg);color:var(--site-muted);font-variant-numeric:tabular-nums}
body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-badge{position:absolute;top:12px;left:12px;z-index:2;width:28px;height:28px;border-radius:8px;color:#fff;box-shadow:0 2px 6px #0004}
body.site-shell .rank-hub-badge[data-rank="1"]{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}
body.site-shell .rank-hub-badge[data-rank="2"]{background:linear-gradient(135deg,#94a3b8,#64748b);color:#fff}
body.site-shell .rank-hub-badge[data-rank="3"]{background:linear-gradient(135deg,#d97706,#b45309);color:#fff}
body.site-shell .rank-hub-cover{position:relative;display:block;width:72px;aspect-ratio:3/4;border-radius:6px;overflow:hidden;background:var(--site-bg);flex:none}
body.site-shell .rank-hub-cover--wide{width:116px;aspect-ratio:16/10}
body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-cover{grid-row:1 / 3;width:96px}
body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-cover--wide{width:112px;aspect-ratio:4/3}
body.site-shell .rank-hub-cover img{width:100%;height:100%;object-fit:cover;display:block}
body.site-shell .rank-hub-tag{position:absolute;right:4px;bottom:4px;max-width:calc(100% - 8px);padding:1px 6px;border-radius:4px;background:#000a;color:#fff;font-size:10px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.site-shell .rank-hub-info{display:flex;flex-direction:column;gap:6px;min-width:0}
body.site-shell .rank-hub-info h2{margin:0;font-size:16px;font-weight:700;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.site-shell .rank-hub-item:hover .rank-hub-info h2{color:var(--site-accent)}
body.site-shell .rank-hub-meta{display:flex;flex-wrap:wrap;gap:6px;margin:0;font-size:12px;color:var(--site-muted)}
body.site-shell .rank-hub-meta span{padding:1px 7px;border-radius:4px;background:var(--site-bg)}
body.site-shell .rank-hub-desc{margin:0;font-size:13px;line-height:1.55;color:var(--site-muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
body.site-shell .rank-hub-heat{display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:68px;flex:none;font-variant-numeric:tabular-nums}
body.site-shell .rank-hub-heat strong{font-size:18px;font-weight:700;line-height:1.2;color:var(--site-accent)}
body.site-shell .rank-hub-heat small{font-size:11px;color:var(--site-muted)}
body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-heat{flex-direction:row;align-items:baseline;justify-content:flex-start;gap:6px;min-width:0}
body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-heat strong{font-size:16px}
body.site-shell .rank-hub-empty{grid-column:1 / -1;margin:0;padding:48px 20px;border:1px dashed var(--site-border);border-radius:10px;background:var(--site-surface);color:var(--site-muted);text-align:center;font-size:14px}
@media(max-width:1023px){
 body.site-shell .rank-hub-board{grid-template-columns:minmax(0,1fr)}
 body.site-shell .rank-hub-item:nth-child(-n+3){grid-template-columns:40px 72px minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;gap:14px;padding:14px 16px}
 body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-badge{position:static;box-shadow:none}
 body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-cover{grid-row:auto;width:72px}
 body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-heat{flex-direction:column;align-items:flex-end;gap:2px}
}
@media(max-width:767px){
 body.site-shell .rank-hub-page{padding-block:12px 28px}
 body.site-shell .rank-hub-head{padding:12px 14px;border-radius:10px;margin-bottom:14px}
 body.site-shell .rank-hub-top{flex-direction:column;align-items:stretch;gap:10px;padding-bottom:10px}
 body.site-shell .rank-hub-title h1{font-size:18px}
 body.site-shell .rank-hub-periods{display:grid;grid-template-columns:repeat(4,1fr);width:100%}
 body.site-shell .rank-hub-periods button{padding:0 6px;font-size:12px;height:28px}
 body.site-shell .rank-hub-models{padding-top:10px;gap:8px}
 body.site-shell .rank-hub-model{height:30px;padding:0 12px;font-size:13px}
 body.site-shell .rank-hub-board{gap:10px}
 body.site-shell .rank-hub-item,body.site-shell .rank-hub-item:nth-child(-n+3){grid-template-columns:28px 56px minmax(0,1fr) auto;gap:10px;padding:10px 12px}
 body.site-shell .rank-hub-badge,body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-badge{width:24px;height:24px;font-size:12px;border-radius:6px}
 body.site-shell .rank-hub-cover,body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-cover{width:56px}
 body.site-shell .rank-hub-cover--wide,body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-cover--wide{width:76px;aspect-ratio:16/10}
 body.site-shell .rank-hub-info{gap:4px}
 body.site-shell .rank-hub-info h2{font-size:14px}
 body.site-shell .rank-hub-meta{gap:4px;font-size:11px}
 body.site-shell .rank-hub-desc{display:none}
 body.site-shell .rank-hub-heat{min-width:48px}
 body.site-shell .rank-hub-heat strong,body.site-shell .rank-hub-item:nth-child(-n+3) .rank-hub-heat strong{font-size:14px}
 body.site-shell .rank-hub-heat small{font-size:10px}
}

/* Day / Night pill theme toggle (Plan 2: SVG icon + label) */
body.site-shell .theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:auto;height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--site-border);background:var(--site-bg);color:var(--site-ink);font-size:13px;font-weight:500;white-space:nowrap;flex:none;transition:border-color .15s,color .15s,background .15s}
body.site-shell .theme-toggle:hover{border-color:var(--site-accent);color:var(--site-accent);background:var(--site-tint)}
body.site-shell .theme-toggle .theme-opt{display:none;align-items:center;gap:5px;line-height:1}
body.site-shell .theme-toggle .theme-opt svg{width:15px;height:15px;flex:none;display:block}
body.site-shell .theme-toggle .theme-opt em{font-style:normal}
:root[data-theme="dark"] body.site-shell .theme-toggle .theme-opt--light{display:inline-flex}
:root[data-theme="light"] body.site-shell .theme-toggle .theme-opt--dark{display:inline-flex}
@media(max-width:767px){
 body.site-shell .theme-toggle{width:auto;height:32px;padding:0 11px;border:1px solid var(--site-border);font-size:12px}
 body.site-shell .theme-toggle .theme-opt svg{width:14px;height:14px}
}

/* Lock cover aspect-ratio against intrinsic image expansion */
.site-shell .poster,
.comic-cover,
.star-portrait,
.star-work-poster,
.art-cover--feature,
.art-cover--brief,
.art-cover--feed,
.art-cover--side,
.art-cover--related,
body.site-shell .rank-hub-cover,
body.site-shell .rank-hub-cover--wide,
.site-shell .ad-banner-item,
.ad-float-bar .ad-banner-item {
  position: relative;
  overflow: hidden;
}
.site-shell .poster > img,
.comic-cover > img,
.star-portrait > img,
.star-work-poster > img,
.art-cover--feature > img,
.art-cover--brief > img,
.art-cover--feed > img,
.art-cover--side > img,
.art-cover--related > img,
body.site-shell .rank-hub-cover > img,
body.site-shell .rank-hub-cover--wide > img,
.site-shell .ad-banner-item > img,
.ad-float-bar .ad-banner-item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
