@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin-400-normal-V6pRDFza.woff2) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin-700-normal-BYuf6tUa.woff2) format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-latin-500-normal-lFbtlQH6.woff2) format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-latin-600-normal-DjKNqYRj.woff2) format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-latin-700-normal-RjhwGPKo.woff2) format("woff2");
}
:root {
  --bg: #f5f6f3;
  --surface: #ffffff;
  --surface-2: #fafaf8;
  --ink: #16181d;
  --muted: #565b64;
  --faint: #878d97;
  --line: #e4e5e0;
  --line-strong: #cbcdd0;
  --accent: #3556d4;
  --accent-hover: #2b46b8;
  --accent-ink: #2440ab;
  --accent-soft: #ebf0fe;
  --accent-border: #c3cfF5;
  --on-accent: #ffffff;
  --ok: #177a4c;
  --ok-wash: #e7f5ec;
  --ok-border: #bfe0cd;
  --warn: #96660a;
  --warn-wash: #faf1df;
  --warn-border: #e6d3a4;
  --danger: #b42318;
  --danger-wash: #fdeeec;
  --danger-border: #eec2bd;
  --teal: #0f766e;
  --teal-wash: #e4f4f2;
  --shadow-1: 0 1px 2px rgba(18, 20, 26, 0.05);
  --shadow-2: 0 2px 6px rgba(18, 20, 26, 0.07), 0 8px 24px rgba(18, 20, 26, 0.06);
  --shadow-3: 0 4px 12px rgba(18, 20, 26, 0.10), 0 16px 40px rgba(18, 20, 26, 0.12);
  --topbar-bg: #16181d;
  --topbar-ink: #f2f3f5;
  --topbar-dim: #9aa1ab;
  --topbar-line: #2b2f36;
  --mono:
    "JetBrains Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  --sans:
    "Inter",
    -apple-system,
    "Segoe UI",
    system-ui,
    sans-serif;
  --display: "Space Grotesk", var(--sans);
  --radius: 8px;
  --radius-sm: 6px;
  --maxw: 1180px;
  --logo-tile: #ffffff;
  --logo-glyph: #0e1013;
  --logo-ring: #e2e3df;
}
[data-theme=dark] {
  --bg: #0e1013;
  --surface: #15181d;
  --surface-2: #1a1e24;
  --ink: #e7e9ee;
  --muted: #a2a8b4;
  --faint: #707784;
  --line: #262b33;
  --line-strong: #3a414c;
  --accent: #8fa8ff;
  --accent-hover: #a5b9ff;
  --accent-ink: #aabdff;
  --accent-soft: #1b2340;
  --accent-border: #31406e;
  --on-accent: #0e1013;
  --ok: #4cc38a;
  --ok-wash: #12271c;
  --ok-border: #1f4a34;
  --warn: #dfb356;
  --warn-wash: #2b2413;
  --warn-border: #554421;
  --danger: #f28b7d;
  --danger-wash: #2e1917;
  --danger-border: #5c2c26;
  --teal: #5ec9c0;
  --teal-wash: #112a28;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, 0.45), 0 10px 28px rgba(0, 0, 0, 0.35);
  --shadow-3: 0 6px 16px rgba(0, 0, 0, 0.5), 0 20px 48px rgba(0, 0, 0, 0.45);
  --topbar-bg: #12151a;
  --topbar-ink: #eceef2;
  --topbar-dim: #8b919c;
  --topbar-line: #262b33;
  --logo-tile: #0e1013;
  --logo-glyph: #ffffff;
  --logo-ring: #2e3440;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  color-scheme: light;
}
[data-theme=dark] {
  color-scheme: dark;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: var(--accent-ink);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
code,
.mono {
  font-family: var(--mono);
  font-size: 12.5px;
}
::selection {
  background: var(--accent-soft);
}
.gate-hint {
  font-size: 11px;
  color: var(--faint);
  margin-top: 5px;
  line-height: 1.4;
  text-align: left;
}
.read-fail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 2px;
  font-size: 13px;
}
.read-fail b {
  color: var(--danger);
}
.read-fail span {
  color: var(--muted);
  line-height: 1.45;
}
.field .hint.hint-err {
  color: var(--danger);
}
.m-desk-name {
  display: none;
}
.gb-close {
  display: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--topbar-bg);
  color: var(--topbar-ink);
  border-bottom: 1px solid var(--topbar-line);
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: var(--topbar-ink);
  background: none;
  border: none;
  padding: 4px 2px;
}
.brand .brand-mark {
  flex: none;
}
.brand .lm-auto {
  border-radius: 22.5%;
}
.brand .v {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10.5px;
  color: var(--topbar-dim);
  border: 1px solid var(--topbar-line);
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: 0.4px;
}
.topbar .spacer {
  flex: 1;
}
.chip {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--topbar-dim);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}
.chip .dot.ok {
  background: #3fbf7f;
  box-shadow: 0 0 6px rgba(63, 191, 127, 0.7);
}
.chip .dot.bad {
  background: #e5695a;
}
.chip .dot.warn {
  background: #dfb356;
}
.chip.select {
  padding: 0;
  overflow: hidden;
}
.chip.select select {
  appearance: none;
  background: transparent;
  color: var(--topbar-ink);
  border: none;
  font: 500 12px var(--mono);
  padding: 5px 22px 5px 10px;
  outline: none;
  cursor: pointer;
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      var(--topbar-dim) 50%),
    linear-gradient(
      135deg,
      var(--topbar-dim) 50%,
      transparent 50%);
  background-position: calc(100% - 13px) 55%, calc(100% - 9px) 55%;
  background-size: 4px 4px;
  background-repeat: no-repeat;
}
.chip.select select option {
  color: #16181d;
  background: #ffffff;
}
.addr-chip {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--topbar-ink);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.addr-chip:hover {
  border-color: #4a5160;
  background: rgba(255, 255, 255, 0.09);
}
.addr-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fbf7f;
  flex: none;
}
.topbar-btn {
  appearance: none;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.055);
  color: var(--topbar-ink);
  font: 600 12.5px var(--sans);
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition:
    background-color 130ms ease,
    border-color 130ms ease,
    transform 90ms ease,
    box-shadow 130ms ease;
}
.topbar-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #4a5160;
}
.topbar-btn:active {
  transform: translateY(1px) scale(0.98);
}
.topbar-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 650;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.topbar-btn.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.icon-btn {
  appearance: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.055);
  color: var(--topbar-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  transition:
    background-color 130ms ease,
    color 130ms ease,
    border-color 130ms ease,
    transform 90ms ease;
}
.icon-btn:hover {
  color: var(--topbar-ink);
  background: rgba(255, 255, 255, 0.1);
  border-color: #4a5160;
}
.icon-btn:active {
  transform: scale(0.92);
}
.wallet-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  width: 300px;
  max-width: min(300px, calc(100vw - 24px));
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-3);
  padding: 6px;
  animation: pop-in 140ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.wallet-head {
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--faint);
  padding: 8px 10px 6px;
  font-family: var(--mono);
}
.wallet-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 8px);
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font: 500 13.5px var(--sans);
  color: var(--ink);
  margin: 0 4px 8px;
  padding: 11px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background-color 110ms ease,
    border-color 110ms ease,
    transform 90ms ease;
}
.wallet-row:hover {
  background: var(--accent-soft);
  border-color: var(--accent-border);
}
.wallet-row:active {
  transform: scale(0.985);
}
.wallet-row img {
  border-radius: 4px;
}
.wallet-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-block;
  flex: none;
}
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 60px;
  z-index: 40;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar {
  display: none;
}
.nav-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font: 500 13.5px var(--sans);
  color: var(--muted);
  padding: 14px 14px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 120ms ease, border-color 120ms ease;
  margin-bottom: -1px;
}
.nav-tab:hover {
  color: var(--ink);
  background:
    linear-gradient(
      to top,
      var(--surface-2),
      transparent);
}
.nav-tab.on {
  color: var(--accent-ink);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 20px 90px;
  width: 100%;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.grid2,
.grid3 {
  align-items: stretch;
}
.grid2 > .panel + .panel,
.grid3 > .panel + .panel {
  margin-top: 0;
}
.grid2 > .panel,
.grid3 > .panel {
  margin-bottom: 0;
}
@media (max-width: 9000px) {
  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-1);
}
.panel + .panel {
  margin-top: 18px;
}
.panel > h3 {
  margin: 0 0 4px;
  font: 600 16px var(--display);
  letter-spacing: 0.1px;
}
.panel .sub {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}
.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.panel-head .sub {
  margin-bottom: 8px;
}
.kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 6px;
}
.h1 {
  font: 700 clamp(26px, 4vw, 36px)/1.12 var(--display);
  letter-spacing: -0.4px;
  margin: 0 0 14px;
  text-wrap: balance;
}
.h2 {
  font: 700 clamp(19px, 2.6vw, 23px)/1.25 var(--display);
  letter-spacing: -0.2px;
  margin: 38px 0 12px;
  text-wrap: balance;
}
.lead {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 780px;
  margin: 0 0 10px;
  line-height: 1.6;
}
.small {
  font-size: 12.5px;
  color: var(--muted);
}
.dim {
  color: var(--faint);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px 14px;
  align-items: end;
  padding-bottom: 26px;
}
.form-grid .field {
  position: relative;
}
.form-grid .field .hint {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 4px;
  min-height: 0;
}
.form-grid .actions {
  display: flex;
  align-items: flex-end;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
.field > label {
  font: 600 12px var(--sans);
  color: var(--muted);
  letter-spacing: 0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 18px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: 400 14px var(--sans);
  padding: 9px 12px;
  outline: none;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease,
    background-color 120ms ease;
  min-width: 0;
}
.field textarea {
  font-family: var(--mono);
  font-size: 12.5px;
  min-height: 64px;
  resize: vertical;
}
.field input:hover:not(:disabled),
.field select:hover:not(:disabled),
.field textarea:hover:not(:disabled) {
  border-color: var(--faint);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input.invalid {
  border-color: var(--danger);
}
.field input.invalid:focus {
  box-shadow: 0 0 0 3px var(--danger-wash);
}
.field .hint {
  font-size: 11.5px;
  color: var(--faint);
  min-height: 14px;
}
.field .hint.strong {
  color: var(--muted);
  font-weight: 500;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.row.end {
  align-items: flex-end;
}
.btn {
  appearance: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  font: 600 13.5px var(--sans);
  padding: 9px 18px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 90ms ease,
    box-shadow 130ms ease,
    background-color 130ms ease,
    border-color 130ms ease,
    color 130ms ease,
    opacity 130ms ease;
  box-shadow: var(--shadow-1);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover:not(:disabled) {
  box-shadow: var(--shadow-2);
}
@media (hover: hover) {
  .btn:hover:not(:disabled) {
    transform: translateY(-1px);
  }
}
.btn:active:not(:disabled) {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.22);
  transition-duration: 40ms;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.btn.primary,
.btn.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.btn.accent:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn.ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn.ghost:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--surface-2);
}
.btn.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}
.btn.danger:hover:not(:disabled) {
  filter: brightness(1.08);
}
.btn.danger-ghost {
  background: var(--surface);
  color: var(--danger);
  border-color: var(--danger-border);
  box-shadow: none;
}
.btn.danger-ghost:hover:not(:disabled) {
  background: var(--danger-wash);
  border-color: var(--danger);
}
.btn.ok {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.btn.small {
  padding: 6px 12px;
  font-size: 12.5px;
}
.btn.tiny {
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 500;
}
.btn.block {
  width: 100%;
}
.btn .spinner {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex: none;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: spin 700ms linear infinite;
  opacity: 0.9;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2.5px 9px;
  color: var(--muted);
  background: var(--surface);
  white-space: nowrap;
}
.badge.ok {
  color: var(--ok);
  border-color: var(--ok-border);
  background: var(--ok-wash);
}
.badge.warn {
  color: var(--warn);
  border-color: var(--warn-border);
  background: var(--warn-wash);
}
.badge.danger {
  color: var(--danger);
  border-color: var(--danger-border);
  background: var(--danger-wash);
}
.badge.accent {
  color: var(--accent-ink);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.badge.teal {
  color: var(--teal);
  border-color: var(--ok-border);
  background: var(--teal-wash);
}
.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.badge.pulse .dot {
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.tbl-wrap {
  overflow-x: auto;
  margin: 0 -6px;
  padding: 0 6px;
}
table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 560px;
}
.tbl th {
  text-align: left;
  font: 500 10.5px var(--mono);
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
  padding: 8px 10px 7px;
  white-space: nowrap;
}
.tbl td {
  border-bottom: 1px solid var(--line);
  padding: 11px 10px;
  vertical-align: middle;
}
.tbl tbody tr {
  transition: background-color 100ms ease;
}
.tbl tbody tr:hover {
  background: var(--surface-2);
}
.tbl tr:last-child td {
  border-bottom: none;
}
.tbl .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.trade-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 18px;
  margin-top: 14px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.trade-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-1);
}
.trade-card.closed {
  background: var(--surface-2);
}
.trade-card-head {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
}
.trade-card-head .id {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
}
.trade-card-head .meta {
  font-size: 12.5px;
  color: var(--muted);
}
.trade-card-head .spacer {
  flex: 1;
}
.tc-toggle {
  appearance: none;
  background: none;
  border: none;
  padding: 2px 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.tc-chev {
  color: var(--faint);
  font-size: 11px;
  transition: transform 140ms ease;
  display: inline-block;
}
.tc-chev.open {
  transform: rotate(90deg);
}
.tc-sum {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.tc-sum .k {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--faint);
}
.tc-sum.mono {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
}
.trade-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px dashed var(--line);
}
.closed-fold {
  margin-top: 14px;
}
.closed-list {
  margin-top: 4px;
}
.closed-list {
  max-height: 150px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding-right: 2px;
}
.closed-list::-webkit-scrollbar {
  width: 4px;
}
.closed-list::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}
.closed-fold .trade-card {
  opacity: 0.92;
}
.fact-row {
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
}
.fact {
  min-width: 0;
}
.fact .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--faint);
}
.fact .v {
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 2px;
}
.fact .v.mono {
  font-weight: 400;
  font-family: var(--mono);
  font-size: 12.5px;
}
.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.cycle {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  padding: 6px 2px 2px;
  gap: 0;
}
.cycle-node {
  min-width: 132px;
  flex: 1;
  position: relative;
  padding: 0 14px 0 0;
}
.cycle-node .ball {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 11px var(--mono);
  color: var(--faint);
  position: relative;
  z-index: 1;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
}
.cycle-node.done .ball {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.cycle-node.now .ball {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  animation: breathe 2.2s ease infinite;
}
@keyframes breathe {
  0%, 100% {
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
  50% {
    box-shadow: 0 0 0 7px var(--accent-soft);
  }
}
.cycle-node .rail {
  position: absolute;
  top: 13px;
  left: 26px;
  right: 0;
  height: 2px;
  background: var(--line);
}
.cycle-node .rail.done {
  background: var(--ok);
}
.cycle-node .t {
  font: 600 12.5px var(--sans);
  margin-top: 8px;
  color: var(--muted);
}
.cycle-node.done .t,
.cycle-node.now .t {
  color: var(--ink);
}
.cycle-node .fn {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  margin-top: 1px;
}
.cycle-node .d {
  font-size: 11px;
  color: var(--faint);
  margin-top: 3px;
  line-height: 1.4;
}
.cycle-branches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cycle-branch {
  font-size: 11.5px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  padding: 4px 11px;
  background: var(--surface-2);
}
.cycle-branch b {
  font-weight: 600;
  color: var(--ink);
}
.cycle-branch.hot {
  border-color: var(--danger-border);
  background: var(--danger-wash);
  color: var(--danger);
}
.cycle-branch.hot b {
  color: var(--danger);
}
.cycle-branch.good {
  border-color: var(--ok-border);
  background: var(--ok-wash);
  color: var(--ok);
}
.cycle-branch.good b {
  color: var(--ok);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.step {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.step .n {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
}
.step .t {
  font: 600 13px var(--display);
  margin: 3px 0 2px;
}
.step .d {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}
.note {
  border: 1px solid var(--accent-border);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 11px 15px;
  font-size: 13px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  margin: 12px 0;
}
.note.mono {
  font-family: var(--mono);
  font-size: 12px;
}
.note.warn {
  border-color: var(--warn-border);
  border-left-color: var(--warn);
  background: var(--warn-wash);
}
.note.danger {
  border-color: var(--danger-border);
  border-left-color: var(--danger);
  background: var(--danger-wash);
}
.note.ok {
  border-color: var(--ok-border);
  border-left-color: var(--ok);
  background: var(--ok-wash);
}
.fn-ref {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.fn-ref > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font: 600 14px var(--display);
  color: var(--ink);
  user-select: none;
  transition: background-color 120ms ease;
}
.fn-ref > summary::-webkit-details-marker {
  display: none;
}
.fn-ref > summary::before {
  content: "\25b8  ";
  color: var(--accent-ink);
}
.fn-ref[open] > summary::before {
  content: "\25be  ";
}
.fn-ref > summary:hover {
  background: var(--surface-2);
}
.fn-ref > summary:focus-visible {
  outline-offset: -2px;
}
.fn-ref .panel {
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid var(--line);
}
.ladder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.ladder-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  background: var(--surface-2);
}
.ladder-item .mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--faint);
  margin-top: 1px;
}
.ladder-item.done {
  border-color: var(--ok-border);
  background: var(--ok-wash);
  color: var(--ink);
}
.ladder-item.done .mark {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.ladder-item.active {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--ink);
}
.ladder-item.active .mark {
  border-color: var(--accent);
  color: var(--accent);
  animation: pulse 1.6s ease infinite;
}
.ladder-item.failed {
  border-color: var(--danger-border);
  background: var(--danger-wash);
  color: var(--danger);
}
.ladder-item.failed .mark {
  border-color: var(--danger);
  color: var(--danger);
}
.ladder-item b {
  font-weight: 600;
}
.chat-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  color: var(--muted);
}
.chat-head .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}
.chat-head .dot.ok {
  background: var(--ok);
  box-shadow: 0 0 5px rgba(23, 122, 76, 0.5);
}
.chat-head .dot.bad {
  background: var(--danger);
}
.chat-head .spacer {
  flex: 1;
}
.chatlog {
  height: 240px;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
}
.msg {
  max-width: 78%;
}
.msg .who {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  margin-bottom: 2px;
}
.msg .body {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: var(--shadow-1);
}
.msg.mine {
  align-self: flex-end;
}
.msg.mine .body {
  background: var(--accent-soft);
  border-color: var(--accent-border);
}
.msg.piece .body {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  font-family: var(--mono);
  font-size: 11.5px;
}
.msg.sys {
  align-self: center;
  max-width: 100%;
}
.msg.sys .body {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--faint);
  font-size: 11.5px;
  text-align: center;
  padding: 0;
}
.chat-input {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.chat-input input {
  flex: 1;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 400 13.5px var(--sans);
  padding: 8px 15px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.chat-input input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.wt-rail {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.wt-node {
  flex: 1;
  min-width: 128px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: none;
  border: none;
  border-top: 2px solid var(--line);
  padding: 14px 12px 8px 0;
  cursor: pointer;
  text-align: left;
  color: var(--muted);
  font: 500 12.5px var(--sans);
  transition: border-color 140ms ease, color 140ms ease;
}
.wt-node:hover {
  color: var(--ink);
  border-top-color: var(--line-strong);
}
.wt-node.on {
  border-top-color: var(--accent);
  color: var(--ink);
}
.wt-node.done {
  border-top-color: var(--ok);
}
.wt-ball {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 11px var(--mono);
  color: var(--faint);
}
.wt-node.on .wt-ball {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.wt-node.done .wt-ball {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.wt-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 16px 18px;
  margin-top: 12px;
  animation: pop-in 140ms ease;
}
.wt-title {
  font: 600 15.5px var(--display);
}
.wt-who {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-ink);
  margin-top: 2px;
}
.wt-what {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.6;
  margin: 10px 0 12px;
}
.wt-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--surface);
}
.wt-box b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: var(--mono);
  margin-bottom: 5px;
  color: var(--ink);
}
.wt-box.on {
  border-color: var(--ok-border);
  background: var(--ok-wash);
}
.wt-box.off {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.wt-box.fail {
  border-color: var(--warn-border);
  background: var(--warn-wash);
  margin-top: 10px;
}
.pipe {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.pipe-step {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  background: var(--surface-2);
}
.pipe-step > .mark {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--faint);
  margin-top: 1px;
}
.pipe-step.done {
  border-color: var(--ok-border);
  background: var(--ok-wash);
  color: var(--ink);
}
.pipe-step.done > .mark {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.pipe-step.active {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--ink);
}
.pipe-step.active > .mark {
  border-color: var(--accent);
  color: var(--accent);
  animation: pulse 1.6s ease infinite;
}
.pipe-step.error {
  border-color: var(--danger-border);
  background: var(--danger-wash);
  color: var(--danger);
}
.pipe-step.error > .mark {
  border-color: var(--danger);
  color: var(--danger);
}
.pipe-step b {
  font-weight: 600;
  color: var(--ink);
}
.pipe-title {
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
}
.xnode {
  padding: 4px 2px;
}
.xnode-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}
.xnode-head b {
  font: 600 16px var(--display);
}
.xnode-privacy {
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 12.5px;
  color: var(--ink);
  margin-bottom: 14px;
}
.xnode-privacy b {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.xnode-privacy p {
  margin: 0;
  line-height: 1.55;
}
.xnode-opt {
  margin-bottom: 16px;
}
.xnode-opt-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.xnode-opt-head b {
  font: 600 14px var(--display);
}
.xnode-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.xnode-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: 500 13px var(--sans);
  color: var(--ink);
  padding: 9px 12px;
  cursor: pointer;
  transition:
    border-color 120ms ease,
    background-color 120ms ease,
    transform 90ms ease;
}
.xnode-row:hover {
  border-color: var(--ink);
}
.xnode-row:active {
  transform: scale(0.99);
}
.xnode-row.on {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.xnode-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}
.xnode-label {
  flex: 1;
  min-width: 0;
}
.xnode-input {
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: 400 13px var(--mono);
  padding: 9px 12px;
  outline: none;
  margin-top: 8px;
}
.xnode-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.arb-line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  font-size: 12.5px;
}
.toasts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-3);
  font-size: 13px;
  animation: toast-in 200ms cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
