/* Game controls do not behave like selectable document text. */
body{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
input,textarea,[contenteditable=true],.selectable,code,pre,.wallet-address,.account-identifier{-webkit-user-select:text;user-select:text}
.army-line>span:nth-child(2){-webkit-user-select:text;user-select:text}
.status-dot,.readiness-dot,.live-dot{display:none!important}
.game-lobby{padding-bottom:28px}.lobby-side-buttons{top:14px}.lobby-bottom{margin-top:auto}.lobby-modes .game-mode-card p{line-height:1.45}
.simple-rules{max-width:860px;margin:0 auto}.simple-rules ul{margin:0;padding-left:20px;display:grid;gap:17px}.simple-rules li{padding-left:5px;font-size:14px;line-height:1.65;color:#dce6df}.simple-rules li strong{color:#fff0c5;font-weight:700}.rules-actions{display:flex;gap:12px;margin-top:26px}.rules-actions button{min-width:145px}
.target-choice label,.power-control label{display:block;margin-bottom:8px}.target-choice select{width:100%;min-width:0}.power-control{margin-top:16px}.power-control input{width:100%;touch-action:pan-y}.target-box #target-info{font-size:11px;line-height:1.5;margin:9px 0}.target-box .primary{min-height:49px}.game-hud{box-shadow:none}.game-bar>div{transition:width .3s ease}.arena .region{transition:fill .25s ease,stroke .12s ease}
.arena polygon.region:hover,.arena polygon.selected{filter:none}
@media(max-width:900px){
 body[data-screen=arena] main{width:100%;height:var(--app-height,100dvh);padding:0!important;overflow:hidden}
 body[data-screen=arena] .arena{width:100%;height:var(--app-height,100dvh)}
 body[data-screen=arena] .arena-header{left:14px;right:14px;top:max(11px,var(--app-safe-top, env(safe-area-inset-top)));height:43px;display:flex;align-items:center;justify-content:space-between;gap:8px}
 body[data-screen=arena] .arena-header h1{font:700 19px/1.2 var(--font);margin:0 0 4px;text-shadow:none;white-space:nowrap}
 body[data-screen=arena] .arena-header h1>span{display:none}
 body[data-screen=arena] .arena-header p{font:600 9px var(--font);margin:0;letter-spacing:.7px}
 body[data-screen=arena] .arena-header .secondary{min-height:38px;min-width:38px;padding:8px 9px;font:600 11px var(--font);gap:5px}
 body[data-screen=arena] .arena-header .secondary svg{width:14px;height:14px}
 body[data-screen=arena] .battlefield>svg{left:0;top:112px;width:100%;height:calc(var(--app-height,100dvh) - 290px - var(--app-safe-bottom, env(safe-area-inset-bottom)));filter:none}
 body[data-screen=arena] .game-hud{left:14px;right:14px;top:63px;bottom:auto;transform:none;display:flex;justify-content:space-around;gap:8px;min-height:48px;padding:8px 12px;border:1px solid #85afb1;border-radius:10px;background:#163f50f0}
 body[data-screen=arena] .game-hud>span{font:600 8px var(--font);letter-spacing:.7px;display:block;text-align:center}
 body[data-screen=arena] .game-hud strong{font:800 20px/1.2 var(--font);text-shadow:none;margin-top:3px;display:block}
 body[data-screen=arena] .arena-side{position:absolute!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;width:auto!important;max-width:none!important;height:auto;max-height:none;margin:0;border:0;border-top:1px solid #a7c8c7;border-radius:18px 18px 0 0;padding:13px 16px calc(10px + var(--app-safe-bottom, env(safe-area-inset-bottom)))!important;background:#153b4ef7;box-shadow:0 -4px 20px #174d6425;overflow:visible}
 body[data-screen=arena] .arena-side>h3,body[data-screen=arena] .standings{display:none}
 body[data-screen=arena] .target-box{display:grid;grid-template-columns:minmax(0,1fr) 112px;grid-template-rows:auto auto;gap:10px 16px;align-items:center;border:0;padding:0;margin:0;min-width:0}
 body[data-screen=arena] .target-choice{grid-column:1;grid-row:1;min-width:0}
 body[data-screen=arena] .target-choice label{display:none}
 body[data-screen=arena] .target-choice select{font:600 12px var(--font);height:39px;min-height:39px;width:100%;padding:8px 27px 8px 10px;text-overflow:ellipsis;border:1px solid #6c94a0;background-color:#103346;border-radius:8px}
 body[data-screen=arena] .target-box #target-info{display:none}
 body[data-screen=arena] .power-control{grid-column:1;grid-row:2;min-width:0;margin:0}
 body[data-screen=arena] .power-control label{font:500 11px var(--font);margin:0;white-space:nowrap;color:#cbdcdd}
 body[data-screen=arena] .power-control label strong{color:#ffe0a0}
 body[data-screen=arena] .power-control input{display:block;width:100%;margin:3px 0 0;padding:0;min-height:44px;height:44px;accent-color:#edc364}
 body[data-screen=arena] #attack-button{grid-column:2;grid-row:1/3;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;width:100%;height:88px;min-height:88px;margin:0!important;padding:12px!important;font:800 16px var(--font);border-radius:11px;letter-spacing:.4px}
 body[data-screen=arena] #attack-button svg{width:22px;height:22px}
 body[data-screen=arena] .battle-log{border:0;min-height:17px;padding:0;margin:9px 0 0;font:500 10px/1.5 var(--font);color:#b4cecf;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 body[data-screen=arena] .map-zoom{left:auto;right:12px;bottom:199px;top:auto;gap:5px;flex-direction:column}
 body[data-screen=arena] .map-zoom button{width:36px;height:36px;border-width:1px;border-bottom-width:2px;font-size:21px;border-radius:8px}
 body[data-screen=arena] .map-zoom button:last-child{width:36px;font-size:11px}
 body[data-screen=arena] .map-help{left:50%;right:auto;bottom:177px;top:auto;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);font:500 10px/1.4 var(--font);padding:6px 10px;border:0;border-radius:7px;background:#143d4dd9;box-shadow:none;pointer-events:none;text-align:center}
 body[data-screen=arena] #toast{bottom:185px;max-width:calc(100% - 32px);font-size:12px;padding:10px 14px}
 .simple-rules{padding:20px}.simple-rules li{font-size:13px}.simple-rules ul{gap:14px}.rules-actions button{flex:1;min-width:0}.game-lobby{padding-bottom:91px}.lobby-bottom{margin-top:auto}.lobby-side-buttons{top:14px}
}
@media(max-width:900px) and (orientation:landscape){body[data-screen=arena] .battlefield>svg{top:49px;height:calc(var(--app-height,100dvh) - 166px);width:calc(100% - 155px);left:145px}body[data-screen=arena] .game-hud{top:64px;left:12px;right:auto;width:125px;flex-wrap:wrap;gap:7px;padding:8px}body[data-screen=arena] .game-hud>span{flex:1 0 40%}body[data-screen=arena] .arena-side{padding:9px 15px!important}body[data-screen=arena] .target-box{grid-template-columns:minmax(120px,1fr) minmax(160px,1.3fr) 110px;grid-template-rows:auto;gap:14px}body[data-screen=arena] .target-choice{grid-column:1;grid-row:1}body[data-screen=arena] .power-control{grid-column:2;grid-row:1}body[data-screen=arena] #attack-button{grid-column:3;grid-row:1;height:49px;min-height:49px;flex-direction:row;font-size:13px}body[data-screen=arena] .map-help{bottom:88px}body[data-screen=arena] .map-zoom{bottom:120px;flex-direction:row}body[data-screen=arena] .battle-log{margin-top:3px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.arena .region,.game-bar>div{transition:none!important;animation:none!important}}
