.round-panel { width: min(390px, 35vw); }
.round-sequence { display:flex; gap:7px; justify-content:center; margin-bottom:7px; }
.round-step { color:#7e9285; font-size:10px; padding:4px 9px; border:1px solid #9aaf8e25; border-radius:4px; white-space:nowrap; }
.round-step.current { color:#f5dda2; border-color:#bba66f99; background:#bba66f12; }
.round-step.complete { color:#adca9c; }
.phase-line { display:flex; align-items:center; justify-content:space-between; gap:10px; color:#e2e7d9; font-size:12px; }
#phase-timer { font-variant-numeric:tabular-nums; font-size:20px; line-height:1; color:#f0d69c; }
#phase-timer.urgent { color:#f1a899; }
.phase-track { height:2px; background:#aabb9920; margin-top:7px; overflow:hidden; }
#phase-progress { height:100%; background:#c9b377; transition:width .1s linear; }
#health-summary { font-size:10px; color:#d2be9b; }
.live-match .match-hud { padding-top:10px; padding-bottom:10px; }
.live-match .topbar { height:58px; flex-basis:58px; }
.live-match .map-heading { top:18px; }
.live-match .eyebrow { margin-bottom:5px; }
.live-match .map-meta { margin-top:6px; }
.live-match .view-controls { top:22px; }
.live-match .map-viewport { inset:66px 20px 27px; }
.live-match .selection-readout { bottom:13px; max-width:65%; font-size:10px; }
.live-match .map-note { bottom:16px; }
.battle-active #units .unit[data-kind="arena"] { display:none; }
body[data-encounter="pve"] #units .opponent-unit { display:none; }

.combat-unit { pointer-events:none; transition:transform .21s linear, opacity .3s; }
.combat-unit.defeated { opacity:0; }
.health-track { fill:#172321; stroke:#1a2424; stroke-width:1; }
.health-fill { fill:#80bbd1; transition:width .2s; }
.combat-unit[data-side="red"] .health-fill { fill:#d28d80; }
.combat-hp { fill:#e0e6d9; font-size:9px; paint-order:stroke; stroke:#26312e; stroke-width:2px; }
.combat-stars { fill:#ecd496; font-size:12px; letter-spacing:1px; }
.damage-number { fill:#ffe3a5; font-weight:750; font-size:20px; paint-order:stroke; stroke:#4e322e; stroke-width:3px; pointer-events:none; }
.combat-projectile { stroke:#ffe1a1; stroke-width:3; stroke-linecap:round; }
.combat-feed { position:absolute; bottom:42px; left:50%; transform:translateX(-50%); padding:7px 12px; max-width:90%; color:#e1dec5; background:#1f2b29e8; border:1px solid #a4b39130; border-radius:4px; font-size:10px; text-align:center; pointer-events:none; }
.loot-tray { position:absolute; right:30px; top:67px; z-index:3; color:#adbbac; font-size:9px; }
.loot-tray > span { display:block; margin-bottom:5px; text-align:right; }
#item-inventory { display:flex; gap:5px; }
.inventory-item { background:#263a32; color:#edd9a2; border:1px solid #a4946666; border-radius:4px; padding:7px; font-size:10px; }
.inventory-item[aria-pressed="true"] { border-color:#ffe0a1; box-shadow:0 0 12px #dbc17b44; }
.inventory-item:disabled { opacity:.5; cursor:default; }
.unit-equipment { fill:#f2d89b; font-size:13px; pointer-events:none; }
@media (max-width:850px) {
 .round-panel { width:min(310px,39vw); }
 .round-step { padding:3px 5px; font-size:9px; }
 .round-sequence { gap:3px; }
 .live-match .view-controls { top:70px; left:22px; }
 .live-match .map-viewport { inset:114px 6px 58px; }
 .loot-tray { top:76px; right:20px; }
 .live-match .selection-readout { max-width:90%; }
}
@media (max-width:600px) {
 .match-hud { flex-wrap:wrap; gap:9px; }
 .round-panel { order:3; width:100%; display:flex; align-items:center; gap:12px; }
 .round-sequence { margin:0; }
 .phase-line { flex:1; font-size:10px; }
 .phase-track { display:none; }
 #phase-timer { font-size:17px; }
 .match-info { font-size:8px; }
 #health-summary { font-size:8px; }
 .live-match .map-heading h1 { font-size:19px; }
 .live-match .map-meta { font-size:9px; }
 .loot-tray { top:106px; }
 .inventory-item { padding:5px; font-size:9px; }
 .combat-feed { bottom:36px; font-size:9px; }
}
@media (prefers-reduced-motion:reduce) { .combat-unit,.health-fill,#phase-progress { transition:none; } }
