/* The real inventory gets the space and interaction of a collector's tray. */
.vault-cards { margin-top: 40px; }
.vc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.vc-head h3 { font-size: 23px; font-weight: 500; letter-spacing: -.03em; }
.vc-head p { font-size: 13px; margin-top: 6px; }
.card-hint { font-size: 12px; color: var(--muted); }
.vc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.vc-grid li { min-width: 0; }
.vault-card { padding: 0; display: flex; flex-direction: column; align-items: stretch; text-align: left; border: 0; background: none; color: var(--ink); width: 100%; animation: card-reveal .4s both; animation-delay: calc(var(--card-order) * 40ms); }
.card-photo { position: relative; overflow: hidden; display: block; border: 1px solid var(--border); border-radius: 8px; padding: 12px; background: #ecece3; transition: border-color .2s, transform .2s; }
.card-photo img { width: 100%; aspect-ratio: 3 / 4.7; object-fit: contain; }
.card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, #fff8 48%, transparent 65%); transform: translateX(-120%); transition: transform .6s; pointer-events: none; }
.vault-card:hover .card-photo, .vault-card:focus-visible .card-photo { border-color: #b8b9a8; transform: translateY(-4px); }
.vault-card:hover .card-photo::after, .vault-card:focus-visible .card-photo::after { transform: translateX(100%); }
.card-title { margin-top: 12px; font-size: 14px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.card-grade { font-size: 12px; color: var(--muted); margin-top: 5px; }
.card-value { font-size: 12px; font-variant-numeric: var(--nums); margin-top: 2px; }
.vault-empty { grid-column: 1 / -1; padding: 28px 0; color: var(--muted); font-size: 14px; }
.deck-controls { margin-top: 22px; display: flex; justify-content: space-between; gap: 12px; align-items: center; color: var(--muted); font-size: 12px; }
.deck-controls > div { display: flex; gap: 8px; }
.deck-controls button { width: 44px; height: 44px; border: 1px solid #aeafa3; border-radius: 5px; background: none; color: var(--ink); font-size: 18px; }
.deck-controls button:hover { background: var(--white); }
.deck-controls button:disabled { opacity: .3; cursor: default; }
@keyframes card-reveal { from { opacity: .5; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.live-note { color: var(--muted); font-size: 12px; margin-top: 24px; display: flex; align-items: center; gap: 8px; }
.live-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8d8e80; flex: none; }
.live-note.on::before { background: var(--red); }
.card-cell { display: flex; align-items: center; gap: 18px; min-width: 0; }
.card-cell img { width: 54px; height: 84px; object-fit: contain; flex: none; background: var(--cream); border-radius: 4px; }
.card-cell > span { min-width: 0; }
.card-cell b { display: block; font-size: 14px; font-weight: 500; line-height: 1.45; }
.card-cell .cell-s { margin-top: 4px; overflow-wrap: anywhere; }
.drops-row .addr .full { display: none; } .drops-row .addr .short { display: inline; }
.sent { color: var(--ink); }
.sent::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 7px; }
.pending { color: var(--muted); }
.drop-freshness { font-size: 12px; margin-top: 18px; }
.card-dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow-y: auto; padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--cream); color: var(--ink); }
.card-dialog::backdrop { background: #111b; }
.card-dialog[open] { animation: arrive .2s ease-out; }
.dialog-close { position: absolute; top: 8px; right: 8px; min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--ink); font-size: 24px; }
.card-dialog .kicker { font-size: 12px; margin: 12px 24px 20px 0; }
.dialog-photo { display: flex; justify-content: center; border: 1px solid var(--border); border-radius: 6px; background: #e9e9df; padding: 16px; }
.dialog-photo img { height: min(42svh, 370px); width: auto; object-fit: contain; }
.card-dialog h2 { margin-top: 20px; font-size: 25px; line-height: 1.2; }
.card-dialog p:not(.kicker) { font-size: 13px; margin-top: 10px; }
.card-dialog .btn { margin-top: 20px; width: 100%; font-size: 14px; }
@media (max-width: 1100px) { .vc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 760px) {
  .vault-cards { margin-top: 30px; }
  .vc-head { display: block; } .vc-head h3 { font-size: 21px; } .card-hint { display: block; margin-top: 12px; }
  .vc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; margin-top: 18px; }
  .card-photo { padding: 9px; }
  .card-title { font-size: 13px; }
  .deck-controls { align-items: flex-start; }
  .deck-controls > span { max-width: 23em; }
  .drops-row.th { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; border: 0; white-space: nowrap; }
  .drops-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 18px; gap: 8px 12px; }
  .drops-row:first-child { border-top: 0; }
  .card-cell { grid-column: 1 / -1; grid-row: 1; gap: 14px; }
  .card-cell img { width: 58px; height: 90px; }
  .card-cell b { font-size: 14px; }
  .card-cell .cell-s { font-size: 12px; line-height: 1.5; }
  .drop-time { grid-column: 1; align-self: start; font-size: 11px; }
  .drop-recipient { grid-column: 2; justify-self: end; text-align: right; }
  .drop-recipient .addr { min-height: 22px; padding: 11px 0; box-sizing: content-box; }
  .drop-recipient .cell-s { font-size: 11px; }
  .card-dialog { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .vault-card:hover .card-photo,.vault-card:focus-visible .card-photo { transform: none; } .card-photo::after { display: none; } }
