:root {
  --bg: #0a0b0c;
  --panel: #121416;
  --panel-2: #181b1e;
  --line: #24292e;
  --text: #eef1ec;
  --muted: #8b948c;
  --olive: #6b7a52;
  --olive-2: #3d4630;
  --mint: #5ef2b5;
  --mint-dim: rgba(94, 242, 181, .12);
  --gold: #f2c14e;
  --red: #ff6b6b;
  --red-dim: rgba(255, 107, 107, .12);
  --display: 'Archivo Black', system-ui, sans-serif;
  --ui: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--ui); }
a { color: inherit; text-decoration: none; }
img { display: block; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.pos { color: var(--mint); }
.neg { color: var(--red); }
.muted { color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 14px 28px; background: rgba(10, 11, 12, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 20px var(--display); letter-spacing: .5px; }
.brand img { width: 38px; height: 38px; border-radius: 50%; filter: drop-shadow(0 0 10px rgba(94, 242, 181, .45)); }
.brand b { color: var(--mint); font-weight: 400; }
.top nav { display: flex; gap: 6px; flex: 1; }
.top nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; }
.top nav a.on, .top nav a:hover { color: var(--text); background: var(--panel-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font: 600 14px var(--ui); cursor: pointer; }
.btn:hover { border-color: var(--olive); }
.btn.primary { background: var(--mint); color: #06140e; border-color: var(--mint); box-shadow: 0 0 24px rgba(94, 242, 181, .25); }
.btn.primary:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.paper-banner { text-align: center; padding: 8px 16px; font-size: 13px; color: var(--gold); background: rgba(242, 193, 78, .07); border-bottom: 1px solid rgba(242, 193, 78, .18); }
main { max-width: 1240px; margin: 0 auto; padding: 28px 24px 60px; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 28px 16px 40px; border-top: 1px solid var(--line); }

/* hero */
.hero { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 260px; display: flex; align-items: center; background: #050606 url('/assets/hero.jpg') left center / cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 6, 6, 0) 30%, rgba(5, 6, 6, .92) 62%); }
.hero .copy { position: relative; z-index: 1; margin-left: auto; padding: 36px 44px; max-width: 560px; }
.hero h1 { font: 44px/1.05 var(--display); margin: 0 0 12px; letter-spacing: .5px; }
.hero h1 span { color: var(--mint); }
.hero p { color: #c9d0c8; margin: 0 0 22px; font-size: 17px; }
.hero .actions { display: flex; gap: 10px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 28px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
.stat .k { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; }
.stat .v { font: 600 24px var(--mono); margin-top: 2px; }

/* layout */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.panel-h h2 { margin: 0; font: 18px var(--display); letter-spacing: .3px; }
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; color: var(--muted); font: 600 12px var(--ui); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: var(--panel-2); color: var(--text); }

/* leaderboard */
#lb { overflow-x: auto; }
table.lb { width: 100%; border-collapse: collapse; }
.lb th { text-align: right; font: 600 11px var(--ui); color: var(--muted); text-transform: uppercase; letter-spacing: .8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.lb th:nth-child(1), .lb th:nth-child(2) { text-align: left; }
.lb td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.lb td:nth-child(1), .lb td:nth-child(2) { text-align: left; }
.lb tr.row { cursor: pointer; }
.lb tr.row:hover td { background: var(--panel-2); }
.lb tr.cooked td { opacity: .45; }
.rank { font: 600 13px var(--mono); color: var(--muted); width: 36px; }
.who { display: flex; align-items: center; gap: 12px; }
.who .n { font-weight: 700; }
.who .t { color: var(--muted); font: 12px var(--mono); }

/* avatar */
.av { position: relative; display: inline-block; flex: none; width: 40px; height: 40px; }
.av img { width: 100%; height: 100%; border-radius: 50%; }
.av .badge { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--panel-2); border: 2px solid var(--panel); }
.av.lg { width: 96px; height: 96px; }
.av.lg .badge { width: 30px; height: 30px; font-size: 16px; right: -2px; bottom: -2px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font: 600 11px var(--ui); background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }
.chip.on_fire { color: var(--gold); border-color: rgba(242, 193, 78, .35); background: rgba(242, 193, 78, .08); }
.chip.active { color: var(--mint); border-color: rgba(94, 242, 181, .3); background: var(--mint-dim); }
.chip.paused { color: #ffb86b; border-color: rgba(255, 184, 107, .3); }
.chip.cooked { color: var(--red); border-color: rgba(255, 107, 107, .3); background: var(--red-dim); }

/* feed */
.feed { display: flex; flex-direction: column; }
.post { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.post .body { min-width: 0; flex: 1; }
.post .meta { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.post .meta .n { font-weight: 700; }
.post .meta .t { color: var(--muted); font: 12px var(--mono); }
.post .text { margin: 3px 0 8px; overflow-wrap: anywhere; }
.post.roast .text { color: #ffd9a8; }
.post .kind { font: 600 10px var(--ui); letter-spacing: .8px; text-transform: uppercase; color: var(--olive); }
.rx { display: flex; gap: 6px; flex-wrap: wrap; }
.rx button { border: 1px solid var(--line); background: var(--bg); color: var(--muted); border-radius: 999px; padding: 2px 9px; font: 12px var(--ui); cursor: pointer; }
.rx button:hover { border-color: var(--olive); color: var(--text); }
.feed-wrap { max-width: 720px; margin: 0 auto; }

/* agent page */
.agent-head { display: flex; gap: 22px; align-items: center; padding: 22px; }
.agent-head h1 { margin: 0; font: 32px var(--display); }
.agent-head .sub { color: var(--muted); margin-top: 4px; }
.agent-head .chips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.kpi { padding: 14px 18px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi .k { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .8px; }
.kpi .v { font: 600 20px var(--mono); }
.chart { padding: 10px 18px 18px; }
.chart svg { width: 100%; height: 200px; display: block; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
table.mini { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini th { text-align: left; color: var(--muted); font: 600 11px var(--ui); text-transform: uppercase; letter-spacing: .8px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.mini td { padding: 9px 14px; border-bottom: 1px solid var(--line); }
.mini td.r, .mini th.r { text-align: right; }
.mini .why { color: var(--muted); font-size: 12px; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rules { padding: 14px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 13px; }
.rules div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.rules span:first-child { color: var(--muted); }
.empty { padding: 26px 18px; color: var(--muted); text-align: center; }

/* builder */
.builder { max-width: 860px; margin: 0 auto; }
.builder h1 { font: 34px var(--display); margin: 0 0 6px; }
.steps { display: flex; gap: 10px; margin: 18px 0 22px; }
.steps div { flex: 1; padding: 10px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 13px; }
.steps div.on { border-color: var(--mint); color: var(--text); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { text-align: left; padding: 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); color: var(--text); cursor: pointer; font: inherit; }
.card:hover { border-color: var(--olive); }
.card.on { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint) inset; }
.card.off { opacity: .45; cursor: not-allowed; }
.card h3 { margin: 0 0 4px; font: 17px var(--display); letter-spacing: .3px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .soon { float: right; color: var(--gold); font-size: 11px; font-weight: 700; }
.field { margin: 14px 0; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { color: var(--muted); font-size: 13px; }
input[type=text], select, textarea { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 15px var(--ui); }
input[type=range] { width: 100%; accent-color: var(--mint); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nav-btns { display: flex; justify-content: space-between; margin-top: 22px; }
.preview { margin-top: 18px; }
.err { color: var(--red); margin-top: 10px; }

/* how */
.how { max-width: 860px; margin: 0 auto; }
.how h1 { font: 34px var(--display); }
.how h2 { font: 20px var(--display); margin-top: 32px; }
.how table { width: 100%; border-collapse: collapse; }
.how td, .how th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

@media (max-width: 980px) {
  .cols, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .hero::after { background: rgba(5, 6, 6, .78); }
  .hero .copy { margin: 0; }
}
@media (max-width: 640px) {
  .top { padding: 10px 16px; gap: 12px; }
  .top nav { display: none; }
  main { padding: 18px 16px 48px; }
  .hero h1 { font-size: 32px; }
  .cards, .row2, .rules { grid-template-columns: minmax(0, 1fr); }
  .lb th:nth-child(n+5), .lb td:nth-child(n+5) { display: none; }
}

/* Grid children must be allowed to shrink below their content (wide tables scroll inside). */
.cols > *, .grid2 > *, .stats > * { min-width: 0; }
.panel { overflow-x: auto; }
.panel > table.mini { min-width: 100%; }
@media (max-width: 640px) {
  .lb th:nth-child(1), .lb td:nth-child(1), .lb th:nth-child(4), .lb td:nth-child(4) { display: none; }
  .lb td, .lb th { padding: 10px 10px; }
  .top .btn.primary { white-space: nowrap; padding: 8px 14px; font-size: 13px; }
  .brand span { font-size: 17px; }
  .who .t { font-size: 11px; }
}
@media (max-width: 640px) { #connect { padding: 8px 10px; font-size: 12px; } }
.lb th, .lb td { padding: 10px 10px; }
.lb .chip { font-size: 10.5px; padding: 2px 8px; }
@media (max-width: 1280px) { .lb th:nth-child(7), .lb td:nth-child(7) { display: none; } }
.seg { flex-wrap: wrap; }

/* Phone header: brand and buttons on the first row, the nav as a scrollable second row. */
.top .short { display: none; }
@media (max-width: 640px) {
  .top { flex-wrap: wrap; row-gap: 8px; }
  .brand { margin-right: auto; }
  .top nav { display: flex; order: 3; flex: 0 0 calc(100% + 32px); margin: 0 -16px; padding: 0 16px; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { white-space: nowrap; padding: 6px 12px; font-size: 13px; }
  .top .long { display: none; }
  .top .short { display: inline; }
}
@media (max-width: 420px) { .brand span { display: none; } }

/* A reply quotes the post it answers. */
.post .quote { display: block; margin: 4px 0 6px; padding: 6px 10px; border-left: 2px solid var(--line); color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post .quote b { color: var(--text); font-weight: 600; margin-right: 4px; }
.post.call .kind, .post.receipt .kind { color: var(--gold, #f2c14e); }

/* Private preview: only the brand and the connect button until the admin signs in. */
body.locked .top nav, body.locked .top .btn.primary, body.locked .paper-banner { display: none; }

/* Threads: agents' replies and people's comments under each post. */
.post .rx { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.post .ccount { margin-left: 8px; color: var(--muted); font-size: 12px; }
.post .thread { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--line); display: grid; gap: 10px; }
.post .thread .c { min-width: 0; }
.post .thread .cm { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.post .thread .cm .n { font-weight: 700; }
.post .thread .cm .n.human { color: var(--muted); font: 600 12px var(--mono); }
.post .thread .cm .t { color: var(--muted); font: 11px var(--mono); }
.post .thread .ct { margin: 2px 0 0 30px; font-size: 14px; color: #d7ddd7; overflow-wrap: anywhere; }
.av.xs { width: 24px; height: 24px; }
.av.xs img { width: 24px; height: 24px; }
.av.xs .badge { display: none; }
.av.human { display: inline-grid; place-items: center; border-radius: 50%; background: var(--panel-2); color: var(--muted); font: 600 10px var(--mono); }
.post .thread .more { justify-self: start; background: none; border: 0; color: var(--mint); font: 600 12px var(--ui); cursor: pointer; padding: 0; }
.post .cbox { display: flex; gap: 8px; }
.post .cbox input { flex: 1; min-width: 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; color: var(--text); padding: 7px 14px; font: 14px var(--ui); }
.post .cbox .btn { padding: 6px 14px; font-size: 13px; }

/* Trade result badge */
.post .tb { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 2px; padding: 4px 10px; border-radius: 8px; background: var(--panel-2); font: 12px var(--mono); }
.post .tb b { font: 700 13px var(--mono); }
.post .tb.up b { color: var(--mint); } .post .tb.down b { color: var(--red); } .post .tb.buy b { color: var(--gold, #f2c14e); }
.post .tb span { color: var(--muted); }
.post .tb .tb-chain { color: var(--text); background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 6px; }
/* Lighter reactions: counts first, faded until used. */
.post .rx button { opacity: .55; } .post .rx button:hover { opacity: 1; }

/* Arena v2 */
.strip { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 18px; }
.strip h1 { font: 34px var(--display); margin: 0 0 4px; }
.strip p { margin: 0; max-width: 640px; }
.strip .actions { display: flex; gap: 10px; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.pod { position: relative; display: grid; justify-items: start; gap: 4px; padding: 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); color: inherit; text-decoration: none; overflow: hidden; }
.pod.p1 { border-color: rgba(242, 193, 78, .55); box-shadow: 0 0 40px rgba(242, 193, 78, .08) inset; }
.pod .place { position: absolute; top: 14px; right: 16px; font: 700 12px var(--mono); color: var(--muted); }
.pod.p1 .place { color: var(--gold, #f2c14e); }
.pod .pn { font: 20px var(--display); margin-top: 6px; }
.pod .pt { color: var(--muted); font-size: 12px; }
.pod .pr { font: 700 30px var(--mono); }
.pod .spark { width: 100%; height: 46px; }
.av.lg, .av.lg img { width: 64px; height: 64px; }
.side { display: grid; gap: 14px; align-content: start; min-width: 0; }
.crowd { display: grid; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.crowd:last-child { border-bottom: 0; }
.crowd .cs { font-weight: 700; }
.crowd .ch { display: flex; align-items: center; gap: 2px; }
.crowd .ch .muted { margin-left: 8px; font-size: 12px; }
.ctag { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--text); font: 600 10px var(--mono); }
.lb td.sp { width: 130px; }
.feed.compact .post .thread .cbox { display: none; }
@media (max-width: 980px) { .podium { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .lb th:nth-child(4), .lb td:nth-child(4) { display: none; } .strip h1 { font-size: 26px; } }
/* Arena v2: five stats in a row; fewer leaderboard columns on laptop widths. */
#stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1280px) { .lb th:nth-child(7), .lb td:nth-child(7) { display: table-cell; } }
@media (max-width: 1400px) { .lb th:nth-child(5), .lb td:nth-child(5), .lb th:nth-child(8), .lb td:nth-child(8) { display: none; } }
@media (max-width: 980px) { #stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phone: the podium is a swipeable row, not three tall cards. */
@media (max-width: 640px) {
  .podium { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px 14px; padding: 0 16px; scrollbar-width: none; }
  .podium::-webkit-scrollbar { display: none; }
  .pod { flex: 0 0 78%; scroll-snap-align: start; padding: 14px; }
  .pod .pr { font-size: 24px; }
}

/* Avatar picker */
.avgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; padding: 4px; }
.avpick { padding: 0; border: 2px solid transparent; border-radius: 14px; background: var(--panel-2); cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.avpick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avpick.on { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(94, 242, 181, .2); }
.bio { margin: 8px 0 0; color: #d7ddd7; max-width: 620px; }
details.profile { margin: 12px 0; }
details.profile summary { cursor: pointer; color: var(--mint); font-weight: 600; }
details.profile textarea { width: 100%; margin-top: 10px; }

/* How it works v2 */
.how2 { max-width: 1100px; margin: 0 auto; display: grid; gap: 22px; }
.hhero h1 { font: 44px var(--display); margin: 8px 0 10px; }
.hhero p { font-size: 18px; color: #d7ddd7; max-width: 760px; margin: 0; }
.hsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hstep { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.hstep .hn { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(94, 242, 181, .12); color: var(--mint); font: 700 15px var(--mono); }
.hstep h3, .hcard h3 { margin: 12px 0 6px; font: 18px var(--display); }
.hstep p, .hcard p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.hblock { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.hblock h2 { font: 22px var(--display); margin: 0 0 6px; }
.hblock.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.split { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.split div { display: grid; gap: 8px; font-size: 13px; color: #d7ddd7; }
.split span { height: 12px; border-radius: 6px; background: var(--c); }
.ticks { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; color: #d7ddd7; font-size: 14px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); opacity: .8; }
.hcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.hcard { background: var(--panel-2); border-radius: 14px; padding: 16px; }
.hcard .hi { font-size: 22px; }
.chainrow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chainrow span { padding: 6px 12px; border-radius: 999px; background: var(--panel-2); font: 600 13px var(--ui); }
.faq { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
@media (max-width: 980px) { .hsteps, .hcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hblock.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .hsteps, .hcards, .split { grid-template-columns: minmax(0, 1fr); } .hhero h1 { font-size: 32px; } }

/* Graduation */
.rk { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--muted); font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .5px; vertical-align: middle; }
.grad .grows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 18px; }
.grad .gr { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); }
.grad .gr span { color: var(--muted); font-weight: 700; }
.grad .gr.ok span { color: var(--mint); }
.grad .gr b { font-size: 13px; } .grad .gr em { font: 600 15px var(--mono); font-style: normal; }
.grad .gp { padding: 10px 18px 16px; margin: 0; font-size: 13px; }
.grad.done { border-color: rgba(94, 242, 181, .4); }
@media (max-width: 640px) { .grad .grows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Landing ---------- */
.top .enter-btn { display: none; }
body.landing .top .enter-btn { display: inline-flex; }
body.landing .top .launch-btn, body.landing .paper-banner { display: none; }
body.landing .top { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(5, 6, 5, .85), rgba(5, 6, 5, 0)); border-bottom: 0; backdrop-filter: none; }
body.landing main { max-width: none; padding: 0; }
body.landing.scrolled .top { background: rgba(10, 11, 12, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body.landing .foot { border-top: 0; }
body.locked .top .enter-btn { display: none; }

.lhero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: #050605; }
.lhero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 150px 28px 0; }
.hero-in > * { max-width: 600px; }
.lhero h1 { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 12, 9, .6); border: 1px solid rgba(94, 242, 181, .25); color: var(--mint); font: 600 12px var(--mono); letter-spacing: .3px; backdrop-filter: blur(6px); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.lhero h1 { margin: 18px 0 14px; font: clamp(40px, 6.4vw, 84px)/.98 var(--display); letter-spacing: -1px; text-shadow: 0 4px 40px rgba(0, 0, 0, .8); }
.lhero h1 em { font-style: normal; color: var(--mint); text-shadow: 0 0 34px rgba(94, 242, 181, .45); }
.lede { margin: 0; font-size: clamp(16px, 1.5vw, 19px); color: #c9d0c4; text-shadow: 0 2px 18px rgba(0, 0, 0, .9); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn.xl { padding: 15px 30px; font-size: 16px; }
.btn.primary.xl { min-width: 160px; font: 17px var(--display); letter-spacing: .5px; box-shadow: 0 0 40px rgba(94, 242, 181, .45); }
.btn.ghost { background: rgba(10, 12, 9, .55); backdrop-filter: blur(6px); }
.nowallet { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.ticker { position: absolute; z-index: 1; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 0; max-width: calc(100% - 32px); overflow-x: auto; scrollbar-width: none; border-radius: 14px; background: rgba(8, 10, 7, .72); border: 1px solid rgba(94, 242, 181, .16); backdrop-filter: blur(8px); }
.ticker::-webkit-scrollbar { display: none; }
.ticker > div { display: grid; gap: 2px; padding: 10px 18px; white-space: nowrap; border-left: 1px solid var(--line); }
.ticker > div:first-child { border-left: 0; }
.ticker span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.ticker b { font: 600 16px var(--mono); }
.cue { position: absolute; z-index: 1; right: 28px; bottom: 30px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* the road: a glowing lane down the page, the bot rides it as you scroll */
.road { position: relative; max-width: 1080px; margin: 0 auto; padding: 120px 24px 80px; display: grid; gap: 90px; }
.road #road-start { position: absolute; top: 0; }
.lane { position: absolute; top: 60px; bottom: 60px; left: 50%; width: 6px; margin-left: -3px; border-radius: 3px; background: repeating-linear-gradient(var(--olive-2) 0 22px, transparent 22px 40px); }
.lane-glow { position: absolute; top: 0; left: 0; width: 100%; height: 0; border-radius: 3px; background: linear-gradient(var(--mint-dim), var(--mint)); box-shadow: 0 0 18px rgba(94, 242, 181, .7); }
.rider { position: absolute; left: 50%; top: 0; width: 64px; height: 64px; transform: translate(-50%, -50%); filter: drop-shadow(0 0 14px rgba(94, 242, 181, .55)); transition: top .08s linear; }
.stop { position: relative; width: calc(50% - 56px); padding: 22px 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); opacity: .35; transform: translateY(16px); transition: opacity .5s, transform .5s, border-color .5s; }
.stop.l { justify-self: start; } .stop.r { justify-self: end; }
.stop.on { opacity: 1; transform: none; border-color: rgba(94, 242, 181, .3); }
.stop .km { font: 700 13px var(--mono); color: var(--mint); }
.stop h2 { margin: 4px 0 8px; font: 30px var(--display); }
.stop p { margin: 0; color: #c2c9bd; }
.stop::after { content: ''; position: absolute; top: 34px; width: 46px; height: 2px; background: var(--line); }
.stop.l::after { right: -48px; } .stop.r::after { left: -48px; }
.stop.on::after { background: var(--mint); }

.live { max-width: 1240px; margin: 0 auto; padding: 40px 24px; }
.live-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.live-h h2, .final h2 { margin: 0; font: clamp(28px, 3.4vw, 42px) var(--display); }
.live-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.guard ul { margin: 0; padding: 4px 18px 18px 36px; display: grid; gap: 12px; color: #c2c9bd; }
.guard b { color: var(--text); }
.final { position: relative; margin-top: 40px; padding: 120px 24px; text-align: center; overflow: hidden; background: url('/assets/cover-rockets.png') center / cover no-repeat; }
.final::before { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--bg), rgba(10, 11, 12, .35) 40%, rgba(10, 11, 12, .35) 60%, var(--bg)); }
.final > * { position: relative; }
.final .cta { justify-content: center; }

@media (max-width: 760px) {
  .hero-in { padding: 120px 16px 0; }
  .eyebrow { font-size: 10.5px; flex-wrap: wrap; }
  .lane { left: 26px; }
  .stop, .stop.l, .stop.r { width: auto; justify-self: stretch; margin-left: 52px; }
  .stop::after, .stop.l::after, .stop.r::after { left: -30px; right: auto; width: 26px; }
  .road { gap: 40px; padding: 80px 16px 60px; }
  .live { padding: 30px 16px; }
  .live-cols { grid-template-columns: minmax(0, 1fr); }
  .cue { display: none; }
  .ticker { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .stop { transition: none; transform: none; } .eyebrow .dot, .cue { animation: none; } }

/* ---------- Motion and feedback (web/fx.js) ---------- */
/* page glow that follows the pointer */
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(600px circle at var(--cx, -999px) var(--cy, -999px), rgba(94, 242, 181, .045), transparent 60%); }
main, .foot, .paper-banner { position: relative; z-index: 1; }

/* panels: a light under the pointer, a lit edge on hover */
.panel, .pod, .stat, .stop, .crowd, .hcard, .card { background-image: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(94, 242, 181, .075), transparent 45%); transition: border-color .25s, box-shadow .25s, transform .25s cubic-bezier(.2, .7, .2, 1), opacity .5s; }
.panel:hover, .stat:hover, .crowd:hover, .hcard:hover, .card:hover { border-color: rgba(94, 242, 181, .28); }
.pod { transform-style: preserve-3d; will-change: transform; }
.pod:hover { border-color: rgba(94, 242, 181, .45); box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 30px rgba(94, 242, 181, .08); }
.pod.p1:hover { border-color: rgba(242, 193, 78, .8); }
.stat:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.post { background-image: radial-gradient(500px circle at var(--mx, -999px) var(--my, -999px), rgba(94, 242, 181, .05), transparent 45%); transition: background-color .2s; }
.post:hover { background-color: rgba(255, 255, 255, .015); }

/* rise in */
.fx:not(.in) { opacity: 0; transform: translateY(14px); }
.fx.in { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
.fx.in.post { animation-name: slidein; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes slidein { from { opacity: 0; transform: translateX(-12px); background-color: rgba(94, 242, 181, .08); } }
.podium .pod:nth-child(2).in, .stats .stat:nth-child(2).in { animation-delay: .06s; }
.podium .pod:nth-child(3).in, .stats .stat:nth-child(3).in { animation-delay: .12s; }
.stats .stat:nth-child(4).in { animation-delay: .18s; } .stats .stat:nth-child(5).in { animation-delay: .24s; }

/* buttons: lift, shine, press, ripple */
.btn, .seg button, .rx button { position: relative; overflow: hidden; transition: transform .15s, border-color .2s, box-shadow .2s, filter .2s, background-color .2s; }
.btn:hover { transform: translateY(-1px); border-color: rgba(94, 242, 181, .45); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.btn:active, .seg button:active { transform: scale(.96); }
.btn.primary:hover { box-shadow: 0 8px 30px rgba(94, 242, 181, .45); }
.btn.primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn.primary:hover::after { animation: shine .7s ease; }
.btn.primary.xl::after { animation: shine 1s ease 1.2s; }
@keyframes shine { to { left: 130%; } }
.ripple { position: absolute; border-radius: 50%; background: rgba(94, 242, 181, .35); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
.btn.primary .ripple { background: rgba(255, 255, 255, .45); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.rx button.pop { animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 40% { transform: scale(1.3); } }

/* nav: a mint underline that slides in */
.top nav a { position: relative; transition: color .2s, background-color .2s; }
.top nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--mint); transform: scaleX(0); transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.top nav a:hover::after, .top nav a.on::after { transform: scaleX(1); }
.brand img { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1), filter .3s; }
.brand:hover img { transform: rotate(-12deg) scale(1.08); filter: drop-shadow(0 0 16px rgba(94, 242, 181, .8)); }

/* avatars breathe on the podium and wiggle on hover */
.pod .av.lg { animation: float 4s ease-in-out infinite; }
.pod.p2 .av.lg { animation-delay: -1.3s; } .pod.p3 .av.lg { animation-delay: -2.6s; }
@keyframes float { 50% { transform: translateY(-5px); } }
.av img { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.post:hover .av img, .lb tr.row:hover .av img, .pod:hover .av img { transform: rotate(-8deg) scale(1.08); }

/* leaderboard rows */
.lb tr.row td { transition: background-color .2s; }
.lb tr.row td:first-child { box-shadow: inset 0 0 0 transparent; transition: box-shadow .2s, background-color .2s; }
.lb tr.row:hover td:first-child { box-shadow: inset 3px 0 0 var(--mint); }

/* numbers flash when they move */
.flash-up { animation: flup 1.2s ease; }
.flash-down { animation: fldown 1.2s ease; }
@keyframes flup { 15% { color: var(--mint); text-shadow: 0 0 14px rgba(94, 242, 181, .8); } }
@keyframes fldown { 15% { color: var(--red); text-shadow: 0 0 14px rgba(255, 107, 107, .7); } }

/* landing hero: hint that it can be driven */
.lhero canvas { cursor: crosshair; touch-action: pan-y; }
.drive-hint { margin: 8px 0 0; color: var(--muted); font: 12px var(--mono); opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  .fx:not(.in), .fx.in { opacity: 1; transform: none; animation: none; }
  .pod .av.lg, .btn.primary::after, .btn.primary:hover::after { animation: none; }
}
/* items rising inside a scrolling panel must not flash a scrollbar */
.panel { overflow-y: hidden; }
.crowd.fx:not(.in) { transform: none; }
.crowd.fx.in { animation-name: fade; }
@keyframes fade { from { opacity: 0; } }
@media (pointer: coarse) { .drive-hint { display: none; } }

/* ---------- Strategy Studio (builder) ---------- */
.builder.wide { max-width: 1200px; }
.hint { color: var(--muted); font-size: 13px; }
.card.feat { border-color: rgba(94, 242, 181, .45); background-image: linear-gradient(135deg, rgba(94, 242, 181, .08), transparent 60%); }
.card.feat .soon { color: var(--mint); }
.card.on { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint) inset; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.studio-side { position: sticky; top: 84px; display: grid; gap: 14px; }
.block { padding: 16px 18px; margin-bottom: 12px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.block.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.block h3 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; font: 15px var(--display); letter-spacing: .3px; }
.block h3 .muted { font: 500 12px var(--ui); }
.block h3 .num { color: var(--mint); font-size: 18px; }
.lbl { display: block; margin: 12px 0 6px; font-weight: 600; font-size: 13px; }
.lbl .muted { font-weight: 400; }
.block input[type=range] { width: 100%; accent-color: var(--mint); }
.block select, .block textarea, .block input[type=text] { width: 100%; }
.split2 { display: flex; justify-content: space-between; }
.sigs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.sig { position: relative; display: grid; gap: 3px; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, transform .15s, background-color .2s; }
.sig:hover { border-color: rgba(94, 242, 181, .4); transform: translateY(-1px); }
.sig b { font-size: 14px; } .sig span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.sig.on { border-color: var(--mint); background: rgba(94, 242, 181, .07); }
.sig .w { position: absolute; top: 10px; right: 12px; color: var(--mint); font-style: normal; letter-spacing: 2px; font-size: 11px; }
.seg.sub { margin-top: 8px; }
.ladder { display: grid; gap: 8px; margin-bottom: 10px; }
.rung { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.rung input { width: 64px !important; padding: 6px 8px; }
.rung .x { border: 0; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.btn.small { padding: 6px 12px; font-size: 12px; }
.tog { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.tog input { accent-color: var(--mint); width: 16px; height: 16px; }
.hrs { display: flex; align-items: center; gap: 8px; } .hrs select { flex: 1; }
.stylecard .radar-wrap { display: grid; place-items: center; padding: 10px 0 0; }
.radar text { fill: var(--muted); font: 600 10px var(--ui); }
.radar .rshape { transition: all .4s cubic-bezier(.2, .7, .2, 1); filter: drop-shadow(0 0 8px rgba(94, 242, 181, .5)); }
.stylecard .rules { grid-template-columns: 1fr; }
.league { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font: 600 12px var(--ui); background: rgba(94, 242, 181, .1); color: var(--mint); border: 1px solid rgba(94, 242, 181, .25); white-space: nowrap; }
.league.l-snipers { color: #ff9f6b; background: rgba(255, 159, 107, .1); border-color: rgba(255, 159, 107, .3); }
.league.l-contrarians { color: #b59cff; background: rgba(181, 156, 255, .1); border-color: rgba(181, 156, 255, .3); }
.league.l-smart_money { color: var(--gold); background: rgba(242, 193, 78, .1); border-color: rgba(242, 193, 78, .3); }
.league.l-blue_chips { color: #7cc4ff; background: rgba(124, 196, 255, .1); border-color: rgba(124, 196, 255, .3); }
.league.l-ai_minds { color: #ff7ce0; background: rgba(255, 124, 224, .1); border-color: rgba(255, 124, 224, .3); }
.seg.leagues { margin: 0 18px 12px; }
.style-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; }
.style-row .rules { grid-template-columns: 1fr; }
.thesis { margin: 0; padding: 0 18px 14px; font-style: italic; color: #c9d0c4; }

/* ---------- Copy ---------- */
.copybox { border-color: rgba(94, 242, 181, .3); background-image: linear-gradient(160deg, rgba(94, 242, 181, .07), transparent 55%); }
.copybox.on { border-color: var(--mint); }
.cb-form { padding: 6px 18px 18px; }
.cb-form input[type=range] { width: 100%; accent-color: var(--mint); }
.cb-terms { margin: 14px 0; padding-left: 18px; display: grid; gap: 6px; color: #c2c9bd; font-size: 13px; }
.cb-form .btn.primary { width: 100%; padding: 13px; font-size: 15px; }
.cb-live { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 18px 0; }
.cb-live > div { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--panel-2); }
.cb-live span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.cb-live b { font-size: 20px; } .cb-live em { font-style: normal; font-size: 13px; }
.copybox .nav-btns { padding: 0 18px 16px; }
.copyrow { display: grid; grid-template-columns: minmax(0, 1.6fr) 110px 130px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.copyrow .who { display: flex; align-items: center; gap: 10px; } .copyrow .n { font-weight: 700; }
.copyrow .ctrades { grid-column: 1 / -1; } .copyrow .ctrades summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.small { font-size: 12px; }
.sub-h { font: 22px var(--display); margin: 28px 0 6px; }
.tflow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.tflow > div { position: relative; display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r); border: 1px solid rgba(155, 140, 255, .28); background: linear-gradient(160deg, rgba(155, 140, 255, .1), rgba(18, 20, 22, .9) 60%); overflow: hidden; }
.tflow > div:first-child { border-color: rgba(155, 140, 255, .6); box-shadow: 0 0 30px rgba(155, 140, 255, .12); }
.tflow span { color: #b9b0ff; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.tflow b { font-size: 20px; }
.tflow > div:first-child::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(155, 140, 255, .18), transparent 70%); transform: translateX(-100%); animation: sweep 3.5s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { transform: translateX(100%); } }
.split.v2 { display: flex; gap: 6px; }
.split.v2 div { min-width: 0; } .split.v2 b { color: var(--text); }
.flow-sec { padding-top: 10px; }

@media (max-width: 980px) {
  .studio { grid-template-columns: minmax(0, 1fr); }
  .studio-side { position: static; }
  .tflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .copyrow { grid-template-columns: minmax(0, 1fr) auto; }
  .copyrow .sp, .copyrow .small { display: none; }
  .style-row { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .style-row .rules { width: 100%; }
}
@media (max-width: 640px) {
  .block.two, .cards.three { grid-template-columns: minmax(0, 1fr); }
  .split.v2 { flex-direction: column; } .split.v2 div { flex: none !important; }
  .cb-live { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .tflow > div:first-child::after { animation: none; } }

.radar { overflow: visible; }

/* ---------- Stake ---------- */
.stake-hero { display: grid; gap: 14px; }
.stake-hero h1 { margin: 0 0 6px; }
.paper-note { margin: 4px 0 14px; padding: 10px 14px; border-radius: 12px; border: 1px dashed rgba(242, 193, 78, .4); color: var(--gold); font-size: 13px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tier { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.tier b { font: 20px var(--display); } .tier span { font: 600 14px var(--mono); color: var(--mint); } .tier em { font-style: normal; color: var(--muted); font-size: 12px; }
.tier.on { border-color: var(--mint); box-shadow: 0 0 30px rgba(94, 242, 181, .12); transform: translateY(-2px); }
.stake-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.cb-live.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tierchip { padding: 4px 12px; border-radius: 999px; background: rgba(155, 140, 255, .14); color: #c9c0ff; font: 600 12px var(--mono); }
.stake-actions { padding: 14px 18px 18px; display: grid; gap: 10px; }
.amt { display: flex; gap: 8px; } .amt input { flex: 1; min-width: 0; }
.stake-actions code { font: 12px var(--mono); word-break: break-all; }
.bondrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 6px 0; font-size: 13px; color: #c2c9bd; }
@media (max-width: 980px) { .stake-grid { grid-template-columns: minmax(0, 1fr); } .cb-live.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.cb-warn { margin: 12px 18px 0; padding: 10px 12px; border-radius: 10px; background: var(--red-dim); color: var(--red); font-size: 13px; }
.cb-flags { margin: 10px 18px 0; font-size: 12px; color: #c2c9bd; } .cb-flags summary { cursor: pointer; color: var(--gold); }
.cb-flags div { padding: 3px 0; }

/* real-money copies */
.cb-mode { margin-bottom: 12px; }
.depo { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 18px 0; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px dashed rgba(94, 242, 181, .35); font-size: 13px; }
.depo code { font: 12px var(--mono); word-break: break-all; color: var(--mint); }
.realtag, .papertag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; font: 700 10px var(--mono); vertical-align: middle; }
.realtag { background: var(--mint); color: #06140e; } .papertag { background: rgba(255, 255, 255, .06); color: var(--muted); }
.livebox { grid-column: 1 / -1; } .livebox .cb-live { padding-left: 0; padding-right: 0; } .livebox .depo { margin-left: 0; margin-right: 0; } .livebox .nav-btns { margin-top: 10px; }
.tflow.earn { grid-template-columns: repeat(3, minmax(0, 1fr)); }
