/* ===== Launchpad Demo · Neon Green Skin (EN) ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg: #04070A;
  --surface-1: #080E0B;
  --surface-2: #0D1511;
  --surface-3: #15211A;
  --surface-hover: #1B2B22;
  --text-1: #EAF7EF;
  --text-2: #EAF7EF99;
  --text-3: #EAF7EF5C;
  --border: #7fffad14;
  --border-strong: #7fffad2e;
  --accent: #7FFFAD;
  --accent-from: #5AF3E3;
  --accent-to: #9CFE68;
  --on-accent: #04120A;
  --up: #7FFFAD;
  --down: #FF4D5E;
  --grad: linear-gradient(90deg, #5AF3E3 0%, #7FFFAD 50%, #9CFE68 100%);
  --pink-from: #FF4D7E;
  --pink-mid: #FF6B9E;
  --pink-to: #FF9DE2;
  --grad-pink: linear-gradient(90deg, #FF4D7E 0%, #FF6B9E 50%, #FF9DE2 100%);
  --glow: 0 0 18px rgba(127,255,173,.55), 0 6px 42px rgba(90,243,227,.28);
  --font-ui: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  /* --- type scale --- */
  --fs-xs: 11px; --fs-sm: 12px; --fs-md: 13px; --fs-base: 14px;
  --fs-lg: 16px; --fs-xl: 20px; --fs-2xl: 26px; --fs-3xl: 32px;
  /* --- spacing (4px base) --- */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-7: 32px;
  /* --- radius --- */
  --r-sm: 8px; --r-md: 10px; --r-lg: 12px; --r-xl: 16px; --r-full: 999px;
  /* --- elevation & glow: glow is a scarce resource --- */
  --glow-none: none;
  --glow-soft: 0 0 12px rgba(127,255,173,.35);
  --glow-strong: 0 0 18px rgba(127,255,173,.55), 0 6px 42px rgba(90,243,227,.28);
  /* --- motion --- */
  --dur-1: 150ms; --dur-2: 200ms; --dur-3: 300ms;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(65% 45% at 50% -12%, rgba(90,243,227,.13), transparent 70%),
    radial-gradient(45% 35% at 88% 108%, rgba(156,254,104,.09), transparent 70%),
    radial-gradient(rgba(127,255,173,.05) 1px, transparent 1.4px);
  background-size: auto, auto, 26px 26px;
}
#app { position: relative; z-index: 1; }
a { color: var(--accent); text-decoration: none; }
::selection { background: rgba(127,255,173,.28); color: #EAF7EF; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #15211A; border-radius: 999px; border: 2px solid #04070A; }
::-webkit-scrollbar-track { background: transparent; }

.mono, .num { font-family: var(--font-mono); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.up { color: var(--up); }
.down { color: var(--down); text-shadow: 0 0 12px rgba(255,77,94,.5); }
.row { display: flex; align-items: center; gap: 12px; }
.spread { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 999px; padding: 9px 20px; font-size: 13px; font-weight: 600;
  font-family: var(--font-ui); cursor: pointer; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text-1); white-space: nowrap;
  transition: box-shadow .2s ease, border-color .2s ease, transform .12s ease;
}
.btn:hover { border-color: rgba(127,255,173,.5); box-shadow: 0 0 16px rgba(90,243,227,.15); }
.btn-glow {
  background: var(--grad); color: var(--on-accent); border: none;
  box-shadow: var(--glow);
}
.btn-glow:hover { box-shadow: 0 0 26px rgba(127,255,173,.8), 0 8px 52px rgba(90,243,227,.4); transform: translateY(-1px); }
.btn-glow * { color: var(--on-accent); }
.btn-red { background: var(--grad-pink); color: #2A0410; border: none; box-shadow: 0 0 16px rgba(255,107,158,.5), 0 6px 36px rgba(255,77,126,.25); }
.btn-red:hover { box-shadow: 0 0 26px rgba(255,107,158,.75), 0 8px 48px rgba(255,77,126,.35); }
.btn-block { display: flex; width: 100%; padding: 13px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 5px 14px; font-size: 12px; }

/* ===== Cards + cursor-following glow border (pools.trade style) ===== */
.card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid #7fffad1a;
  border-radius: 14px;
  --sx: 120%; --sy: 120%;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.card:after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(240px circle at var(--sx) var(--sy), color-mix(in srgb, #7FFFAD 60%, transparent), transparent 72%);
  -webkit-mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
  -webkit-mask-clip: content-box, border-box; -webkit-mask-composite: xor;
  mask-composite: exclude; opacity: 0; transition: opacity .25s ease;
}
.card:hover { border-color: #7fffad40; box-shadow: 0 4px 18px rgba(0,0,0,.45), 0 0 24px rgba(90,243,227,.12); }
.card:hover:after { opacity: 1; }
.card-pad { padding: 16px; }

/* ===== Badge system: pinned to token logo bottom-right ===== */
.logo-wrap { position: relative; flex: none; }
.logo-wrap img, .logo-ph {
  display: block; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(127,255,173,.28), 0 0 14px rgba(90,243,227,.16);
}
.logo-ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1em;
}
.logo-badge {
  position: absolute; right: -4px; bottom: -4px;
  width: 17px; height: 17px; border-radius: 50%;
  font-size: 10px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--bg);
}
.logo-badge.v { background: var(--grad); color: var(--on-accent); box-shadow: 0 0 8px rgba(127,255,173,.7); }
.logo-badge.t { background: #33445A; color: #B9D2E2; box-shadow: 0 0 6px rgba(120,160,190,.4); }
.logo-badge.n { background: transparent; color: #EAF7EF5C; border-color: #EAF7EF38; }
.mile {
  display: inline-block; background: var(--surface-3); color: var(--accent);
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  padding: 1px 6px; border-radius: 4px; vertical-align: 2px;
  border: 1px solid #7fffad2e; text-shadow: 0 0 8px rgba(127,255,173,.5);
}
.xv {
  display: inline-flex; width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface-3); color: var(--text-2); border: 1px solid var(--border-strong);
  font-size: 8px; align-items: center; justify-content: center; font-weight: 700; vertical-align: -2px;
}

/* ===== Square-tube progress bar ===== */
.tube {
  height: 10px; border-radius: 3px; background: #0A0F0C;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
}
.tube-fill {
  height: 100%; border-radius: 3px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(127,255,173,.6), 0 0 32px rgba(90,243,227,.3);
  transition: width .5s ease;
}
.tube.sm { height: 8px; }

/* ===== Top nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4,7,10,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { font-weight: 700; font-size: 17px; letter-spacing: .01em; text-shadow: 0 0 14px rgba(127,255,173,.35); color: var(--text-1); }
.beta {
  font-size: 10px; font-family: var(--font-mono); color: var(--accent);
  border: 1px solid #7fffad2e; border-radius: 4px; padding: 1px 6px;
}
.search {
  flex: 1; max-width: 420px; height: 36px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 12px; gap: 8px;
  color: var(--text-3); font-size: 13px;
}
.search input { flex: 1; background: none; border: none; outline: none; color: var(--text-1); font-family: var(--font-ui); font-size: 13px; }
.search input::placeholder { color: var(--text-3); }
.search:focus-within { box-shadow: 0 0 0 1px #7fffad66, 0 0 18px rgba(90,243,227,.25); }
.kbd { border: 1px solid var(--border-strong); border-radius: 4px; padding: 0 6px; font-size: 11px; font-family: var(--font-mono); }

/* ===== Demo switcher bar (the only meta UI allowed) ===== */
.demo-bar {
  background: #10141A; border-bottom: 1px dashed #3A4750;
  font-size: 12px; color: #9FB2C0; padding: 7px 0;
}
.demo-bar .wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.demo-bar b { color: #D7E4EE; font-weight: 600; }
.demo-btn {
  border: 1px solid #3A4750; background: #161D24; color: #9FB2C0;
  border-radius: 6px; padding: 2px 10px; font-size: 12px; cursor: pointer; font-family: var(--font-ui);
}
.demo-btn.on { background: #D7E4EE; color: #10141A; border-color: #D7E4EE; font-weight: 600; }
.demo-sep { color: #3A4750; }

/* ===== Section titles ===== */
.sec-title {
  font-size: 20px; font-weight: 700;
  border-left: 3px solid var(--accent); padding-left: 10px;
  text-shadow: 0 0 16px rgba(127,255,173,.35);
}
.sec-sub { font-size: 12px; color: var(--text-3); margin: 4px 0 0 13px; }

/* ===== pill / tab ===== */
.pill {
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; background: var(--surface-2);
  color: var(--text-2); cursor: pointer; white-space: nowrap;
  transition: all .2s ease; font-family: var(--font-ui);
}
.pill:hover { border-color: rgba(127,255,173,.5); color: var(--text-1); }
.pill.on {
  background: var(--grad); color: var(--on-accent); border-color: transparent; font-weight: 600;
  box-shadow: 0 0 16px rgba(127,255,173,.55), 0 4px 30px rgba(90,243,227,.25);
}
.tagline { font-size: 11px; color: var(--text-3); }

/* ===== Home banners ===== */
.banner { border-radius: 16px; overflow: hidden; position: relative; }
.banner-art { height: 190px; position: relative; overflow: hidden; }
.banner-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-art .banner-emoji {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 72px; filter: drop-shadow(0 0 24px rgba(0,0,0,.5));
}
.banner-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4,7,10,.72));
}
.banner-info {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; background: var(--surface-1); border-top: 1px solid var(--border);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--surface-3); }
.dots i.on { background: var(--accent); box-shadow: 0 0 8px rgba(127,255,173,.7); }

/* ===== Trending: horizontal scroll strip (pools.trade style) ===== */
.trend-row {
  display: flex; gap: 14px; margin-top: 16px;
  overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: 4px;
}
.trend-row::-webkit-scrollbar { display: none; }
.trend-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer;
  flex: 0 0 31%; scroll-snap-align: start;
}
.trend-card .nm { font-size: 14px; font-weight: 700; }
.trend-card .fdv { font-size: 12px; color: var(--text-2); margin-top: 2px; font-family: var(--font-mono); }

/* ===== Token grid cards (auction / graduated) ===== */
.tok-card { padding: 14px; display: flex; flex-direction: column; }
.tok-card .head { display: flex; gap: 10px; align-items: flex-start; }
.tok-card .fdv-row { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; }
.tok-card .statline { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--text-2); }
.age-pill { font-size: 10px; font-family: var(--font-mono); color: var(--text-3); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; }

