:root {
  --bg: #060712;
  --surface: #0c0e1e;
  --surface-2: #12152b;
  --border: rgba(160, 152, 255, 0.12);
  --border-strong: rgba(200, 194, 255, 0.26);
  --text: #ffffff;
  --muted: #a5a1c2;
  --dim: #6e6a8a;
  --indigo: #6c5ce7;
  --lavender: #c8c2ff;
  --twilight: #2e239e;
  --mint: #34d399;
  --mint-soft: rgba(52, 211, 153, 0.12);
  --coral: #ff4d5e;
  --coral-soft: rgba(255, 77, 94, 0.14);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 152, 255, 0.22) transparent;
}

*::-webkit-scrollbar { width: 5px; height: 5px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(160, 152, 255, 0.22); border-radius: 999px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(108, 92, 231, 0.65); }

html,
body {
  color-scheme: dark;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.hidden { display: none !important; }
.accent-mint { color: var(--mint); }
.accent-coral { color: var(--coral); }
.accent-lavender { color: var(--lavender); }

/* Ambient Swiss Fintech Glows */
.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.orb-1 {
  width: 680px;
  height: 440px;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(46, 35, 158, 0.45) 0%, rgba(30, 25, 96, 0) 70%);
  animation: orbDrift 14s ease-in-out infinite alternate;
}

.orb-2 {
  width: 480px;
  height: 360px;
  bottom: -140px;
  right: -80px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.22) 0%, transparent 70%);
}

.grid-veil {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 194, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 194, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 15%, #000 10%, transparent 80%);
}

@keyframes orbDrift {
  from { transform: translateX(-50%) scale(1); opacity: 0.85; }
  to { transform: translateX(-46%) scale(1.08); opacity: 1; }
}

/* Clean Protocol Status Strip */
.status-strip {
  position: relative;
  z-index: 50;
  min-height: 34px;
  background: rgba(12, 14, 30, 0.94);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.status-strip-inner {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 6px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.69rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lavender);
  font-weight: 600;
}

.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 6px 12px;
  gap: 6px;
  justify-content: space-between;
}

