@font-face { font-family: "Mona"; src: url(/fonts/mona.woff2) format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }

:root {
  --engrave: "Mona";
  --sans: "Mona", system-ui, sans-serif;
  /* Arena night: Robinhood Chain's own colours (black, white, Robin Neon) as a deep graphite that makes chrome shine,
     with Robin Neon as the light of the arena. Text is a warm white; every surface is a step above the night. */
  --bg: #0a0b09;
  --bg-2: #0f110d;
  --surface: #13150f;
  --surface-2: #1a1d16;
  --fg: #f2f4ec;
  --on-fg: #0a0b09;
  --fg-rgb: 242, 244, 236;
  --card-rgb: 26, 29, 22;
  --stone: var(--bg);
  --stone-2: var(--bg-2);
  --stone-3: var(--surface-2);
  --ink: var(--fg);
  --mute: #a5ab9b;
  --dim: #707668;
  --line: rgba(242, 244, 236, .11);
  --satin: rgba(26, 29, 22, .78);
  --satin-hi: rgba(36, 40, 31, .95);
  --paper: var(--fg);
  --deep: #050604;
  --neon: #ccff00;
  --neon-rgb: 204, 255, 0;
  --env: #22251e;
  --metal: var(--fg);
  --label: 500 13px/1.25 Mona, sans-serif;
  --r-card: 26px;
  --r-ctl: 16px;
  --pad: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--stone); color: var(--ink); -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.grabbing, html.grabbing * { cursor: grabbing !important; user-select: none; }
body {
  margin: 0; font-family: Mona, system-ui, sans-serif; font-size: 17px; line-height: 1.5; letter-spacing: .005em;
  /* the arena at night: a faint Robin Neon haze high on the stage, graphite falling off to the edges */
  background:
    radial-gradient(60% 50% at 70% 18%, rgba(var(--neon-rgb), .055) 0%, rgba(var(--neon-rgb), 0) 60%),
    radial-gradient(90% 80% at 60% 40%, #141710 0%, var(--bg) 58%, #070806 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; }

#world { position: fixed; inset: 0; z-index: 0; cursor: grab; }
#world::before { /* a soft diagonal light beam, like a studio window */
  content: ""; position: absolute; inset: -10%; pointer-events: none;
  background: linear-gradient(108deg, transparent 36%, rgba(var(--fg-rgb), .025) 50%, transparent 64%);
}
#world canvas { position: absolute; inset: 0; display: block; }
main, .foot { position: relative; z-index: 1; pointer-events: none; }
main a, main button, main input, main label, main [data-ui], .foot a { pointer-events: auto; }

/* ---------------------------------------------------------------- type */
/* headlines: heavy and a little condensed, like a scoreboard; the second line light and wide, like an engraving */
.display { font-family: Mona, sans-serif; font-weight: 800; font-stretch: 88%; letter-spacing: -.035em; line-height: .92; margin: 0; }
.display b { display: block; font-weight: 300; font-stretch: 125%; letter-spacing: -.02em; }
.display i { font-style: normal; font-weight: 300; font-stretch: 125%; letter-spacing: -.02em; }
.display.sm { font-size: clamp(32px, 3.8vw, 56px); }
.display.sm b { display: inline; }
.label { font: var(--label); color: var(--mute); }
.lede { color: var(--mute); font-size: clamp(16px, 1.25vw, 19px); margin: 0; }

/* ---------------------------------------------------------------- header */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; gap: 28px;
  padding: 18px var(--pad); transition: background .3s, backdrop-filter .3s, padding .3s;
}
.hdr.scrolled { background: rgba(10, 11, 9, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: Mona, sans-serif; font-weight: 700; font-stretch: 125%; font-size: 19px; line-height: 1; text-decoration: none; letter-spacing: .06em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; display: block; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); }
.brand.sm img { width: 26px; height: 26px; }
.brand.sm { font-size: 15px; gap: 10px; }
.hdr nav { display: flex; gap: 26px; margin-left: auto; }
.hdr nav a { text-decoration: none; color: var(--mute); font: 500 15px Mona; transition: color .2s; }
.hdr nav a:hover { color: var(--ink); }
.hdr nav a:hover { color: var(--ink); }
.btn-wallet {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 20px;
  font: 500 15px Mona; cursor: pointer; transition: background .2s, border-color .2s;
}
.btn-wallet:hover { background: var(--satin-hi); border-color: rgba(var(--fg-rgb), .35); }
.btn-wallet.on i { display: none; }
.btn-wallet .mono { letter-spacing: .04em; text-transform: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px;
  border-radius: 999px; text-decoration: none; font: 500 16px Mona, sans-serif; letter-spacing: .01em;
  cursor: pointer; border: 0; transition: background .25s, color .25s, box-shadow .25s;
}
.btn.metal { color: var(--on-fg); background: var(--neon); font-weight: 600; box-shadow: 0 10px 34px -12px rgba(var(--neon-rgb), .55); }
.btn.metal:hover { background: #d9ff3d; box-shadow: 0 12px 40px -10px rgba(var(--neon-rgb), .7); }
.btn.metal:disabled { filter: grayscale(1) brightness(.6); cursor: not-allowed; transform: none; }
.btn.ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), 0.297); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.wide { width: 100%; }