/* ===== List view ===== */
.ltable { width: 100%; }
.ltable .lhead, .ltable .lrow {
  display: grid; align-items: center; gap: 10px;
  grid-template-columns: 2.4fr 1fr .8fr .8fr 1fr 1fr .9fr .7fr 1fr;
  padding: 10px 12px;
}
.ltable .lhead { font-size: 11px; color: #7FFFAD99; letter-spacing: .06em; border-bottom: 1px solid var(--border); }
.ltable .lrow { border-bottom: 1px solid rgba(127,255,173,.07); font-size: 12px; font-family: var(--font-mono); cursor: pointer; transition: background .15s ease; }
.ltable .lrow:hover { background: rgba(127,255,173,.04); }
.ltable .lrow:last-child { border-bottom: none; }

/* ===== Stat cells ===== */
.stat {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 13px; flex: 1; min-width: 0;
}
.stat .v { font-family: var(--font-mono); font-size: 16px; font-weight: 600; text-shadow: 0 0 14px rgba(127,255,173,.22); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .k { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ===== Side panels (bid / trade) ===== */
.panel { background: var(--surface-1); border: 1.5px solid #7fffad2e; border-radius: 14px; padding: 16px; }
.panel h3 { font-size: 15px; }
.amt-pills { display: flex; gap: 8px; margin-top: 12px; }
.amt-pills .pill { padding: 5px 14px; font-size: 12px; font-family: var(--font-mono); }
.input-box {
  height: 40px; border-radius: 10px; background: var(--surface-2);
  border: 1px solid var(--border); display: flex; align-items: center;
  padding: 0 12px; margin-top: 10px; font-size: 13px; color: var(--text-3);
}
.input-box input { flex: 1; background: none; border: none; outline: none; color: var(--text-1); font-family: var(--font-mono); font-size: 13px; }
.input-box input::placeholder { color: var(--text-3); font-family: var(--font-ui); }
.note-box {
  border: 1px solid var(--border); background: var(--surface-2);
  border-radius: 10px; padding: 10px 12px; font-size: 11px; color: var(--text-2); line-height: 1.7;
}
.legal { font-size: 10px; color: var(--text-3); margin-top: 10px; }

/* ===== Trade / bid tables ===== */
.dtable { width: 100%; border-collapse: collapse; font-size: 12px; }
.dtable th { text-align: left; color: #7FFFAD99; letter-spacing: .05em; font-size: 11px; font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.dtable td { padding: 9px 10px; border-bottom: 1px solid rgba(127,255,173,.07); font-family: var(--font-mono); color: var(--text-2); }
.dtable tr:last-child td { border-bottom: none; }
.dtable td.b { color: var(--up); }
.dtable td.s { color: var(--down); }

/* ===== Verification band ===== */
.verify-band { border: 1.5px solid #7fffad2e; border-radius: 14px; padding: 18px; background: var(--surface-1); box-shadow: inset 0 0 40px rgba(90,243,227,.04); }
.verify-band.gray { border-color: rgba(234,247,239,.1); background: #0A0D0B; box-shadow: none; }
.vtag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 6px;
}
.vtag.rev { background: var(--grad); color: var(--on-accent); box-shadow: 0 0 14px rgba(127,255,173,.55); }
.vtag.tra { background: #22303C; color: #A9C6D8; border: 1px solid #33445A; }
.vtag.none { background: transparent; color: var(--text-3); border: 1px solid rgba(234,247,239,.18); }
.seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.seg button { border: none; background: transparent; color: var(--text-2); font-size: 12px; padding: 6px 14px; cursor: pointer; font-family: var(--font-ui); }
.seg button.on { background: var(--grad); color: var(--on-accent); font-weight: 600; }
.big-num { font-family: var(--font-mono); font-size: 30px; font-weight: 700; text-shadow: 0 0 18px rgba(127,255,173,.35); }
.mid-num { font-family: var(--font-mono); font-size: 19px; font-weight: 600; }
.chart-box { border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; margin-top: 14px; background: rgba(4,7,10,.4); }
.src-icons { display: inline-flex; gap: 6px; }
.src-icons i {
  font-style: normal; font-size: 10px; font-family: var(--font-mono);
  border: 1px solid var(--border-strong); border-radius: 5px; padding: 2px 7px; color: var(--text-2);
  background: var(--surface-2);
}

/* ===== Launch wizard ===== */
.stepbar { display: flex; gap: 8px; }
.stepbar .stp {
  flex: 1; text-align: center; padding: 10px 4px; border-radius: 10px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; color: var(--text-2);
  transition: all .2s ease;
}
.stepbar .stp b { display: block; font-family: var(--font-mono); font-size: 13px; margin-bottom: 2px; }
.stepbar .stp.on { background: var(--grad); color: var(--on-accent); border-color: transparent; box-shadow: var(--glow); }
.stepbar .stp.done { border-color: #7fffad40; color: var(--accent); }
.step-card { border-radius: 14px; background: var(--surface-1); border: 1px solid var(--border); padding: 20px; margin-bottom: 18px; scroll-margin-top: 84px; }
.step-card.hot { border: 1.5px solid #7fffad40; box-shadow: 0 0 28px rgba(90,243,227,.1), inset 0 0 40px rgba(90,243,227,.03); }
.step-card h3 { font-size: 15px; margin-bottom: 14px; }
.sub { border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin-bottom: 12px; background: rgba(4,7,10,.35); }
.sub:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 11px; color: var(--text-3); margin-bottom: 5px; }
.field .input-box { margin-top: 0; }
.choice {
  height: 58px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; cursor: pointer; background: var(--surface-2);
  border: 1.5px solid var(--border); transition: all .2s ease;
}
.choice.on { border-color: var(--accent); box-shadow: 0 0 18px rgba(127,255,173,.45), inset 0 0 24px rgba(90,243,227,.08); color: var(--accent); text-shadow: 0 0 10px rgba(127,255,173,.5); }
.src-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.src-cell {
  height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; cursor: pointer; transition: all .2s ease;
}
.src-cell.on { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 14px rgba(127,255,173,.3); }
.prog-nodes { display: flex; gap: 6px; }
.prog-nodes .nd {
  flex: 1; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-3);
  transition: all .4s ease;
}
.prog-nodes .nd.doing { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 12px rgba(127,255,173,.35); }
.prog-nodes .nd.ok { background: var(--surface-3); color: var(--accent); border-color: #7fffad40; }
.check-line { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(127,255,173,.07); font-size: 12px; color: var(--text-2); }
.check-line:last-child { border-bottom: none; }
.sum-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sum-table td { border: 1px solid var(--border); padding: 8px 12px; }
.sum-table td:first-child { background: var(--surface-2); color: var(--text-3); width: 120px; }
.sum-table td:last-child { font-family: var(--font-mono); color: var(--text-1); }

/* ===== Milestone payout tri-bar ===== */
.milestone-bar { display: flex; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-strong); }
.milestone-bar div { text-align: center; font-size: 11px; padding: 8px 4px; font-family: var(--font-mono); }
.milestone-bar .done { background: var(--grad); color: var(--on-accent); font-weight: 700; }
.milestone-bar .wait { background: var(--surface-3); color: var(--text-2); border-left: 1px solid var(--bg); }
.milestone-bar .lock { background: var(--surface-2); color: var(--text-3); border-left: 1px solid var(--bg); }

/* ===== Verify page ===== */
.verdict { border: 1.5px solid var(--border-strong); border-radius: 14px; padding: 18px; flex: 1; background: var(--surface-1); }
.verdict.hero { background: var(--grad); color: var(--on-accent); border: none; box-shadow: var(--glow); }
.verdict.hero .k { color: rgba(4,18,10,.65); }
.verdict .k { font-size: 11px; letter-spacing: .08em; color: var(--text-3); margin-bottom: 8px; }
.verdict .big { font-family: var(--font-mono); font-size: 25px; font-weight: 700; }
.verdict.fail { background: #1A0A10; border-color: rgba(255,77,94,.4); }
.dropzone {
  border: 2px dashed #7fffad38; border-radius: 14px; height: 210px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: rgba(127,255,173,.03); transition: all .2s ease;
}
.dropzone:hover { border-color: rgba(127,255,173,.6); background: rgba(127,255,173,.06); }
.check-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 4px; border-bottom: 1px solid rgba(127,255,173,.07); opacity: 0; transform: translateY(8px); transition: all .45s ease; }
.check-row.show { opacity: 1; transform: none; }
.check-row:last-child { border-bottom: none; }
.check-row .st { flex: none; width: 84px; }
.check-row .what { flex: none; width: 170px; font-weight: 600; font-size: 13px; }
.check-row .why { flex: 1; font-size: 12px; color: var(--text-2); }

/* ===== Empty state ===== */
.empty-state {
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface-1);
  height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); margin-top: 48px; padding: 26px 0 60px; }
.footer .disc { font-size: 11px; color: var(--text-3); line-height: 1.9; margin-top: 14px; max-width: 760px; }
.soc { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: var(--text-2); cursor: pointer; }
.soc:hover { border-color: rgba(127,255,173,.5); color: var(--accent); }

/* ===== Pagination ===== */
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 26px 0; font-family: var(--font-mono); font-size: 13px; }

.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .ltable .lhead, .ltable .lrow { grid-template-columns: 2fr 1fr .8fr .8fr 1fr .8fr; }
  .ltable .hide-m { display: none; }
  .trend-card { flex: 0 0 78%; }
}

/* ===== Design System page (#/design) — built only from tokens above ===== */
.ds-layout { display: flex; gap: var(--sp-7); align-items: flex-start; margin-top: var(--sp-6); }
.ds-toc {
  position: sticky; top: 84px; flex: none; width: 210px;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-4); font-size: var(--fs-md); max-height: calc(100vh - 110px); overflow-y: auto;
}
.ds-toc a { display: block; color: var(--text-2); padding: var(--sp-1) var(--sp-2); border-radius: var(--r-sm); transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease); }
.ds-toc a:hover { color: var(--accent); background: var(--surface-2); }
.ds-toc .ds-toc-head { font-size: var(--fs-xs); color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; margin: var(--sp-4) var(--sp-2) var(--sp-2); }
.ds-toc .ds-toc-head:first-child { margin-top: 0; }
.ds-main { flex: 1; min-width: 0; }

.ds-hero { border-bottom: 1px solid var(--border); padding: var(--sp-7) 0 var(--sp-6); }
.ds-hero h1 { font-size: var(--fs-3xl); font-weight: 700; text-shadow: 0 0 16px rgba(127,255,173,.35); }
.ds-hero .sub { color: var(--text-2); font-size: var(--fs-base); margin-top: var(--sp-2); }
.ds-hero .meta { color: var(--text-3); font-size: var(--fs-sm); font-family: var(--font-mono); margin-top: var(--sp-3); }

.ds-sec { margin-top: var(--sp-7); scroll-margin-top: 84px; }
.ds-sec > h2 { font-size: var(--fs-xl); font-weight: 700; border-left: 3px solid var(--accent); padding-left: var(--sp-3); }
.ds-sec > .ds-sec-sub { color: var(--text-3); font-size: var(--fs-sm); margin: var(--sp-2) 0 0 15px; }
.ds-block {
  margin-top: var(--sp-4); background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: var(--sp-5);
}
.ds-block h3 { font-size: var(--fs-base); font-weight: 600; margin-bottom: var(--sp-3); }
.ds-note { font-size: var(--fs-xs); color: var(--text-3); margin-top: var(--sp-3); line-height: 1.7; }
.ds-note b { color: var(--text-2); }
.ds-note code { font-family: var(--font-mono); color: var(--accent); font-size: var(--fs-xs); }

.ds-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-3); }
.ds-swatch { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.ds-swatch .chip { height: 56px; }
.ds-swatch .lbl { padding: var(--sp-2) var(--sp-3); }
.ds-swatch .lbl .vn { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--accent); }
.ds-swatch .lbl .vv { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-3); margin-top: 2px; word-break: break-all; }

