/* Shared activity stays team-neutral. The map remains the main surface. */
.locked-line{display:flex;justify-content:center;align-items:baseline;gap:5px;margin-top:3px;font-size:.875rem;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.locked-line b{color:var(--text);font-size:1rem}.locked-line small{font-size:.75rem;color:var(--muted);border:1px solid var(--line);padding:1px 4px;border-radius:4px}
.live-line{margin-top:3px;font-size:.8125rem}.army-layer{pointer-events:none}.army-team-0{color:#6fd7ff;fill:#6fd7ff}.army-team-1{color:#ff8da8;fill:#ff8da8}
.army-badge{fill:#091424;stroke:currentColor;stroke-width:.65}.army-number{fill:currentColor;font-family:Arial,sans-serif;font-size:4px;font-weight:800;paint-order:stroke;stroke:#091424;stroke-width:.2}
.army-person{fill:currentColor;stroke:#091424;stroke-width:.3}.army-shield{fill:none;stroke:currentColor;stroke-width:1.3}
.army-trail{fill:none;stroke:currentColor;stroke-width:.9;stroke-dasharray:1.4 1.1}.army-impact{fill:none;stroke:#ffffff;stroke-width:.65}.army-verdict{fill:#fff;font:800 3.7px Arial,sans-serif;paint-order:stroke;stroke:#07101f;stroke-width:1.8;stroke-linejoin:round}
.army-battle[data-damage="1"] .army-verdict{fill:#ffe27a}.army-battle[data-damage="2"] .army-verdict{fill:#ffad5c}.army-battle[data-damage="3"] .army-verdict{fill:#ff667f}
.army-lost .army-person{opacity:.4}.army-total-bg{fill:#091424;stroke:#ffffff55;stroke-width:.35}.army-total text{font:800 4.6px Arial,sans-serif}
/* Tactical effects use fixed SVG geometry. Motion is driven by the shared,
   bounded renderer, with no blur filters, infinite CSS loops or image assets. */
.army-unit-base{fill:#07101f;stroke:currentColor;stroke-width:.35;fill-opacity:.9}
.army-standard{fill:currentColor;stroke:#07101f;stroke-width:.35;stroke-linejoin:round}
.army-helmets{fill:none;stroke:#eaf5ff;stroke-width:.35;opacity:.8;stroke-linecap:round}
.army-route-bed{fill:none;stroke:#030b18;stroke-width:3;stroke-linecap:round}
.army-trail{stroke-width:1.1;stroke-dasharray:3 2;stroke-linecap:round}
.army-route-arrow{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.army-badge{fill:#081321;stroke-width:.55}
.battle-fx{color:#d1dbe8;pointer-events:none}
.battle-fx.army-team-0{color:#6fd7ff}.battle-fx.army-team-1{color:#ff8da8}
.fx-ground{fill:currentColor;fill-opacity:.14;stroke:currentColor;stroke-width:1;stroke-dasharray:12 4}
.fx-wave{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.fx-shield{fill:#091a2a;fill-opacity:.85;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.fx-break{fill:#162638;stroke:#ffbd75;stroke-width:1.3;stroke-linejoin:round}
.fx-upgrade{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fx-balance{fill:none;stroke-width:2;stroke-linecap:round}
.fx-balance path{fill:none;stroke:currentColor}
.fx-contact{fill:none;stroke:#ffe5b2;stroke-width:1.6;stroke-linecap:round}
.fx-claim{fill:currentColor;fill-opacity:.24;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.fx-spark{fill:none;stroke:#ffd598;stroke-width:1.4;stroke-linecap:round}
.army-battle[data-kind="capture"] .fx-spark{stroke:currentColor}
.army-battle[data-kind="fortify"] .fx-spark,.army-battle[data-kind="recover"] .fx-spark{stroke:currentColor}
.army-battle[data-kind="tie"] .fx-wave{stroke:#d1dbe8;stroke-dasharray:4 4}
.army-battle[data-kind="breach"] .fx-wave{stroke:#ffbd75}
.army-outcome-mark[data-outcome="upgrade"] .outcome-frame{stroke:#e3c77a}
.army-outcome-mark[data-outcome="upgrade"] .outcome-glyph{stroke:#ffe3a0}
.outcome-level.is-gained{fill:#ffe3a0;stroke:#fff1ca}
.relay-dialog{width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 30px);padding:28px}.relay-dialog h2{margin-bottom:8px}.relay-dialog>p{color:var(--muted);font-size:1rem;line-height:1.5}
.relay-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.9fr);gap:24px;margin-top:18px}.relay-preview{min-width:0;align-self:start;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#0a1223}.relay-preview img{display:block;width:100%;height:auto;max-height:65dvh;object-fit:contain}.relay-actions{display:flex;flex-direction:column;gap:10px;min-width:0}.relay-actions .pf-field{margin:0}.relay-actions button{margin:0;min-height:44px}.relay-actions input{min-width:0;width:100%;font-size:.8125rem}.relay-actions .pf-note{margin:0;font-size:.8125rem}.relay-status{font-size:.875rem;line-height:1.45;color:var(--muted);margin:0;min-height:1.5em}.relay-actions .pf-primary{margin-top:2px}.relay-dialog::backdrop{background:#050c1ccb}
@media(max-width:800px){.match-center .live-line span{display:inline}.live-line{font-size:.75rem}.locked-line{font-size:.75rem;gap:3px}.locked-line b{font-size:.875rem}.locked-line small{display:none}.match-center{min-width:145px}.phase-line{flex-wrap:wrap}.army-number{font-weight:900}}
@media(max-width:580px){.relay-dialog{padding:22px 16px}.relay-layout{grid-template-columns:minmax(0,1fr);gap:16px}.relay-preview img{max-height:48dvh}.relay-dialog h2{font-size:1.5rem}.team-score strong{font-size:.875rem}.team-score b{font-size:1.25rem}.team-score{flex-wrap:wrap;gap:3px}.team-score small{font-size:.75rem}}