/* ---------------------------------------------------------------- hero */
.hero { min-height: 100svh; position: relative; display: flex; align-items: center; }
.hero-copy { padding: 0 var(--pad); max-width: 760px; margin-top: -2vh; }
.hero h1 { font-size: clamp(50px, 6.6vw, 112px); }
.hero .lede { margin-top: 26px; max-width: 420px; font-size: 18px; }
.cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-foot {
  position: absolute; left: var(--pad); bottom: 30px; margin: 0; max-width: 460px; font: 400 14.5px/1.55 Mona; color: var(--dim);
}
.hero-foot span:last-child { color: var(--mute); }
.grab-hint {
  position: absolute; right: var(--pad); bottom: 30px; margin: 0; font: 400 14.5px Mona; color: var(--dim);
}
.grab-hint::before { content: ""; display: inline-block; width: 18px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; }

/* ---------------------------------------------------------------- story */
.story { height: 460vh; position: relative; }
.story-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: 0 var(--pad); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; width: min(520px, 44vw); height: 280px; }
.step { position: absolute; inset: 0; opacity: 0; transform: translateY(26px); transition: opacity .55s ease, transform .55s ease; }
.step.on { opacity: 1; transform: none; }
.step .n { font: 500 14px Mona; font-variant-numeric: tabular-nums; color: var(--dim); display: block; margin-bottom: 18px; }
.step h2 { font-family: Mona; font-weight: 500; text-transform: uppercase; font-size: clamp(32px, 3.6vw, 54px); line-height: .96; letter-spacing: .01em; margin: 0 0 20px; }
.step p { color: var(--mute); font-size: 18px; margin: 0; max-width: 400px; }
.story-bar { position: absolute; left: var(--pad); bottom: 9vh; width: min(520px, 44vw); height: 1px; background: var(--line); }
.story-bar i { display: block; height: 100%; width: 0; background: var(--ink); }

/* ---------------------------------------------------------------- forge */
.forge { min-height: 100svh; padding: 120px var(--pad) 80px; display: flex; flex-direction: column; justify-content: center; }
.forge-card {
  width: min(500px, 100%); padding: 34px; border-radius: var(--r-card);
  background: var(--satin);
  box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), 0.072), 0 30px 80px -30px rgba(0, 0, 0, 0.63);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.forge-card h2 { margin-bottom: 26px; font-size: clamp(30px, 2.7vw, 40px); }
.field { margin-bottom: 20px; }
.field > label { display: block; font: 500 14px Mona; color: var(--mute); margin-bottom: 10px; }
.stock-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stock-grid button {
  height: 42px; border-radius: 12px; border: 0; cursor: pointer; font: 500 13.5px Mona; letter-spacing: .04em;
  background: rgba(var(--card-rgb), .35); box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); transition: background .15s, color .15s, box-shadow .15s;
}
.stock-grid button:hover { color: var(--ink); background: rgba(var(--card-rgb), .7); }
.stock-grid button[aria-checked="true"] { color: var(--on-fg); background: var(--fg); box-shadow: none; }
.amt { display: flex; align-items: center; border-radius: var(--r-ctl); box-shadow: inset 0 0 0 1px var(--line); background: rgba(var(--card-rgb), .55); padding: 0 16px; }
.amt input { flex: 1; min-width: 0; height: 56px; background: none; border: 0; outline: 0; color: var(--ink); font: 400 26px Mona; letter-spacing: .02em; }
.amt:focus-within { box-shadow: inset 0 0 0 1px var(--ink); }
.unit { color: var(--dim); font-size: 14px; }
.chips { display: flex; gap: 6px; margin-top: 8px; }
.chips button { border: 0; border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; background: rgba(var(--card-rgb), .4); color: var(--mute); }
.chips button:hover { color: var(--ink); background: rgba(var(--card-rgb), .8); }
.quote { margin: 4px 0 22px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.quote div { display: flex; justify-content: space-between; gap: 12px; }
.quote dt { color: var(--mute); font: 400 14.5px Mona; align-self: center; }
.quote dd { font-variant-numeric: tabular-nums; }
.quote dd { margin: 0; font-size: 14.5px; text-align: right; }
.fine { color: var(--dim); font-size: 12.5px; margin: 12px 0 0; text-align: center; }
.mine { width: min(500px, 100%); margin-top: 18px; }
.mine h3 { font-size: 14px; color: var(--dim); font-weight: 500; margin: 0 0 10px; }
.mine ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mine li {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 18px;
  background: var(--satin); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), 0.072); pointer-events: auto;
}
.mine li b { font: 500 14px Mona; letter-spacing: .08em; }
.mine li span { color: var(--mute); font-size: 13.5px; flex: 1; }
.mine li button { border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; background: var(--fg); color: var(--on-fg); font: 500 13.5px Mona; }