.ds-type-row { display: flex; align-items: baseline; gap: var(--sp-4); padding: var(--sp-2) 0; border-bottom: 1px solid var(--border); }
.ds-type-row:last-child { border-bottom: none; }
.ds-type-row .spec { flex: none; width: 190px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-3); }

.ds-sp-row { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-1) 0; }
.ds-sp-row .bar { height: 16px; background: var(--grad); border-radius: 2px; box-shadow: var(--glow-soft); }
.ds-sp-row .spec { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-3); width: 110px; }

.ds-r-row { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.ds-r-box { width: 84px; height: 64px; background: var(--surface-2); border: 1px solid var(--border-strong); display: flex; align-items: flex-end; justify-content: center; padding-bottom: var(--sp-1); }
.ds-r-box span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-3); }

.ds-glow-row { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.ds-glow-box { flex: 1; min-width: 180px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-4); }
.ds-glow-box .nm { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--accent); }
.ds-glow-box .rule { font-size: var(--fs-xs); color: var(--text-3); margin-top: var(--sp-2); line-height: 1.6; }

.ds-motion-demo { height: 40px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; padding: 0 var(--sp-3); font-size: var(--fs-sm); color: var(--text-2); transition: all var(--dur-2) var(--ease); cursor: pointer; }
.ds-motion-demo:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow-soft); transform: translateY(-2px); }

