/* danom — black, one violet, white. 2D, hairlines, generous space. */
:root {
  --bg: #07060b;
  --bg-1: #0b0a11;
  --bg-2: #100e18;
  --bg-3: #16141f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f4fa;
  --muted: #a19db2;
  --dim: #6c6880;
  --violet: #7b5cff;
  --violet-2: #9b8cff;
  --violet-3: #c6bdff;
  --violet-soft: rgba(123, 92, 255, 0.12);
  --violet-line: rgba(123, 92, 255, 0.45);
  --up: #3ddc97;
  --down: #ff5c7a;
  --warn: #f5b94a;
  --r: 14px;
  --r-sm: 10px;
  --gut: 16px;
  --max: 1160px;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gut: 28px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body::before { /* backdrop, one fixed layer: faint isometric grid that fades out below the fold */
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2756%27 height=%2728%27 viewBox=%270 0 56 28%27%3E%3Cpath d=%27M0 14 28 0 56 14 28 28Z%27 fill=%27none%27 stroke=%27rgb(255,255,255)%27 stroke-opacity=%27.06%27 stroke-width=%271%27/%3E%3C/svg%3E") 50% 0 / 56px 28px repeat;
  -webkit-mask-image: radial-gradient(120% 70% at 50% 0%, #000 0%, rgba(0,0,0,.55) 35%, transparent 75%);
  mask-image: radial-gradient(120% 70% at 50% 0%, #000 0%, rgba(0,0,0,.55) 35%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
body::after { /* violet light at the top (static, no animation) */
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% -8%, rgba(123, 92, 255, 0.16), transparent 70%),
    radial-gradient(35% 30% at 92% 4%, rgba(155, 140, 255, 0.07), transparent 70%),
    radial-gradient(40% 35% at 0% 100%, rgba(123, 92, 255, 0.05), transparent 70%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 1400px) { /* wide screens only: two quiet iso slabs in the free margins, never under content */
  body::after {
    background:
      url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27260%27 height=%27200%27 viewBox=%270 0 260 200%27%3E%3Cpath d=%27M136 70 L170 87.0 L170 97.0 L136 80Z%27 fill=%27rgb(16,14,26)%27/%3E%3Cpath d=%27M204 70 L170 87.0 L170 97.0 L204 80Z%27 fill=%27rgb(11,10,18)%27/%3E%3Cpath d=%27M170 53.0 L204 70 L170 87.0 L136 70Z%27 fill=%27rgba(123,92,255,.10)%27/%3E%3Cpath d=%27M136 70 L170 87.0 L170 97.0 L136 80Z M204 70 L170 87.0 L170 97.0 L204 80Z M170 53.0 L204 70 L170 87.0 L136 70Z%27 fill=%27none%27 stroke=%27rgba(255,255,255,.10)%27 stroke-width=%271%27/%3E%3Cpath d=%27M136 50 L170 67.0 L170 77.0 L136 60Z%27 fill=%27rgb(16,14,26)%27/%3E%3Cpath d=%27M204 50 L170 67.0 L170 77.0 L204 60Z%27 fill=%27rgb(11,10,18)%27/%3E%3Cpath d=%27M170 33.0 L204 50 L170 67.0 L136 50Z%27 fill=%27rgba(123,92,255,.22)%27/%3E%3Cpath d=%27M136 50 L170 67.0 L170 77.0 L136 60Z M204 50 L170 67.0 L170 77.0 L204 60Z M170 33.0 L204 50 L170 67.0 L136 50Z%27 fill=%27none%27 stroke=%27rgba(155,140,255,.28)%27 stroke-width=%271%27/%3E%3C/svg%3E") right max(12px, calc(50vw - 700px)) top 76px / 260px 200px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27140%27 height=%27110%27 viewBox=%270 0 140 110%27%3E%3Cpath d=%27M40 60 L70 75.0 L70 84.0 L40 69Z%27 fill=%27rgb(16,14,26)%27/%3E%3Cpath d=%27M100 60 L70 75.0 L70 84.0 L100 69Z%27 fill=%27rgb(11,10,18)%27/%3E%3Cpath d=%27M70 45.0 L100 60 L70 75.0 L40 60Z%27 fill=%27rgba(123,92,255,.12)%27/%3E%3Cpath d=%27M40 60 L70 75.0 L70 84.0 L40 69Z M100 60 L70 75.0 L70 84.0 L100 69Z M70 45.0 L100 60 L70 75.0 L40 60Z%27 fill=%27none%27 stroke=%27rgba(255,255,255,.08)%27 stroke-width=%271%27/%3E%3C/svg%3E") left max(0px, calc(50vw - 760px)) bottom 40px / 140px 110px no-repeat,
      radial-gradient(60% 45% at 50% -8%, rgba(123, 92, 255, 0.16), transparent 70%),
      radial-gradient(35% 30% at 92% 4%, rgba(155, 140, 255, 0.07), transparent 70%),
      radial-gradient(40% 35% at 0% 100%, rgba(123, 92, 255, 0.05), transparent 70%);
  }
}
@media (max-width: 720px) {
  body::before { background-size: 44px 22px; }
  body::after {
    background:
      radial-gradient(90% 40% at 50% -6%, rgba(123, 92, 255, 0.16), transparent 70%),
      radial-gradient(60% 30% at 0% 100%, rgba(123, 92, 255, 0.05), transparent 70%);
  }
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
.mono, output, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
small { font-size: 0.72em; color: var(--muted); font-weight: 400; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 12.5px; }
.r { text-align: right; justify-self: end; }
.break { word-break: break-all; }
.good { color: var(--up); }
.warnc { color: var(--warn); }
.downc { color: var(--down); }
.ic { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------------------------------------ header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 6, 11, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand .mark { width: 30px; height: 30px; display: block; }
.brand .word { font-weight: 600; font-size: 19px; letter-spacing: -0.035em; }
.nav { display: flex; gap: 2px; }
.nav a {
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav a[aria-current='page'] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.net:empty { display: none; }

/* ------------------------------------------------------------ page */
.page {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--gut) 96px;
  outline: none;
}
.page-head { padding: 48px 0 28px; max-width: 640px; }
.page-head.center { margin: 0 auto; text-align: center; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 42px); line-height: 1.08; letter-spacing: -0.035em; }
.lede { color: var(--muted); font-size: 16px; margin-top: 10px; max-width: 560px; }
.page-head.center .lede { margin-left: auto; margin-right: auto; }

.block { margin-top: 64px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.block-head h2 { font-size: 20px; }
.pos-head { margin-top: 40px; }
.block-head p { font-size: 14px; margin-top: 4px; max-width: 560px; }

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008)), var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-width: 0;
}
.panel.pad { padding: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; }
.panel-head h2 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.05s;
}
.btn:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 16px; height: 16px; }
.btn-primary {
  background: var(--violet);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(155, 140, 255, 0.35) inset, 0 8px 28px -10px rgba(123, 92, 255, 0.7);
}
.btn-primary:hover { background: #8a6dff; border-color: transparent; }
.btn-ghost { background: transparent; }
.btn-warn { border-color: rgba(245, 185, 74, 0.5); color: var(--warn); background: rgba(245, 185, 74, 0.06); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 48px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:disabled, .btn[disabled] {
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
  color: var(--dim);
  box-shadow: none;
  transform: none;
}
.link-btn { background: none; border: 0; padding: 0; color: var(--violet-2); cursor: pointer; font-size: 13px; font-weight: 500; }
.link-btn:hover { color: var(--violet-3); }
.icon-btn {
  width: 32px; height: 32px; flex: none;
  display: inline-grid; place-items: center;
  border-radius: 8px; border: 1px solid transparent; background: transparent;
  color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1;
}
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.icon-btn .ic { width: 16px; height: 16px; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.15); }

/* ------------------------------------------------------------ pills, badges, tags, chips */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 26px; padding: 0 10px; border-radius: 99px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--muted);
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-violet { color: var(--violet-3); border-color: var(--violet-line); background: var(--violet-soft); }
.pill-violet i { background: var(--violet-2); box-shadow: 0 0 10px var(--violet); }
.pill-warn { color: var(--warn); border-color: rgba(245, 185, 74, 0.4); background: rgba(245, 185, 74, 0.08); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 9px; border-radius: 7px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--muted);
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.badge.open { color: #bff3dc; }
.badge.open i { background: var(--up); box-shadow: 0 0 8px rgba(61, 220, 151, 0.6); }
.badge.pre i { background: var(--warn); }
.badge.closed i { background: var(--dim); }
.badge.warnb { color: var(--warn); }
.badge.warnb i { background: var(--warn); }

.tag {
  display: inline-flex; align-items: center; gap: 4px;
  height: 20px; padding: 0 7px; border-radius: 6px;
  font-size: 11.5px; font-weight: 500; color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}
.tag .mono { font-size: 11px; }
.tag-official { color: var(--violet-3); background: var(--violet-soft); }
.tier-0 { color: #d7d3ea; }
.tier-1 { color: var(--violet-3); background: rgba(123, 92, 255, 0.10); }
.tier-2 { color: #d5b8ff; background: rgba(157, 77, 255, 0.14); }
.tier-3 { color: #f0b5ff; background: rgba(194, 59, 255, 0.16); }

.chip {
  display: inline-flex; align-items: baseline; gap: 5px;
  height: 24px; padding: 0 8px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px;
  line-height: 22px; white-space: nowrap;
}
.chip b { font-weight: 500; color: var(--text); }
.chip em { font-style: normal; color: var(--dim); }
.chip-more { color: var(--muted); }

.chg { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 13.5px; }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
.chg.flat { color: var(--muted); }

.skel { display: inline-block; height: 12px; width: 72px; border-radius: 4px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: sk 1.4s linear infinite; vertical-align: middle; }
.skel.w40 { width: 40%; } .skel.w60 { width: 60%; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } html { scroll-behavior: auto; } }

/* ------------------------------------------------------------ hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 56px 0 36px;
}
.eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; max-width: 12.5em; }
.hero .lede { font-size: 17px; margin-top: 18px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero-art { min-width: 0; }
.hero-art svg { display: block; width: 100%; height: auto; max-width: 560px; margin-left: auto; }

/* ------------------------------------------------------------ stats */
.stats { margin-top: 8px; }
.stats-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015)), var(--bg);
  overflow: hidden;
}
.stat { padding: 20px 22px; border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-left: 0; }
.stat dt { font-size: 12.5px; color: var(--muted); }
.stat dd { margin: 8px 0 0; font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat dd small { font-size: 13px; letter-spacing: 0; }
.stat-sub { font-size: 12.5px; color: var(--dim); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); margin-top: 12px; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--violet-2)); box-shadow: 0 0 10px var(--violet); border-radius: 3px; }

