/* ==========================================================================
   GOLDLOOKUP — PRIVATE ASSET & IDENTITY INTELLIGENCE TERMINAL
   Awwwards-Tier Gold Luxury Dark Architecture
   Engineered following high-end-visual-design, gpt-taste, & design-taste-frontend.
   Zero cartoon emojis. Precision 1.5px/1.75px SVG geometry.
   Double-bezel hardware enclosures & genuine offline QR generation.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-core: #040507;
  --bg-surface: #08090e;
  --bg-surface-elevated: #0e111a;
  --bg-card: #0a0c13;
  --bg-card-inner: #0f121d;
  --bg-glass: rgba(8, 10, 15, 0.88);

  /* Gold Luxury Color Hierarchy */
  --gold-primary: #d4af37;
  --gold-bright: #ffd700;
  --gold-light: #fff3c4;
  --gold-dark: #8c6d23;
  --gold-hairline: rgba(212, 175, 55, 0.22);
  --gold-hairline-light: rgba(212, 175, 55, 0.45);
  --gold-glow: 0 0 28px rgba(212, 175, 55, 0.18);
  --gold-gradient: linear-gradient(135deg, #ffe082 0%, #d4af37 50%, #996515 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(212,175,55,0.12) 0%, rgba(13,16,25,0.6) 100%);

  --hairline: rgba(255, 255, 255, 0.06);
  --hairline-light: rgba(255, 255, 255, 0.12);

  --accent: #d4af37;
  --accent-light: #ffe082;
  --accent-glow: rgba(212, 175, 55, 0.25);
  --accent-gradient: var(--gold-gradient);

  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.2);
  --warning: #f59e0b;
  --danger: #f43f5e;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-dim: #334155;
  --text-gold: #e2ba49;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-mono: 'JetBrains Mono', monospace;

  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --radius-outer: 22px;
  --radius-inner: 17px;
  --radius-pill: 9999px;

  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100dvh;
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14.5px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Gold Specular Header Glow */
body::before {
  content: '';
  position: fixed;
  top: -18vh;
  left: 50%;
  transform: translateX(-50%);
  width: 95vw;
  height: 52vh;
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   BROWSER SECURITY GATE (LOCKS ANY ACCESS OUTSIDE TELEGRAM)
   ========================================================================== */

#browser-gate-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-core);
  z-index: 9999;
}


.gate-shield-icon {
  width: 66px;
  height: 66px;
  border-radius: 22px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold-bright);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.gate-shield-icon svg {
  width: 30px;
  height: 30px;
}

.gate-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.gate-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.gate-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
}

/* ==========================================================================
   MINI APP SHELL (TELEGRAM ONLY)
   ========================================================================== */

.app-viewport {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 14px 16px calc(88px + var(--safe-bottom)) 16px;
}

/* Top Bar & Brand Identity */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-emblem-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
}

.brand-emblem-box svg {
  width: 38px;
  height: 38px;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.brand-gold-text {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-white-text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.brand-sub-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.live-beacon {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
  animation: pulse-beacon 2s infinite ease-in-out;
}

@keyframes pulse-beacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Balance Header Pill */
.balance-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-pill);
  padding: 4px 5px 4px 12px;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.2s var(--spring);
}

.balance-pill * {
  pointer-events: none;
}

.balance-pill:active {
  transform: scale(0.97);
  background: rgba(212, 175, 55, 0.08);
}

.balance-amount {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-light);
}

.balance-plus-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #050608;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

/* ==========================================================================
   DOUBLE-BEZEL HERO CARD (GOLD EDITION)
   ========================================================================== */

.hero-bezel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-outer);
  padding: 4px;
  margin-bottom: 22px;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.85), var(--gold-glow);
}

.hero-core {
  background: linear-gradient(145deg, #0f121d 0%, #080910 100%);
  border-radius: var(--radius-inner);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 235, 150, 0.12);
}

.hero-core::before {
  content: '';
  position: absolute;
  top: -45px;
  right: -45px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 4px;
}

.balance-counter {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
}

.balance-counter span.sym {
  font-size: 26px;
  color: var(--gold-bright);
  font-weight: 700;
}

.hero-actions-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

/* ==========================================================================
   BUTTONS WITH NESTED TRAILING CIRCLE (Skill Spec)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.2s var(--spring);
  text-decoration: none;
}

.btn * {
  pointer-events: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--gold-gradient);
  color: #07080a;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
  filter: brightness(1.05);
}

.btn-primary .btn-trailing-icon {
  background: rgba(0, 0, 0, 0.18);
  color: #07080a;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-primary);
  border: 1px solid var(--gold-hairline);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold-hairline-light);
}

.btn-secondary.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.btn-block {
  width: 100%;
}

.btn-trailing-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-trailing-icon svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   BENTO GRID SERVICES (NO EMOJIS — PRECISION VECTOR LINES)
   ========================================================================== */

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-transform: uppercase;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.bento-tile {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 16px 14px;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.25s var(--spring);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
  position: relative;
}

.bento-tile * {
  pointer-events: none;
}

.bento-tile:active {
  transform: scale(0.97);
}

