/* ============ StockMint Shared Styles ============ */
:root {
  --bg: #050a16;
  --bg2: #091225;
  --panel: #0c1425;
  --panel2: #0f182b;
  --border: #1a2848;
  --border2: #253760;
  --text: #eef4ff;
  --muted: #7a8db0;
  --muted2: #5a6d8e;
  --accent: #f0b90b;
  --accent2: #ffd633;
  --accent-strong: #ffb830;
  --accent-grad: linear-gradient(135deg, #f0b90b, #ffb830);
  --accent-soft: rgba(240,185,11,0.12);
  --accent-glow: 0 0 24px rgba(240,185,11,0.3);
  --up: #ff4444;
  --up-soft: rgba(255,68,68,0.12);
  --down: #00c853;
  --down-soft: rgba(0,200,83,0.12);
  --success: #3dd598;
  --warning: #ffcc66;
  --danger: #ff6b81;
  --gold: #ffd700;
  --cyan: #00d4ff;
  --cyan-soft: rgba(0,212,255,0.1);
  --purple: #a855f7;
  --blue: #4d8aff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  font-family: "SF Pro Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(5,10,22,0.55), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 70%, rgba(5,10,22,0.35), transparent 55%),
    url("img/stock-bg.jpg") no-repeat center center / cover fixed,
    #050a16;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }

/* Smooth blending overlay for content readability */
body::before {
  content: "";
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(180deg, rgba(5,10,22,0.62) 0%, rgba(5,10,22,0.28) 35%, rgba(5,10,22,0.58) 85%, rgba(5,10,22,0.72) 100%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(5,10,22,0.22) 70%),
    linear-gradient(90deg, rgba(5,10,22,0.18) 0%, transparent 15%, transparent 85%, rgba(5,10,22,0.18) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Stock ticker tape */
.ticker-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: 32px; background: rgba(5,10,22,0.97);
  border-bottom: 1px solid var(--border);
  overflow: hidden; display: flex; align-items: center;
}
.ticker-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 20px; font-size: 12px; font-weight: 600;
  border-right: 1px solid rgba(36,49,82,0.5);
}
.ticker-item .ts { color: var(--muted); font-weight: 500; }
.ticker-item .tp { color: var(--text); }
.ticker-item .tc.up { color: var(--up); }
.ticker-item .tc.down { color: var(--down); }
.ticker-label {
  position: absolute; left: 0; top: 0; bottom: 0;
  display: flex; align-items: center; padding: 0 14px;
  background: var(--accent-grad); color: #050a16;
  font-size: 11px; font-weight: 800; letter-spacing: .05em;
  z-index: 2;
}

/* Top Nav */
.topnav {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 60px;
  background: rgba(5,10,22,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-mark {
  width: 28px; height: 28px;
  background: var(--accent-grad);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; color: #050a16;
  box-shadow: var(--accent-glow);
}
.nav-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.nav-title .gold { color: var(--accent); }
.nav-sub { color: var(--muted2); font-size: 11px; letter-spacing: .04em; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 500;
  color: var(--muted); transition: all .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent); background: var(--accent-soft);
}
.nav-toggle {
  display: none; background: none; border: none; color: var(--text);
  font-size: 24px; cursor: pointer; padding: 4px 8px;
}

/* Layout */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 80px 0; }
.page-wrap { padding-top: 80px; }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  display: inline-block; color: var(--accent); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px;
  padding: 4px 14px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(240,185,11,0.2);
}
.section-title { font-size: 38px; font-weight: 900; letter-spacing: -.02em; }
.section-desc { color: var(--muted); font-size: 16px; max-width: 680px; margin: 12px auto 0; }

/* Hero */
.hero {
  padding-top: 120px; padding-bottom: 60px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(240,185,11,0.1), transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(240,185,11,0.3);
  font-size: 13px; color: var(--accent); margin-bottom: 24px; position: relative;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 { font-size: 60px; font-weight: 900; line-height: 1.08; margin-bottom: 20px; letter-spacing: -.03em; }
.hero h1 .grad { background: linear-gradient(135deg, #f0b90b 0%, #ffd633 50%, #ffd700 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { color: var(--muted); font-size: 18px; max-width: 720px; margin: 0 auto 36px; position: relative; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all .25s; text-decoration: none;
}
.btn-primary { background: var(--accent-grad); color: #050a16; box-shadow: 0 4px 20px rgba(240,185,11,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(240,185,11,0.45); }
.btn-ghost { background: rgba(14,21,37,0.9); border: 1px solid var(--border2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(14,21,37,0.95); }

/* Hero highlight banner */
.hero-highlight {
  display: flex; align-items: center; gap: 20px; justify-content: center;
  max-width: 900px; margin: 40px auto 0; padding: 24px 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(240,185,11,0.08), rgba(14,21,37,0.95));
  border: 1px solid rgba(240,185,11,0.25);
  position: relative; overflow: hidden;
}
.hero-highlight::before {
  content: ""; position: absolute; top: 0; left: -100%; width: 200%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(240,185,11,0.05), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } }
.hero-highlight .hl-icon {
  width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
  background: var(--accent-grad); display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #050a16; box-shadow: var(--accent-glow);
}
.hero-highlight .hl-text { text-align: left; }
.hero-highlight .hl-title { font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.hero-highlight .hl-desc { font-size: 13px; color: var(--muted); }

/* Market indices dashboard */
.market-dash {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 48px;
}
.index-card {
  padding: 22px 24px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(14,21,37,0.95), rgba(18,26,46,0.95));
  border: 1px solid var(--border);
  transition: all .3s; position: relative; overflow: hidden;
}
.index-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.index-card .idx-name { font-size: 13px; font-weight: 600; color: var(--muted); }
.index-card .idx-val { font-size: 28px; font-weight: 900; margin: 6px 0; letter-spacing: -.02em; }
.index-card .idx-chg { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.index-card .idx-chg.up { color: var(--up); }
.index-card .idx-chg.down { color: var(--down); }
.index-card .idx-spark { margin-top: 10px; opacity: .8; }
.index-card .idx-bar {
  position: absolute; bottom: 0; left: 0; height: 3px; border-radius: 0 0 16px 16px;
  background: var(--accent-grad);
}
.index-card.up .idx-bar { background: var(--up); }
.index-card.down .idx-bar { background: var(--down); }

/* Stats */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; }
.stat-card {
  text-align: center; padding: 28px 20px;
  background: linear-gradient(135deg, rgba(14,21,37,0.95), rgba(18,26,46,0.9));
  border: 1px solid var(--border); border-radius: 16px; transition: all .3s;
}
.stat-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.stat-value { font-size: 36px; font-weight: 900; }
.stat-value .grad { background: linear-gradient(135deg, #f0b90b, #ffb830); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* Cards */
.arch-grid, .features-grid, .pages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.arch-card, .feature-card, .page-preview {
  padding: 28px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(14,21,37,0.92), rgba(18,26,46,0.88));
  border: 1px solid var(--border);
  transition: all .3s; backdrop-filter: blur(8px);
}
.arch-card:hover, .feature-card:hover, .page-preview:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.arch-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.arch-card h3 { font-size: 20px; margin-bottom: 8px; }
.arch-card p, .feature-card p { color: var(--muted); font-size: 14px; }
.arch-features { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.arch-features li { list-style: none; font-size: 13px; color: var(--text); display: flex; align-items: flex-start; gap: 8px; }
.arch-features li::before { content: "\25B8"; color: var(--accent); flex-shrink: 0; }

/* Feature highlight card */
.feature-card.highlight {
  background: linear-gradient(135deg, rgba(240,185,11,0.1), rgba(14,21,37,0.95));
  border-color: rgba(240,185,11,0.35);
  grid-column: span 3;
  display: flex; align-items: center; gap: 32px;
  position: relative; overflow: hidden;
}
.feature-card.highlight::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-grad);
}
.feature-card.highlight .feature-num { color: var(--accent); font-size: 14px; }
.feature-card.highlight h3 { font-size: 24px; color: var(--accent); }
.feature-card.highlight p { font-size: 15px; }
.feature-card.highlight .feature-tag { background: var(--accent-grad); color: #050a16; }

.feature-card { position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-num { font-size: 12px; color: var(--muted); font-weight: 700; }
.feature-card h3 { font-size: 18px; margin: 8px 0 10px; }
.feature-tag { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 6px; font-size: 11px; background: var(--accent-soft); color: var(--accent); }

/* Page preview */
.page-preview-header { padding: 0 0 20px; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.page-preview-header h3 { font-size: 18px; }
.page-preview-header p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.page-section-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; font-size: 13px; border-bottom: 1px solid rgba(30,41,64,0.5); }
.page-section-item:last-child { border-bottom: 0; }
.page-section-item .icon { width: 24px; height: 24px; border-radius: 6px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--accent); flex-shrink: 0; }
.page-section-item .text { color: var(--muted); }
.page-section-item .text strong { color: var(--text); }

/* Lifecycle */
.lifecycle { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.phase { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 130px; }
.phase-circle { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; background: rgba(14,21,37,0.92); border: 2px solid var(--border); transition: all .3s; }
.phase-circle.active { border-color: var(--accent); background: rgba(240,185,11,0.12); color: var(--accent); box-shadow: 0 0 16px rgba(240,185,11,0.2); }
.phase-circle.done { border-color: var(--success); background: rgba(61,213,152,0.12); color: var(--success); }
.phase-label { font-size: 12px; color: var(--muted); text-align: center; font-weight: 600; }
.phase-arrow { color: var(--border2); font-size: 20px; }

/* Stock tokens */
.plaza-controls { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.plaza-tab { padding: 8px 18px; border-radius: 10px; font-size: 14px; cursor: pointer; background: rgba(14,21,37,0.92); border: 1px solid var(--border); color: var(--muted); transition: all .2s; }
.plaza-tab.active, .plaza-tab:hover { background: var(--accent-grad); color: #050a16; border-color: transparent; font-weight: 600; }
.stock-search {
  width: 100%; max-width: 360px; padding: 10px 16px 10px 40px;
  border-radius: 10px; font-size: 14px; color: var(--text);
  background: rgba(14,21,37,0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8db0' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") no-repeat 12px center;
  border: 1px solid var(--border); outline: none; transition: border .2s;
}
.stock-search:focus { border-color: var(--accent); }
.stock-search::placeholder { color: var(--muted2); }
.plaza-search-wrap { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }

/* Market summary bar */
.market-summary {
  display: flex; gap: 24px; justify-content: center; margin-bottom: 32px;
  padding: 16px 24px; border-radius: 12px;
  background: rgba(14,21,37,0.8); border: 1px solid var(--border);
  flex-wrap: wrap;
}
.ms-item { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ms-item .ms-label { color: var(--muted); }
.ms-item .ms-val { font-weight: 700; }
.ms-item .ms-val.up { color: var(--up); }
.ms-item .ms-val.down { color: var(--down); }

.stock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stock-card {
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, rgba(14,21,37,0.95), rgba(18,26,46,0.9));
  border: 1px solid var(--border);
  transition: all .3s; cursor: pointer; position: relative;
}
.stock-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.stock-head { padding: 18px 20px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid rgba(30,41,64,0.5); }
.stock-logo { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #fff; flex-shrink: 0; overflow: hidden; position: relative; }
.stock-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 6px; }
.stock-rank { position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 800; color: var(--accent); background: var(--accent-soft); padding: 2px 7px; border-radius: 5px; z-index: 2; }
.stock-info h4 { font-size: 16px; }
.stock-info .sym { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.stock-body { padding: 16px 20px; }
.stock-price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.stock-price { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.stock-change { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.stock-change.up { color: var(--up); }
.stock-change.down { color: var(--down); }
.stock-spark { margin: 8px 0; height: 40px; }
.stock-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.stock-stat { padding: 8px 10px; border-radius: 8px; background: rgba(5,10,22,0.6); }
.stock-stat .label { font-size: 10px; color: var(--muted2); text-transform: uppercase; letter-spacing: .03em; }
.stock-stat .value { font-size: 13px; font-weight: 600; margin-top: 2px; }
.stock-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.stock-sector { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 11px; background: var(--accent-soft); color: var(--accent); }

/* Mint-badge on stock card */
.stock-mint-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 3px 10px; border-radius: 6px; font-size: 10px; font-weight: 700;
  background: var(--accent-grad); color: #050a16;
  box-shadow: 0 2px 8px rgba(240,185,11,0.3);
}

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.spec-table th { color: var(--muted); font-size: 13px; font-weight: 600; }
.spec-table td { font-size: 14px; }
.spec-table tr:hover { background: var(--accent-soft); }
.spec-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: rgba(14,21,37,0.5); }

/* ===== Deploy Guide ===== */
.deploy-steps {
  display: grid;
  gap: 0;
  margin: 8px 0 40px;
  position: relative;
}
.deploy-step {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 0 0 26px;
}
.deploy-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(240,185,11,0.45), rgba(240,185,11,0.06));
}
.deploy-step:last-child { padding-bottom: 0; }
.deploy-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(240,185,11,0.18), rgba(240,185,11,0.05));
  border: 1px solid rgba(240,185,11,0.4);
  color: var(--accent);
  font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(240,185,11,0.18);
}
.deploy-step-body {
  flex: 1;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(12,20,37,0.55);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s;
}
.deploy-step-body:hover { border-color: rgba(240,185,11,0.35); }
.deploy-step-body h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.deploy-step-body p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.deploy-step-body code {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 12px;
  color: var(--accent);
  background: rgba(240,185,11,0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.deploy-block {
  margin-bottom: 40px;
}
.deploy-block-head { margin-bottom: 18px; }
.deploy-block-head .eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.deploy-block-head h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.deploy-block-head p { font-size: 13px; color: var(--muted); }

.deploy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.deploy-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: rgba(12,20,37,0.6);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.deploy-tag::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(240,185,11,0.6);
}
.deploy-tag:hover {
  border-color: rgba(240,185,11,0.4);
  color: var(--accent);
  transform: translateY(-1px);
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.deploy-panel {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(12,20,37,0.4);
  backdrop-filter: blur(10px);
  min-width: 0;
}
.deploy-panel .spec-table td code {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 12px;
  color: var(--accent);
}

.deploy-notes {
  display: grid;
  gap: 10px;
}
.deploy-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(12,20,37,0.5);
}
.deploy-note b {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.deploy-note span { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.deploy-note code {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 12px;
  color: var(--accent);
  background: rgba(240,185,11,0.08);
  padding: 1px 5px;
  border-radius: 5px;
}

/* Info banner */
.info-banner {
  max-width: 900px; margin: 0 auto 40px; padding: 20px 28px;
  border-radius: 14px; background: linear-gradient(135deg, rgba(240,185,11,0.06), rgba(14,21,37,0.95));
  border: 1px solid rgba(240,185,11,0.2);
  display: flex; align-items: center; gap: 16px;
}
.info-banner .ib-icon { font-size: 28px; flex-shrink: 0; }
.info-banner .ib-text { font-size: 14px; color: var(--muted); }
.info-banner .ib-text strong { color: var(--accent); }

/* Footer */
.footer { padding: 48px 0; text-align: center; border-top: 1px solid var(--border); margin-top: 40px; position: relative; }
.footer p { color: var(--muted); font-size: 14px; }

/* ===== Live Mint Interface ===== */
.sm-shell {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  position: relative;
}
.sm-shell::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(240,185,11,0.35), rgba(0,212,255,0.12) 40%, transparent 70%, rgba(240,185,11,0.2));
  z-index: -1;
  filter: blur(1px);
}
/* ===== Platform Intro ===== */
.sm-intro {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(240,185,11,0.28);
  background:
    radial-gradient(900px 300px at 18% -60%, rgba(240,185,11,0.2), transparent 60%),
    radial-gradient(700px 260px at 92% -40%, rgba(0,212,255,0.13), transparent 55%),
    linear-gradient(150deg, rgba(16,26,48,0.97), rgba(8,14,30,0.97));
  box-shadow: 0 10px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.sm-intro::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(240,185,11,0.07) 1px, transparent 1px),
    linear-gradient(rgba(240,185,11,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(640px 280px at 30% 0%, #000, transparent 78%);
  mask-image: radial-gradient(640px 280px at 30% 0%, #000, transparent 78%);
  pointer-events: none;
}
.sm-intro-head { position: relative; text-align: center; padding: 26px 24px 16px; }
.sm-intro-flame { font-size: 19px; letter-spacing: 3px; animation: smFlame 1.6s ease-in-out infinite; }
@keyframes smFlame { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.sm-intro-title {
  margin: 8px 0 6px;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(180deg, #ffd633, #f0b90b 55%, #d18b00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(240,185,11,0.4));
}
.sm-intro-sub { font-size: 14px; color: #ffdf8e; font-weight: 700; }
.sm-intro-sub span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.sm-intro-site {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 13px; padding: 8px 20px;
  border-radius: 999px;
  background: var(--accent-grad); color: #1a1205;
  font-size: 13px; font-weight: 800;
  box-shadow: 0 4px 16px rgba(240,185,11,0.3);
  transition: all 0.25s;
  text-decoration: none;
}
.sm-intro-site:hover { transform: translateY(-1px); box-shadow: 0 6px 26px rgba(240,185,11,0.5); }

.sm-intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 6px 20px 18px;
  width: 100%;
  box-sizing: border-box;
}
.sm-intro-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(5,10,22,0.55);
  border: 1px solid rgba(240,185,11,0.14);
  backdrop-filter: blur(6px);
  transition: all 0.25s;
}
.sm-intro-item:hover { border-color: rgba(240,185,11,0.42); background: rgba(10,18,36,0.85); transform: translateY(-1px); }
.sm-intro-ic {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(240,185,11,0.18), rgba(0,212,255,0.08));
  border: 1px solid rgba(240,185,11,0.22);
}
.sm-intro-item > div { min-width: 0; }
.sm-intro-label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.sm-intro-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.sm-intro-item strong.gold { color: var(--accent); font-size: 16px; }

.sm-intro-foot {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid rgba(240,185,11,0.15);
  background: rgba(5,10,22,0.5);
}
.sm-intro-contact { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sm-intro-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  color: #ffdf8e;
  background: rgba(240,185,11,0.08);
  border: 1px solid rgba(240,185,11,0.25);
  cursor: pointer;
  user-select: none;
  transition: all 0.25s;
}
.sm-intro-chip:hover { background: rgba(240,185,11,0.18); }
.sm-intro-chip.copied { color: var(--success); border-color: rgba(61,213,152,0.4); background: rgba(61,213,152,0.1); }
.sm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(240,185,11,0.09), rgba(0,212,255,0.05) 55%, rgba(12,20,37,0.5)),
    rgba(10,18,36,0.85);
  border: 1px solid rgba(240,185,11,0.22);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}
.sm-token-brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sm-token-logo {
  width: 58px; height: 58px; flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a2848, #253760);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: #050a16;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
  transition: all 0.5s ease;
}
.sm-token-meta { min-width: 0; }
.sm-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-size: 10px; font-weight: 800;
  letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 4px;
}
.sm-pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px rgba(240,185,11,0.8);
  animation: smPulse 1.6s ease-in-out infinite;
}
@keyframes smPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}
.sm-token-title {
  font-size: 22px; font-weight: 800; color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 460px;
}
.sm-token-addr-row { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.sm-token-addr {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 12px; color: var(--muted);
  background: rgba(5,10,22,0.6);
  border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 300px;
}
.sm-copy-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--muted); font-weight: 700;
  background: transparent; border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 8px; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.sm-copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.sm-copy-btn.copied { color: var(--success); border-color: rgba(61,213,152,0.4); }
.sm-top-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.sm-wallet-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--border);
}
.sm-ws-item {
  padding: 12px 18px;
  background: rgba(10,18,36,0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sm-ws-label { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.sm-ws-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #555;
  transition: all 0.3s;
}
.sm-ws-dot.on { background: var(--success); box-shadow: 0 0 8px rgba(61,213,152,0.6); }
.sm-ws-value { font-size: 14px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; text-align: right; }

.sm-contract-loader {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(240,185,11,0.04), transparent),
    rgba(10,18,36,0.7);
  backdrop-filter: blur(10px);
}
.sm-contract-field { min-width: 0; }
.sm-input-label { font-size: 11px; color: var(--muted); display: block; margin-bottom: 8px; font-weight: 700; letter-spacing: 0.04em; }
.sm-contract-loader input {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  background: rgba(5,10,22,0.75);
  color: var(--text);
  padding: 0 14px;
  font-size: 13px;
  font-family: "SF Mono", "Fira Code", monospace;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sm-contract-loader input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,185,11,0.12); }
.sm-loader-actions { display: flex; align-items: center; gap: 10px; }
.sm-auto-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  color: var(--warning); background: rgba(255,204,102,0.08);
  border: 1px solid rgba(255,204,102,0.25);
  padding: 5px 12px; border-radius: 999px;
  white-space: nowrap;
  transition: all 0.3s;
}
.sm-auto-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--warning); box-shadow: 0 0 6px rgba(255,204,102,0.7);
  animation: smPulse 1.4s ease-in-out infinite;
}
.sm-auto-badge.done { color: var(--success); background: rgba(61,213,152,0.08); border-color: rgba(61,213,152,0.25); }
.sm-auto-badge.done::before { background: var(--success); box-shadow: 0 0 6px rgba(61,213,152,0.7); animation: none; }
.sm-auto-badge.fail { color: var(--danger); background: rgba(255,107,129,0.08); border-color: rgba(255,107,129,0.25); }
.sm-auto-badge.fail::before { background: var(--danger); box-shadow: 0 0 6px rgba(255,107,129,0.7); animation: none; }

