/* Combat V2: ink #15241f / jade #759b7b / antique gold #d3bb80 /
   parchment #e9dfbf / cinnabar #bd7862. No legacy .fighter animation is used. */
.combat-v2 {
  box-sizing: border-box;
  container-type: inline-size;
  max-width: 100%;
  --combat-gold: #d3bb80;
  --combat-ink: #15241f;
  --combat-jade: #91b391;
  --combat-red: #c78972;
  --combat-tempo: 1;
  position: relative;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  color: #e0dcc4;
  background: #1b2922;
  border: 1px solid #b9a16b40;
  box-shadow: 0 12px 35px #07100c24;
}
.combat-v2 *, .combat-v2 *::before, .combat-v2 *::after { box-sizing: border-box; }
.combat-v2 .combat-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 20px 12px; background: linear-gradient(115deg, #303426, #1a2821 76%); }
.combat-v2 .combat-stage { display: flex; align-items: center; gap: 12px; min-width: 0; }
.combat-v2 .combat-seal { display: grid; place-items: center; width: 35px; height: 43px; flex: 0 0 auto; font: 25px var(--serif, serif); color: var(--combat-gold); border: 1px solid #b8a06b73; outline: 1px solid #b8a06b20; outline-offset: 3px; transform: rotate(-3deg); }
.combat-v2 .combat-chapter { color: #a8b09a; font-size: 10px; letter-spacing: 1px; }
.combat-v2 .combat-chapter b { font-weight: 400; color: #d4c49b; }
.combat-v2 .combat-chapter small { margin-left: 9px; font-size: 9px; color: #8d9b85; }
.combat-v2 .combat-stage h2 { margin: 4px 0 0; font: 22px/1.2 var(--serif, serif); letter-spacing: 3px; color: #e5d7ae; }
.combat-v2 .combat-status { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; color: #b3c29f; font-size: 11px; }
.combat-v2 .combat-status::before { content: ''; width: 5px; height: 5px; background: #b1c89c; border-radius: 50%; box-shadow: 0 0 7px #bad58d55; }
.combat-v2[data-phase="recovering"] .combat-status { color: #d5b489; }
.combat-v2[data-phase="recovering"] .combat-status::before, .combat-v2.is-paused .combat-status::before { background: #bba579; box-shadow: none; }
.combat-v2 .combat-health-board { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; gap: 12px; padding: 9px 20px 13px; border-bottom: 1px solid #e0c99625; background: #1b2922; }
.combat-v2 .combat-army-health { min-width: 0; }
.combat-v2 .combat-army-health > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin-bottom: 6px; font-size: 10px; }
.combat-v2 .combat-army-health > div > span { color: #bdd1ad; white-space: nowrap; }
.combat-v2 .combat-army-health small { margin-left: 6px; color: #8ea188; font-size: 8px; }
.combat-v2 .combat-army-health strong { font: 11px Georgia, serif; color: #d1d7bc; white-space: nowrap; font-variant-numeric: tabular-nums; }
.combat-v2 .army-health-track { height: 5px; background: #0b1c17; box-shadow: 0 1px #c7b57612; overflow: hidden; }
.combat-v2 .army-health-track i { display: block; height: 100%; background: linear-gradient(90deg, #597c63, #b0c49b); transition: width .1s linear; }
.combat-v2 .enemy-health > div > span { color: #d3ae94; }
.combat-v2 .enemy-health .army-health-track i { background: linear-gradient(90deg, #8b5142, #c2916c); }
.combat-v2 .combat-versus { text-align: center; font: 12px var(--serif, serif); color: #a59269; letter-spacing: 2px; }

/* The stage owns a coordinate space; labels stay at formation while only rigs move. */
.combat-v2 .combat-arena { position: relative; isolation: isolate; container-type: inline-size; height: 490px; min-width: 0; width: 100%; overflow: hidden; background: #2c4035; }
.combat-v2 .combat-landscape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.combat-v2 .combat-arena::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, #0b211c30, transparent 28%, transparent 78%, #10251b91), linear-gradient(90deg, #0c201d44, transparent 28%, transparent 72%, #0c201c3d); box-shadow: inset 0 1px #ead4a114, inset 0 -1px #ead4a11c; }
.combat-v2 .combat-mist { position: absolute; left: -12%; right: -12%; top: 22%; height: 25%; background: radial-gradient(ellipse, #afba9b12, transparent 68%); pointer-events: none; z-index: 1; }
.combat-v2 .combat-map-mark { position: absolute; top: 17px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 5px; white-space: nowrap; text-shadow: 0 2px 8px #0b211b; }
.combat-v2 .combat-map-mark > span { font: 20px var(--serif, serif); letter-spacing: 5px; color: #d0cba8b3; }
.combat-v2 .combat-map-mark small { color: #c4c4a77d; font: 9px var(--serif, serif); letter-spacing: 3px; }
.combat-v2 .combat-side-mark { position: absolute; bottom: 13px; z-index: 3; font: 11px var(--serif, serif); letter-spacing: 6px; color: #d8dbb351; }
.combat-v2 .ally-mark { left: 20px; }
.combat-v2 .enemy-mark { right: 15px; color: #ddbb9f61; }
.combat-v2 .combat-fighters { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.combat-v2 .combat-unit { position: absolute; left: var(--unit-x); top: var(--unit-y); width: clamp(64px, 13cqw, 108px); transform: translate(-50%, -100%); z-index: var(--unit-depth, 10); pointer-events: none; }
.combat-v2 .unit-motion { position: relative; width: 100%; aspect-ratio: 240 / 350; transform-origin: 50% 95%; }
.combat-v2 .unit-impact, .combat-v2 .unit-facing, .combat-v2 .unit-pose { width: 100%; height: 100%; transform-origin: 50% 94%; }
.combat-v2 .unit-facing { transform: none; }
.combat-v2 [data-side="enemy"] .unit-facing { transform: scaleX(-1); }
.combat-v2 .unit-pose { filter: drop-shadow(0 5px 3px #061d1599); }
.combat-v2 .unit-pose .portrait { display: block; position: relative; width: 100%; height: 100%; overflow: visible; }
.combat-v2 .unit-ground { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); width: 84%; height: 16px; border: 1px solid #b7c79838; border-radius: 50%; background: radial-gradient(ellipse, #b0c29130, #0e261e3d 60%, transparent 72%); box-shadow: 0 4px 8px #081d1840; }
.combat-v2 [data-side="enemy"] .unit-ground { border-color: #c79e7240; background: radial-gradient(ellipse, #ba8a5926, #10231c3d 60%, transparent 72%); }
.combat-v2 .rig-cape { animation: combat-cloth calc(4.8s / var(--combat-tempo)) ease-in-out infinite alternate; }
.combat-v2 .rig-torso { animation: combat-breath calc(4s / var(--combat-tempo)) ease-in-out infinite alternate; }
.combat-v2 [data-slot="1"] .rig-cape, .combat-v2 [data-slot="3"] .rig-torso { animation-delay: -1.8s; }
.combat-v2 [data-slot="2"] .rig-torso, .combat-v2 [data-slot="4"] .rig-cape { animation-delay: -2.7s; }
.combat-v2 .unit-hud { position: absolute; top: calc(100% + 7px); left: 50%; transform: translateX(-50%); width: max(69px, 88%); display: flex; flex-direction: column; align-items: center; text-align: center; color: #e6ddbd; text-shadow: 0 1px 4px #071c16, 0 0 8px #071c16; }
.combat-v2 .unit-name { font: 14px/1.2 var(--serif, serif); letter-spacing: 1px; white-space: nowrap; }
.combat-v2 .unit-health { margin-top: 4px; width: 100%; height: 4px; background: #0a1b15cc; outline: 1px solid #c3c39b24; overflow: hidden; }
.combat-v2 .unit-health i { display: block; height: 100%; background: linear-gradient(90deg, #4f8267, #b8d298); box-shadow: 0 0 4px #c5da9e66; transition: width .1s linear; }
.combat-v2 [data-side="enemy"] .unit-health i { background: linear-gradient(90deg, #8f4c3c, #d2a179); box-shadow: 0 0 4px #d9a17e44; }
.combat-v2 .unit-hp-text { margin-top: 3px; font: 10px/1.2 Georgia, serif; color: #cbd8ba; white-space: nowrap; font-variant-numeric: tabular-nums; }
.combat-v2 .unit-hp-text small { font: inherit; color: #abb99c; }
.combat-v2 [data-side="enemy"] .unit-hp-text { color: #e0bda5; }
.combat-v2 .unit-focus { display: block; margin-top: 3px; max-width: 120%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 9px/1.25 var(--serif, serif); letter-spacing: 1px; color: #c3c49d; }
.combat-v2 .is-down .unit-pose { transform: rotate(-72deg) translateY(8px); opacity: .4; filter: grayscale(.85) drop-shadow(0 3px 2px #102019); }
.combat-v2 .is-down .rig-torso, .combat-v2 .is-down .rig-cape { animation: none; }
.combat-v2 .is-down .unit-name, .combat-v2 .is-down .unit-hp-text { color: #aca891; }
.combat-v2 .is-down .unit-focus { color: #d19b80; }
.combat-v2 .is-down .unit-ground { opacity: .35; }

/* Every transient is tied to an engine event and removed by its WAAPI lifetime. */
.combat-v2 .combat-effects { position: absolute; inset: 0; z-index: 20; pointer-events: none; overflow: hidden; }
.combat-v2 .combat-effect { position: absolute; pointer-events: none; }
.combat-v2 .combat-caption { transform: translateX(-50%); padding: 4px 9px; color: #f1deab; font: 12px var(--serif, serif); letter-spacing: 2px; line-height: 1.25; white-space: nowrap; text-shadow: 0 2px 5px #071b17; border-top: 1px solid #cdb98165; border-bottom: 1px solid #cdb98140; background: linear-gradient(90deg, transparent, #14271de0 20%, #14271de0 80%, transparent); }
.combat-v2 .is-down-caption { color: #ddb096; border-color: #be8e5d66; }
.combat-v2 .combat-damage { transform: translate(-50%, -50%); font: 700 26px/1 Georgia, 'Noto Serif SC', serif; color: #f2dcaa; text-shadow: 0 2px 2px #14211a, 1px 0 #503a27, -1px 0 #503a27; white-space: nowrap; letter-spacing: -1px; }
.combat-v2 .combat-damage.is-critical { color: #ffe4ac; font-size: 31px; text-shadow: 0 2px #412116, 0 0 15px #d5a35180; }
.combat-v2 .combat-damage.is-heal { color: #c1e7ae; text-shadow: 0 2px #12361d, 0 0 12px #7aa16f80; }
.combat-v2 .combat-slash { width: 112px; height: 112px; transform: translate(-50%, -50%); color: #e3cd94; filter: drop-shadow(0 0 6px #e7c77766); }
.combat-v2 .combat-slash svg { width: 100%; height: 100%; overflow: visible; }
.combat-v2 .combat-slash.is-thrust { width: 135px; height: 64px; }
.combat-v2 .combat-projectile { width: 37px; height: 37px; margin: -18px 0 0 -18px; color: #d1dfb9; filter: drop-shadow(0 0 7px #d1dba58c); transform-origin: 50% 50%; }
.combat-v2 .combat-projectile svg { width: 100%; height: 100%; display: block; overflow: visible; }
.combat-v2 .combat-projectile.is-arrow { width: 60px; height: 14px; margin: -7px 0 0 -30px; filter: drop-shadow(-4px 0 3px #ddd8a770); }
.combat-v2 .combat-projectile.is-heal { color: #bfe6a7; filter: drop-shadow(0 0 8px #b5e59b99); }
.combat-v2 .combat-projectile.is-petal { color: #e7b4cc; filter: drop-shadow(0 0 7px #d9a2c5c0); }
.combat-v2 .combat-hit-ring { width: 58px; height: 58px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid #edcf86b3; box-shadow: inset 0 0 18px #eddca952, 0 0 18px #eddca947; background: radial-gradient(circle, #fff5c789, transparent 60%); }
.combat-v2 .combat-hit-ring.is-heal { border-color: #c0e5aab3; background: radial-gradient(circle, #bfe9aa70, transparent 66%); box-shadow: 0 0 18px #acd19444; }
.combat-v2 .ultimate-charge { inset: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; background: radial-gradient(ellipse at 50% 47%, #9e814830, #101f18bf 70%); color: #ead196; text-shadow: 0 2px 8px #10241a; }
.combat-v2 .ultimate-sigil { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%); width: min(66%, 305px); height: auto; overflow: visible; stroke: #dabe7b; stroke-width: 1; fill: none; filter: drop-shadow(0 0 9px #d5b87177); }
.combat-v2 .ultimate-sigil text { font: 68px var(--serif, serif); fill: #ead9aa; stroke: none; }
.combat-v2 .ultimate-title { margin-top: 225px; font: 29px var(--serif, serif); letter-spacing: 10px; padding-left: 10px; }
.combat-v2 .ultimate-subtitle { margin-top: 12px; font: 11px var(--serif, serif); letter-spacing: 4px; color: #d3bd8c; }
.combat-v2 .combat-ultimate-impact { inset: 0; background: linear-gradient(125deg, transparent 30%, #f8e5b2ad 49%, #fff1cfa8 50%, transparent 68%); }
.combat-v2 .combat-phase-overlay { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; background: linear-gradient(0deg, #12251a70, #102119ba 36%, #102119ba 66%, #12251a40); text-align: center; padding: 24px; }
.combat-v2 .combat-phase-overlay[hidden] { display: none; }
.combat-v2 .combat-phase-seal { display: grid; place-items: center; width: 64px; height: 76px; margin-bottom: 2px; font: 47px var(--serif, serif); color: #d2b278; border: 1px solid #c4a56596; outline: 1px solid #c4a56544; outline-offset: 4px; transform: rotate(-4deg); }
.combat-v2 .combat-phase-overlay > strong { font: 30px var(--serif, serif); color: #e5d0a0; letter-spacing: 6px; }
.combat-v2 .combat-phase-overlay > span { font-size: 12px; line-height: 1.7; color: #c3c5a5; }
.combat-v2 .combat-phase-overlay > small { color: #d3b88a; font-size: 11px; min-height: 16px; }
.combat-v2 .combat-pause-veil { display: none; position: absolute; inset: 0; z-index: 40; align-items: center; justify-content: center; flex-direction: column; gap: 12px; background: #10251a83; color: #e2d0a4; font: 20px var(--serif, serif); letter-spacing: 4px; }
.combat-v2 .combat-pause-veil .icon { width: 29px; height: 29px; }
.combat-v2.is-paused .combat-pause-veil { display: flex; }
.combat-v2.is-paused *, .combat-v2.is-paused *::before, .combat-v2.is-paused *::after { animation-play-state: paused !important; }

/* Commands stay below the action, never on top of an actor's health. */
.combat-v2 .combat-orders { position: relative; z-index: 45; padding: 13px 19px 15px; border-top: 1px solid #bba36c40; background: linear-gradient(110deg, #293023, #19281f 75%); }
.combat-v2 .combat-command-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.combat-v2 .combat-power { min-width: 0; }
.combat-v2 .combat-power > span { display: flex; align-items: baseline; gap: 10px; font-size: 10px; color: #aeb99c; }
.combat-v2 .combat-power strong { color: #dbc696; font: 25px/1.1 Georgia, serif; font-variant-numeric: tabular-nums; }
.combat-v2 .combat-power > small { display: block; margin-top: 5px; font-size: 9px; color: #91a087; }
.combat-v2 .combat-power b { font-weight: 400; color: #b5bea1; margin-left: 5px; }
.combat-v2 .combat-toggles { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.combat-v2 button { cursor: pointer; font-family: inherit; touch-action: manipulation; }
.combat-v2 .combat-toggles button { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 41px; min-height: 38px; padding: 7px 10px; color: #d2c79f; border: 1px solid #b7a57540; border-radius: 3px; background: #17261d66; font-size: 11px; }
.combat-v2 .combat-toggles .icon { width: 14px; height: 14px; }
.combat-v2 .combat-toggles button:hover:not(:disabled) { border-color: #d1b979aa; background: #a68b4f17; }
.combat-v2 button:focus-visible { outline: 2px solid #efdcaa; outline-offset: 3px; }
.combat-v2 button:disabled { opacity: .45; cursor: not-allowed; }
.combat-v2 .combat-skill-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 25px; padding-top: 13px; margin-top: 12px; border-top: 1px solid #bca77723; }
.combat-v2 .combat-rage { min-width: 0; }
.combat-v2 .combat-rage > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; font-size: 10px; }
.combat-v2 .combat-rage > div > span { display: flex; align-items: center; gap: 5px; color: #c9b27e; }
.combat-v2 .combat-rage .icon { width: 13px; height: 13px; }
.combat-v2 .combat-rage strong { color: #ddc78e; font: 10px Georgia, serif; text-align: right; line-height: 1.4; }
.combat-v2 .combat-rage-track { height: 5px; background: #0f1e17; overflow: hidden; }
.combat-v2 .combat-rage-track i { display: block; height: 100%; background: linear-gradient(90deg, #8d7041, #e2c88b); transition: width .15s linear; box-shadow: 0 0 7px #d8b57044; }
.combat-v2 .combat-rage > small { display: block; margin-top: 5px; font-size: 9px; line-height: 1.5; color: #99a286; }
.combat-v2 .combat-ultimate-button { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 57px; min-width: 170px; padding: 10px 14px; border: 1px solid #c2a46777; border-radius: 3px; background: linear-gradient(115deg, #655638, #3c3c29); color: #f1deb4; }
.combat-v2 .combat-ultimate-button > .icon { width: 26px; height: 26px; color: #dfc385; }
.combat-v2 .combat-ultimate-button > span { font: 17px var(--serif, serif); letter-spacing: 3px; }
.combat-v2 .combat-ultimate-button small { display: block; margin-top: 5px; font: 9px var(--serif, serif); letter-spacing: 2px; color: #c6b386; }
.combat-v2 .combat-ultimate-button kbd { align-self: flex-end; margin: 0 0 2px 4px; font: 8px var(--sans, sans-serif); color: #cdbb8b; border: 1px solid #d0b47b3d; border-radius: 2px; padding: 2px 3px; }
.combat-v2 .combat-ultimate-button.is-ready:not(:disabled) { border-color: #dcc58c; box-shadow: inset 0 0 13px #d3af5d20, 0 0 18px #d3af5d14; }
.combat-v2 .combat-ultimate-button:hover:not(:disabled) { background: linear-gradient(115deg, #7b653e, #4f4830); box-shadow: 0 0 18px #d3af5d28; }
@keyframes combat-cloth { from { transform: rotate(-1deg); } to { transform: rotate(2deg); } }
@keyframes combat-breath { from { transform: translateY(0); } to { transform: translateY(-1.2px); } }

@media (max-width: 760px) {
  .combat-v2 .combat-arena { height: 470px; }
  .combat-v2 .combat-top { padding: 14px 15px 11px; }
  .combat-v2 .combat-health-board { padding: 9px 15px 12px; gap: 9px; grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); }
  .combat-v2 .combat-army-health > div:first-child { flex-wrap: wrap; gap: 4px; }
  .combat-v2 .combat-army-health strong { font-size: 10px; }
  .combat-v2 .combat-versus { font-size: 10px; letter-spacing: 1px; }
  .combat-v2 .combat-orders { padding: 12px 15px 14px; }
  .combat-v2 .unit-name { font-size: 12px; }
  .combat-v2 .unit-hp-text { font-size: 9px; }
  .combat-v2 .unit-focus { font-size: 8px; letter-spacing: 0; }
  .combat-v2 .unit-hud { width: max(64px, 88%); }
  .combat-v2 .combat-slash { width: 80px; height: 80px; }
  .combat-v2 .combat-caption { font-size: 10px; letter-spacing: 1px; padding: 4px 6px; }
}
@media (max-width: 430px) {
  .combat-v2 .combat-stage h2 { font-size: 20px; }
  .combat-v2 .combat-stage { gap: 9px; }
  .combat-v2 .combat-seal { width: 28px; height: 35px; font-size: 22px; }
  .combat-v2 .combat-status { font-size: 10px; gap: 5px; }
  .combat-v2 .combat-army-health > div:first-child { flex-direction: column; align-items: flex-start; }
  .combat-v2 .combat-army-health small { margin-left: 4px; font-size: 7px; }
  .combat-v2 .combat-map-mark > span { font-size: 17px; letter-spacing: 4px; }
  .combat-v2 .combat-map-mark small { font-size: 8px; letter-spacing: 2px; }
  .combat-v2 .combat-unit { width: 64px; }
  .combat-v2 .combat-power > span { flex-direction: column; gap: 3px; font-size: 9px; }
  .combat-v2 .combat-power strong { font-size: 23px; }
  .combat-v2 .combat-toggles { gap: 5px; }
  .combat-v2 .combat-toggles button { min-height: 41px; min-width: 36px; padding: 8px; font-size: 10px; }
  .combat-v2 .combat-assist .icon { display: none; }
  .combat-v2 .combat-skill-row { gap: 13px; }
  .combat-v2 .combat-ultimate-button { min-width: 134px; min-height: 57px; padding: 9px 10px; gap: 7px; }
  .combat-v2 .combat-ultimate-button > span { font-size: 16px; letter-spacing: 2px; }
  .combat-v2 .combat-ultimate-button > .icon { width: 21px; height: 21px; }
  .combat-v2 .combat-ultimate-button kbd { display: none; }
  .combat-v2 .combat-rage > small { font-size: 8px; }
  .combat-v2 .combat-damage { font-size: 22px; }
  .combat-v2 .combat-damage.is-critical { font-size: 26px; }
  .combat-v2 .ultimate-title { font-size: 25px; letter-spacing: 7px; margin-top: 195px; }
  .combat-v2 .combat-phase-overlay > strong { font-size: 27px; }
  .combat-v2 .combat-phase-overlay > span { font-size: 11px; }
}
.combat-v2.is-reduced-motion *, .combat-v2.is-reduced-motion *::before, .combat-v2.is-reduced-motion *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .combat-v2 *, .combat-v2 *::before, .combat-v2 *::after { animation: none !important; transition: none !important; }
}

/* Exact HP stays in the full-size label and progressbar/actor accessibility text.
   Switch by available panel width, including a narrow in-app panel on a wide desktop. */
.combat-v2 .unit-hp-compact { display: none; margin-top: 3px; font: 9px/1.15 Georgia, serif; color: #d5dfbf; font-variant-numeric: tabular-nums; }
.combat-v2 [data-side="enemy"] .unit-hp-compact { color: #e0bda5; }
.combat-v2 .is-down .unit-hp-compact { color: #aca891; }
@container (max-width: 380px) {
  .combat-v2 .combat-unit { width: 64px; }
  .combat-v2 .unit-hud { width: 54px; max-width: 54px; }
  .combat-v2 .unit-name { max-width: 100%; font-size: 11px; letter-spacing: .5px; overflow: hidden; text-overflow: ellipsis; }
  .combat-v2 .unit-hp-text { display: none; }
  .combat-v2 .unit-hp-compact { display: block; }
  .combat-v2 .unit-focus { max-width: 100%; font-size: 8px; letter-spacing: 0; margin-top: 2px; }
  .combat-v2 .combat-top { padding: 12px; gap: 9px; }
  .combat-v2 .combat-stage { gap: 9px; }
  .combat-v2 .combat-stage h2 { font-size: 20px; }
  .combat-v2 .combat-seal { width: 28px; height: 35px; font-size: 22px; }
  .combat-v2 .combat-status { font-size: 10px; gap: 5px; }
  .combat-v2 .combat-health-board { padding: 9px 12px 12px; gap: 8px; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); }
  .combat-v2 .combat-army-health > div:first-child { flex-direction: column; align-items: flex-start; gap: 4px; }
  .combat-v2 .combat-army-health strong { max-width: 100%; white-space: normal; overflow-wrap: anywhere; font-size: 10px; line-height: 1.3; }
  .combat-v2 .combat-army-health small { margin-left: 4px; font-size: 7px; }
  .combat-v2 .combat-versus { font-size: 10px; letter-spacing: 1px; }
  .combat-v2 .combat-orders { padding: 12px; }
  .combat-v2 .combat-command-row { gap: 10px; }
  .combat-v2 .combat-power { flex: 1 1 0; min-width: 0; }
  .combat-v2 .combat-power > span { flex-direction: column; gap: 3px; font-size: 9px; }
  .combat-v2 .combat-power strong { max-width: 100%; font-size: 22px; overflow-wrap: anywhere; }
  .combat-v2 .combat-toggles { gap: 5px; }
  .combat-v2 .combat-toggles button { min-width: 36px; min-height: 41px; padding: 8px; font-size: 10px; }
  .combat-v2 .combat-assist .icon { display: none; }
  .combat-v2 .combat-skill-row { gap: 10px; }
  .combat-v2 .combat-rage { min-width: 0; }
  .combat-v2 .combat-rage > div:first-child { flex-wrap: wrap; gap: 3px; }
  .combat-v2 .combat-rage > div > span { width: 100%; }
  .combat-v2 .combat-rage strong { min-width: 0; max-width: 100%; text-align: left; font-size: 9px; line-height: 1.4; overflow-wrap: anywhere; }
  .combat-v2 .combat-rage > small { font-size: 8px; overflow-wrap: anywhere; }
  .combat-v2 .combat-ultimate-button { min-width: 118px; padding: 9px 8px; gap: 7px; }
  .combat-v2 .combat-ultimate-button > span { font-size: 14px; letter-spacing: 1px; }
  .combat-v2 .combat-ultimate-button > .icon { width: 18px; height: 18px; }
  .combat-v2 .combat-ultimate-button kbd { display: none; }
}