.mnav-btn {
  flex: 1;
  height: 30px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.mnav-btn.active {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(6, 7, 18, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  height: 62px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.16s, background 0.16s, border-color 0.16s;
}

.nav-btn:hover { color: var(--text); background: rgba(200, 194, 255, 0.06); }
.nav-btn.active { color: var(--text); background: var(--surface); border-color: var(--border); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.burn-pill, .ca-pill, .x-pill {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.74rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}

.burn-pill strong, .ca-pill strong { color: var(--text); }
.burn-pill:hover, .ca-pill:hover, .x-pill:hover { border-color: var(--border-strong); background: var(--surface-2); }
.burn-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }

.wallet-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(200, 194, 255, 0.25);
  background: linear-gradient(180deg, #7c6df2 0%, #5b4bd6 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 4px 18px rgba(108, 92, 231, 0.35);
  transition: transform 0.14s, filter 0.18s, box-shadow 0.2s;
}

.wallet-btn:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 24px rgba(108, 92, 231, 0.5); }
.wallet-btn:active { transform: scale(0.97); }

/* App Shell */
.app-shell {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 36px 22px 64px;
}

.view-section {
  animation: viewFade 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes viewFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Institutional Hero */
.hero-block {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 44px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(12, 14, 30, 0.85);
  font-size: 0.7rem;
  color: var(--lavender);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 10px var(--indigo); }

.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.26em;
}

.hero-title .word {
  display: inline-block;
  animation: wordReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title .word:nth-child(2) { animation-delay: 0.08s; }
.hero-title .word:nth-child(3) { animation-delay: 0.16s; }

.accent-word {
  background: linear-gradient(135deg, #ffffff 15%, #c8c2ff 60%, #7d6ef5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes wordReveal {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-sub {
  max-width: 650px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.58;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.btn-primary, .btn-secondary {
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.14s, border-color 0.18s, box-shadow 0.2s, background 0.18s;
}

.btn-primary {
  background: #ffffff;
  color: #060712;
  border: none;
  box-shadow: 0 6px 24px rgba(200, 194, 255, 0.22);
}

.btn-primary:hover { background: var(--lavender); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--border-strong); background: var(--surface-2); }

/* 4 Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.stat-card {
  background: rgba(12, 14, 30, 0.82);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, transform 0.2s;
}

.stat-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.stat-label { font-size: 0.67rem; color: var(--dim); letter-spacing: 0.06em; }
.stat-value { font-size: 1.48rem; font-weight: 700; letter-spacing: -0.02em; }
.stat-sub { font-size: 0.74rem; color: var(--muted); }

/* 3 Shield Architecture Cards */
.shields-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.shield-info-card {
  background: linear-gradient(180deg, rgba(18, 21, 43, 0.7) 0%, rgba(12, 14, 30, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.shield-info-card:hover {
  border-color: rgba(108, 92, 231, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(6, 7, 18, 0.65);
}

.shield-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.shield-index { font-size: 0.74rem; font-weight: 700; color: var(--lavender); }
.shield-tag { font-size: 0.65rem; padding: 3px 8px; border-radius: 6px; background: rgba(108, 92, 231, 0.16); color: var(--lavender); }
.shield-info-card h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.02em; }
.shield-info-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.54; }

/* Feed Section */
.feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-tab {
  height: 34px;
  padding: 0 13px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s, color 0.16s, background 0.16s;
}

.filter-tab:hover { color: var(--text); border-color: var(--border-strong); }
.filter-tab.active { background: var(--surface-2); border-color: var(--indigo); color: var(--text); }

.feed-controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-input {
  width: 240px;
  height: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  font-size: 0.75rem;
  outline: none;
}

.search-input:focus { border-color: var(--indigo); }

.view-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}

.vt-btn {
  height: 28px;
  padding: 0 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.vt-btn.active { background: var(--surface-2); color: var(--text); }

/* Token Grid & Cards */
.token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.token-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, box-shadow 0.22s;
}

.token-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45);
}

.token-card.is-ironclad {
  border-color: rgba(200, 194, 255, 0.24);
  background: linear-gradient(165deg, rgba(46, 35, 158, 0.22) 0%, var(--surface) 45%);
}

.token-card.is-slashed {
  border-color: rgba(255, 77, 94, 0.35);
}

.tc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.tc-id {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--lavender);
  overflow: hidden;
  flex-shrink: 0;
}

.tc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tc-name { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.01em; }
.tc-ticker { font-size: 0.74rem; color: var(--muted); margin-top: 2px; }

/* Metallic Tier Badges */
.tier-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.tier-badge.IRONCLAD {
  background: linear-gradient(110deg, #e2dfff 0%, #ffffff 45%, #a99eff 100%);
  color: #060712;
  box-shadow: 0 0 18px rgba(200, 194, 255, 0.35);
}

.tier-badge.ARMORED {
  background: rgba(108, 92, 231, 0.22);
  border: 1px solid rgba(200, 194, 255, 0.3);
  color: var(--lavender);
}

.tier-badge.PROTECTED {
  background: var(--mint-soft);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--mint);
}

.tier-badge.SLASHED {
  background: var(--coral-soft);
  border: 1px solid rgba(255, 77, 94, 0.4);
  color: var(--coral);
}

.tc-metrics {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.tc-mcap { font-size: 1.08rem; font-weight: 700; }
.tc-chg { font-size: 0.78rem; font-weight: 600; }

.tc-shields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shield-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
}

.shield-chip strong { color: var(--text); }

/* Table View */
.token-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow-x: auto;
}

.token-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.token-table th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--dim);
  border-bottom: 1px solid var(--border);
}

.token-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(160, 152, 255, 0.06);
  cursor: pointer;
}

.token-table tr:hover td { background: rgba(108, 92, 231, 0.07); }