/* ---------------------------------------------------------------- hall */
.hall { height: 150vh; position: relative; }
.hall-head { position: sticky; top: 0; padding: 92px var(--pad) 0; text-align: center; }
.hall-head h2 { font-size: clamp(30px, 3.4vw, 50px); }
.hall-head .lede { margin-top: 14px; }
.hall-stats { display: flex; justify-content: center; gap: 56px; margin-top: 20px; }
.hall-stats div { text-align: center; }
.hall-stats b { display: block; font: 400 26px Mona; letter-spacing: .02em; }
.hall-stats span { font: 400 14px Mona; color: var(--mute); }
.hall-stats b { font-variant-numeric: tabular-nums; }
.hall-labels { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .3s; }
.hall-labels.on { opacity: 1; }

/* ---------------------------------------------------------------- token */
.token { padding: 18vh var(--pad) 14vh; text-align: center; background: linear-gradient(180deg, transparent, rgba(15, 17, 13, .96) 30%); }
.token h2 { font-size: clamp(44px, 7vw, 110px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 54px auto 0; text-align: left; }
.facts div { padding: 26px; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), 0.066); background: var(--satin); }
.facts h3 { margin: 0 0 8px; font: 500 19px Mona; letter-spacing: .005em; }
.facts p { margin: 0; color: var(--mute); font-size: 15px; }
.ca {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 40px; padding: 10px 10px 10px 24px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), 0.072); background: var(--satin); max-width: 100%;
}
.ca-k { font: 500 14px Mona; color: var(--mute); }
.ca-v { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; }
.ca-copy { border: 0; border-radius: 999px; padding: 9px 16px; background: var(--fg); color: var(--on-fg); font-weight: 600; font-size: 13px; cursor: pointer; }

.foot {
  display: flex; gap: 22px; align-items: center; padding: 28px var(--pad) 34px; font-size: 13px; color: var(--dim);
  background: var(--deep); color: rgba(241, 239, 237, .62); pointer-events: auto; border-top: 1px solid var(--line);
}
.foot a { margin-left: auto; color: rgba(241, 239, 237, .62); text-decoration: none; }
.foot a:hover { color: var(--neon); }