/* ------------------------------------------------------------ oracle tape */
.tape { background: var(--bg); margin-top: 14px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; min-width: 0; }
.tape-head { display: flex; align-items: center; gap: 10px; flex: none; font-size: 12.5px; }
.tape-row {
  display: flex; gap: 20px; overflow-x: auto; min-width: 0; flex: 1;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 32px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 32px), transparent);
  padding: 0 16px;
}
.tape-row::-webkit-scrollbar { display: none; }
.tk { display: inline-flex; gap: 7px; align-items: baseline; font-size: 12.5px; white-space: nowrap; }
.tk b { font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--muted); }

/* ------------------------------------------------------------ segmented */
.seg { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.seg button {
  height: 30px; padding: 0 12px; border-radius: 7px; border: 0; background: transparent;
  color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer;
}
.seg button[aria-selected='true'] { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.seg button:disabled { cursor: not-allowed; }
.seg-full { display: flex; width: 100%; }
.seg-full button { flex: 1; height: 34px; }

/* ------------------------------------------------------------ index table */
.ix-table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg); }
.ix-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.3fr) minmax(0, 2fr) 100px 120px 96px;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  transition: background 0.15s;
  min-width: 0;
}
.ix-table [data-r='list'] > .ix-row:first-child { border-top: 0; }
.ix-headrow { border-top: 0; padding-top: 12px; padding-bottom: 12px; font-size: 12px; color: var(--dim); background: rgba(255, 255, 255, 0.015); border-bottom: 1px solid var(--line); }
a.ix-row:hover { background: rgba(123, 92, 255, 0.045); }
a.ix-row:hover .ix-cta .btn { border-color: var(--violet-line); color: var(--violet-3); }
.ix-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ix-name > span { display: flex; flex-direction: column; min-width: 0; }
.ix-name b { font-weight: 600; font-size: 15px; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ix-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; margin-top: 3px; }
.ix-comp { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.ix-level { font-size: 15px; }
.glyph { width: 26px; height: auto; flex: none; }
.glyph.lg { width: 44px; }
.row-empty { padding: 28px 20px; color: var(--muted); text-align: center; font-size: 14px; }
.row-empty a { color: var(--violet-2); }

/* ------------------------------------------------------------ how */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.how-item { padding: 28px 28px 0 0; }
.how-item + .how-item { padding-left: 28px; border-left: 1px solid var(--line); }
.how-n { color: var(--violet-2); font-size: 12px; }
.how-item h3 { font-size: 16px; margin: 10px 0 6px; }
.how-item p { font-size: 14px; }

/* ------------------------------------------------------------ index detail */
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; margin-top: 28px; }
.back:hover { color: var(--text); }
.back .ic { width: 16px; height: 16px; }
.ix-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 0 28px; }
.ix-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ix-title h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.035em; line-height: 1.1; }
.ix-title .ix-meta { margin-top: 8px; }
.ix-level-big { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.lbl { font-size: 12px; color: var(--dim); }
.big { font-size: 34px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }

.ix-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
.mint, .preview { position: sticky; top: 84px; padding-bottom: 20px; }
.mint > *:not(.panel-head), .preview > *:not(.panel-head) { margin-left: 20px; margin-right: 20px; }

.comp-table { border-top: 1px solid var(--line); }
.comp-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) 100px 110px; gap: 14px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.comp-headrow { border-top: 0; font-size: 12px; color: var(--dim); padding-top: 10px; padding-bottom: 10px; }
.comp-stock { display: flex; flex-direction: column; min-width: 0; }
.comp-stock b { font-size: 14px; font-weight: 500; }
.comp-wm { display: none; }
.comp-stock .dim { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comp-w { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.wbar { flex: 1; max-width: 140px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.wbar i { display: block; height: 100%; background: var(--violet); border-radius: 4px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 18px 20px 20px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts h4 { font-size: 13.5px; margin-bottom: 6px; }
.facts p { font-size: 13px; }

/* tiers */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tier {
  position: relative;
  display: flex; flex-direction: column; align-items: stretch; gap: 3px;
  text-align: left; padding: 12px 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  cursor: pointer; overflow: hidden; min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.tier:hover { border-color: var(--line-2); }
.tier.on { border-color: var(--violet); background: var(--violet-soft); box-shadow: 0 0 0 1px var(--violet) inset, 0 10px 30px -18px var(--violet); }
.tier.off { opacity: 0.5; }
.tier-top { display: flex; align-items: center; justify-content: space-between; }
.tier-top b { font-size: 14px; font-weight: 600; }
.tier-price { font-size: 17px; font-weight: 500; margin-top: 6px; letter-spacing: -0.02em; }
.tier-rate { font-size: 13px; color: var(--violet-3); }
.tier-foot { display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.tier-foot .mono { color: var(--dim); }
.tier-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.05); }
.tier-fill i { display: block; height: 100%; background: var(--violet-2); }
.risk { display: inline-flex; gap: 2px; align-items: flex-end; }
.risk i { width: 3px; border-radius: 1px; background: rgba(255, 255, 255, 0.14); }
.risk i:nth-child(1) { height: 6px; } .risk i:nth-child(2) { height: 9px; } .risk i:nth-child(3) { height: 12px; }
.risk.r1 i:nth-child(1), .risk.r2 i:nth-child(-n + 2), .risk.r3 i { background: var(--violet-2); }
.risk.r3 i { background: #d78bff; }

.count-row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px !important; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.label { font-size: 13.5px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; }
.stepper button { width: 36px; height: 34px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); cursor: pointer; }
.stepper button:hover { color: var(--text); }
.stepper button .ic { width: 15px; height: 15px; }
.stepper output { min-width: 34px; text-align: center; font-size: 15px; }

.kv { margin: 14px 0 16px; display: grid; gap: 9px; }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; min-width: 0; }
.kv dt { color: var(--muted); flex: none; }
.kv dd { margin: 0; text-align: right; min-width: 0; }
.kv:empty { display: none; }
.note { font-size: 12.5px; color: var(--dim); margin-top: 12px !important; }
.note:empty { display: none; }

/* ------------------------------------------------------------ create */
.step { display: flex; align-items: center; gap: 10px; padding: 20px 20px 12px; }
.step:not(:first-child) { border-top: 1px solid var(--line); margin-top: 8px; }
.step h2 { font-size: 15px; }
.step .link-btn, .step .dim { margin-left: auto; }
.step-n { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11.5px; background: var(--violet-soft); color: var(--violet-3); }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; padding: 0 20px 8px; }
.pick {
  display: flex; flex-direction: column; gap: 1px; text-align: left;
  padding: 10px 11px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  cursor: pointer; min-width: 0; transition: border-color 0.15s, background 0.15s;
}
.pick:hover:not(:disabled) { border-color: var(--line-2); }
.pick.on { border-color: var(--violet); background: var(--violet-soft); }
.pick:disabled { opacity: 0.4; cursor: not-allowed; }
.pick-top { display: flex; justify-content: space-between; align-items: center; }
.pick-top b { font-size: 13.5px; font-weight: 500; }
.pick-box { width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--line-2); display: grid; place-items: center; }
.pick.on .pick-box { background: var(--violet); border-color: var(--violet); }
.pick-box .ic { width: 12px; height: 12px; stroke-width: 2.4; }
.pick-name { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-price { font-size: 12px; color: var(--dim); }

.weights { padding: 0 20px; display: grid; gap: 6px; }
.weights .row-empty { padding: 16px 0; text-align: left; }
.wrow { display: grid; grid-template-columns: 58px minmax(0, 1fr) 96px 32px; align-items: center; gap: 12px; padding: 4px 0; }
.wrow b { font-size: 13.5px; font-weight: 500; }
.wnum { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 9px; padding: 0 10px; height: 36px; background: rgba(255, 255, 255, 0.02); }
.wnum:focus-within { border-color: var(--violet); }
.wnum input { width: 100%; min-width: 0; border: 0; background: none; color: var(--text); font: 500 14px var(--mono); text-align: right; outline: none; padding: 0 4px 0 0; }
.wnum span { color: var(--dim); font-size: 13px; }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; cursor: pointer; margin: 0; }
input[type='range']::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
input[type='range']::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; margin-top: -6px; box-shadow: 0 0 0 4px rgba(123, 92, 255, 0.35); }
input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(123, 92, 255, 0.35); }
.sum { display: flex; align-items: center; gap: 12px; padding: 12px 20px 4px; }
.sum:empty { display: none; }
.sum-bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.sum-bar i { display: block; height: 100%; background: var(--warn); border-radius: 4px; transition: width 0.2s; }
.sum-bar i.ok { background: var(--up); }
.sum-bar i.over { background: var(--down); }
.field { display: block; padding: 0 20px 22px; }
.field input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 11px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02);
  color: var(--text); font: 500 15px var(--font); outline: none;
}
.field input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(123, 92, 255, 0.18); }
.field input::placeholder { color: var(--dim); }
.field-hint { display: block; font-size: 12px; color: var(--dim); margin-top: 8px; }