.bento-tile:hover {
  border-color: var(--gold-hairline-light);
  background: #10131e;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.bento-tile.span-2 {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, #0d0f17 100%);
  border-color: rgba(212, 175, 55, 0.25);
}

.tile-svg-box {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.tile-svg-box svg {
  width: 18px;
  height: 18px;
}

.tile-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 3px;
}

.tile-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 8px;
}

.tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.035);
}

.tile-price {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-light);
}

.tile-arrow {
  color: var(--text-dim);
  font-size: 13px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.bento-tile:hover .tile-arrow {
  transform: translate(2px, -2px);
  color: var(--gold-bright);
}

/* ==========================================================================
   NATIVE IN-APP CRYPTO CHECKOUT CARD (WHITE-LABEL NOWPAYMENTS)
   ========================================================================== */

.preset-pills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 14px;
}

.crypto-grid-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 16px;
}

.crypto-chip {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.2s ease;
}

.crypto-chip * {
  pointer-events: none;
}

.crypto-chip.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.crypto-chip-sym {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  display: block;
}

.crypto-chip.active .crypto-chip-sym {
  color: var(--gold-light);
}

.crypto-chip-net {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* In-Page Native Crypto Sheet */
.native-crypto-card {
  background: #0b0d15;
  border: 1px solid var(--gold-hairline-light);
  border-radius: var(--radius-inner);
  padding: 22px 20px;
  margin-top: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), var(--gold-glow);
}

/* Luxury Viewfinder QR Card */
.qr-box {
  background: #ffffff;
  padding: 16px;
  border-radius: 20px;
  width: 204px;
  height: 204px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4), 0 14px 34px rgba(0, 0, 0, 0.7);
  position: relative;
}

/* Golden Corner Alignment Reticles */
.qr-box::before, .qr-box::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #d4af37;
  border-style: solid;
  pointer-events: none;
}
.qr-box::before {
  top: 6px;
  left: 6px;
  border-width: 2px 0 0 2px;
  border-top-left-radius: 6px;
}
.qr-box::after {
  bottom: 6px;
  right: 6px;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 6px;
}

#qr-container {
  width: 172px;
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#qr-container img, #qr-container canvas {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 4px;
}

.copy-row {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.copy-row-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.copy-row-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  word-break: break-all;
}

.btn-copy {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-hairline);
  color: var(--gold-light);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-copy:active {
  background: var(--gold-gradient);
  color: #07080a;
  transform: scale(0.96);
}

.radar-listener {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-top: 6px;
}

.radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
  animation: radar-sweep 1.8s infinite ease-out;
}

@keyframes radar-sweep {
  0% { transform: scale(0.9); opacity: 1; }
  70% { transform: scale(1.6); opacity: 0.2; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   FLOATING BOTTOM DOCK NAVIGATION (Skill Spec)
   ========================================================================== */

.dock-island {
  position: fixed;
  bottom: calc(14px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-pill);
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 100;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.08);
  max-width: calc(100vw - 32px);
  width: 380px;
}

.dock-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
  transition: all 0.2s var(--spring);
  border: none;
  background: transparent;
}

.dock-item * {
  pointer-events: none;
}

.dock-item svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.dock-item.active {
  background: rgba(212, 175, 55, 0.12);
  color: #fff;
}

.dock-item.active svg {
  stroke: var(--gold-bright);
  transform: translateY(-1px);
}

/* ==========================================================================
   SLIDE-UP MODAL SHEET
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  background: #090b12;
  border-top: 1px solid var(--gold-hairline-light);
  border-left: 1px solid var(--gold-hairline);
  border-right: 1px solid var(--gold-hairline);
  width: 100%;
  max-width: 500px;
  border-radius: 26px 26px 0 0;
  padding: 16px 20px calc(34px + var(--safe-bottom)) 20px;
  max-height: 88dvh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s var(--spring);
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.95);
}

.modal-backdrop.active .modal-panel {
  transform: translateY(0);
}

.modal-drag-bar {
  width: 40px;
  height: 4px;
  border-radius: 99px;
  background: rgba(212, 175, 55, 0.3);
  margin: 0 auto 16px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.modal-title-text {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.modal-price-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  padding: 2px 10px;
  border-radius: 99px;
  margin-top: 3px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gold-hairline);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.modal-close-btn:active {
  background: rgba(212, 175, 55, 0.2);
  transform: scale(0.92);
}

/* Form Styles */
.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: var(--font-main);
  font-size: 13.5px;
  color: #fff;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.04);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Results data display */
.data-grid {
  display: grid;
  gap: 8px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
}

.data-key {
  color: var(--text-muted);
  font-weight: 500;
}

.data-val {
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}

.data-val.accent {
  color: var(--gold-light);
  font-weight: 700;
}

.raw-json-box {
  margin-top: 12px;
  background: #040507;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
  overflow-x: auto;
  max-height: 220px;
}

/* Toast */
.toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: #111420;
  border: 1px solid var(--gold-hairline-light);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), var(--gold-glow);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--spring);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.toast-error { border-color: var(--danger); background: #1c0910; }
.toast.toast-success { border-color: var(--success); background: #081a12; }

.hidden { display: none !important; }
.view-panel { display: none; }
.view-panel.active { display: block; }