.toast.ok {
  border-left-color: var(--ok);
}
.toast.err {
  border-left-color: var(--danger);
}
.toast.warn {
  border-left-color: var(--warn);
}
.toast .t-title {
  font-weight: 600;
  font-size: 13px;
}
.toast .t-body {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
  word-break: break-word;
}
.toast .t-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--faint);
  font-size: 14px;
  padding: 0 2px;
  line-height: 1;
  border-radius: 4px;
}
.toast .t-close:hover {
  color: var(--ink);
}
.toast.out {
  animation: toast-out 180ms ease forwards;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(24px);
  }
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 12, 16, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fade-in 140ms ease;
}
[data-theme=dark] .modal-overlay {
  background: rgba(0, 0, 0, 0.65);
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-3);
  max-width: 440px;
  width: 100%;
  padding: 22px 24px;
  animation: pop-in 160ms cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
.modal h3 {
  margin: 0 0 8px;
  font: 600 16.5px var(--display);
}
.modal .m-body {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 18px;
  white-space: pre-wrap;
}
.modal .m-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.skel {
  border-radius: var(--radius-sm);
  background:
    linear-gradient(
      90deg,
      var(--surface-2) 25%,
      var(--line) 50%,
      var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
  height: 14px;
}
@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
.empty {
  text-align: center;
  color: var(--faint);
  font-size: 13px;
  padding: 26px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.countdown {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--warn);
  border: 1px solid var(--warn-border);
  background: var(--warn-wash);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}
.countdown.danger {
  color: var(--danger);
  border-color: var(--danger-border);
  background: var(--danger-wash);
}
.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 12px;
  box-shadow: var(--shadow-1);
}
.map-info {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 13px;
  min-height: 74px;
}
.map-info .t {
  font: 600 14.5px var(--display);
}
.map-info .d {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}
.mapnode {
  cursor: pointer;
}
.mapnode rect,
.mapnode path,
.mapnode ellipse {
  transition: fill 0.12s ease, stroke 0.12s ease;
}
.mapnode:hover rect,
.mapnode:hover path,
.mapnode:hover ellipse {
  stroke: var(--ink);
}
.mapnode.sel rect,
.mapnode.sel path,
.mapnode.sel ellipse {
  stroke: var(--accent);
  stroke-width: 1.8;
}
.net-select {
  position: relative;
}
.net-trigger {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--topbar-ink);
  border: 1px solid var(--topbar-line);
  border-radius: 999px;
  padding: 5px 11px;
  background: transparent;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.net-trigger:hover {
  border-color: #4a5160;
  background: rgba(255, 255, 255, 0.06);
}
.net-trigger .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}
.net-trigger .dot.ok {
  background: #3fbf7f;
  box-shadow: 0 0 6px rgba(63, 191, 127, 0.7);
}
.net-trigger .dot.bad {
  background: #e5695a;
}
.net-trigger .net-chev {
  color: var(--topbar-dim);
  font-size: 10px;
  transition: transform 120ms ease;
}
.net-trigger[aria-expanded=true] .net-chev {
  transform: rotate(180deg);
}
.net-scrim {
  position: fixed;
  inset: 0;
  z-index: 59;
}
.net-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  width: 320px;
  max-width: min(320px, calc(100vw - 24px));
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-3);
  padding: 6px;
  animation: pop-in 140ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.net-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  font: 500 13px var(--sans);
  color: var(--ink);
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 110ms ease, transform 90ms ease;
}
.net-row:hover {
  background: var(--accent-soft);
}
.net-row:active {
  transform: scale(0.99);
}
.net-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}
.net-row .dot.ok {
  background: var(--ok);
}
.net-row .dot.bad {
  background: var(--danger);
}
.net-row-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
}
.net-row-chain {
  color: var(--faint);
  font-size: 11px;
}
.net-row .badge {
  flex: none;
}
.net-foot {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding: 8px 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.net-rpc {
  appearance: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font: 500 12.5px var(--sans);
  color: var(--accent-ink);
  width: fit-content;
}
.net-rpc:hover {
  text-decoration: underline;
}
.rpc-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 10px;
}
.rpc-key {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--faint);
}
.guestbar {
  background: var(--warn-wash);
  color: var(--warn);
  border-bottom: 1px solid var(--warn-border);
  font-size: 12.5px;
  text-align: center;
  padding: 7px 16px;
}
.local-import {
  display: flex;
  gap: 8px;
  padding: 6px 10px 2px;
}
.local-import input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: 400 12px var(--mono);
  padding: 7px 10px;
  outline: none;
}
.local-import input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  margin-top: auto;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  gap: 14px 22px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}
.footer .spacer {
  flex: 1;
}
.footer a {
  color: var(--muted);
}
.footer a:hover {
  color: var(--ink);
}
.footer .socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.footer .soc {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 120ms ease, color 120ms ease;
}
.footer a.soc:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.subtabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.subtab {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font: 500 13px var(--sans);
  padding: 7px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    border-color 120ms ease,
    background-color 120ms ease,
    color 120ms ease,
    transform 90ms ease,
    box-shadow 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.subtab:hover {
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.subtab:active {
  transform: scale(0.96);
}
.subtab.on {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
}
.hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}
.kv {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 6px 16px;
  font-size: 13px;
}
.kv .k {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  padding-top: 2px;
}
@media (max-width: 6400px) {
  .kv {
    grid-template-columns: 1fr;
    gap: 0 0;
  }
  .kv .k {
    margin-top: 8px;
  }
}
.txline {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  word-break: break-all;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.txline a {
  white-space: nowrap;
}
.err {
  border: 1px solid var(--danger-border);
  border-left: 3px solid var(--danger);
  background: var(--danger-wash);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  margin-top: 10px;
  font-size: 12.5px;
}
.err .err-what {
  color: var(--danger);
  font-weight: 600;
  white-space: pre-wrap;
}
.err .err-do {
  color: var(--ink);
  margin-top: 3px;
  white-space: pre-wrap;
}
.err .err-details {
  margin-top: 6px;
}
.err .err-details summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.4px;
  color: var(--muted);
  user-select: none;
}
.err .err-details pre {
  margin: 6px 0 0;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 160px;
  overflow-y: auto;
}
.err-inline {
  color: var(--danger);
  font-size: 12.5px;
  margin-top: 8px;
  white-space: pre-wrap;
}
.ok-box {
  border: 1px solid var(--ok-border);
  background: var(--ok-wash);
  color: var(--ok);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  font-size: 12.5px;
  margin-top: 8px;
}
.list-plain {
  margin: 6px 0 0;
  padding-left: 18px;
}
.list-plain li {
  margin: 5px 0;
  font-size: 13.5px;
}
.mt8 {
  margin-top: 8px;
}
.mt12 {
  margin-top: 12px;
}
.mt16 {
  margin-top: 16px;
}
.mt24 {
  margin-top: 24px;
}
.hero {
  padding: 26px 0 6px;
}
.hero .h1 {
  max-width: 820px;
}
.hero-facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.hero-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: var(--shadow-1);
}
.hero-fact b {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 7600px) {
  .topbar-inner {
    padding: 0 14px;
    gap: 8px;
    height: 56px;
  }
  .brand {
    font-size: 15.5px;
  }
  .brand .v {
    display: none;
  }
  .nav {
    top: 56px;
  }
  .nav-tab {
    padding: 12px 12px 10px;
    font-size: 13px;
  }
  .page {
    padding: 20px 14px 80px;
  }
  .panel {
    padding: 16px;
  }
  .hide-sm {
    display: none !important;
  }
  .trade-card {
    padding: 14px;
  }
  .toasts {
    left: 14px;
    right: 14px;
    max-width: none;
  }
  .cycle-node {
    min-width: 116px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.cycle-wrap.closed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 12px 14px;
}
.cycle-closed {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 0 10px;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--line-strong);
}
.cycle-closed .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font: 700 12px var(--mono);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cycle-closed b {
  font: 600 13px var(--sans);
  color: var(--ink);
}
.cycle-closed .dim {
  font-size: 11.5px;
  color: var(--faint);
}
.cycle.closed {
  opacity: 0.85;
}
.cycle.closed .ball {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.cycle.closed .rail {
  background: var(--ok);
  opacity: 0.5;
}
.cycle.closed .cycle-node .t {
  color: var(--muted);
}
.chat-panel.closed {
  background: var(--surface-2);
}
.chat-panel.closed .chat-head {
  opacity: 0.9;
}
.chat-panel.closed .chat-input {
  border-top: 1px dashed var(--line);
}
.trade-done {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid var(--ok-border, var(--line));
  background: var(--ok-wash, var(--surface-2));
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 8px 0;
}
.trade-done .tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font: 700 11px var(--mono);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trade-done b {
  font: 600 13px var(--sans);
  color: var(--ink);
}
.trade-done .dim {
  font-size: 12px;
  color: var(--muted);
}
.opt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 14px 0 10px;
}
@media (max-width: 9800px) {
  .opt-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 5600px) {
  .opt-cards {
    grid-template-columns: 1fr;
  }
}
.opt-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  cursor: pointer;
  color: var(--ink);
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease,
    transform 120ms ease;
}
.opt-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-1);
  transform: translateY(-1px);
}
.opt-card.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.opt-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.opt-card .oc-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.opt-card .oc-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
}
.opt-card .oc-title {
  font: 600 13.5px var(--display);
  letter-spacing: 0.1px;
}
.opt-card .oc-what {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.opt-card .oc-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: auto;
  padding-top: 2px;
}
.opt-fact {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1.5px 7px;
  white-space: nowrap;
}
.acct-embed {
  border-left: 3px solid var(--accent);
}
.acct-embed .acct-collapse {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-wrap: wrap;
}
.acct-embed .acct-collapse h3 {
  margin: 0;
  font: 600 16px var(--display);
  letter-spacing: 0.1px;
}
.acct-embed .acct-collapse .sub {
  margin: 0;
}
.acct-embed .acct-collapse:hover h3 {
  color: var(--accent-ink);
}
.acct-embed .acct-chev {
  margin-left: auto;
  color: var(--faint);
  font-size: 13px;
  transition: transform 140ms ease;
  flex: none;
}
.acct-embed .acct-chev.open {
  transform: rotate(180deg);
}
.acct-embed .acct-collapse .badge {
  flex: none;
}
.acct-embed .acct-collapse > .mono {
  flex: none;
}
.acct-embed .acct-body {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acct-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}
.acct-grid.acct-two {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 6400px) {
  .acct-grid,
  .acct-grid.acct-two {
    grid-template-columns: 1fr;
  }
}
.acct-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.acct-block > .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--faint);
}
.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font: 600 11px var(--sans);
  color: var(--accent-ink);
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 11px;
  white-space: nowrap;
}
.active-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.bal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.bal-table th {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--faint);
  text-align: left;
  padding: 0 0 5px;
}
.bal-table th:nth-child(2),
.bal-table th:nth-child(3) {
  text-align: right;
}
.bal-table td {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.bal-table tr:last-child td {
  border-bottom: none;
}
.bal-table .a {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  width: 58px;
  white-space: nowrap;
}
.bal-table .v {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.bal-table .v.unavailable {
  color: var(--faint);
  font-weight: 400;
}
.bal-hint {
  font-size: 11px;
  color: var(--faint);
  margin-top: 6px;
}
.role-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 7600px) {
  .role-cards {
    grid-template-columns: 1fr;
  }
}
.role-card {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  background: var(--surface-2);
}
.role-card > b {
  font: 600 13px var(--display);
  display: block;
  margin-bottom: 4px;
}
.role-card ul {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.sysmap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px;
  box-shadow: var(--shadow-1);
}
.sm-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.sm-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.sm-head {
  font: 600 10.5px var(--mono);
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 2px 2px;
}
.sm-card {
  text-align: left;
  flex: 1;
  min-height: 52px;
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.sm-card b {
  font: 600 13.5px var(--display);
  color: var(--ink);
}
.sm-card span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
}
.sm-card:hover {
  border-color: var(--ink);
}
.sm-card.sel {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.sm-chat {
  margin-top: 12px;
}
.sm-chat .sm-card {
  border-style: dashed;
}
.sm-relay {
  margin: 10px 2px 0;
  font-size: 11px;
  color: var(--faint);
}
@media (max-width: 9000px) {
  .sm-grid {
    grid-template-columns: 1fr;
  }
}
.modal.auth-sheet {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  max-height: min(660px, calc(100dvh - 24px));
  border-radius: 18px;
  outline: none;
  animation: auth-in 260ms cubic-bezier(0.2, 0.9, 0.3, 1) both;
}
@keyframes auth-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.auth-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 18px 13px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface);
  border-radius: 18px 18px 0 0;
}
.auth-mark {
  flex: none;
  border-radius: 22.5%;
  box-shadow: var(--shadow-1);
  display: block;
}
.auth-titles {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.auth-head h3 {
  margin: 0;
  font: 650 18px var(--display);
  color: var(--ink);
}
.auth-sub {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.auth-x {
  appearance: none;
  cursor: pointer;
  margin-left: auto;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 120ms ease,
    color 120ms ease,
    border-color 120ms ease,
    transform 90ms ease;
}
.auth-x:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface);
}
.auth-x:active {
  transform: scale(0.92);
}
.auth-x svg {
  width: 16px;
  height: 16px;
}
.auth-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 14px 18px 6px;
}
.auth-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-row {
  appearance: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 56px;
  color: var(--ink);
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    transform 90ms ease;
}
.auth-row:hover {
  background: var(--accent-soft);
  border-color: var(--accent-border);
}
.auth-row:active {
  transform: scale(0.99);
}
.auth-row:disabled {
  opacity: 0.6;
  cursor: default;
}
.auth-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-ico svg {
  width: 21px;
  height: 21px;
}
.auth-row .t {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.auth-row .t b {
  font: 600 14px var(--sans);
}
.auth-row .t span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.auth-row .go {
  margin-left: auto;
  color: var(--faint);
  flex: none;
  display: inline-flex;
}
.auth-row .go svg {
  width: 18px;
  height: 18px;
  transition: transform 130ms ease;
}
.auth-row:hover .go {
  color: var(--accent-ink);
}
.auth-row:hover .go svg {
  transform: translateX(3px);
}
.auth-row:hover .auth-ico {
  border-color: var(--accent-border);
  color: var(--accent-ink);
}
.auth-row:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
  border-color: var(--accent-border);
}
.auth-row.lead {
  background: var(--accent-soft);
  border-color: var(--accent-border);
}
.auth-row.lead:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 22px var(--accent-soft);
}
.auth-row.lead .auth-ico {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
  box-shadow: 0 7px 18px var(--accent-soft);
}
.auth-row.lead .go {
  color: var(--accent-ink);
}
.auth-chip {
  flex: none;
  font: 600 9.5px var(--mono);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 3px 8px;
  pointer-events: none;
  white-space: nowrap;
}
.auth-code {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px 6px 6px 14px;
  min-height: 56px;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.auth-code:focus-within {
  border-color: var(--accent-border);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.auth-code input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font: 500 16px var(--mono);
  color: var(--ink);
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.auth-code input::placeholder {
  color: var(--faint);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0;
  text-transform: none;
}
.auth-code.busy {
  opacity: 0.7;
}
.go-btn {
  appearance: none;
  cursor: pointer;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: var(--on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 120ms ease,
    transform 90ms ease,
    opacity 120ms ease;
}
.go-btn:hover {
  background: var(--accent-hover);
}
.go-btn:active {
  transform: scale(0.94);
}
.go-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.go-btn svg {
  width: 18px;
  height: 18px;
}
.go-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.auth-code-hint {
  font-size: 11.5px;
  color: var(--faint);
  margin: 6px 2px 0;
  line-height: 1.45;
}
.auth-guard {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--warn-border);
  background: var(--warn-wash);
  border-radius: 12px;
  padding: 11px 12px;
  margin-bottom: 12px;
}
.auth-guard-ico {
  color: var(--warn);
  flex: none;
  display: inline-flex;
  margin-top: 1px;
}
.auth-guard-ico svg {
  width: 18px;
  height: 18px;
}
.auth-guard p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
}
.auth-guard b {
  color: var(--warn);
}
.auth-codebox {
  appearance: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 14px 10px;
  min-height: 64px;
}
.auth-codebox.hidden {
  color: var(--faint);
  font-size: 12.5px;
  align-items: center;
}
.auth-codebox .cg {
  font: 600 15px var(--mono);
  letter-spacing: 1.2px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  user-select: all;
}
.auth-codebox.hidden .cg {
  border: none;
  background: none;
  font: 400 12.5px var(--sans);
  letter-spacing: 0;
}
.auth-backup-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.auth-backup-actions .btn {
  flex: 1;
}
.auth-confirm {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 12px;
  padding: 12px;
  min-height: 48px;
}
.auth-confirm:has(input:checked) {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.auth-confirm input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex: none;
}
.auth-continue {
  width: 100%;
  margin-top: 14px;
  min-height: 50px;
}
.auth-skip {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  margin: 10px auto 2px;
  padding: 6px 8px;
  font-size: 12px;
  color: var(--faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-skip:hover {
  color: var(--muted);
}
.auth-foot {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 12px 18px;
  padding-bottom: max(12px, calc(12px + env(safe-area-inset-bottom, 0px)));
  text-align: center;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.55;
}
.auth-foot a {
  color: var(--accent-ink);
  font-weight: 550;
}
.spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  flex: none;
  border: 2px solid var(--accent);
  border-top-color: transparent;
  animation: spin 700ms linear infinite;
  opacity: 0.9;
}
.spinner.light {
  border-color: var(--on-accent);
  border-top-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .modal.auth-sheet {
    animation: none;
  }
  .auth-row:hover .go svg {
    transform: none;
  }
}
.lm-auto {
  position: relative;
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.lm-auto .lm-i {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.lm-auto .lm-dark {
  display: none;
}
[data-theme=dark] .lm-auto .lm-dark {
  display: block;
}
[data-theme=dark] .lm-auto .lm-light {
  display: none;
}
.lm-auto.lm-ring {
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px var(--logo-ring);
}
.logo-img {
  display: block;
}
.coin-img {
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.wallet-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(
      120% 90% at 85% -20%,
      var(--accent-soft) 0%,
      transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-1);
  padding: 16px 16px 14px;
  margin: 2px 0 8px;
}
.wc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wc-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 15.5px var(--display);
  letter-spacing: 0.2px;
}
.wc-brand .lm-auto,
.wc-brand img {
  border-radius: 22.5%;
}
.wc-top .chip {
  background: var(--bg);
}
.wc-mid {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0 12px;
  min-width: 0;
}
.wc-me {
  min-width: 0;
}
.wc-label {
  font: 600 10.5px var(--mono);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--muted);
}
.wc-addr {
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-mid .badge {
  margin-left: auto;
  flex: none;
}
.wc-bals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px dashed var(--line-strong);
  padding-top: 12px;
}
.wc-bal {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.wc-bal img {
  border-radius: 50%;
  flex: none;
}
.wc-eth {
  font: 700 15px var(--sans);
  color: var(--accent-ink);
  flex: none;
  width: 22px;
  text-align: center;
}
.wc-amt {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.wc-amt .v {
  font: 650 14.5px var(--display);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-amt .s {
  font: 500 9.5px var(--mono);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.wc-manage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  cursor: pointer;
  font: 600 12.5px var(--sans);
  color: var(--ink);
  appearance: none;
}
.wc-manage .acct-chev {
  transition: transform 140ms ease;
  color: var(--muted);
}
.wc-manage .acct-chev.open {
  transform: rotate(180deg);
}
.wc-manage-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.market-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.market-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 13px 14px 12px;
  box-shadow: var(--shadow-1);
  transition:
    border-color 140ms ease,
    transform 120ms ease,
    box-shadow 140ms ease;
}
.market-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.mc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.mc-coins {
  display: inline-flex;
  align-items: center;
}
.mc-coins img + img {
  margin-left: -8px;
}
.mc-coins img {
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.mc-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 650 10px var(--mono);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--ok) 32%, transparent);
  border-radius: 999px;
  padding: 3px 9px;
}
.mc-name {
  font: 650 17px var(--display);
  margin-bottom: 3px;
}
.mc-sits {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.mc-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  flex-wrap: wrap;
}
.mc-stat {
  font: 650 10.5px var(--mono);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 7px;
  padding: 3px 8px;
}
.mc-fact {
  font: 500 11px var(--mono);
  color: var(--muted);
}
.mc-go {
  margin-left: auto;
  font: 650 12.5px var(--sans);
  color: var(--accent-ink);
  white-space: nowrap;
}
.offer-board {
  display: grid;
  gap: 10px;
}
.offer-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 12px 13px;
  box-shadow: var(--shadow-1);
}
.oc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  min-width: 0;
}
.oc-head .spacer {
  flex: 1;
}
.oc-id {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--muted);
}
.oc-seller {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.oc-mid {
  display: flex;
  align-items: center;
  gap: 11px;
}
.oc-coins img {
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  flex: none;
}
.oc-nums {
  min-width: 0;
}
.oc-fiat {
  font: 700 21px var(--display);
  letter-spacing: 0.2px;
  color: var(--ink);
  line-height: 1.15;
}
.oc-per {
  font-size: 12px;
  color: var(--muted);
}
.oc-per b {
  color: var(--ink);
  font-weight: 650;
}
.oc-rails {
  margin: 9px 0 10px;
}
.oc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.oc-actions .btn.block {
  flex: 1 1 100%;
}
.seg-token {
  display: inline-flex;
  gap: 6px;
}
.seg-opt {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 650 13px var(--sans);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg);
  padding: 8px 13px;
  transition:
    border-color 120ms ease,
    background-color 120ms ease,
    color 120ms ease;
}
.seg-opt img {
  border-radius: 50%;
}
.seg-opt.on {
  color: var(--accent-ink);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.seg-opt:active {
  transform: scale(0.97);
}
.trade-card {
  border-radius: 16px;
  overflow: hidden;
}
.trade-card-head {
  border-bottom: 1px dashed var(--line-strong);
  background:
    radial-gradient(
      100% 140% at 0% 0%,
      var(--accent-soft) 0%,
      transparent 42%);
}
.trade-card.closed .trade-card-head {
  border-bottom-color: transparent;
  background: none;
}
.tc-chev {
  color: var(--accent-ink);
}
.land {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.land-nav {
  position: sticky;
  top: 10px;
  z-index: 50;
  width: calc(100% - 24px);
  max-width: 480px;
  margin: 10px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-2);
}
@supports (backdrop-filter: blur(10px)) {
  .land-nav {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px) saturate(1.4);
  }
  [data-theme=dark] .land-nav {
    background: rgba(21, 24, 29, 0.86);
  }
}
.land-nav-in {
  padding: 0 8px 0 10px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.land-brand {
  font: 700 18px var(--display);
  letter-spacing: 0.2px;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.land-brand:hover {
  color: var(--accent-ink);
}
.land-nav-spacer {
  flex: 1;
}
.land-btn {
  appearance: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font: 600 14.5px var(--sans);
  padding: 13px 24px;
  border: 1px solid transparent;
  transition:
    transform 90ms ease,
    box-shadow 130ms ease,
    background-color 130ms ease,
    border-color 130ms ease,
    color 130ms ease;
  -webkit-tap-highlight-color: transparent;
}
.land-btn .arr {
  font-weight: 500;
  transition: transform 130ms ease;
}
.land-btn:hover .arr {
  transform: translateX(3px);
}
.land-btn:active {
  transform: translateY(1px) scale(0.985);
}
.land-btn.primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-2);
}
.land-btn.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.land-btn.ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-1);
}
.land-btn.ghost:hover {
  border-color: var(--ink);
}
.land-btn.sm {
  padding: 9px 18px;
  font-size: 13.5px;
}
.land-btn.onaccent {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
  box-shadow: var(--shadow-2);
}
.land-btn.onaccent:hover {
  background: var(--surface-2);
}
.land-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.land-hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: -20% -30% auto -30%;
  height: 90%;
  background:
    radial-gradient(
      520px 400px at 50% 8%,
      var(--accent-soft),
      transparent 70%);
}
.land-hero-in {
  position: relative;
  padding: 38px 20px 26px;
  text-align: left;
}
.land-h1 {
  font: 700 clamp(34px, 9vw, 44px)/1.08 var(--display);
  letter-spacing: -1px;
  margin: 0 0 14px;
  text-wrap: balance;
}
.land-h1 em {
  font-style: normal;
  color: var(--accent);
}
.land-lead {
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--muted);
  max-width: 460px;
  margin: 0;
}
.land-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.land-ctas .land-btn {
  flex: 1 1 auto;
}
.land-hero-side {
  margin-top: 26px;
}
.orbit {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.orbit-card {
  position: relative;
  display: grid;
  place-items: center;
}
.orbit-card .mock-float {
  width: min(270px, 72%);
}
.mock-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-3);
  padding: 15px 16px 13px;
}
.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.mock-id {
  font: 700 11.5px var(--mono);
  color: var(--ink);
}
.mock-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.mock-row .k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--faint);
}
.mock-row .v {
  font: 600 12.5px var(--sans);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.mock-row .v.inline-coin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mock-row .v.inline-coin img {
  border-radius: 50%;
}
.mock-row .v.acc {
  color: var(--accent-ink);
}
.mock-cycle {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 14px 2px 2px;
}
.mock-cycle .m-rail {
  position: absolute;
  top: 21px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--line);
}
.mock-cycle .m-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font: 500 9.5px var(--sans);
  color: var(--faint);
  width: 25%;
}
.mock-cycle .m-node i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface);
}
.mock-cycle .m-node.done {
  color: var(--muted);
}
.mock-cycle .m-node.done i {
  background: var(--ok);
  border-color: var(--ok);
}
.mock-cycle .m-node.now {
  color: var(--accent-ink);
  font-weight: 600;
}
.mock-cycle .m-node.now i {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.mock-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.mock-foot .countdown {
  padding: 5px 10px;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .mock-float {
    animation: none;
  }
}
.land-stats {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.land-stats-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 480px;
  margin: 0 auto;
  padding: 22px 20px;
}
.stat {
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat b {
  font: 700 30px/1 var(--display);
  color: var(--accent);
  letter-spacing: -0.8px;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font: 500 11.5px var(--sans);
  color: var(--muted);
}
.stat:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.stat:nth-child(-n+2) {
  border-bottom: 1px solid var(--line);
}
.land-sec {
  border-bottom: 1px solid var(--line);
}
.land-sec-in {
  max-width: 480px;
  margin: 0 auto;
  padding: 42px 20px 46px;
}
.land-sec-narrow {
  max-width: 480px;
}
.land-sec-last {
  border-bottom: none;
}
.land-kicker {
  font: 600 10.5px var(--mono);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 10px;
}
.land-h2 {
  font: 700 27px/1.16 var(--display);
  letter-spacing: -0.5px;
  margin: 0 0 10px;
  text-wrap: balance;
}
.land-sub {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 430px;
  margin: 0 0 20px;
}
.rail-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.rail-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 8px 13px;
  font: 600 12.5px var(--sans);
  color: var(--ink);
}
.rail-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.rail-chip .dot.high {
  background: #e5695a;
}
.rail-chip .dot.low {
  background: #dfb356;
}
.rail-chip .dot.none {
  background: #3fbf7f;
}
.rail-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--faint);
  margin: 0 0 22px;
}
.cash-card {
  background:
    linear-gradient(
      180deg,
      var(--accent-soft),
      var(--surface) 62%);
  border: 1px solid var(--accent-border);
  border-radius: 18px;
  padding: 20px 20px 18px;
}
.cash-contract {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 600 10.5px var(--mono);
  letter-spacing: 0.4px;
  color: var(--muted);
}
.cash-contract .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: #3fbf7f;
  box-shadow: 0 0 0 3px rgba(63, 191, 127, 0.16);
}
.cash-contract .name {
  color: var(--ink);
}
.cash-card h3 {
  margin: 12px 0 8px;
  font: 650 20px var(--display);
  letter-spacing: 0.1px;
}
.cash-card h3 em {
  font-style: normal;
  color: var(--accent-ink);
}
.cash-card > p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}
.cash-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 2px;
}
.cash-tile {
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  background: var(--surface);
  padding: 10px 11px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.cash-tile .ct-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: none;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.cash-tile .ct-ico svg {
  width: 16px;
  height: 16px;
}
.cash-tile .ct-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cash-tile .ct-txt b {
  font: 650 12.5px var(--sans);
  color: var(--ink);
  letter-spacing: 0.1px;
}
.cash-tile .ct-txt p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}
.cash-facts {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cash-facts li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.cash-facts li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
.tl {
  margin: 2px 0 14px;
}
.tl-ph {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 10px;
  padding-bottom: 15px;
}
.tl-ph:last-child {
  padding-bottom: 0;
}
.tl-ph::before {
  content: "";
  position: absolute;
  left: 12.5px;
  top: 28px;
  bottom: 3px;
  width: 1px;
  background: var(--accent-border);
}
.tl-ph:last-child::before {
  display: none;
}
.tl-n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  font: 700 9.5px var(--mono);
  letter-spacing: 0.5px;
  color: var(--accent-ink);
  border: 1px solid var(--accent-border);
  background: var(--surface);
}
.tl-t {
  display: block;
  margin: 4px 0 6px;
  font: 700 11px var(--sans);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink);
}
.tl ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tl li {
  position: relative;
  padding-left: 13px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.tl li::before {
  content: "\b7";
  position: absolute;
  left: 1px;
  color: var(--accent);
  font-weight: 700;
}
.tl-fn {
  font: 600 10px var(--mono);
  letter-spacing: 0.3px;
  color: var(--faint);
  margin: -2px 0 5px;
}
.tl-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  background: var(--surface);
}
.tl-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 16px;
}
.tl-cap {
  font: 600 10.5px var(--mono);
  letter-spacing: 0.3px;
  color: var(--accent-ink);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--surface);
}
.num-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}
.num-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 13px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.num-k {
  font: 700 9.5px var(--mono);
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.num-v {
  font: 700 16px var(--display);
  letter-spacing: 0.2px;
  color: var(--ink);
}
.num-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.ct-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 13px;
  background: var(--surface);
}
.ct-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.ct-friendly {
  font-size: 11px;
  color: var(--accent-ink);
  font-weight: 600;
  margin-top: 2px;
}
.ct-card p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.av-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.av-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 13px;
  background: var(--surface);
}
.av-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 7px;
}
.av-head b {
  font-size: 13px;
}
.av-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.av-row:first-of-type {
  border-top: none;
}
.fn-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fn-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--surface);
}
.fn-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fn-head b {
  font-size: 12.5px;
}
.fn-sig {
  font: 500 10px var(--mono);
  color: var(--faint);
  margin: 3px 0 5px;
  word-break: break-all;
}
.fn-row p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.fn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
}
.fn-group b {
  font: 700 10px var(--mono);
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.sub-seg {
  display: flex;
  gap: 6px;
  margin: 0 0 12px;
}
.sub-seg button {
  flex: 1;
  min-height: 38px;
  border-radius: 11px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font: 600 12.5px var(--sans);
}
.sub-seg button.on {
  color: var(--accent-ink);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.stack-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cash-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cash-ctas .land-btn {
  flex: 1 1 auto;
}
.desk-link {
  margin-top: auto;
  align-self: flex-start;
  font: 600 13.5px var(--sans);
  color: var(--accent-ink);
  text-decoration: none;
  padding-top: 6px;
}
.desk-link:hover {
  text-decoration: underline;
}
.desk-link .arr {
  display: inline-block;
  transition: transform 130ms ease;
}
.desk-link:hover .arr {
  transform: translateX(3px);
}
.proto-wrap {
  padding: 0;
}
.proto-map {
  display: block;
  width: 100%;
  height: auto;
}
.proto-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}
.proto-point {
  display: flex;
  gap: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
}
.proto-point .pp-n {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  flex: none;
  margin-top: 1px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font: 700 12.5px var(--display);
}
.proto-point b {
  display: block;
  font: 600 14.5px var(--sans);
  color: var(--ink);
}
.proto-point p {
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.proto-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.proto-cta .land-btn {
  width: 100%;
}
.flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.flow-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
}
.flow-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flow-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex: none;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.flow-ico svg {
  width: 20px;
  height: 20px;
}
.flow-head h3 {
  margin: 0;
  font: 600 17px var(--display);
}
.flow-head div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.flow-tag {
  font: 500 10.5px var(--mono);
  letter-spacing: 0.4px;
  color: var(--faint);
}
.flow-steps {
  position: relative;
  margin-top: 10px;
}
.flow-steps::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 1px;
  background: var(--line);
}
.flow-step {
  position: relative;
  display: flex;
  gap: 13px;
  padding: 9px 0;
}
.flow-step:last-child {
  padding-bottom: 2px;
}
.flow-step .n {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  flex: none;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-ink);
  font: 700 12px var(--mono);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.flow-step b {
  display: block;
  font: 600 13.5px var(--sans);
  color: var(--ink);
}
.flow-step p {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.flow-note {
  margin-top: 12px;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface-2);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}
