@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Barlow:wght@400;500;600;700;800;900&display=swap');
:root{--navy:#0a2335;--panel:#123448;--line:#315164;--cream:#f3f7e9;--muted:#a9bfcb;--yellow:#ffda4a;--teal:#61d9cd;--head:'Barlow Condensed','Arial Narrow',Impact,sans-serif;--body:'Barlow',Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--navy);color:var(--cream);font-family:var(--body);font-size:16px}button,input,a{-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer;font:inherit;color:inherit}button:disabled{cursor:wait;filter:saturate(.2);opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ffda4a;outline-offset:4px}button,a{touch-action:manipulation}button{transition:background .15s,transform .15s}button:hover:not(:disabled){filter:brightness(1.08)}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}.topbar{height:82px;padding:0 3.1%;display:flex;align-items:center;gap:20px;border-bottom:1px solid #2b485b}.brand{display:flex;align-items:center;gap:10px;font:900 26px/.8 var(--head);text-decoration:none;color:var(--cream);letter-spacing:-.5px}.brand em{font-style:normal;color:var(--yellow)}.bolt{display:grid;place-content:center;background:var(--yellow);color:var(--navy);width:43px;height:45px;border-radius:12px;font:900 49px/1 var(--head);transform:rotate(-7deg)}.build-badge{font-size:11px;font-weight:800;letter-spacing:1.1px;border:1px solid #3a596b;background:#193a4d;border-radius:5px;padding:7px 8px;color:#aac1cd}.build-badge i{font-style:normal;color:var(--teal);margin-left:7px}.top-actions{display:flex;align-items:center;gap:17px;margin-left:auto}.demo-badge{font-size:10px;letter-spacing:1.2px;color:#8cacbc;font-weight:800}.wallet{display:flex;align-items:center;gap:9px;height:42px;padding:0 12px;border:1px solid #385569;border-radius:10px;background:#15384d}.wallet>span{font:900 24px var(--head);border-radius:50%;background:var(--yellow);color:var(--navy);height:24px;width:24px;display:grid;place-content:center}.wallet>b{font-size:17px}.wallet>small{font-size:10px;color:#99b4c3;font-weight:800}.wallet>i{font:700 21px var(--body);font-style:normal;color:var(--yellow);padding-left:10px;border-left:1px solid #416074;margin-left:4px}.icon-button{background:transparent;font-size:26px;width:25px;color:#c5d5df}.help-button{border:1px solid #648095;border-radius:50%;height:24px;font-size:16px;font-weight:700}.lobby-layout{display:grid;grid-template-columns:minmax(0,1fr) 342px;max-width:1710px;margin:0 auto;padding:25px 3.1% 0;gap:22px;align-items:stretch}.stage-shell{position:relative;min-height:620px;height:calc(100dvh - 162px);max-height:870px;overflow:hidden;isolation:isolate;border:1px solid #528c92;border-radius:20px;background:radial-gradient(ellipse at 45% 35%,#75c7c1,#248c9e);box-shadow:0 8px 32px #03141c18}.stage{position:absolute;inset:0}.stage canvas{width:100%;height:100%;display:block;outline:none;touch-action:none}.stage-heading{position:absolute;top:30px;left:30px;color:#12454c;pointer-events:none;z-index:2}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px}.stage-heading h1{font:900 clamp(38px,4vw,62px)/1 var(--head);margin:9px 0 9px;letter-spacing:-.5px;text-shadow:0 2px #a9e3c5}.stage-heading h1>span{color:#fbf0ad;margin-left:9px;font-size:33px;vertical-align:middle}.stage-heading p{font-size:14px;font-weight:600;margin:0;max-width:250px;line-height:1.4}.stage-chip{position:absolute;bottom:25px;right:23px;display:flex;align-items:center;gap:7px;font-size:9px;font-weight:800;letter-spacing:1px;color:#dff5dc;background:#104c59aa;padding:8px 10px;border:1px solid #86d4c650;border-radius:5px;backdrop-filter:blur(10px)}.stage-chip>span{background:#a6e48f;width:5px;height:5px;border-radius:50%}.stage-caption{position:absolute;bottom:27px;left:25px;display:flex;align-items:center;gap:16px;color:#e8f6d7}.stage-caption>span{font-size:10px;font-weight:800;letter-spacing:.8px}.stage-caption b{font:900 27px var(--head);margin-right:5px}.stage-caption>i{width:1px;height:25px;background:#c6e3cb55}.caption-last{max-width:72px;line-height:1.4}.setup-panel{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:24px;display:flex;flex-direction:column;justify-content:flex-start;min-width:0}.mode-line{display:flex;align-items:center;justify-content:space-between;color:var(--teal)}.mode-line .eyebrow{font-size:10px}.crosshair{font-size:30px;color:var(--yellow);line-height:1}.setup-panel h2{font:900 40px/1 var(--head);margin:7px 0 9px}.setup-intro{font-size:13px;color:var(--muted);margin:0 0 19px}.fighter-summary{display:flex;align-items:center;gap:13px;border-radius:10px;background:#0c283c;border:1px solid #304e62;padding:12px 13px}.fighter-monogram{position:relative;width:49px;height:52px;display:grid;place-content:center;background:#ff9953;color:#613d2e;border:2px solid #ffd19b;border-radius:14px;font:900 39px var(--head);transform:rotate(-6deg)}.fighter-monogram>span{position:absolute;right:-6px;top:-9px;font-size:21px;color:var(--yellow)}.fighter-summary>div:nth-child(2){display:flex;flex-direction:column;gap:1px}.small-label{font-size:9px;letter-spacing:1px;font-weight:700;color:#97b4c5}.fighter-summary b{font:900 27px/1 var(--head)}.fighter-summary small{color:#b7cdd3;font-size:12px;margin-top:3px}.inspect-btn{background:transparent;color:var(--teal);font-size:10px;line-height:1.5;font-weight:800;margin-left:auto;padding:3px}.setup-panel fieldset{padding:0;border:0;margin:18px 0 0;min-width:0}.setup-panel legend{font-size:11px;letter-spacing:.8px;font-weight:800;margin-bottom:10px;padding:0;width:100%;display:flex;justify-content:space-between}.setup-panel legend>span{font-size:8px;font-weight:600;color:#96b1bf;letter-spacing:.6px}.skin-options{display:flex;gap:7px}.skin-option{display:flex;flex-direction:column;align-items:center;gap:5px;flex:1;min-width:0;background:transparent;border:1px solid transparent;border-radius:7px;padding:5px 1px}.skin-option i{width:27px;height:27px;border-radius:50%;background:var(--swatch);border:3px solid #ffffff20;box-shadow:inset 0 -4px #0002}.skin-option span{font-size:9px;font-weight:700;color:#abc3cf;white-space:nowrap}.skin-option.selected{border-color:#557488;background:#234556}.skin-option.selected i{outline:2px solid var(--yellow);outline-offset:2px}.skin-option.selected span{color:var(--cream)}.weapon-options{display:flex;gap:7px}.weapon-option{flex:1;min-width:0;background:#0a273b;border:1px solid #3b596d;border-radius:8px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 4px}.weapon-option b{font:800 28px/1 var(--body);color:#a0c6d0;height:28px}.weapon-option span{font:800 14px var(--head);letter-spacing:.4px}.weapon-option.selected{background:#244a4c;border-color:var(--teal)}.weapon-option.selected b,.weapon-option.selected span{color:#9cf0d5}.weapon-description{font-size:11px;color:#acc5d1;min-height:27px;line-height:1.4;margin:8px 0 0}.setup-panel .stake-field{margin-top:10px}.stake-field legend>button{background:transparent;padding:0;width:16px;height:16px;border:1px solid #809bab;border-radius:50%;font-size:11px}.entry-options{display:flex;gap:7px}.entry-options button{flex:1;background:#0b263a;border:1px solid #35566c;border-radius:8px;display:flex;align-items:center;flex-direction:column;gap:5px;padding:10px 4px}.entry-options b{font:800 20px/1 var(--head)}.entry-options small{font-size:10px;color:#b1c5d0}.entry-options .selected{background:#324b40;border-color:var(--yellow);box-shadow:inset 0 0 0 1px var(--yellow);color:var(--yellow)}.entry-options .selected small{color:#ecda98}.primary-button{border-radius:10px;background:var(--yellow);color:#102e3d;box-shadow:0 5px 0 #bd9429;display:flex;align-items:center;justify-content:space-between;font:900 29px var(--head);padding:13px 19px;width:100%;letter-spacing:.5px}.primary-button b{font:900 29px var(--body)}.play-button{margin-top:19px}.no-wallet{text-align:center;color:#9fbac9;font-size:10px;margin:16px 0 0}.tip{margin-top:auto;padding-top:19px;display:flex;align-items:center;gap:11px}.tip>b{color:var(--yellow);font-size:27px}.tip>p{font-size:12px;line-height:1.5;color:#b3cece;margin:0}.footer{max-width:1710px;padding:21px 3.1% 19px;margin:auto;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#708f9f;font-weight:700;letter-spacing:.4px}.footer b{font:800 14px var(--head);color:#c2d0d2;margin-right:6px}.footer i{font-style:normal;margin:0 10px}.loading{position:absolute;inset:0;background:#133b4aec;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;z-index:7;padding:25px;backdrop-filter:blur(10px)}.loading-bolt{font:900 74px var(--head);color:var(--yellow)}.loading h2{font:900 32px var(--head);margin:14px 0 21px}.loading p{font-size:13px;color:#bed6d8}.loading-track{width:min(230px,80%);height:7px;border-radius:7px;background:#2e5363;overflow:hidden}.loading-track i{display:block;width:8%;height:100%;background:var(--yellow);transition:width .3s}.hud{position:absolute;inset:0;pointer-events:none;z-index:3;user-select:none;-webkit-user-select:none}.hud button{pointer-events:auto}.hud-top{display:flex;align-items:flex-start;justify-content:space-between;position:absolute;top:max(18px,env(safe-area-inset-top));left:23px;right:23px}.pause-btn{width:43px;height:43px;background:#0b2a3de8;border:1px solid #6eada6;border-radius:11px;font-size:24px;box-shadow:0 3px #073240}.timer-group{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:17px;background:#092a3eeb;border:1px solid #86c0b4;border-radius:12px;padding:9px 17px;box-shadow:0 4px #062c3e}.timer-group>b{font:900 33px/1 var(--head);min-width:58px;text-align:center}.hud-mode{font-size:10px;font-weight:800;color:#a9cbcf;letter-spacing:1px;max-width:70px;line-height:1.4}.hud-mode:last-child{text-align:right}.score-pill{display:flex;align-items:center;gap:15px;padding:11px 16px;background:#0b2a3eeb;border:1px solid #568e99;border-radius:10px;font:800 23px var(--head)}.score-pill b{color:var(--yellow)}.player-health{position:absolute;left:23px;top:81px;display:flex;align-items:center;gap:9px;color:#fffbea;text-shadow:0 2px 3px #16383b;font-size:12px;font-weight:800}.hp-track{width:112px;height:12px;background:#1c3e4c;border:2px solid #1b4054;border-radius:6px;overflow:hidden}.hp-track i{display:block;background:#aff36f;width:100%;height:100%;transition:width .1s}.kill-feed{position:absolute;right:23px;top:80px;display:flex;flex-direction:column;gap:5px;align-items:flex-end;font-size:11px}.kill-feed>div{padding:6px 10px;background:#123247c4;border-radius:5px;color:#e3eeda}.kill-feed b{color:var(--yellow);margin:0 6px}.announcement{position:absolute;top:23%;left:5%;width:90%;text-align:center;font:900 65px/.95 var(--head);letter-spacing:.5px;color:var(--yellow);text-shadow:3px 4px #153b46,0 6px 22px #0a303866;white-space:pre-line}.announcement small{display:block;font:700 14px var(--body);color:var(--cream);margin-top:12px;letter-spacing:.3px}.hud-bottom{position:absolute;left:0;right:0;bottom:max(20px,env(safe-area-inset-bottom));display:flex;justify-content:center;align-items:flex-end}.keyboard-hint{border-radius:8px;background:#133449d9;padding:10px 13px;border:1px solid #689d9660;font-size:11px;color:#c3ddda}kbd{font:700 10px var(--body);padding:2px 4px;background:#325269;border-radius:3px;color:#f1f5e5}.keyboard-hint>span{margin:0 8px;color:#659c9f}.ability-buttons{position:absolute;right:25px;bottom:0;display:flex;gap:13px;align-items:center}.ability{width:68px;height:68px;border-radius:19px;box-shadow:0 4px #1b4f55;border:2px solid #fcf1bb;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}.ability>span{font:900 36px/1 var(--head);z-index:1}.ability>small{font-size:9px;font-weight:900;z-index:1;margin-top:2px;letter-spacing:.7px}.dash-ability{background:var(--yellow);color:#173448}.super-ability{background:#18394b;color:#e5e4fa;border-color:#9a94c0}.super-ability>i{position:absolute;bottom:0;left:0;right:0;background:#9370db;height:0%;opacity:.75}.super-ability.ready{background:#bb8cff;color:#251d45;box-shadow:0 0 25px #ba88ff7a;border-color:#e4c8ff;animation:pulseAbility 1s infinite alternate}@keyframes pulseAbility{to{box-shadow:0 0 38px #c99cffad}}.joysticks{display:none}.joystick{position:absolute;bottom:max(38px,env(safe-area-inset-bottom));width:114px;height:114px;border-radius:50%;border:2px solid #eefdd783;box-shadow:inset 0 0 20px #214d4522,0 5px 15px #18394b30;background:#254b5870;pointer-events:auto;touch-action:none}.move-stick{left:30px}.aim-stick{right:30px;border-color:#ffdd69b8;background:#74682940}.stick-thumb{position:absolute;top:33px;left:33px;width:44px;height:44px;border-radius:50%;border:2px solid #eefddd8c;background:#cee8d977;display:grid;place-content:center;font-size:31px;color:#fff9c7;pointer-events:none}.joystick>span{position:absolute;bottom:-22px;left:0;right:0;font-size:10px;text-align:center;color:#effdd8;letter-spacing:1px;font-weight:800}.labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.actor-label{position:absolute;top:0;left:0;width:78px;text-align:center;transform-origin:center bottom;font:800 10px var(--body);color:#f2ffe9;text-shadow:1px 2px 2px #15433a;will-change:transform;pointer-events:none}.actor-label b{display:block;white-space:nowrap;line-height:15px}.actor-label>div{height:5px;border-radius:5px;background:#142f3cc9;border:1px solid #102e3aa6;width:49px;margin:auto;overflow:hidden}.actor-label i{display:block;height:100%;background:#fb95ad}.actor-label.player{color:#ffef8b}.actor-label.player i{background:#b6fa76}.floating-text{position:absolute;inset:0;pointer-events:none;overflow:hidden}.damage-number{position:absolute;font:900 28px var(--head);color:#fff7cd;text-shadow:1px 2px #1f3d46;white-space:nowrap;will-change:transform;pointer-events:none}.damage-number.reward{font-size:33px;color:var(--yellow)}.damage-flash{position:fixed;inset:0;z-index:30;pointer-events:none;box-shadow:inset 0 0 130px #ff466cd0;opacity:0;transition:opacity .22s}.damage-flash.active{opacity:.6}.inspector-hud{position:absolute;inset:0;pointer-events:none;color:#143e48}.inspector-hud button,.inspector-hud label,.inspector-hud input{pointer-events:auto}.inspector-title{position:absolute;top:30px;left:30px}.inspector-title h2{font:900 47px/.95 var(--head);margin:8px 0}.inspector-title p{font-size:13px;max-width:210px;line-height:1.4}.back-btn{position:absolute;right:22px;top:25px;border:1px solid #34646c66;background:#d9eedca8;color:#123d48;border-radius:7px;padding:10px 13px;font-weight:800;font-size:10px}.inspector-controls{position:absolute;bottom:25px;left:20px;right:20px;display:flex;flex-direction:column;gap:15px;align-items:center}.animation-buttons{display:flex;gap:6px;background:#173f4deb;padding:7px;border-radius:9px;box-shadow:0 5px 20px #18475040}.animation-buttons button{background:transparent;color:#daecdd;font:800 15px var(--head);padding:10px 17px;border-radius:5px}.animation-buttons button.selected{background:var(--yellow);color:#12394c}.rig-toggle{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:700;background:#d7eddfba;padding:7px 12px;border-radius:5px}.rig-toggle input{accent-color:#285f73}.footer{pointer-events:none}#app[data-phase="playing"] .topbar,#app[data-phase="paused"] .topbar,#app[data-phase="results"] .topbar{display:none}#app[data-phase="playing"] .lobby-layout,#app[data-phase="paused"] .lobby-layout,#app[data-phase="results"] .lobby-layout{display:block;max-width:none;padding:0}#app[data-phase="playing"] .stage-shell,#app[data-phase="paused"] .stage-shell,#app[data-phase="results"] .stage-shell{position:fixed;inset:0;width:100%;height:100dvh;min-height:0;max-height:none;border:0;border-radius:0}dialog{background:#113348;color:var(--cream);border:1px solid #597688;border-radius:20px;padding:30px;width:min(480px,calc(100vw - 32px));box-shadow:0 20px 90px #00152266;max-height:calc(100dvh - 32px)}dialog::backdrop{background:#05212ece;backdrop-filter:blur(7px)}dialog .eyebrow{color:var(--teal)}dialog h2{font:900 42px/1 var(--head);margin:11px 0 19px}dialog p{font-size:14px;color:#bad0d9;line-height:1.6}dialog .primary-button{margin-top:22px}dialog .close-button{float:right;background:transparent;color:#b9d0db;font-size:26px;padding:0 0 10px 10px}.secondary-button{width:100%;padding:13px 15px;margin-top:17px;font-weight:700;background:#264b60;border-radius:8px;color:#d2e4e8}.rules{list-style:none;padding:0;margin:20px 0}.rules li{display:flex;gap:14px;margin:19px 0;font-size:14px;line-height:1.5;color:#bfdae0}.rules li>b{font:900 29px var(--head);color:var(--yellow)}.rules strong{color:#eff6e6}.results-title{display:flex;align-items:center;gap:17px}.results-title>span{font:900 65px var(--head);color:var(--yellow);transform:rotate(-7deg)}.results-title h2{margin:6px 0}.results-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0;text-align:center}.results-stats b{display:block;font:900 35px var(--head);color:var(--yellow)}.results-stats small{font-size:12px;color:#bdd0d9}.balance-line{display:flex;justify-content:space-between;gap:10px;background:#0b283a;border-radius:5px;padding:11px 12px;margin:5px 0;font-size:14px}.balance-line.net b{color:var(--teal)}.scoreboard{margin:20px 0;border-top:1px solid #39596a;padding-top:10px}.scoreboard>div{display:flex;align-items:center;gap:10px;font-size:12px;color:#a6c2cf;padding:5px 0}.scoreboard>div.me{color:var(--yellow);font-weight:800}.scoreboard b{margin-left:auto}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,15px);opacity:0;pointer-events:none;z-index:40;padding:12px 20px;background:#edf8e4;color:#194554;border-radius:9px;box-shadow:0 5px 25px #001b3b60;font-size:14px;font-weight:700;transition:.2s;text-align:center;max-width:calc(100vw - 32px);width:max-content}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1550px){.setup-panel{padding:28px}.lobby-layout{grid-template-columns:minmax(0,1fr) 370px}.setup-panel fieldset{margin-top:24px}.setup-panel .stake-field{margin-top:18px}.setup-panel h2{font-size:46px}.fighter-summary{padding:16px}.weapon-option{padding:10px 5px}.tip{padding-top:24px}.skin-option span,.entry-options small,.no-wallet{font-size:12px}.weapon-description{font-size:13px}}
@media(max-width:1100px){.lobby-layout{grid-template-columns:minmax(0,1fr) 310px;padding:20px 20px 0;gap:16px}.setup-panel{padding:20px}.stage-heading{top:24px;left:24px}.stage-heading h1{font-size:43px}.stage-heading p{font-size:12px;max-width:170px}.stage-chip{display:none}.caption-last{display:none}.footer{padding:18px 22px}.footer>span:last-child{font-size:9px}.stage-caption{gap:12px;left:22px}.stage-shell{min-height:650px}.keyboard-hint{font-size:10px;max-width:calc(100vw - 360px);line-height:1.6}.ability-buttons{gap:9px;right:18px}}
@media(max-width:760px){.topbar{height:68px;padding:0 16px;gap:12px}.brand{font-size:22px;gap:8px}.bolt{height:37px;width:35px;font-size:40px;border-radius:10px}.build-badge{font-size:8px;padding:5px;letter-spacing:.5px}.build-badge i{display:none}.demo-badge,.wallet small{display:none}.top-actions{gap:12px}.wallet{height:36px;padding:0 8px;gap:6px}.wallet>b{font-size:14px}.wallet>span{width:21px;height:21px;font-size:22px}.wallet>i{padding-left:6px;margin:0;font-size:18px}.help-button{display:none}.icon-button{font-size:23px;width:18px}.lobby-layout{grid-template-columns:1fr;padding:14px 14px 0;gap:14px}.stage-shell{height:330px;min-height:0;border-radius:15px}.stage-heading{top:17px;left:18px}.stage-heading .eyebrow{font-size:9px;letter-spacing:1px}.stage-heading h1{font-size:35px;margin:7px 0 6px}.stage-heading h1>span{font-size:22px}.stage-heading p{display:none}.stage-caption{bottom:14px;left:18px;gap:11px}.stage-caption b{font-size:23px}.stage-caption>span{font-size:9px}.stage-caption>i{height:20px}.caption-last{display:block;max-width:none;font-size:8px!important}.setup-panel{padding:19px;border-radius:15px;display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.mode-line{grid-column:1/-1}.setup-panel h2{font-size:35px;margin:5px 0 7px;grid-column:1/-1}.setup-intro{grid-column:1/-1;font-size:13px;margin-bottom:16px}.fighter-summary{grid-column:1/-1;padding:12px}.fighter-summary small{font-size:12px}.fighter-monogram{width:43px;height:46px;font-size:34px}.skin-field{grid-column:1/-1}.weapon-field{grid-column:1/-1}.setup-panel legend{font-size:12px}.setup-panel legend>span{font-size:10px}.skin-option{padding:6px 1px}.skin-option span{font-size:11px}.skin-option i{width:29px;height:29px}.weapon-option{padding:8px 5px}.weapon-option span{font-size:16px}.weapon-description{font-size:12px;min-height:0;margin-bottom:0}.stake-field{grid-column:1/-1}.setup-panel .stake-field{margin-top:15px}.entry-options small{font-size:12px}.entry-options button{padding:11px 4px}.play-button{grid-column:1/-1;padding:15px 20px;font-size:30px;margin-top:17px}.no-wallet{grid-column:1/-1;font-size:11px}.tip{display:none}.footer{padding:20px 18px;line-height:1.5}.footer>span:last-child{display:none}.stage-chip{display:none}.hud-top{left:14px;right:14px;top:max(14px,env(safe-area-inset-top))}.pause-btn{width:40px;height:40px}.timer-group{gap:0;padding:10px 15px;border-radius:10px}.timer-group>b{font-size:27px;min-width:44px}.hud-mode{display:none}.score-pill{padding:11px 12px;font-size:19px;gap:10px}.player-health{left:14px;top:70px;font-size:11px}.hp-track{width:88px}.kill-feed{right:14px;top:72px;font-size:10px}.kill-feed>div{padding:5px 7px}.announcement{top:24%;font-size:46px}.announcement small{font-size:13px}.joysticks{display:block}.keyboard-hint{display:none}.ability-buttons{right:39px;bottom:165px;gap:14px}.ability{width:57px;height:57px;border-radius:17px}.ability>span{font-size:30px}.ability>small{font-size:8px}.super-ability{width:53px;height:53px}.actor-label{font-size:9px}.actor-label>div{width:40px}.inspector-title{top:20px;left:20px}.inspector-title h2{font-size:32px}.inspector-title p{display:none}.back-btn{top:20px;right:16px;font-size:9px;padding:8px}.inspector-controls{bottom:17px;gap:9px;left:12px;right:12px}.animation-buttons{gap:3px;padding:5px}.animation-buttons button{font-size:13px;padding:8px 10px}.rig-toggle{font-size:11px;padding:5px 9px}#app[data-phase="inspect"] .stage-shell{height:530px}dialog{padding:25px}dialog h2{font-size:36px}.results-title>span{font-size:55px}}
@media(pointer:coarse){.joysticks{display:block}.keyboard-hint{display:none}.ability-buttons{right:43px;bottom:165px;gap:14px}.ability{width:58px;height:58px}}
@media(max-height:520px) and (orientation:landscape){.joystick{width:96px;height:96px;bottom:23px}.stick-thumb{top:24px;left:24px}.ability-buttons{bottom:111px;right:30px}.ability{width:48px;height:48px;border-radius:13px}.ability>span{font-size:27px}.ability>small{font-size:7px}.announcement{font-size:39px;top:23%}.player-health{top:66px}.kill-feed{top:66px}.hud-top{top:10px}.joystick>span{bottom:-18px;font-size:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-height:520px) and (orientation:landscape){.joysticks{display:block}.keyboard-hint{display:none}.hud-mode{display:none}.timer-group{padding:9px 15px}.timer-group>b{font-size:27px}.score-pill{font-size:19px;padding:10px 13px}.pause-btn{width:39px;height:39px}.player-health{top:61px}.kill-feed{top:61px}.ability-buttons{bottom:113px;right:32px}}

/* Animation combinations remain accessible on narrow screens. */
.animation-buttons{flex-wrap:wrap;justify-content:center;max-width:100%}.animation-buttons button{white-space:nowrap}@media(max-width:760px){.animation-buttons{max-width:338px}.animation-buttons button{flex:1 0 26%;padding:7px 6px}.inspector-controls{gap:8px}}

/* Four original silhouettes, quick selection in the lobby and the inspector. */
.setup-panel .character-field{margin:0 0 12px;grid-column:1/-1}.character-roster{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.character-card{position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden;min-width:0;padding:0 0 6px;background:#143949;border:1px solid #416270;border-radius:9px;color:#b9d4d7}.character-card img{display:block;width:100%;height:60px;object-fit:cover;object-position:50% 27%;mix-blend-mode:normal}.character-card b{font:800 15px var(--head);letter-spacing:.6px;margin-top:3px}.character-card.selected{border-color:var(--yellow);box-shadow:0 0 0 1px var(--yellow);color:var(--yellow);background:#294b4c}.character-card:hover{border-color:#b5e6d4}.fighter-portrait{width:53px;height:61px;object-fit:cover;object-position:center 25%;border-radius:9px;border:1px solid #89bab460}.fighter-summary{gap:11px}.fighter-summary .small-label{font-size:8px;letter-spacing:.5px}.fighter-summary b{font-size:25px}.fighter-description{color:#a8c4cf;font-size:11px;line-height:1.4;margin:9px 2px 0;grid-column:1/-1}.inspector-roster{position:absolute;top:154px;left:30px;display:flex;gap:5px;pointer-events:auto;background:#d9efe080;border:1px solid #34727a55;padding:5px;border-radius:8px}.inspector-roster button{background:transparent;padding:8px 12px;border-radius:5px;color:#1a4c55;font:800 14px var(--head)}.inspector-roster button.selected{background:#163b4f;color:var(--yellow)}.setup-panel .tip{display:none}.setup-panel .skin-field{margin-top:15px}.setup-panel .weapon-field{margin-top:15px}.setup-intro{margin-bottom:15px}
@media(min-width:761px){.stage-shell{min-height:760px;max-height:960px;height:max(760px,calc(100dvh - 162px))}.setup-panel{padding:22px}.setup-panel h2{font-size:36px}.setup-panel legend{margin-bottom:8px}.setup-panel .stake-field{margin-top:10px}.setup-panel .play-button{margin-top:15px}.setup-panel .no-wallet{margin-top:13px}}
@media(max-width:760px){.character-card img{height:72px}.character-card b{font-size:16px}.fighter-description{font-size:12px}.inspector-roster{top:80px;left:20px;right:20px;justify-content:center;padding:4px}.inspector-roster button{flex:1;padding:7px 9px;font-size:13px}.setup-panel .character-field{margin-bottom:14px}.fighter-summary .small-label{font-size:10px}#app[data-phase="inspect"] .stage-shell{height:565px}}

/* Eight distinct loadouts with their actual Blender silhouettes. */
.weapon-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.weapon-option{padding:0 0 6px;overflow:hidden;gap:0;min-height:72px}.weapon-option img{display:block;width:100%;height:49px;object-fit:cover;object-position:center;background:#143b49}.weapon-option span{font-size:11px;letter-spacing:.3px;margin-top:4px}.weapon-option.selected{border-color:var(--yellow);background:#33504b;box-shadow:0 0 0 1px var(--yellow)}.weapon-option.selected span{color:var(--yellow)}.weapon-details{display:flex;flex-direction:column;gap:4px;margin-top:12px}.weapon-details b{font:800 19px var(--head);color:#eff4da}.weapon-details span{font-size:10px;color:var(--teal)}.weapon-description{font-size:11px;line-height:1.5;min-height:34px;margin-top:6px}.setup-panel .weapon-field{margin-top:16px}.weapon-hud{position:absolute;left:23px;top:104px;display:flex;flex-direction:column;gap:7px;color:#fff6d3;font-size:10px;font-weight:800;text-shadow:0 1px #143449}.weapon-hud>span{padding:4px 7px;border-radius:5px;background:#133449c9;width:max-content;letter-spacing:.8px}.charge-track{width:132px;height:7px;background:#152c40c9;border:1px solid #d1b5ff;border-radius:6px;overflow:hidden}.charge-track i{display:block;width:0;height:100%;background:#dcafff}.weapon-hud b{display:block;font-size:8px;letter-spacing:.3px;margin-top:4px;color:#eccdff}.weapon-hud [hidden]{display:none}
@media(min-width:761px){.stage-shell{position:sticky;top:20px;align-self:start;min-height:580px;max-height:870px;height:calc(100dvh - 140px)}.setup-panel .skin-field{margin-top:12px}.setup-panel h2{font-size:34px}.setup-intro{margin-bottom:12px}.character-card img{height:54px}.setup-panel .character-field{margin-bottom:10px}.fighter-summary{padding:10px}.fighter-description{margin-top:7px}}
@media(max-width:760px){.weapon-option img{height:58px}.weapon-option{min-height:80px}.weapon-option span{font-size:12px}.weapon-details b{font-size:21px}.weapon-details span,.weapon-description{font-size:12px}.weapon-hud{left:14px;top:91px}.charge-track{width:118px}.weapon-hud b{font-size:7px}}
@media(max-height:520px) and (orientation:landscape){.weapon-hud{top:81px;left:14px}.weapon-hud>span{font-size:8px}.charge-track{width:104px}.weapon-hud{gap:3px}}

.character-card b{font-size:13px}.inspector-roster button{padding:8px 10px}@media(max-width:760px){.character-card b{font-size:14px}.inspector-roster button{padding:7px 6px;font-size:12px}}

/* A shared room keeps the same compact controls on desktop and mobile. */
.play-modes{display:grid;grid-template-columns:1fr 1fr;gap:7px;grid-column:1/-1;margin-bottom:14px}.play-modes button{background:#0c293c;border:1px solid #3a5d6e;border-radius:8px;padding:10px 4px;font:800 17px var(--head)}.play-modes button span{display:block;font:700 8px var(--body);letter-spacing:1px;margin-top:5px;color:var(--muted)}.play-modes button.selected{border-color:var(--teal);background:#214b53;color:#9df7e4}.play-modes button.selected span{color:#b8e6d9}.online-setup{grid-column:1/-1;margin-bottom:17px;display:grid;grid-template-columns:1fr;gap:7px}.online-setup label{font-size:10px;font-weight:800;letter-spacing:.8px}.online-setup input,.join-party input{min-width:0;width:100%;border:1px solid #3c6276;background:#0a2739;color:var(--cream);padding:11px 12px;border-radius:7px;font:600 13px var(--body)}.online-setup input::placeholder,.join-party input::placeholder{color:#9cb5c3}.online-setup>span{font-size:10px;color:var(--teal);line-height:1.5}.join-party{display:flex;grid-column:1/-1;gap:7px;margin-top:12px}.join-party button{font:800 15px var(--head);background:#285168;border:1px solid #52748a;border-radius:7px;padding:0 12px;white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.room-code{display:flex;align-items:center;justify-content:space-between;background:#092638;border:1px dashed #5b827e;padding:13px 15px;border-radius:10px;gap:12px}.room-code b{font:800 29px var(--head);letter-spacing:2px;user-select:all;overflow-wrap:anywhere;min-width:0}.room-code button{border-radius:6px;padding:9px;background:var(--yellow);color:var(--navy);font-size:10px;font-weight:800}.room-roster{list-style:none;padding:0;margin:18px 0;display:grid;gap:7px}.room-roster li{display:flex;align-items:center;gap:11px;background:#183f50;border:1px solid #315b6a;border-radius:9px;padding:8px 10px;min-height:53px}.room-roster img{width:40px;height:40px;object-fit:cover;border-radius:6px}.room-roster strong{display:block;font-size:13px;overflow-wrap:anywhere}.room-roster small{font-size:10px;color:#a8cbd0}.room-roster em{margin-left:auto;font-size:9px;font-style:normal;color:var(--teal);white-space:nowrap}.room-roster .bot{opacity:.65}.room-roster .bot-icon{width:40px;text-align:center;font:900 24px var(--head);color:#82bfcc}.room-details{display:flex;justify-content:space-between;gap:9px;font-size:11px;color:#b6d4dc}.room-hint{font-size:12px!important;margin-bottom:0}.connection-badge{position:absolute;z-index:8;top:16px;left:50%;transform:translateX(-50%);background:#113449ed;color:#d0eee5;border:1px solid #60b8a8;border-radius:7px;padding:7px 12px;font-size:11px;pointer-events:none;white-space:nowrap}.connection-badge.problem{color:#ffdc7c;border-color:#d8ad50;background:#453b20ed}#app[data-phase="playing"] .connection-badge,#app[data-phase="paused"] .connection-badge{top:70px}.ledger-note{font-size:12px;color:var(--teal);text-align:center;line-height:1.5}#roomStatus{min-height:20px;margin-bottom:0}.online-help{font-size:12px!important}.online-balance{color:var(--teal)!important}
@media(max-width:760px){.play-modes button{font-size:19px}.online-setup input,.join-party input{font-size:16px}.room-roster{gap:5px}.room-roster li{padding:6px 9px;min-height:48px}.room-roster img{width:34px;height:34px}#app[data-phase="playing"] .connection-badge,#app[data-phase="paused"] .connection-badge{top:120px;max-width:85%;font-size:10px}.room-code b{font-size:25px}.room-code{padding:10px}.room-roster strong{font-size:12px}.room-details{font-size:10px}}
@media(max-height:550px) and (orientation:landscape){.room-roster{grid-template-columns:1fr 1fr}.room-roster em{display:none}.room-roster li{min-width:0}.room-roster strong{font-size:11px}#app[data-phase="playing"] .connection-badge,#app[data-phase="paused"] .connection-badge{top:64px;font-size:9px}}
.room-roster{grid-template-columns:repeat(2,minmax(0,1fr));margin:14px 0}.room-roster li{position:relative;gap:8px;min-width:0;padding:10px 8px}.room-roster li>div{min-width:0}.room-roster strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.room-roster small{font-size:9px}.room-roster em{position:absolute;right:5px;top:3px;font-size:7px}.room-roster img{width:32px;height:36px}.room-roster .bot-icon{width:32px;flex-shrink:0}.room-roster .bot small{font-size:8px}

/* Manual aiming stays visible over the arena and leaves all controls clickable. */
.aim-guide{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2;--aim-ink:#fffbea}
.aim-reticle{position:absolute;top:0;left:0;width:0;height:0;will-change:transform}
.aim-reticle>svg{position:absolute;width:40px;height:40px;left:-20px;top:-20px;overflow:visible;filter:drop-shadow(0 2px 2px #06243a80);transition:scale .08s}
.reticle-shadow,.reticle-ink{fill:none;stroke-linecap:round;stroke-linejoin:round}
.reticle-shadow{stroke:#082333;stroke-width:5.5}.reticle-ink{stroke:var(--aim-ink);stroke-width:2.4}
.reticle-dot{fill:#ffda4a;stroke:#082333;stroke-width:1}
.aim-guide.is-firing{--aim-ink:#ffda4a}.aim-guide.is-firing .aim-reticle>svg{scale:1.12}
/* OrbitControls writes an inline cursor when leaving the character preview. */
.stage canvas.manual-aim{cursor:none!important}

/* Room composition is chosen in the lobby, outside the compact combat HUD. */
.launch-bottom{flex-wrap:wrap}
.room-settings{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin-top:15px}
.duration-choice{display:flex;align-items:center;gap:9px}
.duration-choice .control-label{margin:0;white-space:nowrap}
@media(max-width:760px){.room-settings{justify-content:center}.room-settings .room-composition button{min-height:40px;padding:8px 10px}.duration-choice{gap:7px}}
.room-composition{display:flex;gap:3px;flex-shrink:0;background:#0d1c31;border:1px solid #405269;border-radius:8px;padding:3px}
.room-composition button{padding:8px 11px;border-radius:5px;background:transparent;color:#b6c8db;font-size:11px;font-weight:800;white-space:nowrap;transition:background .15s,color .15s}
.room-composition button.selected{background:#ffda4a;color:#102239}
.room-composition button:focus-visible{outline:2px solid #fff4b8;outline-offset:2px}
/* The whole arena owns combat touches, including missed taps beside a stick. */
#app[data-phase="playing"] .stage-shell{touch-action:none;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

.weapon-rhythm{grid-column:1/-1;margin:8px 0 0;font-size:11px;line-height:1.5;color:#ffdf78}
.ammo-hud{width:142px;padding:8px 10px;border:1px solid #668e97;background:#102b3dec;border-radius:8px;color:#f4f6de;text-shadow:none}
.ammo-numbers{display:flex;align-items:baseline;gap:5px;line-height:1}.ammo-numbers strong{font:900 26px/.95 var(--head)}.ammo-numbers span{font:700 13px var(--head);color:#a6c3cc}
.ammo-track{height:4px;margin:7px 0 5px;background:#315364;border-radius:3px;overflow:hidden}.ammo-track i{display:block;height:100%;width:100%;background:#9af0d4}
#ammoState{display:block;font-size:9px;letter-spacing:.3px;white-space:nowrap;color:#bededc}.ammo-hud.reloading{border-color:#ffda4a;background:#39352aec}.ammo-hud.reloading #ammoState{color:#ffda4a}.ammo-hud.reloading .ammo-track i{background:#ffda4a}.ammo-hud.low-ammo .ammo-numbers strong{color:#ffb077}
@media(max-width:760px){.ammo-hud{width:122px;padding:7px 8px}.ammo-numbers strong{font-size:23px}#ammoState{font-size:8px}}
@media(max-height:520px) and (orientation:landscape){.ammo-hud{width:112px;padding:5px 7px}.ammo-numbers strong{font-size:20px}.ammo-track{margin:5px 0 4px}}

/* Season 00 interface: equipment at a glance, one compact launch dock. */
:root{--navy:#0c172b;--panel:#15243a;--line:#2c4058;--cream:#f8f5e9;--muted:#a7b7cb;--yellow:#ffdf55;--teal:#7aebc6}
body{background:radial-gradient(ellipse at 10% 0,#223249 0,transparent 50%),#0c172b}
button{transition:transform .18s ease,background .18s,border-color .18s,box-shadow .18s;}
button:hover:not(:disabled){filter:none}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
button:active:not(:disabled){transform:translateY(1px) scale(.98)}
.topbar{height:64px;border-bottom:1px solid #ffffff0c;padding:0 24px;gap:24px;background:#0d192de8}
.brand{font-size:23px;letter-spacing:-.2px;gap:9px}.bolt{width:34px;height:36px;font-size:41px;border-radius:9px;box-shadow:0 3px 0 #a58328}
.nav-current{font-size:11px;font-weight:900;letter-spacing:1.4px;color:var(--yellow);height:64px;display:flex;align-items:center;border-bottom:3px solid var(--yellow);padding:3px 10px 0;margin-left:12px}
.build-badge{font-size:10px;border:0;background:transparent;display:flex;align-items:center;gap:7px;padding:0;color:#a7b7cb}
.build-badge i,.ready-stamp i{width:5px;height:5px;border-radius:50%;background:var(--teal);margin:0;box-shadow:0 0 8px #7aebc655}
.top-actions{gap:12px}.wallet{background:#1a2a40;border:1px solid #34455a;border-radius:8px;height:36px}.wallet:hover{border-color:#b29953;background:#273343}
.wallet>span{background:transparent;color:var(--yellow);font-size:27px}.wallet>i{border-color:#46546b}.icon-button{width:32px;height:32px;display:grid;place-content:center;border:1px solid #3b4c62;border-radius:8px;background:#16273c;font-size:23px}.help-button{font-size:15px}.demo-badge{font-size:9px;letter-spacing:.8px;color:#a3b2c5}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;grid-column:1/-1}
.panel-heading .eyebrow{font-size:9px;color:#9eb2cc;letter-spacing:1.8px}.panel-heading h2{font-size:29px;letter-spacing:.4px;margin:3px 0 0;line-height:1}
.panel-heading h2 span{color:var(--yellow);font-size:20px;margin-left:8px;vertical-align:middle}
.ready-stamp{display:flex;align-items:center;gap:6px;font-size:8px;font-weight:800;color:var(--teal);letter-spacing:.5px;white-space:nowrap}
.section-label{display:flex;align-items:center;gap:7px!important;color:var(--cream)!important;font-size:11px!important;font-weight:800!important;letter-spacing:1px!important}
.section-label i{font-style:normal;font:800 10px var(--body);color:#ffdf55;background:#ffdf5512;border:1px solid #ffdf5526;padding:2px 4px;border-radius:4px}
.setup-panel{background:linear-gradient(130deg,#1e3047,#142238);border-color:#3b4d62;box-shadow:0 8px 24px #030c1e25}
.setup-panel legend{align-items:center;font-size:11px;color:#c5d2e1}.setup-panel legend>span:not(.section-label){color:#91a4ba;font-size:8px;letter-spacing:.8px}
.character-card,.weapon-option{position:relative;border-color:#425268;background:#22344b;border-radius:9px;box-shadow:0 2px 0 #081221;transition:transform .18s,border-color .18s,box-shadow .18s}
.character-card img,.weapon-option img{transition:transform .22s;will-change:auto}
.character-card:hover,.weapon-option:hover{transform:translateY(-3px);border-color:#9eaebf;box-shadow:0 6px 12px #06101f55}
.character-card:hover img,.weapon-option:hover img{transform:scale(1.08)}
.character-card.selected,.weapon-option.selected{border-color:var(--yellow);box-shadow:0 0 0 1px #ffdf55,0 4px 12px #ffdf5517;background:#394236;color:var(--yellow)}
.character-card.selected:after,.weapon-option.selected:after{content:'✓';position:absolute;right:4px;top:4px;display:grid;place-content:center;width:16px;height:16px;border-radius:5px;background:var(--yellow);color:#142339;font:900 11px var(--body);box-shadow:0 2px 5px #0004}
.character-card b{font-size:13px;letter-spacing:.7px}.weapon-option span{font-size:12px;letter-spacing:.5px}
.identity-row{display:flex;align-items:center;justify-content:space-between;gap:12px;grid-column:1/-1;background:#0b1b2d80;border:1px solid #35475e;border-radius:10px;padding:9px 12px}
.fighter-summary{padding:0!important;border:0;background:none;min-width:0;flex:1;gap:0}.fighter-summary .fighter-portrait{display:none}.fighter-summary b{font:800 23px/.95 var(--head);order:-1;letter-spacing:.5px}.fighter-summary .small-label{font-size:10px;letter-spacing:0;color:#c0d0df;margin-top:4px}.fighter-summary small{font-size:10px;color:#8faac0;margin-top:2px}
.inspect-btn{font:800 10px var(--head);letter-spacing:.5px;color:var(--teal);padding:8px;margin:0 12px 0 auto;border:1px solid #639b9f55;border-radius:6px;white-space:nowrap}.inspect-btn:hover{background:#75e4cd12;border-color:var(--teal)}.inspect-btn span{margin-left:3px}
.setup-panel .skin-field{margin:0;border-left:1px solid #ffffff15;padding-left:12px;flex:none;width:100px}.skin-field legend{float:left;font-size:8px;font-weight:700;letter-spacing:1px;width:auto;padding:0;margin:0 0 7px;color:#adbed0}.skin-options{clear:both;gap:8px}.skin-option{padding:2px;flex:none;border:0!important;background:none!important;position:relative;min-width:20px;min-height:22px}.skin-option i{width:20px;height:20px;border:2px solid #ffffff40;box-shadow:inset 0 -3px #0002}.skin-option.selected i{outline:2px solid var(--yellow);outline-offset:2px}.skin-option span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.weapon-readout{margin-top:9px;padding:10px 12px;background:#0d1c30;border-radius:10px;border:1px solid #304259}
.weapon-details{margin:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.weapon-details b{font-size:21px;white-space:nowrap;color:var(--cream)}.weapon-details span{font-size:9px;line-height:1.3;text-align:right;color:var(--teal);max-width:160px}
.weapon-description{margin:4px 0 9px;min-height:28px;font-size:11px;line-height:1.35;color:#a5b9cf}
.weapon-rhythm{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0;padding-top:9px;border-top:1px solid #314258}
.weapon-rhythm>div+div{border-left:1px solid #314258;padding-left:12px}.weapon-rhythm span{display:block;font-size:8px;font-weight:700;letter-spacing:.8px;color:#94a9bf}.weapon-rhythm b{display:block;font:800 23px/1.2 var(--head);color:#ffdf55;margin-top:3px;font-variant-numeric:tabular-nums}.weapon-rhythm small{font:600 10px var(--body);color:#a9bdcf}
.stage-shell{border-color:#547d81;background:#65b5b2;border-radius:16px;box-shadow:0 12px 35px #020b182e}
.stage-heading{top:26px;left:28px;color:#123e48}.stage-heading .eyebrow{display:inline-block;background:#0c3140df;padding:7px 10px;border-radius:5px;color:#c1f9dd;font-size:9px;letter-spacing:1.2px;box-shadow:0 2px 0 #0c314044}
.stage-heading h1{font:900 clamp(54px,5.8vw,88px)/.84 var(--head);letter-spacing:-1px;margin:17px 0 13px;text-shadow:0 2px #b6e1c580}.stage-heading h1>span{font-size:36px;display:inline-block;transform:rotate(-9deg);color:#ffdf55;margin-left:9px;text-shadow:0 2px #a28b3f}
.stage-heading p{font-size:12px;line-height:1.45;font-weight:600;max-width:240px}.stage-caption{bottom:20px;left:22px;gap:20px;background:#112d3eec;border:1px solid #a5e5d438;border-radius:11px;padding:12px 17px;box-shadow:0 3px 0 #0b243b45;backdrop-filter:blur(8px);color:#c5dcd9}.stage-caption b{font-size:30px;display:block;color:#fff9df;line-height:1;margin:0 0 3px}.stage-caption b small{font-size:18px}.stage-caption>span{font-size:8px;font-weight:700;letter-spacing:1px;white-space:nowrap}.stage-caption>i{height:32px}.caption-last{max-width:none;display:block}.stage-chip{right:18px;bottom:24px;border:0;background:#103844bf;font-size:8px;padding:7px 9px;color:#e6fbde}
.launch-dock{grid-column:1/-1;background:linear-gradient(100deg,#1e3045,#17263c);border:1px solid #3a4d62;border-radius:13px;padding:13px 17px 0;box-shadow:0 8px 24px #040c1c33;position:relative}
.launch-main{display:grid;grid-template-columns:1.1fr .85fr 1.1fr 1.25fr;gap:22px;align-items:end}.control-label,.online-setup label,.stake-field legend{display:block;margin:0 0 7px;font-size:9px;letter-spacing:1px;font-weight:800;color:#a5b8ce}
.play-modes{margin:0;gap:5px}.play-modes button{height:45px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px;background:#0d1c31;border:1px solid #405269;border-radius:7px;font:800 16px/.95 var(--head)}.play-modes button b{font:inherit}.play-modes button span{font-size:7px;letter-spacing:.6px;margin:0;color:#98aec6;white-space:nowrap}.play-modes button.selected{background:#2e4849;color:#ddffdd;border-color:var(--teal);box-shadow:inset 0 0 0 1px #7aebc615}.play-modes button:hover{border-color:#7aebc699}
.online-setup{margin:0;display:block;grid-column:auto}.online-setup input{height:45px;font-size:13px;padding:10px 12px;border:1px solid #405269;border-radius:7px;background:#0d1c31}.online-setup input:hover,.online-setup input:focus,.join-party input:focus{border-color:#8ba1bb}
.launch-dock fieldset{border:0;margin:0;padding:0;min-width:0}.stake-field legend{width:100%;display:flex;justify-content:space-between;align-items:center;padding:0;font-size:9px;margin-bottom:7px;letter-spacing:.8px}.stake-field legend>button{width:13px;height:13px;font-size:9px;border-color:#92a2b6;line-height:1;padding:0;color:#c5d0de}
.entry-options{gap:5px}.entry-options button{padding:6px 4px;gap:4px;background:#0d1c31;border:1px solid #405269;height:45px;border-radius:7px}.entry-options b{font-size:17px}.entry-options small{font-size:8px;white-space:nowrap;color:#9cb4ca}.entry-options .selected{background:#443f2f;border-color:var(--yellow);box-shadow:none}.entry-options button:hover{border-color:#c7b864}
.launch-summary{display:block;font-size:9px;letter-spacing:.4px;font-weight:800;color:#c7d3df;margin:0 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}
.primary-button{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(#ffe777,#ffd63e);color:#182b3c;border:1px solid #fff2a7;border-radius:9px;box-shadow:0 4px 0 #b58528,0 8px 18px #ffca2f15;font-size:25px;padding:12px 18px;letter-spacing:.4px;transition:transform .18s,box-shadow .18s}
.primary-button:hover:not(:disabled){background:linear-gradient(#ffed97,#ffe05b);box-shadow:0 4px 0 #b58528,0 8px 23px #ffca2f30;transform:translateY(-2px)}.primary-button:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px 0 #b58528}.primary-button:after{content:'';position:absolute;top:-50%;height:200%;width:28%;left:-45%;transform:skewX(-25deg);background:#fff6;pointer-events:none}.primary-button:hover:after{animation:buttonShine .65s ease-out}
.launch-dock .play-button{height:45px;padding:7px 14px;font-size:23px;margin:0;white-space:nowrap}.play-button b{font-size:25px}.launch-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #ffffff0d;margin-top:12px;min-height:43px}.no-wallet{margin:0;text-align:left;color:#9db1c6;font-size:10px}.server-status{display:flex;align-items:center;gap:6px;font-size:8px;font-weight:700;letter-spacing:.5px;color:#90d0b9;margin-left:auto;white-space:nowrap}.server-status:before{content:'';width:5px;height:5px;background:var(--teal);border-radius:50%}.server-status.offline{color:#ffc480}.server-status.offline:before{background:#ffc480}
.join-party{margin:0;display:flex;align-items:center;gap:6px;flex:none}.join-party input{width:138px;height:27px;border:1px solid #40526a;border-radius:5px;background:#101f33;font-size:10px;padding:4px 9px}.join-party button{height:27px;padding:3px 9px;font-size:12px;background:#2a4059;border-color:#4f6782;border-radius:5px;color:#ebf3f7}.join-party button:hover{background:#3a5872;border-color:#9bbcd1}
.launch-dock.training .launch-main{grid-template-columns:1.1fr 1.1fr 1.25fr}.footer{padding:9px 24px;font-size:8px;letter-spacing:1px;color:#8e9eb2;max-width:none}.footer b{font-size:11px;color:#adbbcc}.footer>span:last-child{color:#6f849d}
@keyframes panelIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes buttonShine{to{left:130%}}
@keyframes alertPulse{to{border-color:#ffa380;box-shadow:0 0 20px #ff844025}}
@keyframes feedIn{from{opacity:0;transform:translateX(15px)}to{opacity:1;transform:translateX(0)}}
@media(min-width:1000px){
  .lobby-layout{width:100%;max-width:1800px;grid-template-columns:minmax(0,1fr) 460px;grid-template-rows:minmax(0,1fr) auto;gap:14px;height:calc(100dvh - 96px);min-height:620px;padding:16px 24px 0;}
  .stage-shell{position:relative;top:auto;align-self:stretch;height:100%;min-height:0;max-height:none;}
  .setup-panel{padding:15px 17px;border-radius:14px;gap:11px;min-height:0;display:flex;flex-direction:column;justify-content:center;}
  .setup-panel h2{font-size:29px;margin:3px 0 0}.setup-panel fieldset{margin:0}.setup-panel legend{margin-bottom:7px}.setup-panel .character-field,.setup-panel .weapon-field{margin:0}.setup-panel .skin-field{margin:0}
  .character-roster{gap:7px}.character-card{padding-bottom:5px}.character-card img{height:51px;object-position:center 25%}.character-card b{line-height:16px;margin-top:3px}
  .identity-row{padding:7px 10px;min-height:61px}.weapon-options{gap:6px}.weapon-option{padding:0 0 4px;min-height:0;height:59px}.weapon-option img{height:39px}.weapon-option span{line-height:14px;margin-top:2px;font-size:11px}
  .weapon-readout{padding:8px 10px;margin-top:9px}.weapon-description{font-size:11px;min-height:28px;margin:3px 0 7px}.weapon-rhythm{padding-top:7px}.weapon-rhythm b{font-size:22px;margin-top:2px}
  #app[data-phase="inspect"] .stage-shell{height:100%;min-height:0}
}
@media(min-width:1000px) and (min-height:680px){.lobby-layout{min-height:0}}
@media(min-width:1400px){.lobby-layout{grid-template-columns:minmax(0,1fr) 510px;padding-right:30px;padding-left:30px;gap:18px}.setup-panel{padding:20px;gap:15px}.character-card img{height:64px}.weapon-option{height:67px}.weapon-option img{height:45px}.weapon-option span{font-size:12px}.weapon-readout{padding:12px}.weapon-rhythm b{font-size:25px}.panel-heading h2{font-size:33px}.weapon-description{font-size:12px}.identity-row{padding:10px 12px}.launch-dock{padding:15px 20px 0}.launch-bottom{min-height:45px}.launch-main{gap:28px}.launch-dock .play-button{font-size:26px}.no-wallet{font-size:11px}.server-status{font-size:9px}}
@media(min-width:1400px) and (max-height:790px){.setup-panel{gap:10px;padding:14px 18px}.character-card img{height:49px}.weapon-option{height:56px}.weapon-option img{height:36px}.weapon-readout{padding:8px 10px}.identity-row{padding:7px 10px}}
@media(min-width:1000px) and (min-height:900px){.setup-panel{gap:19px}.character-card img{height:85px}.weapon-option{height:78px}.weapon-option img{height:55px}.weapon-readout{padding:15px}.weapon-description{margin:7px 0 13px}.weapon-rhythm{padding-top:12px}.weapon-rhythm b{font-size:29px}.stage-heading{top:36px;left:36px}.stage-heading h1{font-size:94px}}
@media(min-width:1000px){#app[data-phase="lobby"] .setup-panel,#app[data-phase="lobby"] .launch-dock{animation:panelIn .35s ease-out both}#app[data-phase="lobby"] .launch-dock{animation-delay:.06s}}

/* Combat: fixed information clusters, leaving the centre of the arena clear. */
.hud-top{top:20px;left:24px;right:24px}.pause-btn{height:46px;width:46px;background:#102239ed;border:1px solid #617688;border-radius:10px;font-size:22px;box-shadow:0 4px 0 #071627;position:relative;display:flex;align-items:flex-start;justify-content:center;padding-top:2px}.pause-btn kbd{position:absolute;bottom:4px;font-size:7px;background:transparent;color:#afc4d7}
.timer-group{background:#102239f2;border:1px solid #577485;padding:9px 19px;gap:19px;border-radius:12px;box-shadow:0 4px 0 #09233366;min-height:54px}.timer-group>b{font-size:37px;letter-spacing:.6px;font-variant-numeric:tabular-nums}.hud-mode{font-size:9px;color:#a8c4d4;letter-spacing:.8px}.hud-mode:last-child{color:var(--yellow);font:800 19px var(--head)}.timer-group.urgent{animation:alertPulse .7s infinite alternate;border-color:#f4ad76}
.score-pill{background:#102239f2;border:1px solid #577485;border-radius:11px;gap:19px;padding:8px 15px;box-shadow:0 4px 0 #09233355}.score-pill>div{display:flex;flex-direction:column;gap:2px}.score-pill>div+div{border-left:1px solid #78909d40;padding-left:18px}.score-pill small{font:700 7px var(--body);letter-spacing:1px;color:#adc3d5}.score-pill span,.score-pill b{font:800 27px/1 var(--head);font-variant-numeric:tabular-nums}
.player-health{top:auto;bottom:24px;left:24px;display:grid;grid-template-columns:51px minmax(0,1fr) 30px;grid-template-rows:12px 22px 10px;gap:4px 10px;width:254px;height:83px;padding:12px;background:#102239f2;border:1px solid #5a7c8b;border-radius:12px;box-shadow:0 5px 0 #061a2955;text-shadow:none}.player-health>img{grid-column:1;grid-row:1/4;width:51px;height:56px;object-fit:cover;object-position:center 25%;border-radius:7px;border:1px solid #78959c66}.health-label{grid-column:2/4;grid-row:1;font-size:7px;font-weight:800;letter-spacing:1px;color:#9bb8c9}.rex-tag{grid-column:2/4;grid-row:2;font:800 21px/1 var(--head);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hp-track{grid-column:2;grid-row:3;width:100%;height:8px;border:0;background:#304b60;border-radius:3px;align-self:center}.hp-track i{background:linear-gradient(90deg,#8ada8f,#c7f786);transition:width .18s linear}.player-health>b{grid-column:3;grid-row:3;font:800 12px var(--head);align-self:center;text-align:right;color:#c6f2a2;font-variant-numeric:tabular-nums}.player-health.critical{border-color:#ff9980}.critical .hp-track i{background:#ff917e}.critical #hpText{color:#ffaf91}
.weapon-hud{top:auto;bottom:24px;left:290px;width:170px;height:83px;display:block;background:#102239f2;border:1px solid #5a7c8b;border-radius:12px;padding:10px 12px;box-shadow:0 5px 0 #061a2955;text-shadow:none}
.hud-weapon-portrait{position:absolute;right:9px;top:7px;width:58px;height:34px;object-fit:cover;border-radius:5px;opacity:.9;pointer-events:none}.weapon-hud>span{font-size:8px;letter-spacing:.8px;background:none;padding:0;color:#bcd1df;position:relative;z-index:1;max-width:86px}
.ammo-hud{width:auto;border:0;background:none!important;padding:0;margin-top:5px;border-radius:0}.ammo-numbers{gap:6px}.ammo-numbers strong{font-size:25px;line-height:.8;color:#fff6d9;font-variant-numeric:tabular-nums}.ammo-numbers span{font-size:14px}.ammo-track{margin:6px 0 4px;height:3px;background:#365268}.ammo-track i{transition:width .07s linear}.ammo-hud #ammoState{font-size:7px;letter-spacing:.5px;line-height:1}.weapon-hud:has(.reloading){border-color:var(--yellow);background:#30352bec}.ammo-hud.reloading .ammo-numbers strong{color:var(--yellow)}.ammo-hud.reloading #ammoState{color:var(--yellow)}
#weaponStatus{position:absolute;bottom:94px;left:0;padding:9px 10px;background:#241f3bed;border:1px solid #bd9eef;border-radius:8px;width:170px}.charge-track{width:100%;height:5px;border:0}.weapon-hud #chargeText{font-size:7px;white-space:nowrap;color:#e0c7ff}
.hud-bottom{bottom:24px}.ability-buttons{right:24px;gap:10px;align-items:flex-end}.ability{width:73px;height:83px;border-radius:12px;border-width:1px;box-shadow:0 5px 0 #061a2955;padding-bottom:10px}.ability>span{font-size:37px}.ability>small{font-size:8px;letter-spacing:.6px}.ability kbd{position:absolute;bottom:5px;font-size:7px;background:#0002;padding:1px 5px;z-index:1;color:inherit}.super-ability{background:#192942;border-color:#aa96d2}.super-ability.ready{background:#b192f0;border-color:#ebdcff;animation:pulseAbility 1.3s ease-in-out infinite alternate}.dash-ability{background:linear-gradient(#ffe576,#ffcf3e);border-color:#fff0a4}
.keyboard-hint{position:relative;left:65px;max-width:310px;line-height:1.8;font-size:9px;text-align:center;background:#112b3dbf;border:1px solid #b0d7cb24;color:#c5d7df;border-radius:8px;padding:7px 10px}.keyboard-hint>span{margin:0 5px}.keyboard-hint kbd{font-size:8px;background:#3c566b}
.kill-feed{right:24px;top:86px;gap:6px;font-size:10px}.kill-feed>div{background:#102239e8;border:1px solid #75929835;padding:7px 10px;border-radius:6px;animation:feedIn .18s ease-out}.kill-feed b{color:#ffe472;margin:0 7px}
#app[data-phase="playing"] .connection-badge,#app[data-phase="paused"] .connection-badge{top:81px;padding:4px 8px;background:#102239bc;border-color:#7fe2c143;color:#b3d9d1;border-radius:5px;font-size:8px;letter-spacing:.5px}
.announcement{font-size:72px;text-shadow:3px 4px #163346,0 8px 20px #001e3b66}.announcement small{font-size:12px;letter-spacing:1px}
.actor-label{font-size:10px}.actor-label.player{color:#fff5aa}.actor-label>div{height:5px}

/* Matching menus, readable matchmaking and a quiet entrance animation. */
dialog{background:linear-gradient(145deg,#20354d,#132237);border:1px solid #607389;border-radius:17px;padding:27px;box-shadow:0 30px 100px #03081599;width:min(500px,calc(100vw - 28px));scrollbar-width:thin;scrollbar-color:#698394 #17283e}
dialog[open]{animation:panelIn .2s ease-out}dialog::backdrop{background:#071322bc;backdrop-filter:blur(9px)}dialog h2{font-size:38px;letter-spacing:.2px}dialog p{font-size:13px;color:#b4c7da}dialog .eyebrow{font-size:9px;letter-spacing:1.6px;color:var(--teal)}dialog .primary-button{font-size:25px;padding:11px 16px;margin-top:18px}
.secondary-button{background:#293e56;border:1px solid #4f657e;font-size:12px;border-radius:8px;margin-top:12px}.secondary-button:hover{background:#35516c}.close-button:hover{color:white}.room-code{background:#101f33;border:1px dashed #6c98a0;padding:12px 14px}.room-code b{font-size:29px;color:var(--yellow)}.room-code button{border-radius:6px;padding:10px;font-size:9px}.room-roster{gap:8px;margin:17px 0}.room-roster li{background:#223850;border:1px solid #4b6178;min-height:63px;padding:10px}.room-roster img{width:38px;height:42px;object-position:center 25%}.room-roster strong{font-size:12px}.room-roster small{font-size:10px}.room-roster em{right:7px;top:5px;color:var(--teal);font-size:7px}.room-roster .bot{background:#122439;border-style:dashed;border-color:#344c65;opacity:.75}.room-roster .bot small{font-size:9px}.room-details{padding-top:10px;border-top:1px solid #3d526b;font-size:10px}.room-hint{font-size:11px!important}.online-help{font-size:11px!important;line-height:1.5}
.results-stats{background:#0d1d30;border:1px solid #3b536b;border-radius:10px;padding:15px 8px;gap:0}.results-stats>div+div{border-left:1px solid #334963}.results-stats b{font-size:33px}.results-stats small{font-size:10px}.scoreboard>div{padding:7px 8px;border-radius:5px;font-size:12px}.scoreboard>div.me{background:#ffdf5512}.balance-line{background:#0e2035;border:1px solid #354b621f}.toast{background:#f1f8e9;border:1px solid #ffffffbd;color:#16374a;border-radius:9px;font-size:12px;padding:11px 17px}.loading{background:#172d40eb}.loading-bolt{animation:pulseAbility 1.4s alternate infinite}.inspector-title h2{font-size:42px}.back-btn{background:#102239eb;border:1px solid #93bbc2;color:#e4f8e4}.inspector-roster{background:#102239e0;border-color:#aacabc55}.inspector-roster button{color:#bed4db}.inspector-roster button.selected{background:var(--yellow);color:#142b3c}.animation-buttons{background:#102239ed;border:1px solid #88b5bc66}.rig-toggle{background:#102239db;color:#d4e8e2;font-size:11px}.inspector-controls{bottom:20px}.animation-buttons button{padding:8px 12px}

/* Tablet and mobile keep large touch targets and a natural vertical flow. */
@media(max-width:999px){
  .topbar{padding:0 16px;gap:15px}.lobby-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1fr);padding:14px 16px 0;gap:14px}.stage-shell{position:relative;top:auto;height:100%;min-height:460px;max-height:none;align-self:stretch}.setup-panel{padding:16px;display:flex;flex-direction:column;gap:14px}.setup-panel .character-field,.setup-panel .weapon-field{margin:0}.setup-panel legend{margin-bottom:8px}.stage-heading{left:20px}.stage-heading h1{font-size:58px}.stage-heading p{font-size:11px}.stage-caption{left:12px;bottom:12px;gap:12px;padding:10px 12px}.stage-caption .caption-last,.stage-caption i:last-of-type,.stage-chip{display:none}.character-card img{height:52px}.weapon-option{min-height:62px;padding-bottom:4px}.weapon-option img{height:42px}.identity-row{padding:8px}.inspect-btn{margin-right:8px;padding:6px;font-size:9px}.fighter-summary b{font-size:21px}.fighter-summary .small-label{font-size:9px}.setup-panel .skin-field{width:83px;padding-left:8px}.skin-options{gap:5px}.skin-option i{width:18px;height:18px}.ready-stamp{display:none}.panel-heading h2{font-size:27px}.weapon-details{align-items:flex-start;flex-direction:column;gap:2px}.weapon-details span{text-align:left;max-width:none}.weapon-description{min-height:30px}.launch-main{grid-template-columns:1fr 1fr;gap:16px}.launch-dock.training .launch-main{grid-template-columns:1fr 1fr}.launch-action{grid-column:2;grid-row:2}.launch-dock.training .launch-action{grid-column:1/-1;grid-row:auto}.launch-dock.training .play-button{max-width:none}.launch-bottom{flex-wrap:wrap;padding:10px 0;gap:10px}.no-wallet{font-size:10px}.server-status{font-size:7px}.join-party{margin-left:auto}.launch-summary{font-size:9px}.launch-dock .play-button{height:45px}.weapon-rhythm{gap:8px}.weapon-rhythm>div+div{padding-left:8px}.weapon-rhythm b{font-size:22px}
}
@media(max-width:760px){
  .topbar{height:60px;gap:12px}.brand{font-size:20px;gap:7px}.bolt{width:31px;height:33px;font-size:37px}.nav-current{height:60px;font-size:9px;letter-spacing:.8px;margin:0;padding:2px 3px 0}.build-badge{display:none}.top-actions{gap:7px}.wallet{height:33px;padding:0 7px;gap:3px}.wallet>i{display:none}.wallet>span{font-size:24px}.wallet>b{font-size:13px}.icon-button{height:29px;width:29px;font-size:21px}.help-button{display:grid;font-size:13px}.demo-badge{display:none}.lobby-layout{grid-template-columns:1fr;padding:12px 12px 0;gap:12px}.stage-shell{min-height:0;height:270px;border-radius:13px}.stage-heading{top:17px;left:18px}.stage-heading .eyebrow{font-size:7px;padding:5px 7px}.stage-heading h1{font-size:48px;margin:13px 0 0}.stage-heading h1>span{font-size:24px}.stage-heading p{display:none}.stage-caption{bottom:13px;left:16px;gap:13px;padding:8px 12px}.stage-caption b{font-size:23px}.stage-caption>span{font-size:7px}.stage-caption>i{height:25px}.stage-caption .caption-last,.stage-caption i:last-of-type{display:block}.setup-panel{padding:16px;border-radius:13px;gap:13px;display:flex}.setup-panel h2{font-size:29px}.panel-heading .eyebrow{font-size:8px}.character-card img{height:62px}.character-card b{font-size:13px}.weapon-option{min-height:69px}.weapon-option img{height:45px}.weapon-option span{font-size:11px}.identity-row{padding:10px}.fighter-summary .small-label{font-size:10px}.fighter-summary small{font-size:10px}.inspect-btn{font-size:10px;margin-right:9px}.setup-panel .skin-field{width:92px;padding-left:10px}.skin-option{min-width:22px;min-height:28px}.skin-option i{width:20px;height:20px}.skin-options{gap:3px}.skin-field legend{font-size:8px}.weapon-details{flex-direction:row;align-items:center}.weapon-details b{font-size:21px}.weapon-details span{font-size:8px;max-width:126px;text-align:right}.weapon-description{font-size:12px;min-height:32px;margin-top:5px}.weapon-readout{padding:12px}.weapon-rhythm span{font-size:8px}.weapon-rhythm b{font-size:24px}.weapon-rhythm small{font-size:10px}.launch-dock{padding:15px 14px 0}.launch-main{gap:14px}.online-setup input{font-size:16px}.play-modes button{font-size:16px;min-height:47px}.play-modes button span{font-size:6px;letter-spacing:.2px}.launch-main .stake-field{grid-column:1/-1}.launch-action{grid-column:1/-1;grid-row:auto}.launch-dock.training .launch-main{grid-template-columns:1fr}.launch-dock .play-button{height:50px;font-size:25px}.launch-summary{font-size:10px;text-align:center;margin:0 0 9px}.control-label,.online-setup label,.stake-field legend{font-size:8px;letter-spacing:.6px}.entry-options button{height:47px}.entry-options b{font-size:19px}.entry-options small{font-size:10px}.launch-bottom{justify-content:center;gap:11px;padding:12px 0}.no-wallet{text-align:center;flex-basis:100%;font-size:9px}.server-status{margin:0;font-size:8px}.join-party{flex-basis:100%;margin:0;gap:7px}.join-party input{width:auto;flex:1;font-size:16px;height:38px;min-width:0}.join-party button{height:38px;font-size:15px;padding:5px 12px}.footer{padding:13px 16px;font-size:8px}.footer>span:last-child{display:none}
  .hud-top{left:12px;right:12px;top:max(12px,env(safe-area-inset-top))}.pause-btn{width:37px;height:41px;font-size:20px}.timer-group{padding:9px 12px;min-height:43px;gap:0}.timer-group>b{font-size:29px;min-width:45px}.hud-mode{display:none}.score-pill{padding:7px 9px;gap:9px}.score-pill>div+div{padding-left:9px}.score-pill small{font-size:5px;letter-spacing:.5px}.score-pill span,.score-pill b{font-size:21px}.player-health{top:70px;bottom:auto;left:12px;width:160px;height:60px;grid-template-columns:33px minmax(0,1fr) 20px;grid-template-rows:8px 15px 7px;gap:3px 6px;padding:8px;border-radius:9px}.player-health>img{width:33px;height:39px}.health-label{font-size:5px;letter-spacing:.6px}.rex-tag{font-size:16px}.player-health>b{font-size:10px}.hp-track{height:5px}.weapon-hud{top:138px;bottom:auto;left:12px;width:124px;height:76px;padding:9px;border-radius:9px}.hud-weapon-portrait{width:40px;height:27px;right:6px;top:6px}.weapon-hud>span{font-size:7px;max-width:75px}.ammo-numbers strong{font-size:22px}.ammo-numbers span{font-size:12px}.ammo-hud #ammoState{font-size:6px;letter-spacing:.3px}.ammo-track{margin:6px 0 5px}#weaponStatus{left:0;bottom:auto;top:83px;width:124px;padding:7px}.weapon-hud #chargeText{font-size:6px}.hud-bottom{bottom:max(24px,env(safe-area-inset-bottom))}.ability-buttons{right:27px;bottom:160px;gap:10px}.ability{width:55px;height:60px;padding-bottom:0;border-radius:14px}.ability kbd{display:none}.ability>span{font-size:30px}.ability>small{font-size:7px}.super-ability{width:55px;height:60px}.joystick{width:104px;height:104px;bottom:max(47px,env(safe-area-inset-bottom));border-width:1px}.move-stick{left:24px}.aim-stick{right:24px}.stick-thumb{left:29px;top:29px;width:44px;height:44px}.joystick>span{font-size:8px;letter-spacing:1px;bottom:-20px}.keyboard-hint{display:none}.kill-feed{right:12px;top:72px;font-size:8px;max-width:44%}.kill-feed>div{padding:5px 6px}.kill-feed b{margin:0 4px}#app[data-phase="playing"] .connection-badge,#app[data-phase="paused"] .connection-badge{top:60px;font-size:6px;padding:3px 6px}.announcement{top:28%;font-size:48px}.announcement small{font-size:10px;letter-spacing:.5px}.inspector-title{top:19px;left:18px}.inspector-title h2{font-size:32px}.inspector-title .eyebrow{font-size:9px}.inspector-roster{left:14px;right:14px;top:88px}.back-btn{top:19px;right:14px;padding:8px;font-size:8px}.animation-buttons button{padding:7px 8px;font-size:13px}.animation-buttons{max-width:325px}.inspector-controls{bottom:16px}.rig-toggle{font-size:10px}#app[data-phase="inspect"] .stage-shell{height:530px}.room-roster li{padding:9px 7px;gap:6px;min-height:58px}.room-roster img{width:29px;height:34px}.room-roster strong{font-size:10px}.room-roster small{font-size:8px}.room-roster .bot small{font-size:8px}.room-code b{font-size:25px}.room-code button{font-size:8px;padding:8px}.room-details{font-size:9px}dialog{padding:22px}dialog h2{font-size:33px}.rules li{font-size:12px;margin:15px 0}
}
@media(pointer:coarse){.joysticks{display:block}.keyboard-hint{display:none}.ability-buttons{right:27px;bottom:160px}.ability kbd{display:none}}
@media(max-height:550px) and (orientation:landscape){
  .hud-top{top:10px;left:13px;right:13px}.pause-btn{width:35px;height:38px}.timer-group{padding:6px 13px;min-height:38px;gap:12px}.timer-group>b{font-size:28px}.hud-mode{display:none}.score-pill{padding:6px 9px;gap:10px}.score-pill small{font-size:5px}.score-pill span,.score-pill b{font-size:21px}.player-health{top:59px;bottom:auto;left:13px;width:157px;height:58px;grid-template-columns:32px minmax(0,1fr) 20px;grid-template-rows:8px 14px 7px;gap:3px 6px;padding:8px}.player-health>img{width:32px;height:37px}.health-label{font-size:5px}.rex-tag{font-size:15px}.hp-track{height:5px}.player-health>b{font-size:10px}.weapon-hud{top:125px;bottom:auto;left:13px;width:122px;height:70px;padding:8px}.hud-weapon-portrait{width:39px;height:26px;top:6px;right:6px}.weapon-hud>span{font-size:7px}.ammo-numbers strong{font-size:20px}.ammo-hud #ammoState{font-size:6px}.ammo-track{margin:5px 0 4px}#weaponStatus{top:76px;bottom:auto;width:122px;padding:6px}.joysticks{display:block}.joystick{width:86px;height:86px;bottom:27px}.stick-thumb{top:20px;left:20px}.move-stick{left:24px}.aim-stick{right:24px}.joystick>span{font-size:7px;bottom:-17px}.keyboard-hint{display:none}.ability-buttons{right:25px;bottom:104px}.ability,.super-ability{width:44px;height:46px;padding:0;border-radius:11px}.ability>span{font-size:26px}.ability>small{font-size:6px}.ability kbd{display:none}.announcement{font-size:40px;top:25%}.announcement small{font-size:9px}.kill-feed{top:61px;font-size:8px}#app[data-phase="playing"] .connection-badge,#app[data-phase="paused"] .connection-badge{top:54px;font-size:6px}.weapon-hud #chargeText{font-size:6px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Laptop heights: reserve space for the launch dock without clipping equipment. */
.character-roster{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}
.character-card b{font-size:11px;letter-spacing:.2px}
.new-skin{position:absolute;top:5px;left:5px;width:5px;height:5px;background:var(--teal);border-radius:50%;box-shadow:0 0 7px #7aebc680}
.inspector-roster{flex-wrap:wrap;max-width:410px}.inspector-roster button{font-size:12px;padding:7px 9px}
@media(min-width:1000px){.inspector-roster{display:grid;grid-template-columns:repeat(2,1fr);max-width:156px;top:166px;left:28px;gap:4px}.inspector-roster button{padding:8px 10px}}
@media(max-width:999px){.character-roster{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.character-card b{font-size:13px}.character-card img{height:54px}}
@media(max-width:760px){.character-roster{grid-template-columns:repeat(4,minmax(0,1fr))}.character-card img{height:62px}.inspector-roster{max-width:none}.inspector-roster button{flex:1 0 20%;font-size:11px}}
@media(min-width:1000px) and (max-height:820px){
  .setup-panel{padding:11px 15px;gap:8px;justify-content:center}
  .panel-heading .eyebrow{display:none}.setup-panel .panel-heading h2{font-size:27px;line-height:1;margin:0}.panel-heading{min-height:28px}
  .character-roster{gap:5px}.character-card img{height:39px}.character-card b{font-size:12px;line-height:14px;margin-top:2px}.character-card{padding-bottom:4px}
  .identity-row{min-height:47px;padding:6px 9px}.fighter-summary b{font-size:20px}.fighter-summary .small-label{font-size:9px;margin-top:2px}.fighter-summary small{display:none}.inspect-btn{padding:6px;font-size:9px}.skin-field legend{font-size:7px;margin-bottom:5px}.skin-option i{width:18px;height:18px}.skin-option{min-height:20px}
  .weapon-option{height:48px;padding-bottom:3px}.weapon-option img{height:31px}.weapon-option span{font-size:10px;line-height:12px;margin-top:1px}.weapon-options{gap:5px}
  .weapon-readout{padding:7px 10px;margin-top:7px}.weapon-details b{font-size:19px}.weapon-details span{font-size:8px}.weapon-description{font-size:10px;line-height:1.3;min-height:26px;margin:3px 0 5px}.weapon-rhythm{padding-top:5px}.weapon-rhythm span{font-size:7px}.weapon-rhythm b{font-size:21px;line-height:1;margin-top:4px}.weapon-rhythm small{font-size:9px}
}

/* Minimal combat HUD. All combat state lives in one small, fixed cluster. */
.powerup-hud{position:absolute;top:calc(100% + 6px);left:0;display:flex;align-items:center;gap:5px;height:27px;min-width:109px;padding:4px 7px 6px;border:1px solid var(--bonus-color);border-radius:7px;background:#102239ee;color:var(--bonus-color);overflow:hidden;animation:bonus-in .24s ease-out;pointer-events:none}
.powerup-hud[hidden]{display:none}.powerup-hud>span:first-child{font-size:17px;line-height:1}.powerup-hud>b{font:800 9px var(--body);letter-spacing:.25px}.powerup-hud>span:nth-child(3){margin-left:auto;font:800 10px var(--body);color:#fff}.powerup-hud>i{position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--bonus-color);transform-origin:left;transition:transform .08s linear}
#app[data-phase="playing"]:has(#powerupHud:not([hidden])) .connection-badge:not(.problem){visibility:hidden}
@keyframes bonus-in{from{opacity:0;transform:translateY(-6px) scale(.92)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.powerup-hud{animation:none}.powerup-hud>i{transition:none}}
.announcement small{text-shadow:0 1px 3px #102239}
.hud-mode{display:none!important}
.timer-group{gap:0;padding:7px 16px;min-height:46px;border-radius:10px}.timer-group>b{font-size:34px;min-width:56px}
.score-pill{padding:9px 13px;min-height:46px;justify-content:center}.score-pill>div+div,.score-pill small{display:none}.score-pill span{font-size:26px}
.combat-status{position:absolute;top:76px;left:50%;transform:translateX(-50%);width:238px;height:42px;display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#102239ee;border:1px solid #83a7aa66;border-radius:9px;box-shadow:0 3px 0 #061a2933;padding:6px 10px;pointer-events:none;text-shadow:none}
.combat-status .player-health{position:relative;inset:auto;width:auto;height:auto;padding:0;border:0!important;box-shadow:none;background:none;border-radius:0;display:grid;grid-template-columns:1fr auto;grid-template-rows:14px 4px;gap:4px 6px;align-content:center;text-shadow:none}
.combat-status .player-health>img,.combat-status .health-label,.combat-status .rex-tag{display:none}
.combat-status .player-health:before{content:'HP';grid-row:1;grid-column:1;font:700 10px var(--body);letter-spacing:.7px;color:#c0d1dc;align-self:center}
.combat-status .hp-track{grid-row:2;grid-column:1/3;width:100%;height:4px;background:#335469;border-radius:3px}.combat-status #hpText{grid-row:1;grid-column:2;font:800 16px/1 var(--head);color:#d3f7b0}
.combat-status .weapon-hud{position:relative;inset:auto;width:auto;height:auto;padding:0 0 0 11px;box-shadow:none;border:0;border-left:1px solid #78909d3f;border-radius:0;background:none!important;display:block}
.combat-status .weapon-hud>span,.combat-status .hud-weapon-portrait{display:none}
.combat-status .ammo-hud{position:relative;margin:0;padding:0;width:auto;height:100%;display:grid;grid-template-columns:1fr auto;grid-template-rows:14px 4px;align-content:center;gap:4px 5px}
.combat-status .ammo-numbers{grid-row:1;grid-column:2;gap:3px;align-items:baseline;align-self:center}.combat-status .ammo-numbers strong{font-size:17px;line-height:1}.combat-status .ammo-numbers span{font:600 9px var(--head);color:#a6c0d2;white-space:nowrap}
.combat-status .ammo-track{grid-row:2;grid-column:1/3;margin:0;height:4px}.combat-status #ammoState{grid-row:1;grid-column:1;align-self:center;font-size:8px;letter-spacing:.1px;line-height:1.2;color:#c0d1dc}
.combat-status:has(.reloading){border-color:#ffdf5580}.combat-status:has(.critical){border-color:#ff9980}.combat-status .critical #hpText{color:#ffaf91}
.combat-status #weaponStatus{position:absolute;top:39px;bottom:auto;left:-11px;width:109px;padding:5px 7px;border-radius:6px;box-shadow:none}.combat-status .charge-track{height:3px}.combat-status #chargeText{font-size:6px;line-height:1;margin-top:4px}
.ability,.super-ability{width:58px;height:62px;padding-bottom:10px;border-radius:12px}.ability>span{font-size:29px}.ability>small{font-size:7px}.ability kbd{font-size:6px;bottom:4px}.ability-buttons{right:24px;bottom:0;gap:9px}
.keyboard-hint{left:0;max-width:330px;padding:6px 10px;font-size:9px;transition:opacity .25s;opacity:0;visibility:hidden}.show-controls .keyboard-hint{opacity:1;visibility:visible}
.kill-feed{font-size:9px;top:79px}.kill-feed>div{padding:5px 8px}.kill-feed>div:nth-child(n+3){display:none}
#app[data-phase="playing"] .connection-badge,#app[data-phase="paused"] .connection-badge{top:120px;font-size:7px;padding:3px 6px;background:#10223999;border:0}
@media(max-width:760px),(pointer:coarse),(max-height:550px) and (orientation:landscape){
  .hud-top{top:max(10px,env(safe-area-inset-top));left:12px;right:12px}.pause-btn{width:40px;height:40px;font-size:21px;padding:3px;align-items:center;border-radius:8px}.pause-btn kbd{display:none}
  .timer-group{padding:6px 10px;min-height:34px;border-radius:8px}.timer-group>b{font-size:27px;min-width:42px}.score-pill{padding:6px 10px;min-height:34px;border-radius:8px}.score-pill span{font-size:23px}
  .combat-status{top:calc(max(10px,env(safe-area-inset-top)) + 43px);width:224px;height:36px;gap:10px;padding:4px 8px;border-radius:7px;background:#102239df;box-shadow:none}
  .combat-status .player-health{grid-template-rows:12px 3px;gap:3px 5px}.combat-status .player-health:before{font-size:9px;letter-spacing:.5px}.combat-status #hpText{font-size:16px}.combat-status .hp-track{height:3px}
  .combat-status .weapon-hud{padding-left:9px}.combat-status .ammo-hud{grid-template-rows:12px 3px;gap:3px 4px}.combat-status .ammo-numbers strong{font-size:16px}.combat-status .ammo-numbers span{font-size:9px}.combat-status #ammoState{font-size:8px;letter-spacing:0}.combat-status .ammo-track{height:3px}.combat-status #weaponStatus{top:35px;left:-9px;width:110px;padding:5px 7px}
  .kill-feed,.keyboard-hint{display:none!important}.actor-label b{display:none}.actor-label>div{height:4px;width:36px;border-color:#102e3a8c}.actor-label.player>div{width:40px}
  .joysticks{display:block}.joystick{bottom:max(23px,env(safe-area-inset-bottom));width:92px;height:92px;border:1px solid #edfde085;background:#24495545;box-shadow:inset 0 0 15px #16443c15,0 3px 12px #18394b18}.move-stick{left:18px}.aim-stick{right:18px;background:#77692e30;border-color:#ffe777b3}.stick-thumb{width:42px;height:42px;top:24px;left:24px;font-size:26px}.joystick>span{font-size:9px;bottom:-16px;letter-spacing:.5px}
  .hud-bottom{bottom:max(23px,env(safe-area-inset-bottom));height:0}.ability-buttons{left:50%;right:auto;bottom:0;transform:translateX(-50%);gap:8px}.ability,.super-ability{width:45px;height:47px;min-width:0;border-radius:11px;padding:0;box-shadow:0 3px 0 #1b4f5544}.ability>span{font-size:24px}.ability>small{font-size:8px;letter-spacing:0;margin-top:1px}.ability kbd{display:none}
  #app[data-phase="playing"] .connection-badge:not(.problem),#app[data-phase="paused"] .connection-badge:not(.problem){display:none}
  #app[data-phase="playing"] .connection-badge.problem,#app[data-phase="paused"] .connection-badge.problem{top:94px;font-size:8px;padding:4px 8px;background:#453b20ed}
  .announcement{top:24%;font-size:42px}.announcement small{font-size:10px;max-width:250px;margin:9px auto 0;text-shadow:0 1px 3px #102239}
}
@media(max-width:360px){.joystick{width:82px;height:82px}.stick-thumb{top:19px;left:19px}.move-stick{left:12px}.aim-stick{right:12px}.ability-buttons{gap:6px}.ability,.super-ability{width:44px;height:46px}.combat-status{width:214px}}
@media(max-height:550px) and (orientation:landscape){
  .combat-status{top:52px;width:224px;height:36px;padding:4px 8px}.joystick{width:82px;height:82px;bottom:20px}.stick-thumb{left:19px;top:19px}.move-stick{left:max(20px,env(safe-area-inset-left))}.aim-stick{right:max(20px,env(safe-area-inset-right))}.hud-bottom{bottom:20px}.ability-buttons{left:auto;right:116px;transform:none;bottom:0;gap:7px}.ability,.super-ability{width:44px;height:46px}.announcement{font-size:35px}.announcement small{font-size:9px}
}

/* Two aiming presentations share the same manual direction and game rules. */
.aim-range{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}
.range-shadow{fill:none;stroke:#123442;stroke-opacity:.35;stroke-width:5;stroke-linejoin:round}
.range-area{fill:var(--aim-ink);fill-opacity:.16;stroke:var(--aim-ink);stroke-opacity:.92;stroke-width:2;stroke-linejoin:round}
.range-arc{fill:none;stroke:var(--aim-ink);stroke-width:2.5;stroke-dasharray:7 6;stroke-linecap:round;filter:drop-shadow(0 1px 1px #102a45)}
.aim-guide[data-style="range"] .aim-reticle>svg{width:26px;height:26px;left:-13px;top:-13px}
.aim-guide.is-reloading .aim-range{opacity:.4}.aim-guide.is-reloading .range-area{stroke-dasharray:5 5}
.aim-settings{padding:0;border:0;margin:20px 0 6px;min-width:0}.aim-settings legend{font-size:10px;letter-spacing:1.4px;font-weight:800;color:#b6c8d7;margin-bottom:12px}
.aim-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.aim-options button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;padding:13px;border:1px solid #4d6479;border-radius:12px;background:#192d42;text-align:left;color:#c5d4e1;transition:border-color .15s,background .15s}
.aim-options button[aria-pressed="true"]{border-color:var(--yellow);background:#3b4035;color:#ffea95;box-shadow:inset 0 0 0 1px #ffda4a40}.aim-options svg{height:39px;width:100%;margin:1px 0 7px}.aim-options b{font:800 22px/1 var(--head)}.aim-options small{font-size:11px;line-height:1.4;color:#b7c8d5}.aim-options button[aria-pressed="true"] small{color:#e6dfbf}
dialog .settings-hint{font-size:11px;margin:10px 0 0;color:#9fb4c7}.settings-button{font-size:20px}
@media(max-width:420px){.topbar{gap:8px;padding-left:12px;padding-right:12px}.topbar .nav-current{display:none}.aim-options button{padding:11px}.aim-options b{font-size:21px}.aim-options small{font-size:10px}.aim-guide[data-style="range"] .aim-reticle>svg{width:23px;height:23px;left:-11.5px;top:-11.5px}}
@media(prefers-reduced-motion:reduce){.aim-options button{transition:none}}

/* Thumb controls: generous targets, a floating movement base and split abilities. */
@media(max-width:760px),(pointer:coarse),(max-height:550px) and (orientation:landscape){
  .joystick{width:104px;height:104px;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 16px);z-index:2;transition:background .12s,border-color .12s,box-shadow .12s}
  .move-stick{left:max(24px,env(safe-area-inset-left))}.aim-stick{right:max(24px,env(safe-area-inset-right))}
  .aim-stick:before{content:'';position:absolute;inset:-16px;border-radius:50%}
  .stick-thumb{width:48px;height:48px;left:27px;top:27px;pointer-events:none}
  .joystick>span{bottom:-16px;font-size:7px;letter-spacing:.15px;white-space:nowrap;left:-16px;right:-16px;pointer-events:none}
  .move-stick.floating{border-color:#c8fff3;background:#3c827c55;box-shadow:0 0 0 5px #86efd411,0 4px 18px #081b3540}
  .aim-stick.shot-ready{border-color:#fff6bb;background:#dca83d40;box-shadow:0 0 0 4px #ffdf4a20}
  .aim-stick.cancel-shot{border-color:#ff958b;background:#b6384945;box-shadow:0 0 0 4px #ff697b18}
  .aim-stick.cancel-shot .stick-thumb{background:#ad354b;color:#ffe5e2;border-color:#ffaca6}
  .aim-stick.cancel-shot>span{color:#ffb9b2;font-weight:900}
  .hud-bottom{z-index:4}
  .ability-buttons{left:0;right:0;bottom:0;transform:none;display:block;pointer-events:none}
  .ability-buttons .ability{position:absolute;width:56px;height:56px;bottom:144px;border-radius:17px;pointer-events:auto;padding:0}
  .ability-buttons #dashBtn{left:calc(max(24px,env(safe-area-inset-left)) + 24px)}
  .ability-buttons #superBtn{right:calc(max(24px,env(safe-area-inset-right)) + 24px)}
  .ability>span{font-size:27px}.ability>small{font-size:8px}
}

/* Compact map selection lives in the lobby preview, never over combat. */
.map-picker{position:absolute;z-index:7;bottom:14px;left:16px;right:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.map-card{position:relative;overflow:hidden;border:2px solid #ffffff40;border-radius:10px;background:#142a3dee;padding:0;color:#fff;cursor:pointer;text-align:left;transition:transform .18s,border-color .18s,box-shadow .18s;min-width:0;box-shadow:0 4px 12px #09233122}
.map-card img{width:100%;height:57px;object-fit:cover;display:block;opacity:.74;transition:opacity .2s}
.map-card span{display:block;padding:7px 8px;font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-card i{display:none;position:absolute;right:5px;top:5px;background:var(--map-accent);color:#102239;border-radius:50%;height:18px;width:18px;text-align:center;font-size:12px;font-style:normal;font-weight:900}
.map-card.selected{border-color:var(--map-accent);box-shadow:0 0 0 1px var(--map-accent),0 5px 16px #09233133}.map-card.selected i{display:block}.map-card.selected img,.map-card:hover img{opacity:1}.map-card:hover{transform:translateY(-2px)}.map-card:focus-visible{outline:3px solid #fff;outline-offset:3px}.map-card:disabled{cursor:wait}.map-card.loading-map{animation:map-loading .7s ease-in-out infinite alternate}
@keyframes map-loading{to{opacity:.5}}
#app[data-phase="lobby"] .stage-caption{bottom:116px;pointer-events:none}
.night-map .stage-heading,.night-map .stage-heading .eyebrow,.night-map .stage-heading p,.night-map .stage-caption{color:#f2edff}.night-map .stage-heading h1{color:#f2edff;text-shadow:0 2px 0 #343c66}.night-map .stage-heading h1>span{color:#f29be9}
@media(max-width:760px){.map-picker{left:10px;right:10px;bottom:10px;gap:5px}.map-card{border-radius:7px}.map-card img{height:41px}.map-card span{font-size:8px;padding:6px 4px}.map-card i{width:14px;height:14px;font-size:10px;right:3px;top:3px}#app[data-phase="lobby"] .stage-caption{bottom:90px}.stage-heading p{max-width:230px}}
@media(prefers-reduced-motion:reduce){.map-card,.map-card img{transition:none}.map-card.loading-map{animation:none}}
#app[data-phase="lobby"] .stage-caption,#app[data-phase="lobby"] .stage-chip{display:none}
#app[data-phase="lobby"] .stage-heading h1{font-size:clamp(35px,4.6vw,64px)}
#app[data-phase="lobby"] .stage-heading p{max-width:240px;line-height:1.5}

/* Compact menus: content determines height; panels never overlap the launch controls. */
.stage-heading h1{margin:0}
.weapon-rhythm{margin-top:8px}
.room-hint:empty,.room-roster em:empty{display:none}
.control-guide{margin:18px 0 0;display:grid;gap:14px}
.control-guide>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding-bottom:14px;border-bottom:1px solid #60738940}
.control-guide>div:last-child{border-bottom:0;padding-bottom:0}
.control-guide dt{font-weight:800;color:var(--cream);font-size:13px}
.control-guide dd{margin:0;color:#bad0d9;font-size:13px;line-height:1.6}
.control-guide kbd{font-size:11px;background:#102239;padding:2px 4px;border-radius:3px}
@media(min-width:1000px){
  .lobby-layout{height:auto;min-height:calc(100dvh - 64px);grid-template-rows:minmax(min-content,1fr) auto;padding-bottom:16px}
  .setup-panel{justify-content:flex-start;min-height:min-content}
  .setup-panel>*{flex-shrink:0}
  .setup-panel .panel-heading h2{margin:0}
}
@media(max-width:999px){.lobby-layout{padding-bottom:16px}}
@media(max-width:480px){.control-guide>div{grid-template-columns:1fr;gap:5px}}
/* Audio controls stay in settings, leaving the combat HUD clear. */
.audio-settings{border:0;padding:12px 0 0;margin:0;display:grid;gap:8px;grid-template-columns:1fr auto}
.audio-settings legend{font-size:11px;font-weight:900;letter-spacing:.12em;color:#9cb8c8}
.audio-settings label{display:flex;justify-content:space-between;gap:20px;font-size:13px;font-weight:700;grid-column:1/-1}
.audio-settings output{color:#9cb8c8;font-variant-numeric:tabular-nums}
.audio-settings input[type=range]{grid-column:1/-1;width:100%;height:28px;margin:0;accent-color:#ffda4a;touch-action:pan-x}
.audio-switch{grid-column:1/-1;min-height:36px;border:1px solid #365361;border-radius:10px;background:#19313e;color:#e5f3fb;font-weight:800}
.audio-switch[aria-pressed=true]{color:#ffda4a;border-color:#8d7f42}

/* Net funded pool: one compact line, no extra panel over the action. */
.prize-hud{position:absolute;z-index:3;top:123px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;white-space:nowrap;padding:5px 7px 5px 10px;border:1px solid #e6c76c66;border-radius:8px;background:#14232bed;box-shadow:0 3px 12px #06141d30;pointer-events:auto;animation:prize-enter .28s ease-out}
.prize-hud[hidden]{display:none}.prize-hud>span{font:800 8px var(--body);color:#d1c595;letter-spacing:.45px}.prize-hud>strong{font:800 17px/1 var(--head);color:#fff0b0}.prize-hud>b{padding:4px 6px;border-radius:5px;background:#ffe178;color:#202820;font:900 13px/1 var(--head)}
.hud:has(.prize-hud:not([hidden])) .powerup-hud{top:calc(100% + 42px)}
#app:has(.prize-hud:not([hidden])) .connection-badge:not(.problem){visibility:hidden}
#app:has(.prize-hud:not([hidden])) .connection-badge.problem{visibility:visible;top:164px}
@media(max-width:760px),(pointer:coarse){#app:has(.prize-hud:not([hidden])) .connection-badge.problem{top:calc(max(10px,env(safe-area-inset-top)) + 128px)}}
@keyframes prize-enter{from{opacity:0;transform:translate(-50%,-5px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:760px),(pointer:coarse),(max-height:550px) and (orientation:landscape){.prize-hud{top:calc(max(10px,env(safe-area-inset-top)) + 95px);padding:4px 5px 4px 8px;gap:5px}.prize-hud>span{font-size:7px}.prize-hud>strong{font-size:15px}.prize-hud>b{font-size:12px;padding:3px 5px}}
@media(prefers-reduced-motion:reduce){.prize-hud{animation:none}}
.hud:has(.prize-hud:not([hidden])) .combat-status #weaponStatus{top:79px}
.hud:has(.prize-hud:not([hidden])) .powerup-hud{top:calc(100% + 46px)}
#app:has(.prize-hud:not([hidden])) .connection-badge.problem{top:203px}
@media(max-width:760px),(pointer:coarse),(max-height:550px) and (orientation:landscape){.hud:has(.prize-hud:not([hidden])) .combat-status #weaponStatus{top:75px}#app:has(.prize-hud:not([hidden])) .connection-badge.problem{top:calc(max(10px,env(safe-area-inset-top)) + 165px)}}
