:root {
  --background: 220 10% 93%;
  --foreground: 220 18% 12%;
  --card: 0 0% 100%;
  --primary: 22 70% 44%;
  --primary-foreground: 40 40% 98%;
  --muted-foreground: 220 8% 40%;
  --crimson: 22 70% 44%;
  --gold: 22 32% 48%;
  --lantern: 22 28% 68%;
  --buy: 162 42% 34%;
  --canvas-top: 220 12% 96%;
  --canvas-bottom: 220 8% 89%;
  --bg: hsl(var(--background));
  --ink: hsl(var(--foreground));
  --ink-2: hsl(220 22% 8%);
  --muted: hsl(var(--muted-foreground));
  --muted-2: hsl(220 8% 48%);
  --cream: hsl(var(--card));
  --up: hsl(162 42% 32%);
  --down: 6 68% 46%;
  --line: hsl(220 12% 20% / .1);
  --shadow: 0 18px 44px -24px hsl(220 20% 16% / .2);
  --sans: "Poppins", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 1rem;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; overflow-x: hidden; overflow-y: auto; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; }
body { overflow: visible; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: hsl(var(--background));
  background-image:
    linear-gradient(180deg, hsl(220 12% 96% / .38) 0%, hsl(220 10% 93% / .58) 48%, hsl(220 8% 89% / .86) 100%),
    url("/img/bg-fog.png");
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: calc(88px + env(safe-area-inset-top, 0px));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.menu-open,
html.menu-open body { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button, a, .pay-tab, .pct-row button, .pick-card { touch-action: manipulation; }
::selection { background: rgba(196, 96, 42, 0.2); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
code, .mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

@keyframes sway {
  from { transform: rotate(-5deg); }
  to { transform: rotate(5deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.8); }
}

.lantern-art {
  position: fixed;
  top: 0;
  width: min(340px, 42vw);
  pointer-events: none;
  z-index: 1;
  user-select: none;
  transform-origin: 50% 0;
  animation: sway 6s ease-in-out infinite alternate;
  opacity: .12;
  filter: grayscale(.75) brightness(1.2);
}
.lantern-art.left { left: 0; }
.lantern-art.right { right: 0; animation-delay: -3.2s; }
@media (prefers-reduced-motion: reduce) {
  .lantern-art, .hover-lift, .reveal { animation: none; transition: none; }
}

.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.78) 0%, rgba(248,250,252,.45) 100%);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(15,23,42,.06), var(--shadow);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 80% at 10% 0, rgba(255,255,255,.6) 0%, transparent 55%);
}
.glass-strong {
  background: linear-gradient(160deg, rgba(255,255,255,.88) 0%, rgba(248,250,252,.78) 100%);
}

.hover-lift {
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(15,23,42,.04),
    0 22px 44px -20px rgba(15, 23, 42, .26);
}
@media (hover: none) {
  .wallet:hover, .ghost:hover, .primary:hover, .lang-btn:hover {
    transform: none;
  }
  .hover-lift:hover {
    transform: none;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.86),
      inset 0 -1px 0 rgba(15,23,42,.06),
      0 18px 40px -24px hsl(220 20% 16% / .18);
  }
}
.press:active { transform: scale(.95); }
.reveal { animation: fade-up .7s var(--ease) both; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
}
.nav-pill {
  width: min(1120px, 100%);
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 8px 0 12px;
  border-radius: 999px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  z-index: 1;
}
.brand-mark {
  width: 36px;
  height: 36px;
  padding: 3px;
  box-sizing: border-box;
  object-fit: contain;
  background: #1C2430;
  border-radius: 10px;
  transition: transform .3s ease-out;
}
.brand:hover .brand-mark { transform: scale(1.08); }
.nav-links {
  display: none;
  gap: 2px;
  z-index: 1;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--foreground) / .8);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: hsl(var(--crimson) / .1); color: var(--ink); }
.nav-links a.on {
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
  font-weight: 700;
}
.nav-end { display: flex; align-items: center; gap: 8px; z-index: 1; }
.clock {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 0 4px 0 10px;
}
.clock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--crimson));
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.clock time {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.clock small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / .55);
}
.wallet, .ghost, .primary, .icon-btn {
  border-radius: 999px;
  border: 0;
  font-weight: 700;
}
.wallet, .ghost {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(15,23,42,.1);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
  transition: transform .2s var(--ease), background .2s;
}
.wallet:hover, .ghost:hover { background: #fff; transform: scale(1.03); }
.primary {
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
  padding: 10px 18px;
  font-size: 13px;
  box-shadow: 0 10px 24px hsl(var(--crimson) / .28);
  transition: transform .2s var(--ease), background .2s;
}
.primary:hover { background: hsl(22 72% 38%); transform: scale(1.04); }
.primary:active, .ghost:active, .wallet:active { transform: scale(.95); }
.primary:disabled { opacity: .55; cursor: wait; transform: none; }
.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(15,23,42,.1);
}
.icon-btn.ghost {
  background: rgba(255,255,255,.82);
  color: var(--ink);
}
.icon-btn.menu.open {
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
  border-color: transparent;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground) / .5);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  box-shadow: 0 8px 20px -8px hsl(var(--crimson) / .9);
  transition: transform .2s var(--ease);
}
.lang-btn:hover { transform: scale(1.04); }
.lang-btn .on { color: hsl(var(--primary-foreground)); }
.lang-btn .lang-sep { opacity: .4; font-weight: 600; letter-spacing: 0; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .clock { display: flex; }
  .icon-btn.menu { display: none; }
}

