:root{color-scheme:light;--paper: #faf9f3;--panel: #fffef9;--ink: #193c35;--secondary: #566b61;--muted: #66796e;--accent: #327260;--stroke: #d5dcd1;--canvas: #e7efeb;--serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html{min-width:280px}body{margin:0}button,input{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid #188e99;outline-offset:3px}button:disabled{opacity:.52;cursor:default}button{-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}[hidden]{display:none!important}.icon{display:block;width:18px;height:18px;flex:0 0 auto}.studio-header,.workspace{width:min(calc(100% - clamp(40px,6.7vw,112px)),1760px);margin-inline:auto}.studio-header{height:clamp(68px,8.4vh,84px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--stroke)}.studio-name,.studio-actions,.run-state,.guide-btn,.panel-heading,.stage-toolbar,.mode-pair,.mode-pair button,.camera-btn,.shake-btn,.secondary-actions button,.dialog-header,.guide-dialog dt{display:flex;align-items:center}.studio-name{gap:10px;font-size:18px;font-weight:650;letter-spacing:.065em}.studio-mark{width:40px;height:40px;flex:0 0 auto}.studio-actions{gap:23px;font-size:12px}.run-state{color:var(--secondary);gap:8px}.run-state i{width:7px;height:7px;border-radius:50%;background:#9a9c8c}.run-state[data-run=ready] i{background:#5b9473}.run-state[data-run=failed] i{background:#b46148}.run-state[data-run=paused] i{background:#b39058}.guide-btn{gap:7px;background:transparent;border:0;padding:8px 0 8px 19px;border-left:1px solid var(--stroke);font-size:13px;font-weight:500}.guide-btn:hover,.camera-btn:hover{color:#12806a}.workspace{display:grid;grid-template-columns:minmax(0,1fr) clamp(265px,23.5%,350px);align-items:stretch;gap:clamp(16px,1.65vw,30px);padding-block:clamp(17px,2.7vh,34px) clamp(18px,2.8vh,38px)}.stage,.panel{border:1px solid var(--stroke);border-radius:15px;overflow:hidden;min-width:0}.stage{background:var(--canvas);display:flex;flex-direction:column;position:relative}.viewport{flex:1;position:relative;isolation:isolate;min-height:clamp(475px,69.5vh,875px)}.canvas-host{position:absolute;inset:0;touch-action:none}.canvas-host canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-4px}.viewport[data-mode=orbit] canvas{cursor:grab}.viewport[data-mode=orbit] canvas:active{cursor:grabbing}.viewport[data-mode=disturb] canvas{cursor:crosshair}.stage-titles{position:absolute;left:clamp(22px,2.8vw,48px);top:clamp(20px,2.5vw,38px);display:flex;flex-direction:column;align-items:flex-start;pointer-events:none;-webkit-user-select:none;user-select:none}.stage-titles h1{font-family:var(--serif);font-size:clamp(47px,4.35vw,80px);font-weight:600;letter-spacing:.015em;line-height:1.08;margin:0 0 6px -.055em;color:#1c473e}.latin-name{color:#476a60;font:italic 400 clamp(22px,2.1vw,36px) / 1.16 "Baskerville","Times New Roman",serif;letter-spacing:-.045em}.compass{position:absolute;top:clamp(18px,2.3vw,34px);right:clamp(17px,2vw,33px);width:clamp(37px,3.1vw,54px);height:auto;color:#546f66;pointer-events:none}.loading-state{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;display:flex;align-items:center;justify-content:center;gap:11px;max-width:calc(100% - 30px);width:max-content;border-radius:8px;padding:13px 17px;background:#fffef7;color:var(--secondary);font-size:13px;line-height:1.55}.load-dot{width:9px;height:9px;border-radius:50%;background:#418473;flex:none;animation:pulse 1.1s ease-in-out infinite alternate}.loading-state[data-error] .load-dot{background:#b46148;animation:none}@keyframes pulse{to{opacity:.3}}.stage-toolbar{min-height:71px;padding:12px clamp(13px,1.5vw,25px);gap:clamp(9px,1.25vw,21px);background:var(--panel);border-top:1px solid var(--stroke)}.mode-pair,.quality-options{background:#eeefe7;border-radius:8px;padding:3px}.mode-pair{flex:none;gap:2px}.mode-pair button,.quality-options button,.camera-btn{border:0;background:transparent}.mode-pair button{gap:6px;padding:0 12px;justify-content:center;height:33px;border-radius:6px;font-size:13px;font-weight:550;color:var(--secondary)}.mode-pair button[aria-pressed=true]{background:#d5e4d8;color:#234f42}.mode-pair button[aria-pressed=false]:hover,.quality-options button[aria-pressed=false]:hover{background:#e2e7dc}.gesture-hint{color:var(--muted);font-size:12px;line-height:1.55}.camera-btn{margin-left:auto;display:flex;justify-content:flex-end;gap:6px;white-space:nowrap;color:var(--secondary);font-size:12px;padding:8px 0 8px 4px}.panel{display:flex;flex-direction:column;background:var(--panel)}.panel-heading{margin:0 clamp(19px,1.65vw,29px);padding:clamp(20px,2.7vh,31px) 0 clamp(17px,2.3vh,25px);border-bottom:1px solid var(--stroke);justify-content:space-between}.panel-heading h2{margin:0;font-size:clamp(20px,1.5vw,25px);letter-spacing:.01em;font-weight:640;line-height:1.4}.panel-heading>.icon{color:#719082;width:21px;height:21px}.panel-body{display:flex;flex:1;flex-direction:column;padding:0 clamp(19px,1.65vw,29px) clamp(18px,2.45vh,29px)}.panel-group{margin:0;padding:clamp(16px,2.2vh,25px) 0;border-bottom:1px solid var(--stroke)}.panel-group h3{margin:0;color:var(--secondary);font-size:12px;font-weight:600;letter-spacing:.055em}.slider-row{margin-top:clamp(13px,1.8vh,22px)}.slider-row+.slider-row{margin-top:clamp(9px,1.3vh,15px)}.slider-meta{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.slider-meta label,.secondary-actions button{font-size:13px;font-weight:500}.slider-meta output{color:#477465;font-size:12px;font-weight:560;line-height:1.4;font-variant-numeric:tabular-nums}.slider-row input{margin:2px 0 0;appearance:none;-webkit-appearance:none;display:block;width:100%;height:18px;background:transparent;border:0;cursor:pointer}.slider-row input::-webkit-slider-runnable-track{height:4px;background:linear-gradient(to right,#528873 var(--progress),#dfe5d9 var(--progress));border-radius:3px}.slider-row input::-moz-range-track{height:4px;background:#dfe5d9;border-radius:3px}.slider-row input::-moz-range-progress{height:4px;background:#528873;border-radius:3px}.slider-row input::-webkit-slider-thumb{appearance:none;width:14px;height:14px;margin-top:-5px;border-radius:50%;background:#f9fbf3;border:3px solid #477c67}.slider-row input::-moz-range-thumb{box-sizing:border-box;width:14px;height:14px;border-radius:50%;background:#f9fbf3;border:3px solid #477c67}.swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px -4px -3px}.swatches button{align-items:center;background:transparent;border:0;padding:3px;display:flex;flex-direction:column;gap:6px;border-radius:5px;font-size:12px;color:var(--muted)}.color-sample{display:grid;place-items:center;width:clamp(30px,2.3vw,40px);aspect-ratio:1;border-radius:50%;background:var(--swatch);position:relative}.color-sample .icon{opacity:0;color:#153f39;width:16px;height:16px}.swatches button[aria-pressed=true]{color:var(--ink);font-weight:650}.swatches button[aria-pressed=true] .color-sample:after,.swatches button:hover .color-sample:after{position:absolute;content:"";inset:-3px;border:1px solid var(--ink);border-radius:50%}.swatches button[aria-pressed=true] .icon{opacity:1}.quality{border:0}.quality-options{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin-top:12px}.quality-options button{border-radius:6px;min-height:31px;color:var(--secondary);font-size:12px}.quality-options button[aria-pressed=true]{background:#fffef9;color:var(--ink);font-weight:620;box-shadow:0 1px 3px #203a2e16}.simulation-actions{margin-top:auto;padding-top:6px}.shake-btn{justify-content:center;gap:9px;width:100%;min-height:43px;border:1px solid #285b4c;border-radius:7px;background:#285b4c;font-size:14px;font-weight:570;color:#fffef7}.shake-btn:enabled:hover{background:#204c40}.shake-btn:enabled:active{background:#163e32}.shake-btn .icon{width:20px;height:20px}.secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:9px}.secondary-actions button{gap:6px;background:transparent;border:1px solid var(--stroke);border-radius:7px;min-height:37px;justify-content:center}.secondary-actions button:hover{background:#f2f3eb}.secondary-actions .icon{width:16px;height:16px}.guide-dialog{width:min(405px,calc(100vw - 38px));padding:23px 26px;border:1px solid var(--stroke);color:var(--ink);border-radius:12px;background:var(--panel);box-shadow:0 14px 60px #10281e2e}.guide-dialog::backdrop{background:#142f2638}.dialog-header{justify-content:space-between;gap:9px}.dialog-header h2{font-size:22px;margin:0}.close-guide{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:#f0f2e9}.guide-dialog dl{margin:18px 0 0}.guide-dialog dt{gap:8px;margin-top:19px;font-size:14px;font-weight:650}.guide-dialog dd{margin:6px 0 0 26px;font-size:13px;color:var(--secondary);line-height:1.75}@media(min-width:1650px){.viewport{min-height:clamp(560px,75vh,920px)}}@media(max-width:1050px)and (min-width:761px){.studio-header,.workspace{width:calc(100% - 36px)}.workspace{grid-template-columns:minmax(0,1fr) 250px;gap:13px}.panel-heading{margin-inline:16px}.panel-body{padding-inline:16px}.stage-toolbar{flex-wrap:wrap;gap:8px}.gesture-hint{flex-basis:100%;order:3}.stage-titles h1{font-size:45px}.latin-name{font-size:23px}}@media(max-width:760px){.studio-header,.workspace{width:calc(100% - 32px)}.studio-header{height:63px}.studio-name{gap:6px;font-size:16px}.studio-mark{width:34px;height:34px}.studio-actions{gap:12px}.guide-btn{padding-left:12px;min-height:33px;font-size:12px}.workspace{grid-template-columns:1fr;gap:14px;padding-block:14px 22px}.viewport{min-height:0;height:clamp(340px,84vw,545px);flex:none}.stage-titles{top:17px;left:20px;flex-direction:row;align-items:baseline;gap:9px}.stage-titles h1{font-size:36px;margin-bottom:0}.latin-name{font-size:22px}.compass{top:11px;right:14px;width:32px}.stage-toolbar{min-height:65px;padding:9px 13px;gap:6px 12px;flex-wrap:wrap}.mode-pair button{min-height:37px;padding:0 12px}.camera-btn{min-height:42px}.panel-heading{padding:18px 0 16px;margin:0 20px}.panel-heading h2{font-size:20px}.panel-body{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;padding:0 20px 19px}.panel-group{padding:16px 0}.dynamics{grid-row:span 2}.quality{border-bottom:1px solid var(--stroke)}.simulation-actions{grid-column:1 / -1;padding-top:16px}.secondary-actions button{min-height:43px}.quality-options button{min-height:37px}.slider-row input{height:24px}}@media(max-width:530px){.gesture-hint{order:3;flex:0 0 100%;font-size:11px}.stage-toolbar{gap:3px 8px;padding:8px 13px}.panel-body{display:flex}.quality{border-bottom:0}.panel-group{padding:17px 0}.slider-row{margin-top:9px}.slider-row+.slider-row{margin-top:6px}.simulation-actions{padding-top:2px}.swatches{margin-inline:-8px}.swatches button{min-height:54px}.color-sample{width:30px}}@media(max-width:365px){.studio-header,.workspace{width:calc(100% - 20px)}.studio-actions{gap:8px}.guide-btn{padding-left:8px}.studio-name{font-size:15px}.stage-titles{left:15px;gap:6px}.stage-titles h1{font-size:30px}.latin-name{font-size:19px}}@media(prefers-reduced-motion:reduce){.load-dot{animation:none}}.gallery-home{color:inherit;text-decoration:none}.gallery-home:hover span{text-decoration:underline}@media(max-width:760px),(pointer:coarse){.guide-btn,button[data-mode],button[data-quality],.gallery-home{min-height:44px}}