.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  font-weight: 700;
  cursor: pointer;
  padding: 0 18px;
  font-size: 14px;
  transition: all 0.2s;
  white-space: nowrap;
}
.sm-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.sm-btn-primary {
  background: var(--accent-grad);
  color: #1a1205;
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(240,185,11,0.3);
}
.sm-btn-primary:hover:not(:disabled) { box-shadow: 0 6px 26px rgba(240,185,11,0.45); transform: translateY(-1px); }
.sm-btn-primary.connected {
  background: rgba(61,213,152,0.14);
  color: var(--success);
  border-color: rgba(61,213,152,0.35);
  box-shadow: 0 4px 16px rgba(61,213,152,0.15);
}
.sm-btn-primary.connected .sm-wallet-icon {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 8px rgba(61,213,152,0.8);
}
.sm-btn-secondary {
  background: rgba(240,185,11,0.06);
  color: var(--accent);
  border-color: rgba(240,185,11,0.3);
}
.sm-btn-secondary:hover:not(:disabled) { background: rgba(240,185,11,0.12); box-shadow: 0 4px 16px rgba(240,185,11,0.2); }
.sm-btn-mint {
  width: 100%;
  min-height: 52px;
  font-size: 15px;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #f0b90b, #ffb830 55%, #ffd633);
  color: #1a1205;
  border-color: rgba(255,214,51,0.6);
  box-shadow: 0 6px 24px rgba(240,185,11,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.sm-btn-mint::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.sm-btn-mint:hover:not(:disabled)::after { transform: translateX(120%); }
.sm-btn-mint:hover:not(:disabled) { box-shadow: 0 8px 32px rgba(240,185,11,0.5); transform: translateY(-1px); }
.sm-btn-mint:not(:disabled) { animation: smMintGlow 2.6s ease-in-out infinite; }
@keyframes smMintGlow {
  0%, 100% { box-shadow: 0 6px 24px rgba(240,185,11,0.3), inset 0 1px 0 rgba(255,255,255,0.4); }
  50% { box-shadow: 0 6px 34px rgba(240,185,11,0.55), inset 0 1px 0 rgba(255,255,255,0.4); }
}
.sm-btn-claim {
  width: 100%;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(77,138,255,0.08));
  color: var(--cyan);
  border-color: rgba(0,212,255,0.25);
}
.sm-btn-claim:hover:not(:disabled) { background: rgba(0,212,255,0.18); box-shadow: 0 4px 22px rgba(0,212,255,0.2); }

/* Main grid: ring + panel column */
.sm-main-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
  align-items: stretch;
}
.sm-panel-col { display: grid; gap: 14px; }
.sm-panel {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(240,185,11,0.035), transparent 40%),
    rgba(10,18,36,0.6);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 16px;
  align-content: start;
  transition: border-color 0.3s;
}
.sm-panel:hover { border-color: var(--border2); }
.sm-panel-ring { place-items: stretch; text-align: center; }
.sm-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}
.sm-panel-head .sm-eyebrow { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 2px; }
.sm-panel-title { font-size: 17px; font-weight: 700; color: var(--text); }

