:root{--header-height:25px}[hidden]{display:none!important}#lobbyRoot{inset:var(--header-height) 0 0;position:fixed;overflow:auto}#gameRoot{width:100%;height:100%}body.hudes-lobby .header-left-actions [data-hud-action],body.hudes-lobby .header-lobby,body.hudes-lobby .header-controls,body.hudes-lobby .connection-status{display:none}.app-error{color:#ffb6b6;background:#28151a;border:1px solid #b55;margin:2rem;padding:1rem}.desktop-required{max-width:34rem;margin:12vh auto;padding:1.5rem;line-height:1.5}.desktop-required h1{color:#ffd666;font-size:1.6rem}.desktop-required a{color:#111;background:#ffd666;border-radius:.5rem;margin-top:1rem;padding:.7rem 1.1rem;font-weight:700;text-decoration:none;display:inline-block}body{color:#fff;background-color:#000;margin:0;padding:0;font-family:Arial,sans-serif}body.hudes-mobile #plot2{display:none}body.hudes-mobile #sideContainer{display:none!important}body.hudes-mobile button,body.hudes-mobile .header-pill,body.hudes-mobile [data-hud-action]{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}html,body{touch-action:manipulation;width:100%;height:100%;overflow:hidden}.site-header{width:100%;height:var(--header-height);z-index:100;background:#000;justify-content:center;align-items:center;display:flex;position:fixed;top:0;left:0}.site-logo{max-height:calc(var(--header-height) - 4px);object-fit:contain;image-rendering:auto;width:auto;display:block}.header-left-actions{flex-wrap:wrap;align-items:center;gap:clamp(8px,1.6vw,18px);display:flex;position:absolute;top:50%;left:clamp(10px,3vw,28px);transform:translateY(-50%)}body.hudes-mobile .header-left-actions .header-source{display:none}.connection-status{text-transform:uppercase;letter-spacing:.12em;color:#ffd666;font-size:.65rem;position:absolute;top:50%;right:clamp(4px,1vw,12px);transform:translateY(-50%)}.header-controls{align-items:center;gap:.8rem;display:flex;position:absolute;top:50%;right:clamp(120px,12vw,210px);transform:translateY(-50%)}.header-controls button.header-pill,.header-left-actions .header-pill,.header-left-actions .header-pill:link,.header-left-actions .header-pill:visited{color:#ffd666;text-transform:uppercase;letter-spacing:.12em;cursor:pointer;background:0 0;border:none;padding:0;font-size:.68rem;text-decoration:none;transition:color .18s,text-shadow .18s}.header-controls button.header-pill:focus,.header-left-actions .header-pill:focus{outline:none}.header-left-actions .header-lobby{white-space:nowrap;background:#ffd66612;border:1px solid #ffd66655;border-radius:4px;padding:3px 6px;font-size:10px;line-height:1}.header-controls .mode-toggle{letter-spacing:.1em;font-size:.62rem}.header-controls button.header-pill:hover,.header-controls button.header-pill:focus-visible,.header-left-actions .header-pill:hover,.header-left-actions .header-pill:focus-visible{color:#ffe59c;text-shadow:0 0 8px #ffe59cd9;text-decoration:none}.connection-status[data-state=connected]{color:#4caf50}.connection-status[data-state=connecting]{color:#fa3}.connection-status[data-state=disconnected]{color:#ff5757}#imageContainer{top:var(--header-height);width:100%;height:calc(100vh - var(--header-height));pointer-events:none;z-index:400;justify-content:center;align-items:center;display:flex;position:fixed;left:0;overflow:hidden}#imageContainer:before{content:"";opacity:0;background:radial-gradient(circle,#120c00a6,#000000d9);transition:opacity .18s;position:absolute;inset:0}#imageContainer.help-open{pointer-events:auto}#imageContainer.help-open:before{opacity:1}.help-overlay{opacity:0;pointer-events:none;box-shadow:none;visibility:hidden;background:0 0;border:none;justify-content:center;align-items:center;padding:0;transition:opacity .2s,transform .2s;display:flex;position:absolute;inset:0;transform:scale(.97)}.help-overlay.visible{opacity:1;pointer-events:auto;visibility:visible;transform:scale(1)}.help-overlay__image{width:auto;max-width:min(86vw,900px);height:auto;max-height:min(74vh,620px)}.help-overlay__close{color:#ffd666;cursor:pointer;background:#000000b3;border:1px solid #ffd27899;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:20px;line-height:1;transition:transform .14s,background .14s,border-color .14s;display:flex;position:absolute;top:8px;right:8px}.help-overlay__close:hover{background:#ffc8282e;border-color:#ffd778e6;transform:scale(1.06)}.help-overlay__close:focus-visible{outline-offset:2px;outline:2px solid #ffd778e6}.help-overlay__content{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background:#050a14eb;border:1px solid #ffbe5059;border-radius:20px;width:min(92vw,820px);padding:clamp(18px,4vw,32px);position:relative;box-shadow:0 24px 48px #0000008c}.help-overlay__body{flex-direction:column;gap:1.5rem;display:flex}body.hudes-mobile .help-overlay__content{width:calc(100vw - 24px);margin:0 12px;padding:clamp(16px,6vw,24px)}body.hudes-mobile .help-overlay__body{gap:1rem}.help-overlay.is-splash{background:#000000e6}.help-overlay.is-splash .help-overlay__content{width:100%;height:100%;box-shadow:none;background:0 0;border:none;border-radius:0;justify-content:center;align-items:center;padding:0;display:flex}.help-overlay.is-splash .help-overlay__close{display:none}.help-overlay__tabs{gap:.5rem;margin-bottom:1rem;display:none}.help-overlay__tabs.is-visible{display:flex}.help-overlay__tabs button{color:#ffd666cc;cursor:pointer;text-transform:uppercase;letter-spacing:.12em;background:#0c1428b3;border:1px solid #ffd66666;border-radius:999px;flex:1;padding:.35rem .5rem;font-size:.68rem}.help-overlay__tabs button.is-active{color:#fff1cc;background:#ffd66633;border-color:#ffd666b3}.tour-screen{color:#f3fbff;flex-direction:column;gap:1.1rem;display:flex}.tour-eyebrow{text-transform:uppercase;letter-spacing:.24em;color:#ffd666e6;margin:0;font-size:.75rem}.tour-hero{flex-flow:wrap;gap:1.5rem;display:flex}.tour-hero__visual{border-radius:16px;flex:260px;justify-content:center;align-items:center;min-height:220px;display:flex;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff14}.tour-hero__visual img{object-fit:cover;width:100%;height:100%}.tour-hero__body{flex-direction:column;flex:260px;gap:.9rem;display:flex}body.hudes-mobile .tour-hero__body{gap:.45rem}body.hudes-mobile .tour-hero__body .tour-eyebrow,body.hudes-mobile .tour-hero__body .tour-welcome__list,body.hudes-mobile .tour-hero__body .tour-welcome__list li{margin:0}.tour-pitch,.tour-desc{color:#e4f1ffeb;margin:0}.tour-cta-row{flex-wrap:wrap;gap:.8rem;display:flex}.tour-mobile-note{color:#c8dcffd9;margin:0;font-size:.9rem}.tour-btn{text-transform:uppercase;letter-spacing:.12em;cursor:pointer;color:#ffd666;background:#ffd66626;border:1px solid #ffd666a6;border-radius:999px;padding:.55rem 1.45rem;font-size:.75rem;font-weight:600;transition:background .16s,transform .16s}.tour-btn.primary{color:#0a0f1d;background:linear-gradient(135deg,#ffd666,#ffae4d);border-color:#0000}.tour-btn.ghost{color:#ffd666cc;background:0 0}.tour-btn:active{transform:translateY(1px)}.tour-btn.resume{color:#c8e6ffe6;background:#0a1428e6;border-color:#b4d2ff66}.tour-resume-row{margin-top:.65rem}.tour-modes{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;display:grid}.tour-mode-card{color:#f1fbff;text-align:left;cursor:pointer;background:#0a101ed9;border:1px solid #ffd66640;border-radius:14px;padding:1rem;transition:border-color .16s,box-shadow .16s}.tour-mode-card.is-selected{border-color:#ffd666e6;box-shadow:0 0 0 2px #ffd66633}.tour-mode-heading h3{margin:0 0 .25rem;font-size:1.05rem}.tour-mode-heading p,.tour-mode-body{color:#e4f1ffe6;margin:0;font-size:.9rem}.tour-mode-nudge{letter-spacing:.2em;text-transform:uppercase;color:#ffd666e6;margin-top:.35rem;font-size:.72rem;display:inline-block}.tour-legend{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.tour-legend li{background:#0c1426a6;border-left:2px solid #ffd66699;flex-direction:column;gap:.2rem;padding:.4rem .5rem;display:flex}.tour-key{letter-spacing:.08em;font-weight:600}.tour-label{color:#d6e6ffd9;font-size:.85rem}.tour-footer{text-align:center;color:#e4f1ffd9;margin:0}.help-info-sheet{opacity:0;pointer-events:none;background:#050a16f2;border:1px solid #ffd66659;border-radius:20px;flex-direction:column;gap:.9rem;padding:clamp(18px,4vw,28px);transition:opacity .16s,transform .16s;display:flex;position:absolute;inset:clamp(16px,4vw,48px);transform:translateY(10px)scale(.97);box-shadow:0 24px 48px #0009}.help-info-sheet ul{color:#e4f1ffe6;margin:0;padding-left:1rem}.help-overlay.showing-info .help-info-sheet{opacity:1;pointer-events:auto;transform:translateY(0)scale(1)}.tour-screen--speed .tour-legend{margin-top:.25rem}.tour-screen--splash{text-align:center;justify-content:center;align-items:center;width:100%;height:100%;min-height:60vh}.tour-splash__logo{object-fit:contain;align-self:center;width:auto;max-width:90vw;height:min(80vh,80vw);max-height:85vh}.tour-splash__media{object-fit:cover;border-radius:12px;width:100%;max-height:220px;margin:.5rem 0}.tour-splash__subcopy{letter-spacing:.2em;color:#ffd666cc;margin:0}.tour-splash__prompt{color:#ffd666d9;letter-spacing:.18em;text-transform:uppercase;margin-top:1rem;font-size:.78rem}.tour-screen--splash-active{animation:1.5s ease-in-out infinite alternate splashPulse}.tour-screen--splash-fade{animation:.45s forwards splashFade}@keyframes splashPulse{0%{opacity:.75}to{opacity:1}}@keyframes splashFade{to{opacity:0}}.tour-screen--welcome .tour-welcome__list{color:#e4f1ffe6;margin:0;padding-left:1.2rem;list-style:outside}.tour-checklist{flex-direction:column;gap:.65rem;margin:0;padding:0;list-style:none;display:flex}.tour-checklist li{color:#e4f1ffd9;border-left:3px solid #ffd66666;padding-left:.75rem}.tour-checklist li.is-complete{color:#a0ffc8f2;border-color:#7bffb4e6}.tour-checklist__head{text-transform:uppercase;letter-spacing:.08em;font-weight:600}body.hudes-mobile .tour-checklist{gap:.4rem}body.hudes-mobile .tour-checklist li{line-height:1.2}.tour-rules{color:#e4f1ffe6;margin:0;padding-left:1.2rem;list-style:decimal}.tour-compact-keys{color:#ffd666d9;border-left:2px solid #ffd66680;padding-left:.65rem;font-size:.85rem}.help-tab{flex-direction:column;gap:1rem;display:flex}.help-tab--how ul{margin:0;padding-left:1rem}.help-tab--how li{color:#e4f1ffe6;margin-bottom:.5rem}.help-tab--controls .tour-legend{margin:0}#modalOverlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:1000;background:#050a1473;justify-content:center;align-items:center;display:none;position:fixed;inset:0}#modalOverlay.open{display:flex}.glass-card{color:#e9f6ff;background:#0c121ec7;border:1px solid #56c6ff59;border-radius:16px;width:min(92vw,560px);padding:20px 22px;box-shadow:0 18px 48px #0a12288c,inset 0 0 18px #56c6ff1f}.glass-card h2{margin:0 0 6px;font-size:1.25rem}.glass-card .muted{opacity:.85;margin:0 0 14px}.glass-card .name-form{flex-direction:column;gap:8px;display:flex}.glass-card label{opacity:.9;font-size:.9rem}.glass-card input{color:#fff;text-transform:uppercase;letter-spacing:.12em;background:#ffffff14;border:1px solid #56c6ff59;border-radius:10px;outline:none;padding:10px 12px;font-size:1rem}.glass-card input.invalid{border-color:#ff4d4d}.glass-card .actions{justify-content:flex-end;gap:10px;margin-top:8px;display:flex}.results-card{flex-direction:column;gap:.75rem;max-width:420px;display:flex}.results-metrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.results-metrics li{background:#0a122899;border:1px solid #ffd66633;border-radius:10px;flex-direction:column;gap:.2rem;padding:.65rem;display:flex}.results-metrics li span{text-transform:uppercase;letter-spacing:.16em;color:#ffd666b3;font-size:.7rem}.results-metrics li strong{color:#f0f8fff2;font-size:1rem}.results-share{color:#e4f1ffd9;border-left:2px solid #ffd66666;padding-left:.6rem;font-size:.82rem}.results-actions{flex-wrap:wrap;gap:.5rem;display:flex}.results-actions button{color:#ffd666e6;text-transform:uppercase;letter-spacing:.15em;cursor:pointer;background:#0c1426cc;border:1px solid #ffd66680;border-radius:999px;flex:1;padding:.4rem .75rem;font-size:.66rem}.results-actions button:disabled{opacity:.4;cursor:not-allowed}.glass-card button,.glass-card .link-btn{color:#e9f6ff;cursor:pointer;background:#285a8c59;border:1px solid #56c6ff59;border-radius:10px;padding:8px 14px;text-decoration:none}.glass-card button:hover,.glass-card .link-btn:hover{background:#285a8c80}.glass-card .top10-list{margin:8px 0 0;padding-left:18px;list-style:none}.glass-card .scroll-wrap{max-height:50vh;margin:8px 0;padding-right:6px;overflow-y:auto}.glass-card .top100-list{margin:0;padding-left:18px;list-style:none}.glass-card .top10-list li{margin:2px 0}.glass-card .top10-mono{white-space:pre;font-family:SFMono-Regular,Menlo,Consolas,Liberation Mono,Courier New,monospace}.glass-card .top10-title{margin-left:6px}#glContainer{top:var(--header-height);width:90%;height:calc(100vh - var(--header-height));z-index:1;pointer-events:auto;position:absolute;left:0}body.hudes-mobile #glContainer{--mobile-gl-top:max(-30vh, calc(var(--header-height) * .5 - 30vh));top:calc(var(--mobile-gl-top) - var(--header-height));height:calc(100vh - var(--mobile-gl-top) + var(--header-height));width:100%}#sideContainer{top:calc(var(--header-height) + 20vh);width:17%;height:calc(80vh - var(--header-height));pointer-events:auto;z-index:3;box-sizing:border-box;background:0 0;flex-direction:column;padding:10px;display:flex;position:absolute;right:0;overflow-y:auto}.container{top:calc(var(--header-height) + 10px);z-index:2;box-sizing:border-box;background:0 0;gap:10px;width:100%;height:25vh;margin-left:0;padding:0 12px 0 0;display:flex;position:absolute;left:0}.plot{box-sizing:border-box;flex-direction:column;align-items:stretch;gap:.35rem;width:33%;height:100%;padding:1px;display:flex}.plot canvas{flex:1}#teamGameStatus{top:calc(var(--header-height) + 25vh + 18px);box-sizing:border-box;color:#bdcddd;z-index:3;background:#0009;border-left:1px solid #91b5d52b;flex-direction:column;align-items:flex-start;gap:6px;width:max-content;max-width:132px;padding:6px;font:10px/1.3 system-ui,sans-serif;display:flex;position:absolute;left:8px}.team-hud-label{color:#7f96ac;letter-spacing:.14em;text-transform:uppercase;font-size:9px}.team-hud-members{flex-direction:column;gap:4px;width:100%;min-width:0;display:flex}.team-hud-members>span{color:#dce8f2;background:#abc9eb08;border:1px solid #91b5d52b;border-radius:4px;align-items:center;gap:5px;min-width:0;padding:3px 4px;display:inline-flex}.team-hud-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.team-hud-dot{background:#64d8e2;border-radius:50%;flex:0 0 5px;width:5px;height:5px}[data-panel-index="1"]>.team-hud-dot{background:#db94e8}[data-panel-index="2"]>.team-hud-dot{background:#e4d77b}.team-hud-members [data-voted=true]{background:#36ed7510;border-color:#36ed75}.team-hud-members [data-connected=false]{opacity:.5;border-style:dashed}.team-hud-you{color:#879eb3;flex-shrink:0;font-size:9px}.team-hud-readiness{color:#92a9bd;white-space:nowrap}.team-hud-switches{white-space:nowrap;font-variant-numeric:tabular-nums;padding-top:2px}#teamGameResults{box-sizing:border-box;text-align:center;background:#101b2bf5;border:1px solid #91b5d54d;border-radius:14px;width:min(380px,100vw - 32px);padding:24px;font:14px/1.5 system-ui,sans-serif;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 16px 60px #0009}#teamGameResults h2{color:#edf6ff;margin:0 0 10px;font-size:20px}#teamGameResults button{color:#edf6ff;cursor:pointer;background:#22384e;border:1px solid #91b5d566;border-radius:7px;margin-top:8px;padding:8px 16px}.plot-title{letter-spacing:.12em;text-transform:uppercase;color:#d2ebffd9;margin:0;font-size:.78rem}#plot3 .plot-title{letter-spacing:.08em;text-align:right;align-self:flex-end;width:auto;font-size:clamp(.6rem,1.4vw,.72rem)}.example-cell{box-sizing:border-box;width:100%;height:25%;position:relative}.example-item{width:100%;height:100%;position:relative}.example-chart{z-index:2;background:0 0;width:100%;height:100%;position:absolute;top:0;left:0}.example-chart canvas,.example-chart-canvas,.confusion-matrix-canvas{width:100%!important;height:100%!important}.example-image{z-index:1;background:0 0;width:50%;height:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#bottomTextContainer{z-index:5;pointer-events:none;color:#f5fbff;width:min(94vw,1024px);font-family:Consolas,Fira Mono,SFMono-Regular,monospace;position:fixed;bottom:1.5em;left:50%;transform:translate(-50%)}#bottomTextContainer .hud-card{-webkit-backdrop-filter:blur(16px)saturate(125%);backdrop-filter:blur(16px)saturate(125%);pointer-events:auto;background:#0c121ec7;border:1px solid #56c6ff59;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:.2rem;width:100%;padding:.45rem .75rem;display:flex;box-shadow:0 16px 40px #0a122866,inset 0 0 14px #56c6ff1a}#bottomTextContainer .hud-title{letter-spacing:.08em;text-transform:uppercase;color:#b9e1ffd9;text-shadow:0 0 4px #78c8ff59;background:#285a8252;border-radius:.75rem;align-items:center;padding:.1rem .45rem;font-size:clamp(.75rem,1.4vw,.88rem);display:inline-flex}#bottomTextContainer .hud-status{color:#d2ebffeb;text-shadow:0 0 4px #28b4ff4d;white-space:normal;text-align:center;background:#285a8c52;border-radius:.75rem;align-items:center;width:100%;padding:.06rem .4rem;font-size:clamp(.78rem,1.6vw,.92rem);display:inline-flex;box-shadow:inset 0 0 0 1px #56c6ff4d}body.speedrun-countdown #bottomTextContainer .hud-status .hud-timer{color:#ffed9c;font-weight:600}body.speedrun-active #bottomTextContainer .hud-status .hud-timer{color:#ff5a5a;font-weight:700}#speedrunCountdownOverlay{pointer-events:none;opacity:0;z-index:999;justify-content:center;align-items:center;transition:opacity .18s,transform .18s;display:flex;position:fixed;inset:0;transform:scale(.9)}#speedrunCountdownOverlay.visible{opacity:1;transform:scale(1)}.speedrun-countdown__box{justify-content:center;align-items:center;width:80vw;max-width:1100px;height:55vh;max-height:600px;padding:clamp(12px,4vw,32px);display:flex}.speedrun-countdown__text{letter-spacing:.2em;text-transform:uppercase;color:#ffd666;text-shadow:0 0 45px #000000b3;white-space:normal;text-align:center;word-break:break-word;font-size:min(12vh,18vw);font-weight:900;line-height:1.05;display:block}#speedrunCountdownOverlay.count .speedrun-countdown__text{color:#ff4d4d;font-size:min(16vh,24vw)}#speedrunCountdownOverlay.ready .speedrun-countdown__text{color:#ffed8c}#tutorialToast{color:#d2ffebf2;letter-spacing:.08em;opacity:0;z-index:500;background:#050a14e6;border:1px solid #7bffc866;border-radius:999px;padding:.6rem 1rem;font-size:.85rem;transition:opacity .18s,transform .18s;position:fixed;bottom:1rem;left:50%;transform:translate(-50%)translateY(10px)}#tutorialToast.visible{opacity:1;transform:translate(-50%)translateY(0)}#bottomTextContainer .hud-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:.25rem .55rem;width:100%;font-size:clamp(.72rem,1.55vw,.88rem);line-height:1.2;display:flex}#bottomTextContainer .hud-inline-actions{flex-wrap:wrap;flex-basis:100%;justify-content:center;gap:.35rem;width:100%;margin-top:.35rem;display:flex}#bottomTextContainer .hud-inline-actions button{color:#e9f6ff;letter-spacing:.08em;text-transform:uppercase;pointer-events:auto;background:#1c2a448c;border:1px solid #56c6ff59;border-radius:999px;padding:.3rem .9rem;font-size:clamp(.72rem,1.4vw,.86rem);transition:background .12s,transform .12s}#bottomTextContainer .hud-inline-actions button:active{background:#283c5ae6;transform:translateY(1px)}#bottomTextContainer .control-group{opacity:.96;align-items:center;gap:.2rem;display:inline-flex}#bottomTextContainer .control-group .label{white-space:nowrap;letter-spacing:.03em;text-shadow:0 0 5px #78c8ff66}#bottomTextContainer .hud-dim-combo{align-items:center;gap:.3rem;display:inline-flex}#bottomTextContainer .hud-dim-key{letter-spacing:.05em;text-shadow:0 0 6px #00000059;font-size:.95em;font-weight:700;display:inline-flex}#bottomTextContainer .hud-dim-key-sep{width:.35rem;display:inline-block}#bottomTextContainer .hud-dim-sign{letter-spacing:.08em;color:#dcebffd9;margin-left:.4rem;font-size:.8em}#bottomTextContainer .control-group .label .speed-run-label{color:#ff4d4d;font-style:italic;font-weight:800}#bottomTextContainer .key-pill{color:#fff;text-transform:uppercase;letter-spacing:.08em;background:#ffffff1f;border-radius:.8rem;justify-content:center;align-items:center;min-width:1.35em;padding:.05em .28em;transition:background .16s,transform .16s;display:inline-flex;box-shadow:inset 0 0 0 .45px #ffffff59,0 0 8px #78c8ff59}#bottomTextContainer .key-pill:hover{background:#ffffff38;transform:translateY(-1px)}#bottomTextContainer .separator{opacity:.35;-webkit-user-select:none;user-select:none}.floating-text{background:0 0}@media (width<=720px){#bottomTextContainer .hud-card{padding:.5rem .8rem}#bottomTextContainer .hud-controls{gap:.3rem .55rem}#bottomTextContainer .key-pill{letter-spacing:.06em;min-width:1.35em;padding:.06em .3em;font-size:.88em}#bottomTextContainer .hud-status{padding:.08rem .4rem}}@media (width<=420px){#bottomTextContainer{width:96vw}#bottomTextContainer .hud-controls{flex-direction:column;gap:.35rem}#bottomTextContainer .separator{display:none}}#mobileActionPanel{display:none}body.hudes-mobile #mobileActionPanel{width:max-content;box-shadow:none;z-index:1;pointer-events:auto;background:0 0;border:none;border-radius:12px;flex-direction:column;gap:0;margin-top:.6rem;margin-left:auto;margin-right:2px;padding:0 2px 0 0;display:flex;position:relative;inset:auto;transform:none}#joystickPad{z-index:400;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:none;background:radial-gradient(circle,#ffffff0f,#081020d9);border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:clamp(120px,30vw,220px);height:clamp(120px,30vw,220px);display:none;position:fixed;bottom:8vh;left:50%;transform:translate(-50%);box-shadow:0 10px 40px #0009}body.hudes-mobile #joystickPad{display:flex}body.help-overlay-open #joystickPad{display:none!important}#joystickThumb{background:#ffd66640;border:1px solid #ffd66673;border-radius:50%;width:clamp(48px,12vw,96px);height:clamp(48px,12vw,96px);transition:transform .12s;transform:translate(0);box-shadow:inset 0 0 6px #ffd66659}.joystick-hint{color:#ffffffb3;letter-spacing:.08em;text-transform:uppercase;width:max-content;margin:0;font-size:.75rem;position:absolute;bottom:-2.2rem;left:50%;transform:translate(-50%)}.joystick-hint.hidden{opacity:0}body.hudes-mobile .container{justify-content:flex-end;align-items:flex-start;gap:0;height:20vh;padding-left:0;padding-right:2px}body.hudes-mobile #plot1{flex:1;width:auto;min-width:0}body.hudes-mobile #plot3{width:min(42vw,300px);margin-left:2px}body.hudes-mobile #plot3 #confusionMatrixChart{flex:1}#mobileActionPanel .mobile-panel__grid{background:0 0;flex-direction:column;align-items:stretch;gap:12px;width:max-content;padding:0;display:inline-flex}#mobileActionPanel button{color:#e9f6ff;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;text-align:center;background:#1e28468c;border:1px solid #56c6ff40;border-radius:10px;width:100%;min-width:max-content;padding:.4rem .65rem;font-size:.74rem}#mobileActionPanel button:disabled{opacity:.45;cursor:not-allowed;background:#1e284640}#mobileActionPanel button:active{background:#283c5ae6}#bottomTextContainer .hud-card{box-sizing:border-box;max-width:100%;padding-left:1rem;padding-right:1rem}#bottomTextContainer .hud-mobile-actions{gap:.5rem;width:100%;margin-top:.5rem;display:none}body.hudes-mobile #bottomTextContainer .hud-mobile-actions{display:flex}#bottomTextContainer .hud-mobile-actions button{letter-spacing:.08em;text-transform:uppercase;color:#06121f;background:#ffd666;border:none;border-radius:999px;flex:1;padding:.6rem .8rem;font-size:.9rem;box-shadow:0 8px 18px #00000059}#bottomTextContainer .hud-mobile-actions button:active{transform:translateY(1px)}body.hudes-hide-hud #bottomTextContainer{display:none!important}.level-modal{z-index:900;pointer-events:auto;display:none;position:fixed;top:140px;left:50%;transform:translate(-50%)}.level-modal.visible{animation:.4s ease-out slideDownFade;display:block}.level-modal-content{text-align:center;background:#0c121ee6;border:1px solid #ffd66666;width:min(90vw,400px);padding:1.2rem;box-shadow:0 8px 32px #0009}.level-modal h2{color:#ffd666;text-transform:uppercase;letter-spacing:.08em;margin:0 0 .5rem;font-size:1.1rem}.level-modal p{color:#e4f1ffe6;margin:0 0 1rem;font-size:.9rem;line-height:1.4}.level-modal .actions{justify-content:center;display:flex}.level-modal button{color:#ffd666;cursor:pointer;text-transform:uppercase;letter-spacing:.1em;background:#ffd66626;border:1px solid #ffd66680;border-radius:999px;padding:.4rem 1.2rem;font-size:.8rem;transition:background .2s,transform .1s}.level-modal button:hover{background:#ffd66640}.level-toast{z-index:950;color:#e4f1ffe6;pointer-events:none;opacity:0;white-space:normal;text-align:center;background:#0c121ee6;border:1px solid #ffd66666;border-radius:8px;flex-direction:column;align-items:center;gap:.1rem;padding:1.2rem;transition:opacity .2s ease-out;display:flex;position:fixed;top:160px;left:50%;transform:translate(-50%);box-shadow:0 8px 32px #0009}.level-toast.visible{opacity:1;animation:.3s cubic-bezier(.175,.885,.32,1.275) toastPop}.level-toast-eyebrow{color:#4caf50;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.35rem;font-size:.85rem}#levelToastLevel{color:#ffd666;text-transform:uppercase;letter-spacing:.08em;margin:0 0 .5rem;font-size:1.1rem}@keyframes slideDownFade{0%{opacity:0;transform:translate(-50%,-20px)}to{opacity:1;transform:translate(-50%)}}@keyframes toastPop{0%{opacity:0;transform:translate(-50%)scale(.8)}to{opacity:1;transform:translate(-50%)scale(1)}}body.hudes-mobile .level-modal{top:calc(env(safe-area-inset-top,0) + 16px);justify-content:center;align-items:flex-start;width:100%;padding:0 1rem;bottom:auto}body.hudes-mobile .level-modal.visible{display:flex}body.hudes-mobile .level-modal .level-modal-content{width:min(100%,420px)}body.hudes-mobile .level-toast{padding:.5rem 1rem;font-size:.85rem;top:100px}.level-close-btn{cursor:pointer;color:#fff9;font-size:1.5rem;line-height:1;transition:color .2s;position:absolute;top:10px;right:14px}.level-close-btn:hover{color:#fff}.level-eyebrow{color:#4caf50;letter-spacing:.2em;text-transform:uppercase;margin-bottom:.25rem;font-size:.75rem;font-weight:700}.level-modal-content{padding-top:1.5rem;position:relative}.results-metrics-row{background:#ffffff0d;border-radius:8px;justify-content:center;align-items:center;gap:1rem;margin:1rem 0;padding:.8rem;display:flex}.metric-item{flex-direction:column;align-items:center;gap:.2rem;display:flex}.metric-item span{text-transform:uppercase;letter-spacing:.05em;color:#fff9;font-size:.75rem}.metric-item strong{color:#fff;font-family:Roboto Mono,monospace;font-size:1.1rem}.metric-sep{background:#fff3;width:1px;height:24px}.share-actions{justify-content:center;gap:.8rem;margin:1rem 0;display:flex}.share-btn{cursor:pointer;border:none;border-radius:6px;outline:none;justify-content:center;align-items:center;padding:.5rem 1rem;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}.x-btn{color:#fff;background:#000;border:1px solid #fff3}.x-btn:hover{background:#111;border-color:#fff6;transform:translateY(-1px)}.copy-btn{color:#fff;background:#ffffff1a;border:1px solid #ffffff1a}.copy-btn:hover{background:#fff3;transform:translateY(-1px)}
