:root{--sg-navy: #1a2744;--sg-navy-deep: #121a2e;--sg-navy-panel: #243556;--sg-cream: #f4efe4;--sg-cream-dim: #d9d2c4;--sg-yellow: #f0c23a;--sg-yellow-hot: #ffd95a;--sg-cyan: #3ec6e0;--sg-coral: #e86a4a;--sg-mint: #5ed39a;--sg-ink: #f7f3ea;--sg-muted: #9aabbf;--sg-line: #3a4d6e;--sg-steel: #8fa0b5;--sg-danger: #e85d4c;--sg-ok: var(--sg-mint);--sg-font: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;--sg-radius: 14px;--sg-radius-sm: 10px;--sg-shadow: 0 8px 0 rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .1);--sg-focus: 0 0 0 3px rgba(62, 198, 224, .55);--sg-field-x: 5.1724%;--sg-field-y: 5.1724%;--sg-field-w: 89.6552%;--sg-arena-h: 92.3077%;--sg-hud-top: 92.3077%;--sg-hud-h: 7.6923%;--sg-rim-y: 5.1724%;--sg-rim-x: 5.1724%;--sg-hit: 44px}.sg-action-btn:focus-visible,.sg-tank-card:focus-visible,.sg-tank-cta:focus-visible,.sg-tank-tab:focus-visible,.sg-settings-toggle:focus-visible,.sg-settings-step:focus-visible,.sg-settings-preview:focus-visible,.sg-slider-track:focus-visible{outline:none;box-shadow:var(--sg-focus)}@media(prefers-reduced-motion:reduce){.sg-tank-card,.sg-hud-chip,.sg-menu{transition:none!important}}.sg-ui-root{position:fixed;inset:0;z-index:5;pointer-events:none;font-family:var(--sg-font);color:var(--sg-ink)}.sg-ui-root.is-menu-mode{display:flex;align-items:center;justify-content:center;pointer-events:none;background:radial-gradient(ellipse at 50% 18%,rgba(62,198,224,.18),transparent 52%),radial-gradient(ellipse at 80% 90%,rgba(240,194,58,.08),transparent 45%),linear-gradient(180deg,#1a2744,#0e1526)}.sg-ui-root.is-play-mode{background:transparent;pointer-events:none}.sg-menu-host{pointer-events:none;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:2vh 2vw;box-sizing:border-box}.sg-menu-host[hidden]{display:none!important}.sg-menu{pointer-events:auto;width:min(920px,92vw);max-width:960px;height:auto;max-height:90vh;display:flex;flex-direction:column;gap:12px;padding:20px 22px 18px;box-sizing:border-box;background:linear-gradient(180deg,#2a3e60fa,#162238fa),var(--sg-navy-panel);border:3px solid rgba(240,194,58,.45);border-radius:22px;box-shadow:var(--sg-shadow);overflow:auto;position:relative}.sg-menu:before,.sg-menu:after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:var(--sg-steel);box-shadow:inset 0 1px #fff6;opacity:.85;pointer-events:none}.sg-menu:before{top:10px;left:12px}.sg-menu:after{top:10px;right:12px}.sg-menu.is-tank{width:min(960px,94vw);height:auto;min-height:0;max-height:88vh}.sg-title-hero{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0}.sg-menu.is-title{width:min(440px,94vw);height:auto;max-height:94vh;align-items:stretch;gap:10px;padding:18px 18px 14px}.sg-menu.is-title .sg-title-motif{width:min(100%,320px);height:clamp(64px,10vh,96px);margin:4px auto}.sg-menu.is-title .sg-brand{font-size:clamp(30px,4.4vw,48px)}.sg-menu.is-title .sg-title{font-size:clamp(18px,2.2vw,24px)}.sg-menu.is-title .sg-actions{gap:10px}.sg-menu.is-title .sg-action-btn.play-cta{min-height:var(--sg-hit);padding:14px 16px;font-size:clamp(16px,2vw,19px)}.sg-menu.is-title .sg-action-btn[data-action-key=T]{min-height:var(--sg-hit);padding:12px 14px}.sg-menu.is-title .sg-action-btn.utility{min-height:var(--sg-hit);padding:10px 12px;font-size:clamp(13px,1.5vw,15px)}.sg-menu.is-title .sg-controls-tip,.sg-menu.is-title .sg-hint{font-size:12px;opacity:.9}@media(min-width:900px){.sg-menu.is-title{display:grid;grid-template-columns:minmax(280px,1.1fr) minmax(280px,.95fr);grid-template-areas:"hero actions" "tip tip" "hint hint";grid-auto-rows:min-content;width:min(960px,94vw);max-width:1000px;gap:10px 28px;padding:20px 28px 24px;align-items:start;align-content:start;height:auto;min-height:0;max-height:none;overflow:visible}.sg-menu.is-title .sg-title-hero{grid-area:hero;gap:6px;align-self:start;min-height:0}.sg-menu.is-title .sg-actions{grid-area:actions;gap:8px;align-self:start;min-height:0}.sg-menu.is-title .sg-controls-tip{grid-area:tip;justify-self:stretch;margin:0}.sg-menu.is-title .sg-hint{grid-area:hint;margin:0}.sg-menu.is-title .sg-title-motif{width:min(100%,340px);height:clamp(56px,8vh,84px);margin:2px 0 4px}.sg-menu.is-title .sg-brand{text-align:left;font-size:clamp(34px,3.4vw,48px)}.sg-menu.is-title .sg-brand-sub,.sg-menu.is-title .sg-title,.sg-menu.is-title .sg-sub{text-align:left}.sg-menu.is-title .sg-action-btn.play-cta{padding:12px 14px}.sg-menu.is-title .sg-action-btn[data-action-key=T],.sg-menu.is-title .sg-action-btn.utility{padding:10px 12px}}.sg-menu.is-settings{width:min(480px,92vw);height:auto;min-height:0;max-height:94vh;gap:8px;padding:16px 20px 28px;justify-content:flex-start;overflow:hidden;box-sizing:border-box}.sg-menu.is-settings.is-controls-settings{width:min(760px,94vw)}.sg-settings-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sg-settings-tab{min-height:40px;border:2px solid var(--sg-line);border-radius:10px;background:#1c2a43;color:var(--sg-muted);font:inherit;font-weight:800;cursor:pointer}.sg-settings-tab.is-active{border-color:var(--sg-cyan);background:#3ec6e029;color:var(--sg-cream)}.sg-settings-controls-help{color:var(--sg-muted);font-size:12px;line-height:1.35;text-align:center}.sg-control-players{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sg-control-group{min-width:0;padding:10px;border:1px solid var(--sg-line);border-radius:12px;background:#070f1d52}.sg-control-player-title{margin:0 0 6px;color:var(--sg-yellow);font-size:15px;text-align:center}.sg-control-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(86px,.8fr);align-items:center;gap:8px;min-height:36px}.sg-control-label{min-width:0;color:var(--sg-cream);font-size:12px;font-weight:700}.sg-control-key{min-width:0;min-height:30px;padding:5px 8px;border:2px solid var(--sg-line);border-radius:8px;background:#2b4061;color:var(--sg-cyan);font:inherit;font-size:12px;font-weight:900;cursor:pointer}.sg-control-key.is-listening{border-color:var(--sg-yellow);color:var(--sg-yellow);animation:sg-control-listen .8s ease-in-out infinite alternate}@keyframes sg-control-listen{to{box-shadow:0 0 14px #f0c23a73}}@media(max-width:520px){.sg-menu.is-settings.is-controls-settings{overflow-y:auto}.sg-control-players{grid-template-columns:1fr}}.sg-menu.is-settings .sg-title-hero{gap:4px;margin:0;min-height:0}.sg-menu.is-settings .sg-title{margin:0;padding:0;background:none;border:none;box-shadow:none}.sg-menu.is-settings .sg-sub{margin:0 0 2px}.sg-menu.is-settings .sg-actions{margin-top:6px;margin-bottom:0;padding-bottom:0;flex:0 0 auto}.sg-menu.is-settings .sg-action-btn{box-shadow:0 3px #00000047}@media(min-width:521px)and (max-height:760px){.sg-menu.is-settings{max-height:calc(100vh - 16px);gap:6px;padding:12px 18px 16px;overflow-y:auto}.sg-menu.is-settings .sg-settings-panel{gap:6px}.sg-menu.is-settings .sg-settings-row{padding:8px 12px}}.sg-menu.is-settings .sg-hint,.sg-menu.is-settings .sg-controls-tip,.sg-menu.is-settings .sg-body,.sg-menu [hidden],.sg-ui-root [hidden],.sg-menu[hidden],.sg-play-plate[hidden],.sg-pause-banner[hidden],.sg-hud-p2[hidden],.sg-hud-chip[hidden]{display:none!important}.sg-brand{font-size:clamp(28px,4.2vw,44px);font-weight:800;letter-spacing:.04em;line-height:1.05;color:var(--sg-yellow);text-shadow:0 3px 0 rgba(0,0,0,.4);text-align:center}.sg-brand-sub{font-size:clamp(16px,2.4vw,22px);font-weight:800;letter-spacing:.32em;color:var(--sg-cyan);text-align:center}.sg-title{margin:0;font-size:clamp(20px,2.6vw,28px);font-weight:800;letter-spacing:.02em;text-align:center;color:var(--sg-cream)}.sg-menu.is-tank .sg-title{align-self:center;padding:8px 22px;background:linear-gradient(180deg,#334e78,#1e3152);border:2px solid rgba(240,194,58,.55);border-radius:999px;box-shadow:inset 0 1px #ffffff1f}.sg-sub{margin:0;font-size:clamp(13px,1.6vw,16px);line-height:1.4;text-align:center;color:var(--sg-muted);white-space:pre-line}.sg-body{flex:0 1 auto;min-height:0;overflow:auto;font-size:clamp(14px,1.7vw,17px);line-height:1.45;text-align:center;color:var(--sg-cream);white-space:pre-line;padding:12px 14px;background:#00000038;border:2px solid var(--sg-line);border-radius:var(--sg-radius-sm)}.sg-controls-tip{flex:0 0 auto;margin:0;padding:10px 14px;font-size:12px;font-weight:700;line-height:1.45;text-align:center;color:var(--sg-cream-dim);background:#00000047;border:1px solid var(--sg-line);border-radius:12px;white-space:normal;overflow:visible;min-height:0;box-sizing:border-box}.sg-menu.is-tank .sg-body{display:none!important}.sg-actions{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.sg-menu.is-tank .sg-actions{display:none!important}.sg-action-btn{display:flex;align-items:center;gap:12px;width:100%;min-height:var(--sg-hit);cursor:pointer;font:inherit;font-size:clamp(15px,1.8vw,18px);font-weight:800;text-align:left;color:var(--sg-cream);padding:14px 16px;background:linear-gradient(180deg,#334e78,#243556);border:3px solid var(--sg-line);border-radius:16px;box-shadow:0 5px #0000004d,inset 0 1px #ffffff1f;transition:transform .12s ease,border-color .12s ease,background .12s ease,box-shadow .12s ease}.sg-action-btn:hover:not(:disabled){transform:translateY(-2px);border-color:#f0c23aa6;background:linear-gradient(180deg,#3c5c8c,#2a4064)}.sg-action-btn:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px #00000047}.sg-action-btn.primary,.sg-action-btn.play-cta.primary{border-color:#5ed39aa6;background:linear-gradient(180deg,#2f6b55,#1d3a36)}.sg-action-btn.play-cta[data-action-key="2"]{border-color:#3ec6e08c;background:linear-gradient(180deg,#2a5570,#1a3348)}.sg-action-btn.primary:hover:not(:disabled),.sg-action-btn.play-cta:hover:not(:disabled){border-color:var(--sg-yellow-hot)}.sg-action-btn.neutral{border-color:var(--sg-line);background:linear-gradient(180deg,#2c3c58,#1c283e)}.sg-action-btn.utility{opacity:.95}.sg-action-btn.dim,.sg-action-btn:disabled{opacity:.42;cursor:not-allowed;filter:grayscale(.25);box-shadow:0 2px #0003}.sg-action-key{flex:0 0 auto;min-width:28px;padding:4px 8px;border-radius:8px;background:#00000059;border:1px solid rgba(240,194,58,.45);color:var(--sg-yellow);font-size:13px;font-weight:800;text-align:center}.sg-action-label{flex:1 1 auto}.sg-settings-panel{display:flex;flex-direction:column;gap:8px;padding:0;margin:0}.sg-settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#00000038;border:2px solid var(--sg-line);border-radius:12px}.sg-settings-label{font-size:15px;font-weight:800;color:var(--sg-cream)}.sg-settings-toggle{cursor:pointer;font:inherit;font-size:14px;font-weight:800;min-height:var(--sg-hit);padding:10px 16px;border-radius:999px;border:3px solid var(--sg-line);background:#2c4060;color:var(--sg-cream)}.sg-settings-toggle.is-on{border-color:#5ed39ab3;background:#5ed39a38;color:#d8ffe8}.sg-settings-toggle.is-off{border-color:#e86a4aa6;background:#e86a4a33;color:#ffc4b4}.sg-settings-stepper{display:flex;align-items:center;gap:10px;flex:1 1 auto;min-width:0}.sg-settings-step{cursor:pointer;width:var(--sg-hit);height:var(--sg-hit);flex:0 0 var(--sg-hit);border-radius:14px;border:3px solid var(--sg-line);background:linear-gradient(180deg,#3a5378,#2c4060);color:var(--sg-yellow);font:inherit;font-size:24px;font-weight:800;line-height:1;box-shadow:0 3px #00000047}.sg-settings-step:hover{border-color:var(--sg-yellow)}.sg-settings-step:active{transform:translateY(1px);box-shadow:0 1px #00000047}.sg-slider-track{position:relative;flex:1 1 auto;min-width:72px;height:18px;border-radius:999px;border:2px solid var(--sg-line);background:#00000059;cursor:pointer;overflow:hidden}.sg-slider-fill{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--sg-cyan),var(--sg-yellow));box-shadow:inset 0 1px #ffffff40;pointer-events:none}.sg-settings-value{min-width:52px;text-align:center;font-size:16px;font-weight:800;color:var(--sg-cyan)}.sg-settings-note{font-size:12px;font-weight:700;color:var(--sg-muted);text-align:center}.sg-settings-mute-hint{margin:-2px 0 2px;padding:8px 12px;font-size:12px;font-weight:700;line-height:1.35;text-align:center;color:#ffc4b4;background:#e86a4a1f;border:1px solid rgba(232,106,74,.35);border-radius:10px}.sg-settings-preview{cursor:pointer;font:inherit;font-size:14px;font-weight:800;min-height:var(--sg-hit);padding:12px 16px;border-radius:12px;border:2px dashed rgba(62,198,224,.45);background:#3ec6e01a;color:var(--sg-cyan)}.sg-settings-preview:hover{border-style:solid;background:#3ec6e02e}.sg-menu.is-settings .sg-action-btn.neutral,.sg-menu.is-settings .sg-action-btn[data-action-key=Esc]{border-color:var(--sg-line);background:linear-gradient(180deg,#2c3c58,#1c283e)}.sg-hint{font-size:clamp(12px,1.4vw,14px);color:var(--sg-muted);text-align:center}.sg-menu.is-tank .sg-hint{display:none!important}.sg-title-motif{width:min(280px,78%);height:clamp(56px,9vh,84px);margin:2px auto 4px;image-rendering:pixelated;background:#0a1020;border:2px solid var(--sg-line);border-radius:12px;overflow:hidden;flex:0 0 auto}.sg-title-motif canvas{width:100%;height:100%;image-rendering:pixelated;display:block}.sg-tank-tabs{display:none;gap:8px;justify-content:center;flex-wrap:wrap}.sg-tank-tab{pointer-events:auto;cursor:pointer;border:2px solid var(--sg-line);background:#1a2a44;color:var(--sg-cream-dim);font:inherit;font-size:13px;font-weight:800;padding:8px 14px;border-radius:999px}.sg-tank-tab:hover{border-color:#f0c23a8c;color:var(--sg-cream)}.sg-tank-tab.active{border-color:var(--sg-yellow);color:var(--sg-yellow-hot);background:#f0c23a29;box-shadow:0 0 0 2px #f0c23a40}.sg-tank-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;flex:0 1 auto;min-height:0;align-content:start}.sg-tank-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;height:auto;padding:12px 12px 10px;border:3px solid #3a4d6e;border-radius:16px;background:linear-gradient(180deg,#27406a,#16263f);box-shadow:inset 0 1px #ffffff14,0 4px #00000040;opacity:.82;overflow:hidden;box-sizing:border-box;cursor:pointer;font:inherit;color:inherit;text-align:inherit;appearance:none;-webkit-appearance:none}.sg-tank-card:hover{opacity:1;border-color:#f0c23a73}.sg-tank-card.active{opacity:1;border-color:var(--sg-yellow);box-shadow:0 0 0 3px #f0c23a59,inset 0 1px #ffffff24,0 6px #00000047;background:linear-gradient(180deg,#355888,#1c3254);transform:translateY(-2px)}.sg-tank-badge{align-self:flex-end;font-size:11px;font-weight:800;letter-spacing:.04em;padding:3px 9px;border-radius:999px;background:#3ec6e02e;color:var(--sg-cyan);border:1px solid rgba(62,198,224,.5)}.sg-tank-card.active .sg-tank-badge{background:#f0c23a38;color:var(--sg-yellow-hot);border-color:#f0c23a8c}.sg-tank-portrait{display:flex;align-items:center;justify-content:center;flex:0 0 auto;height:clamp(70px,11vh,96px);background:radial-gradient(circle at 50% 40%,#243a5c,#0c1424 70%);border-radius:12px;border:2px solid rgba(255,255,255,.08)}.sg-tank-pixel{width:clamp(64px,9vw,92px);height:clamp(64px,9vw,92px);image-rendering:pixelated;background:transparent}.sg-tank-name{font-size:clamp(16px,2vw,20px);font-weight:800;color:var(--sg-cream);text-align:center;line-height:1.1}.sg-tank-role{font-size:clamp(12px,1.4vw,14px);font-weight:700;color:var(--sg-cyan);text-align:center;line-height:1.2}.sg-tank-card-stats{display:flex;flex-direction:column;gap:5px;margin-top:2px;flex:0 0 auto}.sg-stat-row{display:grid;grid-template-columns:14px minmax(0,1.2fr) minmax(48px,1fr) auto;gap:4px 6px;align-items:center}.sg-stat-icon{width:14px;height:14px;border-radius:4px;grid-row:1}.sg-stat-icon.speed{background:var(--sg-cyan)}.sg-stat-icon.fire{background:var(--sg-coral)}.sg-stat-icon.lives{background:var(--sg-mint)}.sg-stat-label{font-size:clamp(11px,1.2vw,13px);font-weight:800;color:var(--sg-muted);white-space:nowrap}.sg-stat-segments{display:flex;gap:3px;min-width:0}.sg-stat-pip{flex:1 1 0;height:8px;border-radius:3px;background:#ffffff1a;border:1px solid rgba(0,0,0,.35);min-width:0}.sg-stat-pip.on.speed{background:var(--sg-cyan)}.sg-stat-pip.on.fire{background:var(--sg-coral)}.sg-stat-pip.on.lives{background:var(--sg-mint)}.sg-stat-caption{grid-column:auto;font-size:clamp(11px,1.2vw,13px);color:var(--sg-cream-dim);font-weight:600;white-space:nowrap;justify-self:end}.sg-tank-detail{flex:0 0 auto;text-align:center;font-size:clamp(14px,1.7vw,17px);font-weight:650;color:var(--sg-cream);line-height:1.35;padding:12px 14px;background:#0a102080;border:2px solid var(--sg-line);border-radius:var(--sg-radius-sm)}.sg-key-hint{flex:0 0 auto;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 12px;font-size:clamp(13px,1.5vw,15px);font-weight:700;color:var(--sg-muted)}.sg-tank-cta{cursor:pointer;font:inherit;font-size:15px;font-weight:800;min-height:var(--sg-hit);padding:12px 20px;border-radius:14px;border:3px solid var(--sg-line);background:#2c4060;color:var(--sg-cream);box-shadow:0 4px #00000047}.sg-tank-cta.primary{border-color:#5ed39aa6;background:linear-gradient(180deg,#2f6b55,#1d3a36);color:#e8fff4}.sg-tank-cta.neutral{border-color:var(--sg-line);background:linear-gradient(180deg,#2c3c58,#1c283e)}.sg-tank-cta.dim{opacity:.85}.sg-tank-cta:hover{border-color:var(--sg-yellow)}.sg-tank-cta:active{transform:translateY(1px);box-shadow:0 2px #00000047}.sg-tank-check{position:absolute;top:10px;left:10px;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900;background:var(--sg-mint);color:#0a1a12;border:2px solid rgba(255,255,255,.35)}.sg-tank-mouse-tip{width:100%;text-align:center;font-size:12px;color:var(--sg-muted)}.sg-key-hint kbd{display:inline-block;padding:3px 8px;margin-right:4px;border-radius:6px;border:2px solid var(--sg-line);background:#00000059;color:var(--sg-yellow);font-family:inherit;font-weight:800;font-size:inherit}.sg-build-badge{display:none!important}.sg-bars{display:none}@media(max-width:520px){.sg-menu,.sg-menu.is-tank,.sg-menu.is-title{width:min(374px,96vw);height:auto;min-height:0;max-height:88vh;padding:14px 12px 12px;gap:10px;border-radius:18px}.sg-tank-tabs{display:flex}.sg-tank-preview{grid-template-columns:1fr}.sg-tank-card:not(.active){display:none}.sg-tank-card.active{aspect-ratio:auto;min-height:0;height:auto;transform:none}.sg-tank-pixel{width:96px;height:96px}.sg-tank-name{font-size:20px}.sg-tank-role,.sg-stat-label,.sg-stat-caption,.sg-tank-detail,.sg-key-hint,.sg-title,.sg-tank-tab{font-size:13px!important}.sg-tank-detail{font-size:14px!important}.sg-key-hint{font-size:13px!important}}.sg-editor-toolbar{position:fixed;z-index:12;left:50%;bottom:16px;transform:translate(-50%);width:min(920px,calc(100vw - 24px));display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;border:2px solid rgba(240,194,58,.55);border-radius:16px;background:#121f35f5;box-shadow:0 8px 24px #0006;font-family:var(--sg-font)}.sg-editor-tool{min-height:40px;padding:8px 12px;border:2px solid var(--sg-line);border-radius:10px;color:var(--sg-cream);background:linear-gradient(180deg,#334e78,#243556);font:inherit;font-size:13px;font-weight:800;cursor:pointer}.sg-editor-tool:hover{border-color:var(--sg-yellow)}.sg-editor-stage-label{min-width:72px;color:var(--sg-yellow-hot);font-size:14px;font-weight:900;text-align:center}@media(max-width:700px){.sg-editor-toolbar{bottom:8px;flex-wrap:wrap;gap:5px;padding:7px}.sg-editor-tool{min-height:34px;padding:6px 8px;font-size:11px}}.sg-menu[data-mode=gameover]{animation:sg-gameover-arrive .9s cubic-bezier(.16,1,.3,1) both}.sg-menu[data-mode=gameover] .sg-title{color:#ff5268;letter-spacing:.14em;text-shadow:0 3px 0 #541622,0 0 28px rgba(255,62,88,.38)}@keyframes sg-gameover-arrive{0%{opacity:0;transform:translateY(20px) scale(.94);filter:blur(5px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}.sg-play-plate{position:absolute;z-index:6;pointer-events:none;overflow:visible;image-rendering:pixelated}.sg-arena-chrome{position:absolute;left:0;top:0;width:100%;height:var(--sg-arena-h);pointer-events:none}.sg-arena-edge{position:absolute;background:transparent}.sg-arena-edge[data-edge=top]{left:var(--sg-field-x);top:0;width:var(--sg-field-w);height:var(--sg-rim-y)}.sg-arena-edge[data-edge=bottom]{left:var(--sg-field-x);bottom:0;width:var(--sg-field-w);height:var(--sg-rim-y)}.sg-arena-edge[data-edge=left]{left:0;top:0;width:var(--sg-rim-x);height:100%}.sg-arena-edge[data-edge=right]{right:0;top:0;width:calc(100% - var(--sg-field-x) - var(--sg-field-w));height:100%}.sg-arena-playfield{position:absolute;left:var(--sg-field-x);top:var(--sg-field-y);width:var(--sg-field-w);height:calc(100% - var(--sg-rim-y) * 2);pointer-events:none}.sg-hud{position:absolute;left:0;top:var(--sg-hud-top);width:100%;height:auto;min-height:var(--sg-hud-px, var(--sg-hud-h));display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch;align-content:flex-start;gap:calc(3px * var(--sg-scale, 3));row-gap:calc(3px * var(--sg-scale, 3));padding:calc(2px * var(--sg-scale, 3)) calc(3px * var(--sg-scale, 3));box-sizing:border-box;background:linear-gradient(180deg,#22365a,#121c32);border-top:calc(2px * var(--sg-scale, 3)) solid rgba(240,194,58,.55);border-radius:0 0 10px 10px;overflow:visible}.sg-hud-p1{flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:0 calc(5px * var(--sg-scale, 3));border-radius:calc(5px * var(--sg-scale, 3));background:#f0c23a2e;border:1px solid rgba(240,194,58,.55);color:var(--sg-yellow);font-size:calc(5.5px * var(--sg-scale, 3));font-weight:800;min-width:calc(16px * var(--sg-scale, 3))}.sg-hud-p2{flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:0 calc(5px * var(--sg-scale, 3));border-radius:calc(5px * var(--sg-scale, 3));background:#3ec6e02e;border:1px solid rgba(62,198,224,.6);color:var(--sg-cyan);font-size:calc(5.5px * var(--sg-scale, 3));font-weight:800;min-width:calc(16px * var(--sg-scale, 3))}.sg-hud[data-coop="1"] [data-testid=hud-lives2],.sg-hud[data-coop="1"] [data-testid=hud-star2]{border-color:#3ec6e08c}.sg-tank-step-badge{display:inline-flex;align-self:center;margin:0;padding:8px 16px;border-radius:999px;font-size:14px;font-weight:800;letter-spacing:.02em;min-height:36px;align-items:center}.sg-tank-step-badge.is-p1,.sg-tank-step-badge.is-solo{color:#1a1a12;background:var(--sg-yellow);border:2px solid rgba(240,194,58,.9)}.sg-tank-step-badge.is-p2{color:#061018;background:var(--sg-cyan);border:2px solid rgba(62,198,224,.95)}.sg-tank-lock-summary{margin:0;font-size:13px;font-weight:700;color:var(--sg-cream-dim);text-align:center}.sg-tank-lock-summary.is-p2{color:var(--sg-cyan)}.sg-menu.is-tank{gap:8px;padding:14px 16px 12px}.sg-menu.is-tank .sg-title-hero{gap:4px}.sg-menu.is-tank .sg-title{margin:0;padding:4px 14px}.sg-tank-preview.is-p2-step .sg-tank-card.active{border-color:var(--sg-cyan);box-shadow:0 0 0 2px #3ec6e059}.sg-tank-preview.is-p1-step .sg-tank-card.active{border-color:var(--sg-yellow)}.sg-hud-chip{flex:1 1 18%;min-width:88px;display:flex;flex-direction:column;justify-content:center;gap:1px;padding:3px 6px;border-radius:calc(4px * var(--sg-scale, 3));background:#00000047;border:1px solid rgba(58,77,110,.9);overflow:visible;box-sizing:border-box}.sg-hud[data-coop="1"] .sg-hud-chip{flex:1 1 14%;min-width:80px}.sg-hud [data-testid=hud-score]{flex:1 1 22%;min-width:96px}.sg-hud-label{font-size:max(12px,calc(4.2px * var(--sg-scale, 3)));font-weight:800;color:var(--sg-muted);letter-spacing:0;line-height:1;white-space:nowrap;overflow:visible;max-width:none}.sg-hud-value{font-size:max(14px,calc(6px * var(--sg-scale, 3)));font-weight:800;color:var(--sg-cream);line-height:1;white-space:nowrap;overflow:visible;max-width:none}.sg-hud-value.ok{color:var(--sg-ok)}.sg-hud-value.bad{color:var(--sg-danger)}.sg-hud-value.warn{color:var(--sg-yellow)}@media(max-width:520px){.sg-hud{height:auto!important;min-height:var(--sg-hud-px, 152px);flex-wrap:wrap;align-content:flex-start;row-gap:6px;padding:8px!important;border-radius:12px;border:2px solid rgba(240,194,58,.45);gap:6px!important;overflow:visible!important}.sg-hud-p1,.sg-hud-p2{flex:0 0 auto;font-size:14px!important;padding:8px 10px!important;min-width:40px;min-height:40px}.sg-hud-chip{flex:1 1 28%;min-width:28%;min-height:40px;padding:6px 8px!important;overflow:visible}.sg-hud-label{font-size:12px!important}.sg-hud-value{font-size:14px!important}}.sg-pause-banner{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);padding:calc(6px * var(--sg-scale, 3)) calc(12px * var(--sg-scale, 3));min-width:min(300px,82%);font-size:calc(8px * var(--sg-scale, 3));font-weight:800;letter-spacing:.1em;background:#121a2eeb;border:2px solid var(--sg-yellow);border-radius:10px;color:var(--sg-cream);pointer-events:auto;text-align:center;box-shadow:0 18px 50px #00000080}.sg-pause-title{margin-bottom:14px;font-size:1.2em}.sg-pause-actions{display:grid;gap:8px;letter-spacing:normal}.sg-pause-action{min-height:42px;padding:8px 14px;border:2px solid var(--sg-line);border-radius:8px;background:#293d5d;color:var(--sg-cream);font:inherit;font-size:.62em;font-weight:800;cursor:pointer}.sg-pause-action.is-primary{border-color:var(--sg-cyan);background:#3ec6e02e}.sg-editor-hint{position:absolute;left:0;bottom:0;width:100%;padding:4px 8px;font-family:var(--sg-font);font-size:12px;font-weight:600;color:var(--sg-muted);background:#121a2ee6;border-top:1px solid var(--sg-line);pointer-events:none}.sg-action-icon{width:32px;min-width:32px;height:32px;display:inline-grid;place-items:center;border-radius:10px;background:#08122280;color:var(--sg-yellow);font-size:19px;line-height:1}.sg-menu.is-title .sg-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-menu.is-title .sg-action-btn[data-action-key=L]{grid-column:span 2}.sg-tank-preview{grid-template-columns:repeat(4,minmax(0,1fr))}.sg-stat-row{grid-template-columns:28px minmax(54px,1fr) auto}.sg-stat-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#0812229e;font-size:18px;font-weight:900}.sg-stat-label,.sg-tank-role,.sg-tank-badge,.sg-tank-mouse-tip{display:none!important}.sg-hud{display:flex;flex-direction:column;flex-wrap:nowrap;gap:6px;padding:7px 8px}.sg-hud-shared{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.sg-hud-players{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sg-player-panel{min-width:0;min-height:44px;display:flex;align-items:stretch;gap:5px;padding:5px;border-radius:10px;background:#040c195c;border:1px solid rgba(240,194,58,.35)}.sg-player-panel.is-p2{border-color:#3ee07f6b}.sg-player-panel.is-waiting{position:relative;justify-content:center;color:#3ee07f}@media(min-width:521px){.sg-player-panel:not(.is-waiting){display:grid;grid-template-columns:38px minmax(28px,.75fr) minmax(28px,.75fr) minmax(72px,1.7fr) minmax(34px,.9fr);align-items:stretch}}.sg-player-panel>.sg-hud-p1,.sg-player-panel>.sg-hud-p2{flex:0 0 38px;min-width:38px;padding:0;font-size:14px;border-radius:8px}.sg-player-panel>.sg-hud-p1.is-special-ready,.sg-player-panel>.sg-hud-p2.is-special-ready{min-width:62px;color:#fff9c7;border-color:#fff07a;background:linear-gradient(135deg,#ffd33080,#ff801847);box-shadow:0 0 7px #ffe55cf2,0 0 18px #ff9e26b8,inset 0 0 8px #ffffdc73;animation:sg-special-ready-pulse .9s ease-in-out infinite alternate}@keyframes sg-special-ready-pulse{0%{filter:brightness(1);transform:translateY(0)}to{filter:brightness(1.35);transform:translateY(-1px)}}.sg-hud-chip{min-width:0;min-height:34px;flex:1 1 0;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px;padding:4px 6px}.sg-hud[data-coop="1"] .sg-player-panel .sg-hud-chip{flex:1 1 0;min-width:0}.sg-hud-label{color:var(--sg-yellow);font-size:15px}.sg-hud-value{font-size:clamp(12px,1.1vw,16px);text-align:right}.sg-p2-waiting{align-self:center;display:grid;place-items:center;width:34px;height:34px;border:2px solid #3ee07f;border-radius:50%;color:#3ee07f;font-size:22px;font-weight:900;animation:sg-p2-orbit 3s linear infinite;transform-style:preserve-3d}@keyframes sg-p2-orbit{0%{transform:rotateY(0)}to{transform:rotateY(360deg)}}@media(prefers-reduced-motion:reduce){.sg-p2-waiting,.sg-player-panel>.sg-hud-p1.is-special-ready,.sg-player-panel>.sg-hud-p2.is-special-ready{animation:none}}@media(max-width:520px){.sg-menu.is-title .sg-actions{grid-template-columns:1fr}.sg-menu.is-title .sg-action-btn[data-action-key=L]{grid-column:span 1}.sg-hud{min-height:var(--sg-hud-px, 128px);gap:5px!important;padding:6px!important}.sg-hud-shared{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.sg-hud-players{grid-template-columns:1fr 1fr;gap:4px}.sg-player-panel{flex-wrap:wrap;gap:3px;padding:4px}.sg-player-panel:not(.is-waiting){display:grid;grid-template-columns:34px repeat(2,minmax(0,1fr));align-items:stretch}.sg-player-panel:not(.is-waiting) [data-testid=hud-score],.sg-player-panel:not(.is-waiting) [data-testid=hud-score2]{grid-column:span 2}.sg-hud-p1,.sg-hud-p2{flex-basis:34px;width:34px;min-width:0;min-height:34px;padding:0!important;box-sizing:border-box}.sg-hud-chip{min-width:0;min-height:30px;padding:3px 4px!important}.sg-hud-label,.sg-hud-value{font-size:12px!important}}@media(min-width:521px)and (max-width:760px){.sg-menu.is-tank{width:min(600px,96vw);max-height:94vh;overflow-y:auto}.sg-tank-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sg-tank-portrait{height:72px}.sg-tank-pixel{width:64px;height:64px}}@media(max-width:520px){.sg-tank-preview{grid-template-columns:1fr}.sg-tank-card:not(.active){display:none}.sg-tank-card.active{transform:none}.sg-tank-detail{display:none!important}}.sg-menu.is-title{width:min(1180px,calc(100vw - 48px));max-width:1180px;padding:28px;gap:24px;overflow:hidden;border-color:#f0c23ab8;background:linear-gradient(135deg,#314d79f5,#111d33fa 62%),var(--sg-navy-panel);box-shadow:0 18px #02070f47,0 28px 80px #0000005c,inset 0 1px #ffffff1f}.sg-menu.is-title:after{width:260px;height:260px;top:auto;right:-96px;bottom:-128px;border-radius:50%;background:#3ec6e014;box-shadow:0 0 0 34px #f0c23a0b}.sg-menu.is-title .sg-title-hero{position:relative;gap:12px;padding:26px;border:1px solid rgba(143,160,181,.26);border-radius:18px;background:linear-gradient(180deg,#0812224d,#0812229e),radial-gradient(circle at 82% 16%,rgba(62,198,224,.18),transparent 40%);overflow:hidden}.sg-landing-eyebrow{align-self:flex-start;padding:7px 11px;border:1px solid rgba(62,198,224,.5);border-radius:999px;color:#8deaff;background:#3ec6e01a;font-size:11px;font-weight:900;letter-spacing:.12em}.sg-menu.is-title .sg-brand{font-size:clamp(40px,5vw,68px);letter-spacing:.055em;line-height:.95}.sg-menu.is-title .sg-title{max-width:640px;font-size:clamp(28px,3.4vw,48px);line-height:1.05;letter-spacing:-.02em;white-space:pre-line}.sg-menu.is-title .sg-sub{max-width:640px;color:#c7d6e9;font-size:clamp(14px,1.5vw,18px);line-height:1.5}.sg-menu.is-title .sg-title-motif{width:100%;max-width:none;height:clamp(104px,15vh,148px);margin:4px 0 0;border-color:#3ec6e07a;box-shadow:inset 0 0 24px #3ec6e017}.sg-landing-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sg-landing-highlight{min-width:0;display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid rgba(143,160,181,.25);border-radius:10px;background:#060f1d7a}.sg-landing-highlight-icon{color:var(--sg-yellow);font-size:16px}.sg-landing-highlight-label{min-width:0;color:#dce8f6;font-size:12px;font-weight:800}.sg-menu.is-title .sg-actions{align-content:center;gap:12px;padding:18px;border:1px solid rgba(143,160,181,.22);border-radius:18px;background:#060f1d6b}.sg-menu.is-title .sg-action-btn{min-height:52px}.sg-menu.is-title .sg-action-btn.play-cta{min-height:66px;font-size:clamp(17px,1.8vw,21px)}.sg-menu.is-title .sg-action-btn[data-action-key=T]{grid-column:span 2}@media(min-width:900px){.sg-menu.is-title{grid-template-columns:minmax(0,1.35fr) minmax(370px,.75fr);grid-template-areas:"hero actions";min-height:min(650px,calc(100vh - 64px));max-height:calc(100vh - 48px);align-items:stretch}.sg-menu.is-title .sg-title-hero{min-height:0}.sg-menu.is-title .sg-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:899px){.sg-menu.is-title{width:min(700px,calc(100vw - 24px));max-height:calc(100vh - 24px);padding:16px;gap:12px;overflow-y:auto}.sg-menu.is-title .sg-title-hero{padding:18px}.sg-menu.is-title .sg-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.sg-menu.is-title .sg-action-btn[data-action-key=L],.sg-menu.is-title .sg-action-btn[data-action-key=T]{grid-column:span 2}}@media(max-width:520px){.sg-menu.is-title{width:calc(100vw - 16px);max-height:calc(100vh - 16px);padding:10px;gap:8px;border-radius:16px}.sg-menu.is-title .sg-title-hero{gap:7px;padding:12px}.sg-menu.is-title .sg-brand{font-size:34px}.sg-menu.is-title .sg-title{font-size:24px}.sg-menu.is-title .sg-sub{font-size:12px;line-height:1.35}.sg-menu.is-title .sg-title-motif{height:72px}.sg-landing-highlights{grid-template-columns:1fr 1fr 1fr;gap:4px}.sg-landing-highlight{justify-content:center;padding:6px 4px}.sg-landing-highlight-label{font-size:9px}.sg-menu.is-title .sg-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px}.sg-menu.is-title .sg-action-btn,.sg-menu.is-title .sg-action-btn.utility,.sg-menu.is-title .sg-action-btn.play-cta{min-height:42px;padding:8px 10px;font-size:12px}.sg-menu.is-title .sg-action-btn[data-action-key=T],.sg-menu.is-title .sg-action-btn[data-action-key=L]{grid-column:span 2}.sg-menu.is-title .sg-action-icon{width:26px;min-width:26px;height:26px;font-size:15px}}