.pv-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: rgba(0, 0, 0, 0.25); }
.pv-top { display: flex; align-items: center; gap: 12px; }
.pv-top > div { display: flex; flex-direction: column; min-width: 0; }
.pv-name { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-bar { display: flex; height: 6px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, 0.06); margin: 16px 0 12px; gap: 2px; }
.pv-bar i { display: block; height: 100%; background: var(--violet); }
.pv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-level { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pv-level .big { font-size: 28px; }
.checks { list-style: none; padding: 0; margin: 16px 0 4px; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.checks li.ok { color: var(--text); }
.checks .ic { width: 16px; height: 16px; color: var(--up); stroke-width: 2.2; }
.checks .ring { width: 14px; height: 14px; margin: 1px; border-radius: 50%; border: 1.5px solid var(--dim); flex: none; }

/* ------------------------------------------------------------ nodes */
.nd-table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.nd-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 170px 190px 150px 96px; gap: 14px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); min-width: 0; }
.nd-row:first-child { border-top: 0; }
.nd-headrow { font-size: 12px; color: var(--dim); background: rgba(255, 255, 255, 0.015); padding-top: 11px; padding-bottom: 11px; }
.nd-id { display: flex; align-items: center; gap: 8px; }
.nd-id b { font-weight: 500; }
.nd-ix { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nd-ix:hover { color: var(--violet-3); }
.nd-lv { font-size: 13px; white-space: nowrap; }
.nd-stop { display: flex; flex-direction: column; gap: 5px; }
.stopbar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 92, 122, 0.25); overflow: hidden; }
.stopbar i { display: block; height: 100%; background: var(--violet-2); border-radius: 4px; }
.stopbar.near i { background: var(--warn); }
.stopbar.hit { background: rgba(255, 92, 122, 0.35); }
.stopbar.none { background: rgba(255, 255, 255, 0.06); }
.stopbar.none i { background: rgba(255, 255, 255, 0.16); }
.nd-pend { font-size: 13.5px; }
.stops-meta { display: flex; align-items: center; gap: 10px; }
.scan-meta { padding: 12px 20px; border-bottom: 1px solid var(--line); }
.stop-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 14px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.scan-meta + .stop-row { border-top: 0; }