/* state matrix helpers */
.ds-state-grid { display: flex; gap: var(--sp-4); flex-wrap: wrap; align-items: flex-start; }
.ds-state-cell { display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-start; }
.ds-state-cell .cap { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-3); }
.is-disabled { opacity: .45; pointer-events: none; }
.card.ds-hover { border-color: #7fffad40; box-shadow: 0 4px 18px rgba(0,0,0,.45), 0 0 24px rgba(90,243,227,.12); }
.card.ds-hover:after { opacity: 1; }
.input-box.ds-focus { box-shadow: 0 0 0 1px #7fffad66, 0 0 18px rgba(90,243,227,.25); }
.lrow.ds-hover { background: rgba(127,255,173,.04); }

/* pulse dot for Live Auction status pill */
.pulse-dot { display: inline-block; width: 7px; height: 7px; border-radius: var(--r-full); background: var(--accent); box-shadow: var(--glow-soft); animation: dsPulse 1.6s var(--ease) infinite; }
@keyframes dsPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* skeleton */
.skel { border-radius: var(--r-sm); background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: dsSkel 1.4s var(--ease) infinite; }
@keyframes dsSkel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* feedback banners */
.fb { border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); font-size: var(--fs-md); border: 1px solid var(--border-strong); }
.fb.ok { background: var(--surface-3); color: var(--accent); border-color: #7fffad40; box-shadow: var(--glow-soft); }
.fb.err { background: var(--surface-2); color: var(--down); border-color: rgba(255,77,94,.4); text-shadow: 0 0 12px rgba(255,77,94,.5); }

/* --- button extras used by the design system --- */
.btn-ghost { border-color: transparent; background: transparent; color: var(--accent); }
.btn-ghost:hover { border-color: transparent; box-shadow: none; text-shadow: 0 0 10px rgba(127,255,173,.45); }
.btn-lg { padding: var(--sp-3) 28px; font-size: var(--fs-lg); }
