:root{--ink:#25463f;--paper:#f4f2e9;--muted:#7c8980;--line:#dce0d5;--red:#ab4d38;--gold:#bba571}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.65 'Segoe UI','Microsoft Yahei',sans-serif}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:transparent;transition:.2s}button:hover{color:var(--red)}button:focus-visible,a:focus-visible{outline:2px solid #bba571;outline-offset:4px}header{max-width:1500px;margin:auto;padding:26px 4.5%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;text-decoration:none;color:var(--ink);font:600 24px 'Noto Serif SC',serif;letter-spacing:3px}.brand small{display:block;font:9px/2.5 sans-serif;letter-spacing:3px}.seal{background:var(--red);color:#fff5db;border:3px double #e5b89a;width:43px;height:48px;font:18px/1.1 serif;padding:3px 8px}nav{display:flex;gap:28px;font-size:12px}nav b{padding:2px 7px;background:#e4e8dd;border-radius:20px}main{max-width:1500px;padding:38px 4.5% 20px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:3px;color:#9a7956;margin:0 0 10px}h1,h2{font-family:'Noto Serif SC','Songti SC',serif;font-weight:500;margin:0}h1{font-size:34px;letter-spacing:3px}.heading p:not(.eyebrow){color:var(--muted);font-size:12px;margin:10px 0 0}.journey{width:180px;font-size:11px;color:var(--muted)}.journey strong{display:block;font-size:16px;color:var(--ink);margin:5px 0}.journey strong b{font-size:28px;font-weight:400}.progress{height:3px;background:#dbe0d5}.progress i{display:block;height:100%;background:var(--red);width:0;transition:width .4s}.game{display:grid;grid-template-columns:minmax(0,1fr) 290px;border:1px solid #d9ded2;border-radius:5px;background:#faf9f3;overflow:hidden;box-shadow:0 15px 50px #293e3210}.scene-nav{height:60px;display:flex;align-items:stretch;border-bottom:1px solid var(--line);padding:0 22px;gap:28px}.scene-nav button{font-size:12px;position:relative;color:#879387}.scene-nav button.active{color:var(--ink)}.scene-nav button.active:after{content:'';height:2px;background:var(--red);position:absolute;bottom:0;left:0;right:0}.scene-nav small{font-size:10px;margin-left:7px;color:#a19780}.view{position:relative;margin:18px 18px 0;background:#285a53;overflow:hidden;aspect-ratio:3/2;touch-action:none;cursor:crosshair}canvas{display:block;width:100%;height:100%}.view-top,.view-bottom{position:absolute;left:22px;right:22px;display:flex;justify-content:space-between;color:#fff9e8;font-size:10px;letter-spacing:1px;text-shadow:0 1px 4px #102e26;pointer-events:none}.view-top{top:18px}.view-bottom{bottom:20px}.view-top>span{background:#173d3655;padding:4px 9px;border-radius:2px}.live-dot{display:inline-block;width:5px;height:5px;background:#e0b285;border-radius:50%;margin:0 5px}.view-top b{font-weight:400;margin-left:10px}.frame{position:absolute;pointer-events:none;box-shadow:0 0 0 800px #0e302c22;border:1px solid #fff8df66}.corner{position:absolute;width:18px;height:18px;border-color:#fff9e9;border-style:solid;filter:drop-shadow(0 1px 2px #243a2c)}.tl{left:-2px;top:-2px;border-width:2px 0 0 2px}.tr{right:-2px;top:-2px;border-width:2px 2px 0 0}.bl{left:-2px;bottom:-2px;border-width:0 0 2px 2px}.br{right:-2px;bottom:-2px;border-width:0 2px 2px 0}.grid{position:absolute;inset:0;background:linear-gradient(to right,transparent 33.2%,#ffffe54d 33.3%,transparent 33.5%,transparent 66.5%,#ffffe54d 66.6%,transparent 66.8%),linear-gradient(to bottom,transparent 33.2%,#ffffe54d 33.3%,transparent 33.5%,transparent 66.5%,#ffffe54d 66.6%,transparent 66.8%)}.focus-point{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:28px;color:#fff8dd;font-weight:200}.hint{position:absolute;bottom:54px;left:50%;transform:translateX(-50%);background:#173d3680;color:#fff5df;padding:5px 12px;border-radius:20px;font-size:10px;white-space:nowrap;pointer-events:none}.pause{position:absolute;bottom:15px;right:16px;color:#fff;z-index:2;background:#163b3655;border-radius:50%;width:30px;height:30px}.view-bottom{right:62px}.flash{position:absolute;inset:0;background:white;opacity:0;pointer-events:none}.flash.fire{animation:flash .4s}@keyframes flash{0%{opacity:.85}100%{opacity:0}}.toolbar{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 8px}.label{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.lens button{padding:2px 11px;font-size:12px;border-radius:3px}.lens button.active{background:#dfe8dc}.lens small{font-size:8px;margin-left:3px}.shutter{width:62px;height:62px;border:1px solid #a9b6a6;border-radius:50%;padding:5px;flex-shrink:0;margin-left:-50px}.shutter i{display:block;background:var(--red);border:3px solid #f0ded2;border-radius:50%;width:100%;height:100%;transition:transform .12s}.shutter:hover i{transform:scale(.91);background:#be5b40}.shutter:active i{transform:scale(.8)}.tools{display:flex;flex-direction:column;font-size:10px;gap:5px}.tools button.active{color:var(--red)}.keyboard{text-align:center;font-size:9px;color:#919a8e;letter-spacing:.2px;margin:7px 0 18px}.keyboard span{padding:0 6px}kbd{font:9px sans-serif;border:1px solid #d3d9ce;border-radius:2px;padding:1px 3px}aside{border-left:1px solid var(--line);padding:25px 25px 20px;background:#f0f1e7}.mission-title{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:var(--muted)}.mission-title .eyebrow{margin:0;font-size:9px;letter-spacing:2px}aside h2{font-size:27px;margin:17px 0 8px}#missionDesc{font-size:11px;color:#758276;min-height:45px;margin:0 0 16px}.missions{display:flex;gap:8px;margin:18px 0}.missions button{width:34px;height:30px;border:1px solid #d1d8ca;border-radius:3px;font-size:11px}.missions button.active{border-color:var(--red);color:var(--red);background:#ab4d3808}.missions button.completed:after{content:'✓';margin-left:2px}.brief{font-size:11px;line-height:1.9;padding:14px;background:#e3e8db;color:#5f735f;border-left:2px solid #a8b79a;margin-bottom:24px}.meter-head{display:flex;justify-content:space-between;font-size:11px}.meter-head b{font-weight:500;color:var(--red)}input[type=range]{width:100%;accent-color:var(--ink);height:20px;cursor:pointer}.range-label{display:flex;justify-content:space-between;font-size:9px;color:#8c9787}.meter{font-size:10px;padding:14px 0 18px;border-bottom:1px solid #d9dfd0}.meter span{display:block;color:#8d9789}.meter strong{font-weight:400;display:block;margin-top:4px}.tip{margin:20px 0 0}.tip span{font-size:11px;color:#a0865f}.tip p{font-size:11px;color:#87917f;line-height:1.9}.best{border-top:1px solid #d9dfd0;padding-top:14px;display:flex;justify-content:space-between;font-size:10px;color:#87917f}.best strong{color:var(--red)}.bottom{display:flex;justify-content:space-between;padding:22px 1px;font-size:11px;align-items:center}.bottom b{font-weight:500;margin:0 15px 0 7px}.bottom span{color:#90998a;font-size:10px}.red-dot{display:inline-block;width:5px;height:5px;border-radius:100%;background:var(--red)}.bottom button{font-size:11px}dialog{border:1px solid #d3dbce;border-radius:6px;background:#f5f2e8;color:var(--ink);padding:36px;max-width:900px;width:90%;box-shadow:0 40px 120px #102b2555}dialog::backdrop{background:#0c2925a8;backdrop-filter:blur(5px)}.close{position:absolute;right:14px;top:10px;font-size:24px;color:#71816d;z-index:2}dialog h2{font-size:28px;margin-bottom:12px}dialog p{line-height:1.9}dialog li{margin:16px 0;font-size:13px}#guide{max-width:650px}.primary{background:var(--ink);color:#fff8e5;border-radius:3px;padding:12px 20px}.primary:hover{background:#356251;color:white}.result-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:36px;align-items:center}.print{padding:12px;background:#fffcf3;box-shadow:0 8px 25px #354a3520;transform:rotate(-2deg)}.print img{width:100%;display:block}.print>div{display:flex;justify-content:space-between;font:11px/3 'Noto Serif SC',serif;padding:4px}.review h2{font-size:30px}.score b{font-size:60px;font-family:Georgia,serif;font-weight:400}.score span{color:#939b89;margin-left:8px}.bar{display:grid;grid-template-columns:50px 1fr 30px;align-items:center;gap:9px;font-size:10px;margin:9px 0}.bar i{height:4px;background:#dde2d2}.bar em{display:block;height:100%;background:#9caa80}#feedback{font-size:12px;color:#798571}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions button:not(.primary){border:1px solid #c9d3bf;border-radius:3px;padding:9px 12px;font-size:11px}.sub{color:#86917d;font-size:11px}#albumGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-height:65vh;overflow:auto;padding:10px 4px}.photo-card{padding:9px;background:#fffdf4;box-shadow:0 4px 14px #193f3b15}.photo-card img{width:100%;display:block}.photo-card h3{font-size:12px;font-weight:500;margin:8px 0 0}.photo-card p{font-size:10px;margin:3px 0;color:#8c957f}.photo-card button{font-size:10px;color:var(--red);padding:0}.empty{grid-column:1/-1;padding:50px 0;text-align:center;color:#8b9782}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--ink);color:#fff7de;padding:12px 24px;border-radius:30px;transition:.25s;z-index:20;font-size:12px}.toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:1600px){main{padding-top:44px}}@media(max-width:1050px){main{padding:25px 3%}.game{grid-template-columns:minmax(0,1fr) 250px}aside{padding:20px 17px}.scene-nav{gap:15px;padding:0 15px}.scene-nav small{display:none}.toolbar{padding:14px}.shutter{margin-left:-20px}.heading h1{font-size:29px}nav{gap:15px}.view{margin:12px 12px 0}}@media(max-width:760px){header{padding:16px 5%}.brand{font-size:19px;gap:8px}.brand small{font-size:7px}.seal{width:35px;height:42px;padding:3px 5px}nav{gap:8px;font-size:10px}#soundBtn{display:none}.heading{margin-bottom:20px}.heading h1{font-size:24px;letter-spacing:1px}.heading p:not(.eyebrow){font-size:10px}.journey{width:85px;margin-left:12px}.journey>span{font-size:9px}.journey strong b{font-size:22px}.game{display:flex;flex-direction:column}.scene-nav{height:48px;justify-content:space-around;gap:0}.scene-nav button{font-size:11px}.view{margin:8px 8px 0}.toolbar{padding:12px 16px 6px}.lens button{padding:3px 8px}.shutter{width:52px;height:52px;margin-left:-15px}.keyboard{font-size:8px}.keyboard span{padding:0 2px}.hint{font-size:8px;bottom:41px}.view-top,.view-bottom{left:12px;right:12px;font-size:8px}.view-top{top:10px}.view-bottom{bottom:13px;right:50px}.pause{bottom:8px}.frame .corner{width:12px;height:12px}aside{border-left:0;border-top:1px solid var(--line);padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.mission-title,aside h2,#missionDesc,.missions,.brief{grid-column:1}.mission-title{grid-row:1}.mission-title #chapter{display:none}aside h2{grid-row:2;font-size:23px;margin:10px 0 5px}#missionDesc{grid-row:3;margin-bottom:0;min-height:0}.missions{grid-row:4;margin:10px 0}.brief{grid-row:5;margin:0;font-size:10px;padding:9px}.meter-head{grid-column:2;grid-row:1;align-items:center}#ev{grid-column:2;grid-row:2;align-self:center}.range-label{grid-column:2;grid-row:3}.meter{grid-column:2;grid-row:4;padding:0 0 7px}.tip{grid-column:2;grid-row:5;margin:0}.tip span{font-size:10px}.tip p{font-size:10px;margin:5px 0}.best{grid-column:1/-1;margin-top:15px;padding-top:10px}.bottom{padding:18px 0}.bottom>div>span:last-child{display:none}.bottom b{font-size:10px}.result-layout{grid-template-columns:1fr;gap:24px}.print{max-width:380px;margin:auto}.review h2{font-size:23px}.score b{font-size:42px}dialog{padding:25px;max-height:90vh;overflow:auto}.review .eyebrow{margin:0}.actions button{font-size:11px}#albumGrid{grid-template-columns:repeat(2,1fr);gap:12px}#guide li{font-size:11px;margin:12px 0}#guide ol{padding-left:16px}}
.character-bar{margin:8px 22px 0;padding:10px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:12px}.character-bar>span{display:flex;align-items:center;gap:10px}.character-bar img{object-fit:contain;object-position:center;filter:drop-shadow(0 2px 3px #294d3920)}.character-bar small{color:#89967f;font-size:10px}.character-bar button{border:1px solid #c8d3bf;padding:6px 11px;border-radius:20px;font-size:11px}.character-panel{margin:0 22px 10px;padding:15px;background:#e8eddf;border-radius:4px;display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}.character-panel[hidden]{display:none}.character-mode{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.character-mode button{background:#f9f8ee;border:1px solid #cbd5bf;border-radius:3px;padding:7px 10px;font-size:11px}.character-mode button.active{background:var(--ink);color:white}.character-panel label{font-size:11px;color:#657c60}.character-panel output{float:right;color:#a55039}.character-panel p{margin:0;grid-column:1/-1;font-size:10px;color:#87967c}.character-check{grid-column:1/-1;display:flex;align-items:center;gap:7px}.character-check input{accent-color:var(--ink)}.moving-character{cursor:move}.moving-character .frame{opacity:.35}.brand{font-size:21px;letter-spacing:1px}button{touch-action:manipulation}dialog{overscroll-behavior:contain}#exposureLayer{position:absolute;inset:0;pointer-events:none}@media(max-width:760px){.brand{font-size:15px;letter-spacing:0}.brand small{font-size:6px;letter-spacing:1px}.character-bar{margin:5px 12px 0;font-size:11px}.character-bar small{display:none}.character-panel{margin:0 12px 8px;padding:12px;gap:8px 14px}.character-mode button{min-height:40px;font-size:10px}.character-bar button{min-height:38px}.character-panel input[type=range]{height:32px}nav{gap:2px}nav button{min-height:40px;font-size:10px}.scene-nav button{min-height:44px}.missions button{min-height:36px}.keyboard{display:none}.toolbar{padding-bottom:8px}.lens button{min-height:40px}.tools button{min-height:28px}.view-top #clock{display:none}.hint{max-width:95%;font-size:8px}.heading h1{font-size:21px}.heading .eyebrow{font-size:8px}dialog .close{min-width:40px;min-height:40px}.actions button{min-height:42px}.range-label{align-items:start}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.flash.fire{animation-duration:.1s}}
/* Compact opening page, portrait phones and short landscape viewports. */
#soundBtn{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #cbd5c1;border-radius:18px;padding:5px 12px;white-space:nowrap;min-height:34px;font-size:11px}#soundBtn[aria-pressed=true]{color:#a04b36;background:#eee5d7}#guide{width:min(470px,calc(100vw - 28px));max-width:470px;max-height:calc(100dvh - 24px);padding:26px 30px 20px;overflow:hidden;border:1px solid #c8d2bc;background:radial-gradient(ellipse at 90% 15%,#dce5cf 0,transparent 65%),#f7f4e9}#guide .close{right:8px;top:5px;min-width:36px;min-height:36px}.cover-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:132px}.cover-heading>div{flex:1}.cover-heading img{height:164px;width:90px;object-fit:contain;filter:drop-shadow(0 8px 9px #52674026)}#guide .eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:10px}#guide h2{font-size:31px;line-height:1.4;letter-spacing:2px;margin:0}#guide .cover-lead{font-size:14px;line-height:1.9;margin:8px 0 17px;color:#536c56}.cover-steps{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #dce0d0;border-bottom:1px solid #dce0d0;padding:13px 0;font-size:11px}.cover-steps span{white-space:nowrap}.cover-steps b{font-family:Georgia,serif;font-weight:400;color:#ad6548;margin-right:5px}#guide .cover-description{font-size:12px;line-height:1.9;color:#859177;margin:15px 0 18px}#guide #start{display:block;width:100%;font-size:15px;letter-spacing:2px;min-height:48px;padding:10px 16px;background:#294e40;border:1px solid #476b50;box-shadow:0 5px 12px #274b3717}#guide .cover-note{font-size:10px;line-height:1.5;color:#98a18b;text-align:center;margin:10px 0 0;letter-spacing:0}.game .studio{min-width:0}.view{contain:layout paint}.scene-nav{overflow-x:auto;scrollbar-width:none}.scene-nav::-webkit-scrollbar{display:none}.scene-nav button{flex-shrink:0}.character-panel input{max-width:100%}
@media(max-width:760px) and (orientation:portrait){header{padding:12px 4%;gap:6px;flex-wrap:wrap}.brand{flex-shrink:0;font-size:16px}.brand small{line-height:1.7}nav{margin-left:auto;gap:5px}nav button{font-size:10px;min-height:34px;padding:2px 5px}#soundBtn{padding:4px 8px;font-size:10px;min-height:32px}.seal{width:32px;height:38px;font-size:16px}main{padding:20px 3% 10px}.heading{margin-bottom:16px}.heading h1{font-size:22px}.view{width:calc(100% - 16px);height:auto;aspect-ratio:3/2}aside{grid-template-columns:1fr 1fr;gap:0 16px;padding:18px 16px}.toolbar{gap:6px}.lens button{padding:3px 7px}.shutter{margin-left:0}.character-panel{grid-template-columns:1fr 1fr}.cover-heading img{height:140px;width:77px}#guide{padding:23px 24px 18px}#guide h2{font-size:28px}.cover-heading{min-height:122px}#guide .cover-lead{font-size:13px}#guide .cover-description{font-size:12px}}
@media(max-height:650px){#guide{padding:17px 22px 14px}#guide .cover-heading{min-height:100px}.cover-heading img{height:110px;width:62px}#guide h2{font-size:25px}#guide .eyebrow{font-size:9px;margin-bottom:6px}#guide .cover-lead{font-size:12px;line-height:1.6;margin:7px 0 10px}.cover-steps{padding:9px 0;font-size:10px}#guide .cover-description{font-size:11px;line-height:1.6;margin:10px 0 12px}#guide #start{min-height:42px;font-size:14px}#guide .cover-note{font-size:9px;margin:7px 0 0}}
@media(orientation:landscape) and (max-height:600px){body{overflow-x:hidden}header{padding:5px 2%;min-height:45px;gap:12px}.brand{font-size:17px;gap:8px}.brand small{font-size:7px;line-height:1.5}.seal{height:33px;width:30px;padding:1px 5px;font-size:14px}nav{gap:10px}nav button{min-height:30px;font-size:10px}#soundBtn{min-height:28px;font-size:10px}main{padding:8px 2% 0}.heading,.bottom{display:none}.game{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:start}.studio{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 66px;grid-template-rows:36px auto 35px}.scene-nav{grid-column:1/-1;height:36px;padding:0 10px;gap:26px;justify-content:space-around}.scene-nav button{font-size:10px;min-height:34px}.scene-nav small{display:none}.view{grid-column:1;grid-row:2;margin:5px 0 0 5px;width:calc(100% - 5px);height:auto;aspect-ratio:3/2;max-height:calc(100dvh - 154px)}.toolbar{grid-column:2;grid-row:2;flex-direction:column;justify-content:space-around;align-self:stretch;padding:5px 3px;gap:3px}.lens{text-align:center}.lens .label{font-size:8px;margin-bottom:2px}.lens>div{display:grid;grid-template-columns:1fr 1fr}.lens button{font-size:10px;min-height:26px;padding:1px 6px}.shutter{width:46px;height:46px;margin:0;padding:4px}.tools{gap:0}.tools button{font-size:8px;min-height:23px;padding:0}.character-bar{grid-row:3;grid-column:1/-1;margin:0 8px;padding:1px 0;font-size:10px;border:0}.character-bar img{width:18px;height:29px}.character-bar small{display:none}.character-bar button{font-size:9px;min-height:27px;padding:3px 8px}.character-panel{grid-column:1/-1;margin:0 8px 8px;padding:10px;z-index:2}.character-mode button{font-size:9px;min-height:30px}.character-panel input[type=range]{height:22px}.keyboard{display:none}aside{display:block;border-top:0;border-left:1px solid var(--line);padding:11px 13px;max-height:calc(100dvh - 65px);overflow:auto;overscroll-behavior:contain}.mission-title{font-size:8px}#chapter{display:none}aside h2{font-size:20px;margin:7px 0 5px}#missionDesc{font-size:10px;line-height:1.6;margin:0;min-height:0}.missions{margin:9px 0}.missions button{min-height:27px;width:30px;font-size:10px}.brief{font-size:9px;padding:8px;margin-bottom:10px}.meter-head{font-size:10px}.meter{font-size:9px;padding:5px 0 8px}.tip{display:none}.best{font-size:9px;padding-top:7px;margin-top:6px}.range-label{font-size:8px}.view .hint{font-size:8px;bottom:38px}.view-top,.view-bottom{font-size:8px}.view-top{top:9px;left:9px;right:9px}.view-bottom{bottom:11px;left:9px;right:43px}.pause{bottom:7px;right:7px;width:25px;height:25px}#guide{width:min(600px,calc(100vw - 30px));max-width:600px;padding:14px 25px;display:none;grid-template-columns:1fr 1fr;column-gap:24px;align-items:center}#guide[open]{display:grid}#guide .cover-heading{grid-column:1;grid-row:1/5;min-height:0;gap:6px}#guide .cover-heading img{height:150px;width:72px}#guide h2{font-size:25px}#guide .cover-lead{grid-column:2;font-size:12px;margin:5px 0 10px;line-height:1.7}#guide .cover-steps{grid-column:2;font-size:9px;padding:8px 0;gap:6px;flex-wrap:wrap}#guide .cover-description{grid-column:2;font-size:10px;line-height:1.6;margin:10px 0}#guide #start{grid-column:1/-1;min-height:40px;font-size:14px;margin-top:7px}#guide .cover-note{grid-column:1/-1;font-size:9px;margin-top:6px}.result-layout{grid-template-columns:1fr 1fr;gap:20px}.print{max-width:300px}.review h2{font-size:22px}.review .score b{font-size:38px}.review #feedback{font-size:10px;margin:8px 0}.bar{margin:5px 0;font-size:9px}.actions button{font-size:10px;min-height:32px}.actions .primary{padding:6px 12px}#result{max-height:94dvh;padding:20px}#album{max-height:92dvh}#albumGrid{grid-template-columns:repeat(3,1fr)}}
@media(orientation:landscape) and (max-height:360px){.game{grid-template-columns:minmax(0,1fr) 194px}header{min-height:38px;padding:3px 2%}.brand{font-size:14px}.brand small{display:none}.seal{height:29px;width:26px;font-size:12px}main{padding-top:5px}.view{max-height:calc(100dvh - 132px)}.scene-nav{height:30px}.studio{grid-template-rows:30px auto 30px}.scene-nav button{min-height:28px}aside{max-height:calc(100dvh - 47px)}.toolbar .shutter{width:38px;height:38px}.tools{display:none}.lens button{min-height:22px}#guide{padding:10px 22px}#guide .cover-heading img{height:118px;width:58px}#guide h2{font-size:22px}#guide .cover-lead{font-size:11px;margin:2px 0 7px}#guide .cover-description{font-size:10px;margin:7px 0}#guide #start{min-height:36px;padding:5px 12px;margin-top:4px}#guide .cover-note{font-size:8px;margin-top:4px}}
/* Keep the 3:2 playfield undistorted when landscape height is the limiting edge. */
@media(orientation:landscape) and (max-height:600px){.view{width:min(calc(100% - 5px),calc(150dvh - 231px));max-height:none;justify-self:center}.view canvas{aspect-ratio:3/2}}
@media(orientation:landscape) and (max-height:360px){.view{width:min(calc(100% - 5px),calc(150dvh - 198px));max-height:none}}
.scene-nav{justify-content:flex-start;gap:22px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b2c0a7 transparent}.scene-nav button{scroll-snap-align:start}#audioModeBtn{font-size:10px;border:1px solid #cbd5c1;border-radius:18px;min-height:32px;padding:4px 10px;white-space:nowrap}#guide .cover-note{font-size:9px}.journey strong{white-space:nowrap}@media(max-width:760px) and (orientation:portrait){nav{gap:4px;justify-content:flex-end;flex-wrap:wrap}#audioModeBtn{min-height:30px;padding:3px 7px;font-size:9px}.scene-nav{gap:24px;padding:0 15px;scrollbar-width:none}}@media(orientation:landscape) and (max-height:600px){.scene-nav{justify-content:flex-start;gap:22px;padding:0 12px}#audioModeBtn{min-height:28px;padding:3px 8px;font-size:9px}nav{gap:6px}}