/* ------------------------------------------------------------ empty */
.empty { background: var(--bg); text-align: center; padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty.slim { background: none; border: 0; padding: 40px 20px; }
.empty h3 { font-size: 18px; margin-top: 4px; }
.empty p.muted { font-size: 14px; max-width: 380px; margin-bottom: 8px; }
.empty-art { width: 120px; color: var(--violet-2); }
.empty-art svg { width: 100%; height: auto; display: block; }
.empty-art .ic { width: 40px; height: 40px; margin: 0 auto; }

/* ------------------------------------------------------------ swap */
.swap-wrap { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 300px); gap: 20px; justify-content: center; align-items: start; }
.swap-card { padding: 16px; }
.amt { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: rgba(0, 0, 0, 0.25); }
.amt + .flip-wrap + .amt { margin-top: 0; }
.amt-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); min-height: 20px; }
.amt-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.amt-row input, .amt-row output {
  flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--text);
  font: 500 28px var(--mono); letter-spacing: -0.03em; padding: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.amt-row input::placeholder { color: var(--dim); }
.amt-row input:disabled { cursor: not-allowed; }
.sym { flex: none; height: 32px; padding: 0 12px; border-radius: 99px; display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.06); font-weight: 600; font-size: 14px; }
.flip-wrap { display: flex; justify-content: center; height: 8px; position: relative; z-index: 1; }
.flip { width: 34px; height: 34px; margin-top: -13px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.flip:hover:not(:disabled) { color: var(--text); border-color: var(--violet-line); }
.flip .ic { width: 16px; height: 16px; }
.swap-card .kv { margin: 14px 4px; }
.swap-card > [data-r='action'] { margin-top: 12px; }
.swap-facts { margin: 0; padding: 6px 18px; }
.swap-facts > div { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-top: 1px solid var(--line); }
.swap-facts > div:first-child { border-top: 0; }
.swap-facts dt { font-size: 12px; color: var(--dim); }
.swap-facts dd { margin: 0; font-size: 14px; }
.swap-facts a { display: inline-flex; align-items: center; gap: 6px; color: var(--violet-3); }
.swap-facts a .ic { width: 14px; height: 14px; }
.callout { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); margin-top: 12px; }
.callout .ic { width: 16px; height: 16px; margin-top: 1px; color: var(--violet-2); }
.callout.warn { color: #f7d9a0; border-color: rgba(245, 185, 74, 0.3); background: rgba(245, 185, 74, 0.06); }
.callout.warn .ic { color: var(--warn); }
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 10px 0 0; counter-reset: s; }
.steps li { flex: 1; font-size: 12px; color: var(--dim); padding-top: 8px; border-top: 2px solid rgba(255, 255, 255, 0.08); counter-increment: s; }
.steps li::before { content: counter(s) '  '; font-family: var(--mono); }
.steps li.now { color: var(--text); border-color: var(--violet); }
.steps li.done { color: var(--muted); border-color: var(--violet-line); }

