@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');
:root{--cream:#f8f6f1;--white:#fffefa;--ink:#26251f;--muted:#959087;--subtle:#6f6b63;--accent:#ad694e;--accent-dark:#8f4e36;--border:#ece7df;--shadow:0 20px 55px rgba(45,35,23,.055);--reader-bg:#f7f2e8;--reader-fg:#2e2b27;--reader-size:20px;--reader-leading:1.8;--reader-font:Georgia,'Times New Roman',serif;--reader-max:700px;--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}body{background:var(--cream);color:var(--ink);font:14px/1.5 'DM Sans',system-ui,-apple-system,sans-serif;-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}a{text-decoration:none;color:inherit}.hidden{display:none!important}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.app-shell{display:flex;height:100%;min-height:0}.sidebar{width:252px;flex:0 0 252px;background:#fffdfa;border-right:1px solid var(--border);padding:36px 23px 28px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;margin:0 10px}.brand-symbol{height:35px;width:35px;border-radius:12px;background:var(--accent);color:white;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.brand-symbol svg{width:21px;height:21px;stroke-width:1.75}.brand-name,.mobile-brand>span:last-child{font:38px/.95 'DM Serif Display',Georgia,serif;letter-spacing:-1.9px}.brand-dot,.serif-period{color:var(--accent)}.side-caption{font-size:9px;letter-spacing:2px;font-weight:700;color:#aba69e;margin:20px 10px 65px}.side-nav{display:grid;gap:8px}.nav-link{display:flex;align-items:center;text-align:left;gap:15px;border:0;padding:15px 16px;border-radius:11px;color:#79746b;background:transparent;font-weight:600}.nav-link svg{width:19px;height:19px}.nav-link.active{color:var(--accent-dark);background:#f8ede6}.nav-link:hover{background:#f9f2ed}.sidebar-bottom{margin-top:auto;color:#9c978d;font-size:11px;padding:0 10px}.sidebar-inspire{font:italic 19px/1.5 Georgia,serif;color:#8a7362;margin-bottom:28px}.main-area{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:83px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(25px,5vw,77px);border-bottom:1px solid var(--border);background:#fffefa77}.topbar-label{font-size:10px;letter-spacing:2.4px;color:#aaa39a;font-weight:700}.topbar-actions{display:flex;align-items:center;gap:14px}.storage-pill{display:flex;align-items:center;gap:8px;color:#918a80;font-size:11px}.online-dot{width:7px;height:7px;background:#88a38d;border-radius:50%}.mobile-brand,.add-mobile{display:none!important}.icon-btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#736e65;border-radius:10px;width:36px;height:36px}.icon-btn:hover{background:#f5ede5}.main-scroll{overflow-y:auto;flex:1;min-height:0;padding:42px clamp(25px,5vw,77px) 75px;scrollbar-width:thin}.tab-panel{max-width:1220px;margin:auto}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:36px}.eyebrow{font-size:10px;letter-spacing:2.1px;color:var(--accent);font-weight:700;margin-bottom:13px}.section-heading h1{font:normal clamp(37px,3.5vw,55px)/1.05 'DM Serif Display',Georgia,serif;letter-spacing:-1.1px;margin:0 0 12px}.section-heading p,.collection-title p{color:#9c968d;margin:0;font-size:13px}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;background:var(--accent);color:white;padding:13px 19px;border-radius:9px;font-size:12px;font-weight:700;box-shadow:0 7px 19px #ad694e2b;white-space:nowrap}.btn-primary:hover{background:var(--accent-dark)}.btn-primary svg{width:17px;height:17px}.continue-wrapper{margin-bottom:46px}.continue-heading{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;margin-bottom:16px;color:#7e756d}.continue-heading .small-line{width:20px;height:1px;background:var(--accent)}.continue-card{display:flex;position:relative;align-items:center;gap:30px;background:#ece6dc;padding:27px 35px;border-radius:17px;min-height:205px;overflow:hidden}.continue-card:before{content:"";position:absolute;width:250px;height:250px;border:1px solid rgba(159,133,109,.23);border-radius:50%;right:-40px;top:-102px;pointer-events:none}.continue-card:after{content:"";position:absolute;width:190px;height:190px;border:1px solid rgba(159,133,109,.20);border-radius:50%;right:47px;top:-75px;pointer-events:none}.continue-cover{width:103px;height:153px;flex-shrink:0;box-shadow:9px 12px 24px #57473530;z-index:1}.continue-detail{z-index:1;max-width:490px;flex:1;min-width:0}.continue-kicker{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#a97862;text-transform:uppercase}.continue-detail h3{font:normal 28px/1.1 'DM Serif Display',Georgia,serif;letter-spacing:-.4px;margin:10px 0 5px;overflow-wrap:anywhere}.continue-detail p{color:#8d8176;font-size:12px;margin:0 0 17px}.resume-progress{display:flex;align-items:center;gap:12px;margin-bottom:16px;max-width:310px}.resume-progress .progress-track{background:#d8cfc3}.resume-progress>span{color:#8e7c6e;font-size:11px;font-weight:700}.progress-track{height:5px;background:#eae4dd;border-radius:10px;overflow:hidden;flex:1}.progress-fill{height:100%;width:0;background:var(--accent);border-radius:10px;transition:width .2s}.text-link{border:0;padding:0;background:transparent;color:var(--accent-dark);font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:8px}.text-link svg{width:17px;height:17px}.collection-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.collection-title h2{font:normal 29px 'DM Serif Display',Georgia,serif;margin:0 0 4px}.count-badge{display:inline-flex;align-items:center;justify-content:center;background:#ece7dd;border-radius:99px;min-width:27px;height:27px;padding:0 7px;margin-left:5px;font:600 12px 'DM Sans',sans-serif;color:#8a7e72;vertical-align:middle}.searchbox{height:41px;border:1px solid #e8e2d9;display:flex;align-items:center;gap:9px;padding:0 12px;border-radius:9px;background:#fffefa;min-width:228px;color:#9b958b}.searchbox svg{width:16px;height:16px}.searchbox input{background:transparent;border:0;outline:none;width:100%;color:var(--ink);font-size:12px}.book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:29px 23px}.book-item{min-width:0}.book-cover-wrap{position:relative;max-width:245px}.book-cover{width:100%;aspect-ratio:2/2.95;border:0;border-radius:5px 9px 9px 5px;box-shadow:8px 10px 22px rgba(35,32,28,.13),inset 7px 0 0 #00000012;position:relative;overflow:hidden;text-align:left;display:flex;flex-direction:column;padding:22px 17px 18px;color:#fff;transition:transform .18s,box-shadow .18s;isolation:isolate}.book-cover:before{content:"";position:absolute;inset:-40% -30% auto auto;height:94%;width:110%;border:1px solid rgba(255,255,255,.3);border-radius:50%;z-index:-1;transform:rotate(-28deg)}.book-cover:after{content:"";position:absolute;bottom:-40px;left:-28px;width:75%;aspect-ratio:1;border:1px solid rgba(255,255,255,.18);border-radius:50%;z-index:-1}.book-cover:hover{transform:translateY(-5px);box-shadow:9px 14px 24px #2720182a}.book-cover small{font-size:8px;letter-spacing:2.1px;opacity:.75;text-transform:uppercase;font-weight:700}.book-cover strong{font:normal clamp(18px,2vw,27px)/1.13 'DM Serif Display',Georgia,serif;margin:auto 0 10px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.book-cover em{font-size:10px;opacity:.8;font-style:normal;letter-spacing:.2px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-cover .decorative-dash{width:32px;height:1px;background:rgba(255,255,255,.7);margin:12px 0}.book-heart{position:absolute;top:11px;right:11px;z-index:2;background:#fffefae9;border:0;width:33px;height:33px;display:grid;place-items:center;border-radius:50%;color:#8f897e;box-shadow:0 3px 9px #0000001a}.book-heart svg{width:17px;height:17px}.book-heart.loved{color:#b76055}.book-heart.loved svg{fill:#b76055;stroke:#b76055}.book-name{font-weight:700;margin:15px 0 3px;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.book-by{color:#9a9389;font-size:11px;margin:0 0 10px;overflow-wrap:anywhere}.book-foot{font-size:10px;color:#928b80;display:flex;justify-content:space-between;align-items:center;gap:6px}.book-foot .mini-progress{height:3px;background:#e9e1d8;width:48px;border-radius:5px;overflow:hidden}.mini-progress>span{display:block;height:100%;background:var(--accent)}.book-item-buttons{display:flex;justify-content:space-between;align-items:center;gap:8px}.mini-more{border:0;background:none;font-size:11px;color:var(--accent);padding:3px 0;font-weight:600}.empty-state{grid-column:1/-1;text-align:center;background:#fffdf9;border:1px dashed #ddd2c5;padding:60px 20px;border-radius:16px;color:#8d867b}.empty-state .empty-icon{width:55px;height:55px;margin:0 auto 15px;border-radius:18px;background:#f8ede6;display:grid;place-items:center;color:var(--accent)}.empty-state .empty-icon svg{width:25px;height:25px}.empty-state h3{font:normal 26px 'DM Serif Display',Georgia,serif;color:var(--ink);margin:0 0 7px}.empty-state p{max-width:330px;margin:0 auto 20px;font-size:12px}.notes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(310px,100%),1fr));gap:15px}.note-card{border:1px solid var(--border);background:#fffcf8;border-radius:12px;padding:19px 20px;text-align:left;color:var(--ink);min-width:0}.note-card:hover{border-color:#d2b6a3}.note-quote{font:italic 18px/1.5 Georgia,serif;margin:0 0 11px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.note-body{font-size:12px;color:#776d62;white-space:pre-wrap;margin:0 0 12px}.note-meta{font-size:10px;color:#9a8c7d}.note-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#eccd76;margin-right:6px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:960px}.settings-card{background:#fffdf9;border:1px solid var(--border);border-radius:15px;padding:27px}.settings-icon{background:#f8ede6;color:var(--accent);width:42px;height:42px;border-radius:12px;display:grid;place-items:center;margin-bottom:16px}.settings-card h3{font:normal 23px 'DM Serif Display',Georgia,serif;margin:0 0 8px}.settings-card p{font-size:12px;color:#8c857b;line-height:1.8;min-height:57px}.btn-secondary,.btn-quiet{border:1px solid #e7ddd4;background:#fff;color:#7e5b49;border-radius:8px;padding:10px 12px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:5px}.btn-secondary svg{width:15px;height:15px}.btn-quiet{border-color:transparent;background:transparent;color:#77716a}.setting-actions{display:flex;flex-wrap:wrap;gap:7px}.btn-danger-text{border:0;background:none;color:#b15b50;font-size:11px;padding:10px 0}.bottom-nav{display:none}
/* modal */
.modal-shade{position:fixed;inset:0;z-index:50;background:#24211b85;display:flex;align-items:center;justify-content:center;padding:22px;backdrop-filter:blur(3px)}.modal-card{background:#fffdf9;color:var(--ink);width:min(100%,515px);border-radius:17px;padding:22px;max-height:min(85dvh,790px);overflow-y:auto;box-shadow:0 25px 100px #241f193b}.modal-head,.drawer-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.modal-head h2,.drawer-top h3{font:normal 26px 'DM Serif Display',Georgia,serif;margin:0}.modal-body{margin:22px 0 13px;color:#70675e}.modal-footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.modal-text{font-size:13px;line-height:1.7;margin:0 0 17px}.field-label{display:block;font-size:11px;font-weight:700;color:#8c8177;margin:17px 0 7px}.field-control{display:block;width:100%;background:white;border:1px solid #e6dfd7;border-radius:9px;padding:12px;color:var(--ink);outline-color:var(--accent);font-size:13px}.field-control.textarea{min-height:130px;resize:vertical}.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.choice{padding:10px 11px;border-radius:9px;border:1px solid #e6dfd7;background:transparent;color:#776b61;text-align:center;font-weight:600;font-size:12px}.choice.selected{border-color:var(--accent);background:#faeee7;color:var(--accent-dark)}.theme-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.theme-choice{border:2px solid transparent;border-radius:11px;padding:7px;background:transparent}.theme-choice.active{border-color:var(--accent)}.theme-preview{height:60px;border-radius:8px;border:1px solid #00000014;display:grid;place-items:center;font:normal 25px Georgia,serif}.theme-choice small{display:block;font-size:10px;margin-top:6px;color:#7e756b}.slider-row{display:flex;align-items:center;gap:12px}.slider-row input{flex:1;accent-color:var(--accent)}.slider-row output{min-width:35px;font-size:12px;color:var(--ink);text-align:right}.index-entry{width:100%;background:none;border:0;text-align:left;padding:13px 0;border-bottom:1px solid var(--border);color:#675f54;font-size:13px}.index-entry:hover,.index-entry.active{color:var(--accent-dark)}.modal-hint{padding:12px 14px;border:1px solid #efe4d9;border-radius:9px;background:#fbf4ed;color:#8c6c5d;font-size:11px;line-height:1.7}.toast{position:fixed;z-index:90;left:50%;bottom:calc(24px + var(--safe-bottom));transform:translate(-50%,25px);background:#2c2b27;color:#fff;border-radius:9px;padding:12px 19px;min-width:150px;max-width:calc(100% - 40px);text-align:center;font-size:12px;box-shadow:0 8px 30px #0003;opacity:0;visibility:hidden;transition:transform .25s,opacity .25s,visibility .25s}.toast.show{transform:translate(-50%,0);opacity:1;visibility:visible}.drop-zone{border:1px dashed #cdb9a7;background:#fbf6f0;border-radius:13px;padding:30px;text-align:center;cursor:pointer}.drop-zone svg{width:28px;height:28px;color:var(--accent);margin-bottom:10px}.drop-zone h3{margin:0 0 5px;font:normal 23px 'DM Serif Display',Georgia,serif;color:var(--ink)}.drop-zone p{font-size:11px;color:#91877e}.drop-zone.dragging{background:#f4e8de;border-color:var(--accent)}
/* immersive reader */
.reader{position:fixed;z-index:30;inset:0;display:flex;flex-direction:column;background:var(--reader-bg);color:var(--reader-fg);transition:background .2s}.reader-topbar{height:72px;flex:0 0 72px;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(17px,5vw,75px);border-bottom:1px solid color-mix(in srgb,var(--reader-fg) 11%,transparent);gap:12px;z-index:2}.reader-left,.reader-actions{display:flex;align-items:center;gap:12px;min-width:0}.reader-icon-btn,.reader-foot-arrow{width:38px;height:38px;border:0;border-radius:9px;background:transparent;color:var(--reader-fg);display:grid;place-items:center;flex-shrink:0}.reader-icon-btn:hover,.reader-foot-arrow:hover{background:color-mix(in srgb,var(--reader-fg) 8%,transparent)}.reader-book-meta{display:flex;flex-direction:column;min-width:0}.reader-book-title{font-weight:700;font-size:12px;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reader-book-meta small{font-size:10px;opacity:.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aa{font:normal 19px Georgia,serif}.reader-viewport{height:100%;min-height:0;flex:1;overflow:hidden;position:relative;touch-action:pan-y;outline:none}.reader-pages{height:100%;width:100%;margin:0;column-gap:var(--page-gap,64px);column-width:var(--page-width,700px);column-fill:auto;will-change:transform;transform:translateX(0);transition:transform .16s ease-out}.reader-text{font:normal var(--reader-size)/var(--reader-leading) var(--reader-font);white-space:pre-wrap;overflow-wrap:break-word;hyphens:auto;letter-spacing:.1px;text-align:left;color:var(--reader-fg);padding:clamp(19px,4vh,43px) 0;max-width:var(--reader-max);margin:auto}.reader-text mark{color:inherit;background:#f3dd87bb;border-radius:2px;cursor:pointer;box-decoration-break:clone;-webkit-box-decoration-break:clone}.reader-text mark.has-note{box-shadow:inset 0 -2px #c98b53}.reader-viewport.scroll-mode{overflow-y:auto;overflow-x:hidden;touch-action:pan-y;scroll-behavior:auto;scrollbar-width:thin}.reader-viewport.scroll-mode .reader-pages{height:auto;min-height:100%;column-width:auto;column-count:1;transform:none!important;transition:none}.reader-viewport.scroll-mode .reader-text{padding:32px 18px 90px}.reader-footer{height:73px;flex:0 0 73px;border-top:1px solid color-mix(in srgb,var(--reader-fg) 10%,transparent);display:flex;align-items:center;justify-content:center;gap:17px;padding:0 22px calc(var(--safe-bottom) * .2);z-index:2}.reader-progress-block{width:min(490px,100%)}.reader-progress-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--reader-fg);opacity:.63;margin-bottom:9px}.reader-footer .progress-track{height:3px;background:color-mix(in srgb,var(--reader-fg) 13%,transparent)}.reader-footer .progress-fill{background:var(--accent)}.page-tap{position:absolute;top:80px;bottom:90px;width:min(7vw,63px);border:0;background:none;z-index:1}.page-tap-left{left:0}.page-tap-right{right:0}.reader.scroll-reading .page-tap{display:none}.selection-menu{position:fixed;z-index:36;display:flex;gap:3px;box-shadow:0 10px 35px #0002;background:#292722;color:white;padding:5px;border-radius:10px;left:50%;top:100px;transform:translateX(-50%);max-width:90vw}.selection-menu button{display:flex;align-items:center;gap:6px;background:none;border:0;color:white;font-size:12px;padding:9px;border-radius:7px;white-space:nowrap}.selection-menu button:hover{background:#ffffff1e}.selection-menu svg{width:16px;height:16px}.highlight-dot{width:12px;height:12px;border-radius:50%;background:#f0d478}.reader-scrim{position:absolute;inset:0;z-index:6;background:#17141170}.reader-drawer{position:absolute;right:0;top:0;bottom:0;z-index:7;width:min(375px,88%);padding:27px 22px;box-shadow:-10px 0 35px #0002;background:var(--reader-bg);color:var(--reader-fg);display:flex;flex-direction:column}.drawer-body{overflow-y:auto;flex:1;padding:20px 0}.drawer-entry{background:none;border:0;border-bottom:1px solid color-mix(in srgb,var(--reader-fg) 12%,transparent);display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;color:inherit;padding:17px 2px;font-size:12px}.drawer-entry.active{font-weight:700;color:var(--accent)}.drawer-entry small{opacity:.55}.drawer-note{padding:15px 0;border-bottom:1px solid color-mix(in srgb,var(--reader-fg) 12%,transparent)}.drawer-note blockquote{margin:0 0 7px;font:italic 15px/1.5 Georgia,serif}.drawer-note p{font-size:12px;opacity:.75;white-space:pre-wrap}.drawer-note button{background:transparent;border:0;color:var(--accent);font-size:11px;padding:5px 0}.drawer-empty{font-size:13px;opacity:.7;line-height:1.7}.reader[data-theme="paper"]{--reader-bg:#f7f2e8;--reader-fg:#2e2b27}.reader[data-theme="white"]{--reader-bg:#fff;--reader-fg:#222}.reader[data-theme="sepia"]{--reader-bg:#ecdec4;--reader-fg:#51412d}.reader[data-theme="night"]{--reader-bg:#1d2227;--reader-fg:#e1e2db}.reader[data-theme="night"] .reader-text mark{background:#988146aa}
@media(max-width:1100px){.sidebar{width:216px;flex-basis:216px;padding:29px 15px}.topbar{padding:0 30px}.main-scroll{padding:38px 30px 60px}.book-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:23px 19px}.book-cover{padding:18px 14px}}
@media(max-width:700px){.sidebar{display:none}.topbar{height:66px;padding:0 19px}.topbar-label,.storage-pill{display:none}.mobile-brand{display:flex!important;align-items:center;gap:8px;font:normal 29px 'DM Serif Display',Georgia,serif;letter-spacing:-1px}.mobile-brand .brand-symbol{height:30px;width:30px;border-radius:9px}.mobile-brand .brand-symbol svg{width:18px;height:18px}.add-mobile{display:inline-flex!important;background:#f8eee6;color:var(--accent);width:35px;height:35px}.main-scroll{padding:25px 19px calc(98px + var(--safe-bottom))}.section-heading{margin-bottom:27px;align-items:flex-start}.section-heading h1{font-size:40px}.section-heading p{font-size:12px}.eyebrow{font-size:9px;margin-bottom:10px}.section-heading>.btn-primary{display:none}.continue-wrapper{margin-bottom:32px}.continue-heading{margin-bottom:10px}.continue-card{padding:18px;min-height:174px;gap:17px;border-radius:14px}.continue-cover{width:77px;height:115px;box-shadow:6px 7px 13px #57473535}.continue-detail h3{font-size:22px}.continue-detail p{font-size:10px;margin-bottom:10px}.continue-kicker{font-size:9px}.resume-progress{margin-bottom:9px}.collection-title{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:20px}.collection-title h2{font-size:27px}.collection-controls,.searchbox{width:100%}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}.book-cover-wrap{max-width:none}.book-cover{padding:18px 14px}.book-cover strong{font-size:clamp(19px,5vw,27px)}.book-name{font-size:12px}.book-by{font-size:10px}.settings-grid{grid-template-columns:1fr}.settings-card p{min-height:0}.bottom-nav{height:calc(69px + var(--safe-bottom));padding-bottom:var(--safe-bottom);display:flex;align-items:stretch;justify-content:space-around;background:#fffefa;border-top:1px solid #e8e2d9;flex-shrink:0}.bottom-link{border:0;background:none;color:#a39a90;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;flex:1;min-width:0;font-size:9px;font-weight:600}.bottom-link.active{color:var(--accent)}.bottom-link svg{width:21px;height:21px}.reader-topbar{height:62px;flex-basis:62px;padding:0 11px}.reader-left,.reader-actions{gap:1px}.reader-book-title{max-width:min(37vw,200px);font-size:11px}.reader-book-meta small{font-size:9px;max-width:min(37vw,200px)}.reader-icon-btn{width:36px;height:36px}.reader-icon-btn svg{width:19px;height:19px}.reader-text{padding:24px 0;max-width:100%}.reader-footer{height:calc(62px + var(--safe-bottom));flex-basis:calc(62px + var(--safe-bottom));padding-bottom:var(--safe-bottom);gap:6px}.reader-foot-arrow{width:29px}.page-tap{width:18px;top:65px;bottom:70px}.reader-viewport.scroll-mode .reader-text{padding:24px 0 75px}.modal-shade{padding:10px 10px calc(10px + var(--safe-bottom));align-items:flex-end}.modal-card{border-radius:20px 20px 13px 13px;padding:20px 17px;max-height:87dvh}.toast{bottom:calc(85px + var(--safe-bottom))}.reader .toast{bottom:calc(20px + var(--safe-bottom))}}
@media(max-width:370px){.continue-card{gap:10px;padding:15px}.continue-cover{width:66px;height:98px}.continue-detail h3{font-size:19px}.continue-kicker{font-size:8px}.book-grid{gap:18px 12px}.reader-book-title{max-width:90px}.reader-book-meta small{max-width:90px}}
/* Additional compact controls */
.choice svg{width:15px;height:15px;vertical-align:-3px;margin-right:3px}.reader-viewport{width:min(760px,calc(100% - 56px));margin-left:auto;margin-right:auto}.reader-text{max-width:none;margin:0;padding:30px 0}.reader-pages{max-width:none}.reader-viewport.scroll-mode{width:min(760px,calc(100% - 56px))}.reader-viewport.scroll-mode .reader-text{max-width:720px;margin:auto}
@media(max-width:700px){.reader-viewport{width:calc(100% - 48px)}.reader-viewport.scroll-mode{width:calc(100% - 48px)}.reader-text{padding:25px 0}.reader-viewport.scroll-mode .reader-text{padding:26px 0 76px}}

/* Keep the featured book cover at a real book aspect ratio */
.continue-cover.book-cover{width:103px;height:153px;aspect-ratio:auto}
@media(max-width:700px){.continue-cover.book-cover{width:77px;height:115px}}
@media(max-width:370px){.continue-cover.book-cover{width:66px;height:98px}}
