@import "https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@700&display=swap";*,:before,:after{box-sizing:border-box}html,body,#root{width:100%;height:100%;min-height:100dvh;margin:0;padding:0}#root{flex-direction:column;display:flex}html{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;overscroll-behavior:none;background:#1a1a2e}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;-webkit-tap-highlight-color:transparent}body,canvas,button{-webkit-user-select:none;user-select:none}canvas{display:block}button{font-family:inherit}:root{font-size:clamp(15px,.5vw + .7vh + 8px,30px)}body{color:#fff;background-color:#1a1a2e;margin:0;font-family:Nunito,sans-serif;overflow:hidden}.App{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100dvh;display:flex}.btn-fullscreen{top:calc(.6rem + env(safe-area-inset-top));right:calc(.6rem + env(safe-area-inset-right))}.btn-quit{bottom:calc(.8rem + env(safe-area-inset-bottom));right:calc(.8rem + env(safe-area-inset-right))}.arcade-screen{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.setup-screen .nav-buttons,.end-screen .nav-buttons{padding-bottom:calc(.3rem + env(safe-area-inset-bottom))}@media (pointer:coarse){.toggle-buttons button,.btn-primary,.btn-secondary,.btn-quit{min-height:2.75rem}.swatch{width:2rem;height:2rem}.btn-fullscreen,.btn-refresh{width:2.75rem;height:2.75rem}}h1,h2,h3,.title{margin:0;font-family:Fredoka One,cursive}.title{color:#ffb400;text-shadow:.2rem .2rem #f36,.4rem .4rem #00000080;letter-spacing:.1rem;margin-bottom:1.6rem;font-size:3.2rem}.arcade-screen{z-index:100;flex-direction:column;align-items:center;width:100%;max-width:min(96vw,62rem);max-height:100dvh;padding:1rem 0;display:flex;overflow-y:auto}.hint{opacity:.7;margin:.6rem 0 0;font-size:.85rem;font-weight:400}.banner{z-index:500;padding:.7rem;font-weight:700;position:fixed;top:0;left:0;right:0}.banner-error{background:#e94560}.btn-fullscreen{z-index:400;color:#fff;cursor:pointer;opacity:.45;background:#ffffff24;border:none;border-radius:.6rem;width:2.2rem;height:2.2rem;font-size:1.1rem;line-height:1;transition:opacity .2s;position:fixed;top:.6rem;right:.6rem}.btn-fullscreen:hover{opacity:1}.tile-grid{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:1.1rem;width:100%;display:grid}.tile{color:#fff;cursor:pointer;background:#16213e;border:.2rem solid #0f3460;border-radius:1.2rem;flex-direction:column;align-items:center;gap:.35rem;padding:1.2rem 1rem;font-family:Nunito,sans-serif;transition:transform .15s,border-color .15s;display:flex;box-shadow:0 .5rem 1rem #00000080}.tile:hover:not(.locked){border-color:#4caf50;transform:translateY(-.2rem)scale(1.03)}.tile.locked{opacity:.4;filter:grayscale();cursor:not-allowed}.tile-icon{font-size:3rem;line-height:1}.tile-title{font-family:Fredoka One,cursive;font-size:.95rem}.tile-ages{opacity:.65;font-size:.75rem}.setup-screen .title{margin-bottom:1.1rem;font-size:2rem}.setup-icon{font-size:2rem}.setup-columns{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:1.2rem;width:100%;margin-bottom:1.3rem;display:flex}.setup-card,.setup-preview{text-align:left;background:#00000073;border-radius:1rem;padding:1.1rem}.setup-card{flex:20rem;min-width:0}.setup-preview{flex:0 auto}.setup-card h3,.setup-preview h3{color:#e94560;margin-bottom:.6rem;font-size:1.05rem}.setup-card ol{margin:0 0 .9rem;padding-left:1.1rem;font-size:.85rem;font-weight:400;line-height:1.55}.setup-card li{margin-bottom:.4rem}.setting-group h3{margin:1rem 0 .6rem}.toggle-buttons{flex-wrap:wrap;gap:.6rem;display:flex}.toggle-buttons button{color:#fff;cursor:pointer;background:#0f3460;border:.16rem solid #0000;border-radius:.8rem;padding:.5rem 1rem;font-family:Nunito,sans-serif;font-size:.9rem;transition:all .2s}.toggle-buttons button.active{background:#e94560;border-color:#fff;box-shadow:0 .2rem .8rem #e9456080}.color-rows{flex-direction:column;gap:.55rem;margin-top:.8rem;display:flex}.color-row{flex-wrap:wrap;align-items:center;gap:.7rem;display:flex}.color-row-label{align-items:center;gap:.45rem;min-width:6.4rem;font-size:.85rem;font-weight:700;display:flex}.swatches{gap:.35rem;display:flex}.swatch{cursor:pointer;border:.16rem solid #0000;border-radius:50%;width:1.5rem;height:1.5rem;padding:0;transition:transform .12s,border-color .12s}.swatch:hover{transform:scale(1.12)}.swatch.active{border-color:#fff;transform:scale(1.18);box-shadow:0 0 0 .12rem #00000080}.camera-picker{align-items:center;gap:.55rem;margin-bottom:.7rem;font-size:.82rem;font-weight:400;display:flex}.btn-refresh{color:#fff;cursor:pointer;background:#16213e;border:.12rem solid #0f3460;border-radius:.5rem;flex:none;width:1.9rem;height:1.9rem;font-size:1rem;line-height:1}.btn-refresh:hover{border-color:#4caf50}.camera-status{opacity:.85;margin:0 0 .6rem;font-size:.82rem;font-weight:400}.camera-picker select{color:#fff;background:#16213e;border:.12rem solid #0f3460;border-radius:.55rem;flex:1;min-width:0;padding:.4rem .55rem;font-family:Nunito,sans-serif;font-size:.82rem}.nav-buttons{flex-wrap:wrap;justify-content:center;gap:.9rem;display:flex}.setup-screen .nav-buttons,.end-screen .nav-buttons{z-index:5;background:linear-gradient(#1a1a2e00,#1a1a2e 45%);width:100%;padding:.7rem 0 .3rem;position:sticky;bottom:0}.btn-primary,.btn-secondary{cursor:pointer;color:#fff;border:none;border-radius:1.6rem;padding:.7rem 1.9rem;font-family:Fredoka One,cursive;font-size:1.25rem;transition:all .2s;box-shadow:0 .3rem #0000004d}.btn-primary{background:#4caf50}.btn-secondary{background:#e94560}.btn-primary:active,.btn-secondary:active{box-shadow:none;transform:translateY(.3rem)}.btn-primary:disabled{cursor:not-allowed;background:#55605c}.btn-quit{pointer-events:auto;color:#fff;cursor:pointer;z-index:40;background-color:#e94560d9;border:none;border-radius:1rem;padding:.4rem .9rem;font-family:Nunito,sans-serif;font-size:.85rem;font-weight:700;position:absolute;bottom:.8rem;right:.8rem}.stage{background:#0d1020;border-radius:.8rem;flex:none;position:relative;overflow:hidden}.stage.hidden{opacity:0;pointer-events:none;z-index:-1;position:absolute}.stage.visible{opacity:1;z-index:10}.stage-video{object-fit:cover;z-index:1;width:100%;height:100%;transition:filter .4s;position:absolute;top:0;left:0;transform:scaleX(-1)}.stage.backdrop-dim .stage-video{filter:saturate(.45)brightness(.55)blur(1px)}.stage-canvas{z-index:10;pointer-events:none;position:absolute;top:0;left:0}.hud{z-index:20;pointer-events:none;position:absolute;inset:0}.hud-timer{text-shadow:.15rem .15rem #000;text-align:left;height:.5rem;font-family:Fredoka One,cursive;font-size:1.6rem;position:absolute;top:.7rem;left:1.2rem;right:1.2rem}.timer-bar{border-radius:.25rem;height:.5rem;transition:width .9s linear;display:block}.hud-scores{flex-direction:column;gap:.4rem;display:flex;position:absolute;bottom:.8rem;left:.8rem}.hud-score{text-shadow:.1rem .1rem #000;align-items:center;gap:.45rem;font-family:Fredoka One,cursive;font-size:1.15rem;display:flex}.hud-dot{border:.16rem solid #fff;border-radius:50%;flex:none;width:1.1rem;height:1.1rem}.hud-dot.big{width:1.7rem;height:1.7rem}.hud-bar-track{background:#00000073;border-radius:.45rem;width:8.5rem;height:.9rem;overflow:hidden}.hud-bar{border-radius:.45rem;height:100%;transition:width .3s;display:block}.end-screen .title{margin-bottom:1rem;font-size:4.4rem}.pop-showcase{justify-content:center;align-items:center;gap:1.4rem;min-height:7rem;margin-bottom:1.5rem;display:flex}.pop-bubble{background:#ffffff1f;border:.3rem solid;border-radius:50%;flex:none;animation:2.2s ease-in-out infinite bob}.pop-bubble:nth-child(2){animation-delay:.3s}.pop-bubble:nth-child(3){animation-delay:.6s}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(-.7rem)}}.parade{flex-wrap:wrap;justify-content:center;gap:.7rem;max-width:40rem;margin-bottom:1.5rem;display:flex}.parade-icon{font-size:2.2rem;animation:2.4s ease-in-out infinite bob}.parade-swatch{border:.16rem solid #fff;border-radius:.6rem;width:2.4rem;height:2.4rem;animation:2.4s ease-in-out infinite bob}.parade-icon:nth-child(2n),.parade-swatch:nth-child(2n){animation-delay:.35s}.basket-showcase{justify-content:center;gap:1.2rem;margin-bottom:1.5rem;display:flex}.basket{border:.25rem solid;border-top-width:.4rem;border-radius:.3rem .3rem 1rem 1rem;width:4.6rem;height:5.2rem;display:block;position:relative;overflow:hidden}.basket-fill{opacity:.75;transition:height .8s;position:absolute;bottom:0;left:0;right:0}.confetti-row{flex-wrap:wrap;justify-content:center;gap:.45rem;max-width:38rem;margin-bottom:1.5rem;display:flex}.confetti-balloon{animation:2s ease-in-out infinite bob;animation-delay:calc(var(--i) * .12s);font-size:2rem}.final-scores{flex-direction:column;gap:.7rem;width:min(90%,34rem);margin-bottom:1.6rem;display:flex}.final-row{background:#00000080;border-radius:.8rem;align-items:center;gap:.75rem;padding:.6rem 1.1rem;font-size:1.35rem;font-weight:700;display:flex}.final-bar-track{background:#ffffff1f;border-radius:.6rem;flex:1;height:1.2rem;overflow:hidden}.final-bar{border-radius:.6rem;height:100%;transition:width .6s;display:block}.freeze-parade{flex-wrap:wrap;justify-content:center;gap:1.4rem;margin-bottom:1.5rem;display:flex}.freeze-figure{filter:drop-shadow(0 0 .4rem #ffd70059);width:5rem;height:5.5rem;animation:2.6s ease-in-out infinite bob;overflow:visible}.freeze-figure:nth-child(2n){animation-delay:.4s}.standings{flex-direction:column;gap:.7rem;width:min(90%,34rem);margin-bottom:1.5rem;display:flex}.standing-row{background:#00000080;border-radius:.8rem;align-items:center;gap:.75rem;padding:.6rem 1.1rem;display:flex}.standing-wins{text-align:right;min-width:4rem;font-size:1.1rem}.btn-recalibrate{pointer-events:auto;color:#fff;cursor:pointer;z-index:40;background-color:#0f3460e6;border:none;border-radius:1rem;padding:.4rem .9rem;font-family:Nunito,sans-serif;font-size:.85rem;font-weight:700;position:absolute;bottom:.8rem;right:7rem}@media (pointer:coarse){.btn-recalibrate{min-height:2.75rem}}.setup-warning{background:#e945602e;border-left:.25rem solid #e94560;border-radius:.5rem;margin:0 0 1rem;padding:.7rem .9rem;font-size:.85rem;font-weight:400;line-height:1.5}