.flow-note.ok {
  border-left-color: var(--ok);
}
.side-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}
.side-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.side-head .side-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex: none;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font: 700 16px var(--display);
}
.side-head h3 {
  margin: 0;
  font: 600 17px var(--display);
}
.side-head p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--faint);
}
.side-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.side-panel > .side-note {
  margin-top: auto;
}
.side-note.ok {
  border-color: var(--ok-border);
  border-left-color: var(--ok);
  background: var(--ok-wash);
}
.cmp-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px 20px 14px;
}
.cmp-half {
  padding: 16px 0 12px;
}
.cmp-half + .cmp-half {
  border-top: 1px dashed var(--line);
}
.cmp-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
}
.cmp-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex: none;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  place-items: center;
}
.cmp-ico svg {
  width: 16px;
  height: 16px;
}
.cmp-head div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cmp-half h3 {
  margin: 0;
  font: 600 15px var(--display);
  color: var(--ink);
}
.cmp-tag {
  font: 500 10.5px var(--mono);
  letter-spacing: 0.4px;
  color: var(--faint);
}
.cmp-half ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cmp-half li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.cmp-half li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
.cmp-half.priv li {
  color: var(--ink);
}
.cmp-half.priv li::before {
  color: var(--muted);
}
.cex-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.cex-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px 10px;
}
.cex-head {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 4px;
}
.cex-head h3 {
  margin: 0;
  font: 600 16px var(--display);
  color: var(--ink);
}
.cex-tag {
  font: 500 10.5px var(--mono);
  letter-spacing: 0.4px;
  color: var(--faint);
}
.cex-item {
  display: flex;
  gap: 11px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}
