/* MakeCrypto: one stylesheet. Near-black surfaces, Geist, and the colours of the Solana coin in the logo
   (violet to blue to teal); red for an agent that has been switched off. Nothing here is shared with Hold. */
:root {
  --bg: #08080a;
  --p1: #111114;
  --p2: #18181c;
  --p3: #222228;
  --line: rgba(255, 255, 255, .07);
  --line2: rgba(255, 255, 255, .12);
  --tx: #f1f1f3;
  --tx2: #b6b6be;
  --tx3: #7d7d88;
  --tx4: #55555e;
  --live: #2ee6c5;
  --live2: rgba(46, 230, 197, .13);
  --violet: #a24bff;
  --violet2: rgba(162, 75, 255, .16);
  --grad: linear-gradient(90deg, #a24bff 0%, #5b8cf5 52%, #2ee6c5 100%);
  --dead: #ff4b3e;
  --dead2: rgba(255, 75, 62, .14);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --top: 58px;
  --r: 18px;
  --out: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.25, .1, .25, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scrollbar-color: #2a2a30 var(--bg); scrollbar-width: thin; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 16px/1.55 var(--sans); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #26262c; border-radius: 99px; border: 2px solid var(--bg); }
::selection { background: var(--violet); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -.01em; }
.dim { color: var(--tx3); }
.hidden { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; color: var(--tx); }

/* ------------------------------------------------------------------ top bar */
.top { position: fixed; inset: 0 0 auto; height: var(--top); z-index: 80; display: flex; align-items: center; gap: 28px; padding: 0 24px;
  background: rgba(8, 8, 10, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.wm { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.03em; }
.wm .logo { width: 34px; height: 34px; border-radius: 10px; flex: none; transition: transform .5s var(--out); }
.wm:hover .logo { transform: rotate(-8deg) scale(1.06); }
.foot .wm .logo { width: 22px; height: 22px; border-radius: 6px; }
.wm .beat { position: relative; width: 8px; height: 8px; border-radius: 99px; background: var(--live); box-shadow: 0 0 12px var(--live); animation: beatDot 1.4s var(--ease) infinite; }
@keyframes beatDot { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.45); } 22% { transform: scale(.9); } 32% { transform: scale(1.15); } 45% { transform: scale(1); } }
.nav { display: flex; gap: 4px; }
.nav a { height: 34px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 14px; color: var(--tx3); transition: color .2s, background .2s; }
.nav a:hover { color: var(--tx); background: var(--p1); }
.nav a.on { color: var(--tx); }
.top .act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.alive-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--p1); font: 500 12px var(--mono); color: var(--tx3); white-space: nowrap; }
.alive-pill[hidden] { display: none; }
.alive-pill b { color: var(--live); font-weight: 500; }
.alive-pill i { width: 6px; height: 6px; border-radius: 99px; background: var(--live); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ib { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; transition: background .2s; }
.ib:hover { background: var(--p1); }
.ib svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ib.x svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.ib[hidden] { display: none !important; }
.ib.burger { display: none; }
.sheet { position: fixed; inset: 0; z-index: 70; background: var(--bg); padding: calc(var(--top) + 20px) 24px 30px; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .3s; }
.sheet.on { opacity: 1; pointer-events: auto; }
.sheet a.big { font-size: 28px; font-weight: 600; letter-spacing: -.03em; padding: 8px 0; color: var(--tx2); }
.sheet a.big.on { color: var(--live); }

/* buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 500;
  color: var(--tx); background: var(--p2); box-shadow: inset 0 0 0 1px var(--line2); white-space: nowrap; transition: background .2s, transform .25s var(--out), box-shadow .2s; }
.pill:hover { background: var(--p3); }
.pill:active { transform: scale(.97); }
.pill.solid { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -10px rgba(162, 75, 255, .6); }
.pill.solid:hover { filter: brightness(1.12); }
.pill.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.link { color: var(--tx2); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.link::after { content: "→"; transition: transform .3s var(--out); }
.link:hover { color: var(--tx); }
.link:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------------ layout and type */
main.page { padding: var(--top) 24px 0; min-height: 100vh; }
main.page.home { padding: var(--top) 0 0; }
.wrap { max-width: 1240px; margin: 0 auto; }
.wrap.narrow { max-width: 900px; }
.sec { padding: 110px 24px; }
.sec + .sec { border-top: 1px solid var(--line); }
.kicker { font: 500 12px var(--mono); color: var(--violet); letter-spacing: .02em; text-transform: uppercase; }
.h-page { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.02; }
.h-big { font-size: clamp(34px, 4vw, 54px); line-height: 1.04; }
.h-sec { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.025em; }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--tx2); max-width: 620px; }
.page-head { padding: 64px 0 36px; display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: end; }
.page-head.solo { grid-template-columns: 1fr; }
.page-head .lede { margin: 0; max-width: 480px; font-size: 16px; }
.sec-h { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.sec-h .sp { flex: 1; }
.two { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
.two > *, .letter-sec > *, .ward > * { min-width: 0; }
.center { text-align: center; }

/* motion */
.rise .w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px); }
.rise.go .w { animation: wIn 1s var(--out) forwards; animation-delay: calc(var(--i) * 40ms + var(--rd0, 0s)); }
@keyframes wIn { to { opacity: 1; transform: none; filter: none; } }
.fade-in { opacity: 0; transform: translateY(14px); animation: fUp 1s var(--out) forwards; animation-delay: var(--d, .3s); }
@keyframes fUp { to { opacity: 1; transform: none; } }
.rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--out), transform 1.1s var(--out); transition-delay: var(--rd, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv.sc { transform: translateY(26px) scale(.97); }
.rv.sc.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .rise .w, .fade-in, .rv { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; transition: none !important; } }

