/* Each destination occupies the available window; books and prose have real pages. */
html.screen-mode{height:100%;scroll-behavior:auto;scroll-padding:0;overflow:hidden}
.screen-mode body{height:100%;overflow:hidden}
.screen-mode #app{height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto}
.screen-mode #main{min-height:0;overflow:hidden;outline:none}
.screen{height:100%;min-height:0;scroll-margin:0}
.screen-mode .container{width:min(1600px,calc(100% - 72px))}
.screen-mode .header-inner{min-height:76px;padding-block:8px;gap:24px;flex-wrap:nowrap}
.screen-mode .brand{min-width:0;max-width:310px;flex-shrink:1}
.screen-mode .brand-symbol{width:42px;height:42px}
.screen-mode .brand-title{font-size:1.06rem}
.screen-mode .brand-subtitle{font-size:.55rem;letter-spacing:.16em}
.screen-mode .main-nav{gap:20px;margin-block:0;padding:0;border:0;width:auto;order:0;overflow:visible}
.screen-mode .main-nav a{font-size:.78rem;padding:10px 0}
.main-nav a[aria-current=page]{color:var(--cc-bright);text-decoration:underline;text-underline-offset:9px}
.screen-mode .language-control{padding-inline-start:18px;gap:12px;flex:none}
.screen-mode .language-control select{max-width:150px;padding:11px 34px 11px 12px;border-color:var(--line);background:#18100b}
html[dir=rtl].screen-mode .language-control select{padding:11px 12px 11px 34px}
.menu-toggle{display:none;flex:none;width:42px;height:42px;background:#20160d;border:1px solid var(--line);border-radius:4px;font-size:23px;line-height:1}
.screen-mode .site-footer{padding:9px 0;border-top:1px solid var(--line)}
.screen-mode .footer-inner{gap:18px;flex-wrap:nowrap;font-size:.67rem;line-height:1.2}
.screen-mode .footer-brand{font-size:.85rem;width:auto}
.screen-mode .footer-inner>span:nth-child(2){margin-inline-end:auto}
.screen-mode .footer-inner a{white-space:nowrap}
.page-turner{display:flex;align-items:center;justify-content:center;gap:20px;min-height:62px;padding:8px 36px;border-top:1px solid var(--line);background:#100b08;position:relative}
.page-turner button{border:1px solid var(--line);background:#20160d;color:var(--cc-bright);border-radius:5px;padding:8px 20px;min-height:44px;min-width:126px;font-size:.85rem}
.page-turner button:not(:disabled):hover{background:#3c2916;border-color:var(--gold)}
.page-turner button:disabled{opacity:.32}
.page-choice{display:flex;align-items:center;gap:12px;font-size:.78rem;color:var(--muted)}
.page-choice select{border:1px solid var(--line);background:#20160d;color:var(--ink);border-radius:4px;padding:8px;min-height:44px;min-width:78px;font-size:.85rem}
.page-context{position:absolute;inset-inline-start:36px;font-size:.8rem;color:var(--muted);font-variant-numeric:tabular-nums}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* The title and illustration form one complete opening spread. */
.home-screen{display:grid;grid-template-rows:minmax(0,1fr) auto}
.screen-mode .hero-inner{height:100%;min-height:0;grid-template-columns:1fr 1fr;display:grid}
.screen-mode .hero-content,html[dir=rtl].screen-mode .hero-content{padding:clamp(24px,5vh,80px) 0; padding-inline-end:40px;justify-content:center;min-height:0}
.screen-mode .hero h1{font-size:clamp(3rem,min(5.7vw,9vh),7.7rem);line-height:1.04;margin:clamp(15px,3vh,40px) 0;max-width:740px}
.screen-mode .hero-lead{font-size:clamp(.93rem,1.2vw,1.13rem);max-width:550px;line-height:1.7}
.screen-mode .hero-actions{margin-top:clamp(18px,3vh,40px);gap:24px}
.screen-mode .hero-foot{margin-top:0;padding-top:clamp(16px,3vh,40px)}
.screen-mode .hero-art{height:100%;margin:0}
.screen-mode .hero-art>img,html[dir=rtl].screen-mode .hero-art>img{inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%}
.screen-mode .hero-art:before{inset:0;background:none}
.screen-mode .hero-art:after,html[dir=rtl].screen-mode .hero-art:after{inset:0}
.screen-mode .hero-art-label{inset-inline-end:24px;bottom:24px;max-width:75%;text-shadow:0 2px 10px #000}
.screen-mode .hero-seal{width:88px;height:88px;top:30px;inset-inline-start:30px}
.screen-mode .hero-seal strong{font-size:2rem}
.screen-mode .hero-seal small{font-size:.49rem}
.screen-mode .facts-inner{padding:18px 0;grid-template-columns:repeat(4,1fr)}
.screen-mode .fact{display:flex;padding:0 22px!important;gap:18px;border-top:0}
.screen-mode .fact strong{font-size:2.25rem;margin:0}
.screen-mode .fact span{font-size:.7rem;max-width:130px}
/* A shelf contains only the cards on the selected page. Covers are never cropped. */
.screen-mode .volumes-section,.screen-mode .gallery-section,.screen-mode .authors-section{padding:22px 0;border:0}
.volumes-section>.container,.gallery-section>.container,.authors-section>.container{height:100%;min-height:0;display:flex;flex-direction:column}
.screen-mode .section-heading{flex:none;gap:32px;margin-bottom:16px;align-items:center}
.screen-mode .section-heading h2{font-size:clamp(1.8rem,2.8vw,3rem);margin-top:5px;max-width:none;line-height:1.15}
.screen-mode .section-heading>p{font-size:.82rem;max-width:320px;margin:0}
.screen-mode .section-heading .eyebrow{font-size:.65rem}
.screen-mode .release-notice{padding:8px 14px;font-size:.8rem;margin:0 0 12px;line-height:1.5;flex:none}
.screen-mode .library-toolbar{margin-bottom:14px;gap:14px;flex:none;flex-wrap:nowrap}
.screen-mode .library-toolbar>p{font-size:.76rem;margin:0}
.screen-mode .library-filters{flex-wrap:nowrap;gap:8px}
.screen-mode .library-filters button{padding:8px 14px;min-height:40px;font-size:.78rem}
.screen-mode .volume-grid,.screen-mode .gallery-grid,.screen-mode .author-grid{flex:1;min-height:0;width:100%;max-width:none;margin:0;display:grid;grid-template-columns:repeat(var(--page-columns,3),minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:24px}
.screen-mode .volume-card{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;position:relative}
.screen-mode .volume-art{height:100%;min-height:0;padding:18px 22px;display:flex;align-items:center;justify-content:center}
.screen-mode .volume-art img{width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:contain;box-shadow:none;filter:drop-shadow(5px 9px 9px #0007)}
.screen-mode .volume-art figcaption{font-size:.64rem;padding:4px 10px;line-height:1.4}
.screen-mode .volume-placeholder{width:100%;height:100%;aspect-ratio:auto;min-height:0;gap:12px;padding:12px}
.screen-mode .volume-placeholder img{width:65px;height:65px;max-height:27%;flex:none}
.screen-mode .volume-placeholder bdi{font-size:2.6rem}
.screen-mode .volume-placeholder>span{font-size:.6rem}
.screen-mode .volume-placeholder>small{font-size:.76rem}
.screen-mode .volume-body{padding:15px 18px;flex:none;min-height:0}
.screen-mode .volume-kicker{font-size:.68rem;letter-spacing:.06em;flex:none}
.screen-mode .volume-card h3{font-size:clamp(1.14rem,1.5vw,1.65rem);line-height:1.22;margin:8px 0 12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.44em;flex:none}
.screen-mode .volume-downloads{gap:8px;flex:none}
.screen-mode .volume-download{min-height:43px;padding:8px 10px;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;line-height:1.2}
.screen-mode .volume-download strong{font-size:.82rem}
.screen-mode .volume-download span{font-size:.66rem;white-space:nowrap}
.card-availability{margin:0;min-height:24px;color:var(--gold);font-size:.78rem;line-height:1.5}
.volume-details{display:block;align-self:flex-start;font-size:.8rem;color:var(--cc-bright);padding:9px 0 0;text-underline-offset:4px;line-height:1.5}
.volume-card .download-status:not(:empty){position:absolute;z-index:4;bottom:0;inset-inline:0;background:#281c10;border-top:1px solid var(--gold);padding:10px 14px;margin:0;box-shadow:0 -8px 30px #0009}
.library-empty,.volumes-loading{padding:30px;text-align:center;color:var(--gold)}
/* Long copy is divided by measured available space, retaining every paragraph. */
.screen-mode .founder-preface,.screen-mode .history,.screen-mode .editorial,.volume-detail{padding:30px 0;overflow:hidden}
.screen-mode .preface-layout,.screen-mode .history-layout,.detail-layout{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:60px;align-items:stretch}
.screen-mode .history-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.screen-mode .preface-copy,.screen-mode .history-layout>div,.screen-mode .editorial-inner,.detail-copy{display:flex;flex-direction:column;min-height:0;max-height:100%;padding:0}
.screen-mode .preface-copy h2,.screen-mode .history h2,.screen-mode .editorial h2{font-size:clamp(1.9rem,min(3.5vw,6vh),3.7rem);line-height:1.12;margin:12px 0 24px;flex:none}
.screen-mode .preface-portrait{position:relative;top:auto;min-height:0;height:100%;margin:0;align-self:stretch}
.screen-mode .preface-portrait img{height:100%;width:100%;object-fit:contain;max-height:none;object-position:center;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 90%,transparent)}
.screen-mode .preface-portrait figcaption{bottom:30px;inset-inline:10%;padding:12px;background:#100b0870;text-align:center}
.screen-mode .preface-portrait figcaption strong{font-size:1.35rem}
.screen-mode .preface-portrait figcaption span{font-size:.62rem;margin-bottom:6px}
.prose-window{flex:1;min-height:0;overflow:hidden}
.screen-mode .prose-window>p,.screen-mode .prose-window>.history-foot{font-size:1rem;line-height:1.75;margin:0 0 18px;max-width:none}
.screen-mode .prose-window .preface-lead{font:1.23rem/1.6 Georgia,serif}
.screen-mode .prose-window .preface-sharing{padding-inline-start:18px;margin-top:0}
.screen-mode .prose-window .preface-signature{font:italic 1.4rem/1.5 Georgia,serif;margin:0}
.screen-mode .prose-window .preface-signature span{font:1rem/1.5 Georgia,serif}
.screen-mode .history-art{height:100%;min-height:0;width:100%;max-width:none;margin:0;display:flex;flex-direction:column;padding:12px}
.screen-mode .history-art img{min-height:0;flex:1;object-fit:contain;max-height:none;height:100%;background:transparent}
.screen-mode .history-art figcaption{flex:none;padding:10px 4px 0;font-size:.7rem}
.screen-mode .editorial-inner{max-width:920px;height:100%;gap:0}
.screen-mode .editorial .prose-window>.eyebrow{margin:24px 0 8px;color:var(--gold)}
.screen-mode .detail-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);max-width:1250px}
.detail-layout>.volume-art{border:1px solid var(--line);padding:24px}
.detail-copy .detail-heading{flex:none;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:20px}
.detail-back{display:inline-block;margin-bottom:16px;color:var(--gold);font-size:.86rem;text-underline-offset:5px}
.detail-copy h3{font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.2;margin:0 0 18px}
.detail-copy .volume-downloads{margin-bottom:18px}
.detail-copy .volume-download{min-height:52px}
.detail-copy .prose-window>a.button{margin:0 0 14px}
.detail-copy .available-languages{margin:12px 0;gap:6px 16px}
.detail-copy .available-languages a{padding:5px 0;color:var(--gold);text-underline-offset:4px}
.detail-copy .prose-window>strong{display:block;margin-bottom:12px;color:var(--gold)}
/* Artwork and portraits use the same shelf controls. */
.screen-mode .art-card{height:100%;min-height:0;display:flex;flex-direction:column}
.screen-mode .art-button{flex:1;min-height:0;background:#18100b;border:1px solid var(--line);padding:12px}
.screen-mode .art-button img{height:100%;width:100%;aspect-ratio:auto;object-fit:contain;background:transparent}
.screen-mode .art-button:hover img{transform:none}
.screen-mode .art-card figcaption{flex:none;padding:12px 0;min-height:56px;align-items:center;border-color:var(--line)}
.screen-mode .gallery-note,.screen-mode .portrait-note{flex:none;margin:12px 0 0;font-size:.7rem;line-height:1.5;max-width:none}
.screen-mode .author-grid article{height:100%;min-height:0;display:flex;flex-direction:column;padding:0;border:0}
.screen-mode .author-portrait{flex:1;min-height:0;padding:10px;margin-bottom:12px;background:#24180f}
.screen-mode .author-portrait img{height:100%;width:100%;aspect-ratio:auto;object-fit:contain;background:transparent}
.screen-mode .author-number{font-size:.85rem;flex:none}
.screen-mode .author-grid h3{font-size:1.5rem;margin:6px 0 10px;flex:none}
.screen-mode .author-grid p{font-size:.86rem;line-height:1.6;margin:0;flex:none;max-width:none}
.screen-mode .lightbox{height:calc(100dvh - 24px);max-height:none;width:min(1100px,calc(100% - 24px));overflow:hidden;margin:auto}
.screen-mode .lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.screen-mode .lightbox-image{height:100%;min-height:0;width:100%;object-fit:contain;margin:0;padding:12px}
.screen-mode .lightbox-bottom{padding:12px 18px}
.screen-mode .lightbox-caption{font-size:1.15rem}
@media(min-width:2300px){.screen-mode .container{width:min(3200px,calc(100% - 160px))}.screen-mode .hero h1{font-size:min(8.5rem,10vh)}.screen-mode .volume-card h3{font-size:1.8rem}.screen-mode .volume-art{padding:32px}.screen-mode .volume-body{padding:24px}.screen-mode .preface-copy,.screen-mode .history-layout>div{justify-content:center}.screen-mode .prose-window>p{font-size:1.15rem;line-height:1.85}}
@media(max-width:1279px){
 .screen-mode .container{width:calc(100% - 48px)}
 .screen-mode .header-inner{gap:16px;min-height:68px}
 .screen-mode .language-control{margin-inline-start:auto;padding-inline-start:12px}
 .menu-toggle{display:block}
 .screen-mode .main-nav{display:none;position:absolute;inset-block-start:100%;inset-inline:0;background:#17100b;border-bottom:1px solid var(--gold);box-shadow:0 15px 40px #000b;padding:16px 24px;grid-template-columns:repeat(3,1fr);gap:8px 24px;margin:0}
 .screen-mode .menu-open .main-nav{display:grid}
 .screen-mode .main-nav a{font-size:.92rem;padding:12px}
 .screen-mode .preface-layout,.screen-mode .history-layout,.detail-layout{gap:32px}
 .screen-mode .hero h1{font-size:clamp(2.7rem,min(5.7vw,8vh),5.7rem)}
}
@media(max-width:719px){
 .screen-mode .container{width:calc(100% - 32px)}
 .screen-mode .header-inner{gap:10px;min-height:66px;padding:8px 0}
 .screen-mode .brand{max-width:none;gap:8px;flex:1}
 .screen-mode .brand-symbol{width:32px;height:32px}
 .screen-mode .brand-title{font-size:.87rem;max-width:190px}
 .screen-mode .brand-subtitle{display:none}
 .screen-mode .language-control{border:0;padding:0;margin:0}
 .screen-mode .language-icon{display:none}
 .screen-mode .language-control select{max-width:105px;font-size:.73rem;padding:11px 24px 11px 8px}
 html[dir=rtl].screen-mode .language-control select{padding:11px 8px 11px 24px}
 .screen-mode .language-chevron{inset-inline-end:8px;width:10px}
 .screen-mode .main-nav{grid-template-columns:repeat(2,1fr);padding:12px;gap:4px 10px}
 .screen-mode .main-nav a{font-size:.82rem}
 .menu-toggle{width:40px;height:40px}
 .screen-mode .site-footer{padding:7px 0}
 .screen-mode .footer-inner{font-size:.62rem;gap:14px;justify-content:space-between}
 .screen-mode .footer-inner>span{display:none}
 .page-turner{gap:8px;padding:6px 16px;min-height:56px}
 .page-turner button{font-size:.78rem;min-width:84px;padding:8px 10px}
 .page-choice{gap:0}
 .page-choice>span,.page-context{display:none}
 .page-choice select{font-size:.78rem;min-width:76px}
 .screen-mode .hero-inner{display:block;width:100%}
 .screen-mode .hero-content,html[dir=rtl].screen-mode .hero-content{height:100%;padding:28px 24px;justify-content:center;max-width:620px}
 .screen-mode .hero-art{position:absolute;inset:0;z-index:-1;height:100%;opacity:.75}
 .screen-mode .hero-art:after,html[dir=rtl].screen-mode .hero-art:after{background:linear-gradient(90deg,#070504ed,#07050475),linear-gradient(0deg,#070504,transparent 40%)}
 .screen-mode .hero-art>img{object-position:60% 42%}
 .screen-mode .hero h1{font-size:clamp(2.3rem,min(10vw,7.3vh),4.4rem);max-width:550px;margin:22px 0;line-height:1.08}
 .screen-mode .hero-lead{font-size:.91rem;color:#f0e0c5;max-width:430px;line-height:1.65}
 .screen-mode .hero-content .eyebrow{font-size:.61rem}
 .screen-mode .hero-actions{gap:18px;margin-top:24px}
 .screen-mode .hero-actions .button{padding:12px 18px;min-height:46px;font-size:.79rem}
 .screen-mode .hero-actions .text-link{font-size:.78rem}
 .screen-mode .hero-foot{font-size:.64rem;padding-top:24px;color:#dfd0b5}
 .screen-mode .hero-seal,.screen-mode .hero-art-label{display:none}
 .screen-mode .facts-inner{padding:12px 0}
 .screen-mode .fact{display:block;padding:0 8px!important;border-inline-start:1px solid var(--line)}
 .screen-mode .fact:first-child{border:0}
 .screen-mode .fact strong{font-size:1.6rem}
 .screen-mode .fact span{font-size:.57rem;line-height:1.4;margin-top:4px}
 .screen-mode .volumes-section,.screen-mode .gallery-section,.screen-mode .authors-section{padding:14px 0}
 .screen-mode .section-heading{margin-bottom:10px}
 .screen-mode .section-heading h2{font-size:1.6rem;margin:0}
 .screen-mode .section-heading .eyebrow,.screen-mode .section-heading>p{display:none}
 .screen-mode .release-notice{font-size:.72rem;padding:6px 9px;line-height:1.4;margin-bottom:10px}
 .screen-mode .library-toolbar{margin-bottom:10px;gap:0}
 .screen-mode .library-toolbar>p{display:none}
 .screen-mode .library-filters button{font-size:.74rem;min-height:38px;padding:7px 10px}
 .screen-mode .volume-art{padding:12px 18px}
 .screen-mode .volume-body{padding:12px 14px}
 .screen-mode .volume-card h3{font-size:1.2rem;margin:7px 0 10px}
 .screen-mode .volume-placeholder>small{display:none}
 .screen-mode .founder-preface,.screen-mode .history,.screen-mode .editorial,.volume-detail{padding:18px 0}
 .screen-mode .preface-layout,.screen-mode .history-layout,.screen-mode .detail-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);gap:0}
 .screen-mode .history-art{display:none}
 .screen-mode .preface-layout{position:relative}
 .screen-mode .preface-portrait{display:block;position:absolute;inset-inline-end:0;top:0;width:92px;height:112px;margin:0;z-index:1}
 .screen-mode .preface-portrait img{object-fit:cover;object-position:center 22%;mask-image:linear-gradient(180deg,#000 80%,transparent)}
 .screen-mode .preface-portrait figcaption{display:none}
 .screen-mode .preface-copy>h2,.screen-mode .preface-copy>.eyebrow{max-width:calc(100% - 105px)}
 .screen-mode .preface-copy h2,.screen-mode .history h2,.screen-mode .editorial h2{font-size:1.9rem;margin:10px 0 20px}
 .screen-mode .prose-window>p,.screen-mode .prose-window>.history-foot{font-size:1rem;line-height:1.65;margin-bottom:16px}
 .screen-mode .prose-window .preface-lead{font-size:1.15rem;line-height:1.55}
 .screen-mode .preface-copy .eyebrow,.screen-mode .history .eyebrow{font-size:.64rem}
 .screen-mode .detail-layout{grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:16px}
 .detail-layout>.volume-art{padding:8px;max-height:45%;align-self:start}
 .detail-layout>.volume-art figcaption{display:none}
 .detail-copy .detail-heading{padding-bottom:10px;margin-bottom:14px}
 .detail-back{font-size:.75rem;margin-bottom:10px}
 .detail-copy .volume-kicker{flex-wrap:wrap;gap:3px;font-size:.62rem}
 .detail-copy h3{font-size:1.5rem;line-height:1.2;margin-bottom:16px}
 .detail-copy .prose-window>p{font-size:.91rem;line-height:1.6}
 .detail-copy .volume-downloads{grid-template-columns:1fr}
 .detail-copy .volume-download{min-height:44px}
 .screen-mode .art-button{padding:10px}
 .screen-mode .gallery-note,.screen-mode .portrait-note{font-size:.65rem;line-height:1.5;margin-top:10px}
 .screen-mode .author-grid h3{font-size:1.35rem}
 .screen-mode .author-grid p{font-size:.8rem;line-height:1.5}
 .screen-mode .lightbox-caption{font-size:.88rem}
 .screen-mode .lightbox-bottom{padding:10px;gap:10px}
}
/* Short windows get landscape cards rather than tiny cover images. */
html[data-compact=true] .volumes-section,html[data-compact=true] .gallery-section,html[data-compact=true] .authors-section{padding-block:10px}
html[data-compact=true] .section-heading{margin-bottom:8px}
html[data-compact=true] .section-heading h2{font-size:1.6rem}
html[data-compact=true] .section-heading .eyebrow,html[data-compact=true] .section-heading>p{display:none}
html[data-compact=true] .volume-card{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-rows:minmax(0,1fr)}
html[data-compact=true] .volume-art{padding:10px;border-bottom:0;border-inline-end:1px solid var(--line)}
html[data-compact=true] .volume-card .volume-body{justify-content:center;padding:12px}
html[data-compact=true] .volume-card h3{font-size:1.05rem;-webkit-line-clamp:3;min-height:0;margin:8px 0}
html[data-compact=true] .volume-downloads{grid-template-columns:1fr;gap:6px}
html[data-compact=true] .volume-download{min-height:36px;padding:7px 8px}
html[data-compact=true] .card-availability{font-size:.71rem}
html[data-compact=true] .volume-details{font-size:.76rem}
html[data-compact=true] .hero-content,html[dir=rtl][data-compact=true] .hero-content{padding-block:16px}
html[data-compact=true] .hero h1{font-size:clamp(2.1rem,min(5vw,7.6vh),4.3rem);margin:14px 0}
html[data-compact=true] .hero-lead{font-size:.85rem;line-height:1.55}
html[data-compact=true] .hero-actions{margin-top:16px}
html[data-compact=true] .hero-foot{display:none}
html[data-compact=true] .facts-inner{padding-block:8px}
html[data-compact=true] .fact strong{font-size:1.6rem}
html[data-compact=true] .founder-preface,html[data-compact=true] .history,html[data-compact=true] .editorial,html[data-compact=true] .volume-detail{padding-block:14px}
html[data-compact=true] .preface-copy h2,html[data-compact=true] .history h2,html[data-compact=true] .editorial h2{font-size:1.7rem;margin:8px 0 14px}
html[data-short=true] .header-inner{min-height:54px;padding-block:4px}
html[data-short=true] .facts,html[data-short=true] .hero-content>.eyebrow,html[data-short=true] .hero-seal{display:none}
html[data-short=true] .hero h1{font-size:clamp(1.7rem,6vh,2.6rem);margin:6px 0 10px}
html[data-short=true] .hero-lead{font-size:.8rem;line-height:1.4}
html[data-short=true] .hero-actions{margin-top:12px;gap:14px}
html[data-short=true] .hero-actions .button{min-height:40px;padding:8px 14px}
html[data-short=true] .library-toolbar{margin-bottom:8px}
html[data-short=true] .release-notice{margin-bottom:8px;padding-block:4px;font-size:.7rem}
html[data-short=true] .volume-placeholder>span,html[data-short=true] .volume-placeholder>small{display:none}
html[data-short=true] .gallery-note,html[data-short=true] .portrait-note{font-size:.62rem}
html[data-short=true] .author-grid article{display:grid;grid-template-columns:35% 1fr;grid-template-rows:auto auto 1fr;column-gap:18px}
html[data-short=true] .author-portrait{grid-row:1/4;margin:0;height:100%}
html[data-short=true] .author-grid h3{font-size:1.12rem}
html[data-short=true] .author-grid p{font-size:.75rem;line-height:1.4}
html[data-short=true] .preface-copy>.eyebrow,html[data-short=true] .history-layout>div>.eyebrow{display:none}
html[data-short=true] .preface-copy h2,html[data-short=true] .history h2{font-size:1.35rem;margin:0 0 12px}
html[data-short=true] .preface-copy h2 br{display:none}
html[data-short=true] .site-footer{display:none}
html[data-short=true] .page-turner{min-height:54px;padding-block:4px}
html[data-short=true] .volume-downloads{grid-template-columns:1fr 1fr}
html[data-short=true] .volume-card h3{-webkit-line-clamp:2;margin:5px 0;font-size:1rem}
html[data-short=true] .card-availability{min-height:18px;font-size:.7rem}
html[data-short=true] .volume-details{padding-top:5px}
html[data-short=true] .volume-card .volume-body{padding:8px 12px}
html[data-short=true] .preface-portrait{display:none}
html[data-short=true] .preface-copy>h2{max-width:none}
@media(min-width:1120px) and (min-height:600px){html[data-compact=true] .volume-card h3{font-size:1.5rem;line-height:1.25}html[data-compact=true] .volume-card .volume-body{padding:20px}html[data-compact=true] .volume-details{font-size:.85rem;padding-top:12px}}
@media(min-width:720px){html[data-short=true] .volumes-section>.container{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto minmax(0,1fr);gap:6px 14px}html[data-short=true] .volumes-section .section-heading{grid-column:1;grid-row:1;margin:0}html[data-short=true] .volumes-section .library-toolbar{grid-column:2;grid-row:1;margin:0}html[data-short=true] .volumes-section .library-toolbar>p{display:none}html[data-short=true] .volumes-section .release-notice{grid-column:1/3;grid-row:2;margin:0}html[data-short=true] .volumes-section .volume-grid{grid-column:1/3;grid-row:3}html[data-short=true] .volumes-section:not(:has(.release-notice))>.container{grid-template-rows:auto minmax(0,1fr)}html[data-short=true] .volumes-section:not(:has(.release-notice)) .volume-grid{grid-row:2}}
html[data-reflow=true].screen-mode{overflow:auto}
html[data-reflow=true] body{overflow:auto;height:auto}
html[data-reflow=true] #app{min-height:100dvh;height:auto}
html[data-reflow=true] #main,html[data-reflow=true] .screen,html[data-reflow=true] .prose-window{overflow:visible;min-height:300px;height:auto}
/* Page counts belong to the PDF edition in the selected language. */
.screen-mode .volume-pages,.screen-mode .prose-window>.volume-pages{flex:none;color:var(--muted);font:400 .8rem/1.4 var(--sans);margin:-4px 0 10px}
html[data-short=true] .volume-pages{font-size:.72rem;margin:0 0 6px}

/* Devanagari vowel marks need space between title lines. */
html[lang=hi] .preface-copy h2{line-height:1.35}
/* A separate, readable destination for the author's distribution conditions. */
.terms-section{padding:clamp(14px,3vh,34px) 0;background:radial-gradient(ellipse at top,#25190e,transparent 75%)}
.terms-copy{max-width:920px;height:100%;min-height:0;display:flex;flex-direction:column}
.terms-copy>.eyebrow{flex:none}
.terms-copy>h2{flex:none;font-size:clamp(1.7rem,min(3.5vw,5vh),3.2rem);line-height:1.2;margin:12px 0 24px}
.terms-rule>strong{display:block;color:var(--gold);margin-bottom:5px;font-size:1.05em}
.terms-rule a,.terms-copy .text-link{color:var(--gold);text-underline-offset:4px}
.screen-mode .terms-author{color:var(--gold);padding-top:14px;border-top:1px solid var(--line)}
html[data-short=true] .terms-copy>.eyebrow{display:none}
html[data-short=true] .terms-copy>h2{font-size:1.35rem;margin:0 0 12px}
