:root{--accent-green: #86efac;--text-muted: rgba(248, 250, 252, .72);color:#f8fafc;background:#0d1017;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 18% 12%,rgba(250,204,21,.18),transparent 18rem),radial-gradient(circle at 88% 18%,rgba(103,232,249,.18),transparent 20rem),linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(135deg,#101015,#152f24 48%,#3a1435);background-size:auto,auto,32px 32px,32px 32px,auto}button,input,textarea,select{font:inherit}button{border:0}button:disabled{cursor:not-allowed;opacity:.5}.app-shell{min-height:100vh;display:grid;place-items:center;padding:clamp(16px,4vw,40px)}.start-card,.recovery-card,.info-card,.hud-placeholder{width:min(980px,100%);border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#0d1017e6;box-shadow:0 0 0 3px #ffd34d14,0 28px 90px #0000005c;padding:clamp(20px,4vw,40px)}.start-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);gap:clamp(24px,4vw,48px);align-items:start}.start-copy{display:grid;gap:16px}.start-link-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:2px}.start-form{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.45fr);gap:14px}.field-stack{display:grid;gap:8px;color:#f8fafcd1;font-size:.9rem;font-weight:800}.eyebrow{margin:0 0 10px;color:#4ade80;font-size:.8rem;font-weight:800;letter-spacing:0;text-transform:uppercase}h1{margin:0;font-size:4.5rem;line-height:1}.lead{margin:16px 0 0;color:#f8fafcc2;font-size:1.1rem;max-width:34rem}.tagline{margin:-4px 0 0;color:#fde68a;font-size:1.45rem;font-weight:950;text-transform:uppercase}.start-rules,.start-controls,.privacy-promise,.soundtrack-select{display:grid;gap:10px;border-top:1px solid rgba(255,255,255,.12);padding-top:14px}.start-rules h2,.start-controls h2,.privacy-promise h2,.soundtrack-select h2{margin:0;color:#a5f3fc;font-size:1rem}.privacy-promise{border-left:3px solid rgba(74,222,128,.7);padding-left:14px}.privacy-promise p{margin:0;color:#f8fafcc2;font-size:.92rem;font-weight:720;line-height:1.5}.privacy-badge{color:#bbf7d0;font-size:.78rem;font-weight:950;text-transform:uppercase}.start-rules ol{display:grid;gap:8px;margin:0;padding-left:20px;color:#f8fafcc2;font-weight:750}.start-controls dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.start-controls div{display:grid;gap:2px;border-left:2px solid rgba(250,204,21,.46);padding-left:10px}.start-controls dt{color:#fde68a;font-weight:950}.start-controls dd{margin:0;color:#f8fafcb8;font-size:.84rem;font-weight:800}.soundtrack-options{display:grid;gap:8px}.soundtrack-option{display:grid;gap:4px;border:1px solid rgba(148,163,184,.34);border-radius:6px;background:#05080e70;color:#f8fafc;padding:10px;text-align:left;cursor:pointer;line-height:1.25}.soundtrack-option:hover,.soundtrack-option:focus-visible,.soundtrack-option.is-active{border-color:#facc15b8;background:#facc151a}.soundtrack-option span{color:#f8fafcad;font-size:.84rem;font-weight:800;overflow-wrap:anywhere}.soundtrack-option strong{overflow-wrap:anywhere}.soundtrack-mode-copy{display:grid;gap:4px;color:var(--text-muted);font-size:.9rem;line-height:1.45;margin:0}.soundtrack-mode-copy strong,.soundtrack-lock-label{color:#fde68a;font-size:.75rem;font-weight:950;letter-spacing:0;text-transform:uppercase}.soundtrack-lock-label{margin:0}.soundtrack-preview{width:100%}input,textarea,select{width:100%;border:1px solid rgba(148,163,184,.36);border-radius:6px;background:#05080eb8;color:#f8fafc;outline:none}input,select{min-height:44px;padding:0 12px}textarea{min-height:184px;padding:12px;resize:vertical;line-height:1.45}input:focus,textarea:focus{border-color:#facc15;box-shadow:0 0 0 3px #facc152e}.import-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;border:0}.import-mode legend{grid-column:1 / -1;margin-bottom:8px;color:#f8fafcd1;font-size:.9rem;font-weight:800}.mode-option{display:flex;align-items:center;min-height:48px;gap:8px;border:1px solid rgba(148,163,184,.34);border-radius:6px;padding:10px;color:#f8fafcd1;font-weight:800;cursor:pointer}.mode-option input{width:16px;min-height:16px;accent-color:#facc15}.mode-option svg,button svg{width:1rem;height:1rem;flex:0 0 auto}.mode-option.is-active{border-color:#facc15;background:#facc151a;color:#fff7c2}.import-summary{min-height:86px;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);padding:12px 0}.summary-count{margin:0;color:#facc15;font-size:1.05rem;font-weight:900}.summary-note,.issue-list{color:#f8fafcb8}.summary-note{margin:6px 0 0}.issue-list{margin:10px 0 0;padding-left:20px}.issue-list li+li{margin-top:4px}.form-error{margin:0;color:#fca5a5;font-weight:800}.autosave-warning{margin:20px 0 0;border:1px solid rgba(251,191,36,.42);border-radius:6px;background:#fbbf241a;color:#fde68a;padding:12px;font-weight:800}.button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.primary-button,.secondary-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;gap:8px;border-radius:6px;padding:0 16px;color:#0d1017;font-weight:900;cursor:pointer}.primary-button{background:#facc15}.secondary-button{background:#67e8f9}.danger-button{background:#fb7185}.primary-button:disabled{cursor:not-allowed;opacity:.46}.secondary-button:disabled{cursor:not-allowed;opacity:.46}.start-button{width:100%}.start-transfer-panel{display:grid;gap:8px}.start-transfer-button{width:100%}.recovery-card,.info-card,.hud-placeholder{width:min(760px,100%)}.info-shell{align-items:start;place-items:start center}.info-card{display:grid;gap:28px}.info-header{display:grid;gap:12px}.info-command-row{display:flex;flex-wrap:wrap;gap:10px}.info-back-button{justify-self:start;margin-bottom:6px}.info-section-grid{display:grid;gap:22px}.info-section{display:grid;gap:10px;border-top:1px solid rgba(255,255,255,.12);padding-top:18px}.info-section h2{margin:0;color:#a5f3fc;font-size:1.08rem}.info-section p,.info-section ul{margin:0;color:#f8fafcc7;font-size:.98rem;font-weight:720;line-height:1.65}.info-section ul{display:grid;gap:8px;padding-left:20px}.tune-lab-shell{align-items:start;place-items:start center}.tune-lab{width:min(1180px,100%);display:grid;gap:18px}.tune-lab-header,.tune-panel{border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#0d1017e6;box-shadow:0 0 0 3px #67e8f90f;padding:clamp(18px,3vw,28px)}.tune-lab-header{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(220px,.4fr);gap:18px;align-items:start}.tune-lab-header h1{font-size:clamp(2.4rem,6vw,4.4rem)}.tune-lab-status{display:flex;align-items:center;gap:10px;border-left:3px solid rgba(250,204,21,.7);background:#facc1517;color:#fde68a;padding:12px;font-weight:950;min-height:58px}.soundcheck-slider{display:grid;gap:8px;color:#f8fafcc7;font-weight:900}.soundcheck-layer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.soundcheck-layer-card{display:grid;gap:8px;border:1px solid rgba(103,232,249,.22);border-radius:8px;background:#05080e85;padding:12px}.soundcheck-layer-card.is-solo{border-color:#facc15d9;box-shadow:0 0 22px #facc152e}.soundcheck-layer-card.is-muted{opacity:.52}.soundcheck-layer-actions{display:flex;flex-wrap:wrap;gap:8px}.soundcheck-meter{height:12px;border-radius:999px;background:#ffffff1f;overflow:hidden}.soundcheck-meter span{display:block;height:100%;background:linear-gradient(90deg,#4ade80,#facc15,#fb7185)}.soundcheck-telemetry{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:0}.soundcheck-telemetry div,.soundcheck-tone-list{border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff0d;padding:10px}.soundcheck-telemetry dt{color:#f8fafc9e;font-size:.72rem;font-weight:950;text-transform:uppercase}.soundcheck-telemetry dd{margin:4px 0 0;color:#e0f2fe;font-size:1.05rem;font-weight:950}.soundcheck-tone-list{display:flex;flex-wrap:wrap;gap:8px}.soundcheck-tone-list span{border-radius:999px;background:#67e8f91f;color:#cffafe;padding:6px 9px;font-size:.78rem;font-weight:900}.tune-panel{display:grid;gap:16px}.tune-panel h2{margin:0;color:#a5f3fc;font-size:1.05rem}.tune-panel p{margin:6px 0 0;color:#f8fafcb3;font-weight:750}.tune-panel-title{display:flex;align-items:center;gap:10px}.tune-transport{grid-template-columns:minmax(160px,.3fr) minmax(0,1fr) auto;align-items:center}.tune-button-grid{display:flex;flex-wrap:wrap;gap:10px}.tune-live-toggle{justify-self:end;min-width:220px}.tune-control-grid{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:12px}.motif-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px}.motif-note{display:grid;gap:10px;margin:0;border:1px solid rgba(103,232,249,.22);border-radius:8px;background:#05080e85;padding:12px}.motif-note legend{color:#fde68a;font-weight:950;padding:0 6px}.tune-number-field input{min-width:0}.tune-sliders{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px}.tune-slider{display:grid;gap:8px;color:#f8fafccc;font-size:.85rem;font-weight:850}.tune-slider input{accent-color:#facc15}.tune-json textarea{min-height:112px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem}.recovery-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.recovery-meta span{border:1px solid rgba(255,255,255,.15);border-radius:6px;padding:8px 10px;color:#f8fafcd6;background:#ffffff0f;font-weight:800}.capture-hud{--left-rail-width: 280px;--right-rail-width: 320px;height:100vh;min-height:100vh;overflow:clip;padding:18px calc(var(--right-rail-width) + 18px) 18px calc(var(--left-rail-width) + 18px);color:#f8fafc}.capture-hud:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px);background-size:100% 4px;mix-blend-mode:soft-light;opacity:.22;z-index:4}.hud-content{display:contents}.capture-hud.is-paused .hud-rail,.capture-hud.is-paused .capture-lane{filter:blur(8px);pointer-events:none;-webkit-user-select:none;user-select:none}.capture-hud.is-screen-shaking .hud-rail,.capture-hud.is-screen-shaking .capture-lane{animation-duration:.25s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.18,.85,.32,1);will-change:transform}.capture-hud.screen-shake-a .hud-rail,.capture-hud.screen-shake-a .capture-lane{animation-name:screen-shake-a}.capture-hud.screen-shake-b .hud-rail,.capture-hud.screen-shake-b .capture-lane{animation-name:screen-shake-b}@keyframes screen-shake-a{0%,to{transform:translateZ(0)}12%{transform:translate3d(-6px,1px,0)}28%{transform:translate3d(7px,-2px,0)}46%{transform:translate3d(-5px,2px,0)}64%{transform:translate3d(4px,-1px,0)}82%{transform:translate3d(-2px,1px,0)}}@keyframes screen-shake-b{0%,to{transform:translateZ(0)}12%{transform:translate3d(6px,-1px,0)}28%{transform:translate3d(-7px,2px,0)}46%{transform:translate3d(5px,-2px,0)}64%{transform:translate3d(-4px,1px,0)}82%{transform:translate3d(2px,-1px,0)}}.hud-rail{position:fixed;top:0;bottom:0;z-index:2;display:flex;flex-direction:column;gap:18px;overflow-y:auto;padding:18px;background:linear-gradient(180deg,#060a12f7,#0d1017f0),linear-gradient(135deg,#4ade802e,#67e8f91a,#fb718524);box-shadow:0 0 34px #0000005c}.stats-rail{left:0;width:var(--left-rail-width);border-right:1px solid rgba(103,232,249,.32)}.recent-rail{right:0;width:var(--right-rail-width);border-left:1px solid rgba(250,204,21,.32)}.capture-lane{position:relative;z-index:1;display:flex;flex-direction:column;height:calc(100vh - 36px);min-height:0;overflow:clip;padding:8px clamp(14px,3vw,36px) 28px}.capture-header{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-bottom:18px;border-bottom:1px solid rgba(103,232,249,.24);padding-bottom:16px}.capture-header h1,.rail-header h2{margin:0;line-height:1}.capture-header h1{font-size:3.6rem;max-width:720px;overflow-wrap:anywhere}.rail-header{display:grid;gap:8px}.recent-header{grid-template-columns:minmax(0,1fr) auto;align-items:start}.rail-header h2{font-size:1.35rem}.rail-header p{margin:0;color:#f8fafcb8;font-weight:800}.hud-command-row,.recent-actions{display:flex;align-items:center;gap:10px}.hud-command-row{flex-wrap:wrap;justify-content:end}.live-score-chip{display:flex;align-items:baseline;gap:10px;border:1px solid rgba(250,204,21,.58);border-radius:999px;background:#facc1524;box-shadow:0 0 24px #facc1533;padding:8px 14px}.live-score-chip span{color:#fff7ccbd;font-size:.68rem;font-weight:900;text-transform:uppercase}.live-score-chip strong{color:#86efac;font-size:1.1rem;font-weight:950;text-shadow:0 0 12px rgba(134,239,172,.55)}.cockpit-soundtrack-control{display:grid;gap:8px;min-width:min(100%,430px);border:1px solid rgba(103,232,249,.34);border-radius:8px;background:#05080e85;box-shadow:0 0 24px #67e8f924;padding:9px 10px}.cockpit-soundtrack-status{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.cockpit-soundtrack-status span,.cockpit-lock-label,.cockpit-adaptive-toggle{color:#fff7ccc2;font-size:.68rem;font-weight:900;line-height:1.2;text-transform:uppercase}.cockpit-soundtrack-status strong{color:var(--accent-green);font-size:1.05rem;font-weight:950;overflow-wrap:anywhere;text-shadow:0 0 12px rgba(134,239,172,.48)}.cockpit-adaptive-toggle{display:inline-flex;align-items:center;gap:8px;width:fit-content;cursor:pointer}.cockpit-toggle-row{display:flex;flex-wrap:wrap;gap:10px 14px}.cockpit-adaptive-toggle input{width:auto;accent-color:var(--accent-green)}.cockpit-track-picker{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.cockpit-lock-label{margin-right:2px}.cockpit-track-button{min-height:28px;border:1px solid rgba(103,232,249,.3);border-radius:6px;background:#67e8f91a;color:#f8fafc;padding:0 9px;font-size:.72rem;font-weight:950;line-height:1;cursor:pointer}.cockpit-track-button:hover,.cockpit-track-button:focus-visible,.cockpit-track-button.is-active{border-color:#facc15c7;background:#facc1524;color:#fff7cc}.cockpit-track-button:disabled,.cockpit-adaptive-toggle input:disabled+span{cursor:not-allowed;opacity:.58}.rail-action{min-height:38px;padding:0 12px}.capture-search-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;flex:0 0 auto;align-items:stretch;margin-bottom:16px;border:1px solid rgba(103,232,249,.22);border-radius:8px;background:#05080eb8;padding:14px}.capture-results-panel{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:4px;scrollbar-gutter:stable}.search-field{position:relative;display:grid;gap:8px;color:#f8fafcd1;font-weight:900}.search-field svg{position:absolute;right:12px;bottom:13px;width:1rem;height:1rem;color:#67e8f9}.search-field input{padding-right:38px}.toggle-control{display:inline-flex;align-items:center;min-height:44px;gap:8px;color:#f8fafcd6;font-weight:900;white-space:normal}.toggle-control input{width:18px;min-height:18px;accent-color:#4ade80}.match-count{margin:0;color:#fde68a;font-weight:900;white-space:normal}.student-list,.recent-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.student-row{display:grid;grid-template-columns:minmax(210px,1fr) minmax(150px,.45fr) 44px 44px;align-items:center;gap:10px;min-height:76px;border:1px solid rgba(148,163,184,.22);border-radius:8px;background:linear-gradient(90deg,rgba(74,222,128,.12),transparent 36%),#0d1017db;padding:12px}.student-row.is-active{border-color:#facc15c2;box-shadow:inset 0 0 0 1px #facc1542,0 0 28px #facc151f}.student-row-id{display:grid;gap:4px}.student-row-id strong{color:#f8fafc;font-size:1.8rem;line-height:1}.student-row-id mark{border-radius:4px;background:#facc1547;color:#fff7c2;padding:0 2px}.student-row-label{color:#67e8f9;font-size:.76rem;font-weight:900;text-transform:uppercase}.mark-entry{display:grid;gap:4px}.mark-entry span,.recent-edit-form label span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.mark-entry input{min-height:46px;text-align:center;font-size:1.15rem;font-weight:900}.row-error,.edit-error{margin:4px 0 0;color:#fca5a5;font-size:.78rem;font-weight:900}.icon-button{display:inline-grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.16);border-radius:6px;background:#67e8f924;color:#f8fafc;cursor:pointer}.icon-button:hover:not(:disabled),.icon-button:focus-visible{border-color:#67e8f9b8;background:#67e8f93d}.absent-button{background:#fb71852e}.capture-enter-button{background:#4ade802e}.feedback-burst{position:fixed;top:96px;left:50%;z-index:4;min-width:min(320px,calc(100vw - 32px));border:1px solid rgba(255,255,255,.22);border-radius:8px;padding:16px 22px;text-align:center;transform:translate(-50%);animation:burst-pop .9s ease-out both;box-shadow:0 18px 60px #0000005c;pointer-events:none}.feedback-burst strong{display:block;font-size:2rem;line-height:1;text-transform:uppercase}.feedback-burst span{color:#ffffffc7;font-weight:900}.feedback-fail{background:#7f1d1deb;color:#fecaca}.feedback-pass{background:#14532deb;color:#bbf7d0}.feedback-distinction{background:#713f12f2;color:#fef3c7}.feedback-absent,.feedback-not-captured{background:#334155f0;color:#e2e8f0}@keyframes burst-pop{0%{opacity:0;transform:translate(-50%) translateY(-10px) scale(.92)}18%{opacity:1;transform:translate(-50%) translateY(0) scale(1.04)}to{opacity:0;transform:translate(-50%) translateY(-6px) scale(1)}}.primary-stat-grid,.compact-stat-list{display:grid;gap:10px}.primary-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-stat-list{grid-template-columns:1fr}.stat-metric{min-height:76px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#05080e94;padding:10px}.stat-metric dt{color:#f8fafcad;font-size:.75rem;font-weight:900;text-transform:uppercase}.stat-metric dd{margin:6px 0 0;color:#f8fafc;font-size:1.25rem;font-weight:950;line-height:1.05;overflow-wrap:anywhere}.accent-green dd{color:#86efac}.accent-yellow dd{color:#fde68a}.accent-cyan dd{color:#a5f3fc}.accent-pink dd{color:#fda4af}.rail-section{display:grid;gap:10px}.class-analytics{border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:14px}.class-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rail-section h3{display:inline-flex;align-items:center;gap:8px;margin:0;color:#f8fafcdb;font-size:.95rem}.rail-status{display:flex;align-items:center;justify-content:space-between;margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding-top:12px;color:#f8fafcb8;font-size:.82rem;font-weight:900}.recent-list{counter-reset:recent}.recent-search-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:10px 0 12px}.recent-search-field{min-height:42px}.recent-search-count{grid-column:1 / -1;margin:0;color:#e2e8f0b8;font-size:.78rem;font-weight:800}.recent-item{display:grid;gap:10px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#05080e9e;padding:12px}.recent-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center}.recent-main strong{font-size:1.15rem}.recent-main>span:not(.result-pill){color:#fde68a;font-weight:900}.result-pill{grid-column:1 / -1;justify-self:start;border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:4px 8px;color:#f8fafcd1;font-size:.75rem;font-weight:900}.recent-edit-form{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px}.recent-edit-form .edit-error{grid-column:1 / -1}.recent-edit-form label{display:block}.recent-edit-form input{min-height:44px}.empty-state,.capture-empty{margin:0;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#05080e8f;color:#f8fafcb8;padding:16px;font-weight:800}.game-menu-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;display:grid;place-items:center;background:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),#05080ec7;background-size:100% 4px,auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:24px}.game-menu-panel{width:min(760px,calc(100vw - 40px));max-height:calc(100vh - 48px);overflow-y:auto;border:2px solid rgba(250,204,21,.58);border-radius:8px;background:radial-gradient(circle at 50% 0%,rgba(250,204,21,.18),transparent 18rem),linear-gradient(135deg,#facc1524,#67e8f91a,#fb71851f),#0d1017;box-shadow:0 28px 90px #00000075,0 0 28px #facc1529;padding:28px;text-align:center}.game-menu-panel h2{margin:0 0 16px;color:#fff7cc;font-size:4rem;line-height:1;text-transform:uppercase}.slayer-score-card{margin-bottom:14px;border:1px solid rgba(134,239,172,.42);border-radius:8px;background:#86efac1a;padding:18px}.slayer-score-card span{display:block;color:#fff7ccb8;font-size:.78rem;font-weight:900;text-transform:uppercase}.slayer-score-card strong{display:block;margin-top:4px;color:#86efac;font-size:3.4rem;line-height:1;text-shadow:0 0 18px rgba(134,239,172,.42)}.game-menu-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:18px}.menu-stat{border:1px solid rgba(103,232,249,.32);border-radius:8px;background:#67e8f917;padding:10px}.menu-stat strong{display:block;color:#fff7cc;font-size:1.25rem;overflow-wrap:anywhere}.menu-stat span{color:#f8fafcad;font-size:.68rem;font-weight:900;text-transform:uppercase}.menu-soundtracks{display:grid;gap:10px;margin-bottom:18px}.menu-soundtracks h3{margin:0;color:#a5f3fc;font-size:1rem}.menu-track-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.menu-track-button{display:inline-flex;align-items:center;justify-content:center;flex:1 1 132px;min-height:38px;border:1px solid rgba(103,232,249,.28);border-radius:6px;background:#67e8f91a;color:#f8fafc;padding:0 12px;font-weight:900;line-height:1.15;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.menu-adaptive-toggle{justify-content:flex-start;margin-bottom:.75rem}.menu-track-button:hover,.menu-track-button:focus-visible,.menu-track-button.is-active{border-color:#facc15b8;background:#facc1524}.menu-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.qr-transfer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:6;display:grid;place-items:center;padding:24px;background:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),#05080ed1;background-size:100% 4px,auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.qr-transfer-modal{width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow-y:auto;display:grid;gap:14px;border:2px solid rgba(103,232,249,.54);border-radius:8px;background:radial-gradient(circle at top,rgba(103,232,249,.16),transparent 18rem),#0d1017;box-shadow:0 28px 90px #00000080,0 0 28px #67e8f924;padding:24px;color:#eafcff;text-align:center}.qr-transfer-modal h2,.qr-transfer-modal p{margin:0}.privacy-warning{border:1px solid rgba(250,204,21,.34);border-radius:8px;background:#facc151a;padding:10px;color:#fff7c2;font-weight:800}.qr-transfer-canvas-shell{justify-self:center;border:8px solid #eafcff;border-radius:8px;background:#fff;padding:8px}.qr-transfer-canvas-shell canvas{display:block;width:min(320px,70vw);height:min(320px,70vw)}.qr-transfer-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.restart-confirm-panel{display:grid;gap:10px;margin-top:18px;border:1px solid rgba(251,113,133,.48);border-radius:8px;background:#fb71851f;padding:14px;text-align:left}.restart-confirm-panel h3,.restart-confirm-panel p{margin:0}.restart-confirm-panel h3{color:#fecdd3;font-size:1rem;text-transform:uppercase}.restart-confirm-panel p{color:#f8fafcc7;font-weight:800}.restart-confirm-actions{justify-content:center;margin-top:2px}@media(max-width:1180px){.motif-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}.tune-sliders{grid-template-columns:repeat(3,minmax(150px,1fr))}.capture-hud{--left-rail-width: 240px;--right-rail-width: 280px}.capture-header{align-items:start;flex-direction:column}.hud-command-row{justify-content:start}.student-row{grid-template-columns:minmax(0,1fr) minmax(116px,.42fr) 44px 44px}.student-row-id strong{font-size:1.45rem}}@media(max-width:900px){.tune-lab-header,.tune-transport{grid-template-columns:1fr}.tune-live-toggle{justify-self:stretch}.tune-control-grid,.motif-grid,.tune-sliders{grid-template-columns:repeat(2,minmax(0,1fr))}.capture-hud{height:auto;overflow:visible;padding:12px}.hud-content{display:grid;gap:12px}.hud-rail,.capture-lane{position:static;width:auto;height:auto;max-height:none;overflow:visible}.hud-rail{border:1px solid rgba(103,232,249,.22);border-radius:8px}.capture-lane{order:1;display:block;min-height:58vh;padding:0}.capture-results-panel{max-height:min(62vh,720px)}.stats-rail{order:2}.recent-rail{order:3}.capture-header h1{font-size:2.6rem}.student-row{grid-template-columns:minmax(0,1fr) 88px 44px 44px;min-height:68px}}@media(prefers-reduced-motion:reduce){.capture-hud.is-screen-shaking .hud-rail,.capture-hud.is-screen-shaking .capture-lane{animation:none;transform:none;will-change:auto}}@media(max-width:760px){.start-layout,.form-grid,.import-mode,.tune-control-grid,.motif-grid,.tune-sliders{grid-template-columns:1fr}h1,.game-menu-panel h2{font-size:3rem}.game-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.capture-header h1{font-size:2.2rem}.hud-command-row,.menu-actions{align-items:stretch;flex-direction:column;width:100%}.hud-command-row .primary-button,.hud-command-row .secondary-button,.hud-command-row .danger-button,.menu-actions .primary-button,.menu-actions .secondary-button,.menu-actions .danger-button,.restart-confirm-actions .primary-button,.restart-confirm-actions .secondary-button,.restart-confirm-actions .danger-button{width:100%}.student-row{grid-template-columns:1fr}.icon-button{width:100%}.class-analytics-grid,.primary-stat-grid,.start-controls dl,.game-menu-grid{grid-template-columns:1fr}}.mobile-cockpit{min-height:100svh;display:flex;flex-direction:column;gap:.3rem;padding:.45rem;background:radial-gradient(circle at top,rgba(48,231,255,.18),transparent 34%),linear-gradient(160deg,#06131d,#12091f 54%,#211005);color:#eafcff}.mobile-start{min-height:100svh;padding:1rem;display:flex;flex-direction:column;gap:1rem;background:radial-gradient(circle at top,rgba(249,217,74,.16),transparent 34%),linear-gradient(160deg,#06131d,#12091f 54%,#211005);color:#eafcff}.mobile-start-hero h1{margin:0;color:#fff;font-size:clamp(2.2rem,13vw,4rem);line-height:.95}.mobile-stage-list,.mobile-real-form,.mobile-saved-mission,.mobile-discard-confirm{display:grid;gap:.75rem}.mobile-stage-card,.mobile-real-mission,.mobile-real-form,.mobile-saved-mission,.mobile-privacy-note{border:1px solid rgba(48,231,255,.35);border-radius:14px;background:#ffffff14;color:inherit;padding:.9rem}.mobile-stage-card{text-align:left;display:grid;gap:.25rem}.mobile-stage-card strong,.mobile-real-mission h2,.mobile-saved-mission h2{color:#f9d94a}.mobile-stage-card em,.mobile-real-mission p,.mobile-saved-mission p,.mobile-discard-confirm p{color:#d7e8ee;font-style:normal}.mobile-stage-card small{display:inline-flex;align-items:center;gap:.25rem;color:#70ff8d;font-weight:800}.mobile-real-mission{display:grid;gap:.8rem}.mobile-saved-mission{border-color:#70ff8d73;box-shadow:0 0 22px #70ff8d1a}.mobile-discard-confirm{padding-top:.2rem}.mobile-real-button{width:100%;min-height:52px;border:0;border-radius:12px;font-weight:900}.mobile-secondary-button{border:1px solid rgba(103,232,249,.45);background:#67e8f91f;color:#eafcff}.mobile-danger-button{background:linear-gradient(135deg,#ff4f7b,#ff9d4a);color:#13030a}.mobile-privacy-note{display:flex;align-items:center;gap:.5rem}.mobile-qr-panel{min-height:100svh;display:grid;gap:.85rem;align-content:start;padding:1rem;background:radial-gradient(circle at top,rgba(103,232,249,.16),transparent 34%),linear-gradient(160deg,#06131d,#12091f 54%,#211005);color:#eafcff}.mobile-qr-panel h2,.mobile-qr-panel p{margin:0}.mobile-instructions{min-height:100svh;display:grid;gap:1rem;align-content:start;padding:1rem;background:radial-gradient(circle at top,rgba(249,217,74,.14),transparent 34%),linear-gradient(160deg,#06131d,#12091f 54%,#211005);color:#eafcff}.mobile-instructions h1,.mobile-instructions h2,.mobile-instructions p{margin:0}.mobile-instructions section{display:grid;gap:.35rem;border:1px solid rgba(103,232,249,.28);border-radius:12px;background:#ffffff14;padding:.9rem}.mobile-instructions h2{color:#f9d94a}.mobile-camera-frame{width:100%;min-height:220px;border:1px solid rgba(103,232,249,.42);border-radius:12px;background:#05080eb8;object-fit:cover}.mobile-topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:.45rem;align-items:center}.mobile-topbar h1{margin:0;font-size:.95rem;line-height:1.05}.mobile-title-stack{min-width:0}.mobile-title-stack .eyebrow{margin:0 0 .1rem;font-size:.58rem}.mobile-score-chip{min-width:76px;border:1px solid rgba(249,217,74,.45);border-radius:10px;background:#f9d94a1f;color:#fff4a8;padding:.28rem .4rem;text-align:center}.mobile-score-chip span{display:block;color:#f9d94a;font-size:.52rem;font-weight:900;text-transform:uppercase}.mobile-score-chip strong{color:#fff;font-size:1rem;line-height:1}.mobile-icon-button,.mobile-control-strip button,.mobile-keypad button,.mobile-match-button{min-height:40px;border:1px solid rgba(48,231,255,.45);border-radius:10px;background:#ffffff14;color:inherit;font-weight:800}.mobile-run-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}.mobile-run-stats span{min-width:0;border:1px solid rgba(48,231,255,.28);border-radius:9px;background:#ffffff12;color:#dffbff;padding:.26rem .32rem;font-size:.66rem;font-weight:900;text-align:center;text-transform:uppercase}.mobile-sprint-timer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid rgba(255,215,64,.45);border-radius:10px;background:#ffd7401f;color:#ffe66d}.mobile-sprint-timer span{font-size:.7rem;font-weight:900;text-transform:uppercase}.mobile-sprint-timer strong{font-size:1.25rem;font-variant-numeric:tabular-nums}.mobile-control-strip{display:grid;gap:.5rem;align-items:center}.mobile-control-strip{grid-template-columns:repeat(4,1fr)}.mobile-pause-button{display:grid;grid-template-columns:auto;justify-items:center;min-width:54px;padding-inline:.3rem}.mobile-pause-button svg{width:18px;height:18px}.mobile-pause-button span{font-size:.58rem;line-height:1}.mobile-target-card,.mobile-display-panel,.mobile-match-panel{border:1px solid rgba(48,231,255,.35);border-radius:14px;background:#050814bd;padding:.52rem}.mobile-target-card span,.mobile-display-panel span,.mobile-locked-student span{display:block;color:#99f6ff;font-size:.72rem;text-transform:uppercase}.mobile-target-card strong{display:block;color:#fff;font-size:clamp(1.55rem,10vw,2.4rem);line-height:1}.mobile-target-card em{color:#70ff8d;font-style:normal}.mobile-display-panel{display:grid;gap:.45rem}.mobile-display-input{width:100%;border:0;background:transparent;color:#fff;font:inherit;font-size:1.65rem;font-weight:900}.mobile-locked-student{border-top:1px solid rgba(255,255,255,.16);padding-top:.6rem}.mobile-locked-student strong{color:#70ff8d}.mobile-match-panel{display:grid;gap:.35rem;overflow-y:auto;min-height:0}.mobile-match-button{text-align:left;padding-inline:.8rem}.mobile-capture-error{margin:0;border:1px solid rgba(255,92,92,.55);border-radius:9px;background:#ff5c5c29;color:#ffdada;padding:.35rem .5rem;font-size:.72rem;font-weight:900;text-align:center;text-transform:uppercase}.mobile-correction-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem}.mobile-correction-strip button,.mobile-review-sheet button,.mobile-edit-keypad button{min-height:40px;border:1px solid rgba(48,231,255,.45);border-radius:10px;font-weight:900}.mobile-correction-strip button{background:#f9d94a29;color:#fff4a8}.mobile-keypad{margin-top:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:.34rem}.mobile-keypad button{min-height:34px;background:#30e7ff;color:#06131d;font-size:1rem}.mobile-keypad .mobile-capture-button,.mobile-real-button{background:#70ff8d;color:#06131d}.mobile-cockpit.is-paused>:not(.mobile-pause-overlay):not(.mobile-review-sheet){filter:blur(5px);pointer-events:none}.mobile-pause-overlay,.mobile-certificate{position:fixed;top:1rem;right:1rem;bottom:1rem;left:1rem;z-index:20;display:grid;place-content:center;gap:1rem;overflow:auto;padding:1rem;border:2px solid rgba(249,217,74,.8);border-radius:18px;background:#050814eb;color:#eafcff;text-align:center}.mobile-pause-overlay h2,.mobile-certificate h2{margin:0;color:#f9d94a;font-size:clamp(2.1rem,13vw,4.5rem)}.mobile-pause-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:0}.mobile-pause-stats div{border:1px solid rgba(48,231,255,.35);border-radius:12px;background:#ffffff14;padding:.65rem}.mobile-pause-stats dt{color:#99f6ff;font-size:.65rem;font-weight:900;text-transform:uppercase}.mobile-pause-stats dd{margin:.15rem 0 0;color:#fff;font-size:1.5rem;font-weight:900}.mobile-pause-controls{width:min(100%,340px)}.mobile-soundtrack-panel{width:min(100%,340px);display:grid;gap:.65rem;border:1px solid rgba(48,231,255,.35);border-radius:14px;background:#ffffff14;padding:.8rem}.mobile-soundtrack-toggle{display:flex;justify-content:center;align-items:center;gap:.45rem;color:#f9d94a;font-weight:900}.mobile-track-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.mobile-track-grid button{min-height:40px;border:1px solid rgba(48,231,255,.45);border-radius:10px;background:#050814b8;color:#eafcff;font-weight:900}.mobile-track-grid button[aria-pressed=true]{border-color:#70ff8dd9;background:#70ff8d2e;color:#70ff8d}.mobile-certificate strong{color:#70ff8d;font-size:clamp(2.4rem,16vw,5rem)}.mobile-certificate dl{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.mobile-review-sheet{position:fixed;inset:auto 0 0;z-index:30;max-height:88svh;display:grid;gap:.75rem;overflow:auto;border-top:2px solid rgba(249,217,74,.85);border-radius:18px 18px 0 0;background:#050814fa;color:#eafcff;padding:1rem;box-shadow:0 -18px 48px #00000073}.mobile-review-sheet header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.mobile-review-sheet h2{margin:0;color:#f9d94a}.mobile-review-sheet button{background:#ffffff14;color:inherit}.mobile-review-search{display:grid;gap:.5rem}.mobile-review-search-display{min-height:44px;display:grid;place-items:center;border:1px solid rgba(249,217,74,.45);border-radius:12px;color:#fff;font-size:1.35rem;font-weight:900}.mobile-review-search p{margin:0;color:#99f6ff;font-size:.72rem;font-weight:900;text-transform:uppercase}.mobile-review-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}.mobile-review-keypad button{min-height:40px;background:#30e7ff;color:#06131d}.mobile-review-list,.mobile-edit-panel{display:grid;gap:.5rem}.mobile-review-list button{display:grid;grid-template-columns:1fr auto;gap:.25rem .5rem;text-align:left;padding:.7rem}.mobile-review-list em{grid-column:1 / -1;color:#70ff8d;font-style:normal}.mobile-edit-panel{border:1px solid rgba(103,232,249,.35);border-radius:14px;background:#ffffff14;padding:.75rem}.mobile-edit-panel output{min-height:48px;display:grid;place-items:center;border:1px solid rgba(249,217,74,.45);border-radius:12px;color:#fff;font-size:1.7rem;font-weight:900}.mobile-edit-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:.35rem}.mobile-edit-keypad button{background:#30e7ff;color:#06131d}.mobile-cockpit.is-mobile-shaking{animation:mobile-impact-shake .24s ease-out}@keyframes mobile-impact-shake{0%,to{transform:translateZ(0)}20%{transform:translate3d(-5px,1px,0)}40%{transform:translate3d(5px,-1px,0)}60%{transform:translate3d(-3px,1px,0)}80%{transform:translate3d(3px,0,0)}}@media(prefers-reduced-motion:reduce){.mobile-cockpit.is-mobile-shaking{animation:none}}
