/** Shopify CDN: Minification failed

Line 522:7 Expected identifier but found whitespace
Line 522:12 Unexpected ";"

**/
:root {
  --neon-cyan: #00f1ff;
  --neon-magenta: #ff007f;
  --neon-green: #39ff14;
}

/* Base Wrapper on top of your background image */
.vault-system-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Layout Panels */
.vault-panel {
  width: 100%;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.vault-panel.hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.98);
}

/* Search Screen Typography & Layout */
.vault-terminal-header {
  text-align: center;
  margin-bottom: 30px;
}

.vault-title {
  font-size: 2.5rem;
  letter-spacing: 4px;
  text-shadow: 0 0 10px var(--neon-magenta);
  color: #fff;
  margin: 0 0 10px 0;
}

.vault-instructions {
  color: var(--neon-cyan);
  letter-spacing: 3px;
  font-size: 0.9rem;
  text-shadow: 0 0 8px rgba(0, 241, 255, 0.4);
}

.vault-search-row {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 10px;
  background: rgba(0, 0, 0, 0.6);
  padding: 12px;
  border: 1px solid rgba(0, 241, 255, 0.2);
  border-radius: 6px;
  box-shadow: 0 0 25px rgba(0,0,0,0.8);
}

#vault-token-input {
  flex: 1;
  background: rgba(0,0,0,0.8);
  border: 1px solid rgba(255, 0, 127, 0.3);
  padding: 15px;
  color: #fff;
  font-family: monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  outline: none;
}

#vault-token-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 241, 255, 0.4);
}

#vault-scan-button {
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  padding: 0 30px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

#vault-scan-button:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 15px var(--neon-cyan);
}

/* Error Messages */
#vault-error-message {
  text-align: center;
  color: var(--neon-magenta);
  font-weight: bold;
  letter-spacing: 1px;
  margin-top: 20px;
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.4);
}

.error-hidden { display: none; }

/* Dynamic Profile Grid */
.vault-display-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
}

.vault-asset-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

#display-card-image {
  max-width: 100%;
  max-height: 550px;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.7);
  object-fit: contain;
}

/* Data Readouts */
.vault-data-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.data-block {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 8px;
}

.data-block .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 4px;
}

.data-block .value {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: #fff;
}

.neon-green {
  color: var(--neon-green) !important;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

/* Custom Grade Presentation Badge */
.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, rgba(255,0,127,0.1), rgba(0,241,255,0.1));
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 6px;
  margin-top: 5px;
}

.score-num {
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 10px var(--neon-cyan);
}

.score-text {
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--neon-magenta);
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.4);
}

#vault-reset-button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  padding: 12px;
  cursor: pointer;
  letter-spacing: 1px;
  margin-top: 15px;
  transition: 0.3s;
}

#vault-reset-button:hover {
  border-color: #fff;
  color: #fff;
}

/* Mobile Standardization */
@media (max-width: 768px) {
  .vault-display-grid { grid-template-columns: 1fr; gap: 25px; }
  .vault-title { font-size: 1.8rem; }
}

