:root{--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);--line:#17181c;--panel:#c5c8ce;--panel-hi:#f4f5f7;--panel-lo:#6c7078;--slot:#8b8f97;--slot-hi:#e1e3e7;--slot-lo:#45484f;--ink:#2f3238;--glass:#1b1c21db;--shadow:#000000bf}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{overscroll-behavior:none;color:#fff;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#3d8ff0;height:100%;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-weight:700;overflow:hidden}button{font:inherit;color:inherit;border-radius:0}#stage{touch-action:none;width:100%;height:100%;display:block;position:fixed;top:0;bottom:0;left:0;right:0}body.desk #stage{cursor:pointer}body.desk.nolock #stage{cursor:crosshair}.cross{pointer-events:none;z-index:1;filter:drop-shadow(0 0 1px #0a0b0ef2)drop-shadow(0 0 1px #0a0b0ef2);background:linear-gradient(#fff,#fff) 50%/2px 100% no-repeat,linear-gradient(#fff,#fff) 50%/100% 2px no-repeat;width:22px;height:22px;margin:-11px 0 0 -11px;position:fixed;top:50%;left:50%}.resume,.keys{pointer-events:none;z-index:3;white-space:nowrap;text-shadow:1px 1px 0 var(--shadow);margin:0;display:none;position:fixed;left:50%;transform:translate(-50%)}.resume{background:var(--glass);box-shadow:0 0 0 2px var(--line);padding:9px 16px;font-size:15px;top:58%}.keys{bottom:calc(var(--safe-bottom) + 78px);white-space:normal;text-align:center;background:var(--glass);width:max-content;max-width:94vw;box-shadow:0 0 0 2px var(--line);padding:5px 10px;font-size:12px;font-weight:600;line-height:1.35}body.desk:not(.locked):not(.nolock):not(.busy) .resume,body.desk.locked .keys,body.desk.nolock .keys{display:block}@media (max-width:760px){.keys{display:none!important}}.stick{left:calc(var(--safe-left) + 84px);top:auto;bottom:calc(var(--safe-bottom) + 92px);pointer-events:none;z-index:2;opacity:.65;background:#16171b57;border-radius:50%;width:124px;height:124px;margin:0 0 0 -62px;transition:opacity .15s;display:none;position:fixed;box-shadow:0 0 0 2px #ffffff73}body.touch .stick{display:block}.stick.on{opacity:1;margin:-62px 0 0 -62px;bottom:auto}.stick i{width:52px;height:52px;box-shadow:0 0 0 2px var(--line);background:#ebedf0eb;border-radius:50%;margin:-26px 0 0 -26px;position:absolute;top:50%;left:50%}.ring{pointer-events:none;z-index:2;opacity:0;width:76px;height:76px;box-shadow:0 0 0 2px var(--line), inset 0 0 0 2px var(--line);border:4px solid #fff;border-radius:50%;margin:-38px 0 0 -38px;position:fixed}.ring.on{animation:.32s linear forwards ring}@keyframes ring{0%{opacity:.2;transform:scale(1.5)}to{opacity:1;transform:scale(.55)}}.top{left:calc(var(--safe-left) + 8px);right:calc(var(--safe-right) + 8px);top:calc(var(--safe-top) + 8px);pointer-events:none;z-index:3;justify-content:space-between;align-items:flex-start;gap:8px;display:flex;position:fixed}.left{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.pill{white-space:nowrap;background:var(--glass);min-height:40px;box-shadow:0 0 0 2px var(--line);text-shadow:1px 1px 0 var(--shadow);align-items:center;gap:7px;padding:4px 11px;display:flex}.pill[hidden],.stat{display:none}body.dev .stat,body.benching .stat{align-items:baseline;display:flex}.stat b{font-variant-numeric:tabular-nums;font-size:17px;font-weight:800}.stat small{font-size:11px}.net{pointer-events:auto;cursor:pointer}.net i{background:#d9a441;width:10px;height:10px}.net[data-status=online] i{background:#63c463}.net[data-status=offline] i{background:#d05a5a}.net b{letter-spacing:.06em;font-size:14px;font-weight:800}.net small{font-size:14px;font-weight:800}.net .who{fill:#fff;width:12px;height:12px;filter:drop-shadow(1px 1px 0 var(--shadow));margin-left:5px}.tools{pointer-events:auto;flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}body.desk.locked .tools{opacity:.35}.hud{cursor:pointer;color:#fff;background:var(--slot);min-width:44px;min-height:44px;text-shadow:1px 1px 0 var(--shadow);box-shadow:inset 2px 2px 0 #c2c5cb, inset -2px -2px 0 #54575e, 0 0 0 2px var(--line);border:0;padding:0 13px;font-size:15px;font-weight:800;position:relative}.hud[hidden]{display:none}.hud:active{box-shadow:inset 2px 2px 0 #54575e, inset -2px -2px 0 #c2c5cb, 0 0 0 2px var(--line);background:#7b7f87}.hud[aria-pressed=true]{background:#6f737b;box-shadow:inset 2px 2px #45484f,inset -2px -2px #a9adb4,0 0 0 2px #fff}.hud.icon{width:44px;padding:0}.hud.icon svg{width:24px;height:24px;filter:drop-shadow(1px 1px 0 var(--shadow));margin:0 auto;display:block}.hud.wide{width:100%;margin:0 0 10px}.hud.ghost{min-height:38px;font-size:13px}.hud.danger{box-shadow:inset 2px 2px 0 #d08a83, inset -2px -2px 0 #6e2b25, 0 0 0 2px var(--line);background:#a8483f}.hint,.note{left:50%;top:calc(var(--safe-top) + 62px);text-align:center;pointer-events:none;z-index:3;background:var(--glass);width:max-content;max-width:min(92vw,520px);box-shadow:0 0 0 2px var(--line);text-shadow:1px 1px 0 var(--shadow);margin:0;padding:8px 14px;font-size:14px;line-height:1.35;transition:opacity .5s;position:fixed;transform:translate(-50%)}.hint.gone{opacity:0}.note[hidden]{display:none}.says{right:calc(var(--safe-right) + 8px);top:calc(var(--safe-top) + 60px);z-index:6;background:var(--panel);box-shadow:inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), 0 0 0 2px var(--line), 0 8px 20px #00000073;flex-direction:column;gap:6px;padding:8px;display:flex;position:fixed}.says[hidden]{display:none}.pads{right:calc(var(--safe-right) + 12px);bottom:calc(var(--safe-bottom) + 84px);z-index:2;grid-template-columns:62px 62px;gap:10px;display:none;position:fixed}body.touch .pads{display:grid}.pad{cursor:pointer;touch-action:none;color:#fff;background:#1b1c21cc;border:0;width:62px;height:62px;box-shadow:0 0 0 2px #ffffff8c}.pad[hidden]{visibility:hidden;display:block}.pad.held{background:#ffffff6b}.pad svg{width:32px;height:32px;filter:drop-shadow(1px 1px 0 var(--shadow));pointer-events:none;margin:0 auto;display:block}.arrow{width:0;height:0;filter:drop-shadow(1px 1px 0 var(--shadow));border:14px solid #0000;border-top:0;border-bottom:20px solid #fff;margin:0 auto;display:block}.arrow.down{transform:rotate(180deg)}.bar{left:50%;bottom:calc(var(--safe-bottom) + 10px);z-index:2;background:var(--glass);max-width:calc(100vw - 8px);box-shadow:0 0 0 2px var(--line);gap:0;padding:3px;display:flex;position:fixed;transform:translate(-50%)}.slot{aspect-ratio:1;cursor:pointer;background:#ffffff12;border:0;justify-content:center;align-items:center;width:clamp(34px,10.2vw,52px);padding:0;display:flex;position:relative;box-shadow:inset 0 0 0 2px #fff3}.slot .cube{pointer-events:none;image-rendering:pixelated;width:78%!important;height:78%!important}.slot.on{z-index:1;box-shadow:0 0 0 3px #fff, 0 0 0 5px var(--line);background:#fff3}.slot.more{background:var(--slot);margin-left:6px;box-shadow:inset 2px 2px #c2c5cb,inset -2px -2px #54575e}.slot.more:before{content:"";background:#fff;width:7px;height:7px;margin:-9px 0 0 -9px;position:absolute;top:50%;left:50%;box-shadow:11px 0 #fff,0 11px #fff,11px 11px #fff}.shade{z-index:4;background:#0000008c;position:fixed;top:0;bottom:0;left:0;right:0}.shade[hidden]{display:none}.sheet{z-index:5;width:min(94vw,600px);max-height:min(84vh,620px);color:var(--ink);background:var(--panel);box-shadow:inset 3px 3px 0 var(--panel-hi), inset -3px -3px 0 var(--panel-lo), 0 0 0 3px var(--line), 0 14px 34px #00000080;flex-direction:column;padding:12px;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.sheet[hidden]{display:none}.sheet header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.sheet h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:18px;font-weight:800;overflow:hidden}.sheet .x{cursor:pointer;background:var(--slot);width:44px;height:44px;box-shadow:inset 2px 2px 0 #c2c5cb, inset -2px -2px 0 #54575e, 0 0 0 2px var(--line);border:0;flex:none;position:relative}.sheet .x:before,.sheet .x:after{content:"";background:#fff;width:18px;height:3px;margin:-1.5px 0 0 -9px;position:absolute;top:50%;left:50%;transform:rotate(45deg)}.sheet .x:after{transform:rotate(-45deg)}.sheet h3{color:#4a4d54;margin:12px 1px 5px;font-size:13px;font-weight:800}.sheet h3:first-child{margin-top:2px}.sheet-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:2px;overflow-y:auto}.grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:0;display:grid}.sheet .slot{background:var(--slot);box-shadow:inset 2px 2px 0 var(--slot-lo), inset -2px -2px 0 var(--slot-hi)}.slot.big{aspect-ratio:auto;color:#fff;flex-direction:column;justify-content:flex-start;gap:4px;width:100%;min-height:82px;padding:7px 3px 5px}.slot.big .cube{width:40px!important;height:40px!important}.slot.big small{letter-spacing:-.01em;text-align:center;text-shadow:1px 1px #0009;overflow-wrap:break-word;-webkit-hyphens:manual;hyphens:manual;max-width:100%;font-size:12px;font-weight:700;line-height:1.12}.sheet .slot.on{box-shadow:inset 0 0 0 3px #fff, inset 0 0 0 5px var(--slot-lo);background:#a9adb5}.people p{margin:8px 2px}.person{color:#fff;background:var(--slot);box-shadow:inset 2px 2px 0 var(--slot-lo), inset -2px -2px 0 var(--slot-hi);text-shadow:1px 1px #0000008c;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:4px;padding:8px 10px;display:flex}.ava{text-align:center;color:#fff;width:24px;height:24px;box-shadow:0 0 0 2px var(--line);background:#5d7fa8;flex:none;font-size:13px;font-style:normal;font-weight:800;line-height:24px;display:block;position:relative;overflow:hidden}.ava img{object-fit:cover;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.person .ava{width:38px;height:38px;margin:2px;font-size:17px;line-height:38px}.who{flex:1;min-width:0}.who b{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:800;display:block;overflow:hidden}.who small{opacity:.9;font-size:12px;font-weight:600}.acts{flex-wrap:wrap;gap:7px;width:100%;padding:2px;display:flex}#tags{pointer-events:none;z-index:1;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}.tag{white-space:nowrap;text-shadow:1px 1px 0 var(--shadow);transform-origin:50% 100%;will-change:transform;background:#16171b9e;align-items:center;gap:8px;padding:4px 9px 4px 6px;font-size:13px;font-weight:700;display:flex;position:absolute;top:0;left:0}.tag .ava{width:20px;height:20px;font-size:12px;line-height:20px}.say{color:var(--ink);text-shadow:none;background:#fff;padding:1px 8px;display:none}.tag.talking .say{display:block}.load{z-index:9;background:#6fb1f2 var(--backdrop,none) center bottom / cover no-repeat;image-rendering:pixelated;justify-content:center;align-items:flex-start;padding-top:14vh;transition:opacity .45s;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.load.gone{opacity:0;pointer-events:none}.load-card{text-align:center;background:var(--glass);width:min(86vw,380px);box-shadow:0 0 0 3px var(--line);image-rendering:auto;padding:22px 22px 20px}.load-card h1{text-shadow:3px 3px 0 var(--shadow);margin:0 0 20px;font-size:40px;font-weight:800}.load-track{background:#17181c;height:18px;padding:3px;box-shadow:0 0 0 2px #8b8f97}.load-track i{background:#e9ebee;width:0;height:100%;transition:width .2s;display:block}.load-card p{opacity:.9;margin:14px 0 0;font-size:15px;font-weight:700}@media (orientation:landscape) and (max-height:520px){.pads{bottom:calc(var(--safe-bottom) + 12px);grid-template-columns:58px 58px;gap:8px}.pad{width:58px;height:58px}.stick{bottom:calc(var(--safe-bottom) + 20px)}.bar{bottom:calc(var(--safe-bottom) + 5px)}.slot{width:clamp(30px,6.2vw,46px)}}@media (max-width:380px){.hud{min-width:40px;min-height:40px}.hud.icon{width:40px}.hud.icon svg{width:22px;height:22px}}@media (max-width:430px){.tools{flex-wrap:nowrap;gap:5px}.pill{gap:5px;min-height:40px;padding:4px 8px}.net b{letter-spacing:.03em;font-size:13px}.net small,.hint,.note{font-size:13px}}body.noting .hint,body.busy .hint{visibility:hidden}.load.gate .load-track{display:none}.load.gate .load-card h1{margin-bottom:14px;font-size:30px}.load.gate .load-card p{margin:0;font-size:15px;font-weight:600;line-height:1.45}.start{z-index:8;-webkit-overflow-scrolling:touch;background:#6fb1f2 var(--backdrop,none) center bottom / cover no-repeat;image-rendering:pixelated;padding:calc(var(--safe-top) + 18px) 12px calc(var(--safe-bottom) + 18px);position:fixed;top:0;bottom:0;left:0;right:0;overflow-y:auto}.start[hidden]{display:none}.menu-box{width:min(100%,520px);margin:0 auto}.menu-box h1{text-align:center;text-shadow:3px 3px 0 var(--shadow);margin:6px 0 16px;font-size:40px;font-weight:800}.menu-panel{color:var(--ink);background:var(--panel);box-shadow:inset 3px 3px 0 var(--panel-hi), inset -3px -3px 0 var(--panel-lo), 0 0 0 3px var(--line);padding:12px}.menu-panel h2{margin:0 0 8px;font-size:18px;font-weight:800}.menu-empty{margin:4px 2px 10px;font-size:14px;font-weight:600;line-height:1.4}.menu-world{color:#fff;background:var(--slot);box-shadow:inset 2px 2px 0 var(--slot-lo), inset -2px -2px 0 var(--slot-hi);text-shadow:1px 1px #0000008c;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:4px;padding:9px 10px;display:flex}.menu-row{gap:8px;margin-top:10px;display:flex}.menu-row .hud{flex:1}.hud:disabled{opacity:.5;cursor:default}.menu-form{gap:8px;margin-top:10px;display:flex}.menu-form[hidden]{display:none}.menu-form input{min-width:0;min-height:44px;font:inherit;color:#fff;background:#17181c;border:0;border-radius:0;flex:1;padding:0 12px;font-size:16px;box-shadow:inset 2px 2px #000,inset -2px -2px #8b8f97}.menu-form input::placeholder{color:#9a9ea6}.menu-form input.code{text-transform:uppercase;letter-spacing:.2em;font-weight:800}.menu-msg:empty{display:none}.menu-msg{color:#9c2f27;min-height:1.3em;margin:10px 2px 0;font-size:14px;font-weight:700}.menu-langs{justify-content:center;gap:8px;margin-top:14px;display:flex}:root{--safe-top:max(env(safe-area-inset-top,0px), var(--link-miniapp-header-height,0px))}
