/* ═══════════════════════════════════════════════════════════
   BUSTS (docs/wiki/plans/districts-and-trade.md section 6, lane F)
   The summary after a busted crossing (js/bust.js showSummary). The travel
   scene is the short scene; this comes up over the map when it lifts.
   A centred overlay panel like every other modal: --overlay-fill,
   --border-gold, --modal-shadow, scaling .94 → 1. What you lost is money,
   so its figures are --gold; the title is a screen title in --text, never
   red (red is combat only). The one action is a dismiss, so secondary.
   ═══════════════════════════════════════════════════════════ */

.bust-box {
  width: min(330px, calc(100% - 36px));
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px 18px 18px;
  background: var(--overlay-fill);
  border: 1px solid var(--border-gold); border-radius: var(--r-panel);
  box-shadow: var(--modal-shadow);
  transform: scale(.94); transition: transform .22s;
}
.overlay.open .bust-box { transform: scale(1); }

.bust-k {
  font-family: var(--ui); font-weight: 500; font-size: 10px; letter-spacing: 2px; color: var(--text-label);
}
.bust-title {
  margin-top: -8px;
  font-family: var(--display); font-size: 30px; letter-spacing: 2px; line-height: 1; color: var(--text);
}
.bust-sub { font-family: var(--ui); font-size: 15px; line-height: 1.5; color: var(--text-bright); }

.bust-rows { display: flex; flex-direction: column; gap: 9px; padding: 11px 0; border-top: 1px solid var(--track); border-bottom: 1px solid var(--track); }
.bust-row, .bust-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bust-row-k {
  font-family: var(--ui); font-weight: 500; font-size: 10px; letter-spacing: 2px; color: var(--text-mid);
}
.bust-row-v { font-family: var(--ui); font-weight: 500; font-size: 13px; color: var(--gold); }
.bust-total-v { font-family: var(--display); font-size: 18px; letter-spacing: .5px; color: var(--gold); }

.bust-cta {
  height: 38px; margin: 3px 0;
  font-family: var(--display); font-size: 13px; letter-spacing: 1px;
  color: var(--text); background: var(--control);
  border: 1px solid var(--border-ctrl); border-radius: var(--r-pill);
  cursor: pointer; transition: border-color .16s;
}
.bust-cta:hover { border-color: var(--border-gold); }
.bust-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .bust-box { transition: none; }
}