.drawer {
  display: none;
  position: fixed;
  inset: calc(72px + env(safe-area-inset-top, 0px)) 12px auto;
  z-index: 55;
  padding: 8px;
  border-radius: 22px;
  max-height: calc(100dvh - 92px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  background-image: none;
}
.drawer.glass::before { content: none; }
.drawer.open { display: grid; gap: 2px; }
.drawer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.drawer a.on {
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
}
@media (hover: hover) {
  .drawer a:hover { background: rgba(196, 96, 42, .1); }
  .drawer a.on:hover { background: hsl(var(--crimson)); color: hsl(var(--primary-foreground)); }
}
.lang-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 8px;
  padding: 4px;
  border-radius: 14px;
  background: hsl(220 12% 92%);
}
.lang-switch button {
  height: 40px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}
.lang-switch button.on {
  background: #fff;
  color: hsl(var(--crimson));
  box-shadow: 0 6px 14px -8px rgba(15, 23, 42, .35);
}
.nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: hsl(220 18% 12% / .38);
}
.nav-mask.on { display: block; }

.wrap { width: min(72rem, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 2; }
.hero { padding: 28px 0 8px; }
.hero.compact { padding: 12px 0 0; }
.hero.compact .kicker { color: hsl(var(--crimson)); margin-bottom: 8px; }
.hero-center { text-align: center; max-width: 40rem; margin: 0 auto; }
.kicker, .kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.kicker-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255,255,255,.85);
  margin-bottom: 16px;
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 600;
}
.hero h1, .page-title {
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: hsl(var(--crimson));
}
.hero-center h1 {
  letter-spacing: 0.08em;
}
.hero h1 em, .page-title em {
  display: block;
  font-style: normal;
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 8px;
}
.tagline {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--ink);
}
.lede {
  max-width: 34rem;
  margin: 0 auto;
  color: hsl(var(--muted-foreground) / .9);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
}
.page-lede {
  margin: 8px 0 22px;
  text-align: left;
  max-width: 28rem;
  color: hsl(var(--foreground) / .75);
}
.hero.compact .page-lede {
  margin-bottom: 0;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px auto 0;
  max-width: 22rem;
}
.hero-actions .primary, .hero-actions .ghost {
  width: 100%;
  text-align: center;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
}

.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px auto 22px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
  max-width: 720px;
}
.notice::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--ink);
  flex: 0 0 auto;
}

.card, .panel {
  background: linear-gradient(160deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.46) 50%, rgba(226,232,240,.34) 100%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 1.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    inset 0 -1px 0 rgba(15,23,42,.05),
    0 14px 36px -22px rgba(15, 23, 42, .2);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 860px) {
  .featured { grid-template-columns: repeat(3, 1fr); }
}
.stock-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 2.25rem 1.25rem 1.6rem;
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(90% 64% at 50% -8%, rgba(196, 96, 42, .1), transparent 58%),
    linear-gradient(160deg, rgba(255,255,255,.66) 0%, rgba(255,255,255,.4) 52%, rgba(226,232,240,.3) 100%);
}
.stock-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .04);
}
.stock-card.hover-lift:hover {
  border-color: rgba(196, 96, 42, .28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 22px 44px -18px rgba(196, 96, 42, .22);
}
.logo-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  isolation: isolate;
}
.logo-wrap::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 96, 42, .16), transparent 68%);
  z-index: -1;
}
.stock-logo {
  display: block;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.05);
  box-sizing: border-box;
  padding: 0;
  flex-shrink: 0;
}
.stock-logo.lg {
  width: 80px;
  height: 80px;
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, .28);
}
.stock-logo.md { width: 40px; height: 40px; }
.stock-logo.sm { width: 22px; height: 22px; }
.stock-logo.xs { width: 16px; height: 16px; }
.stock-logo.glyph {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  line-height: 1;
  user-select: none;
  border: 0;
  padding: 0;
}
.stock-logo.lg.glyph { font-size: 28px; }
.stock-logo.md.glyph { font-size: 16px; }
.stock-logo.sm.glyph { font-size: 11px; }
.stock-logo.xs.glyph { font-size: 9px; }
.exch {
  position: absolute;
  right: -8px;
  bottom: -2px;
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 3px 7px;
  border-radius: 999px;
}
.stock-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.stock-card .meta {
  margin: 6px 0 10px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 600;
}
.stock-card .price {
  position: relative;
  font-family: var(--mono);
  font-size: 28px;
  margin: 8px 0;
  padding-top: 16px;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.stock-card .price::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 28px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, .14);
}
.stock-card .chg { font-size: 13px; font-weight: 700; }
.chip-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: hsl(var(--crimson) / .14);
  color: hsl(var(--crimson));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.quote-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 18px 0 10px;
}
.quote-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 6px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.quote-pill:hover { transform: translateY(-2px); }
.quote-pill img,
.quote-pill .stock-logo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}
.quote-pill .px { font-family: var(--mono); }
.quote-more {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px hsl(var(--crimson) / .28);
}
.quote-caption {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
}
.chg { font-variant-numeric: tabular-nums; font-weight: 700; }
.chg.up { color: var(--up); }
.chg.down { color: hsl(var(--down)); }
.tiny { font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); }

.section { padding: 64px 0 28px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}
.section-head .page-lede {
  margin-bottom: 0;
}
.section h2, .how-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 10px;
  color: hsl(var(--crimson));
}
.steps { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
.step { padding: 22px 20px; min-height: 168px; }
.num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: hsl(var(--crimson));
  margin-bottom: 10px;
}
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; font-size: 14px; line-height: 1.65; }