.cex-head + .cex-item {
  border-top: none;
}
.cex-item .m {
  width: 21px;
  height: 21px;
  border-radius: 7px;
  flex: none;
  margin-top: 1px;
  display: grid;
  place-items: center;
  font: 700 12px var(--mono);
}
.cex-item.gain .m {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-ink);
}
.cex-item.off .m {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.cex-item b {
  display: block;
  font: 600 13.5px var(--sans);
  color: var(--ink);
}
.cex-item p {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.land-faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}
.land-faq summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
  padding: 15px 44px 15px 18px;
  font: 600 14px var(--display);
  color: var(--ink);
  transition: background-color 120ms ease;
  position: relative;
}
.land-faq summary::-webkit-details-marker {
  display: none;
}
.land-faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font: 400 20px/1 var(--sans);
  color: var(--accent-ink);
  transition: transform 140ms ease;
}
.land-faq details[open] summary::after {
  content: "\2212";
}
.land-faq summary:hover {
  background: var(--surface-2);
}
.land-faq details p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}
.cta-card {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  border-radius: 24px;
  padding: 28px 24px 26px;
  color: #fff;
  box-shadow: var(--shadow-3);
}
.cta-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font: 600 10px var(--mono);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.cta-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font: 700 25px/1.16 var(--display);
  letter-spacing: -0.4px;
  color: #fff;
  text-wrap: balance;
}
.cta-card .cta-body {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.9);
  max-width: 360px;
}
.cta-card .land-btn {
  position: relative;
  z-index: 1;
}
.code-tile {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 13px 16px;
  margin: 0 0 20px;
  max-width: 320px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.code-bars {
  display: flex;
  gap: 16px;
}
.code-bars .grp {
  display: flex;
  gap: 4px;
}
.code-bars .grp i {
  width: 9px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  display: block;
}
.code-bars .grp:nth-child(even) i {
  background: rgba(255, 255, 255, 0.55);
}
.code-cap {
  font: 500 10.5px var(--mono);
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.78);
}
.land-footer {
  margin-top: auto;
}
.land-foot-in {
  max-width: 480px;
  margin: 0 auto;
  padding: 34px 20px 42px;
}
.land-foot-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.land-foot-links {
  display: flex;
  gap: 4px 16px;
  flex-wrap: wrap;
}
.land-foot-links a {
  font: 500 13px var(--sans);
  color: var(--muted);
  text-decoration: none;
}
.land-foot-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.land-foot-note {
  margin: 12px 0 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--faint);
}
.land-foot-contracts {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.4px;
  color: var(--faint);
  overflow-wrap: anywhere;
}
.land-foot-social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.land-foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
}
.land-foot-social a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.land-foot-social svg {
  width: 18px;
  height: 18px;
  display: block;
}
.land-foot-social .soc-soon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--faint);
  border: 1px dashed var(--line-strong);
  opacity: 0.75;
}
.land-foot-social .soc-soon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 380px) {
  .land-hero-in {
    padding: 34px 16px 22px;
  }
  .land-sec-in {
    padding: 38px 16px 42px;
  }
  .stat b {
    font-size: 26px;
  }
  .land-h1 {
    font-size: 31px;
  }
}
.bottomnav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.05);
}
[data-theme=dark] .bottomnav {
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}
.bn-in {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  max-width: 640px;
  margin: 0 auto;
}
.bn-item {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 6px 2px 5px;
  border-radius: 12px;
  color: var(--faint);
  font: 600 9.5px var(--sans);
  letter-spacing: 0.1px;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 120ms ease,
    background-color 120ms ease,
    transform 90ms ease;
}
.bn-item .bn-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 27px;
  border-radius: 999px;
  transition: background-color 150ms ease;
}
.bn-item svg {
  width: 22px;
  height: 22px;
}
.bn-item img {
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 50%;
}
.bn-item .tbi-on {
  display: none;
}
.bn-item.on .tbi {
  display: none;
}
.bn-item.on .tbi-on {
  display: block;
}
.bn-item.on img:not(.tbi-on) {
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.bn-item.on {
  color: var(--accent-ink);
  background: transparent;
}
.bn-item.on .bn-ico {
  background: var(--accent-soft);
}
.bn-item:active {
  transform: scale(0.93);
}
@media (max-width: 7600px) {
  .nav {
    display: none;
  }
  .bottomnav {
    display: block;
  }
  .page {
    padding-bottom: 118px;
  }
  .topbar-inner {
    height: 54px;
  }
  .topbar-btn,
  .icon-btn,
  .addr-chip {
    min-height: 40px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 10px 12px;
  }
  .btn {
    min-height: 44px;
  }
  .btn.small,
  .btn.tiny {
    min-height: 36px;
  }
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal {
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
    max-height: 92dvh;
    overflow-y: auto;
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    animation: sheet-in 200ms cubic-bezier(0.2, 0.9, 0.3, 1);
  }
  .wallet-pop {
    right: 8px;
    left: 8px;
    width: auto;
    max-width: none;
  }
  .net-select {
    position: static;
  }
  .net-pop {
    top: calc(100% + 6px);
    right: 8px;
    left: 8px;
    width: auto;
    max-width: none;
  }
  .toasts {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 380px) {
  .bn-in {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
  }
}
.footer .soc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  transition:
    color 120ms ease,
    border-color 120ms ease,
    background 120ms ease;
}
.footer .soc-ico:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.footer .soc-ico svg {
  width: 17px;
  height: 17px;
  display: block;
}
.footer .soc-ico img,
.land-foot-social img {
  width: 18px;
  height: 18px;
  display: block;
}
.land-foot-social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.land-foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  transition:
    color 120ms ease,
    border-color 120ms ease,
    background 120ms ease;
}
.land-foot-social a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.land-foot-social svg {
  width: 18px;
  height: 18px;
  display: block;
}
.land-foot-social .soc-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px dashed var(--line);
  color: var(--muted);
  background: var(--surface);
  opacity: 0.45;
  cursor: default;
}
.footer .soc-ico.soc-soon {
  border-style: dashed;
  opacity: 0.45;
  cursor: default;
}
@media (max-width: 6400px) {
  .h2 {
    margin: 26px 0 10px;
  }
  .hero {
    padding: 18px 0 4px;
  }
  .hero-facts {
    margin-top: 12px;
  }
  .page {
    padding-bottom: 108px;
  }
}
@media (max-width: 9000px) {
  .grid2,
  .grid3,
  .sm-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 7600px) {
  .grid2 > .panel,
  .grid3 > .panel,
  .sm-col,
  .panel {
    min-width: 0;
    max-width: 100%;
  }
  .panel {
    overflow-x: auto;
  }
  .tbl-wrap {
    margin: 0;
  }
  .topbar-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 54px;
    padding-top: 6px;
    padding-bottom: 6px;
    row-gap: 4px;
  }
  .topbar .spacer {
    min-width: 8px;
    flex: 1 1 auto;
  }
}
.acct-grid.acct-two {
  align-items: stretch;
}
.acct-grid.acct-two > .acct-block {
  display: flex;
  flex-direction: column;
}
.acct-grid.acct-two > .acct-block > .small.dim {
  flex: 1 0 auto;
}
.rail-grid {
  align-items: stretch;
}
.land-foot-contracts {
  overflow-wrap: anywhere;
}
.priv-card {
  display: flex;
  flex-direction: column;
}
.priv-card p {
  flex: 1;
}
.rail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.rail-card {
  appearance: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 44px;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}
