#stage{background:#05070d}canvas{width:100%;height:100%;touch-action:none}.stage-title{position:absolute;top:24px;left:32px;pointer-events:none}.stage-title span{font-size:10px;letter-spacing:1.8px;color:#8498b2}.stage-title i{font-style:normal;color:#3b4d64;padding:0 7px}.stage-title h2{font-size:18px;font-weight:550;margin:7px 0;color:#edf3fa}.stage-title p{font-size:12px;color:#90a3ba;margin:0}.live{position:absolute;left:32px;right:32px;top:112px;display:flex;gap:32px;pointer-events:none}.live>div{min-width:115px}.live small{display:block;color:#8498b2;font-size:11px;margin-bottom:3px}.live b{font-size:18px;font-weight:500;font-variant-numeric:tabular-nums;color:#edf3fa}.live>div:nth-child(2) b{color:#ffc94a}.live .live-status{border-left:1px solid #263347;padding-left:26px}.live .live-status b{font-size:14px;color:#b7cce0}.actions{display:flex;gap:6px;flex-wrap:wrap}.actions button{border:1px solid #29364a;border-radius:7px;background:#151e2c;color:#aebdd0;padding:9px 10px;cursor:pointer;font:inherit;font-size:12px;min-height:38px;transition:background .15s,border-color .15s}.actions button:hover{border-color:#6e819b;background:#202d40}.actions button.on{background:#283344;color:#f3f6fa;border-color:#8295b0}#play{background:#ffc94a;color:#171c24;border-color:#ffc94a;min-width:87px;font-weight:600}button:disabled{opacity:.4;cursor:default}.readout .big{font-size:15px;color:#eef4fa}.readout dl{font-size:11px;grid-template-columns:1fr;gap:2px}.readout dd{font-family:var(--mono);font-size:12px;margin-bottom:7px}.car-a{color:#ffc94a}.car-b{color:#63cafa}.event-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.event-list button{font:inherit;font-size:11px;border-radius:6px;background:#19283a;border:1px solid #3e5874;color:#d1e3f5;padding:9px;cursor:pointer;min-height:38px}#share{margin-top:14px;min-height:38px;width:100%}#shareNote{overflow-wrap:anywhere}.slider{grid-template-columns:76px 1fr 69px;gap:8px;min-height:34px;margin:2px 0}.slider>span{font-size:11px;white-space:nowrap}input[type=range]{height:28px;margin:0;cursor:pointer}output{font-size:11px;color:#c0ccdc}#panel{width:320px;padding:22px 20px;background:#0e1420}#panel section{margin-bottom:10px;padding:16px 0}#panel h2{letter-spacing:.8px;font-size:11px;color:#8c9fb7;margin-bottom:12px}#panel h1{font-size:18px;margin:4px 0 10px}#panel h1 small{font-family:var(--mono);font-size:11px}.panel-heading>span{font-size:10px;color:#7f93ad;letter-spacing:2px}.note{font-size:11px;line-height:1.8}#status{min-height:23px}.readout{background:#141e2c;border-color:#29394d!important}.graph-switch{position:absolute;left:66px;top:calc(46% + 45px)}.graph-switch .actions{gap:0}.graph-switch button{border-radius:0;min-height:32px;padding:5px 12px;font-size:11px}.graph-switch button:first-child{border-radius:6px 0 0 6px}.graph-switch button:last-child{border-radius:0 6px 6px 0}.transport{position:absolute;bottom:40px;left:32px;right:32px;display:flex;align-items:center;gap:20px;padding:12px 14px;background:#111a28;border:1px solid #29394d;border-radius:12px;box-shadow:0 8px 30px #0003}.transport .slider{flex:1;grid-template-columns:30px 1fr 55px}.transport .actions{flex-wrap:nowrap}.learn-fab{bottom:7px;font-size:10px;padding:2px 10px}input:focus-visible,button:focus-visible{outline:2px solid #63cafa;outline-offset:3px}.switch{font-size:12px;min-height:36px}
@media(max-width:1000px){.live{gap:22px}.live .live-status{padding-left:18px}.transport{gap:12px}.transport .slider{grid-template-columns:1fr 50px}.transport .slider>span{display:none}}
@media(max-width:760px){.stage-title{left:20px;top:17px;right:20px}.stage-title h2{font-size:16px}.stage-title span{font-size:9px}.stage-title p{font-size:11px;max-width:350px}.live{left:20px;right:20px;top:103px;gap:16px}.live>div{min-width:88px}.live b{font-size:16px}.live .live-status{padding-left:14px}.live .live-status b{font-size:11px}.live small{font-size:10px}#panelToggle{top:12px;right:12px;font-size:11px;padding:8px 10px;min-height:38px}#panel{width:100%;padding:16px 20px}.graph-switch{left:42px;top:calc(46% + 45px)}.transport{left:16px;right:16px;bottom:38px;display:block;padding:9px 12px}.transport .actions{gap:8px}.transport .actions button{flex:1}.transport .slider{grid-template-columns:32px 1fr 56px;margin-top:5px}.transport .slider>span{display:block}.learn td,.learn th{white-space:normal;padding:7px;font-size:12px}}
@media(max-height:660px){.stage-title{top:12px}.stage-title p{display:none}.live{top:78px}.live small{margin:0}.transport{bottom:30px;padding:7px 10px}.transport .actions button{min-height:32px}.learn-fab{bottom:3px}.graph-switch{top:calc(46% + 25px)}}
@media(prefers-reduced-motion:reduce){.actions button{transition:none}}
