.auth-modal-layer{position:fixed;inset:0;z-index:260;display:grid;place-items:center;padding:18px}.auth-modal-layer[hidden]{display:none}.auth-modal-layer,.auth-modal-layer *{box-sizing:border-box}.auth-modal-layer .auth-modal-backdrop{position:absolute;inset:0;background:#1a18268f;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.auth-modal-layer .auth-modal{position:relative;z-index:1;width:min(100%,420px);max-height:min(700px,calc(100dvh - 32px));overflow:auto;padding:29px 22px 20px;border:1px solid #e8e4f5;border-radius:14px;color:var(--profile-ink, #282b31);background:var(--profile-surface, #fff);box-shadow:0 28px 68px #1d19343d}.auth-modal-layer .auth-modal-close{position:absolute;top:10px;right:10px;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;color:#969ba5;background:transparent;font-size:23px;line-height:1}.auth-modal-layer .auth-modal-close:hover{color:var(--profile-ink, #282b31);background:#f1f2f5}.auth-modal-layer .auth-kicker{margin:0;color:var(--profile-primary, #7356dc);font-size:8px;font-weight:850;letter-spacing:.13em;line-height:1.2}.auth-modal-layer .auth-modal h2{margin:8px 0 20px;color:var(--profile-ink-strong, #17191e);font-family:Georgia,Times New Roman,serif;font-size:27px;line-height:1.08}.auth-modal-layer .auth-status{min-height:18px;margin:12px 0 0;color:var(--profile-primary-deep, #5740b8);font-size:12px;line-height:1.5;text-align:center}.auth-modal-layer .auth-status.error{color:#b35454}.auth-modal-layer .auth-status.success{color:var(--profile-green, #14885a)}.auth-modal-layer .auth-google{width:100%;min-height:43px;display:flex;align-items:center;justify-content:center;gap:9px;margin:2px 0 0;border:1px solid #e1e3e9;border-radius:8px;color:#282b31;background:#fff;font-size:12px;font-weight:750}.auth-modal-layer .auth-google:hover:not(:disabled){border-color:#bfb2f3;background:#faf9ff}.auth-modal-layer .auth-google:disabled{cursor:wait;opacity:.68}.auth-modal-layer .auth-google-icon{width:18px;height:18px;flex:0 0 auto}.auth-modal-layer .auth-google-icon path{stroke:none}.auth-modal-layer .auth-divider{display:flex;align-items:center;gap:10px;margin:14px 0;color:#a5aab3;font-size:9px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.auth-modal-layer .auth-divider:before,.auth-modal-layer .auth-divider:after{content:"";flex:1;height:1px;background:#ece8f2}.auth-modal-layer .auth-guest{width:100%;min-height:43px;display:flex;align-items:center;justify-content:center;border:1px solid #d9d1f6;border-radius:8px;color:var(--profile-primary-deep, #5740b8);background:#faf9ff;font-size:12px;font-weight:750}.auth-modal-layer .auth-guest:hover:not(:disabled){background:var(--profile-primary-soft, #f0edff)}.auth-modal-layer .auth-guest:disabled{cursor:wait;opacity:.68}.auth-modal-layer .auth-legal{margin:16px 0 0;color:var(--profile-muted-light, #a5aab3);font-size:9px;line-height:1.5;text-align:center}.auth-modal-layer .auth-legal a{color:var(--profile-primary-deep, #5740b8);font-weight:750}@media(max-width:430px){.auth-modal-layer{padding:12px}.auth-modal-layer .auth-modal{padding-inline:17px}}.auth-modal-layer .auth-modal button{cursor:pointer;font:inherit}.auth-modal-layer .auth-modal button:focus-visible{outline:2px solid #7356dc;outline-offset:3px}.auth-modal-layer [hidden]{display:none!important}@media(prefers-reduced-motion:reduce){.auth-modal-layer .auth-modal{animation:none}}.toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));z-index:200;max-width:min(86vw,420px);padding:10px 16px;border-radius:999px;color:#fff;background:#191b20eb;font-size:12px;font-weight:600;line-height:1.35;text-align:center;opacity:0;pointer-events:none;transform:translate(-50%,10px);transition:opacity .2s ease,transform .2s ease}.toast.show{opacity:1;transform:translate(-50%)}.pwa-install-control{position:fixed;right:max(16px,calc((100vw - 750px)/2 + 16px));bottom:calc(82px + env(safe-area-inset-bottom));z-index:180;min-height:38px;display:inline-flex;align-items:center;gap:7px;padding:0 13px;border:1px solid rgba(255,255,255,.35);border-radius:999px;color:#fff;background:#7356dc;box-shadow:0 10px 24px #4c36aa42;font-size:11px;font-weight:800;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}.pwa-install-control svg{width:15px;height:15px}.pwa-install-control:hover{background:#5540b5;transform:translateY(-2px);box-shadow:0 13px 28px #4c36aa4f}.pwa-install-control:active{transform:translateY(0)}body.reader-open .pwa-install-control,body.modal-open .pwa-install-control{display:none!important}@media(min-width:761px){.pwa-install-control{bottom:24px}}@media(prefers-reduced-motion:reduce){.pwa-install-control{transition:none}}:root{--bg: #f6f7f9;--surface: #fff;--ink: #32353a;--ink-strong: #191b20;--muted: #858a96;--muted-dark: #636974;--line: #eceef2;--primary: #9875fb;--primary-deep: #7652e6;--primary-soft: #f1edff;--coral: #ee8172;--gold: #e3a933;--shadow: 0 4px 16px rgba(52, 56, 70, .08)}*{box-sizing:border-box}html{min-width:320px;background:#fff;-webkit-text-size-adjust:100%;overflow-y:scroll}body{min-width:320px;margin:0;color:var(--ink);background:#fff;font-family:-apple-system,BlinkMacSystemFont,SF UI Text,Helvetica Neue,PingFang SC,Microsoft YaHei,Arial,sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body.modal-open{overflow:hidden}button,input{font:inherit}button{border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--primary);outline-offset:2px}a{color:inherit;text-decoration:none}svg{display:block;width:1em;height:1em;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}#app .app-header-back{width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;color:var(--header-icon, #565b66);background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent}#app .app-header-back svg{width:20px;height:20px;stroke-width:2}#app .app-header-back:active{background:#f1f2f5}#app .app-header-profile{display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:30px;padding:0 12px;border-radius:999px;color:var(--pill-ink, #6a4fd8);background:var(--pill-bg, #f1eaff);font-size:12px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap}#app .app-header-profile:active{background:var(--pill-active, #e6dbff)}#app .rank-page .rank-header,#app .search-page .search-header,#app .subpage .subpage-header{min-height:64px;padding:max(8px,env(safe-area-inset-top)) 15px 8px;grid-template-columns:42px minmax(0,1fr) auto;gap:9px;align-items:center}#app .legal-page .legal-header,#app .pay-plans-header,#app .book-detail-page .detail-header,#app .drama-page .drama-header{min-height:64px;padding:max(8px,env(safe-area-inset-top)) 15px 8px;grid-template-columns:42px minmax(0,1fr) 42px;gap:9px;align-items:center}#app .app-header-spacer{width:42px;height:36px}:root[data-theme=dark]{--bg: #121318;--surface: #1c1d24;--surface-2: #23252d;--ink: #e7e8ee;--ink-strong: #f4f5f8;--muted: #9aa0ad;--muted-dark: #b6bbc6;--line: #2c2e37;--primary: #a98cff;--primary-deep: #c3aeff;--primary-soft: #2a2440;--shadow: 0 4px 18px rgba(0, 0, 0, .45);--nav-bg: rgba(24, 25, 31, .96);--nav-line: #2b2d36;--nav-active: #b6a0ff;--nav-item: #8f96a3;--header-icon: #c3c8d2;--pill-bg: #2a2540;--pill-ink: #c3aeff;--pill-active: #352e52}html[data-theme=dark],html[data-theme=dark] body,html[data-theme=dark] #app{background:var(--bg);color:var(--ink)}html[data-theme=dark] #app :is(.home-app,.library-page,.drama-page,.rewards-page,.profile-app,.catalog-page,.category-page,.category-result-page,.rank-page,.search-page,.subpage,.legal-page,.pay-plans-page,.checkout-page,.book-detail-page,.campaign-page,.pay-app){--bg: #121318;--surface: #1c1d24;--surface-2: #23252d;--ink: #e7e8ee;--ink-strong: #f4f5f8;--muted: #9aa0ad;--muted-dark: #b6bbc6;--line: #2c2e37;background:#121318;color:#e7e8ee}html[data-theme=dark] #app :is(.library-header,.catalog-header,.category-header,.rank-header,.search-header,.subpage-header,.legal-header,.pay-plans-header,.detail-header,.drama-header,.home-header.solid){background:var(--nav-bg);border-color:var(--line);color:var(--ink)}html[data-theme=dark] #app :is(.content-card,.subpage-section,.subpage-row,.subpage-chip,.subpage-button-ghost,.subpage-check,.subpage-row-icon,.library-section,.library-story,.library-empty,.home-feed-card,.home-feed-skeleton,.home-category-card,.home-classify-sort,.home-classify-filter,.home-notice,.home-rank-tab,.home-inline-error,.catalog-search,.catalog-empty,.category-hero,.category-tile,.category-chip,.category-filter-chip,.category-filter-toggle,.category-ghost-button,.rank-tab,.rank-state,.rank-skeleton,.search-field,.search-history-row,.pay-plan-card,.pay-vip-card,.pay-plans-retry,.checkout-card,.checkout-provider,.reward-card,.checkin-card,.daily-free,.daily-countdown,.daily-free-badge,.profile-wallet-card,.profile-menu-card,.profile-editor,.profile-avatar,.drama-card,.episode-cell,.drama-chip,.drama-ghost-button,.drama-list-search,.drama-list-state,.detail-chip,.detail-state,.detail-loading-card,.pay-card,.pay-package,.coin-offer,.wallet-modal,.wallet-action-bar,.auth-google,.player-episode,.player-lock,.player-empty,.legal-shell,.detail-actions,.detail-action,.detail-card,.rank-podium-card,.rank-rows,.rank-row,.library-history-row,.search-results,.search-result-card,.category-filter-bar,.checkout-header,.home-block-daily,.reward-day-box,.task-action,.home-editorial-card,.rank-chip,.rewards-cover){background:#1c1d24;border-color:#2c2e37;color:#e7e8ee}html[data-theme=dark] #app :is(input,textarea,select){color:var(--ink);background:var(--surface-2);border-color:var(--line)}html[data-theme=dark] #app ::placeholder{color:#7f8794}html[data-theme=dark] #app :is(.subpage-row small,.subpage-heading span,.home-feed-copy small,.home-editor-meta,.library-heading p,.profile-menu-row small,.drama-copy small,.rank-meta,.detail-meta,.pay-plans-note,.checkout-note,.legal-main,.daily-copy small){color:var(--muted)}html[data-theme=dark] #app .profile-app .profile-hero{background:linear-gradient(135deg,#5c43b8,#8a68ef)}html[data-theme=dark] #app :is(.auth-modal,.wallet-modal,.profile-editor){box-shadow:0 24px 60px #0009}html[data-theme=dark] #app :is(.campaign-dialog,.reader-settings,.reader-catalogue){background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark] #app :is(h1,h2,h3){color:var(--ink-strong)}html[data-theme=dark] #app :is(.pay-plans-tab.active,.home-rank-tab.active,.rank-tab.active,.category-chip.active,.category-filter-chip.active,.drama-chip.active){color:#c3aeff;background:#2a2440;border-color:transparent}html[data-theme=dark] #app :is(.task-copy,.task-copy strong,.reward-day>span,.rank-copy,.rank-copy strong,.home-editor-copy,.library-empty strong,.drama-empty strong,.search-empty strong){color:var(--ink)}html[data-theme=dark] #app .reward-day>span{color:var(--muted-dark)}html[data-theme=dark] #app .coin-promo{background:linear-gradient(100deg,#2a2341,#3a2b5c);color:var(--ink)}html[data-theme=dark] #app .coin-promo :is(strong,span,small){color:var(--ink)}html[data-theme=dark] #app :is(.home-rank-tab,.rank-header-badge,.catalog-list,.daily-more,.legal-callout,.paying-card,.chapter-buy-option,.chapter-buy-recharge,.detail-star,.library-heading>span){background:#1c1d24;border-color:#2c2e37;color:#e7e8ee}html[data-theme=dark] #app :is(.cover-shell,.detail-cover,.rank-cover,.rank-row-cover,.catalog-cover){background:#23252d}html[data-theme=dark] #app :is(.messages-art,.catalog-open,.subpage-empty-icon){background:#23252d;border:1px solid #2c2e37;color:var(--muted-dark)}html[data-theme=dark] #app :is(.subpage-empty strong,.subpage-empty h2,.messages-art+strong){color:var(--ink)}html[data-theme=dark] #app .modal-card{background:#1c1d24;border-color:#2c2e37;color:var(--ink)}html[data-theme=dark] #app .modal-card :is(h1,h2,h3,strong){color:var(--ink-strong)}html[data-theme=dark] #app .modal-card :is(#catalogueBookTitle,.campaign-kicker){color:var(--muted-dark)}html[data-theme=dark] #app .campaign-chapters button{color:#c9cbd5;border-color:#2c2e37}html[data-theme=dark] #app .campaign-chapters button[aria-current]{color:var(--primary-deep);background:#2a2440}html[data-theme=dark] #app .campaign-chapters button[aria-current] strong{color:var(--primary-deep)}html[data-theme=dark] #app :is(.home-feed-copy em,.home-feed-tag){color:#c6cad4;background:#2c2e37}html[data-theme=dark] #app .profile-app :is(.wallet-balance,.wallet-balance strong,.wallet-balance span){color:var(--ink)}html[data-theme=dark] #app .profile-app :is(.profile-menu-row,.library-story,.subpage-row){border-color:var(--line)}html[data-theme=dark] #app .profile-app .profile-membership{background:#24202f;color:var(--ink)}html[data-theme=dark] #app .profile-app .profile-membership :is(span,small){color:var(--ink)}html[data-theme=dark] #app .profile-app .profile-membership small{color:var(--primary-deep)}html[data-theme=dark] #app .profile-app .profile-membership b{color:#fff;background:#6a4fd8}html[data-theme=dark] #app :is(.checkin-button,.checkin-button.is-checked){color:var(--primary-deep);background:#2a2440;border-color:transparent}html[data-theme=dark] #app .checkin-button:not(.is-checked){color:#fff;background:#7c5ce0}html[data-theme=dark] #app .library-copy strong{color:var(--ink)}html[data-theme=dark] #app .library-copy small{color:var(--muted)}html[data-theme=dark] #app .library-action{color:var(--primary-deep);background:#2a2440}html[data-theme=dark] #app :is(input,textarea)::placeholder{color:#8b93a1}html[data-theme=dark] #app :is(.wallet-strip,.wallet-total,#rewardsBalance,.wallet-balance strong){color:var(--ink)}html[data-theme=dark] #app :is(.reward-day-box span,.reward-day>span){color:#dfe1e8}html[data-theme=dark] #app :is(.detail-header-title,.rank-header-title,.drama-heading h1){color:var(--ink-strong)}html[data-theme=dark] #app :is(.detail-related-title,.detail-related small,.detail-description,.detail-description *){color:var(--ink)}html[data-theme=dark] #app :is(.rank-row-copy,.rank-copy,.rank-row-copy strong,.rank-copy strong){color:var(--ink)}html[data-theme=dark] #app .detail-related small{color:var(--muted)}html[data-theme=dark] #app .legal-page :is(.legal-main,.legal-intro,.legal-section,.legal-section h2,.legal-section p,.legal-section li,.legal-meta){color:#b9bec9}html[data-theme=dark] #app .legal-page :is(.legal-section h2,.legal-main strong){color:var(--ink-strong)}html[data-theme=dark] #app .subpage :is(ol,ul) li{color:var(--ink)}html[data-theme=dark] #app .category-filter-panel{background:#1c1d24;border-color:#2c2e37;box-shadow:0 6px 20px #00000059}html[data-theme=dark] #app .category-filter-label{color:var(--muted)}html[data-theme=dark] #app .category-ghost-button:hover{border-color:#4a3f78;color:var(--primary-deep);background:#23252d}html[data-theme=dark] #app .home-header.solid{background:#18191f;box-shadow:none}html[data-theme=dark] #app .home-header.solid :is(.search-box,.search-category){background:#23252d;border-color:transparent}html[data-theme=dark] #app .home-header.solid .search-box:focus-within{background:#262833;border-color:#4a3f78}html[data-theme=dark] #app .home-header.solid .search-box input{color:var(--ink)}html[data-theme=dark] #app .home-header.solid .search-box input::placeholder{color:#8b93a1}html[data-theme=dark] #app .home-header.solid :is(.search-box>svg,.search-submit,.search-clear){color:#8b93a1}html[data-theme=dark] #app .home-header.covered :is(.search-box,.search-category){background:#ffffff14}html[data-theme=dark] #app .history-edit-bar{background:#1c1d24;border-color:#2c2e37;box-shadow:0 10px 26px #00000080}html[data-theme=dark] #app .history-edit-all{color:var(--primary-deep);background:#2a2440}html[data-theme=dark] #app .history-edit-delete{background:#b3403a;color:#fff}html[data-theme=dark] #app .history-edit-delete:disabled{background:#4a2422;color:#b3908e}html[data-theme=dark] #app .profile-editor-close{color:#c9cbd5;background:#2c2e37}html[data-theme=dark] #app :is(.home-classify-mode,.home-no-hero) .home-header :is(.search-box,.search-category){background:#23252d;border-color:transparent}html[data-theme=dark] #app :is(.home-classify-mode,.home-no-hero) .home-header .search-box:focus-within{background:#262833;border-color:#4a3f78}html[data-theme=dark] #app :is(.home-classify-mode,.home-no-hero) .home-header .search-box input{color:var(--ink)}html[data-theme=dark] #app :is(.home-classify-mode,.home-no-hero) .home-header .search-box input::placeholder{color:#8b93a1}html[data-theme=dark] #app :is(.home-classify-mode,.home-no-hero) .home-header :is(.search-box>svg,.search-submit,.search-clear){color:#8b93a1}html[data-theme=dark] #app :is(.home-classify-mode,.home-no-hero) .home-header{box-shadow:0 1px #2c2e37}html[data-theme=dark] #app .home-app:not(.home-classify-mode) .home-header{background:transparent;color:#fff;box-shadow:none}html[data-theme=dark] #app .home-app:not(.home-classify-mode) .home-header.covered{background:#0c0f148c;box-shadow:0 1px #ffffff14}html[data-theme=dark] #app .home-app:not(.home-classify-mode) .home-header.solid{background:#18191feb}html[data-theme=dark] #app .home-classify-mode .home-header{background:#18191fdb;-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);box-shadow:0 1px #2c2e37}html[data-theme=dark] #app .home-header .search-box input{background:transparent;border:0}html[data-theme=dark] #app .home-app:not(.home-classify-mode) .home-header .search-box input{color:#fff}html[data-theme=dark] #app .home-app:not(.home-classify-mode) .home-header .search-box input::placeholder{color:#ffffffd1}html[data-theme=dark] #app :is(.search-box,.search-field,.catalog-search,.drama-list-search,.home-classify-search,.category-search) input{background:transparent;border:0}html[data-theme=dark] #app :is(.app-header-back,.subpage-back,.legal-back):is(:hover,:active,:focus-visible){background:#2c2e37;color:#e7e8ee}html[data-theme=dark] #app :is(.app-header-back,.subpage-back,.legal-back):focus-visible{outline-color:#a98cff}html[data-theme=dark] #app .task-action{color:#c3aeff;background:#2a2440}html[data-theme=dark] #app .task-action:hover{color:#fff;background:#7c5ce0}html[data-theme=dark] #app .task-action.is-done,html[data-theme=dark] #app .task-action:disabled{color:#8b93a1;background:#2c2e37}html[data-theme=dark] #app .home-block.content-card,html[data-theme=dark] #app .search-history-remove:hover{background:#1c1d24;border-color:#2c2e37;color:#e7e8ee}html[data-theme=dark] #app :is(.home-waterfall-state,.home-editor-tags,.detail-tag-list) :is(button,span){background:#1c1d24;border-color:#2c2e37;color:#e7e8ee}html[data-theme=dark] #app .daily-more[disabled]{background:#1c1d24;border-color:#2c2e37;color:#8b93a1}html[data-theme=dark] #app .checkout-total{border-top-color:#2c2e37}html[data-theme=dark] #app .checkout-hosted-link{color:#c3aeff;background:transparent}html[data-theme=dark] #app .checkout-hosted-link:hover{color:#d9cbff}html[data-theme=dark] #app .pay-vip-status,html[data-theme=dark] #app .pay-plan-badge.activity{color:#c3aeff;background:#2a2440}