.rail-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.rail-card.sel {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.rail-card b {
  font: 600 15.5px var(--display);
  letter-spacing: 0.1px;
}
.rail-card .rail-tag {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.rail-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.rail-card .rail-badges {
  margin-top: auto;
  padding-top: 4px;
}
.rail-why {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  max-width: 860px;
}
.rail-risk-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.rules-ol {
  margin: 6px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink);
}
.rules-ol li::marker {
  color: var(--accent-ink);
  font-weight: 600;
}
@media (max-width: 9800px) {
  .rail-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 6400px) {
  .rail-grid {
    grid-template-columns: 1fr;
  }
}
.rail-chips {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.chip-rail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font: 500 12px var(--sans);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}
.chip-rail:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.chip-rail .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}
.chip-rail .dot.ok {
  background: #3fbf7f;
}
.chip-rail .dot.warn {
  background: #dfb356;
}
.chip-rail .dot.bad {
  background: #e5695a;
}
.chip-rail.warn {
  border-color: var(--warn-border);
  background: var(--warn-wash);
}
.chip-rail.custom {
  cursor: default;
  border-style: dashed;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chip-rail.sel {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.rail-none {
  font-size: 12.5px;
  color: var(--faint);
  font-style: italic;
}
.rail-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rp-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: stretch;
}
.rp-chip {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.rp-chip.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.rp-chip.warn:not(.on) {
  border-color: var(--warn-border);
}
.rp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: none;
  background: transparent;
  font: 600 13px var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.rp-chip.on .rp-toggle {
  color: var(--accent-ink);
}
.rp-toggle .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
}
.rp-toggle .dot.ok {
  background: #3fbf7f;
}
.rp-toggle .dot.warn {
  background: #dfb356;
}
.rp-toggle .dot.bad {
  background: #e5695a;
}
.rp-info {
  border: none;
  border-left: 1px solid var(--line);
  background: var(--surface-2);
  font: 600 11px var(--sans);
  color: var(--muted);
  cursor: pointer;
  padding: 0 10px;
}
.rp-info:hover {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.rp-custom {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font: 400 13.5px var(--sans);
  color: var(--ink);
  background: var(--surface);
}
.rp-custom:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.rp-add-custom {
  align-self: flex-start;
  border: none;
  background: none;
  padding: 0;
  font: 500 12.5px var(--sans);
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline dotted;
}
.rp-add-custom:hover {
  color: var(--accent-ink);
}
.rp-note {
  font-size: 12.5px;
  color: var(--faint);
  line-height: 1.55;
}
.rp-link {
  border: none;
  background: none;
  padding: 0;
  font: 600 12.5px var(--sans);
  color: var(--accent-ink);
  cursor: pointer;
}
.rp-link:hover {
  text-decoration: underline;
}
.modal-wide {
  max-width: 560px;
}
.rail-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 46dvh;
  overflow-y: auto;
  margin: 0 0 18px;
  padding-right: 2px;
}
.rail-option {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  background: var(--surface);
}
.rail-option:hover {
  border-color: var(--line-strong);
}
.rail-option.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.rail-option input {
  grid-row: 1;
  margin-top: 3px;
  accent-color: var(--accent);
}
.ro-name {
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13.5px var(--sans);
  color: var(--ink);
}
.ro-name .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
}
.ro-name .dot.ok {
  background: #3fbf7f;
}
.ro-name .dot.warn {
  background: #dfb356;
}
.ro-name .dot.bad {
  background: #e5695a;
}
.ro-name .badge {
  font-size: 10.5px;
}
.ro-sub {
  grid-row: 2;
  grid-column: 2;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 3px;
}
.ro-warn {
  grid-row: 3;
  grid-column: 2;
  font-size: 12px;
  line-height: 1.5;
  color: var(--warn);
  margin-top: 4px;
}
.rail-option .rp-custom {
  grid-row: 3;
  grid-column: 2;
  margin-top: 6px;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(10, 12, 16, 0.55);
  animation: fade-in 140ms ease;
}
[data-theme=dark] .drawer-overlay {
  background: rgba(0, 0, 0, 0.65);
}
.rail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 96;
  width: min(600px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  display: flex;
  flex-direction: column;
  animation: drawer-in 220ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes drawer-in {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (max-width: 6400px) {
  .rail-drawer {
    width: 100%;
    border-left: none;
  }
}
.rd-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--line);
}
.rd-title b {
  display: block;
  font: 600 17px var(--display);
}
.rd-title .rail-tag {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
}
.rd-switch {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.rd-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 20px 28px;
}
.rd-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.rd-nav button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 4px 11px;
  font: 500 12px var(--sans);
  color: var(--muted);
  cursor: pointer;
}
.rd-nav button:hover {
  border-color: var(--accent-border);
  color: var(--accent-ink);
  background: var(--accent-soft);
}
.rd-sec {
  margin: 0 0 22px;
}
.rd-sec h4 {
  margin: 0 0 8px;
  font: 600 14.5px var(--display);
  color: var(--ink);
}
.rd-gen {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.rd-gen h4 {
  margin: 0 0 10px;
  font: 600 14.5px var(--display);
  color: var(--ink);
}
.rd-fold {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rd-fold details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.rd-fold summary {
  padding: 11px 14px;
  font: 600 13.5px var(--sans);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.rd-fold summary::before {
  content: "+ ";
  color: var(--accent-ink);
  font-weight: 700;
}
.rd-fold details[open] summary::before {
  content: "\2212  ";
}
.rd-fold .rd-fold-body {
  padding: 4px 14px 14px;
  border-top: 1px solid var(--line);
}
.land-brand .lm-auto {
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.land-brand:hover .lm-auto {
  transform: scale(1.06);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14), 0 7px 16px rgba(0, 0, 0, 0.10);
}
.land-brand {
  gap: 10px;
}
.land-brand span {
  transform: translateY(0.5px);
}
.land .hscroll {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: min(86%, 340px);
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px;
  padding: 4px 20px 14px;
  scrollbar-width: none;
}
.land .hscroll > * {
  scroll-snap-align: center;
}
.land .hscroll::-webkit-scrollbar {
  display: none;
}
.land .flow-grid.hscroll,
.land .cex-grid.hscroll {
  grid-auto-columns: min(92%, 420px);
}
.acct-bare {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acct-id {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.acct-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.acct-sec {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
}
.acct-sec.warn {
  border-color: var(--warn-border);
  background: var(--warn-wash);
}
.acct-sec-k {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font: 600 12.5px var(--sans);
  color: var(--ink);
}
.acct-sec-k .n {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  flex: none;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-ink);
  font: 700 10.5px var(--mono);
  display: grid;
  place-items: center;
}
.acct-sec-k .acct-dim {
  color: var(--faint);
  font-weight: 500;
}
.acct-sec.warn .acct-sec-k {
  color: var(--warn);
}
.acct-sec.warn .acct-sec-k .n {
  background: var(--surface);
  border-color: var(--warn-border);
}
.acct-sec-in {
  min-width: 0;
}
.acct-sec.withqr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.acct-sec-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.acct-sec-note img {
  border-radius: 50%;
  vertical-align: -5px;
  margin: 0 1px;
}
.acct-addr-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.acct-addr {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acct-qr img,
.acct-qr .skel {
  border-radius: 10px;
}
.acct-bal-rows {
  display: flex;
  flex-direction: column;
}
.acct-bal {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
}
.acct-bal:first-child {
  border-top: none;
  padding-top: 2px;
}
.acct-bal img {
  border-radius: 50%;
  flex: none;
}
.acct-bal .t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.acct-bal .t b {
  font: 600 12.5px var(--sans);
  color: var(--ink);
}
.acct-bal .t span {
  font: 500 10.5px var(--mono);
  color: var(--faint);
}
.acct-bal .v {
  font: 650 13px var(--display);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.acct-bal .v.un {
  font: 500 11px var(--sans);
  font-style: italic;
  color: var(--faint);
}
.acct-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.acct-code-row input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  padding: 8px 10px;
  border: 1px solid var(--warn-border);
  border-radius: 9px;
  background: var(--surface);
}
.acct-sweep {
  display: flex;
  align-items: center;
  gap: 8px;
}
.acct-lock {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.acct-lock select {
  font-size: 12px;
  padding: 8px 10px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}
.acct-sweep input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
}
.acct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.mf {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mf-track {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.mf-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px 3px 4px;
  background: var(--surface-2);
  font: 600 11.5px var(--sans);
  color: var(--muted);
}
.mf-step .mf-ball {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: none;
  background: var(--line);
  color: var(--muted);
  font: 700 10px var(--mono);
  display: grid;
  place-items: center;
}
.mf-step.done {
  color: var(--ink);
  border-color: var(--line-strong);
}
.mf-step.done .mf-ball {
  background: var(--ok);
  border: none;
  color: #fff;
}
.mf-step.now {
  color: var(--accent-ink);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.mf-step.now .mf-ball {
  background: var(--accent);
  color: #fff;
}
.mf-branch {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--faint);
}
.mf-branch.hot {
  color: var(--warn);
}
.mf-branch.good {
  color: var(--ok);
}
.mf-where {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}
.mf-where b {
  color: var(--accent-ink);
  font-weight: 700;
}
.board-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 2px 6px;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.board-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok, #4ea675);
  flex: none;
  opacity: 0.9;
}
.offer-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: min(60vh, 540px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.offer-list::-webkit-scrollbar {
  width: 4px;
}
.offer-list::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}
.offer-list .ob-head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
}
.ob-head,
.ol-top {
  display: grid;
  grid-template-columns: 22px 62px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}
.ob-head {
  font-size: 8.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 2px 12px 0;
}
.ob-head span:nth-child(2) {
  text-align: right;
}
.offer-line {
  padding: 10px 12px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition: background 120ms ease, border-color 120ms ease;
}
@media (hover: hover) {
  .offer-list .offer-line:not(.taken):hover {
    background: var(--surface-2);
    border-color: var(--line-strong);
  }
}
.offer-line.taken {
  opacity: 0.55;
}
.offer-list.is-scroll {
  -webkit-mask-image:
    linear-gradient(
      180deg,
      #000 calc(100% - 20px),
      transparent 100%);
  mask-image:
    linear-gradient(
      180deg,
      #000 calc(100% - 20px),
      transparent 100%);
}
@keyframes offer-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.offer-line {
  animation: offer-in 260ms cubic-bezier(0.22, 0.8, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .offer-line {
    animation: none;
  }
}
.ol-top > img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.ol-rate {
  font: 700 12.5px var(--mono);
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}
.ol-amt {
  font: 500 11.5px var(--mono);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ol-meta b {
  color: var(--muted);
  font-weight: 600;
}
.ol-act {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-end;
}
.ol-btns {
  display: inline-flex;
  gap: 5px;
}
.ol-sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding-left: 37px;
  min-width: 0;
}
.offer-list .rail-chips.compact {
  display: inline-flex;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.offer-list .rt {
  font: 500 9.5px var(--mono);
  color: var(--muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.offer-list .rt .dot {
  width: 5px;
  height: 5px;
}
.offer-list .rt.custom {
  cursor: default;
  color: var(--faint);
}
.offer-list .rt.bad {
  color: var(--warn);
}
.offer-list .rt.warn {
  color: var(--warn);
}
.offer-list .ol-sub .rail-none {
  font: 500 9.5px var(--mono);
}
.ol-meta {
  font: 500 9.5px var(--mono);
  color: var(--faint);
  white-space: nowrap;
  flex: none;
}
@media (max-width: 480px) {
  .offer-list .ob-head {
    display: none;
  }
  .ol-top {
    display: flex;
    flex-wrap: wrap;
    row-gap: 7px;
  }
  .ol-top .ol-amt {
    flex: 1 1 auto;
    min-width: 96px;
    text-align: right;
  }
  .ol-top .ol-act {
    margin-left: auto;
  }
  .ol-sub {
    flex-wrap: wrap;
    row-gap: 3px;
  }
}
.offer-list .read-fail {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.offer-tbl .row {
  flex-wrap: nowrap;
}
@media (hover: hover) {
  .land .hscroll {
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .land .hscroll::-webkit-scrollbar {
    display: block;
    height: 6px;
  }
  .land .hscroll::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 3px;
  }
  .land .hscroll::-webkit-scrollbar-track {
    background: transparent;
  }
}
.note-glyph {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 11px/1 var(--mono);
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.note-line .nl-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.nl-amt {
  font: 600 12px var(--mono);
  color: var(--ink);
  white-space: nowrap;
}
.nl-gap {
  flex: 1 1 auto;
  min-width: 8px;
}
.note-line .ol-btns {
  display: inline-flex;
  gap: 5px;
}
.nl-status {
  font: 500 9.5px var(--mono);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.nl-status.warn {
  color: var(--warn);
}
.nl-twin {
  flex: none;
  font: 600 9.5px var(--mono);
  color: var(--warn);
  cursor: help;
  white-space: nowrap;
}
.ol-note-dot {
  font: 600 9px/1 var(--mono);
  color: var(--faint);
  margin-left: 4px;
  cursor: help;
}
.note-line .ol-sub {
  padding-left: 36px;
}
.rp-region {
  margin: 10px 0 2px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--soft, rgba(0,0,0,0.02));
}
.rp-region-title {
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 8px;
}
.rp-region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rp-region-grid select,
.rp-region-grid input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--card, #fff);
  color: inherit;
}
.rp-region .rp-note {
  margin-top: 8px;
}
.offer-list .rt.loc {
  color: var(--accent);
  font-weight: 600;
}
.offer-list .rt.loc::before {
  content: "\2316";
  font-size: 10px;
  line-height: 1;
}
.rail-chips .chip-rail.loc {
  border-color: var(--accent);
  color: var(--accent);
}
.sm-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  isolation: isolate;
}
.sm-box img {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}
.sm-box.dark img {
  filter: invert(1) hue-rotate(180deg) saturate(0.65) brightness(0.92) contrast(0.92);
}
.sm-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--accent);
  border: 2.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45), 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent);
}
.sm-pin::after {
  content: "";
  position: absolute;
  inset: 3.5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
}
.sm-cell {
  position: absolute;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.sm-attrib {
  position: absolute;
  right: 4px;
  bottom: 3px;
  z-index: 2;
  pointer-events: none;
  font: 400 8px/1.4 var(--mono);
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.sm-offline {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  text-align: center;
  font: 500 11px var(--mono);
  color: var(--faint);
}
.cash-offer {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 7px 8px;
  margin: 8px 0;
  box-shadow: var(--shadow-1);
}
.co-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.co-thumb {
  flex: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 17px;
}
.co-thumb .sm-box {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 0;
}
.co-thumb .sm-pin {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-width: 2px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.co-thumb .sm-pin::after {
  inset: 2px;
}
.co-thumb:active {
  transform: scale(0.97);
}
.co-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.co-line1 {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.co-line1 b {
  font: 700 14px var(--mono);
  color: var(--ink);
  letter-spacing: -0.2px;
}
.co-rate {
  font: 700 11px var(--mono);
  color: var(--accent-ink);
  white-space: nowrap;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 1px 7px;
  border-radius: 999px;
}
.co-rate i {
  font-style: normal;
  font-weight: 500;
  font-size: 9px;
  opacity: 0.75;
  margin-left: 1px;
}
.co-line2 {
  display: flex;
  align-items: baseline;
  gap: 3px 7px;
  flex-wrap: wrap;
  font: 500 10.5px var(--mono);
  color: var(--muted);
  min-width: 0;
}
.co-line3 {
  display: flex;
  align-items: baseline;
  gap: 3px 7px;
  flex-wrap: wrap;
  font: 500 10px var(--mono);
  color: var(--faint);
  min-width: 0;
}
.co-loc {
  color: var(--accent-ink);
  font-weight: 600;
  white-space: nowrap;
}
.co-loc.dim {
  color: var(--faint);
  font-weight: 500;
}
.co-rel {
  font-style: normal;
  font-weight: 700;
  color: var(--accent-ink);
  white-space: nowrap;
}
.co-seller {
  white-space: nowrap;
}
.co-record {
  display: inline-flex;
  gap: 7px;
}
.co-record b.ok {
  color: var(--ok);
  font-weight: 600;
}
.co-record b.warn {
  color: var(--warn);
  font-weight: 600;
}
.co-sid {
  color: var(--faint);
}
.co-take {
  flex: none;
  min-width: 46px;
  min-height: 32px;
  padding: 4px 9px;
  font-size: 11.5px;
  border-radius: 8px;
}
.co-wide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 9px;
}
.co-wide-map {
  border-radius: 10px;
}
.co-nospot {
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  padding: 18px 14px;
  text-align: center;
  font: 500 11.5px var(--mono);
  color: var(--faint);
}
.co-wide-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}
.co-wide-meta .co-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.co-wide-meta a {
  font-weight: 600;
  white-space: nowrap;
}
.co-wide-meta .rail-chips.compact {
  display: inline-flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
.co-wide-meta .rt {
  font: 500 10.5px var(--mono);
  color: var(--muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.co-wide-meta .rt .dot {
  width: 5px;
  height: 5px;
}
.co-wide-meta .rt.custom {
  cursor: default;
  color: var(--faint);
}
.co-wide-meta .rt.bad,
.co-wide-meta .rt.warn {
  color: var(--warn);
}
.co-wide-meta .rt.loc {
  color: var(--accent);
  font-weight: 600;
}
.co-wide-meta .rt.loc::before {
  content: "\2316";
  font-size: 10px;
  line-height: 1;
}
.co-wide-meta .rail-none {
  font: 500 10.5px var(--mono);
  color: var(--faint);
}
.co-others summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  cursor: pointer;
  font: 600 11.5px var(--mono);
  color: var(--accent-ink);
  list-style: none;
  user-select: none;
}
.co-others summary::-webkit-details-marker {
  display: none;
}
.co-chev {
  color: var(--faint);
  font-size: 10px;
  transition: transform 150ms ease;
}
.co-others[open] .co-chev {
  transform: rotate(90deg);
}
.co-others-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 7px;
  padding: 9px 11px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.co-other {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 4px 10px;
  align-items: baseline;
  font: 500 11px var(--mono);
  color: var(--muted);
}
.co-other span:nth-child(2) {
  font-weight: 700;
  color: var(--ink);
}
.venue-pin {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  background: var(--surface);
  padding: 11px;
  margin: 8px 0;
}
.vp-map {
  border-radius: 8px;
}
.vp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.vp-facts {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
}
.vp-facts .fact .v {
  font-size: 13px;
}
.vp-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
}
.vp-links a {
  font-weight: 600;
  white-space: nowrap;
}
.offer-line .venue-pin {
  display: block;
  margin: 9px 0 0;
  padding: 0;
  border: none;
  background: none;
}
.vp-mapwrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
}
.vp-mapwrap .sm-box {
  display: block;
  width: 100%;
  border-radius: 0;
  border: none;
}
.vp-mapwrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(8, 10, 14, 0.52),
      rgba(8, 10, 14, 0));
  pointer-events: none;
}
.offer-line .venue-pin .sm-attrib {
  top: 6px;
  left: 6px;
  right: auto;
  bottom: auto;
  font-size: 7.5px;
  padding: 1px 6px;
  border: none;
  background: rgba(8, 10, 14, 0.45);
  color: rgba(255, 255, 255, 0.85);
}
.offer-line .venue-pin .vp-code {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
  font: 600 9.5px var(--mono);
  color: var(--on-accent);
  white-space: nowrap;
  background: var(--accent);
  border-radius: 999px;
  padding: 3px 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.offer-line .venue-pin .vp-code b {
  font-weight: 700;
  letter-spacing: 0.5px;
}
.offer-line .venue-pin .vp-links {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.offer-line .venue-pin .vp-links a {
  font: 600 10px var(--mono);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(8, 10, 14, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: background 120ms ease, border-color 120ms ease;
}
.offer-line .venue-pin .vp-links a:hover {
  background: rgba(8, 10, 14, 0.74);
  border-color: rgba(255, 255, 255, 0.4);
}
button.chat-head {
  width: 100%;
  text-align: left;
  cursor: pointer;
  user-select: none;
  font: 500 12px var(--sans);
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 8px 12px;
  margin: 0;
}
.chat-panel.open > button.chat-head {
  border-bottom-color: var(--line);
}
.chat-head b {
  font: 600 12px var(--sans);
  color: var(--ink);
}
.chat-head .chat-who {
  display: inline-flex;
  gap: 5px;
  min-width: 0;
  flex-wrap: wrap;
}
.chat-head .chat-role {
  font: 600 10px var(--mono);
  letter-spacing: 0.3px;
  color: var(--faint);
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 1px 8px;
  white-space: nowrap;
}
.chat-head .chat-role.on {
  color: var(--ok);
  border: 1px solid var(--ok-border);
  background: var(--ok-wash);
}
.chat-head .chat-count {
  font: 700 10px var(--mono);
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 1px 7px;
  flex: none;
}
.chat-head .chat-chev {
  color: var(--faint);
  font-size: 11px;
  transition: transform 150ms ease;
  flex: none;
}
.chat-head .chat-chev.open {
  transform: rotate(90deg);
}
.chat-missing {
  display: flex;
  align-items: center;
  gap: 6px 10px;
  flex-wrap: wrap;
  padding: 8px 12px 10px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--faint);
  border-top: 1px dashed var(--line);
}
.chat-missing .rp-link {
  font-size: 11.5px;
}
.trade-card .chat-panel {
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  margin-top: 10px;
}
.trade-card .chat-panel .msg .body {
  background: var(--surface-2);
}
.trade-card .chat-panel .chat-input {
  background: transparent;
}
.simplex-pending {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 12px 10px;
  font: 500 11.5px var(--sans);
  line-height: 1.45;
  color: var(--faint);
  border-top: 1px solid var(--line);
}
.simplex-pending .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}
.bn-item {
  position: relative;
}
.bn-dot {
  position: absolute;
  top: 7px;
  left: 50%;
  margin-left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--bg);
}
.act-wrap {
  margin: 4px 0 10px;
}
.act-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 8px;
}
.act-head .h2 {
  font-size: 18px;
  margin: 0;
}
.act-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
}
.act-row.hot {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.act-desk {
  font: 700 9px var(--mono);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent-ink);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 3px 8px;
  flex: none;
}
.act-txt {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.act-txt b {
  font-size: 12.5px;
  color: var(--ink);
}
.act-txt span {
  font-size: 12px;
  color: var(--muted);
}
.act-go {
  margin-left: auto;
  color: var(--faint);
}
.browse-list {
  gap: 8px;
  padding-right: 2px;
}
.proto-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.flow-cell {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.flow-n {
  font: 700 9.5px var(--mono);
  color: var(--accent-ink);
  letter-spacing: 0.8px;
}
.flow-cell b {
  font: 650 13px var(--sans);
  color: var(--ink);
}
.flow-cell p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}
.esc-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 4px 13px 6px;
}
.esc-cap {
  display: block;
  font: 600 9.5px var(--mono);
  letter-spacing: 1.2px;
  color: var(--accent-ink);
  padding: 8px 0 6px;
  border-bottom: 1px solid var(--line);
}
.esc-row {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
}
.esc-row:last-child {
  border-bottom: none;
}
.esc-coins {
  display: flex;
  width: 50px;
  justify-content: center;
  padding-top: 1px;
}
.esc-coins img + img {
  margin-left: -8px;
}
.esc-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.esc-txt b {
  font: 650 13.5px var(--sans);
  color: var(--ink);
}
.esc-txt > span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.esc-meta {
  font: 500 9.5px var(--mono);
  color: var(--faint);
  letter-spacing: 0.3px;
}
.esc-note {
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  background: var(--accent-soft);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.esc-note b {
  font: 650 12.5px var(--sans);
  color: var(--ink);
}
.esc-note span {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}
.acct-bare.wt {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wt-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wt-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-border));
  color: #fff;
  font: 700 11px var(--mono);
  letter-spacing: 0.5px;
}
.wt-id {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.wt-id b {
  font: 650 13.5px var(--sans);
  color: var(--ink);
}
.wt-id .mono {
  font-size: 11px;
  color: var(--faint);
}
.wt-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0 2px;
}
.wt-total-v {
  font: 700 30px var(--display);
  color: var(--ink);
  letter-spacing: 0.2px;
}
.wt-total-s {
  font: 500 11px var(--mono);
  color: var(--faint);
}
.wt-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.wt-pill {
  min-height: 42px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font: 650 12px var(--sans);
}
.wt-pill.on {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.wt-assets {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}
.wt-assets-cap {
  font: 700 9.5px var(--mono);
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--faint);
  padding: 9px 12px 7px;
  border-bottom: 1px solid var(--line);
}
.wt-asset {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px dashed var(--line);
}
.wt-asset:last-child {
  border-bottom: none;
}
.wt-asset .t {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.wt-asset .t b {
  font: 650 13px var(--sans);
  color: var(--ink);
}
.wt-asset .t span {
  font-size: 11px;
  color: var(--faint);
}
.wt-asset .v {
  font: 600 13px var(--mono);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.wt-loading {
  padding: 12px;
  font-size: 12px;
  color: var(--faint);
}
.wt-screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wt-back {
  align-self: flex-start;
  border: none;
  background: none;
  cursor: pointer;
  font: 650 12px var(--sans);
  color: var(--accent-ink);
  padding: 2px 0;
}
.wt-screen-t {
  font: 700 17px var(--display);
  color: var(--ink);
}
.wt-screen-sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.wt-qrwrap {
  display: grid;
  place-items: center;
  padding: 6px 0;
}
.code-takeover {
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  width: min(420px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.code-takeover h2 {
  margin: 0;
  font: 700 20px var(--display);
  color: var(--ink);
}
.ct-mark {
  color: var(--accent-ink);
  font-size: 26px;
}
.ct-sub {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.ct-code {
  background: var(--bg);
  border: 1.5px dashed var(--accent-border);
  border-radius: 12px;
  padding: 12px;
  font: 600 12px var(--mono);
  line-height: 1.7;
  word-break: break-all;
  color: var(--ink);
}
.ct-warn {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--warn);
}
.ct-done {
  margin-top: 2px;
}
.r-code-in {
  display: flex;
  gap: 8px;
}
.r-code-in input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
}
.r-loaded {
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  background: var(--accent-soft);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.r-loaded.dead {
  border-color: var(--line);
  background: var(--surface);
}
.rl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.rl-c {
  font-size: 11px;
  color: var(--faint);
}
.rl-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.saved-codes {
  margin-top: 12px;
}
.saved-codes summary {
  cursor: pointer;
  font: 650 12px var(--sans);
  color: var(--muted);
  padding: 6px 0;
}
.saved-codes .wt-asset {
  margin-bottom: 6px;
}
.rc-reveal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rc-code {
  background: var(--bg);
  border: 1.5px dashed var(--accent-border);
  border-radius: 12px;
  padding: 12px;
  font: 600 11.5px var(--mono);
  line-height: 1.7;
  word-break: break-all;
  color: var(--ink);
}
.rc-note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--warn);
}
.vp-facts {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  margin: 8px 0 2px;
}
.vp-facts .fact .k {
  font-size: 10.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.vp-facts .fact .v {
  font-size: 13.5px;
}
.trade-done {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.trade-done .tick {
  color: var(--ok);
  font-weight: 700;
}
@media (max-width: 7600px) {
  .d-only {
    display: none !important;
  }
  .topbar {
    border-bottom: 1px solid var(--line);
  }
  .topbar-inner {
    padding: 0 12px;
    gap: 10px;
    height: 54px;
    min-height: 54px;
    align-items: center;
    flex-wrap: nowrap;
  }
  .topbar .brand {
    order: 0;
    align-items: center;
    font-size: 16px;
    letter-spacing: -0.2px;
    padding: 4px 0;
  }
  .topbar .brand .brand-mark {
    flex: none;
  }
  .topbar .spacer {
    flex: 1 1 auto;
    height: auto;
    order: 0;
  }
  .topbar .net-select {
    margin-left: 0;
  }
  .topbar .net-trigger {
    min-height: 40px;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 11px;
  }
  .topbar .net-trigger .net-name {
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar .icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .topbar .chip {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    border-radius: 10px;
  }
  .m-actions {
    display: flex;
    gap: 8px;
    padding: 12px 14px 2px;
  }
  .m-actions .topbar-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    justify-content: center;
    padding: 9px 13px;
    font-size: 13.5px;
    border-radius: 11px;
  }
  .m-actions .topbar-btn:not(.primary) {
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
  }
  .m-actions .addr-chip {
    flex: 1 1 0;
    min-width: 0;
    min-height: 46px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
  }
  .m-actions .icon-btn {
    width: 46px;
    height: 46px;
    flex: none;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
  }
  .guestbar {
    font-size: 12.5px;
    line-height: 1.5;
    padding: 8px 14px 8px 12px;
    text-align: left;
    border-bottom: none;
    border-left: 3px solid var(--warn-border);
  }
  .page {
    padding: 16px 14px calc(84px + env(safe-area-inset-bottom, 0px));
  }
  .footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 18px 16px 0;
  }
  .footer .spacer {
    display: none;
  }
  .footer .soc-ico {
    width: 42px;
    height: 42px;
  }
  .footer .soc-ico svg {
    width: 19px;
    height: 19px;
  }
  .bottomnav {
    border-top: 1px solid var(--line);
    background: var(--bg);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .bn-in {
    max-width: 520px;
    width: 100%;
    display: flex;
    justify-content: space-around;
  }
  .bn-item {
    flex: 1 1 0;
    min-width: 0;
    min-height: 60px;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.15;
    gap: 4px;
    border-radius: 14px;
    margin: 4px 2px;
    padding: 6px 2px 7px;
  }
  .bn-item .bn-ico {
    width: 52px;
    height: 29px;
  }
  .bn-item svg {
    width: 24px;
    height: 24px;
    flex: none;
  }
  .bn-item span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 2px;
  }
  .bn-item.on {
    background: transparent;
    color: var(--accent-ink);
  }
  .bn-item.on .bn-ico {
    background: var(--accent-soft);
  }
  .bn-item:active {
    transform: scale(0.95);
  }
  .bn-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
  }
  .page {
    font-size: 15px;
  }
  .panel {
    padding: 15px 14px;
    border-radius: 12px;
  }
  .panel > h3 {
    font-size: 15px;
  }
  .h1 {
    font-size: clamp(22px, 6.4vw, 27px);
    margin: 0 0 10px;
  }
  .h2 {
    font-size: 18.5px;
    margin: 24px 0 10px;
  }
  .lead {
    font-size: 14.5px;
    line-height: 1.58;
  }
  .kicker {
    font-size: 10.5px;
  }
  .list-plain li {
    font-size: 13.75px;
    line-height: 1.52;
    margin: 0 0 8px;
  }
  .list-plain li:last-child {
    margin-bottom: 0;
  }
  .small {
    font-size: 12.5px;
  }
  .note {
    padding: 11px 13px;
    font-size: 13.5px;
    line-height: 1.52;
    border-radius: 10px;
  }
  .hero {
    padding: 12px 0 2px;
  }
  .hero-facts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
  }
  .hero-fact {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 12.75px;
    line-height: 1.45;
  }
  .hero-fact b {
    display: inline;
    flex: none;
    font: 700 13px/1.3 var(--display);
  }
  .grid3 {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(80%, 330px);
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 14px;
    padding: 2px 14px 6px;
    margin: 0 -14px;
    -webkit-overflow-scrolling: touch;
  }
  .grid3 > .panel {
    scroll-snap-align: start;
    min-width: 0;
  }
  .grid3 > .panel .list-plain li {
    font-size: 13px;
    line-height: 1.5;
  }
  .sysmap {
    padding: 12px;
  }
  .sm-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .sm-col {
    display: contents;
  }
  .sm-head {
    grid-column: 1 / -1;
    font-size: 10.5px;
    margin: 6px 2px 0;
  }
  .sm-card {
    padding: 10px 11px;
    gap: 2px;
    border-radius: 10px;
  }
  .sm-card b {
    font-size: 13px;
  }
  .sm-card span {
    font-size: 10.5px;
  }
  .sm-col:nth-of-type(1) .sm-card:nth-of-type(3) {
    grid-column: 1 / -1;
  }
  .sm-core .sm-card {
    grid-column: 1 / -1;
  }
  .sm-chat {
    margin-top: 0;
  }
  .sm-chat .sm-card {
    grid-column: 1 / -1;
  }
  .sm-relay {
    font-size: 10.5px;
    margin: 10px 0;
  }
  .map-info {
    padding: 12px 13px;
    border-radius: 10px;
  }
  .map-info .t {
    font-size: 13.5px;
  }
  .map-info .d {
    font-size: 12.75px;
    line-height: 1.5;
  }
  .wt-rail {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-left: 2px;
    padding: 2px 0 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .wt-rail::-webkit-scrollbar {
    display: none;
  }
  .wt-node {
    flex: 0 0 auto;
    scroll-snap-align: start;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 9px 11px 10px;
    min-width: 112px;
    max-width: 158px;
    min-height: 40px;
    background: var(--surface);
  }
  .wt-node:last-child {
    border-right: 1px solid var(--line);
  }
  .wt-node .wt-ball {
    width: 24px;
    height: 24px;
    font-size: 11.5px;
    flex: none;
  }
  .wt-node .wt-t {
    font-size: 12px;
    line-height: 1.3;
    white-space: normal;
  }
  .wt-node.on {
    border-color: var(--accent);
    background: var(--accent-soft);
  }
  .wt-node.on .wt-ball {
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .wt-node.done {
    border-color: var(--ok-border);
  }
  .wt-detail {
    margin-top: 12px;
  }
  .wt-title {
    font-size: 15.5px;
  }
  .wt-what {
    font-size: 13.75px;
    line-height: 1.55;
  }
  .wt-box {
    padding: 10px 12px;
    font-size: 12.75px;
    line-height: 1.5;
  }
  .wt-box b {
    display: block;
    margin-bottom: 3px;
  }
  .privacy-split {
    gap: 10px;
  }
  .privacy-split > .panel {
    position: relative;
    padding-top: 46px;
  }
  .privacy-split > .panel::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    font: 700 10.5px/1 var(--mono);
    letter-spacing: 1.1px;
  }
  .ps-pub {
    border-top: 3px solid var(--ok);
    background:
      linear-gradient(
        180deg,
        var(--ok-wash),
        var(--surface) 140px);
  }
  .ps-pub::before {
    content: "ON THE CHAIN - ANYONE CAN VERIFY";
    background: var(--ok-wash);
    border-bottom: 1px solid var(--ok-border);
    color: var(--ok);
  }
  .ps-priv {
    border-top: 3px solid var(--accent);
    background:
      linear-gradient(
        180deg,
        var(--accent-soft),
        var(--surface) 140px);
  }
  .ps-priv::before {
    content: "NEVER ON A CHAIN - ONLY BETWEEN YOU";
    background: var(--accent-soft);
    border-bottom: 1px solid var(--accent-border);
    color: var(--accent-ink);
  }
  .privacy-split table.tbl:not(.offer-tbl) {
    border: none;
    overflow: visible;
  }
  .privacy-split table.tbl:not(.offer-tbl) tr {
    display: block;
    padding: 0;
    border: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 10px;
    margin: 0 0 8px;
    background: var(--surface);
  }
  .privacy-split table.tbl:not(.offer-tbl) tr:last-child {
    margin-bottom: 0;
  }
  .privacy-split table.tbl:not(.offer-tbl) td {
    display: block;
    border-bottom: none;
    padding: 11px 12px 11px 36px;
    position: relative;
    font-size: 13.5px;
  }
  .ps-pub table.tbl:not(.offer-tbl) td::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 15px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--ok);
    border-radius: 3px;
  }
  .ps-priv table.tbl:not(.offer-tbl) td::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 13px;
    width: 13px;
    height: 15px;
    background-color: var(--accent-ink);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='10' width='16' height='11' rx='2.4' fill='black'/%3E%3Cpath d='M8 10V7.6a4 4 0 0 1 8 0V10' fill='none' stroke='black' stroke-width='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='10' width='16' height='11' rx='2.4' fill='black'/%3E%3Cpath d='M8 10V7.6a4 4 0 0 1 8 0V10' fill='none' stroke='black' stroke-width='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .m-seg {
    position: sticky;
    top: 54px;
    z-index: 30;
    display: flex;
    gap: 4px;
    margin: 0 -14px 14px;
    padding: 8px 12px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .m-seg-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 36px;
    padding: 6px 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    background: none;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    white-space: nowrap;
  }
  .m-seg-btn.on {
    color: var(--accent);
    background: var(--accent-soft);
  }
  .subtabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 14px;
  }
  .subtab {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 6px;
    font-size: 12.5px;
    line-height: 1.25;
    border-radius: 11px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 8px;
  }
  .form-grid .field .hint {
    position: static;
    margin-top: 4px;
    min-height: 0;
  }
  .form-grid .actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .form-grid .actions .btn {
    flex: none;
    width: 100%;
    min-height: 42px;
    font-size: 13.5px;
  }
  .field > label {
    font-size: 12.5px;
    min-height: 16px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    min-height: 46px;
    padding: 10px 12px;
  }
  .field textarea {
    min-height: 84px;
  }
  .btn {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 13.5px;
    border-radius: 10px;
    user-select: none;
    touch-action: manipulation;
  }
  .btn.small {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 12.5px;
    border-radius: 10px;
  }
  .btn.tiny {
    min-height: 34px;
    padding: 6px 11px;
    font-size: 11.5px;
    border-radius: 9px;
  }
  button {
    touch-action: manipulation;
  }
  .opt-card .btn,
  .acct-block .btn {
    width: 100%;
  }
  .rail-chips {
    gap: 8px;
  }
  .chip-rail {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 12.5px;
  }
  table.tbl.offer-tbl {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .offer-tbl thead {
    display: none;
  }
  .offer-tbl tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .offer-tbl tbody tr {
    display: block;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    padding: 6px 14px 8px;
    margin: 0;
  }
  .offer-tbl tbody tr:hover {
    background: var(--surface);
  }
  .offer-tbl td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px dashed var(--line);
    padding: 10px 0;
    text-align: right;
  }
  .offer-tbl td::before {
    content: attr(data-label);
    font: 500 10.5px var(--mono);
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--faint);
    text-align: left;
    flex: none;
    white-space: nowrap;
  }
  .offer-tbl td:last-child {
    border-bottom: none;
    padding-bottom: 2px;
  }
  .offer-tbl td:not([data-label]) {
    display: block;
    padding-top: 12px;
  }
  .offer-tbl td:not([data-label])::before {
    content: none;
  }
  .offer-tbl td .btn.tiny {
    min-height: 34px;
    padding: 6px 12px;
  }
  .offer-tbl td:last-child .btn.tiny {
    margin: 2px 6px 2px 0;
  }
  .tbl-wrap:has(.offer-tbl) {
    margin: 0;
    padding: 0;
  }
  table.tbl:not(.offer-tbl) {
    min-width: 0;
    display: block;
  }
  table.tbl:not(.offer-tbl) thead {
    display: none;
  }
  table.tbl:not(.offer-tbl) tbody,
  table.tbl:not(.offer-tbl) tr,
  table.tbl:not(.offer-tbl) td,
  table.tbl:not(.offer-tbl) th {
    display: block;
    width: 100%;
    text-align: left;
  }
  table.tbl:not(.offer-tbl) tr {
    padding: 11px 2px;
    border-bottom: 1px solid var(--line);
  }
  table.tbl:not(.offer-tbl) td,
  table.tbl:not(.offer-tbl) th {
    border-bottom: none;
    padding: 3px 0;
  }
  .tbl-wrap {
    overflow-x: visible;
  }
  .tbl:not(.offer-tbl) {
    display: block;
    overflow-x: auto;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
  }
  .tbl th {
    padding: 10px 10px 8px;
  }
  .tbl td {
    padding: 12px 10px;
  }
  .trade-card {
    padding: 12px 14px 0;
    border-radius: 12px;
  }
  .trade-card-body {
    padding-top: 12px;
  }
  .fact-row {
    gap: 10px 18px;
  }
  .trade-card-head {
    gap: 3px 7px;
  }
  .trade-card .tc-toggle .id {
    font-size: 11px;
  }
  .trade-card .tc-sum {
    gap: 3px;
    font-size: 11px;
  }
  .trade-card .tc-sum .k {
    font-size: 8.5px;
    letter-spacing: 0.7px;
  }
  .trade-card .badge {
    font-size: 10px;
    padding: 2px 8px;
    gap: 4px;
  }
  .trade-card .countdown {
    font-size: 10.5px;
  }
  .trade-card .action-row {
    position: sticky;
    bottom: calc(66px + env(safe-area-inset-bottom, 0px));
    z-index: 6;
    background: var(--surface);
    margin: 12px -14px 0;
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
  }
  .trade-card .action-row::before {
    content: none;
  }
  .trade-card .action-row .btn {
    flex: 1 1 auto;
    min-height: 40px;
  }
  .cycle {
    overflow-x: visible;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
  }
  .cycle-node {
    min-width: 0;
    flex: 1 1 0;
    padding: 0 10px 0 0;
    scroll-snap-align: start;
  }
  .cycle-node .d {
    line-height: 1.45;
  }
  .cycle-branches {
    gap: 6px;
  }
  .pipe {
    gap: 6px;
  }
  .pipe-step {
    gap: 9px;
    padding: 9px 11px;
    font-size: 12.5px;
    border-radius: 10px;
  }
  .pipe-step.wait {
    opacity: 0.62;
  }
  .pipe-step > .mark {
    width: 18px;
    height: 18px;
    font-size: 10px;
    margin-top: 1px;
  }
  .pipe-title {
    font-size: 12.5px;
    display: flex;
    align-items: baseline;
    gap: 4px 8px;
    flex-wrap: wrap;
  }
  .pipe-title .small.dim {
    margin-left: 0 !important;
  }
  .chatlog {
    height: min(52dvh, 440px);
  }
  .chat-input {
    padding: 10px;
  }
  .chat-input input {
    min-height: 44px;
  }
  .chat-head {
    gap: 7px;
    padding: 9px 11px;
  }
  .chat-head .chat-role {
    font-size: 9.5px;
    padding: 1px 7px;
  }
  .chat-head .chat-count {
    font-size: 9.5px;
    padding: 1px 6px;
  }
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal {
    position: relative;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
    max-height: 92dvh;
    overflow-y: auto;
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .modal::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: var(--line-strong);
    opacity: 0.8;
  }
  .modal-wide {
    max-width: 100%;
  }
  .wallet-pop {
    right: 8px;
    left: 8px;
    width: auto;
    max-width: none;
  }
  .net-select {
    position: static;
  }
  .net-pop {
    top: calc(100% + 6px);
    right: 8px;
    left: 8px;
    width: auto;
    max-width: none;
  }
  .rail-options {
    max-height: 52dvh;
  }
  .rail-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 92dvh;
    border-left: none;
    border-top: 1px solid var(--line);
    border-radius: 16px 16px 0 0;
    animation: sheet-in 240ms cubic-bezier(0.2, 0.9, 0.3, 1);
  }
  .rd-head {
    padding: 18px 16px 12px;
  }
  .rd-switch,
  .rd-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .rd-body {
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .rd-nav button {
    padding: 8px 13px;
    font-size: 12.5px;
  }
  .rd-fold summary {
    padding: 13px 14px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .rp-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .rp-chip {
    display: flex;
    border-radius: 12px;
  }
  .rp-toggle {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    font-size: 13px;
    justify-content: flex-start;
  }
  .rp-info {
    width: 46px;
    min-height: 46px;
    border-left: 1px solid var(--line);
    flex: none;
    padding: 0;
    font-size: 12px;
  }
  .rp-custom {
    min-height: 44px;
    font-size: 16px;
    border-radius: 12px;
  }
  .rail-option {
    padding: 12px;
  }
  .rail-card {
    padding: 15px 16px;
  }
  .rail-card b {
    font-size: 15px;
  }
  .opt-cards {
    grid-template-columns: 1fr;
  }
  .opt-card:hover {
    transform: none;
  }
  .acct-block {
    padding: 13px;
  }
  .local-import input {
    min-height: 44px;
  }
  .toasts {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .desk-card:hover,
  .priv-card:hover,
  .opt-card:hover {
    transform: none;
    box-shadow: none;
  }
  .rail-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--line);
  }
  .rail-card.sel {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .land-ctas {
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }
  .land-ctas .land-btn {
    width: 100%;
    min-height: 52px;
    font-size: 15.5px;
  }
  .land-ctas .arr {
    margin-left: auto;
  }
  .mock-cycle .m-node.now i {
    animation: breathe 2.2s ease infinite;
  }
  .mock-foot {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .proto-cta .land-btn {
    width: 100%;
  }
  .land-foot-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .land-foot-links a {
    padding: 8px 10px 8px 0;
  }
}
@media (max-width: 380px) {
  .bn-in {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
  }
  .bn-item {
    min-height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mock-card,
  .mock-chip,
  .mock-cycle .m-node.now i {
    animation: none !important;
  }
}
@media (max-width: 7600px) {
  .m-desk-name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 600 12px var(--mono);
    letter-spacing: 0.2px;
    color: var(--topbar-dim);
    padding: 5px 10px;
    border: 1px solid var(--topbar-line);
    border-radius: 9px;
    max-width: 32vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-desk-name::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 2px;
    background: var(--accent);
    flex: none;
  }
  .guestbar {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  .gb-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    margin: -4px -4px -4px 0;
    border: none;
    background: none;
    color: inherit;
    opacity: 0.65;
    font-size: 13px;
    border-radius: 8px;
  }
  .gb-close:active {
    opacity: 1;
  }
  .m-fold {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    margin: 0 0 12px;
    overflow: hidden;
  }
  .m-fold > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    font: 600 13.5px var(--sans);
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    min-height: 44px;
    user-select: none;
  }
  .m-fold > summary::-webkit-details-marker {
    display: none;
  }
  .m-fold-chev {
    color: var(--faint);
    transition: transform 150ms ease;
    flex: none;
    font-size: 12px;
  }
  .m-fold[open] > summary .m-fold-chev {
    transform: rotate(90deg);
  }
  .m-fold-n {
    margin-left: auto;
    font: 500 10.5px var(--mono);
    letter-spacing: 0.4px;
    color: var(--faint);
    text-transform: uppercase;
  }
  .m-fold-body {
    padding: 0 12px 12px;
  }
  .m-fold .panel {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
  }
  .m-fold .panel > .kicker,
  .m-fold .panel > h3 {
    display: none;
  }
  .m-fold .panel .note {
    margin-top: 0;
  }
  .offer-tbl td:not([data-label]) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }
  .offer-tbl td:not([data-label]) .btn {
    flex: 1 1 auto;
    min-width: 0;
  }
  .offer-tbl .gate-hint {
    flex-basis: 100%;
  }
  .offer-tbl .read-fail {
    width: 100%;
  }
  .offer-tbl td[data-label="Fiat value"] {
    font-weight: 600;
  }
  .btn:active:not(:disabled) {
    transform: translateY(1px) scale(0.99);
    transition-duration: 40ms;
  }
}
@media (prefers-reduced-motion: reduce) {
  .m-fold-chev {
    transition: none !important;
  }
  .mock-cycle .m-node.now i {
    animation: none;
  }
}
@media (max-width: 7600px) {
  .panel,
  .grid2 > .panel,
  .grid3 > .panel {
    overflow-x: visible;
    overflow-y: visible;
  }
  .grid3 {
    overflow-x: auto;
  }
}
@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.page > * {
  animation: view-in 240ms cubic-bezier(0.2, 0.8, 0.3, 1) backwards;
}
@keyframes fold-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.m-fold[open] > .m-fold-body {
  animation: fold-in 200ms ease both;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.land-btn:active {
  transform: translateY(1px) scale(0.99);
}
@media (prefers-reduced-motion: reduce) {
  .page > *,
  .m-fold[open] > .m-fold-body {
    animation: none;
  }
  .btn:active,
  .land-btn:active {
    transform: none;
  }
}
@media (min-width: 761px) {
  :root {
    --maxw: 480px;
  }
  html,
  body {
    background: var(--bg);
  }
  body {
    background:
      radial-gradient(
        860px 560px at 50% -140px,
        var(--accent-soft),
        transparent 70%),
      var(--bg);
    min-height: 100vh;
  }
  .topbar {
    max-width: 480px;
    margin: 0 auto;
    border-inline: 1px solid var(--line);
  }
  .guestbar,
  .m-actions {
    max-width: 480px;
    margin: 0 auto;
  }
  .page {
    padding-bottom: 118px;
  }
  .bottomnav {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    border-inline: 1px solid var(--line);
  }
  .bn-in {
    max-width: none;
  }
  .toasts {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(440px, calc(100vw - 32px));
  }
  .modal {
    max-width: 480px;
    margin-inline: auto;
  }
  .rail-drawer {
    right: 50%;
    transform: translateX(50%);
    width: min(480px, 100%);
    border-inline: 1px solid var(--line);
  }
  @keyframes drawer-in-canvas {
    from {
      transform: translateX(calc(50% + 40px));
      opacity: 0;
    }
    to {
      transform: translateX(50%);
      opacity: 1;
    }
  }
  .rail-drawer {
    animation: drawer-in-canvas 220ms cubic-bezier(0.2, 0.9, 0.3, 1);
  }
  .land {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    border-inline: 1px solid var(--line);
    box-shadow: 0 0 90px rgba(0, 0, 0, 0.16);
  }
  .land-nav {
    max-width: 456px;
  }
  .land-hero-in,
  .land-sec-in,
  .land-foot-in {
    max-width: 480px;
  }
  .land-h2 {
    font-size: 26px;
  }
  .land-sec-in {
    padding-inline: 20px;
  }
}
@media (max-width: 760px) {
  .orbit {
    max-width: none;
  }
  .orbit-card .mock-float {
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
  }
  .mock-card {
    padding: 14px 14px 12px;
  }
  .land-hero-in {
    padding: 30px 18px 22px;
  }
  .land-h1 {
    font-size: 30px;
  }
  .land-sec-in {
    padding-inline: 18px;
  }
  .land-h2 {
    font-size: 24px;
  }
  .proto-points {
    gap: 8px;
  }
  .proto-point {
    padding: 10px 12px;
  }
  .proto-point p {
    font-size: 12px;
    line-height: 1.5;
  }
  .pp-n {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .esc-row {
    padding: 9px 0;
  }
  .esc-card {
    padding: 2px 13px 4px;
  }
  .esc-txt b {
    font-size: 13px;
  }
  .esc-txt > span {
    font-size: 11.5px;
  }
  .esc-note {
    padding: 9px 11px;
  }
  .esc-note span {
    font-size: 11px;
  }
  .flow-cell p {
    font-size: 10.5px;
  }
  .cash-tiles {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    margin: 0 -18px;
    padding: 2px 18px 6px;
    scrollbar-width: none;
  }
  .cash-tiles::-webkit-scrollbar {
    display: none;
  }
  .cash-tile {
    min-width: 46%;
    scroll-snap-align: start;
    flex-direction: column;
    gap: 6px;
  }
  .cash-tile .ct-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .cash-tile .ct-ico svg {
    width: 17px;
    height: 17px;
  }
  .cash-tile .ct-txt b {
    font-size: 13px;
  }
  .cash-tile .ct-txt p {
    font-size: 11.5px;
  }
}
@media (max-width: 768px) {
  .offer-list .ob-head {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--surface);
  }
}
@media (max-width: 768px) {
  .btn {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 9px;
  }
  .btn.tiny,
  .btn.small {
    min-height: 28px;
    padding: 4px 9px;
    font-size: 11px;
    border-radius: 8px;
  }
  .row-actions {
    gap: 6px;
  }
  .field input,
  .field select,
  .field textarea {
    min-height: 38px;
    padding: 8px 10px;
  }
  .field > label {
    font-size: 11px;
  }
  .form-grid {
    gap: 10px;
  }
  .form-grid .field .hint {
    font-size: 11px;
    margin-top: 3px;
  }
  .h1 {
    font-size: 19px;
  }
  .lead {
    font-size: 13px;
    line-height: 1.45;
  }
  .h2 {
    font-size: 17px;
  }
  .panel h3 {
    font-size: 14.5px;
  }
  .panel .sub,
  .note.small,
  .note {
    font-size: 11.5px;
    line-height: 1.4;
  }
  .panel {
    padding: 12px 12px;
    border-radius: 14px;
  }
  .page > div > .panel,
  .page .panel {
    margin-bottom: 12px;
  }
  .panel-head {
    padding-bottom: 8px;
  }
  .trade-card {
    border-radius: 12px;
  }
  .trade-card-body {
    padding: 10px 10px 12px;
  }
  .topbar-inner {
    height: 46px;
    min-height: 46px;
    padding: 0 10px;
    gap: 8px;
  }
  .m-actions {
    gap: 6px;
    padding: 4px 10px;
  }
  .m-actions .addr-chip {
    min-height: 32px;
    font-size: 12px;
    border-radius: 9px;
  }
  .m-actions .topbar-btn {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 9px;
  }
  .page {
    padding-top: 8px;
  }
}
@media (max-width: 768px) {
  .m-actions {
    padding: 2px 8px 6px;
    gap: 5px;
  }
  .m-actions .addr-chip,
  .m-actions .topbar-btn {
    min-height: 30px;
  }
}
@media (max-width: 768px) {
  .m-actions {
    align-items: center;
  }
  .m-actions .icon-btn {
    min-height: 30px;
    height: 30px;
    padding: 1px 6px;
    font-size: 13px;
  }
  .m-actions .addr-chip {
    min-height: 30px;
    height: 30px;
    padding: 2px 8px;
  }
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
.row-actions .ra-primary {
  flex: 1 0 100%;
  width: 100%;
  min-height: 38px;
  font-size: 13.5px;
  border-radius: 10px;
}
.row-actions .ra-wait {
  flex: 1 0 100%;
  width: 100%;
}
.row-actions .ra-wait .badge {
  max-width: 100%;
  white-space: normal;
  text-align: left;
}
.row-actions .ra-half {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
  min-height: 28px;
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 8px;
}
.modal.amount-sheet {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.modal.amount-sheet h3 {
  margin: 0 0 10px;
  font-size: 17px;
}
.modal.amount-sheet .as-context {
  margin: 0 0 4px;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.45;
  word-break: break-word;
}
.modal.amount-sheet .as-note {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.modal.amount-sheet .as-input {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.modal.amount-sheet .as-input input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  font: 600 16px var(--sans);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}
.modal.amount-sheet .as-input input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.modal.amount-sheet .as-max {
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
  font: 700 11px var(--mono);
  letter-spacing: 0.6px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
}
.modal.amount-sheet .as-max:active:not(:disabled) {
  background: var(--accent-border);
}
.modal.amount-sheet .as-max:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.modal.amount-sheet .as-live {
  margin: 8px 0 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.modal.amount-sheet .as-live b {
  color: var(--ink);
  font-weight: 600;
}
.modal.amount-sheet .as-go {
  width: 100%;
  min-height: 44px;
  font-size: 14.5px;
  border-radius: 10px;
}
.modal.amount-sheet .as-cancel {
  margin-top: 12px;
  padding: 8px 4px;
  cursor: pointer;
  font: 500 13px var(--sans);
  color: var(--muted);
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.modal.amount-sheet .as-cancel:active {
  color: var(--ink);
}
/*
 * styles-wallet.css - the account card as a fixed-height stage.
 * The account home view sets the height; Receive, Backup and Send all are
 * absolutely positioned over it, so the card never grows. Palette, type and
 * spacing come from the existing tokens.
 */

/* ---------- stage ---------- */
.acct-bare.wt {
  gap: 0;
}
.wt-stage {
  position: relative;
  overflow: hidden;
  contain: layout paint;
}
.wt-home {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wt-sub {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  animation: wt-push 140ms cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
.wt-sub.out {
  animation: wt-pop 140ms cubic-bezier(0.4, 0, 0.8, 0.4) both;
}
.wt-stage.has-sub:not(.leaving) .wt-home {
  animation: wt-cover 140ms ease-out both;
}
.wt-stage.leaving .wt-home {
  animation: wt-uncover 140ms ease-out both;
}
@keyframes wt-push {
  from { transform: translateX(100%); }
  to { transform: none; }
}
@keyframes wt-pop {
  from { transform: none; }
  to { transform: translateX(100%); }
}
@keyframes wt-cover {
  from { transform: none; opacity: 1; }
  to { transform: translateX(-24px); opacity: 0; visibility: hidden; }
}
@keyframes wt-uncover {
  from { transform: translateX(-24px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wt-sub,
  .wt-sub.out,
  .wt-stage .wt-home {
    animation: none !important;
  }
  .wt-stage.has-sub:not(.leaving) .wt-home {
    visibility: hidden;
  }
}

/* ---------- shared chrome: same 48px bar on every view ---------- */
.wt-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  flex: none;
}
.wt-bar-back {
  appearance: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0 10px 0 0;
  border: none;
  background: none;
  cursor: pointer;
  font: 650 14px var(--sans);
  color: var(--accent-ink);
  -webkit-tap-highlight-color: transparent;
}
.wt-bar-back:disabled {
  color: var(--faint);
  cursor: not-allowed;
}
.wt-bar-t {
  font: 700 17px var(--display);
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wt-sub-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 2px 0 10px;
}
.wt-sub-foot {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.wt-sub-foot .btn {
  min-height: 48px;
  font-size: 15px;
  justify-content: center;
}

/* ---------- touch sizes inside the stage ---------- */
.wt-pill {
  min-height: 44px;
}
.wt-copy {
  appearance: none;
  flex: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--accent-ink);
  font: 600 12.5px var(--mono);
  cursor: pointer;
  white-space: nowrap;
}
.wt-copy:active {
  background: var(--accent-soft);
}
.wt-stage .btn {
  min-height: 44px;
}
.wt-stage input {
  font-size: 16px;
  min-height: 44px;
}
.wt-stage .acct-code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wt-stage .acct-code-row input {
  flex: 1 1 100%;
  min-width: 0;
}
.wt-stage .acct-addr-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wt-stage .acct-addr {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* skeleton rows hold the exact height of real asset rows */
.wt-asset,
.wt-asset-skel {
  min-height: 52px;
}
.wt-asset-skel .skel:first-child {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
}
.wt-asset-skel .skel:last-child {
  width: 42%;
  height: 13px;
  margin-left: auto;
}
.wt-total-v {
  min-height: 1.2em;
  line-height: 1.2;
}
.wt-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- send all ---------- */
.snd {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.snd-label {
  font: 600 13px var(--sans);
  color: var(--muted);
}
.snd-field {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 120ms ease;
}
.snd-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.snd-field.ok { border-color: var(--ok); }
.snd-field.bad { border-color: var(--danger); }
.snd-field.warn { border-color: var(--warn); }
.snd-input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: 500 16px var(--mono) !important;
}
.snd-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.snd-tool {
  appearance: none;
  min-height: 44px;
  border: none;
  background: var(--surface-2);
  color: var(--accent-ink);
  font: 650 13.5px var(--sans);
  cursor: pointer;
}
.snd-tool + .snd-tool {
  border-left: 1px solid var(--line);
}
.snd-tool:disabled {
  color: var(--faint);
  cursor: default;
}
.snd-state {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  min-height: 2.9em;
}
.snd-state.ok { color: var(--ok); }
.snd-state.bad { color: var(--danger); }
.snd-state.warn { color: var(--warn); }
.snd-eyeball {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.snd-eyeball.warn,
.snd-eyeball.bad {
  opacity: 0.7;
}
.snd-ident {
  flex: none;
  border-radius: 8px;
}
.snd-grouped {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.3px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.snd-err,
.snd-warn {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.snd-err {
  border: 1px solid var(--danger-border);
  background: var(--danger-wash);
  color: var(--ink);
}
.snd-warn {
  border: 1px solid var(--warn-border);
  background: var(--warn-wash);
  color: var(--ink);
}
.snd-sum {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.snd-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  align-items: start;
}
.snd-row + .snd-row {
  border-top: 1px dashed var(--line);
}
.snd-row dt {
  font: 600 10.5px/1.9 var(--mono);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--faint);
}
.snd-row dd {
  margin: 0;
  min-width: 0;
  font-size: 13.5px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.snd-row dd.mono {
  font-size: 12.5px;
  line-height: 1.6;
}
.snd-to dd {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.snd-to-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.snd-to-line .mono {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.snd-copy {
  appearance: none;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--accent-ink);
  font: 600 13px var(--sans);
  cursor: pointer;
}
.snd-assets {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.snd-asset {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 12px;
}
.snd-asset + .snd-asset {
  border-top: 1px dashed var(--line);
}
.snd-asset img {
  flex: none;
  border-radius: 50%;
}
.snd-asset .t {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.snd-asset .t b {
  font: 650 13.5px var(--sans);
}
.snd-asset .t span {
  font-size: 11.5px;
  color: var(--faint);
}
.snd-asset .v {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
  text-align: right;
}
.snd-asset .v b {
  font-size: 14px;
  color: var(--ink);
}
.snd-asset .v span {
  font-size: 11px;
  color: var(--faint);
  overflow-wrap: anywhere;
}
.snd-go {
  font-weight: 700;
}
.snd-final {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.snd-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 0 4px;
  text-align: center;
}
.snd-head b {
  font: 700 18px var(--display);
}
.snd-head span:last-child {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.snd-head .spinner {
  width: 28px;
  height: 28px;
}
.snd-big-tick,
.snd-big-x {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 20px var(--sans);
  color: #fff;
  background: var(--ok);
}
.snd-big-x {
  background: var(--danger);
}
.snd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.snd-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
}
.snd-step + .snd-step {
  border-top: 1px dashed var(--line);
}
.snd-mark {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--line-strong);
  font: 700 13px var(--sans);
  color: var(--faint);
}
.snd-mark .spinner {
  width: 14px;
  height: 14px;
  margin: 0;
}
.snd-step.ok .snd-mark { background: var(--ok); border-color: var(--ok); color: #fff; }
.snd-step.fail .snd-mark { background: var(--danger); border-color: var(--danger); color: #fff; }
.snd-step.run .snd-mark { border-color: var(--accent); }
.snd-step .t {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.snd-step .t b {
  font: 650 14px var(--sans);
}
.snd-step .t > span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.snd-step.fail .t > span {
  color: var(--danger);
}
.snd-tx {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12.5px;
  color: var(--accent-ink);
}

/* children of the scroll area keep their size; the area scrolls instead */
.wt-sub-scroll > * {
  flex-shrink: 0;
}
/* a soft fade at the bottom edge signals more content above the fixed footer */
.snd .wt-sub-scroll {
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 14px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 14px), transparent);
  padding-bottom: 14px;
}
.snd-asset {
  min-height: 48px;
}
