/* Chip war and Archons on the home page (umbrella #1449). Builds on site.css. */
.war-front { margin: 2.5rem 0; }
.war, .council { margin: 0 0 2rem; }
.war-headline { margin: 0 0 1rem; font: 700 1.3rem/1.3 var(--font-display); text-transform: uppercase; letter-spacing: .08em; }
.war-headline.battle { color: var(--bad); }
.war-headline.calm { color: var(--text); }
.war-headline.unavailable { color: var(--muted); }
.war .card .value { font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.war-when { margin: .2rem 0 0; font-size: .85rem; }
.war-stones { margin-top: 1rem; }
.war-bar { height: .35rem; margin-top: .6rem; background: #0d161b; border: 1px solid var(--line); }
.war-bar span { display: block; height: 100%; width: 0; background: var(--accretia); transition: width .4s ease; }
.war-stones .bellato .war-bar span { background: var(--bellato); }
.war-stones .cora .war-bar span { background: var(--cora); }
.war-stones .accretia .war-bar span { background: var(--accretia); }
.council-cards { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
/* #1450: the council as the in-game Race Status window lays it out: grey
   section strips, the leader in gold, then each seat type as its title
   over its holders. */
.council-strip { margin: .9rem -1.4rem .55rem; padding: .22rem 1.4rem; font: 700 .7rem/1.4 var(--font-ui);
  letter-spacing: .17em; text-transform: uppercase; color: var(--muted);
  background: linear-gradient(90deg, #2a3840, #1a252c 70%, transparent); border-top: 1px solid #40505a; border-bottom: 1px solid #0b1218; }
.council-leader { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.council-leader-name { font: 600 1.6rem/1.2 var(--font-display); color: var(--gold-2); text-shadow: 0 0 12px #f18a3440;
  overflow-wrap: anywhere; }
.council-leader-name.vacant, .council-names .vacant { color: var(--muted); text-shadow: none; font-style: italic; }
.council-leader-meta { color: var(--muted); font-size: .9rem; }
.council-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .9rem 1rem; }
.council-group-head { display: flex; align-items: center; gap: .55rem; margin-bottom: .3rem; padding-bottom: .25rem;
  border-bottom: 1px solid; border-image: linear-gradient(90deg, #f18a34aa, transparent 85%) 1; }
.council-group-title { margin: 0; font: 700 .85rem/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); }
.council-names { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.council-names li { display: flex; justify-content: space-between; gap: .5rem; padding: .18rem 0 .18rem .2rem;
  border-bottom: 1px dotted #34424a; }
.council-names li:last-child { border-bottom: 0; }
.council-name { min-width: 0; overflow-wrap: anywhere; }
.council-level { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .war-bar span { transition: none; } }
