/* =========================================================================
   vault.css — storage page. Loaded only by vault.html.
   No raw colour literals: theme tokens only.
   ========================================================================= */

.gate-extra { width: 100%; display: grid; place-items: center; }

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 13px;
}

.slot {
  background: var(--grad-card);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 16px 17px; box-shadow: var(--shadow); position: relative;
}
.slot::before {
  content: ""; position: absolute; left: 13px; right: 13px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--chisel), transparent);
}
.slot-top { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.slot-top h3 {
  flex: 1; min-width: 0; font-family: var(--font-ui);
  font-size: 15.6px; font-weight: 650; letter-spacing: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.slot-facts { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.slot-facts > div {
  display: flex; align-items: baseline; gap: 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.slot-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.slot-facts dt {
  flex: none; width: 68px;
  font: 600 10px/1.4 var(--font-ui); letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-mute);
}
.slot-facts dd {
  margin: 0; flex: 1; min-width: 0;
  font: 500 13.5px/1.4 var(--font-mono); color: var(--fg);
}

/* Growth reads as the card's one number — a percentage a player actually
   uses, never the raw 0.883333 float (owner order 2026-08-09). */
.slot-growth { font-size: 15px; font-weight: 650; letter-spacing: .02em; }

/* Mutations render as small named chips; the row wraps rather than
   truncating — a mutation a player owns is never hidden behind an ellipsis. */
.slot-muts dd {
  display: flex; flex-wrap: wrap; gap: 5px; row-gap: 5px;
  font-family: var(--font-ui);
}
.slot-mut {
  display: inline-block; padding: 2px 8px;
  font: 600 11px/1.5 var(--font-ui); letter-spacing: .03em;
  color: var(--fg); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px;
  white-space: nowrap;
}

/* =========================================================================
   THE SLOT'S OWN ACTION — delete this stored dinosaur.

   ★ IT IS HERE AND NOT ON THE LIVE RAIL (owner order 2026-08-10: "delete dino
     next to vault at the bottom"). Releasing a STORED animal is not something
     you do to the animal you are looking at, and it is the one action on this
     site with nothing to undo it - so it lives on the slot it destroys, at the
     bottom of the page, and never a tile away from "store this one".

   ★ IT ASKS FIRST, IN WORDS, IN PLACE. The confirm replaces the button inside
     the same card, so the sentence a player reads names the animal the card is
     about. A dialog somewhere else on the page is a dialog you agree to
     without re-reading which row you were on.

   ★ THE BUTTON IS QUIET UNTIL IT MATTERS. A row of red buttons down a vault
     makes the page look like a demolition form; the tint arrives on the
     CONFIRM, which is the press that actually destroys something.
   ========================================================================= */
.slot-act {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 13px; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.slot-act .btn { font-size: 12.5px; padding: 7px 13px; }
.slot-act .btn[disabled] { opacity: .45; cursor: not-allowed; }

.slot-ask {
  flex: 1 1 100%;
  margin: 0 0 4px;
  font: 500 12.8px/1.45 var(--font-ui); color: var(--fg);
}

.slot-drop {
  border-color: var(--bad-dim); color: var(--bad);
}
.slot-drop:hover:not([disabled]) { background: var(--bad-ink); }

/* The outcome of the press. Always rendered - accepted, refused or never
   sent - because a button that answers nothing is indistinguishable from a
   broken one. */
.slot-say {
  flex: 1 1 100%; margin: 0;
  font: 500 12.5px/1.45 var(--font-ui); color: var(--fg-dim);
}
.slot-say.is-bad { color: var(--fg); }

@media (max-width: 640px) {
  .slots { grid-template-columns: 1fr; }
}
