html{background:#eef3ea}body{margin:0;background:#eef3ea;color:#223025;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:14px;line-height:1.55;letter-spacing:0}a{color:#23513d;text-decoration:none}a:hover{color:#9a3a24;text-decoration:none}img{max-width:100%;vertical-align:top}ul,ol,dl,dd{margin:0;padding:0}li{list-style:none}button,input,select,textarea{font-family:inherit;letter-spacing:0}.w-all{max-width:1180px;width:auto;margin-left:auto;margin-right:auto;box-sizing:border-box}.none,.hide{display:none!important}.mt10{margin-top:10px}.mt20{margin-top:20px}.tac{text-align:center}.ad-placement{box-sizing:border-box;max-width:1180px;margin:18px auto;padding:10px;border:1px dashed #c9d6c8;background:#f8fbf5;color:#69786c;text-align:center;overflow:hidden}.wuxia-site-header{position:relative;z-index:30;border-bottom:1px solid #d6e3d5;background:#fbfdf8;box-shadow:0 8px 24px rgba(31,54,35,.06)}.wuxia-topbar{display:grid;grid-template-columns:250px minmax(300px,1fr) auto;gap:18px;align-items:center;min-height:82px;padding:14px 0}.wuxia-brand-link{display:flex;flex-direction:column;gap:3px;color:#16231b!important;font-size:27px;font-weight:900;line-height:1.05}.wuxia-brand-link small{color:#7a3828;font-size:11px;font-weight:900;letter-spacing:0;text-transform:uppercase}.wuxia-search.searchbox{display:grid;grid-template-columns:96px minmax(0,1fr) 98px;align-items:center;border:1px solid #cfded0;background:#fff}.wuxia-search .dropmenu{position:relative;height:42px;border-right:1px solid #dfe9df;background:#f4f8f2;cursor:pointer}.wuxia-search .dropmenu:before{content:"Search";display:block;padding:0 12px;color:#344536;font-size:12px;font-weight:900;line-height:42px;text-transform:uppercase}.wuxia-search .tri{position:absolute;right:10px;top:18px;border:4px solid transparent;border-top-color:#576759}.wuxia-search .dropmenu-item{display:none;position:absolute;left:0;top:42px;z-index:4;min-width:120px;border:1px solid #d5e1d5;background:#fff;box-shadow:0 12px 28px rgba(31,54,35,.12)}.wuxia-search .dropmenu.hover .dropmenu-item,.wuxia-search .dropmenu:hover .dropmenu-item{display:block}.wuxia-search .dropmenu-item li{padding:9px 12px;color:#334436;font-size:13px;font-weight:800}.wuxia-search label{display:block;min-width:0}.wuxia-search .text{box-sizing:border-box;width:100%;height:42px;border:0;background:#fff;color:#1f2a24;font-size:14px;outline:none;padding:0 12px}.wuxia-search .searchbtn{height:42px;border:0;background:#23513d;color:#fff;font-size:13px;font-weight:900;cursor:pointer}.wuxia-actions{display:flex;align-items:center;gap:8px}.wuxia-action{position:relative;display:inline-flex;min-width:56px;height:42px;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid #d5e1d5;background:#fff;color:#27362a;font-size:12px;font-weight:900}.wuxia-action .badge{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;border-radius:9px;background:#9a3a24;color:#fff;font-size:11px;font-style:normal;line-height:18px;text-align:center}.wuxia-mobile-actions{display:none}.wuxia-nav-wrap{border-top:1px solid #e2ebe1;background:#1e3f30}.wuxia-nav ul{display:flex;align-items:center;gap:2px;min-height:44px}.wuxia-nav a{display:flex;align-items:center;height:44px;padding:0 16px;color:#eff8ec;font-size:13px;font-weight:900}.wuxia-nav a:hover,.wuxia-nav a.pt-active{background:#9a3a24;color:#fff}.wuxia-nav .wuxia-nav-history{margin-left:auto}.wuxia-site-footer{margin-top:34px;border-top:1px solid #d6e3d5;background:#18251f;color:#d8e4d8}.wuxia-footer-inner{padding:26px 0;text-align:left}.wuxia-footer-nav{display:flex;flex-wrap:wrap;gap:10px 18px;margin-bottom:12px}.wuxia-footer-nav a{color:#eef6eb;font-size:12px;font-weight:900;text-transform:uppercase}.wuxia-footer-copy{color:#bacaba;font-size:13px;line-height:1.7}.wuxia-footer-copy a{color:#fff}.gotop{display:none;position:fixed;right:18px;bottom:22px;z-index:60;width:42px;height:42px;background:#23513d;color:#fff;text-align:center;line-height:42px;cursor:pointer;box-shadow:0 10px 24px rgba(31,54,35,.2)}.realm-home,.wuxia-dossier-shell,.category-list-shell,.rank-shell,.completed-shell,.genre-page,.search-shell,.search-results-shell,.review-shell,.static-shell{max-width:1180px;margin:0 auto;padding:22px 0 44px;box-sizing:border-box}.realm-gateway,.archive-hero,.rank-head,.updates-head,.search-hero,.review-card-head{border:1px solid #d6e3d5;background:#fff;box-shadow:0 12px 32px rgba(31,54,35,.07)}.realm-gateway{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:24px;align-items:stretch;margin-bottom:24px;padding:28px}.realm-kicker,.archive-kicker,.wuxia-dossier-kicker,.updates-head span{display:inline-flex;width:max-content;max-width:100%;padding:4px 9px;border-left:3px solid #9a3a24;background:#fff1e8;color:#9a3a24;font-size:12px;font-weight:900;text-transform:uppercase;line-height:18px}h1,h2,h3{color:#17251c;letter-spacing:0}.realm-gateway h1,.archive-hero h1,.wuxia-dossier-main h1,.category-list-title h1,.rank-head h1,.updates-head h1,.search-hero h1,.review-card-head h1{margin:10px 0 10px;color:#17251c;font-size:34px;font-weight:900;line-height:1.16}.realm-gateway p,.archive-hero p,.rank-head p,.updates-head p,.search-hero p{margin:0;color:#607064;font-size:15px;line-height:1.7}.realm-gate-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.realm-gate-map a,.genre-card{display:flex;min-height:92px;flex-direction:column;justify-content:space-between;padding:14px;border:1px solid #d9e6d8;background:#f8fbf5;color:#27362a}.realm-gate-map strong,.genre-card .genre-name{font-size:19px;font-weight:900;line-height:1.2}.realm-gate-map span,.genre-card .genre-count{margin-top:8px;color:#69786c;font-size:12px;line-height:1.45}.realm-grid-split{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(310px,.88fr);gap:22px;margin-bottom:24px}.sect-rankings,.breakthrough-feed,.completed-paths,.realm-directory,.wuxia-panel,.wuxia-side-card,.category-list-panel,.rank-panel,.completed-panel,.genre-panel,.search-panel,.search-results-panel,.search-side-panel,.review-card,.review-side-panel,.archive-panel{border:1px solid #d6e3d5;background:#fff;box-shadow:0 8px 22px rgba(31,54,35,.055)}.realm-section-head,.wuxia-panel-head,.category-list-title,.rank-list-title,.archive-panel-head,.search-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e5eee4}.realm-section-head h2,.wuxia-panel-head h2,.category-list-title h1,.rank-list-title h2,.archive-panel-head h2,.search-panel-head h2{margin:0;font-size:20px;font-weight:900;line-height:1.25}.sect-board{display:grid;grid-template-columns:1.15fr repeat(2,minmax(0,1fr));gap:12px;padding:16px}.sect-entry{position:relative;display:block;min-height:178px;overflow:hidden;background:#203527;color:#fff!important}.sect-entry:first-child{grid-row:span 2;min-height:368px}.sect-entry img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;opacity:.86;transition:transform .2s ease}.sect-entry:hover img{transform:scale(1.035)}.sect-entry-meta{position:absolute;left:0;right:0;bottom:0;padding:34px 14px 12px;background:linear-gradient(to bottom,rgba(23,37,28,0),rgba(23,37,28,.94));color:#fff}.sect-entry-rank,.martial-number{display:inline-flex;min-width:26px;height:26px;align-items:center;justify-content:center;background:#e5c657;color:#15221a;font-size:12px;font-weight:900}.sect-entry-title{display:block;font-size:16px;font-weight:900;line-height:1.25}.sect-entry-author{display:block;margin-top:5px;color:#dce9da;font-size:12px}.breakthrough-list{padding:8px 16px 14px}.breakthrough-list li{display:grid;grid-template-columns:minmax(130px,1.1fr) minmax(190px,1.6fr) minmax(90px,.7fr) 52px;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #edf3ec;font-size:13px}.breakthrough-list li:last-child{border-bottom:0}.breakthrough-title a,.breakthrough-chapter a{font-weight:900}.breakthrough-author,.breakthrough-time{color:#718074}.breakthrough-time{text-align:right}.completed-path-grid,.genre-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;padding:18px}.completed-path,.completed-story-item,.realm-path-item,.martial-entry,.search-result-item,.author-book-item{position:relative;color:#27362a}.completed-path{text-align:center}.completed-path img,.realm-path-cover img,.martial-cover img,.completed-cover img,.search-result-cover img,.wuxia-path-cover img,.scroll-suggestion-cover img{display:block;object-fit:cover;object-position:center top;border:1px solid #d9e6d8;background:#eef5ec}.completed-path img{width:100%;aspect-ratio:2/3;box-shadow:0 8px 18px rgba(31,54,35,.12)}.completed-path strong{display:-webkit-box;min-height:38px;margin-top:9px;font-size:14px;font-weight:900;line-height:1.35;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.completed-path span{display:inline-flex;height:22px;align-items:center;margin-top:5px;padding:0 7px;background:#edf6ea;color:#436348;font-size:12px;line-height:22px}.realm-directory{padding:18px}.realm-directory h2{margin:0 0 12px;font-size:20px}.realm-directory-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.realm-directory-grid a{display:flex;min-height:42px;align-items:center;justify-content:center;padding:0 10px;border:1px solid #d9e6d8;background:#f8fbf5;color:#27362a;font-weight:900;text-align:center}.wuxia-crumb-trail,.category-list-breadcrumb,.rank-breadcrumb,.completed-breadcrumb,.genre-breadcrumb,.search-results-breadcrumb,.review-breadcrumb,.pt-crumb{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:#69786c;font-size:13px;line-height:24px}.wuxia-crumb-trail ol{display:flex;gap:8px;align-items:center}.wuxia-crumb-trail li:not(:last-child):after{content:"/";margin-left:8px;color:#9aac9b}.wuxia-dossier{display:grid;grid-template-columns:210px minmax(0,1fr) 260px;gap:22px;margin-bottom:22px;padding:22px;border:1px solid #d6e3d5;background:#fff;box-shadow:0 14px 34px rgba(31,54,35,.075)}.wuxia-dossier-cover img{width:210px;aspect-ratio:2/3;object-fit:cover;object-position:center top;border:1px solid #d9e6d8;background:#eef5ec;box-shadow:0 10px 24px rgba(31,54,35,.15)}.wuxia-dossier-byline{margin:0 0 14px;color:#5d6d61}.wuxia-dossier-stats,.wuxia-status-ledger{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.wuxia-dossier-stats div,.wuxia-status-ledger div{padding:11px 12px;border:1px solid #dfeadf;background:#f8fbf5}.wuxia-dossier-stats dt,.wuxia-status-ledger dt{margin:0 0 5px;color:#69786c;font-size:12px;font-weight:900;text-transform:uppercase}.wuxia-dossier-stats dd,.wuxia-status-ledger dd{margin:0;color:#1f2d23;font-size:15px;font-weight:900}.wuxia-latest-scroll{padding:12px 14px;margin-bottom:14px;border-left:4px solid #9a3a24;background:#fff5ee}.wuxia-latest-scroll span{display:block;color:#9a3a24;font-size:12px;font-weight:900;text-transform:uppercase}.wuxia-latest-scroll a{display:block;margin-top:5px;font-weight:900}.wuxia-mark-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.wuxia-mark-list a,.wuxia-mark-list span{display:inline-flex;min-height:28px;align-items:center;padding:0 9px;border:1px solid #d9e6d8;background:#f8fbf5;color:#405246;font-size:12px;font-weight:900}.wuxia-dossier-actions,.bookoperate,.down-actions{display:flex;flex-wrap:wrap;gap:9px}.wuxia-dossier-actions a,.bookoperate a,.down-actions a,.btn,.auth-submit,.realm-path-dossier,.martial-read,.completed-details,.search-submit{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 14px;border:1px solid #d5e1d5;background:#f8fbf5;color:#27362a;font-weight:900;box-sizing:border-box}.wuxia-dossier-actions .wuxia-primary-action,.btn-primary,.btn-success,.auth-submit,.realm-path-dossier,.martial-read,.completed-details,.search-submit{border-color:#23513d;background:#23513d;color:#fff!important}.btn-danger,.btn-warning{border-color:#9a3a24;background:#9a3a24;color:#fff!important}.wuxia-dossier-layout,.search-results-layout,.review-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.wuxia-panel,.wuxia-side-card,.review-card,.review-side-panel{margin-bottom:22px}.wuxia-panel .novelintro,.wuxia-panel-body,.review-card .review-body,.search-results-body{padding:16px 18px}.novelintro{color:#344238;font-size:15px;line-height:1.85}.wuxia-path-grid,.scroll-suggestions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}.wuxia-path-card,.scroll-suggestion-card{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:12px;border:1px solid #dfeadf;background:#f8fbf5}.wuxia-path-cover img{width:72px;aspect-ratio:2/3}.wuxia-path-main h3,.scroll-suggestion-main h3{margin:3px 0 5px;font-size:16px;line-height:1.25}.wuxia-path-main p,.scroll-suggestion-main p{margin:0;color:#5f6f63;font-size:12px;line-height:1.5}.wuxia-path-reason,.scroll-suggestion-reason{color:#9a3a24;font-size:11px;font-weight:900;text-transform:uppercase}.wuxia-scroll-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;border-bottom:1px solid #edf3ec}.wuxia-scroll-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:8px 18px 14px}.wuxia-scroll-list li{border-bottom:1px solid #edf3ec}.wuxia-scroll-list a{display:flex;justify-content:space-between;gap:12px;padding:10px 0;color:#27362a}.chapter-date{color:#718074;font-size:12px;white-space:nowrap}.chapter-list-pagination,.pagination{display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding:16px 0}.chapter-list-pagination a,.pagination a,.pagination span{display:inline-flex;min-width:34px;height:32px;align-items:center;justify-content:center;padding:0 8px;border:1px solid #d8e5d8;background:#fff;color:#314535;font-size:13px;font-weight:900;box-sizing:border-box}.chapter-list-pagination .current,.pagination .current{background:#23513d;color:#fff}.category-filter-panel,.rank-filter{margin-bottom:16px;padding:14px 16px;border:1px solid #d6e3d5;background:#fff}.category-filter-row{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;align-items:start;padding:8px 0}.category-filter-row h3,.rank-filter>span{margin:0;color:#465349;font-size:13px;font-weight:900;text-transform:uppercase}.category-filter-links,.rank-filter-links{display:flex;flex-wrap:wrap;gap:8px}.category-filter-links a,.rank-filter-links a{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid #d8e5d8;background:#f8fbf5;color:#405246;font-size:13px;font-weight:900}.category-filter-links a.active,.rank-filter-links a.active{background:#23513d;border-color:#23513d;color:#fff}.realm-path-list,.martial-board,.completed-list{background:#fff}.realm-path-item,.completed-story-item{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:16px;align-items:start;padding:16px 18px;border-bottom:1px solid #edf3ec}.martial-entry{display:grid;grid-template-columns:44px 92px minmax(0,1fr) auto;gap:16px;align-items:start;padding:16px 18px;border-bottom:1px solid #edf3ec}.realm-path-cover img,.martial-cover img,.completed-cover img,.search-result-cover img{width:96px;aspect-ratio:2/3}.martial-cover img{width:92px}.realm-path-main h2,.martial-entry-main h3,.completed-story-main h3,.search-result-title{margin:0 0 8px;color:#17251c;font-size:20px;font-weight:900;line-height:1.25}.realm-path-meta,.martial-meta,.completed-meta,.search-result-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin-bottom:8px;color:#69786c;font-size:13px}.realm-path-intro,.martial-intro,.completed-intro,.search-result-intro{margin:0 0 10px;color:#455247;font-size:13px;line-height:1.65}.realm-path-last,.martial-last,.completed-last,.search-result-last{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#69786c;font-size:13px}.realm-path-last span,.martial-last span,.completed-last span{color:#9a3a24;font-weight:900;text-transform:uppercase}.martial-number.top{background:#9a3a24;color:#fff}.genre-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.search-content,.search-form-panel{padding:20px;border:1px solid #d6e3d5;background:#fff}.search-row,.search-form{display:flex;gap:10px}.search-input,.search-keyword,.search-form input.text{flex:1;box-sizing:border-box;height:44px;border:1px solid #d8e5d8;background:#fff;padding:0 12px}.search-results-layout{margin-top:16px}.search-result-list{padding:0}.search-result-item{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;padding:16px 18px;border-bottom:1px solid #edf3ec}.search-side-list,.archive-rank-list{padding:8px 14px 14px}.search-side-list li,.archive-rank-list li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid #edf3ec}.search-side-list i{display:flex;width:24px;height:24px;align-items:center;justify-content:center;background:#edf6ea;color:#27362a;font-style:normal;font-weight:900}.search-side-list i.first{background:#9a3a24;color:#fff}.review-list{padding:0 18px 18px}.review-item{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;padding:16px 0;border-bottom:1px solid #edf3ec}.avatar img{width:48px;height:48px;border-radius:50%;object-fit:cover}.review-title{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:7px;color:#657367;font-size:13px}.review-actions{margin-left:auto;display:flex;gap:8px}.review-actions a{display:inline-flex;gap:4px;color:#526253;font-weight:900}.review-content{color:#334436;font-size:14px;line-height:1.75}.addcomment,.review-form{padding:16px 18px}.addcomment textarea,.review-form textarea,.text{box-sizing:border-box;max-width:100%;border:1px solid #d8e5d8;background:#fff;color:#223025;padding:10px 12px;outline:none}textarea.text{width:100%;min-height:110px;resize:vertical}.scroll-topbar{position:sticky;top:0;z-index:25;border-bottom:1px solid #d6e3d5;background:#fbfdf8;box-shadow:0 5px 18px rgba(31,54,35,.08)}.scroll-topbar-inner{display:grid;grid-template-columns:190px minmax(0,1fr) auto;gap:18px;align-items:center;max-width:1180px;margin:0 auto;padding:10px 0}.scroll-stage{max-width:980px;margin:22px auto 44px;background:#fff;border:1px solid #d6e3d5;box-shadow:0 14px 34px rgba(31,54,35,.075)}.scroll-title{padding:28px 42px 0}.scroll-title h1{margin:0;color:#17251c;font-size:30px;font-weight:900;line-height:1.25}.scroll-title .info{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:12px;color:#657367;font-size:13px}.scroll-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;margin:22px 42px 0;padding:10px;border:1px solid #d9e6d8;background:#f8fbf5}.scroll-nav-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 12px;border:1px solid #d8e5d8;background:#fff;color:#27362a;font-size:13px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scroll-nav.reader-nav-docked{position:fixed;left:50%;top:0;z-index:20;width:min(920px,calc(100vw - 24px));margin:0;transform:translateX(-50%);box-shadow:0 8px 22px rgba(31,54,35,.16)}.scroll-nav.reader-nav-hidden{transform:translate(-50%,-110%);opacity:0;pointer-events:none}.scroll-tools,.scroll-context-note,.scroll-bottom-note,.readingTips{margin:18px 42px 0;padding:12px 14px;border:1px solid #dfeadf;background:#f8fbf5;color:#536058;font-size:13px;line-height:1.65}.scroll-tools{display:flex;align-items:center;justify-content:space-between;border-left:4px solid #9a3a24;background:#fff5ee}.scroll-tools-label{color:#9a3a24;font-size:12px;font-weight:900;text-transform:uppercase}.scroll-font-tools{display:flex;align-items:center;gap:8px}.reader-font-btn,.reader-font-reset{height:30px;border:1px solid #d8e5d8;background:#fff;color:#27362a;font-weight:900;cursor:pointer}.scroll-stage .content{padding:24px 42px;color:#202820;font-size:15px;line-height:1.78}.scroll-stage .operate{margin:18px 42px}.scroll-chapter-nav ul,.operate ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.scroll-chapter-nav a,.scroll-chapter-nav button,.operate a,.operate button{display:flex;width:100%;min-height:40px;align-items:center;justify-content:center;border:1px solid #d8e5d8;background:#fff;color:#27362a;font-weight:900;box-sizing:border-box}.scroll-suggestions{margin:22px 42px;border:1px solid #d9e6d8;background:#f8fbf5}.scroll-suggestions-head{padding:14px 16px;border-bottom:1px solid #dfeadf}.scroll-suggestions-head h2{margin:0;font-size:19px}.scroll-suggestion-cover img{width:64px;aspect-ratio:2/3}.reader-chapter-modal[hidden]{display:none}.reader-chapter-modal{position:fixed;inset:0;z-index:100}.reader-chapter-modal-backdrop{position:absolute;inset:0;background:rgba(16,26,19,.55)}.reader-chapter-modal-panel{position:absolute;left:50%;top:6vh;transform:translateX(-50%);width:min(860px,calc(100vw - 24px));max-height:88vh;background:#fff;border:1px solid #d6e3d5;box-shadow:0 24px 60px rgba(0,0,0,.25);display:flex;flex-direction:column}.reader-chapter-modal-head,.reader-chapter-modal-tools{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e5eee4}.reader-chapter-modal-body{padding:14px 16px;overflow:auto}.reader-chapter-dialog-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reader-chapter-dialog-list a{display:block;padding:9px 10px;border:1px solid #edf3ec;background:#f8fbf5}.site-inline-share{margin:18px 42px;padding:12px;border:1px solid #dfeadf;background:#f8fbf5}.site-inline-share-list{display:flex;flex-wrap:wrap;gap:8px}.site-inline-share-option{min-height:32px;border:1px solid #d8e5d8;background:#fff;color:#27362a;font-weight:900;cursor:pointer}.auth-page{background:#eef3ea}.auth-shell{max-width:980px;margin:0 auto;padding:28px 0 44px}.auth-panel{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.auth-card,.auth-side{border:1px solid #d6e3d5;background:#fff;box-shadow:0 12px 30px rgba(31,54,35,.07)}.auth-head{padding:22px 24px;border-bottom:1px solid #e5eee4}.auth-head h1{margin:0 0 8px;font-size:28px;font-weight:900}.auth-head p,.auth-side p{margin:0;color:#607064;line-height:1.7}.auth-form{padding:22px 24px}.auth-field{position:relative;display:block;margin-bottom:14px;color:#415144;font-weight:900}.auth-field span{display:block;margin-bottom:7px}.auth-field input.text{width:100%;height:42px}.auth-code-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:8px}.auth-code-btn{border:1px solid #23513d;background:#23513d;color:#fff;font-weight:900}.auth-submit{width:100%;height:44px;border:0;cursor:pointer}.auth-switch{margin-top:14px;color:#607064}.auth-side{padding:22px}.auth-oauth{display:grid;gap:10px;margin-top:14px}.auth-email-suggest{display:none;position:absolute;left:0;right:0;top:100%;z-index:5;border:1px solid #d6e3d5;background:#fff;box-shadow:0 12px 28px rgba(31,54,35,.12)}.auth-email-suggest.is-open{display:block}.auth-email-option{display:block;width:100%;padding:8px 10px;border:0;background:#fff;text-align:left}.auth-email-option.is-active,.auth-email-option:hover{background:#edf6ea}@media(max-width:980px){.w-all,.realm-home,.wuxia-dossier-shell,.category-list-shell,.rank-shell,.completed-shell,.genre-page,.search-shell,.search-results-shell,.review-shell{width:auto;margin-left:12px;margin-right:12px}.wuxia-topbar{grid-template-columns:1fr auto;min-height:auto;padding:12px 0}.wuxia-search{grid-column:1/-1;order:3}.wuxia-actions{display:none}.wuxia-mobile-actions{display:flex;gap:8px;justify-content:flex-end}.wuxia-nav ul{overflow-x:auto}.wuxia-nav a{white-space:nowrap}.realm-gateway,.realm-grid-split,.wuxia-dossier,.wuxia-dossier-layout,.search-results-layout,.review-layout,.auth-panel{grid-template-columns:1fr}.wuxia-dossier{grid-template-columns:150px minmax(0,1fr)}.wuxia-dossier-side{grid-column:1/-1}.wuxia-dossier-cover img{width:150px}.completed-path-grid,.genre-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.realm-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.scroll-topbar-inner{grid-template-columns:160px minmax(0,1fr);padding:10px 12px}.scroll-stage{margin:14px 12px 34px}}@media(max-width:640px){body{font-size:13px}.w-all,.realm-home,.wuxia-dossier-shell,.category-list-shell,.rank-shell,.completed-shell,.genre-page,.search-shell,.search-results-shell,.review-shell{margin-left:10px;margin-right:10px;padding-bottom:28px}.wuxia-brand-link{font-size:22px}.wuxia-search.searchbox{grid-template-columns:1fr 76px}.wuxia-search .dropmenu{display:none}.realm-gateway{grid-template-columns:1fr;padding:18px}.realm-gateway h1,.archive-hero h1,.wuxia-dossier-main h1,.category-list-title h1,.rank-head h1,.updates-head h1,.search-hero h1{font-size:26px}.realm-gate-map,.sect-board,.wuxia-dossier-stats,.wuxia-status-ledger,.wuxia-path-grid,.scroll-suggestions-grid{grid-template-columns:1fr}.sect-entry,.sect-entry:first-child{min-height:230px;grid-column:auto;grid-row:auto}.completed-path-grid,.genre-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.realm-directory-grid{grid-template-columns:1fr}.breakthrough-list li{grid-template-columns:1fr;gap:4px}.breakthrough-time{text-align:left}.wuxia-dossier{grid-template-columns:1fr;padding:16px}.wuxia-dossier-cover img{width:132px}.wuxia-scroll-list{grid-template-columns:1fr}.category-filter-row{grid-template-columns:1fr;gap:8px}.realm-path-item,.completed-story-item{grid-template-columns:74px minmax(0,1fr);gap:12px;padding:14px}.martial-entry{grid-template-columns:34px 74px minmax(0,1fr);gap:10px;padding:14px}.realm-path-cover img,.martial-cover img,.completed-cover img,.search-result-cover img{width:74px}.realm-path-dossier,.martial-read,.completed-details{grid-column:1/-1;justify-content:center}.scroll-topbar-inner{display:block}.scroll-topbar .searchbox{margin-top:10px}.scroll-title,.scroll-stage .content{padding-left:18px;padding-right:18px}.scroll-title h1{font-size:24px}.scroll-nav,.scroll-tools,.scroll-context-note,.scroll-bottom-note,.readingTips,.scroll-stage .operate,.scroll-suggestions,.site-inline-share{margin-left:18px;margin-right:18px}.scroll-nav,.scroll-chapter-nav ul,.operate ul{grid-template-columns:1fr}.scroll-tools{display:block}.scroll-font-tools{margin-top:10px}.reader-chapter-dialog-list{grid-template-columns:1fr}.search-result-item,.review-item{grid-template-columns:1fr}.auth-shell{margin:0 10px}.auth-code-row{grid-template-columns:1fr}}

.archive-breadcrumb{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:#69786c;font-size:13px;line-height:24px}.archive-directory-shell,.archive-rank-shell,.archive-completed-shell,.archive-genre-page,.archive-search-shell,.archive-review-shell{max-width:1180px;margin:0 auto;padding:22px 0 44px;box-sizing:border-box}.archive-filter-panel{margin-bottom:16px;padding:14px 16px;border:1px solid #d6e3d5;background:#fff}.archive-filter-row{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;align-items:start;padding:8px 0}.archive-filter-row h3,.archive-filter-panel>span{margin:0;color:#465349;font-size:13px;font-weight:900;text-transform:uppercase}.archive-filter-links{display:flex;flex-wrap:wrap;gap:8px}.archive-filter-links a{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid #d8e5d8;background:#f8fbf5;color:#405246;font-size:13px;font-weight:900}.archive-filter-links a.active{background:#23513d;border-color:#23513d;color:#fff}.archive-list-panel,.archive-rank-panel,.archive-search-panel,.archive-review-panel,.archive-side-panel,.archive-panel{border:1px solid #d6e3d5;background:#fff;box-shadow:0 8px 22px rgba(31,54,35,.055);margin-bottom:22px}.archive-rank-head,.archive-hero,.updates-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:16px;padding:22px;border:1px solid #d6e3d5;background:#fff}.archive-list-title,.archive-panel-head,.archive-review-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e5eee4}.archive-list-title h1,.archive-list-title h2,.archive-panel-head h2,.archive-panel-head h3,.archive-review-head h1{margin:0;color:#17251c;font-size:20px;font-weight:900;line-height:1.25}.archive-panel-body{padding:16px 18px}.archive-rank-list{padding:8px 14px 14px}.archive-rank-list li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid #edf3ec}.archive-rank-list i{display:flex;width:24px;height:24px;align-items:center;justify-content:center;background:#edf6ea;color:#27362a;font-style:normal;font-weight:900}.archive-rank-list i.first{background:#9a3a24;color:#fff}.archive-tabs .archive-tab-nav ul{display:flex}.archive-tabs .archive-tab-nav li{padding:0 14px;line-height:42px;color:#405246;font-weight:900;cursor:pointer}.archive-tabs .archive-tab-nav li.active{color:#9a3a24}.archive-tab-content ul.none{display:none!important}.archive-comment-list{padding:0 18px 18px}.archive-comment-list li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;padding:16px 0;border-bottom:1px solid #edf3ec}.archive-comment-list .title{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:7px;color:#657367;font-size:13px}.archive-comment-list .content{color:#334436;font-size:14px;line-height:1.75}.archive-two-column{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.archive-pagination{display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding:16px 0}.archive-pagination a,.archive-pagination span{display:inline-flex;min-width:34px;height:32px;align-items:center;justify-content:center;padding:0 8px;border:1px solid #d8e5d8;background:#fff;color:#314535;font-size:13px;font-weight:900;box-sizing:border-box}.archive-pagination .current{background:#23513d;color:#fff}.archive-center{text-align:center}.archive-copyright{color:#bacaba}.site-inline-share,.reader-inline-share,.wuxia-inline-share{box-sizing:border-box}@media(max-width:980px){.archive-directory-shell,.archive-rank-shell,.archive-completed-shell,.archive-genre-page,.archive-search-shell,.archive-review-shell{width:auto;margin-left:12px;margin-right:12px}.archive-two-column{grid-template-columns:1fr}}@media(max-width:640px){.archive-directory-shell,.archive-rank-shell,.archive-completed-shell,.archive-genre-page,.archive-search-shell,.archive-review-shell{margin-left:10px;margin-right:10px;padding-bottom:28px}.archive-filter-row{grid-template-columns:1fr}.archive-comment-list li{grid-template-columns:1fr}}

html,body{max-width:100%;overflow-x:hidden}.wuxia-nav-wrap,.wuxia-nav{overflow:hidden}.wuxia-nav ul{max-width:100%;overflow-x:auto;scrollbar-width:none}.wuxia-nav ul::-webkit-scrollbar{display:none}.ad-placement iframe,.ad-placement div[id=frame],.ad-placement #frame{max-width:100%!important;width:100%!important}.breakthrough-list li>*{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.realm-grid-split,.breakthrough-feed,.sect-rankings{min-width:0}.wuxia-search,.wuxia-topbar,.scroll-topbar-inner{min-width:0}
.archive-download-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start;margin-top:18px}.archive-download-main,.archive-download-side{min-width:0}.archive-download-dossier{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:18px;align-items:start}.archive-download-facts ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.archive-download-facts li{padding:10px 12px;border:1px solid #dfeadf;background:#f8fbf5;color:#405246}.archive-download-cover img{width:150px;aspect-ratio:2/3;object-fit:cover;border:1px solid #d9e6d8}.archive-download-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.archive-download-body{max-height:320px;overflow:auto;color:#344238;font-size:14px;line-height:1.75}.archive-download-title{margin:10px 0 8px;color:#9a3a24;font-weight:900;text-transform:uppercase}.archive-download-row{display:grid;grid-template-columns:minmax(0,1.4fr) 90px 110px 110px 120px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf3ec}.archive-download-row li{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.archive-rating-box{line-height:1.9}.archive-cover-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.archive-cover-grid li{text-align:center}.archive-cover-grid img{width:100%;aspect-ratio:2/3;object-fit:cover;border:1px solid #d9e6d8;background:#eef5ec}.archive-cover-grid .name{display:block;margin-top:8px;font-weight:900;line-height:1.35}.archive-panel-head>a{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.archive-panel-head>a span{color:#69786c!important;font-size:13px!important}.archive-comment-list .title>span[data-id]{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.addcomment form{display:grid;gap:10px}.addcomment form .btn{justify-self:start}@media(max-width:980px){.archive-download-layout{grid-template-columns:1fr}.archive-cover-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:640px){.archive-download-dossier,.archive-download-facts ul,.archive-download-row{grid-template-columns:1fr}.archive-download-cover img{width:132px}.archive-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-comment-list .title>span[data-id]{margin-left:0}}

.archive-download-layout{display:block}.archive-download-layout>div:first-child{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.archive-download-layout>.archive-panel,.archive-download-layout>.seofooter{margin-top:22px}@media(max-width:980px){.archive-download-layout>div:first-child{grid-template-columns:1fr}}

.mobile-header-toggle{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.archive-breadcrumb ul{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.archive-breadcrumb li{display:flex;align-items:center;gap:8px}.archive-breadcrumb .icon{color:#9aac9b}

/* Homepage archive layout correction */
body .realm-home{padding-top:18px}
body .realm-gateway{grid-template-columns:minmax(0,1fr) minmax(340px,.82fr);gap:20px;align-items:center;margin-bottom:22px;padding:24px}
body .realm-gateway-copy{min-height:0}
body .realm-gateway h1{max-width:620px;margin:10px 0 10px;font-size:32px;line-height:1.14}
body .realm-gateway p{max-width:650px}
body .realm-gate-map{align-self:stretch;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body .realm-gate-map a{min-width:0;min-height:84px;padding:13px}
body .realm-grid-split{grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:20px;align-items:start}
body .sect-board{grid-template-columns:minmax(0,1.08fr) repeat(2,minmax(0,.96fr));gap:10px;padding:14px}
body .sect-entry{min-width:0}
body .sect-entry img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body .sect-entry:first-child{min-height:340px}
body .breakthrough-feed{overflow:hidden}
body .breakthrough-list{padding:7px 14px 13px}
body .breakthrough-list li{grid-template-columns:minmax(0,1.02fr) minmax(0,1.32fr) minmax(0,.82fr) 42px;gap:9px;min-width:0}
body .breakthrough-list li>*{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .breakthrough-list a{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .breakthrough-time{width:42px;text-align:right}
body .completed-path-grid{min-height:128px;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;padding:16px}
body .completed-path img{background:#edf4ec}
body .completed-path span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .realm-directory-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
body .realm-directory-grid a{min-width:0}
.search-side-list li,.archive-rank-list li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid #edf3ec}
.search-side-list i,.archive-rank-list i{display:flex;width:24px;height:24px;align-items:center;justify-content:center;background:#edf6ea;color:#27362a;font-style:normal;font-weight:900}
.search-side-list i.first,.archive-rank-list i.first{background:#9a3a24;color:#fff}
.review-item,.archive-comment-list li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;padding:16px 0;border-bottom:1px solid #edf3ec}
.review-title,.archive-comment-list .title{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:7px;color:#657367;font-size:13px}
.review-actions a,.archive-comment-list .title span[data-id] a{display:inline-flex;gap:4px;color:#526253;font-weight:900}
.review-content,.archive-comment-list .content{color:#334436;font-size:14px;line-height:1.75}
@media(max-width:980px){
  body .realm-home{padding-top:14px}
  body .realm-gateway{grid-template-columns:1fr;padding:22px}
  body .realm-gateway h1{font-size:30px}
  body .realm-grid-split{grid-template-columns:1fr}
  body .sect-board{grid-template-columns:1.2fr repeat(2,minmax(0,1fr))}
  body .sect-entry:first-child{grid-row:span 2;grid-column:auto;min-height:300px}
  body .breakthrough-list li{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,.8fr) 42px}
  body .completed-path-grid{grid-template-columns:repeat(4,minmax(0,1fr));min-height:120px}
  body .realm-directory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Dark chapter reader */
html{background:#101010}
body.readpage{background:#101010;color:#cfcfcf;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif}
body.readpage a{color:#2d9cdb}
body.readpage a:hover{color:#6bc3ff}
body.readpage .scroll-topbar{position:sticky;top:0;z-index:40;border-bottom:1px solid #272727;background:#111;box-shadow:none}
body.readpage .scroll-topbar-inner{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:10px;align-items:center;max-width:820px;min-height:46px;margin:0 auto;padding:7px 0}
body.readpage .site-logo-text{display:block;color:#f05c5c!important;font-size:20px;font-weight:900;line-height:1}
body.readpage .logo:after{content:"Chapter reader";display:block;margin-top:2px;color:#777;font-size:10px;line-height:1}
body.readpage .searchbox form{display:grid;grid-template-columns:minmax(0,1fr) 70px;border:1px solid #303030;border-radius:16px;background:#1a1a1a;overflow:hidden}
body.readpage .searchbox .text{height:30px;border:0;background:#1a1a1a;color:#d8d8d8;font-size:12px;padding:0 12px}
body.readpage .searchbox .searchbtn{height:30px;border:0;border-left:1px solid #303030;background:#222;color:#dedede;font-size:11px;font-weight:800}
body.readpage .frame-operate{display:flex;justify-content:flex-end}
body.readpage .reader-top-btn{min-height:30px;padding:0 10px;border:1px solid #333;border-radius:4px;background:#1b1b1b;color:#d8d8d8!important;font-size:11px;font-weight:800}
body.readpage .reader-top-btn.active{border-color:#2087c6;color:#fff!important}
body.readpage .scroll-reader{max-width:none;margin:0;padding:0}
body.readpage .scroll-stage{max-width:820px;margin:14px auto 36px;border:0;background:#101010;box-shadow:none}
body.readpage .scroll-stage article,body.readpage .scroll-suggestions,body.readpage .archive-panel,body.readpage .readingTips,body.readpage .site-inline-share,body.readpage .ad-placement{box-sizing:border-box;max-width:100%}
body.readpage .scroll-title{padding:14px 0 0;text-align:center}
body.readpage .scroll-title h1{margin:0 auto;color:#e9e9e9;font-size:22px;font-weight:800;line-height:1.28}
body.readpage .scroll-title h1 a{color:#e9e9e9}
body.readpage .scroll-title .info{justify-content:center;gap:6px 12px;margin-top:8px;color:#828282;font-size:11px}
body.readpage .scroll-title .info span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.readpage .scroll-nav,body.readpage .scroll-chapter-nav ul,body.readpage .operate ul{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.92fr) minmax(0,1fr);gap:8px;align-items:center}
body.readpage .scroll-nav{position:static;margin:12px 0 0;padding:0;border:0;background:transparent}
body.readpage .scroll-nav.reader-nav-docked{position:fixed;left:50%;top:0;z-index:39;width:min(820px,calc(100vw - 20px));margin:0;padding:8px 0;background:#111;transform:translateX(-50%);box-shadow:0 8px 18px rgba(0,0,0,.38)}
body.readpage .scroll-nav.reader-nav-hidden{transform:translate(-50%,-110%);opacity:0;pointer-events:none}
body.readpage .scroll-nav.reader-nav-visible{transform:translate(-50%,0);opacity:1}
body.readpage .scroll-nav-link,body.readpage .scroll-chapter-nav a,body.readpage .scroll-chapter-nav button,body.readpage .operate a,body.readpage .operate button{display:flex;min-width:0;width:100%;min-height:32px;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;border:1px solid #1f5f8f;border-radius:3px;background:#2087c6;color:#fff!important;font-size:12px;font-weight:800;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
body.readpage .scroll-dir,body.readpage .reader-bottom-dialog-open{background:#1b1b1b!important;border-color:#333!important;color:#e4e4e4!important}
body.readpage .scroll-prev,body.readpage .scroll-next{background:#126da7}
body.readpage .scroll-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 0;padding:8px 10px;border:1px solid #292929;border-left:0;background:#151515;color:#888}
body.readpage .scroll-tools-label{color:#8a8a8a;font-size:11px;font-weight:800;text-transform:none}
body.readpage .scroll-font-tools{display:flex;align-items:center;gap:6px}
body.readpage .reader-font-btn,body.readpage .reader-font-reset{height:26px;min-width:30px;border:1px solid #333;background:#1b1b1b;color:#d6d6d6;font-size:11px;font-weight:800}
body.readpage .reader-font-size{color:#888;font-size:11px}
body.readpage .ad-placement{margin:12px 0;padding:10px;border:1px solid #292929;background:#151515;color:#858585;text-align:center;overflow:hidden}
body.readpage .ad-placement iframe,body.readpage .ad-placement img,body.readpage .ad-placement ins{max-width:100%!important}
body.readpage .scroll-context-note,body.readpage .scroll-bottom-note,body.readpage .readingTips{margin:12px 0 0;padding:10px 12px;border:1px solid #282828;background:#151515;color:#888;font-size:12px;line-height:1.55}
body.readpage .scroll-context-note strong{color:#d6d6d6}
body.readpage #chaptercontent,body.readpage .scroll-stage .content{box-sizing:border-box;max-width:100%;padding:16px 0;color:#d6d6d6;font-size:15px;line-height:1.72;overflow-wrap:anywhere;word-break:break-word}
body.readpage #chaptercontent p{margin:0 0 1.05em;color:#d6d6d6}
body.readpage .site-inline-share{margin:10px 0 0;padding:10px;border:1px solid #282828;background:#151515}
body.readpage .site-inline-share-label{margin-bottom:8px;color:#888;font-size:11px}
body.readpage .site-inline-share-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
body.readpage .site-inline-share-option{min-height:28px;min-width:0;border:0;border-radius:2px;color:#fff;font-size:0;font-weight:800;cursor:pointer}
body.readpage .site-inline-share-option span{font-size:0}
body.readpage .site-inline-share-option i{font-size:12px}
body.readpage .share-facebook{background:#35589a}
body.readpage .share-twitter{background:#111;border:1px solid #444}
body.readpage .share-reddit{background:#ef5b2a}
body.readpage .share-whatsapp{background:#168b4a}
body.readpage .share-telegram{background:#229ed9}
body.readpage .share-copy{background:#6a9f22}
body.readpage .scroll-stage .operate{margin:12px 0 0}
body.readpage .readingTips{font-size:11px}
body.readpage .scroll-suggestions{margin:18px 0 0;border:1px solid #282828;background:#151515}
body.readpage .scroll-suggestions-head{padding:11px 12px;border-bottom:1px solid #282828;background:#151515}
body.readpage .scroll-suggestions-head h2{margin:0;color:#e5e5e5;font-size:17px;font-weight:800}
body.readpage .scroll-suggestions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}
body.readpage .scroll-suggestion-card{display:grid;grid-template-columns:56px minmax(0,1fr);gap:9px;min-width:0;padding:8px;border:1px solid #282828;background:#101010}
body.readpage .scroll-suggestion-cover img{display:block;width:56px;height:78px;object-fit:cover;object-position:center top;border:0;background:#222}
body.readpage .scroll-suggestion-main{min-width:0}
body.readpage .scroll-suggestion-reason{color:#2d9cdb;font-size:10px;font-weight:900;text-transform:uppercase}
body.readpage .scroll-suggestion-main h3{margin:3px 0 4px;font-size:13px;line-height:1.25}
body.readpage .scroll-suggestion-main h3 a{display:-webkit-box;color:#2d9cdb;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.readpage .scroll-suggestion-meta,body.readpage .scroll-suggestion-intro{margin:0;color:#777;font-size:11px;line-height:1.35}
body.readpage .scroll-suggestion-intro{display:none}
body.readpage .archive-panel.commentarea{margin:18px 0 0;border:1px solid #282828;background:#151515;box-shadow:none}
body.readpage .archive-panel-head{padding:11px 12px;border-bottom:1px solid #282828;background:#151515}
body.readpage .archive-panel-head a{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;color:#e5e5e5}
body.readpage .archive-panel-head h3{margin:0;color:#e5e5e5;font-size:17px}
body.readpage .archive-panel-head span{color:#777!important;font-size:12px!important}
body.readpage .archive-panel-body{padding:0 12px 12px}
body.readpage .archive-comment-list{padding:0}
body.readpage .archive-comment-list li{display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px;padding:10px 0;border-bottom:1px solid #262626}
body.readpage .avatar img{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#222}
body.readpage .archive-comment-list .title{color:#777;font-size:11px}
body.readpage .archive-comment-list .content{color:#c7c7c7;font-size:12px;line-height:1.55}
body.readpage .addcomment{padding:12px 0}
body.readpage .tips{color:#888}
body.readpage textarea.text{border-color:#333;background:#101010;color:#ddd}
body.readpage .btn-success{border-color:#2087c6;background:#2087c6;color:#fff!important}
body.readpage .reader-chapter-modal-backdrop{background:rgba(0,0,0,.72)}
body.readpage .reader-chapter-modal-panel{width:min(760px,calc(100vw - 20px));max-height:88vh;border:1px solid #333;background:#151515;color:#d5d5d5;box-shadow:0 24px 60px rgba(0,0,0,.55)}
body.readpage .reader-chapter-modal-head,body.readpage .reader-chapter-modal-tools{padding:12px;border-bottom:1px solid #292929;background:#151515}
body.readpage .reader-chapter-modal-head h2{margin:0;color:#e7e7e7;font-size:18px}
body.readpage .reader-chapter-modal-close{border:0;background:#222;color:#d6d6d6;font-size:22px}
body.readpage .reader-chapter-modal-tools{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px}
body.readpage .reader-chapter-search-wrap{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;min-width:0;border:1px solid #333;background:#101010;padding:0 8px;color:#777}
body.readpage .reader-chapter-search{height:32px;border:0;background:transparent;color:#ddd;outline:none}
body.readpage .reader-chapter-bookmark,body.readpage .reader-chapter-sort,body.readpage .reader-chapter-page-size{height:34px;border:1px solid #333;background:#1b1b1b;color:#ddd;font-size:12px}
body.readpage .reader-chapter-modal-body{padding:10px 12px;background:#101010}
body.readpage .reader-chapter-dialog-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
body.readpage .reader-chapter-dialog-list a{display:grid;grid-template-columns:34px minmax(0,1fr);gap:6px;min-width:0;padding:8px;border:1px solid #282828;background:#151515;color:#d5d5d5}
body.readpage .reader-chapter-dialog-list .is-current a{border-color:#2087c6;background:#10202b;color:#fff}
body.readpage .reader-chapter-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.readpage .reader-chapter-order{color:#777}
body.readpage .reader-chapter-dialog-pagination{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;border-top:1px solid #292929;background:#151515}
body.readpage .reader-chapter-dialog-pagination button{min-width:32px;height:30px;border:1px solid #333;background:#1b1b1b;color:#d5d5d5}
body.readpage .reader-chapter-dialog-pagination .is-current{border-color:#2087c6;background:#2087c6;color:#fff}
body.readpage .wuxia-site-footer{margin-top:30px}
@media(max-width:980px){
  body.readpage .scroll-topbar-inner,body.readpage .scroll-stage{width:auto;max-width:none;margin-left:14px;margin-right:14px}
}
@media(max-width:640px){
  body.readpage{font-size:13px}
  body.readpage .scroll-topbar-inner{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0;padding:8px 10px}
  body.readpage .site-logo-text{font-size:21px}
  body.readpage .logo:after{font-size:10px}
  body.readpage .searchbox{grid-column:1/-1;order:3}
  body.readpage .searchbox form{grid-template-columns:minmax(0,1fr) 68px;border-radius:3px}
  body.readpage .frame-operate{order:2}
  body.readpage .reader-top-btn{min-width:42px;height:30px;padding:0 8px;font-size:0}
  body.readpage .reader-top-btn i{font-size:12px}
  body.readpage .scroll-stage{margin:12px 10px 30px}
  body.readpage .scroll-title{padding-top:8px;text-align:left}
  body.readpage .scroll-title h1{font-size:18px;text-align:left}
  body.readpage .scroll-title .info{justify-content:flex-start;font-size:10px}
  body.readpage .scroll-nav,body.readpage .scroll-chapter-nav ul,body.readpage .operate ul{grid-template-columns:minmax(0,1fr) minmax(86px,.9fr) minmax(0,1fr);gap:6px}
  body.readpage .scroll-nav-link,body.readpage .scroll-chapter-nav a,body.readpage .scroll-chapter-nav button,body.readpage .operate a,body.readpage .operate button{min-height:30px;padding:0 7px;font-size:11px}
  body.readpage .scroll-dir span,body.readpage .reader-bottom-dialog-open span{font-size:0}
  body.readpage .scroll-dir span:before,body.readpage .reader-bottom-dialog-open span:before{content:"Chapters";font-size:11px}
  body.readpage .scroll-tools{display:grid;grid-template-columns:auto minmax(0,1fr);padding:8px}
  body.readpage .scroll-font-tools{justify-content:flex-end;gap:5px}
  body.readpage #chaptercontent,body.readpage .scroll-stage .content{padding:14px 0;font-size:15px;line-height:1.7}
  body.readpage .site-inline-share-list{grid-template-columns:repeat(6,minmax(0,1fr))}
  body.readpage .scroll-suggestions-grid{grid-template-columns:1fr}
  body.readpage .archive-comment-list li{grid-template-columns:32px minmax(0,1fr)}
  body.readpage .reader-chapter-modal-panel{top:4vh;width:calc(100vw - 16px);max-height:92vh}
  body.readpage .reader-chapter-modal-tools{grid-template-columns:1fr 74px;align-items:stretch}
  body.readpage .reader-chapter-search-wrap{grid-column:1/-1}
  body.readpage .reader-chapter-bookmark{grid-column:1/-1}
  body.readpage .reader-chapter-dialog-list{grid-template-columns:1fr}
}

/* NovelFire-inspired dark novel info page */
body.wuxia-dossier-page .wuxia-dossier-shell{max-width:100%;margin:0;padding:0 0 46px}
body.wuxia-dossier-page .wuxia-crumb-trail{max-width:980px;margin:12px auto;color:#777}
body.wuxia-dossier-page .wuxia-dossier{position:relative;isolation:isolate;display:grid;grid-template-columns:310px minmax(0,1fr);gap:28px;align-items:center;max-width:none;margin:0 0 22px;padding:40px max(24px,calc((100vw - 980px)/2));border:0;background:#241b17;box-shadow:none;overflow:hidden}
body.wuxia-dossier-page .wuxia-dossier:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(16,16,16,.88),rgba(55,35,25,.84)),var(--book-cover);background-size:cover;background-position:center 25%;filter:saturate(1.08)}
body.wuxia-dossier-page .wuxia-dossier:after{content:"";position:absolute;inset:auto 0 0;z-index:-1;height:42%;background:linear-gradient(to top,#101010,rgba(16,16,16,0))}
body.wuxia-dossier-page .wuxia-dossier-cover img{width:310px;max-width:100%;border-radius:6px;box-shadow:0 22px 44px rgba(0,0,0,.42)}
body.wuxia-dossier-page .wuxia-dossier-kicker{margin-bottom:12px}
body.wuxia-dossier-page .wuxia-dossier-kicker a,body.wuxia-dossier-page .wuxia-dossier-kicker span{border:0;background:#2087c6;color:#fff;font-size:12px;text-transform:uppercase}
body.wuxia-dossier-page .wuxia-dossier-main h1{margin:0 0 8px;color:#f2f2f2;font-size:34px;line-height:1.12}
body.wuxia-dossier-page .wuxia-dossier-byline{margin:0 0 14px;color:#ddd;font-size:15px}
body.wuxia-dossier-page .wuxia-dossier-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 14px;border:0}
body.wuxia-dossier-page .wuxia-dossier-stats div{border:0;border-left:1px solid rgba(255,255,255,.3);background:transparent;padding:0 14px}
body.wuxia-dossier-page .wuxia-dossier-stats div:first-child{border-left:0;padding-left:0}
body.wuxia-dossier-page .wuxia-dossier-stats dt{color:#cfcfcf;font-size:12px;text-transform:none}
body.wuxia-dossier-page .wuxia-dossier-stats dd{color:#f1f1f1;font-size:21px;font-weight:900}
body.wuxia-dossier-page .wuxia-status-ledger{display:none}
body.wuxia-dossier-page .wuxia-latest-scroll{display:none}
body.wuxia-dossier-page .wuxia-mark-list{justify-content:flex-start;margin:0 0 16px;padding-top:4px}
body.wuxia-dossier-page .wuxia-mark-list:before{content:"Genres";display:block;flex-basis:100%;margin-bottom:7px;color:#cfcfcf;font-size:12px;letter-spacing:4px;text-transform:uppercase}
body.wuxia-dossier-page .wuxia-mark-list a,body.wuxia-dossier-page .wuxia-mark-list span{min-height:28px;border:0;border-radius:4px;background:#2087c6;color:#fff;font-size:12px;text-transform:uppercase}
body.wuxia-dossier-page .wuxia-inline-share{margin:0 0 16px;padding:0;border:0;background:transparent}
body.wuxia-dossier-page .wuxia-inline-share .site-inline-share-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
body.wuxia-dossier-page .wuxia-inline-share .site-inline-share-option{min-height:34px;border:0;border-radius:4px;color:#fff;font-size:0}
body.wuxia-dossier-page .wuxia-inline-share .site-inline-share-option span{font-size:0}
body.wuxia-dossier-page .wuxia-inline-share .site-inline-share-option i{font-size:13px}
body.wuxia-dossier-page .wuxia-inline-share .share-facebook{background:#4267b2}
body.wuxia-dossier-page .wuxia-inline-share .share-twitter{background:#000}
body.wuxia-dossier-page .wuxia-inline-share .share-reddit{background:#ff4500}
body.wuxia-dossier-page .wuxia-inline-share .share-whatsapp{background:#25d366}
body.wuxia-dossier-page .wuxia-inline-share .share-telegram{background:#229ed9}
body.wuxia-dossier-page .wuxia-inline-share .share-copy{background:#8cc63f}
body.wuxia-dossier-page .wuxia-hero-rating{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);gap:12px;align-items:center;margin:0 0 16px;padding:13px 14px;border:1px solid rgba(255,255,255,.16);border-radius:6px;background:rgba(12,12,12,.72);box-shadow:0 10px 24px rgba(0,0,0,.18);box-sizing:border-box}
body.wuxia-dossier-page .wuxia-hero-rating-main{display:flex;align-items:center;gap:12px;min-width:0}
body.wuxia-dossier-page .wuxia-hero-rating-main span{color:#d7d7d7;font-size:12px;font-weight:900;text-transform:uppercase;white-space:nowrap}
body.wuxia-dossier-page .wuxia-hero-rating .g-star{display:inline-flex;min-height:22px;align-items:center;gap:2px}
body.wuxia-dossier-page .wuxia-hero-rating dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
body.wuxia-dossier-page .wuxia-hero-rating dl div{padding:8px 10px;border:1px solid rgba(255,255,255,.1);border-radius:4px;background:#111}
body.wuxia-dossier-page .wuxia-hero-rating dt{margin:0 0 3px;color:#8f8f8f;font-size:10px;font-weight:900;text-transform:uppercase}
body.wuxia-dossier-page .wuxia-hero-rating dd{margin:0;color:#f1f1f1;font-size:15px;font-weight:900}
body.wuxia-dossier-page .wuxia-dossier-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.wuxia-dossier-page .wuxia-dossier-actions a{min-height:46px;border:0;border-radius:6px;background:#2f92cf;color:#fff!important;font-size:16px;font-weight:800}
body.wuxia-dossier-page .wuxia-dossier-actions a:nth-child(n+3){min-height:34px;background:#1b1b1b;border:1px solid #333;font-size:12px}
body.wuxia-dossier-page .nf-info-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:980px;margin:0 auto 26px}
body.wuxia-dossier-page .nf-info-quick-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:10px;align-items:center;min-height:96px;padding:18px;border:2px solid #888;border-radius:6px;background:#181818;color:#aaa;text-align:left;box-sizing:border-box;cursor:pointer}
body.wuxia-dossier-page .nf-info-quick-card:hover,body.wuxia-dossier-page .nf-info-quick-card.is-open{border-color:#2d9cdb}
body.wuxia-dossier-page .nf-info-quick-card i{grid-row:1/4;grid-column:2;color:#bdbdbd;font-size:34px;justify-self:center}
body.wuxia-dossier-page .nf-info-card-title{display:block;color:#bdbdbd;font-size:22px;font-weight:900;letter-spacing:4px;text-transform:uppercase}
body.wuxia-dossier-page .nf-info-card-main,body.wuxia-dossier-page .nf-info-card-sub{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.wuxia-dossier-page .nf-info-card-main{color:#888;font-size:14px}
body.wuxia-dossier-page .nf-info-card-sub{color:#777;font-size:13px}
body.wuxia-dossier-page .wuxia-dossier-layout{display:block;max-width:980px;margin:0 auto}
body.wuxia-dossier-page .wuxia-dossier-content{display:flex;flex-direction:column}
body.wuxia-dossier-page .wuxia-synopsis{order:1}
body.wuxia-dossier-page .wuxia-recommend{order:2}
body.wuxia-dossier-page .wuxia-scroll-archive{order:3}
body.wuxia-dossier-page .commentarea{order:4}
body.wuxia-dossier-page .wuxia-panel,body.wuxia-dossier-page .wuxia-side-card,body.wuxia-dossier-page .archive-panel{border-color:#282828;background:#181818}
body.wuxia-dossier-page .wuxia-panel{box-shadow:none}
body.wuxia-dossier-page .wuxia-panel-head{padding:14px 0 10px;margin:0 18px;border-bottom:1px solid #2a2a2a;background:transparent}
body.wuxia-dossier-page .wuxia-panel-head h2{color:#bdbdbd;font-size:25px}
body.wuxia-dossier-page .wuxia-panel .novelintro{padding:18px;color:#bdbdbd;font-size:16px;line-height:1.72}
body.wuxia-dossier-page .wuxia-scroll-archive.is-collapsed .wuxia-panel-body{display:none}
body.wuxia-dossier-page .chapter-panel-toggle{display:inline-flex;align-items:center;gap:7px;min-height:32px;border:1px solid #333;background:#202020;color:#d0d0d0;font-weight:800;cursor:pointer}
body.wuxia-dossier-page .wuxia-scroll-toolbar{padding:0 0 10px}
body.wuxia-dossier-page .chapter-view-toggle{min-width:32px;padding:0 8px}
body.wuxia-dossier-page .wuxia-recommend .wuxia-path-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px 14px;padding:4px 18px 20px}
body.wuxia-dossier-page .wuxia-recommend .wuxia-path-card{display:block;min-width:0;padding:0;border:0;background:transparent;color:#dedede}
body.wuxia-dossier-page .wuxia-recommend .wuxia-path-cover{display:block;min-width:0;aspect-ratio:2/3;overflow:hidden;background:#202020}
body.wuxia-dossier-page .wuxia-recommend .wuxia-path-cover img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center top;border:0;background:#222;transition:transform .18s ease}
body.wuxia-dossier-page .wuxia-recommend .wuxia-path-card:hover .wuxia-path-cover img{transform:scale(1.035)}
body.wuxia-dossier-page .wuxia-recommend .wuxia-path-main{min-width:0}
body.wuxia-dossier-page .wuxia-recommend .wuxia-path-reason,body.wuxia-dossier-page .wuxia-recommend .wuxia-path-intro{display:none}
body.wuxia-dossier-page .wuxia-recommend .wuxia-path-main h3{display:-webkit-box;margin:7px 0 0;color:#ededed;font-size:12px;font-weight:800;line-height:1.25;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.wuxia-dossier-page .wuxia-recommend .wuxia-path-main h3 a{color:#ededed!important}
body.wuxia-dossier-page .wuxia-recommend .wuxia-path-meta{display:block;min-width:0;margin:2px 0 0;color:#858585!important;font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.wuxia-dossier-page .wuxia-recommend .wuxia-path-meta a,body.wuxia-dossier-page .wuxia-recommend .wuxia-path-meta span{color:#858585!important}
body.wuxia-dossier-page .commentarea .wuxia-panel-head h2{font-size:22px}
body.wuxia-dossier-page .commentarea .archive-panel-body{padding:16px 18px}
@media(max-width:980px){
  body.wuxia-dossier-page .wuxia-crumb-trail,body.wuxia-dossier-page .nf-info-quick-grid,body.wuxia-dossier-page .wuxia-dossier-layout{margin-left:14px;margin-right:14px}
  body.wuxia-dossier-page .wuxia-dossier{grid-template-columns:230px minmax(0,1fr);padding-left:14px;padding-right:14px}
  body.wuxia-dossier-page .wuxia-dossier-cover img{width:230px}
  body.wuxia-dossier-page .wuxia-recommend .wuxia-path-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:640px){
  body.wuxia-dossier-page .wuxia-crumb-trail{margin:10px 10px;color:#888}
  body.wuxia-dossier-page .wuxia-dossier{display:block;margin:0 0 16px;padding:16px 14px 18px}
  body.wuxia-dossier-page .wuxia-dossier:before{background:linear-gradient(to bottom,rgba(16,16,16,.25),rgba(16,16,16,.94) 66%,#101010 100%),var(--book-cover);background-size:cover;background-position:center top}
  body.wuxia-dossier-page .wuxia-dossier-cover{display:block}
  body.wuxia-dossier-page .wuxia-dossier-main h1{font-size:25px}
  body.wuxia-dossier-page .wuxia-dossier-byline{font-size:14px}
  body.wuxia-dossier-page .wuxia-dossier-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
  body.wuxia-dossier-page .wuxia-dossier-stats{padding:10px 0;background:rgba(16,16,16,.92)}
  body.wuxia-dossier-page .wuxia-dossier-stats div{border:0;border-radius:6px;background:#181818;padding:13px;text-align:center}
  body.wuxia-dossier-page .wuxia-dossier-stats dd{font-size:21px}
  body.wuxia-dossier-page .wuxia-dossier-actions{grid-template-columns:1fr 1fr}
  body.wuxia-dossier-page .wuxia-dossier-actions a:nth-child(n+3){grid-column:auto}
  body.wuxia-dossier-page .wuxia-hero-rating{grid-template-columns:1fr;gap:10px;margin-bottom:14px;padding:12px}
  body.wuxia-dossier-page .wuxia-hero-rating-main{justify-content:space-between}
  body.wuxia-dossier-page .nf-info-quick-grid{grid-template-columns:1fr;gap:12px;margin:0 10px 18px}
  body.wuxia-dossier-page .nf-info-quick-card{min-height:88px;padding:15px}
  body.wuxia-dossier-page .nf-info-card-title{font-size:20px}
  body.wuxia-dossier-page .wuxia-dossier-layout{margin-left:10px;margin-right:10px}
  body.wuxia-dossier-page .wuxia-recommend .wuxia-path-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px;padding:4px 12px 16px}
  body.wuxia-dossier-page .wuxia-recommend .wuxia-path-main h3{font-size:11px}
body.wuxia-dossier-page .wuxia-inline-share .site-inline-share-list{grid-template-columns:repeat(6,minmax(0,1fr))}
}

/* Screenshot-matched NovelFire header */
body .wuxia-site-header{border-bottom:1px solid #242424;background:#101010;box-shadow:none}
body .wuxia-topbar{position:relative;display:grid;grid-template-columns:230px minmax(270px,1fr) 32px 258px auto;gap:13px;align-items:center;max-width:990px;min-height:54px;margin:0 auto;padding:0}
body .wuxia-brand{min-width:0}
body .wuxia-brand-link{display:flex;flex-direction:row;align-items:center;gap:8px;color:#dc7774!important;line-height:1;white-space:nowrap}
body .nf-brand-mark{position:relative;display:inline-flex;width:35px;height:35px;flex:0 0 35px;align-items:flex-end;justify-content:center;border-radius:9px 9px 7px 7px;background:#dc7774;color:#151515;font-size:11px;font-weight:900;letter-spacing:0;overflow:hidden}
body .nf-brand-mark:before{content:"";position:absolute;left:5px;right:5px;top:3px;height:16px;background:#151515;clip-path:polygon(42% 0,58% 23%,77% 6%,72% 40%,100% 33%,82% 66%,89% 100%,50% 80%,14% 100%,18% 66%,0 34%,27% 39%);opacity:.95}
body .nf-brand-mark:after{content:"";position:absolute;left:8px;right:8px;bottom:6px;height:13px;border:2px solid #151515;border-top:0;border-radius:0 0 6px 6px;opacity:.9}
body .nf-brand-mark span{position:relative;z-index:1;margin-bottom:7px;color:#151515}
body .nf-brand-name{display:block;color:#dc7774;font-size:21px;font-weight:900;line-height:21px}
body .nf-brand-name strong{display:block;color:#dc7774}
body .wuxia-brand-tagline{position:absolute;left:43px;top:34px;color:#9b9b9b;font-size:10px;font-weight:700;line-height:12px;white-space:nowrap}
body .wuxia-topbar>.wuxia-nav{max-width:none;margin:0;min-width:0}
body .wuxia-topbar>.wuxia-nav ul{display:flex;align-items:center;gap:13px;min-height:24px;overflow:visible}
body .wuxia-topbar>.wuxia-nav li{min-width:0}
body .wuxia-topbar>.wuxia-nav a{display:inline-flex;height:24px;align-items:center;gap:4px;padding:0;border:0;border-radius:0;background:none;color:#a8a8a8;font-size:15px;font-weight:800;line-height:24px;white-space:nowrap}
body .wuxia-topbar>.wuxia-nav a i{color:#aaa;font-size:15px}
body .wuxia-topbar>.wuxia-nav a:hover,body .wuxia-topbar>.wuxia-nav a.pt-active{background:none;color:#d7d7d7}
body .wuxia-settings-action{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border:1px solid #aaa;border-radius:4px;background:#191919;color:#bdbdbd;font-size:16px;box-sizing:border-box}
body .wuxia-settings-action:hover{border-color:#d0d0d0;color:#fff}
body .wuxia-search.searchbox{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 54px;width:258px;height:44px;margin:0;border:1px solid #2d2d2d;border-radius:22px;background:#1b1b1b;box-shadow:0 2px 0 rgba(255,255,255,.04),inset 0 0 0 1px rgba(255,255,255,.02);overflow:hidden}
body .wuxia-search.searchbox:before{content:"";position:absolute;left:15px;top:14px;width:13px;height:13px;border:3px solid #777;border-radius:50%;box-sizing:border-box;opacity:.85}
body .wuxia-search.searchbox:after{content:"";position:absolute;left:26px;top:26px;width:8px;height:3px;border-radius:3px;background:#777;transform:rotate(45deg);opacity:.85}
body .wuxia-search label{display:block;min-width:0}
body .wuxia-search .text{width:100%;height:42px;padding:0 8px 0 31px;border:0;background:#1b1b1b;color:#d8d8d8;font-size:14px;line-height:42px}
body .wuxia-search .text::placeholder{color:#858585}
body .wuxia-search .dropmenu{display:flex;position:relative;height:42px;align-items:center;justify-content:center;border:0;background:transparent}
body .wuxia-search .dropmenu:before{content:"Title";display:inline-flex;height:28px;align-items:center;padding:0 20px 0 10px;border-radius:14px;background:#252934;color:#c9c9c9;font-size:12px;font-weight:800;line-height:28px;text-transform:none}
body .wuxia-search .tri{position:absolute;right:9px;top:19px;border:4px solid transparent;border-top-color:#9a9a9a}
body .wuxia-search .dropmenu-item{display:none}
body .wuxia-search .searchbtn{position:absolute;right:0;top:0;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}
body .wuxia-actions{display:flex;align-items:center;gap:7px;margin:0}
body .wuxia-action{display:inline-flex;height:30px;min-width:auto;align-items:center;justify-content:center;gap:5px;padding:0 9px;border:1px solid #333;border-radius:4px;background:#1b1b1b;color:#d0d0d0;font-size:11px;font-weight:800;box-sizing:border-box}
body .wuxia-action b{font-weight:800}
body .wuxia-action:hover{border-color:#3f95d0;background:#1d2731;color:#fff}
body .login-action{min-width:77px;height:36px;border:0!important;border-radius:4px;background:#2f95d2!important;color:#fff!important;font-size:15px;font-weight:500}
body .login-action:hover{background:#3aa4e0!important;color:#fff!important}
body .wuxia-nav-wrap{display:none}
body .ad-placement-top[data-relocate="breadcrumb"]{margin-top:14px}
body .wuxia-dossier-shell,body .category-list-shell,body .rank-shell,body .completed-shell,body .genre-page,body .search-results-shell,body .review-shell{padding-top:0}
body .wuxia-crumb-trail,body .category-list-breadcrumb,body .rank-breadcrumb,body .completed-breadcrumb,body .genre-breadcrumb,body .search-results-breadcrumb,body .review-breadcrumb,body .pt-crumb{display:flex;align-items:center;gap:7px;box-sizing:border-box;max-width:990px;min-height:36px;margin:0 auto 18px;padding:0;color:#707070;background:#151515;box-shadow:0 0 0 100vmax #151515;clip-path:inset(0 -100vmax);font-size:15px;line-height:36px}
body .wuxia-crumb-trail ol{display:flex;align-items:center;gap:7px;min-width:0}
body .wuxia-crumb-trail li{display:flex;align-items:center;min-width:0;color:#707070}
body .wuxia-crumb-trail li:not(:last-child):after{content:">";margin-left:7px;color:#555}
body .wuxia-crumb-trail a,body .category-list-breadcrumb a,body .rank-breadcrumb a,body .completed-breadcrumb a,body .genre-breadcrumb a,body .search-results-breadcrumb a,body .review-breadcrumb a,body .pt-crumb a{color:#777}
body .wuxia-crumb-trail a:hover,body .category-list-breadcrumb a:hover,body .rank-breadcrumb a:hover,body .completed-breadcrumb a:hover,body .genre-breadcrumb a:hover,body .search-results-breadcrumb a:hover,body .review-breadcrumb a:hover,body .pt-crumb a:hover{color:#aaa}
body .wuxia-crumb-trail .pticon-home,body .category-list-breadcrumb .pticon-home,body .rank-breadcrumb .pticon-home,body .completed-breadcrumb .pticon-home,body .genre-breadcrumb .pticon-home,body .search-results-breadcrumb .pticon-home,body .review-breadcrumb .pticon-home,body .pt-crumb .pticon-home{color:#777}

@media(max-width:980px){
  body .wuxia-topbar{grid-template-columns:210px minmax(0,1fr) 30px 220px auto;gap:10px;max-width:none;margin:0 14px}
  body .wuxia-brand-tagline{left:43px}
  body .wuxia-topbar>.wuxia-nav ul{gap:9px}
  body .wuxia-topbar>.wuxia-nav a{font-size:13px}
  body .wuxia-search.searchbox{width:220px}
  body .wuxia-crumb-trail,body .category-list-breadcrumb,body .rank-breadcrumb,body .completed-breadcrumb,body .genre-breadcrumb,body .search-results-breadcrumb,body .review-breadcrumb,body .pt-crumb{margin-left:14px;margin-right:14px}
}

@media(max-width:760px){
  body .wuxia-topbar{grid-template-columns:minmax(0,1fr) auto;min-height:auto;margin:0;padding:10px 0}
  body .wuxia-brand-link{gap:7px}
  body .nf-brand-mark{width:34px;height:34px;flex-basis:34px;font-size:11px}
  body .nf-brand-name{font-size:20px;line-height:20px}
  body .wuxia-brand-tagline,body .wuxia-settings-action{display:none}
  body .wuxia-mobile-actions{display:flex;gap:6px;align-items:center}
  body .wuxia-actions{display:none}
  body .wuxia-topbar>.wuxia-nav{display:none;grid-column:1/-1;order:3;margin:8px 0 0}
  body #mobile-menu-toggle:checked ~ .wuxia-topbar .wuxia-nav{display:block}
  body .wuxia-topbar>.wuxia-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-height:0;padding:0;overflow:visible}
  body .wuxia-topbar>.wuxia-nav a{justify-content:center;width:100%;height:34px;border:1px solid #2d2d2d;border-radius:4px;background:#181818;color:#d0d0d0;font-size:13px;box-sizing:border-box}
  body .wuxia-topbar>.wuxia-nav a.pt-active{border-color:#2d9cdb;color:#2d9cdb}
  body .wuxia-search.searchbox{display:none;grid-column:1/-1;grid-template-columns:minmax(0,1fr) 54px;order:4;width:auto;margin:9px 0 0;border-radius:22px}
  body #mobile-search-toggle:checked ~ .wuxia-topbar .wuxia-search{display:grid}
  body .wuxia-mobile-actions .wuxia-action{height:32px}
  body .wuxia-mobile-actions .login-action{min-width:68px;height:34px;font-size:13px}
  body .wuxia-crumb-trail,body .category-list-breadcrumb,body .rank-breadcrumb,body .completed-breadcrumb,body .genre-breadcrumb,body .search-results-breadcrumb,body .review-breadcrumb,body .pt-crumb{min-height:34px;margin:0 10px 14px;font-size:13px;line-height:34px;overflow:hidden}
}

/* Mobile info page cover: show the real poster instead of relying on a cropped background. */
@media(max-width:640px){
  body.wuxia-dossier-page .wuxia-dossier{display:block;margin:0 0 16px;padding:16px 14px 18px}
  body.wuxia-dossier-page .wuxia-dossier:before{background:linear-gradient(90deg,rgba(16,16,16,.92),rgba(16,16,16,.82)),var(--book-cover);background-size:cover;background-position:center 28%;filter:saturate(.9)}
  body.wuxia-dossier-page .wuxia-dossier-cover{display:block;position:relative;z-index:1;margin:0 auto 14px;width:min(42vw,156px)}
  body.wuxia-dossier-page .wuxia-dossier-cover img{display:block;width:100%;max-width:156px;aspect-ratio:2/3;object-fit:cover;object-position:center top;border:1px solid rgba(255,255,255,.14);border-radius:5px;background:#222;box-shadow:0 12px 26px rgba(0,0,0,.34)}
  body.wuxia-dossier-page .wuxia-dossier-main{min-width:0}
  body.wuxia-dossier-page .wuxia-dossier-main h1{margin-top:0;font-size:22px;line-height:1.16}
  body.wuxia-dossier-page .wuxia-dossier-byline{margin-bottom:10px;font-size:13px}
  body.wuxia-dossier-page .wuxia-dossier-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:0;padding:0;background:transparent}
  body.wuxia-dossier-page .wuxia-dossier-stats div{padding:9px 8px}
  body.wuxia-dossier-page .wuxia-dossier-stats dt{font-size:10px}
  body.wuxia-dossier-page .wuxia-dossier-stats dd{font-size:18px}
  body.wuxia-dossier-page .wuxia-mark-list{margin-top:4px}
  body.wuxia-dossier-page .wuxia-hero-rating{grid-template-columns:1fr;gap:10px;margin-bottom:14px;padding:12px}
  body.wuxia-dossier-page .wuxia-dossier-actions{grid-template-columns:1fr 1fr}
}

/* Goodreads-style homepage rankings */
body.nf-home-page .nf-rankings{margin-top:30px}
body.nf-home-page .nf-rankings .nf-section-head{margin-bottom:16px}
body.nf-home-page .nf-rank-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.nf-home-page .nf-rank-panel{min-width:0;padding:14px;border:1px solid #2a2a2a;border-radius:8px;background:linear-gradient(180deg,#191919 0%,#121212 100%);box-shadow:0 16px 34px rgba(0,0,0,.28);box-sizing:border-box}
body.nf-home-page .nf-rank-panel h3{display:flex;align-items:center;min-height:38px;margin:0 0 14px;padding:0 12px;border:1px solid rgba(45,156,219,.36);border-radius:6px;background:#18212a;color:#f4f8fb;font-size:16px;font-weight:900;line-height:1.2}
body.nf-home-page .nf-rank-panel ul{counter-reset:nf-home-rank;display:grid;grid-template-columns:1fr;gap:12px;margin:0;padding:0}
body.nf-home-page .nf-rank-panel li{counter-increment:nf-home-rank;position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:start;min-width:0;min-height:104px;padding:10px 10px 10px 42px;border:1px solid #292929;border-radius:7px;background:#171717;box-sizing:border-box;transition:border-color .18s ease,background .18s ease,transform .18s ease}
body.nf-home-page .nf-rank-panel li:hover{border-color:#3a78a0;background:#1d1d1d;transform:translateY(-1px)}
body.nf-home-page .nf-rank-panel li:before{content:"#" counter(nf-home-rank);position:absolute;left:10px;top:12px;display:inline-flex;min-width:24px;height:24px;align-items:center;justify-content:center;border-radius:12px;background:#252525;color:#a9b3ba;font-size:11px;font-weight:900;line-height:24px}
body.nf-home-page .nf-rank-panel li:first-child{grid-template-columns:92px minmax(0,1fr);min-height:132px;padding-top:12px;padding-bottom:12px;border-color:rgba(45,156,219,.45);background:linear-gradient(135deg,#20262c 0%,#171717 58%,#141414 100%)}
body.nf-home-page .nf-rank-panel li:first-child:before{background:#2d9cdb;color:#fff}
body.nf-home-page .nf-rank-cover{display:block;min-width:0}
body.nf-home-page .nf-rank-cover img{display:block;width:72px;height:104px;border:1px solid #303030;border-radius:5px;background:#222;object-fit:cover;object-position:center top;box-shadow:0 10px 20px rgba(0,0,0,.25)}
body.nf-home-page .nf-rank-panel li:first-child .nf-rank-cover img{width:92px;height:132px;border-color:#3e3e3e;box-shadow:0 14px 28px rgba(0,0,0,.34)}
body.nf-home-page .nf-rank-panel li span{display:block;min-width:0;padding-top:2px}
body.nf-home-page .nf-rank-panel li a:not(.nf-rank-cover){display:-webkit-box;color:#f1f1f1;font-size:15px;font-weight:900;line-height:1.26;white-space:normal;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.nf-home-page .nf-rank-panel li:first-child a:not(.nf-rank-cover){font-size:17px;line-height:1.22;-webkit-line-clamp:3}
body.nf-home-page .nf-rank-panel li em{display:-webkit-box;margin-top:7px;color:#969696;font-size:13px;font-style:normal;line-height:1.35;white-space:normal;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.nf-home-page .nf-rank-panel li .nf-stars{color:#f2bd50;font-weight:800}
@media(max-width:980px){
  body.nf-home-page .nf-rank-columns{grid-template-columns:1fr;gap:18px}
  body.nf-home-page .nf-rank-panel{padding:14px}
  body.nf-home-page .nf-rank-panel ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.nf-home-page .nf-rank-panel li,body.nf-home-page .nf-rank-panel li:first-child{grid-template-columns:72px minmax(0,1fr);min-height:104px;padding:10px 10px 10px 42px}
  body.nf-home-page .nf-rank-panel li:first-child .nf-rank-cover img{width:72px;height:104px}
  body.nf-home-page .nf-rank-panel li:first-child a:not(.nf-rank-cover){font-size:15px;-webkit-line-clamp:2}
}
@media(max-width:640px){
  body.nf-home-page .nf-rankings{margin-top:26px}
  body.nf-home-page .nf-rank-columns{grid-template-columns:1fr;gap:18px}
  body.nf-home-page .nf-rank-panel{padding:12px;border-radius:7px}
  body.nf-home-page .nf-rank-panel h3{min-height:36px;margin-bottom:12px;font-size:15px}
  body.nf-home-page .nf-rank-panel ul{grid-template-columns:1fr;gap:11px}
  body.nf-home-page .nf-rank-panel li,body.nf-home-page .nf-rank-panel li:first-child{grid-template-columns:68px minmax(0,1fr);min-height:98px;padding:9px 9px 9px 39px}
  body.nf-home-page .nf-rank-panel li:before{left:9px;top:10px;min-width:22px;height:22px;font-size:10px;line-height:22px}
  body.nf-home-page .nf-rank-cover img,body.nf-home-page .nf-rank-panel li:first-child .nf-rank-cover img{width:68px;height:98px}
  body.nf-home-page .nf-rank-panel li a:not(.nf-rank-cover),body.nf-home-page .nf-rank-panel li:first-child a:not(.nf-rank-cover){font-size:14px;line-height:1.25;-webkit-line-clamp:2}
  body.nf-home-page .nf-rank-panel li em{margin-top:6px;font-size:12px}
}

/* WuxiaFull reference-style header and persistent color theme */
html{background:#101010}
body .wuxia-site-header{position:relative;z-index:50;border-bottom:1px solid #242424;background:#101010;color:#d5d5d5;box-shadow:none}
body .wuxia-site-header:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#693136;opacity:.9}
body .wuxia-topbar{position:relative;display:grid;grid-template-columns:164px minmax(360px,1fr) 32px 258px 78px;gap:13px;align-items:end;max-width:1060px;min-height:72px;margin:0 auto;padding:0 0 12px;box-sizing:border-box}
body .wuxia-brand{align-self:center;min-width:0}
body .wuxia-brand-link{display:inline-flex;align-items:center;color:#dc7774!important;line-height:1;text-decoration:none;white-space:nowrap}
body .nf-brand-mark{display:none!important}
body .nf-brand-name{display:block;color:#dc7774;font-size:26px;font-weight:900;line-height:1}
body .nf-brand-name strong,body .nf-brand-name span{display:inline;color:#dc7774}
body .wuxia-brand-tagline{position:absolute;left:177px;top:15px;color:#9d9d9d;font-size:11px;font-weight:700;line-height:13px;white-space:nowrap}
body .wuxia-topbar>.wuxia-nav{align-self:end;max-width:none;min-width:0;margin:0;padding:0}
body .wuxia-topbar>.wuxia-nav ul{display:flex;align-items:center;gap:17px;min-height:30px;margin:0;padding:0;overflow:visible}
body .wuxia-topbar>.wuxia-nav li{min-width:0}
body .wuxia-topbar>.wuxia-nav a{display:inline-flex;height:30px;align-items:center;gap:5px;padding:0;border:0;border-radius:0;background:none;color:#aaa;font-size:15px;font-weight:800;line-height:30px;text-decoration:none;white-space:nowrap}
body .wuxia-topbar>.wuxia-nav a i{color:#aaa;font-size:15px}
body .wuxia-topbar>.wuxia-nav a:hover,body .wuxia-topbar>.wuxia-nav a.pt-active{background:none;color:#f0f0f0}
body .wuxia-topbar>.wuxia-nav a:hover i,body .wuxia-topbar>.wuxia-nav a.pt-active i{color:#f0f0f0}
body .wuxia-settings-action,body .wuxia-theme-toggle{display:inline-flex;width:30px;height:30px;align-self:end;align-items:center;justify-content:center;margin:0;padding:0;border:1px solid #9b9b9b;border-radius:4px;background:#191919;color:#c9c9c9;font-size:15px;line-height:1;box-sizing:border-box;cursor:pointer}
body .wuxia-settings-action:hover,body .wuxia-theme-toggle:hover,body .wuxia-theme-toggle.is-light{border-color:#e2e2e2;background:#262626;color:#fff}
body .wuxia-search.searchbox{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 54px;align-self:end;width:258px;height:44px;margin:0;border:1px solid #2d2d2d;border-radius:22px;background:#1b1b1b;box-shadow:0 2px 0 rgba(255,255,255,.04),inset 0 0 0 1px rgba(255,255,255,.02);overflow:hidden}
body .wuxia-search.searchbox:before{content:"";position:absolute;left:15px;top:14px;width:13px;height:13px;border:3px solid #777;border-radius:50%;box-sizing:border-box;opacity:.9}
body .wuxia-search.searchbox:after{content:"";position:absolute;left:26px;top:26px;width:8px;height:3px;border-radius:3px;background:#777;transform:rotate(45deg);opacity:.9}
body .wuxia-search label{display:block;min-width:0}
body .wuxia-search .text{width:100%;height:42px;padding:0 8px 0 32px;border:0;background:#1b1b1b;color:#ddd;font-size:14px;line-height:42px;box-sizing:border-box}
body .wuxia-search .text::placeholder{color:#858585}
body .wuxia-search .dropmenu{display:flex;position:relative;height:42px;align-items:center;justify-content:center;border:0;background:transparent}
body .wuxia-search .dropmenu:before{content:"Title";display:inline-flex;height:28px;align-items:center;padding:0 20px 0 10px;border-radius:14px;background:#252934;color:#c9c9c9;font-size:12px;font-weight:800;line-height:28px}
body .wuxia-search .tri{position:absolute;right:9px;top:19px;border:4px solid transparent;border-top-color:#9a9a9a}
body .wuxia-search .dropmenu-item{display:none}
body .wuxia-search .searchbtn{position:absolute;right:0;top:0;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}
body .wuxia-actions{display:flex;align-self:end;align-items:center;gap:7px;margin:0}
body .wuxia-action{display:inline-flex;height:30px;min-width:auto;align-items:center;justify-content:center;gap:5px;padding:0 9px;border:1px solid #333;border-radius:4px;background:#1b1b1b;color:#d0d0d0;font-size:11px;font-weight:800;line-height:1;box-sizing:border-box;text-decoration:none;cursor:pointer}
body .wuxia-action b{font-weight:800}
body .wuxia-action:hover{border-color:#3f95d0;background:#1d2731;color:#fff}
body .login-action{min-width:77px;height:36px;border:0!important;border-radius:4px;background:#2f95d2!important;color:#fff!important;font-size:15px;font-weight:500}
body .login-action:hover{background:#3aa4e0!important;color:#fff!important}
body .wuxia-mobile-actions{display:none}
body .wuxia-header-copy{position:relative;border-top:1px solid #191919;background:#151515}
body .wuxia-header-copy .w-all{max-width:1060px;min-height:38px;margin:0 auto;padding:0;color:#8d8d8d;font-size:15px;font-weight:600;line-height:38px;box-sizing:border-box}

@media(max-width:1120px){
  body .wuxia-topbar{grid-template-columns:164px minmax(310px,1fr) 32px 230px 78px;max-width:none;margin:0 16px}
  body .wuxia-brand-tagline{left:177px}
  body .wuxia-topbar>.wuxia-nav ul{gap:11px}
  body .wuxia-topbar>.wuxia-nav a{font-size:14px}
  body .wuxia-search.searchbox{width:230px}
  body .wuxia-header-copy .w-all{max-width:none;margin:0 16px}
}

@media(max-width:900px){
  body .wuxia-topbar{grid-template-columns:148px minmax(252px,1fr) 30px 202px 72px;gap:9px;margin:0 12px}
  body .wuxia-brand-tagline{left:161px}
  body .wuxia-topbar>.wuxia-nav ul{gap:8px}
  body .wuxia-topbar>.wuxia-nav a{font-size:13px}
  body .wuxia-search.searchbox{width:202px}
  body .login-action{min-width:72px}
}

@media(max-width:760px){
  body .wuxia-site-header{padding:0}
  body .wuxia-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;min-height:auto;margin:0;padding:9px 10px;align-items:center}
  body .wuxia-brand{align-self:center}
  body .wuxia-brand-link{gap:0}
  body .nf-brand-name{font-size:23px;line-height:1}
  body .wuxia-brand-tagline,body .wuxia-topbar>.wuxia-theme-toggle{display:none}
  body .wuxia-mobile-actions{display:flex;align-items:center;gap:6px}
  body .wuxia-actions{display:none}
  body .wuxia-theme-toggle-mobile{width:34px;min-width:34px;height:34px;padding:0;border:1px solid #333;background:#191919;color:#d0d0d0}
  body .wuxia-topbar>.wuxia-nav{display:none;grid-column:1/-1;order:3;margin:9px 0 0}
  body #mobile-menu-toggle:checked ~ .wuxia-topbar .wuxia-nav{display:block}
  body .wuxia-topbar>.wuxia-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-height:0;padding:0;overflow:visible}
  body .wuxia-topbar>.wuxia-nav a{justify-content:center;width:100%;height:34px;border:1px solid #2d2d2d;border-radius:4px;background:#181818;color:#d0d0d0;font-size:13px;box-sizing:border-box}
  body .wuxia-topbar>.wuxia-nav a.pt-active{border-color:#2d9cdb;color:#2d9cdb}
  body .wuxia-search.searchbox{display:none;grid-column:1/-1;grid-template-columns:minmax(0,1fr) 54px;order:4;width:auto;margin:9px 0 0;border-radius:22px}
  body #mobile-search-toggle:checked ~ .wuxia-topbar .wuxia-search{display:grid}
  body .wuxia-mobile-actions .wuxia-action{height:34px}
  body .wuxia-mobile-actions .login-action{min-width:68px;height:34px;font-size:13px}
  body .wuxia-header-copy .w-all{min-height:auto;margin:0 10px;padding:7px 0;color:#858585;font-size:12px;line-height:1.45;text-align:left}
}

html.wuxia-light-theme{background:#f5f6f8}
html.wuxia-light-theme body{background:#f5f6f8;color:#222}
html.wuxia-light-theme body .wuxia-site-header{border-bottom-color:#d9dce2;background:#fff;color:#222}
html.wuxia-light-theme body .wuxia-site-header:after{background:#e7c6c8}
html.wuxia-light-theme body .wuxia-brand-link,html.wuxia-light-theme body .nf-brand-name,html.wuxia-light-theme body .nf-brand-name strong,html.wuxia-light-theme body .nf-brand-name span{color:#cf5554!important}
html.wuxia-light-theme body .wuxia-brand-tagline{color:#767b83}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a,html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a i{color:#50545a}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a:hover,html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a.pt-active,html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a:hover i,html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a.pt-active i{color:#111}
html.wuxia-light-theme body .wuxia-settings-action,html.wuxia-light-theme body .wuxia-theme-toggle,html.wuxia-light-theme body .wuxia-theme-toggle-mobile{border-color:#c3c9d2;background:#f5f6f8;color:#333}
html.wuxia-light-theme body .wuxia-search.searchbox{border-color:#d7dce4;background:#f3f5f8;box-shadow:none}
html.wuxia-light-theme body .wuxia-search .text{background:#f3f5f8;color:#222}
html.wuxia-light-theme body .wuxia-search .text::placeholder{color:#858c96}
html.wuxia-light-theme body .wuxia-search .dropmenu:before{background:#e5e9ef;color:#333}
html.wuxia-light-theme body .wuxia-header-copy{border-top-color:#eceef2;background:#f7f8fa}
html.wuxia-light-theme body .wuxia-header-copy .w-all{color:#666d77}
html.wuxia-light-theme body .wuxia-action{border-color:#d9dce3;background:#fff;color:#333}
html.wuxia-light-theme body .login-action{background:#258bd0!important;color:#fff!important}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a{background:transparent}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a.pt-active{background:transparent}
@media(max-width:760px){
  html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a{border-color:#d8dde5;background:#fff;color:#333}
  html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a.pt-active{border-color:#258bd0;color:#258bd0}
}
html.wuxia-light-theme body .wuxia-crumb-trail,html.wuxia-light-theme body .category-list-breadcrumb,html.wuxia-light-theme body .rank-breadcrumb,html.wuxia-light-theme body .completed-breadcrumb,html.wuxia-light-theme body .genre-breadcrumb,html.wuxia-light-theme body .search-results-breadcrumb,html.wuxia-light-theme body .review-breadcrumb,html.wuxia-light-theme body .pt-crumb{background:#f5f6f8;box-shadow:0 0 0 100vmax #f5f6f8;color:#777}
html.wuxia-light-theme body.nf-home-page,html.wuxia-light-theme body.wuxia-dossier-page,html.wuxia-light-theme body.readpage{background:#f5f6f8;color:#222}
html.wuxia-light-theme body .nf-home-shell,html.wuxia-light-theme body .wuxia-dossier-shell,html.wuxia-light-theme body .scroll-shell{background:#f5f6f8;color:#222}
html.wuxia-light-theme body .nf-section,html.wuxia-light-theme body .nf-rank-panel,html.wuxia-light-theme body .nf-recent-item,html.wuxia-light-theme body .nf-story-card,html.wuxia-light-theme body .wuxia-panel,html.wuxia-light-theme body .archive-panel,html.wuxia-light-theme body .wuxia-side-card,html.wuxia-light-theme body .scroll-stage,html.wuxia-light-theme body .scroll-tools,html.wuxia-light-theme body .scroll-nav-link,html.wuxia-light-theme body .scroll-suggestions-card{border-color:#dfe3ea;background:#fff;color:#222;box-shadow:none}
html.wuxia-light-theme body .nf-section-head h2,html.wuxia-light-theme body .nf-rank-panel h3,html.wuxia-light-theme body .nf-story-card h3 a,html.wuxia-light-theme body .nf-recent-title a,html.wuxia-light-theme body .wuxia-panel-head h2,html.wuxia-light-theme body .scroll-title h1,html.wuxia-light-theme body #chaptercontent,html.wuxia-light-theme body .scroll-stage .content{color:#222!important}
html.wuxia-light-theme body .nf-rank-panel li,html.wuxia-light-theme body .nf-recent-item,html.wuxia-light-theme body .nf-story-card{border-color:#e3e7ee;background:#fff}
html.wuxia-light-theme body .nf-rank-panel li em,html.wuxia-light-theme body .nf-recent-time,html.wuxia-light-theme body .nf-story-meta,html.wuxia-light-theme body .wuxia-panel .novelintro{color:#5e6671}
html.wuxia-light-theme body .wuxia-dossier:before{background:linear-gradient(90deg,rgba(245,246,248,.92),rgba(245,246,248,.82)),var(--book-cover)}
html.wuxia-light-theme body .wuxia-dossier:after{background:linear-gradient(to top,#f5f6f8,rgba(245,246,248,0))}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier-main h1,html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier-byline,html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier-stats dd{color:#222}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-hero-rating,html.wuxia-light-theme body.wuxia-dossier-page .wuxia-hero-rating dl div{border-color:#dfe3ea;background:#fff}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-hero-rating dd{color:#222}
html.wuxia-light-theme body .wuxia-footer,html.wuxia-light-theme body .site-footer,html.wuxia-light-theme body footer{border-color:#dfe3ea;background:#fff;color:#5e6671}

/* NovelFire-style list pages */
html body.nf-list-page,html.wuxia-light-theme body.nf-list-page{background:#111;color:#bdbdbd}
body.nf-list-page a{color:#d7d7d7}
body.nf-list-page a:hover{color:#2d9cdb}
body.nf-list-page .archive-directory-shell,body.nf-list-page .archive-rank-shell{max-width:1040px;margin:0 auto;padding:18px 0 42px}
body.nf-list-page .archive-breadcrumb{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:0;color:#777;font-size:13px;line-height:22px;background:transparent;box-shadow:none}
body.nf-list-page .archive-breadcrumb a,body.nf-list-page .archive-breadcrumb strong{color:#8c8c8c;font-weight:700}
body.nf-list-page .archive-breadcrumb span{color:#555}
body.nf-list-page .nf-list-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 16px;padding:18px 0 13px;border:0;border-bottom:1px solid #292929;background:transparent;box-shadow:none}
body.nf-list-page .nf-list-hero>div{min-width:0}
body.nf-list-page .nf-list-hero span{display:block;margin:0 0 6px;padding:0;border:0;background:transparent;color:#858585;font-size:12px;font-weight:800;line-height:1.25;text-transform:uppercase}
body.nf-list-page .nf-list-hero h1{margin:0;color:#e6e6e6;font-size:28px;font-weight:900;line-height:1.18}
body.nf-list-page .nf-list-hero p{max-width:660px;margin:8px 0 0;color:#888;font-size:14px;line-height:1.55}
body.nf-list-page .nf-list-hero>a{flex:0 0 auto;display:inline-flex;min-height:34px;align-items:center;justify-content:center;padding:0 14px;border:1px solid #303030;border-radius:4px;background:#181818;color:#dcdcdc!important;font-size:12px;font-weight:800}
body.nf-list-page .archive-filter-panel{margin:0 0 16px;padding:12px 14px;border:1px solid #292929;border-radius:6px;background:#181818;box-shadow:none}
body.nf-list-page .archive-filter-panel>span{display:block;margin:0 0 10px;color:#858585;font-size:12px;font-weight:900;text-transform:uppercase}
body.nf-list-page .archive-filter-row{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;align-items:start;padding:7px 0;border:0}
body.nf-list-page .archive-filter-row h3{margin:0;color:#8d8d8d;font-size:12px;font-weight:900;line-height:30px;text-transform:uppercase}
body.nf-list-page .archive-filter-links{display:flex;flex-wrap:wrap;gap:7px}
body.nf-list-page .archive-filter-links a{display:inline-flex;min-height:30px;align-items:center;padding:0 11px;border:1px solid #303030;border-radius:4px;background:#111;color:#bcbcbc!important;font-size:12px;font-weight:800;line-height:30px}
body.nf-list-page .archive-filter-links a.active,body.nf-list-page .archive-filter-links a:hover{border-color:#2d9cdb;background:#1b2b35;color:#f0f8ff!important}
body.nf-list-page .archive-list-panel,body.nf-list-page .archive-rank-panel{border:0;background:transparent;box-shadow:none}
body.nf-list-page .archive-list-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid #292929;background:transparent}
body.nf-list-page .archive-list-title h1,body.nf-list-page .archive-list-title h2{margin:0;color:#e5e5e5;font-size:22px;font-weight:900;line-height:1.25}
body.nf-list-page .archive-list-title span{color:#777;font-size:12px;font-weight:800;text-transform:uppercase}
body.nf-list-page .realm-path-list,body.nf-list-page .martial-board{display:grid;gap:12px;margin:0;padding:0;background:transparent}
body.nf-category-page .realm-path-item,body.nf-updates-page .updates-path-item{display:grid;grid-template-columns:86px minmax(0,1fr) 104px;gap:14px;align-items:start;min-width:0;padding:12px;border:1px solid #292929;border-radius:6px;background:#181818;color:#bdbdbd;box-shadow:none;transition:border-color .18s ease,background .18s ease,transform .18s ease}
body.nf-updates-page .updates-path-item{grid-template-columns:64px minmax(0,1fr) 92px;padding:10px}
body.nf-category-page .realm-path-item:hover,body.nf-updates-page .updates-path-item:hover,body.nf-ranking-page .martial-entry:hover{border-color:#3a3a3a;background:#1b1b1b;transform:translateY(-1px)}
body.nf-list-page .realm-path-cover,body.nf-list-page .martial-cover{display:block;min-width:0;overflow:hidden;border-radius:3px;background:#222}
body.nf-list-page .realm-path-cover img,body.nf-list-page .martial-cover img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;object-position:center top;border:0;background:#222;transition:transform .18s ease}
body.nf-list-page .realm-path-item:hover .realm-path-cover img,body.nf-list-page .martial-entry:hover .martial-cover img{transform:scale(1.035)}
body.nf-list-page .realm-path-main,body.nf-list-page .martial-entry-main{min-width:0}
body.nf-list-page .realm-path-main h2,body.nf-list-page .martial-entry-main h3{display:-webkit-box;margin:0 0 6px;color:#ededed;font-size:17px;font-weight:900;line-height:1.25;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.nf-list-page .realm-path-main h2 a,body.nf-list-page .martial-entry-main h3 a{color:#ededed!important}
body.nf-list-page .realm-path-meta,body.nf-list-page .martial-meta{display:flex;flex-wrap:wrap;gap:5px 12px;margin:0 0 8px;color:#858585;font-size:12px;line-height:1.35}
body.nf-list-page .realm-path-meta span,body.nf-list-page .martial-meta span{min-width:0;color:#858585}
body.nf-list-page .realm-path-meta a,body.nf-list-page .martial-meta a{color:#a4a4a4!important}
body.nf-list-page .realm-path-intro,body.nf-list-page .martial-intro{display:-webkit-box;margin:0;color:#9a9a9a;font-size:13px;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.nf-list-page .realm-path-last,body.nf-list-page .martial-last{display:grid;gap:4px;margin-top:10px;color:#777;font-size:12px;line-height:1.35}
body.nf-list-page .realm-path-last span,body.nf-list-page .martial-last span{color:#2d9cdb;font-size:11px;font-weight:900;text-transform:uppercase}
body.nf-list-page .realm-path-last a,body.nf-list-page .martial-last a{display:block;min-width:0;color:#d6d6d6!important;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.nf-list-page .realm-path-last em{color:#777;font-style:normal;white-space:nowrap}
body.nf-list-page .realm-path-dossier,body.nf-list-page .martial-read{align-self:center;display:inline-flex;min-height:34px;align-items:center;justify-content:center;padding:0 10px;border:1px solid #303030;border-radius:4px;background:#111;color:#dcdcdc!important;font-size:12px;font-weight:900;text-align:center}
body.nf-list-page .realm-path-dossier:hover,body.nf-list-page .martial-read:hover{border-color:#2d9cdb;background:#1b2b35;color:#fff!important}
body.nf-ranking-page .martial-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.nf-ranking-page .martial-entry{display:grid;grid-template-columns:34px 74px minmax(0,1fr);gap:12px;align-items:start;min-width:0;min-height:126px;padding:12px;border:1px solid #292929;border-radius:6px;background:#181818;box-shadow:none;transition:border-color .18s ease,background .18s ease,transform .18s ease}
body.nf-ranking-page .martial-number{display:flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:4px;background:#262626;color:#c9c9c9;font-size:13px;font-weight:900}
body.nf-ranking-page .martial-number.top{background:#2d9cdb;color:#fff}
body.nf-ranking-page .martial-cover img{width:74px}
body.nf-ranking-page .martial-intro{-webkit-line-clamp:2}
body.nf-ranking-page .martial-read{grid-column:3;justify-self:start;margin-top:8px}
body.nf-ranking-page .archive-rank-list-wrap{margin-top:0}
body.nf-updates-page .updates-intro{display:none}
body.nf-updates-page .updates-last{margin-top:8px}
body.nf-list-page .archive-pagination{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:18px;padding:0}
body.nf-list-page .archive-pagination a,body.nf-list-page .archive-pagination span{display:inline-flex;min-width:34px;height:32px;align-items:center;justify-content:center;padding:0 9px;border:1px solid #303030;border-radius:4px;background:#181818;color:#bdbdbd;font-size:12px;font-weight:800}
body.nf-list-page .archive-pagination .current{border-color:#2d9cdb;background:#2d9cdb;color:#fff}
body.nf-list-page .ad-placement{border-color:#292929;background:#181818;color:#777}
body.nf-list-page .updates-empty{padding:18px;border:1px solid #292929;border-radius:6px;background:#181818;color:#888;text-align:center}
html.wuxia-light-theme body.nf-list-page .archive-list-panel,html.wuxia-light-theme body.nf-list-page .archive-rank-panel,html.wuxia-light-theme body.nf-list-page .realm-path-item,html.wuxia-light-theme body.nf-list-page .martial-entry{border-color:#292929;background:#181818;color:#bdbdbd}
html.wuxia-light-theme body.nf-list-page .archive-list-title h1,html.wuxia-light-theme body.nf-list-page .archive-list-title h2,html.wuxia-light-theme body.nf-list-page .realm-path-main h2,html.wuxia-light-theme body.nf-list-page .martial-entry-main h3,html.wuxia-light-theme body.nf-list-page .realm-path-main h2 a,html.wuxia-light-theme body.nf-list-page .martial-entry-main h3 a{color:#ededed!important}
@media(max-width:1080px){
  body.nf-list-page .archive-directory-shell,body.nf-list-page .archive-rank-shell{max-width:none;margin-left:14px;margin-right:14px}
}
@media(max-width:860px){
  body.nf-ranking-page .martial-board{grid-template-columns:1fr}
  body.nf-list-page .nf-list-hero{display:block}
  body.nf-list-page .nf-list-hero>a{margin-top:12px}
}
@media(max-width:640px){
  body.nf-list-page .archive-directory-shell,body.nf-list-page .archive-rank-shell{margin-left:10px;margin-right:10px;padding-top:12px;padding-bottom:30px}
  body.nf-list-page .archive-breadcrumb{font-size:12px}
  body.nf-list-page .nf-list-hero{margin-bottom:12px;padding:12px 0 10px}
  body.nf-list-page .nf-list-hero h1{font-size:22px}
  body.nf-list-page .nf-list-hero p{font-size:13px}
  body.nf-list-page .archive-filter-panel{padding:10px}
  body.nf-list-page .archive-filter-row{display:block;padding:6px 0}
  body.nf-list-page .archive-filter-row h3{line-height:1.2;margin-bottom:7px}
  body.nf-list-page .archive-filter-links{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
  body.nf-list-page .archive-filter-links::-webkit-scrollbar{display:none}
  body.nf-list-page .archive-filter-links a{flex:0 0 auto;min-height:28px;padding:0 10px;font-size:11px}
  body.nf-list-page .archive-list-title h1,body.nf-list-page .archive-list-title h2{font-size:18px}
  body.nf-category-page .realm-path-item,body.nf-updates-page .updates-path-item{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:9px}
  body.nf-list-page .realm-path-main h2,body.nf-list-page .martial-entry-main h3{font-size:14px}
  body.nf-list-page .realm-path-meta,body.nf-list-page .martial-meta{gap:4px 8px;font-size:11px}
  body.nf-list-page .realm-path-intro,body.nf-list-page .martial-intro{font-size:12px;-webkit-line-clamp:2}
  body.nf-list-page .realm-path-dossier,body.nf-list-page .martial-read{grid-column:1/-1;justify-self:stretch;min-height:32px}
  body.nf-ranking-page .martial-entry{grid-template-columns:30px 62px minmax(0,1fr);gap:9px;min-height:112px;padding:9px}
  body.nf-ranking-page .martial-number{width:26px;height:26px;font-size:12px}
  body.nf-ranking-page .martial-cover img{width:62px}
  body.nf-list-page .archive-pagination{gap:6px}
body.nf-list-page .archive-pagination a,body.nf-list-page .archive-pagination span{min-width:30px;height:30px;padding:0 7px;font-size:11px}
}

/* Category genre grid pages */
body.nf-category-page .nf-category-cover-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px 14px;margin:0;padding:0;background:transparent}
body.nf-category-page .nf-category-cover-item{min-width:0}
body.nf-category-page .nf-category-cover{display:block;border-radius:2px;background:#222;box-shadow:none}
body.nf-category-page .nf-category-cover img{display:block;width:100%;height:100%;border:0;background:#222;object-fit:cover;object-position:center top;transition:transform .18s ease}
body.nf-category-page .nf-category-cover-item:hover .nf-category-cover img{transform:scale(1.035)}
body.nf-category-page .nf-category-cover-title{display:-webkit-box;margin:7px 0 0;color:#ededed;font-size:12px;font-weight:800;line-height:1.25;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.nf-category-page .nf-category-cover-title a{color:#ededed!important}
body.nf-category-page .nf-category-cover-meta{display:flex;gap:4px;align-items:center;min-width:0;margin:2px 0 0;color:#858585;font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden}
body.nf-category-page .nf-category-cover-meta a{min-width:0;color:#858585!important;overflow:hidden;text-overflow:ellipsis}
body.nf-category-page .nf-category-cover-meta a:hover{color:#2d9cdb!important}
body.nf-category-page .nf-category-cover-meta span{flex:0 0 auto;color:#555}
body.nf-category-page .archive-list-panel{padding:0}
body.nf-category-page .archive-list-title{margin-bottom:14px}
body.nf-category-page .nf-category-list-stats{display:flex;flex-direction:column;align-items:flex-end;gap:3px;color:#777;font-size:12px;font-weight:800;line-height:1.25;text-transform:none}
body.nf-category-page .nf-category-list-stats span:first-child{color:#9a9a9a;text-transform:uppercase}
body.nf-category-page .nf-category-list-stats span:last-child{color:#2d9cdb}
body.nf-category-page .nf-category-pagination{justify-content:center;gap:8px;margin:24px auto 0;padding:12px;border:1px solid #292929;border-radius:6px;background:#181818}
body.nf-category-page .nf-category-pagination a,body.nf-category-page .nf-category-pagination span{height:34px;border-radius:4px}
body.nf-category-page .nf-category-pagination .nf-page-indicator{min-width:auto;padding:0 13px;border-color:#3a3a3a;background:#111;color:#e2e2e2}
body.nf-category-page .nf-category-pagination .prev,body.nf-category-page .nf-category-pagination .next{min-width:62px}
body.nf-category-page .nf-category-pagination .first,body.nf-category-page .nf-category-pagination .last{min-width:54px;color:#999}
html body.genre-index-page,html.wuxia-light-theme body.genre-index-page{background:#111;color:#bdbdbd}
body.genre-index-page a{color:#d7d7d7}
body.genre-index-page a:hover{color:#2d9cdb}
body.genre-index-page .archive-genre-page{max-width:1040px;margin:0 auto;padding:18px 0 44px}
body.genre-index-page .archive-breadcrumb{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:0;color:#777;font-size:13px;line-height:22px;background:transparent;box-shadow:none}
body.genre-index-page .archive-breadcrumb a,body.genre-index-page .archive-breadcrumb span{color:#8c8c8c}
body.genre-index-page .genre-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 18px;padding:20px 0 16px;border-bottom:1px solid #292929}
body.genre-index-page .genre-heading-copy{min-width:0}
body.genre-index-page .genre-kicker{display:inline-flex;margin:0 0 8px;color:#2d9cdb;font-size:12px;font-weight:900;line-height:1.2;text-transform:uppercase}
body.genre-index-page .genre-heading h1{margin:0;color:#f0f0f0;font-size:31px;font-weight:900;line-height:1.14}
body.genre-index-page .genre-heading p{max-width:640px;margin:9px 0 0;color:#8b8b8b;font-size:14px;line-height:1.55}
body.genre-index-page .genre-all-cta{flex:0 0 auto;display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:1px solid #2d9cdb;border-radius:6px;background:#173042;color:#fff!important;font-size:13px;font-weight:900;box-shadow:0 10px 28px rgba(45,156,219,.12)}
body.genre-index-page .genre-all-cta:hover{background:#1e4560;transform:translateY(-1px)}
body.genre-index-page .archive-list-panel{border:0;background:transparent;box-shadow:none}
body.genre-index-page .genre-directory-panel{padding:0}
body.genre-index-page .genre-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid #292929}
body.genre-index-page .genre-panel-head h2{margin:0;color:#e5e5e5;font-size:21px;font-weight:900;line-height:1.25}
body.genre-index-page .genre-panel-head span{color:#777;font-size:12px;font-weight:800;text-transform:uppercase}
body.genre-index-page .genre-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0;padding:0;background:transparent}
body.genre-index-page .genre-card{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;min-height:82px;min-width:0;padding:14px;border:1px solid #292929;border-radius:7px;background:#181818;color:#d7d7d7!important;box-shadow:none;overflow:hidden;transition:border-color .18s ease,background .18s ease,transform .18s ease}
body.genre-index-page .genre-card:after{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,rgba(45,156,219,.65),rgba(45,156,219,0))}
body.genre-index-page .genre-card:hover{border-color:#3a78a0;background:#1b1b1b;transform:translateY(-2px)}
body.genre-index-page .genre-card-all{border-color:#2d9cdb;background:#172631}
body.genre-index-page .genre-visual{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid #303030;border-radius:6px;background:#111;color:#2d9cdb}
body.genre-index-page .genre-icon{display:block;width:1em;height:1em;color:inherit;font:normal normal normal 18px/1 FontAwesome;text-rendering:auto;-webkit-font-smoothing:antialiased}
body.genre-index-page .genre-icon:before{content:"\f02d"}
body.genre-index-page .genre-card-main{display:block;min-width:0}
body.genre-index-page .genre-name{display:-webkit-box;color:#ededed;font-size:15px;font-weight:900;line-height:1.25;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.genre-index-page .genre-card-sub{display:block;margin-top:4px;color:#7d7d7d;font-size:11px;font-weight:800;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}
body.genre-index-page .genre-card:hover .genre-visual{border-color:#2d9cdb;background:#132838;color:#75caff}
body.genre-index-page .genre-card[data-genre="all"] .genre-icon:before{content:"\f009"}
body.genre-index-page .genre-card[data-genre="action"] .genre-icon:before{content:"\f0e7"}
body.genre-index-page .genre-card[data-genre="adventure"] .genre-icon:before{content:"\f14e"}
body.genre-index-page .genre-card[data-genre="anime-comics"] .genre-icon:before{content:"\f03d"}
body.genre-index-page .genre-card[data-genre="comedy"] .genre-icon:before{content:"\f118"}
body.genre-index-page .genre-card[data-genre="drama"] .genre-icon:before{content:"\f008"}
body.genre-index-page .genre-card[data-genre="eastern"] .genre-icon:before{content:"\f19c"}
body.genre-index-page .genre-card[data-genre="fan-fiction"] .genre-icon:before{content:"\f040"}
body.genre-index-page .genre-card[data-genre="fantasy"],body.genre-index-page .genre-card[data-genre="magic"],body.genre-index-page .genre-card[data-genre="magical-realism"]{--genre-accent:#b78cff}
body.genre-index-page .genre-card[data-genre="fantasy"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="magic"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="magical-realism"] .genre-icon:before{content:"\f0d0"}
body.genre-index-page .genre-card[data-genre="game"],body.genre-index-page .genre-card[data-genre="video-games"]{--genre-accent:#61d1a8}
body.genre-index-page .genre-card[data-genre="game"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="video-games"] .genre-icon:before{content:"\f11b"}
body.genre-index-page .genre-card[data-genre="gender-bender"] .genre-icon:before{content:"\f228"}
body.genre-index-page .genre-card[data-genre="harem"] .genre-icon:before{content:"\f0c0"}
body.genre-index-page .genre-card[data-genre="historical"] .genre-icon:before{content:"\f19d"}
body.genre-index-page .genre-card[data-genre="horror"],body.genre-index-page .genre-card[data-genre="supernatural"],body.genre-index-page .genre-card[data-genre="thriller"]{--genre-accent:#f08a8a}
body.genre-index-page .genre-card[data-genre="horror"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="supernatural"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="thriller"] .genre-icon:before{content:"\f186"}
body.genre-index-page .genre-card[data-genre="isekai"],body.genre-index-page .genre-card[data-genre="reincarnation"]{--genre-accent:#69b7ff}
body.genre-index-page .genre-card[data-genre="isekai"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="reincarnation"] .genre-icon:before{content:"\f0ac"}
body.genre-index-page .genre-card[data-genre="josei"],body.genre-index-page .genre-card[data-genre="seinen"],body.genre-index-page .genre-card[data-genre="shoujo"],body.genre-index-page .genre-card[data-genre="shoujo-ai"],body.genre-index-page .genre-card[data-genre="shounen"],body.genre-index-page .genre-card[data-genre="shounen-ai"]{--genre-accent:#f1b65c}
body.genre-index-page .genre-card[data-genre="josei"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="seinen"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="shoujo"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="shoujo-ai"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="shounen"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="shounen-ai"] .genre-icon:before{content:"\f02d"}
body.genre-index-page .genre-card[data-genre="litrpg"],body.genre-index-page .genre-card[data-genre="system"]{--genre-accent:#61d1a8}
body.genre-index-page .genre-card[data-genre="litrpg"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="system"] .genre-icon:before{content:"\f1b2"}
body.genre-index-page .genre-card[data-genre="martial-arts"],body.genre-index-page .genre-card[data-genre="wuxia"],body.genre-index-page .genre-card[data-genre="xianxia"],body.genre-index-page .genre-card[data-genre="xuanhuan"]{--genre-accent:#f06d5c}
body.genre-index-page .genre-card[data-genre="martial-arts"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="wuxia"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="xianxia"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="xuanhuan"] .genre-icon:before{content:"\f06d"}
body.genre-index-page .genre-card[data-genre="mature"] .genre-icon:before{content:"\f05a"}
body.genre-index-page .genre-card[data-genre="mecha"] .genre-icon:before{content:"\f1b3"}
body.genre-index-page .genre-card[data-genre="military"],body.genre-index-page .genre-card[data-genre="war"]{--genre-accent:#b6c063}
body.genre-index-page .genre-card[data-genre="military"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="war"] .genre-icon:before{content:"\f132"}
body.genre-index-page .genre-card[data-genre="modern-life"],body.genre-index-page .genre-card[data-genre="urban"]{--genre-accent:#69b7ff}
body.genre-index-page .genre-card[data-genre="modern-life"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="urban"] .genre-icon:before{content:"\f1ad"}
body.genre-index-page .genre-card[data-genre="mystery"],body.genre-index-page .genre-card[data-genre="psychological"]{--genre-accent:#b78cff}
body.genre-index-page .genre-card[data-genre="mystery"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="psychological"] .genre-icon:before{content:"\f059"}
body.genre-index-page .genre-card[data-genre="romance"],body.genre-index-page .genre-card[data-genre="yaoi"],body.genre-index-page .genre-card[data-genre="yuri"]{--genre-accent:#ff7aa7}
body.genre-index-page .genre-card[data-genre="romance"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="yaoi"] .genre-icon:before,body.genre-index-page .genre-card[data-genre="yuri"] .genre-icon:before{content:"\f004"}
body.genre-index-page .genre-card[data-genre="school-life"] .genre-icon:before{content:"\f19d"}
body.genre-index-page .genre-card[data-genre="sci-fi"] .genre-icon:before{content:"\f135"}
body.genre-index-page .genre-card[data-genre="slice-of-life"] .genre-icon:before{content:"\f015"}
body.genre-index-page .genre-card[data-genre="smut"] .genre-icon:before{content:"\f06e"}
body.genre-index-page .genre-card[data-genre="sports"] .genre-icon:before{content:"\f1e3"}
body.genre-index-page .genre-card[data-genre="tragedy"] .genre-icon:before{content:"\f071"}
body.genre-index-page .genre-card[data-genre="other"] .genre-icon:before{content:"\f141"}
body.genre-index-page .genre-card[style],body.genre-index-page .genre-card[data-genre]{color:#d7d7d7!important}
body.genre-index-page .genre-card[data-genre] .genre-visual{color:var(--genre-accent,#2d9cdb)}
@media(max-width:980px){
  body.nf-category-page .nf-category-cover-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.genre-index-page .archive-genre-page{max-width:none;margin-left:14px;margin-right:14px}
  body.genre-index-page .genre-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.genre-index-page .genre-heading h1{font-size:28px}
}
@media(max-width:640px){
  body.nf-category-page .archive-filter-panel{padding:10px 10px 12px}
  body.nf-category-page .archive-filter-links,body.nf-category-page .nf-filter-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;overflow:visible;padding-bottom:0}
  body.nf-category-page .archive-filter-links a,body.nf-category-page .nf-filter-links a{flex:none;min-width:0;min-height:32px;height:auto;justify-content:center;padding:7px 6px;font-size:11px;line-height:1.18;text-align:center;white-space:normal;word-break:normal;overflow-wrap:anywhere}
  body.nf-category-page .archive-list-title{align-items:flex-start}
  body.nf-category-page .nf-category-list-stats{align-items:flex-start;margin-top:6px;font-size:11px}
  body.nf-category-page .nf-category-pagination{justify-content:flex-start;gap:6px;margin-top:18px;padding:10px}
  body.nf-category-page .nf-category-pagination .nf-page-indicator{width:100%;height:30px;justify-content:flex-start;box-sizing:border-box}
  body.nf-category-page .nf-category-pagination a{min-width:32px;height:30px;padding:0 8px}
  body.nf-category-page .nf-category-pagination .first,body.nf-category-page .nf-category-pagination .last{display:none}
  body.nf-category-page .nf-category-pagination .prev,body.nf-category-page .nf-category-pagination .next{min-width:48px}
  body.nf-category-page .nf-category-cover-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}
  body.nf-category-page .nf-category-cover-title{font-size:11px}
  body.nf-category-page .nf-category-cover-meta{font-size:10px}
  body.genre-index-page .archive-genre-page{margin-left:10px;margin-right:10px;padding-top:12px;padding-bottom:30px}
  body.genre-index-page .archive-breadcrumb{margin-bottom:10px;font-size:12px}
  body.genre-index-page .genre-heading{display:block;margin-bottom:14px;padding:12px 0 14px}
  body.genre-index-page .genre-kicker{font-size:11px}
  body.genre-index-page .genre-heading h1{font-size:22px}
  body.genre-index-page .genre-heading p{font-size:13px}
  body.genre-index-page .genre-all-cta{width:100%;box-sizing:border-box;margin-top:12px;min-height:38px}
  body.genre-index-page .genre-panel-head{align-items:flex-start;margin-bottom:10px}
  body.genre-index-page .genre-panel-head h2{font-size:17px}
  body.genre-index-page .genre-panel-head span{font-size:10px;line-height:1.3;text-align:right}
  body.genre-index-page .genre-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  body.genre-index-page .genre-card{display:flex;min-height:104px;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 8px;text-align:center}
  body.genre-index-page .genre-visual{width:38px;height:38px}
  body.genre-index-page .genre-icon{font-size:17px}
  body.genre-index-page .genre-card-main{width:100%}
  body.genre-index-page .genre-name{min-height:34px;justify-content:center;color:#f0f0f0;font-size:13px;line-height:1.25}
  body.genre-index-page .genre-card-sub{margin-top:2px;font-size:9px}
}

/* NovelFire-style tag pages */
body.nf-tag-index-page .archive-directory-shell,body.nf-tag-list-page .archive-directory-shell{max-width:1040px}
body.nf-tag-panel{margin:0 0 18px;padding:16px;border:1px solid #292929;border-radius:6px;background:#181818;box-shadow:none}
body.nf-tag-panel .archive-list-title{margin-bottom:12px}
body .nf-tag-cloud,body .nf-tag-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0;padding:0}
body .nf-tag-cloud li,body .nf-tag-items li{min-width:0}
body .nf-tag-cloud a,body .nf-tag-items a{display:flex;min-height:38px;align-items:center;min-width:0;padding:0 12px;border:1px solid #303030;border-radius:4px;background:#111;color:#d7d7d7!important;font-size:13px;font-weight:800;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .nf-tag-cloud a:hover,body .nf-tag-items a:hover{border-color:#2d9cdb;background:#1b2b35;color:#fff!important}
body .nf-tag-letters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px;padding:12px;border:1px solid #292929;border-radius:6px;background:#181818}
body .nf-tag-letters a,body .nf-tag-letters span{display:inline-flex;width:34px;height:32px;align-items:center;justify-content:center;border:1px solid #303030;border-radius:4px;background:#111;color:#cfcfcf!important;font-size:13px;font-weight:900}
body .nf-tag-letters a.active,body .nf-tag-letters a:hover{border-color:#2d9cdb;background:#2d9cdb;color:#fff!important}
body .nf-tag-letters .disabled{cursor:not-allowed;border-color:#242424;background:#151515;color:#5f5f5f!important}
body .nf-tag-letters .disabled.active{border-color:#3a3a3a;background:#202020;color:#8b8b8b!important}
body .nf-tag-empty{display:grid;gap:6px;padding:18px;border:1px dashed #333;border-radius:5px;background:#131313;color:#8f8f8f;text-align:center}
body .nf-tag-empty strong{color:#ededed;font-size:15px;font-weight:900}
body .nf-tag-empty span{font-size:13px;font-weight:700;line-height:1.4}
body .nf-tag-order-tabs{display:flex;gap:8px;margin:0 0 18px;border-bottom:1px solid #292929}
body .nf-tag-order-tabs a{display:inline-flex;min-height:40px;align-items:center;padding:0 18px;border:1px solid #292929;border-bottom:0;border-radius:5px 5px 0 0;background:#181818;color:#cfcfcf!important;font-size:14px;font-weight:900}
body .nf-tag-order-tabs a.active,body .nf-tag-order-tabs a:hover{border-color:#2d9cdb;background:#2d9cdb;color:#fff!important}
body .nf-tag-novel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0;padding:0}
body .nf-tag-novel-item{min-width:0;border:1px solid #292929;border-radius:6px;background:#181818;overflow:hidden;transition:border-color .18s ease,transform .18s ease,background .18s ease}
body .nf-tag-novel-item:hover{border-color:#3a78a0;background:#1d1d1d;transform:translateY(-1px)}
body .nf-tag-novel-cover{display:block;aspect-ratio:2/3;background:#222;overflow:hidden}
body .nf-tag-novel-cover img{display:block;width:100%;height:100%;border:0;background:#222;object-fit:cover;object-position:center top;transition:transform .18s ease}
body .nf-tag-novel-item:hover .nf-tag-novel-cover img{transform:scale(1.035)}
body .nf-tag-novel-main{display:grid;gap:7px;padding:11px 12px 13px;min-width:0}
body .nf-tag-novel-main h3{display:-webkit-box;margin:0;color:#ededed;font-size:15px;font-weight:900;line-height:1.25;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body .nf-tag-novel-main h3 a{color:#ededed!important}
body .nf-tag-novel-meta{display:flex;flex-wrap:wrap;gap:6px 10px;color:#8b8b8b;font-size:12px;font-weight:700;line-height:1.3}
body .nf-tag-novel-meta span{min-width:0}
body .nf-tag-novel-main p{display:-webkit-box;margin:0;color:#969696;font-size:12px;line-height:1.45;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body .nf-tag-novel-chapter{display:block;min-width:0;color:#2d9cdb!important;font-size:12px;font-weight:800;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.wuxia-light-theme body.nf-tag-panel,html.wuxia-light-theme body .nf-tag-letters,html.wuxia-light-theme body .nf-tag-novel-item{border-color:#292929;background:#181818;color:#bdbdbd}
html.wuxia-light-theme body .nf-tag-novel-main h3,html.wuxia-light-theme body .nf-tag-novel-main h3 a{color:#ededed!important}
@media(max-width:900px){
  body .nf-tag-cloud,body .nf-tag-items{grid-template-columns:repeat(3,minmax(0,1fr))}
  body .nf-tag-novel-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
}
@media(max-width:640px){
  body .nf-tag-cloud,body .nf-tag-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body .nf-tag-cloud a,body .nf-tag-items a{min-height:36px;padding:0 10px;font-size:12px}
  body .nf-tag-letters{gap:6px;padding:10px}
  body .nf-tag-letters a,body .nf-tag-letters span{width:30px;height:30px;font-size:12px}
  body .nf-tag-order-tabs{overflow-x:auto;scrollbar-width:none}
  body .nf-tag-order-tabs::-webkit-scrollbar{display:none}
  body .nf-tag-order-tabs a{flex:0 0 auto;min-height:36px;padding:0 15px;font-size:13px}
  body .nf-tag-novel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body .nf-tag-novel-main{padding:9px 10px 11px}
  body .nf-tag-novel-main h3{font-size:13px}
  body .nf-tag-novel-main p{display:none}
  body .nf-tag-novel-meta{font-size:11px}
}

/* Header and homepage first-screen polish */
body .wuxia-site-header{background:#101010;border-bottom:1px solid #222;box-shadow:none}
body .wuxia-topbar{display:grid;grid-template-columns:170px minmax(390px,1fr) 34px 330px 78px;gap:12px;align-items:end;max-width:1080px;min-height:66px;margin:0 auto;padding:0 0 10px;box-sizing:border-box}
body .wuxia-brand{align-self:end;padding-bottom:4px}
body .wuxia-brand-link{display:inline-flex;color:#e06b6b!important;line-height:1;text-decoration:none;white-space:nowrap}
body .nf-brand-name{color:#e06b6b;font-size:25px;font-weight:900;line-height:1}
body .nf-brand-name strong{color:#e06b6b}
body .wuxia-brand-tagline{position:absolute;left:182px;top:13px;color:#a8b4cf;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}
body .wuxia-topbar>.wuxia-nav{align-self:end;min-width:0;margin:0;padding:0}
body .wuxia-topbar>.wuxia-nav ul{display:flex;align-items:center;gap:14px;min-height:30px;margin:0;padding:0;overflow:visible}
body .wuxia-topbar>.wuxia-nav li{display:flex;min-width:0}
body .wuxia-topbar>.wuxia-nav a{display:inline-flex;height:30px;align-items:center;gap:4px;padding:0;background:none;border:0;color:#b7b7b7;font-size:15px;font-weight:800;line-height:30px;text-decoration:none;white-space:nowrap}
body .wuxia-topbar>.wuxia-nav a i{flex:0 0 auto;color:#b7b7b7;font-size:14px}
body .wuxia-topbar>.wuxia-nav li:last-child a{min-width:94px}
body .wuxia-topbar>.wuxia-nav a:hover,body .wuxia-topbar>.wuxia-nav a.pt-active{color:#fff}
body .wuxia-settings-action,body .wuxia-theme-toggle{width:30px;height:30px;align-self:end;margin:0 0 1px;padding:0;border:1px solid #9a9a9a;border-radius:4px;background:#181818;color:#d8d8d8}
body .wuxia-search.searchbox{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 74px;align-self:end;width:330px;height:40px;margin:0;border:1px solid #2c2c2c;border-radius:22px;background:#1b1b1b;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);overflow:hidden}
body .wuxia-search.searchbox:before{content:"";position:absolute;left:16px;top:12px;width:13px;height:13px;border:3px solid #777;border-radius:50%;box-sizing:border-box;opacity:.9}
body .wuxia-search.searchbox:after{content:"";position:absolute;left:27px;top:25px;width:8px;height:3px;border-radius:3px;background:#777;transform:rotate(45deg);opacity:.9}
body .wuxia-search label{display:block;min-width:0}
body .wuxia-search .text{box-sizing:border-box;width:100%;height:38px;padding:0 10px 0 34px;border:0;background:#1b1b1b;color:#e1e1e1;font-size:14px;line-height:38px;outline:none}
body .wuxia-search .text::placeholder{color:#8f8f8f}
body .wuxia-search .dropmenu{display:flex;position:relative;height:38px;align-items:center;justify-content:center;border:0;background:transparent}
body .wuxia-search .dropmenu:before{content:"Title";display:inline-flex;min-width:50px;height:28px;align-items:center;justify-content:center;padding:0 14px 0 10px;border-radius:15px;background:#262b3a;color:#e1e1e1;font-size:12px;font-weight:900;line-height:28px;box-sizing:border-box}
body .wuxia-search .tri{position:absolute;right:9px;top:17px;border:4px solid transparent;border-top-color:#a9a9a9}
body .wuxia-search .dropmenu-item{display:none}
body .wuxia-search .searchbtn{position:absolute;right:0;top:0;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}
body .wuxia-actions{align-self:end}
body .login-action{min-width:78px;height:36px;border-radius:4px;background:#2f95d2!important;color:#fff!important;font-size:15px}
body .wuxia-header-copy{background:#151515;border-top:1px solid #1c1c1c}
body .wuxia-header-copy .w-all{max-width:980px;min-height:38px;margin:0 auto;padding:0;color:#9b9b9b;font-size:15px;font-weight:700;line-height:38px;box-sizing:border-box}
body.nf-home-page .nf-home{max-width:980px;margin:0 auto;padding-top:14px}
body.nf-home-page .nf-intro{margin:0 0 12px;padding:0;color:#bdbdbd;font-size:13px;line-height:1.4}
body.nf-home-page .nf-intro h1{display:block;margin:0;color:#d4d4d4;font-size:14px;font-weight:800;line-height:1.4}
body.nf-home-page .nf-intro p{display:none!important}
body.nf-home-page .nf-alert{margin:0 0 8px;padding:11px 13px;border:0;background:#ffd8e5;color:#111;font-size:12px;line-height:1.45}
body.nf-home-page .nf-ad-box,body.nf-home-page .ad-placement-home{max-width:980px;margin:10px auto 14px;border-color:#2c2c2c;background:#151515}
body.nf-home-page .nf-section{margin-top:20px}
html.wuxia-light-theme body .wuxia-site-header{background:#fff;border-bottom-color:#d9dce2}
html.wuxia-light-theme body .wuxia-brand-link,html.wuxia-light-theme body .nf-brand-name,html.wuxia-light-theme body .nf-brand-name strong{color:#cf5554!important}
html.wuxia-light-theme body .wuxia-brand-tagline{color:#566070}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a,html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a i{color:#50545a}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a:hover,html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a.pt-active{color:#111}
html.wuxia-light-theme body .wuxia-settings-action,html.wuxia-light-theme body .wuxia-theme-toggle{border-color:#c4cad3;background:#f6f7f9;color:#333}
html.wuxia-light-theme body .wuxia-search.searchbox{border-color:#d6dce5;background:#f4f6f9;box-shadow:none}
html.wuxia-light-theme body .wuxia-search .text{background:#f4f6f9;color:#222}
html.wuxia-light-theme body .wuxia-search .text::placeholder{color:#7d8691}
html.wuxia-light-theme body .wuxia-search .dropmenu:before{background:#e6ebf2;color:#2c333d}
html.wuxia-light-theme body .wuxia-header-copy{background:#f7f8fa;border-top-color:#e9edf2}
html.wuxia-light-theme body .wuxia-header-copy .w-all{color:#666d77}
@media(max-width:1120px){
  body .wuxia-topbar{grid-template-columns:158px minmax(342px,1fr) 32px 290px 74px;gap:10px;max-width:none;margin:0 14px}
  body .wuxia-brand-tagline{left:170px}
  body .wuxia-topbar>.wuxia-nav ul{gap:10px}
  body .wuxia-topbar>.wuxia-nav a{font-size:14px}
  body .wuxia-topbar>.wuxia-nav li:last-child a{min-width:86px}
  body .wuxia-search.searchbox{width:290px}
  body .wuxia-header-copy .w-all{max-width:none;margin:0 14px}
}
@media(max-width:960px){
  body .wuxia-topbar{grid-template-columns:minmax(0,1fr) auto;gap:0;min-height:auto;margin:0;padding:9px 10px;align-items:center}
  body .wuxia-brand{align-self:center;padding-bottom:0}
  body .nf-brand-name{font-size:23px}
  body .wuxia-brand-tagline,body .wuxia-topbar>.wuxia-theme-toggle{display:none}
  body .wuxia-actions{display:none}
  body .wuxia-mobile-actions{display:flex;align-items:center;gap:6px}
  body .wuxia-theme-toggle-mobile{width:34px;min-width:34px;height:34px;padding:0;border:1px solid #333;background:#191919;color:#d0d0d0}
  body .wuxia-topbar>.wuxia-nav{display:none;grid-column:1/-1;order:3;margin:9px 0 0}
  body #mobile-menu-toggle:checked ~ .wuxia-topbar .wuxia-nav{display:block}
  body .wuxia-topbar>.wuxia-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-height:0;padding:0;overflow:visible}
  body .wuxia-topbar>.wuxia-nav a{justify-content:center;width:100%;height:34px;border:1px solid #2d2d2d;border-radius:4px;background:#181818;color:#d0d0d0;font-size:13px;box-sizing:border-box}
  body .wuxia-topbar>.wuxia-nav li:last-child a{min-width:0}
  body .wuxia-search.searchbox{display:none;grid-column:1/-1;grid-template-columns:minmax(0,1fr) 72px;order:4;width:auto;height:40px;margin:9px 0 0;border-radius:22px}
  body #mobile-search-toggle:checked ~ .wuxia-topbar .wuxia-search{display:grid}
  body .wuxia-mobile-actions .wuxia-action{height:34px}
  body .wuxia-mobile-actions .login-action{min-width:68px;height:34px;font-size:13px}
  body .wuxia-header-copy .w-all{min-height:auto;margin:0 10px;padding:7px 0;font-size:12px;line-height:1.45;text-align:left}
  body.nf-home-page .nf-home{margin-left:14px;margin-right:14px;padding-top:12px}
}
@media(max-width:420px){
  body .wuxia-topbar{padding-left:10px;padding-right:10px}
  body .nf-brand-name{font-size:22px}
  body .wuxia-mobile-actions{gap:5px}
  body .wuxia-mobile-actions .login-action{min-width:66px}
  body .wuxia-mobile-actions .wuxia-action{padding-left:8px;padding-right:8px}
}

/* Clean header refresh: compact nav and pure search input */
body .wuxia-site-header{background:#101010;border-bottom:1px solid #202020;box-shadow:none}
body .wuxia-topbar{display:grid;grid-template-columns:150px minmax(330px,1fr) 32px 300px 70px;gap:11px;align-items:end;max-width:1040px;min-height:62px;margin:0 auto;padding:0 0 9px;box-sizing:border-box}
body .wuxia-brand{align-self:end;padding:0 0 3px}
body .wuxia-brand-link{display:inline-flex;color:#e36d6d!important;text-decoration:none;white-space:nowrap}
body .nf-brand-name{color:#e36d6d;font-size:24px;font-weight:900;line-height:1}
body .nf-brand-name strong{color:#e36d6d}
body .wuxia-brand-tagline{position:absolute;left:160px;top:11px;color:#a8b4cf;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}
body .wuxia-topbar>.wuxia-nav{align-self:end;min-width:0;margin:0;padding:0}
body .wuxia-topbar>.wuxia-nav ul{display:flex;align-items:center;gap:13px;min-height:29px;margin:0;padding:0;overflow:visible}
body .wuxia-topbar>.wuxia-nav li{display:flex;min-width:0}
body .wuxia-topbar>.wuxia-nav a{display:inline-flex;height:29px;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:#b9b9b9;font-size:14px;font-weight:800;line-height:29px;text-decoration:none;white-space:nowrap}
body .wuxia-topbar>.wuxia-nav a i{flex:0 0 auto;color:#a9a9a9;font-size:13px}
body .wuxia-topbar>.wuxia-nav li:last-child a{min-width:0}
body .wuxia-topbar>.wuxia-nav a:hover,body .wuxia-topbar>.wuxia-nav a.pt-active{color:#fff}
body .wuxia-settings-action,body .wuxia-theme-toggle{display:inline-flex;width:30px;height:30px;align-self:end;align-items:center;justify-content:center;margin:0;padding:0;border:1px solid #4b4b4b;border-radius:6px;background:#161616;color:#d0d0d0;font-size:14px;line-height:1;box-sizing:border-box;cursor:pointer}
body .wuxia-settings-action:hover,body .wuxia-theme-toggle:hover,body .wuxia-theme-toggle.is-light{border-color:#6c6c6c;background:#202020;color:#fff}
body .wuxia-search.searchbox{position:relative;display:block;align-self:end;width:300px;height:38px;margin:0;border:1px solid #303030;border-radius:20px;background:#181818;box-shadow:none;overflow:hidden}
body .wuxia-search.searchbox:before{content:"";position:absolute;left:14px;top:11px;width:13px;height:13px;border:2px solid #8b8b8b;border-radius:50%;box-sizing:border-box;opacity:.9;pointer-events:none}
body .wuxia-search.searchbox:after{content:"";position:absolute;left:25px;top:24px;width:7px;height:2px;border-radius:2px;background:#8b8b8b;transform:rotate(45deg);opacity:.9;pointer-events:none}
body .wuxia-search label{display:block;width:100%;height:100%;min-width:0}
body .wuxia-search .text{display:block;box-sizing:border-box;width:100%;height:36px;padding:0 14px 0 36px;border:0;background:#181818;color:#e4e4e4;font-size:14px;line-height:36px;outline:none}
body .wuxia-search .text::placeholder{color:#8a8a8a}
body .wuxia-search .dropmenu{display:none!important}
body .wuxia-search .searchbtn{position:absolute;right:0;top:0;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}
body .wuxia-actions{align-self:end}
body .login-action{min-width:70px;height:34px;border:0!important;border-radius:5px;background:#2f95d2!important;color:#fff!important;font-size:14px;font-weight:800}
body .wuxia-header-copy{background:#151515;border-top:1px solid #1c1c1c}
body .wuxia-header-copy .w-all{max-width:980px;min-height:36px;margin:0 auto;padding:0;color:#9a9a9a;font-size:14px;font-weight:700;line-height:36px;box-sizing:border-box}
html.wuxia-light-theme body .wuxia-site-header{background:#fff;border-bottom-color:#dce1e8}
html.wuxia-light-theme body .wuxia-brand-link,html.wuxia-light-theme body .nf-brand-name,html.wuxia-light-theme body .nf-brand-name strong{color:#cf5554!important}
html.wuxia-light-theme body .wuxia-brand-tagline{color:#5b6677}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a,html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a i{color:#4f5660}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a:hover,html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a.pt-active{color:#101418}
html.wuxia-light-theme body .wuxia-settings-action,html.wuxia-light-theme body .wuxia-theme-toggle,html.wuxia-light-theme body .wuxia-theme-toggle-mobile{border-color:#cdd3dc;background:#f6f7f9;color:#323842}
html.wuxia-light-theme body .wuxia-search.searchbox{border-color:#d8dde5;background:#f4f6f9}
html.wuxia-light-theme body .wuxia-search .text{background:#f4f6f9;color:#20242a}
html.wuxia-light-theme body .wuxia-search .text::placeholder{color:#7a838e}
html.wuxia-light-theme body .wuxia-search.searchbox:before{border-color:#7d8690}
html.wuxia-light-theme body .wuxia-search.searchbox:after{background:#7d8690}
html.wuxia-light-theme body .wuxia-header-copy{background:#f7f8fa;border-top-color:#ebeff4}
html.wuxia-light-theme body .wuxia-header-copy .w-all{color:#646d78}
@media(max-width:1120px){
  body .wuxia-topbar{grid-template-columns:144px minmax(305px,1fr) 30px 270px 68px;gap:9px;max-width:none;margin:0 14px}
  body .wuxia-brand-tagline{left:156px}
  body .wuxia-topbar>.wuxia-nav ul{gap:9px}
  body .wuxia-topbar>.wuxia-nav a{font-size:13px}
  body .wuxia-search.searchbox{width:270px}
  body .wuxia-header-copy .w-all{max-width:none;margin:0 14px}
}
@media(max-width:960px){
  body .wuxia-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;min-height:auto;margin:0;padding:8px 10px;align-items:center}
  body .wuxia-brand{align-self:center;padding:0}
  body .nf-brand-name{font-size:22px}
  body .wuxia-brand-tagline,body .wuxia-topbar>.wuxia-theme-toggle{display:none}
  body .wuxia-actions{display:none}
  body .wuxia-mobile-actions{display:flex;align-items:center;gap:5px}
  body .wuxia-mobile-actions .wuxia-action{height:32px;min-width:auto;padding:0 9px;border-color:#333;border-radius:5px;background:#181818;color:#d4d4d4;font-size:12px;font-weight:800;box-sizing:border-box}
  body .wuxia-mobile-actions .login-action{min-width:62px;height:32px;padding:0 10px;background:#2f95d2!important;color:#fff!important;font-size:12px}
  body .wuxia-theme-toggle-mobile{width:32px;min-width:32px;padding:0}
  body .wuxia-topbar>.wuxia-nav{display:none;grid-column:1/-1;order:3;margin:8px 0 0}
  body #mobile-menu-toggle:checked ~ .wuxia-topbar .wuxia-nav{display:block}
  body .wuxia-topbar>.wuxia-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-height:0;padding:0;overflow:visible}
  body .wuxia-topbar>.wuxia-nav a{justify-content:center;width:100%;height:34px;border:1px solid #2d2d2d;border-radius:5px;background:#181818;color:#d0d0d0;font-size:13px;box-sizing:border-box}
  body .wuxia-search.searchbox{display:none;grid-column:1/-1;order:4;width:auto;height:38px;margin:8px 0 0;border-radius:20px}
  body #mobile-search-toggle:checked ~ .wuxia-topbar .wuxia-search{display:block}
  body .wuxia-search .text{height:36px;line-height:36px}
  body .wuxia-header-copy .w-all{min-height:auto;margin:0 10px;padding:7px 0;font-size:12px;line-height:1.45;text-align:left}
}
@media(max-width:420px){
  body .wuxia-topbar{padding-left:10px;padding-right:10px}
  body .nf-brand-name{font-size:21px}
  body .wuxia-mobile-actions{gap:4px}
  body .wuxia-mobile-actions .wuxia-action{padding-left:8px;padding-right:8px}
  body .wuxia-mobile-actions .login-action{min-width:60px}
}

/* Light theme parity polish */
html.wuxia-light-theme,
html.wuxia-light-theme body{background:#f5f6f8;color:#20242a}
html.wuxia-light-theme body a{color:#1f6f9f}
html.wuxia-light-theme body a:hover{color:#124f78}
html.wuxia-light-theme body .ad-placement{border-color:#d9dee7;background:#fff;color:#6b7280}
html.wuxia-light-theme body .btn,
html.wuxia-light-theme body button,
html.wuxia-light-theme body select,
html.wuxia-light-theme body input.text,
html.wuxia-light-theme body textarea.text,
html.wuxia-light-theme body .text{border-color:#d8dee8;background:#fff;color:#20242a}
html.wuxia-light-theme body input::placeholder,
html.wuxia-light-theme body textarea::placeholder{color:#7c8795}
html.wuxia-light-theme body .btn-success,
html.wuxia-light-theme body .btn-primary,
html.wuxia-light-theme body .wuxia-primary-action,
html.wuxia-light-theme body .login-action,
html.wuxia-light-theme body .search-submit{border-color:#258bd0;background:#258bd0;color:#fff!important}
html.wuxia-light-theme body .btn-danger,
html.wuxia-light-theme body .btn-warning{border-color:#b44a3e;background:#b44a3e;color:#fff!important}
html.wuxia-light-theme body .pagination a,
html.wuxia-light-theme body .pagination span,
html.wuxia-light-theme body .archive-pagination a,
html.wuxia-light-theme body .archive-pagination span,
html.wuxia-light-theme body .chapter-list-pagination a,
html.wuxia-light-theme body .chapter-list-pagination span{border-color:#d8dee8;background:#fff;color:#27313c}
html.wuxia-light-theme body .pagination .current,
html.wuxia-light-theme body .archive-pagination .current,
html.wuxia-light-theme body .chapter-list-pagination .current{border-color:#258bd0;background:#258bd0;color:#fff}

html.wuxia-light-theme body .nf-section,
html.wuxia-light-theme body .archive-panel,
html.wuxia-light-theme body .archive-list-panel,
html.wuxia-light-theme body .archive-rank-panel,
html.wuxia-light-theme body .archive-review-panel,
html.wuxia-light-theme body .archive-side-panel,
html.wuxia-light-theme body .wuxia-panel,
html.wuxia-light-theme body .wuxia-side-card,
html.wuxia-light-theme body .review-card,
html.wuxia-light-theme body .review-side-panel,
html.wuxia-light-theme body .search-panel,
html.wuxia-light-theme body .search-results-panel,
html.wuxia-light-theme body .search-side-panel{border-color:#dfe3ea;background:#fff;color:#20242a;box-shadow:none}
html.wuxia-light-theme body .archive-list-title,
html.wuxia-light-theme body .archive-panel-head,
html.wuxia-light-theme body .archive-review-head,
html.wuxia-light-theme body .wuxia-panel-head,
html.wuxia-light-theme body .nf-section-head{border-color:#e5e9f0;background:transparent}
html.wuxia-light-theme body h1,
html.wuxia-light-theme body h2,
html.wuxia-light-theme body h3,
html.wuxia-light-theme body .archive-list-title h1,
html.wuxia-light-theme body .archive-list-title h2,
html.wuxia-light-theme body .archive-panel-head h2,
html.wuxia-light-theme body .archive-panel-head h3,
html.wuxia-light-theme body .archive-review-head h1,
html.wuxia-light-theme body .wuxia-panel-head h2{color:#20242a}
html.wuxia-light-theme body .tips,
html.wuxia-light-theme body .time,
html.wuxia-light-theme body .chapter-date,
html.wuxia-light-theme body .archive-rank-list li,
html.wuxia-light-theme body .review-title,
html.wuxia-light-theme body .archive-comment-list .title{color:#626b78}
html.wuxia-light-theme body .review-content,
html.wuxia-light-theme body .archive-comment-list .content,
html.wuxia-light-theme body .novelintro,
html.wuxia-light-theme body .wuxia-panel .novelintro{color:#303844}
html.wuxia-light-theme body .review-actions a,
html.wuxia-light-theme body .archive-comment-list .title span[data-id] a,
html.wuxia-light-theme body .archive-comment-list .title a{color:#2f6f9f}
html.wuxia-light-theme body .review-item,
html.wuxia-light-theme body .archive-comment-list li,
html.wuxia-light-theme body .archive-rank-list li{border-color:#e5e9f0}
html.wuxia-light-theme body .addcomment,
html.wuxia-light-theme body .review-form{background:transparent;color:#20242a}

html.wuxia-light-theme body.wuxia-dossier-page,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier-shell{background:#f5f6f8;color:#20242a}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier{background:#fff;color:#20242a}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier:before{background:linear-gradient(90deg,rgba(255,255,255,.93),rgba(245,246,248,.88)),var(--book-cover);background-size:cover;background-position:center 25%;filter:saturate(.95)}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier:after{background:linear-gradient(to top,#f5f6f8,rgba(245,246,248,0))}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier-main h1,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier-byline,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier-stats dd,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-hero-rating dd{color:#20242a}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier-stats dt,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-hero-rating dt,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-hero-rating-main span,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-mark-list:before{color:#626b78}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-dossier-stats div{border-color:rgba(32,36,42,.18)}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-hero-rating,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-hero-rating dl div,
html.wuxia-light-theme body.wuxia-dossier-page .nf-info-quick-card,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-panel,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-side-card,
html.wuxia-light-theme body.wuxia-dossier-page .archive-panel{border-color:#dfe3ea;background:#fff;color:#20242a;box-shadow:none}
html.wuxia-light-theme body.wuxia-dossier-page .nf-info-card-title,
html.wuxia-light-theme body.wuxia-dossier-page .nf-info-card-main{color:#20242a}
html.wuxia-light-theme body.wuxia-dossier-page .nf-info-card-sub,
html.wuxia-light-theme body.wuxia-dossier-page .nf-info-quick-card i{color:#626b78}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-panel-head{border-color:#e5e9f0}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-panel-head h2{color:#20242a}
html.wuxia-light-theme body.wuxia-dossier-page .chapter-panel-toggle,
html.wuxia-light-theme body.wuxia-dossier-page .chapter-page-size,
html.wuxia-light-theme body.wuxia-dossier-page .chapter-sort-toggle,
html.wuxia-light-theme body.wuxia-dossier-page .chapter-view-toggle{border-color:#d8dee8;background:#fff;color:#27313c}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-toolbar{border-color:#e5e9f0;background:#fafbfc;color:#626b78}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-list li{border-color:#e5e9f0}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-list a,
html.wuxia-light-theme body.wuxia-dossier-page .chapter-title{color:#27313c}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-recommend .wuxia-path-card{background:transparent;color:#20242a}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-recommend .wuxia-path-cover{background:#eef2f6}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-recommend .wuxia-path-cover img{background:#eef2f6}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-recommend .wuxia-path-main h3,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-recommend .wuxia-path-main h3 a{color:#20242a!important}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-recommend .wuxia-path-meta,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-recommend .wuxia-path-meta a,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-recommend .wuxia-path-meta span{color:#626b78!important}
html.wuxia-light-theme body.wuxia-dossier-page textarea.text{border-color:#d8dee8;background:#fff;color:#20242a}

html.wuxia-light-theme body.readpage{background:#f5f6f8;color:#20242a}
html.wuxia-light-theme body.readpage .scroll-topbar{border-color:#dfe3ea;background:#fff;box-shadow:0 5px 18px rgba(31,54,35,.06)}
html.wuxia-light-theme body.readpage .site-logo-text{color:#cf5554!important}
html.wuxia-light-theme body.readpage .logo:after,
html.wuxia-light-theme body.readpage .scroll-title .info,
html.wuxia-light-theme body.readpage .scroll-title .info span,
html.wuxia-light-theme body.readpage .scroll-tools-label,
html.wuxia-light-theme body.readpage .reader-font-size,
html.wuxia-light-theme body.readpage .site-inline-share-label,
html.wuxia-light-theme body.readpage .archive-panel-head span{color:#626b78!important}
html.wuxia-light-theme body.readpage .searchbox form,
html.wuxia-light-theme body.readpage .searchbox .text,
html.wuxia-light-theme body.readpage .reader-top-btn,
html.wuxia-light-theme body.readpage .reader-font-btn,
html.wuxia-light-theme body.readpage .reader-font-reset{border-color:#d8dee8;background:#fff;color:#20242a!important}
html.wuxia-light-theme body.readpage .searchbox .searchbtn{border-color:#d8dee8;background:#eef2f6;color:#27313c}
html.wuxia-light-theme body.readpage .scroll-stage{background:#f5f6f8;color:#20242a}
html.wuxia-light-theme body.readpage .scroll-title h1,
html.wuxia-light-theme body.readpage .scroll-title h1 a,
html.wuxia-light-theme body.readpage #chaptercontent,
html.wuxia-light-theme body.readpage #chaptercontent p,
html.wuxia-light-theme body.readpage .scroll-stage .content{color:#20242a!important}
html.wuxia-light-theme body.readpage .scroll-nav.reader-nav-docked{background:#fff;box-shadow:0 8px 18px rgba(31,54,35,.12)}
html.wuxia-light-theme body.readpage .scroll-nav-link,
html.wuxia-light-theme body.readpage .scroll-chapter-nav a,
html.wuxia-light-theme body.readpage .scroll-chapter-nav button,
html.wuxia-light-theme body.readpage .operate a,
html.wuxia-light-theme body.readpage .operate button{border-color:#258bd0;background:#258bd0;color:#fff!important}
html.wuxia-light-theme body.readpage .scroll-dir,
html.wuxia-light-theme body.readpage .reader-bottom-dialog-open{border-color:#d8dee8!important;background:#fff!important;color:#27313c!important}
html.wuxia-light-theme body.readpage .scroll-tools,
html.wuxia-light-theme body.readpage .scroll-context-note,
html.wuxia-light-theme body.readpage .scroll-bottom-note,
html.wuxia-light-theme body.readpage .readingTips,
html.wuxia-light-theme body.readpage .site-inline-share,
html.wuxia-light-theme body.readpage .scroll-suggestions,
html.wuxia-light-theme body.readpage .archive-panel.commentarea{border-color:#dfe3ea;background:#fff;color:#303844}
html.wuxia-light-theme body.readpage .scroll-context-note strong,
html.wuxia-light-theme body.readpage .scroll-suggestions-head h2,
html.wuxia-light-theme body.readpage .archive-panel-head h3{color:#20242a}
html.wuxia-light-theme body.readpage .scroll-suggestions-head,
html.wuxia-light-theme body.readpage .archive-panel-head{border-color:#e5e9f0;background:#fff}
html.wuxia-light-theme body.readpage .scroll-suggestion-card{border-color:#dfe3ea;background:#fff;color:#20242a}
html.wuxia-light-theme body.readpage .scroll-suggestion-cover img{background:#eef2f6}
html.wuxia-light-theme body.readpage .scroll-suggestion-main h3 a{color:#1f6f9f}
html.wuxia-light-theme body.readpage .scroll-suggestion-meta,
html.wuxia-light-theme body.readpage .scroll-suggestion-meta a,
html.wuxia-light-theme body.readpage .scroll-suggestion-intro{color:#626b78}
html.wuxia-light-theme body.readpage .archive-comment-list li{border-color:#e5e9f0}
html.wuxia-light-theme body.readpage .archive-comment-list .title{color:#626b78}
html.wuxia-light-theme body.readpage .archive-comment-list .content{color:#303844}
html.wuxia-light-theme body.readpage textarea.text{border-color:#d8dee8;background:#fff;color:#20242a}
html.wuxia-light-theme body.readpage .reader-chapter-modal-backdrop{background:rgba(15,23,42,.42)}
html.wuxia-light-theme body.readpage .reader-chapter-modal-panel,
html.wuxia-light-theme body.readpage .reader-chapter-modal-head,
html.wuxia-light-theme body.readpage .reader-chapter-modal-tools,
html.wuxia-light-theme body.readpage .reader-chapter-dialog-pagination{border-color:#dfe3ea;background:#fff;color:#20242a}
html.wuxia-light-theme body.readpage .reader-chapter-modal-head h2{color:#20242a}
html.wuxia-light-theme body.readpage .reader-chapter-modal-close,
html.wuxia-light-theme body.readpage .reader-chapter-search-wrap,
html.wuxia-light-theme body.readpage .reader-chapter-search,
html.wuxia-light-theme body.readpage .reader-chapter-bookmark,
html.wuxia-light-theme body.readpage .reader-chapter-sort,
html.wuxia-light-theme body.readpage .reader-chapter-page-size,
html.wuxia-light-theme body.readpage .reader-chapter-dialog-pagination button{border-color:#d8dee8;background:#fff;color:#20242a}
html.wuxia-light-theme body.readpage .reader-chapter-modal-body{background:#f8fafc}
html.wuxia-light-theme body.readpage .reader-chapter-dialog-list a{border-color:#dfe3ea;background:#fff;color:#20242a}
html.wuxia-light-theme body.readpage .reader-chapter-dialog-list .is-current a,
html.wuxia-light-theme body.readpage .reader-chapter-dialog-pagination .is-current{border-color:#258bd0;background:#258bd0;color:#fff}
html.wuxia-light-theme body.readpage .reader-chapter-order{color:#7c8795}

html.wuxia-light-theme body.nf-list-page,
html.wuxia-light-theme body.genre-index-page{background:#f5f6f8;color:#20242a}
html.wuxia-light-theme body.nf-list-page a,
html.wuxia-light-theme body.genre-index-page a{color:#1f6f9f}
html.wuxia-light-theme body.nf-list-page .archive-directory-shell,
html.wuxia-light-theme body.nf-list-page .archive-rank-shell,
html.wuxia-light-theme body.genre-index-page .archive-genre-page{background:#f5f6f8;color:#20242a}
html.wuxia-light-theme body.nf-list-page .archive-breadcrumb,
html.wuxia-light-theme body.genre-index-page .archive-breadcrumb{background:transparent;box-shadow:none;color:#626b78}
html.wuxia-light-theme body.nf-list-page .archive-breadcrumb a,
html.wuxia-light-theme body.nf-list-page .archive-breadcrumb strong,
html.wuxia-light-theme body.genre-index-page .archive-breadcrumb a,
html.wuxia-light-theme body.genre-index-page .archive-breadcrumb span{color:#626b78}
html.wuxia-light-theme body.nf-list-page .nf-list-hero,
html.wuxia-light-theme body.nf-list-page .archive-list-panel,
html.wuxia-light-theme body.nf-list-page .archive-rank-panel,
html.wuxia-light-theme body.nf-list-page .realm-path-item,
html.wuxia-light-theme body.nf-list-page .martial-entry,
html.wuxia-light-theme body .nf-tag-panel,
html.wuxia-light-theme body .nf-tag-letters,
html.wuxia-light-theme body .nf-tag-novel-item,
html.wuxia-light-theme body.genre-index-page .genre-card{border-color:#dfe3ea;background:#fff;color:#20242a;box-shadow:none}
html.wuxia-light-theme body.nf-list-page .nf-list-hero h1,
html.wuxia-light-theme body.nf-list-page .archive-list-title h1,
html.wuxia-light-theme body.nf-list-page .archive-list-title h2,
html.wuxia-light-theme body.nf-list-page .realm-path-main h2,
html.wuxia-light-theme body.nf-list-page .martial-entry-main h3,
html.wuxia-light-theme body.nf-list-page .realm-path-main h2 a,
html.wuxia-light-theme body.nf-list-page .martial-entry-main h3 a,
html.wuxia-light-theme body .nf-tag-novel-main h3,
html.wuxia-light-theme body .nf-tag-novel-main h3 a,
html.wuxia-light-theme body.genre-index-page .genre-heading h1,
html.wuxia-light-theme body.genre-index-page .genre-panel-head h2,
html.wuxia-light-theme body.genre-index-page .genre-name{color:#20242a!important}
html.wuxia-light-theme body.nf-list-page .nf-list-hero p,
html.wuxia-light-theme body.nf-list-page .realm-path-meta,
html.wuxia-light-theme body.nf-list-page .realm-path-intro,
html.wuxia-light-theme body.nf-list-page .martial-meta,
html.wuxia-light-theme body.nf-list-page .martial-intro,
html.wuxia-light-theme body .nf-tag-novel-meta,
html.wuxia-light-theme body .nf-tag-novel-main p,
html.wuxia-light-theme body.genre-index-page .genre-heading p,
html.wuxia-light-theme body.genre-index-page .genre-panel-head span,
html.wuxia-light-theme body.genre-index-page .genre-card-sub{color:#626b78!important}
html.wuxia-light-theme body .nf-tag-cloud a,
html.wuxia-light-theme body .nf-tag-items a,
html.wuxia-light-theme body .nf-tag-letters a,
html.wuxia-light-theme body .nf-tag-letters span{border-color:#d8dee8;background:#fff;color:#27313c!important}
html.wuxia-light-theme body .nf-tag-cloud a:hover,
html.wuxia-light-theme body .nf-tag-items a:hover,
html.wuxia-light-theme body .nf-tag-letters a.active,
html.wuxia-light-theme body .nf-tag-letters a:hover{border-color:#258bd0;background:#258bd0;color:#fff!important}
html.wuxia-light-theme body .nf-tag-letters .disabled{border-color:#e3e7ee;background:#eef2f6;color:#9aa3af!important}
html.wuxia-light-theme body .nf-tag-empty{border-color:#d8dee8;background:#f8fafc;color:#626b78}
html.wuxia-light-theme body .nf-tag-empty strong{color:#20242a}
html.wuxia-light-theme body .nf-tag-order-tabs{border-color:#dfe3ea}
html.wuxia-light-theme body .nf-tag-order-tabs a{border-color:#dfe3ea;background:#fff;color:#27313c!important}
html.wuxia-light-theme body .nf-tag-order-tabs a.active,
html.wuxia-light-theme body .nf-tag-order-tabs a:hover{border-color:#258bd0;background:#258bd0;color:#fff!important}
html.wuxia-light-theme body.nf-list-page .realm-path-dossier,
html.wuxia-light-theme body.nf-list-page .martial-read,
html.wuxia-light-theme body.genre-index-page .genre-all-cta{border-color:#258bd0;background:#258bd0;color:#fff!important}

/* Logged-in header account menu */
body .wuxia-topbar{grid-template-columns:150px minmax(300px,1fr) 32px 286px 104px}
body .wuxia-actions{position:relative;display:flex;align-self:end;justify-content:flex-end;min-width:0;width:104px;max-width:104px}
body .wuxia-account-menu{position:relative;display:block;width:104px;min-width:0}
body .wuxia-account-menu summary{list-style:none}
body .wuxia-account-menu summary::-webkit-details-marker{display:none}
body .wuxia-account-trigger.wuxia-action{width:104px;height:34px;min-width:0;padding:0 10px;border:1px solid #303030;border-radius:5px;background:#181818;color:#e4e4e4;font-size:13px;font-weight:800;box-sizing:border-box;cursor:pointer}
body .wuxia-account-trigger.wuxia-action:after{content:"";display:inline-block;margin-left:2px;border:4px solid transparent;border-top-color:currentColor;transform:translateY(2px);opacity:.78}
body .wuxia-account-menu[open] .wuxia-account-trigger{border-color:#3f95d0;background:#1d2731;color:#fff}
body .wuxia-account-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:120;display:none;min-width:178px;padding:6px;border:1px solid #303030;border-radius:7px;background:#151515;box-shadow:0 18px 36px rgba(0,0,0,.34);box-sizing:border-box}
body .wuxia-account-menu[open] .wuxia-account-panel{display:grid;gap:3px}
body .wuxia-account-panel a{position:relative;display:flex;min-height:36px;align-items:center;gap:9px;padding:0 10px;border-radius:5px;color:#d7d7d7!important;font-size:13px;font-weight:800;line-height:1;text-decoration:none;box-sizing:border-box;white-space:nowrap}
body .wuxia-account-panel a:hover{background:#202a33;color:#fff!important}
body .wuxia-account-panel i{flex:0 0 auto;color:#8fbde0;font-size:13px}
body .wuxia-account-panel span{min-width:0}
body .wuxia-account-panel .badge{position:static;display:inline-flex;min-width:18px;height:18px;align-items:center;justify-content:center;margin-left:auto;border-radius:9px;background:#2f95d2;color:#fff;font-size:11px;font-style:normal;line-height:18px}
html.wuxia-light-theme body .wuxia-account-trigger.wuxia-action{border-color:#d8dde5;background:#fff;color:#20242a}
html.wuxia-light-theme body .wuxia-account-menu[open] .wuxia-account-trigger{border-color:#258bd0;background:#eef7fd;color:#1b5f89}
html.wuxia-light-theme body .wuxia-account-panel{border-color:#dfe3ea;background:#fff;box-shadow:0 18px 36px rgba(15,23,42,.16)}
html.wuxia-light-theme body .wuxia-account-panel a{color:#20242a!important}
html.wuxia-light-theme body .wuxia-account-panel a:hover{background:#eef7fd;color:#1b5f89!important}
html.wuxia-light-theme body .wuxia-account-panel i{color:#258bd0}
@media(max-width:1120px){
  body .wuxia-topbar{grid-template-columns:144px minmax(270px,1fr) 30px 260px 100px}
  body .wuxia-actions,body .wuxia-account-menu{width:100px;max-width:100px}
  body .wuxia-account-trigger.wuxia-action{width:100px}
  body .wuxia-search.searchbox{width:260px}
}
@media(max-width:960px){
  body .wuxia-topbar{grid-template-columns:minmax(0,1fr) auto}
  body .wuxia-actions{display:none}
  body .wuxia-mobile-actions{position:relative}
  body .wuxia-account-menu-mobile{width:auto;max-width:none}
  body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action{width:auto;min-width:74px;height:32px;padding:0 9px;font-size:12px}
  body .wuxia-account-menu-mobile .wuxia-account-panel{right:0;top:calc(100% + 8px);min-width:170px}
}
@media(max-width:420px){
  body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action{min-width:68px;padding:0 8px;font-size:11px}
}

@media(max-width:420px){
  body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action{min-width:62px;padding:0 7px}
  body .wuxia-account-menu-mobile .wuxia-account-trigger i{display:none}
  body .wuxia-account-menu-mobile .wuxia-account-trigger:after{margin-left:1px;border-width:3px}
  body .wuxia-mobile-actions{gap:3px}
  body .wuxia-mobile-actions .wuxia-action{padding-left:7px;padding-right:7px;font-size:11px}
  body .wuxia-theme-toggle-mobile{width:30px;min-width:30px}
}

/* Final clean header alignment */
body .wuxia-site-header{background:#101010;border-bottom:1px solid #2a1621}
body .wuxia-topbar{
  display:grid;
  grid-template-columns:150px minmax(330px,1fr) 34px minmax(280px,330px) 106px;
  gap:12px;
  align-items:center;
  max-width:1046px;
  min-height:58px;
  margin:0 auto;
  padding:0;
  box-sizing:border-box;
}
body .wuxia-brand{align-self:center;min-width:0}
body .wuxia-brand-link{display:inline-flex;height:38px;align-items:center;text-decoration:none}
body .nf-brand-name strong{display:block;color:#ff696c;font-size:24px;font-weight:900;letter-spacing:0;line-height:38px}
body .wuxia-brand-tagline{display:none!important}
body .wuxia-topbar>.wuxia-nav{align-self:center;min-width:0;margin:0;padding:0}
body .wuxia-topbar>.wuxia-nav ul{display:flex;align-items:center;gap:15px;min-height:38px;margin:0;padding:0;overflow:visible}
body .wuxia-topbar>.wuxia-nav li{display:flex;min-width:0}
body .wuxia-topbar>.wuxia-nav a{
  display:inline-flex;
  height:38px;
  align-items:center;
  gap:4px;
  padding:0;
  border:0;
  background:transparent;
  color:#d6d6d6;
  font-size:15px;
  font-weight:800;
  line-height:38px;
  text-decoration:none;
  white-space:nowrap;
}
body .wuxia-topbar>.wuxia-nav a i{flex:0 0 auto;color:#b8b8b8;font-size:13px}
body .wuxia-topbar>.wuxia-nav a:hover,
body .wuxia-topbar>.wuxia-nav a.pt-active{color:#fff}
body .wuxia-topbar>.wuxia-nav a:hover i,
body .wuxia-topbar>.wuxia-nav a.pt-active i{color:#fff}
body .wuxia-topbar>.wuxia-theme-toggle{
  display:inline-flex;
  align-self:center;
  justify-self:center;
  width:32px;
  height:32px;
  min-width:32px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  border:1px solid #353535;
  border-radius:6px;
  background:#171717;
  color:#e1e1e1;
  cursor:pointer;
}
body .wuxia-search.searchbox{
  position:relative;
  display:block;
  align-self:center;
  width:100%;
  height:38px;
  min-width:0;
  margin:0;
  border:1px solid #303030;
  border-radius:20px;
  background:#181818;
  box-shadow:none;
  overflow:hidden;
}
body .wuxia-search.searchbox:before{content:"";position:absolute;left:14px;top:11px;width:13px;height:13px;border:2px solid #8e8e8e;border-radius:50%;box-sizing:border-box;opacity:.9;pointer-events:none}
body .wuxia-search.searchbox:after{content:"";position:absolute;left:25px;top:24px;width:7px;height:2px;border-radius:2px;background:#8e8e8e;transform:rotate(45deg);opacity:.9;pointer-events:none}
body .wuxia-search label{display:block;width:100%;height:100%;min-width:0}
body .wuxia-search .text{
  display:block;
  box-sizing:border-box;
  width:100%;
  height:36px;
  padding:0 16px 0 38px;
  border:0;
  background:#181818;
  color:#ededed;
  font-size:14px;
  line-height:36px;
  outline:none;
}
body .wuxia-search .text::placeholder{color:#9a9a9a}
body .wuxia-search .dropmenu{display:none!important}
body .wuxia-search .searchbtn{position:absolute;right:0;top:0;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}
body .wuxia-actions{position:relative;display:flex;align-self:center;justify-content:flex-end;min-width:0;width:106px;max-width:106px}
body .wuxia-action.login-action,
body .wuxia-account-trigger.wuxia-action{
  display:inline-flex;
  width:106px;
  height:38px;
  min-width:0;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0 10px;
  border:1px solid #303030;
  border-radius:6px;
  background:#181818;
  color:#f0f0f0!important;
  font-size:13px;
  font-weight:900;
  line-height:38px;
  box-sizing:border-box;
  text-decoration:none;
  cursor:pointer;
}
body .wuxia-action.login-action:hover,
body .wuxia-account-menu[open] .wuxia-account-trigger{border-color:#3f95d0;background:#1d2731;color:#fff!important}
body .wuxia-account-menu{position:relative;display:block;width:106px;min-width:0}
body .wuxia-account-panel{right:0;top:calc(100% + 8px)}
body .wuxia-header-copy{border-top:1px solid #202020;border-bottom:1px solid #602235;background:#141414}
body .wuxia-header-copy .w-all{max-width:1046px;margin:0 auto;padding:9px 0;color:#bfc5cc;font-size:14px;font-weight:800;line-height:18px;box-sizing:border-box}
html.wuxia-light-theme body .wuxia-site-header{border-bottom-color:#dfe3ea;background:#fff}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a,
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a i{color:#4f5660}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a:hover,
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a.pt-active,
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a:hover i,
html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a.pt-active i{color:#101418}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-theme-toggle,
html.wuxia-light-theme body .wuxia-action.login-action,
html.wuxia-light-theme body .wuxia-account-trigger.wuxia-action{border-color:#d8dde5;background:#fff;color:#20242a!important}
html.wuxia-light-theme body .wuxia-topbar>.wuxia-theme-toggle:hover,
html.wuxia-light-theme body .wuxia-action.login-action:hover,
html.wuxia-light-theme body .wuxia-account-menu[open] .wuxia-account-trigger{border-color:#258bd0;background:#eef7fd;color:#1b5f89!important}
html.wuxia-light-theme body .wuxia-search.searchbox{border-color:#d8dde5;background:#f4f6f9}
html.wuxia-light-theme body .wuxia-search .text{background:#f4f6f9;color:#20242a}
html.wuxia-light-theme body .wuxia-search .text::placeholder{color:#7a838e}
html.wuxia-light-theme body .wuxia-search.searchbox:before{border-color:#7d8690}
html.wuxia-light-theme body .wuxia-search.searchbox:after{background:#7d8690}
html.wuxia-light-theme body .wuxia-header-copy{border-color:#dfe3ea;background:#f8fafc}
html.wuxia-light-theme body .wuxia-header-copy .w-all{color:#586271}

@media(max-width:1120px){
  body .wuxia-topbar{grid-template-columns:142px minmax(290px,1fr) 32px minmax(240px,280px) 100px;gap:10px;max-width:none;margin:0 14px}
  body .nf-brand-name strong{font-size:22px}
  body .wuxia-topbar>.wuxia-nav ul{gap:10px}
  body .wuxia-topbar>.wuxia-nav a{font-size:14px}
  body .wuxia-actions,body .wuxia-account-menu{width:100px;max-width:100px}
  body .wuxia-action.login-action,body .wuxia-account-trigger.wuxia-action{width:100px}
  body .wuxia-header-copy .w-all{max-width:none;margin:0 14px}
}

@media(max-width:960px){
  body .wuxia-topbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:0;
    min-height:48px;
    margin:0;
    padding:8px 10px;
    align-items:center;
  }
  body .wuxia-brand-link{height:32px}
  body .nf-brand-name strong{font-size:21px;line-height:32px}
  body .wuxia-topbar>.wuxia-theme-toggle,
  body .wuxia-actions{display:none}
  body .wuxia-mobile-actions{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}
  body .wuxia-mobile-actions .wuxia-action,
  body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action{
    width:auto;
    min-width:0;
    height:32px;
    padding:0 9px;
    border-radius:5px;
    font-size:12px;
    line-height:32px;
  }
  body .wuxia-account-menu-mobile{position:relative;width:auto;max-width:none}
  body .wuxia-account-menu-mobile .wuxia-account-panel{right:0;top:calc(100% + 8px);min-width:170px}
  body .wuxia-theme-toggle-mobile{width:32px;min-width:32px;padding:0}
  body .wuxia-topbar>.wuxia-nav{display:none;grid-column:1/-1;order:3;margin:8px 0 0}
  body #mobile-menu-toggle:checked ~ .wuxia-topbar .wuxia-nav{display:block}
  body .wuxia-topbar>.wuxia-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-height:0;padding:0;overflow:visible}
  body .wuxia-topbar>.wuxia-nav a{justify-content:center;width:100%;height:34px;border:1px solid #2d2d2d;border-radius:5px;background:#181818;color:#d0d0d0;font-size:13px;box-sizing:border-box}
  body .wuxia-topbar>.wuxia-nav a i{color:#d0d0d0}
  body .wuxia-search.searchbox{display:none;grid-column:1/-1;order:4;width:auto;max-width:none;height:38px;margin:8px 0 0;border-radius:20px}
  body #mobile-search-toggle:checked ~ .wuxia-topbar .wuxia-search{display:block}
  body .wuxia-header-copy .w-all{margin:0;padding:8px 10px;font-size:12px;line-height:17px}
  html.wuxia-light-theme body .wuxia-topbar>.wuxia-nav a{border-color:#d8dde5;background:#fff;color:#27313c}
}

@media(max-width:420px){
  body .wuxia-topbar{padding-left:9px;padding-right:9px}
  body .nf-brand-name strong{font-size:20px}
  body .wuxia-mobile-actions{gap:3px}
  body .wuxia-mobile-actions .wuxia-action,
  body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action{height:31px;padding:0 7px;font-size:11px;line-height:31px}
  body .wuxia-account-menu-mobile .wuxia-account-trigger i{display:none}
  body .wuxia-account-menu-mobile .wuxia-account-trigger:after{margin-left:1px;border-width:3px}
  body .wuxia-theme-toggle-mobile{width:30px;min-width:30px}
}

/* Dark theme text baseline */
html:not(.wuxia-light-theme),
html:not(.wuxia-light-theme) body,
html:not(.wuxia-light-theme) body.readpage,
html:not(.wuxia-light-theme) body.wuxia-dossier-page,
html:not(.wuxia-light-theme) body.nf-list-page,
html:not(.wuxia-light-theme) body.genre-index-page{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;color:#c9d1dc}
html:not(.wuxia-light-theme) body p,
html:not(.wuxia-light-theme) body .novelintro,
html:not(.wuxia-light-theme) body .wuxia-panel .novelintro,
html:not(.wuxia-light-theme) body #chaptercontent,
html:not(.wuxia-light-theme) body #chaptercontent p,
html:not(.wuxia-light-theme) body .scroll-stage .content,
html:not(.wuxia-light-theme) body .archive-comment-list .content,
html:not(.wuxia-light-theme) body .review-content,
html:not(.wuxia-light-theme) body .realm-path-intro,
html:not(.wuxia-light-theme) body .martial-intro,
html:not(.wuxia-light-theme) body .completed-intro,
html:not(.wuxia-light-theme) body .search-result-intro,
html:not(.wuxia-light-theme) body .nf-tag-novel-main p,
html:not(.wuxia-light-theme) body .scroll-context-note,
html:not(.wuxia-light-theme) body .scroll-bottom-note,
html:not(.wuxia-light-theme) body .readingTips,
html:not(.wuxia-light-theme) body .tips,
html:not(.wuxia-light-theme) body .nf-list-hero p,
html:not(.wuxia-light-theme) body.genre-index-page .genre-heading p{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;color:#c9d1dc}
html:not(.wuxia-light-theme) body .time,
html:not(.wuxia-light-theme) body .chapter-date,
html:not(.wuxia-light-theme) body .archive-comment-list .title,
html:not(.wuxia-light-theme) body .review-title,
html:not(.wuxia-light-theme) body .realm-path-meta,
html:not(.wuxia-light-theme) body .martial-meta,
html:not(.wuxia-light-theme) body .completed-meta,
html:not(.wuxia-light-theme) body .search-result-meta,
html:not(.wuxia-light-theme) body .nf-tag-novel-meta,
html:not(.wuxia-light-theme) body .scroll-title .info,
html:not(.wuxia-light-theme) body .scroll-suggestion-meta,
html:not(.wuxia-light-theme) body .scroll-suggestion-intro,
html:not(.wuxia-light-theme) body .nf-info-card-main,
html:not(.wuxia-light-theme) body .nf-info-card-sub,
html:not(.wuxia-light-theme) body.genre-index-page .genre-card-sub,
html:not(.wuxia-light-theme) body.genre-index-page .genre-panel-head span{color:#8a8f98}

/* Header without theme toggle + chapter panel polish */
body .wuxia-topbar{
  grid-template-columns:150px minmax(330px,1fr) minmax(300px,350px) 106px;
  gap:14px;
  max-width:1046px;
  align-items:center;
}
body .wuxia-topbar>.wuxia-theme-toggle,
body .wuxia-settings-action.wuxia-theme-toggle,
body .wuxia-theme-toggle-mobile{display:none!important}
body .wuxia-topbar>.wuxia-nav ul{gap:16px}
body .wuxia-search.searchbox{justify-self:stretch;width:100%;align-self:center}
body .wuxia-actions{align-self:center}
body .wuxia-header-copy .w-all{
  display:block;
  width:980px;
  max-width:980px;
  margin:0 auto;
  padding:9px 0;
  text-align:left;
}
body.wuxia-dossier-page .wuxia-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
body.wuxia-dossier-page .wuxia-panel-head h2{
  display:flex;
  min-width:0;
  align-items:center;
  gap:10px;
  line-height:1.2;
}
body.wuxia-dossier-page .wuxia-panel-head h2 em{
  display:inline-flex;
  min-width:34px;
  height:24px;
  align-items:center;
  justify-content:center;
  padding:0 9px;
  border:1px solid #2f95d2;
  border-radius:999px;
  background:rgba(47,149,210,.16);
  color:#8fd0ff;
  font-size:14px;
  font-style:normal;
  font-weight:900;
  line-height:24px;
  letter-spacing:0;
  box-sizing:border-box;
}
body.wuxia-dossier-page .chapter-panel-toggle{
  display:inline-flex;
  flex:0 0 auto;
  height:36px;
  min-height:36px;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 13px;
  border:1px solid #3a3a3a;
  border-radius:5px;
  background:#202020;
  color:#dcdcdc;
  font-size:13px;
  font-weight:900;
  line-height:36px;
  box-sizing:border-box;
  cursor:pointer;
}
body.wuxia-dossier-page .chapter-panel-toggle span{display:inline-flex;align-items:center;line-height:1}
body.wuxia-dossier-page .chapter-panel-toggle i{display:inline-flex;align-items:center;justify-content:center;width:12px;height:12px;font-size:11px;line-height:1}
body.wuxia-dossier-page .chapter-panel-toggle:hover,
body.wuxia-dossier-page .wuxia-scroll-archive:not(.is-collapsed) .chapter-panel-toggle{border-color:#2f95d2;background:#1d2a33;color:#fff}
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-panel-head h2 em{border-color:#258bd0;background:#eef7fd;color:#1b5f89}

@media(max-width:1120px){
  body .wuxia-topbar{
    grid-template-columns:142px minmax(280px,1fr) minmax(250px,300px) 100px;
    gap:10px;
    max-width:none;
    margin:0 14px;
  }
  body .wuxia-header-copy .w-all{width:auto;max-width:none;margin:0 14px}
}

@media(max-width:960px){
  body .wuxia-topbar{
    grid-template-columns:minmax(0,1fr) auto;
    gap:0;
    margin:0;
    padding:8px 10px;
  }
  body .wuxia-mobile-actions{gap:5px}
  body .wuxia-mobile-actions .wuxia-action,
  body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action{height:32px;line-height:32px}
  body .wuxia-header-copy .w-all{margin:0;padding:8px 10px}
}

@media(max-width:640px){
  body.wuxia-dossier-page .wuxia-panel-head{align-items:flex-start;gap:10px}
  body.wuxia-dossier-page .wuxia-panel-head h2{gap:8px;font-size:21px}
  body.wuxia-dossier-page .wuxia-panel-head h2 em{height:22px;min-width:30px;padding:0 8px;font-size:13px;line-height:22px}
  body.wuxia-dossier-page .chapter-panel-toggle{height:34px;min-height:34px;padding:0 11px;font-size:12px;line-height:34px}
}

@media(max-width:420px){
  body .wuxia-mobile-actions{gap:4px}
body .wuxia-mobile-actions .wuxia-action,
  body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action{padding:0 8px}
}

/* Homepage intro removed */
body.nf-home-page .nf-home{padding-top:18px}
body.nf-home-page .nf-home>.nf-section:first-child{margin-top:0}
@media(max-width:640px){
  body.nf-home-page .nf-home{padding-top:14px}
}

/* Novel info chapter list readability v20260527 */
body.wuxia-dossier-page .wuxia-scroll-archive {
    overflow: hidden;
    border-color: #2b2b2b;
    background: #181818;
}

body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-panel-head {
    margin: 0 18px;
    padding: 18px 0 14px;
    border-bottom: 1px solid #303030;
}

body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-panel-head h2 {
    color: #f1f1f1;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
}

body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-panel-head em {
    margin-left: 6px;
    color: #8f96a3;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-panel-body {
    padding: 16px 18px 18px;
}

body.wuxia-dossier-page .wuxia-scroll-archive .chapter-panel-toggle,
body.wuxia-dossier-page .wuxia-scroll-archive .chapter-page-size,
body.wuxia-dossier-page .wuxia-scroll-archive .chapter-sort-toggle,
body.wuxia-dossier-page .wuxia-scroll-archive .chapter-view-toggle {
    min-height: 38px;
    border: 1px solid #363636;
    border-radius: 6px;
    background: #202020;
    color: #dce3eb;
    font-size: 13px;
    font-weight: 900;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

body.wuxia-dossier-page .wuxia-scroll-archive .chapter-panel-toggle {
    padding: 0 13px;
}

body.wuxia-dossier-page .wuxia-scroll-archive .chapter-page-size {
    padding: 0 10px;
}

body.wuxia-dossier-page .wuxia-scroll-archive .chapter-sort-toggle,
body.wuxia-dossier-page .wuxia-scroll-archive .chapter-view-toggle {
    min-width: 38px;
    padding: 0 10px;
}

body.wuxia-dossier-page .wuxia-scroll-archive .chapter-panel-toggle:hover,
body.wuxia-dossier-page .wuxia-scroll-archive .chapter-page-size:hover,
body.wuxia-dossier-page .wuxia-scroll-archive .chapter-sort-toggle:hover,
body.wuxia-dossier-page .wuxia-scroll-archive .chapter-view-toggle:hover,
body.wuxia-dossier-page .wuxia-scroll-archive .chapter-view-toggle.active {
    border-color: rgba(74, 168, 255, .55);
    background: rgba(45, 156, 219, .16);
    color: #fff;
}

body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-scroll-toolbar {
    margin: 0 0 14px;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid #303030;
    background: transparent;
    color: #9ba3ad;
}

body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: #aeb6c0;
    font-size: 13px;
    font-weight: 800;
}

body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-scroll-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    padding: 0;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-scroll-list li {
    min-width: 0;
    border: 1px solid #292929;
    border-radius: 7px;
    background: #151515;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-scroll-list li:hover {
    border-color: rgba(74, 168, 255, .38);
    background: #1f1f1f;
    transform: translateY(-1px);
}

body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-scroll-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 13px 12px;
    box-sizing: border-box;
    color: #eceff4;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

body.wuxia-dossier-page .wuxia-scroll-archive .chapter-title {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    color: #eceff4;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.wuxia-dossier-page .wuxia-scroll-archive a:hover .chapter-title {
    color: #69b9ff;
}

body.wuxia-dossier-page .wuxia-scroll-archive .chapter-date {
    flex: 0 0 auto;
    color: #9aa3af;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 16px 0 0;
}

body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-pagination a,
body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-pagination span {
    min-width: 38px;
    height: 36px;
    border: 1px solid #343434;
    border-radius: 6px;
    background: #1b1b1b;
    color: #cbd3dd;
    font-size: 14px;
    font-weight: 900;
}

body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-pagination a:hover,
body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-pagination .current {
    border-color: #2d9cdb;
    background: #2d9cdb;
    color: #fff;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive {
    border-color: #dfe3ea;
    background: #fff;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-panel-head {
    border-color: #e3e7ee;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-panel-head h2 {
    color: #20242a;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-panel-head em {
    color: #6c7480;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .chapter-panel-toggle,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .chapter-page-size,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .chapter-sort-toggle,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .chapter-view-toggle {
    border-color: #d8dee8;
    background: #f7f9fc;
    color: #27313c;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-scroll-toolbar {
    border-color: #e3e7ee;
    color: #626b78;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-controls {
    color: #626b78;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-scroll-list li {
    border-color: #e1e6ee;
    background: #fafbfc;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-scroll-list li:hover {
    border-color: rgba(37, 139, 208, .42);
    background: #f2f7fc;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-scroll-list a,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .chapter-title {
    color: #242b34;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive a:hover .chapter-title {
    color: #258bd0;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .chapter-date {
    color: #68717e;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-pagination a,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-pagination span {
    border-color: #d8dee8;
    background: #fff;
    color: #27313c;
}

html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-pagination a:hover,
html.wuxia-light-theme body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-pagination .current {
    border-color: #258bd0;
    background: #258bd0;
    color: #fff;
}

@media (max-width: 640px) {
    body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-panel-head {
        margin: 0 14px;
        padding: 16px 0 12px;
    }

    body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-panel-head h2 {
        font-size: 22px;
    }

    body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-panel-body {
        padding: 14px;
    }

    body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-scroll-list {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    body.wuxia-dossier-page .wuxia-scroll-archive .wuxia-scroll-list a {
        display: block;
        min-height: 0;
        padding: 12px;
        font-size: 15px;
    }

    body.wuxia-dossier-page .wuxia-scroll-archive .chapter-date {
        display: block;
        margin-top: 6px;
        font-size: 13px;
        white-space: normal;
    }

    body.wuxia-dossier-page .wuxia-scroll-archive .chapter-panel-toggle,
    body.wuxia-dossier-page .wuxia-scroll-archive .chapter-page-size,
    body.wuxia-dossier-page .wuxia-scroll-archive .chapter-sort-toggle,
    body.wuxia-dossier-page .wuxia-scroll-archive .chapter-view-toggle {
        min-height: 40px;
    }

    body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-pagination a,
    body.wuxia-dossier-page .wuxia-scroll-archive .chapter-list-pagination span {
        min-width: 40px;
        height: 38px;
    }
}

/* Desktop 1010 layout polish */
:root {
    --wuxia-desktop-width: 1010px;
}

@media (min-width: 961px) {
    body {
        overflow-x: hidden;
    }

    body .w-all,
    body .wuxia-topbar,
    body.nf-home-page .wuxia-topbar,
    body.wuxia-dossier-page .wuxia-topbar,
    body .wuxia-header-copy .w-all,
    body.nf-home-page .wuxia-header-copy .w-all,
    body.wuxia-dossier-page .wuxia-header-copy .w-all,
    body .ad-placement,
    body.nf-home-page .nf-home,
    body.nf-home-page .nf-ad-box,
    body.nf-home-page .ad-placement-home,
    body .realm-home,
    body .wuxia-dossier-shell,
    body .category-list-shell,
    body .rank-shell,
    body .completed-shell,
    body .genre-page,
    body .search-shell,
    body .search-results-shell,
    body .review-shell,
    body .static-shell,
    body .archive-directory-shell,
    body .archive-rank-shell,
    body .archive-completed-shell,
    body .archive-genre-page,
    body .archive-search-shell,
    body .archive-review-shell,
    body .auth-shell,
    body .message-shell {
        width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        max-width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    body .wuxia-topbar {
        grid-template-columns: 146px minmax(300px, 1fr) minmax(250px, 276px) 100px;
        gap: 10px;
        min-height: 58px;
        padding: 0;
    }

    body.nf-home-page .wuxia-topbar,
    body.wuxia-dossier-page .wuxia-topbar {
        width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        max-width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
    }

    body .wuxia-topbar>.wuxia-nav ul {
        gap: 12px;
    }

    body .wuxia-topbar>.wuxia-nav a {
        font-size: 14px;
    }

    body .wuxia-search.searchbox {
        width: 100%;
        max-width: 276px;
        justify-self: stretch;
    }

    body .wuxia-actions,
    body .wuxia-account-menu {
        width: 100px;
        max-width: 100px;
    }

    body .wuxia-header-copy .w-all {
        display: block;
        padding: 9px 0;
    }

    body.wuxia-dossier-page .wuxia-crumb-trail,
    body.wuxia-dossier-page .nf-info-quick-grid,
    body.wuxia-dossier-page .wuxia-dossier-layout,
    body.wuxia-dossier-page .wuxia-panel,
    body.wuxia-dossier-page .wuxia-scroll-archive {
        max-width: 100%;
    }

    body.wuxia-dossier-page .nf-info-quick-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.wuxia-dossier-page .wuxia-dossier {
        padding-left: max(24px, calc((100vw - var(--wuxia-desktop-width)) / 2));
        padding-right: max(24px, calc((100vw - var(--wuxia-desktop-width)) / 2));
    }

    body.nf-list-page .archive-directory-shell,
    body.nf-list-page .archive-rank-shell,
    body.nf-tag-index-page .archive-directory-shell,
    body.nf-tag-list-page .archive-directory-shell,
    body.genre-index-page .archive-genre-page {
        width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        max-width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
    }

    body.nf-tag-list-page .nf-tag-novel-grid {
        gap: 18px;
    }

    body.genre-index-page .genre-card-grid,
    body.genre-index-page .genre-grid {
        gap: 16px;
    }

    body.readpage .scroll-topbar-inner,
    body.readpage .scroll-shell {
        width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        max-width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    body.readpage .scroll-stage {
        width: min(980px, calc(100vw - 28px));
        max-width: min(980px, calc(100vw - 28px));
    }

    body.readpage .scroll-nav.reader-nav-docked {
        width: min(920px, calc(100vw - 28px));
    }
}

/* Novel info full-bleed hero fix for desktop 1010 layout */
@media (min-width: 961px) {
    body.wuxia-dossier-page .wuxia-dossier-shell {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 0 46px;
        box-sizing: border-box;
    }

    body.wuxia-dossier-page .wuxia-crumb-trail,
    body.wuxia-dossier-page .nf-info-quick-grid,
    body.wuxia-dossier-page .wuxia-dossier-layout {
        width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        max-width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    body.wuxia-dossier-page .wuxia-dossier {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: max(24px, calc((100vw - var(--wuxia-desktop-width)) / 2));
        padding-right: max(24px, calc((100vw - var(--wuxia-desktop-width)) / 2));
        box-sizing: border-box;
    }
}

/* Novel info and reader comment cards v20260527 */
body.wuxia-dossier-page .comment-card-area,
body.readpage .comment-card-area {
    border: 1px solid #282828;
    border-radius: 0;
    background: #181818;
    box-shadow: none;
    color: #bfc5ce;
}

body.readpage .comment-card-area {
    margin: 22px 42px 0;
}

body.wuxia-dossier-page .comment-card-area .archive-panel-body,
body.readpage .comment-card-area .archive-panel-body {
    padding: 0 38px 36px;
}

body.wuxia-dossier-page .comment-card-head,
body.readpage .comment-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 36px 38px 20px;
}

body.wuxia-dossier-page .comment-card-head h2,
body.wuxia-dossier-page .comment-card-head h3,
body.readpage .comment-card-head h2,
body.readpage .comment-card-head h3 {
    margin: 0;
    color: #c9c9c9;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.18;
}

body.wuxia-dossier-page .comment-card-head p,
body.readpage .comment-card-head p {
    margin: 8px 0 0;
    color: #777;
    font-size: 14px;
    line-height: 1.45;
}

body.wuxia-dossier-page .comment-post-button,
body.readpage .comment-post-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 94px;
    min-height: 62px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: #2788c7;
    color: #fff !important;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .18s ease, transform .18s ease;
}

body.wuxia-dossier-page .comment-post-button:hover,
body.readpage .comment-post-button:hover {
    background: #35a0e8;
    transform: translateY(-1px);
}

body.wuxia-dossier-page .comment-rule-box,
body.readpage .comment-rule-box {
    margin: 0 38px 20px;
    padding: 13px 14px;
    border: 1px solid #2b2b2b;
    border-radius: 4px;
    background: #101010;
    color: #a8a8a8;
    font-size: 16px;
    line-height: 1.45;
}

body.wuxia-dossier-page .comment-rule-box strong,
body.readpage .comment-rule-box strong {
    display: block;
    color: #1d9dea;
    font-size: 16px;
    font-weight: 900;
}

body.wuxia-dossier-page .comment-rule-box span,
body.readpage .comment-rule-box span {
    display: block;
    margin-top: 2px;
}

body.wuxia-dossier-page .comment-sort-tabs,
body.readpage .comment-sort-tabs {
    display: flex;
    justify-content: flex-end;
    gap: 0;
    margin: 0 38px 20px;
}

body.wuxia-dossier-page .comment-sort-tab,
body.readpage .comment-sort-tab {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid #1e7fc0;
    border-left: 0;
    background: #111;
    color: #168edc;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

body.wuxia-dossier-page .comment-sort-tab:first-child,
body.readpage .comment-sort-tab:first-child {
    border-left: 1px solid #1e7fc0;
}

body.wuxia-dossier-page .comment-sort-tab.active,
body.wuxia-dossier-page .comment-sort-tab:hover,
body.readpage .comment-sort-tab.active,
body.readpage .comment-sort-tab:hover {
    background: #2788c7;
    color: #fff;
}

body.wuxia-dossier-page .comment-card-list,
body.readpage .comment-card-list {
    display: grid;
    gap: 10px;
    padding: 0;
}

body.wuxia-dossier-page .comment-card-list .comment-card,
body.readpage .comment-card-list .comment-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 20px;
    border: 1px solid #2b2b2b;
    border-radius: 8px;
    background: #191919;
    color: #bfc5ce;
}

body.wuxia-dossier-page .comment-card-avatar img,
body.readpage .comment-card-avatar img {
    width: 48px;
    height: 48px;
    border: 2px solid #283140;
    border-radius: 50%;
    background: #222;
    object-fit: cover;
}

body.wuxia-dossier-page .comment-card-main,
body.readpage .comment-card-main {
    min-width: 0;
}

body.wuxia-dossier-page .comment-card-meta,
body.readpage .comment-card-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    margin: 0 0 16px;
    color: #7c7c7c;
    font-size: 13px;
}

body.wuxia-dossier-page .comment-card-user,
body.readpage .comment-card-user {
    max-width: min(360px, 100%);
    overflow: hidden;
    color: #bfc5ce !important;
    font-size: 16px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wuxia-dossier-page .comment-card-role,
body.readpage .comment-card-role {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 6px;
    border-radius: 3px;
    background: #111;
    color: #888;
    font-size: 12px;
}

body.wuxia-dossier-page .comment-card-time,
body.readpage .comment-card-time {
    margin-left: auto;
    color: #858585;
    font-size: 13px;
    white-space: nowrap;
}

body.wuxia-dossier-page .comment-card-content,
body.readpage .comment-card-content {
    color: #c9c9c9;
    font-size: 16px;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

body.wuxia-dossier-page .comment-card-actions,
body.readpage .comment-card-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
    color: #0d91dc;
    font-size: 14px;
}

body.wuxia-dossier-page .comment-card-actions a,
body.wuxia-dossier-page .comment-card-actions button,
body.readpage .comment-card-actions a,
body.readpage .comment-card-actions button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1398e5 !important;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none !important;
}

body.wuxia-dossier-page .comment-card-actions .up,
body.readpage .comment-card-actions .up {
    margin-left: auto;
    color: #aaa !important;
}

body.wuxia-dossier-page .comment-card-actions .down,
body.readpage .comment-card-actions .down {
    color: #aaa !important;
}

body.wuxia-dossier-page .comment-card-actions a:hover,
body.wuxia-dossier-page .comment-card-actions button:hover,
body.readpage .comment-card-actions a:hover,
body.readpage .comment-card-actions button:hover {
    color: #55b9f8 !important;
}

body.wuxia-dossier-page .comment-compose,
body.readpage .comment-compose,
body.wuxia-dossier-page .comment-empty,
body.readpage .comment-empty {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #2b2b2b;
    border-radius: 8px;
    background: #151515;
}

body.wuxia-dossier-page .comment-compose form,
body.readpage .comment-compose form {
    display: grid;
    gap: 12px;
}

body.wuxia-dossier-page .comment-compose textarea.text,
body.readpage .comment-compose textarea.text {
    width: 100%;
    min-height: 118px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #101010;
    color: #ddd;
    font-size: 15px;
    line-height: 1.6;
}

body.wuxia-dossier-page .comment-compose .btn,
body.readpage .comment-compose .btn {
    justify-self: start;
    min-height: 40px;
    border-color: #2788c7;
    border-radius: 6px;
    background: #2788c7;
    color: #fff !important;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-card-area,
html.wuxia-light-theme body.readpage .comment-card-area {
    border-color: #dfe3ea;
    background: #fff;
    color: #303844;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-card-head h2,
html.wuxia-light-theme body.wuxia-dossier-page .comment-card-head h3,
html.wuxia-light-theme body.readpage .comment-card-head h2,
html.wuxia-light-theme body.readpage .comment-card-head h3 {
    color: #20242a;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-rule-box,
html.wuxia-light-theme body.readpage .comment-rule-box,
html.wuxia-light-theme body.wuxia-dossier-page .comment-compose,
html.wuxia-light-theme body.readpage .comment-compose,
html.wuxia-light-theme body.wuxia-dossier-page .comment-empty,
html.wuxia-light-theme body.readpage .comment-empty {
    border-color: #e1e6ee;
    background: #f8fafc;
    color: #626b78;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-card-list .comment-card,
html.wuxia-light-theme body.readpage .comment-card-list .comment-card {
    border-color: #e1e6ee;
    background: #fff;
    color: #303844;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-card-user,
html.wuxia-light-theme body.readpage .comment-card-user,
html.wuxia-light-theme body.wuxia-dossier-page .comment-card-content,
html.wuxia-light-theme body.readpage .comment-card-content {
    color: #303844 !important;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-card-role,
html.wuxia-light-theme body.readpage .comment-card-role {
    background: #eef2f6;
    color: #626b78;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-compose textarea.text,
html.wuxia-light-theme body.readpage .comment-compose textarea.text {
    border-color: #d8dee8;
    background: #fff;
    color: #20242a;
}

/* Info page final cover size 310x450 v20260527 */
@media (min-width: 961px) {
    body.wuxia-dossier-page {
        --wuxia-info-cover-width: 310px;
    }

    body.wuxia-dossier-page .wuxia-dossier {
        grid-template-columns: 310px minmax(0, 1fr);
    }

body.wuxia-dossier-page .wuxia-dossier-cover img {
        width: 310px;
        max-width: 310px;
        height: 450px;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center top;
    }
}

/* Mobile header action final override v20260602c */
@media (max-width: 960px) {
    body .wuxia-topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 8px;
    }

    body .wuxia-brand {
        min-width: 0;
    }

    body .wuxia-brand-link,
    body .nf-brand-name,
    body .nf-brand-name strong {
        max-width: 100%;
    }

    body .nf-brand-name strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        max-width: 156px;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .login-action,
    body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action {
        flex: 0 1 auto;
        max-width: 76px;
        min-width: 58px;
        overflow: hidden;
        padding: 0 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .mobile-search-icon,
    body .wuxia-mobile-actions .mobile-menu-icon {
        position: relative;
        flex: 0 0 36px;
        width: 36px;
        min-width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 6px;
        font-size: 0;
        line-height: 36px;
    }

    body .wuxia-mobile-actions .mobile-search-icon span,
    body .wuxia-mobile-actions .mobile-menu-icon span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .mobile-search-icon:before {
        content: "";
        position: absolute;
        left: 11px;
        top: 10px;
        width: 13px;
        height: 13px;
        border: 2px solid currentColor;
        border-radius: 50%;
        box-sizing: border-box;
    }

    body .wuxia-mobile-actions .mobile-search-icon:after {
        content: "";
        position: absolute;
        left: 23px;
        top: 23px;
        width: 8px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transform: rotate(45deg);
        transform-origin: left center;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:before,
    body .wuxia-mobile-actions .mobile-menu-icon:after {
        content: "";
        position: absolute;
        left: 10px;
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        box-shadow: 0 6px 0 currentColor;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:before {
        top: 11px;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:after {
        top: 23px;
        box-shadow: none;
    }
}

@media (max-width: 420px) {
    body .wuxia-topbar {
        column-gap: 6px;
        padding-right: 8px;
        padding-left: 8px;
    }

    body .nf-brand-name strong {
        font-size: 19px;
    }

    body .wuxia-mobile-actions {
        gap: 4px;
        max-width: 142px;
    }

    body .wuxia-mobile-actions .login-action,
    body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action {
        max-width: 66px;
        min-width: 52px;
        padding: 0 6px;
        font-size: 11px;
    }

    body .wuxia-mobile-actions .mobile-search-icon,
    body .wuxia-mobile-actions .mobile-menu-icon {
        flex-basis: 34px;
        width: 34px;
        min-width: 34px;
        height: 34px;
        line-height: 34px;
    }
}

/* Search and author clean dark page polish. */
body.search-results-page {
    background: #101010;
    color: #c9d1dc;
}

body.search-results-page .archive-search-shell {
    max-width: 1040px;
    padding-top: 14px;
}

body.search-results-page .archive-breadcrumb {
    margin: 0 0 12px;
    color: #7f8794;
    font-size: 12px;
    line-height: 20px;
}

body.search-results-page .archive-breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

body.search-results-page .archive-breadcrumb a {
    color: #8e98a6;
    font-weight: 800;
}

body.search-results-page .archive-breadcrumb a:hover {
    color: #6fc2f0;
}

body.search-results-page .archive-breadcrumb .icon {
    color: #4d5662;
}

body.search-results-page .search-results-ad,
body.search-results-page .ad-placement-listtop {
    max-width: 1040px;
    margin: 10px auto 16px;
    border-color: #292929;
    border-radius: 6px;
    background: #151515;
    color: #7f8794;
    box-shadow: none;
}

body.search-results-page .archive-two-column {
    gap: 18px;
}

body.search-results-page .search-results-panel,
body.search-results-page .archive-side-panel,
body.search-results-page .search-side-panel {
    border: 1px solid #292929;
    border-radius: 8px;
    background: #181818;
    color: #c9d1dc;
    box-shadow: none;
    overflow: hidden;
}

body.search-results-page .search-results-head {
    padding: 16px 18px 14px;
    border-bottom: 1px solid #292929;
    background: #181818;
}

body.search-results-page .search-results-head span {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    min-height: 22px;
    align-items: center;
    padding: 0 8px;
    border: 1px solid rgba(45, 156, 219, .36);
    border-radius: 999px;
    background: #14212b;
    color: #75caff;
    font-size: 11px;
    font-weight: 900;
    line-height: 20px;
    text-transform: uppercase;
}

body.search-results-page .search-results-head h1 {
    margin: 9px 0 0;
    color: #ededed;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

body.search-results-page .search-results-body {
    padding: 14px;
    background: #181818;
}

body.search-results-page .search-results-list {
    display: grid;
    gap: 12px;
    padding: 0;
}

body.search-results-page .search-result-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-width: 0;
    padding: 14px;
    border: 1px solid #292929;
    border-radius: 7px;
    background: #171717;
    color: #c9d1dc;
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

body.search-results-page .search-result-item:hover {
    border-color: #3a78a0;
    background: #1d1d1d;
    transform: translateY(-1px);
}

body.search-results-page .search-result-cover {
    min-width: 0;
}

body.search-results-page .search-result-cover a {
    display: block;
    border-radius: 5px;
    overflow: hidden;
    background: #222;
}

body.search-results-page .search-result-cover img {
    width: 92px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #222;
    box-shadow: none;
    box-sizing: border-box;
    transition: transform .18s ease;
}

body.search-results-page .search-result-item:hover .search-result-cover img {
    transform: scale(1.035);
}

body.search-results-page .search-result-content {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

body.search-results-page .search-result-title {
    margin: 0;
    font-size: 19px;
    line-height: 1.28;
}

body.search-results-page .search-result-title a,
body.search-results-page .search-result-meta,
body.search-results-page .search-result-last a {
    overflow-wrap: anywhere;
    word-break: normal;
}

body.search-results-page .search-result-title a {
    display: -webkit-box;
    color: #ededed;
    font-weight: 900;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

body.search-results-page .search-result-title a:hover {
    color: #75caff;
}

body.search-results-page .search-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    color: #9aa4b2;
    font-size: 12px;
    line-height: 1.35;
}

body.search-results-page .search-result-meta span {
    display: inline-flex;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid #2c333d;
    border-radius: 999px;
    background: #141a20;
    color: #8e98a6;
    font-weight: 800;
}

body.search-results-page .search-result-meta a {
    min-width: 0;
    color: #d7dfe8;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.search-results-page .search-result-meta a:hover {
    color: #75caff;
}

body.search-results-page .search-result-intro {
    display: -webkit-box;
    max-width: 100%;
    margin: 0;
    color: #aeb7c3;
    font-size: 13px;
    line-height: 1.72;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

html:not(.wuxia-light-theme) body.search-results-page .search-result-intro {
    color: #aeb7c3 !important;
}

body.search-results-page .search-result-last {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
    margin: 2px 0 0;
    padding: 8px 10px;
    border: 1px solid #252d35;
    border-radius: 6px;
    background: #12161b;
    color: #818c9a;
    font-size: 12px;
    line-height: 1.35;
}

body.search-results-page .search-result-last span {
    color: #75caff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

body.search-results-page .search-result-last a {
    min-width: 0;
    color: #d4dce7;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.search-results-page .search-result-last a:hover {
    color: #fff;
}

body.search-results-page .search-result-last time {
    color: #778391;
    font-size: 11px;
    white-space: nowrap;
}

body.search-results-page .search-side-head h2 {
    margin: 0;
    padding: 14px 16px 8px;
    color: #ededed;
    font-size: 16px;
    line-height: 1.25;
}

body.search-results-page .search-side-tabs {
    border-bottom: 1px solid #292929;
    background: #181818;
}

body.search-results-page .archive-tabs .archive-tab-nav ul {
    display: flex;
    padding: 0 12px;
}

body.search-results-page .archive-tabs .archive-tab-nav li {
    min-height: 36px;
    padding: 0 10px;
    color: #8e98a6;
    font-size: 12px;
    font-weight: 900;
    line-height: 36px;
}

body.search-results-page .archive-tabs .archive-tab-nav li.active {
    color: #75caff;
}

body.search-results-page .search-side-list {
    display: grid;
    gap: 8px;
    padding: 12px;
}

body.search-results-page .search-side-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-width: 0;
    padding: 8px;
    border: 1px solid #292929;
    border-radius: 6px;
    background: #171717;
    transition: border-color .18s ease, background .18s ease;
}

body.search-results-page .search-side-item:hover {
    border-color: #3a78a0;
    background: #1d1d1d;
}

body.search-results-page .search-side-list i {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #252525;
    color: #a9b3ba;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    line-height: 24px;
}

body.search-results-page .search-side-list i.first {
    background: #2d9cdb;
    color: #fff;
}

body.search-results-page .search-side-entry {
    display: grid;
    gap: 3px;
    min-width: 0;
}

body.search-results-page .search-side-title,
body.search-results-page .search-side-author {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.search-results-page .search-side-title {
    color: #d8dee8;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.32;
}

body.search-results-page .search-side-author {
    color: #808a98;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

body.search-results-page .search-side-title:hover,
body.search-results-page .search-side-author:hover {
    color: #75caff;
}

body.search-results-page .search-result-empty {
    border: 1px dashed #333;
    border-radius: 7px;
    background: #151515;
}

body.search-results-page .search-empty-state {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 24px 16px;
    color: #8e98a6;
    text-align: center;
}

body.search-results-page .archive-empty-title {
    color: #ededed;
    font-size: 16px;
    font-weight: 900;
}

body.search-results-page .search-empty-state a {
    color: #75caff;
    font-weight: 900;
}

@media (max-width: 640px) {
    body.search-results-page .archive-search-shell {
        padding-top: 10px;
    }

    body.search-results-page .archive-two-column {
        gap: 14px;
    }

    body.search-results-page .search-results-head {
        padding: 14px 14px 12px;
    }

    body.search-results-page .search-results-head h1 {
        font-size: 21px;
    }

    body.search-results-page .search-results-body {
        padding: 10px;
    }

    body.search-results-page .search-result-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }

    body.search-results-page .search-result-cover img {
        width: 74px;
    }

    body.search-results-page .search-result-title {
        font-size: 17px;
        line-height: 1.28;
    }

    body.search-results-page .search-result-meta span {
        max-width: 100%;
    }

    body.search-results-page .search-result-last {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    body.search-results-page .search-result-last span,
    body.search-results-page .search-result-last time {
        white-space: normal;
    }
}

/* Mobile header action final override v20260602b */
@media (max-width: 960px) {
    body .wuxia-topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 8px;
    }

    body .wuxia-brand {
        min-width: 0;
    }

    body .wuxia-brand-link,
    body .nf-brand-name,
    body .nf-brand-name strong {
        max-width: 100%;
    }

    body .nf-brand-name strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        max-width: 156px;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .login-action,
    body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action {
        flex: 0 1 auto;
        max-width: 76px;
        min-width: 58px;
        overflow: hidden;
        padding: 0 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .mobile-search-icon,
    body .wuxia-mobile-actions .mobile-menu-icon {
        position: relative;
        flex: 0 0 36px;
        width: 36px;
        min-width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 6px;
        font-size: 0;
        line-height: 36px;
    }

    body .wuxia-mobile-actions .mobile-search-icon span,
    body .wuxia-mobile-actions .mobile-menu-icon span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .mobile-search-icon:before {
        content: "";
        position: absolute;
        left: 11px;
        top: 10px;
        width: 13px;
        height: 13px;
        border: 2px solid currentColor;
        border-radius: 50%;
        box-sizing: border-box;
    }

    body .wuxia-mobile-actions .mobile-search-icon:after {
        content: "";
        position: absolute;
        left: 23px;
        top: 23px;
        width: 8px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transform: rotate(45deg);
        transform-origin: left center;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:before,
    body .wuxia-mobile-actions .mobile-menu-icon:after {
        content: "";
        position: absolute;
        left: 10px;
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        box-shadow: 0 6px 0 currentColor;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:before {
        top: 11px;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:after {
        top: 23px;
        box-shadow: none;
    }
}

@media (max-width: 420px) {
    body .wuxia-topbar {
        column-gap: 6px;
        padding-right: 8px;
        padding-left: 8px;
    }

    body .nf-brand-name strong {
        font-size: 19px;
    }

    body .wuxia-mobile-actions {
        gap: 4px;
        max-width: 142px;
    }

    body .wuxia-mobile-actions .login-action,
    body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action {
        max-width: 66px;
        min-width: 52px;
        padding: 0 6px;
        font-size: 11px;
    }

    body .wuxia-mobile-actions .mobile-search-icon,
    body .wuxia-mobile-actions .mobile-menu-icon {
        flex-basis: 34px;
        width: 34px;
        min-width: 34px;
        height: 34px;
        line-height: 34px;
    }
}

/* Mobile header action fix v20260602 */
@media (max-width: 960px) {
    body .wuxia-topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 8px;
    }

    body .wuxia-brand {
        min-width: 0;
    }

    body .wuxia-brand-link,
    body .nf-brand-name,
    body .nf-brand-name strong {
        max-width: 100%;
    }

    body .nf-brand-name strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        max-width: 156px;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .login-action,
    body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action {
        flex: 0 1 auto;
        max-width: 76px;
        min-width: 58px;
        overflow: hidden;
        padding: 0 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .mobile-search-icon,
    body .wuxia-mobile-actions .mobile-menu-icon {
        position: relative;
        flex: 0 0 36px;
        width: 36px;
        min-width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 6px;
        font-size: 0;
        line-height: 36px;
    }

    body .wuxia-mobile-actions .mobile-search-icon span,
    body .wuxia-mobile-actions .mobile-menu-icon span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .mobile-search-icon:before {
        content: "";
        position: absolute;
        left: 11px;
        top: 10px;
        width: 13px;
        height: 13px;
        border: 2px solid currentColor;
        border-radius: 50%;
        box-sizing: border-box;
    }

    body .wuxia-mobile-actions .mobile-search-icon:after {
        content: "";
        position: absolute;
        left: 23px;
        top: 23px;
        width: 8px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transform: rotate(45deg);
        transform-origin: left center;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:before,
    body .wuxia-mobile-actions .mobile-menu-icon:after {
        content: "";
        position: absolute;
        left: 10px;
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        box-shadow: 0 6px 0 currentColor;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:before {
        top: 11px;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:after {
        top: 23px;
        box-shadow: none;
    }
}

@media (max-width: 420px) {
    body .wuxia-topbar {
        column-gap: 6px;
        padding-right: 8px;
        padding-left: 8px;
    }

    body .nf-brand-name strong {
        font-size: 19px;
    }

    body .wuxia-mobile-actions {
        gap: 4px;
        max-width: 142px;
    }

    body .wuxia-mobile-actions .login-action,
    body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action {
        max-width: 66px;
        min-width: 52px;
        padding: 0 6px;
        font-size: 11px;
    }

    body .wuxia-mobile-actions .mobile-search-icon,
    body .wuxia-mobile-actions .mobile-menu-icon {
        flex-basis: 34px;
        width: 34px;
        min-width: 34px;
        height: 34px;
        line-height: 34px;
    }
}

/* Completed novels modern library grid v20260528 */
body.nf-completed-page {
    background: #111;
    color: #bdbdbd;
}

body.nf-completed-page .archive-completed-shell {
    max-width: 1040px;
    margin: 0 auto;
    padding: 18px 0 42px;
}

body.nf-completed-page .archive-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: #777;
    font-size: 13px;
    line-height: 22px;
}

body.nf-completed-page .archive-breadcrumb a,
body.nf-completed-page .archive-breadcrumb strong {
    color: #8c8c8c;
    font-weight: 700;
}

body.nf-completed-page .nf-completed-hero {
    align-items: flex-end;
    margin: 0 0 14px;
    padding: 18px 0 13px;
}

body.nf-completed-page .completed-count {
    flex: 0 0 auto;
    min-width: 132px;
    padding: 12px 14px;
    border: 1px solid #292929;
    border-radius: 6px;
    background: #181818;
    text-align: right;
}

body.nf-completed-page .completed-count strong {
    display: block;
    color: #f2f2f2;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

body.nf-completed-page .completed-count span {
    display: block;
    margin-top: 5px;
    color: #858585;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

body.nf-completed-page .nf-completed-gateways,
body.nf-completed-page .completed-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid #292929;
    border-radius: 6px;
    background: #181818;
    box-sizing: border-box;
}

body.nf-completed-page .nf-completed-gateways a,
body.nf-completed-page .completed-toolbar a,
body.nf-completed-page .completed-toolbar span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid #303030;
    border-radius: 4px;
    background: #111;
    color: #bcbcbc !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 32px;
}

body.nf-completed-page .nf-completed-gateways a:hover,
body.nf-completed-page .completed-toolbar a:hover {
    border-color: #2d9cdb;
    background: #1b2b35;
    color: #f0f8ff !important;
}

body.nf-completed-page .archive-list-panel {
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.nf-completed-page .archive-list-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid #292929;
    background: transparent;
}

body.nf-completed-page .archive-list-title h2 {
    margin: 0;
    color: #e5e5e5;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
}

body.nf-completed-page .archive-list-title span {
    color: #777;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

body.nf-completed-page .completed-story-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 14px;
    margin: 0;
    padding: 0;
}

body.nf-completed-page .completed-story-card {
    min-width: 0;
    color: #bdbdbd;
}

body.nf-completed-page .completed-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 3px;
    background: #222;
}

body.nf-completed-page .completed-cover img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #222;
    object-fit: cover;
    object-position: center top;
    transition: transform .18s ease;
}

body.nf-completed-page .completed-story-card:hover .completed-cover img {
    transform: scale(1.035);
}

body.nf-completed-page .completed-status {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 2;
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(45, 156, 219, .92);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 22px;
    text-transform: uppercase;
}

body.nf-completed-page .completed-story-main {
    min-width: 0;
    padding-top: 8px;
}

body.nf-completed-page .completed-story-main h3 {
    display: -webkit-box;
    min-height: 36px;
    margin: 0;
    color: #ededed;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.28;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.nf-completed-page .completed-story-main h3 a {
    color: #ededed !important;
}

body.nf-completed-page .completed-meta {
    display: flex;
    min-width: 0;
    gap: 5px;
    margin-top: 5px;
    color: #858585;
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.nf-completed-page .completed-meta a,
body.nf-completed-page .completed-meta span {
    color: #858585 !important;
}

body.nf-completed-page .completed-last {
    display: grid;
    gap: 3px;
    min-width: 0;
    margin-top: 8px;
    color: #777;
    font-size: 11px;
    line-height: 1.35;
}

body.nf-completed-page .completed-last span {
    color: #2d9cdb;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

body.nf-completed-page .completed-last a {
    display: block;
    min-width: 0;
    color: #d6d6d6 !important;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.nf-completed-page .completed-last em {
    color: #777;
    font-style: normal;
}

body.nf-completed-page .completed-details {
    display: inline-flex;
    width: 100%;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    margin-top: 9px;
    padding: 0 9px;
    border: 1px solid #303030;
    border-radius: 4px;
    background: #111;
    color: #dcdcdc !important;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    box-sizing: border-box;
}

body.nf-completed-page .completed-details:hover {
    border-color: #2d9cdb;
    background: #1b2b35;
    color: #fff !important;
}

body.nf-completed-page .archive-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: 22px;
    padding: 0;
}

@media (max-width: 980px) {
    body.nf-completed-page .archive-completed-shell {
        max-width: none;
        margin-left: 14px;
        margin-right: 14px;
    }

    body.nf-completed-page .completed-story-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.nf-completed-page .archive-completed-shell {
        margin-left: 10px;
        margin-right: 10px;
        padding-top: 12px;
        padding-bottom: 30px;
    }

    body.nf-completed-page .nf-completed-hero {
        display: block;
        margin-bottom: 12px;
        padding: 12px 0 10px;
    }

    body.nf-completed-page .nf-completed-hero h1 {
        font-size: 22px;
    }

    body.nf-completed-page .nf-completed-hero p {
        font-size: 13px;
    }

    body.nf-completed-page .completed-count {
        margin-top: 12px;
        text-align: left;
    }

    body.nf-completed-page .nf-completed-gateways {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px;
        scrollbar-width: none;
    }

    body.nf-completed-page .completed-toolbar {
        flex-wrap: wrap;
        overflow: visible;
        padding: 10px;
    }

    body.nf-completed-page .nf-completed-gateways::-webkit-scrollbar,
    body.nf-completed-page .completed-toolbar::-webkit-scrollbar {
        display: none;
    }

    body.nf-completed-page .nf-completed-gateways a,
    body.nf-completed-page .completed-toolbar a,
    body.nf-completed-page .completed-toolbar span {
        flex: 0 0 auto;
        min-height: 30px;
        padding: 0 10px;
        font-size: 11px;
        line-height: 30px;
    }

    body.nf-completed-page .archive-list-title {
        align-items: flex-start;
    }

    body.nf-completed-page .archive-list-title h2 {
        font-size: 18px;
    }

    body.nf-completed-page .completed-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    body.nf-completed-page .completed-story-main h3 {
        font-size: 13px;
    }
}

/* Reader typography 18-30 v20260527 */
body.readpage #chaptercontent,
body.readpage .scroll-stage .content {
    color: #b8b8b8 !important;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 18px !important;
    line-height: 1.55 !important;
    letter-spacing: 0;
    word-spacing: 0;
}

body.readpage #chaptercontent p {
    margin: 0 0 1.05em;
    color: #b8b8b8 !important;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 18px !important;
    line-height: 1.55 !important;
    letter-spacing: 0;
    word-spacing: 0;
}

body.readpage #chaptercontent em,
body.readpage #chaptercontent i {
    color: inherit;
    font-style: italic;
}

body.readpage .reader-font-size {
    min-width: 42px;
    text-align: center;
}

/* Info page breadcrumb and cover align with header logo v20260527 */
@media (min-width: 961px) {
    body.wuxia-dossier-page .wuxia-crumb-trail,
    body.wuxia-dossier-page .ad-placement-top {
        width: min(970px, calc(100vw - 28px));
        max-width: min(970px, calc(100vw - 28px));
        margin-left: max(14px, calc((100vw - 1010px) / 2));
        margin-right: auto;
    }

    body.wuxia-dossier-page .wuxia-dossier {
        padding-left: max(14px, calc((100vw - 1010px) / 2));
        padding-right: max(14px, calc((100vw - 970px) / 2));
    }
}

@media (max-width: 640px) {
    body.readpage .comment-card-area {
        margin: 18px 18px 0;
    }

    body.wuxia-dossier-page .comment-card-area .archive-panel-body,
    body.readpage .comment-card-area .archive-panel-body {
        padding: 0 14px 18px;
    }

    body.wuxia-dossier-page .comment-card-head,
    body.readpage .comment-card-head {
        align-items: flex-start;
        padding: 22px 14px 16px;
    }

    body.wuxia-dossier-page .comment-card-head h2,
    body.wuxia-dossier-page .comment-card-head h3,
    body.readpage .comment-card-head h2,
    body.readpage .comment-card-head h3 {
        font-size: 24px;
    }

    body.wuxia-dossier-page .comment-post-button,
    body.readpage .comment-post-button {
        min-width: 88px;
        min-height: 44px;
        font-size: 14px;
    }

    body.wuxia-dossier-page .comment-rule-box,
    body.readpage .comment-rule-box,
    body.wuxia-dossier-page .comment-sort-tabs,
    body.readpage .comment-sort-tabs {
        margin-right: 14px;
        margin-left: 14px;
    }

    body.wuxia-dossier-page .comment-sort-tabs,
    body.readpage .comment-sort-tabs {
        justify-content: flex-start;
        overflow-x: auto;
    }

    body.wuxia-dossier-page .comment-card-list .comment-card,
    body.readpage .comment-card-list .comment-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
        padding: 14px;
    }

    body.wuxia-dossier-page .comment-card-avatar img,
    body.readpage .comment-card-avatar img {
        width: 42px;
        height: 42px;
    }

    body.wuxia-dossier-page .comment-card-meta,
    body.readpage .comment-card-meta {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 5px 7px;
    }

    body.wuxia-dossier-page .comment-card-time,
    body.readpage .comment-card-time {
        width: 100%;
        margin-left: 0;
    }

    body.wuxia-dossier-page .comment-card-content,
    body.readpage .comment-card-content {
        font-size: 15px;
    }

    body.wuxia-dossier-page .comment-card-actions,
    body.readpage .comment-card-actions {
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    body.wuxia-dossier-page .comment-card-actions .up,
    body.readpage .comment-card-actions .up {
        margin-left: 0;
    }
}

/* Info page final cover size 310x450 v20260527 */
@media (min-width: 961px) {
    body.wuxia-dossier-page {
        --wuxia-info-cover-width: 310px;
    }

    body.wuxia-dossier-page .wuxia-dossier {
        grid-template-columns: 310px minmax(0, 1fr);
    }

    body.wuxia-dossier-page .wuxia-dossier-cover img {
        width: 310px;
        max-width: 310px;
        height: 450px;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center top;
    }
}

/* Info page cover size 310x450 v20260527 */
@media (min-width: 961px) {
    body.wuxia-dossier-page {
        --wuxia-info-cover-width: 310px;
    }

    body.wuxia-dossier-page .wuxia-dossier {
        grid-template-columns: 310px minmax(0, 1fr);
    }

    body.wuxia-dossier-page .wuxia-dossier-cover img {
        width: 310px;
        max-width: 310px;
        height: 450px;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center top;
    }
}

/* Reader topbar 1010 centered search v20260527 */
@media (min-width: 761px) {
    body.readpage .scroll-topbar {
        background: #101010;
    }

    body.readpage .scroll-topbar-inner {
        display: grid;
        grid-template-columns: 190px minmax(0, 1fr) 122px;
        gap: 16px;
        align-items: center;
        width: min(1010px, calc(100vw - 32px));
        max-width: min(1010px, calc(100vw - 32px));
        min-height: 74px;
        margin: 0 auto;
        padding: 10px 0;
        box-sizing: border-box;
    }

    body.readpage .scroll-topbar .logo {
        justify-self: start;
        min-width: 0;
    }

    body.readpage .site-logo-text {
        justify-content: flex-start;
        font-size: 27px;
    }

    body.readpage .scroll-topbar .searchbox {
        justify-self: center;
        width: min(580px, 100%);
        min-width: 0;
    }

    body.readpage .scroll-topbar .searchbox form {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) 86px;
        height: 44px;
        border-radius: 24px;
    }

    body.readpage .scroll-topbar .searchbox .text {
        height: 42px;
        line-height: 42px;
    }

    body.readpage .scroll-topbar .searchbox .searchbtn {
        width: 86px;
        height: 44px;
    }

    body.readpage .frame-operate {
        justify-self: end;
        width: 122px;
        min-width: 122px;
    }

    body.readpage .frame-btn {
        width: 100%;
    }

    body.readpage .reader-top-btn {
        width: 122px;
        min-width: 122px;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 6px;
        line-height: 44px;
    }
}

@media (max-width: 760px) {
    body.readpage .scroll-topbar-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 9px 10px;
    }

    body.readpage .scroll-topbar .logo {
        justify-self: start;
    }

    body.readpage .frame-operate {
        justify-self: end;
    }

    body.readpage .scroll-topbar .searchbox {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
    }
}

/* Reader topbar polish v20260527 */
body.readpage .scroll-topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid #242424;
    background: rgba(17, 17, 17, .96);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .24);
    backdrop-filter: blur(10px);
}

body.readpage .scroll-topbar-inner {
    display: grid;
    grid-template-columns: 172px minmax(260px, 1fr) auto;
    gap: 14px;
    align-items: center;
    width: min(900px, calc(100vw - 28px));
    max-width: min(900px, calc(100vw - 28px));
    min-height: 64px;
    margin: 0 auto;
    padding: 10px 0;
    box-sizing: border-box;
}

body.readpage .scroll-topbar .logo {
    min-width: 0;
}

body.readpage .site-logo-text {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    color: #e66d6d !important;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

body.readpage .site-logo-text:after {
    content: "Reader";
    display: inline-flex;
    height: 20px;
    align-items: center;
    margin-left: 9px;
    padding: 0 7px;
    border: 1px solid #303030;
    border-radius: 999px;
    background: #1b1b1b;
    color: #9da5b1;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 20px;
    text-transform: uppercase;
}

body.readpage .logo:after {
    display: none;
}

body.readpage .scroll-topbar .searchbox {
    min-width: 0;
}

body.readpage .scroll-topbar .searchbox form {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    height: 42px;
    overflow: hidden;
    border: 1px solid #303030;
    border-radius: 22px;
    background: #191919;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
}

body.readpage .scroll-topbar .searchbox form:before {
    content: "";
    position: absolute;
    left: 16px;
    top: 13px;
    width: 13px;
    height: 13px;
    border: 2px solid #858b95;
    border-radius: 50%;
    box-sizing: border-box;
    pointer-events: none;
}

body.readpage .scroll-topbar .searchbox form:after {
    content: "";
    position: absolute;
    left: 27px;
    top: 25px;
    width: 7px;
    height: 2px;
    border-radius: 2px;
    background: #858b95;
    transform: rotate(45deg);
    pointer-events: none;
}

body.readpage .scroll-topbar .searchbox .text {
    width: 100%;
    height: 40px;
    min-width: 0;
    padding: 0 12px 0 40px;
    border: 0;
    background: transparent;
    color: #e3e8ef;
    font-size: 14px;
    line-height: 40px;
    outline: none;
    box-sizing: border-box;
}

body.readpage .scroll-topbar .searchbox .text:focus {
    color: #fff;
}

body.readpage .scroll-topbar .searchbox form:focus-within {
    border-color: #2d9cdb;
    background: #161f27;
}

body.readpage .scroll-topbar .searchbox .searchbtn {
    width: 86px;
    height: 42px;
    border: 0;
    border-left: 1px solid #303030;
    background: #222;
    color: #d8dde5;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

body.readpage .scroll-topbar .searchbox .searchbtn:hover {
    background: #2d9cdb;
    color: #fff;
}

body.readpage .frame-operate {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

body.readpage .frame-btn {
    min-width: 0;
}

body.readpage .reader-top-btn {
    display: inline-flex;
    min-width: 120px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    border: 1px solid #2d9cdb;
    border-radius: 6px;
    background: linear-gradient(180deg, #2e9fdd 0%, #2387c5 100%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 900;
    line-height: 42px;
    box-sizing: border-box;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(32, 135, 198, .18);
}

body.readpage .reader-top-btn i {
    color: inherit;
    font-size: 14px;
}

body.readpage .reader-top-btn:hover {
    border-color: #55b9f8;
    background: linear-gradient(180deg, #48afe9 0%, #2b94d7 100%);
}

body.readpage .reader-top-btn.active {
    border-color: #3a3a3a;
    background: #202020;
    color: #e6e6e6 !important;
    box-shadow: none;
}

html.wuxia-light-theme body.readpage .scroll-topbar {
    border-bottom-color: #dfe4ec;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(31, 54, 35, .08);
}

html.wuxia-light-theme body.readpage .site-logo-text {
    color: #cf5554 !important;
}

html.wuxia-light-theme body.readpage .site-logo-text:after {
    border-color: #d8dee8;
    background: #f4f6f9;
    color: #657181;
}

html.wuxia-light-theme body.readpage .scroll-topbar .searchbox form,
html.wuxia-light-theme body.readpage .scroll-topbar .searchbox .searchbtn {
    border-color: #d8dee8;
    background: #f4f6f9;
    color: #27313c;
}

html.wuxia-light-theme body.readpage .scroll-topbar .searchbox .text {
    color: #20242a;
}

html.wuxia-light-theme body.readpage .scroll-topbar .searchbox form:focus-within {
    border-color: #2d9cdb;
    background: #eef7fd;
}

html.wuxia-light-theme body.readpage .scroll-topbar .searchbox .searchbtn:hover {
    background: #2d9cdb;
    color: #fff;
}

@media (max-width: 760px) {
    body.readpage .scroll-topbar-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        width: auto;
        max-width: none;
        min-height: 58px;
        margin: 0;
        padding: 9px 10px;
    }

    body.readpage .site-logo-text {
        font-size: 22px;
    }

    body.readpage .site-logo-text:after {
        display: none;
    }

    body.readpage .scroll-topbar .searchbox {
        grid-column: 1 / -1;
        order: 3;
    }

    body.readpage .scroll-topbar .searchbox form {
        grid-template-columns: minmax(0, 1fr) 74px;
        height: 40px;
        border-radius: 20px;
    }

    body.readpage .scroll-topbar .searchbox .text {
        height: 38px;
        font-size: 13px;
        line-height: 38px;
    }

    body.readpage .scroll-topbar .searchbox .searchbtn {
        width: 74px;
        height: 40px;
        font-size: 12px;
    }

    body.readpage .reader-top-btn {
        min-width: 44px;
        min-height: 38px;
        padding: 0 11px;
        font-size: 0;
        line-height: 38px;
    }

    body.readpage .reader-top-btn i {
        font-size: 15px;
    }
}

/* Reader content width 900 v20260527 */
@media (min-width: 961px) {
    body.readpage {
        --wuxia-reader-width: 900px;
    }

    body.readpage .scroll-stage,
    body.readpage .scroll-topbar-inner,
    body.readpage .scroll-shell {
        width: min(900px, calc(100vw - 28px));
        max-width: min(900px, calc(100vw - 28px));
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    body.readpage .scroll-nav.reader-nav-docked {
        width: min(900px, calc(100vw - 28px));
    }
}

/* Reader topbar left-right alignment v20260527 */
@media (min-width: 761px) {
    body.readpage .scroll-topbar-inner {
        grid-template-columns: 178px minmax(360px, 1fr) 120px;
        gap: 14px;
        width: min(980px, calc(100vw - 28px));
        max-width: min(980px, calc(100vw - 28px));
        min-height: 74px;
        padding: 10px 0;
    }

    body.readpage .scroll-topbar .logo {
        justify-self: start;
    }

    body.readpage .site-logo-text {
        font-size: 27px;
    }

    body.readpage .site-logo-text:after {
        height: 20px;
        margin-left: 10px;
        padding: 0 8px;
        font-size: 10px;
        line-height: 20px;
    }

    body.readpage .scroll-topbar .searchbox {
        justify-self: stretch;
        width: 100%;
    }

    body.readpage .scroll-topbar .searchbox form {
        grid-template-columns: minmax(0, 1fr) 86px;
        height: 44px;
        border-radius: 24px;
    }

    body.readpage .scroll-topbar .searchbox .text {
        height: 42px;
        line-height: 42px;
    }

    body.readpage .scroll-topbar .searchbox .searchbtn {
        width: 86px;
        height: 44px;
    }

    body.readpage .frame-operate {
        justify-self: end;
    }

    body.readpage .reader-top-btn {
        min-width: 120px;
        min-height: 44px;
        border-radius: 6px;
        line-height: 44px;
    }
}

@media (min-width: 1100px) {
    body.readpage .scroll-topbar-inner {
        width: min(1040px, calc(100vw - 40px));
        max-width: min(1040px, calc(100vw - 40px));
    }
}

@media (max-width: 760px) {
    body.readpage .scroll-topbar-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        width: auto;
        max-width: none;
    }
}

/* Novel info 1010 content alignment polish */
@media (min-width: 961px) {
    body.wuxia-dossier-page .nf-info-quick-grid {
        width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        max-width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        margin: 0 auto 26px;
        box-sizing: border-box;
    }

    body.wuxia-dossier-page .nf-info-quick-card {
        width: 100%;
        min-height: 112px;
        box-sizing: border-box;
    }

    body.wuxia-dossier-page .wuxia-dossier-layout {
        width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        max-width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        margin: 0 auto;
        box-sizing: border-box;
    }

    body.wuxia-dossier-page .wuxia-dossier-content,
    body.wuxia-dossier-page .wuxia-panel,
    body.wuxia-dossier-page .wuxia-scroll-archive,
    body.wuxia-dossier-page .commentarea,
    body.wuxia-dossier-page .comment-card-area {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-right: 0;
        margin-left: 0;
        box-sizing: border-box;
    }

    body.wuxia-dossier-page .wuxia-scroll-archive,
    body.wuxia-dossier-page .commentarea,
    body.wuxia-dossier-page .comment-card-area {
        clear: both;
    }
}

/* Comment rules modal v20260527 */
body.comment-rules-open {
    overflow: hidden;
}

body.wuxia-dossier-page .comment-rules-trigger,
body.readpage .comment-rules-trigger {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1d9dea;
    font: inherit;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

body.wuxia-dossier-page .comment-rules-trigger:hover,
body.readpage .comment-rules-trigger:hover {
    color: #55b9f8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.wuxia-dossier-page .comment-rules-modal[hidden],
body.readpage .comment-rules-modal[hidden] {
    display: none;
}

body.wuxia-dossier-page .comment-rules-modal,
body.readpage .comment-rules-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 14px 16px;
}

body.wuxia-dossier-page .comment-rules-backdrop,
body.readpage .comment-rules-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .72);
}

body.wuxia-dossier-page .comment-rules-panel,
body.readpage .comment-rules-panel {
    position: relative;
    z-index: 1;
    width: min(565px, calc(100vw - 32px));
    max-height: calc(100vh - 28px);
    overflow: hidden;
    border: 1px solid #242424;
    border-radius: 2px;
    background: #1b1b1b;
    color: #b8b8b8;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}

body.wuxia-dossier-page .comment-rules-close,
body.readpage .comment-rules-close {
    position: absolute;
    top: 8px;
    right: 13px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #9fa3aa;
    font-size: 34px;
    font-weight: 900;
    line-height: 34px;
    cursor: pointer;
}

body.wuxia-dossier-page .comment-rules-close:hover,
body.readpage .comment-rules-close:hover {
    color: #fff;
}

body.wuxia-dossier-page .comment-rules-panel h3,
body.readpage .comment-rules-panel h3 {
    margin: 0 32px 0 0;
    padding: 18px 32px 14px;
    border-bottom: 1px solid #292929;
    color: #bebebe;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}

body.wuxia-dossier-page .comment-rules-content,
body.readpage .comment-rules-content {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 14px 32px 28px;
    color: #b8b8b8;
    font-size: 16px;
    line-height: 1.55;
}

body.wuxia-dossier-page .comment-rules-content p,
body.readpage .comment-rules-content p {
    margin: 0 0 14px;
    color: #b8b8b8;
}

body.wuxia-dossier-page .comment-rules-content ol,
body.readpage .comment-rules-content ol {
    margin: 0 0 16px;
    padding-left: 0;
    list-style: none;
    counter-reset: comment-rules;
}

body.wuxia-dossier-page .comment-rules-content li,
body.readpage .comment-rules-content li {
    margin: 0 0 8px;
    color: #b8b8b8;
    counter-increment: comment-rules;
}

body.wuxia-dossier-page .comment-rules-content li:before,
body.readpage .comment-rules-content li:before {
    content: counter(comment-rules) ". ";
    color: #b8b8b8;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-rules-panel,
html.wuxia-light-theme body.readpage .comment-rules-panel {
    border-color: #dfe3ea;
    background: #fff;
    color: #303844;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-rules-panel h3,
html.wuxia-light-theme body.readpage .comment-rules-panel h3 {
    border-color: #e5e9f0;
    color: #20242a;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-rules-content,
html.wuxia-light-theme body.readpage .comment-rules-content,
html.wuxia-light-theme body.wuxia-dossier-page .comment-rules-content p,
html.wuxia-light-theme body.readpage .comment-rules-content p,
html.wuxia-light-theme body.wuxia-dossier-page .comment-rules-content li,
html.wuxia-light-theme body.readpage .comment-rules-content li,
html.wuxia-light-theme body.wuxia-dossier-page .comment-rules-content li:before,
html.wuxia-light-theme body.readpage .comment-rules-content li:before {
    color: #303844;
}

@media (max-width: 640px) {
    body.wuxia-dossier-page .comment-rules-modal,
    body.readpage .comment-rules-modal {
        padding: 10px;
    }

    body.wuxia-dossier-page .comment-rules-panel,
    body.readpage .comment-rules-panel {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    body.wuxia-dossier-page .comment-rules-panel h3,
    body.readpage .comment-rules-panel h3 {
        padding: 16px 44px 12px 18px;
        margin-right: 0;
        font-size: 16px;
    }

    body.wuxia-dossier-page .comment-rules-content,
    body.readpage .comment-rules-content {
        max-height: calc(100vh - 82px);
        padding: 14px 18px 22px;
        font-size: 15px;
    }
}

/* Novel info right-column alignment v20260527 */
@media (min-width: 981px) {
    body.wuxia-dossier-page {
        --wuxia-info-cover-width: 310px;
        --wuxia-info-hero-gap: 28px;
        --wuxia-info-right-offset: calc(var(--wuxia-info-cover-width) + var(--wuxia-info-hero-gap));
        --wuxia-info-right-width: calc(var(--wuxia-desktop-width) - var(--wuxia-info-right-offset));
        --wuxia-info-active-width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        --wuxia-info-column-left: calc((100vw - var(--wuxia-info-active-width)) / 2 + var(--wuxia-info-right-offset));
        --wuxia-info-column-width: min(var(--wuxia-info-right-width), calc(100vw - 28px - var(--wuxia-info-right-offset)));
    }

    body.wuxia-dossier-page .nf-info-quick-grid,
    body.wuxia-dossier-page .wuxia-dossier-layout {
        width: var(--wuxia-info-column-width);
        max-width: var(--wuxia-info-column-width);
        margin-left: var(--wuxia-info-column-left);
        margin-right: auto;
        box-sizing: border-box;
    }

    body.wuxia-dossier-page .nf-info-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 26px;
    }

    body.wuxia-dossier-page .nf-info-quick-card {
        min-height: 108px;
    }

    body.wuxia-dossier-page .wuxia-dossier-content,
    body.wuxia-dossier-page .wuxia-panel,
    body.wuxia-dossier-page .wuxia-scroll-archive,
    body.wuxia-dossier-page .commentarea,
    body.wuxia-dossier-page .comment-card-area {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    body.wuxia-dossier-page .wuxia-recommend .wuxia-path-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px 12px;
    }
}

/* Novel info and reader 1010 two-tone background v20260527 */
@media (min-width: 961px) {
    html:not(.wuxia-light-theme) body.wuxia-dossier-page,
    html:not(.wuxia-light-theme) body.readpage {
        background:
            linear-gradient(
                to right,
                #101010 0,
                #101010 calc((100vw - var(--wuxia-desktop-width)) / 2),
                #1a1a1a calc((100vw - var(--wuxia-desktop-width)) / 2),
                #1a1a1a calc((100vw + var(--wuxia-desktop-width)) / 2),
                #101010 calc((100vw + var(--wuxia-desktop-width)) / 2),
                #101010 100%
            );
    }

    html:not(.wuxia-light-theme) body.wuxia-dossier-page .wuxia-dossier-shell,
    html:not(.wuxia-light-theme) body.readpage .scroll-reader {
        background: transparent;
    }

    body.wuxia-dossier-page .nf-info-quick-grid,
    body.wuxia-dossier-page .wuxia-dossier-layout {
        width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        max-width: min(var(--wuxia-desktop-width), calc(100vw - 28px));
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    body.wuxia-dossier-page .nf-info-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        margin-bottom: 26px;
    }

    body.wuxia-dossier-page .nf-info-quick-card {
        min-height: 112px;
    }

    body.wuxia-dossier-page .wuxia-dossier-content,
    body.wuxia-dossier-page .wuxia-panel,
    body.wuxia-dossier-page .wuxia-scroll-archive,
    body.wuxia-dossier-page .commentarea,
    body.wuxia-dossier-page .comment-card-area {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    html:not(.wuxia-light-theme) body.wuxia-dossier-page .nf-info-quick-card,
    html:not(.wuxia-light-theme) body.wuxia-dossier-page .wuxia-panel,
    html:not(.wuxia-light-theme) body.wuxia-dossier-page .wuxia-scroll-archive,
    html:not(.wuxia-light-theme) body.wuxia-dossier-page .comment-card-area {
        background: #1a1a1a;
    }

    body.wuxia-dossier-page .wuxia-recommend .wuxia-path-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 18px 14px;
    }

    html:not(.wuxia-light-theme) body.readpage .scroll-stage {
        background: #1a1a1a;
    }

    html:not(.wuxia-light-theme) body.readpage .scroll-nav,
    html:not(.wuxia-light-theme) body.readpage .scroll-tools,
    html:not(.wuxia-light-theme) body.readpage .scroll-context-note,
    html:not(.wuxia-light-theme) body.readpage .scroll-bottom-note,
    html:not(.wuxia-light-theme) body.readpage .readingTips,
    html:not(.wuxia-light-theme) body.readpage .scroll-suggestions,
    html:not(.wuxia-light-theme) body.readpage .comment-card-area {
        background: #1a1a1a;
    }
}

/* NovelFire info 970 and reader 920 layout v20260527 */
@media (min-width: 961px) {
    body.wuxia-dossier-page {
        --wuxia-info-width: 970px;
        --wuxia-info-cover-width: 292px;
        --wuxia-info-hero-gap: 28px;
    }

    body.readpage {
        --wuxia-reader-width: 900px;
    }

    body.wuxia-dossier-page .wuxia-crumb-trail,
    body.wuxia-dossier-page .nf-info-quick-grid,
    body.wuxia-dossier-page .wuxia-dossier-layout {
        width: min(var(--wuxia-info-width), calc(100vw - 28px));
        max-width: min(var(--wuxia-info-width), calc(100vw - 28px));
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    body.wuxia-dossier-page .wuxia-dossier {
        width: 100%;
        max-width: none;
        grid-template-columns: minmax(0, var(--wuxia-info-cover-width)) minmax(0, 1fr);
        gap: var(--wuxia-info-hero-gap);
        margin-left: 0;
        margin-right: 0;
        padding-left: max(14px, calc((100vw - var(--wuxia-info-width)) / 2));
        padding-right: max(14px, calc((100vw - var(--wuxia-info-width)) / 2));
        box-sizing: border-box;
    }

    body.wuxia-dossier-page .wuxia-dossier-cover,
    body.wuxia-dossier-page .wuxia-dossier-main {
        min-width: 0;
    }

    body.wuxia-dossier-page .wuxia-dossier-cover img {
        width: 100%;
        max-width: var(--wuxia-info-cover-width);
    }

    body.wuxia-dossier-page .nf-info-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    body.wuxia-dossier-page .wuxia-dossier-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        align-items: start;
    }

    body.wuxia-dossier-page .wuxia-dossier-content,
    body.wuxia-dossier-page .wuxia-panel,
    body.wuxia-dossier-page .wuxia-scroll-archive,
    body.wuxia-dossier-page .commentarea,
    body.wuxia-dossier-page .comment-card-area {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    body.readpage .scroll-stage {
        width: min(var(--wuxia-reader-width), calc(100vw - 28px));
        max-width: min(var(--wuxia-reader-width), calc(100vw - 28px));
    }

    body.readpage .scroll-nav.reader-nav-docked {
        width: min(var(--wuxia-reader-width), calc(100vw - 28px));
    }
}

/* Reader chapter modal final-order override v20260527 */
body.readpage .scroll-nav,
body.readpage .scroll-chapter-nav ul,
body.readpage .operate ul {
    grid-template-columns: minmax(0, 1fr) 148px minmax(0, 1fr);
    gap: 8px;
}

body.readpage .scroll-nav-link,
body.readpage .scroll-chapter-nav a,
body.readpage .scroll-chapter-nav button,
body.readpage .operate a,
body.readpage .operate button {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 38px;
}

body.readpage .scroll-dir,
body.readpage .reader-bottom-dialog-open {
    min-width: 148px;
    border-color: #343434 !important;
    background: #202020 !important;
    color: #e6e6e6 !important;
}

body.readpage .scroll-dir:hover,
body.readpage .reader-bottom-dialog-open:hover {
    border-color: #2087c6 !important;
    background: #172838 !important;
    color: #fff !important;
}

body.readpage.reader-chapter-modal-open {
    overflow: hidden;
}

body.readpage .reader-chapter-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 14px 16px;
    box-sizing: border-box;
}

body.readpage .reader-chapter-modal[hidden] {
    display: none;
}

body.readpage .reader-chapter-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .78);
}

body.readpage .reader-chapter-modal-panel {
    position: relative;
    left: auto;
    top: auto;
    z-index: 1;
    display: flex;
    width: min(780px, calc(100vw - 32px));
    max-height: calc(100vh - 28px);
    transform: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #202020;
    border-radius: 0;
    background: #171717;
    color: #d5d5d5;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .62);
}

body.readpage .reader-chapter-modal-head {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 20px;
    border-bottom: 1px solid #262626;
    background: #171717;
    box-sizing: border-box;
}

body.readpage .reader-chapter-modal-head h2 {
    margin: 0;
    color: #efefef;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
}

body.readpage .reader-chapter-modal-close {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #9c9fa6;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

body.readpage .reader-chapter-modal-close:hover {
    color: #fff;
}

body.readpage .reader-chapter-modal-tools {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 88px 88px 74px;
    gap: 10px;
    align-items: stretch;
    padding: 12px 20px;
    border-bottom: 1px solid #262626;
    background: #171717;
    box-sizing: border-box;
}

body.readpage .reader-chapter-search-wrap,
body.readpage .reader-chapter-bookmark,
body.readpage .reader-chapter-sort,
body.readpage .reader-chapter-page-size {
    min-width: 0;
    height: 60px;
    border: 1px solid #2d2d2d;
    border-radius: 6px;
    background: #242424;
    color: #d9d9d9;
    box-sizing: border-box;
}

body.readpage .reader-chapter-search-wrap {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    padding: 0 12px;
    color: #848890;
}

body.readpage .reader-chapter-search-wrap i {
    font-size: 18px;
}

body.readpage .reader-chapter-search {
    width: 100%;
    height: 58px;
    border: 0;
    background: transparent;
    color: #e1e1e1;
    font-size: 15px;
    outline: none;
}

body.readpage .reader-chapter-search::placeholder {
    color: #858585;
}

body.readpage .reader-chapter-bookmark,
body.readpage .reader-chapter-sort {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 800;
    line-height: 58px;
    text-align: center;
    white-space: nowrap;
}

body.readpage .reader-chapter-page-size {
    padding: 0 12px;
    font-size: 14px;
    font-weight: 800;
}

body.readpage .reader-chapter-bookmark:hover,
body.readpage .reader-chapter-sort:hover,
body.readpage .reader-chapter-page-size:hover,
body.readpage .reader-chapter-search-wrap:focus-within {
    border-color: #2d9cdb;
    background: #202833;
    color: #fff;
}

body.readpage .reader-chapter-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 14px 20px 0;
    overflow: auto;
    background: #111;
    scrollbar-color: #6a6a6a #191919;
}

body.readpage .reader-chapter-loading,
body.readpage .reader-chapter-error,
body.readpage .reader-chapter-empty {
    padding: 18px 14px;
    color: #aeb3bb;
    font-size: 15px;
    text-align: center;
}

body.readpage .reader-chapter-dialog-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

body.readpage .reader-chapter-dialog-list li {
    min-width: 0;
}

body.readpage .reader-chapter-dialog-list a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
    min-height: 46px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid #1c1c1c;
    border-radius: 6px;
    background: #181818;
    color: #bfc3ca;
    font-size: 16px;
    line-height: 1.35;
    box-sizing: border-box;
}

body.readpage .reader-chapter-dialog-list a:hover {
    border-color: #2d9cdb;
    background: #1b2630;
    color: #fff;
}

body.readpage .reader-chapter-dialog-list .is-current a {
    border-color: #2087c6;
    background: #142433;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(32, 135, 198, .72);
}

body.readpage .reader-chapter-order {
    color: #a7abb2;
    white-space: nowrap;
}

body.readpage .reader-chapter-name {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.readpage .reader-chapter-dialog-pagination {
    display: flex;
    min-height: 80px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px 20px 22px;
    border-top: 1px solid #262626;
    background: #171717;
    box-sizing: border-box;
}

body.readpage .reader-chapter-dialog-pagination button {
    min-width: 36px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #2f2f2f;
    border-radius: 5px;
    background: #202020;
    color: #cfd3da;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

body.readpage .reader-chapter-dialog-pagination button:hover:not(:disabled),
body.readpage .reader-chapter-dialog-pagination .is-current {
    border-color: #2087c6;
    background: #2087c6;
    color: #fff;
}

body.readpage .reader-chapter-dialog-pagination button:disabled {
    opacity: .48;
    cursor: default;
}

html.wuxia-light-theme body.readpage .reader-chapter-modal-backdrop {
    background: rgba(15, 23, 42, .45);
}

html.wuxia-light-theme body.readpage .reader-chapter-modal-panel,
html.wuxia-light-theme body.readpage .reader-chapter-modal-head,
html.wuxia-light-theme body.readpage .reader-chapter-modal-tools,
html.wuxia-light-theme body.readpage .reader-chapter-dialog-pagination {
    border-color: #dfe4ec;
    background: #fff;
    color: #20242a;
}

html.wuxia-light-theme body.readpage .reader-chapter-modal-head h2 {
    color: #20242a;
}

html.wuxia-light-theme body.readpage .reader-chapter-modal-close {
    color: #6d7582;
}

html.wuxia-light-theme body.readpage .reader-chapter-modal-body {
    background: #f5f7fa;
}

html.wuxia-light-theme body.readpage .reader-chapter-search-wrap,
html.wuxia-light-theme body.readpage .reader-chapter-bookmark,
html.wuxia-light-theme body.readpage .reader-chapter-sort,
html.wuxia-light-theme body.readpage .reader-chapter-page-size,
html.wuxia-light-theme body.readpage .reader-chapter-dialog-pagination button {
    border-color: #d8dee8;
    background: #fff;
    color: #20242a;
}

html.wuxia-light-theme body.readpage .reader-chapter-search {
    color: #20242a;
}

html.wuxia-light-theme body.readpage .reader-chapter-dialog-list a {
    border-color: #dfe4ec;
    background: #fff;
    color: #303844;
}

html.wuxia-light-theme body.readpage .reader-chapter-dialog-list a:hover {
    border-color: #258bd0;
    background: #eef7fd;
    color: #20242a;
}

html.wuxia-light-theme body.readpage .reader-chapter-dialog-list .is-current a,
html.wuxia-light-theme body.readpage .reader-chapter-dialog-pagination .is-current {
    border-color: #258bd0;
    background: #258bd0;
    color: #fff;
}

html.wuxia-light-theme body.readpage .reader-chapter-order {
    color: #7c8795;
}

@media (max-width: 640px) {
    body.readpage .scroll-nav,
    body.readpage .scroll-chapter-nav ul,
    body.readpage .operate ul {
        grid-template-columns: minmax(0, 1fr) 94px minmax(0, 1fr);
        gap: 6px;
    }

    body.readpage .scroll-nav-link,
    body.readpage .scroll-chapter-nav a,
    body.readpage .scroll-chapter-nav button,
    body.readpage .operate a,
    body.readpage .operate button {
        min-height: 34px;
        padding: 0 8px;
        font-size: 12px;
        line-height: 34px;
    }

    body.readpage .scroll-dir,
    body.readpage .reader-bottom-dialog-open {
        min-width: 94px;
    }

    body.readpage .reader-chapter-modal {
        padding: 8px;
    }

    body.readpage .reader-chapter-modal-panel {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
    }

    body.readpage .reader-chapter-modal-head {
        min-height: 52px;
        padding: 0 14px;
    }

    body.readpage .reader-chapter-modal-head h2 {
        font-size: 18px;
    }

    body.readpage .reader-chapter-modal-close {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 34px;
    }

    body.readpage .reader-chapter-modal-tools {
        grid-template-columns: minmax(0, 1fr) 84px;
        gap: 8px;
        padding: 10px 12px;
    }

    body.readpage .reader-chapter-search-wrap,
    body.readpage .reader-chapter-bookmark {
        grid-column: 1 / -1;
    }

    body.readpage .reader-chapter-search-wrap,
    body.readpage .reader-chapter-bookmark,
    body.readpage .reader-chapter-sort,
    body.readpage .reader-chapter-page-size {
        height: 46px;
    }

    body.readpage .reader-chapter-search {
        height: 44px;
        font-size: 14px;
    }

    body.readpage .reader-chapter-bookmark,
    body.readpage .reader-chapter-sort,
    body.readpage .reader-chapter-page-size {
        font-size: 13px;
        line-height: 44px;
    }

    body.readpage .reader-chapter-modal-body {
        padding: 10px 12px 0;
    }

    body.readpage .reader-chapter-dialog-list {
        gap: 8px;
    }

    body.readpage .reader-chapter-dialog-list a {
        min-height: 44px;
        padding: 0 12px;
        font-size: 14px;
    }

    body.readpage .reader-chapter-dialog-pagination {
        min-height: 66px;
        padding: 12px;
    }

    body.readpage .reader-chapter-dialog-pagination button {
        min-width: 34px;
        height: 36px;
        font-size: 14px;
    }
}

/* Info page breadcrumb and top ad cover alignment v20260527 */
@media (min-width: 961px) {
    body.wuxia-dossier-page .wuxia-crumb-trail,
    body.wuxia-dossier-page .ad-placement-top {
        width: min(970px, calc(100vw - 28px));
        max-width: min(970px, calc(100vw - 28px));
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

/* Info and reader minimal comments v20260527 */
body.wuxia-dossier-page .comment-card-area,
body.readpage .comment-card-area {
    overflow: hidden;
    margin-top: 20px;
    border: 0;
    border-radius: 0;
    background: #1a1a1a;
    box-shadow: none;
}

body.wuxia-dossier-page .comment-card-area .archive-panel-body,
body.readpage .comment-card-area .archive-panel-body {
    padding: 0 14px 22px;
    background: transparent;
}

body.wuxia-dossier-page .comment-card-head,
body.readpage .comment-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 14px 10px;
    border: 0;
    background: transparent;
}

body.wuxia-dossier-page .comment-card-head h2,
body.wuxia-dossier-page .comment-card-head h3,
body.readpage .comment-card-head h2,
body.readpage .comment-card-head h3 {
    margin: 0;
    color: #c9d1dc;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
}

body.wuxia-dossier-page .comment-card-head p,
body.readpage .comment-card-head p,
body.wuxia-dossier-page .comment-sort-tabs,
body.readpage .comment-sort-tabs {
    display: none;
}

body.wuxia-dossier-page .comment-post-button,
body.readpage .comment-post-button {
    display: inline-flex;
    width: auto;
    min-width: 94px;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(180deg, #3ba0e0 0%, #2587c9 100%);
    color: #fff !important;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}

body.wuxia-dossier-page .comment-post-button:hover,
body.readpage .comment-post-button:hover {
    background: linear-gradient(180deg, #50afea 0%, #2b94d7 100%);
    color: #fff !important;
}

body.wuxia-dossier-page .comment-rule-box,
body.readpage .comment-rule-box {
    display: block;
    margin: 0 14px 10px;
    padding: 13px 12px 14px;
    border: 1px solid #2b2b2b;
    border-radius: 2px;
    background: #111;
    color: #d6dbe3;
    font-size: 16px;
    line-height: 1.35;
}

body.wuxia-dossier-page .comment-rules-trigger,
body.readpage .comment-rules-trigger {
    display: block;
    width: 100%;
    margin: 0 0 2px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #17a8ff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

body.wuxia-dossier-page .comment-rules-trigger:hover,
body.readpage .comment-rules-trigger:hover {
    color: #55c0ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.wuxia-dossier-page .comment-rule-box span,
body.readpage .comment-rule-box span {
    display: block;
    color: #d6dbe3;
    font-size: 16px;
    line-height: 1.35;
}

body.wuxia-dossier-page .comment-empty,
body.readpage .comment-empty {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.wuxia-dossier-page .comment-empty .tips,
body.readpage .comment-empty .tips,
body.wuxia-dossier-page .comment-compose .tips,
body.readpage .comment-compose .tips {
    padding: 14px 12px;
    border: 1px solid #2b2b2b;
    border-radius: 5px;
    background: #111;
    color: #dce2ea;
    font-size: 16px;
    line-height: 1.4;
}

body.wuxia-dossier-page .comment-card-list,
body.readpage .comment-card-list {
    display: grid;
    gap: 10px;
    padding: 0 0 14px;
}

body.wuxia-dossier-page .comment-card-list .comment-card,
body.readpage .comment-card-list .comment-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 13px 12px;
    border: 1px solid #2b2b2b;
    border-radius: 5px;
    background: #111;
    box-shadow: none;
}

body.wuxia-dossier-page .comment-card-avatar img,
body.readpage .comment-card-avatar img {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #242424;
}

body.wuxia-dossier-page .comment-card-main,
body.readpage .comment-card-main {
    min-width: 0;
}

body.wuxia-dossier-page .comment-card-meta,
body.readpage .comment-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 7px;
    color: #8d95a1;
    font-size: 13px;
    line-height: 1.35;
}

body.wuxia-dossier-page .comment-card-user,
body.readpage .comment-card-user {
    color: #e4e8ef;
    font-size: 15px;
    font-weight: 900;
}

body.wuxia-dossier-page .comment-card-role,
body.readpage .comment-card-role {
    display: none;
}

body.wuxia-dossier-page .comment-card-time,
body.readpage .comment-card-time {
    margin-left: auto;
    color: #8d95a1;
    font-size: 13px;
}

body.wuxia-dossier-page .comment-card-content,
body.readpage .comment-card-content {
    color: #dce2ea;
    font-size: 16px;
    line-height: 1.55;
}

body.wuxia-dossier-page .comment-card-actions,
body.readpage .comment-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    margin-top: 10px;
    color: #8d95a1;
    font-size: 13px;
}

body.wuxia-dossier-page .comment-card-actions a,
body.wuxia-dossier-page .comment-card-actions button,
body.readpage .comment-card-actions a,
body.readpage .comment-card-actions button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8d95a1;
    font-size: 13px;
    font-weight: 800;
    line-height: 24px;
    cursor: pointer;
}

body.wuxia-dossier-page .comment-card-actions a:hover,
body.wuxia-dossier-page .comment-card-actions button:hover,
body.readpage .comment-card-actions a:hover,
body.readpage .comment-card-actions button:hover {
    color: #36a8ed;
}

body.wuxia-dossier-page .comment-card-actions .up,
body.readpage .comment-card-actions .up {
    margin-left: auto;
}

body.wuxia-dossier-page .comment-compose,
body.readpage .comment-compose {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

body.wuxia-dossier-page .comment-compose form,
body.readpage .comment-compose form {
    display: grid;
    gap: 10px;
    padding: 13px 12px;
    border: 1px solid #2b2b2b;
    border-radius: 5px;
    background: #111;
}

body.wuxia-dossier-page .comment-compose textarea.text,
body.readpage .comment-compose textarea.text {
    min-height: 112px;
    border: 1px solid #2b2b2b;
    border-radius: 4px;
    background: #171717;
    color: #dce2ea;
    font-size: 15px;
    line-height: 1.5;
}

body.wuxia-dossier-page .comment-compose .btn,
body.wuxia-dossier-page .comment-compose .btn-success,
body.readpage .comment-compose .btn,
body.readpage .comment-compose .btn-success {
    justify-self: start;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    background: linear-gradient(180deg, #3ba0e0 0%, #2587c9 100%);
    color: #fff !important;
    font-size: 15px;
    font-weight: 900;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-card-area,
html.wuxia-light-theme body.readpage .comment-card-area {
    background: #fff;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-card-head h2,
html.wuxia-light-theme body.wuxia-dossier-page .comment-card-head h3,
html.wuxia-light-theme body.readpage .comment-card-head h2,
html.wuxia-light-theme body.readpage .comment-card-head h3 {
    color: #20242a;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-rule-box,
html.wuxia-light-theme body.readpage .comment-rule-box,
html.wuxia-light-theme body.wuxia-dossier-page .comment-empty .tips,
html.wuxia-light-theme body.readpage .comment-empty .tips,
html.wuxia-light-theme body.wuxia-dossier-page .comment-compose .tips,
html.wuxia-light-theme body.readpage .comment-compose .tips,
html.wuxia-light-theme body.wuxia-dossier-page .comment-card-list .comment-card,
html.wuxia-light-theme body.readpage .comment-card-list .comment-card,
html.wuxia-light-theme body.wuxia-dossier-page .comment-compose form,
html.wuxia-light-theme body.readpage .comment-compose form {
    border-color: #dfe4ec;
    background: #fff;
    color: #303844;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-rule-box span,
html.wuxia-light-theme body.readpage .comment-rule-box span,
html.wuxia-light-theme body.wuxia-dossier-page .comment-card-content,
html.wuxia-light-theme body.readpage .comment-card-content {
    color: #303844;
}

html.wuxia-light-theme body.wuxia-dossier-page .comment-compose textarea.text,
html.wuxia-light-theme body.readpage .comment-compose textarea.text {
    border-color: #d8dee8;
    background: #fff;
    color: #20242a;
}

@media (max-width: 640px) {
    body.wuxia-dossier-page .comment-card-head,
    body.readpage .comment-card-head {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 22px 12px 10px;
    }

    body.wuxia-dossier-page .comment-card-head h2,
    body.wuxia-dossier-page .comment-card-head h3,
    body.readpage .comment-card-head h2,
    body.readpage .comment-card-head h3 {
        font-size: 26px;
    }

    body.wuxia-dossier-page .comment-post-button,
    body.readpage .comment-post-button {
        width: 100%;
        min-height: 48px;
    }

    body.wuxia-dossier-page .comment-rule-box,
    body.readpage .comment-rule-box {
        margin-right: 12px;
        margin-left: 12px;
    }

    body.wuxia-dossier-page .comment-card-area .archive-panel-body,
    body.readpage .comment-card-area .archive-panel-body {
        padding-right: 12px;
        padding-left: 12px;
    }

    body.wuxia-dossier-page .comment-rule-box,
    body.wuxia-dossier-page .comment-rule-box span,
    body.wuxia-dossier-page .comment-rules-trigger,
    body.readpage .comment-rule-box,
    body.readpage .comment-rule-box span,
    body.readpage .comment-rules-trigger {
        font-size: 15px;
    }

    body.wuxia-dossier-page .comment-card-list .comment-card,
    body.readpage .comment-card-list .comment-card {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
    }

    body.wuxia-dossier-page .comment-card-avatar img,
    body.readpage .comment-card-avatar img {
        width: 38px;
        height: 38px;
    }

    body.wuxia-dossier-page .comment-card-meta,
    body.readpage .comment-card-meta {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    body.wuxia-dossier-page .comment-card-time,
    body.readpage .comment-card-time {
        width: 100%;
        margin-left: 0;
    }

    body.wuxia-dossier-page .comment-card-actions .up,
    body.readpage .comment-card-actions .up {
        margin-left: 0;
    }
}

/* Info page final cover size 310x450 v20260527 */
@media (min-width: 961px) {
    body.wuxia-dossier-page {
        --wuxia-info-cover-width: 310px;
    }

    body.wuxia-dossier-page .wuxia-dossier {
        grid-template-columns: 310px minmax(0, 1fr);
    }

    body.wuxia-dossier-page .wuxia-dossier-cover img {
        width: 310px;
        max-width: 310px;
        height: 450px;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center top;
    }
}

/* Mobile header action final EOF override v20260602d */
@media (max-width: 960px) {
    body .wuxia-topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 8px;
    }

    body .wuxia-brand {
        min-width: 0;
    }

    body .wuxia-brand-link,
    body .nf-brand-name,
    body .nf-brand-name strong {
        max-width: 100%;
    }

    body .nf-brand-name strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        max-width: 156px;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .login-action,
    body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action {
        flex: 0 1 auto;
        max-width: 76px;
        min-width: 58px;
        overflow: hidden;
        padding: 0 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .mobile-search-icon,
    body .wuxia-mobile-actions .mobile-menu-icon {
        position: relative;
        flex: 0 0 36px;
        width: 36px;
        min-width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 6px;
        font-size: 0;
        line-height: 36px;
    }

    body .wuxia-mobile-actions .mobile-search-icon span,
    body .wuxia-mobile-actions .mobile-menu-icon span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    body .wuxia-mobile-actions .mobile-search-icon:before {
        content: "";
        position: absolute;
        left: 11px;
        top: 10px;
        width: 13px;
        height: 13px;
        border: 2px solid currentColor;
        border-radius: 50%;
        box-sizing: border-box;
    }

    body .wuxia-mobile-actions .mobile-search-icon:after {
        content: "";
        position: absolute;
        left: 23px;
        top: 23px;
        width: 8px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transform: rotate(45deg);
        transform-origin: left center;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:before,
    body .wuxia-mobile-actions .mobile-menu-icon:after {
        content: "";
        position: absolute;
        left: 10px;
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        box-shadow: 0 6px 0 currentColor;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:before {
        top: 11px;
    }

    body .wuxia-mobile-actions .mobile-menu-icon:after {
        top: 23px;
        box-shadow: none;
    }
}

@media (max-width: 420px) {
    body .wuxia-topbar {
        column-gap: 6px;
        padding-right: 8px;
        padding-left: 8px;
    }

    body .nf-brand-name strong {
        font-size: 19px;
    }

    body .wuxia-mobile-actions {
        gap: 4px;
        max-width: 142px;
    }

    body .wuxia-mobile-actions .login-action,
    body .wuxia-account-menu-mobile .wuxia-account-trigger.wuxia-action {
        max-width: 66px;
        min-width: 52px;
        padding: 0 6px;
        font-size: 11px;
    }

    body .wuxia-mobile-actions .mobile-search-icon,
    body .wuxia-mobile-actions .mobile-menu-icon {
        flex-basis: 34px;
        width: 34px;
        min-width: 34px;
        height: 34px;
        line-height: 34px;
    }
}
