/* V3 keeps the paper, timber and quiet geometric rhythm of the storybook. */
[hidden]{display:none!important}
:root{--reading-font:Arial,Helvetica,sans-serif}
button,input{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b67c31;outline-offset:4px}
button:disabled{cursor:default}
.topbar .site-name{font-size:13px}.version-mark{font-size:11px}.top-actions .text-button{font-size:12px;min-height:44px}.book-toggle{font-size:13px;min-height:44px}.book-toggle span{font-size:12px}
.heading{position:relative}.heading:after{content:'';height:7px;position:absolute;bottom:-13px;left:0;width:100%;background:linear-gradient(90deg,#af593a 0 32px,transparent 32px 40px,#b59551 40px 48px,transparent 48px 56px,#78866a 56px 88px,transparent 88px);opacity:.55;pointer-events:none}
.heading .intro{font-family:var(--reading-font);font-size:18px;line-height:1.65;max-width:355px}
.adventure-layout{padding-top:20px}.map-caption{font:italic 16px/1.4 Georgia,serif}.map-bottom{font-size:11px;line-height:1.6}.map-stop .stop-label{font-size:13px;line-height:1.3}.map-stop .stop-label small{font-size:11px;line-height:1.4}.map-stop.locked{cursor:default}.map-stop.locked:hover{transform:translate(-50%,-50%)}
.passport #mission-copy{font:16px/1.65 var(--reading-font)}.passport-top{font-size:10px;letter-spacing:.09em}.album-progress{font:14px/1.4 var(--reading-font)}.album-leaf small{font-size:10px}.passport .gentle-note{font:13px/1.6 var(--reading-font);color:#65745b}.passport .primary{font-size:15px;line-height:1.5;min-height:52px}.album-leaves{margin-top:22px}
.route-list{display:none}
.footer{font-size:12px;line-height:1.6;color:#65715e}.footer summary{min-height:44px;padding:4px 0}.footer details p{font-size:13px;line-height:1.7}.footer a{color:inherit;display:inline-block;min-height:44px}
.station-header h2{font-size:35px;line-height:1.2}.station-context{font-size:18px;line-height:1.65;color:#56684f}.station-instruction{font-size:17px;line-height:1.6}.station-flow .chapter{font-size:12px}.scene-dialog .source-note{color:#647358}.scene-dialog .source-note summary{font-size:13px}.completion-keepsake{position:relative}.completion-keepsake:before{content:'';position:absolute;inset:8px;border:1px solid #b4b48b60;pointer-events:none}.completion-keepsake>div,.completion-keepsake>article{position:relative}
.book-cover{aspect-ratio:3/4.4;padding:28px 24px;gap:12px}.book-cover>strong{font-size:25px;line-height:1.25;margin-bottom:8px}.book-cover .cover-kicker,.book-cover>span:last-child{font:10px/1.5 var(--reading-font);letter-spacing:.08em}.cover-saved-pattern{width:100%;max-height:160px;position:relative}.cover-saved-pattern .workshop-book-art{margin:0;padding:0;background:none;box-shadow:none;transform:none;border:0;width:100%;max-width:none}.cover-saved-pattern svg{display:block;width:100%;height:auto;max-height:155px;object-fit:contain}.cover-saved-pattern p{display:none!important}
.book-export{border-top:1px solid #cbd0b7;margin-top:24px;padding:22px 0 4px;display:grid;grid-template-columns:1fr auto;gap:10px 20px;align-items:center}.book-export h3{font:normal 25px/1.2 Georgia,serif;margin:0 0 8px}.book-export p{font:15px/1.6 var(--reading-font);color:#596e51;margin:0}.book-export-actions{display:flex;flex-wrap:wrap;gap:10px}.book-export #book-export-status{grid-column:1/-1;font-size:14px;color:#2b4d3c;min-height:23px}.book-export-actions button:disabled{opacity:.6}
.journey-bonus{background:#e6e9d1;border:1px solid #bdc8a7;position:relative}.journey-bonus h3{font:normal 29px/1.2 Georgia,serif;color:var(--ink);margin:0 0 12px}.journey-bonus .chapter{font:600 11px/1.6 var(--reading-font);letter-spacing:.07em;margin:0 0 10px}.journey-bonus p:not(.chapter){font:16px/1.6 var(--reading-font);color:#52684a;margin:0 0 16px}.journey-bonus .secondary{border-color:#6d8060;font-size:14px;line-height:1.45;min-height:46px}.map-bonus{padding:18px 16px;margin-top:20px}.map-bonus h3{font-size:25px}.map-bonus .secondary{width:100%;text-align:left;display:flex;gap:12px;align-items:center;justify-content:space-between}.map-bonus p:not(.chapter){font-size:14px}.map-bonus #culture-read-count{font-size:12px;white-space:nowrap}.book-bonus{display:grid;grid-template-columns:70px 1fr;gap:22px;padding:26px;margin-top:24px}.bonus-mark{font:64px/1 Georgia,serif;color:#ae603f;text-align:center;padding-top:14px}.book-bonus:after{content:'';position:absolute;top:10px;right:10px;width:26px;height:26px;border-top:2px solid #af8a4c;border-right:2px solid #af8a4c;pointer-events:none}
@media(min-width:1500px){.heading .intro{font-size:20px}.station-context{font-size:19px}.station-instruction{font-size:18px}}
@media(max-width:1100px){.map-stop .stop-label{font-size:11px}.map-stop .stop-label small{font-size:9px}.book-export{grid-template-columns:1fr}.book-export-actions{margin-top:4px}}
@media(max-width:760px){
 .topbar{padding:10px 5%;min-height:72px}.topbar .site-name{font-size:12px}.top-actions{gap:9px}.top-actions .text-button{font-size:11px}.book-toggle{font-size:12px;padding:8px 10px}.book-toggle span{font-size:11px}.version-mark{font-size:10px}
 .heading .intro{font-size:17px;line-height:1.65;margin-top:20px;max-width:38ch}.heading:after{bottom:-19px}.adventure-layout{padding-top:24px;gap:0}.map-wrap{width:100%;margin:12px 0 0}.map-caption{font-size:14px;left:5px;top:0}.map-canvas{margin-top:12px}.map-canvas>.village-map{min-height:0}.map-stop .stop-label{display:none}.map-stop.v2-stop .pin{width:38px;height:38px;font-size:18px}.map-stop{min-width:48px;min-height:48px;align-items:center;justify-content:center}.map-bottom{font-size:10px;margin:12px 0 0;gap:12px}.map-bottom>span:last-child{display:none}
 .route-list{display:grid;grid-template-columns:1fr;padding:0;margin:14px 0 0;list-style:none;gap:7px}.route-list button{display:flex;width:100%;padding:10px 13px;align-items:center;gap:13px;border:1px solid #cbd0b4;background:#f9f4e1;border-radius:3px;text-align:left;font:15px/1.3 var(--reading-font);color:var(--ink);min-height:63px}.route-list .route-number{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid #a6b08e;border-radius:50%;font:18px Georgia,serif}.route-list small{display:block;margin-top:4px;color:#5e6f53;font:12px/1.4 var(--reading-font)}.route-list button:disabled{background:#eae9d5;color:#5d6c54;border-color:#d5d6bc}.route-list button:disabled small{color:#6c785f}.route-list button.is-next{border-color:#9d6740;background:#fff6db;box-shadow:inset 3px 0 #a95738}.route-list .is-next .route-number{background:#a95738;color:#fff7df;border-color:#a95738}.route-list .done .route-number{background:#315948;color:#fff7df;border-color:#315948}
 .passport{display:block;width:calc(100% - 6px);margin:30px 6px 26px 0;padding:24px;transform:rotate(.4deg)}.passport h2{font-size:32px;line-height:1.18}.passport #mission-copy{font-size:16px;line-height:1.6;margin:13px 0}.passport .album-leaves{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:22px 0}.album-leaf{min-height:82px}.album-leaf small{font-size:9px}.album-leaf>span{font-size:10px}.album-leaf svg{width:26px;height:26px}.album-progress{font-size:14px;margin-bottom:15px}.passport .gentle-note{font-size:13px;margin-top:13px}.map-bonus{margin-top:20px}.map-bonus h3{font-size:27px}
 .footer{font-size:12px;gap:10px}.footer>span:last-child{display:block;text-align:left}.footer details p{font-size:13px}.station-header h2{font-size:30px}.station-context{font-size:17px;line-height:1.65}.station-instruction{font-size:16px}.station-flow .chapter{font-size:11px}.scene-top #scene-step{font-size:11px;letter-spacing:0}
 .full-book{padding:24px 19px}.book-total{font-size:23px}.book-heading h2{font-size:29px}.book-tabs{gap:7px}.book-tabs button{font-size:13px;min-height:44px}.book-navigation>span{font-size:12px}.book-copy>p:not(.chapter){font-size:16px}.book-cover{max-width:250px}.book-export{padding-top:20px;margin-top:22px;gap:10px}.book-export-actions{display:grid;grid-template-columns:1fr;width:100%}.book-export-actions button{width:100%}.book-export p{font-size:15px}.book-bonus{padding:22px 20px;grid-template-columns:1fr;gap:6px}.bonus-mark{font-size:43px;padding:0;text-align:left}.book-bonus h3{font-size:28px}.journey-bonus .secondary{width:100%}.book-bonus p:not(.chapter){font-size:16px}.book-export #book-export-status{font-size:14px}
}
@media(max-width:370px){.topbar{padding-left:14px;padding-right:14px;gap:5px}.topbar .site-name{font-size:10px}.top-actions{gap:6px}.top-actions .text-button{font-size:10px}.book-toggle{font-size:11px;gap:6px;padding:7px}.passport{padding:20px}.passport h2{font-size:30px}.album-leaf small{font-size:8px}.map-stop.v2-stop .pin{width:34px;height:34px;font-size:17px}.full-book{padding-left:16px;padding-right:16px}.book-tabs button{font-size:12px;padding:8px}.book-heading h2{font-size:27px}}
