:root{color-scheme:dark;font:16px/1.5 system-ui,sans-serif;color:#fff3dd;background:#101326}*{box-sizing:border-box}body{margin:0}button{font:inherit;font-weight:650;border:1px solid #526079;border-radius:8px;background:#192338;color:inherit;padding:.65em 1em;cursor:pointer;touch-action:manipulation}button:hover,button:focus-visible,button[aria-pressed=true]{border-color:#74ffda;color:#9dffe1}button:focus-visible{outline:2px solid white}header{position:absolute;z-index:1;pointer-events:none;top:clamp(14px,4vh,42px);left:5vw;text-shadow:0 2px 8px #05051a}small{letter-spacing:.18em;color:#9ce9ce;font:700 .72rem/1.4 monospace}h1{font-size:clamp(18px,3vw,32px);margin:3px 0}i{font: .6em serif;color:#ffc08f}#lobby{min-height:100svh;display:grid;place-items:center;background:radial-gradient(ellipse at 70% 20%,#5b315e,transparent 52%),repeating-linear-gradient(100deg,transparent 0 48px,#ffffff06 49px 50px),#11192a}#lobby[hidden],#hall[hidden]{display:none!important}.ticket,dialog{max-width:90vw;padding:clamp(24px,6vw,64px);border:1px solid #7c7397;border-radius:14px;background:linear-gradient(130deg,#263348,#171728);box-shadow:0 16px 80px #0007}.ticket h2{font-size:clamp(48px,9vw,100px);margin:.15em 0;letter-spacing:-.09em}.ticket p{color:#d7cdd0;margin-bottom:2em}#enter,#play,#next{background:#f6c884;color:#211526;border-color:transparent}#hall,#viewport{position:fixed;top:0;right:0;bottom:0;left:0}canvas{display:block}nav{position:absolute;right:3vw;top:4vh;display:flex;gap:6px}aside{position:absolute;bottom:max(12px,3vh);left:50%;transform:translate(-50%);width:max-content;max-width:96vw;background:#0e1628ed;border:1px solid #526079;border-radius:14px;padding:12px 16px;text-align:center}#stations,#pads,footer{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:8px 0}#hint{font-size:.84rem;margin:4px;color:#d9dae8}dialog{width:min(520px,92vw);color:inherit;text-align:center}dialog::backdrop{background:#050718d9}dialog h2{font-size:2rem;margin:.3em}#track{position:relative;height:24px;background:#080f22;border:1px solid #5a5477;overflow:hidden;border-radius:6px}#track span{position:absolute;left:45%;width:10%;height:100%;background:#338c7b}#track b{position:absolute;left:0;width:4px;height:100%;background:#ffe0a1;transform:translate(-50%)}#pads button{flex:1;min-height:60px}footer{margin-top:18px}[hidden]{display:none!important}.arcade-shell{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:flex;flex-direction:column;background:#111;color:#eee;font-family:sans-serif}.arcade-shell.hidden{display:none}.arcade-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;font-size:14px;line-height:1.4}.arcade-bar p{margin:0;min-width:0}.arcade-bar button,.arcade-net button{flex:0 0 auto;white-space:nowrap;border:1px solid #648b8c;border-radius:9px;background:#1b323b;color:#f1f6f7;padding:8px 12px;font:inherit}.arcade-net{display:flex;gap:8px;align-items:center;padding:0 12px 8px;flex-wrap:wrap}.arcade-net input,.arcade-net select{flex:1 1 8rem;min-width:0;border:1px solid #648b8c;border-radius:9px;background:#0c1216;color:#f1f6f7;padding:8px 10px;font:inherit}.arcade-status{margin:0;padding:0 12px 8px;font-size:13px;line-height:1.4;color:#c9d4d4;min-height:1.2em}.arcade-screen{width:min(100vw,calc((100dvh - 11rem)*4/3));height:min(75vw,calc(100dvh - 11rem));margin-inline:auto;position:relative;flex:0 0 auto}#arcadeGame{position:absolute;top:0;right:0;bottom:0;left:0}@media(max-width:500px){.arcade-screen,#arcadeGame{overflow:visible}.arcade-shell .ejs_virtualGamepad_parent{transform:translateY(240px)}}.bubble-duo header{position:relative;inset:auto;pointer-events:auto;z-index:4;text-shadow:none}.bubble-duo .duo-stage{overflow:hidden}.bubble-duo .duo-screen{z-index:1}.arcade-bar{position:relative;inset:auto;pointer-events:auto;z-index:3;text-shadow:none}#viewport canvas{touch-action:none}#walk-pad{display:none}@media(pointer:coarse){#walk-pad{display:flex;align-items:center;justify-content:space-between;gap:6px}#walk-stick{width:72px;height:72px;position:relative;border-radius:50%;border:1px solid #737399;background:#24243e;touch-action:none}#walk-stick i{position:absolute;top:32%;right:32%;bottom:32%;left:32%;border-radius:50%;background:#9debd8;pointer-events:none}#walk-pad button{min-width:44px;min-height:44px}}#hall.editing :is(nav,aside),.av-ed.hidden{display:none}.av-ed{position:fixed;z-index:8;inset:1rem 1rem 1rem auto;width:min(360px,94vw);background:#17162af2;border:1px solid #736a91;border-radius:15px;padding:14px;display:flex;flex-direction:column;gap:8px}.av-ed .av-options{overflow:auto;min-height:0;flex:1}.av-head,.av-row,.av-step,.av-range,.av-gender,.av-foot,.av-tabs,.av-sw{display:flex;align-items:center;gap:6px}.av-head,.av-row{justify-content:space-between}.av-row{margin:.4rem 0}.av-row.col{display:block}.av-sw,.av-gender{flex-wrap:wrap}.av-head h2{margin:0}.av-kick,.av-note{font-size:.75rem;color:#a8d5d2}.av-ed .on,#avSave{border-color:#82f5da}.av-ed button{padding:.45em .6em}.av-ed .sw{min-width:26px;height:26px;border-radius:20px}.av-foot{justify-content:flex-end}@media(max-width:760px){.av-ed{inset:auto 2vw 1vh;width:96vw;max-height:49dvh}.av-ed button{font-size:.85rem}}@media not all and (orientation:landscape)and (max-height:560px){.bubble-duo .duo-stage{grid-template-rows:minmax(0,1fr) auto;align-content:stretch}.bubble-duo .duo-screen{width:auto;max-width:100%;height:100%;justify-self:center}}@media(max-width:620px){header{top:10px}nav{top:14px;right:2vw}nav button,#stations button{font-size:12px;padding:8px}header small{font-size:8px}aside{padding:8px}#stations{gap:4px}}
