:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --line: #e4e4e0;
  --line-strong: #cfcfca;
  --fg: #141414;
  --muted: #6e6e69;
  --faint: #a3a39d;
  --ink: #141414;
  --ink-fg: #ffffff;
  --live: #1d7f4e;
  --down: #c2362f;
  --hover: #f0f0ec;
  --sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111110;
    --surface: #171716;
    --line: #2a2a28;
    --line-strong: #3a3a37;
    --fg: #ececea;
    --muted: #9a9a94;
    --faint: #6a6a65;
    --ink: #ececea;
    --ink-fg: #111110;
    --live: #4cc185;
    --down: #ef6a62;
    --hover: #1e1e1c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111110;
  --surface: #171716;
  --line: #2a2a28;
  --line-strong: #3a3a37;
  --fg: #ececea;
  --muted: #9a9a94;
  --faint: #6a6a65;
  --ink: #ececea;
  --ink-fg: #111110;
  --live: #4cc185;
  --down: #ef6a62;
  --hover: #1e1e1c;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}
.num,
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--muted);
}
.up {
  color: var(--live);
}
.down {
  color: var(--down);
}
h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 24px;
}
@media (max-width: 520px) {
  .wrap {
    padding-inline: 16px;
  }
}
.demo-bar {
  font: 12px/1 var(--mono);
  color: var(--muted);
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
}
header.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 56px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand b {
  font: 500 16px/1 var(--mono);
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 18px;
  height: 18px;
}
nav.main {
  display: flex;
  gap: 20px;
  flex: 1;
}
nav.main a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
nav.main a:hover,
nav.main a.active {
  color: var(--fg);
}
@media (max-width: 720px) {
  header.top .wrap {
    gap: 12px;
  }
  .brand + .spacer {
    flex: 1;
  }
  nav.main {
    order: 3;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    justify-content: space-around;
    padding: 12px 8px calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
  }
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}
.xlink {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r);
  color: var(--muted);
}
.xlink:hover {
  color: var(--fg);
  background: var(--hover);
}
.theme-btn {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
}
:root[data-theme="light"] {
  color-scheme: light;
}
.buy-cradle {
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .buy-cradle {
    padding-inline: 8px;
  }
}
.ca {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 13px var(--mono);
  flex-wrap: wrap;
  min-width: 0;
}
.ca b {
  font-weight: 500;
  color: var(--fg);
}
.ca a {
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.ca a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ca button {
  font: 12px var(--mono);
  color: var(--muted);
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 1px 7px;
  cursor: pointer;
}
.ca button:hover {
  color: var(--fg);
}
.ca-row {
  margin-top: 18px;
}
.ca button.ca-addr {
  font: 13px var(--mono);
  color: var(--muted);
  border: 0;
  padding: 0;
  background: none;
  cursor: copy;
  overflow-wrap: anywhere;
  text-align: left;
}
.ca button.ca-addr:hover {
  color: var(--fg);
}
.tk-ca {
  margin-top: 10px;
}
.foot-links {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.foot-links a {
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: var(--r);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  background: var(--hover);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn.glow {
  background: var(--ink);
  color: var(--ink-fg);
  border-color: var(--ink);
}
.btn.glow:hover {
  opacity: 0.88;
  background: var(--ink);
}
.btn.sm {
  padding: 5px 10px;
  font-size: 13px;
}
.btn.block {
  width: 100%;
  padding-block: 10px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 500;
}
.field .hint {
  font-size: 12px;
  color: var(--muted);
}
.input,
textarea.input,
select.input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 9px 11px;
  outline: none;
}
.input:focus {
  border-color: var(--fg);
}
textarea.input {
  resize: vertical;
  min-height: 88px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.panel-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.panel-h h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.eyebrow {
  font: 12px/1 var(--mono);
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.tab {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  padding: 2px 0;
  cursor: pointer;
  font-size: 14px;
}
.tab:hover {
  color: var(--fg);
}
.tab.on {
  color: var(--fg);
  border-bottom-color: var(--fg);
}
.empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.err {
  color: var(--down);
  font-size: 13px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 12px/1 var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.pill.awake,
.pill.running {
  color: var(--live);
}
.pill.awake i,
.pill.running i {
  background: currentColor;
}
.pill.running i {
  animation: blink 1.2s steps(2) infinite;
}
.pill.grad {
  color: var(--fg);
}
.pill.grad:before {
  content: "↗";
}
@keyframes blink {
  50% {
    opacity: 0.2;
  }
}
.intro {
  padding-block: 56px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}
.intro h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.02;
  margin: 0 0 14px;
  font-weight: 600;
}
.intro h1 span {
  color: var(--muted);
  font-weight: 400;
}
.intro p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 56ch;
}
.intro .ctas {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.split {
  font: 13px/1.7 var(--mono);
  color: var(--muted);
  min-width: 220px;
}
.split div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.split b {
  color: var(--fg);
  font-weight: 500;
}
.split .total {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 4px;
}
@media (max-width: 760px) {
  .intro {
    grid-template-columns: 1fr;
    padding-block: 32px 24px;
  }
}
.statline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-block: 14px;
  font: 13px var(--mono);
  color: var(--muted);
  border-block: 1px solid var(--line);
}
.statline b {
  color: var(--fg);
  font-weight: 500;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  margin-block: 28px 64px;
  align-items: start;
}
@media (max-width: 960px) {
  .home-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.explore-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.explore-h h2 {
  margin: 0;
  font-size: 18px;
}
.search-input {
  max-width: 220px;
  padding: 6px 10px;
  font-size: 14px;
}
.list {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.list th {
  text-align: left;
  font: 12px var(--mono);
  color: var(--muted);
  font-weight: 400;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.list td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
}
.list th.r,
.list td.r {
  text-align: right;
}
.list td.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.list tbody tr {
  cursor: pointer;
}
.list tbody tr:hover td {
  background: var(--hover);
}
.tok {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.tok b {
  font-weight: 500;
}
.tok span {
  font: 12px var(--mono);
  color: var(--muted);
}
.prog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.prog .track {
  width: 56px;
  height: 3px;
  background: var(--line);
  position: relative;
}
.prog .track i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--fg);
}
@media (max-width: 640px) {
  .list .hide-sm {
    display: none;
  }
  .list td,
  .list th {
    padding-inline: 8px;
  }
}
.sigil {
  flex: none;
  border-radius: 4px;
  overflow: hidden;
  background: var(--hover);
  display: grid;
  place-items: center;
}
.sigil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.sigil canvas {
  image-rendering: pixelated;
}
.feed {
  max-height: 760px;
  overflow: auto;
}
.feed-item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.feed-item:last-child {
  border-bottom: 0;
}
.feed-item .who {
  font: 12px var(--mono);
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.feed-item .who b {
  color: var(--fg);
  font-weight: 500;
}
.feed-item p {
  margin: 4px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.feed-item:hover p {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.kind {
  font: 11px/1 var(--mono);
  color: var(--muted);
}
.kind.finding,
.kind.reply {
  color: var(--fg);
}
.tk-head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-block: 28px 20px;
  flex-wrap: wrap;
}
.tk-head h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.1;
}
.tk-head .sym {
  font: 400 15px var(--mono);
  color: var(--muted);
  letter-spacing: 0;
}
.tk-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 13px;
}
.tk-stats {
  display: flex;
  gap: 32px;
  margin-left: auto;
  flex-wrap: wrap;
}
.tk-stats .v {
  font: 500 18px var(--mono);
  margin-top: 4px;
}
.tk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  padding-bottom: 64px;
  align-items: start;
}
.col {
  display: grid;
  gap: 20px;
  min-width: 0;
}
@media (max-width: 960px) {
  .tk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tk-grid > .col {
    display: contents;
  }
  .tk-stats {
    margin-left: 0;
  }
  .o1 {
    order: 1;
  }
  .o2 {
    order: 2;
  }
  .o3 {
    order: 3;
  }
  .o4 {
    order: 4;
  }
  .o5 {
    order: 5;
  }
  .o6 {
    order: 6;
  }
  .o7 {
    order: 7;
  }
}
.chart {
  padding: 12px 4px 0;
  position: relative;
}
.chart svg {
  display: block;
  width: 100%;
  height: 220px;
}
.chart .yl {
  position: absolute;
  right: 10px;
  transform: translateY(-50%);
  font: 11px var(--mono);
  color: var(--muted);
  pointer-events: none;
  background: var(--surface);
  padding-left: 4px;
}
.progress-block {
  padding: 12px 16px 14px;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
}
.bar {
  height: 3px;
  background: var(--line);
}
.bar i {
  display: block;
  height: 100%;
  background: var(--fg);
}
.trade {
  padding: 16px;
  display: grid;
  gap: 14px;
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
}
.seg button {
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
  font-weight: 500;
  color: var(--muted);
}
.seg button + button {
  border-left: 1px solid var(--line-strong);
}
.seg button.on.buy {
  color: var(--live);
  background: var(--hover);
}
.seg button.on.sell {
  color: var(--down);
  background: var(--hover);
}
.amount {
  position: relative;
}
.amount .input {
  font: 500 18px var(--mono);
  padding-right: 64px;
}
.amount span {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font: 13px var(--mono);
  color: var(--muted);
}
.quick {
  display: flex;
  gap: 6px;
}
.quick button {
  flex: 1;
  border: 1px solid var(--line);
  background: none;
  border-radius: var(--r);
  padding: 4px;
  font: 12px var(--mono);
  cursor: pointer;
  color: var(--muted);
}
.quick button:hover {
  color: var(--fg);
  border-color: var(--line-strong);
}
.rows {
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.rows .v {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.rows .tab {
  font-size: 12px;
  margin-left: 10px;
}
.vault {
  padding: 16px;
  display: grid;
  gap: 12px;
}
.meter {
  position: relative;
  height: 4px;
  background: var(--line);
}
.meter i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--live);
}
.meter .tick {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 1px;
  background: var(--muted);
}
.meter-legend {
  display: flex;
  justify-content: space-between;
  font: 11px var(--mono);
  color: var(--muted);
}
.journal {
  max-height: 560px;
  overflow: auto;
}
.j {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.j:last-child {
  border-bottom: 0;
}
.j time {
  font: 12px var(--mono);
  color: var(--faint);
  padding-top: 2px;
}
.j .body {
  min-width: 0;
  overflow-wrap: anywhere;
}
.j.wake .body,
.j.sleep .body,
.j.system .body,
.j.search .body,
.j.read .body {
  color: var(--muted);
  font-size: 13px;
}
.j.finding .body .kind,
.j.reply .body .kind {
  margin-right: 8px;
}
.src {
  font: 12px var(--mono);
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.src:hover {
  color: var(--fg);
}
table.t {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
table.t th {
  text-align: left;
  font: 12px var(--mono);
  color: var(--muted);
  font-weight: 400;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
}
table.t td {
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
table.t tr:last-child td {
  border-bottom: 0;
}
.scroll-x {
  overflow-x: auto;
}
.brief {
  padding: 16px;
  display: grid;
  gap: 12px;
}
.brief blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: 13px;
  margin: 0;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  font-family: var(--mono);
  overflow-wrap: anywhere;
  text-align: right;
}
.whisper-form {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.whisper {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  display: grid;
  gap: 6px;
}
.whisper .reply {
  border-left: 2px solid var(--line-strong);
  padding-left: 10px;
}
.launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding-block: 32px 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .launch {
    grid-template-columns: minmax(0, 1fr);
  }
}
.step {
  padding: 20px;
  display: grid;
  gap: 16px;
}
.step-h {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.step-h .n {
  font: 13px var(--mono);
  color: var(--faint);
}
.step-h h2 {
  margin: 0;
  font-size: 17px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .two {
    grid-template-columns: 1fr;
  }
}
.drop {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  cursor: pointer;
}
.drop:hover {
  background: var(--hover);
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
}
.choice {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r);
  padding: 10px 12px;
  cursor: pointer;
  display: grid;
  gap: 2px;
  min-width: 0;
}
.choice:hover {
  border-color: var(--line-strong);
}
.choice b {
  font-weight: 500;
  font-size: 14px;
}
.choice span {
  font-size: 12px;
  color: var(--muted);
}
.choice.on {
  border-color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--fg);
}
.preview {
  position: sticky;
  top: 76px;
  padding: 18px;
  display: grid;
  gap: 14px;
}
.doc {
  max-width: 720px;
  padding-block: 40px 80px;
}
.doc h1 {
  font-size: 36px;
  margin: 6px 0 12px;
}
.doc h2 {
  font-size: 20px;
  margin: 40px 0 8px;
}
.doc p,
.doc li {
  max-width: 68ch;
}
.doc code {
  font: 13px var(--mono);
  background: var(--hover);
  padding: 1px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.doc pre {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  overflow-x: auto;
  font: 13px/1.6 var(--mono);
}
.doc .panel {
  margin: 14px 0;
}
.loop {
  margin: 16px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.loop div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.loop b {
  font: 500 13px var(--mono);
}
footer.foot {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  color: var(--muted);
  font-size: 13px;
}
footer.foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%);
  background: var(--ink);
  color: var(--ink-fg);
  border-radius: var(--r);
  padding: 10px 16px;
  z-index: 50;
  font-size: 14px;
  max-width: calc(100vw - 32px);
}
@media (max-width: 720px) {
  .toast {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.ff {
  margin: 16px 0 20px;
  padding: 20px;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.ff-src {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ff-lanes {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--line-strong);
  padding-top: 16px;
}
.ff-lane {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
}
.ff-split {
  display: grid;
  gap: 6px;
}
.ff-node {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 9px 12px;
  display: grid;
  gap: 2px;
  min-width: 0;
}
.ff-node b {
  font-size: 14px;
  font-weight: 600;
}
.ff-node span {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}
.ff-node.live {
  border-color: var(--live);
}
.ff-node.live b {
  color: var(--live);
}
.ff-fee {
  background: var(--ink);
  border-color: var(--ink);
}
.ff-fee b {
  color: var(--ink-fg);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.ff-fee span {
  color: var(--ink-fg);
  opacity: 0.7;
}
.ff-pct {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding-bottom: 2px;
}
.ff-arrow {
  width: 24px;
  height: 12px;
  flex: none;
  color: var(--faint);
}
.ff-arrow.down {
  transform: rotate(90deg);
  align-self: center;
  margin: 4px 0;
}
.ff-arrow.live {
  color: var(--live);
}
@media (max-width: 640px) {
  .ff {
    padding: 16px;
  }
  .ff-lanes {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
.charpick {
  display: grid;
  gap: 14px;
}
.char-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 120px));
  gap: 10px;
}
.char-opt {
  padding: 0;
  border: 2px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 9 / 16;
}
.char-opt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.char-opt.on {
  border-color: var(--live);
}
.seg4 {
  grid-template-columns: repeat(4, 1fr);
}
.seg4 button {
  display: grid;
  gap: 1px;
  font-size: 13px;
}
.seg4 button span {
  font: 11px var(--mono);
  color: var(--faint);
}
.seg4 button.on {
  color: var(--fg);
  background: var(--hover);
}
.seg4 button + button {
  border-left: 1px solid var(--line-strong);
}
.cast {
  display: grid;
  gap: 8px;
}
.cast video {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r);
  background: #000;
  display: block;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  padding: 14px 16px;
}
.kind.broadcast,
.onair-dot {
  color: var(--down);
}
.char-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.char-card img {
  width: 96px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line);
}
@media (max-width: 480px) {
  .char-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.cast-inline {
  display: block;
  margin-top: 8px;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r);
  background: #000;
}
@media (max-width: 420px) {
  .buy-ticker {
    display: none;
  }
}
.wallet-menu {
  position: relative;
}
.wallet-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 220px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  display: grid;
  z-index: 50;
  box-shadow: 0 8px 24px #0000002e;
}
.wallet-pop button,
.wallet-pop a {
  text-align: left;
  background: none;
  border: 0;
  padding: 8px 10px;
  border-radius: var(--r);
  font: inherit;
  font-size: 14px;
  color: var(--fg);
  cursor: pointer;
  text-decoration: none;
}
.wallet-pop button:hover,
.wallet-pop a:hover {
  background: var(--hover);
}
.wallet-pop .danger {
  color: var(--down);
}
.holder-tag {
  margin-left: 8px;
  font-size: 11px;
}
.holder-tag.you {
  color: var(--live);
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .t .hide-sm {
    display: none;
  }
  .holder-tag {
    display: flex;
    width: fit-content;
    margin: 3px 0 0;
  }
}