.wrap.how-page {
  max-width: 72rem;
  padding: 28px 0 64px;
}
.how-head { max-width: 44rem; margin-bottom: 8px; }
.how-head .kicker { margin-bottom: 10px; color: hsl(var(--crimson)); }
.how-head p {
  margin: 12px 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
  color: hsl(var(--foreground) / .72);
}
.how-rail {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}
@media (min-width: 720px) {
  .how-rail { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .how-rail { grid-template-columns: repeat(4, 1fr); }
}
.how-rail article {
  padding: 22px 20px 24px;
  min-height: 0;
}
.how-n {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: hsl(var(--crimson));
  margin: 0 0 12px;
}
.how-rail h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.how-rail p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.how-tapes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.how-tapes span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.how-tapes b {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: hsl(var(--crimson));
}
.how-flow {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}
@media (min-width: 880px) {
  .how-flow {
    grid-template-columns: 1fr 18px 1fr 18px 1fr;
    align-items: stretch;
  }
}
.how-flow article {
  margin: 0;
  padding: 22px 22px 20px;
}
.how-flow h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.how-flow article p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.how-flow-k {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: hsl(var(--crimson));
}
.how-flow-join {
  display: none;
}
@media (min-width: 880px) {
  .how-flow-join {
    display: block;
    align-self: center;
    height: 1px;
    background: hsl(var(--crimson) / .35);
  }
}
.how-flow-note {
  margin: 14px 0 0;
  max-width: 40rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.how-banner {
  margin-top: 28px;
  padding: 22px 24px 20px;
  max-width: 40rem;
}
.how-banner-k {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: hsl(var(--crimson));
}
.how-banner p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.how-banner b { font-weight: 800; }
.how-path {
  margin: 22px 0 0;
  padding: 4px 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255,255,255,.55);
}
.how-path li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 12px;
  margin: 0;
  padding: 16px 20px;
  align-items: start;
}
.how-path li + li { border-top: 1px solid var(--line); }
.how-path span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: hsl(var(--crimson));
  padding-top: 2px;
}
.how-path p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
@media (max-width: 560px) {
  .how-path li { grid-template-columns: 1fr; gap: 4px; }
}
.how-math {
  margin-top: 44px;
}
.how-math header { max-width: 44rem; }
.how-math .kicker { margin-bottom: 8px; color: hsl(var(--crimson)); }
.how-math h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.how-math header p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.how-math header p + p { margin-top: 10px; }
.how-eqs {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
@media (min-width: 800px) {
  .how-eqs { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .how-eqs.how-thirds { grid-template-columns: 1fr 1fr 1fr; }
}
.how-eq {
  padding: 26px 24px 24px;
  border-radius: 1.5rem;
  background: linear-gradient(165deg, rgba(255,255,255,.9) 0%, rgba(241,244,247,.78) 100%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), var(--shadow);
}
.how-eq-fee {
  background: linear-gradient(165deg, hsl(var(--foreground) / .92) 0%, hsl(220 18% 16%) 100%);
  border-color: transparent;
  color: hsl(40 40% 98%);
  box-shadow: 0 22px 40px -24px hsl(220 20% 8% / .55);
}
.how-eq-k {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
}
.how-eq-fee .how-eq-k { color: hsl(40 20% 80%); }
.how-eq-sum {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.how-eq-sub {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.how-eq-fee .how-eq-sub { color: hsl(40 16% 72%); }
.how-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 28px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
}
@media (min-width: 800px) {
  .how-spec { grid-template-columns: repeat(4, 1fr); }
}
.how-spec > div {
  background: rgba(255,255,255,.72);
  padding: 16px 18px;
}
.how-spec dt {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.how-spec dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}
.how-exit {
  margin: 18px 0 0;
  padding: 16px 20px 16px 36px;
  border-radius: 18px;
  background: rgba(15, 23, 42, .04);
  border: 1px solid rgba(15, 23, 42, .06);
}
.how-exit li {
  margin: 0;
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.how-exit li + li { border-top: 1px solid var(--line); }
.how-layers .how-eq-sum { font-size: 1.35rem; }
.how-note {
  margin-top: 28px;
  max-width: 40rem;
}
.how-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.how-note p + p { margin-top: 12px; }
.how-scope {
  margin-top: 28px;
  max-width: 40rem;
}
.how-scope p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.how-scope .how-flow-k { margin-bottom: 8px; }
.how-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  max-width: 26rem;
}
.how-cta .primary,
.how-cta .ghost {
  flex: 1;
  min-width: 9rem;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0 16px;
}

.empty { padding: 40px 24px; text-align: center; }
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }

.explore-page { padding-bottom: 48px; }
.explore-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 640px) {
  .explore-head { flex-direction: row; align-items: flex-end; }
}
.explore-head h1 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: hsl(var(--crimson));
  line-height: 1.05;
  max-width: 18ch;
}
.explore-head .lede {
  margin: 8px 0 0;
  text-align: left;
  max-width: 28rem;
  color: hsl(var(--foreground) / .75);
}
.explore-quotes { display: flex; flex-wrap: wrap; gap: 8px; }

