/* Friends Arena original light-pulse combat presentation. */
.combat-card { position: relative; min-width: 0; padding: 14px; transition: border-color .15s, box-shadow .15s; }
.combat-card.acting { border: 2px solid #ffe2a6; box-shadow: 0 0 0 2px #dba85635, 0 0 25px #ffc87240; animation: active-breathe 2.6s ease-in-out infinite; }
@keyframes active-breathe { 50% { box-shadow: 0 0 0 2px #dba85660, 0 0 32px #ffc87260; } }
.combat-card.targetable { border-color: #74d8ff; cursor: pointer; }
.combat-card.targetable:hover, .combat-card.targetable:focus-visible { outline: 3px solid #8be2ff; outline-offset: 2px; box-shadow: 0 0 28px #41c6ff55; }
.combat-card.selected-assistant { border-color: #cbb2ff; box-shadow: 0 0 20px #b891ff60; }
.combat-card.taunting { border-bottom: 4px solid #ffcc87; }
.combat-card .combat-face { font-size: 32px; width: 46px; height: 46px; }
.combat-card .combat-name { font-size: 16px; }
.combat-card .health { height: 12px; }
.combat-card .health > div { background: linear-gradient(90deg, #38ad7f, #99edb6); }
.combat-card .turn-meter { height: 8px; }
.combat-card .turn-meter > div { background: linear-gradient(90deg, #4f8edb, #9edbff); }
.combat-card .statuses { gap: 4px; margin-top: 9px; }
.combat-card .status-chip { font-size: 10px; padding: 4px 5px; }
.combat-card .passive-tag { opacity: .8; }
.leader-label { display: inline-block; color: #ffe0a0; font-size: 9px; letter-spacing: .08em; border: 1px solid #d8b97c88; border-radius: 4px; padding: 2px 4px; vertical-align: middle; }
.active-turn-label { color: #ffe2a6; font-size: 9px; font-weight: 800; }
.combat-announcement { min-height: 36px; padding: 9px 14px; border: 1px solid #3c4b64; border-radius: 8px; background: #141e30; color: #e6edf8; font-size: 13px; margin-bottom: 12px; }
.combat-row { gap: 10px; }
.battle-versus { margin: 12px 0; }
.battle-intro { margin-bottom: 16px; }
.battle-intro h1 { font-size: clamp(26px, 4vw, 40px); }
.combat-projectile { position: fixed; z-index: 1100; pointer-events: none; width: 16px; height: 16px; border-radius: 50%; background: #fff3cb; box-shadow: 0 0 12px #ffdb87, 0 0 24px #ff9c4b; }
.combat-float { position: absolute; z-index: 20; top: 30%; left: 50%; transform: translateX(-50%); color: #ffb6a3; font-size: clamp(23px, 3vw, 36px); font-weight: 900; text-shadow: 0 2px 3px #000, 0 0 12px #d93624; white-space: nowrap; pointer-events: none; animation: number-rise .4s ease-out both; }
.combat-float:not(.float-damage):not(.float-heal) { font-size: 13px; max-width: 190px; white-space: normal; text-align: center; padding: 6px 8px; border-radius: 6px; background: #111d2de8; }
.float-heal, .float-buff_applied { color: #9bffc7; text-shadow: 0 2px 3px #000, 0 0 10px #46e297; }
.float-effect_removed { color: #c4ecff; text-shadow: 0 1px 4px #000; }
.float-assist { color: #dec8ff; text-shadow: 0 1px 5px #57319b; }
.fx-hit, .fx-debuff { box-shadow: inset 0 0 32px #ff705966, 0 0 18px #e84d3a66 !important; }
.fx-heal { box-shadow: inset 0 0 32px #6de1a666, 0 0 18px #4aba8966 !important; }
.fx-attacker, .fx-assist { outline: 2px solid #d9bcff; box-shadow: 0 0 25px #a77fe888 !important; }
.fx-target { outline: 2px solid #ffb6a3; }
.fx-stun { box-shadow: inset 0 0 36px #a88dff99 !important; }
.fx-taunt_applied { outline: 3px double #ffdb87; box-shadow: 0 0 28px #ffdb8766 !important; }
.fx-effect_removed, .fx-blocked { box-shadow: inset 0 0 35px #a4ddff88 !important; }
.fx-revive { outline: 3px solid #ffdc91; box-shadow: 0 0 35px #ffcb8b99 !important; }
.fx-butch { outline: 3px solid #9ebeff; box-shadow: inset 0 0 35px #658edc88 !important; }
@keyframes number-rise { from { opacity: 0; transform: translate(-50%, 10px); } 20% { opacity: 1; } to { opacity: 1; transform: translate(-50%, -18px); } }
.combat-float.reduced { animation: none; }
@media (max-width: 700px) {
  .combat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .combat-card { padding: 9px 6px; }
  .combat-card .combat-face { font-size: 27px; width: 36px; height: 36px; margin: 0 auto 5px; }
  .combat-card .combat-info { text-align: center; }
  .combat-card .combat-name { font-size: 12px; overflow-wrap: anywhere; }
  .combat-card .combat-role, .combat-card .bar-title { font-size: 9px; }
  .combat-card .bar-title { gap: 2px; }
  .combat-card .status-chip { font-size: 9px; max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
  .combat-card .statuses { max-height: 88px; overflow: auto; }
  .combat-card .target-hint { font-size: 8px; padding: 6px 1px; }
  .combat-card .defeated-tag { font-size: 10px; }
  .active-turn-label { display: block; font-size: 8px; }
  .combat-float:not(.float-damage):not(.float-heal) { font-size: 10px; }
  .battle-log { max-height: 200px; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .combat-card, .combat-card.acting, .combat-float { animation: none !important; transition: none !important; }
  .combat-projectile { display: none; }
}

/* ARTEM-SOLO: original short accents on the shared event player. */
.combat-mode{font-size:.66rem;letter-spacing:.08em;color:#b6abd9}.aim-label{font-size:.7rem;color:#f4ca73}.hp-debt{color:#ff728a!important}
.projectile-artem_knife{width:24px;height:4px;border-radius:2px;background:#ff7391;box-shadow:0 0 12px #ff7391}
.projectile-artem_barrett_shot{width:30px;height:3px;background:#fff4c0;box-shadow:0 0 20px #ffc953}
.projectile-artem_basic,.projectile-artem_dealer{border-radius:2px;background:#75f0df;box-shadow:0 0 12px #75f0df}
.fx-aim_started{outline:2px dashed #f1c969}.fx-piano_started,.fx-piano_release{animation:solo-piano .24s ease-out}.fx-mode_changed{box-shadow:0 0 22px #a582de88}.float-shot,.float-aim_started{color:#f4ca73}.float-piano_release{color:#d9ccff}
@keyframes solo-piano{from{box-shadow:0 0 0 2px #c0a0ffbb}to{box-shadow:0 0 28px 8px #c0a0ff00}}
@media(prefers-reduced-motion:reduce){.fx-piano_started,.fx-piano_release{animation:none;outline:2px solid #c0a0ff}}

.combat-card.serene{border-color:#c0a0ff;box-shadow:inset 0 0 18px #c0a0ff22}.float-buff_applied{letter-spacing:.04em}

/* TEAM-SIZE: only real units occupy columns, on desktop and mobile. */
.combat-row { grid-template-columns: repeat(var(--team-size, 3), minmax(0, 1fr)); }
.team-confirm { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
