#view { width:100%; height:100%; touch-action:none; }
.stage-tools { position:absolute; top:14px; left:20px; right:20px; display:flex; gap:5px; flex-wrap:wrap; padding:5px; border:1px solid #ffffff26; border-radius:14px; background:#0a2239b8; backdrop-filter:blur(14px); width:fit-content; max-width:calc(100% - 40px); box-shadow:0 6px 25px #06172928; }
.stage-tools button { background:transparent; color:#d8eaf0; border:0; border-radius:9px; padding:8px 13px; cursor:pointer; font-family:inherit; font-size:12px; font-weight:500; line-height:1.4; transition:background .2s,color .2s; }
.stage-tools button:hover { background:#ffffff1a; }
.stage-tools button.on { color:#213447; background:#ffe3a3; box-shadow:0 2px 7px #0002; }
#panel { background:linear-gradient(160deg,#152436,#0d1725 70%); }
#panel h1 { line-height:1.5; font-size:17px; }
#panel small { font-weight:normal; font-size:10px; }
.readout { background:#203248; border-color:#3b5168!important; }
.slider { grid-template-columns:64px 1fr 58px; }
#summary { font-size:13px; color:#ffdc96; }
.small { margin-top:10px; }
.learn-fab { background:#10283bd9; color:#cfe1e9; border-color:#ffffff24; }
@media(max-width:760px) {
  .stage-tools { left:12px; right:12px; top:12px; gap:1px; padding:4px; max-width:calc(100% - 24px); }
  .stage-tools button { font-size:10px; padding:7px 6px; }
  #panelToggle { top:65px; background:#10283be6; border-color:#ffffff38; color:#e6f0f4; font-size:11px; }
}
