:root{--ink:#22392f;--muted:#6d756e;--bg:#faf8f3;--line:#e1e2d9;--accent:#e9b954;--serif:"Fraunces",Georgia,serif;--sans:"Inter",system-ui,-apple-system,Segoe UI,sans-serif;--orange:#bb542f}
*{box-sizing:border-box}html{scroll-padding-top:100px;-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.65 var(--sans);-webkit-font-smoothing:antialiased}img{max-width:100%;display:block}a{color:inherit}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a6542e;outline-offset:5px}[hidden]{display:none!important}.wrap{width:min(1320px,calc(100% - 96px));margin-inline:auto}#skipnav{position:absolute;left:-9999px;z-index:2000}#skipnav:focus{left:12px;top:10px;padding:10px;background:white}
.site-header{position:sticky;top:0;z-index:50;background:#faf8f3f5;border-bottom:1px solid #22392f12;backdrop-filter:blur(15px)}.header-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:100px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;flex-shrink:0}.brand-logo{width:57px;height:57px;object-fit:contain}.brand-name{font:700 1.3rem var(--serif);letter-spacing:.025em}.brand-name small{display:block;margin-top:7px;font:600 8px var(--sans);letter-spacing:.2em;color:var(--muted)}.site-nav ul{display:flex;gap:32px;align-items:center;list-style:none;padding:0;margin:0}.site-nav a{font-size:12px;text-decoration:none;font-weight:500}.site-nav a:hover{text-decoration:underline;text-underline-offset:6px}.site-nav li:last-child a{border:1px solid #22392f40;border-radius:30px;padding:11px 20px;display:block}.nav-toggle{display:none;border:0;background:transparent;width:42px;height:42px;padding:9px}.nav-toggle span{display:block;height:2px;background:var(--ink);margin:5px 0}
.eyebrow{font:600 10px/1.5 var(--sans);letter-spacing:.17em;margin:0 0 17px;text-transform:uppercase}.little-line{display:inline-block;vertical-align:middle;width:25px;height:1px;background:currentColor;margin-right:10px}.hero{padding:62px 0 64px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:55px;align-items:center}.hero-copy{padding:20px 0}.hero h1{font:500 clamp(3.2rem,5.4vw,5.45rem)/1.075 var(--serif);letter-spacing:-.055em;margin:0 0 26px}h1 em,h2 em{font-weight:400;color:var(--orange)}.lede{max-width:400px;color:var(--muted);font-size:14px;line-height:1.9;margin-bottom:30px}.hero-actions{display:flex;gap:23px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;text-decoration:none;border:0;padding:15px 22px;border-radius:7px;font-size:12px;font-weight:500;transition:background .2s,transform .2s}.button-dark{background:var(--ink);color:white}.button-dark:hover{background:#355441;transform:translateY(-2px)}.button span{font-size:18px}.text-link{display:inline-flex;align-items:center;gap:15px;text-decoration:none;font-size:12px;font-weight:500}.text-link:hover{text-decoration:underline;text-underline-offset:6px}.hero-footnote{display:flex;gap:12px;align-items:center;margin-top:38px}.hero-footnote p{font-size:10px;line-height:1.8;color:var(--muted);margin:0}.hero-footnote strong{color:var(--ink);font-weight:500}.mini-book{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#eee9dd;font-size:22px}.hero-art{height:440px;position:relative;border-radius:48% 48% 8px 8px;background:#e8ebdb;display:flex;flex-direction:column;justify-content:flex-end}.hero-orbit{position:absolute;inset:40px -20px 75px;border:1px solid #a8b59b85;border-radius:50%;transform:rotate(-25deg)}.hero-spark{position:absolute;font-size:85px;color:var(--orange);right:-20px;top:0;line-height:1;z-index:5}.book-stage{height:335px;position:relative;isolation:isolate;perspective:1000px}.hero-book{position:absolute;display:block;width:37%;top:17%;border-radius:3px 6px 6px 3px;box-shadow:9px 20px 24px -7px #1a2a2540,-2px 0 0 #fff;transition:transform .45s}.hero-book img{width:100%;aspect-ratio:700/990;object-fit:cover;border-radius:inherit}.hero-book::after{content:"";position:absolute;inset:0;box-shadow:inset 5px 0 6px #0003;pointer-events:none;border-radius:inherit}.hero-book-0{left:4%;top:14%;transform:rotate(-16deg);z-index:1}.hero-book-1{left:31%;top:1%;transform:rotate(3deg);z-index:3}.hero-book-2{left:57%;top:20%;transform:rotate(18deg);z-index:2}.hero-book:hover{transform:translateY(-12px) rotate(0);z-index:6}.edition-note{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;padding:30px 15px 18px;font-size:7px;letter-spacing:.07em}.edition-note>span:last-child{margin-left:12px;color:#5a6f56}.status-dot{width:5px;height:5px;border-radius:50%;background:currentColor;display:inline-block;flex-shrink:0}.hero-book-placeholder{font:3rem var(--serif);text-align:center;padding-top:50px}.library-ribbon{border-block:1px solid #deded1;background:#eeefe4}.ribbon-inner{display:flex;justify-content:space-between;align-items:center;padding-block:21px;gap:18px}.ribbon-inner p{margin:0;font-size:11px}.ribbon-inner strong{font-weight:600}.ribbon-star{font-size:22px;color:#9b7650}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.section-heading h2{font:500 clamp(2rem,3vw,3rem)/1.2 var(--serif);letter-spacing:-.04em;margin:0}.section-heading .eyebrow{font-size:9px;color:var(--muted);margin-bottom:12px}.subject-section{padding-block:68px 74px}.subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.subject-card{padding:22px 25px 23px;text-decoration:none;position:relative;overflow:hidden;border-radius:9px;transition:transform .3s}.subject-card:hover{transform:translateY(-5px)}.subject-math{background:#f1e9d8}.subject-science{background:#e4e9de}.subject-tech{background:#ece5ee}.subject-top{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:.08em}.subject-top>span:last-child{font-size:18px}.subject-symbol{display:block;font:60px/1 var(--serif);margin:22px 0 18px}.subject-math .subject-symbol{color:#a56c32}.subject-science .subject-symbol{color:#54735b}.subject-tech .subject-symbol{color:#82658d}.subject-card h3{font:500 1.8rem/1.2 var(--serif);letter-spacing:-.04em;margin:0}.subject-card p{font-size:11px;color:var(--muted);margin:8px 0 21px}.subject-count{display:flex;justify-content:space-between;align-items:center;font-size:9px;border-top:1px solid #22392f20;padding-top:13px}
.catalogue-section{padding:68px 0 80px;border-top:1px solid var(--line);background:#fffefa}.catalogue-heading{margin-bottom:38px}.catalogue-heading h2{font-size:clamp(2.3rem,4vw,3.6rem)}.catalogue-heading>p{font-size:12px;color:var(--muted);max-width:230px}.catalogue-layout{display:grid;grid-template-columns:174px minmax(0,1fr);gap:42px}.catalogue-sidebar{border-right:1px solid var(--line);padding-right:24px}.catalogue-sidebar h3{font-size:11px;font-weight:600;margin:6px 0 20px}.class-filters{display:flex;flex-direction:column;gap:7px}.class-filter{display:flex;align-items:center;justify-content:space-between;background:transparent;border:0;text-align:left;font-size:11px;padding:10px 11px;color:var(--muted);border-radius:5px}.class-filter span{font-size:9px;color:inherit}.class-filter:hover{background:#f0f1e8}.class-filter.is-on{background:var(--ink);color:#fff}.sidebar-note{margin-top:48px;background:#eeefe5;border-radius:7px;padding:16px}.sidebar-note>span{font-size:28px}.sidebar-note p{font:500 21px/1.3 var(--serif);letter-spacing:-.03em;margin:10px 0 23px}.sidebar-note small{font-size:6px;letter-spacing:.1em;display:block}.catalogue-toolbar{display:flex;align-items:center;gap:18px}.finder{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fafbf7;padding:0 15px;border-radius:6px;flex:1;min-width:0}.finder svg{color:#7a8477;flex-shrink:0}.finder input{padding:13px 0;border:0;outline:0;background:transparent;min-width:0;width:100%;font-size:11px;color:var(--ink)}.finder:focus-within{outline:2px solid var(--ink);outline-offset:2px}.sort-control{display:flex;align-items:center;gap:8px;font-size:9px;flex-shrink:0;color:var(--muted)}.sort-control select{font-size:10px;border:0;background:transparent;color:var(--ink);max-width:140px;padding:7px 0;cursor:pointer}.filter-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 26px}.topic-filters{display:flex;flex-wrap:wrap;gap:6px}.topic-filter{font-size:9px;padding:6px 10px;border:1px solid transparent;border-radius:20px;background:transparent;color:var(--muted)}.topic-filter.is-on{border-color:#d4d9ca;background:#f0f2e9;color:var(--ink)}#result-count{font-size:9px;color:var(--muted);white-space:nowrap}.grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:33px 23px}.card a{text-decoration:none;display:block}.cover{background:#f0eee7;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:39px 23px 27px;position:relative;aspect-ratio:4/5;overflow:hidden}.palette-1 .cover{background:#e9ede6}.palette-2 .cover{background:#eee8e2}.palette-3 .cover{background:#e9eaf0}.cover img{width:80%;height:100%;max-height:270px;object-fit:contain;filter:drop-shadow(4px 9px 6px #15251e30);transition:transform .4s}.cover-label{position:absolute;top:12px;left:13px;font-size:8px;letter-spacing:.07em;background:#ffffffa8;border:1px solid #ffffff80;padding:3px 7px;border-radius:3px}.card-open{display:grid;place-items:center;position:absolute;right:11px;bottom:11px;width:28px;height:28px;background:#fff;border-radius:50%;font-size:17px;transition:background .2s,color .2s}.card a:hover .cover img{transform:translateY(-6px) rotate(-3deg)}.card a:hover .card-open{background:var(--ink);color:white}.meta{display:block;padding:16px 0 0}.card-kicker{display:block;font-size:7px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:5px}.title{display:block;font:500 18px/1.35 var(--serif);letter-spacing:-.025em}.card-author{display:block;font-size:8px;color:var(--muted);margin-top:7px;line-height:1.5}.availability{display:flex;align-items:center;gap:5px;font-size:8px;margin-top:12px;color:#777f70}.availability .status-dot{width:4px;height:4px;background:#b5a071}.cover-fallback{font:500 20px/1.3 var(--serif);text-align:center}.empty{text-align:center;padding:60px 20px;color:var(--muted)}.empty>span{font-size:40px}.empty h3{font:28px var(--serif);color:var(--ink);margin-bottom:8px}.empty p{font-size:12px;margin-bottom:22px}.pagination{margin-top:35px}.reading-guide{background:#e9ecdf;border-top:1px solid #dce1d2;padding:70px 0}.guide-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:100px}.reading-guide h2{font:500 clamp(2.5rem,4vw,3.9rem)/1.1 var(--serif);letter-spacing:-.04em;margin:22px 0 0}.guide-flower{display:block;color:#a9603c;font-size:90px;line-height:1.5;margin-top:22px}.guide-steps{padding-top:3px}.guide-steps>div{display:flex;gap:25px;border-bottom:1px solid #cfd6c5;padding:23px 0}.guide-steps>div:first-child{padding-top:0}.guide-steps>div>span{font:italic 23px var(--serif);color:#7e8a74}.guide-steps h3{font:500 23px var(--serif);margin:0 0 11px;letter-spacing:-.025em}.guide-steps p{font-size:12px;color:var(--muted);margin:0;max-width:360px;line-height:1.9}
.site-footer{padding:58px 0 0}.footer-top{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:60px;align-items:start;padding-bottom:45px}.footer-top>div:first-child>p{font-size:12px;color:var(--muted);margin:20px 0 0}.footer-brand .brand-logo{width:46px;height:46px}.footer-brand .brand-name{font-size:19px}.footer-brand small{font-size:6px}.footer-top nav{display:flex;flex-direction:column;gap:12px}.footer-top nav a{font-size:11px;text-decoration:none}.footer-top nav .eyebrow{font-size:8px;margin:0 0 7px}.footer-statement{font:500 35px/1.15 var(--serif);letter-spacing:-.035em;position:relative}.footer-statement em{color:var(--orange)}.footer-statement>span{font-size:45px;position:absolute;right:0;top:0;color:#bea05b}.footer-bottom{display:flex;justify-content:space-between;gap:18px;align-items:center;border-top:1px solid var(--line);padding:19px 0;font-size:8px;color:var(--muted)}.footer-bottom a{text-decoration:none}.custom-footer{padding:20px 0;font-size:11px}
/* Book detail */
.book{padding:28px 0 65px}.back{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:11px;color:var(--muted);margin-bottom:30px}.book-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:74px;align-items:start}.book-cover{background:#e9ecdf;border-radius:12px;padding:52px 65px;min-height:500px;position:relative;display:flex;justify-content:center;align-items:center}.book-cover img{width:100%;max-width:280px;max-height:430px;object-fit:contain;filter:drop-shadow(8px 17px 12px #1d332d38);transform:rotate(-5deg)}.book-cover::after{content:'THE AFLON PRINT COLLECTION';position:absolute;bottom:18px;font-size:7px;letter-spacing:.16em;color:var(--muted)}.book-info{padding-top:12px}.book-info .tag{font-size:9px;letter-spacing:.12em;text-transform:uppercase;background:#e9ecdf;padding:6px 10px;border-radius:3px}.book-info h1{font:500 clamp(2rem,3.8vw,3.8rem)/1.13 var(--serif);letter-spacing:-.045em;margin:20px 0}.byline{font-size:12px;color:var(--muted);margin-bottom:25px}.desc{font-size:13px;color:var(--muted);line-height:1.9;max-width:490px}.book-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px 30px;border-block:1px solid var(--line);padding:22px 0;margin:26px 0}.book-facts dt{font-size:8px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}.book-facts dd{margin:0;font-size:12px;font-weight:500}.preview-status{padding:20px 22px;background:#f0eee4;border-radius:8px;margin-top:25px}.preview-status .soon{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;margin:0 0 8px}.preview-status .status-dot{background:#ae893f}.preview-status p:last-child{font-size:11px;color:var(--muted);margin:0;line-height:1.8}.btn-read{display:inline-flex;align-items:center;gap:12px;margin-top:20px;background:var(--ink);color:white;border:0;border-radius:6px;padding:15px 22px;font-size:12px}.note{font-size:10px;color:var(--muted)}.book-secondary{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:34px;margin-top:50px}.book-secondary h2{font:500 27px var(--serif);margin:0}.book-secondary p{font-size:12px;color:var(--muted);margin:8px 0 0}
@media(min-width:1500px){.hero{padding-block:85px}.hero-art{height:490px}.book-stage{height:390px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.hero-grid{gap:30px}.hero-art{height:375px}.book-stage{height:280px}.hero h1{font-size:4.2rem}.hero-actions{gap:18px}.hero-actions .text-link{font-size:11px}.hero-spark{font-size:64px;right:-10px}.catalogue-layout{grid-template-columns:145px minmax(0,1fr);gap:25px}.grid{gap:28px 17px}.cover{padding:37px 15px 22px}.cover img{width:90%}.guide-layout{gap:55px}.footer-top{gap:28px}.sort-control>span{display:none}.book-grid{gap:40px}.book-cover{padding:45px;min-height:450px}}
@media(max-width:800px){.wrap{width:calc(100% - 40px)}.header-row{min-height:82px}.brand-logo{width:47px;height:47px}.brand-name{font-size:20px}.brand-name small{font-size:6px}.nav-toggle{display:block}.site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--bg);padding:20px;border-bottom:1px solid var(--line)}.nav-open .site-nav{display:block}.site-nav ul{flex-direction:column;align-items:stretch;gap:12px}.site-nav a{display:block;padding:10px}.site-nav li:last-child a{border:0;padding:10px}.hero{padding:38px 0 45px}.hero-grid{grid-template-columns:1fr;gap:35px}.hero-copy{padding:0}.hero h1{font-size:clamp(3rem,8vw,4.8rem);max-width:700px}.hero .lede{max-width:480px;font-size:13px}.hero-footnote{margin-top:25px}.hero-art{width:min(470px,95%);margin:0 auto;height:390px}.book-stage{height:300px}.hero-book{width:34%}.hero-book-1{left:33%}.hero-book-2{left:61%}.hero-spark{right:-5px;top:10px}.ribbon-inner{justify-content:center;gap:20px;padding:18px 0}.ribbon-inner p{font-size:9px}.ribbon-inner p:last-child,.ribbon-star:last-of-type{display:none}.section-heading h2{font-size:31px}.subject-section{padding-block:42px}.subject-grid{gap:12px}.subject-card{padding:16px}.subject-top{font-size:7px}.subject-symbol{font-size:48px;margin-block:18px 15px}.subject-card h3{font-size:23px}.subject-card p{font-size:9px;min-height:30px}.subject-count{font-size:8px}.section-heading .text-link{font-size:10px;gap:7px}.catalogue-section{padding-block:45px}.catalogue-heading>p{font-size:10px}.catalogue-heading h2{font-size:38px}.catalogue-layout{display:block}.catalogue-sidebar{border:0;padding:0;margin-bottom:20px}.catalogue-sidebar h3{font-size:10px;margin-bottom:12px}.class-filters{flex-direction:row;overflow:auto;gap:8px;padding:3px 2px 7px}.class-filter{flex-shrink:0;border:1px solid var(--line);gap:12px;font-size:10px;padding:8px 12px}.class-filter span{display:none}.sidebar-note{display:none}.catalogue-toolbar{gap:10px}.sort-control{max-width:120px}.sort-control select{width:100%;font-size:9px}.finder{padding-inline:10px}.finder input{font-size:10px}.filter-row{gap:8px;align-items:start}.topic-filters{gap:3px}.topic-filter{padding:5px 8px;font-size:8px}#result-count{font-size:8px;padding-top:6px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.title{font-size:17px}.cover{padding:35px 16px 23px}.reading-guide{padding-block:45px}.guide-layout{gap:35px}.guide-steps h3{font-size:20px}.guide-steps p{font-size:11px}.guide-steps>div{gap:16px}.reading-guide h2{font-size:44px}.footer-top{grid-template-columns:1fr 1fr}.footer-statement{display:none}.site-footer{padding-top:38px}.book-grid{gap:30px}.book-cover{min-height:360px;padding:40px}.book-info h1{font-size:34px}.book-facts{gap:15px}.book-secondary{margin-top:30px}}
@media(max-width:540px){.hero h1{font-size:44px}.hero-grid{gap:30px}.hero-art{height:330px;width:94%;margin-top:8px}.book-stage{height:254px}.hero-spark{font-size:57px}.hero-actions{gap:17px}.hero-actions .button{font-size:10px;padding:13px 16px;gap:16px}.hero-actions .text-link{font-size:10px;gap:7px}.hero-footnote{margin-top:23px}.edition-note{font-size:6px;padding-bottom:16px}.edition-note>span:last-child{display:none}.ribbon-inner{gap:15px}.ribbon-inner p{font-size:9px}.section-heading{gap:20px;align-items:start}.section-heading h2{font-size:29px}.section-heading>.text-link{max-width:95px;font-size:9px;line-height:1.5}.subject-grid{grid-template-columns:1fr;gap:12px}.subject-card{padding:19px 20px 18px;min-height:145px;display:grid;grid-template-columns:1fr 80px;column-gap:10px}.subject-top{grid-column:1/3;font-size:7px}.subject-symbol{grid-column:2;grid-row:2/5;align-self:center;text-align:center;margin:0;font-size:68px}.subject-card h3{font-size:29px;margin-top:8px}.subject-card p{font-size:10px;min-height:0;margin:6px 0 12px}.subject-count{border:0;padding-top:0;justify-content:start;gap:18px;font-size:8px}.catalogue-heading>p{max-width:122px;font-size:9px}.catalogue-heading h2{font-size:33px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 14px}.cover{padding:35px 18px 25px}.cover img{width:92%;max-height:230px}.title{font-size:18px}.card-kicker{font-size:7px}.card-author{font-size:8px}.availability{font-size:7px}.filter-row{flex-direction:column;gap:8px;margin-top:17px;margin-bottom:19px}.topic-filter{font-size:9px;padding:6px 9px}#result-count{padding:0}.guide-layout{grid-template-columns:1fr;gap:23px}.guide-flower{display:none}.reading-guide h2{font-size:43px}.reading-guide h2 br{display:none}.guide-steps>div{padding:20px 0}.guide-steps h3{font-size:22px}.guide-steps p{max-width:none}.footer-top{gap:30px;grid-template-columns:1fr}.footer-top nav{gap:11px}.footer-top>div:first-child>p{margin-top:14px}.footer-bottom{align-items:start;font-size:7px;flex-direction:column;gap:12px}.book{padding-top:24px}.book-grid{grid-template-columns:1fr}.book-cover{min-height:370px;padding:40px 60px}.book-cover img{max-height:300px;width:auto;max-width:100%}.book-info{padding-top:0}.book-info h1{font-size:38px}.book-secondary{align-items:start;flex-direction:column}.book-secondary h2{font-size:27px}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}.hero-book{animation:book-arrive .9s both}.hero-book-1{animation-delay:.1s}.hero-book-2{animation-delay:.2s}@keyframes book-arrive{from{opacity:0;translate:0 20px}to{opacity:1;translate:0 0}}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* reader */
.reader[hidden]{display:none}
.reader{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:#23262d;color:#fff;user-select:none;-webkit-user-select:none}
.reader-bar{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#14161b;border-bottom:1px solid #000}
.rd-title{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:600 .95rem var(--serif)}
.rd-tools{display:flex;align-items:center;gap:6px}
.rb{width:40px;height:40px;border:0;border-radius:10px;background:#2b2f38;color:#fff;font-size:1.3rem;cursor:pointer}
.rb:hover{background:#3a4050}
.rd-page{display:flex;align-items:center;gap:6px;font-size:.9rem;color:#c9d0e0;margin-right:6px}
.rd-page input{width:56px;padding:7px;border-radius:8px;border:1px solid #3a4050;background:#0e1014;color:#fff;font:inherit;text-align:center}
.reader-body{flex:1;overflow:auto;padding:16px 0 40px;-webkit-overflow-scrolling:touch}
#rd-pages{display:flex;flex-direction:column;align-items:center;gap:16px}
.rd-page-slot{background:#fff;box-shadow:0 6px 24px rgba(0,0,0,.5);max-width:none}
.rd-page-slot canvas{display:block;pointer-events:none}
.rd-loading{display:flex;align-items:center;justify-content:center;gap:12px;padding:60px;color:#c9d0e0}
.rd-loading[hidden]{display:none}
.spinner{width:22px;height:22px;border:3px solid #444b5a;border-top-color:var(--accent);border-radius:50%;animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
html.reader-open{overflow:hidden}
@media print{body *{display:none!important}body::after{content:"Printing is disabled for this reader.";display:block;padding:40px}}

/* Keep collection labels legible at real browsing sizes. */
.card-kicker{font-size:9px}.card-author{font-size:10px}.availability{font-size:10px}.cover-label{font-size:10px}.title{font-size:21px}.class-filter{font-size:12px}.class-filter span{font-size:10px}.catalogue-sidebar h3{font-size:12px}.finder input{font-size:12px}.topic-filter{font-size:11px}.sort-control,.sort-control select{font-size:11px}#result-count{font-size:11px}.subject-top{font-size:9px}.subject-card p{font-size:12px}.subject-count{font-size:11px}.footer-bottom{font-size:10px}.footer-top nav a{font-size:12px}.edition-note{font-size:8px}.book-facts dt{font-size:10px}
@media(max-width:800px){.class-filter{font-size:11px}.sort-control select{font-size:10px}.finder input{font-size:12px}.topic-filter{font-size:10px}#result-count{font-size:10px}}
@media(max-width:540px){.title{font-size:18px}.card-author{font-size:9px}.availability{font-size:9px}.card-kicker{font-size:8px}.cover-label{font-size:9px}.subject-card p{font-size:11px}.subject-top{font-size:8px}.subject-count{font-size:10px}.footer-bottom{font-size:9px}.edition-note{font-size:7px}}
@media(max-width:540px){.catalogue-heading>p{display:none}}
