@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#233b34;--cream:#f2f3e9;--teal:#087f70;--orange:#f07342;--line:#233b3426}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:'DM Sans',sans-serif;background:#e9eddf;color:var(--ink)}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ef7945;outline-offset:4px}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}#arena{position:fixed;inset:0;width:100%;height:100%;touch-action:none}.lobby{position:absolute;inset:0;background:linear-gradient(90deg,#edf0e6 0%,#edf0e6f7 29%,#edf0e62b 62%,transparent 100%);overflow:auto}header{height:100px;padding:0 5%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:10px;align-items:center;color:var(--ink);text-decoration:none;font-family:'Barlow Condensed',Impact,sans-serif;font-size:24px;font-weight:800;letter-spacing:1px}.brandmark{display:grid;place-items:center;background:var(--ink);color:var(--cream);width:32px;height:32px;font-size:30px}.edition{font:600 9px 'DM Sans',sans-serif;letter-spacing:2px;border-left:1px solid var(--line);padding:6px 15px;margin-left:8px}.icon-btn{background:transparent;border:1px solid #233b3444;border-radius:5px;padding:10px 14px;font-size:10px;letter-spacing:1px;font-weight:700}.intro{margin:4vh 0 110px 8%;width:480px}.eyebrow{font-size:10px;letter-spacing:2.1px;font-weight:700;display:flex;align-items:center;gap:9px}.eyebrow>span{width:6px;height:6px;background:var(--orange);border-radius:50%}h1{font-family:'Barlow Condensed',Impact,sans-serif;font-weight:800;line-height:.91;font-size:clamp(70px,7.6vw,112px);letter-spacing:-1.5px;margin:25px 0 24px}h1>span{color:var(--teal)}.lede{font-size:15px;line-height:1.7;color:#65736a;margin:0 0 30px}.play-panel{width:340px;background:#f9faf3e8;padding:22px;border:1px solid #cdd5c4;border-radius:10px;box-shadow:0 8px 30px #38523908}.play-panel label{display:flex;justify-content:space-between;letter-spacing:1.5px;font-size:9px;font-weight:700}.play-panel label>span{color:#8a958a;font-size:8px}.callsign-row{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:13px 0;margin-bottom:18px}.avatar{background:#dcebe1;color:var(--teal);width:32px;height:32px;display:grid;place-items:center;font-size:22px;border-radius:5px}.callsign-row input{min-width:0;flex:1;background:transparent;border:0;font-size:16px;font-weight:600;color:var(--ink);width:100px}.ready-dot,.live-dot{display:inline-block;background:#188775;width:6px;height:6px;border-radius:100%}.primary{padding:17px 18px;width:100%;display:flex;justify-content:space-between;align-items:center;background:var(--teal);color:white;font-size:11px;letter-spacing:1.3px;font-weight:700;border-radius:5px;box-shadow:0 3px 0 #095f53;transition:background .15s,transform .15s}.primary:hover{background:#06685b;transform:translateY(-1px)}.primary>span{font-size:21px;line-height:14px}.room-buttons{display:flex;gap:10px;margin-top:12px}.room-buttons button,.secondary{flex:1;background:transparent;border:1px solid #cbd3c5;padding:13px 11px;color:var(--ink);font-size:9px;font-weight:700;letter-spacing:.6px;border-radius:5px;display:flex;align-items:center;justify-content:space-between;gap:7px}.room-buttons button:hover,.secondary:hover{background:#e4eadd}.room-buttons span{font-size:15px}.panel-note{color:#7f8c80;font-size:10px;margin:16px 0 0;text-align:center}.controls-summary{margin:20px 0 0;display:flex;gap:12px;align-items:center;font-size:10px;color:#7c8a7f;line-height:1.6}.controls-summary p{margin:0}.controls-summary b{font-size:9px;letter-spacing:1.3px;color:#485e51}.control-icon{font-size:25px;color:#66816f}.map-caption{position:absolute;right:7%;bottom:135px;display:flex;gap:12px;align-items:center;border-top:1px solid #48694b50;padding-top:15px;width:270px}.map-caption b{font-size:12px;letter-spacing:2px}.map-caption small{display:block;font-size:8px;letter-spacing:1.5px;margin-top:6px;color:#657c68}.coords{margin-left:auto;font-size:10px;line-height:1.6;color:#7b8c76}footer{position:absolute;bottom:0;left:5%;right:5%;height:64px;border-top:1px solid #233b3422;display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1.5px;color:#75816f}footer i{font-style:normal;color:#ec7948;padding:0 12px}#hud{position:fixed;inset:0;pointer-events:none}#hud button{pointer-events:auto}.hud-top{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 28px}.player-card{background:#f6f7ecee;border:1px solid #c6d1bc;padding:12px 15px;border-radius:7px;width:190px;box-shadow:0 3px 0 #b5c5b744}.pilot-label{display:flex;gap:8px;font-size:10px;letter-spacing:1px;margin-bottom:9px}.meter{height:6px;background:#d9dfcf;border-radius:3px;overflow:hidden}.meter i{height:100%;display:block;background:var(--teal);width:100%;transition:width .1s}.fuel-line{display:flex;gap:8px;align-items:center;margin-top:7px;font-size:8px;font-weight:700;color:#7d8b70}.fuel{flex:1;height:4px}.fuel i{background:#e8a44a}.match-clock{text-align:center;background:#f4f5e9e8;border:1px solid #c9d2bf;border-radius:6px;padding:10px 24px;position:absolute;left:50%;transform:translateX(-50%)}.match-clock span{font-size:8px;letter-spacing:1.5px;display:block}.match-clock b{font:700 35px 'Barlow Condensed',Impact,sans-serif;line-height:1.05;display:block}.match-clock small{font-size:7px;letter-spacing:1.6px;color:#7b8a70}.square{background:#f4f5e9e8;border:1px solid #c9d2bf;color:var(--ink);width:42px;height:42px;border-radius:6px;font-size:20px}#scoreboard{position:absolute;top:127px;left:28px;font-size:10px;display:flex;flex-direction:column;gap:7px}.score-row{display:flex;align-items:center;gap:9px;background:#f2f4e3c9;border-radius:3px;padding:5px 8px;min-width:155px}.score-row i{width:6px;height:6px;border-radius:2px}.score-row b{margin-left:auto}.weapon-card{position:absolute;bottom:28px;right:28px;background:#f7f7ede8;border:1px solid #cbd2bf;border-radius:6px;display:flex;align-items:center;padding:12px 15px;gap:15px}.weapon-card small{font-size:8px;letter-spacing:1.5px;display:block;margin-bottom:3px}.weapon-card b{font:700 32px 'Barlow Condensed',Impact,sans-serif}.weapon-card b span{font:500 12px 'DM Sans',sans-serif;color:#8b987f}.weapon-card button{background:#e1e7d9;width:34px;height:39px;border-radius:4px;font-size:22px;color:#466047;position:relative}.weapon-card button span{position:absolute;right:3px;bottom:2px;font-size:7px}#desktop-help{position:absolute;bottom:27px;left:28px;font-size:9px;word-spacing:4px;color:#314e3b;font-weight:700}#desktop-help span{font-size:8px;word-spacing:0;margin-right:14px;color:#7a8d70}#mode-label{position:absolute;bottom:53px;left:28px;font-size:8px;letter-spacing:1.8px;color:#66805f}#killfeed{position:absolute;right:28px;top:88px;display:flex;flex-direction:column;gap:5px;font-size:10px;text-align:right}#killfeed>div{background:#f6f5e7df;padding:7px 10px;border-radius:3px}#respawn{position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);text-align:center;color:var(--ink);padding:20px;background:#f5f6e9e8;border-radius:7px;min-width:200px}#respawn b{font:700 32px 'Barlow Condensed',Impact,sans-serif;display:block}#respawn span{font-size:12px}.modal{position:fixed;inset:0;background:#142d2696;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:20}.dialog{position:relative;background:#f3f5e9;border-radius:12px;padding:35px;max-width:430px;width:100%;box-shadow:0 20px 100px #102b2933;max-height:92dvh;overflow:auto}.close{position:absolute;top:12px;right:12px;font-size:25px;background:transparent;color:var(--ink);padding:5px 10px}h2{font:800 42px/.95 'Barlow Condensed',Impact,sans-serif;margin:20px 0}.dialog p{font-size:13px;line-height:1.7;color:#6d7c69}.dialog .secondary{margin-top:13px;width:100%;justify-content:center}.dialog input{width:100%;border:1px solid #bfcdb8;background:#fffef4;color:var(--ink);padding:14px;margin:6px 0 18px;border-radius:5px;font-size:17px;text-transform:uppercase;letter-spacing:3px}.room-code{font:700 40px 'Barlow Condensed',Impact,sans-serif;letter-spacing:6px;border:1px dashed #a4b9a0;padding:20px;text-align:center;border-radius:6px;margin:18px 0}.status{font-size:11px!important;color:var(--teal)!important;min-height:20px}.results-row{padding:10px 0;display:flex;justify-content:space-between;border-bottom:1px solid #d6dfcb;font-size:13px}.results-row:last-of-type{margin-bottom:20px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#243d34;color:#f1f4e6;border-radius:6px;padding:13px 20px;font-size:12px;z-index:50;max-width:90%;text-align:center}#touch-controls{display:none}.stick{position:absolute;bottom:26px;left:32px;width:112px;height:112px;border:1px solid #f5f7eeb0;background:#26453624;border-radius:50%;pointer-events:auto;touch-action:none;display:grid;place-items:center}.stick:before,.stick:after{content:'';position:absolute;background:#f4f6e677}.stick:before{width:70px;height:1px}.stick:after{height:70px;width:1px}.stick>span{background:#f2f5e3ad;width:46px;height:46px;border:1px solid #fffdf3d9;border-radius:50%;z-index:1;box-shadow:0 2px 7px #203d3322}.stick-label{position:absolute;top:-21px;font-size:8px;letter-spacing:1.4px;color:#314e3b;font-weight:700;white-space:nowrap}.stick.aim{left:auto;right:32px;border-color:#c8684166;background:#d8895422}.stick.aim>span{background:#eb956599;border-color:#f9bc8c}.touch #touch-controls{display:block}.touch #desktop-help{display:none}.touch .weapon-card{bottom:29px;left:50%;right:auto;transform:translateX(-50%);padding:8px;gap:8px}.touch .weapon-card b{font-size:25px}.touch .weapon-card button span{display:none}.touch #mode-label{bottom:9px;left:50%;transform:translateX(-50%);white-space:nowrap}.touch .weapon-card button{width:32px;height:32px}
@media(min-width:1400px){.intro{margin-top:7vh}}@media(max-height:770px) and (min-width:801px){header{height:75px}.intro{margin-top:2vh}h1{font-size:78px;margin:20px 0}.lede{margin-bottom:20px}.play-panel{padding:18px}.controls-summary{margin-top:16px}footer{height:45px}.map-caption{bottom:95px}}@media(max-width:800px){header{height:75px;padding:0 6%}.edition{display:none}.intro{margin:28px 6% 100px;width:auto}.lobby{background:linear-gradient(90deg,#edf0e6f7 0%,#edf0e6d9 45%,#edf0e63b 100%)}h1{font-size:80px}.map-caption{display:none}footer{position:relative;left:auto;right:auto;margin:0 6%;height:55px;gap:20px;font-size:7px}footer>span:last-child{display:none}.play-panel{width:min(340px,100%)}.hud-top{padding:14px}.player-card{width:140px;padding:10px}.match-clock{padding:8px 13px}.match-clock b{font-size:28px}.match-clock span{font-size:7px}.match-clock small{font-size:6px}#scoreboard{left:14px;top:110px;font-size:9px}.score-row{min-width:125px}#killfeed{right:14px;top:110px;font-size:8px}.weapon-card{right:14px;bottom:14px}#desktop-help{left:14px;font-size:8px}.stick{width:96px;height:96px;left:20px;bottom:30px}.stick.aim{right:20px}.stick>span{width:40px;height:40px}.touch .weapon-card{bottom:36px;gap:5px}.weapon-card small{font-size:7px}.touch .weapon-card button{width:26px}.dialog{padding:28px}.icon-btn{font-size:8px}}
@media(max-width:420px){h1{font-size:70px}.intro{margin-top:20px}.lede{font-size:14px}.touch .weapon-card{bottom:154px}.touch #mode-label{bottom:10px}.hud-top .player-card{width:116px}.pilot-label{font-size:9px}.match-clock{padding:7px 10px}#scoreboard{top:108px}.score-row{min-width:115px}}
@media(max-height:520px) and (orientation:landscape){header{height:55px}.intro{margin:8px 6% 60px;width:55%}h1{font-size:60px;margin:17px 0}.lede{font-size:12px}.play-panel{position:absolute;right:5%;top:90px;width:280px}.controls-summary{margin-top:20px}footer{position:absolute;margin:0;left:6%;right:6%;height:34px}.hud-top{padding:9px 16px}.player-card{padding:8px 10px;width:135px}.match-clock{padding:5px 14px}.match-clock b{font-size:25px}#scoreboard{top:91px;left:16px}.score-row{padding:3px 6px;font-size:8px;min-width:115px}#killfeed{top:58px}.stick{bottom:20px;width:94px;height:94px}.touch .weapon-card{bottom:15px}.touch #mode-label{bottom:2px}.dialog{max-width:440px;padding:23px}h2{font-size:34px;margin:13px 0}.room-code{margin:8px 0;padding:10px}}
@media(pointer:coarse){.hud-top{padding-top:max(14px,env(safe-area-inset-top));padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}.stick{left:max(20px,env(safe-area-inset-left));bottom:max(30px,env(safe-area-inset-bottom))}.stick.aim{left:auto;right:max(20px,env(safe-area-inset-right))}}

/* Keep the footer after content when the lobby is shorter than its controls. */
.lobby{display:flex;flex-direction:column}.intro{flex:1;margin-bottom:42px}footer{position:relative;left:auto;right:auto;margin:0 5%;flex-shrink:0}@media(max-width:800px){footer{margin:0 6%}}
/* Expansion loadout and map selection */
.play-panel{width:380px}.section-label{display:flex;justify-content:space-between;font-size:8px;font-weight:700;letter-spacing:1.3px;color:#4a6657}.section-label span{color:#8a9688;font-size:7px}.map-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.map-option{padding:0 0 8px;border:1px solid #d1d8c8;border-radius:5px;overflow:hidden;background:#e8eddf;color:#6c7e69;transition:transform .15s,border-color .15s}.map-option:hover{transform:translateY(-2px)}.map-option[aria-pressed=true]{border:2px solid var(--teal);padding-bottom:7px;color:var(--ink);background:#f7faf0}.map-option svg{display:block;width:100%;height:42px;margin-bottom:5px}.map-option b{font-size:8px;letter-spacing:.4px}.setting-note{font-size:9px;line-height:1.4;color:#7b8a73;margin:8px 0 15px}.setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:17px}.setup-grid label{display:block;font-size:8px;letter-spacing:.8px}.setup-grid select{display:block;width:100%;margin-top:7px;background:#e8ecdf;border:1px solid #cdd7c6;color:#395442;padding:9px 6px;border-radius:4px;font:500 11px 'DM Sans',sans-serif}.callsign-row{margin-bottom:17px}.weapon-card .grenade-button{width:42px;height:44px;background:#e9dac1}.grenade-button svg{width:21px;height:24px;position:absolute;left:3px;top:4px}.weapon-card .grenade-button b{position:absolute;right:5px;top:4px;font:700 12px 'DM Sans',sans-serif}.grenade-button:disabled{opacity:.45;cursor:default}.weapon-card>div{min-width:66px}#pickup-notice{position:absolute;top:28%;left:50%;transform:translateX(-50%);padding:9px 14px;border-radius:4px;background:#f2f5dded;color:#2e614d;font-size:10px;font-weight:700;letter-spacing:1px;white-space:nowrap}.room-roster{display:flex;flex-direction:column;gap:6px;margin:15px 0}.roster-row{display:flex;align-items:center;gap:10px;font-size:12px;padding:8px 10px;background:#e7eddd;border-radius:4px}.roster-row i{height:8px;width:8px;border-radius:50%}.roster-row small{margin-left:auto;color:#7d8e75;font-size:8px;letter-spacing:1px}.empty-slot{opacity:.48}.room-meta{display:flex;align-items:center;justify-content:space-between;margin:12px 0;font-size:10px;font-weight:600;color:#5e745f}.room-meta input[type=checkbox]{width:16px;margin:0 7px 0 0;accent-color:#087f70}.room-meta label{display:flex;align-items:center}.dialog.room-dialog{max-width:460px}.room-dialog .room-code{font-size:30px;padding:10px;margin:12px 0}.room-dialog h2{font-size:38px}.room-dialog .room-roster{display:grid;grid-template-columns:1fr 1fr}.room-dialog .roster-row{min-width:0;font-size:10px}.roster-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-dialog .primary{margin-top:10px}.map-caption{background:#eef1e6b3;padding:15px;border-radius:6px}.map-caption .coords{display:none}.dialog select{font:inherit}
@media(min-width:801px) and (max-height:950px){header{height:65px}.intro{margin-top:10px;margin-bottom:28px}h1{font-size:72px;margin:15px 0}.lede{font-size:13px;line-height:1.6;margin-bottom:20px}.play-panel{padding:18px}.controls-summary{margin-top:17px}footer{height:45px}}
@media(max-width:800px){.play-panel{width:min(380px,100%)}.weapon-card{gap:9px}.touch .weapon-card{bottom:148px}.touch .weapon-card .grenade-button{width:40px;height:40px}.touch .weapon-card button{width:38px;height:40px}.touch .weapon-card{padding:9px;gap:9px}.touch .weapon-card b{font-size:28px}.touch .weapon-card .grenade-button b{font-size:12px}.room-dialog .room-roster{grid-template-columns:1fr 1fr}.room-dialog .roster-row{padding:8px 6px}.map-caption{display:none}}
@media(max-height:520px) and (orientation:landscape){.play-panel{position:relative;right:auto;top:auto;width:360px;margin-top:24px}.intro{width:88%}.lobby .play-panel{margin-left:auto;margin-top:-170px}.lobby .controls-summary{width:200px;margin-top:20px;margin-bottom:35px}.touch .weapon-card{bottom:16px;padding:5px 9px}.touch .weapon-card button{height:34px;width:34px}.touch .weapon-card .grenade-button{height:34px;width:40px}.room-dialog .room-roster{grid-template-columns:repeat(3,1fr)}.room-dialog .roster-row small{display:none}.dialog.room-dialog{max-width:570px}.room-dialog .room-code{padding:6px;margin:8px 0}.room-dialog .status{margin:6px 0}.room-dialog h2{font-size:30px;margin:10px 0}.room-dialog .eyebrow{font-size:8px}}
@media(pointer:coarse){.weapon-card button{touch-action:manipulation}}
body[data-arena=nightshift] #desktop-help,body[data-arena=nightshift] #desktop-help span,body[data-arena=nightshift] #mode-label,body[data-arena=nightshift] .stick-label{color:#e4ecda;text-shadow:0 1px 3px #112f36}body[data-arena=nightshift] .stick{background:#daeae922}
.room-footnote{font-size:10px!important;line-height:1.5!important}.room-meta select{max-width:125px;padding:6px;background:#e7eddd;color:#3d5a49;border:1px solid #c8d4c1;border-radius:4px;font-size:9px}
.lobby .icon-btn{background:#f2f4e7da}@media(max-height:520px) and (orientation:landscape){.map-caption{display:none}}

/* Jamestown edition — warm plaster, sea green, and hand-painted accents. */
:root{--ink:#293f3c;--cream:#fff4dc;--teal:#256e65;--orange:#bd623e;--line:#71563b30}
body{background:#f5e8ce}
.lobby{background:linear-gradient(90deg,#f8ecdaf5 0%,#f8ecdac9 24%,#f8ecda12 52%,#f8ecda40 100%)}
.lobby header{height:82px;min-height:82px;padding:0 5%;border-top:5px solid transparent;border-image:linear-gradient(90deg,#b95c43 0 33.33%,#e4b849 33.33% 66.66%,#37765e 66.66%) 1}
.brandmark{background:#2b6359;border-radius:2px}.edition{font-size:8px;letter-spacing:1.8px}
.lobby .icon-btn{background:#f9efdcd9;border-color:#bfae8c;min-height:36px}
.lobby .intro{display:grid;grid-template-columns:minmax(320px,1fr) 370px;gap:40px;width:auto;align-items:start;margin:22px 5% 42px;flex:1}
.hero-copy{padding:34px 0 0 3vw}
.hero-copy .eyebrow{font-size:9px;letter-spacing:2px}
.hero-copy h1{font-size:clamp(88px,8.8vw,140px);line-height:.86;letter-spacing:-2px;margin:28px 0}
.hero-copy h1>span{color:var(--teal)}
.hero-copy .lede{font-size:16px;line-height:1.7;color:#626e60;margin-bottom:30px}
.edition-stamp{display:flex;align-items:center;gap:12px;color:#876244;font-size:8px;letter-spacing:1.6px;font-weight:700}
.edition-stamp>span{font-size:28px;color:#b56640}.edition-stamp small{display:block;font-size:10px;letter-spacing:0;font-weight:400;margin-top:6px}
.hero-copy .controls-summary{margin-top:35px;color:#50685e}.hero-copy .controls-summary p{font-size:10px;line-height:1.8}.hero-copy .controls-summary b{font-size:8px;letter-spacing:1.2px}
.lobby .play-panel{position:relative;top:auto;right:auto;margin:0;width:100%;padding:24px;background:#fff8e9f5;border:1px solid #d3bd973d;border-radius:12px;box-shadow:0 14px 70px #61482117}
.panel-heading{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:20px;font-size:8px;letter-spacing:1.3px;color:#8f755a}.panel-heading b{color:var(--teal)}
.callsign-row{margin-bottom:18px;border-color:#dac9ab}.callsign-row .avatar{background:#eee3c7;color:#93683e}.callsign-row input{color:var(--ink)}
.pilot-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}
.pilot-option{position:relative;display:flex;align-items:center;gap:2px;min-width:0;text-align:left;padding:6px 5px;background:#efe5d0;border:1px solid #d4c5a9;border-radius:6px;color:var(--ink);transition:background .15s}
.pilot-option[aria-pressed=true]{background:#e5ebd9;border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal)}
.pilot-option[aria-pressed=true]::after{content:'✓';position:absolute;right:6px;top:4px;font-size:10px;color:var(--teal)}
.pilot-option canvas{width:63px;height:56px;object-fit:contain;margin-left:-7px;flex-shrink:0}
.pilot-option b{display:block;font-size:14px}.pilot-option small{display:block;font-size:8px;line-height:1.4;margin-top:4px;color:#697260;max-width:75px}
.pilot-note{min-height:28px;font-size:9px;color:#68725c;margin:9px 0 19px}
.section-label{color:#506657;letter-spacing:1.1px}.section-label span{color:#917c5b}
.map-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.map-option{background:#efe6d1;border-color:#d5c7ac;color:#6f725e;min-width:0;min-height:65px}.map-option b{font-size:7px;letter-spacing:0}.map-option svg{height:37px}.map-option[aria-pressed=true]{background:#f7f2df}
.setting-note{color:#747761}.setup-grid select{background:#f4ead5;border-color:#d7c6a7;color:#3f574a;min-height:36px}.setup-grid{gap:10px;margin-bottom:19px}
.primary{background:var(--teal);box-shadow:0 3px 0 #194c45;min-height:49px}.primary:hover{background:#1e5e56}.room-buttons button{border-color:#d5c7ac;background:#fbf3e2;min-height:43px}.panel-note{font-size:9px;color:#7c7e69}
.lobby .map-caption{position:relative;right:auto;bottom:auto;align-self:flex-start;margin:0 0 25px 8%;background:#fff3dca8;padding:13px 18px;border:1px solid #b59c713d;border-radius:4px;width:340px;backdrop-filter:blur(5px)}
.map-caption .coords{font-size:8px;max-width:70px;line-height:1.8}.map-caption b{font-size:10px}.map-caption small{font-size:8px}
.lobby footer{margin:0 5%;min-height:50px;height:50px;font-size:8px;border-color:#b79b6d40;color:#776e58}.lobby footer i{color:#af673c}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c7753f;outline-offset:3px}
@media(min-width:1000px) and (max-height:850px){.lobby .intro{margin-top:8px;margin-bottom:18px}.hero-copy{padding-top:28px}.hero-copy h1{font-size:104px}.lobby .map-caption{margin-top:-55px;max-width:310px}.lobby .play-panel{padding:20px}.panel-heading{margin-bottom:15px;padding-bottom:13px}}
@media(max-width:999px){.lobby .intro{grid-template-columns:minmax(240px,1fr) 350px;gap:25px;margin:15px 4% 30px}.hero-copy{padding-left:0}.hero-copy h1{font-size:90px}.hero-copy .lede{font-size:14px}.edition{display:none}.lobby .map-caption{margin-left:4%}}
@media(max-width:700px){.lobby header{height:68px;min-height:68px;padding:0 6%}.lobby{background:linear-gradient(90deg,#f8ecdaf5,#f8ecda8c)}.lobby .intro{display:flex;flex-direction:column;gap:25px;margin:0 6% 28px}.hero-copy{padding:22px 0 0}.hero-copy h1{font-size:86px;margin:20px 0;line-height:.88}.hero-copy .lede{margin-bottom:18px;font-size:14px}.hero-copy .controls-summary{display:none}.edition-stamp{font-size:7px}.lobby .play-panel{max-width:440px;align-self:center;padding:20px}.lobby .map-caption{display:none}.lobby footer{margin:0 6%;font-size:7px}.lobby footer>span:last-child{display:none}.pilot-option small{max-width:95px}}
@media(max-height:520px) and (min-width:701px){.lobby .intro{display:grid;grid-template-columns:1fr 350px;width:auto;margin:12px 4% 25px}.hero-copy{padding-top:8px}.hero-copy h1{font-size:78px}.lobby .play-panel{margin:0;width:350px}.hero-copy .controls-summary{margin:25px 0;width:auto}.lobby .map-caption{display:none}.lobby footer{position:relative;left:auto;right:auto}.lobby header{height:60px;min-height:60px}}
@media(prefers-reduced-motion:reduce){button{transition:none!important}.map-option:hover{transform:none}}

/* Custom fighters and extended arenas. */
.in-match:not(.touch) #arena{cursor:none}
.fighter-card{display:flex;align-items:center;gap:8px;position:relative;background:linear-gradient(120deg,#e3e9d6,#f2e5c9);border:1px solid #cebea0;border-radius:7px;margin:10px 0 20px;padding:6px 12px 6px 0;min-height:112px}
.fighter-card canvas{width:116px;height:96px;flex-shrink:0}.fighter-card b{font-size:10px;letter-spacing:1px}.fighter-card p{font-size:9px;line-height:1.6;color:#71806b;margin:6px 0}
#customize{font-size:9px;font-weight:700;letter-spacing:1px;background:var(--teal);color:var(--cream);padding:9px 12px;border-radius:3px;min-height:36px}#customize span{padding-left:12px}#shuffle-look{position:absolute;top:5px;right:6px;width:28px;height:28px;font-size:18px;background:transparent;color:var(--teal)}
.dialog.customizer-dialog{width:min(780px,96vw);max-width:780px;padding:30px}.customizer-dialog h2{margin:12px 0 20px}.customizer{display:grid;grid-template-columns:230px 1fr;gap:24px;margin-bottom:22px}
.avatar-stage{background:linear-gradient(160deg,#e1e9d4,#f4dfb5);border:1px solid #cbbb9b;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px 10px;align-self:stretch}
.avatar-stage .eyebrow{font-size:8px}.avatar-stage canvas{width:100%;max-width:240px;height:auto}.avatar-stage>b{font-size:9px;letter-spacing:1px}.avatar-stage p{font-size:10px!important;margin:8px 0 18px!important;color:#758166}.preset-buttons{display:flex;gap:6px}.preset-buttons button{padding:9px 11px;border:1px solid #a9b995;border-radius:4px;background:#f7f0dc;color:var(--ink);font-size:10px;min-height:36px}
.part-controls{display:flex;flex-direction:column;gap:7px}.part-row{display:grid;grid-template-columns:82px 28px minmax(0,1fr) 28px;gap:5px;align-items:center}.part-row label{font-size:10px;font-weight:600;letter-spacing:.2px}.part-row button{background:#e6e9d8;color:var(--teal);border-radius:3px;min-height:36px;font-size:22px}.part-row select{min-width:0;width:100%;background:#faf3e3;border:1px solid #cdbb9b;color:var(--ink);border-radius:3px;font:11px 'DM Sans',sans-serif;padding:8px 5px;min-height:36px}
.room-roster{display:grid;grid-template-columns:1fr 1fr}.roster-row{min-width:0}.roster-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.roster-row small{font-size:8px}
#match-sound{position:absolute;right:85px;top:28px;pointer-events:auto;background:#f9f3dfd9;font-size:8px;padding:10px 8px}
#scoreboard .score-row:nth-child(n+7){display:none}
@media(max-width:700px){.dialog.customizer-dialog{padding:22px;width:96vw;max-height:94dvh}.customizer{grid-template-columns:1fr;gap:16px}.avatar-stage{padding:10px;position:relative;min-height:140px}.avatar-stage canvas{width:135px;position:absolute;left:7px;top:15px}.avatar-stage>.eyebrow,.avatar-stage>b,.avatar-stage>p,.avatar-stage>.preset-buttons{margin-left:125px}.avatar-stage>b{font-size:7px;letter-spacing:.3px;margin-top:14px}.avatar-stage .eyebrow{font-size:7px}.avatar-stage p{font-size:8px!important;margin-left:125px!important;line-height:1.4!important;margin-bottom:10px!important}.preset-buttons{flex-wrap:wrap;justify-content:center}.preset-buttons button{padding:5px 9px;font-size:9px;min-height:32px}.part-row{grid-template-columns:82px 34px minmax(0,1fr) 34px}.part-row button,.part-row select{min-height:38px}.fighter-card canvas{width:105px}#match-sound{right:14px;top:67px;font-size:7px;min-height:30px;padding:6px}.room-roster{gap:5px}.roster-row{font-size:10px}}
@media(max-height:520px) and (min-width:701px){.dialog.customizer-dialog{max-height:94dvh}.customizer{grid-template-columns:190px 1fr}.part-row{gap:4px}.part-row select,.part-row button{min-height:30px;padding:5px}#match-sound{top:14px;right:76px}#scoreboard .score-row:nth-child(n+5){display:none}}
