@font-face{font-family:'Baloo 2';font-style:normal;font-weight:800;font-display:swap;src:url('./assets/font-2.ttf') format('truetype')}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:700;font-display:swap;src:url('./assets/font-1.ttf') format('truetype')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:400;font-display:swap;src:url('./assets/font-3.ttf') format('truetype')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:600;font-display:swap;src:url('./assets/font-4.ttf') format('truetype')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:700;font-display:swap;src:url('./assets/font-5.ttf') format('truetype')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:800;font-display:swap;src:url('./assets/font-6.ttf') format('truetype')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:900;font-display:swap;src:url('./assets/font-7.ttf') format('truetype')}
:root{--ink:#092f42;--ink2:#144858;--muted:#91b5bd;--mint:#4aead1;--coral:#ff8a75;--paper:#f3fbf8;--line:rgba(144,211,217,.17);font-family:'Nunito Sans',sans-serif;color:var(--paper);background:#082d3d;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 32% 22%,#174f5b 0%,#0a3445 43%,#072738 100%);min-height:100vh}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{opacity:.42;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ffd15e;outline-offset:4px}button{transition:transform .14s,background .14s,opacity .14s}button:hover:not(:disabled){filter:brightness(1.08)}button:active:not(:disabled){transform:translateY(2px)}a{color:inherit;text-decoration:none}.hidden{display:none!important}.app-shell{max-width:1640px;margin:auto;padding:0 40px 22px}.topbar{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:28px}.brand{display:flex;gap:12px;align-items:center;font-family:'Baloo 2',sans-serif;font-weight:800;font-size:27px;line-height:.9;letter-spacing:-.5px;transform:rotate(-2deg)}.brand-mark{background:var(--mint);color:var(--ink);font-family:'Baloo 2',sans-serif;font-size:46px;display:grid;place-items:center;border-radius:17px 17px 21px 9px;width:48px;height:51px;box-shadow:0 4px 0 #167d7e}.brand-small{display:block;font:800 12px 'Nunito Sans',sans-serif;letter-spacing:6px;padding-top:7px;padding-left:3px}.map-heading{margin-left:72px}.eyebrow{display:block;font-size:11px;letter-spacing:2.3px;font-weight:900;color:#93bec4}.map-heading h1{font-family:'Baloo 2',sans-serif;font-size:31px;letter-spacing:-1px;line-height:1.1;margin:6px 0 0;display:flex;align-items:center;gap:12px}.map-tag{font:800 12px 'Nunito Sans',sans-serif;color:var(--mint);padding:5px 7px;border:1px solid #37606a;border-radius:5px;letter-spacing:1px}.top-actions{display:flex;gap:10px;align-items:center}.connection-badge{font-size:12px;font-weight:800;color:#bcd8d9;margin-right:9px;white-space:nowrap}.connection-badge i,.live-dot{display:inline-block;width:7px;height:7px;background:var(--mint);border-radius:50%;margin-right:7px;box-shadow:0 0 10px #48e4c433}.icon-button{width:38px;height:38px;border:1px solid #3c6471;color:#d5eee9;border-radius:11px;background:#173f4e;font-size:22px;font-weight:800;display:flex;gap:2px;align-items:center;justify-content:center}.icon-button span{font-size:8px;align-self:end;margin-bottom:6px}.match-bar{height:65px;display:flex;align-items:center;gap:20px;font-size:11px;font-weight:900;letter-spacing:1.3px}.round-label{display:flex;align-items:center}.round-clock{font-size:12px;color:var(--mint);border-left:1px solid #396170;padding-left:20px;letter-spacing:1px}.mode-label{margin-left:auto;color:#91b5bd;font-size:10px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:stretch}.arena-wrap{position:relative;background:#50cad2;border:5px solid #477784;border-radius:27px;box-shadow:0 12px 0 #051e2d,0 18px 40px #02192455;overflow:hidden;aspect-ratio:1.49}.arena-wrap canvas{display:block;width:100%;height:100%;outline:none}.arena-caption{position:absolute;left:28px;bottom:14px;right:28px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;color:#12596c;font-size:9px;font-weight:900;letter-spacing:1.3px}.arena-caption span:last-child{font-size:10px;letter-spacing:0;font-weight:700}.lobby-panel{border-radius:23px;background:#103e4e;border:1px solid #34606b;padding:24px;display:flex;flex-direction:column;box-shadow:0 8px 25px #041e2c22}.lobby-title h2{font-family:'Baloo 2',sans-serif;font-weight:800;line-height:.98;font-size:46px;letter-spacing:-1.7px;margin:12px 0 13px}.lobby-title em{font-style:normal;color:var(--mint)}.lobby-title p{font-size:13px;line-height:1.6;color:#a4c8cc;margin:0 0 22px}.lobby-panel label{display:block;font-size:11px;font-weight:800;letter-spacing:.1px;margin-bottom:7px;color:#d6e8e8}input{min-width:0;width:100%;border:1px solid #4b6c76;background:#123440;border-radius:9px;padding:11px 12px;font-size:13px;font-weight:700;color:#effdf9}input::placeholder{color:#7a9da7}.mode-picker{padding:0;border:0;margin:14px 0 17px;display:flex;gap:5px}.mode-picker legend{font-size:11px;font-weight:800;margin-bottom:7px;color:#d6e8e8}.mode-picker label{flex:1;margin:0}.mode-picker input{position:absolute;width:1px;height:1px;opacity:0}.mode-picker span{display:block;text-align:center;padding:9px 0;border:1px solid #416675;border-radius:8px;font-size:11px;font-weight:800;color:#acc6cc;background:#173d4d}.mode-picker input:checked+span{border-color:#58d4c2;color:var(--mint);background:#1e5d62}.mode-picker input:focus-visible+span{outline:3px solid #ffd15e}.primary-button{background:var(--mint);color:var(--ink);border-radius:11px;font-size:14px;font-weight:900;padding:14px 16px;width:100%;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 0 #197e78}.primary-button span{font-size:20px;line-height:1}.join-row{display:flex;gap:8px;margin-top:15px}.join-row input{font-size:11px;letter-spacing:1.7px;text-transform:uppercase}.secondary-button{background:#234f60;border:1px solid #4d7884;color:#e5f6f2;border-radius:9px;font-weight:800;font-size:12px;padding:10px 15px}.or{display:flex;align-items:center;gap:10px;color:#82a7b3;font-size:9px;letter-spacing:1.1px;font-weight:800;margin:20px 0 13px}.or span{flex:1;height:1px;background:#315664}.practice-button{display:flex;justify-content:space-between;width:100%;color:#d5f7ed;background:transparent;font-size:13px;font-weight:800;padding:0 1px}.practice-button span{font-size:20px}.lobby-status{font-size:12px;line-height:1.5;color:#ffd88d;margin:10px 0 0}.lobby-foot{display:flex;gap:8px;align-items:center;border-top:1px solid #315461;padding-top:15px;margin-top:auto;font-size:10px;color:#83aab5}.small-ring{border:2px solid #5c9c9e;width:11px;height:11px;border-radius:50%}.player-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:29px}.player-card{display:flex;align-items:center;gap:11px;background:#103c4b;border:1px solid #2f5662;border-radius:13px;padding:12px 15px;position:relative;min-width:0}.player-card.local{border-color:#408b8a;background:#164f58}.player-card.out{opacity:.45}.player-number{height:37px;width:37px;border-radius:11px;background:var(--player-color);color:#103649;display:grid;place-items:center;font:800 24px 'Baloo 2',sans-serif;box-shadow:inset 0 -3px 0 #0002;flex-shrink:0}.player-info{flex:1;min-width:0}.player-name{font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-status{font-size:9px;font-weight:800;color:#94b5bb;letter-spacing:.8px;margin-top:3px;text-transform:uppercase}.player-stats{display:flex;gap:8px;color:#a9d4d2;font-size:12px;font-weight:800;white-space:nowrap}.player-stats span{display:inline-flex;align-items:center;gap:3px}.stat-icon{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7}.control-bar{display:flex;align-items:center;justify-content:space-between;padding:20px 0 0;gap:15px;font-size:10px;color:#93b7bf}.controls{display:flex;gap:20px}.controls>span{display:flex;align-items:center;gap:6px;white-space:nowrap}kbd{font:800 10px 'Nunito Sans',sans-serif;border:1px solid #496b78;border-bottom-width:2px;border-radius:5px;color:#c2ddd9;padding:4px 6px}.alternative{font-size:10px;color:#668994}.tip{color:#89aaaf;font-size:11px}.is-playing .game-layout{display:block;max-width:1160px;margin:0 auto}.is-playing .arena-wrap{aspect-ratio:1.64;max-height:calc(100vh - 300px);min-height:360px}.is-playing .lobby-panel{display:none}.is-playing .arena-caption{bottom:12px}.is-playing .player-strip{max-width:1160px;margin-left:auto;margin-right:auto}.is-playing .control-bar{max-width:1160px;margin:auto}.quiet-button{color:#afd0d2;background:transparent;font-size:11px;font-weight:800;padding:4px 0}.quiet-button span{margin-left:8px}.round-banner{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:350px;background:#0b354cf2;border:2px solid #7ad9cb;border-radius:24px;padding:30px;text-align:center;box-shadow:0 15px 50px #06304466;backdrop-filter:blur(15px)}.round-banner h2{font-family:'Baloo 2',sans-serif;font-size:38px;line-height:1.05;letter-spacing:-1px;margin:17px 0 10px;color:#f3fff6}.round-banner p{font-size:14px;color:#bdd8d8;margin-bottom:22px}.round-banner .eyebrow{color:#75e8d6}.bubble-notice{position:absolute;bottom:45px;left:50%;transform:translateX(-50%);padding:12px 19px;border:2px solid #9cffff;border-radius:14px;background:#154d68f5;color:#f0ffff;font-weight:900;font-size:14px;white-space:nowrap}.countdown{position:absolute;inset:0;display:grid;place-items:center;font-family:'Baloo 2',sans-serif;font-size:110px;pointer-events:none;color:white;text-shadow:0 7px 0 #16758a,0 0 25px #fff6}.room-code-display{font:800 38px 'Baloo 2',sans-serif;letter-spacing:6px;color:var(--mint);margin:5px 0 10px}.share-button{width:100%;display:flex;justify-content:space-between}.room-roster{display:grid;gap:8px;margin:19px 0}.roster-row{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:800;border-radius:8px;padding:8px;background:#173b49}.roster-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.roster-row span:last-child{margin-left:auto;font-size:9px;color:#90bbb9}.room-hint{font-size:12px;color:#a7c7cb;line-height:1.5}.room-leave{display:block;text-align:center;width:100%;margin-top:15px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 23px;border-radius:12px;background:#f1ffef;color:#114758;font-size:14px;font-weight:800;box-shadow:0 4px 20px #0003;z-index:30}.touch-controls{display:none;justify-content:space-between;align-items:center;padding:15px 6px;touch-action:none}.dpad{display:grid;grid-template-columns:42px 42px 42px;grid-template-rows:40px 40px;gap:4px}.dpad button{border-radius:10px;background:#244f60;color:#c7f6ee;border:1px solid #4f7783;font-size:19px;touch-action:none}.dpad button[data-control=up]{grid-column:2}.dpad button[data-control=left]{grid-column:1;grid-row:2}.dpad button[data-control=down]{grid-column:2;grid-row:2}.dpad button[data-control=right]{grid-column:3;grid-row:2}.touch-actions{display:flex;align-items:center;gap:12px}.touch-actions button{border-radius:50%;font-weight:900;touch-action:none}.touch-bomb{width:80px;height:80px;background:var(--mint);color:#083f51;box-shadow:0 5px 0 #227e80;font-size:13px}dialog{background:#123e4e;border:1px solid #6eaaad;border-radius:24px;color:#edfff7;width:min(490px,90vw);padding:36px;box-shadow:0 20px 80px #0009}dialog::backdrop{background:#031f35b8;backdrop-filter:blur(6px)}dialog h2{font:800 43px/1 'Baloo 2',sans-serif;letter-spacing:-1.2px;margin:13px 0 22px}dialog ol{padding-left:20px;font-size:14px;line-height:1.6;color:#bbd6d7}dialog li{padding-left:5px;margin-bottom:13px}dialog strong{color:#e5fff8}dialog p{font-size:11px;line-height:1.8;color:#8eb9bf;margin:20px 0}.dialog-close{position:absolute;right:17px;top:15px;background:transparent;font-size:28px;color:#b8d6d4}
@media(min-width:1600px){.arena-wrap{aspect-ratio:1.65}.lobby-title h2{font-size:54px}.lobby-title p{font-size:14px}}
@media(max-width:1200px){.app-shell{padding:0 24px 20px}.game-layout{grid-template-columns:minmax(0,1fr) 250px;gap:17px}.lobby-panel{padding:20px}.lobby-title h2{font-size:39px}.lobby-title p{margin-bottom:13px}.arena-wrap{aspect-ratio:1.35}.lobby-foot{display:none}.topbar{height:94px}.map-heading{margin-left:0}.connection-badge{display:none}.controls{gap:11px}.tip{display:none}.player-stats{gap:4px}.player-card{padding:10px}.player-number{width:32px;height:32px}.mode-label{font-size:9px}.control-bar{justify-content:center}}
@media(max-width:850px){.app-shell{padding:0 15px 16px}.topbar{height:80px;gap:10px}.brand{font-size:23px}.brand-mark{width:40px;height:43px;font-size:39px}.brand-small{font-size:9px;letter-spacing:5.5px}.map-heading h1{font-size:25px}.map-heading .eyebrow{font-size:8px}.icon-button{width:32px;height:32px}.fullscreen{display:none}.top-actions{gap:6px}.match-bar{height:48px;font-size:9px;gap:11px}.round-clock{font-size:9px;padding-left:11px}.mode-label{display:none}.game-layout{grid-template-columns:1fr}.arena-wrap{aspect-ratio:1.5}.lobby-panel{display:grid;grid-template-columns:1fr 1.4fr;gap:15px}.lobby-title h2{font-size:45px}.lobby-title p{font-size:13px}.lobby-status{grid-column:1/-1;margin:0}.player-strip{gap:6px;margin-top:22px}.player-card{padding:9px 7px;gap:7px}.player-stats{display:none}.player-name{font-size:10px}.player-status{font-size:8px}.player-number{width:26px;height:29px;font-size:20px}.controls{font-size:9px;gap:10px}.controls>span:first-child>kbd:first-child,.alternative{display:none}.is-playing .arena-wrap{min-height:0;max-height:none;aspect-ratio:1.45}.touch-controls{display:flex}.is-playing .control-bar{display:none}.is-playing .touch-controls{max-width:600px;margin:auto}.is-playing .match-bar{font-size:8px}.arena-caption{left:17px;right:17px;bottom:10px}.arena-caption span:last-child{display:none}.lobby-panel #room-waiting{grid-column:2}.room-code-display{font-size:31px}.room-roster{margin:12px 0}.round-banner{width:min(330px,85%);padding:23px}.round-banner h2{font-size:30px}.bubble-notice{font-size:11px;padding:8px 12px;bottom:30px}}
@media(max-width:520px){.map-heading{display:none}.brand-mark{width:36px;height:40px}.topbar{height:73px}.top-actions{gap:5px}.lobby-panel{display:block;padding:23px}.lobby-title h2{font-size:36px;line-height:1.1}.lobby-title h2 br{display:none}.lobby-title p{margin-bottom:20px}.lobby-title p br{display:none}.player-strip{grid-template-columns:repeat(2,1fr)}.player-stats{display:flex}.player-name{font-size:11px}.arena-wrap{border-width:3px;border-radius:18px}.control-bar{display:none}.is-playing .player-strip{margin-top:18px}.round-label{letter-spacing:.6px}.eyebrow{font-size:10px}.arena-caption{display:none}.is-playing .arena-wrap{aspect-ratio:1.15}.round-banner{padding:17px}.round-banner h2{font-size:25px}.round-banner p{font-size:12px;margin:6px 0 14px}.round-banner .eyebrow{font-size:8px}.round-banner .primary-button{font-size:12px;padding:11px}.bubble-notice{font-size:10px;white-space:normal;width:85%;text-align:center;bottom:13px}}
@media(max-height:520px) and (min-width:650px){.app-shell{padding:0 13px}.topbar{height:54px}.brand{font-size:20px}.brand-mark{height:33px;width:32px;font-size:31px}.brand-small{font-size:8px;letter-spacing:4px}.map-heading h1{font-size:21px}.map-heading .eyebrow{display:none}.match-bar{height:33px}.game-layout{grid-template-columns:minmax(0,1fr) 230px}.lobby-panel{display:block;padding:13px}.lobby-title h2{font-size:22px;margin:4px 0 6px}.lobby-title h2 br{display:none}.lobby-title p,.lobby-title .eyebrow,.mode-picker legend,.or,.lobby-foot{display:none}.lobby-panel input{padding:7px 9px}.mode-picker{margin:9px 0}.mode-picker span{padding:6px 0}.primary-button{padding:9px 12px;font-size:12px}.join-row{margin-top:10px}.practice-button{margin-top:10px;font-size:11px}.arena-wrap{max-height:calc(100vh - 99px);aspect-ratio:1.55}.player-strip,.control-bar{display:none}.is-playing .game-layout{max-width:570px;margin:auto}.is-playing .arena-wrap{height:calc(100vh - 100px);max-height:none;min-height:0;aspect-ratio:1.64;margin:auto}.is-playing .touch-controls{position:absolute;left:14px;right:14px;top:160px;margin:0;max-width:none;pointer-events:none;padding:0}.touch-controls button{pointer-events:auto}.touch-controls{display:none}.is-playing .touch-controls{display:flex}.dpad{grid-template-columns:32px 32px 32px;grid-template-rows:32px 32px}.touch-actions{gap:7px;flex-direction:column-reverse}.touch-bomb{width:63px;height:63px;font-size:10px}.arena-caption{display:none}.room-roster{gap:3px;margin:8px 0}.roster-row{padding:4px}.room-code-display{font-size:22px;margin:0}.room-hint{font-size:9px;margin:4px 0}.share-button{padding:6px}.room-leave{margin-top:8px}.round-banner{width:260px;padding:18px}.round-banner h2{font-size:27px;margin:10px 0}.round-banner p{margin:7px 0 12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Keep the canvas intrinsic size out of grid sizing and repaint atomically. */
.arena-wrap{min-width:0;min-height:0;width:100%;align-self:start}
.arena-wrap canvas{position:absolute;inset:0}
@media(min-width:851px){.arena-wrap{height:calc(100vh - 325px);min-height:420px;max-height:780px;aspect-ratio:auto}.is-playing .arena-wrap{height:calc(100vh - 325px);min-height:360px;max-height:780px;aspect-ratio:auto}.lobby-panel{min-height:0}.has-room .lobby-title h2{font-size:34px;line-height:1}.has-room .lobby-title h2 br{display:none}.has-room .lobby-title p{display:none}.has-room .lobby-title{margin-bottom:17px}}
@media(max-height:520px) and (min-width:650px){.arena-wrap{height:calc(100vh - 100px);min-height:0}.is-playing .arena-wrap{height:calc(100vh - 100px);min-height:0}}

.lobby-arena-notice{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;width:min(340px,80%);padding:23px;border:1px solid #81cece;border-radius:20px;background:#0e3e50f2;box-shadow:0 8px 35px #08344955;backdrop-filter:blur(8px)}.lobby-arena-notice strong{font:800 25px/1.1 'Baloo 2',sans-serif}.lobby-arena-notice>span{font-size:13px;line-height:1.5;color:#c5e2e0}.lobby-arena-notice .secondary-button{background:#4aead1;color:#103c4b;border:0;padding:10px 22px}.waiting-practice{margin-top:19px;justify-content:center;gap:15px;font-size:12px}
@media(max-height:520px){.lobby-arena-notice{padding:16px;gap:8px}.lobby-arena-notice strong{font-size:20px}.lobby-arena-notice>span{font-size:11px}.waiting-practice{margin-top:10px}}
@media(max-width:520px){.player-card{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:8px;row-gap:5px;padding:10px}.player-number{grid-row:1/3}.player-info{grid-column:2}.player-name{font-size:11px}.player-status{font-size:8px;white-space:nowrap}.player-stats{grid-column:2;gap:12px;font-size:11px}.player-strip{gap:8px}.player-status{letter-spacing:.35px}}
@media(max-height:520px) and (min-width:650px){}

.player-status{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slot-charge{position:absolute;bottom:0;left:12px;right:12px;height:3px;background:#0b303d;border-radius:3px;overflow:hidden}.slot-charge i{display:block;height:100%;background:#ffd16a}
#help-dialog{width:min(690px,92vw);max-height:90dvh;overflow:auto;padding:30px}#help-dialog h2{font-size:36px;margin-bottom:15px}#help-dialog h3{font:800 22px 'Baloo 2',sans-serif;margin:20px 0 10px}.help-intro{font-size:13px!important;margin:0 0 20px!important;color:#c4e3e2!important}.crate-guide{display:grid;grid-template-columns:1fr 1fr;gap:10px}.crate-guide article{background:#1a4c58;border:1px solid #416c76;border-radius:12px;padding:12px}.crate-guide strong{font-size:13px}.crate-guide p{font-size:12px;margin:6px 0 0;line-height:1.55;color:#b7d6d7}.crate-dot{display:inline-block;width:13px;height:13px;border-radius:4px;margin-right:7px;vertical-align:-2px;box-shadow:inset 0 -3px #0003}.crate-dot.ordinary{background:#dd913c}.crate-dot.reinforced{background:#8398ad;border:2px solid #e2eaee}.crate-dot.risk{background:#f46f68;border:2px solid #ffd96b}.crate-dot.solid{background:#3bc5bc}.risk-guide{display:grid;grid-template-columns:1fr 1fr;gap:7px}.risk-guide>div{display:flex;flex-direction:column;gap:4px;padding:10px 12px;background:#1a564f;border-radius:9px}.risk-guide b{font-size:10px;letter-spacing:.8px;color:#a2f0bc}.risk-guide span{font-size:12px;color:#d2e9e2}.risk-guide .hazard{background:#613f4d}.risk-guide .hazard b{color:#ffc38f}.upgrade-note{padding:12px 15px;background:#274d61;border-radius:10px;color:#cfe3ee!important;font-size:12px!important}.toast{max-width:min(560px,92vw);text-align:center;pointer-events:none}
@media(max-width:520px){#help-dialog{padding:23px}.crate-guide,.risk-guide{grid-template-columns:1fr}.crate-guide article{padding:10px}.risk-guide>div{flex-direction:row;align-items:center}.risk-guide b{min-width:105px}.risk-guide span{flex:1}.slot-charge{left:8px;right:8px}.toast{bottom:12px;font-size:12px;padding:10px 15px}}
.player-status{white-space:normal;overflow:visible;text-overflow:clip;letter-spacing:.2px;line-height:11px}.player-status:has(.boost){display:flex;flex-wrap:wrap;gap:1px 6px}.player-status .boost{white-space:nowrap}
.compact-loadout{display:none}
.map-selection{margin:0 0 12px;padding:0 0 13px;border-bottom:1px solid var(--line)}.map-selection summary{display:flex;align-items:center;gap:13px;cursor:pointer;list-style:none;min-height:28px}.map-selection summary::-webkit-details-marker{display:none}.map-selection summary>strong{font-size:13px;color:#d7efed}.map-count{margin-left:auto;color:#b1cfce;font-size:11px;font-weight:800}.map-count>span{font-size:18px;margin-left:9px}.map-choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-top:9px}.map-choice{min-width:0;display:flex;align-items:center;gap:9px;padding:8px;border-radius:12px;background:#103a48;border:1px solid #3a6170;color:#dfefed;text-align:left}.map-choice canvas{width:57px;height:45px;flex:none;border-radius:6px;border:1px solid #ffffff26;image-rendering:pixelated}.map-choice-copy{min-width:0;display:flex;flex-direction:column;gap:5px}.map-choice strong{font-size:12px;line-height:14px;font-weight:900}.map-choice small{font-size:9px;line-height:12px;color:#a6c8cb}.map-choice.selected{border-color:var(--map-accent);box-shadow:inset 0 0 0 1px var(--map-accent);background:#20505b}.map-choice.selected strong{color:var(--map-accent)}.map-error{font-size:13px;color:#ffccaf;padding:11px 14px;background:#644348;border-radius:9px}.terrain-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 1px 11px;min-height:25px}.terrain-strip>strong{font-size:12px;letter-spacing:.3px;color:#d7ece9}.terrain-strip>div{display:flex;flex-wrap:wrap;gap:5px 12px;justify-content:flex-end}.terrain-key{display:inline-flex;align-items:center;gap:6px;font-size:10px;line-height:15px;color:#bcd7d8;font-weight:800}.terrain-key i{width:10px;height:10px;display:inline-block;border-radius:3px;background:#a0b6aa;border:1px solid #dfefdd80}.terrain-key.fast i{background:repeating-linear-gradient(135deg,#84d8e8 0 2px,#357c91 2px 4px)}.terrain-key.slow i{background:radial-gradient(#d6c7a3 1px,transparent 1px) 0 0/4px 4px,#758663}.terrain-key.solid i{background:#354b5d;border-color:#95b5bb}.is-playing .map-selection,.has-room .map-selection{display:none}.terrain-help{font-size:12px!important;color:#c3ddde!important}.is-playing .terrain-strip{margin-top:-4px}
@media(min-width:851px){body:not(.is-playing):not(.has-room) .arena-wrap{height:calc(100vh - 448px);min-height:405px}body:not(.is-playing):not(.has-room) .lobby-title h2{font-size:38px;line-height:1}body:not(.is-playing):not(.has-room) .lobby-title p{margin:10px 0 16px}.is-playing .arena-wrap{height:calc(100vh - 360px)}}
@media(max-width:1200px){.map-choice{gap:6px;padding:7px}.map-choice canvas{width:43px;height:34px}.map-choice strong{font-size:10px;line-height:12px}.map-choice small{font-size:8px;line-height:10px}.map-choices{gap:6px}}
@media(max-width:850px){.map-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.map-choice canvas{width:42px;height:34px}.map-selection summary .eyebrow{font-size:8px;letter-spacing:1.2px}.map-selection summary>strong{font-size:12px}.terrain-strip{gap:8px;align-items:flex-start}.terrain-strip>strong{font-size:11px;flex-shrink:0}.terrain-key{font-size:9px;gap:4px;line-height:13px}.terrain-strip>div{gap:3px 9px}.map-selection{margin-bottom:9px;padding-bottom:9px}}
@media(max-width:520px){.map-choice{flex-direction:column;align-items:stretch;gap:5px;padding:7px}.map-choice canvas{width:100%;height:43px;object-fit:fill}.map-choice-copy{gap:3px}.map-choice strong{font-size:11px;line-height:12px}.map-choice small{font-size:8px}.map-selection summary{gap:7px}.map-selection summary .eyebrow{max-width:82px}.map-count{font-size:10px}.terrain-strip{flex-direction:column;gap:4px;margin-bottom:8px}.terrain-strip>div{justify-content:flex-start}.terrain-key{font-size:9px}.is-playing .match-bar{height:39px}}
@media(max-height:520px) and (min-width:650px){.is-playing .terrain-strip{margin-top:-3px;margin-bottom:4px;min-height:15px}.terrain-strip>strong{font-size:10px}.terrain-key{font-size:8px;line-height:11px}.is-playing .arena-wrap{height:calc(100vh - 120px)}.map-selection{margin-bottom:5px;padding-bottom:5px}.map-selection summary{min-height:22px}.map-choices{grid-template-columns:repeat(6,minmax(0,1fr))}.map-choice{padding:5px;flex-direction:column;gap:3px}.map-choice canvas{width:100%;height:30px}.map-choice-copy{gap:2px}.map-choice strong{font-size:9px}.map-choice small{display:none}.map-selection summary .eyebrow{font-size:8px}.terrain-strip{margin-bottom:5px}}
.ghost-demo-button{margin-top:13px;padding:9px 11px;border:1px solid #9578c0;border-radius:9px;background:#3c395c;color:#ecdcff;font-size:12px}.crate-dot.haunted{background:#9f6dd4;border:2px solid #eedcff}.ghost-alert{position:absolute;z-index:3;top:6px;left:50%;transform:translateX(-50%);max-width:94%;width:max-content;padding:6px 13px;border:1px solid #ead8ff;border-radius:10px;background:#493462f5;color:#fff4ff;font-size:12px;font-weight:900;line-height:16px;box-shadow:0 3px 12px #2c174b55;text-align:center;pointer-events:none}
@media(max-width:520px){.ghost-alert{font-size:10px;line-height:13px;padding:4px 8px;top:4px}.ghost-demo-button{margin-top:9px}}
@media(max-height:520px) and (min-width:650px){.ghost-alert{font-size:10px;line-height:13px;padding:4px 8px;top:3px}.ghost-demo-button{margin-top:8px;padding:5px 8px}}
@media(max-height:520px) and (min-width:650px){.is-playing .compact-loadout{display:block;position:absolute;bottom:5px;left:50%;transform:translateX(-50%);padding:4px 10px;border:1px solid #77c8c7;border-radius:8px;background:#103d4ff2;color:#e8fff4;font-size:10px;font-weight:800;white-space:nowrap;pointer-events:none;max-width:96%;text-align:center}}
@media(max-height:520px) and (min-width:650px){.toast{top:56px;bottom:auto;left:auto;right:14px;transform:none;max-width:min(480px,calc(100vw - 340px));font-size:10px;line-height:14px;padding:5px 9px}}
.layout-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.layout-tools>span{color:#b4d5d1;font-size:11px}.layout-tools button{font-size:12px;padding:5px 9px;color:#70e6d1;border:1px solid #39747a;border-radius:8px}.layout-tools button:hover{background:#245763}.layout-tools button span{margin-left:8px}@media(min-width:851px){body:not(.is-playing):not(.has-room) .arena-wrap{height:calc(100vh - 480px);min-height:405px}}
.showcase-hint{display:none;margin:0 0 10px;color:#b7d8dc;font-size:11px;font-weight:750;line-height:16px;text-align:center}
@media(max-width:850px){body:not(.is-playing) .showcase-hint{display:block}}

/* Solo Ranked has no party invitations. */
.crew-bottom [data-action="copy"][hidden],.room-code-badge[hidden]{display:none}

/* Current rank in the Ranked lobby. */
.room-current-rank .room-map-copy{display:flex;align-items:center;gap:10px;text-align:left;min-height:74px;padding:6px 12px}
.room-current-rank-badge{display:inline-flex;flex:0 0 64px;width:64px;height:64px;align-items:center;justify-content:center}
.room-current-rank-badge[hidden]{display:none}
.room-current-rank #room-map-name{font-size:17px;line-height:1.2}
.room-current-rank #room-map-terrain{font-size:11px;margin-top:5px}
.room-current-rank .room-reveal-rule{padding:0 10px 8px;margin:0;font-size:10px;line-height:1.4}
.crew-bottom [data-action="copy"][hidden],.room-code-badge[hidden]{display:none}
@media(max-height:520px){.room-current-rank .room-map-copy{min-height:48px;padding:3px 8px;gap:7px}.room-current-rank-badge{flex-basis:48px;width:48px;height:48px}.room-current-rank-badge .rank-badge{--rank-badge-size:48px!important}.room-current-rank #room-map-name{font-size:13px}.room-current-rank #room-map-terrain{font-size:10px}.room-current-rank .room-reveal-rule{font-size:9px}}
@media(max-height:520px){#room-screen.ranked-party .room-current-rank .room-map-copy{flex:0 0 170px;align-items:center;gap:8px}#room-screen.ranked-party .room-current-rank #room-map-name{font-size:13px;white-space:nowrap}#room-screen.ranked-party .room-current-rank #room-map-terrain{display:block;font-size:10px;line-height:13px;white-space:nowrap}#room-screen.ranked-party .room-current-rank .room-reveal-rule{padding:0;flex:1}}
