:root{--ink:#141833;--paper:#fff8ea;--accent:#ffc531;--surface:#232a5e;--player:#4a5068}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{overscroll-behavior:none;color:#fff;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-webkit-touch-callout:none;user-select:none;touch-action:none;background:#171c45;height:100%;margin:0;font-family:Fredoka Variable,ui-rounded,system-ui,sans-serif;overflow:hidden}[hidden]{display:none!important}h1,p{margin:0}#app{height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);flex-direction:column;display:flex}.bar{background:var(--player);min-height:3rem;color:var(--ink);flex:none;align-items:center;gap:.75rem;padding:.35rem .5rem .35rem 1rem;font-weight:600;display:flex}.bar-name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:1.25rem;overflow:hidden}.bar-status{font-size:.9rem}.content{flex:1;min-height:0;display:flex}.is-offline .content,.is-host-away .content{opacity:.4}.join,.panel{touch-action:pan-y;flex-direction:column;flex:1;gap:.75rem;width:100%;max-width:28rem;margin:0 auto;padding:1.25rem;display:flex;overflow-y:auto}.join{justify-content:center}.panel.is-centered{text-align:center;justify-content:center}.join-title{text-align:center;color:var(--accent);text-shadow:0 .2rem 0 var(--ink);margin-bottom:.5rem;font-size:2.4rem;font-weight:700}.join-input{background:var(--paper);width:100%;min-height:3.5rem;color:var(--ink);font:inherit;text-align:center;user-select:text;touch-action:manipulation;border:.2rem solid #0000;border-radius:.9rem;padding:0 1rem;font-size:1.4rem;font-weight:600}.join-input:focus-visible{border-color:var(--accent);outline:none}.join-input-code{letter-spacing:.4em;padding-left:calc(1rem + .4em);font-size:2rem}.join-input::placeholder{color:#14183366;letter-spacing:normal}.join-app{color:#fff;text-align:center;opacity:.85;margin-top:.6rem;padding:.6rem;font-size:1rem;font-weight:600}.join-error{text-align:center;color:#ff9c9c;min-height:1.4em;font-weight:500}.panel-title{font-size:2.2rem;font-weight:700;line-height:1.15}.panel-kicker{color:var(--accent);margin-top:.5rem;font-size:.95rem;font-weight:600}.panel-text{text-align:center;opacity:.85;font-size:1.1rem}.button{background:var(--surface);color:#fff;width:100%;min-height:3.75rem;font:inherit;touch-action:manipulation;border:.2rem solid #0000;border-radius:.9rem;flex-direction:column;justify-content:center;align-items:center;gap:.15rem;padding:.6rem 1rem;font-size:1.3rem;font-weight:600;display:flex;box-shadow:0 .3rem #00000059}.button:active:not(:disabled){transform:translateY(.2rem);box-shadow:0 .1rem #00000059}.button:focus-visible{outline-offset:.15rem;outline:.2rem solid #fff}.wave:focus-visible{outline-offset:.15rem;outline:.2rem solid #fff}.button:disabled{opacity:.4;box-shadow:none}.button.is-colored:disabled{opacity:.5}.button.is-colored:disabled .button-detail{opacity:1;font-size:1.7rem;font-weight:700}.button.is-primary{background:var(--accent);color:var(--ink)}.button.is-selected{border-color:var(--accent)}.choice-list,.choice-grid{flex-direction:column;gap:.75rem;display:flex}.choice-grid{flex:1;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;display:grid}.choice-grid .button{overflow-wrap:anywhere;height:100%;font-size:1.2rem;line-height:1.15}.button.is-colored{background:var(--choice);color:var(--ink)}.button-badge{font-size:2rem;font-weight:700;line-height:1}.button-detail{opacity:.8;font-size:.9rem;font-weight:500}.wave{background:var(--player);min-height:7rem;color:var(--ink);font:inherit;border:0;border-radius:1.5rem;flex:1 0 auto;font-size:1.6rem;font-weight:700;box-shadow:0 .45rem #00000059}.wave:active{transform:translateY(.3rem);box-shadow:0 .15rem #00000059}.lobby-tools{flex-direction:column;gap:.6rem;display:flex}.tool-tabs{gap:.5rem;display:flex}.tool-tab{flex:1;min-height:3.25rem}.tool-tab[aria-expanded=true]{background:var(--paper);color:var(--ink)}.tool-section{flex-direction:column;gap:.6rem;display:flex}.tool-section[hidden],.wardrobe[hidden]{display:none}.chip-row{flex-wrap:wrap;gap:.5rem;display:flex}.chip{background:var(--surface);color:#fff;min-width:2.75rem;min-height:2.75rem;font:inherit;touch-action:manipulation;border:0;border-radius:.8rem;padding:0 .9rem;font-size:1.05rem;font-weight:600}.chip.is-primary{background:var(--accent);color:var(--ink)}.chip:active{filter:brightness(1.25)}.chip:focus-visible{outline-offset:.15rem;outline:.2rem solid #fff}.say-input:focus-visible{outline-offset:.15rem;outline:.2rem solid #fff}.say-form{gap:.5rem;display:flex}.say-input{background:var(--paper);min-width:0;min-height:2.75rem;color:var(--ink);font:inherit;user-select:text;touch-action:manipulation;border:0;border-radius:.8rem;flex:1;padding:0 .9rem;font-size:1.05rem;font-weight:600}.wardrobe{flex-direction:column;gap:.45rem;display:flex}.wardrobe-row{align-items:center;gap:.5rem;display:flex}.wardrobe-text{flex-direction:column;flex:1;align-items:center;min-width:0;line-height:1.15;display:flex}.wardrobe-part{opacity:.7;font-size:.8rem}.wardrobe-value{font-size:1.05rem;font-weight:600}.pad{flex:1;gap:.6rem;padding:.6rem;display:flex;position:relative}@media (orientation:portrait){.pad{padding-top:28dvh}}.pad-zone{flex-direction:column;flex:1;gap:.6rem;min-width:0;min-height:0;display:flex}.pad-zone:empty{display:none}.pad-stick{background:var(--surface);border-radius:1.4rem;flex:1;position:relative;overflow:hidden}.pad-stick-base{pointer-events:none;border:.25rem solid #ffffff40;border-radius:50%;width:8rem;height:8rem;margin:-4rem 0 0 -4rem;position:absolute;top:50%;left:50%}.pad-stick-knob{background:var(--player);border-radius:50%;position:absolute;top:1.6rem;bottom:1.6rem;left:1.6rem;right:1.6rem;box-shadow:0 .25rem #00000059}.pad-stick.is-active .pad-stick-base{border-color:#fff9}.pad-button{background:var(--surface);border-radius:1.4rem;flex:1;place-items:center;font-size:1.7rem;font-weight:700;display:grid;box-shadow:0 .4rem #00000059}.pad-button.is-accent{background:var(--paper);color:var(--ink)}.pad-button.is-active{filter:brightness(1.15);transform:translateY(.3rem);box-shadow:0 .1rem #00000059}.pad-hint{text-align:center;opacity:.75;pointer-events:none;font-size:1rem;position:absolute;top:.9rem;left:1rem;right:1rem}@media (orientation:landscape){.pad-hint{display:none}}.sketch{touch-action:none;gap:.5rem;padding:.8rem;overflow:hidden}.sketch-title{text-align:center;font-size:1.7rem;font-weight:700;line-height:1.1}.sketch-text{text-align:center;opacity:.85;font-size:.95rem}.sketch-frame{flex:1;place-items:center;min-height:0;display:grid}.sketch-canvas{touch-action:none;background:#fff8ea;border-radius:.8rem;box-shadow:0 .3rem #00000059}.sketch-colors,.sketch-tools{justify-content:center;gap:.5rem;display:flex}.sketch-swatch{background:var(--ink);touch-action:manipulation;border:.2rem solid #ffffff59;border-radius:50%;width:2.75rem;height:2.75rem}.sketch-swatch.is-picked{border-color:#fff;transform:scale(1.15)}.sketch-tools .chip{flex:1;max-width:10rem}.panel-game{text-align:center;font-size:1.6rem;font-weight:700}