.rim-gold { box-shadow: inset 0 0 0 1px hsl(var(--gold) / .35); }
.quote-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: hsl(var(--card) / .7);
  font-family: var(--mono);
  font-size: 12px;
}
.quote-mini img,
.quote-mini .stock-logo {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
.quote-mini b { font-weight: 700; }
.quote-mini .px { color: hsl(var(--foreground) / .8); }

.explore-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px 0 24px;
  padding: 12px;
  border-radius: 1.5rem;
}
@media (min-width: 860px) {
  .explore-bar { flex-direction: row; align-items: center; }
}
.explore-search {
  position: relative;
  flex: 1 1 220px;
  min-width: 200px;
}
@media (max-width: 859px) {
  .explore-search {
    flex: none;
    width: 100%;
    min-width: 0;
  }
}
.explore-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.explore-search input {
  height: 44px;
  padding-left: 36px;
  border-radius: 12px;
}
.bar-seg {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-radius: 999px;
  background: hsl(var(--crimson) / .1);
  padding: 4px;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
}
.bar-seg::-webkit-scrollbar { display: none; }
.bar-seg button {
  height: 36px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--foreground) / .7);
  white-space: nowrap;
  font-family: inherit;
}
.bar-seg button.on {
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 6px 16px -8px hsl(var(--crimson) / .8);
}
.bar-seg button.stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 6px;
  padding-right: 12px;
  font-family: var(--mono);
}
.bar-seg button.stock img,
.bar-seg button.stock .stock-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.launch-card { padding: 16px; display: block; }
.launch-card.hover-lift:hover {
  border-color: rgba(196, 96, 42, .22);
}
.coin-top { display: flex; align-items: flex-start; gap: 12px; }
.coin-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, hsl(var(--crimson)), hsl(var(--lantern)));
  color: hsl(var(--primary-foreground));
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
}
.coin-avatar.lg { width: 80px; height: 80px; font-size: 18px; border-radius: 20px; }
.coin-avatar img { width: 100%; height: 100%; object-fit: cover; }
.coin-body { min-width: 0; flex: 1; }
.coin-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.coin-title p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coin-title .tk {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--crimson));
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.2s ease-in-out infinite;
}
.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: hsl(var(--buy));
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.coin-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.coin-meta .mono { font-size: 12px; }
.coin-blurb {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: hsl(var(--foreground) / .75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.coin-mcap { margin-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mcap-k {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mcap-v {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
}
.mcap-shares {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  color: hsl(var(--crimson));
}
.pair-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: hsl(var(--card) / .7);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}
.pair-badge img,
.pair-badge .stock-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
.curve-bar {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: hsl(var(--crimson) / .15);
}
.curve-bar > i {
  display: block;
  height: 100%;
  min-width: 1%;
  border-radius: 999px;
  background: linear-gradient(90deg, hsl(var(--gold)), hsl(var(--crimson)));
}
.curve-bar.lg { height: 10px; }
.curve-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}
.curve-meta .mono { font-size: 11px; }

.badge {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--muted);
}
.badge.onchain { color: var(--ink); }
.trading-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: hsl(var(--buy) / .15);
  color: hsl(var(--up));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 14px;
  padding: 0 12px;
  height: 48px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .05);
}
.search input {
  border: 0;
  background: transparent;
  width: 100%;
  outline: none;
  padding: 0;
  box-shadow: none;
}

.desk {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
@media (min-width: 960px) {
  .desk { grid-template-columns: minmax(0, 1.45fr) minmax(280px, .72fr); }
}
.desk-main { display: grid; gap: 14px; min-width: 0; }
.desk-card { padding: 22px 22px 24px; }
.desk-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.desk-h h3 { margin: 2px 0 4px; font-size: 1.15rem; letter-spacing: -0.02em; }
.desk-n {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: hsl(var(--crimson));
}
.desk-count {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
}
.desk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.desk-actions .primary,
.desk-actions .ghost {
  flex: 1;
  min-width: 9rem;
  height: 48px;
}
.buy-field {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 14px;
  overflow: hidden;
}
.buy-field input {
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.buy-field input:focus { box-shadow: none; }
.buy-unit {
  flex: 0 0 auto;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: hsl(var(--crimson));
  border-left: 1px solid var(--line);
}
.pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
  max-height: 22rem;
  overflow: auto;
  padding-right: 4px;
}
.pick-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: rgba(255,255,255,.72);
  cursor: pointer;
}
.pick-card.on {
  border-color: hsl(var(--crimson));
  background: #fff;
  box-shadow: 0 14px 30px -16px rgba(15, 23, 42, .28);
}
.pick-card .check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
  display: none;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.pick-card.on .check { display: grid; }
