:root{--accent:#ff704f;--accent-strong:#ec5133;--ink:#101827;--muted:#8590a3;--soft:#f3f4f8;--line:#edf0f5;--paper:#fff;--radius:18px;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:#f3f5f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit;border:0;background:none}button:disabled{opacity:.4;cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5c91ef;outline-offset:3px}img{display:block;width:100%;object-fit:cover}h1,h2,h3,p{margin:0}h1{font-size:24px}h2{font-size:21px}h3{font-size:17px}p{line-height:1.7}small,.muted{color:var(--muted)}.app{max-width:640px;min-height:100dvh;margin:auto;background:linear-gradient(#fff,#fcfcfd);padding-bottom:92px;box-shadow:0 0 70px #283e6310;--page-shell-width:640px}.topbar{height:64px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#ffffffef;position:relative;z-index:3}.topbar h1{font-size:19px}.brand{font-size:25px!important;font-weight:800;letter-spacing:1px}.actions,.row{display:flex;align-items:center;gap:12px}.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-btn{width:42px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px}.pad{padding:0 18px}.section{margin:24px 0}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:8px}.more{color:var(--muted);font-size:13px;display:flex;align-items:center}.more .icon{width:15px}.searchbox{background:var(--soft);display:flex;gap:10px;align-items:center;border-radius:24px;padding:11px 16px;color:var(--muted)}.searchbox input{min-width:0;flex:1;border:0;background:none;outline:none;color:var(--ink);width:100%}.hero{position:relative;margin:14px 0 0;border-radius:18px;overflow:hidden;aspect-ratio:2.15;background:#84b8e5}.hero img{height:100%;object-position:center}.hero:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#18466d85);pointer-events:none}.hero-copy{position:absolute;right:16px;bottom:32px;color:white;text-align:right;z-index:1;max-width:65%;text-shadow:0 2px 8px #113959}.hero-copy h2{font-size:clamp(23px,5vw,38px);font-family:serif;font-style:italic;margin-bottom:5px}.hero-copy p{font-size:12px}.dots{position:absolute;bottom:9px;left:0;right:0;display:flex;justify-content:center;z-index:2;gap:5px}.dots button{padding:0;width:7px;height:7px;border-radius:50%;background:#ffffff80}.dots button.active{background:white;width:17px;border-radius:8px}.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);padding:18px 0 0;text-align:center;gap:6px}.shortcuts a{font-size:13px}.bubble{display:flex;align-items:center;justify-content:center;width:62px;height:43px;border-radius:50%;background:#fff2ee;color:var(--accent);margin:0 auto 7px}.bubble .icon{width:27px;height:27px;stroke-width:2.8}.shortcuts a:nth-child(3) .bubble{color:#537aff;background:#f0f3ff}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.cover{aspect-ratio:.8;border-radius:10px;background:#e9edf3;transition:transform .2s}.book:hover .cover{transform:translateY(-3px)}.book h3{font-size:14px;margin:7px 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book small{font-size:11px;display:block}.four .book h3{font-size:12px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:640px;display:grid;grid-template-columns:repeat(5,1fr);background:#fffffff5;border-top:1px solid var(--line);padding:10px 0 calc(9px + env(safe-area-inset-bottom));z-index:20;backdrop-filter:blur(16px)}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;color:#6d7687;font-size:11px;min-height:41px}.bottom-nav a.active{color:var(--accent-strong)}.bottom-nav a.active .icon{stroke-width:2.7}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:45px;border-radius:12px;padding:11px 17px;background:var(--soft);font-weight:500}.btn.primary{color:white;background:linear-gradient(115deg,#ff794e,#ff6f58);box-shadow:0 5px 12px #ff704f16}.btn.outline{border:1px solid #ffb7a6;background:#fff9f7;color:var(--accent-strong)}.wide{width:100%}.text-accent{color:var(--accent-strong)}.detail{display:grid;grid-template-columns:40% 1fr;gap:18px;padding:12px 0 18px}.detail .cover{aspect-ratio:.76}.detail h2{font-size:25px;margin:8px 0}.detail p{font-size:13px;margin:10px 0}.tags{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0}.tag{font-size:11px;background:var(--soft);color:#687285;padding:4px 8px;border-radius:12px;white-space:nowrap}.tag.coral{color:var(--accent-strong);background:#fff0eb}.split{display:grid;grid-template-columns:1fr 1fr;gap:10px}.panel{background:white;border-radius:var(--radius);padding:16px;box-shadow:0 5px 25px #25385805;border:1px solid #f6f7fa}.chapter-list{display:grid;gap:6px;max-height:340px;overflow:auto;scrollbar-width:thin}.chapter{display:flex;align-items:center;gap:12px;padding:12px 10px;border:1px solid var(--line);border-radius:10px;font-size:13px}.chapter:hover{background:#fff6f2}.chapter small{margin-left:auto;font-size:10px}.chapter .icon{width:14px;height:14px;color:var(--muted)}.list{display:grid;gap:13px}.result{display:flex;gap:14px;position:relative;padding:12px;border-radius:17px;background:white;box-shadow:0 4px 24px #29456f06;min-width:0}.result .thumb{width:33%;flex-shrink:0}.result .cover{height:100%;max-height:175px;aspect-ratio:.85}.result .info{flex:1;min-width:0;align-self:center}.result h3{font-size:19px;margin-bottom:5px}.result p{font-size:12px;color:#6e7789}.result small{font-size:11px}.result .tags{margin:7px 0}.result .delete{position:absolute;right:7px;top:10px;color:var(--muted)}.shelf .info{padding-right:24px}.shelf .info h3{font-size:18px}.shelf .info p{margin-top:8px}.pagination{display:flex;justify-content:center;gap:10px;align-items:center;margin:22px 0}.pagination button{min-width:38px;min-height:38px;border-radius:11px;background:white;border:1px solid var(--line);padding:8px 12px}.pagination button.active{background:var(--accent);color:white;border-color:var(--accent)}.tabs{display:flex;background:var(--soft);border-radius:15px;padding:4px;gap:4px;margin:16px 0}.tabs button{flex:1;padding:12px 5px;border-radius:12px;color:#5b6475}.tabs button.active{background:var(--accent);color:white}.rank .thumb{width:26%}.rank .number{align-self:center;color:#8c93a1;font-size:20px;font-weight:700;flex-shrink:0;width:28px;text-align:center}.rank:nth-child(1){border:1px solid #ffb29e;background:#fffaf7}.rank:nth-child(1) .number{color:#dc8f1f}.rank:nth-child(2) .number{color:#8a94ae}.rank:nth-child(3) .number{color:#c78961}.rank .btn{font-size:12px;min-height:34px;padding:7px 10px;margin-top:8px}.rank h3{font-size:17px}.rank .tags .tag{padding:3px 5px;font-size:10px}.filters{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.chip{padding:8px 13px;border-radius:20px;background:var(--soft);font-size:13px}.chip.active{background:#fff0e9;color:var(--accent-strong)}.search-form{display:flex;gap:8px;margin:10px 0 14px}.search-form .searchbox{flex:1;min-width:0;border-radius:13px}.hot{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:12px}.empty{text-align:center;padding:50px 16px;color:var(--muted)}.empty .icon{width:44px;height:44px;margin-bottom:12px}.empty h2{font-size:18px;color:var(--ink);margin-bottom:7px}.empty .btn{margin-top:20px}.auth-hero{height:250px;background:url('/statics/images/no_pic.png') center/cover}.auth-hero .topbar{background:linear-gradient(#ffffffdd,transparent)}.auth-card{position:relative;margin:-34px 12px 12px;padding:25px 20px;border-radius:25px;background:white;box-shadow:0 5px 30px #20365106}.auth-card h1{font-size:31px;margin-bottom:5px}.auth-card>p{color:var(--muted);font-size:14px;margin-bottom:22px}.field{display:block;margin:16px 0 8px;font-size:14px;font-weight:600}.input-wrap{display:flex;align-items:center;gap:12px;background:var(--soft);border-radius:12px;padding:0 13px;color:#7e8799;min-height:46px}.input-wrap input{border:0;background:transparent;outline:none;min-width:0;width:100%;padding:13px 0;color:var(--ink);font-size:14px}.input-wrap input::placeholder{color:#98a1b1}.input-wrap .icon{width:20px}.captcha-row{display:flex;gap:8px;align-items:center}.captcha-row .input-wrap{flex:1}.captcha{font:italic 25px Georgia,serif;letter-spacing:4px;background:repeating-linear-gradient(30deg,#f1f4f9,#f1f4f9 8px,#e3eef5 9px,#f8fafc 10px);padding:7px;color:#225f87;border-radius:8px;white-space:nowrap}.refresh{font-size:12px;color:var(--accent-strong);padding:0;white-space:nowrap}.auth-card .submit{margin-top:20px}.auth-switch{text-align:center;margin:22px 0;color:var(--muted);font-size:13px}.form-error{color:#c83420;font-size:13px;margin-top:10px;min-height:19px}.account-banner{height:220px;background:url('/statics/images/no_pic.png') center/cover}.profile{display:flex;gap:17px;align-items:center;margin:-30px 16px 20px;position:relative;padding:0 8px 20px;background:white;border-radius:30px 30px 12px 12px}.avatar{width:87px;height:87px;object-fit:cover;border-radius:50%;border:4px solid white;margin-top:-23px}.profile h2{margin:17px 0 5px}.profile p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.menu-list{display:grid;gap:12px}.menu-item{display:flex;align-items:center;gap:16px;text-align:left;background:white;border-radius:17px;padding:17px;border:1px solid var(--line)}.menu-item .bubble{margin:0;width:53px;height:53px;flex-shrink:0}.menu-item h3{margin-bottom:5px}.menu-item p{font-size:12px;color:var(--muted)}.menu-item>.icon{margin-left:auto;width:17px;color:var(--muted)}.logout{margin:25px 0}.invite-hero{background:linear-gradient(90deg,#ffffffef,#ffffff20),url('/statics/images/no_pic.png') center/cover;padding:35px 22px 85px}.invite-hero h1{font-size:30px;line-height:1.6}.invite-hero p{font-size:13px;margin-top:10px;color:#667389}.invite-card{margin:-40px 16px 0;position:relative}.invite-link{width:100%;resize:none;min-height:80px;border:0;background:var(--soft);border-radius:12px;padding:14px;font:13px/1.7 monospace;color:#687489;margin:18px 0 12px;overflow-wrap:anywhere}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;text-align:center;margin:28px 0}.steps span{display:block;color:var(--accent);font-size:25px;margin-bottom:10px}.steps h3{font-size:12px}.steps p{font-size:11px;color:var(--muted);margin-top:7px}.reader .topbar{position:sticky;top:0}.reader-title{text-align:center}.reader-title h1{font-size:17px}.reader-title small{font-size:12px}.reader-pages img{object-fit:contain;border-bottom:0}.reader-footer{grid-template-columns:repeat(3,1fr);padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:7px}.reader-footer .btn{font-size:13px;padding:10px 4px;background:none}.reader-note{text-align:center;padding:18px;font-size:12px;color:var(--muted)}.reader.night{background:#1b202b;color:#e8ebef}.reader.night .topbar,.reader.night .bottom-nav{background:#212733;color:#e8ebef}.reader.night img{filter:brightness(.75);border-color:#1b202b}.reader.night .reader-pages{background:#1b202b}.toast{position:fixed;bottom:105px;left:50%;transform:translateX(-50%);z-index:100;background:#182233ec;color:white;padding:12px 20px;border-radius:12px;font-size:13px;max-width:90%;text-align:center;box-shadow:0 5px 25px #0002}.toast:empty{display:none}dialog{border:0;border-radius:20px;padding:24px;max-width:calc(100% - 32px);width:440px;box-shadow:0 20px 100px #15213644;color:var(--ink)}dialog::backdrop{background:#16223980;backdrop-filter:blur(3px)}dialog h2{margin-bottom:15px}dialog p{font-size:14px;color:#788294;margin-bottom:20px}dialog .dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}dialog .chapter-list{max-height:50vh}.reader-settings{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.backtop{position:fixed;right:max(16px,calc((100vw - 640px)/2 + 16px));bottom:87px;border-radius:50%;background:white;box-shadow:0 3px 15px #1f345220;width:40px;height:40px;z-index:10}.backtop[hidden]{display:none}.footnote{font-size:11px;text-align:center;color:#a0a7b3;margin:25px 0 0}.subtitle{font-size:12px;color:var(--muted);padding-top:4px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(min-width:700px){.app{margin:20px auto;min-height:calc(100dvh - 40px);border-radius:24px;overflow:hidden}.topbar{height:72px}.pad{padding:0 26px}.grid{gap:18px}.book h3{font-size:16px}.book small{font-size:12px}.section{margin:30px 0}.hero-copy p{font-size:15px}.hero-copy h2{font-size:38px}.shortcuts{padding-top:22px}.result{padding:17px}.result .cover{max-height:210px}.result p{font-size:14px}.rank h3{font-size:21px}.auth-hero{height:290px}.auth-card{padding:30px 38px;margin-left:28px;margin-right:28px}.auth-card .input-wrap{min-height:52px}.detail p{font-size:16px}.chapter{padding:15px;font-size:15px}.chapter small{font-size:12px}}@media(max-width:360px){.pad{padding:0 12px}.result{gap:9px;padding:9px}.result h3{font-size:16px}.tags{gap:3px}.tag{font-size:10px;padding:3px 5px}.detail{gap:12px}.detail h2{font-size:21px}.detail p{font-size:12px}.auth-card{padding:22px 14px}.captcha{font-size:21px;letter-spacing:2px}.rank .number{width:23px;font-size:17px}.rank .tags .tag:last-child{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Override intrinsic HTML height while preserving stable cover aspect ratios. */
.cover{height:auto}.detail>.cover{align-self:start}.result .cover{height:100%}
.tags a.tag:hover{color:var(--accent-strong);background:#fff0eb}
.category-pagination.tag-pagination{display:block}.page-directions{display:flex;align-items:center;justify-content:space-between;gap:10px}.page-directions small{font-size:12px}.page-numbers{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:12px}
.category-tabs a{flex:1;padding:12px 5px;border-radius:12px;color:#5b6475;text-align:center}.category-tabs a.active{background:var(--accent);color:white}.category-summary{display:flex;flex-direction:column;gap:12px;margin:18px 0}.category-options{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.category-options label{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.category-options select{border:1px solid var(--line);border-radius:8px;background:white;color:#5b6475;min-height:38px;padding:6px}.category-pagination{margin-bottom:12px}.page-jump{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 24px;font-size:12px;color:var(--muted)}.page-jump input[type=number]{width:65px;min-height:38px;padding:8px;border:1px solid var(--line);border-radius:9px;text-align:center;color:var(--ink);background:white}.page-jump .btn{min-height:38px;padding:7px 12px;font-size:12px}
.page-title{font-size:19px;font-weight:700;line-height:1.3}.detail h1{font-size:25px;margin:8px 0}.tag-intro h1{font-size:27px;margin:10px 0 8px;overflow-wrap:anywhere}
.breadcrumb{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);padding:7px 0 10px}.breadcrumb a:hover{color:var(--accent-strong)}
.home-intro{font-size:12px;line-height:1.8;color:var(--muted);margin-top:20px}.section-copy{font-size:12px;color:var(--muted);margin:-3px 0 14px}.home-section{scroll-margin-top:20px}.home-ranking{list-style:none;padding:0;margin:0;border-radius:16px;overflow:hidden;background:linear-gradient(130deg,#fff4ee,#fff)}.home-ranking li+li{border-top:1px solid #f6e9e3}.home-ranking a{display:flex;align-items:center;gap:12px;padding:13px}.rank-order{font-size:21px;font-weight:800;font-style:italic;color:var(--accent)}.home-ranking .cover{width:45px;height:57px;flex-shrink:0;border-radius:7px}.home-rank-info{flex:1;min-width:0}.home-rank-info h3{font-size:15px;margin-bottom:5px}.home-rank-info small{font-size:11px}.home-ranking .icon{width:16px;color:var(--muted)}
.editor-pick{display:flex;gap:16px;padding:16px;background:#f1f4fa;border-radius:17px}.editor-cover{width:31%;flex-shrink:0;align-self:center}.editor-label{font-size:10px;letter-spacing:1px;color:#8293ac}.editor-pick h3{font-size:21px;margin:6px 0 9px}.editor-pick p{font-size:12px;color:#748098}.editor-pick .editor-reason{font-size:11px;margin:9px 0}.editor-pick .text-accent{display:inline-flex;align-items:center;font-size:12px;gap:3px}.editor-pick .icon{width:15px}
.topic-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.topic-grid a{position:relative;border-radius:12px;background:#fff6f1;padding:14px}.topic-grid a:nth-child(3n+2){background:#f1f4fd}.topic-grid a:nth-child(3n){background:#f0f7f1}.topic-grid strong{display:block;font-size:15px;margin-bottom:7px}.topic-grid small{font-size:11px}.topic-grid .icon{position:absolute;right:10px;top:28px;width:15px;color:var(--muted)}.site-footer{border-top:1px solid var(--line);padding:20px 0 10px;text-align:center;color:var(--muted);font-size:12px}.site-footer nav{display:flex;justify-content:center;gap:20px;margin-top:12px;font-size:11px}.noscript-note{padding:14px;background:#fff6ed;text-align:center;font-size:12px;color:#8a674d}
@media(max-width:360px){.detail h1{font-size:21px}.editor-pick{gap:12px;padding:12px}.editor-pick h3{font-size:18px}}
.comic-backtop{display:flex;align-items:center;justify-content:center;width:46px;height:46px;bottom:calc(88px + env(safe-area-inset-bottom));color:var(--accent-strong);border:1px solid #ffd3c7;background:#fffdfc;box-shadow:0 4px 18px #d35c3030;transition:background .2s,box-shadow .2s}.comic-backtop:hover{background:#fff0eb;box-shadow:0 6px 22px #d35c3040}.comic-backtop .icon{width:25px;height:25px;stroke-width:2.2}
.tag-intro{padding:8px 0 2px}.tag-intro h2{font-size:27px;margin:10px 0 8px;overflow-wrap:anywhere}.tag-intro>p:last-child{font-size:13px}
.tag-pagination{flex-wrap:wrap;gap:7px}.tag-pagination a,.tag-pagination .disabled{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:42px;padding:8px 11px;border:1px solid var(--line);border-radius:11px;background:white;font-size:13px}.tag-pagination a.active{background:var(--accent);border-color:var(--accent);color:white}.tag-pagination a:hover:not(.active){color:var(--accent-strong);border-color:#ffb7a6}.tag-pagination .disabled{color:var(--muted);opacity:.5}.pagination-gap{color:var(--muted)}