.sm-badge {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(5,10,22,0.6);
  border: 1px solid var(--border2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.sm-badge.active { color: var(--accent); border-color: rgba(240,185,11,0.35); background: rgba(240,185,11,0.1); }

/* Ring progress */
.sm-ring-wrap { display: flex; justify-content: center; padding: 6px 0 2px; }
.sm-ring { display: block; filter: drop-shadow(0 4px 14px rgba(240,185,11,0.25)); }
.sm-ring-track { stroke: rgba(255,255,255,0.13); stroke-width: 9; }
.sm-ring-fill {
  stroke: url(#smRingGrad);
  transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px rgba(240,185,11,0.6));
}
.sm-ring-fill.none { stroke-dashoffset: 326.7; }
.sm-ring-pct { fill: var(--text); font-size: 22px; font-weight: 800; }
.sm-ring-sub { fill: var(--muted); font-size: 11px; font-weight: 600; }

/* Stat cards */
.sm-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sm-card {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(5,10,22,0.5);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  transition: all 0.25s;
}
.sm-card:hover { border-color: rgba(240,185,11,0.3); transform: translateY(-1px); background: rgba(5,10,22,0.72); }
.sm-card-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(240,185,11,0.1);
  border: 1px solid rgba(240,185,11,0.15);
  display: flex; align-items: center; justify-content: center;
}
.sm-card-body { min-width: 0; }
.sm-card-body span { display: block; font-size: 10px; color: var(--muted); margin-bottom: 3px; letter-spacing: 0.03em; }
.sm-card-body strong { font-size: 13px; font-weight: 700; color: var(--text); overflow-wrap: anywhere; display: block; }

.sm-log-wrap {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(5,10,22,0.72);
  overflow: hidden;
}
.sm-log-head {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(240,185,11,0.05), transparent), rgba(10,18,36,0.7);
}
.sm-log-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 6px rgba(61,213,152,0.5); animation: smPulse 2s ease-in-out infinite; }
.sm-log {
  min-height: 80px;
  max-height: 200px;
  overflow-y: auto;
  padding: 12px 16px;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 12px;
}
.sm-log-line { display: flex; gap: 10px; padding: 3px 0; border-bottom: 1px solid rgba(26,40,72,0.3); animation: smLogIn 0.3s ease; }
.sm-log-line:last-child { border-bottom: none; }
.sm-log-time { color: var(--muted2); flex-shrink: 0; }
.sm-log-msg { color: #d7fbe9; }
.sm-log-line.err .sm-log-msg { color: #ff9ba8; }
.sm-log-line.ok .sm-log-msg { color: #7ce8bd; }
@keyframes smLogIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

/* Responsive */
@media (max-width: 1080px) {
  .market-dash { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .arch-grid, .features-grid, .pages-grid { grid-template-columns: 1fr; }
  .stock-grid { grid-template-columns: repeat(2, 1fr); }
  .topnav { padding: 0 16px; }
  .nav-links {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 16px;
    background: rgba(5,10,22,0.98); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 14px; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 36px; }
  .section-title { font-size: 26px; }
  .container { padding: 0 16px; }
  .phase { min-width: 100px; }
  .phase-circle { width: 48px; height: 48px; font-size: 18px; }
  .feature-card.highlight { grid-column: span 1; flex-direction: column; text-align: center; }
  .hero-highlight { flex-direction: column; text-align: center; }
  .hero-highlight .hl-text { text-align: center; }
  .sm-main-grid { grid-template-columns: 1fr; }
  .sm-panel-ring { text-align: left; }
  .sm-topbar { flex-direction: column; align-items: stretch; }
  .sm-top-actions { justify-content: space-between; }
  .sm-loader-actions { width: 100%; justify-content: space-between; }
  .sm-intro-grid { grid-template-columns: repeat(2, 1fr); }
  .deploy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stock-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .market-dash { grid-template-columns: 1fr; }
  .lifecycle { flex-direction: column; }
  .phase-arrow { transform: rotate(90deg); }
  .sm-wallet-strip { grid-template-columns: 1fr; }
  .sm-contract-loader { grid-template-columns: 1fr; }
  .sm-cards { grid-template-columns: repeat(2, 1fr); }
  .sm-token-title { max-width: 100%; }
  .sm-token-addr { max-width: 200px; }
  .sm-intro-grid { grid-template-columns: 1fr; }
  .sm-intro-foot { flex-direction: column; align-items: stretch; }
  .sm-intro-title { font-size: 24px; letter-spacing: 2px; }
}

/* ===== Launchpad Deploy Console（部署发射台，金色主题） ===== */
.lp-shell {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--border2);
  background:
    radial-gradient(900px 320px at 12% -40%, rgba(240,185,11,0.08), transparent 60%),
    radial-gradient(700px 260px at 95% -30%, rgba(0,212,255,0.06), transparent 55%),
    linear-gradient(160deg, rgba(14,22,40,0.94), rgba(8,13,26,0.96));
  box-shadow: 0 14px 44px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.05);
  display: grid;
  gap: 14px;
}
.lp-shell::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(240,185,11,0.32), rgba(0,212,255,0.1) 40%, transparent 70%, rgba(240,185,11,0.18));
  z-index: -1;
  filter: blur(1px);
}

