/* Reading-size text across the game; decoration yields space before text does. */
body{font-size:16px}
small,.eyebrow,.muted,.back-link,.text-button,.chapter-chip,.edition-tag,.edition-tag b{font-size:13px}
.gold-button,.outline-button{font-size:15px;min-height:44px}
.screen-heading p:not(.eyebrow),dialog p,.teacher-card p,.teacher-notes li,.journal-intro,.current-quest>p:not(.eyebrow){font-size:16px;line-height:1.8}
.screen-heading h1{font-size:clamp(30px,3vw,42px)}
#hud .player-card strong{font-size:16px}#hud .player-card small{font-size:12px}
#hud .game-brand small{font-size:12px;letter-spacing:1px}
#hud .hud-stats,#hud .hud-stats small,#hud .badge-wallet small{font-size:12px}
#hud .sound-button span{font-size:12px}
#rail a small{font-size:12px}#rail a{min-height:82px}
.region-label strong{font-size:20px}.region-label small,.region-label i{font-size:13px}
.map-topline,.map-topline span:last-child,.map-legend,.map-legend .text-button{font-size:12px;letter-spacing:.5px}
.map-caption p,.map-caption small{font-size:12px;letter-spacing:0}
.current-quest .eyebrow,.chapter-chip,.mini-progress,.current-quest .gold-button{font-size:13px}
.guide-card p,.guide-card strong,.world-footnote,.storage-status,.editorial-note{font-size:13px;line-height:1.8}
.chapter-node small,.chapter-node i,.chapter-node>b{font-size:13px;letter-spacing:.3px}.chapter-node strong{font-size:22px}
.lesson-entry strong{font-size:16px}.lesson-entry small{font-size:13px}
.journal-task strong{font-size:15px}.journal-task small{font-size:13px}
.hotspot strong{font-size:13px}.hotspot small{font-size:12px}
.room-controls p,#movement-status{font-size:13px}.room-controls small{font-size:12px}.direction-pad button{font-size:14px}
.quest-journal .eyebrow,.room-heading .eyebrow{font-size:12px}.room-counter strong{font-size:16px}
.collection-awards small,.collectible small{font-size:12px}.collectible strong{font-size:16px}.award strong{font-size:21px}
.avatar-choices label,dialog label,dialog .eyebrow{font-size:14px}
dialog input:not([type=checkbox],[type=radio]),dialog select,dialog textarea{font-size:16px}
.evidence-card label,.evidence-card select,.source-grid figcaption strong,.source-grid p,.source-drawer,.record label,.campaign-card strong,.supply-card strong,.task-feedback{font-size:15px}
.evidence-card small,.source-note,.campaign-card small,.quest-dialog .pick-card{font-size:13px!important}
.quest-dialog .gold-button,.quest-dialog .museum-button{font-size:15px}
.museum-button{padding:12px 20px;background:#dfbd75;border:1px solid #efd69d;color:#20372c;border-radius:5px;cursor:pointer}
.volume-control output{float:right;color:var(--gold);font-size:16px}
.volume-control input[type=range]{width:100%;accent-color:var(--gold);height:35px;cursor:pointer;margin:14px 0 25px}
.audio-toggle{display:flex;align-items:center;gap:12px}.audio-toggle input{width:22px;height:22px;accent-color:var(--gold)}
/* Notebook uses the available viewport with real content pagination. */
body[data-screen=notebook] #screen{height:calc(100dvh - var(--hud-height));min-height:0;display:flex;flex-direction:column;padding-top:15px;padding-bottom:15px}
body[data-screen=notebook] .screen-heading{flex-shrink:0;margin-bottom:12px}
body[data-screen=notebook] .screen-heading h1{font-size:28px;margin:0}
body[data-screen=notebook] .screen-heading .back-link{margin-bottom:6px}
body[data-screen=notebook] .screen-heading .eyebrow{margin-bottom:5px;font-size:12px}
.notebook-layout{flex:1;min-height:0;display:flex;flex-direction:column}
.notebook-tabs{flex-shrink:0;margin-bottom:12px;flex-wrap:nowrap;overflow-x:auto;padding:3px 2px 8px}
.notebook-tabs a{font-size:14px;white-space:nowrap;padding:9px 14px}
.notebook-paper.book-paper{flex:1;min-height:0;width:100%;max-width:1100px;display:flex;flex-direction:column;padding:22px 32px;overflow:hidden}
.book-page-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:8px}
.book-pager{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0;border-top:1px solid #c1b38c;padding-top:12px;margin-top:12px;color:#4a603e}
.book-pager button{font-size:14px;padding:9px 15px;min-height:40px}
.book-pager .outline-button{color:#405438;border-color:#9d8a5c}.book-pager button:disabled{opacity:.35;cursor:default}
#book-count{font-size:14px;white-space:nowrap}
.book-paper p,.book-paper li{font-size:18px;line-height:1.85}
.book-paper h1{font-size:32px;line-height:1.4;margin:8px 0 18px}.book-paper h2{font-size:29px;margin:8px 0 16px}.book-paper h3{font-size:25px;margin:8px 0 15px}.book-paper h4{font-size:21px;margin:8px 0 15px}
.book-paper .eyebrow,.book-paper .reading-breadcrumb,.book-paper figcaption,.book-paper figcaption small,.book-paper .video-label,.book-paper .video-state{font-size:13px}
.book-paper figure{margin:5px 0 15px}.book-paper figure img{max-height:clamp(120px,32dvh,330px);width:auto;max-width:100%}.book-paper figure button{padding:8px}.book-paper figure button span{font-size:12px}
.book-paper .reading-question,.book-paper .reading-callout,.book-paper .reading-observe,.book-paper .reading-note{margin:8px 0;padding:16px}
.book-paper .reading-question>span,.book-paper .reading-callout>span,.book-paper .reading-note>span,.book-paper .reading-observe strong{font-size:13px}
.book-paper th,.book-paper td,.book-paper caption{font-size:16px;line-height:1.65;padding:10px}
.book-paper table{margin:8px 0}.book-paper details{margin:8px 0}.book-paper summary{font-size:16px}
.book-paper .video-slot{margin:8px 0;padding:18px}.book-paper .video-slot iframe{max-height:32dvh}.book-paper .video-question{font-size:16px!important}
@media(min-width:901px) and (min-height:600px){
 body[data-screen=world] .world-sidebar{grid-template-rows:minmax(0,1fr)}
 body[data-screen=world] .world-sidebar>.guide-card,body[data-screen=world] .world-footnote{display:none}
 body[data-screen=world] .current-quest h2{font-size:30px}
 body[data-screen=world] .current-quest>p:not(.eyebrow){font-size:15px}
 body[data-screen=world] .current-quest .eyebrow,body[data-screen=world] .mini-progress,body[data-screen=world] .current-quest .gold-button{font-size:13px}
 body[data-screen=world] .region-label strong{font-size:19px}
 body[data-screen=world] .quest-emblem{width:42px;height:42px;font-size:25px}
}
@media(max-width:900px){#hud .game-brand{display:none}.room-heading h1{font-size:32px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 #hud .player-card strong{font-size:15px}#hud .player-card small{font-size:12px;letter-spacing:0}
 #rail a small{font-size:12px}#rail a{min-height:55px}
 .region-label strong{font-size:17px}.region-label small,.region-label i{font-size:12px}
 .region-label{min-height:102px}.region-marker{min-height:165px}
 .map-legend,.map-legend .text-button{font-size:12px}
 .chapter-node{min-height:300px}.chapter-node strong{font-size:20px}.chapter-node small,.chapter-node i,.chapter-node>b{font-size:12px}
 .hotspot strong{font-size:12px}.room-controls p,#movement-status{font-size:12px}.room-controls small{font-size:12px}
 .journal-task strong{font-size:16px}.journal-task small{font-size:13px}
 .screen-heading p:not(.eyebrow),.current-quest>p:not(.eyebrow),.teacher-notes li{font-size:16px}
 body[data-screen=notebook] #screen{height:calc(100dvh - var(--hud-height) - 70px - env(safe-area-inset-bottom));padding:10px 10px 12px}
 body[data-screen=notebook] .screen-heading{gap:8px;margin-bottom:6px}
 body[data-screen=notebook] .screen-heading h1{font-size:21px}
 body[data-screen=notebook] .screen-heading .eyebrow{font-size:12px}
 body[data-screen=notebook] .screen-heading .back-link{font-size:12px;margin-bottom:3px}
 body[data-screen=notebook] .screen-heading>[data-task-list]{display:none}
 .notebook-tabs{margin-bottom:5px;padding-bottom:6px;gap:6px}.notebook-tabs a{font-size:13px;padding:7px 10px}
 .notebook-paper.book-paper{padding:12px 12px;border-width:4px}
 .book-paper p,.book-paper li{font-size:17px;line-height:1.75}
 .book-paper h1{font-size:27px}.book-paper h2{font-size:25px}.book-paper h3{font-size:23px}
 .book-paper th,.book-paper td{font-size:15px;padding:7px}
 .book-pager{gap:7px;padding-top:9px;margin-top:8px}.book-pager button{font-size:12px;padding:8px;min-height:38px}#book-count{font-size:12px}
 .book-paper figure img{max-height:25dvh}
}
@media print{body[data-screen=notebook] #screen{height:auto;display:block}.notebook-tabs,.book-pager{display:none}.book-page-content{overflow:visible}.notebook-paper.book-paper{overflow:visible}}


.book-paper summary{list-style:none;font-size:18px;font-weight:700;color:#526440;margin:12px 0}.on-title .title-content>p:not(.eyebrow){font-size:17px}.title-secondary{font-size:14px}.title-version{font-size:12px;letter-spacing:1px}.title-content .eyebrow{font-size:13px}.title-guide small{font-size:12px}.room-wall{font-size:13px;letter-spacing:1px}.room-wall small{font-size:12px}.room-entry{font-size:12px;letter-spacing:1px}.quest-summary{font-size:16px}.quest-summary small{font-size:13px}.stage-stats{font-size:13px}.mission-preview p{font-size:16px}.collection-heading .text-button{font-size:14px}.personal-exhibit p{font-size:17px}.personal-exhibit footer{font-size:13px}.personal-exhibit figcaption>span{font-size:13px}@media(max-width:600px){.room-wall{font-size:10px}.room-wall small,.room-entry{font-size:10px}.title-content h1{font-size:70px}.title-content>p:not(.eyebrow){font-size:17px}.book-paper summary{font-size:17px}.on-title #hud .game-brand small{font-size:10px}}
