/* ============================================================================
   MUWARRIOR S21 — BAÚ VIRTUAL THEME OVERLAY (ISOLADO NA PRÉVIA)
   Mantém 100% do comportamento de /virtual_vault.js e harmoniza com a paleta S21
   ============================================================================ */

:root {
  --vv-bg-dark: #0D0B0C;
  --vv-card-bg: #191517;
  --vv-border: rgba(101, 72, 53, 0.65);
  --vv-border-glow: rgba(234, 189, 101, 0.72);
  --vv-gold: #EABD65;
  --vv-gold-light: #F7D894;
  --vv-gold-dark: #654835;
  --vv-text: #F3EBDD;
  --vv-text-muted: #C7BAB0;
}

#dash-vault-view {
  width: 100%;
}

.vault-container {
  gap: 18px;
}

.vault-status-card,
.vault-panel {
  background: linear-gradient(180deg, #1B1618 0%, #141012 100%) !important;
  border: 1px solid #654835 !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.52) !important;
}

.vault-panel-title {
  font-family: var(--font-cinzel, 'Cinzel', serif);
  color: #F7D894 !important;
  letter-spacing: 0.05em;
}

.game-vault-grid {
  background: #0C090A !important;
  border: 1px solid #654835 !important;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.85) !important;
}

.vault-grid-cell {
  background: rgba(25, 21, 23, 0.65) !important;
  border-color: rgba(101, 72, 53, 0.25) !important;
}

.vault-item-box {
  border-color: rgba(234, 189, 101, 0.48) !important;
  background: radial-gradient(circle at center, rgba(120, 41, 54, 0.26), rgba(16, 12, 14, 0.94)) !important;
}

.vault-item-box:hover,
.vault-item-box.selected {
  border-color: #EABD65 !important;
  box-shadow: 0 0 16px rgba(234, 189, 101, 0.32) !important;
}

.virtual-item-card {
  background: #141012 !important;
  border: 1px solid rgba(101, 72, 53, 0.5) !important;
}

.virtual-item-card:hover {
  border-color: #EABD65 !important;
  background: #1E181B !important;
}

/* Modal de Inspeção de Item estilo Tooltip Clássico MU do vídeo (0:51–0:56) */
.vault-modal-overlay {
  background: rgba(6, 4, 5, 0.84) !important;
  backdrop-filter: blur(5px);
}

.vault-modal-content,
.vault-item-modal {
  background: linear-gradient(180deg, #181315 0%, #0E0B0C 100%) !important;
  border: 1px solid #EABD65 !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(101, 72, 53, 0.45) !important;
}

.vault-search-input {
  background: #100D0E !important;
  border: 1px solid #654835 !important;
  color: #F3EBDD !important;
}

.vault-search-input:focus {
  border-color: #EABD65 !important;
}


/* === UNIFIED S21 ITEM SHEET & MOBILE TOUCH INSPECT === */
.mu-unified-sheet {
  background: linear-gradient(180deg, rgba(16,13,17,0.96), rgba(10,8,12,0.98));
  border: 1px solid rgba(234,189,101,0.34);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  color: #f3ebdd;
}
.mu-unified-sheet .mu-item-title {
  font-family: 'Cinzel', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #f7d894;
  margin-bottom: 4px;
}
.mu-unified-sheet .mu-item-title.is-exc { color: #4ade80; }
.mu-unified-sheet .mu-item-title.is-ancient { color: #38bdf8; }
.mu-unified-sheet .mu-item-title.is-penta { color: #f59e0b; }
.mu-unified-sheet .mu-item-subtitle { font-size: 12px; color: #c7bab0; margin-bottom: 10px; }
.mu-unified-sheet .mu-item-image-box {
  display: flex; align-items: center; justify-content: center;
  min-height: 70px; margin: 6px auto 10px;
  background: rgba(0,0,0,0.42); border: 1px solid rgba(101,72,53,0.4);
  border-radius: 8px; padding: 8px; max-width: 112px;
}
.mu-unified-sheet .mu-item-stats-group {
  background: rgba(0,0,0,0.3); border: 1px solid rgba(101,72,53,0.35);
  border-radius: 6px; padding: 8px 10px; margin: 8px 0; text-align: left;
}
.mu-unified-sheet .mu-stat-line {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 12px; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mu-unified-sheet .mu-stat-line:last-child { border-bottom: none; }
.mu-unified-sheet .mu-stat-val { font-weight: 600; color: #f3ebdd; text-align: right; }
.mu-unified-sheet .mu-req-pill {
  font-size: 11px; padding: 3px 8px; border-radius: 999px;
  background: rgba(234,189,101,0.1); border: 1px solid rgba(234,189,101,0.28); color: #f7d894;
}
.mu-unified-sheet .mu-exc-group, .mu-unified-sheet .mu-elemental-group, .mu-unified-sheet .mu-mastery-group, .mu-unified-sheet .mu-errtel-box {
  background: rgba(0,0,0,0.36); border: 1px solid rgba(234,189,101,0.25);
  border-radius: 6px; padding: 9px 10px; margin-top: 8px; text-align: left;
}
.mu-unified-sheet .mu-group-heading { font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.mu-unified-sheet .mu-exc-line { font-size: 12px; color: #86efac; margin-top: 2px; }
.mu-unified-sheet .mu-errtel-slot {
  display: flex; align-items: center; gap: 6px; font-size: 12px;
  padding: 4px 6px; border-radius: 4px; background: rgba(255,255,255,0.03); margin-top: 4px;
}
.mu-unified-sheet .mu-id-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #93c5fd;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(147,197,253,0.25);
  border-radius: 4px; padding: 5px 8px; margin-top: 4px; word-break: break-all; cursor: pointer;
}
.mkt-card-actions-row { display: flex; gap: 8px; align-items: stretch; width: 100%; }
.mkt-inspect-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 9px 12px; min-height: 40px; border-radius: 6px;
  background: rgba(234,189,101,0.12); border: 1px solid rgba(234,189,101,0.38);
  color: #f7d894; font-size: 0.82rem; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background 0.15s ease, border-color 0.15s ease;
}
.mkt-inspect-btn:hover, .mkt-inspect-btn:active {
  background: rgba(234,189,101,0.22); border-color: #f7d894;
}
.listing-card .item-visual-box.is-inspectable { cursor: pointer; position: relative; }
.listing-card .item-visual-box.is-inspectable:active { transform: scale(0.98); }
.mkt-inspect-badge-hint {
  position: absolute; bottom: 5px; right: 6px; font-size: 10px;
  background: rgba(10,8,12,0.82); color: #f7d894; border: 1px solid rgba(234,189,101,0.35);
  padding: 2px 6px; border-radius: 4px; pointer-events: none;
}
#buyModalItemSheetWrap { margin-bottom: 14px; text-align: left; }
#buyModalItemSheetWrap details {
  border: 1px solid rgba(234,189,101,0.28); border-radius: 8px; background: rgba(0,0,0,0.28);
}
#buyModalItemSheetWrap summary {
  padding: 9px 12px; cursor: pointer; font-size: 0.82rem; font-weight: 600; color: #f7d894;
}