/* ==================== TOKEN PASSPORT ==================== */
.passport-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.back-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.back-btn:hover { color: var(--text); }
.passport-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.slash-alert {
  background: var(--coral-soft);
  border: 1px solid rgba(255, 77, 94, 0.5);
  color: #ffd5da;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 0.86rem;
}

.passport-header-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.passport-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  margin-bottom: 18px;
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.chart-legend {
  display: flex;
  gap: 14px;
  font-size: 0.72rem;
  color: var(--muted);
}

.chart-legend .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}

.dot.mint { background: var(--mint); }
.dot.violet { background: var(--indigo); }
.dot.white { background: #fff; }

.chart-live-price { font-size: 1.15rem; font-weight: 700; }

.passport-chart-wrap {
  height: 360px;
  width: 100%;
}

#passportChart { width: 100%; height: 100%; display: block; }

/* Simulator Panel */
.sim-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sim-kicker { font-size: 0.66rem; color: var(--lavender); letter-spacing: 0.08em; }
.sim-head h3 { font-size: 1.05rem; margin-top: 4px; }
.sim-head p { font-size: 0.8rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }

.sim-buttons { display: flex; flex-direction: column; gap: 8px; }

.sim-btn {
  text-align: left;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 0.16s, transform 0.12s;
}

.sim-btn span { font-weight: 600; font-size: 0.84rem; }
.sim-btn small { font-size: 0.72rem; color: var(--muted); }
.sim-btn:hover { transform: translateY(-1px); }
.sim-dump:hover { border-color: var(--indigo); }
.sim-rug:hover { border-color: var(--coral); background: rgba(255, 77, 94, 0.1); }
.sim-topup:hover { border-color: var(--mint); }

.sim-log-wrap {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-log-title { font-size: 0.66rem; color: var(--dim); }
.sim-log { font-size: 0.71rem; color: var(--muted); display: flex; flex-direction: column; gap: 6px; max-height: 130px; overflow-y: auto; }
.sim-log-entry { padding: 6px 8px; border-radius: 6px; background: rgba(6, 7, 18, 0.7); border: 1px solid rgba(160, 152, 255, 0.08); }

/* Verification Grid */
.verification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.v-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v-panel.inactive { opacity: 0.45; }
.v-head { display: flex; justify-content: space-between; align-items: center; }
.v-title { font-weight: 700; font-size: 0.96rem; }
.v-status { font-family: var(--font-mono); font-size: 0.68rem; padding: 3px 8px; border-radius: 99px; }
.v-status.on { background: var(--mint-soft); color: var(--mint); }
.v-status.off { background: rgba(255, 255, 255, 0.06); color: var(--dim); }
.v-status.slashed { background: var(--coral-soft); color: var(--coral); }

.progress-track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--indigo), var(--mint)); transition: width 0.35s ease; }

.v-kv { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); }
.v-kv strong { color: var(--text); }

/* ==================== LAUNCH STUDIO ==================== */
.studio-head { margin-bottom: 26px; }
.kicker-text { font-size: 0.72rem; color: var(--lavender); letter-spacing: 0.08em; }
.studio-head h2 { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0; }
.studio-head p { color: var(--muted); font-size: 0.95rem; }

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 22px;
  align-items: start;
}

.studio-form { display: flex; flex-direction: column; gap: 18px; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-card-title { font-size: 1rem; font-weight: 700; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.78rem; color: var(--muted); }

.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
}

.field input:focus, .field textarea:focus { border-color: var(--indigo); }

.shield-toggle-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}

.shield-toggle-card.active { border-color: rgba(108, 92, 231, 0.55); }
.st-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.switch-row { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 0.88rem; }
.switch-row input { accent-color: var(--indigo); width: 16px; height: 16px; cursor: pointer; }
.st-val { font-size: 0.76rem; color: var(--lavender); }
.st-body { display: flex; flex-direction: column; gap: 10px; }
.slider-row { display: flex; flex-direction: column; gap: 6px; font-size: 0.78rem; color: var(--muted); }
.slider-row input { width: 100%; accent-color: var(--indigo); }

.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.cfg-chip {
  height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.72rem;
  cursor: pointer;
}