/* ------------------------------------------------------------ footer */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 24px var(--gut); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.03em; }
.foot-brand .mark { width: 20px; height: 20px; }
.foot-links { margin-left: auto; display: flex; gap: 18px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }

/* ------------------------------------------------------------ sheet + toasts */
.sheet-root { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: var(--gut); }
.sheet-root[hidden] { display: none; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(3, 2, 6, 0.7); backdrop-filter: blur(4px); }
.sheet { position: relative; width: 100%; max-width: 400px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px 20px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sheet-head h2 { font-size: 16px; }
.sheet .kv { margin: 0 0 18px; }
.wallet-list { display: grid; gap: 8px; }
.wallet-opt { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); cursor: pointer; text-align: left; font-weight: 500; }
.wallet-opt:hover { border-color: var(--violet-line); background: var(--violet-soft); }
.wallet-opt img, .wallet-blank { width: 28px; height: 28px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); }
.sheet .note { margin-top: 14px !important; }
.toasts { position: fixed; right: var(--gut); bottom: 24px; z-index: 60; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 2 * var(--gut))); }
.toast { padding: 12px 14px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); font-size: 13.5px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7); animation: tin 0.2s ease-out; }
.toast a { color: var(--violet-3); text-decoration: underline; text-underline-offset: 2px; }
.toast.good { border-color: rgba(61, 220, 151, 0.35); }
.toast.bad { border-color: rgba(255, 92, 122, 0.4); }
@keyframes tin { from { opacity: 0; transform: translateY(6px); } }

