/* One phone notice rail; combat hit feedback stays beside the action. */
.mobile-battle-notice{display:none}
body[data-battle-controls="touch"] #game-ui .mobile-battle-notice{display:block;position:absolute;top:var(--hud-mobile-notice-top,124px);left:12px;right:12px;z-index:16;pointer-events:none;padding:7px 10px;max-height:48px;overflow:hidden;border:1px solid var(--field-trim,#bca273);border-left:3px solid var(--field-accent,#d4c28a);border-radius:6px;background:var(--field-panel,#20302bec);color:#f4e5bd;font:700 12px/1.3 system-ui;text-align:center;text-wrap:balance}
body[data-battle-controls="touch"] #game-ui .mobile-battle-notice[data-kind="warning"],body[data-battle-controls="touch"] #game-ui .mobile-battle-notice[data-kind="action"]{border-left-color:#e3a46e}
body[data-battle-controls="touch"] #game-ui :is(.tactical-alerts,.kill-confirmations,.reward-feed),body[data-battle-controls="touch"] #game-ui #war-feed.has-callin{display:none!important}
body[data-battle-controls="touch"] #game-ui #combat-feedback{top:51%;left:50%;right:auto;transform:translate(-50%,-50%);max-width:180px;background:#10201caa;box-shadow:none;padding:3px 7px;font-size:10px;line-height:1.2;pointer-events:none}
body[data-battle-controls="touch"] #game-ui{--move-size:clamp(116px,33vw,140px);--attack-size:clamp(96px,27vw,112px)}
body[data-battle-controls="touch"] #game-ui #stick{width:var(--move-size);height:var(--move-size);left:max(14px,env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));border:2px solid #dfd9be99;background:radial-gradient(circle,#e5c26e08 0 14%,#243d3270 15% 62%,#e5c26e23 63% 71%,#11241c88 72%);box-shadow:0 2px 7px #0005;touch-action:none}
body[data-battle-controls="touch"] #stick-knob{width:44px;height:44px;left:calc(50% - 22px);top:calc(50% - 22px);border:2px solid #f5e7b8;background:#b9c4aac9;z-index:2}
body[data-battle-controls="touch"] #stick.sprint-zone{border-color:#efd081;background:radial-gradient(circle,#e5c26e08 0 14%,#283e2d70 15% 62%,#e6bd4d66 63% 71%,#11241c88 72%)}
.movement-zone-label{display:none}body[data-battle-controls="touch"] #stick .movement-zone-label{display:block;position:absolute;left:0;right:0;text-align:center;pointer-events:none;font:800 8px/1 system-ui;letter-spacing:.1em;color:#f7e4a6;text-shadow:0 1px 2px #132217;z-index:1}.movement-zone-label.sprint{top:8px}.movement-zone-label.walk{bottom:25px}
body[data-battle-controls="touch"] #movement-state{font-size:10px;font-weight:900;letter-spacing:.08em;background:#17291dbb;padding:3px 7px;border-radius:8px}
body[data-battle-controls="touch"] #game-ui #attack{width:var(--attack-size);height:var(--attack-size);right:max(14px,env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));touch-action:none}
.touch-aim-knob{display:none}body[data-battle-controls="touch"] #attack.pressed .touch-aim-knob{display:block;position:absolute;left:calc(50% - 10px);top:calc(50% - 10px);width:20px;height:20px;border:2px solid #f8e6af;border-radius:50%;background:#b38c4a66;pointer-events:none;box-shadow:0 0 0 4px #f7dfa526}
body[data-battle-controls="touch"] #attack.manual-aim{border-color:#f1d692;box-shadow:0 0 0 3px #f1d69244}
body[data-battle-controls="touch"] #game-ui #ability{width:78px;height:68px;min-height:68px;left:calc(50% + 12px);right:auto;bottom:calc(148px + env(safe-area-inset-bottom,0px));padding:6px;gap:2px;touch-action:none}
body[data-battle-controls="touch"] #ability>span{font-size:21px}body[data-battle-controls="touch"] #ability>b{font-size:11px}body[data-battle-controls="touch"] #ability>small{font-size:10px}
body[data-battle-controls="touch"] #game-ui #guard{right:18px;bottom:calc(142px + env(safe-area-inset-bottom,0px));width:76px;min-height:52px;font-size:11px}
body[data-battle-controls="touch"] #game-ui #interact{left:18px;bottom:calc(166px + env(safe-area-inset-bottom,0px));width:98px;min-height:52px;font-size:11px}
body[data-battle-controls="touch"] #game-ui #sprint{left:18px;bottom:calc(146px + env(safe-area-inset-bottom,0px));width:76px;min-height:52px}
body[data-battle-controls="touch"][data-mobile-role="drone"] #game-ui #interact{bottom:calc(208px + env(safe-area-inset-bottom,0px))}
body[data-battle-controls="touch"] #game-ui .arcade-status{left:calc(50% + 12px);width:106px;max-width:none;bottom:calc(8px + env(safe-area-inset-bottom,0px));padding:4px}
body[data-battle-controls="touch"] .arcade-status .vitals-core{width:96px;height:53px}body[data-battle-controls="touch"] .arcade-status .class-medallion{width:47px;height:47px}body[data-battle-controls="touch"] .arcade-status .vital-curves{left:43px;width:48px;height:53px}body[data-battle-controls="touch"] .arcade-status .vital-values{width:96px}
body[data-battle-controls="touch"] #game-ui .callin-hud{left:50%;right:auto;transform:translateX(-50%);bottom:calc(270px + env(safe-area-inset-bottom,0px));width:min(272px,calc(100vw - 32px));z-index:18;animation:none}
body[data-battle-controls="touch"] .callin-open{min-height:64px;padding:9px 12px;border:2px solid var(--field-trim,#cdb477)}body[data-battle-controls="touch"] .callin-copy em{font-size:10px}body[data-battle-controls="touch"] .callin-copy b{font-size:16px}body[data-battle-controls="touch"] .callin-copy small{font-size:11px}
body[data-battle-controls="touch"] #game-ui .ability-help{bottom:calc(222px + env(safe-area-inset-bottom,0px));font-size:11px;max-width:calc(100vw - 24px)}
@media(max-width:340px){body[data-battle-controls="touch"] #game-ui .arcade-status{left:12px;bottom:calc(166px + env(safe-area-inset-bottom,0px))}body[data-battle-controls="touch"] #game-ui #interact{bottom:calc(254px + env(safe-area-inset-bottom,0px))}}
@media(max-height:520px) and (min-width:520px){body[data-battle-controls="touch"] #game-ui{--move-size:116px;--attack-size:98px}body[data-battle-controls="touch"] #game-ui #ability{left:auto;right:132px;bottom:30px;transform:none}body[data-battle-controls="touch"] #game-ui .arcade-status{left:155px;bottom:10px;transform:none}body[data-battle-controls="touch"] #game-ui .callin-hud{bottom:150px;width:240px}body[data-battle-controls="touch"] #game-ui .mobile-battle-notice{left:130px;right:130px}}

.mobile-battle-notice[hidden]{display:none!important}

.matchmake-incentive{display:flex;align-items:center;gap:16px;padding:15px;margin:12px 0;border:1px solid #d3b878;background:linear-gradient(110deg,#bda45e29,#182f2e70);border-radius:7px}.matchmake-incentive>b{display:grid;flex:none;font:42px/1 Bangers,Impact,sans-serif;color:#f2d692;text-align:center}.matchmake-incentive>b small{font:700 8px/1.5 system-ui;letter-spacing:.1em}.matchmake-incentive>span{display:grid;gap:4px;font:12px/1.4 system-ui;color:#d9dfcc}.matchmake-incentive strong{font:24px/1 Bangers,Impact,sans-serif;color:#f2dfb3}.matchmake-incentive span small{font-size:10px;color:#c9c9a8}.friends-room .friends-room-actions button:first-child{min-height:60px;font-family:Bangers,Impact,sans-serif;font-size:24px;letter-spacing:.02em}.mobile-howto-card{padding:16px;border:1px solid #ad986a;background:#1c302ae8;border-radius:7px}.mobile-howto-card h3{font-family:Bangers,Impact,sans-serif;font-size:25px}.mobile-howto-card li{margin:12px 0;line-height:1.6}.mobile-howto-card p{font-size:12px;line-height:1.6}
@media(max-width:520px){.matchmake-incentive{gap:11px;padding:12px}.matchmake-incentive>b{font-size:37px}.matchmake-incentive strong{font-size:22px}.friends-room .friends-room-actions button:first-child{font-size:22px}.mobile-howto-card{padding:12px}}
