#thermal{width:100%;height:100%;touch-action:none}#panel{background:#101620;--panel-w:322px;padding:24px 20px}button{font:inherit;color:var(--text);background:#182331;border:1px solid #334155;padding:10px 13px;border-radius:8px;cursor:pointer;min-height:40px}button:hover{border-color:#8ea2bc;background:#203044}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #ffc94a;outline-offset:3px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#7e91ab;margin-bottom:8px}#panel h1{font-size:18px;font-weight:600;margin-bottom:9px}#panel h2{font-size:11px;letter-spacing:1px;color:#71839c;margin:0 0 12px}#panel h2 span{color:#d8e2ef;font-size:13px;margin-left:8px;letter-spacing:0}#panel section{padding:19px 0}#panel .note{font-size:11px;line-height:1.8}.slider{grid-template-columns:34px 1fr 63px;font-size:12px;gap:8px;margin:13px 0;min-height:32px}.slider input{height:28px}.group-a{color:#8ed9f3}.group-a input{accent-color:#8ed9f3}.group-b{color:#ffb38b}.group-b input{accent-color:#ffb38b}output{color:#e1e9f5}.speed-readout{display:flex;justify-content:space-between;align-items:center;background:#192331;border:1px solid #2b3a50;border-radius:9px;padding:12px;margin-top:14px}.speed-readout span{font-size:11px;color:#afbdd0}.speed-readout strong{font-size:15px;color:#ffc94a;font-variant-numeric:tabular-nums}#gate,#share{width:100%;font-size:12px;text-align:left}#counts{font-size:13px;color:#ffc94a;font-variant-numeric:tabular-nums;margin:15px 0 8px}.trace-control{display:flex;align-items:center;gap:7px;min-height:40px;font-size:12px;margin-top:10px}.trace-control input{accent-color:#ffc94a;width:17px;height:17px}.model-note{border-top:1px solid #2a3446;padding-top:15px}.model-note summary{font-size:12px;color:#9babc0;cursor:pointer;min-height:32px}#message{overflow-wrap:anywhere}.stage-head{position:absolute;top:30px;left:20px;right:20px;text-align:center}.stage-head h2{font-size:18px;font-weight:500;margin:0 0 20px;color:#e9eff8}.stage-head .seg{gap:4px;padding:4px;border:1px solid #253044;border-radius:12px;background:#101722}.stage-head .seg button{border:0;border-radius:8px;padding:8px 16px;background:transparent;color:#92a3bb;font-size:12px}.stage-head .seg button.on{color:#ffe3a1;background:#443821}.stage-bottom{position:absolute;bottom:43px;left:16px;right:16px;text-align:center}.stage-bottom p{font-size:13px;color:#bfccdd;margin:0 0 12px}.transport{display:flex;justify-content:center;align-items:center;gap:8px}.transport button{font-size:12px;min-width:72px}.transport span{font-size:11px;color:#7f91aa;margin-left:8px}.learn-fab{font-size:11px;padding:2px 10px;bottom:8px}#play{background:#ffc94a;color:#171c23;border-color:#ffc94a}canvas:active{cursor:grabbing}
@media(max-width:760px){#panel{padding:20px;max-height:66dvh}#panelToggle{top:auto;font-size:12px;min-height:40px;bottom:10px;right:12px;border-radius:9px}.stage-head{top:20px;left:8px;right:8px}.stage-head h2{font-size:16px;margin-bottom:14px}.stage-head .eyebrow{font-size:9px;margin-bottom:6px}.stage-head .seg button{padding:7px 13px;min-height:36px}.stage-bottom{bottom:58px}.stage-bottom p{font-size:12px;margin-bottom:9px}.transport span{display:none}.learn-fab{left:16px;transform:none;bottom:19px}.transport button{min-height:38px}.stage-head .seg{gap:0}}
@media(max-height:650px) and (min-width:761px){.stage-head{top:16px}.stage-head h2{margin-bottom:10px}.stage-head .eyebrow{display:none}}
.time-note{font-size:10px;color:#71829b;margin:-5px 0 9px}