/* Smooth Cinematic Panel Transitions */
.vault-panel {
  width: 100%;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.vault-panel.hidden {
  display: none !important;
}

/* Clear display target initial state for fade-in */
.vault-display-grid {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Trigger class for smooth materialization */
.vault-display-grid.materialized {
  opacity: 1;
  transform: translateY(0);
}


/* Realignment for the Bottom Verification Row */
.vault-verification-footer-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 12px;
}

.vault-verification-footer-row .data-block {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.date-block-bottom {
  text-align: right;
}

.text-cyan {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 8px rgba(0, 241, 255, 0.3);
  font-size: 1.15rem !important;
  font-family: monospace;
}

/* Maintain mobile layout stacking */
@media (max-width: 480px) {
  .vault-verification-footer-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .date-block-bottom {
    text-align: left;
  }
}

/* Realignment for the Top Registry Header Row */
.vault-registry-header-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-end;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 12px;
}

.vault-registry-header-row .data-block {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.batch-block-top {
  text-align: right;
}

.text-cyan-dim {
  color: #a5f3fc !important; /* A slightly softer cyan tint to keep "Verified Archive" as the alpha priority */
  text-shadow: 0 0 6px rgba(165, 243, 252, 0.2);
  font-family: monospace;
}

/* Maintain clean stacking on tighter mobile viewports */
@media (max-width: 480px) {
  .vault-registry-header-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .batch-block-top {
    text-align: left;
  }
}





/* Manifesto Layout Extensions */
.manifesto-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.manifesto-hero {
  text-align: center;
  padding: 40px !important;
}

.manifesto-lead-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 750px;
  margin: 20px auto 0 auto;
}

/* Policy Threshold Alert Box */
.policy-alert-box {
  border: 1px dashed rgba(255, 71, 71, 0.3) !important;
  background: linear-gradient(135deg, rgba(20, 5, 5, 0.6) 0%, rgba(10, 5, 5, 0.4) 100%) !important;
  position: relative;
  overflow: hidden;
}

.policy-header-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.text-orange {
  color: #ff5f5f !important;
  text-shadow: 0 0 10px rgba(255, 95, 95, 0.4);
  font-family: monospace;
  letter-spacing: 1px;
}

.policy-body {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Interactive Matrix Table Grid */
.panel-section-title {
  font-family: monospace;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-left: 3px solid var(--neon-cyan);
  padding-left: 10px;
}

.manifesto-grid-table {
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.2);
  border-radius: 6px;
  overflow: hidden;
}

.grid-table-header {
  display: grid;
  grid-template-columns: 100px 180px 1fr;
  padding: 12px 20px;
  background: rgba(255,255,255,0.03);
  font-family: monospace;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.grid-table-row {
  display: grid;
  grid-template-columns: 100px 180px 1fr;
  padding: 20px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-table-row:last-child { border-bottom: none; }

/* Micro Badge Layouts matching Front Terminal */
.mini-badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  color: #fff;
  display: inline-block;
  background: rgba(255,255,255,0.1);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.mini-badge small { font-size: 0.65rem; font-weight: normal; margin-left: 2px; }

.b-95 { background: linear-gradient(135deg, #00f1ff 0%, #0072ff 100%); }
.b-10 { background: linear-gradient(135deg, #b92b27 0%, #1565c0 100%); }
.b-10m { background: linear-gradient(135deg, #ec008c 0%, #fc6767 100%); }
.b-gem { background: linear-gradient(135deg, #81ffb4 0%, #17ad4b 100%); }

.designation-cell { font-family: monospace; font-size: 1.05rem; font-weight: bold; }
.criteria-cell { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.5; }

/* Interactive Table Row Glow Effects */
.hover-pristine:hover { background: rgba(0, 241, 255, 0.03); box-shadow: inset 4px 0 0 var(--neon-cyan); }
.hover-flawless:hover { background: rgba(185, 43, 39, 0.03); box-shadow: inset 4px 0 0 #1565c0; }
.hover-mint:hover { background: rgba(236, 0, 140, 0.03); box-shadow: inset 4px 0 0 #ec008c; }
.hover-gem:hover { background: rgba(129, 255, 180, 0.03); box-shadow: inset 4px 0 0 var(--neon-green); }

/* Cryptographic Decoder Styles */
.decoder-intro { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 25px; }

.decoder-string-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.4);
  padding: 25px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 1.75rem;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.03);
  margin-bottom: 25px;
}

.dec-block {
  padding: 4px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  color: #fff;
  transition: background 0.2s;
  cursor: help;
}
.dec-block:hover { background: rgba(0, 241, 255, 0.1); color: var(--neon-cyan); }
.dec-hyphen { color: rgba(255,255,255,0.2); }

.decoder-legend-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 10px;
}

.legend-item {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.legend-item strong { font-family: monospace; color: #fff; font-size: 1.05rem; display: inline-block; width: 60px; }

@media (max-width: 650px) {
  .grid-table-header, .grid-table-row { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .grid-table-header { display: none; }
  .decoder-string-display { font-size: 1.1rem; flex-wrap: wrap; }
}




/* 1. HIGH-VISIBILITY NEON ROW DESIGNATIONS */
.text-cyan {
color: #00f1ff !important;
text-shadow: 0 0 8px rgba(0, 241, 255, 0.4);
}

.text-purple {
color: #d681ff !important; /* Ultra-vibrant lavender purple */
text-shadow: 0 0 8px rgba(214, 129, 255, 0.4);
}

.text-pink {
color: #ff60b5 !important; /* Intense neon pink */
text-shadow: 0 0 8px rgba(255, 96, 181, 0.4);
}

.text-neon-green {
color: #39ff14 !important; /* Cyberpunk neon green */
text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

/* 2. GLOWING SCI-FI TOOLTIP MATRIX /
.dec-block {
position: relative; / Establish positioning anchor for tooltip bubble */
cursor: help;
transition: all 0.2s ease;
}

/* Tooltip Base Bubble /
.dec-block::after {
content: attr(data-tooltip); / Pulls text straight from data-tooltip HTML variable */
position: absolute;
bottom: 135%;
left: 50%;
transform: translateX(-50%) scale(0.85);

/* Cyber Glassmorphism */
background: rgba(10, 10, 16, 0.95);
border: 1px solid #00f1ff;
box-shadow: 0 0 15px rgba(0, 241, 255, 0.25),
0 8px 32px rgba(0, 0, 0, 0.8);
color: #ffffff;

padding: 8px 14px;
border-radius: 6px;
font-family: monospace;
font-size: 0.75rem;
font-weight: normal;
letter-spacing: 1px;
text-transform: uppercase;
white-space: nowrap;

opacity: 0;
pointer-events: none; /* Prevents cursor snagging on the bubble /
transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); / Snappy bounce effect */
z-index: 99;
}

/* Mini Indicator Arrow */
.dec-block::before {
content: '';
position: absolute;
bottom: 115%;
left: 50%;
transform: translateX(-50%) scale(0.85);
border-width: 6px 6px 0;
border-style: solid;
border-color: #00f1ff transparent transparent;
display: block;
width: 0;
opacity: 0;
pointer-events: none;
transition: all 0.2s ease;
z-index: 99;
}

/* Hover Interactivity Triggers */
.dec-block:hover {
background: rgba(0, 241, 255, 0.08) !important;
color: #00f1ff !important;
box-shadow: 0 0 10px rgba(0, 241, 255, 0.2);
}

.dec-block:hover::after,
.dec-block:hover::before {
opacity: 1;
transform: translateX(-50%) scale(1);
}






/* Split Layout Rows */
.split-row-block {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  width: 100% !important;
}

.split-left, .split-right {
  display: flex;
  flex-direction: column;
}

.split-right {
  align-items: flex-end;
}

.text-right {
  text-align: right !important;
}

/* Side-by-Side Flex Layout for Buttons */
.vault-action-footer-flex {
  display: flex !important;
  flex-direction: row !important;
  gap: 15px !important;
  width: 100% !important;
  margin-top: 30px !important;
}

/* Enforced Balanced Proportions */
.vault-action-footer-flex .vault-btn {
  flex: 1 !important; /* Forces equal width distribution */
  font-family: monospace;
  letter-spacing: 1px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}


/* Isolated Side-by-Side Flex Box Formatting */
.vault-action-footer-flex {
  display: flex !important;
  flex-direction: row !important;
  gap: 15px !important;
  width: 100% !important;
  margin-top: 30px !important;
  box-sizing: border-box !important;
}

/* Enforce rigid architectural proportions across both buttons */
.vault-action-footer-flex .vault-btn {
  flex: 1 1 50% !important; /* Force equal 50/50 block space */
  max-width: calc(50% - 7.5px) !important;
  font-family: monospace !important;
  letter-spacing: 1px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
  border-radius: 4px !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

/* Primary Vault Control (EXIT) */
.btn-primary-vault {
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.btn-primary-vault:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Secondary Vault Control (HOME) */
.btn-secondary-vault {
  background: rgba(0, 241, 255, 0.05) !important;
  color: #00f1ff !important;
  border: 1px solid rgba(0, 241, 255, 0.2) !important;
  text-shadow: 0 0 8px rgba(0, 241, 255, 0.3) !important;
}
.btn-secondary-vault:hover {
  background: rgba(0, 241, 255, 0.15) !important;
  border-color: #00f1ff !important;
  box-shadow: 0 0 15px rgba(0, 241, 255, 0.4) !important;
  color: #00f1ff !important;
}


/* Full-Width Condition Scale Styling */
.full-width-score-block {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  margin-top: 15px !important;
}

.full-width-score-block .score-badge {
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 12px 20px !important;
  border-radius: 6px !important;
  margin-top: 8px !important;
  width: fit-content !important;
}

/* Bulletproof Side-by-Side Flex Layout */
.vault-action-footer-flex {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 15px !important;
  width: 100% !important;
  margin-top: 30px !important;
  box-sizing: border-box !important;
}

.btn-container-half {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.vault-action-footer-flex .vault-btn {
  width: 100% !important; /* Spans the container equally */
  font-family: monospace !important;
  letter-spacing: 1px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
  border-radius: 4px !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Primary (EXIT) */
.btn-primary-vault {
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.btn-primary-vault:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Secondary (HOME) */
.btn-secondary-vault {
  background: rgba(0, 241, 255, 0.05) !important;
  color: #00f1ff !important;
  border: 1px solid rgba(0, 241, 255, 0.2) !important;
  text-shadow: 0 0 8px rgba(0, 241, 255, 0.3) !important;
}
.btn-secondary-vault:hover {
  background: rgba(0, 241, 255, 0.15) !important;
  border-color: #00f1ff !important;
  box-shadow: 0 0 15px rgba(0, 241, 255, 0.4) !important;
  color: #00f1ff !important;
}

/* Parent container to capture and isolate vertical distribution */
.centered-score-container {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important; /* Dynamically grows to fill available layout height perfectly */
  padding: 15px 0 !important;
  box-sizing: border-box !important;
}

/* Internal badge formatting centering layout variables */
.centered-score-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}

.centered-score-block .label {
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.centered-score-block .score-badge {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 12px 35px !important;
  border-radius: 6px !important;
  margin-top: 12px !important;
  width: fit-content !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25) !important;
}


/* Reverted Singular Full-Width Action Control */
#vault-reset-button {
  width: 100% !important;
  font-family: monospace !important;
  letter-spacing: 1px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  margin-top: 30px !important;
  box-sizing: border-box !important;
  
  /* Original Subdued Color Scheme Parameters */
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#vault-reset-button:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Align Center Flex Modifier for Split Badge/Date Row */
.align-center-row {
  align-items: center !important; /* Vertically balances badge vs single text lines */
}

/* Redesigned Side-Aligned Condition Badge */
.split-left .score-badge {
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 10px 18px !important;
  border-radius: 4px !important;
  width: fit-content !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.margin-top-xs {
  margin-top: 6px !important;
}


/* Dynamic Condition Font & Glow Match Matrices */

/* 9.5 - Pristine (Cosmic Purple Aura) */
.score-badge.tier-glow-pristine .score-num,
.score-badge.tier-glow-pristine .score-text {
  color: #b92b27 !important;
  text-shadow: 0 0 10px rgba(185, 43, 39, 0.4) !important;
}
.score-badge.tier-glow-pristine {
  border-color: rgba(185, 43, 39, 0.3) !important;
  background: rgba(185, 43, 39, 0.02) !important;
}

/* 10 - Flawless (Matrix Cyan Aura) */
.score-badge.tier-glow-flawless .score-num,
.score-badge.tier-glow-flawless .score-text {
  color: #00f1ff !important;
  text-shadow: 0 0 10px rgba(0, 241, 255, 0.4) !important;
}
.score-badge.tier-glow-flawless {
  border-color: rgba(0, 241, 255, 0.3) !important;
  background: rgba(0, 241, 255, 0.02) !important;
}

/* 10 Mint - Flawless Mint (Neon Green Aura) */
.score-badge.tier-glow-flawless-mint .score-num,
.score-badge.tier-glow-flawless-mint .score-text {
  color: #39ff14 !important;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4) !important;
}
.score-badge.tier-glow-flawless-mint {
  border-color: rgba(57, 255, 20, 0.3) !important;
  background: rgba(57, 255, 20, 0.02) !important;
}

/* 10 Gem Mint - Flawless Gem Mint (Hot Pink Aura) */
.score-badge.tier-glow-flawless-gem-mint .score-num,
.score-badge.tier-glow-flawless-gem-mint .score-text {
  color: #ec008c !important;
  text-shadow: 0 0 10px rgba(236, 0, 140, 0.4) !important;
}
.score-badge.tier-glow-flawless-gem-mint {
  border-color: rgba(236, 0, 140, 0.3) !important;
  background: rgba(236, 0, 140, 0.02) !important;
}

/* Color Fix: Shift 9.5 Pristine from Red to Cosmic Neon Purple */
.score-badge.tier-glow-pristine .score-num,
.score-badge.tier-glow-pristine .score-text {
  color: #bc13fe !important; /* Vivid Neon Purple */
  text-shadow: 0 0 10px rgba(188, 19, 254, 0.5) !important;
}

.score-badge.tier-glow-pristine {
  border-color: rgba(188, 19, 254, 0.3) !important;
  background: rgba(188, 19, 254, 0.02) !important;
}


/* --- 3D INTERACTIVE FLIP MECHANICS --- */
.flipper-perspective {
  perspective: 1200px !important; /* Establishes depth field for spatial rotation */
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  cursor: pointer !important;
}

.vault-card-flipper {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  transform-style: preserve-3d !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Explicit toggle execution class mapped by script */
.vault-card-flipper.is-flipped {
  transform: rotateY(180deg) !important;
}

.card-face {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  backface-visibility: hidden !important; /* Conceals inverted visual plane during spin */
  -webkit-backface-visibility: hidden !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.face-front {
  transform: rotateY(0deg) !important;
  z-index: 2 !important;
}

.face-rear {
  transform: rotateY(180deg) !important;
}

.card-face img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

/* ==========================================================================
   CLEAN COHESIVE 3D CARD FLIP MECHANICS & SIZING MATRIX
   ========================================================================== */

/* 1. Parent Column Constraint */
.vault-asset-column {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  padding: 10px !important; /* Trims away massive dead zones around the asset */
}

/* 2. Outer Perspective Frame - Expanded display size */
.flipper-perspective {
  perspective: 1500px !important; /* Added deeper spatial field for smoother rotation */
  position: relative !important;
  width: 82% !important;          /* Expands the slab visually to shrink surrounding void by ~50% */
  max-width: 440px !important;    /* Hard boundary to prevent stretching on massive screens */
  aspect-ratio: 2 / 3 !important; /* Hard lock to pristine physical trading card slab proportions */
  margin: 0 auto !important;
  overflow: visible !important;   /* Crucial for 3D depth pop during rotation */
}

/* 3. The Interactive Rotating Core Wrapper */
.vault-card-flipper {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  transform-style: preserve-3d !important;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

/* Rotation Trigger Rule called by vault-core.js */
.vault-card-flipper.is-flipped {
  transform: rotateY(180deg) !important;
}

/* 4. Dual Planes (Front/Back Shared Dimensions) */
.card-face {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  backface-visibility: hidden !important; 
  -webkit-backface-visibility: hidden !important;
  border-radius: 12px !important; /* Smooth edge profiles match premium acrylic slab styling */
  overflow: hidden !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important; /* Grounding shadow depth */
}

/* 5. Axis Orientations */
.face-front {
  transform: rotateY(0deg) !important;
  z-index: 2 !important;
}

.face-rear {
  transform: rotateY(180deg) !important;
}

/* 6. Image Layer Parity Enforcement */
.card-face img,
#display-card-image,
#display-card-rear {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* Displays the clean raw upload flawlessly without cropping borders */
  object-position: center !important;
  background-color: transparent !important;
  transform: none !important;
}