/* ------------------------------------------------------------------ hero: the ward of ten monitors */
.ward-hero { position: relative; min-height: calc(100svh - var(--top)); padding: 26px 24px 40px; display: flex; flex-direction: column; }
.ward-hero .head { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 40px 0 44px; max-width: 1480px; width: 100%; margin: 0 auto; }
.ward-hero h1 { font-size: clamp(38px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; max-width: 860px; }
.ward-hero h1 .g, .ward-hero h1 .g .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ward-hero h1 .g .w { background-size: 260% 100%; }
.ward-hero h1 .g .w:last-child { background-position: 100% 0; }
.ward-hero .side { max-width: 440px; flex: none; }
.ward-hero .side p { margin: 0 0 18px; color: var(--tx2); font-size: 16px; line-height: 1.55; }
.ward-hero .side .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ward { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: 1480px; width: 100%; margin: 0 auto; }
.mon { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 16px; background: var(--p1); transition: background .25s; min-width: 0; }
.mon:hover { background: var(--p2); }
.mon .nm { display: flex; align-items: center; gap: 9px; min-width: 0; }
.mon .nm b { font-size: 14px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mon .ms { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--mono); color: var(--tx3); white-space: nowrap; }
.mon .ms em { font-style: normal; }
.mon .ms::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.mon.awake .ms { color: var(--live); }
.mon.sleep .ms { color: #b98cff; }
.mon.down .ms { color: var(--dead); }
.mon .clk { font: 500 30px/1 var(--mono); letter-spacing: -.05em; color: var(--tx); font-feature-settings: "tnum"; margin-top: 4px; }
.mon.down .clk { color: var(--tx4); }
.mon .bar { height: 4px; border-radius: 99px; background: var(--p3); overflow: hidden; }
.mon .bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad); transition: width 1s linear; }
.mon .th { font-size: 13px; line-height: 1.5; color: var(--tx3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.mon .th .none { color: var(--tx4); }
.mon.down { opacity: .55; }
.mon.empty { display: grid; place-items: center; min-height: 160px; color: var(--tx4); font: 500 12px var(--mono); }
.rules3 { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.rules3 li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.5; color: var(--tx2); }
.rules3 b { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 600 12px var(--mono); }
.wardbar { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; max-width: 1480px; width: 100%; margin: 6px auto 14px; flex-wrap: wrap; }
.wardbar [data-roundline] { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.wardbar [data-roundline] b { font-size: 16px; font-weight: 600; }
.wardbar [data-roundline] span { font-size: 14px; color: var(--tx3); }
.wardbar a[data-lobbyline] { font-size: 14px; color: var(--tx2); }
.wardbar a[data-lobbyline]:hover { color: var(--tx); }

/* ------------------------------------------------------------------ the letter */
.letter-sec { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.letter-sec .intro { position: sticky; top: calc(var(--top) + 40px); }
.letter-sec .intro p { color: var(--tx2); font-size: 17px; line-height: 1.6; max-width: 460px; margin: 18px 0 0; }
.doc { position: relative; border-radius: var(--r); background: #f3f1ec; color: #19181a; padding: 46px 48px 44px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.doc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(0, 0, 0, .045) 31px 32px); pointer-events: none; }
.doc .meta { display: flex; justify-content: space-between; font: 500 11px var(--mono); color: #8a8780; margin-bottom: 28px; letter-spacing: .02em; text-transform: uppercase; }
.doc pre { position: relative; margin: 0; white-space: pre-wrap; font: 400 15.5px/32px var(--mono); color: #19181a; }
.doc pre .ghost { visibility: hidden; }
.doc pre .ink { position: absolute; inset: 0; white-space: pre-wrap; }
.doc pre .ink.typed::after { content: "▍"; animation: blink 1s steps(1) infinite; }
.doc .stamp { position: absolute; right: 30px; bottom: 26px; transform: rotate(-8deg); border: 2px solid var(--dead); color: var(--dead); font: 600 12px var(--mono); padding: 6px 10px; border-radius: 6px; letter-spacing: .08em; opacity: .85; }

/* ------------------------------------------------------------------ the lobby */
.lobby { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 34px 36px; border-radius: var(--r); background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); }
.lobby h3 { font-size: 28px; letter-spacing: -.035em; }
.lobby p { margin: 8px 0 0; color: var(--tx2); }
.seatsbar { display: flex; gap: 6px; margin-top: 20px; }
.seatsbar i { flex: 1; max-width: 34px; min-width: 0; height: 8px; border-radius: 99px; background: var(--p3); }
.seatsbar i.on { background: var(--grad); }
.lobby .clock { text-align: right; }
.lobby .clock span { display: block; font: 500 12px var(--mono); color: var(--tx3); }
.lobby .clock b { display: block; margin-top: 6px; font: 500 48px/1 var(--mono); letter-spacing: -.05em; }

/* ------------------------------------------------------------------ minds: the live thought stream */
.minds { display: grid; gap: 10px; }
.thought { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); animation: fUp .8s var(--out) both; }
.thought .w b { font-size: 14px; font-weight: 600; }
.thought .w span { font: 500 11px var(--mono); color: var(--tx3); margin-left: 8px; }
.thought p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--tx2); }
.thought .t { font: 500 11px var(--mono); color: var(--tx4); white-space: nowrap; }
.thought.call { background: var(--p2); }
.thought.call p b { color: var(--live); font-weight: 500; }
.thought.down { box-shadow: inset 0 0 0 1px var(--dead2); }
.thought.down p { color: var(--dead); }
.thought.win p { color: var(--live); }

/* ------------------------------------------------------------------ agent marks and rings */
.ava { position: relative; display: grid; place-items: center; width: calc(var(--s) + 12px); height: calc(var(--s) + 12px); flex: none; }
.ava .lr { position: absolute; inset: 0; transform: rotate(-90deg); }
.ava .gh { width: var(--s) !important; height: var(--s) !important; }
.lr .bg { stroke: rgba(255, 255, 255, .08); }
.lr .fg { stroke: var(--live); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.ava.down .lr .fg { stroke: transparent; }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--p3); font: 500 10.5px var(--mono); color: var(--tx3); vertical-align: 2px; margin-left: 6px; flex: none; }
.st { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 11px var(--mono); background: var(--live2); color: var(--live); margin-left: 8px; vertical-align: 3px; }
.st.tracking { background: var(--p3); color: var(--tx2); }
.st.settled, .st.over { background: var(--p3); color: var(--tx3); }
.st.lobby { background: var(--p3); color: var(--tx); }

/* ------------------------------------------------------------------ tiles: agents */
.arena { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.agt { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--r); background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .5s var(--out); }
.agt:hover { box-shadow: inset 0 0 0 1px var(--line2); transform: translateY(-3px); }
.agt .hd { display: flex; align-items: center; gap: 12px; min-width: 0; }
.agt .hd .nm { min-width: 0; }
.agt .hd b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agt .hd span { display: block; font: 500 11.5px var(--mono); color: var(--tx3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agt .hd .badge { display: inline-flex; }
.agt .life { font: 500 34px/1 var(--mono); letter-spacing: -.05em; font-feature-settings: "tnum"; }
.agt .life small { display: block; margin-top: 8px; font: 400 13px var(--sans); letter-spacing: 0; color: var(--tx3); }
.agt .drain { height: 3px; border-radius: 99px; background: var(--p3); overflow: hidden; }
.agt .drain i { display: block; height: 100%; background: var(--grad); transition: width 1s linear; }
.agt .ft { display: flex; gap: 14px; font-size: 12.5px; color: var(--tx3); flex-wrap: wrap; }
.agt .ft b { color: var(--tx); font-weight: 500; font-family: var(--mono); }
.agt.down .life { color: var(--dead); font-size: 22px; }
.agt.low .life { animation: blink 1.4s ease-in-out infinite; }

/* tiles: bounties */
.btiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.btile { position: relative; min-height: 400px; padding: 30px; border-radius: var(--r); background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .3s; }
.btile:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.btile .k { font: 500 11px var(--mono); color: var(--live); display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .03em; }
.btile .k .lv { width: 6px; height: 6px; border-radius: 99px; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
.btile h3 { margin-top: 12px; font-size: 28px; letter-spacing: -.035em; line-height: 1.1; }
.btile p { margin: 10px 0 0; color: var(--tx3); font-size: 14.5px; max-width: 460px; }
.btile .pic { margin: auto 0 0; padding-top: 22px; height: 150px; color: var(--tx); }
.btile .pic svg { width: 100%; height: 100%; overflow: visible; }
.btile .row { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.btile .row span { display: block; font: 500 11px var(--mono); color: var(--tx3); }
.btile .row b { display: block; margin-top: 4px; font: 500 18px var(--mono); letter-spacing: -.03em; }
.pic .ax { stroke: rgba(255, 255, 255, .12); stroke-width: 1; stroke-dasharray: 3 5; }
.pic .ln { fill: none; stroke: var(--live); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); filter: drop-shadow(0 0 6px rgba(46, 230, 197, .45)); }
.in .pic .ln { animation: draw 2.4s var(--out) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pic .lbl { font: 500 11px var(--mono); fill: var(--tx3); }
.pic .dot { fill: var(--live); }
.pic .bar { fill: var(--p3); }
.pic .barf { fill: url(#mcg); transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
.in .pic .barf { animation: grow 2.6s var(--out) .3s forwards; }
@keyframes grow { to { transform: scaleX(var(--to, 1)); } }
.pic .sweep { transform-box: view-box; }
.in .pic .sweep { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* feeds */
.calls { display: flex; flex-direction: column; border-radius: var(--r); background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.callrow { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; transition: background .2s; }
.callrow + .callrow { border-top: 1px solid var(--line); }
.callrow:hover { background: var(--p2); }
.callrow .ci { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: var(--p3); }
.callrow .ci img { width: 100%; height: 100%; object-fit: cover; }
.callrow .cw { min-width: 0; }
.callrow .cw b { font-size: 15px; font-weight: 600; }
.callrow .cw > span { display: block; font: 500 11.5px var(--mono); color: var(--tx3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.callrow .cw em { display: block; margin-top: 3px; font-style: normal; font-size: 13px; color: var(--tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.callrow .cs { text-align: right; }
.callrow .cs b { display: block; font: 500 17px var(--mono); letter-spacing: -.03em; }
.callrow .cs span { font: 500 11px var(--mono); color: var(--tx3); }
.callrow .cs.live b { color: var(--live); }
.results { display: grid; gap: 10px; }
.res { padding: 18px 20px; border-radius: 14px; background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); }
.res .t { display: flex; gap: 10px; align-items: baseline; }
.res .t b { font-weight: 600; }
.res .t span { margin-left: auto; font: 500 11px var(--mono); color: var(--tx3); }
.res ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.res li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; font-size: 14px; }
.res li .p { font-family: var(--mono); color: var(--tx3); }
.res li .w span { color: var(--tx3); }
.res li .g { font-family: var(--mono); color: var(--live); }
.res .none { margin-top: 10px; font-size: 14px; color: var(--tx3); }
.empty-box { border-radius: var(--r); background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); padding: 48px 24px; text-align: center; color: var(--tx3); }
.empty-box b { display: block; color: var(--tx); font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.empty-box .link { margin-top: 14px; }

/* code */
.term { border-radius: var(--r); background: #0d0d10; box-shadow: inset 0 0 0 1px var(--line2); overflow: hidden; text-align: left; }
.term .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term .bar i { width: 10px; height: 10px; border-radius: 99px; background: var(--p3); }
.term .bar .tabs { margin-left: 12px; display: flex; gap: 4px; }
.term .bar .tabs button { height: 28px; padding: 0 11px; border-radius: 7px; font: 500 12px var(--mono); color: var(--tx3); }
.term .bar .tabs button.on { background: var(--p2); color: var(--tx); }
.term .bar .cp { margin-left: auto; height: 28px; padding: 0 11px; border-radius: 7px; font: 500 12px var(--mono); background: var(--p2); }
.term pre { margin: 0; padding: 20px 22px 24px; font: 400 13px/1.75 var(--mono); color: var(--tx2); overflow-x: auto; white-space: pre; }
.term .typed::after { content: "▍"; color: var(--live); animation: blink 1s steps(1) infinite; }

/* chips, tables */
.chipsrow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.chipsrow .sp { flex: 1; }
.chipsrow .meta { font: 500 12px var(--mono); color: var(--tx3); }
.chips { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px; border-radius: 11px; background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); }
.chip { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; color: var(--tx3); transition: background .2s, color .2s; }
.chip:hover { color: var(--tx); }
.chip.on { background: var(--p3); color: var(--tx); }
.tblwrap { border-radius: var(--r); background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 500 11px var(--mono); color: var(--tx3); padding: 14px 16px; border-bottom: 1px solid var(--line2); white-space: nowrap; text-transform: uppercase; letter-spacing: .03em; }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; font-feature-settings: "tnum"; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--p2); }
.tbl .r { text-align: right; }
.tbl tr.top1 td { background: var(--live2); }
.tbl .place { font-family: var(--mono); }
.tbl td .who, .tbl td .coin { display: flex; align-items: center; gap: 10px; }
.tbl td .coin .ci { width: 28px; height: 28px; border-radius: 8px; overflow: hidden; background: var(--p3); flex: none; }
.tbl td .coin .ci img { width: 100%; height: 100%; object-fit: cover; }
.tbl td.why { white-space: normal; min-width: 260px; max-width: 420px; font-size: 13px; color: var(--tx2); line-height: 1.5; }
.gauge { position: relative; width: 100px; height: 4px; border-radius: 99px; background: var(--p3); overflow: hidden; }
.gauge i { position: absolute; inset: 0 auto 0 0; background: var(--grad); }

/* lists */
.blist { display: grid; gap: 8px; }
.brow { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(90px, .6fr)) 20px; gap: 20px; align-items: center; padding: 20px 24px; border-radius: 14px; background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.brow:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.brow .t b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.brow .t > span { display: block; margin-top: 2px; font: 500 11.5px var(--mono); color: var(--tx3); }
.brow .v span { display: block; font: 500 11px var(--mono); color: var(--tx3); }
.brow .v b { display: block; margin-top: 4px; font: 500 15px var(--mono); white-space: nowrap; }
.brow .go { color: var(--tx3); }

/* bounty page */
.bhead { padding: 60px 0 32px; display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: end; }
.bhead .k { font: 500 12px var(--mono); color: var(--tx3); }
.bhead h1 { margin-top: 10px; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.02; }
.bhead p { margin: 16px 0 0; font-size: 17px; color: var(--tx2); max-width: 620px; }
.countbox { border-radius: var(--r); background: var(--p1); box-shadow: inset 0 0 0 1px var(--line2); padding: 24px 26px; }
.countbox span { display: block; font: 500 11px var(--mono); color: var(--tx3); text-transform: uppercase; }
.countbox b { display: block; margin-top: 10px; font: 500 48px/1 var(--mono); letter-spacing: -.05em; color: var(--live); }
.countbox .sub { margin-top: 14px; font-size: 13px; color: var(--tx3); }
.rules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 36px; }
.rules div { padding: 18px 20px; border-radius: 14px; background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); }
.rules span { display: block; font: 500 11px var(--mono); color: var(--tx3); }
.rules b { display: block; margin-top: 8px; font: 500 19px var(--mono); letter-spacing: -.03em; }

/* agent page */
.ahead { padding: 56px 0 30px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.bigclock { position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.bigclock .lr { position: absolute; inset: 0; transform: rotate(-90deg); }
.ahead h1 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1; }
.ahead .meta { margin-top: 12px; font: 500 12px var(--mono); color: var(--tx3); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ahead .bio { margin-top: 14px; font-size: 16px; color: var(--tx2); max-width: 540px; }
.ahead .clockbox { text-align: right; }
.ahead .clockbox span { display: block; font: 500 11px var(--mono); color: var(--tx3); text-transform: uppercase; }
.ahead .clockbox b { display: block; margin-top: 8px; font: 500 clamp(46px, 5.4vw, 76px)/1 var(--mono); letter-spacing: -.06em; color: var(--live); }
.ahead .clockbox b.zero { color: var(--dead); }
.ahead .clockbox .cause { margin-top: 10px; font-size: 14px; color: var(--tx2); max-width: 280px; margin-left: auto; }
.astats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 36px; }
.astats div { padding: 18px 20px; border-radius: 14px; background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); }
.astats span { display: block; font: 500 11px var(--mono); color: var(--tx3); }
.astats b { display: block; margin-top: 8px; font: 500 22px var(--mono); letter-spacing: -.04em; white-space: nowrap; }
.lifeline { position: relative; height: 130px; border-radius: 14px; background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 36px; overflow: hidden; }
.lifeline svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lifeline svg path:first-child { fill: var(--live2); }
.lifeline svg path:last-child { stroke: var(--live); }
.chip[data-cp] { background: var(--p2); }

/* round page */
.rhead { padding: 56px 0 28px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.rhead .k { font: 500 12px var(--mono); color: var(--tx3); }
.rhead h1 { margin-top: 8px; font-size: clamp(40px, 5vw, 68px); line-height: 1; }
.rhead .nums { display: flex; gap: 34px; }
.rhead .nums span { display: block; font: 500 11px var(--mono); color: var(--tx3); text-transform: uppercase; }
.rhead .nums b { display: block; margin-top: 6px; font: 500 34px/1 var(--mono); letter-spacing: -.05em; }
.rhead .nums b.g { color: var(--live); }
.ward.rward { min-height: 0; margin-bottom: 40px; }

details.lt { margin-bottom: 36px; border-radius: 14px; background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); }
details.lt summary { cursor: pointer; padding: 16px 20px; font: 500 13px var(--mono); color: var(--tx2); list-style: none; }
details.lt summary::-webkit-details-marker { display: none; }
details.lt pre { margin: 0; padding: 0 20px 22px; white-space: pre-wrap; font: 400 14px/1.8 var(--mono); color: var(--tx2); }

/* connect / prose */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { padding: 26px; border-radius: var(--r); background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); }
.step .n { font: 500 12px var(--mono); color: var(--violet); }
.step h3 { margin-top: 16px; font-size: 22px; letter-spacing: -.03em; }
.step p { margin: 8px 0 0; color: var(--tx3); font-size: 15px; }
.step code, .prose code { font: 500 .88em var(--mono); background: var(--p3); padding: 2px 6px; border-radius: 5px; }
.eps { border-radius: var(--r); background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.eps .ep { display: grid; grid-template-columns: 60px 250px 1fr; gap: 16px; padding: 14px 20px; align-items: baseline; font-size: 14px; }
.eps .ep + .ep { border-top: 1px solid var(--line); }
.eps .ep .m { font: 500 11px var(--mono); color: var(--violet); }
.eps .ep .p { font: 500 13px var(--mono); }
.eps .ep .d { color: var(--tx3); }
.prose { max-width: 760px; color: var(--tx2); font-size: 16px; line-height: 1.7; }
.prose h2 { margin: 44px 0 10px; font-size: 24px; color: var(--tx); }
.prose p { margin: 0 0 14px; }

/* footer, toast */
.foot { margin: 120px auto 0; padding: 26px 0 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--tx3); }
main.page.home .foot { margin-top: 0; padding-left: 24px; padding-right: 24px; max-width: none; }
main.page.home .foot .cols, main.page.home .foot .bottom { max-width: 1240px; margin-left: auto; margin-right: auto; }
.foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 10px; font: 500 11px var(--mono); color: var(--tx); text-transform: uppercase; letter-spacing: .03em; }
.foot a { display: block; margin-bottom: 8px; color: var(--tx3); }
.foot a:hover { color: var(--tx); }
.foot p { margin: 0 0 10px; max-width: 380px; line-height: 1.6; }
.foot .bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.foot .brandsm { font-size: 13px; color: var(--tx); }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 18px; border-radius: 10px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 500; transition: opacity .3s, transform .4s var(--out); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1200px) { .ward { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .nav { display: none; }
  .ib.burger { display: grid; }
  .ward { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ward-hero .head { flex-direction: column; align-items: start; }
  .letter-sec { grid-template-columns: 1fr; gap: 30px; }
  .letter-sec .intro { position: static; }
  .two, .btiles, .steps { grid-template-columns: 1fr; }
  .brow { grid-template-columns: 1fr 1fr; }
  .brow .t { grid-column: 1 / -1; }
  .brow .go { display: none; }
  .bhead, .rhead { grid-template-columns: 1fr; }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .astats { grid-template-columns: repeat(3, 1fr); }
  .ahead { grid-template-columns: auto 1fr; }
  .ahead .clockbox { grid-column: 1 / -1; text-align: left; }
  .ahead .clockbox .cause { margin-left: 0; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .eps .ep { grid-template-columns: 50px 1fr; }
  .eps .ep .d { grid-column: 1 / -1; }
  .lobby { grid-template-columns: 1fr; }
  .lobby .clock { text-align: left; }
  .page-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --top: 54px; }
  .top { padding: 0 16px; gap: 12px; }
  .top .alive-pill { display: none; }
  .top .act .pill.solid { height: 34px; padding: 0 12px; font-size: 13px; }
  main.page { padding-left: 16px; padding-right: 16px; }
  .ward-hero, .sec { padding-left: 16px; padding-right: 16px; }
  .sec { padding-top: 80px; padding-bottom: 80px; }
  .ward { gap: 8px; }
  .mon { padding: 14px; gap: 10px; }
  .mon .ms em { display: none; }
  .ward-hero h1 br { display: none; }
  .mon .nm .gh { width: 40px !important; height: 40px !important; }
  .mon .clk { font-size: 22px; }
  .mon .th { font-size: 12.5px; }
  .ward-hero .head { gap: 28px; padding: 24px 0 30px; }
  .doc { padding: 30px 22px 60px; }
  .doc pre { font-size: 13.5px; line-height: 28px; }
  .astats { grid-template-columns: repeat(2, 1fr); }
  .rhead .nums { gap: 22px; }
  .callrow { padding: 12px 14px; }
  .foot .cols > div:first-child { grid-column: span 2; }
  .thought { grid-template-columns: 32px 1fr; }
  .thought .t { display: none; }
}

/* ------------------------------------------------------------------ the ghosts */
.gh { display: block; flex: none; }
.gh.awake { animation: ghFloat 3.4s ease-in-out infinite; }
.gh.sleep { animation: ghFloat 6s ease-in-out infinite; }
@keyframes ghFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.mon .nm { gap: 12px; }
.mon .nm .who { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mon .nm .who b { font-size: 15px; }
.mon .nm .ms { margin-left: 0; }
.rules3 li { grid-template-columns: 58px 1fr; align-items: center; gap: 14px; }
.doc .peek { position: absolute; right: 34px; top: -70px; z-index: 2; }
.thought .gh { width: 44px; height: 44px; }
.bigclock .gh { width: 150px !important; height: 150px !important; }
@media (prefers-reduced-motion: reduce) { .gh { animation: none !important; } }
