/* Mitosis - one stylesheet. Colours and type are tokens; the dish canvas reads its own palette per stain
   (public/js/dish.js STAINS), kept in step with these. */

:root,
:root[data-stain="fluo"] {
  --bg: #030708;
  --bg-2: #071012;
  --panel: rgba(9, 22, 24, 0.72);
  --ink: #dcf7ee;
  --ink-2: #9cc2b8;
  --dim: #5e7f78;
  --line: rgba(140, 255, 210, 0.12);
  --line-2: rgba(140, 255, 210, 0.22);
  --gfp: #63ffb4;
  --gfp-ink: #03140c;
  --dapi: #7d95ff;
  --rfp: #ff5a7e;
  --amber: #ffc861;
  --burn: #ff7a4a;
  --glow: 0 0 24px rgba(99, 255, 180, 0.25);
}

:root[data-stain="he"] {
  --bg: #f1e8ee;
  --bg-2: #e9dce5;
  --panel: rgba(255, 250, 252, 0.7);
  --ink: #2a1431;
  --ink-2: #5d3f60;
  --dim: #94788f;
  --line: rgba(90, 30, 100, 0.14);
  --line-2: rgba(90, 30, 100, 0.26);
  --gfp: #b8357a;
  --gfp-ink: #fff4f9;
  --dapi: #4a2a88;
  --rfp: #c2306a;
  --amber: #a8701a;
  --burn: #c8402e;
  --glow: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 "IBM Plex Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }

/* ---------- top bar ---------- */
.top {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 23px; }
.brand-mark .mem { fill: color-mix(in srgb, var(--gfp) 12%, transparent); stroke: var(--gfp); stroke-width: 1.6; }
.brand-mark .nuc { fill: var(--dapi); }
.brand-word { font-family: "Instrument Serif", serif; font-style: italic; font-size: 27px; letter-spacing: 0.01em; line-height: 1; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  white-space: nowrap;
  text-decoration: none;
  font: 500 13px "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 7px 12px;
  border-radius: 999px;
}
.nav a:hover, .nav a.on { color: var(--ink); background: var(--line); }
.nav a.nav-cta { color: var(--gfp); border: 1px solid color-mix(in srgb, var(--gfp) 45%, transparent); }
.nav a.nav-cta:hover, .nav a.nav-cta.on { background: var(--gfp); color: var(--gfp-ink); }
.top-right { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.sim-chip {
  white-space: nowrap;
  font: 500 11px "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px dashed color-mix(in srgb, var(--amber) 60%, transparent);
  padding: 4px 9px;
  border-radius: 4px;
}
.stain { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.stain button {
  border: 0;
  background: none;
  font: 500 11px "IBM Plex Mono", monospace;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--dim);
  cursor: pointer;
}
.stain button.on { background: var(--line-2); color: var(--ink); }

/* ---------- shared bits ---------- */
.eyebrow {
  font: 500 11px "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gfp);
  background: var(--gfp);
  color: var(--gfp-ink);
  font: 600 14px "IBM Plex Mono", monospace;
  letter-spacing: 0.03em;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--glow);
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: none; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--ink-2); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 25%, transparent); }
.num { font-family: "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 12px 14px 12px 0; }
.stat + .stat { padding-left: 14px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 500 22px "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat span { font: 500 10.5px "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

.log { list-style: none; margin: 0; padding: 0; font: 12.5px/1.5 "IBM Plex Mono", monospace; }
.log li { display: grid; grid-template-columns: 62px 14px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.log li .t { color: var(--dim); }
.log li .what { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log li .what b { color: var(--ink); font-weight: 500; }
.log li .tag { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.log li.new { animation: logIn 0.9s ease-out; }
@keyframes logIn { from { background: color-mix(in srgb, var(--gfp) 14%, transparent); } to { background: transparent; } }
.tag.birth { color: var(--gfp); }
.tag.burn { color: var(--burn); }
.tag.culture { color: var(--amber); }

canvas.dish { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
canvas.dish.pointing { cursor: pointer; }
canvas.dish:active { cursor: grabbing; }

/* ---------- home ---------- */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  height: calc(100dvh - 52px);
  min-height: 540px;
}
.hero-dish { position: relative; min-width: 0; border-right: 1px solid var(--line); }
.hero-copy { padding: 30px 36px 22px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; min-width: 0; }
.hero-copy h1 { margin: 0; font: 400 clamp(40px, 4.6vw, 68px)/0.92 "Instrument Serif", serif; letter-spacing: -0.015em; }
.hero-copy h1 em { color: var(--gfp); }
.hero-copy .lede { margin: 0; color: var(--ink-2); max-width: 46ch; font-size: 15.5px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.preview-note { margin: -6px 0 0; font: 12px/1.5 "IBM Plex Mono", monospace; color: var(--amber); opacity: 0.85; }
.readout {
  font: 12.5px/1.5 "IBM Plex Mono", monospace;
  color: var(--ink-2);
  min-height: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.readout .eyebrow { flex: none; }
.hero-log { min-height: 0; flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }

.section { padding: 64px 36px; border-top: 1px solid var(--line); max-width: 1320px; margin: 0 auto; }
.section h2 { margin: 6px 0 22px; font: 400 44px/1 "Instrument Serif", serif; }
.section h2 em { color: var(--gfp); }
.section p.sub { color: var(--ink-2); max-width: 64ch; margin: -8px 0 28px; }

.specimens { width: 100%; border-collapse: collapse; font: 13px "IBM Plex Mono", monospace; }
.specimens th { text-align: left; font-weight: 500; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line-2); }
.specimens td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.specimens tr { cursor: pointer; }
.specimens tr:hover td { background: var(--line); }
.specimens .who { display: flex; align-items: center; gap: 12px; }
.specimens .who img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--gfp); }
.specimens .who b { font-weight: 600; color: var(--ink); }
.specimens .who span { color: var(--dim); }

.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cycle > div { padding: 18px; border-left: 1px solid var(--line); }
.cycle > div:first-child { border-left: 0; }
.cycle canvas { width: 100%; aspect-ratio: 1; display: block; margin-bottom: 12px; }
.cycle h3 { margin: 4px 0 6px; font: 400 26px/1.05 "Instrument Serif", serif; }
.cycle p { margin: 0; color: var(--ink-2); font-size: 14px; }

.genome-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: start; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); font-size: 14px; }
.rules li b { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }

.foot { padding: 28px 36px 40px; border-top: 1px solid var(--line); color: var(--dim); font: 12px/1.6 "IBM Plex Mono", monospace; }

/* the genome bar: platform | launcher | replication */
.genome { display: flex; height: 34px; border-radius: 8px; overflow: hidden; font: 600 11px "IBM Plex Mono", monospace; letter-spacing: 0.05em; }
.genome > div { display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; min-width: 0; transition: flex-basis 0.25s; }
.genome .g-platform { background: color-mix(in srgb, var(--ink-2) 30%, transparent); color: var(--ink); }
.genome .g-launcher { background: color-mix(in srgb, var(--dapi) 55%, transparent); color: var(--ink); }
.genome .g-rep { background: var(--gfp); color: var(--gfp-ink); }
.genome-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font: 12px "IBM Plex Mono", monospace; color: var(--ink-2); }
.genome-key i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* ---------- colony ---------- */
.colony { display: grid; grid-template-columns: minmax(0, 1fr) 420px; height: calc(100dvh - 52px); min-height: 540px; }
.colony .dish-wrap { position: relative; min-width: 0; border-right: 1px solid var(--line); }
.panel { overflow-y: auto; padding: 22px 24px 30px; display: flex; flex-direction: column; gap: 18px; }
.label-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; }
.label-card img { width: 76px; height: 76px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gfp), var(--glow); object-fit: cover; }
.label-card h1 { margin: 0; font: 400 36px/1 "Instrument Serif", serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.label-card .tick { font: 600 13px "IBM Plex Mono", monospace; color: var(--gfp); letter-spacing: 0.04em; }
.label-card .meta { font: 12px "IBM Plex Mono", monospace; color: var(--dim); }
.ca { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; font: 12px "IBM Plex Mono", monospace; }
.ca code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.ca button { border: 0; background: var(--line); border-radius: 6px; padding: 4px 9px; cursor: pointer; font-size: 11px; }
.links { display: flex; flex-wrap: wrap; gap: 6px; }
.links a, .links span { font: 500 12px "IBM Plex Mono", monospace; text-decoration: none; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); }
.links a:hover { color: var(--ink); border-color: var(--ink-2); }
.links span { opacity: 0.5; }
.panel h4 { margin: 0 0 8px; }
.panel .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel .stats .stat:nth-child(4) { border-left: 0; padding-left: 0; }
.panel .stats .stat:nth-child(n + 4) { border-top: 1px solid var(--line); }
.ready { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ready li { display: grid; grid-template-columns: minmax(0, 1fr) 110px 46px; gap: 10px; align-items: center; font: 12.5px "IBM Plex Mono", monospace; cursor: pointer; padding: 3px 0; }
.ready li:hover .nm { color: var(--ink); }
.ready .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--amber); border-radius: 99px; }
.ready .pct { text-align: right; color: var(--dim); font-variant-numeric: tabular-nums; }
.cellcard { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; display: grid; gap: 10px; background: var(--panel); }
.cellcard .row { display: flex; justify-content: space-between; gap: 10px; font: 12.5px "IBM Plex Mono", monospace; color: var(--ink-2); }
.cellcard .row b { color: var(--ink); font-weight: 500; }
.cellcard h3 { margin: 0; font: 400 26px/1 "Instrument Serif", serif; }
.cellcard .x { float: right; border: 0; background: none; cursor: pointer; color: var(--dim); font-size: 18px; line-height: 1; }