/* Top bar */
.lp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(240,185,11,0.07), rgba(0,212,255,0.03));
  border: 1px solid var(--border2);
}
.lp-topbar-left .eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.lp-title { font-size: 22px; font-weight: 700; color: var(--text); margin: 0; }
.lp-topbar-right { display: flex; align-items: center; gap: 12px; }

.lp-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(5,10,22,0.6);
  border: 1px solid var(--border2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.lp-badge.done { color: var(--success); border-color: rgba(61,213,152,0.35); background: rgba(61,213,152,0.1); }
.lp-badge-ok { color: var(--accent); border-color: rgba(240,185,11,0.3); background: rgba(240,185,11,0.08); }

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  font-weight: 700;
  cursor: pointer;
  padding: 0 18px;
  font-size: 14px;
  transition: all 0.2s;
  white-space: nowrap;
  color: var(--text);
  background: transparent;
}
.lp-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.lp-btn-primary {
  background: linear-gradient(135deg, #f0b90b, #ffd633);
  color: #1a1205;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(240,185,11,0.25);
}
.lp-btn-primary:hover:not(:disabled) { box-shadow: 0 6px 24px rgba(240,185,11,0.4); transform: translateY(-1px); }
.lp-btn-secondary:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.lp-btn-mint {
  background: linear-gradient(135deg, #f0b90b, #ffd633);
  color: #1a1205;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(240,185,11,0.2);
}
.lp-btn-mint:hover:not(:disabled) { box-shadow: 0 6px 28px rgba(240,185,11,0.4); transform: translateY(-1px); }

.lp-wallet-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #555;
  transition: all 0.3s;
}
.lp-btn-primary .lp-wallet-dot, .lp-btn.connected .lp-wallet-dot { background: #1a1205; box-shadow: 0 0 8px rgba(255,255,255,0.4); }
.lp-wallet-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--border);
}
.lp-ws-item {
  padding: 12px 18px;
  background: rgba(12,20,37,0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lp-ws-label { font-size: 12px; color: var(--muted); }
.lp-ws-value { font-size: 14px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }

/* Main grid */
.lp-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 14px;
  align-items: start;
}
.lp-col { display: grid; gap: 14px; min-width: 0; }

/* Panels */
.lp-panel {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(12,20,37,0.5);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 14px;
  min-width: 0;
}
.lp-panel-head { display: flex; align-items: center; gap: 12px; }
.lp-panel-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: rgba(240,185,11,0.1);
  border: 1px solid rgba(240,185,11,0.2);
  flex-shrink: 0;
}
.lp-panel-head .eyebrow { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 2px; }
.lp-panel-head h4 { font-size: 16px; font-weight: 700; color: var(--text); margin: 0; }
.lp-panel-sub {
  font-size: 12px; font-weight: 800; letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 12px;
  border-top: 1px dashed rgba(240,185,11,0.18);
}

