/* Premium reading surface: restrained chrome, legible type, generous touch targets. */
body.reader{background:#f3f5f8;color:#172333}.reader-head{background:linear-gradient(115deg,#07162c,#142d4c);padding:22px 36px;gap:22px;border-bottom:1px solid #ffffff14}.reader-brand img{width:112px;height:46px}.reader-name{gap:5px}.reader-name b{font-weight:600;letter-spacing:0}.reader-name small{color:#b5c6db}.reader button{border-color:#dfe5ed;border-radius:12px;min-height:44px;padding:10px 16px;transition:background .18s,box-shadow .18s,transform .18s}.reader button:hover{background:#edf3fb;box-shadow:0 3px 12px #1639610b}.reader button:active{transform:translateY(1px)}.reader button:focus-visible,.reader input:focus-visible,.reader textarea:focus-visible{outline:3px solid #3489ed;outline-offset:3px}.languages{background:#ffffff0b;padding:4px;border:1px solid #ffffff24;border-radius:16px;gap:5px}.languages button{border:0;border-radius:11px;color:#e9f1fb}.languages button[aria-pressed=true]{background:#f9fbff;color:#0b2546;box-shadow:0 2px 10px #0002}.reader-controls{background:#ffffffeb;backdrop-filter:blur(18px);border-bottom:1px solid #e2e7ee;padding:14px;gap:8px}.page-control{padding:0 5px;gap:9px}.page-control input{height:44px;border-radius:10px;border-color:#dfe5ed}.reader-layout{padding:26px 20px;gap:24px}.reader #page-frame{box-shadow:0 24px 70px #14233c19,0 3px 12px #14233c0c;outline:1px solid #15243b0a}.reader #toc{border-color:#e4e9f0;border-radius:18px;padding:20px}.reader #search{border-radius:12px;min-height:44px}.reader .toc-item{border-radius:9px;line-height:1.6}.reader #text-view{border-radius:20px;padding:clamp(24px,5vw,56px);box-shadow:0 12px 40px #10284708;line-height:1.9}.reading-note{background:#ffffffa8;border:1px solid #e4e9ef;padding:22px;border-radius:18px}.reading-note textarea{border-radius:12px;min-height:85px}.bottom-nav{margin:26px 0;gap:20px}#reader-status{margin-top:14px}.reader #activity{border-radius:18px;border-color:#dfe6ef;padding:30px}
@media(max-width:750px){.reader-head{padding:16px;gap:12px}.reader-brand img{width:86px;height:36px}.reader-name{font-size:13px}.languages{margin-inline-start:auto}.languages button{padding:8px 10px;font-size:12px}.reader-controls{padding:10px 7px;gap:6px}.reader button{min-height:44px;padding:9px 12px}.reader-layout{padding:14px 6px}.reader #toc{border-radius:0}.reading-note{margin-inline:8px;padding:18px}.bottom-nav{gap:10px}.bottom-nav span{font-size:12px}.reader-controls #activity-toggle{order:0}}
@media(prefers-reduced-motion:reduce){.reader *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
