/* Orbancy. One typeface, varied by width and weight. Ink ground, ivory type, one champagne accent. */
:root {
  --bg: #f4f1ea;
  --surface: #fbf9f4;
  --raise: #efebe2;
  --ink: #16140f;
  --muted: #67635a;
  --faint: #9a958a;
  --line: #dfd9cc;
  --accent: #8a6b36;
  --accent-ink: #fbf9f4;
  --glow: rgba(138, 107, 54, 0.16);
  --ok: #3e7a57;
  --bad: #a8463a;
  --font: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0b0e;
    --surface: #101217;
    --raise: #15181f;
    --ink: #ece8df;
    --muted: #9c978c;
    --faint: #636058;
    --line: #22252c;
    --accent: #d8c29a;
    --accent-ink: #0a0b0e;
    --glow: rgba(216, 194, 154, 0.14);
    --ok: #86be9c;
    --bad: #e08a7c;
    color-scheme: dark;
  }
}

@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 0.35s var(--ease) both vt-out;
}
::view-transition-new(root) {
  animation: 0.6s var(--ease) both vt-in;
}
@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px);
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  text-wrap: balance;
}
h1 {
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-stretch: 80%;
}
h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-stretch: 85%;
}
h3 {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
code {
  font: inherit;
}
:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
[hidden] {
  display: none !important;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: 24px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}
.read {
  max-width: 66ch;
}
.stack {
  display: grid;
  gap: 16px;
  align-content: start;
}
.stack > *,
.cols > *,
.two > * {
  min-width: 0;
}
.gap-lg {
  gap: 28px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 24px;
  top: 12px;
  z-index: 30;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 12px;
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  view-transition-name: top;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.mark svg {
  width: 22px;
  height: 22px;
}
.nav {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 12px;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
@media (max-width: 760px) {
  .top .wrap > a.btn {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover::before {
  transform: none;
}
.btn:hover {
  color: var(--accent-ink);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost::before {
  background: var(--raise);
}
.btn.ghost:hover {
  color: var(--ink);
}
.btn.sm {
  padding: 9px 16px;
  font-size: 14px;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

main {
  padding-bottom: 40px;
}
.block {
  padding-top: 72px;
  display: grid;
  gap: 28px;
}
.block > * {
  min-width: 0;
}
.block.first {
  padding-top: 56px;
}
.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
  padding-top: 56px;
}
.hero > * {
  min-width: 0;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero h1 .line > span {
  display: block;
  animation: rise 1.1s var(--ease) both;
}
.hero h1 .line:nth-child(2) > span {
  animation-delay: 0.08s;
}
.hero h1 .line:nth-child(3) > span {
  animation-delay: 0.16s;
  color: var(--accent);
}
@keyframes rise {
  from {
    transform: translateY(40%);
    opacity: 0.001;
  }
}
.orbbox {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
.orbbox canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}
.orbbox canvas:active {
  cursor: grabbing;
}
.orbcap {
  position: absolute;
  inset: auto 0 4%;
  text-align: center;
  font-size: 13px;
  color: var(--faint);
  pointer-events: none;
}
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .orbbox {
    justify-self: center;
    max-width: 420px;
  }
}

/* figures */
.figs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.figs > div {
  padding: 22px 20px 22px 0;
  display: grid;
  gap: 6px;
}
.figs > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.figs b {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-stretch: 85%;
}
.figs span {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .figs {
    grid-template-columns: 1fr 1fr;
  }
  .figs > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .figs > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* columns */
.cols {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.two > * {
  display: grid;
  gap: 14px;
  align-content: start;
}
@media (max-width: 900px) {
  .cols,
  .two {
    grid-template-columns: 1fr;
  }
}

/* thought stream */
.stream {
  display: grid;
  border-top: 1px solid var(--line);
}
.thought {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  animation: thoughtIn 0.9s var(--ease);
}
.thought > * {
  min-width: 0;
}
@keyframes thoughtIn {
  from {
    opacity: 0.001;
    transform: translateY(-8px);
  }
}
.sig {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: inline-block;
}
.sig.lg {
  width: 84px;
  height: 84px;
}
.sig.md {
  width: 40px;
  height: 40px;
}
.who {
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 14px;
}
.who b {
  font-weight: 600;
}
.who em {
  font-style: normal;
  color: var(--accent);
}
.who small {
  color: var(--faint);
  font-size: 13px;
}
.thought p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* rows */
.rows {
  border-top: 1px solid var(--line);
}
.r {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  position: relative;
  isolation: isolate;
}
.r.plain {
  grid-template-columns: 1fr auto;
}
.r > * {
  min-width: 0;
}
.r::before {
  content: "";
  position: absolute;
  inset: 0 -12px;
  background: var(--raise);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: -1;
}
a.r:hover::before {
  opacity: 1;
}
.r .t {
  font-weight: 600;
}
.r .m {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 10px;
}
.r .v {
  text-align: right;
  font-size: 14px;
}
.r .v small {
  display: block;
  color: var(--faint);
  font-size: 12px;
}
.r .v.accent {
  color: var(--accent);
}
.state {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.state.A {
  color: var(--ok);
}
.state.S {
  color: var(--faint);
}
.state.H {
  color: var(--bad);
}

/* loop ring */
.loop {
  display: grid;
  grid-template-columns: minmax(0, 440px) 1fr;
  gap: 48px;
  align-items: center;
}
.loop > * {
  min-width: 0;
}
.loop svg {
  width: 100%;
  height: auto;
  display: block;
}
.loop .node circle {
  fill: var(--surface);
  stroke: var(--line);
  transition: stroke 0.4s, fill 0.4s;
}
.loop .node text {
  fill: var(--muted);
  font: 500 12.5px var(--font);
  text-anchor: middle;
  transition: fill 0.4s;
}
.loop .node {
  cursor: pointer;
}
.loop .node.on circle {
  stroke: var(--accent);
  fill: var(--raise);
}
.loop .node.on text {
  fill: var(--ink);
}
.loop .ring {
  fill: none;
  stroke: var(--line);
}
.loop .core {
  fill: none;
  stroke: var(--line);
  stroke-dasharray: 2 6;
}
.loop .ctext {
  fill: var(--faint);
  font: 600 12px var(--font);
  letter-spacing: 0.16em;
  text-anchor: middle;
}
.loop .sweep {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s var(--ease);
}
.loopnote {
  display: grid;
  gap: 10px;
  min-height: 150px;
}
.loopnote h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-stretch: 85%;
}
@media (max-width: 860px) {
  .loop {
    grid-template-columns: 1fr;
  }
}

/* fee flow */
.flowwrap {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px;
  display: grid;
  gap: 24px;
}
.flowscroll {
  overflow-x: auto;
}
.flowscroll svg {
  width: 100%;
  min-width: 680px;
  height: auto;
  display: block;
}
.flowwrap,
.viz {
  --f-mind: var(--accent);
  --f-treasury: color-mix(in srgb, var(--ink) 55%, var(--bg));
  --f-burn: #b5653a;
  --f-team: #5f7896;
  --f-orbio: var(--faint);
}
@media (prefers-color-scheme: dark) {
  .flowwrap,
  .viz {
    --f-burn: #d4895c;
    --f-team: #8fa6c2;
  }
}
.flow [data-lane] rect {
  transition: y 0.45s var(--ease), height 0.45s var(--ease);
}
.flow [data-lane] text {
  transition: transform 0.45s var(--ease);
}
.split em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.flow .lbl {
  fill: var(--ink);
  font: 600 13px var(--font);
}
.flow .amt {
  fill: var(--muted);
  font: 400 13px var(--font);
}
.flow .colhead {
  fill: var(--faint);
  font: 600 11px var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.flow .band {
  fill: none;
  stroke-opacity: 0.42;
  transition: d 0.45s var(--ease), stroke-width 0.45s var(--ease),
    stroke-opacity 0.3s;
}
.flow .sheen {
  fill: none;
  pointer-events: none;
  transition: d 0.45s var(--ease), stroke-width 0.45s var(--ease);
}
.flow .end {
  transition: y 0.45s var(--ease), height 0.45s var(--ease);
}
.flow .endtag {
  transition: transform 0.45s var(--ease);
}
.flow .vault {
  fill: var(--surface);
  stroke: var(--line);
}
.flow [data-dest="mind"] {
  stroke: var(--f-mind);
  fill: var(--f-mind);
}
.flow [data-dest="treasury"] {
  stroke: var(--f-treasury);
  fill: var(--f-treasury);
}
.flow [data-dest="burn"] {
  stroke: var(--f-burn);
  fill: var(--f-burn);
}
.flow [data-dest="team"] {
  stroke: var(--f-team);
  fill: var(--f-team);
}
.flow [data-dest="orbio"] {
  stroke: var(--f-orbio);
  fill: var(--f-orbio);
}
.flow .band[data-dest] {
  fill: none;
}
.flow[data-focus] .band {
  stroke-opacity: 0.1;
}
.flow[data-focus="mind"] .band[data-dest="mind"],
.flow[data-focus="treasury"] .band[data-dest="treasury"],
.flow[data-focus="burn"] .band[data-dest="burn"],
.flow[data-focus="team"] .band[data-dest="team"],
.flow[data-focus="orbio"] .band[data-dest="orbio"] {
  stroke-opacity: 0.8;
}
.flow .endtag,
.flow .band {
  cursor: default;
}
.split > div {
  border-top: 2px solid var(--line);
  margin-top: -1px;
  transition: background 0.3s;
}
.split > div[data-dest="mind"] {
  border-top-color: var(--f-mind);
}
.split > div[data-dest="treasury"] {
  border-top-color: var(--f-treasury);
}
.split > div[data-dest="burn"] {
  border-top-color: var(--f-burn);
}
.split > div[data-dest="team"] {
  border-top-color: var(--f-team);
}
.split > div[data-dest="orbio"] {
  border-top-color: var(--f-orbio);
}
.wide tr {
  transition: background 0.4s var(--ease);
}
.wide tr.on {
  background: var(--raise);
}
.wide tr.on td:first-child {
  color: var(--accent);
}
.slider {
  display: grid;
  gap: 12px;
}
.slider .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.slider output {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-stretch: 85%;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 1px;
  background: var(--line);
}
input[type="range"]::-moz-range-track {
  height: 1px;
  background: var(--line);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: -9px;
  box-shadow: 0 0 0 6px var(--glow);
  transition: box-shadow 0.3s;
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--glow);
}
input[type="range"]:active::-webkit-slider-thumb {
  box-shadow: 0 0 0 10px var(--glow);
}
.ticks {
  position: relative;
  height: 18px;
  font-size: 12px;
  color: var(--faint);
}
.ticks span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}
.split {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.split > div {
  padding: 16px 16px 0 0;
  display: grid;
  gap: 4px;
}
.split > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.split b {
  font-size: 22px;
  font-weight: 500;
}
.split span {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 700px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split > div:nth-child(2n + 1) {
    padding-left: 0;
    border-left: 0;
  }
  .flowwrap {
    padding: 18px;
  }
}

/* tables */
.tw {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14.5px;
}
th,
td {
  text-align: left;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
td.n,
th.n {
  text-align: right;
  white-space: nowrap;
}
.wide td {
  min-width: 150px;
}
.wide td:last-child {
  min-width: 260px;
}
.wide td:first-child {
  min-width: 110px;
  font-weight: 600;
}

/* safety */
.intents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.intents button,
.chips button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 9px 14px;
  font-size: 14px;
  border-radius: 2px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.intents button:hover,
.chips button:hover {
  color: var(--ink);
}
.intents button[aria-pressed="true"],
.chips button[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--raise);
}
.lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  border-block: 1px solid var(--line);
}
.lanes > div {
  padding: 22px 18px;
  display: grid;
  gap: 6px;
  align-content: start;
  transition: background 0.4s;
}
.lanes > div + div {
  border-left: 1px solid var(--line);
}
.lanes > div.pass {
  background: linear-gradient(var(--glow), transparent);
}
.lanes > div.stop {
  background: linear-gradient(
    color-mix(in srgb, var(--bad) 14%, transparent),
    transparent
  );
}
.res {
  font-size: 13px;
  min-height: 40px;
  color: var(--muted);
}
.res.ok {
  color: var(--ok);
}
.res.no {
  color: var(--bad);
}
.puck {
  position: absolute;
  top: -6px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--glow);
  transition: left 0.7s var(--ease), background 0.3s;
}
.puck.no {
  background: var(--bad);
}
@media (max-width: 760px) {
  .lanes {
    grid-template-columns: 1fr 1fr;
  }
  .lanes > div:nth-child(4) {
    border-left: 0;
  }
  .lanes > div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
  .puck {
    display: none;
  }
}
ul.plain {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
ul.plain b {
  color: var(--ink);
  font-weight: 600;
}

/* mind */
.meter {
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.meter i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--accent);
  transition: width 1.2s var(--ease);
}

/* launch */
.form {
  display: grid;
  gap: 22px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label,
.field legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 0;
}
fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  border-radius: 0;
  transition: border-color 0.3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
}
.field select option {
  background: var(--surface);
  color: var(--ink);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
  display: grid;
  gap: 16px;
  align-self: start;
  position: sticky;
  top: 84px;
}
.card .id {
  display: flex;
  gap: 14px;
  align-items: center;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: s;
}
.steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  font-size: 14.5px;
  color: var(--muted);
}
.steps li::before {
  counter-increment: s;
  content: counter(s);
  color: var(--accent);
  font-weight: 600;
}
.msg {
  font-size: 14px;
  color: var(--accent);
  min-height: 22px;
}
.hint {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  min-height: 3em;
  max-width: 52ch;
}
.msg a {
  color: inherit;
}
#lform {
  gap: 44px;
}
.fsec {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  min-width: 0;
}
.fsec > legend {
  padding: 0;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.field legend .muted {
  font-weight: 400;
  color: var(--faint);
}
.idrow {
  display: grid;
  grid-template-columns: 56px 1fr 148px;
  gap: 18px;
  align-items: start;
}
.idrow > * {
  min-width: 0;
}
.pic {
  position: relative;
  gap: 8px;
}
.pic .lab {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.drop {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
}
.drop .sig {
  width: 56px;
  height: 56px;
  transition: background 0.4s, transform 0.3s var(--ease);
}
.drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.drop::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed var(--faint);
  opacity: 0;
  transition: opacity 0.25s, border-color 0.25s;
}
.drop:hover::after,
.drop:focus-within::after {
  opacity: 1;
}
.drop.over::after {
  opacity: 1;
  border-color: var(--accent);
  border-style: solid;
}
.drop.over .sig {
  transform: scale(0.92);
}
.unpic {
  position: absolute;
  top: 22px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  padding: 0;
  display: grid;
  place-items: center;
}
.unpic:hover {
  color: var(--ink);
}
.affix {
  display: flex;
  align-items: baseline;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s;
}
.affix span {
  color: var(--faint);
}
.field .affix input {
  border: 0;
  flex: 1;
  min-width: 0;
  width: 100%;
}
.affix:focus-within {
  border-color: var(--accent);
}
.field input[aria-invalid="true"],
.affix:has([aria-invalid="true"]) {
  border-color: var(--bad);
}
.err {
  margin: 0;
  font-size: 13px;
  color: var(--bad);
}
.err:empty {
  display: none;
}
.hint.short {
  min-height: 0;
}
.count {
  justify-self: end;
  font-size: 12px;
  color: var(--faint);
}
.chips button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}
.go {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--muted);
}
.facts li {
  display: grid;
  grid-template-columns: 14px 1fr;
}
.facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.62em;
}
.preview .sig {
  width: 56px;
  height: 56px;
}
.pv {
  margin: 0;
  display: grid;
}
.pv dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.pv dd {
  margin: 2px 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.pv dd:last-child {
  margin-bottom: 0;
}
#pd {
  font-style: italic;
}
@media (max-width: 900px) {
  .preview {
    display: none;
  }
}
@media (max-width: 520px) {
  .idrow {
    grid-template-columns: 48px 1fr 104px;
    gap: 12px;
  }
  .drop,
  .drop .sig {
    width: 48px;
    height: 48px;
  }
  .go {
    justify-items: stretch;
  }
  .go .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn:disabled::before {
  display: none;
}

/* deploy */
ol.phase {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  counter-reset: p;
}
ol.phase li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: p;
}
ol.phase li::before {
  content: "Phase " counter(p);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  padding-top: 2px;
}
ol.phase li > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.envout {
  margin: 8px 0 0;
  padding: 14px 16px;
  background: var(--raise);
  border: 1px solid var(--line);
  font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
ol.deploy li > div > div {
  margin-top: 8px;
}
.note {
  font-size: 14px;
  color: var(--muted);
  border-left: 1px solid var(--accent);
  padding: 4px 0 4px 16px;
  max-width: 72ch;
}

footer {
  width: min(1112px, 100% - 48px);
  margin: 96px auto 0;
  border-top: 1px solid var(--line);
  padding-block: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--faint);
}

/* 404 */
.lost {
  min-height: 60vh;
  display: grid;
  align-content: center;
  gap: 20px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  @view-transition {
    navigation: none;
  }
}

/* live journal */
.empty {
  color: var(--muted);
  font-size: 15px;
  padding: 18px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.empty a,
.receipt {
  color: var(--accent);
}
.receipt {
  font-size: 13px;
  margin-left: 6px;
  white-space: nowrap;
}
.thought .who a {
  color: inherit;
  text-decoration: none;
}
a.sig {
  display: inline-block;
}

/* docs */
ol.plain {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
h3.sub {
  margin-top: 36px;
}
.addrs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  column-gap: 36px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.addrs > * {
  min-width: 0;
}
.addr {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.addr p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.ca {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.ca a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.ca a:hover {
  border-color: var(--accent);
}
.ca code {
  font: 13.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}
.link {
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 12.5px;
  padding: 2px 4px;
  transition: color 0.3s;
}
.link:hover {
  color: var(--ink);
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

/* launch moment */
.born {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  color: var(--ink);
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto;
  overflow: auto;
}
.born:not([open]) {
  display: none;
}
.born::backdrop {
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(10px);
}
.born canvas {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
}
.borntext {
  width: min(640px, 100% - 32px);
  margin: 0 auto;
  padding: 0 0 56px;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}
.borntext h2 {
  font-size: clamp(36px, 6vw, 72px);
}
.borntext .lead {
  max-width: 44ch;
}
.bornfacts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.bornfacts > div {
  display: grid;
  gap: 4px;
  justify-items: center;
}
.bornfacts a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.bornfacts code {
  font: 13.5px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.bornwake {
  width: min(360px, 100%);
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.bornwake .row {
  display: flex;
  justify-content: space-between;
}
.born .cta {
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
.born:not([data-stage="born"]) :is(.bornfacts, .bornwake, #borncta) {
  display: none;
}
.born[data-stage="born"] #bornstatus {
  display: none;
}

.born[data-stage="born"] .borntext > * {
  animation: bornIn 1s var(--ease) both;
}
.born[data-stage="born"] .borntext > :nth-child(2) {
  animation-delay: 0.12s;
}
.born[data-stage="born"] .borntext > :nth-child(3) {
  animation-delay: 0.24s;
}
.born[data-stage="born"] .borntext > :nth-child(5) {
  animation-delay: 0.38s;
}
.born[data-stage="born"] .borntext > :nth-child(6) {
  animation-delay: 0.5s;
}
.born[data-stage="born"] .borntext > :nth-child(7) {
  animation-delay: 0.62s;
}
@keyframes bornIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* mind data */
.bornsteps {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  gap: 22px;
  justify-content: center;
  font-size: 12.5px;
  color: var(--faint);
  counter-reset: b;
}
.bornsteps li {
  counter-increment: b;
  display: flex;
  gap: 8px;
  align-items: center;
  transition: color 0.4s var(--ease);
}
.bornsteps li::before {
  content: counter(b);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 11px;
  transition: all 0.4s var(--ease);
}
.bornsteps li.now {
  color: var(--ink);
}
.bornsteps li.now::before {
  border-color: var(--accent);
  color: var(--accent);
  animation: stepPulse 1.6s var(--ease) infinite;
}
.bornsteps li.done {
  color: var(--muted);
}
.bornsteps li.done::before {
  border-color: var(--accent);
  color: var(--accent);
}
@keyframes stepPulse {
  50% {
    box-shadow: 0 0 0 6px var(--glow);
  }
}
.born:not([data-stage="failed"]) #bornretry {
  display: none;
}
.born[data-stage="failed"] :is(.bornfacts, .bornwake, #borncta) {
  display: none;
}
.born[data-stage="failed"] #borntitle {
  opacity: 1;
}

/* mind dashboard: everything about one mind at a glance */
main:has(> .dash:not([hidden])) {
  max-width: 1480px;
}
.dash {
  padding-top: 28px;
  display: grid;
  gap: 14px;
}
.dhead {
  display: grid;
  grid-template-columns: minmax(300px, 2.1fr) 1.25fr repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}
.dhead > * {
  min-width: 0;
}
.did {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
}
.did .sig.lg {
  width: 72px;
  height: 72px;
}
.did-t {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.did .eyebrow a {
  text-decoration: none;
  color: inherit;
}
.did .eyebrow a:hover {
  color: var(--ink);
}
.did h2 {
  font-size: clamp(28px, 2.6vw, 40px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border: 1px solid var(--accent);
  color: var(--accent);
  letter-spacing: 0.12em;
  font-size: 10.5px;
  vertical-align: 1px;
}
.dlinks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}
.dlinks .btn.sm {
  padding: 7px 13px;
  font-size: 13px;
}
.copychip {
  border: 1px solid var(--line);
  background: transparent;
  padding: 6px 10px;
  font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
  border-radius: 2px;
  display: inline-flex;
  gap: 10px;
}
.copychip::after {
  content: "Copy";
  font: 600 10.5px var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  align-self: center;
}
.copychip:hover {
  border-color: var(--accent);
}
.dstat {
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}
.dstat b {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-stretch: 85%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dstat.big b {
  font-size: clamp(28px, 2.8vw, 40px);
}
.dstat small {
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.dcol {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.duo > * {
  min-width: 0;
}
.pane {
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  align-content: start;
  min-width: 0;
}
.phead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.phead .eyebrow {
  color: var(--ink);
  font-size: 11.5px;
}
.phead .meta {
  font-size: 12.5px;
  color: var(--faint);
  text-decoration: none;
}
.phead a.meta:hover {
  color: var(--accent);
}
.pbody {
  padding: 16px;
  display: grid;
  gap: 12px;
}
.live {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bad);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.live.off {
  color: var(--faint);
}
.live.off .orb::before,
.live.off .orb::after {
  animation: none;
}

.mindid {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.mindid > div {
  display: grid;
  min-width: 0;
}
.mindid b {
  font-weight: 600;
}
.mindid small {
  color: var(--muted);
  font-size: 12.5px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.badge.A {
  color: var(--ok);
}
.badge.S {
  color: var(--faint);
}
.persona p {
  font-size: 14.5px;
  line-height: 1.55;
}
.persona .eyebrow {
  font-size: 10.5px;
  margin-right: 6px;
}
.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}

.tl {
  max-height: 640px;
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 0 16px;
}
.te {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  animation: thoughtIn 0.9s var(--ease);
}
.te:last-child {
  border-bottom: 0;
}
.te > * {
  min-width: 0;
}
.te time {
  font-size: 12px;
  color: var(--faint);
  line-height: 1.5;
}
.te time small {
  display: block;
  font-size: 11px;
}
.te .k {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.te .k.buyback,
.te .k.funded {
  color: var(--accent);
}
.te p {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 3px;
}
.te a.receipt {
  font-size: 12px;
}
.tl .empty {
  padding: 16px 0;
}

.bar {
  position: relative;
  height: 6px;
  background: var(--raise);
  overflow: hidden;
}
.bar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
  transition: width 1s var(--ease);
}
.bar.ok i {
  background: var(--ok);
}
.ladder {
  display: grid;
  grid-template-columns: 20fr 80fr 100fr;
  gap: 3px;
  position: relative;
  height: 8px;
}
.ladder span {
  background: var(--raise);
}
.ladder span.on {
  background: var(--faint);
}
.ladder span.at {
  background: var(--accent);
}
.ladder em {
  position: absolute;
  top: -5px;
  width: 2px;
  height: 18px;
  background: var(--ink);
  transform: translateX(-1px);
}
.legend {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}
.legend div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.legend div.now {
  color: var(--ink);
}
.legend div.now::before {
  content: "→";
  color: var(--accent);
  margin-right: -4px;
}
.lim {
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.lim .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}
.lim .row b {
  color: var(--ink);
  font-weight: 500;
}
.pbody .muted.small {
  font-size: 13px;
  line-height: 1.5;
}

.hold {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4px 14px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.hold:first-child {
  padding-top: 0;
}
.hold:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.hold b {
  font-weight: 600;
}
.hold small {
  display: block;
  color: var(--faint);
  font-size: 12px;
  font-weight: 400;
}
.hold .n {
  text-align: right;
}
.hold .u {
  text-align: right;
  color: var(--muted);
  min-width: 56px;
}
.hold .bar {
  grid-column: 1 / -1;
  height: 3px;
  margin-top: 6px;
}

.moves {
  display: grid;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.mv {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  text-decoration: none;
}
.mv:last-child {
  border-bottom: 0;
}
.mv small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ok);
}
.mv small span {
  color: var(--faint);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}
.mv .go {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  font-size: 12px;
  color: var(--faint);
}
a.mv:hover .go {
  color: var(--accent);
}
.moves .empty {
  padding: 16px;
  font-size: 14px;
}
.kv {
  margin: 0;
  padding: 4px 16px 10px;
}
.kv > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.kv > div:last-child {
  border-bottom: 0;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  text-align: right;
}

@media (max-width: 1240px) {
  .dhead {
    grid-template-columns: repeat(5, 1fr);
  }
  .did {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line);
  }
  .dhead .dstat:nth-child(2) {
    border-left: 0;
  }
  .dgrid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  }
  .c-side {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .dhead {
    grid-template-columns: 1fr 1fr;
  }
  .dhead .dstat {
    border-top: 1px solid var(--line);
  }
  .dhead .dstat:nth-child(odd),
  .dhead .dstat.big {
    border-left: 0;
  }
  .dhead .dstat.big {
    grid-column: 1 / -1;
  }
  .dgrid,
  .c-side,
  .duo {
    grid-template-columns: minmax(0, 1fr);
  }
  .c-side {
    grid-column: auto;
  }
  .tl {
    max-height: none;
  }
}
@media (max-width: 520px) {
  .did {
    padding: 16px;
  }
  .did .sig.lg {
    width: 52px;
    height: 52px;
  }
  .dstat {
    padding: 14px 16px;
  }
}

/* mind's eye */
.eye .phead .live {
  font-size: 11px;
}
.eyewin {
  margin: 14px 14px 0;
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  position: relative;
  overflow: hidden;
}
.ebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--raise);
}
.dots {
  display: flex;
  gap: 5px;
}
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--faint);
}
.ebar .url {
  flex: 1;
  min-width: 0;
  font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 5px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ebar .url b {
  color: var(--ink);
  font-weight: 500;
}
.ebar .st {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ebar .st.busy {
  color: var(--accent);
}
.view {
  height: 400px;
  overflow: hidden;
  padding: 20px 22px 90px;
  position: relative;
  animation: viewIn 0.5s var(--ease);
}
@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.view > * {
  animation: none;
}
.view [style*="--d"] {
  opacity: 0;
  animation: popIn 0.55s var(--ease) forwards;
  animation-delay: var(--d);
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  padding: 30px 22px 14px;
  background: linear-gradient(transparent, var(--bg) 42%);
  display: grid;
  gap: 2px;
}
.cap .eyebrow {
  color: var(--accent);
  font-size: 10.5px;
}
.cap p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cap small {
  font-size: 12px;
  color: var(--faint);
}
.eprog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--line);
}
.eprog i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}
.frames {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(64px, 1fr);
  gap: 6px;
  padding: 10px 14px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.fr {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 8px 6px 0;
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.fr i {
  height: 2px;
  background: var(--line);
}
.fr.seen {
  color: var(--muted);
}
.fr.seen i {
  background: var(--faint);
}
.fr.on {
  border-color: var(--accent);
  color: var(--ink);
}
.fr.on i {
  background: var(--accent);
}
.fr:hover {
  color: var(--ink);
}

.reads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.reads > div {
  background: var(--bg);
  padding: 9px 14px;
  display: grid;
  gap: 1px;
}
.reads span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}
.reads b {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.reads small {
  font-size: 12px;
  color: var(--muted);
}
.type {
  font-size: 17px;
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
}
.type.on::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1em;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
.work {
  display: flex;
  gap: 14px;
  align-items: center;
  height: 100%;
  padding-bottom: 40px;
  font-size: 17px;
}
.spin {
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.posts {
  display: grid;
  gap: 10px;
}
.post {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 11px 14px;
  display: grid;
  gap: 3px;
  font-size: 14px;
}
.post b {
  font-size: 13px;
}
.post p {
  color: var(--ink);
  line-height: 1.45;
}
.post small {
  color: var(--faint);
  font-size: 12px;
}
.results {
  display: grid;
  gap: 16px;
}
.results > div {
  display: grid;
  gap: 2px;
}
.results small {
  font-size: 12px;
  color: var(--ok);
}
.results b {
  font-weight: 500;
  font-size: 16px;
  color: var(--accent);
}
.results p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page {
  display: grid;
  gap: 12px;
  grid-template-rows: auto auto 1fr;
  height: 100%;
  min-height: 0;
}
.page .box {
  overflow: hidden;
  min-height: 0;
  mask-image: linear-gradient(#000 70%, transparent);
}
.page img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border: 1px solid var(--line);
  animation: popIn 0.6s var(--ease);
}
.page h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.page .scroll {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  animation: readScroll var(--hold, 9000ms) linear forwards;
  animation-delay: 1s;
}
@keyframes readScroll {
  to {
    transform: translateY(-55%);
  }
}
.dec {
  display: grid;
  gap: 12px;
}
.dec > b {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-stretch: 85%;
}
.dec.buy > b {
  color: var(--accent);
}
.checks {
  display: grid;
  border-top: 1px solid var(--line);
}
.checks > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.checks span {
  color: var(--muted);
}
.checks b {
  font-weight: 500;
}
.txok {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.txok b {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ok);
}
.txok.bad b {
  color: var(--bad);
}
.txok p {
  font-size: 16px;
}
.none {
  color: var(--muted);
  font-size: 15px;
}
.watch {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
}
.radar {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.radar i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: ring 3.6s var(--ease) infinite;
}
.radar i:nth-child(2) {
  animation-delay: 1.2s;
}
.radar i:nth-child(3) {
  animation-delay: 2.4s;
}
@keyframes ring {
  from {
    transform: scale(0.15);
    opacity: 0.9;
  }
  to {
    transform: scale(1);
    opacity: 0;
  }
}
.radar span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0 300deg,
    var(--glow) 340deg,
    color-mix(in srgb, var(--accent) 45%, transparent) 360deg
  );
  animation: spin 4s linear infinite;
}
.wnums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.wnums div {
  display: grid;
  gap: 1px;
}
.wnums span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}
.wnums b {
  font-size: 19px;
  font-weight: 500;
}
.lastnote {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lastnote small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  margin-bottom: 3px;
}
@media (max-width: 520px) {
  .view {
    height: 340px;
    padding: 16px 16px 84px;
  }
  .reads {
    grid-template-columns: 1fr;
  }
  .reads > div:nth-child(n + 5) {
    display: none;
  }
  .watch {
    grid-template-columns: 1fr;
  }
  .radar {
    width: 90px;
    height: 90px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .view [style*="--d"],
  .page .scroll,
  .radar * {
    animation: none !important;
    opacity: 1;
    mask: none;
  }
}

/* the Orbancy glyph as a status light: its orbit turns and its core breathes */
.orb {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: none;
  vertical-align: -2px;
  color: inherit;
}
.orb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0.75;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9'%3E%3Ccircle cx='12' cy='12' r='10.5'/%3E%3Cellipse cx='12' cy='12' rx='10.5' ry='4'/%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' fill='none' stroke='%23000' stroke-width='1.9'%3E%3Ccircle cx='12' cy='12' r='10.5'/%3E%3Cellipse cx='12' cy='12' rx='10.5' ry='4'/%3E%3C/svg%3E")
    center/contain no-repeat;
  animation: orbit 5s linear infinite;
}
.orb::after {
  content: "";
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: currentColor;
  animation: core 1.8s var(--ease) infinite;
}
.orb.ok {
  color: var(--ok);
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes core {
  50% {
    transform: scale(0.7);
    opacity: 0.6;
  }
}
.badge.S .orb::before,
.badge.S .orb::after,
.st:not(.busy) .orb::before,
.st:not(.busy) .orb::after {
  animation: none;
}
.st.busy .orb::before {
  animation-duration: 1.6s;
}
@media (prefers-reduced-motion: reduce) {
  .orb::before,
  .orb::after {
    animation: none !important;
  }
}

/* analytics: same destination colors as the fee flow */
.kpis {
  grid-template-columns: repeat(5, 1fr);
}
.kpis > div {
  align-content: start;
}
.kpis b {
  font-size: clamp(24px, 2.6vw, 36px);
}
.stackbar {
  display: flex;
  gap: 2px;
  height: 44px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--raise);
}
.stackbar > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3px;
  transition: flex-grow 0.8s var(--ease);
}
.stackbar em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.stackbar .soft,
.key.soft {
  background: color-mix(in srgb, var(--f-treasury) 30%, var(--surface));
}
.stackbar .soft em {
  color: var(--ink);
  text-shadow: none;
}
.stackbar .none {
  flex: 1;
  font-size: 13px;
  color: var(--muted);
  justify-content: flex-start;
  padding-left: 14px;
}
.key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 9px;
  vertical-align: 0;
  flex: none;
}
td.num,
th.num {
  text-align: right;
  white-space: nowrap;
}
.legend2 {
  display: grid;
  gap: 12px;
}
.legend2 > div {
  display: grid;
  grid-template-columns: 19px 1fr auto;
  align-items: baseline;
  gap: 2px 0;
  font-size: 14.5px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.legend2 .key {
  margin: 0;
}
.legend2 b {
  font-weight: 600;
  white-space: nowrap;
}
.legend2 small {
  grid-column: 2 / -1;
  color: var(--muted);
  font-size: 13px;
}
.bignum {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-stretch: 85%;
}
.cols-chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 220px;
  border-bottom: 1px solid var(--line);
}
.cols-chart .c {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  cursor: default;
}
.cols-chart .c span {
  display: block;
  width: 100%;
  min-height: 0;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  transition: height 0.8s var(--ease);
}
.cols-chart .c:hover span {
  background: color-mix(in srgb, var(--accent) 75%, var(--ink));
}
.axis {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: -18px;
}
.viz:has(.cols-chart) {
  position: relative;
}
.tip {
  position: absolute;
  top: 120px;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 10px 12px;
  font-size: 13px;
  display: grid;
  gap: 5px;
  pointer-events: none;
  z-index: 5;
}
.tip div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
}
.tip div b {
  color: var(--ink);
  font-weight: 600;
}
.routes {
  display: grid;
  border-top: 1px solid var(--line);
}
.route {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.route time {
  font-size: 12.5px;
  color: var(--faint);
}
.route p a {
  color: inherit;
}
.route .go {
  font-size: 12px;
  color: var(--faint);
  text-decoration: none;
}
.route .go:hover {
  color: var(--accent);
}
@media (max-width: 900px) {
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .kpis > div:first-child {
    grid-column: 1 / -1;
  }
  .kpis > div:nth-child(2),
  .kpis > div:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }
  .kpis > div:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 600px) {
  .route {
    grid-template-columns: 1fr auto;
  }
  .route time {
    grid-column: 1 / -1;
  }
}

/* Loading. Placeholders hold each value's final size so nothing jumps; real content fades up in place,
   lists a row at a time; sections further down ease in as they scroll into view. */
.sk {
  color: transparent !important;
  border-radius: 4px;
  background: linear-gradient(
      100deg,
      color-mix(in srgb, var(--ink) 9%, transparent) 30%,
      color-mix(in srgb, var(--ink) 3%, transparent) 50%,
      color-mix(in srgb, var(--ink) 9%, transparent) 70%
    )
    0 0/300% 100%;
  animation: sk 1.4s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}
.sk * {
  visibility: hidden;
}
b.sk,
span.sk {
  display: inline-block;
  min-width: 4ch;
}
.skline {
  display: block;
  height: 0.85em;
  margin: 0.4em 0;
  width: var(--w, 100%);
}
.skrow {
  pointer-events: none;
}
@keyframes sk {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
.in {
  animation: fadeUp 0.55s var(--ease) both;
  animation-delay: calc(min(var(--i, 0), 12) * 40ms);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.loading {
  position: relative;
}
.loading > * {
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}
.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      transparent 30%,
      color-mix(in srgb, var(--surface) 70%, transparent) 50%,
      transparent 70%
    )
    0 0/300% 100%;
  animation: sk 1.6s ease-in-out infinite;
  pointer-events: none;
}
@supports (animation-timeline: view()) {
  main > .block:not(.first),
  .dgrid .pane {
    animation: scrollIn linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
}
@keyframes scrollIn {
  from {
    opacity: 0.001;
    transform: translateY(20px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sk,
  .loading::after,
  .in,
  main > .block,
  .dgrid .pane {
    animation: none !important;
  }
}
.moves > .skline,
.kv > .skline {
  margin-inline: 16px;
}
.flowwrap.loading .endtag,
.flowwrap.loading .lbl,
.flowwrap.loading .colhead {
  visibility: hidden;
}
.acct {
  position: relative;
  margin-left: auto;
}
.top .wrap > .acct + .btn {
  margin-left: -16px;
}
.acct .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3e8e5e;
  margin-right: 8px;
}
.acct [role="menu"] {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  display: grid;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px -12px rgb(0 0 0 / 0.18);
  animation: fadeUp 0.2s var(--ease) both;
}
.acct [role="menuitem"] {
  all: unset;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
}
.acct [role="menuitem"]:hover,
.acct [role="menuitem"]:focus-visible {
  background: var(--raise);
}
.acct [data-off] {
  color: #a33b2e;
}
.acct[data-note]::after {
  content: attr(data-note);
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 240px;
  padding: 10px 12px;
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.mbar {
  height: 6px;
  background: var(--raise);
  border-radius: 3px;
  overflow: hidden;
  margin: 4px 0 10px;
}
.mbar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--f-burn, var(--accent));
  transition: width 1.2s var(--ease);
}
.moved {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
}
.moved:hover {
  text-decoration: underline;
}
.rewards {
  display: grid;
}
.rw {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
}
.rw:first-child {
  border-top: 0;
}
.rw .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.rw p {
  margin: 0;
  font-size: 14px;
}
.rw .act {
  margin-top: 4px;
}
.nextburn {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.nextburn:hover span {
  color: var(--ink);
}
.nextburn .mbar {
  margin: 0;
}

/* Phones: a bottom tab bar in thumb reach, and a More sheet for the rest. */
.tabbar,
.sheet {
  display: none;
}
@media (max-width: 760px) {
  .top .nav {
    display: none;
  }
  .top .wrap {
    justify-content: space-between;
  }
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(1.2) blur(16px);
    -webkit-backdrop-filter: saturate(1.2) blur(16px);
    border-top: 1px solid var(--line);
  }
  .tabbar a,
  .tabbar button {
    all: unset;
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 6px 0;
    font-size: 11px;
    letter-spacing: 0.01em;
    color: var(--muted);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.25s var(--ease);
  }
  .tabbar svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .tabbar [aria-current="page"] {
    color: var(--ink);
  }
  .tabbar [aria-current="page"] svg {
    stroke: var(--accent);
  }
  .tabbar a:active,
  .tabbar button:active {
    transform: scale(0.94);
  }
  .sheet[popover]:popover-open {
    display: block;
  }
  .sheet {
    position: fixed;
    inset: auto 0 0 0;
    margin: 0;
    width: 100%;
    max-width: none;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 16px 16px 0 0;
    padding: 10px 0 calc(14px + env(safe-area-inset-bottom));
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 -20px 50px -20px rgb(0 0 0 / 0.3);
    animation: sheetUp 0.32s var(--ease) both;
  }
  .sheet::backdrop {
    background: rgb(0 0 0 / 0.28);
  }
  .sheet::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--line);
    margin: 0 auto 8px;
  }
  .sheet nav {
    display: grid;
  }
  .sheet a {
    padding: 16px 22px;
    font-size: 17px;
    text-decoration: none;
    color: var(--ink);
    border-top: 1px solid var(--line);
  }
  .sheet a:first-child {
    border-top: 0;
  }
  .sheet a[aria-current="page"] {
    color: var(--accent);
  }
}
@keyframes sheetUp {
  from {
    transform: translateY(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sheet {
    animation: none;
  }
}
/* Phones: the fee split as one bar above the cards, instead of a diagram too wide to read. */
.flowbar {
  display: none;
}
@media (max-width: 700px) {
  .flowscroll {
    display: none;
  }
  .flowbar {
    display: flex;
    gap: 2px;
    height: 14px;
    border-radius: 3px;
    overflow: hidden;
  }
  .flowbar i {
    display: block;
    min-width: 2px;
    transition: flex 0.8s var(--ease);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .split > div {
    padding-left: 0 !important;
    border-left: 0 !important;
  }
}
#srows td,
#srows td:first-child,
#srows td:last-child {
  min-width: 0;
  font-weight: 400;
  vertical-align: middle;
}
#srows td:nth-child(2) {
  white-space: nowrap;
}
#srows input:not([type="checkbox"]) {
  width: 100%;
  min-width: 90px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 6px 0;
  font: inherit;
}
#srows input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

/* Arena: the stage */
.stage {
  position: relative;
  margin: 8px 0 28px;
  border: 1px solid var(--line);
  background: radial-gradient(
    120% 90% at 50% 45%,
    color-mix(in srgb, var(--accent) 7%, var(--surface)),
    var(--surface) 60%
  );
  overflow: hidden;
  animation: stageIn 1.2s var(--ease) both;
}
.stage canvas {
  display: block;
  width: 100%;
  height: clamp(340px, 52vw, 540px);
}
.stage-cap {
  position: absolute;
  left: 24px;
  top: 20px;
  display: grid;
  gap: 6px;
  pointer-events: none;
}
.stage-cap b {
  font-size: 15px;
  font-weight: 500;
  max-width: 34ch;
}
.stage-cap .eyebrow {
  color: var(--accent);
}
.stage-cap .orb {
  margin-left: 6px;
}
.stage-key {
  position: absolute;
  right: 24px;
  bottom: 18px;
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  pointer-events: none;
}
.stage-key i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.stage-key .k-buy {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.stage-key .k-hold {
  border: 1px solid var(--muted);
}
.stage-key .k-reward {
  background: conic-gradient(var(--accent), transparent, var(--accent));
}
.stage:not(.on) .stage-key {
  opacity: 0;
  transition: opacity 0.6s;
}
@keyframes stageIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

/* Arena: the board */
#arena td,
#arena td:first-child,
#arena td:last-child {
  min-width: 0;
  font-weight: 400;
}
#arena td.rank,
#arena tr.ghost td:first-child {
  width: 32px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
#arena td:nth-child(2) {
  min-width: 210px;
}
#arena tr {
  position: relative;
}
#arena .who {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
#arena .who .sig {
  width: 28px;
  height: 28px;
}
#arena .who > span:last-child {
  display: block;
}
#arena .who small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
#arena .who .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 28%,
    hsl(var(--h) 45% 86%),
    hsl(var(--h) 38% 48%) 58%,
    hsl(var(--h) 40% 20%)
  );
  opacity: 0.55;
  animation: breathe 3s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 180ms);
}
#arena .edge {
  min-width: 190px;
}
#arena .edge .bar {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 6px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--raise);
  border-radius: 3px;
}
#arena .edge .bar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 1px;
  background: var(--line);
}
#arena .edge .bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  border-radius: 3px;
  transition: width 1.1s var(--ease);
}
#arena .edge .bar i.up {
  background: #3e8e5e;
}
#arena .edge .bar i.down {
  left: auto;
  right: 50%;
  background: #b0473a;
}
#arena .up {
  color: #3e8e5e;
}
#arena .down {
  color: #b0473a;
}
#arena .last {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
#arena tr.leader {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent) 12%, transparent),
    transparent 70%
  );
}
#arena tr.leader td.rank {
  color: var(--accent);
  font-weight: 600;
}
#arena tr.ghost td {
  color: var(--muted);
}
#a-feed .arrive {
  animation: arrive 1.4s var(--ease) both;
}
@keyframes arrive {
  0% {
    opacity: 0;
    transform: translateY(-8px);
    background: color-mix(in srgb, var(--accent) 14%, transparent);
  }
  40% {
    opacity: 1;
    transform: none;
  }
  100% {
    background: transparent;
  }
}
@keyframes breathe {
  50% {
    opacity: 0.85;
    transform: scale(1.06);
  }
}
@media (max-width: 760px) {
  .stage {
    display: flex;
    flex-direction: column;
  }
  .stage-cap {
    position: static;
    order: -1;
    padding: 16px 16px 0;
  }
  .stage canvas {
    height: 360px;
  }
  .stage-key {
    position: static;
    padding: 0 16px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }
  #arena .edge .bar {
    width: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage,
  #a-feed .arrive,
  #arena .who .dot {
    animation: none;
  }
}

/* the official $ORBANCY address on the home page */
.cachip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.cachip span {
  font-weight: 600;
  color: var(--ink);
}
.cachip a {
  color: inherit;
  text-decoration: none;
  word-break: break-all;
}
.cachip a:hover code {
  color: var(--ink);
}
.cachip code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