.pick-card b { display: block; font-size: 14px; }
.pick-card small { display: block; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.pick-card .px { margin-top: 2px; font-family: var(--mono); font-size: 12px; font-weight: 700; }

.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
label { display: grid; gap: 7px; font-size: 12px; font-weight: 600; color: var(--muted); }
.field-k {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.char-count {
  display: block;
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.list-sheet,
.list-open {
  display: grid;
  gap: 16px;
}
.list-sheet .desk-h,
.list-open .desk-h { margin-bottom: 0; }
.list-id {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.list-id-fields {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.list-avatar {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  margin: 0;
  width: 108px;
  height: 108px;
  min-height: 0;
  aspect-ratio: 1;
  border-radius: 18px;
  border: 1px dashed rgba(15,23,42,.22);
  background:
    radial-gradient(80% 70% at 50% 20%, hsl(var(--crimson) / .08), transparent 62%),
    rgba(255,255,255,.78);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
}
.list-avatar:hover,
.list-avatar.over {
  border-color: hsl(var(--crimson));
  background: #fff;
}
.list-avatar.has-file { border-style: solid; border-color: transparent; }
.list-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.drop-plus {
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: hsl(var(--crimson));
}
.list-avatar .drop-clear {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.tick-field,
label.affix,
.buy-field {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .05);
}
.tick-field:focus-within,
label.affix:focus-within,
.buy-field:focus-within {
  border-color: hsl(var(--crimson));
  box-shadow: 0 0 0 3px rgba(196, 96, 42, .18);
}
.tick-field > span,
label.affix > span,
.buy-unit {
  flex: 0 0 auto;
  min-width: 2.6rem;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: hsl(var(--crimson));
  border-right: 1px solid var(--line);
}
.buy-unit {
  min-width: 0;
  border-right: 0;
  border-left: 1px solid var(--line);
}
.list-sheet input,
.list-sheet textarea,
.list-open input { color: var(--ink); }
.tick-field input,
label.affix input,
.buy-field input {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-transform: none;
}
.tick-field input:focus,
label.affix input:focus,
.buy-field input:focus { box-shadow: none; border-color: transparent; }
.blurb-wrap { position: relative; display: block; }
.list-blurb textarea {
  min-height: 92px;
  resize: vertical;
  padding-bottom: 26px;
}
.blurb-wrap .char-count {
  position: absolute;
  right: 12px;
  bottom: 8px;
}
.list-social {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 640px) {
  .list-social { grid-template-columns: 1fr 1fr 1fr; }
}
.pay-tabs {
  display: flex;
  gap: 6px;
}
.trade-pay-tabs {
  margin: 0 0 14px;
}
.pay-tab {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.pay-tab.on {
  border-color: hsl(var(--crimson));
  background: #fff;
  color: hsl(var(--crimson));
  box-shadow: 0 8px 18px -12px hsl(var(--crimson) / .55);
}
.buy-box {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15,23,42,.06);
}
.buy-box-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.buy-box .primary {
  height: 48px;
  width: 100%;
}
.fee-split {
  display: grid;
  gap: 10px;
  padding-bottom: 4px;
}
.fee-split-h { margin: 0; }
.fee-rows {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 4px 12px;
  list-style: none;
  border-radius: 14px;
  background: rgba(15, 23, 42, .04);
}
.fee-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.fee-rows li + li { border-top: 1px solid var(--line); }
.fee-rows li.locked { color: var(--muted); }
.fee-rows b {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}
.fee-rows li.locked b { color: var(--muted); }
.buy-receipt,
.buy-split {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .04);
}
.buy-split {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.buy-split > div + div {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.buy-pay-k {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.buy-pay-v {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  word-break: break-word;
}
.buy-pay-s {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.list-dock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.list-dock .primary {
  height: 48px;
  min-width: 9.5rem;
  padding: 0 22px;
}
.list-note { margin: 0; }
.buy-quote {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: hsl(var(--crimson));
}
.text-btn {
  display: inline;
  border: 0;
  padding: 0;
  background: none;
  color: hsl(var(--crimson));
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 560px) {
  .list-id { grid-template-columns: 88px 1fr; }
  .list-avatar { width: 88px; height: 88px; border-radius: 16px; }
  .list-dock { grid-template-columns: 1fr; }
  .list-dock .primary { width: 100%; }
  .buy-split { grid-template-columns: 1fr; }
  .buy-split > div + div { padding-left: 0; padding-top: 12px; border-left: 0; border-top: 1px solid var(--line); }
}
.soc {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.soc:hover { background: hsl(var(--crimson) / .12); color: hsl(var(--crimson)); }
.ticket-social,
.id-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
img.coin-avatar { object-fit: cover; padding: 0; background: #fff; }
input, textarea, select {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 14px;
  padding: 11px 12px;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .05);
}
input:focus, textarea:focus, select:focus { border-color: hsl(var(--crimson)); box-shadow: 0 0 0 3px rgba(196, 96, 42, .18); }
.preview { padding: 22px; }
.preview.ticket {
  position: sticky;
  top: 80px;
  z-index: 25;
  align-self: start;
  background: #fff;
  background-image: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 16px 36px -18px rgba(15, 23, 42, .28);
}
@media (max-width: 959px) {
  .preview.ticket {
    position: static;
    order: -1;
    top: auto;
    z-index: auto;
    padding: 14px 16px 16px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.9),
      0 18px 40px -22px rgba(15, 23, 42, .35);
  }
  .preview.ticket .ticket-k { display: none; }
  .preview.ticket .ticket-token { margin-top: 0; }
  .preview.ticket .ticket-name { font-size: 1.15rem; }
  .preview.ticket .ticket-meta { display: none; }
  .preview.ticket .ticket-blurb { display: none; }
  .preview.ticket .ticket-pair { margin-top: 12px; }
}
@media (min-width: 960px) {
  .preview.ticket { top: 88px; }
}
.swap-desk {
  position: sticky;
  top: 88px;
  z-index: 24;
  align-self: start;
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: start;
  background: #fff;
}
.swap-who {
  display: flex;
  align-items: center;
  gap: 14px;
}
.swap-who h3 { margin: 2px 0 0; font-size: 1.25rem; }
.swap-desk .chip-tag { justify-self: start; }
.swap-actions { margin-top: 4px; flex-wrap: wrap; }
@media (max-width: 959px) {
  .swap-desk { position: static; order: -1; top: auto; z-index: auto; }
}
.ticket-k {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticket-token {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 0;
}
.ticket-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ticket-tick {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: hsl(var(--crimson));
}
.ticket-blurb {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.ticket-pair {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, .04);
}
.ticket-cn {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 800;
}
.ticket-cn span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.ticket-px {
  text-align: right;
}
.ticket-px b {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
}
.ticket-px span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
}
.ticket-meta {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
}
.ticket-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.ticket-meta dt { margin: 0; color: var(--muted); }
.ticket-meta dd {
  margin: 0;
  font-family: var(--mono);
  font-weight: 700;
  text-align: right;
}
@media (max-width: 420px) {
  .ticket-pair { grid-template-columns: auto 1fr; }
  .ticket-px { grid-column: 1 / -1; text-align: left; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stat {
  padding: 12px;
  border-radius: 16px;
  background: hsl(var(--card) / .7);
}
.stat .mcap-k { margin: 0; }
.stat b { display: block; margin-top: 2px; font-size: 16px; font-family: var(--mono); font-weight: 600; }
.stat .sub { margin: 0; font-family: var(--mono); font-size: 11px; color: hsl(var(--crimson)); }

.token-page { padding-bottom: 48px; }
.token-back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.token-back a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--crimson));
}
.token-back a:hover { text-decoration: underline; }

.token-grid {
  display: grid;
  gap: 24px;
  margin-top: 16px;
  align-items: start;
  grid-template-areas:
    "trade"
    "main"
    "extra";
}
.token-main { grid-area: main; display: grid; gap: 24px; min-width: 0; overflow: hidden; }
.panel.trade,
.trade {
  grid-area: trade;
  position: relative;
  z-index: 8;
  isolation: isolate;
  transform: none;
  filter: none;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #fff;
}
.token-aside { grid-area: extra; display: grid; gap: 16px; align-self: start; min-width: 0; }
@media (min-width: 1024px) {
  .token-grid {
    grid-template-columns: 1.5fr minmax(320px, 400px);
    grid-template-areas:
      "main trade"
      "extra trade";
  }
  .panel.trade,
  .trade {
    position: sticky;
    top: 88px;
    align-self: start;
    z-index: 24;
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
  }
}

.coin-chat {
  position: relative;
  height: 420px;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid hsl(var(--crimson) / .1);
}
.chat-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.chat-people {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.chat-people i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--buy));
}
.chat-log {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px;
}
.chat-empty {
  height: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.chat-empty p { margin: 8px 0 0; font-size: 14px; font-weight: 700; }
.chat-empty span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.chat-msg { display: flex; gap: 8px; padding: 6px 8px; border-radius: 16px; }
.chat-msg.host { background: hsl(var(--gold) / .15); }
.chat-msg.sys { display: block; padding: 6px; text-align: center; font-size: 11px; font-style: italic; color: var(--muted); }
.chat-ava {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  color: #f3faf8;
  font-size: 9px;
  font-weight: 800;
}
.chat-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}
.chat-msg.host .chat-name { color: hsl(var(--crimson)); }
.chat-creator {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.chat-text { margin: 2px 0 0; font-size: 14px; line-height: 1.35; word-break: break-word; }
.chat-text a { color: hsl(var(--crimson)); text-decoration: underline; }
.chat-foot { padding: 12px; border-top: 1px solid hsl(var(--crimson) / .1); }
.chat-signin {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: hsl(var(--crimson) / .05);
}
.chat-signin p { margin: 0; font-size: 12px; color: hsl(var(--foreground) / .75); }
.chat-signin .btn-sm {
  justify-self: start;
  background: hsl(var(--crimson));
  border-color: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
}
.chat-live { margin: 8px 0 0; font-size: 11px; color: hsl(var(--foreground) / .55); }
.chat-compose { display: flex; align-items: flex-end; gap: 8px; }
.chat-compose textarea {
  min-height: 40px;
  max-height: 96px;
  resize: none;
  border-radius: 16px;
  padding: 10px 12px;
}
.chat-compose button {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
}

.id-card { padding: 20px 24px; }
.id-top { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) {
  .id-top { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.id-who { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.id-who h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.id-who .tk { font-family: var(--mono); font-size: 16px; font-weight: 600; color: hsl(var(--crimson)); }
.id-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.id-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.id-actions { display: flex; flex-shrink: 0; gap: 8px; }
.btn-sm {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid hsl(var(--gold) / .4);
  background: hsl(var(--card) / .8);
  font-size: 12px;
  font-weight: 700;
}
.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 16px;
  background: hsl(var(--card) / .7);
  font-family: var(--mono);
  font-size: 12px;
}
.ca-row .muted { color: var(--muted); }
.ca-row span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ca-row button, .ca-row a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.ca-row button:hover, .ca-row a:hover { background: hsl(var(--crimson) / .1); }
.id-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.id-prices .mcap-v { font-size: 1.875rem; }
.id-prices .right { text-align: right; }
.id-prices .right .mcap-v { font-size: 1.5rem; }

.chart { width: 100%; height: 220px; margin-top: 16px; display: block; }
.bond-head { display: flex; justify-content: space-between; margin-top: 16px; font-size: 12px; color: var(--muted); }
.bond-note { margin: 6px 0 0; font-size: 11px; color: var(--muted); }
.vault-card {
  margin-top: 16px;
  padding: 16px 16px 18px;
  border-radius: 20px;
  border: 1px solid hsl(var(--crimson) / .12);
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.42));
}
.vault-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vault-pending { margin: 8px 0 10px; font-family: var(--mono); font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.vault-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}
.vault-chips span {
  padding: 4px 9px;
  border-radius: 999px;
  background: hsl(var(--crimson) / .08);
  color: hsl(var(--crimson));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
.vault-when {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.vault-rows { margin: 0; }
.vault-rows li span {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.vault-rows em {
  font-style: normal;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .06);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.vault-rows b {
  display: grid;
  justify-items: end;
  gap: 2px;
}
.vault-rows b small {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}
.vault-claim-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.vault-claim {
  margin-top: 10px;
  background: hsl(var(--crimson));
  border-color: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
}
.btn-sm[hidden],
#vault-claim[hidden] { display: none !important; }
#vault-claim:disabled {
  opacity: .45;
  pointer-events: none;
  cursor: not-allowed;
}

.tape-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .tape-grid { grid-template-columns: 1fr 1fr; } }
.tape-card { padding: 20px 20px 12px; display: flex; flex-direction: column; min-height: 0; }
.tape-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.tape-scroll {
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-right: -6px;
  padding-right: 6px;
}
.tape-scroll::-webkit-scrollbar { width: 6px; }
.tape-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: hsl(var(--crimson) / .25);
}
.tape-row, .hold-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid hsl(var(--crimson) / .1);
  font-size: 13px;
}
a.tape-row, a.hold-row { color: inherit; text-decoration: none; }
a.tape-row:hover, a.hold-row:hover { background: hsl(var(--crimson) / .04); }
.side-pill {
  width: 40px;
  text-align: center;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.side-pill.buy { background: hsl(var(--buy) / .15); color: hsl(var(--up)); }
.side-pill.sell { background: hsl(var(--down) / .18); color: hsl(var(--down)); }
.tape-row .tok { flex: 1; font-family: var(--mono); font-size: 12px; }
.tape-row .usd { width: 96px; text-align: right; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tape-row .ago { width: 56px; text-align: right; font-size: 11px; color: var(--muted); }
.hold-row .rank { width: 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hold-row .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--mono); font-size: 12px; font-weight: 600; }
.hold-row .pct { font-family: var(--mono); font-size: 12px; }
.creator-tag {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: hsl(var(--gold));
}

.about-card { padding: 20px 22px 18px; font-size: 13px; line-height: 1.65; color: hsl(var(--foreground) / .78); }
.about-card .ttl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.about-card .ttl img,
.about-card .ttl .stock-logo { width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.about-legal {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.about-blurb {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}
.about-body { margin: 0 0 4px; max-width: 62em; }
.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 14px 0 12px;
  padding: 14px 0;
  border-top: 1px solid hsl(var(--crimson) / .1);
  border-bottom: 1px solid hsl(var(--crimson) / .1);
}
@media (min-width: 720px) {
  .about-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.about-facts dt {
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-facts dd {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  word-break: break-word;
}
.about-nds {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.about-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: hsl(var(--crimson));
}
.about-links a:hover { text-decoration: underline; }

.trade { padding: 18px 20px 20px; }
.trade-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.trade-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: hsl(var(--crimson));
}
.trade-status {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.trade-peg {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: hsl(var(--crimson) / .1);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: hsl(var(--crimson));
}
.trade-path {
  display: flex;
  align-items: center;
  margin: 14px 0 6px;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}
.trade-path li {
  display: flex;
  align-items: center;
}
.trade-path li:not(:last-child)::after {
  content: "→";
  margin: 0 8px;
  color: var(--muted);
  font-weight: 600;
}
.trade-path-note {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.trade-tabs {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: hsl(var(--crimson) / .1);
}
.trade-tabs button {
  flex: 1;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  text-transform: capitalize;
  color: hsl(var(--foreground) / .7);
}
html[lang="zh-CN"] .trade-tabs button { text-transform: none; }
.trade-tabs button.buy.on {
  background: hsl(var(--buy));
  color: #fff;
  box-shadow: 0 6px 16px -8px hsl(var(--buy) / .9);
}
.trade-tabs button.sell.on {
  background: hsl(var(--down));
  color: #fff;
  box-shadow: 0 6px 16px -8px hsl(var(--down) / .9);
}
.pay-lab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 6px;
  font-size: 12px;
  color: var(--muted);
}
.pay-lab.recv-lab { margin-top: 12px; }
.bal-max {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
}
.bal-max b {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
}
.bal-max:hover b { color: hsl(var(--crimson)); }
.amt-wrap {
  position: relative;
  display: block;
  z-index: 20;
}
#trade-amt {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 12px 96px 12px 14px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 14px;
  background: #fff;
  color: #191d24;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
#trade-amt:focus {
  border-color: hsl(var(--crimson));
  box-shadow: 0 0 0 3px rgba(196, 96, 42, .18);
}
.amt-ccy {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: hsl(var(--crimson) / .1);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}
.recv-box {
  cursor: default;
  pointer-events: none;
  background: hsl(var(--background) / .55);
}
.recv-box output {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  height: 52px;
  padding: 11px 12px;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  color: var(--muted);
}
.pct-row { display: flex; gap: 6px; margin-top: 8px; }
.pct-row button {
  flex: 1;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: hsl(var(--crimson) / .1);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}
.pct-row button:hover { background: hsl(var(--crimson) / .2); }
.trade-share {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--crimson));
}
.quote-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: hsl(var(--card) / .7);
  font-family: var(--mono);
  font-size: 12px;
}
.quote-box .kv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  gap: 12px;
}
.quote-box .muted { color: var(--muted); font-family: var(--sans); }
.slip-picks { display: flex; gap: 4px; }
.slip-picks button {
  height: 24px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: hsl(var(--crimson) / .1);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}
.slip-picks button.on {
  background: hsl(var(--crimson));
  color: #fff;
}
.trade .buy-cta,
.trade .primary {
  width: 100%;
  height: 52px;
  margin-top: 16px;
}
.buy-cta {
  border: 0;
  border-radius: 999px;
  background: hsl(var(--buy));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 24px -10px hsl(var(--buy) / .8);
}
.buy-cta.sell {
  background: hsl(var(--down));
  color: #fff;
  box-shadow: 0 10px 24px -10px hsl(var(--down) / .8);
}
.buy-cta:disabled,
.trade .primary:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}
.trade.is-busy .buy-cta,
.trade.is-busy .trade-tabs button,
.trade.is-busy .pct-row button { pointer-events: none; }
.trade-warn {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: hsl(var(--down));
}
.trade-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}
.trade-bag {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.trade-bag .mcap-k { margin: 0; }
.trade-bag .mcap-v { margin: 4px 0 0; font-size: 18px; }
.trade-bag .tiny { margin: 4px 0 0; color: var(--muted); }

.faq-sheet { overflow: hidden; }
.faq-sheet details { border-bottom: 1px solid var(--line); }
.faq-sheet details:last-child { border-bottom: 0; }
.faq-sheet summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.faq-sheet summary::-webkit-details-marker { display: none; }
.faq-sheet summary::after {
  content: "▾";
  color: var(--muted-2);
  transition: transform .2s;
}
.faq-sheet details[open] summary::after { transform: rotate(180deg); }
.faq-sheet p { color: var(--muted); line-height: 1.7; margin: 0; padding: 0 18px 16px; }

.site-foot {
  margin-top: 72px;
  padding: 0;
  position: relative;
  background: linear-gradient(180deg, hsl(220 12% 96% / 0) 0%, hsl(220 12% 97% / .72) 28%, hsl(0 0% 100% / .88) 100%);
  border-top: 1px solid rgba(15, 23, 42, .08);
}
.site-foot::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--crimson) / .55), transparent);
}
.foot-inner { padding: 48px 0 28px; }
.foot-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 800px) {
  .foot-grid {
    grid-template-columns: 1.15fr .95fr;
    align-items: start;
    gap: 48px;
  }
}
.foot-brand-block { max-width: 340px; }
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.08em;
}
.foot-brand .brand-mark {
  width: 32px;
  height: 32px;
}
.foot-name {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.foot-lede {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.foot-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 12px 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.1);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.foot-x:hover {
  color: hsl(var(--crimson));
  border-color: hsl(var(--crimson) / .4);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
}
.foot-k {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.foot-cols a {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.foot-cols a:hover { color: hsl(var(--crimson)); }
.foot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, .08);
  font-size: 12px;
  color: var(--muted);
}
.foot-bar p { margin: 0; max-width: 42rem; line-height: 1.6; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 18px;
  border-radius: 16px;
  z-index: 80;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.35;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow:
    0 18px 40px -20px rgba(15, 23, 42, .35),
    inset 0 1px 0 rgba(255,255,255,.9);
  animation: fade-up .35s var(--ease);
}
.toast.ok {
  background: hsl(var(--crimson));
  color: hsl(var(--primary-foreground));
  border-color: transparent;
}
.toast.warn {
  background: #fff;
  color: hsl(var(--down));
  border-color: hsl(var(--down) / .18);
}
.toast.info {
  background: #1c1917;
  color: #fff;
  border-color: transparent;
}
.hidden { display: none; }
.row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

.factory-page { padding-bottom: 72px; }
.factory-points {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
}
@media (min-width: 880px) {
  .factory-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}
.factory-points li {
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid hsl(var(--crimson) / .45);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}
.factory-hero {
  margin-top: 32px;
  padding: 28px 26px 24px;
}
.factory-hero .factory-k { margin-bottom: 10px; }
.factory-hero h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.factory-hero > p {
  margin: 0;
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.factory-k {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: hsl(var(--crimson));
}
.factory-sheet {
  margin-top: 14px;
  padding: 4px 0;
  overflow: hidden;
}
.factory-row {
  display: grid;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.factory-row:last-child { border-bottom: 0; }
@media (min-width: 880px) {
  .factory-row {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .9fr);
    align-items: center;
    gap: 28px;
  }
}
.factory-row h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.factory-row p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.factory-ca {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
  padding: 8px 10px 8px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.88);
}
.factory-hero .factory-ca {
  margin-top: 18px;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 12px 14px;
}
.factory-ca code {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.factory-hero .factory-ca code {
  white-space: normal;
  word-break: break-all;
  overflow: visible;
  line-height: 1.45;
}
.factory-ca-act {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}
.factory-ca .btn-sm {
  height: 30px;
  padding: 0 11px;
  background: rgba(255,255,255,.8);
}
.factory-note {
  max-width: 40rem;
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 900px) {
  .wrap { width: min(1080px, calc(100% - 24px)); }
  body { background-attachment: scroll; }
  .hero h1, .page-title, .section h2, .how-title, .explore-head h1 {
    font-size: clamp(28px, 8vw, 36px);
  }
  .lang-btn { display: none; }
  .nav-pill {
    height: 52px;
    gap: 6px;
    padding: 0 6px 0 10px;
  }
  .brand { font-size: 17px; gap: 6px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .wallet, .ghost {
    padding: 8px 12px;
    font-size: 13px;
  }
  .pick-grid {
    max-height: 12.5rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .coin-chat { height: 320px; }
  .id-card { padding: 16px; }
  .chart { height: 180px; }
  .trade-head { flex-wrap: wrap; }
  .trade-peg { max-width: 100%; }
  .trade-path { flex-wrap: wrap; row-gap: 4px; }
  .pct-row button { height: 40px; font-size: 12px; }
  .pay-tab { height: 40px; }
  .ca-row button, .ca-row a { width: 40px; height: 40px; }
  .factory-ca {
    flex-direction: column;
    align-items: stretch;
  }
  .factory-ca-act {
    width: 100%;
  }
  .factory-ca-act .btn-sm {
    flex: 1;
    height: 40px;
    justify-content: center;
  }
}

.token-ident { display: none; }

@media (max-width: 1023px) {
  .token-back {
    position: sticky;
    top: calc(72px + env(safe-area-inset-top, 0px));
    z-index: 16;
    margin: 0 -12px 4px;
    padding: 8px 12px 10px;
    background: hsl(var(--background) / .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .token-ident {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .token-ident .coin-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 10px;
  }
  .token-ident b {
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
  }
  .token-ident span {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    color: hsl(var(--crimson));
  }
  .token-page { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .panel.trade { padding-bottom: 20px; }
  .panel.trade .buy-cta,
  .panel.trade #trade-connect {
    position: sticky;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 21;
    margin-top: 16px;
    box-shadow: 0 12px 28px -8px hsl(var(--buy) / .7);
  }
  .panel.trade .buy-cta.sell {
    box-shadow: 0 12px 28px -8px hsl(var(--down) / .7);
  }
}

@media (max-width: 640px) {
  input, textarea, select {
    font-size: 16px;
  }
  .search input,
  .explore-search input {
    font-size: 16px;
  }
  #trade-amt,
  .recv-box output,
  #chip-amt {
    font-size: 20px;
  }
}
