:root{--tour-paper:#f7f0e5;--tour-ink:#302018;--tour-muted:#70594b;--tour-line:#d9c9b7;--tour-wine:#71383a;--tour-side:clamp(23px,4.5vw,72px)}
body{background:var(--tour-paper);color:var(--tour-ink)}
.tour-shell,.topbar .nav-shell{width:min(100%,1640px);margin-inline:auto;padding-inline:var(--tour-side)}
.topbar .nav-shell{min-height:66px}
.tour-shell{padding-block:clamp(28px,3.1vw,48px) 19px}
.mast{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.mast .eyebrow{color:#80513c;font-size:10px;letter-spacing:.18em}
.mast h1{font:400 clamp(50px,5.2vw,80px)/.99 var(--serif);margin:9px 0 0;letter-spacing:-.073em}
.mast h1 em{font-weight:400;color:var(--tour-wine)}
.mast-note,.station-copy,.observation p{line-height:1.55}
.mast-note{max-width:32ch;font-size:clamp(14px,1.05vw,17px);color:var(--tour-muted);margin:0 0 2px}
.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.65;flex:none}
.stations{margin:clamp(23px,2.1vw,35px) 0 clamp(14px,1.45vw,24px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.stations button{background:transparent;min-height:45px;display:flex;align-items:center;gap:10px;color:#6b574b;border:0;border-block:1px solid var(--tour-line);padding:8px clamp(8px,1.2vw,20px);font-weight:600;font-size:14px;text-align:left;letter-spacing:.005em}
.stations button:hover{background:#eadcca}
.stations button[aria-current]{background:#38251e;color:#fff2df;border-color:#38251e}
.step-no,.card-index,.scene-stamp,.plate,.range-ends,.phase-row,.edition{font-family:var(--sans);font-variant-numeric:tabular-nums}
.step-no{font-size:10px;color:#86654e;font-weight:650;letter-spacing:.13em}
.stations [aria-current] .step-no{color:#f1b891}
.step-end{margin-left:auto;width:7px;height:7px;flex:none;border:1px solid #a5937c;border-radius:50%}
.stations [aria-current] .step-end{border-color:#efbb98;background:#efbb98;box-shadow:0 0 0 3px #efbb9826}
.stations [data-done=true] .step-end{width:11px;height:6px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(-45deg);background:none;box-shadow:none;border-radius:0}
.workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(294px,29%);gap:clamp(13px,1.6vw,26px);align-items:stretch}
.viewer{min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:3px;background:#271813}
.stage{position:relative;isolation:isolate;min-height:390px;flex:1;overflow:hidden;background:#38261d}
.stage:after{content:'';position:absolute;inset:auto 0 0;height:16%;z-index:0;pointer-events:none;background:linear-gradient(0deg,#160d08a6,transparent)}
#scene{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none;outline-offset:-4px;cursor:grab}
#scene:active{cursor:grabbing}
#scene:focus-visible{outline:3px solid #f9ce9b;z-index:1}
.stage-top,.plate{position:absolute;left:clamp(12px,1.3vw,22px);right:clamp(12px,1.3vw,22px);z-index:2;pointer-events:none}
.stage-top{top:clamp(12px,1.25vw,21px);display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.scene-stamp,.stage-btn{color:#ffe8cb;border:1px solid #ddd1b959;background:#241710dd;border-radius:3px}
.scene-stamp{display:inline-flex;gap:7px;align-items:center;min-height:31px;padding:3px 9px;font-weight:620;letter-spacing:.13em;text-transform:uppercase;font-size:9px}
.scene-stamp .icon{width:14px;height:14px;color:#e9b891}
.stage-actions{display:flex;gap:5px;pointer-events:auto}
.stage-btn{display:grid;place-items:center;width:36px;height:36px;padding:0}
.stage-btn:hover,.stage-btn[aria-pressed=true]{background:#644637}
.stage-btn:focus-visible,.cam-buttons button:focus-visible{outline-color:#ffc394;outline-offset:-3px}
.stage-btn .icon{width:16px;height:16px}
.plate{bottom:15px;display:flex;gap:9px;align-items:center;color:#fff0d9;text-shadow:0 1px 4px #24160c;letter-spacing:.12em;text-transform:uppercase;font-weight:650;font-size:9px}
.plate i{width:20px;height:1px;background:currentColor}
.camera-strip{display:flex;align-items:center;justify-content:space-between;gap:4px;padding-inline:clamp(12px,1.2vw,19px) 6px;min-height:46px;background:#291b16;color:#f1ddc7;border-top:1px solid #69483a}
.orbit-hint{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500}
.orbit-hint .icon{color:#e9b28b}
.cam-buttons{display:flex;align-items:center}.cam-buttons button{width:36px;height:40px;background:transparent;color:inherit;border:0;display:grid;place-items:center;padding:0;border-radius:2px}
.cam-buttons button:hover{background:#55392d}.cam-buttons i{height:15px;width:1px;background:#705343;margin-inline:3px}
.cam-buttons .icon{width:16px;height:16px}.flipped{transform:rotate(180deg)}
.viewer:fullscreen{height:100dvh;width:100vw;border-radius:0}
.viewer:fullscreen .stage{min-height:0}
.station-card{display:flex;flex-direction:column;align-items:stretch;background:#efe4d4;border:1px solid #dccbb6;border-radius:3px;min-width:0;padding:clamp(20px,1.9vw,31px)}
.card-index{display:flex;align-items:center;gap:11px;color:#80533c;font-size:9px;line-height:1.5;letter-spacing:.17em;font-weight:700;text-transform:uppercase;margin:0}
.mini-rule{height:1px;flex:1;background:#ceb699}
.station-card h2{font:400 clamp(34px,3.25vw,53px)/1.01 var(--serif);letter-spacing:-.066em;margin:14px 0 9px;max-width:13ch;text-wrap:balance}
.station-copy{color:#614c40;font-size:14px;margin:0 0 18px}
.experiment{border-top:1px solid #d4bfa5;padding-top:15px}
.phase-row{display:flex;justify-content:space-between;gap:3px;margin:-3px 0 13px}
.phase-row span{border-bottom:2px solid #c8b69e;color:#76665a;flex:1;padding-bottom:4px;font-size:10px}
.phase-row .current{border-color:#784341;color:#6a3234;font-weight:700}.phase-row .past{border-color:#6b7057;color:#555b45}
.readout,.range-ends{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.readout label{font-size:13px;font-weight:650}.readout output{font:400 25px/1 var(--serif);letter-spacing:-.035em;font-variant-numeric:tabular-nums}
#setting{--fill:0%;appearance:none;display:block;width:100%;margin:3px 0 0;height:30px;background:transparent;cursor:pointer;accent-color:var(--tour-wine)}
#setting:focus-visible{outline-offset:0;border-radius:3px}
#setting::-webkit-slider-runnable-track{width:100%;height:4px;border-radius:2px;background:linear-gradient(to right,#814445 0 var(--fill),#cfbaa0 var(--fill) 100%)}
#setting::-moz-range-track{height:4px;border-radius:2px;background:#cfbaa0}#setting::-moz-range-progress{height:4px;background:#814445}
#setting::-webkit-slider-thumb{appearance:none;margin-top:-7px;background:#753d3f;border:3px solid #f5e9d8;box-shadow:0 0 0 1px #753d3f;border-radius:50%;width:18px;height:18px}
#setting::-moz-range-thumb{width:12px;height:12px;background:#753d3f;border:3px solid #f5e9d8;box-shadow:0 0 0 1px #753d3f;border-radius:50%}
#setting:disabled{cursor:default}
.range-ends{font-size:10px;color:#745f4d;margin-top:-2px}
.observation{display:flex;gap:8px;margin:14px 0 15px;align-items:baseline}
.observation i{width:7px;height:7px;border-radius:50%;background:#8c6047;flex:none}
.observation[data-tone=good] i{background:#56613d}.observation[data-tone=warn] i{background:#913c31}
.observation b{font-weight:650;font-size:13px}.observation p{font-size:12px;color:#644e40;margin:2px 0 0}
.action{display:flex;align-items:center;justify-content:space-between;width:100%;gap:6px;text-align:left;padding:10px 13px;min-height:43px;background:#673336;color:#fff3e3;border:1px solid transparent;border-radius:3px;font-weight:600;font-size:13px}
.action:hover{background:#7b3d41}.action[aria-disabled=true]{background:#5c5146;color:#fff1df;cursor:default}
.action .icon,.related-game .icon,.afterword .icon{width:15px;height:15px}
.replay{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:none;color:#634c3e;font-size:12px;border:0;min-height:34px;padding:4px 0}
.replay .icon{width:13px;height:13px}.replay:hover,.related-game:hover,.afterword a:hover{text-decoration:underline;text-underline-offset:3px}
.related-game{display:flex;align-items:center;justify-content:space-between;padding-top:15px;margin-top:auto;color:#6f493a;text-decoration:none;font-size:12px;font-weight:600}
.afterword{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#724f3c;margin-top:20px;border-top:1px solid var(--tour-line);min-height:44px}
.edition{font-size:9px;text-transform:uppercase;font-weight:650;letter-spacing:.16em}
.afterword a{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#73443a;text-decoration:none;min-height:44px}
@media(min-width:1050px){.stage{min-height:clamp(405px,34vw,555px)}}
@media(max-width:830px){.workbench{grid-template-columns:minmax(0,1fr) 275px;gap:12px}.station-card{padding:17px}.tour-shell,.topbar .nav-shell{padding-inline:22px}.cam-buttons button{width:32px}.cam-buttons i{margin-inline:1px}}
@media(max-width:680px){.tour-shell,.topbar .nav-shell{padding-inline:16px}.tour-shell{padding-top:20px}.topbar .nav-shell{min-height:56px}.topbar .wordmark{font-size:23px}.mast{align-items:flex-start;flex-direction:column;gap:8px}.mast h1{font-size:47px;margin-top:5px}.mast .eyebrow{font-size:8px}.mast-note{font-size:13px;max-width:none;margin:0}.stations{gap:3px;margin:15px 0 8px}.stations button{padding:5px 7px;gap:5px;font-size:12px;min-height:40px}.step-no{font-size:9px;letter-spacing:.035em}.step-end{display:none}.workbench{grid-template-columns:1fr;gap:11px}.stage{min-height:0;height:clamp(240px,73vw,400px);flex:none}.camera-strip{min-height:44px}.cam-buttons button{width:34px}.stage-top{top:9px;left:9px;right:9px}.stage-btn{width:33px;height:33px}.plate{bottom:10px;left:12px}.station-card{padding:17px 18px}.station-card h2{max-width:none;font-size:36px;margin:7px 0 5px}.station-copy{margin-bottom:13px}.experiment{padding-top:11px}.afterword{margin-top:14px}.related-game{padding-top:12px}.topbar .nav-actions .book-nav{display:inline-flex;font-size:12px;min-height:40px}}
@media(max-width:380px){.topbar .nav-actions{gap:4px}.topbar .nav-shell{padding-inline:12px;gap:6px}.topbar .wordmark{font-size:21px;gap:4px}.topbar .wordmark svg{width:26px}.topbar .lang-switch{padding-left:6px}.tour-shell{padding-inline:12px}.orbit-hint{font-size:10px;gap:3px}.camera-strip{padding-inline:8px 2px}.cam-buttons button{width:31px}.edition{letter-spacing:.05em}.stations button{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* The workshop uses the proportions of an atelier instrument: dark frame, paper instructions, copper marks. */
.tour-shell{width:min(100%,1510px);padding-block:clamp(29px,3.8vw,59px) 24px}
.mast{align-items:center}
.mast .eyebrow{font-size:10px;letter-spacing:.19em}
.mast h1{font-size:clamp(56px,5.6vw,86px);line-height:.98;letter-spacing:-.072em}
.mast-aside{padding-left:clamp(15px,1.6vw,25px);border-left:1px solid #c9ae94}
.mast-note{max-width:35ch;margin:0;font-size:clamp(14px,1.1vw,17px)}
.tour-progress{display:flex;align-items:center;gap:8px;margin-top:11px;color:#644737;font-size:12px;font-weight:570}
.tour-progress b{font-size:11px;letter-spacing:.055em;font-variant-numeric:tabular-nums}
.progress-track{display:flex;gap:3px}
.progress-track i{display:block;width:17px;height:4px;background:#cbb9a3;border-radius:2px}
.progress-track .is-done{background:#53603f}
.stations{gap:0;border:1px solid #cbb59e;border-radius:5px;padding:4px;background:#eee3d3;margin:clamp(20px,2vw,30px) 0 15px}
.stations button{min-height:53px;gap:13px;border:0;border-radius:2px;padding:5px clamp(11px,1.7vw,26px);position:relative;isolation:isolate;font-size:15px;color:#5e4839}
.stations button:not([aria-current]):hover{background:#e3d2bc}
.stations button[aria-current]{background:#38241b;color:#fff3df;box-shadow:inset 0 -2px #c98d62}
.stations button:focus-visible{z-index:2;outline:2px solid #b15d31;outline-offset:0}
.station-sign.icon{width:30px;height:30px;stroke-width:1.26;color:#8c644c}
.stations [aria-current] .station-sign{color:#f5ba8a}
.step-end{width:8px;height:8px}
.workbench{grid-template-columns:minmax(0,1.72fr) minmax(300px,1fr);gap:clamp(16px,1.65vw,28px);align-items:stretch}
.viewer{border:1px solid #40291f;border-radius:5px;box-shadow:0 5px 13px #51371f11;position:relative}
.stage{min-height:clamp(402px,33vw,520px);background:#38261d}
.stage:after{height:28%}
.stage-top{align-items:flex-start}
.scene-stamp{min-height:33px;padding:6px 11px;border-radius:3px;background:#251a14ed;font-size:10px;letter-spacing:.1em}
.stage-actions{gap:5px}
.stage-btn{width:44px;height:44px;background:#241710dd;border-radius:4px}
.stage-btn .icon{width:19px;height:19px}
.plate{bottom:clamp(16px,1.8vw,27px);gap:10px;align-items:baseline;letter-spacing:.115em;text-shadow:0 1px 5px #21140a}
#plate-number{font:600 10px var(--sans);text-transform:uppercase}
.plate i{width:22px;align-self:center}
#plate-name{font:italic 400 clamp(20px,1.8vw,28px)/1 var(--serif);letter-spacing:-.028em;text-transform:none}
.camera-strip{min-height:58px;padding:5px 10px 5px 13px;background:#291b16;border-color:#70503d}
.guide-toggle,.guide-extra button,.jump-gesture{border:0;background:none;color:inherit;font-family:var(--sans);font-size:13px;font-weight:570;display:inline-flex;align-items:center;gap:8px;min-height:44px}
.guide-toggle{padding:3px 7px;color:#f8e8d0;white-space:nowrap;border-radius:3px}
.guide-toggle>.icon:first-child{color:#ecb88d}
.guide-toggle .guide-arrow{width:12px;height:12px;transform:rotate(90deg);color:#dcab82}
.guide-toggle[aria-expanded=true] .guide-arrow{transform:rotate(-90deg)}
.guide-toggle:hover,.guide-toggle[aria-expanded=true],.guide-extra button:hover{background:#51382a}
.cam-buttons button{width:44px;height:44px;border-radius:3px}
.cam-buttons i{margin-inline:3px}.cam-buttons .icon{width:17px;height:17px}
.guide-panel{position:absolute;bottom:59px;left:12px;z-index:3;width:min(378px,calc(100% - 24px));padding:16px 17px 10px;border:1px solid #a47b5e;background:#2d211bee;color:#fff0de;box-shadow:0 6px 20px #120a0655;border-radius:4px}
.guide-copy p{margin:0;font-size:13px;line-height:1.5;color:#e0cbb7}
.guide-copy .guide-title{font:400 23px/1.1 var(--serif);color:#fff2df;margin:0 0 6px}
.guide-extra{display:flex;gap:8px;margin-top:9px}
.guide-extra button{background:#483329;border:1px solid #8f6b52;padding-inline:9px;border-radius:3px;font-size:12px}
.guide-extra .icon{width:14px;height:14px}.raised{transform:rotate(180deg)}
.viewer :is(.guide-toggle,.guide-extra button):focus-visible{outline:2px solid #ffd0a9;outline-offset:-2px}
.jump-gesture{display:none}
.station-card{background:#efe4d4;border:1px solid #d8c3a9;border-top:3px solid #896448;border-radius:4px;padding:clamp(20px,2.1vw,33px);scroll-margin-top:12px}
.card-index{margin:0;gap:9px;color:#765340;font-size:10px;letter-spacing:.13em}
.card-rubric{font-weight:740}
.station-card h2{font-size:clamp(36px,3.25vw,51px);max-width:16ch;margin:13px 0 8px;line-height:1.02;text-wrap:balance}
.station-card h2:focus-visible{outline-offset:5px}
.station-copy{font-size:14px;line-height:1.55;margin-bottom:16px;color:#5d493d}
.experiment{padding-top:15px;border-color:#d6c2a6}
.readout label{font-size:14px;line-height:1.4}.readout output{font-size:clamp(27px,2.35vw,35px);color:#653539}
.precision-row{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;align-items:center;margin-top:8px}
.precision-row button{width:44px;height:44px;padding:0;display:grid;place-items:center;border:1px solid #bfaa92;color:#583b30;background:#f7eedf;border-radius:3px}
.precision-row button:hover:enabled{background:#e9d6bb;border-color:#916f52}
.precision-row button:disabled{color:#9b8774;border-color:#dacbb8;background:#f2eadc;cursor:default}
.precision-row .icon{width:16px;height:16px}
.instrument{position:relative;min-width:0}
.instrument[data-banded=true]:after{content:'';position:absolute;left:calc(9px + (100% - 18px) * var(--band-from,0));top:21px;pointer-events:none;height:3px;width:calc((100% - 18px) * var(--band-width,0));background:#795e3e;border-radius:3px}
#setting{height:27px;margin:0}
#setting::-webkit-slider-runnable-track{height:5px;background:linear-gradient(to right,#754043 0 var(--fill),#c9b399 var(--fill) 100%)}
#setting::-webkit-slider-thumb{width:19px;height:19px;margin-top:-7px}
.range-ends{font-size:10px;font-weight:570;line-height:1.25;margin:0}
.range-note{display:flex;align-items:center;gap:7px;margin:7px 0 0;color:#644a36;font-size:12px;line-height:1.4}
.range-key{width:13px;height:3px;border-radius:2px;background:#795e3e}.range-note.no-band .range-key{width:6px;height:6px;border-radius:50%;background:#775946}
.phase-row{gap:7px;margin:0 0 13px}.phase-row span{padding:2px 0 5px;font-size:11px;line-height:1.35}
.observation{padding:11px 12px;margin:14px 0 12px;gap:9px;border:1px solid #ddcab3;border-radius:3px;background:#efe3d0}
.observation i{width:7px;height:7px}.observation b{font-size:14px}.observation p{font-size:13px}
.observation[data-tone=good]{border-color:#bcc0a2;background:#ebecd9}
.observation[data-tone=warn]{border-color:#d4ad95;background:#f2dfcf}
.action{min-height:47px;padding:10px 15px;background:#6b3339;font-size:14px;border-radius:3px}.action:hover{background:#823e44}
.replay{min-height:44px}
.related-game{margin-top:12px;padding:6px 0 0;min-height:40px;border-top:1px solid #d8c7b1;font-size:13px}
.afterword{margin-top:21px}
@media(max-width:990px) and (min-width:741px){.tour-shell,.topbar .nav-shell{padding-inline:22px}.workbench{gap:12px;grid-template-columns:minmax(0,1.4fr) minmax(268px,1fr)}.station-card{padding:18px}.station-card h2{font-size:35px}.cam-buttons button{width:41px}.camera-strip{padding-inline:4px}.guide-toggle{font-size:12px;gap:3px}}
@media(max-width:740px){
 .tour-shell,.topbar .nav-shell{padding-inline:clamp(13px,3.7vw,24px)}.tour-shell{padding-top:23px}
 .mast{align-items:start;flex-direction:column;gap:9px}.mast h1{font-size:clamp(47px,9.2vw,60px)}
 .mast-aside{border:0;padding:0}.mast-note{max-width:43ch;font-size:14px}.tour-progress{margin-top:7px;font-size:12px}
 .stations{margin:16px 0 10px;padding:3px}.stations button{min-height:48px;gap:5px;padding:4px 5px;justify-content:center;font-size:clamp(11px,2.5vw,14px)}.step-no{font-size:9px}.station-sign.icon{width:21px;height:21px}.step-end{display:none}
 .workbench{display:grid;grid-template-columns:1fr;gap:12px}.viewer{border-radius:4px}.stage{flex:none;height:clamp(242px,70vw,410px);min-height:0}
 .stage-top{left:10px;right:9px;top:9px}.scene-stamp{min-height:30px;padding:4px 7px;font-size:9px}.stage-actions{gap:4px}.stage-btn{width:44px;height:44px}
 .plate{left:13px;bottom:14px}.plate i{width:17px}#plate-name{font-size:21px}
 .camera-strip{min-height:53px;padding:3px 4px}.cam-buttons button{width:44px}.cam-buttons i{margin:0}.guide-toggle{font-size:12px;gap:4px;padding-inline:5px}.guide-toggle .guide-arrow{width:10px}
 .guide-panel{bottom:97px;left:8px;width:min(375px,calc(100% - 16px))}
 .jump-gesture{display:flex;min-height:44px;padding:3px 14px;justify-content:space-between;border-top:1px solid #70503d;background:#392820;color:#ffddba;font-size:12px}.jump-gesture:hover{background:#493125}.jump-gesture .icon{width:15px;height:15px}
 .station-card{padding:20px 19px}.station-card h2{max-width:none;font-size:clamp(35px,7vw,43px);margin:11px 0 6px}.station-copy{margin-bottom:13px}.experiment{padding-top:12px}.related-game{min-height:44px}
 .viewer:fullscreen .stage{flex:1;height:auto}.viewer:fullscreen .jump-gesture{display:none}.viewer:fullscreen .guide-panel{bottom:54px}
}
@media(max-width:385px){.station-sign.icon{width:17px;height:17px}.stations button{gap:3px}.camera-strip{flex-wrap:wrap;justify-content:center;padding-inline:2px}.guide-toggle{padding-inline:4px}.guide-toggle>.icon:first-child{display:none}.cam-buttons button{width:44px}.stage-btn{width:44px}.edition{font-size:8px}}
@media(max-width:330px){.station-sign.icon{display:none}.camera-strip .guide-toggle .guide-arrow{display:none}.guide-toggle{font-size:11px}.cam-buttons button{width:43px}}
@media(prefers-reduced-motion:no-preference){.stations button,.action,.stage-btn,.precision-row button,.guide-toggle,.cam-buttons button{transition:background-color .16s ease,border-color .16s ease,color .16s ease}}
@media(forced-colors:active){.progress-track .is-done,.range-key,.instrument:after{background:Highlight}.stations [aria-current]{outline:2px solid Highlight}}
