:root{color-scheme:dark;font:15px/1.4 system-ui,sans-serif;color:#f5e5c5;background:#164d57}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;overflow:hidden}#lab-arena{position:fixed;inset:0;width:100%;height:100dvh}button,select,input{font:inherit}button,select,.lab-header a{color:#ffdfa6;background:#243c40ed;border:1px solid #b38c58;border-radius:5px;padding:.45rem .7rem;min-height:44px}button{cursor:pointer;touch-action:manipulation}button[aria-pressed=true]{background:#82603b;box-shadow:inset 0 -3px #eec585}.game-icon{width:23px;height:23px;vertical-align:middle}.lab-header{position:fixed;top:max(.7rem,env(safe-area-inset-top));left:max(.7rem,env(safe-area-inset-left));right:max(.7rem,env(safe-area-inset-right));display:flex;justify-content:space-between}.lab-header a{text-decoration:none}.lab-console{position:fixed;top:4.8rem;right:.7rem;bottom:.7rem;width:316px;overflow:auto;padding:.8rem;background:#1e3035f5;border:1px solid #b38c58;border-radius:7px;overscroll-behavior:contain}h1{font-size:1.2rem;margin:0 0 .6rem}.lab-console h2{font-size:.82rem;margin:.65rem 0 .35rem}nav,.lab-buttons{display:flex;gap:.3rem;margin:.55rem 0}.lab-console nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}nav button{display:flex;justify-content:flex-start;align-items:center;gap:.28rem;padding:.3rem .4rem;text-align:left;font-size:.79rem}nav button .game-icon{width:17px;height:17px;flex:none}.lab-buttons button{flex:1;padding-inline:.25rem}.lab-console label{display:flex;align-items:center;gap:.35rem;justify-content:space-between;margin-top:.35rem}.lab-console select{min-width:0;max-width:67%;font-size:.88rem}input[type=range]{min-width:0;width:105px;accent-color:#e7bb72}.lab-console .lab-checks{justify-content:start;gap:.6rem;margin-top:.6rem}.lab-meters{display:grid;grid-template-columns:1fr 1fr;gap:.3rem}.lab-meters div{padding:.35rem;background:#101f2988;border-radius:3px}dt,small{font-size:.72rem;color:#c4cbbb}dd{margin:.12rem 0 0;font:750 .95rem monospace;color:#ffd491}#lab-status{font-size:.85rem}#lab-stick{display:none}@media(any-pointer:coarse){#lab-stick{display:grid;place-items:center;position:fixed;left:max(.7rem,env(safe-area-inset-left));bottom:max(.7rem,env(safe-area-inset-bottom));width:88px;height:88px;border-radius:50%;background:#172e36d9;border:2px solid #d8ae73;touch-action:none}#lab-stick span{width:36px;height:36px;border:2px solid #e7be82;background:#976c40;border-radius:50%;pointer-events:none}}@media(max-width:620px)and (orientation:portrait){#lab-arena{height:56dvh}.lab-console{top:56dvh;width:auto;left:.65rem;bottom:max(.65rem,env(safe-area-inset-bottom))}.lab-console h1{display:none}.lab-console>label:not(.lab-experiment){display:inline-flex;width:48%;margin-right:1%}.lab-meters{grid-template-columns:repeat(4,1fr);margin-block:.5rem}#lab-stick{bottom:calc(44dvh + .65rem)}}@media(max-height:460px){.lab-console{top:4rem;width:245px}}