/* ------------------------------------------------------------ mobile tab bar */
.tabbar { display: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1060px) {
  .ix-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .nd-row { grid-template-columns: 130px minmax(0, 1fr) 160px 150px 130px 86px; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 0; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto -8px; width: 100%; }
  .hero-art svg { margin: 0 auto; }
  .ix-grid { grid-template-columns: 1fr; }
  .mint, .preview { position: static; }
  .ix-grid:not(.create) .mint { order: -1; }
  .comp-wm { display: inline; }
  .stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ix-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) 90px 100px; }
  .ix-cta { display: none; }
  .swap-wrap { grid-template-columns: minmax(0, 480px); }
  .nd-headrow { display: none; }
  .nd-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
  .nd-row > .nd-ix { grid-column: 1; grid-row: 2; }
  .nd-row > .nd-lv { grid-column: 2; grid-row: 2; }
  .nd-row > .nd-stop { grid-column: 1; grid-row: 3; }
  .nd-row > .nd-pend { grid-column: 2; grid-row: 3; }
  .nd-row > .nd-status { grid-column: 2; grid-row: 1; }
  .nd-row > .nd-id { grid-column: 1; grid-row: 1; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .top-in { height: 58px; gap: 12px; }
  .nav { display: none; }
  .net { display: none; }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: rgba(9, 8, 14, 0.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11px; font-weight: 500; color: var(--dim); border-radius: 10px; }
  .tabbar a .ic { width: 20px; height: 20px; }
  .tabbar a[aria-current='page'] { color: var(--text); }
  .tabbar a[aria-current='page'] .ic { color: var(--violet-2); }
  .page { padding-bottom: 110px; }
  .foot { padding-bottom: 72px; }
  .toasts { bottom: 84px; }
  .hero h1 { font-size: 36px; }
  .hero .lede { font-size: 15.5px; }
  .hero-cta .btn { flex: 1; }
  .block { margin-top: 44px; }
  .stat { padding: 16px; }
  .stat dd { font-size: 20px; }
  .tape { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 0; }
  .tape-head { padding: 0 14px; flex-wrap: wrap; }
  .tape-row { padding: 0 14px; }
  .ix-headrow { display: none; }
  .ix-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 16px; }
  .ix-row .ix-comp { grid-column: 1 / -1; grid-row: 2; }
  .ix-row .ix-level { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: flex-end; }
  .ix-row .ix-chg { grid-column: 2; grid-row: 1; align-self: end; }
  .ix-row .ix-level { align-self: start; }
  .how { grid-template-columns: 1fr; margin-top: 44px; }
  .how-item, .how-item + .how-item { padding: 22px 0; border-left: 0; }
  .how-item + .how-item { border-top: 1px solid var(--line); }
  .ix-head { align-items: flex-start; }
  .ix-level-big { align-items: flex-start; }
  .comp-row { grid-template-columns: minmax(0, 1fr) 76px 92px; padding: 12px 16px; }
  .comp-row > :nth-child(2) { display: none; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .panel-head { padding: 16px 16px 12px; }
  .mint > *:not(.panel-head), .preview > *:not(.panel-head) { margin-left: 16px; margin-right: 16px; }
  .picker { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); padding: 0 16px 8px; }
  .step { padding: 18px 16px 10px; }
  .weights, .sum { padding-left: 16px; padding-right: 16px; }
  .field { padding: 0 16px 20px; }
  .wrow { grid-template-columns: 50px minmax(0, 1fr) 84px 28px; gap: 8px; }
  .stop-row { grid-template-columns: minmax(0, 1fr) auto; }
  .stop-row > :nth-child(3) { grid-column: 1 / -1; }
  .stop-row > :nth-child(4) { grid-column: 1 / -1; justify-self: stretch; }
  .stop-row > :nth-child(4) .btn { width: 100%; }
  .nd-row { padding: 14px 16px; }
  .foot-links { margin-left: 0; }
  .amt-row input, .amt-row output { font-size: 24px; }
}
@media (max-width: 400px) {
  .tiers { gap: 6px; }
  .tier { padding: 10px 10px 12px; }
  .tier-price { font-size: 15.5px; }
  .tier-foot { flex-direction: column; gap: 1px; }
  .stat dd { font-size: 18px; }
  .brand .word { font-size: 18px; }
}