.cfg-chip.active { background: rgba(108, 92, 231, 0.24); border-color: var(--indigo); color: var(--text); }
.launch-submit-btn { width: 100%; height: 48px; font-size: 0.95rem; }

.studio-preview-sticky { position: sticky; top: 82px; }

.preview-card {
  background: linear-gradient(165deg, rgba(46, 35, 158, 0.28) 0%, var(--surface) 55%);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==================== FURNACE ==================== */
.furnace-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.furnace-log-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.furnace-log-head { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.72rem; color: var(--lavender); }
.furnace-log-list { display: flex; flex-direction: column; }
.furnace-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(160, 152, 255, 0.06); font-size: 0.82rem; flex-wrap: wrap; }

/* Footer, Toasts, Modals */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 20px 22px;
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.74rem;
  color: var(--dim);
}

.toast-stack { position: fixed; left: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast-item { background: var(--surface-2); border: 1px solid var(--border-strong); border-left: 3px solid var(--indigo); padding: 10px 14px; border-radius: 9px; font-size: 0.8rem; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55); }
.toast-item.mint { border-left-color: var(--mint); }
.toast-item.coral { border-left-color: var(--coral); }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(4, 5, 14, 0.82); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-card { width: 100%; max-width: 680px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.wallet-modal-card { max-width: 380px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--muted); }
.modal-close { background: transparent; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }
.share-canvas { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.wallet-list { display: flex; flex-direction: column; gap: 8px; }
.wallet-option { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-weight: 600; cursor: pointer; }
.wallet-option:hover { border-color: var(--indigo); }

/* Responsive */
/* Architecture, Fee Flow, Tier Matrix & FAQ */
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-heading-row h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 4px;
}

.filter-tabs {
  margin-bottom: 18px;
}

.empty-feed-card {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, rgba(18, 21, 43, 0.55) 0%, var(--surface) 100%);
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-feed-card h3 { font-size: 1.15rem; font-weight: 700; }
.empty-feed-card p { font-size: 0.88rem; color: var(--muted); max-width: 460px; line-height: 1.5; }

.arch-section,
.faq-section {
  margin-top: 64px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.flow-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-head { font-size: 0.72rem; color: var(--lavender); letter-spacing: 0.08em; }
.flow-bars { display: flex; flex-direction: column; gap: 10px; }
.flow-row { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--muted); }
.flow-note { font-size: 0.8rem; color: var(--dim); margin-top: 6px; line-height: 1.48; }
.fill-indigo { background: linear-gradient(90deg, var(--indigo), var(--lavender)) !important; }
.fill-coral { background: linear-gradient(90deg, #ff4d5e, #ff8590) !important; }
.fill-dim { background: rgba(165, 161, 194, 0.45) !important; }

.tier-matrix-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow-x: auto;
}

.tier-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.tier-matrix th {
  text-align: left;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--dim);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.tier-matrix td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(160, 152, 255, 0.06);
  color: var(--muted);
  white-space: nowrap;
}

.tier-matrix .row-ironclad td {
  background: rgba(108, 92, 231, 0.08);
  color: var(--text);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color 0.2s;
}

.faq-item[open] { border-color: var(--border-strong); }

.faq-item summary {
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--lavender);
  font-size: 1.1rem;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .stats-grid, .shields-strip, .token-grid, .verification-grid, .furnace-stats, .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .passport-main-grid, .studio-grid { grid-template-columns: 1fr; }
  .burn-pill, .status-spec { display: none; }
}

@media (max-width: 680px) {
  .nav-inner { padding: 0 12px; gap: 8px; }
  .nav-links { display: none; }
  .mobile-nav { display: flex; }
  .ca-pill { display: none; }
  .app-shell { padding: 24px 12px 48px; }
  .stats-grid, .shields-strip, .token-grid, .verification-grid, .furnace-stats, .form-row-2, .flow-grid { grid-template-columns: 1fr; }
  .search-input { width: 100%; }
  .feed-controls-right { width: 100%; }
}
