:root{color-scheme:light;--paper:#f4f2ec;--ground:#e7e6df;--ink:#30362f;--muted:#74786e;--line:#d5d8ce;--green:#515f4b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC",sans-serif;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}button,input{font:inherit}button{color:inherit;cursor:pointer;border:1px solid var(--line);border-radius:3px;background:transparent;padding:10px 15px;transition:background .15s}button:hover{background:#e7e9e0}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:4px}button.primary{background:var(--green);color:#fff;border-color:var(--green);width:100%}button.primary:hover{background:#414f3b}button.quiet{border:0}button.quiet span{margin-left:12px}header{height:100px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line)}.identity{display:flex;align-items:center;gap:16px}.mark{font-family:"Songti SC",serif;border:1px solid #89927f;width:34px;height:40px;display:grid;place-items:center;color:#6a765d;font-size:22px}h1{font-family:"Songti SC","Noto Serif CJK SC",serif;font-weight:500;font-size:22px;letter-spacing:.12em;margin:0 0 7px}header p{font-size:11px;margin:0;color:var(--muted);letter-spacing:.06em}header p span{margin:0 8px}main{display:grid;grid-template-columns:minmax(0,1fr) 330px;min-height:calc(100svh - 145px)}#stage{background:var(--ground);position:relative;padding:28px 36px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;overflow:hidden}.stage-note,.stage-bottom{width:100%;display:flex;justify-content:space-between;gap:14px;font-size:11px;color:#71766b;letter-spacing:.08em}.stage-note span:last-child{font-family:monospace;font-size:10px}.stage-bottom{letter-spacing:.02em}#visual-state{color:#404b38}#artwork{height:max(420px,calc(100svh - 260px));width:100%;display:flex;align-items:center;justify-content:center}#artwork canvas{display:block;height:100%!important;width:auto!important;max-width:100%;object-fit:contain;box-shadow:0 10px 28px #434d3815}#loading{color:var(--muted)}aside{padding:30px 27px 20px;border-left:1px solid var(--line)}.eyebrow{font-size:11px;letter-spacing:.12em;color:var(--muted)}h2{font-family:"Songti SC","Noto Serif CJK SC",serif;font-size:25px;font-weight:500;letter-spacing:.04em;margin:12px 0}.intro p{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 25px}.source-tabs{display:flex;background:#e6e8df;border-radius:3px;padding:3px;gap:4px}.source-tabs button{flex:1;border:0;font-size:12px;padding:8px}.source-tabs [aria-pressed=true]{background:var(--paper);box-shadow:0 1px 4px #30362f12}.distance-block{margin-top:24px}.distance-block>span{font-size:11px;color:var(--muted)}.distance-number{display:flex;align-items:baseline;gap:9px;margin-top:5px;font-variant-numeric:tabular-nums}.distance-number output{font-size:42px;font-weight:400;letter-spacing:-.04em}.distance-number span{font-size:13px;color:var(--muted)}.distance-block p{font-size:11px;color:var(--muted);line-height:1.7;min-height:19px;margin:7px 0 16px}input[type=range]{accent-color:var(--green);width:100%;margin:4px 0;cursor:ew-resize;min-height:20px}.range-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}details{border-top:1px solid var(--line);margin-top:25px;padding-top:16px}summary{font-size:12px;cursor:pointer}.field{margin-top:20px}.field label{font-size:12px;display:flex;justify-content:space-between;margin-bottom:10px}.field output{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.thresholds{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px}.thresholds label{font-size:11px}.thresholds input{display:block;width:100%;margin:8px 0 5px}input[type=number]{background:transparent;color:var(--ink);border:1px solid var(--line);padding:8px;min-width:0;border-radius:3px;font-variant-numeric:tabular-nums}small{font-size:10px;color:var(--muted);line-height:1.7}.footnote{border-top:1px solid var(--line);padding-top:16px;font-size:10px;color:var(--muted);line-height:1.9;margin:24px 0 0}footer{height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;font-size:10px;color:var(--muted);border-top:1px solid var(--line)}footer span:last-child{letter-spacing:.1em;font-size:9px}#leave-exhibit{display:none}.camera-frame{position:relative;aspect-ratio:16/10;background:#dedfd6;overflow:hidden;border-radius:3px;margin:8px 0}.camera-frame video,.camera-frame canvas{position:absolute;width:100%;height:100%;object-fit:contain;transform:scaleX(-1)}#camera-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:11px}#camera-status{font-size:11px;line-height:1.65;color:var(--muted);min-height:36px;margin:9px 0}.calibration{margin-top:17px}.calibration label{font-size:11px}.inline{display:flex;gap:8px;align-items:center;margin:8px 0}.inline input{width:80px}.inline span{font-size:11px;color:var(--muted)}.inline button{margin-left:auto;padding:8px 14px}.error{font-size:11px;line-height:1.6;color:#9a4538}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}body.exhibition header,body.exhibition aside,body.exhibition footer,body.exhibition .stage-note,body.exhibition .stage-bottom{display:none}body.exhibition main{display:block}body.exhibition #stage{height:100svh;padding:0;background:#171a16}body.exhibition #artwork{height:100svh}body.exhibition #artwork canvas{box-shadow:none}body.exhibition #leave-exhibit{display:block;position:absolute;bottom:16px;right:18px;color:#d7d9ce;background:#171a1690;opacity:.3}body.exhibition #leave-exhibit:hover,body.exhibition #leave-exhibit:focus-visible{opacity:1}
@media(min-width:1500px){main{grid-template-columns:minmax(0,1fr) 380px}aside{padding:36px}#stage{padding-left:55px;padding-right:55px}}@media(max-width:760px){header{height:83px;padding:0 20px}header p{font-size:10px}.identity{gap:10px}h1{font-size:19px}header .quiet{font-size:11px;padding:7px;max-width:100px}.mark{display:none}main{grid-template-columns:1fr}#stage{padding:20px;gap:15px}#artwork{height:min(64svh,640px);min-height:330px}aside{border-left:0;border-top:1px solid var(--line);padding:25px 24px;display:block}.intro p{margin-bottom:18px}.distance-block{margin-top:20px}footer{padding:0 20px}footer span:last-child{font-size:8px}.stage-note,.stage-bottom{font-size:10px}}@media(prefers-reduced-motion:reduce){button{transition:none}}