/* ---------------------------------------------------------------- wallet picker + toast */
.wpick { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(var(--fg-rgb), .35); backdrop-filter: blur(6px); }
.wpick-card { width: min(380px, 92vw); padding: 24px; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; }
.wpick-card .hint { color: var(--dim); font-size: 13px; }
.wpick-list { display: grid; gap: 6px; margin-top: 6px; }
.wpick-list button { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 0; background: rgba(var(--fg-rgb), .05); cursor: pointer; text-align: left; }
.wpick-list button:hover { background: rgba(var(--fg-rgb), .1); }
.wpick-list img { width: 24px; height: 24px; border-radius: 6px; }
.wpick-list small { margin-left: auto; color: var(--dim); }
.wpick-x { border: 0; background: none; color: var(--dim); cursor: pointer; padding: 8px; }
.wmenu { position: fixed; z-index: 40; display: grid; padding: 6px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.wmenu button { border: 0; background: none; padding: 10px 14px; text-align: left; cursor: pointer; border-radius: 12px; font: 400 15px Mona; }
.wmenu button:hover { background: rgba(var(--fg-rgb), .07); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; padding: 13px 22px; border-radius: 999px; background: var(--fg); color: var(--on-fg); font-size: 14.5px; transition: .3s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- mobile */
@media (max-width: 820px) {
  .hdr nav { display: none; }
  .hdr { justify-content: space-between; }
  .hero { align-items: flex-start; }
  .hero-copy { margin-top: 15vh; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .cta { justify-content: center; }
  .hero-foot { right: var(--pad); text-align: center; max-width: none; bottom: 22px; }
  .grab-hint { display: none; }
  .story-pin { align-items: flex-end; padding-bottom: 12vh; }
  .steps { width: 100%; height: 210px; }
  .story-bar { width: calc(100% - 2 * var(--pad)); bottom: 6vh; }
  .forge { padding-top: 46vh; }
  .stock-grid { grid-template-columns: repeat(4, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .hall-stats { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { .step { transition: none; } }

/* ---------------------------------------------------------------- intro + header legibility */
.hdr::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 11, 9, .92), rgba(10, 11, 9, 0)); transition: opacity .3s; }
.hdr.scrolled::before { opacity: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero-copy > * { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: .35s; }
.hero-copy > :nth-child(2) { animation-delay: .6s; }
.hero-copy > :nth-child(3) { animation-delay: .8s; }
.hero-foot, .grab-hint, .hdr { animation: fade 1.2s ease 1.1s both; }
@media (prefers-reduced-motion: reduce) { .hero-copy > *, .hero-foot, .grab-hint, .hdr { animation: none; } }
.btn-wallet { background: var(--satin); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hdr nav a { text-shadow: none; }
@media (max-width: 820px) { .hero-foot { display: none; } }
.hero-foot { color: var(--mute); }
.hall { height: 135vh; }

/* ---------------------------------------------------------------- v4: floating nav capsule, logo size, hall head */
.brand img { width: 40px; height: 40px; }
.brand.sm img { width: 28px; height: 28px; }
.hdr nav {
  gap: 2px; padding: 5px; border-radius: 999px; background: var(--satin);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), 0.066);
}
.hdr nav a { padding: 8px 16px; border-radius: 999px; text-shadow: none; }
.hdr nav a:hover { background: rgba(var(--card-rgb), .7); }
.hdr.scrolled nav { background: rgba(var(--card-rgb), .4); }
.hall-head { position: relative; }
.hdr nav, .btn-wallet { background: rgba(var(--card-rgb), .82); }
.hdr.scrolled nav { background: rgba(var(--card-rgb), .7); }

/* ---------------------------------------------------------------- v5: Robinhood stone palette, one neon accent */
.ca-copy { background: var(--neon); color: var(--ink); }
.story-bar i { background: var(--ink); }
.btn-wallet.on { box-shadow: inset 0 0 0 1px var(--line); }

/* ---------------------------------------------------------------- v6: the arena */
:root { --up: #4fe08a; --down: #ff6a5c; }
.up { color: var(--up); } .down { color: var(--down); }
.live-line { margin: 22px 0 0; font: 400 14.5px/1.4 Mona; color: var(--mute); display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; }
.live-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(79, 224, 138, .5); animation: pulse 2s infinite; margin-right: 4px; }
.live-line b { color: var(--ink); font-weight: 500; }
.live-line em { font-style: normal; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 224, 138, .45); } 70% { box-shadow: 0 0 0 9px rgba(79, 224, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 224, 138, 0); } }

.hall-labels [data-ai] { position: static; transform: none; }
.hall-labels .al-top, .hall-labels .al-end { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; }
.al-top { display: grid; justify-items: center; gap: 1px; padding: 7px 13px 8px; border-radius: 14px; background: rgba(var(--card-rgb), .84); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), 0.084), 0 8px 24px -14px rgba(0, 0, 0, 0.63); }
.al-top b { font: 500 14.5px/1.2 Mona; color: var(--ink); display: flex; align-items: baseline; gap: 6px; }
.al-top b em { font: 400 12.5px Mona; font-style: normal; color: var(--dim); font-variant-numeric: tabular-nums; }
.al-top span { font: 400 12.5px/1.3 Mona; color: var(--mute); font-variant-numeric: tabular-nums; }
.al-top span i { font-style: normal; }
.al-end { font: 500 11.5px Mona; letter-spacing: .06em; color: var(--mute); }