/* Fields */
.lp-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.lp-field-grid label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  min-width: 0;
}
.lp-field-grid input,
.lp-field-grid select,
.lp-full input,
.lp-full textarea,
.lp-field-grid textarea {
  width: 100%;
  min-height: 40px;
  border-radius: 9px;
  border: 1px solid var(--border2);
  background: rgba(5,10,22,0.7);
  color: var(--text);
  padding: 0 12px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.lp-field-grid input:focus,
.lp-field-grid select:focus,
.lp-full input:focus,
.lp-full textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,185,11,0.1); }
.lp-field-grid input:disabled,
.lp-field-grid select:disabled,
.lp-full input:disabled,
.lp-full textarea:disabled { opacity: 0.45; }
.lp-field-grid textarea, .lp-full textarea { padding: 10px 12px; line-height: 1.5; resize: vertical; }
.lp-full { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.lp-full input[readonly] { color: var(--muted2); background: rgba(5,10,22,0.45); }

/* QuoteToken 快捷选择（股票代币） */
.lp-quote-block { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.lp-quote-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lp-quote-label { white-space: nowrap; }
.lp-quote-preset {
  min-height: 26px;
  max-width: 180px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--border2);
  background: rgba(5,10,22,0.7);
  color: var(--accent);
  font-size: 11px;
  outline: none;
  cursor: pointer;
}
.lp-quote-preset:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,185,11,0.1); }
.lp-flash { animation: lpFlash 1.2s ease; }
@keyframes lpFlash {
  0%, 100% { box-shadow: none; border-color: var(--border2); }
  25% { box-shadow: 0 0 0 3px rgba(240,185,11,0.25); border-color: var(--accent); }
}