/* ---------- culture (the form) ---------- */
.culture { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100dvh - 52px); }
.culture-form { padding: 30px 40px 60px; border-right: 1px solid var(--line); }
.culture-form h1 { margin: 0 0 6px; font: 400 54px/0.95 "Instrument Serif", serif; }
.culture-form h1 em { color: var(--gfp); }
.culture-form .sub { color: var(--ink-2); margin: 0 0 26px; max-width: 52ch; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
legend { padding: 0; margin-bottom: 12px; }
.field { display: grid; gap: 6px; }
.field label { font: 500 11px "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); display: flex; justify-content: space-between; }
.field label small { text-transform: none; letter-spacing: 0; color: var(--dim); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 16px;
  outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--gfp); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gfp) 18%, transparent); }
.field textarea { resize: vertical; min-height: 78px; }
.field .err { color: var(--rfp); font: 12px "IBM Plex Mono", monospace; min-height: 0; }
.field.bad input, .field.bad textarea { border-color: var(--rfp); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.drop {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
}
.drop:hover, .drop.over { border-color: var(--gfp); }
.drop .well { width: 112px; height: 112px; border-radius: 50%; background: var(--bg-2); box-shadow: inset 0 0 0 2px var(--gfp); overflow: hidden; display: grid; place-items: center; color: var(--dim); font: 11px "IBM Plex Mono", monospace; text-align: center; }
.drop .well img { width: 100%; height: 100%; object-fit: cover; }
.drop p { margin: 0; color: var(--ink-2); font-size: 14px; }
.slider { display: grid; gap: 10px; }
.slider input[type="range"] { width: 100%; accent-color: var(--gfp); }
.slider .ends { display: flex; justify-content: space-between; font: 12px "IBM Plex Mono", monospace; color: var(--dim); }
.facts { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font: 13px/1.5 "IBM Plex Mono", monospace; color: var(--ink-2); }
.facts b { color: var(--ink); font-weight: 500; }
.note { font-size: 13.5px; color: var(--ink-2); border-left: 2px solid var(--amber); padding: 6px 0 6px 12px; margin: 0; }
.culture-go { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.culture-go small { color: var(--dim); font: 12px "IBM Plex Mono", monospace; }
.culture-preview { position: sticky; top: 52px; height: calc(100dvh - 52px); display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.culture-preview .dish-wrap { position: relative; min-height: 0; }
.kidcard { margin: 0 28px 26px; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; background: var(--panel); }
.kidcard img, .kidcard .ph { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--bg-2); }
.kidcard .nm { font: 600 14px "IBM Plex Mono", monospace; }
.kidcard .nm span { color: var(--dim); font-weight: 400; }
.kidcard .ds { font-size: 13px; color: var(--ink-2); margin: 4px 0 6px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kidcard .eyebrow { grid-column: 1 / -1; margin-bottom: -4px; }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  .top { gap: 10px; padding: 0 14px; }
  .nav a.nav-cta { font-size: 11.5px; padding: 6px 10px; }
  .sim-chip .long { display: none; }
  .brand-word { font-size: 23px; }
  .nav a[data-route="home"] { display: none; }
  .stain { display: none; }
  .home-hero, .colony { grid-template-columns: 1fr; height: auto; }
  .hero-dish, .colony .dish-wrap { height: min(100vw, 62dvh); border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-copy { padding: 22px 16px; }
  .hero-log { max-height: 260px; }
  .panel { overflow: visible; padding: 18px 16px 30px; }
  .section { padding: 44px 16px; }
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cycle > div:nth-child(3) { border-left: 0; }
  .cycle > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .genome-grid { grid-template-columns: 1fr; }
  .specimens .hide-sm { display: none; }
  .culture { grid-template-columns: 1fr; }
  .culture-preview { position: relative; top: 0; height: auto; order: -1; }
  .culture-preview .dish-wrap { height: min(90vw, 50dvh); }
  .culture-form { padding: 22px 16px 50px; border-right: 0; }
  .two { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- the real launch: wallet row, review dialog ---------- */
.culture-go { display: grid; gap: 12px; }
.go-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.go-row small { color: var(--dim); font: 12px "IBM Plex Mono", monospace; }
.go-status { font: 13px/1.5 "IBM Plex Mono", monospace; color: var(--ink-2); min-height: 0; }
.go-status:empty { display: none; }
.go-status.bad { color: var(--rfp); }
.wallet-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.wallet-chip { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; font: 12.5px "IBM Plex Mono", monospace; min-width: 0; }
.wallet-chip code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.wallet-chip button { border: 0; background: var(--line); border-radius: 6px; padding: 4px 9px; cursor: pointer; font-size: 11px; color: var(--ink-2); }
dialog.review {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--bg-2);
  color: var(--ink);
  padding: 22px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
dialog.review::backdrop { background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(3px); }
dialog.review h2 { margin: 4px 0 14px; font: 400 34px/1 "Instrument Serif", serif; }
dialog.review h2 span { color: var(--ink-2); font-size: 24px; }
dialog.review p { color: var(--ink-2); font-size: 14px; }
.rv { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); }
.rv > span, .rv.two-col span { font: 500 10.5px "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.rv code { font: 12px "IBM Plex Mono", monospace; color: var(--ink); word-break: break-all; }
.rv ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rv li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; font-size: 13.5px; }
.rv li b { font: 600 13px "IBM Plex Mono", monospace; color: var(--gfp); grid-row: span 2; }
.rv li code { grid-column: 2; color: var(--ink-2); font-size: 11.5px; }
.rv.two-col { grid-template-columns: 1fr 1fr; gap: 12px; }
.rv.two-col > div { display: grid; gap: 2px; }
.rv.two-col b { font: 500 18px "IBM Plex Mono", monospace; }
.rv.two-col small { color: var(--dim); font: 11.5px "IBM Plex Mono", monospace; }
.rv-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
dialog.review .links { margin: 10px 0 0; }
.sim-chip.live { color: var(--gfp); border-style: solid; border-color: color-mix(in srgb, var(--gfp) 60%, transparent); }
.sim-chip.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gfp); margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 8px var(--gfp); }

/* ---------- D9: links as on pump.fun, the copies' settings, where the fees go ---------- */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--gfp); background: color-mix(in srgb, var(--gfp) 8%, transparent); }
.seg input { accent-color: var(--gfp); margin-top: 3px; }
.seg b { display: block; font: 600 14px "IBM Plex Sans", sans-serif; }
.seg small { color: var(--dim); font-size: 12.5px; }
.kid-fields { display: grid; gap: 14px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 14px; }
.kid-fields[hidden] { display: none; }
.kid-fields .drop { grid-template-columns: 76px minmax(0, 1fr); }
.kid-fields .drop .well { width: 76px; height: 76px; }
.hint { margin: 0; color: var(--dim); font: 12px "IBM Plex Mono", monospace; }
.fees-box { display: grid; gap: 6px; }
.feeline { font: 12.5px/1.5 "IBM Plex Mono", monospace; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feeline code { color: var(--ink); }
.rv-text { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 900px) {
  .three, .seg { grid-template-columns: 1fr; }
}
