/* THE FLOOR — live site. Tokens, motion and voice are the shipped teaser's (site/teaser/public/index.html). */
:root {
  --pink: #fd2383;
  --pink-dim: rgba(253, 35, 131, 0.55);
  --pink-line: rgba(253, 35, 131, 0.28);
  --pink-soft: rgba(253, 35, 131, 0.10);
  --ink: #ededed;
  --dim: #8b8b8f;
  --faint: #4a4a50;
  --up: #3ef0a6;
  --down: #ff4d5e;
  --bg: #000;
  --panel: rgba(0, 0, 0, 0.72);
  color-scheme: dark;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100svh;
}
::selection { background: var(--pink); color: #000; }
a { color: inherit; }
[hidden] { display: none !important; }

#grid { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.scan {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 38%, transparent 35%, rgba(0,0,0,0.85) 100%);
}
body.live .vignette { background: radial-gradient(ellipse at 50% 20%, transparent 30%, rgba(0,0,0,0.9) 100%); }

main {
  position: relative; z-index: 2;
  padding: 48px 16px 120px;
  max-width: 1180px; margin: 0 auto;
}

/* ───────────── hero (identical to the teaser in TEASER mode) ───────────── */
.hero-wrap {
  min-height: calc(100svh - 168px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
body.live .hero-wrap { min-height: 0; padding: 24px 0 8px; }
.mark {
  position: relative;
  width: min(520px, 86vw);
  aspect-ratio: 1025 / 640;
  overflow: hidden;
  opacity: 0;
  animation: rise 1.4s cubic-bezier(.2,.7,.2,1) .2s forwards;
}
body.live .mark { width: min(380px, 70vw); }
.mark img { position: absolute; left: 0; top: 0; width: 100%; height: auto; display: block; user-select: none; -webkit-user-drag: none; }
.mark .g { opacity: 0; }
.mark.glitch .g1 { opacity: 1; animation: slice1 .38s steps(2) both; }
.mark.glitch .g2 { opacity: 1; animation: slice2 .38s steps(2) both; }
.mark.glitch .base { animation: jolt .38s steps(3) both; }
@keyframes slice1 {
  0%   { clip-path: inset(12% 0 70% 0); transform: translateX(-10px); filter: hue-rotate(-20deg); }
  50%  { clip-path: inset(62% 0 20% 0); transform: translateX(8px); }
  100% { clip-path: inset(40% 0 45% 0); transform: translateX(-4px); }
}
@keyframes slice2 {
  0%   { clip-path: inset(70% 0 8% 0);  transform: translateX(12px); filter: saturate(2); }
  50%  { clip-path: inset(25% 0 60% 0); transform: translateX(-6px); }
  100% { clip-path: inset(80% 0 4% 0);  transform: translateX(5px); }
}
@keyframes jolt { 0%,100% { transform: none; } 33% { transform: translate(2px,-1px); } 66% { transform: translate(-2px,1px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.hero {
  margin: 18px 0 0;
  font-size: clamp(17px, 2.6vw, 24px);
  font-weight: 500; letter-spacing: .01em;
  min-height: 1.5em;
  text-shadow: 0 0 18px rgba(253,35,131,.35);
}
.caret {
  display: inline-block; width: .55em; height: 1.05em; margin-left: 2px;
  background: var(--pink); vertical-align: -0.15em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.sub {
  margin: 10px 0 0; color: var(--dim);
  font-size: clamp(13px, 1.7vw, 15px); letter-spacing: .14em;
  opacity: 0; transition: opacity 1.2s ease;
}
.sub.on { opacity: 1; }

/* terminal-ish boxes: the question, the tape, the brain, the room */
.term, .panel {
  border: 1px solid rgba(253,35,131,.35);
  background: var(--panel);
  backdrop-filter: blur(3px);
  box-shadow: 0 0 0 1px rgba(253,35,131,.06), 0 0 40px rgba(253,35,131,.10), inset 0 0 30px rgba(253,35,131,.04);
  text-align: left;
}
.term {
  margin-top: 40px; width: min(460px, 100%);
  opacity: 0; transform: translateY(8px);
  transition: opacity .9s ease, transform .9s ease;
}
body.live .term { margin-top: 26px; }
.term.on { opacity: 1; transform: none; }
.bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(253,35,131,.2);
  color: var(--faint); font-size: 11px; letter-spacing: .12em;
}
.bar i { width: 7px; height: 7px; flex: none; background: var(--pink); box-shadow: 0 0 8px var(--pink); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.bar span:last-child { margin-left: auto; }
.term .body { padding: 16px 16px 18px; font-size: 14px; line-height: 1.7; min-height: 112px; }
.line { white-space: pre-wrap; }
.line.m { color: var(--ink); }
.line.y { color: var(--pink); }
.line.d { color: var(--dim); }
.choices { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.choices button, .btn {
  font: inherit; font-size: 13px; letter-spacing: .12em;
  color: var(--ink); background: transparent;
  border: 1px solid var(--faint);
  padding: 9px 18px; cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
}
.choices button:hover, .choices button:focus-visible, .btn:hover, .btn:focus-visible {
  outline: none; border-color: var(--pink); color: #000; background: var(--pink);
  box-shadow: 0 0 18px rgba(253,35,131,.5);
}
.btn { border-color: var(--pink-dim); }
.btn.ghost { border-color: var(--faint); color: var(--dim); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; }
.choices button kbd { font: inherit; opacity: .55; margin-right: 6px; }

.meta {
  margin-top: 22px;
  color: var(--faint); font-size: 11px; letter-spacing: .14em;
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
}
.meta b { color: var(--dim); font-weight: 400; }
.meta .live::before, .dot {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; vertical-align: 1px;
  background: var(--pink); border-radius: 50%; box-shadow: 0 0 8px var(--pink);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ───────────── top bar (live) ───────────── */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 16px;
  background: rgba(0,0,0,.78); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--pink-line);
  font-size: 11px; letter-spacing: .14em; color: var(--faint);
  transform: translateY(-100%); transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.top.on { transform: none; }
.top-mark { display: block; width: 74px; aspect-ratio: 1025/640; overflow: hidden; flex: none; }
.top-mark img { width: 100%; height: auto; display: block; }
.top-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-right: auto; }
.top-meta b { color: var(--dim); font-weight: 400; }
.top .btn { padding: 6px 12px; font-size: 11px; }
.pill { border: 1px solid var(--pink-dim); color: var(--pink); padding: 2px 8px; text-transform: uppercase; }
.conn i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); margin-right: 7px; vertical-align: 1px; }
.conn.ok i { background: var(--pink); box-shadow: 0 0 8px var(--pink); animation: pulse 1.6s ease-in-out infinite; }
.conn.bad i { background: #666; }

/* ───────────── token strip ───────────── */
.strip {
  margin: 34px auto 0; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap;
  font-size: 12px; letter-spacing: .12em; color: var(--faint);
}
.strip b { color: var(--ink); font-weight: 500; }
.strip-item { padding: 9px 4px; }
.ca {
  font: inherit; letter-spacing: .08em; color: var(--faint); background: var(--panel);
  border: 1px solid var(--faint); padding: 9px 12px; cursor: pointer; position: relative;
}
.ca b { color: var(--dim); }
.ca:hover b { color: var(--pink); }
.ca em { font-style: normal; color: var(--pink); position: absolute; right: 8px; top: -18px; opacity: 0; transition: opacity .2s; }
.ca.copied em { opacity: 1; }

/* ───────────── gauges ───────────── */
.gauges {
  margin-top: 26px;
  display: grid; gap: 14px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.gauge {
  position: relative; overflow: hidden;
  padding: 16px 16px 14px;
  background: var(--panel); backdrop-filter: blur(3px);
  border: 1px solid var(--pink-line);
  opacity: 0; transform: translateY(10px);
  transition: opacity .8s ease, transform .8s ease, border-color .3s, box-shadow .3s;
}
.gauge.on { opacity: 1; transform: none; }
.gauge::before {
  content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  transform: translateX(-100%); animation: sweep 5s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.gauge.flash { border-color: var(--pink); box-shadow: 0 0 30px rgba(253,35,131,.35); }
.gauge h2 { margin: 0; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; color: var(--dim); }
.gauge .big { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; min-height: 1.2em; }
.gauge .num { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hero-gauge .num { font-size: clamp(28px, 3.6vw, 44px); color: var(--pink); text-shadow: 0 0 22px rgba(253,35,131,.45); }
.gauge .unit { font-size: 12px; color: var(--dim); letter-spacing: .1em; }
.gauge .row { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: 12px; color: var(--dim); min-height: 1.4em; }
.gauge .tag { color: var(--pink); text-transform: lowercase; letter-spacing: .1em; }
.gauge .gsub { margin: 8px 0 0; font-size: 11px; color: var(--faint); letter-spacing: .1em; }
.gauge .parts { margin-top: 10px; font-size: 11px; color: var(--faint); display: grid; gap: 3px; }
.gauge .parts div { display: flex; justify-content: space-between; gap: 10px; }
.gauge .parts b { color: var(--dim); font-weight: 400; font-variant-numeric: tabular-nums; }
.gauge .parts .warn b, .gauge .parts .warn { color: var(--pink); }
.meter { margin-top: 10px; height: 6px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.meter i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--pink); box-shadow: 0 0 12px var(--pink); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.waking { color: var(--faint) !important; font-size: 14px !important; font-weight: 400 !important; text-shadow: none !important; letter-spacing: .06em !important; }
.up { color: var(--up); }
.down { color: var(--pink); }

/* ───────────── tape + votes ───────────── */
.split { margin-top: 14px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.tape {
  list-style: none; margin: 0; padding: 10px 12px 12px;
  height: 380px; overflow-y: auto; overscroll-behavior: contain;
  font-size: 12.5px; line-height: 1.55;
  scrollbar-width: thin; scrollbar-color: var(--faint) transparent;
}
.tape li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 2px 0; animation: tapein .5s ease both; }
.tape li time { color: var(--faint); font-variant-numeric: tabular-nums; }
.tape li a { text-decoration: none; }
.tape li a:hover span { text-decoration: underline; text-decoration-color: var(--pink-dim); }
.tape li.replay { color: var(--dim); }
.tape li.k-burn span, .tape li.k-big span { color: var(--pink); }
.tape li.k-alert span { color: var(--pink); font-weight: 500; }
.tape li.k-idle span { color: var(--faint); font-style: italic; }
.tape li.fresh { background: linear-gradient(90deg, var(--pink-soft), transparent 70%); }
@keyframes tapein { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

.votes { padding: 12px 14px 14px; display: grid; gap: 16px; font-size: 12px; max-height: 380px; overflow-y: auto; }
.stomach h4 { margin: 0 0 8px; font-size: 10.5px; font-weight: 500; color: var(--dim); letter-spacing: .16em; display: flex; justify-content: space-between; }
.vbar { margin: 0 0 7px; }
.vbar .lab { display: flex; justify-content: space-between; gap: 8px; color: var(--ink); }
.vbar .lab b { font-weight: 400; color: var(--pink); font-variant-numeric: tabular-nums; }
.vbar .track { height: 5px; margin-top: 3px; background: rgba(255,255,255,.06); position: relative; }
.vbar .track i { position: absolute; inset: 0 auto 0 0; background: var(--pink); box-shadow: 0 0 10px rgba(253,35,131,.6); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.vbar .track s { position: absolute; top: -2px; bottom: -2px; width: 1px; background: var(--dim); }
.empty { color: var(--faint); font-size: 12px; line-height: 1.6; }

/* ───────────── scouted ───────────── */
.section-h { margin: 46px 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .18em; color: var(--ink); display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.section-h span { color: var(--faint); font-weight: 400; letter-spacing: .1em; }
.scouted { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.scout {
  padding: 14px; background: var(--panel); border: 1px dashed var(--pink-dim);
  display: grid; gap: 8px; font-size: 12px;
}
.scout h5 { margin: 0; font-size: 13px; letter-spacing: .1em; color: var(--pink); }
.scout p { margin: 0; color: var(--dim); line-height: 1.5; }
.badge { justify-self: start; font-size: 10px; letter-spacing: .14em; padding: 2px 7px; border: 1px solid var(--faint); color: var(--dim); }
.badge.ok { border-color: var(--up); color: var(--up); }
.badge.bad { border-color: var(--pink); color: var(--pink); }

/* ───────────── chat ───────────── */
.chat-panel { margin-top: 14px; }
.chat { list-style: none; margin: 0; padding: 10px 12px; height: 220px; overflow-y: auto; font-size: 12.5px; line-height: 1.55; }
.chat li { animation: tapein .4s ease both; }
.chat li .who { color: var(--pink); margin-right: 8px; }
.chat li.sys { color: var(--faint); font-style: italic; }
.chat-form { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-top: 1px solid rgba(253,35,131,.2); }
.chat-form .prompt { color: var(--pink); }
.chat-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 13px; color: var(--ink);
  background: transparent; border: 0; outline: none; padding: 6px 0;
}
.chat-form input::placeholder { color: var(--faint); }
.chat-form .btn { padding: 6px 12px; font-size: 11px; }
.chat-gate { padding: 0 12px 12px; font-size: 12px; color: var(--dim); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.chat-gate:empty { display: none; }
.chat-gate .btn { padding: 6px 12px; font-size: 11px; }

/* ───────────── how to play + fine print ───────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card {
  padding: 16px; background: var(--panel); border: 1px solid rgba(255,255,255,.08);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--pink-dim); transform: translateY(-2px); }
.card .n { color: var(--pink); font-size: 11px; letter-spacing: .16em; }
.card h6 { margin: 6px 0 0; font-size: 14px; font-weight: 500; letter-spacing: .14em; }
.card p { margin: 10px 0 0; font-size: 13px; color: var(--ink); line-height: 1.5; }
.card small { display: block; margin-top: 6px; font-size: 12px; color: var(--dim); line-height: 1.55; }
.fine { font-size: 12px; color: var(--dim); line-height: 1.65; }
.fine .split-line { color: var(--ink); }
.fine ul { padding-left: 18px; margin: 10px 0 0; }
.fine li { margin: 0 0 10px; }
.fine li b { color: var(--ink); font-weight: 500; }
.fine li cite { display: block; font-style: normal; color: var(--faint); font-size: 11px; }

/* ───────────── toasts (SCOUT popups) ───────────── */
.toasts { position: fixed; z-index: 9; right: 16px; top: 64px; display: grid; gap: 10px; width: min(340px, calc(100vw - 32px)); }
.toast {
  background: rgba(0,0,0,.92); border: 1px solid var(--pink); padding: 12px 14px;
  box-shadow: 0 0 30px rgba(253,35,131,.35); font-size: 12.5px; line-height: 1.5;
  animation: toastin .5s cubic-bezier(.2,.7,.2,1) both;
}
.toast h5 { margin: 0 0 4px; font-size: 12px; letter-spacing: .14em; color: var(--pink); }
.toast.out { animation: toastout .4s ease both; }
@keyframes toastin { 0% { opacity: 0; transform: translateX(30px); clip-path: inset(0 0 0 100%); } 60% { clip-path: inset(0 0 0 0); } 100% { opacity: 1; transform: none; } }
@keyframes toastout { to { opacity: 0; transform: translateX(30px); } }

/* ───────────── footer ticker ───────────── */
.ticker {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  border-top: 1px solid var(--pink-line);
  background: rgba(0,0,0,.82);
  overflow: hidden; white-space: nowrap;
  padding: 11px 0 calc(11px + env(safe-area-inset-bottom));
  font-size: 12px; letter-spacing: .16em; color: var(--dim);
}
.ticker .track { display: inline-block; animation: tick 38s linear infinite; }
body.live .ticker .track { animation-duration: 60s; }
.ticker span { padding: 0 28px; }
.ticker span em { font-style: normal; color: var(--pink); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .ticker .track { animation: none; }
}
@media (max-width: 980px) {
  .gauges { grid-template-columns: 1fr 1fr; }
  .hero-gauge { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gauges { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .tape { height: 320px; font-size: 12px; }
  .tape li { grid-template-columns: 1fr; gap: 0; }
  .top { gap: 10px; }
  .top-meta { gap: 10px; }
}
@media (max-width: 480px) {
  main { padding-top: 32px; }
  .term { margin-top: 30px; }
  .term .body { font-size: 13px; }
  .hero { font-size: 15px; }
  .sub { letter-spacing: .08em; }
}

/* THE FLOOR — the live site's pages (clock in, point, clock out, room, how to play). Tokens come from style.css. */
.testbar {
  position: relative; z-index: 7; text-align: center;
  padding: 6px 16px; font-size: 11px; letter-spacing: .16em;
  color: #000; background: repeating-linear-gradient(135deg, var(--pink) 0 14px, #ff4f9e 14px 28px);
}
.top { flex-wrap: wrap; row-gap: 8px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-right: auto; }
.nav a {
  text-decoration: none; color: var(--dim); font-size: 11px; letter-spacing: .14em;
  padding: 7px 10px; border: 1px solid transparent; transition: color .15s, border-color .15s, background .15s;
}
.nav a:hover, .nav a:focus-visible { color: var(--ink); border-color: var(--faint); outline: none; }
.nav a[aria-current="page"] { color: var(--pink); border-color: var(--pink-dim); background: var(--pink-soft); }
.top-meta { margin-right: 0; gap: 12px; }
.wallet { position: relative; }
.wallet .btn { padding: 7px 12px; font-size: 11px; }
.wallet .btn.on { color: var(--ink); border-color: var(--pink-dim); }
.menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; min-width: 240px;
  background: rgba(0,0,0,.96); border: 1px solid var(--pink-dim); padding: 8px; display: grid; gap: 4px;
  box-shadow: 0 0 30px rgba(253,35,131,.25);
}
.menu p { margin: 2px 4px 6px; font-size: 10.5px; color: var(--faint); word-break: break-all; letter-spacing: .04em; }
.menu button {
  font: inherit; font-size: 12px; text-align: left; color: var(--ink); background: transparent;
  border: 1px solid transparent; padding: 7px 8px; cursor: pointer;
}
.menu button:hover, .menu button:focus-visible { border-color: var(--pink-dim); color: var(--pink); outline: none; }

.page { min-height: 60svh; }
.hero-wrap.compact { min-height: 0; padding: 18px 0 4px; }
.hero-wrap.compact .mark { width: min(340px, 64vw); }
.hero-wrap.compact .term { margin-top: 22px; }
.choices .btn { font-size: 12px; padding: 8px 14px; }
.bar-link { margin-left: auto; color: var(--pink); text-decoration: none; letter-spacing: .1em; }
.bar-link:hover { text-decoration: underline; }

.page-head { padding: 26px 0 8px; max-width: 760px; }
.page-head .cmd { margin: 0; font-size: clamp(22px, 3.4vw, 34px); font-weight: 700; letter-spacing: .02em; text-shadow: 0 0 22px rgba(253,35,131,.4); min-height: 1.3em; }
.page-head .cmd .p { color: var(--pink); }
.page-head p { margin: 8px 0 0; color: var(--dim); font-size: 13.5px; line-height: 1.6; }
.page-head p + p { margin-top: 2px; }
.page-body { margin-top: 18px; display: grid; gap: 14px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.cols > * { min-width: 0; }
.card {
  padding: 18px; background: var(--panel); backdrop-filter: blur(3px);
  border: 1px solid var(--pink-line); display: grid; gap: 12px; align-content: start;
}
.card h3 { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .18em; color: var(--dim); }
.card.gate { justify-items: start; border-style: dashed; }
.card.gate p { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.6; }
.card.locked { justify-items: center; text-align: center; padding: 34px 18px; }
.lock { width: 34px; height: 26px; border: 2px solid var(--pink); position: relative; margin-top: 14px; box-shadow: 0 0 18px rgba(253,35,131,.4); }
.lock::before { content: ""; position: absolute; left: 6px; right: 6px; bottom: 100%; height: 14px; border: 2px solid var(--pink); border-bottom: 0; border-radius: 10px 10px 0 0; }
.kv { margin: 0; display: grid; gap: 6px; font-size: 13px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255,255,255,.06); padding-bottom: 6px; }
.kv dt { color: var(--dim); }
.kv dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.kv dd.hi { color: var(--pink); font-weight: 500; }
.kv.addrs dd { font-size: 11.5px; word-break: break-all; }
.state { margin: 0; font-size: 13px; color: var(--dim); }
.state.ok { color: var(--up); }
.note { margin: 0; font-size: 12px; color: var(--dim); line-height: 1.6; }
.note.warn, .warn { color: var(--pink); }
.note.center { text-align: center; max-width: 640px; margin: 4px auto 0; }
.note a { color: var(--pink); }
.faucet { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.08); }
.faucet small { color: var(--faint); font-size: 11px; }

.tabs { display: flex; border: 1px solid var(--faint); }
.tabs button {
  flex: 1; font: inherit; font-size: 12px; letter-spacing: .14em; padding: 10px; cursor: pointer;
  background: transparent; color: var(--dim); border: 0;
}
.tabs button[aria-selected="true"] { background: var(--pink); color: #000; }
.field { display: grid; gap: 6px; font-size: 12px; color: var(--dim); }
.field small { color: var(--faint); font-size: 11px; }
.amount { display: flex; align-items: center; gap: 8px; border: 1px solid var(--faint); padding: 0 10px; background: rgba(0,0,0,.5); transition: border-color .15s, box-shadow .15s; }
.amount:focus-within { border-color: var(--pink); box-shadow: 0 0 16px rgba(253,35,131,.25); }
.amount input { flex: 1; min-width: 0; font: inherit; font-size: 20px; font-weight: 500; color: var(--ink); background: transparent; border: 0; outline: none; padding: 10px 0; font-variant-numeric: tabular-nums; }
.amount em { font-style: normal; color: var(--dim); font-size: 12px; }
.max { font: inherit; font-size: 11px; letter-spacing: .1em; color: var(--pink); background: transparent; border: 1px solid var(--pink-dim); padding: 4px 8px; cursor: pointer; }
.max:hover { background: var(--pink); color: #000; }
.btn.wide { width: 100%; text-align: center; padding: 13px 18px; }
.btn.danger { border-color: var(--pink); color: var(--pink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.busy { opacity: 1; border-style: dashed; animation: pulse 1.2s ease-in-out infinite; }

/* point */
.stomach-card { gap: 10px; }
.sc-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font-size: 11.5px; color: var(--dim); }
.sc-head h3 { margin-right: auto; color: var(--ink); }
.sc-head b { color: var(--ink); font-weight: 500; }
.plays { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plays .empty { color: var(--faint); font-size: 12px; }
.play { padding: 10px; border: 1px solid rgba(255,255,255,.07); display: grid; gap: 6px; transition: border-color .2s, background .2s; }
.play.mine { border-color: var(--pink-dim); background: var(--pink-soft); }
.play.focus { border-color: var(--pink); box-shadow: 0 0 20px rgba(253,35,131,.3); }
.pl-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; flex-wrap: wrap; }
.pl-crowd { color: var(--dim); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.play .track { height: 5px; background: rgba(255,255,255,.06); position: relative; }
.play .track i { position: absolute; inset: 0 auto 0 0; background: var(--pink); box-shadow: 0 0 10px rgba(253,35,131,.6); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.play .track s { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--dim); }
.pl-mine { display: flex; align-items: center; gap: 6px; justify-self: end; font-size: 12px; color: var(--dim); }
.pl-mine input { width: 58px; font: inherit; font-size: 14px; text-align: right; color: var(--ink); background: rgba(0,0,0,.6); border: 1px solid var(--faint); padding: 4px 6px; }
.pl-mine input:focus { outline: none; border-color: var(--pink); }
.step { font: inherit; width: 28px; height: 28px; color: var(--ink); background: transparent; border: 1px solid var(--faint); cursor: pointer; }
.step:hover { border-color: var(--pink); color: var(--pink); }
.sc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--dim); padding-top: 4px; }
.sc-foot b { color: var(--ink); }
.add summary { cursor: pointer; font-size: 12px; color: var(--pink); letter-spacing: .1em; list-style: none; }
.add summary::-webkit-details-marker { display: none; }
.add summary::before { content: "+ "; }
.add[open] summary::before { content: "− "; }
.add-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.add-row input, .add-row select {
  font: inherit; font-size: 12.5px; color: var(--ink); background: rgba(0,0,0,.6); border: 1px solid var(--faint); padding: 8px; min-width: 0;
}
.add-row .tok { flex: 1; }
.add-row .lev { display: flex; align-items: center; gap: 4px; color: var(--dim); font-size: 12px; }
.add-row .lev input { width: 52px; }
.add small { display: block; margin-top: 6px; color: var(--faint); font-size: 11px; }

/* clock out */
.slip { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--dim); }
.slip span { margin-right: auto; }
.slip button { font: inherit; font-size: 12px; padding: 5px 10px; color: var(--dim); background: transparent; border: 1px solid var(--faint); cursor: pointer; }
.slip button[aria-checked="true"] { color: #000; background: var(--pink); border-color: var(--pink); }
.est { display: grid; gap: 8px; }
.queued { margin: 0; padding: 10px; font-size: 12.5px; color: var(--ink); border: 1px dashed var(--pink); line-height: 1.6; }
.claims { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12.5px; }
.claims li { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 8px; border: 1px solid rgba(255,255,255,.07); }
.claims .cl-id { color: var(--pink); }
.claims .cl-state { grid-column: 1 / 3; color: var(--dim); }
.claims .cl-t { color: var(--faint); font-size: 11px; text-align: right; }
.claims .btn { grid-column: 1 / -1; padding: 8px 12px; font-size: 12px; text-align: center; }
.claims .empty { display: block; color: var(--faint); border-style: dashed; }

/* room */
.chat-panel .chat { height: min(56svh, 520px); }
.chat li time { color: var(--faint); margin-right: 8px; font-size: 11px; }

/* how to play */
.play-card { text-decoration: none; color: inherit; }
.fine details { margin-top: 16px; }
.fine summary { cursor: pointer; color: var(--pink); font-size: 12px; letter-spacing: .1em; }
.fine .kv { margin-top: 10px; }

@media (max-width: 860px) {
  .cols { grid-template-columns: 1fr; }
  .nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; margin-right: 0; scrollbar-width: none; }
  .nav a { white-space: nowrap; }
  .top-meta { margin-left: auto; }
}
@media (max-width: 560px) {
  .conn b { display: none; }
  .page-head { padding-top: 16px; }
}

/* point: the two stomachs live */
.pots { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.pot { padding: 14px 16px; background: var(--panel); border: 1px solid var(--pink-line); display: grid; gap: 4px; min-width: 0; }
.pot h4 { margin: 0; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; color: var(--dim); }
.pot b { font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; font-variant-numeric: tabular-nums; }
.pot small { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.pot.total { border-color: var(--pink); box-shadow: 0 0 26px rgba(253,35,131,.18); }
.pot.total b { color: var(--pink); text-shadow: 0 0 18px rgba(253,35,131,.45); }
.pot .waking { font-size: 13px; font-weight: 400; color: var(--faint); }
@media (max-width: 700px) { .pots { grid-template-columns: 1fr 1fr; } .pot.total { grid-column: 1 / -1; } }

/* wallet picker */
.menu .wopt { display: flex; align-items: center; gap: 10px; }
.menu .wopt img { width: 20px; height: 20px; border-radius: 4px; flex: none; }
.menu .wopt .wi { width: 20px; height: 20px; flex: none; border: 1px solid var(--pink-dim); display: inline-block; }

/* point: what the pot did */
.pl-pot { font-size: 11.5px; color: var(--faint); }
.pl-pot.held { color: var(--up); }
.pl-pot.soon { color: var(--pink); }
.pl-pot.bad { color: var(--pink); }
.trades ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.trades li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.trades time { color: var(--faint); font-variant-numeric: tabular-nums; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 8px; font-size: 11px; color: var(--faint); }
.chip { font: inherit; font-size: 11px; color: var(--pink); background: transparent; border: 1px solid var(--pink-dim); padding: 3px 8px; cursor: pointer; }
.chip:hover { background: var(--pink); color: #000; }

/* PnL: green up, red down (Robyn, 1 Oct 2026) */
.pnl-up { color: var(--up); }
.pnl-down { color: var(--down); }
.pnl-flat { color: var(--dim); }
.pl-pot.held { color: var(--ink); }
.gauge .parts b .pnl-up, .gauge .parts b .pnl-down { font-weight: 500; }

/* the bonding curve (floor page, while the launch is on the pad) */
.curve { margin-top: 26px; border: 1px solid var(--pink); background: var(--panel); box-shadow: 0 0 34px rgba(253,35,131,.18); }
.curve .bar span:nth-child(2) { color: var(--pink); letter-spacing: .18em; }
.curve-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; padding: 18px 16px 6px; align-items: center; }
.curve-body > * { min-width: 0; }
.cv-mcap { display: flex; align-items: baseline; gap: 10px; }
.cv-mcap .num { font-size: clamp(28px, 3.8vw, 46px); font-weight: 700; color: var(--pink); text-shadow: 0 0 22px rgba(253,35,131,.45); font-variant-numeric: tabular-nums; }
.cv-mcap .unit { font-size: 12px; color: var(--dim); letter-spacing: .1em; }
.cv-track { position: relative; height: 14px; margin-top: 14px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 10%); border: 1px solid var(--pink-line); }
.cv-track i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(253,35,131,.35), var(--pink)); box-shadow: 0 0 16px var(--pink); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.cv-track b { position: absolute; top: -5px; bottom: -5px; width: 2px; background: #fff; box-shadow: 0 0 10px #fff; transition: left 1.2s cubic-bezier(.2,.7,.2,1); }
.cv-ends { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.cv-ends .hi { color: var(--pink); }
.cv-kv { font-size: 12.5px; }
.curve > .note { padding: 0 16px 14px; }
.curve.done { border-color: var(--pink-line); box-shadow: none; padding: 10px 16px; }
.curve.done p { margin: 0; font-size: 12.5px; color: var(--dim); }
.curve.done b { color: var(--pink); letter-spacing: .14em; font-weight: 500; }
@media (max-width: 760px) { .curve-body { grid-template-columns: 1fr; } }
