/* =========================================================================
   THE VAULT — arcade shelves, gem economy, run stage
   ========================================================================= */
.vault-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

/* ----- The gate: same neon banner as the home-page teaser, so the promise
   made there and the page you actually land on are visually the same
   thing. See .vault-banner / .vault-title / .vault-btn-live above. ----- */
#vault-gate { justify-content: center; min-height: 70vh; }

/* ----- The toll: one honest, unmissable "spend gems?" checkpoint between
   the teaser and the arcade floor — never silent, never automatic. ----- */
#vault-toll { align-items: center; justify-content: center; min-height: 70vh; }

.vault-toll-card {
  text-align: center;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 40px 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.vault-toll-gem {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, .45));
  animation: vault-toll-float 2.6s ease-in-out infinite;
}

@keyframes vault-toll-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-6px) rotate(-4deg); }
}

.vault-toll-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.vault-toll-card .pane-text { margin-bottom: 4px; }
.vault-toll-card .modal-actions { justify-content: center; margin-top: 18px; }
.vault-toll-card .modal-actions .btn-green,
.vault-toll-card .modal-actions .btn-gray { flex: 1 1 auto; }

.vault-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }

.vault-head-title {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--neon-cyan), #a78bfa 55%, var(--neon-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.vault-head .pane-text { color: var(--text-muted); max-width: 60ch; }

.gems-chip {
  background: rgba(139, 92, 246, .16);
  color: #d8b4fe;
  border: 1px solid rgba(139, 92, 246, .35);
  font-size: 16px;
}

.gems-chip b { font-size: 18px; }

.vault-search { width: min(420px, 100%); }

.vault-shelf-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin: 14px 0 8px;
}

.vault-shelf-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.vault-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.vault-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}

.vault-card:not(.vault-locked):hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, .6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45), 0 0 20px rgba(139, 92, 246, .15);
}

.vault-card-art { font-size: 40px; filter: drop-shadow(0 0 12px rgba(139, 92, 246, .35)); }

.vault-card b { font-size: 14.5px; }

.vault-card p { font-size: 11.5px; color: var(--text-muted); line-height: 1.45; min-height: 3em; }

.vault-card .vault-best { font-size: 11px; font-weight: 800; color: #fde047; }

.vault-play-btn {
  margin-top: 4px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  background: var(--accent-green);
  box-shadow: 0 3px 0 var(--accent-green-shadow);
}

.vault-play-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--accent-green-shadow); }

.vault-card.vault-locked { opacity: .55; }

.vault-locked-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #8f8b86;
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 4px;
}

.vault-no-gems { color: #FCA5A5 !important; font-weight: 700; }

/* ----- The run ----- */
.vault-game-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
}

.vault-game-bar h3 { font-size: 17px; font-weight: 800; }

.vault-game-bar .ghost-btn { margin-top: 0; }

.vault-game-stats { display: flex; gap: 8px; }

.vault-board {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  text-align: left;
}

.vault-board-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  color: var(--text-muted);
}

.vault-board-row.board-latest { color: var(--text-main); background: rgba(129, 182, 76, .14); }

.vault-board-row b { color: #fde047; }

/* Hero vault button, now that the door is open */
.vault-btn-live {
  cursor: pointer;
  color: #e9d5ff;
  border-color: #8b5cf6;
  transition: box-shadow .15s, transform .15s, color .15s;
}

.vault-btn-live:hover {
  color: #fff;
  box-shadow: 0 0 24px rgba(139, 92, 246, .55);
  transform: translateY(-2px);
}


/* ----- The cleared-out floor (Aug 18, 2026 — awaiting George's plan) ----- */
.vault-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 56px 30px;
  border: 2px dashed var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, .18);
}

.vault-empty-art { font-size: 44px; filter: drop-shadow(0 0 14px rgba(139, 92, 246, .35)); }

.vault-empty h3 { font-size: 19px; font-weight: 800; }

.vault-empty p { font-size: 13.5px; color: var(--text-muted); max-width: 52ch; line-height: 1.6; }
