/* Expansion details inherit the existing game's typography and dock layout. */
.ashfall-commander-card[data-ashfall-commander="thousandSons"] {
  --expansion-accent: #dbb354;
  background-image: linear-gradient(120deg, rgba(29, 65, 139, .18), transparent);
}
.ashfall-commander-card[data-ashfall-commander="ultramarines"] {
  --expansion-accent: #8ab4ff;
  background-image: linear-gradient(120deg, rgba(24, 81, 160, .22), transparent);
}
.ashfall-commander-card[data-ashfall-commander="thousandSons"].is-active,
.ashfall-commander-card[data-ashfall-commander="ultramarines"].is-active {
  border-color: var(--expansion-accent);
  box-shadow: inset 3px 0 var(--expansion-accent);
}
.ashfall-expansion-note {
  margin: .65rem 0 0;
  padding: .55rem .65rem;
  border-left: 2px solid #9abfe1;
  background: rgba(125, 165, 207, .06);
  color: #a8bfd2;
  font-size: .66rem;
  line-height: 1.6;
}
.ashfall-expansion-note a { color: #b6dfff; text-underline-offset: .16em; }
.ashfall-expansion-unit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
}
.ashfall-expansion-unit {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  padding: .5rem;
  background: rgba(125, 165, 207, .06);
  border: 1px solid rgba(125, 165, 207, .18);
}
.ashfall-expansion-unit img { width: 3rem; height: 3rem; object-fit: contain; flex: 0 0 auto; }
.ashfall-expansion-unit strong { display: block; color: #e6eff7; font-size: .78rem; }
.ashfall-expansion-unit small { display: block; color: #a8bfd2; font-size: .65rem; line-height: 1.45; }
.ashfall-expansion-unit :focus-visible,
.ashfall-expansion-note :focus-visible { outline: 2px solid #b6dfff; outline-offset: 3px; }
@media (max-width: 480px) {
  .ashfall-expansion-unit-grid { grid-template-columns: 1fr; }
}