.board { min-height: 100svh; padding: 110px var(--pad) 90px; display: flex; align-items: center; }
.board-grid { width: min(1240px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: start; }
.card { border-radius: var(--r-card); background: rgba(var(--card-rgb), .7); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), 0.084), 0 30px 80px -40px rgba(0, 0, 0, 0.63); padding: 22px 22px 14px; pointer-events: auto; }
.card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 6px 14px; border-bottom: 1px solid var(--line); }
.card-h h3 { margin: 0; font: 500 19px Mona; }
.card-h span { font: 400 13.5px Mona; color: var(--dim); }

.lb { list-style: none; margin: 0; padding: 0; }
.lb li { display: grid; grid-template-columns: 26px minmax(150px, 1.4fr) 88px minmax(96px, .9fr) minmax(110px, 1fr) 86px; align-items: center; gap: 14px; padding: 13px 6px; border-bottom: 1px solid var(--line); }
.lb li:last-child { border-bottom: 0; }
.lb li.mine { background: linear-gradient(90deg, rgba(204, 255, 0, .16), rgba(204, 255, 0, 0) 60%); border-radius: 14px; }
.lb-rank { font: 400 15px Mona; color: var(--dim); font-variant-numeric: tabular-nums; text-align: center; }
.lb-who { display: grid; grid-template-columns: 10px 1fr; column-gap: 10px; align-items: center; min-width: 0; }
.lb-who i { width: 10px; height: 10px; border-radius: 50%; grid-row: span 2; }
.lb-who b { font: 500 16px Mona; }
.lb-who small { font: 400 12.5px Mona; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spark path { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.spark.up path { stroke: var(--up); } .spark.down path { stroke: var(--down); }
.lb-val { display: grid; text-align: right; font-variant-numeric: tabular-nums; }
.lb-val b { font: 500 16px Mona; }
.lb-val small { font: 400 13px Mona; }
.lb-hold { display: flex; gap: 4px; flex-wrap: wrap; }
.lb-hold em { font: 500 11.5px Mona; font-style: normal; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: rgba(var(--fg-rgb), .06); color: var(--mute); }
.lb-hold em.cash { background: rgba(var(--fg-rgb), .04); color: var(--dim); }
.lb-back { justify-self: end; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; font: 500 13.5px Mona; background: var(--fg); color: var(--on-fg); transition: background .2s; }
.lb-back:hover { background: var(--neon); }
.lb-back span:empty { display: none; }
.lb-back span { font-variant-numeric: tabular-nums; color: rgba(247, 246, 244, .6); }
.lb li.mine .lb-back { background: var(--neon); color: var(--ink); }
.lb li.mine .lb-back span { color: rgba(var(--fg-rgb), .55); }

.feed { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.feed li { padding: 13px 6px; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.fd-h { display: flex; align-items: baseline; gap: 8px; font: 400 14.5px Mona; flex-wrap: wrap; }
.fd-h i { width: 8px; height: 8px; border-radius: 50%; align-self: center; }
.fd-h b { font-weight: 500; }
.fd-h span b { font-weight: 500; }
.fd-h time { margin-left: auto; color: var(--dim); font-size: 12.5px; white-space: nowrap; }
.feed p { margin: 5px 0 0 16px; color: var(--mute); font: 400 14px/1.45 Mona; }
.feed p .lnk { color: var(--dim); }
.feed li.hold .fd-h span { color: var(--dim); }
.feed li.hold p { color: var(--dim); }

@media (max-width: 1080px) {
  .board-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .board { padding: 90px 14px 70px; }
  .card { padding: 16px 12px 8px; }
  .lb li { grid-template-columns: 20px 1fr auto auto; gap: 10px; }
  .lb li .spark, .lb li .lb-hold { display: none; }
  .lb-who small { display: none; }
  .al-top { padding: 4px 7px; border-radius: 999px; }
  .al-top b { font-size: 11px; gap: 3px; }
  .al-top b em { display: none; }
  .al-top span { display: none; }
  .live-line .ll-move { display: none; }
  .al-end { display: none; }
  .live-line { justify-content: center; font-size: 13.5px; }
}

/* keyboard focus: a clear ring, only for keyboard users */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
.btn:focus-visible, .btn-wallet:focus-visible, .menu-btn:focus-visible, .seg button:focus-visible, .jump a:focus-visible { outline-offset: 3px; border-radius: 999px; }
.hf :focus-visible, .humans :focus-visible, .follow :focus-visible { outline-color: var(--neon); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
b .mk { width: 1.05em; height: 1.05em; border-radius: 4px; object-fit: contain; vertical-align: -0.16em; margin-right: 4px; }
/* no lone last words in titles and intros */
.display, h1, h2, h3 { text-wrap: balance; }
.lede, .stage-head .lede { text-wrap: pretty; }
.stage-head .lede, .rules-hero .lede { text-wrap: balance; }

/* ---------------------------------------------------------------- night theme: neon zones and logos */
/* anything on Robin Neon flips to dark type (the custom properties cascade to everything inside) */
.p-rank.lead, .px-list li, .pl.human, .hvs-card, .tok-flow .n, .h-free b, .lab .crown, .lab.human, .alert-btn.on,
.flip, .ca-copy, .lb li.mine .lb-back, .lb-back:hover, .btn.metal {
  --fg-rgb: 10, 11, 9; --ink: #0a0b09; --mute: rgba(10, 11, 9, .68); --dim: rgba(10, 11, 9, .52);
  --line: rgba(10, 11, 9, .16); color: #0a0b09;
}
/* monochrome black marks read white on the night (only in the page: the 3D plates keep them black on white lacquer) */
img[src$="/brand/ai/gpt.svg"], img[src$="/brand/ai/grok.svg"], img[src$="/brand/logos/SPCX.svg"],
image[href$="/brand/ai/gpt.svg"], image[href$="/brand/ai/grok.svg"] { filter: invert(1) brightness(1.08) !important; }
/* square stock tiles keep their edge on the night */
img[src*="/brand/logos/"] { border-radius: 22%; box-shadow: 0 0 0 1px rgba(242, 244, 236, .13); }

/* ---------------------------------------------------------------- motion (js/motion.js) */
/* one easing everywhere: fast out, long settle, like a weighted drawer */
:root { --ease: cubic-bezier(.16, .84, .24, 1); }
.mo .mo-words .mw { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .1em; margin: -.06em -.02em -.1em; }
.mo .mo-words .mw > span { display: inline-block; transform: translate3d(0, 108%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.mo .mo-words.mo-in .mw > span { transform: none; }
.mo .mo-up { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px); transition: opacity .9s ease, transform 1.1s var(--ease), filter .9s ease; transition-delay: .12s; }
.mo .mo-up.mo-in { opacity: 1; transform: none; filter: none; }
.mo .mo-block { opacity: 0; transform: translate3d(0, 46px, 0) scale(.975); transition: opacity 1s ease, transform 1.25s var(--ease); }
.mo .mo-block.mo-in { opacity: 1; transform: none; }
.mo .mo-group > * { opacity: 0; transform: translate3d(0, 34px, 0) scale(.985); transition: opacity .8s ease, transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.mo .mo-group.mo-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mo .mo-up, .mo .mo-block, .mo .mo-group > *, .mo .mo-words .mw > span { opacity: 1 !important; transform: none !important; filter: none !important; } }

/* cards answer the cursor: a short lift and a neon hairline */
.card { transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s; }
a.card:hover, .pl:hover, .h-tool:hover, .pf:hover, .dk:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(var(--neon-rgb), .32), 0 30px 60px -30px rgba(0, 0, 0, .7); }
/* those marks sit on their own round plate in a few places: the plate is inverted with the mark, so give it the
   inverse of the night surface (it comes out as --surface-2) */
.p-id img[src$="/gpt.svg"], .p-id img[src$="/grok.svg"], .how-ais img[src$="/gpt.svg"], .how-ais img[src$="/grok.svg"],
.held img[src$="/gpt.svg"], .held img[src$="/grok.svg"] { background: #e5e2e9; }
input, select, textarea { color-scheme: dark; }
input::placeholder { color: var(--dim); }
:focus-visible { outline-color: var(--neon); }
::selection { background: rgba(var(--neon-rgb), .85); color: #0a0b09; }

/* ---------------------------------------------------------------- the X account */
.x-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 13px; border-radius: 999px; text-decoration: none; color: var(--fg); font: 500 14.5px Mona; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s, color .2s; }
.x-btn svg { width: 15px; height: 15px; fill: currentColor; }
.x-btn:hover { background: var(--neon); color: #0a0b09; box-shadow: none; }
.hdr .x-btn { margin-left: 10px; }
.hdr .x-btn:not([hidden]) + .btn-wallet { margin-left: 8px; }
.mn-x svg { width: 16px; height: 16px; fill: currentColor; }
.x-follow { margin: 26px 8px 0; }
.x-follow svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 820px) { .hdr .x-btn { height: 36px; width: 36px; padding: 0; justify-content: center; margin-left: auto; } .hdr .x-btn span { display: none; } .hdr .x-btn:not([hidden]) + .btn-wallet { margin-left: 6px; } }
