:root{font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif;color:#dce4dd;background:#121e24;font-synthesis:none;--accent:#bed79c;--muted:#87968f;--line:#ffffff13}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select,summary{cursor:pointer}button{color:inherit;background:none;border:1px solid var(--line);border-radius:4px;min-height:40px;transition:background .15s,border-color .15s;font-size:12px}button:hover{background:#ffffff0b;border-color:#a7bc9260}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{opacity:.35;cursor:not-allowed}button[aria-pressed=true]{background:#c0dc9b16;color:var(--accent);border-color:#b5d29655}button.primary{background:var(--accent);color:#203025;border:0;font-weight:600}header{height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--line);background:#10191c}.brand{display:flex;align-items:center;text-decoration:none;color:#e4e8de;gap:10px;font-size:13px;letter-spacing:1.6px}.brand img{width:32px;height:32px}.brand b{font-weight:500}.brand small{font-size:10px;color:var(--muted);margin-left:20px;letter-spacing:2px}.header-note{font-family:monospace;font-size:10px;color:#74877b;letter-spacing:2px}.header-note span{margin:0 12px}.header-actions{display:flex;gap:8px}.header-actions button{min-height:30px;min-width:32px;font-size:11px;border:0}.header-actions .language{border-left:1px solid var(--line);border-radius:0;padding-left:16px}main{display:grid;grid-template-columns:minmax(0,1fr) 312px;height:calc(100dvh - 56px)}.exhibit{position:relative;min-width:0;overflow:hidden;background:#121e24}.canvas-host{width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0}.canvas-host canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.exhibit-label{position:absolute;z-index:1;top:30px;left:32px;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:2px;color:#97ac99;display:flex;align-items:center;gap:8px}.eyebrow i,.stage-footer i{width:4px;height:4px;background:var(--accent);border-radius:50%;display:inline-block}h1{font-size:23px;letter-spacing:2px;font-weight:400;margin:13px 0;color:#d8dfd6}h1 span{display:block;font-family:monospace;font-weight:400;font-size:9px;letter-spacing:1.5px;color:#80938c;margin-top:10px}.stage-footer{position:absolute;bottom:18px;left:28px;right:28px;display:flex;justify-content:space-between;pointer-events:none;font-size:8px;letter-spacing:1.5px;color:#91a298}.stage-footer i{margin-right:6px}.view-tools{position:absolute;bottom:48px;left:50%;transform:translate(-50%);display:flex;gap:3px;background:#101b20dc;padding:4px;border:1px solid #70847933;border-radius:6px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);white-space:nowrap}.view-tools button{border:0;min-height:34px;padding:0 14px;font-size:11px}.view-tools span{border-right:1px solid var(--line);margin:7px 2px}.control-panel{background:#10191c;border-left:1px solid var(--line);height:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#48594a transparent}.panel-title{padding:27px 22px 20px}.panel-title h2{font-size:19px;font-weight:400;margin:10px 0 8px;display:flex;justify-content:space-between}.panel-title h2 span{color:var(--accent)}.panel-title p{font-size:11px;color:var(--muted);margin:0}.tabs{display:flex;border-bottom:1px solid var(--line);padding:0 22px;gap:24px}.tabs button{border:0;border-radius:0;font-size:12px;padding:12px 0;background:none}.tabs button[aria-pressed=true]{border-bottom:2px solid var(--accent)}.tabs small{font-family:monospace;font-size:9px;margin-left:6px;color:var(--muted)}.panel-section{margin:0 22px;padding:20px 0;border-bottom:1px solid var(--line)}.section-label{display:flex;justify-content:space-between;align-items:center;font-family:monospace;font-size:9px;letter-spacing:1px;color:#95a498;margin-bottom:14px}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.action-grid button{min-height:35px}.play-row{display:flex;gap:8px;margin-top:10px}.play-row .primary{flex:1;min-height:40px}.speed select{width:64px;height:40px}.hint{font-size:9px;line-height:1.7;color:#87938a;margin:9px 0 0}.explosion .section-label{margin-bottom:8px}.explosion output{font-size:22px;letter-spacing:-1px;color:#d8e6cb}.explosion output small{font-size:10px;margin-left:4px;color:var(--muted)}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:22px;background:transparent;cursor:pointer;margin:0}input[type=range]::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right,var(--accent) var(--progress),#34433c var(--progress));border-radius:3px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:12px;height:12px;margin-top:-4.5px;border:3px solid #d8e6c6;background:#6c8161;border-radius:50%}.presets{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;margin-top:8px}.presets button{font-size:10px;min-height:29px;border-color:transparent}.stage-name{font-size:11px;color:#c3d3b6;margin:12px 0 0}.appearance summary{font-size:11px;color:#bcc9ba;list-style:none}.appearance summary:after{content:"+";float:right}.appearance[open] summary:after{content:"−"}.finishes{display:flex;gap:8px;margin:14px 0}.finishes button{flex:1;border-color:transparent;font-size:10px;min-height:48px}.finishes i{display:block;width:20px;height:20px;border-radius:50%;margin:0 auto 6px;border:2px solid #ffffff25}.jade{background:#448b72}.graphite{background:#54626b}.ivory{background:#dbd8c2}.quality{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}select{background:#182428;color:#d7e0d3;border:1px solid #728b722c;border-radius:4px;min-height:34px;font-size:11px;padding:0 9px}.quality select{width:98px}.panel-bottom{padding:18px 22px}.panel-bottom .reset{width:100%;min-height:37px;border-color:#6b816047;color:#c4d2b9}.export-row{display:flex;margin-top:10px;gap:5px}.export-row button{flex:1;border:0;font-size:10px}.panel-bottom p{font-size:8px;color:#748175;line-height:1.6;text-align:center;margin:12px 0 0}.catalog select{width:100%;margin-bottom:10px}.search{background:#0e181b;border:1px solid var(--line);border-radius:4px;padding:11px;width:100%;font-size:11px;color:inherit}.count{color:var(--muted);font-size:9px;margin:12px 0}.part-list{max-height:225px;overflow:auto;scrollbar-width:thin;scrollbar-color:#465745 transparent}.part-row{display:flex;text-align:left;align-items:center;justify-content:space-between;width:100%;padding:10px 7px;min-height:48px;border-color:transparent;border-radius:0}.part-row small{display:block;font-size:8px;color:#839080;margin-top:6px;font-family:monospace;letter-spacing:.2px}.part-row>span:last-child{color:#95aa81}.empty{padding:15px 0;color:var(--muted);font-size:11px}.text-button{width:100%;border:0;text-align:left;font-size:10px;color:var(--accent);margin-top:-8px}.detail h3{font-size:14px;font-weight:500;margin:0 0 8px}.detail code{font-size:9px;color:var(--accent);overflow-wrap:anywhere}.detail p{font-size:10px;color:var(--muted);line-height:1.8}.detail-actions{display:flex;gap:7px}.detail-actions button{flex:1;font-size:11px}.detail .clear{min-height:24px;border:0;font-size:18px}.detail .section-label{margin-bottom:8px}.exit-isolation{position:absolute;top:125px;left:50%;transform:translate(-50%);background:#d0dfa9;color:#1e302a;padding:0 15px;white-space:nowrap;z-index:2}.overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:15px;background:#121e24;color:#b5c6a7;font-size:12px;z-index:5}.error{flex-direction:column;padding:40px;text-align:center;gap:0}.error p{line-height:1.8;max-width:380px}.error button{padding:0 20px}.help-card{position:absolute;z-index:3;right:20px;top:20px;background:#1c2b2ef5;padding:24px;width:min(320px,calc(100% - 40px));border:1px solid #7e987a5c;box-shadow:0 12px 40px #0006;font-size:12px}.help-card p{font-size:11px;color:#a4b4a6;line-height:1.9}.close{position:absolute;right:8px;top:4px;border:0;font-size:20px;min-height:32px}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.loading{width:16px;height:16px;border:1px solid #b2cf8d;border-right-color:transparent;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1000px)and (max-height:820px){.panel-title{padding:20px 22px 16px}.panel-section{padding:16px 0}.panel-bottom{padding:14px 22px}.appearance summary{line-height:1.5}}@media(max-width:760px){header{padding:0 14px;height:56px}.brand{font-size:11px;gap:6px}.brand small,.header-note{display:none}.header-actions button{min-height:44px;min-width:44px}main{display:flex;flex-direction:column;height:auto}.exhibit{height:520px;min-height:420px}.exhibit-label{top:20px;left:20px}h1{font-size:18px;margin-top:10px;letter-spacing:1px}h1 span,.eyebrow{font-size:8px}.view-tools{bottom:36px;padding:2px;gap:0;width:calc(100% - 24px);justify-content:center}.view-tools button{padding:0 8px;min-height:44px;font-size:10px}.stage-footer{bottom:14px;left:17px;right:17px;font-size:7px;letter-spacing:.7px}.control-panel{height:auto;overflow:visible;border-left:0;border-top:1px solid var(--line)}.panel-title{display:none}.tabs{padding:0 20px;gap:30px}.tabs button{min-height:48px}.panel-section{margin:0 20px;padding:20px 0}.panel-section button,.panel-section select{min-height:44px}.presets button{font-size:12px}.action-grid{grid-template-columns:repeat(4,1fr)}.action-grid button{font-size:11px}.play-row .primary{min-height:44px}.speed select{height:44px}input[type=range]{height:32px}.appearance .finishes button{min-height:58px}.part-list{max-height:260px}.panel-bottom .reset,.export-row button,.search{min-height:44px}.panel-bottom p{font-size:10px}.exit-isolation{top:104px;min-height:44px;font-size:10px}.hint{font-size:10px}.quality{font-size:12px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.canvas-host{top:84px;right:0;bottom:126px;left:0;height:auto}.exhibit-label{top:20px;left:28px;right:24px}.exhibit-label h1{font-size:17px;letter-spacing:1px;margin:8px 0}.exhibit-label h1 span{display:none}.observation-controls{position:absolute;bottom:28px;left:16px;right:16px;display:flex;flex-direction:column;align-items:center;gap:6px}.isolation-slot{height:42px;display:flex;justify-content:center;align-items:center}.exit-isolation{position:static;transform:none;min-height:40px;font-size:11px;max-width:100%}.view-tools{position:static;transform:none;max-width:100%;-webkit-backdrop-filter:none;backdrop-filter:none}.array-group-label{position:absolute;pointer-events:none;line-height:1.2;white-space:nowrap;color:#c8d5b6;letter-spacing:.3px;border-top:1px solid #81937c66;padding-top:3px}.panel-title{padding:20px 22px 15px}.panel-title h2{margin:8px 0}.panel-section{padding:15px 0}.primary-reset{padding:12px 22px;border-bottom:1px solid var(--line)}.primary-reset .reset{width:100%;min-height:40px;color:#c8d7bd}.exports summary{font-size:11px;color:#bcc9ba}.exports .export-row{margin-top:12px}.detail p{font-size:11px;line-height:1.9}@media(min-width:761px)and (max-height:820px){.panel-title{padding-top:14px;padding-bottom:10px}.panel-title p{display:none}.panel-section{padding:13px 0}.motion .section-label{margin-bottom:10px}.primary-reset{padding:10px 22px}}@media(max-width:760px){.exhibit{height:clamp(330px,46dvh,460px);min-height:0}.canvas-host{top:40px;right:0;bottom:58px;left:0}.exhibit:has(.exit-isolation){height:calc(clamp(330px,46dvh,460px) + 46px)}.exhibit:has(.exit-isolation) .canvas-host{bottom:104px}.isolation-slot:empty{display:none}.exhibit-label{top:14px;left:18px}.exhibit-label .eyebrow{display:none}.exhibit-label h1{font-size:16px;margin:0}.observation-controls{left:12px;right:12px;bottom:6px;gap:2px}.view-tools{width:100%;padding:0}.view-tools button{padding:0 7px;min-height:44px}.view-tools span{margin-left:0;margin-right:0}.isolation-slot{height:44px}.exit-isolation{min-height:44px;font-size:11px}.stage-footer{display:none}.tabs button{padding:7px 0;min-height:44px}.panel-section{padding:11px 0;margin:0 18px}.motion .section-label{display:none}.action-grid{gap:4px}.play-row{margin-top:6px}.explosion .section-label{margin-bottom:2px}.explosion output{font-size:20px}.presets{margin-top:1px}.stage-name{margin-top:5px}.explosion .hint{margin-top:3px}.primary-reset{padding:10px 18px}.primary-reset .reset{min-height:44px}.panel-bottom{padding:14px 18px}.appearance summary,.exports summary{font-size:12px;min-height:24px}.array-group-label{letter-spacing:0;padding-top:1px}}
