/* BattleModal — Victory/Defeat acknowledgement after a war-card roll.
   Inherits backdrop / container / title / close from modals.css.
   Mirrors FuneralModal's center-aligned column with its own glyph
   treatment: a single large swords emoji that anchors the modal,
   followed by the outcome summary, optional son-killed mention,
   closing line, and a centered Continue button. */

.battle-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

/* Single swords glyph — large, centered, sets the visual weight of
   the modal. Victory keeps full color; defeat dims via grayscale +
   a slight opacity drop so the same glyph reads differently per
   outcome without needing a second emoji. */
.battle-glyph {
  font-size: 4.5rem;
  line-height: 1;
  margin: 0.25rem 0;
}
.battle-modal-defeat .battle-glyph {
  filter: grayscale(0.6);
  opacity: 0.7;
}

.battle-summary {
  margin: 0;
  font-size: 1rem;
  color: var(--font-color-1);
  font-style: italic;
  line-height: 1.6;
  border-top: 1px solid #d8cdb5;
  border-bottom: 1px solid #d8cdb5;
  padding: 0.85rem 0.5rem;
  width: 100%;
}

/* Son-killed inline mention — only renders on Defeat with a fallen
   heir. Quieter than the summary; the full eulogy comes next in the
   FuneralModal that opens after this one dismisses. */
.battle-son-killed {
  margin: 0;
  font-size: 0.95rem;
  color: var(--font-color-danger);
  font-style: italic;
}

.battle-closing {
  margin: 0;
  font-size: 0.95rem;
  color: #6a5a4a;
  letter-spacing: 0.02em;
}

/* Continue button — centered (not stretched). The modal width gives
   it natural breathing room; making it full-width would make a
   single-action confirm feel heavier than it needs to. */
.battle-cta {
  align-self: center;
  margin-top: 0.5rem;
  min-width: 8rem;
}