.lp-hint {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(5,10,22,0.4);
  border: 1px solid rgba(240,185,11,0.12);
}

/* Preview */
.lp-preview-panel { position: sticky; top: 14px; }
.lp-preview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.lp-preview-list > div {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(5,10,22,0.5);
  border: 1px solid var(--border);
  display: grid;
  gap: 4px;
  min-width: 0;
}
.lp-preview-list span { font-size: 11px; color: var(--muted); }
.lp-preview-list strong { font-size: 13px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }

.lp-check-list { display: grid; gap: 6px; }
.lp-check-item {
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(5,10,22,0.45);
}
.lp-check-item.ok { color: var(--success); border-color: rgba(61,213,152,0.25); background: rgba(61,213,152,0.06); }
.lp-check-item.warn { color: #ffcc66; border-color: rgba(240,185,11,0.3); background: rgba(240,185,11,0.07); }
.lp-check-item.error { color: #ff6b6b; border-color: rgba(255,107,107,0.3); background: rgba(255,107,107,0.07); }

.lp-btn-row { display: flex; gap: 10px; }
.lp-btn-row .lp-btn { flex: 1; }

.lp-log {
  min-height: 84px;
  max-height: 190px;
  overflow-y: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(5,10,22,0.75);
  border: 1px solid var(--border);
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 12px;
  color: #d7fbe9;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.7;
}

/* Notes */
.lp-notes { display: grid; gap: 8px; }
.lp-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.lp-note b {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,185,11,0.12);
  border: 1px solid rgba(240,185,11,0.25);
  color: var(--accent);
  font-size: 11px;
}
.lp-note code {
  background: rgba(240,185,11,0.1);
  border: 1px solid rgba(240,185,11,0.2);
  color: var(--accent);
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 11px;
}

/* Stats */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.lp-stats > div {
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(5,10,22,0.5);
  border: 1px solid var(--border);
  display: grid;
  gap: 4px;
  min-width: 0;
}
.lp-stats span { font-size: 11px; color: var(--muted); }
.lp-stats strong { font-size: 14px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }

.lp-mint-shell { max-width: 1180px; }

.lp-spin {
  width: 14px; height: 14px;
  border: 2px solid rgba(26,18,5,0.3);
  border-top-color: #1a1205;
  border-radius: 50%;
  display: inline-block;
  animation: lpSpin 0.8s linear infinite;
}
@keyframes lpSpin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 980px) {
  .lp-main-grid { grid-template-columns: 1fr; }
  .lp-preview-panel { position: static; }
}
@media (max-width: 640px) {
  .lp-topbar { flex-direction: column; align-items: stretch; }
  .lp-topbar-right { justify-content: space-between; }
  .lp-wallet-strip { grid-template-columns: 1fr; }
  .lp-field-grid { grid-template-columns: 1fr; }
  .lp-preview-list { grid-template-columns: 1fr; }
  .lp-stats { grid-template-columns: 1fr; }
  .lp-btn-row { flex-direction: column; }
}

