/* Shared release unified-20261030. Compact desktop battlefield; narrow screens retain document scrolling. */
.battle-unified-hud{display:none}.unified-action-button>strong,.unified-action-button>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.unified-action-button>strong{font-size:17px;line-height:1.35}.unified-action-button>small{font-size:12px;line-height:1.5;font-weight:400}.unified-page-away{display:none!important}.unified-action-pager{display:inline-flex;align-items:center;gap:5px}.unified-action-pager button{padding:0 6px;min-height:22px}.unified-speed-control{position:absolute;right:10px;top:4px;padding:4px 12px;font-size:13px;min-height:28px;z-index:25}.unified-action-caption{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;font-size:13px}.unified-action-caption>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unified-hud-card{min-width:0;position:relative;padding:6px 9px;background:#091a12d4;border-bottom:1px solid #88774770;color:#e6d9ba;box-sizing:border-box}.unified-hud-card>strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unified-hud-card>span{display:block;padding-right:42px;font-size:12px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unified-hud-details{position:absolute;right:5px;bottom:5px;min-height:23px;padding:1px 7px;font-size:11px}.unified-enemy-card{cursor:pointer}
@media(min-width:900px){
 html body.unified-battle-173.battle-fit-117{height:100dvh!important;min-height:0!important;overflow:hidden!important}
 body.unified-battle-173 main.app-shell{display:grid!important;grid-template-rows:45px minmax(0,1fr);height:100dvh!important;min-height:0!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important}
 body.unified-battle-173 .hero-header{position:relative!important;inset:auto!important;box-sizing:border-box;display:flex!important;height:45px!important;min-height:0!important;margin:0!important;padding:4px 14px!important;gap:12px!important;border-radius:0!important}
 body.unified-battle-173 .hero-header .brand-lockup{flex:0 1 auto!important;gap:8px!important}body.unified-battle-173 .hero-header h1{font-size:18px!important;margin:0!important}body.unified-battle-173 .hero-header .brand-mark{font-size:18px!important;width:25px!important;height:25px!important;min-width:25px!important}
 body.unified-battle-173 .hero-header :is(.eyebrow,.brand-subtitle,.audio-control,#experience-intro-replay,#experience-inventory-button){display:none!important}body.unified-battle-173 .hero-header .header-actions{display:flex!important;align-items:center;justify-content:flex-end;flex:1;gap:8px!important;min-width:0}body.unified-battle-173 .hero-header button{font-size:13px!important;min-height:30px!important;padding:3px 12px!important}body.unified-battle-173 .hero-header .turn-timer{order:-1;min-width:95px;font-size:13px}body.unified-battle-173 .hero-header #connection-status{font-size:12px;white-space:nowrap}
 body.unified-battle-173 #game-panel:not([hidden]){height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;margin:0!important;overflow:hidden!important}body.unified-battle-173 .session-bar{display:none!important}
 body.unified-battle-173 #map-stage-page#map-stage-page#map-stage-page#map-stage-page#map-stage-page{display:flex!important;flex:1!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;padding:0!important;overflow:hidden!important}
 body.unified-battle-173 #map-stage-page>.turn-bar,body.unified-battle-173 #player-stats,body.unified-battle-173 #event-message{display:none!important}
 body.unified-battle-173 #event-scene#event-scene#event-scene#event-scene#event-scene.combat-scene:not([hidden]){display:grid!important;grid-template-rows:64px minmax(0,1fr) auto!important;flex:1!important;height:100%!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
 body.unified-battle-173 #event-scene#event-scene#event-scene#event-scene#event-scene.combat-scene #battle-stage{display:contents!important}
 body.unified-battle-173 #event-scene .battle-hud-row,body.unified-battle-173 #battle-turn-banner{display:none!important}
 body.unified-battle-173 #event-scene .battle-unified-hud{display:grid!important;grid-template-columns:repeat(var(--u173-columns,3),minmax(0,1fr));gap:3px;grid-row:1;z-index:5;padding:0 12px;background:#161d13d9;max-height:64px;overflow:hidden}
 body.unified-battle-173 #event-scene#event-scene#event-scene#event-scene#event-scene.combat-scene #battle-stage .battle-arena{grid-row:2;display:block!important;position:relative!important;inset:auto!important;height:100%!important;min-height:0!important;max-height:none!important;flex:1!important;overflow:hidden!important}
 body.unified-battle-173 #event-scene#event-scene#event-scene#event-scene#event-scene.combat-scene .event-scene-copy{grid-row:3;position:relative!important;flex:none!important;padding:0!important;margin:0!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;background:none!important;display:block!important}
 body.unified-battle-173 #event-scene .event-scene-copy>:not(#combat-panel){display:none!important}
 body.unified-battle-173 #event-scene#event-scene#event-scene#event-scene#event-scene.combat-scene #combat-panel{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:24px;grid-auto-rows:64px;gap:7px!important;padding:8px 16px!important;margin:0!important;max-height:none!important;overflow:visible!important;box-sizing:border-box!important;border:0!important;border-top:2px solid #7a674980!important;background:#0c190fe8!important;position:relative!important}
 body.unified-battle-173.unified-battle-dense #event-scene#event-scene#event-scene#event-scene#event-scene.combat-scene #combat-panel{grid-auto-rows:60px}
 body.unified-battle-173 #combat-panel :is(.combat-actions,#path-combat-actions,#coop-supply-interface,.coop-actions,.career-target-settings){display:contents!important}
 body.unified-battle-173 #combat-panel :is(.career-combat-status,.career-action-details,.career-target-settings>summary,.career-target-settings>p,#echo-status,#enemy-target-roster,#coop-supply-interface>:not(.coop-actions)){display:none!important}
 body.unified-battle-173 #combat-panel .unified-action-caption{grid-column:1/4;grid-row:1;order:0;height:24px}
 body.unified-battle-173 #combat-panel .combat-tools{grid-column:4;grid-row:1;order:0;border:0!important;padding:0!important;margin:0!important;height:24px!important;min-height:0!important;background:transparent!important}
 body.unified-battle-173 #combat-panel .combat-tools>summary{position:static!important;padding:2px 8px!important;font-size:13px!important;text-align:right;min-height:0!important;line-height:20px!important}
 body.unified-battle-173 #combat-panel .unified-action-button{height:64px!important;min-height:0!important;max-height:none!important;margin:0!important;padding:7px 12px!important;box-sizing:border-box!important;overflow:hidden!important}
 body.unified-battle-173.unified-battle-dense #combat-panel .unified-action-button{height:60px!important}
 body.unified-battle-173 #combat-panel #enemy-target-confirm{grid-column:1/-1;grid-row:auto;order:-1}
 body.unified-battle-173 #event-scene:has(#enemy-target-confirm) #enemy-target-roster{display:flex!important;grid-column:1/-1;order:-1;flex-wrap:wrap}
 body.unified-battle-173 #event-scene .soldier-presentation .battle-party{bottom:8%!important;height:76%!important;max-height:270px!important}body.unified-battle-173 #event-scene .soldier-presentation .battle-enemy{bottom:8%!important;height:76%!important;max-height:270px!important}
 body.unified-battle-173 #event-scene .battle-party{bottom:8%!important;height:76%!important;max-height:270px!important}body.unified-battle-173 #event-scene .battle-enemy{bottom:8%!important;height:76%!important;max-height:270px!important}
}
@media(min-width:900px) and (max-height:650px){
 body.unified-battle-173 main.app-shell{grid-template-rows:39px minmax(0,1fr)}body.unified-battle-173 .hero-header{height:39px!important}body.unified-battle-173 #event-scene#event-scene#event-scene#event-scene#event-scene.combat-scene:not([hidden]){grid-template-rows:58px minmax(0,1fr) auto!important}body.unified-battle-173 #event-scene .battle-unified-hud{max-height:58px}
 body.unified-battle-173 #event-scene#event-scene#event-scene#event-scene#event-scene.combat-scene #combat-panel{grid-template-rows:22px;grid-auto-rows:60px;padding:7px 14px!important;gap:6px!important}body.unified-battle-173 #combat-panel .unified-action-button{height:60px!important}body.unified-battle-173 #combat-panel .unified-action-button>strong{font-size:16px}
 body.unified-battle-173.unified-battle-dense #event-scene#event-scene#event-scene#event-scene#event-scene.combat-scene #combat-panel{grid-template-rows:20px;grid-auto-rows:56px;padding:6px 12px!important}body.unified-battle-173.unified-battle-dense #combat-panel .unified-action-button{height:56px!important}body.unified-battle-173.unified-battle-dense #combat-panel .unified-action-button>strong{font-size:15px}
}
@media(max-width:899px){.unified-action-caption{padding:6px 0}.unified-speed-control{right:4px;top:2px}.unified-action-button{min-height:60px!important}.unified-action-button>strong{font-size:15px}.unified-action-button>small{font-size:12px}}
/* Native typography: words remain alongside color; no duplicate zero damage. */
.battle-float[data-unified-damage]{color:#f2e3c7;font-size:28px}.hit-feedback-critical{color:#e8bc6c}.hit-feedback-critical strong{font-size:34px}.hit-feedback-dodge,.hit-feedback-miss{color:#a2d2d4}
.unified-dead-away{display:none!important}.unified-hud-details,.unified-speed-control{background:#1c3025;border-color:#796e4c;color:#e6d9ba}
@media(min-width:900px){body.unified-battle-173 #event-scene:has(>:is(.combat-impact,.floor3-impact)) :is(.battle-unified-hud,.event-scene-copy){visibility:hidden;pointer-events:none}body.unified-battle-173 #event-scene>:is(.combat-impact,.floor3-impact){position:absolute;inset:0;z-index:40}}
