@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{--ink:#20282a;--muted:#737979;--paper:#f7f5f0;--white:#fff;--line:#deded8;--accent:#e87550;--accent-dark:#cb5d3c;--mint:#cbded7;--shadow:0 20px 60px #24312b16;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.35;cursor:not-allowed}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.page-shell{max-width:1440px;margin:auto;padding-left:7.5%;padding-right:7.5%}.app-view{min-height:100vh}.site-header{height:100px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:42px}.brand{display:inline-flex;align-items:center;gap:11px;font-weight:700;font-size:27px;letter-spacing:-1.9px;line-height:1}.brand-period{color:var(--accent)}.brand-mark{width:27px;height:27px;border:2px solid var(--ink);border-radius:4px;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:3px;padding:4px;transform:rotate(-8deg)}.brand-mark span{display:block;background:var(--ink);border-radius:1px}.brand-mark span:last-child{grid-column:2;grid-row:1/3;background:var(--accent)}.header-nav{display:flex;align-items:center;gap:25px;margin-left:32px;color:#898d8b;font-size:13px}.nav-link{font-weight:700;color:var(--ink);padding:8px 0}.nav-separator{height:17px;width:1px;background:#d4d5d0}.nav-caption{letter-spacing:.01em}.site-header>.button{margin-left:auto}.button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:0 18px;border-radius:8px;font-weight:700;font-size:13px;white-space:nowrap;transition:transform .15s,background .15s,box-shadow .15s}.button:hover:not(:disabled){transform:translateY(-2px)}.button svg{width:17px;height:17px;stroke-width:2}.button-dark{background:var(--ink);color:#fff}.button-dark:hover{background:#354042}.button-accent{background:var(--accent);color:#fff;box-shadow:0 8px 18px #e8755030}.button-accent:hover{background:var(--accent-dark)}.button-outline{background:#fff;color:var(--ink);border:1px solid var(--line)}.button-plain{background:#f3f3ef;color:var(--ink)}.library-main{padding-top:54px}.hero{min-height:415px;display:grid;grid-template-columns:1.1fr .9fr;background:#eeede6;border-radius:18px;overflow:hidden;position:relative}.hero-copy{padding:52px 0 48px 7.4%;z-index:2;max-width:620px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.17em;color:#bd654d;display:flex;align-items:center;gap:11px}.eyebrow-line{display:inline-block;width:22px;height:1px;background:currentColor}.eyebrow.small{font-size:10px;letter-spacing:.16em}.hero h1{font-family:'DM Serif Display',Georgia,serif;font-weight:400;letter-spacing:-.045em;font-size:clamp(44px,4.4vw,70px);line-height:1.02;margin-top:25px}.hero h1 em{font-weight:400;color:#a85b48}.hero-dot{color:var(--accent)}.hero p{font-size:14px;line-height:1.75;color:#68706e;max-width:425px;margin-top:20px}.text-link{background:none;border:0;border-bottom:1px solid var(--ink);padding:0 0 7px;display:flex;align-items:center;gap:24px;font-weight:700;font-size:13px;margin-top:31px}.text-link svg{width:16px;height:16px;transition:transform .15s}.text-link:hover svg{transform:translateX(4px)}.hero-art{position:relative;min-height:415px;overflow:hidden}.art-orbit{position:absolute;border:1px solid #d3d4cc;border-radius:50%;width:510px;height:510px;left:50px;top:-75px}.orbit-two{width:350px;height:350px;left:125px;top:5px}.art-card{position:absolute;border-radius:8px;box-shadow:0 24px 36px #36424224;overflow:hidden}.art-card-back{width:220px;height:290px;background:#879c96;transform:rotate(12deg);left:135px;top:76px}.art-grid{position:absolute;inset:20px;background:linear-gradient(#ffffff3e 1px,transparent 1px),linear-gradient(90deg,#ffffff3e 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(to bottom,#000,transparent)}.art-caption{position:absolute;left:22px;bottom:22px;color:#fff;font-size:9px;font-weight:700;letter-spacing:.18em}.art-card-front{width:232px;height:320px;background:#e5a17e;left:260px;top:38px;transform:rotate(-9deg);border:8px solid #fcf5ec}.art-sun{position:absolute;width:110px;height:110px;left:57px;top:33px;background:#f2d2a5;border-radius:50%;box-shadow:0 0 0 24px #f2d2a533}.art-hill{position:absolute;width:350px;height:220px;border-radius:50%;bottom:-76px}.art-hill-one{left:-130px;background:#a86e5d;transform:rotate(-19deg)}.art-hill-two{left:60px;background:#294b4b;transform:rotate(20deg);bottom:-98px}.art-panel-label{position:absolute;z-index:2;left:21px;top:18px;color:#333a36;font-size:14px;font-weight:700;line-height:1.05;letter-spacing:.09em}.art-number{position:absolute;right:13px;bottom:11px;z-index:2;color:#f8e3d2;font-size:9px;font-weight:700}.art-star{position:absolute;left:90px;top:30px;color:#e48c6a;font-size:41px}.art-spark{position:absolute;right:37px;bottom:23px;color:#eeab84;font-size:35px}.library-section{padding:67px 0 85px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:29px}.section-heading h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:39px;letter-spacing:-.035em;margin-top:7px}.count-pill{font-family:'DM Sans',sans-serif;font-size:12px;font-weight:700;letter-spacing:0;background:#e8e8e1;border-radius:99px;display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:27px;vertical-align:middle;margin-left:7px}.section-actions{display:flex;gap:10px}.search-box{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:0 14px;height:40px;width:230px;color:#858b88}.search-box svg{width:17px;height:17px}.search-box input{outline:0;border:0;width:100%;background:transparent;font-size:12px;color:var(--ink)}.search-box input::placeholder{color:#a0a4a0}.icon-button{border:1px solid var(--line);background:#fff;color:var(--ink);width:38px;height:38px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}.icon-button svg{width:16px;height:16px}.refresh-button{font-size:23px;line-height:1}.comic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}.comic-card{background:#fff;border:1px solid #e9e8e3;border-radius:12px;padding:13px 13px 16px;min-width:0;cursor:pointer;transition:transform .2s,box-shadow .2s}.comic-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.cover{height:290px;border-radius:7px;background:#e1e9e2;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.cover canvas{height:100%;max-width:100%;width:auto;object-fit:contain;box-shadow:0 6px 16px #22302d25}.cover-placeholder{height:100%;width:100%;display:flex;align-items:center;justify-content:center;position:relative;background:#dce4df}.cover-placeholder::before{content:"";width:145px;height:205px;border-radius:4px;background:#698a82;transform:rotate(-8deg);box-shadow:8px 10px 20px #1f333b2c}.cover-placeholder::after{content:"READ / EXPLORE";position:absolute;color:#fff;font-size:10px;font-weight:700;letter-spacing:.15em;transform:rotate(-8deg)}.cover-skeleton{position:absolute;inset:0;background:linear-gradient(90deg,transparent,#ffffff50,transparent);animation:shimmer 1.4s infinite}@keyframes shimmer{from{transform:translateX(-100%)}to{transform:translateX(100%)}}.comic-meta{padding:15px 3px 0}.comic-kicker{font-size:10px;font-weight:700;letter-spacing:.13em;color:#ad6f5c}.comic-title{font-size:16px;font-weight:700;line-height:1.3;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.comic-subtitle{color:#929895;font-size:12px;margin-top:6px}.card-progress{height:4px;border-radius:4px;background:#ecece8;margin-top:18px;overflow:hidden}.card-progress span{display:block;background:var(--accent);height:100%;border-radius:4px}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px;color:#6f7774;font-size:11px;font-weight:600}.card-bottom svg{width:14px;height:14px;color:var(--accent)}.continue-section{margin-bottom:34px}.continue-heading{font-size:12px;font-weight:700;letter-spacing:.13em;color:#858b87;margin-bottom:14px}.continue-card{display:flex;align-items:center;gap:20px;padding:14px;background:#e5eae3;border-radius:10px;cursor:pointer;max-width:550px}.continue-card:hover{background:#dce5dc}.continue-cover{width:52px;height:65px;border-radius:4px;background:#557a72;overflow:hidden;flex:none}.continue-cover canvas{width:100%;height:100%;object-fit:cover}.continue-copy{flex:1;min-width:0}.continue-copy .eyebrow{font-size:9px}.continue-copy strong{display:block;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.continue-copy span{font-size:11px;color:#69746f}.continue-arrow{margin-right:10px}.empty-state{max-width:620px;margin:12px auto 30px;text-align:center;padding:50px 20px 65px}.empty-illustration{height:175px;width:220px;margin:0 auto 24px;position:relative}.empty-page{position:absolute;width:110px;height:150px;border-radius:5px;box-shadow:0 15px 27px #35414120}.empty-page-back{background:#a7bbb0;transform:rotate(-14deg);left:43px;top:15px}.empty-page-front{background:#efc3a1;transform:rotate(8deg);left:83px;top:8px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:16px;text-align:left}.empty-page-front svg{width:30px;height:30px}.empty-page-front span{font-weight:700;font-size:12px;line-height:1.1}.empty-plus{position:absolute;top:0;left:20px;font-size:35px;color:var(--accent)}.empty-state .eyebrow{justify-content:center}.empty-state h3{font-family:'DM Serif Display',Georgia,serif;font-size:34px;font-weight:400;margin:12px 0}.empty-state p{font-size:13px;line-height:1.8;color:#79807c;max-width:455px;margin:0 auto 24px}.empty-state code{color:#4e6660;background:#e7ebe4;border-radius:4px;padding:2px 5px}.no-results{text-align:center;padding:75px;color:#7f8581}.site-footer{height:72px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#9aa09a;font-size:10px;font-weight:700;letter-spacing:.12em}.reader-view{height:100vh;min-height:600px;display:flex;flex-direction:column;background:#f6f5f1}.reader-header{height:76px;flex:none;display:flex;align-items:center;padding:0 30px;background:#fff;border-bottom:1px solid #e8e8e3;gap:22px}.reader-back{display:flex;gap:6px;align-items:center;border:0;background:none;font-size:13px;font-weight:700;color:#5e6964;padding:7px 0}.reader-back svg{width:16px;height:16px}.reader-header-divider{height:27px;width:1px;background:var(--line)}.reader-title-wrap{min-width:0}.reader-overline{font-size:9px;font-weight:700;letter-spacing:.16em;color:#bd7258}.reader-title-wrap h1{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:430px;margin-top:2px}.reader-header-actions{display:flex;align-items:center;gap:22px;margin-left:auto}.saved-indicator{font-size:11px;color:#8d9791;display:flex;gap:6px;align-items:center;white-space:nowrap}.saved-indicator svg{width:13px;height:13px;color:#75a58e}.notes-count{background:#e8ebe8;border-radius:99px;min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-size:10px}.reader-layout{display:flex;min-height:0;flex:1}.reader-main{display:flex;flex:1;min-width:0;flex-direction:column}.reader-toolbar{height:61px;background:#fbfbf9;border-bottom:1px solid #e7e7e2;display:flex;justify-content:space-between;align-items:center;padding:0 30px;flex:none}.toolbar-group{display:flex;align-items:center;gap:8px}.toolbar-label{font-size:10px;font-weight:700;letter-spacing:.12em;color:#a4aaa5;margin-right:6px}.toolbar-icon{width:30px;height:30px;border:0;background:transparent;border-radius:6px;color:#68736d;display:flex;align-items:center;justify-content:center}.toolbar-icon:hover:not(:disabled){background:#e9ece8}.toolbar-icon svg{width:16px;height:16px}.page-counter{font-size:12px;font-weight:700;min-width:62px;text-align:center}.page-counter span{color:#9aa39b;padding:0 3px}.toolbar-right{gap:10px}.zoom-button{font-size:22px;font-weight:400}.zoom-level{font-size:11px;font-weight:700;width:33px;text-align:center;color:#68736d}.toolbar-separator{height:22px;width:1px;background:#e3e5df;margin:0 8px}.button-markup{background:#e7eee9;color:#45675b;min-height:36px}.button-markup.active{background:#3d6c5b;color:#fff}.page-scroller{position:relative;overflow:auto;flex:1;background:#e9ebe7;padding:32px 32px 42px;display:flex;align-items:flex-start;justify-content:center}.pdf-stage{position:relative;margin:auto;min-width:0;min-height:100px}.page-frame{position:relative;background:white;box-shadow:0 6px 33px #202c2824;line-height:0}.page-frame canvas{display:block;max-width:none}.annotation-layer{position:absolute;inset:0;pointer-events:none;line-height:normal}.annotation-mark{position:absolute;border:2px solid var(--mark-border);background:var(--mark-fill);border-radius:2px;pointer-events:auto;cursor:pointer;transition:filter .15s}.annotation-mark:hover,.annotation-mark.selected{filter:saturate(1.6);outline:2px solid #263e34;outline-offset:2px}.selection-box{position:absolute;background:#eccb6d55;border:2px dashed #ae7d2f;pointer-events:none;z-index:5}.page-frame.markup-mode{cursor:crosshair;touch-action:none}.page-frame.markup-mode .annotation-layer{pointer-events:none}.page-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:12px 18px;border-radius:8px;background:#fff;box-shadow:var(--shadow);color:#606b65;font-size:12px;font-weight:700}.reader-bottom{height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-top:1px solid #e1e3de;background:#fbfbf9;flex:none}.page-nav-button{border:0;background:none;display:inline-flex;align-items:center;gap:7px;color:#59665f;font-size:12px;font-weight:700}.page-nav-button svg{width:16px;height:16px}.reader-bottom>span{font-size:10px;letter-spacing:.13em;color:#9ca39e;font-weight:700}.notes-panel{width:322px;flex:none;border-left:1px solid #e6e7e2;background:#fff;display:flex;flex-direction:column;min-height:0}.notes-header{display:flex;align-items:start;justify-content:space-between;padding:28px 23px 0}.notes-header h2{font-family:'DM Serif Display',Georgia,serif;font-size:26px;font-weight:400;margin-top:6px}.notes-header .icon-button{width:30px;height:30px;border:0}.notes-intro{font-size:12px;line-height:1.6;color:#8a938d;padding:10px 23px 0}.notes-filter{display:flex;gap:5px;padding:23px 23px 16px;border-bottom:1px solid #eff0ec}.filter-button{border:0;background:none;border-radius:5px;padding:7px 10px;color:#8d9690;font-size:11px;font-weight:700}.filter-button.active{background:#e7eee9;color:#3c6556}.notes-list{overflow:auto;flex:1;padding:15px 19px}.note-card{border:1px solid #e8eae5;border-radius:8px;padding:13px;margin-bottom:10px;cursor:pointer;transition:border-color .15s,background .15s}.note-card:hover,.note-card.selected{border-color:#abc5b7;background:#f7faf7}.note-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.note-page{font-size:10px;font-weight:700;letter-spacing:.1em;color:#8e9890}.note-dot{width:9px;height:9px;border-radius:50%;background:var(--dot);display:inline-block;margin-right:6px}.note-text{font-size:12px;line-height:1.6;margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere}.note-text.empty-note{color:#9ba39e;font-style:italic}.note-date{font-size:10px;color:#aab0aa;margin-top:11px}.notes-empty{text-align:center;color:#9ba39e;padding:65px 16px;font-size:12px;line-height:1.7}.notes-empty-icon{width:46px;height:46px;margin:0 auto 15px;border-radius:50%;background:#eef2ed;color:#799786;display:grid;place-items:center}.notes-tip{display:flex;gap:10px;background:#f5f7f3;margin:13px 18px 19px;padding:13px;border-radius:8px;color:#829087;font-size:11px;line-height:1.5}.notes-tip svg{flex:none;width:16px;height:16px;color:#729380}.notes-tip strong{color:#557462}.modal-backdrop{position:fixed;inset:0;background:#15231d80;z-index:30;display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(100%,480px);background:#fff;border-radius:14px;box-shadow:0 30px 90px #0c17113d;padding:28px}.modal-top{display:flex;align-items:start;justify-content:space-between}.modal-top h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:29px;margin-top:7px}.modal-top .icon-button{border:0}.modal-description{color:#7d8780;font-size:12px;line-height:1.65;margin-top:14px;margin-bottom:23px}.field-label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.13em;font-weight:700;color:#626e65;margin-bottom:9px}.field-label span{color:#aab0aa}textarea{width:100%;resize:vertical;min-height:112px;border:1px solid #e0e5df;border-radius:8px;outline:none;padding:13px;font-size:13px;line-height:1.5;color:var(--ink)}textarea:focus{border-color:#77a18a;box-shadow:0 0 0 3px #77a18a20}textarea::placeholder{color:#a5aca6}.color-row{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.color-row>span{font-size:10px;letter-spacing:.1em;font-weight:700;color:#626e65}.color-options{display:flex;gap:9px}.color-option{width:25px;height:25px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #ddd;background:#f0c865}.color-option[data-color=coral]{background:#e89783}.color-option[data-color=mint]{background:#a6ccb8}.color-option[data-color=blue]{background:#9fbedb}.color-option.selected{box-shadow:0 0 0 2px #41564b}.modal-actions{display:flex;gap:8px;align-items:center;margin-top:28px}.modal-spacer{flex:1}.delete-link{border:0;background:none;color:#be6b58;font-size:12px;font-weight:700;padding:8px 0}.toast{position:fixed;z-index:50;left:50%;bottom:25px;transform:translate(-50%,30px);background:#263d34;color:#fff;border-radius:8px;padding:11px 17px;font-size:12px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}body.dragging::after{content:'Drop PDFs to add them to your library';position:fixed;inset:14px;z-index:50;display:grid;place-items:center;background:#f4f5edf0;border:3px dashed #799c88;border-radius:16px;font-family:'DM Serif Display',Georgia,serif;font-size:30px;color:#355c49;pointer-events:none}
@media(max-width:1100px){.page-shell{padding-left:5%;padding-right:5%}.comic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-art{transform:scale(.85);transform-origin:center}.notes-panel{width:285px}.reader-title-wrap h1{max-width:260px}}
@media(max-width:800px){.site-header{height:75px}.header-nav{display:none}.library-main{padding-top:24px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:40px 7%;max-width:600px}.hero-art{display:none}.hero h1{font-size:54px}.library-section{padding-top:43px}.comic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notes-panel{position:absolute;z-index:10;right:0;top:76px;bottom:0;box-shadow:-12px 0 35px #17231c1a}.reader-layout{position:relative}.reader-header{padding:0 18px}.reader-header-actions{gap:8px}.saved-indicator{display:none}.reader-title-wrap h1{max-width:200px}.reader-toolbar{padding:0 15px}.reader-bottom{padding:0 15px}}
@media(max-width:560px){.page-shell{padding-left:20px;padding-right:20px}.brand{font-size:24px}.site-header>.button{padding:0 12px}.site-header>.button span{display:none}.hero-copy{padding:38px 25px}.hero h1{font-size:44px}.hero p{font-size:13px}.section-heading{align-items:start;flex-direction:column}.section-heading h2{font-size:33px}.section-actions,.search-box{width:100%}.comic-grid{gap:12px}.comic-card{padding:8px}.cover{height:210px}.comic-meta{padding:10px 2px 2px}.comic-title{font-size:13px}.comic-subtitle{font-size:10px}.site-footer span:nth-child(2){display:none}.reader-header{height:64px;gap:10px}.reader-header-divider,.reader-overline{display:none}.reader-title-wrap h1{font-size:12px;max-width:105px}.notes-toggle{min-height:36px;padding:0 9px}.notes-toggle svg{display:none}.reader-toolbar{height:55px}.toolbar-label,.toolbar-separator{display:none}.toolbar-group{gap:2px}.toolbar-right{gap:3px}.button-markup{padding:0 9px}.button-markup span{display:none}.page-scroller{padding:16px}.reader-bottom{height:56px}.notes-panel{top:64px;width:min(85vw,320px)}.modal{padding:22px}.modal-actions{flex-wrap:wrap}.modal-actions .button{padding:0 12px}}
.fullscreen-button{min-height:36px;padding:0 11px}.fullscreen-button svg{width:16px;height:16px}.reader-view:fullscreen,.reader-view.immersive-fallback{width:100vw;height:100dvh;min-height:0;background:#f6f5f1}.reader-view.immersive-fallback{position:fixed;inset:0;z-index:20}.reader-view:fullscreen .reader-layout,.reader-view.immersive-fallback .reader-layout{min-height:0}@media(max-width:800px){.fullscreen-button span{display:none}}@media(max-width:560px){.fullscreen-button{width:36px;padding:0}.reader-header-actions{gap:5px}.reader-title-wrap h1{max-width:90px}}
.reader-view{position:relative;overflow:hidden}.top-panel{flex:none;z-index:15;background:#fff}.reader-layout{position:relative}.reader-view.top-unpinned .top-panel{position:absolute;left:0;right:0;top:0;transform:translateY(-102%);visibility:hidden;box-shadow:0 12px 36px #15231d2b;transition:transform .22s,visibility .22s}.reader-view.top-unpinned.top-open .top-panel{transform:translateY(0);visibility:visible}.reader-view.notes-unpinned .notes-panel{position:absolute;right:0;top:0;bottom:0;z-index:13;transform:translateX(102%);visibility:hidden;box-shadow:-12px 0 35px #17231c1a;transition:transform .22s,visibility .22s}.reader-view.notes-unpinned.notes-open .notes-panel{transform:translateX(0);visibility:visible}.panel-handle{position:absolute;z-index:14;border:1px solid #cbd7ce;background:#fff;color:#3a6652;box-shadow:0 4px 18px #15231d22;border-radius:0 0 9px 9px;padding:8px 14px;font-size:12px;font-weight:700}.top-handle{top:0;left:50%;transform:translateX(-50%)}.notes-handle{right:0;top:42%;border-radius:9px 0 0 9px;display:flex;align-items:center;gap:6px;writing-mode:vertical-rl;padding:13px 8px}.notes-handle svg{width:17px;height:17px}.notes-header-actions{display:flex;gap:3px}.panel-pin[aria-pressed=true]{background:#e7eee9;color:#3d6c5b}.close-top{display:none}.top-unpinned .close-top{display:inline-flex}.notes-panel{overflow:hidden}.reader-view.notes-unpinned .notes-panel{width:min(86vw,322px)}@media(max-width:800px){.reader-view .notes-panel{top:0}}@media(max-width:560px){#pin-top{width:35px;padding:0;font-size:0}#pin-top::before{content:'📌';font-size:14px}.close-top{width:34px;height:34px}.reader-header-actions{gap:4px}}
@media(max-width:560px){#pin-top{font-size:14px}#pin-top::before{content:none}}
.chapter-picker-label{font-size:11px;font-weight:700;color:#68736d}.chapter-select{width:clamp(130px,20vw,260px);height:32px;border:1px solid #d8ded7;border-radius:6px;background:#fff;color:var(--ink);padding:0 7px;font-size:11px;font-weight:600;text-overflow:ellipsis}.chapter-select:focus{outline:2px solid #8fb49b;outline-offset:1px}.reader-progress{display:grid;grid-template-columns:auto minmax(50px,1fr) auto minmax(50px,1fr);align-items:center;gap:9px;padding:7px 30px;background:#fbfbf9;border-bottom:1px solid #e7e7e2;color:#6e7971;font-size:10px;font-weight:700;white-space:nowrap}.progress-track{display:block;height:5px;background:#e5eae4;border-radius:99px;overflow:hidden}.progress-track>span{display:block;height:100%;background:#e87550;border-radius:99px;transition:width .2s}.book-overall{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:21px;color:#50665b;font-size:12px}.book-overall .progress-track{grid-column:1/-1;height:7px}.chapter-progress-row{display:flex;align-items:center;gap:9px;color:#7f8982;font-size:10px;margin-top:4px}.chapter-progress-row .progress-track{width:100px;flex:none}.chapter-progress-row>span:last-child{white-space:nowrap}@media(max-width:800px){.chapter-picker-label{display:none}.chapter-select{width:clamp(110px,23vw,190px)}.reader-progress{padding:7px 15px}}@media(max-width:560px){.reader-toolbar{height:auto;min-height:91px;flex-direction:column;align-items:stretch;padding:5px 10px;gap:2px}.reader-toolbar .toolbar-group{justify-content:space-between}.chapter-select{width:clamp(115px,40vw,180px)}.reader-progress{padding:6px 10px;gap:5px;font-size:9px}.chapter-progress-row{flex-wrap:wrap}.chapter-progress-row .progress-track{width:75px}}
.note-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:11px}.note-card-footer .note-date{margin-top:0}.note-edit{border:0;background:none;color:#5a866f;font-size:10px;font-weight:700;padding:3px}
.library-source{margin-left:auto;display:flex;align-items:center;gap:8px;color:#72867a;font-size:10px;font-weight:700;letter-spacing:.13em}.library-source svg{width:17px;height:17px}.next-page-button{background:#365e4e;color:#fff;border-radius:7px;padding:9px 12px}.next-page-button:hover:not(:disabled){background:#274b3c}.next-page-button:disabled{background:#e5e8e2;color:#95a099}
.pdf-stage{display:grid;gap:16px;align-items:start;justify-content:center;width:max-content;max-width:none;flex:none}.page-slot{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}.page-number-label{font-size:10px;font-weight:700;letter-spacing:.12em;color:#7a867d}.page-frame{flex:none}.pages-per-view-label{font-size:11px;font-weight:700;color:#68736d;white-space:nowrap}.pages-per-view-input{width:48px;height:31px;padding:0 4px 0 8px;border:1px solid #d8ded7;border-radius:6px;background:#fff;color:var(--ink);font-size:12px;font-weight:700}.pages-per-view-input:focus{outline:2px solid #8fb49b;outline-offset:1px}.page-counter{min-width:86px}
@media(max-width:800px){.pages-per-view-label{font-size:0}.pages-per-view-label::after{content:'Pages';font-size:11px}.reader-toolbar{gap:8px}}
@media(max-width:560px){.pages-per-view-label{display:none}.pages-per-view-input{width:43px}.reader-toolbar{padding:0 8px}.page-counter{min-width:72px}.toolbar-right{gap:1px}.zoom-level{width:28px}}
.reader-nav-side{display:flex;align-items:center;gap:9px;min-width:0}.reader-nav-side:last-child{justify-content:flex-end}.chapter-end-button{border:1px solid #d4dfd6;background:#fff;color:#446b55;border-radius:6px;height:32px;min-width:38px;font-size:12px;font-weight:800;letter-spacing:-.12em;padding:0 7px}.chapter-end-button:hover:not(:disabled){background:#e8f0e9}.reader-bottom .page-nav-button{min-width:0}@media(max-width:560px){.reader-bottom{gap:4px;padding:0 8px}.reader-nav-side{gap:4px}.chapter-end-button{min-width:30px;height:30px;padding:0 4px}.reader-bottom .nav-label{display:none}.reader-bottom .page-nav-button{min-width:30px;justify-content:center;padding:7px}.reader-bottom>span{font-size:9px;white-space:nowrap}}
.auto-pages-button{height:30px;padding:0 7px;border:1px solid #d8ded7;border-radius:6px;background:#fff;color:#6d7c71;font-size:10px;font-weight:700}.auto-pages-button[aria-pressed=true]{background:#e5eee7;border-color:#b5cbb8;color:#3c6950}@media(max-width:560px){.auto-pages-button{padding:0 5px}}
.book-detail{max-width:900px;margin:0 auto}.book-back{border:0;background:none;color:#547663;font-size:13px;font-weight:700;padding:10px 0 22px}.book-heading{padding:28px 32px;background:#e8ede6;border-radius:13px;margin-bottom:22px}.book-heading h3{font-family:'DM Serif Display',Georgia,serif;font-size:clamp(28px,4vw,42px);font-weight:400;margin:10px 0}.book-heading p{font-size:13px;line-height:1.6;color:#6f7972}.chapter-list{display:grid;gap:10px}.chapter-card{width:100%;border:1px solid #e2e5df;border-radius:10px;background:#fff;padding:18px 20px;display:flex;align-items:center;gap:20px;text-align:left;color:var(--ink)}.chapter-card:hover{border-color:#a8c1b1;background:#f9fbf8}.chapter-number{color:#c56e50;font-family:'DM Serif Display',Georgia,serif;font-size:27px;min-width:42px}.chapter-copy{display:grid;gap:5px;flex:1;min-width:0}.chapter-copy strong{font-size:15px}.chapter-copy small{color:#839087;font-size:11px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chapter-action{font-size:12px;font-weight:700;color:#496d58;white-space:nowrap}@media(max-width:560px){.book-heading{padding:22px}.chapter-card{padding:14px 12px;gap:10px}.chapter-copy strong{font-size:13px}.chapter-number{min-width:32px;font-size:22px}.chapter-action{font-size:11px}}
