/* 森语 · 奶油绿 — shared design tokens, layout and mobile components */
:root{--paper:#faf8f0;--paper-deep:#f1f0e7;--ink:#163c33;--green:#315e4e;--green-hover:#234b3d;--sage:#e9ede1;--muted:#7b8580;--line:#d9ded2;--white:#fffdf7;--gold:#c59b47;--danger:#a4463c;--radius:13px;--serif:"Noto Serif SC","Source Han Serif SC","Songti SC","STSong","SimSun",Georgia,serif;--sans:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;--nav-height:76px;--reader-max:720px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}body{margin:0;background:#e9ece3;color:var(--ink);font-family:var(--serif);font-size:16px;line-height:1.6;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer;border:0;background:none}button:disabled{opacity:.42;cursor:not-allowed}button,a,input,select,textarea{outline-offset:4px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--green)}input:focus,textarea:focus,select:focus{outline:2px solid #829b75;outline-offset:2px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:700;line-height:1.35}h1{font-size:32px}h2{font-size:25px}h3{font-size:20px}small{font-size:13px}img,svg{vertical-align:middle}img{max-width:100%}svg.art{display:block;width:100%;height:100%;overflow:hidden}img.art{width:100%;height:100%;object-fit:cover}ul,ol{margin:0;padding:0}button{min-height:42px}input,select,textarea{font-size:16px}input[type=checkbox],input[type=radio]{accent-color:var(--green)}textarea{resize:vertical}::selection{background:#ced9ba}mark{background:#e1e7ae;color:inherit;border-radius:2px}body.modal-open{overflow:hidden}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:20px;z-index:100;background:var(--ink);color:#fff;padding:10px 18px}.skip-link:focus{top:12px}.icon{width:24px;height:24px;flex:none}.icon-button{width:44px;height:44px;padding:10px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.icon-button:hover{background:#315e4e0c}.text-button{display:inline-flex;align-items:center;gap:6px;font-size:15px;color:var(--green);padding:4px 0;min-height:42px}.text-button .icon{width:19px;height:19px}.text-link{display:inline-flex;align-items:center;gap:5px;color:var(--green)}.text-link .icon{width:17px;height:17px}.muted{color:var(--muted);font-size:14px}.eyebrow{display:block;color:var(--muted);font-family:var(--sans);font-size:10px;letter-spacing:2px;font-weight:500}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:10px 21px;border:1px solid transparent;border-radius:10px;background:var(--green);color:var(--white);font-size:18px;line-height:1.5;transition:background .18s,transform .18s}.button:hover{background:var(--green-hover)}.button:active{transform:translateY(1px)}.button.secondary{background:var(--sage);color:var(--ink)}.button.secondary:hover{background:#dfe6d4}.button.outline{border-color:#8b9f91;background:transparent;color:var(--ink)}.button.outline:hover{background:var(--sage)}.button.subtle{background:transparent;color:var(--muted);font-size:14px}.button.compact{min-height:38px;padding:7px 16px;font-size:15px}.full{width:100%}.app-shell{position:relative;width:100%;max-width:760px;min-height:100dvh;margin:0 auto;background:var(--paper);box-shadow:0 0 70px #30453608;padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 10px);overflow:clip;--page-shell-width:760px}.pad{padding-left:24px;padding-right:24px}main{min-height:45vh}section{min-width:0}.brand-header{display:flex;justify-content:space-between;align-items:center;padding:22px 25px 14px;gap:10px}.brand{font-size:38px;font-weight:bold;line-height:1.2;letter-spacing:2px;white-space:nowrap}.brand>.icon{width:30px;height:30px;color:#829469;transform:rotate(-10deg);margin-left:3px;fill:#a1b28545}.brand small{font-size:13px;display:block;letter-spacing:4px;font-weight:normal;color:#737f78;margin-top:9px}.header-actions{display:flex;gap:10px;align-self:flex-start;padding-top:8px}.header-actions .icon{width:28px;height:28px}.page-header{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;min-height:83px;padding:14px 20px 12px}.page-header> :last-child{justify-self:end}.page-header :is(h1,.page-title){font-size:26px;letter-spacing:2px;text-align:center}.bottom-nav{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(5,1fr);width:100%;max-width:760px;min-height:var(--nav-height);padding:9px 14px calc(7px + env(safe-area-inset-bottom));background:#faf8f0f5;backdrop-filter:blur(16px);border-top:1px solid var(--line)}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:15px;color:#6e7b75;line-height:1.5;min-height:51px}.bottom-nav .icon{width:26px;height:26px}.bottom-nav a[aria-current=page]{color:var(--ink);font-weight:bold}.bottom-nav a[aria-current=page] .icon{fill:#315e4e35;stroke-width:2}.site-footer{text-align:center;padding:28px 20px 12px;color:#98a08e;font-size:11px;letter-spacing:1px}.site-footer a:hover{text-decoration:underline}.footer-links{display:flex;gap:18px;justify-content:center;margin-bottom:8px}.search-form{display:flex;gap:10px;margin-bottom:18px;align-items:stretch}.search-field{display:flex;align-items:center;gap:11px;min-width:0;background:var(--sage);border-radius:12px;padding:0 14px;flex:1;min-height:48px}.search-field>.icon{color:#6f7f72;width:22px;height:22px}.search-field input{min-width:0;width:100%;border:0;background:transparent;height:48px;outline:none;box-shadow:none}.search-field input:focus{outline:none}.search-field:focus-within{outline:2px solid #8ba57b}.search-field input::-webkit-search-cancel-button{-webkit-appearance:none}.search-form .button{padding:8px 21px}.clear-search{width:28px;min-height:32px;height:32px;padding:6px}.clear-search .icon{width:18px;height:18px}.home-search{margin-bottom:17px;gap:0;background:var(--sage);border-radius:12px}.home-search .search-field{background:transparent}.home-search .button{background:transparent;color:var(--green);padding:8px 15px}.hero{margin:0 14px;position:relative;height:343px;border-radius:16px;overflow:hidden;background:var(--green)}.hero>a{display:block;height:100%}.hero .hero-art{position:absolute;inset:0;height:100%;opacity:.94}.hero-shade{position:absolute;inset:0;background:linear-gradient(0deg,#15382dec 0%,#183d2d70 32%,transparent 75%)}.hero-copy{position:absolute;bottom:57px;left:24px;right:24px;color:#fff}.hero-copy .eyebrow{color:#e1e6d2;font-size:10px;letter-spacing:1.5px}.hero-copy :is(h1,h2){font-size:39px;letter-spacing:2px;margin:7px 0 3px}.hero-copy p{font-size:16px;color:#f5f5e9;max-width:90%;line-height:1.7}.hero-controls{position:absolute;bottom:8px;left:18px;right:18px;display:flex;align-items:center;justify-content:center;gap:10px;color:#fff}.hero-controls .icon-button{width:28px;height:28px;min-height:32px;padding:7px}.hero-controls .icon{width:16px;height:16px}.hero-dots{display:flex;gap:0}.hero-dots button{width:26px;min-height:32px;position:relative}.hero-dots button:before{content:"";position:absolute;width:8px;height:8px;top:12px;left:9px;border-radius:50%;background:#c5d5bd7a;transition:background .2s}.hero-dots button[aria-pressed=true]:before{background:white}.hero-pause{position:absolute;right:0;font-family:var(--sans);font-size:10px;color:#f1f3e9;min-height:30px}.quick-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:19px 0 26px}.quick-nav a{background:var(--sage);border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:98px;font-size:19px;letter-spacing:2px;transition:background .2s}.quick-nav a:hover{background:#dce5d5}.quick-nav .icon{width:28px;height:28px;stroke-width:2;fill:#315e4e24}.book-section{margin-bottom:30px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 13px}.section-heading h2{letter-spacing:1px}.section-heading h2 small{font-weight:normal;letter-spacing:0;color:var(--muted);font-size:12px;margin-left:5px}.more-link{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:14px;white-space:nowrap}.more-link .icon{width:16px;height:16px}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.book-card{min-width:0}.book-card>a{display:block}.book-card .art{aspect-ratio:1/1.08;height:auto;border-radius:9px;transition:filter .2s}.book-card a:hover .art{filter:brightness(1.06)}.book-card h3{font-size:21px;margin-top:8px;letter-spacing:.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-card p{font-size:13px;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.landscape-grid .art{aspect-ratio:1.6}.four-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.four-grid .book-card h3{font-size:17px}.four-grid .book-card p{font-size:12px}.quote-band{margin:26px 0;padding:22px;background:var(--sage);border-radius:12px;display:flex;align-items:center;gap:17px}.quote-band>.icon{width:36px;height:36px;color:#83996e}.quote-band strong{font-size:17px;font-weight:normal}.quote-band p{font-size:14px;color:#78836f;margin-top:4px}.continue-card{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:23px;border:1px solid var(--line);border-radius:10px;background:#ffffff40}.continue-card>div{flex:1;min-width:0}.continue-card strong{font-size:16px}.continue-card small{display:block;color:var(--muted)}.continue-card>.icon{color:#6d8468}.tags{display:flex;flex-wrap:wrap;gap:7px}.tags>:is(span,a){display:inline-flex;background:var(--sage);padding:3px 10px;border-radius:7px;font-size:13px;line-height:1.6;white-space:nowrap}.tags>a:hover{background:#dfe5d5}.tags .status{background:#e7ebdf}.comic-intro{display:grid;grid-template-columns:39% minmax(0,1fr);gap:23px;padding-top:6px}.comic-intro .detail-cover{height:100%;min-height:262px;max-height:340px;aspect-ratio:.76;border-radius:12px;align-self:start}.comic-info h1{font-size:34px;margin:9px 0}.author{color:#748178;font-size:16px}.comic-info .tags{margin:12px 0}.comic-info .muted{margin:13px 0 8px}.comic-summary{font-size:17px;line-height:1.9;color:#566960;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.action-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:18px 0}.action-pair .button{padding:13px 10px;font-size:20px;letter-spacing:1px;min-height:56px}.action-pair [aria-pressed=true] .icon{fill:#315e4e25}.comic-banner{height:143px;position:relative;overflow:hidden;border-radius:11px;margin:18px 0 24px}.comic-banner .art{position:absolute;inset:0}.comic-banner:after{position:absolute;inset:0;content:"";background:linear-gradient(90deg,#193f3ed9,transparent)}.comic-banner p{position:relative;z-index:1;padding:34px 25px;font-size:22px;width:62%;color:#fff;line-height:1.8;letter-spacing:2px}.chapters{margin-bottom:25px}.chapter-list{border:1px solid var(--line);border-radius:11px;padding:0 18px;overflow:hidden}.chapter-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #e3e5dc;font-size:17px;min-height:55px}.chapter-row:last-child{border-bottom:none}.chapter-row b{margin-right:12px;font-weight:normal}.chapter-meta{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px;white-space:nowrap}.chapter-meta .icon{width:16px;height:16px}.chapter-row:hover{color:#528461}.chapter-row[aria-current=page]{color:var(--green);font-weight:bold}.auth-main{position:relative}.auth-art{height:260px;position:relative;overflow:hidden;margin-top:-3px}.auth-art>.art{position:absolute;inset:0}.auth-art-shade{position:absolute;inset:0;background:linear-gradient(90deg,var(--paper) 0%,#faf8f0ef 22%,#faf8f042 62%,transparent),linear-gradient(0deg,var(--paper),transparent 38%)}.auth-brand{position:relative;padding:27px 32px;width:80%}.auth-brand .brand{font-size:33px}.auth-brand p{font-size:14px;color:#748477;max-width:180px;line-height:1.9;margin-top:13px;letter-spacing:1px}.handwriting{display:block;font-family:var(--serif);font-style:italic;font-size:23px;color:#7b927a;line-height:1.45;letter-spacing:2px;transform:rotate(-5deg);margin-top:24px}.auth-content{max-width:550px;padding:0 30px;margin:0 auto}.auth-heading{margin:0 0 28px}.auth-heading h1{font-size:44px;letter-spacing:3px;margin:9px 0}.auth-heading p{color:#758076;font-size:17px}.form-field{margin-bottom:20px}.form-field>label{display:block;font-size:19px;font-weight:bold;margin-bottom:8px;letter-spacing:1px}.input-wrap{display:flex;align-items:center;border:1px solid #cfd7c9;border-radius:11px;padding:0 15px;min-height:54px;gap:13px;background:#ffffff21}.input-wrap>.icon{width:23px;height:23px}.input-wrap input{height:52px;min-width:0;width:100%;border:0;background:none;outline:none}.input-wrap:focus-within{outline:2px solid #98ad8d}.input-wrap input:focus{outline:none}.input-wrap:has(input[aria-invalid=true]){border-color:var(--danger);background:#ac4c4010}.input-wrap .icon-button{padding:8px;width:33px;height:38px;min-height:38px;color:#7a827a}.input-wrap .icon-button[aria-pressed=true]{color:var(--green)}input::placeholder,textarea::placeholder{color:#9a9e91}.field-error{display:block;font-family:var(--sans);font-size:12px;color:var(--danger);margin-top:4px;line-height:1.5}.field-error:empty{display:none}.captcha-row{display:flex;gap:9px;align-items:center}.captcha-row .input-wrap{flex:1;min-width:0;padding:0 10px;gap:8px}.captcha-row input{min-width:0}.captcha-image{padding:0;background:var(--sage);border-radius:8px;overflow:hidden;width:110px;min-width:96px;height:50px;flex:none}.captcha-image canvas{display:block;width:100%;height:100%}.refresh-captcha{font-size:12px;min-width:45px;justify-content:center;flex-wrap:wrap;gap:2px}.refresh-captcha .icon{width:17px;height:17px}.agreement{display:flex;align-items:flex-start;gap:7px;font-size:13px;color:var(--muted);font-family:var(--sans);margin:8px 0 16px}.agreement input{margin-top:4px;width:16px;height:16px;flex:none}.agreement a{color:var(--green);text-decoration:underline;text-underline-offset:3px}.auth-submit{font-size:23px;letter-spacing:4px;margin-top:4px;min-height:57px}.form-error{color:var(--danger);font-family:var(--sans);font-size:13px;margin-bottom:8px;line-height:1.7}.form-error:empty{display:none}.auth-switch{display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;color:var(--muted);margin:26px 0}.auth-switch>a{color:var(--green);font-weight:bold;display:inline-flex;align-items:center;gap:4px}.auth-switch .icon{width:17px;height:17px}.back-home{display:flex;justify-content:center;margin:24px auto}.demo-note{font-size:11px;font-family:var(--sans);line-height:1.8;color:#919a8b;margin:15px 0;text-align:center}.form-notice{padding:12px 16px;border-radius:8px;background:var(--sage);color:#657760;font-size:13px;margin:14px 0;line-height:1.8}.account-landscape{height:272px;position:relative}.account-landscape:after{content:"";position:absolute;bottom:-1px;left:-5%;width:110%;height:45px;background:var(--paper);border-radius:50% 50% 0 0}.profile{position:relative;text-align:center;margin-top:-62px}.profile .avatar{border-radius:50%;border:5px solid var(--paper);width:132px;height:132px;margin:0 auto 8px}.profile h1{font-size:35px;overflow-wrap:anywhere;padding:0 20px}.profile>p{color:var(--muted);margin:3px 0}.profile .button{margin-top:12px}.profile #profile-email{font-family:var(--serif);font-size:15px;overflow-wrap:anywhere;padding:0 24px}.leaf-divider{display:flex;gap:20px;align-items:center;justify-content:center;margin:26px 60px;color:#8d9c70}.leaf-divider:before,.leaf-divider:after{content:"";height:1px;background:var(--line);flex:1}.leaf-divider .icon{fill:#a5b38e50}.account-links{padding-bottom:20px}.menu-row{display:flex;align-items:center;border:1px solid var(--line);border-radius:13px;padding:15px 18px;margin-bottom:12px;gap:19px;background:#fffef933}.menu-icon{width:70px;height:64px;background:var(--sage);border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}.menu-icon .icon{width:33px;height:33px}.menu-row>span:nth-child(2){flex:1}.menu-row strong{font-size:22px;display:block;letter-spacing:1px}.menu-row small{display:block;color:var(--muted);font-size:14px;margin-top:3px}.menu-row>.icon{width:19px;height:19px}.menu-row:hover{background:var(--sage)}.account-links>.button{margin-top:12px}.library-banner{position:relative;display:flex;align-items:center;gap:17px;min-height:102px;padding:17px 20px;background:#e9ede3;border-radius:12px;overflow:hidden;margin-bottom:20px}.library-banner>.icon{width:42px;height:42px;color:#8a9d77;z-index:1}.library-banner p{position:relative;z-index:1;font-size:15px;color:#68786d;letter-spacing:1px}.library-banner .art{position:absolute;width:32%;height:100%;right:0;opacity:.38;mask-image:linear-gradient(90deg,transparent,#000)}.library-heading{font-size:13px;color:var(--muted)}.library-heading .text-link{font-size:12px}.library-card{display:flex;gap:20px;padding:14px;border:1px solid #ced8c9;border-radius:14px;margin-bottom:14px;background:#fffef726}.library-cover{width:31%;flex:none;align-self:stretch;min-height:166px;overflow:hidden;border-radius:9px}.library-info{flex:1;min-width:0;position:relative;padding-top:3px}.library-info h2{font-size:27px;margin-bottom:11px;letter-spacing:1px}.library-info .tags{gap:5px}.library-info .tags :is(span,a){font-size:12px;padding:2px 9px}.library-detail{margin-top:15px;padding-top:12px;border-top:1px solid var(--line);padding-right:27px}.library-detail a{font-size:15px;display:flex;align-items:center;gap:2px;line-height:1.8}.library-detail a .icon{width:14px;height:14px}.library-detail small{display:block;color:var(--muted);font-size:13px;margin-top:4px}.remove-book{position:absolute;right:-7px;bottom:24px}.remove-book .icon{width:21px;height:21px}.pagination{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:26px 0}.pagination button{border:1px solid var(--line);border-radius:8px;min-width:42px;padding:6px 13px;font-size:15px;background:var(--white)}.pagination button[aria-current=page]{background:var(--green);border-color:var(--green);color:#fff}.pagination button:disabled{background:#eff0e8}.empty-state{display:flex;align-items:center;flex-direction:column;text-align:center;padding:58px 15px 65px}.empty-state>.icon{width:57px;height:57px;color:#9aac89;margin-bottom:20px}.empty-state h2{font-size:23px}.empty-state p{color:var(--muted);font-size:14px;margin:13px 0 26px}.invite-hero{position:relative;min-height:330px;margin:-4px -24px 0;overflow:hidden}.invite-hero>.art{position:absolute;inset:0}.invite-shade{position:absolute;inset:0;background:linear-gradient(90deg,var(--paper) 1%,#faf8f0dc 27%,transparent 90%),linear-gradient(0deg,var(--paper),transparent 50%)}.invite-hero>div:last-child{position:relative;padding:42px 30px}.invite-hero h1{font-size:44px;margin:14px 0 17px;letter-spacing:1px;line-height:1.5}.invite-hero p{font-size:15px;color:#788679;max-width:70%}.invite-hero .handwriting{font-size:17px;letter-spacing:1px;margin-top:24px}.invite-card{position:relative;padding:22px;border:1px solid #bfcdbc;border-radius:14px;background:#faf8f0ee;margin-top:-7px}.invite-card h2{font-size:24px}.invite-card .section-heading>.icon{padding:8px;background:var(--sage);border-radius:50%;width:38px;height:38px}#invite-link{width:100%;border:0;background:var(--sage);padding:13px 17px;min-height:89px;resize:none;border-radius:10px;font-size:16px;line-height:1.8;margin-bottom:13px;overflow-wrap:anywhere}.share-native{display:flex;justify-content:center;margin:8px auto 0}.invite-card>.muted{font-size:11px;text-align:center}.invite-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;list-style:none;text-align:center;margin:35px 0}.step-icon{position:relative;width:75px;height:75px;display:flex;align-items:center;justify-content:center;background:var(--sage);border-radius:50%;margin:0 auto 14px}.step-icon b{position:absolute;top:-12px;left:23px;width:29px;height:29px;border-radius:50%;background:#65806a;color:white;font-size:17px;line-height:29px;font-weight:normal}.step-icon .icon{width:32px;height:32px}.invite-steps h3{font-size:17px;margin-bottom:8px}.invite-steps p{color:var(--muted);font-size:13px}.hot-search{margin:16px 0 27px}.hot-search h2{font-size:17px;font-weight:normal;margin-bottom:12px}.hot-search .tags>a{padding:6px 15px;font-size:15px}.results-section{margin-top:30px}.results-section>.section-heading{justify-content:flex-start;gap:20px}.results-section>.section-heading h2{font-size:28px}.result-card{display:grid;grid-template-columns:41% minmax(0,1fr);gap:18px;margin-bottom:18px}.result-cover{overflow:hidden;border-radius:11px;min-height:184px;aspect-ratio:1.18;align-self:start}.result-title{display:flex;align-items:center;justify-content:space-between;gap:4px}.result-title h2{font-size:27px;letter-spacing:1px}.result-title .icon{width:17px;height:17px}.result-info .author{font-size:14px;margin:4px 0 8px}.result-info .tags>:is(span,a){font-size:12px;padding:2px 8px}.result-description{font-size:15px;color:#66746a;line-height:1.75;margin:10px 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.latest{color:var(--muted);font-size:14px}.latest:hover{color:var(--green)}.small-heading{font-size:17px;font-weight:normal}.intro-heading{padding:12px 0 25px}.intro-heading h1{font-size:31px;line-height:1.7;margin-top:9px}.intro-heading p{color:var(--muted);font-size:14px;margin-top:9px}.filter-panel{padding:10px 17px;background:#eeeee3;border-radius:13px;margin-bottom:25px}.filter-row{display:flex;gap:16px;padding:10px 0;border-bottom:1px solid #dce2d3}.filter-row:last-child{border:none}.filter-row>span{padding-top:7px;font-size:14px;white-space:nowrap;color:var(--muted)}.filter-row>div{display:flex;flex-wrap:wrap;gap:3px}.filter-row button{min-height:34px;padding:4px 11px;font-size:14px;border-radius:7px}.filter-row button[aria-pressed=true]{background:var(--green);color:white}#category-results .book-grid{row-gap:26px}#category-results .art{aspect-ratio:.79}.ranking-intro{position:relative;text-align:center;padding:1px 10px 25px}.ranking-intro p{color:var(--muted);font-size:16px;letter-spacing:3px;margin-top:9px}.ranking-intro>.icon{position:absolute;width:80px;height:80px;left:5px;top:-45px;opacity:.15;transform:rotate(60deg)}.rank-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.rank-tabs [role=tab]{padding:11px 5px;border-radius:9px;background:var(--sage);font-size:20px;letter-spacing:2px;min-height:48px}.rank-tabs [role=tab][aria-selected=true]{background:var(--green);color:white}.ranking-meta{font-size:11px;text-align:right;margin:13px 2px}.rank-card{display:grid;grid-template-columns:45px 31% minmax(0,1fr) 16px;align-items:center;gap:13px;padding:12px 14px 12px 10px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;background:#fffefa55}.rank-1{border-color:#d9c99f;padding-top:15px;padding-bottom:15px}.rank-3{border-color:#deceb3}.rank-number{text-align:center;color:#929f89;line-height:1}.rank-number b{display:block;font-size:35px;font-weight:normal;letter-spacing:-2px;margin:4px 0}.rank-number>.icon{width:25px;height:25px;opacity:.65}.rank-number>.icon:last-child{height:19px}.rank-1 .rank-number{color:#c59b40}.rank-2 .rank-number{color:#a4a69c}.rank-3 .rank-number{color:#b38a5b}.rank-cover{border-radius:7px;overflow:hidden;height:148px}.rank-info h2{font-size:25px;margin-bottom:8px}.rank-info .tags{gap:5px}.rank-info .tags :is(span,a){padding:1px 8px;font-size:11px}.rank-info>p{color:#788176;font-size:13px;margin-top:9px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.rank-info>small{display:flex;gap:9px;align-items:center;font-size:12px;color:#819078;margin-top:10px}.rank-info>small>span:first-child{background:var(--sage);border-radius:5px;padding:1px 6px;color:var(--ink);white-space:nowrap}.rank-arrow .icon{width:15px;height:15px}.settings-panel{padding:5px 20px 24px;border:1px solid var(--line);border-radius:13px}.settings-panel fieldset{border:0;border-bottom:1px solid var(--line);padding:22px 0;margin:0 0 12px;min-width:0}.settings-panel legend{font-size:19px;padding-top:20px}.theme-options{display:flex;gap:18px}.theme-options label{display:flex;flex:1;align-items:center;flex-direction:column;gap:7px;position:relative;cursor:pointer;font-size:14px}.theme-options input{position:absolute;bottom:5px;left:10px;width:14px;height:14px}.theme-swatch{height:50px;width:100%;border-radius:8px;border:1px solid #cdd5c8}.theme-swatch.paper{background:#faf8f0}.theme-swatch.light{background:white}.theme-swatch.dark{background:#1c2924}.theme-options label:has(input:checked) .theme-swatch{outline:2px solid #557d59;outline-offset:2px}.select-row{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;color:var(--muted)}select{border:1px solid var(--line);padding:8px;background:var(--paper);border-radius:7px;max-width:100%}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:10px}.switch-row strong{font-weight:normal;font-size:17px}.switch-row small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.switch-row input{appearance:none;width:39px;height:23px;flex:none;border-radius:15px;background:#cbd0c3;position:relative;cursor:pointer;transition:background .2s}.switch-row input:before{content:"";position:absolute;background:white;width:17px;height:17px;border-radius:50%;top:3px;left:3px;transition:transform .2s}.switch-row input:checked{background:var(--green)}.switch-row input:checked:before{transform:translateX(16px)}.settings-panel>.button{margin-top:16px}.info-panel{border:1px solid var(--line);border-radius:13px;padding:19px 20px;margin-bottom:22px}.info-panel>h2{font-size:22px;margin-bottom:15px}.info-panel details{border-bottom:1px solid var(--line);padding:14px 0}.info-panel details:last-child{border-bottom:0}.info-panel summary{cursor:pointer;font-size:17px;line-height:1.7}.info-panel details p{color:var(--muted);font-size:14px;line-height:2;margin:12px 0 5px}.info-panel textarea{width:100%;background:#ffffff50;border:1px solid var(--line);border-radius:9px;padding:13px;margin:15px 0}.download-hero{padding:45px 15px;text-align:center}.download-hero>.icon{width:66px;height:66px;color:#7b9471;margin-bottom:25px}.download-hero h1{font-size:32px;margin-bottom:13px}.download-hero p{color:var(--muted)}.prose{padding-top:25px;padding-bottom:25px}.prose>h1{margin:10px 0 30px}.prose>h2{font-size:21px;margin:23px 0 10px}.prose>p{color:#6e7d70;font-size:16px;line-height:2}.prose>.button{margin-top:35px}
/* Tag collections use real links so pagination can be shared or opened in a new tab. */
.tag-heading h1{overflow-wrap:anywhere}.tag-cloud{gap:9px;padding:16px;background:#eeeee3;border:1px solid var(--line);border-radius:13px}.tag-cloud>a{gap:8px;min-height:38px;align-items:center;padding:6px 13px;background:var(--paper);border:1px solid transparent;font-size:15px}.tag-cloud small{font:11px var(--sans);opacity:.6}.tag-cloud>a[aria-current=page]{background:var(--green);color:var(--white)}.tag-results-heading{flex-wrap:wrap}.tag-pagination>a,.tag-pagination>.page-disabled{display:inline-flex;justify-content:center;align-items:center;min-width:42px;min-height:42px;padding:6px 13px;border:1px solid var(--line);border-radius:8px;background:var(--white);font-size:15px}.tag-pagination>a:hover{background:var(--sage)}.tag-pagination>a[aria-current=page]{background:var(--green);border-color:var(--green);color:white}.tag-pagination>.page-disabled{opacity:.42;background:#eff0e8}.tag-pagination>.page-gap{color:var(--muted)}.tag-link:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:540px){.tag-cloud{gap:7px;padding:12px}.tag-cloud>a{font-size:13px;padding:5px 11px;min-height:36px;gap:6px}.tag-heading .eyebrow{font-size:8px;letter-spacing:1px}.tag-results-heading #tag-count{font-size:12px}.tag-pagination{gap:7px}.tag-pagination>a,.tag-pagination>.page-disabled{min-width:36px;min-height:40px;padding:5px 10px;font-size:14px}}
/* Content discovery, breadcrumbs and crawlable navigation. */
.page-header .page-title{font-weight:700;line-height:1.35}.breadcrumb{font-family:var(--sans);font-size:11px;color:var(--muted);padding:2px 0 13px}.breadcrumb ol{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.breadcrumb li+li:before{content:"/";margin-right:7px;color:#bbc3b4}.breadcrumb a:hover{text-decoration:underline}.breadcrumb [aria-current]{color:var(--green)}.home-intro{padding:0 0 24px}.home-intro h1{font-size:23px;letter-spacing:1px}.home-intro p,.section-note{font-size:14px;line-height:1.8;color:var(--muted);margin-top:6px}.home-section{margin-bottom:32px}.home-section>.section-note{margin:-3px 0 14px}.update-list{border:1px solid var(--line);border-radius:12px;padding:0 17px;background:#fffdf644}.update-row{display:grid;grid-template-columns:67px minmax(0,1fr) auto;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid var(--line)}.update-row:last-child{border:0}.update-cover{height:83px;border-radius:7px;overflow:hidden}.update-row h3{font-size:21px}.update-row p{font-size:12px;color:var(--muted);margin:4px 0}.update-row .latest{font-size:13px;color:var(--green)}.update-row .latest .icon{width:13px;height:13px}.update-badge{align-self:start;font-size:11px;background:var(--sage);border-radius:5px;padding:3px 7px;margin-top:4px}.home-ranking{background:#eeeee3;border-radius:13px;padding:20px}.home-ranking ol{list-style:none}.home-ranking li+li{border-top:1px solid var(--line)}.home-ranking li>a{display:flex;align-items:center;gap:15px;padding:13px 0}.home-ranking .home-rank-number{font-size:29px;color:#a4ae96;width:34px;flex:none;font-style:italic}.home-ranking li:first-child .home-rank-number{color:var(--gold)}.home-ranking .home-rank-cover{width:61px;height:72px;border-radius:6px;flex:none}.home-ranking li>a>div{flex:1;min-width:0}.home-ranking h3{font-size:22px}.home-ranking li p{font-size:12px;color:var(--muted);margin-top:6px}.home-ranking li>a>.icon{width:16px;height:16px}.home-about{border-top:1px solid var(--line);padding-top:20px;font-size:13px;line-height:2;color:var(--muted)}.home-about a{text-decoration:underline;text-underline-offset:3px;color:var(--green)}.collection-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.collection-links a{padding:6px 12px;border:1px solid var(--line);border-radius:7px;font-size:13px}.collection-links a[aria-current=page]{background:var(--sage)}.rank-tabs [role=tab]{text-align:center}.site-map section{margin:24px 0}.site-map h2{font-size:23px;margin-bottom:12px}.site-map ul{list-style:none}.site-map li{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:13px 0}.site-map li span{font-size:12px;color:var(--muted)}.site-map li a{font-size:17px}.footer-links{flex-wrap:wrap;row-gap:8px}
@media(max-width:540px){.breadcrumb{font-size:10px;padding-bottom:12px}.home-intro{padding-bottom:21px}.home-intro h1{font-size:20px}.home-intro p,.section-note{font-size:12px}.home-section{margin-bottom:26px}.update-list{padding:0 12px}.update-row{grid-template-columns:54px minmax(0,1fr) auto;gap:11px;padding:12px 0}.update-cover{height:69px}.update-row h3{font-size:18px}.update-row p{font-size:10px;margin:3px 0}.update-row .latest{font-size:11px}.update-badge{font-size:9px;padding:2px 5px}.home-ranking{padding:16px}.home-ranking li>a{gap:11px}.home-ranking .home-rank-number{font-size:25px;width:28px}.home-ranking .home-rank-cover{width:48px;height:59px}.home-ranking h3{font-size:19px}.home-ranking li p{font-size:10px}.home-about{font-size:11px}.site-map li{flex-wrap:wrap}.site-map li a{font-size:16px}.site-map li span{font-size:11px}.collection-links{gap:6px}.collection-links a{font-size:11px;padding:5px 9px}}
/* Reader */
body[data-page=reader]{background:#e7eadf}.reader-shell{max-width:960px;--nav-height:65px;transition:background .2s}.reader-shell #reader-header{position:sticky;top:0;background:var(--paper);z-index:20;border-bottom:1px solid var(--line)}.reader-shell .page-header{padding:9px 15px 0;min-height:54px}.reader-shell .page-header :is(h1,.page-title){font-size:24px}.reader-subtitle{position:relative;display:flex;align-items:center;justify-content:center;min-height:35px;font-size:15px;color:#657d6e;padding-bottom:7px}.reader-main{max-width:var(--reader-max);margin:0 auto}.reader-notice{text-align:center;font-size:10px;color:var(--muted);padding:8px}.reader-panels{padding:0 7px}.reader-panel{margin:0;border:0;overflow:hidden}.reader-panel .art{height:auto;aspect-ratio:850/497}.reader-panel:nth-child(2) .art{aspect-ratio:850/333}.reader-panel:nth-child(3) .art{aspect-ratio:850/319}.reader-panel:nth-child(4) .art{aspect-ratio:847/321}.reader-end{text-align:center;padding:40px 20px}.reader-end>.icon{color:#8e9f7c;margin-bottom:12px}.reader-end h2{font-size:25px}.reader-end p{font-size:14px;color:var(--muted);margin:10px 0 24px}.reader-end>.text-link{display:flex;justify-content:center;margin-top:20px;font-size:14px}.reader-bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:960px;z-index:30;background:var(--paper);display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid var(--line);padding:7px 10px calc(7px + env(safe-area-inset-bottom));min-height:64px}.reader-bottom button{display:flex;justify-content:center;align-items:center;gap:12px;font-size:20px;min-height:46px}.reading-progress{position:fixed;bottom:calc(65px + env(safe-area-inset-bottom));height:2px;width:100%;max-width:960px;left:50%;transform:translateX(-50%);z-index:31;background:#b8c7aa33}.reading-progress span{display:block;background:#8da473;width:0;height:100%}.reader-shell[data-theme=dark]{--paper:#1d2822;--ink:#e1e8d8;--muted:#a0ad9a;--line:#39483b;--sage:#344638;--green:#638367;--white:#f7f7ed}.reader-shell[data-theme=dark] .reader-subtitle{color:#b0c0a7}.reader-shell[data-theme=light]{--paper:#fff;--line:#e7e7df}.reader-shell[data-width=wide]{--reader-max:960px}
/* Dialogs and feedback */
.toast{position:fixed;bottom:calc(100px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,15px);max-width:calc(100% - 36px);background:#244a3fef;color:#fffdf5;padding:12px 20px;border-radius:10px;box-shadow:0 8px 30px #17382e22;font-size:14px;font-family:var(--sans);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.modal{width:calc(100% - 32px);max-width:500px;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);box-shadow:0 20px 70px #0b27172b;max-height:85dvh;overflow:hidden}.modal::backdrop{background:#182e2466;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid var(--line);background:var(--paper)}.modal-head h2{font-size:23px}.modal-content{padding:22px;max-height:calc(85dvh - 77px);overflow:auto;overscroll-behavior:contain}.modal-content>p{font-size:15px;color:var(--muted);line-height:1.9;margin-bottom:20px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.modal-actions .button{font-size:16px;min-width:94px}.modal-content .chapter-list{padding:0 12px}.modal-content .chapter-row{font-size:15px;min-height:51px}.modal-content .chapter-row b{margin-right:8px}.modal-content .theme-options{margin:20px 0 25px}.modal-content .full+.full{margin-top:10px}.scroll-top{position:fixed;z-index:25;bottom:100px;right:max(20px,calc((100vw - 740px)/2));border:1px solid var(--line);background:#faf8f0ed;box-shadow:0 4px 12px #1d3d2510;color:var(--green);width:40px;height:40px;min-height:40px}.dialog-copy{width:100%;min-height:100px;background:var(--sage);padding:12px;border:1px solid var(--line);border-radius:8px;word-break:break-all}.storage-warning{padding:9px 20px;background:#f1e5cc;color:#83602e;font-size:12px;text-align:center}.noscript-notice{padding:12px 20px;background:#e4ebd8;font-size:13px}
@media(min-width:900px){body{padding:28px 0 0}.app-shell{border-radius:19px 19px 0 0;box-shadow:0 8px 65px #37463112}.brand-header{padding:27px 31px 20px}.pad{padding-left:30px;padding-right:30px}.hero{margin:0 20px;height:365px}.hero-copy{left:28px}.hero-copy :is(h1,h2){font-size:46px}.quick-nav a{min-height:107px}.quick-nav .icon{width:31px;height:31px}.book-card .art{aspect-ratio:1.02}.landscape-grid .art{aspect-ratio:1.65}.book-section{margin-bottom:34px}.auth-art{height:300px}.auth-content{max-width:570px}.auth-brand{padding-left:45px}.page-header{padding-left:25px;padding-right:25px}.comic-info h1{font-size:39px}.comic-info .eyebrow{padding-top:8px}.comic-summary{font-size:18px}.account-landscape{height:330px}.menu-row{padding:20px}.invite-hero{margin-left:-30px;margin-right:-30px;min-height:380px}.invite-hero h1{font-size:51px}.invite-hero>div:last-child{padding-left:40px}.rank-cover{height:168px}.rank-info h2{font-size:27px}.rank-info>p{font-size:15px}.result-cover{min-height:206px}.result-title h2{font-size:30px}.result-description{font-size:17px}.reader-shell{margin-top:-28px;border-radius:0}.reader-shell .reader-main{padding-top:8px}}
@media(max-width:540px){:root{--nav-height:68px}body{font-size:15px}.pad{padding-left:17px;padding-right:17px}.brand-header{padding:19px 18px 12px}.brand{font-size:32px}.brand>.icon{width:26px;height:26px;margin-left:0}.brand small{font-size:11px;letter-spacing:2px;margin-top:7px}.header-actions{gap:1px;padding-top:2px}.header-actions .icon-button{width:36px;height:40px;padding:8px}.header-actions .icon{width:25px;height:25px}.hero{margin:0 9px;height:250px;border-radius:13px}.hero-copy{left:18px;right:14px;bottom:49px}.hero-copy :is(h1,h2){font-size:32px;margin:4px 0}.hero-copy p{font-size:13px;max-width:94%;line-height:1.6}.hero-copy .eyebrow{font-size:9px;letter-spacing:1px}.hero-controls{bottom:7px;left:13px;right:13px}.hero-shade{background:linear-gradient(0deg,#143c2de8,transparent 86%)}.hero-pause{font-size:9px}.home-search{margin-bottom:12px}.search-field{min-height:43px;gap:8px;padding:0 12px}.search-field input{height:43px;font-size:15px}.search-field>.icon{width:21px;height:21px}.home-search .button{min-height:43px;padding:5px 12px}.quick-nav{gap:11px;margin:14px 0 21px}.quick-nav a{min-height:72px;font-size:17px;gap:5px;border-radius:11px}.quick-nav .icon{width:24px;height:24px}.section-heading h2{font-size:23px}.more-link{font-size:12px;gap:2px}.more-link .icon{width:14px;height:14px}.section-heading{margin-bottom:11px}.book-grid{gap:10px}.book-card .art{border-radius:7px;aspect-ratio:1/1.05}.book-card h3{font-size:17px;margin-top:6px;letter-spacing:0}.book-card p{font-size:11px;margin-top:3px}.book-section{margin-bottom:24px}.landscape-grid .art{aspect-ratio:1.55}.bottom-nav{padding:7px 8px calc(6px + env(safe-area-inset-bottom));min-height:68px}.bottom-nav a{font-size:13px;min-height:48px;gap:2px}.bottom-nav .icon{width:23px;height:23px}.quote-band{padding:16px;gap:11px;margin:21px 0}.quote-band strong{font-size:15px}.quote-band p{font-size:12px}.quote-band>.icon{width:28px;height:28px}.page-header{min-height:69px;padding:10px 9px}.page-header :is(h1,.page-title){font-size:23px;letter-spacing:1px}.page-header>.text-button{font-size:13px;padding-right:7px}.page-header .icon-button{width:40px;height:40px;min-height:40px}.page-header .icon-button .icon{width:25px;height:25px}.comic-intro{gap:15px;padding-top:0;grid-template-columns:40% minmax(0,1fr)}.comic-intro .detail-cover{min-height:204px;border-radius:9px}.comic-info h1{font-size:26px;margin:5px 0 7px}.comic-info .eyebrow{font-size:8px;letter-spacing:1px}.comic-info .author{font-size:14px}.comic-info .tags{gap:5px;margin:9px 0}.comic-info .tags :is(span,a){font-size:11px;padding:2px 7px}.comic-info .muted{font-size:12px;margin:9px 0 5px}.comic-summary{font-size:13px;line-height:1.85;-webkit-line-clamp:4}.action-pair{gap:10px;margin:15px 0}.action-pair .button{font-size:17px;min-height:47px;padding:10px 5px;gap:8px}.action-pair .icon{width:21px;height:21px}.comic-banner{height:108px;margin:15px 0 22px}.comic-banner p{font-size:17px;padding:24px 17px;width:67%;letter-spacing:1px}.chapter-list{padding:0 13px}.chapter-row{font-size:15px;min-height:50px;padding:12px 0}.chapter-row b{margin-right:8px}.chapter-meta{font-size:10px;gap:6px}.chapter-meta .icon{width:13px;height:13px}.section-heading h2 small{font-size:10px;margin-left:0}.four-grid{gap:8px}.four-grid .book-card h3{font-size:14px}.four-grid .book-card p{font-size:10px}.four-grid .art{aspect-ratio:1}.auth-art{height:235px}.auth-brand{padding:27px 23px}.auth-brand .brand{font-size:31px}.auth-brand p{font-size:12px;max-width:155px}.handwriting{font-size:21px}.auth-content{padding:0 23px}.auth-heading{margin-bottom:24px}.auth-heading h1{font-size:36px;margin:8px 0}.auth-heading p{font-size:15px}.auth-heading .eyebrow{font-size:9px}.form-field{margin-bottom:18px}.form-field>label{font-size:17px;margin-bottom:7px}.input-wrap{min-height:49px;padding:0 12px;gap:10px}.input-wrap input{height:48px;font-size:16px}.captcha-image{width:94px;min-width:82px;height:48px}.captcha-row{gap:7px}.captcha-row .input-wrap>.icon{width:20px;height:20px}.captcha-row .input-wrap input{font-size:14px}.refresh-captcha{min-width:26px;width:32px;line-height:1.2}.refresh-captcha span{font-size:10px}.auth-submit{min-height:53px;font-size:21px}.auth-switch{margin:22px 0;font-size:14px}.agreement{font-size:11px}.account-landscape{height:215px}.profile{margin-top:-48px}.profile .avatar{width:104px;height:104px;border-width:4px}.profile h1{font-size:29px}.profile>p{font-size:14px}.profile #profile-email{font-size:13px}.leaf-divider{margin:23px 55px}.menu-row{padding:13px;gap:14px;border-radius:12px}.menu-icon{width:57px;height:52px;border-radius:10px}.menu-icon .icon{width:28px;height:28px}.menu-row strong{font-size:19px}.menu-row small{font-size:12px}.menu-row>.icon{width:17px;height:17px}.library-banner{padding:14px 13px;min-height:82px;gap:10px;margin-bottom:17px}.library-banner>.icon{width:33px;height:33px}.library-banner p{font-size:12px;letter-spacing:1px}.library-heading{font-size:11px;gap:6px}.library-heading .text-link{font-size:11px}.library-card{padding:9px;gap:13px;margin-bottom:12px;border-radius:11px}.library-cover{min-height:132px;width:32%;border-radius:7px}.library-info h2{font-size:22px;margin-bottom:8px}.library-info .tags{gap:4px}.library-info .tags :is(span,a){font-size:10px;padding:2px 6px}.library-detail{margin-top:10px;padding-top:8px;padding-right:20px}.library-detail a{font-size:12px}.library-detail small{font-size:10px;margin-top:6px}.remove-book{bottom:16px;right:-9px;width:36px;height:36px;min-height:36px;padding:9px}.remove-book .icon{width:18px;height:18px}.pagination{gap:8px;margin:23px 0}.pagination button{min-width:36px;font-size:14px;padding:5px 11px;min-height:38px}.invite-hero{min-height:290px;margin-left:-17px;margin-right:-17px}.invite-hero>div:last-child{padding:27px 20px}.invite-hero h1{font-size:36px;line-height:1.55;margin:12px 0}.invite-hero .eyebrow{font-size:8px;letter-spacing:1px}.invite-hero p{font-size:13px;max-width:70%}.invite-hero .handwriting{font-size:13px;margin-top:20px}.invite-card{padding:17px 15px}.invite-card h2{font-size:22px}.invite-card .button{font-size:17px}#invite-link{font-size:14px;padding:12px;min-height:80px}.invite-steps{gap:8px;margin:35px 0 27px}.step-icon{width:64px;height:64px}.step-icon b{left:19px;width:26px;height:26px;font-size:15px;line-height:26px}.step-icon .icon{width:28px;height:28px}.invite-steps h3{font-size:14px}.invite-steps p{font-size:11px;line-height:1.9}.search-form>.button{font-size:16px;padding:8px 16px;min-height:43px}.hot-search{margin-top:12px;margin-bottom:25px}.hot-search h2{font-size:15px}.hot-search .tags>a{font-size:13px;padding:5px 12px}.results-section{margin-top:26px}.results-section>.section-heading{gap:13px}.results-section>.section-heading h2{font-size:25px}.results-section>.section-heading .muted{font-size:12px}.result-card{grid-template-columns:40% minmax(0,1fr);gap:12px;margin-bottom:18px}.result-cover{min-height:157px;aspect-ratio:.9;border-radius:9px}.result-title h2{font-size:23px}.result-info .author{font-size:12px;margin:4px 0 6px}.result-info .tags{gap:4px}.result-info .tags>:is(span,a){font-size:10px;padding:2px 6px}.result-description{font-size:12px;line-height:1.8;margin:8px 0 4px}.latest{font-size:12px}.filter-panel{padding:8px 12px}.filter-row{gap:10px}.filter-row>span{font-size:12px}.filter-row button{font-size:13px;padding:4px 9px}.intro-heading h1{font-size:28px}.rank-tabs{gap:5px}.rank-tabs [role=tab]{font-size:18px;min-height:43px;padding:9px 4px}.ranking-intro{padding-bottom:20px}.ranking-intro p{font-size:14px;letter-spacing:1px}.ranking-intro .eyebrow{font-size:9px}.ranking-intro>.icon{width:55px;height:55px;left:-4px;top:-38px}.rank-card{grid-template-columns:29px 31% minmax(0,1fr) 9px;gap:9px;padding:9px 9px 9px 6px;border-radius:10px}.rank-1{padding-top:12px;padding-bottom:12px}.rank-number b{font-size:27px;letter-spacing:-1px}.rank-number>.icon{width:20px;height:20px}.rank-number>.icon:last-child{height:14px}.rank-cover{height:126px;border-radius:6px}.rank-info h2{font-size:21px;margin-bottom:7px}.rank-info .tags{gap:3px}.rank-info .tags :is(span,a){font-size:10px;padding:1px 6px}.rank-info>p{font-size:11px;line-height:1.8;margin-top:6px}.rank-info>small{font-size:10px;gap:5px;margin-top:7px}.rank-info>small>span:first-child{padding:1px 5px}.rank-arrow .icon{width:12px;height:12px}.ranking-meta{font-size:10px;margin:10px 0}.settings-panel{padding:0 15px 18px}.select-row{flex-direction:column;align-items:flex-start;gap:12px}.theme-options{gap:12px}.theme-options input{left:2px}.switch-row strong{font-size:16px}.switch-row small{font-size:11px}.download-hero h1{font-size:28px}.info-panel{padding:16px}.info-panel summary{font-size:16px}.info-panel details p{font-size:13px}.reader-shell .page-header :is(h1,.page-title){font-size:22px}.reader-shell .page-header{min-height:50px;padding-top:5px}.reader-subtitle{min-height:29px;font-size:14px;padding-bottom:6px}.reader-bottom button{font-size:17px;gap:9px}.reader-bottom .icon{width:21px;height:21px}.reader-notice{font-size:9px;padding:6px}.reader-end h2{font-size:23px}.reader-end p{font-size:12px}.reader-panels{padding:0 5px}.reader-panel{margin-bottom:0}.modal-head h2{font-size:21px}.modal-content{padding:18px}.site-footer{font-size:10px;padding-top:20px}.scroll-top{right:12px;bottom:86px;width:36px;height:36px;min-height:36px}.toast{font-size:13px;bottom:88px;padding:11px 16px}.continue-card{padding:10px 12px}.continue-card strong{font-size:14px}.continue-card small{font-size:11px}}
@media(max-width:360px){.pad{padding-left:13px;padding-right:13px}.brand{font-size:29px}.brand small{letter-spacing:1px}.hero{height:225px}.hero-copy :is(h1,h2){font-size:29px}.book-card h3{font-size:15px}.book-card p{font-size:10px}.comic-info h1{font-size:23px}.comic-intro{gap:11px}.comic-intro .detail-cover{min-height:197px}.comic-info .tags :is(span,a){font-size:10px;padding:1px 5px}.comic-summary{font-size:12px}.result-title h2{font-size:20px}.result-cover{min-height:149px}.result-info .tags>:is(span,a){padding:1px 4px}.rank-card{grid-template-columns:25px 28% minmax(0,1fr);gap:8px}.rank-arrow{display:none}.rank-info h2{font-size:19px}.rank-cover{height:121px}.rank-info>small{font-size:9px}.auth-content{padding:0 18px}.input-wrap{gap:7px}.captcha-row .input-wrap>.icon{display:none}.captcha-image{width:85px;min-width:85px}.library-info h2{font-size:20px}.library-info .tags :is(span,a){padding:1px 4px}.library-card{gap:10px}.library-detail a{font-size:11px}.invite-hero h1{font-size:32px}.invite-steps h3{font-size:12px}.invite-steps p{font-size:10px}.page-header :is(h1,.page-title){font-size:21px}.theme-options input{left:-3px}.filter-row{gap:5px}.filter-row button{padding:4px 8px}}
.scroll-top.comic-scroll-top{right:max(16px,calc((100vw - 728px)/2));bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 16px);width:48px;height:48px;min-height:48px;background:var(--green);color:var(--white);border:1px solid #ffffff85;box-shadow:0 5px 18px #163c3330;transition:background .2s,box-shadow .2s,transform .2s}.scroll-top.comic-scroll-top .icon{width:25px;height:25px;stroke-width:2}.scroll-top.comic-scroll-top:hover{background:var(--green-hover);box-shadow:0 7px 22px #163c3340;transform:translateY(-2px)}.scroll-top.comic-scroll-top:active{transform:translateY(0)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
/* Category pagination stays compact even with thousands of pages. */
#category-count{font-size:13px;text-align:right}
#category-pagination{scroll-margin-top:24px}
.category-pager{margin:28px 0 12px;padding:22px 12px;border-top:1px solid var(--line);text-align:center}
.page-summary{color:var(--muted);font-size:13px;line-height:1.9;margin-bottom:15px;font-family:var(--sans)}
.page-summary strong{color:var(--green);font-weight:600}.page-summary>span{display:block}
.category-page-links,.page-direction,.page-numbers{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}
.category-page-links a,.category-page-links .page-disabled{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:42px;padding:7px 11px;border:1px solid var(--line);border-radius:7px;font-size:14px;white-space:nowrap;font-family:var(--sans)}
.category-page-links a:hover{background:var(--sage)}
.category-page-links a[aria-current=page]{background:var(--green);border-color:var(--green);color:var(--white)}
.category-page-links .page-disabled{color:var(--muted);opacity:.55;cursor:default}.page-gap{color:var(--muted);padding:0 2px}
.page-jump{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:17px;font-size:13px;color:var(--muted);font-family:var(--sans)}
.page-jump input{width:76px;min-height:42px;padding:7px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);text-align:center;font-size:16px;font-family:var(--sans)}
.page-jump .button{min-height:42px;padding:7px 15px;font-size:14px}
@media(max-width:680px){.category-page-links .page-numbers{order:-1;flex-basis:100%;margin-bottom:5px}.category-pager{padding:18px 0}.category-page-links a,.category-page-links .page-disabled{min-width:38px;padding:7px 10px}.page-numbers{gap:4px}.category-page-links .page-numbers a{min-width:36px;padding:7px;font-size:13px}#category-count{font-size:11px}}
@media print{body{background:#fff;padding:0}.app-shell{max-width:none;box-shadow:none;padding:0;--page-shell-width:none}.bottom-nav,.reader-bottom,.reading-progress,.scroll-top,.toast,.site-footer,.hero-controls{display:none}.page-header{position:static}.reader-shell #reader-header{position:static}.reader-panel{break-inside:avoid}}