/* ------------------------------------------------------------------ stock logos */
.slogo {
  flex: none; display: inline-block; width: 20px; height: 20px;
  border-radius: 6px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: #15141c;
}
.slogo.xs { width: 14px; height: 14px; border-radius: 4px; align-self: center; }
.slogo.sm { width: 20px; height: 20px; }
.slogo.md { width: 32px; height: 32px; border-radius: 8px; }
.slogo-none {
  display: inline-grid; place-items: center;
  font: 600 10px/1 var(--mono); color: var(--muted);
}
.chip { align-items: center; }
.tk { display: inline-flex; align-items: center; gap: 6px; }
.comp-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pick-id { display: inline-flex; align-items: center; gap: 8px; }
.wrow-id { display: inline-flex; align-items: center; gap: 8px; }
.pick-top { gap: 6px; }
.pick-id { gap: 6px; min-width: 0; }
.pick-id .slogo { width: 16px; height: 16px; border-radius: 5px; }

/* ------------------------------------------------------------------ docs */
.docs { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; padding: 40px 0 80px; }
.doc-rail-in { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; }
.doc-rail-h { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 0 0 10px 10px; }
.doc-rail a { color: var(--muted); font-size: 13.5px; padding: 6px 10px; border-radius: 6px; text-decoration: none; border-left: 1px solid transparent; }
.doc-rail a:hover { color: var(--text); background: rgba(255,255,255,.03); }
.doc-rail a[aria-current] { color: var(--text); background: var(--violet-soft); }
.doc { max-width: 760px; min-width: 0; }
.doc-head { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.doc-head h1 { font-size: 44px; letter-spacing: -.03em; margin: 8px 0 12px; }
.eyebrow { font: 500 12px/1 var(--mono); color: var(--violet-2); text-transform: uppercase; letter-spacing: .08em; }
.doc section { padding: 36px 0 8px; scroll-margin-top: 84px; }
.doc section + section { border-top: 1px solid var(--line); }
.doc h2 { font-size: 22px; letter-spacing: -.01em; margin: 0 0 14px; }
.doc h3 { font-size: 15px; margin: 22px 0 8px; }
.doc p { color: var(--muted); line-height: 1.7; margin: 0 0 14px; font-size: 15px; }
.doc p b, .doc li b { color: var(--text); font-weight: 500; }
.doc .small { font-size: 13px; }
.doc-list, .doc-steps { margin: 0 0 16px; padding-left: 20px; color: var(--muted); line-height: 1.7; font-size: 15px; }
.doc-list li, .doc-steps li { margin: 6px 0; padding-left: 4px; }
.doc-steps li::marker { color: var(--violet-2); font-family: var(--mono); }
.doc-formula { background: rgba(123,92,255,.07); border: 1px solid var(--violet-line); color: var(--violet-3); border-radius: 10px; padding: 14px 16px; margin: 4px 0 16px; font-size: 13.5px; overflow-x: auto; white-space: nowrap; }
.doc-keys { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 18px; }
.doc-keys > div { background: #0b0a10; padding: 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.doc-keys .lbl { font-size: 12px; color: var(--dim); }
.doc-keys b { font-weight: 500; }
.doc-keys .dim { font-size: 12px; }
.doc-table { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; margin: 4px 0 16px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.doc-table th { text-align: left; font-weight: 400; color: var(--dim); font-size: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.doc-table td { padding: 11px 14px; border-top: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
.doc-table tr:first-child td { border-top: 0; }
.doc-table td b { color: var(--text); font-weight: 500; }
.doc-table .r { text-align: right; white-space: nowrap; }
.doc-table a { color: var(--violet-3); word-break: break-all; }
.doc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.doc-stocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 4px 0 16px; }
.doc-stock { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; min-width: 0; }
.doc-stock .dim { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.doc details { border: 1px solid var(--line); border-radius: 10px; margin: 0 0 8px; padding: 0 16px; }
.doc summary { cursor: pointer; padding: 14px 0; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.doc summary::after { content: '+'; color: var(--dim); font-family: var(--mono); }
.doc details[open] summary::after { content: '−'; }
.doc summary::-webkit-details-marker { display: none; }
.doc details p { margin-top: -4px; }
.doc-foot { margin-top: 32px; }
@media (max-width: 900px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 16px; }
  .doc-rail { position: sticky; top: 56px; z-index: 5; background: rgba(7,6,11,.92); backdrop-filter: blur(10px); margin: 0 -16px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
  .doc-rail-in { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .doc-rail-in::-webkit-scrollbar { display: none; }
  .doc-rail-h { display: none; }
  .doc-rail a { white-space: nowrap; }
  .doc-keys { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .doc-head h1 { font-size: 34px; }
}

/* ------------------------------------------------------------ mint: pay with MON | DANOM */
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px !important; }
.pay-row:empty { display: none; }
.pay-seg button { min-width: 64px; }
.pay-seg button:disabled { opacity: 0.45; }
.pay-steps { list-style: none; display: flex; gap: 14px; margin: 0 0 10px; padding: 0; font-size: 12.5px; color: var(--dim); }
.pay-steps li { display: inline-flex; align-items: center; gap: 6px; }
.pay-steps span { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; border: 1px solid var(--line-2); }
.pay-steps li.now { color: var(--text); }
.pay-steps li.now span { border-color: var(--violet); color: var(--violet-3); }
.pay-steps li.done { color: var(--muted); }
.pay-steps li.done span { border-color: var(--up); color: var(--up); }
.stat-sub2 { font-size: 12px; color: var(--dim); margin-top: 2px; }
