/* VEIN — black + gold, built around the logo and banner. */
:root {
  --bg: #000;
  --bg-1: #060606;
  --panel: rgba(12, 12, 12, .78);
  --panel-2: #121212;
  --panel-3: #181818;
  --line: #1c1c1c;
  --line-2: #2a2a2a;
  --line-3: #3a3a3a;
  --text: #f5f5f4;
  --text-2: #b8b8b6;
  --muted: #8a8a88;
  --dim: #545452;
  --gold: #fcc81c;
  --gold-ink: #ffd23f;
  --gold-bg: rgba(252, 200, 28, .08);
  --gold-line: rgba(252, 200, 28, .28);
  --grad: linear-gradient(135deg, #fff45e 0%, #fcc81c 46%, #d39300 100%);
  --up: #4ade80;
  --down: #f87171;
  --r: 14px;
  --display: 'Montserrat', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; background: #000; color: var(--text); font: 15px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
b, strong { font-weight: 600; }
code { font-family: var(--mono); font-size: .84em; color: var(--text-2); background: var(--panel-2); border: 1px solid var(--line-2); padding: 1px 6px; border-radius: 6px; word-break: break-all; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.gold { color: var(--gold-ink); }
.up { color: var(--up) !important; }
.down { color: var(--down) !important; }
.fine { color: var(--muted); font-size: 12.5px; line-height: 1.55; margin: 12px 0 0; }
[hidden] { display: none !important; }
.num, .tbl td.r, .stats b, .topstats b, .bal b, .you dd, .sum dd, .lb .val { font-variant-numeric: tabular-nums; }
.eyebrow { display: inline-block; font: 600 11.5px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: rgba(252, 200, 28, .3); }

/* ---------------- nav ---------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(0, 0, 0, .78); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: var(--line); }
.nav-in { height: 72px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: 30px; }
.brand-word { height: 15px; width: auto; aspect-ratio: 1173 / 256; }
.links { display: flex; gap: 6px; }
.links a { position: relative; padding: 8px 14px; font-size: 14.5px; color: var(--muted); transition: color .2s; }
.links a:hover, .links a.on { color: var(--text); }
.links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1.5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.links a.on::after, .links a:hover::after { transform: scaleX(1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.ml-chip { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; transition: border-color .2s; }
.ml-chip:hover { border-color: var(--gold-line); }
.ml-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: blink 2.4s ease-in-out infinite; }
.ml-chip b { color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.ml-chip b::after { content: " SOL"; color: var(--muted); font-weight: 400; }
@keyframes blink { 50% { opacity: .35; } }
.burger { display: none; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: none; padding: 0 10px; flex-direction: column; justify-content: center; gap: 5px; }
.burger i { display: block; height: 1.5px; background: var(--text); }
.mnav { display: none; }

/* ---------------- buttons ---------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .15s var(--ease), box-shadow .25s, background .2s, border-color .2s, opacity .2s; overflow: hidden; }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-gold { background: var(--grad); color: #140f00; }
.btn-gold:hover:not(:disabled) { box-shadow: 0 8px 30px -6px rgba(252, 200, 28, .55); }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-line { background: transparent; border-color: var(--line-3); color: var(--text); }
.btn-line:hover:not(:disabled) { border-color: var(--gold-line); background: var(--gold-bg); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; height: 50px; margin-top: 16px; font-size: 15px; }
.chip { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 13px; color: var(--text-2); transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--gold-line); color: var(--text); }
.link { background: none; border: 0; padding: 0; font-size: 13px; color: var(--muted); transition: color .2s; }
.link:hover { color: var(--gold-ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--gold-ink); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.x { width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 10px; background: none; color: var(--muted); font-size: 12px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 0; }
.ph h3 { font-size: 14px; font-weight: 600; }

/* ---------------- views + reveal ---------------- */
.view { animation: viewIn .5s var(--ease); }
@keyframes viewIn { from { opacity: 0; } }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------------- hero ---------------- */
.hero { position: relative; min-height: max(760px, 100vh); display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; }
.rock { position: absolute; top: 0; bottom: 0; width: 42vw; background-size: cover; background-repeat: no-repeat; z-index: -2; animation: drift 38s ease-in-out infinite alternate; }
.rock-l { left: 0; background-image: url(/img/rock-left.jpg); background-position: left center; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 100%); mask-image: linear-gradient(90deg, #000 30%, transparent 100%); }
.rock-r { right: 0; background-image: url(/img/rock-right.jpg); background-position: right center; -webkit-mask-image: linear-gradient(270deg, #000 30%, transparent 100%); mask-image: linear-gradient(270deg, #000 30%, transparent 100%); animation-delay: -19s; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateY(-1.5%); } }
.rock .fleck { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ffd75a; box-shadow: 0 0 6px 2px rgba(255, 190, 40, .7); opacity: 0; animation: twinkle var(--d, 4s) ease-in-out var(--t, 0s) infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 45% { opacity: .95; transform: scale(1); } 60% { opacity: .5; } }
.hero::after { content: none; }
.hero-light { position: absolute; left: 50%; top: 30%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(252, 200, 28, .14), transparent 70%); z-index: -1; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; } }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 120px 24px 90px; }
.hero-mark { width: clamp(84px, 9vw, 120px); height: auto; overflow: visible; margin-bottom: 34px; }
.mk-glow { filter: blur(26px); opacity: 0; animation: glowIn 1.2s ease-out 1.5s forwards, glowPulse 5s ease-in-out 2.7s infinite; }
@keyframes glowIn { to { opacity: .55; } }
@keyframes glowPulse { 50% { opacity: .3; } }
.mk-arc { fill: none; stroke: #fff; stroke-width: 190; stroke-dasharray: 0 100; }
.mk-a1 { animation: draw1 1.1s var(--ease) .25s forwards; }
.mk-a2 { animation: draw2 1.1s var(--ease) .35s forwards; }
@keyframes draw1 { to { stroke-dasharray: 49 100; } }
@keyframes draw2 { to { stroke-dasharray: 45 100; } }
.mk-bar { transform: translate(760px, 760px); opacity: 0; animation: slice .55s cubic-bezier(.12, .9, .2, 1) 1.15s forwards; }
@keyframes slice { 0% { opacity: 1; } to { opacity: 1; transform: none; } }
.mk-sheen { transform-origin: 627px 627px; transform: rotate(45deg) translateX(-300px); animation: sheen 6s ease-in-out 2.2s infinite; }
@keyframes sheen { 0% { transform: rotate(45deg) translateX(-300px); } 30%, 100% { transform: rotate(45deg) translateX(1500px); } }
.hero-word { margin: 0; line-height: 0; }
.hero-word svg { width: min(760px, 78vw); height: auto; overflow: visible; filter: drop-shadow(0 0 40px rgba(252, 200, 28, .18)); }
.wl { opacity: 0; transform: translateY(40px); animation: letter .9s var(--ease) calc(1.35s + var(--i) * .09s) forwards; }
@keyframes letter { to { opacity: 1; transform: none; } }
.w-sheen { transform: skewX(-20deg) translateX(0); animation: wsheen 7s ease-in-out 2.6s infinite; }
@keyframes wsheen { 0% { transform: skewX(-20deg) translateX(0); } 28%, 100% { transform: skewX(-20deg) translateX(1700px); } }
.tagline { margin: 30px 0 0; font: 600 clamp(12px, 1.35vw, 17px)/1 var(--display); letter-spacing: .5em; padding-left: .5em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; animation: track 1.4s var(--ease) 1.85s forwards; }
@keyframes track { from { opacity: 0; letter-spacing: .9em; } to { opacity: 1; letter-spacing: .5em; } }
.hero-lede { max-width: 470px; margin: 30px auto 0; color: var(--text-2); font-size: 16.5px; line-height: 1.6; opacity: 0; animation: up .9s var(--ease) 2.15s forwards; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; opacity: 0; animation: up .9s var(--ease) 2.3s forwards; }
.hero-live { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10, 10, 10, .6); backdrop-filter: blur(8px); font-size: 13px; color: var(--muted); opacity: 0; animation: up .9s var(--ease) 2.45s forwards; transition: border-color .2s; }
.hero-live:hover { border-color: var(--gold-line); }
.hero-live b { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 600; }
.hero-live b.gold { color: var(--gold-ink); }
.hero-live .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid var(--line-3); border-radius: 12px; opacity: 0; animation: up 1s var(--ease) 3s forwards; }
.scroll-cue i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------- home sections ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 34px 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats > div > span { font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stats b { font: 600 clamp(24px, 2.4vw, 32px)/1.1 var(--display); letter-spacing: -.02em; }
.stats b.gold { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec { padding-top: 130px; }
.sec-h { margin-bottom: 44px; max-width: 640px; }
.sec-h.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sec-h h2, .ml-copy h2, .cta-band h2 { font: 600 clamp(28px, 3.2vw, 42px)/1.12 var(--display); letter-spacing: -.03em; margin-top: 16px; }
.ml-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ml-copy p { color: var(--text-2); font-size: 16.5px; margin: 20px 0 26px; max-width: 470px; }
.ml-card { position: relative; overflow: hidden; padding: 44px 40px 36px; border: 1px solid var(--gold-line); border-radius: 22px; background: radial-gradient(120% 90% at 50% 0%, rgba(252, 200, 28, .1), transparent 60%), var(--panel); text-align: center; }
.ml-ring { position: absolute; left: 50%; top: 46%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(252, 200, 28, .5) 85%, transparent 100%); -webkit-mask: radial-gradient(closest-side, transparent 96%, #000 97%, #000 99%, transparent 100%); mask: radial-gradient(closest-side, transparent 96%, #000 97%, #000 99%, transparent 100%); animation: spin 9s linear infinite; opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }
.ml-label { position: relative; font: 600 11.5px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.ml-amt { position: relative; display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 22px 0 30px; }
.ml-amt b { font: 700 clamp(52px, 6vw, 78px)/1 var(--display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 28px rgba(252, 200, 28, .35)); font-variant-numeric: tabular-nums; }
.ml-amt span { font: 600 18px var(--display); color: var(--muted); }
.ml-meta { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line-2); padding-top: 22px; }
.ml-meta div { display: flex; flex-direction: column; gap: 4px; }
.ml-meta dt { font-size: 12px; color: var(--muted); }
.ml-meta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-1); transition: border-color .3s, transform .4s var(--ease), opacity .9s var(--ease); }
.step:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.step-n { font: 600 13px var(--display); letter-spacing: .1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font: 600 19px var(--display); letter-spacing: -.02em; margin: 26px 0 10px; }
.step p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.step:nth-child(2) { transition-delay: .08s; }
.step:nth-child(3) { transition-delay: .16s; }
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 76px 24px; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(60% 80% at 50% 0%, rgba(252, 200, 28, .12), transparent 70%), var(--bg-1); }
.cta-mark { width: 56px; height: 56px; filter: drop-shadow(0 0 20px rgba(252, 200, 28, .45)); }
.cta-band h2 { margin-top: 26px; }
.cta-band h2 span { font-variant-numeric: tabular-nums; }
.cta-band p { color: var(--muted); margin: 12px 0 30px; }

/* ---------------- tables ---------------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 600 11px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 16px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 15px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
.tbl td.empty { text-align: center; color: var(--muted); padding: 36px; }
.tbl tbody tr { transition: background .2s; }
.tbl tbody tr:hover { background: var(--panel-2); }
.sc { display: flex; align-items: center; gap: 12px; }
.tag-s { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--grad); color: #140f00; }
.tag-q { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; color: var(--muted); border: 1px solid var(--line-2); }
.panel:has(> .tbl) { overflow-x: auto; }

/* ---------------- mine ---------------- */
.app { padding-top: 112px; }
.topstats { display: flex; justify-content: center; }
.topstats > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 48px; border-left: 1px solid var(--line-2); }
.topstats > div:first-child { border-left: 0; }
.topstats b { font: 600 clamp(26px, 3vw, 40px)/1.1 var(--display); letter-spacing: -.03em; }
.topstats b span::after { content: " SOL"; font-size: .42em; color: var(--muted); -webkit-text-fill-color: var(--muted); letter-spacing: .04em; }
.topstats > div > span { font: 600 10.5px var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.gold-num b span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ts-time.hot b { color: #ff6b6b; }
.subline { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 20px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.subline b { color: var(--text-2); font-variant-numeric: tabular-nums; }
.subline .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }
.seal { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); cursor: help; white-space: nowrap; }
.seal em { font-style: normal; }
.seal svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.seal.open { color: var(--gold-ink); border-color: var(--gold-line); background: var(--gold-bg); }
.bar { position: relative; height: 2px; margin: 20px auto 0; max-width: 520px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--text); transform-origin: left; }
.bar.hot i { background: var(--grad); }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; margin-top: 36px; align-items: start; }
.col-board, .col-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.board-stage { position: relative; width: 100%; max-width: min(100%, max(360px, calc(100vh - 300px))); margin: 0 auto; }
.board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.tile { position: relative; aspect-ratio: 1; border-radius: 12px; border: 1px solid #2e2e2e; background: linear-gradient(160deg, #1a1a1a, #121212); display: flex; flex-direction: column; justify-content: space-between; padding: 10px 11px; text-align: left; transition: border-color .2s, box-shadow .25s, background .3s, transform .15s; user-select: none; -webkit-tap-highlight-color: transparent; }
.tile:hover { border-color: #4a4a4a; background: linear-gradient(160deg, #202020, #161616); }
.tile:active { transform: scale(.97); }
.tile .row { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; align-self: flex-start; background: inherit; border-radius: 4px; padding-right: 3px; }
.tile .idx { font-size: 11px; color: var(--dim); font-variant-numeric: tabular-nums; font-weight: 500; }
.tile .tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 700 9.5px var(--display); letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.tile .amt { position: relative; z-index: 2; align-self: flex-start; background: inherit; border-radius: 4px; padding-right: 3px; font-size: clamp(11px, 1.3vw, 14px); font-weight: 600; font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(3px); transition: opacity .3s, transform .3s; }
.tile .mine { position: absolute; z-index: 2; right: 7px; top: 7px; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--grad); color: #140f00; font-variant-numeric: tabular-nums; opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s; }
.tile.has-mine .mine { opacity: 1; transform: none; }
.tile.sel { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold), 0 0 22px -6px rgba(252, 200, 28, .5); }
.tile.sel .idx { color: var(--gold-ink); }
.board.reveal .tile { background: color-mix(in oklab, #fcc81c calc(var(--heat, 0) * 22%), #171717); }
.board.reveal .tile .amt { opacity: 1; transform: none; }
.board.reveal .tile.dim { opacity: .62; }
.board.reveal .tile.vein { border-color: var(--gold-line); background: color-mix(in oklab, #fcc81c 16%, #171717); }
.board.reveal .tile.vein .tag { opacity: 1; color: var(--gold-ink); }
.board.reveal .tile.strike { background: var(--grad); border-color: #fff45e; color: #140f00; animation: strike .8s cubic-bezier(.2, .9, .3, 1.2); box-shadow: 0 10px 44px -8px rgba(252, 200, 28, .7); }
.board.reveal .tile.strike .idx, .board.reveal .tile.strike .tag { color: #3a2b00; opacity: 1; }
.board.reveal .tile.strike.ml { box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--gold), 0 12px 50px -4px var(--gold); }
.board.reveal .tile.empty-strike { border: 1.5px dashed var(--gold); background: var(--gold-bg); }
.board.reveal .tile.empty-strike .tag { opacity: 1; color: var(--gold-ink); }
@keyframes strike { 0% { transform: scale(.9); } 45% { transform: scale(1.07); } 100% { transform: scale(1); } }
.veins { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.veins path { fill: none; stroke: #ffd23f; stroke-width: 2px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 200; stroke-dashoffset: 200; animation: vein .9s .25s ease-out forwards; filter: drop-shadow(0 0 4px rgba(252, 200, 28, .9)); }
@keyframes vein { to { stroke-dashoffset: 0; } }
.board-foot { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.pick { display: flex; gap: 6px; }
.hint { font-size: 13px; color: var(--muted); }
.hint b { color: var(--text); }
.ml-panel { position: relative; overflow: hidden; padding: 20px 20px 18px; border-color: var(--gold-line); background: radial-gradient(120% 120% at 100% 0%, rgba(252, 200, 28, .12), transparent 60%), var(--panel); }
.mlp-head { display: flex; justify-content: space-between; align-items: center; }
.mlp-odds { font-size: 12px; color: var(--muted); }
.mlp-amt { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 10px; }
.mlp-amt b { font: 700 38px/1 var(--display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.mlp-amt span { color: var(--muted); font: 600 14px var(--display); }
.mlp-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.mlp-meta b { color: var(--text); font-variant-numeric: tabular-nums; }
.deploy { padding: 18px; }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--bg-1); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 3px; }
.tab-b { height: 34px; border: 0; border-radius: 999px; background: transparent; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.tab-b.on { background: var(--panel-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.tabs-sm .tab-b { height: 28px; font-size: 12.5px; }
.pane { padding-top: 18px; }
.field { display: block; }
.lbl { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.input { display: flex; align-items: center; height: 56px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-1); transition: border-color .2s, box-shadow .2s; }
.input:focus-within { border-color: var(--gold-line); box-shadow: 0 0 0 4px rgba(252, 200, 28, .06); }
.input input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 16px; font: 600 22px var(--display); font-variant-numeric: tabular-nums; color: var(--text); outline: none; }
.suffix { padding: 0 16px; color: var(--muted); font-size: 13px; }
.suffix.max { border: 0; background: none; font-weight: 700; font-size: 12px; color: var(--gold-ink); letter-spacing: .06em; }
.adds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.adds button { height: 38px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s; }
.adds button:hover { border-color: var(--gold-line); background: var(--gold-bg); }
.sum { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.sum div { display: flex; justify-content: space-between; font-size: 14px; }
.sum dt { color: var(--muted); }
.sum dd { margin: 0; font-weight: 600; }
input[type=range] { width: 100%; margin: 14px 0; accent-color: var(--gold); }
.auto-live { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: var(--gold-bg); border: 1px solid var(--gold-line); }
.auto-live b { display: block; font-size: 14px; }
.auto-live span { font-size: 12.5px; color: var(--text-2); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; animation: pulseG 1.6s infinite; }
@keyframes pulseG { 0% { box-shadow: 0 0 0 0 rgba(252, 200, 28, .6); } 70% { box-shadow: 0 0 0 9px rgba(252, 200, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(252, 200, 28, 0); } }
.wallet { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.bal { font-size: 13px; color: var(--muted); }
.bal b { font: 600 24px var(--display); color: var(--text); letter-spacing: -.02em; }
.wallet-act { display: flex; gap: 6px; }
.you { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 18px 18px; margin: 0; }
.you dt { font-size: 12px; color: var(--muted); }
.you dd { margin: 4px 0 0; font: 600 19px var(--display); letter-spacing: -.02em; }
.you small { color: var(--muted); font-size: 12px; }
.last { display: flex; gap: 14px; align-items: center; padding: 12px 18px 18px; }
.mini { display: grid; grid-template-columns: repeat(5, 11px); gap: 3px; flex: none; }
.mini i { width: 11px; height: 11px; border-radius: 3px; background: var(--panel-3); border: 1px solid var(--line-2); }
.mini i.v { background: rgba(252, 200, 28, .3); border-color: transparent; }
.mini i.s { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 6px rgba(252, 200, 28, .6); }
.mini.sm { grid-template-columns: repeat(5, 6px); gap: 2px; }
.mini.sm i { width: 6px; height: 6px; border-radius: 1.5px; }
.last-txt { font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.last-txt b { color: var(--text); }
.feed { list-style: none; margin: 0; padding: 8px 10px 12px; max-height: 300px; overflow: auto; }
.feed li { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; font-size: 13px; animation: feedIn .4s var(--ease); }
.feed li:hover { background: var(--panel-2); }
.feed .who { color: var(--text-2); font-variant-numeric: tabular-nums; }
.feed .what { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.feed .when { color: var(--dim); font-size: 12px; width: 32px; text-align: right; }
.feed li.empty, .lb li.empty { color: var(--muted); justify-content: center; animation: none; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-4px); } }
.av { width: 22px; height: 22px; border-radius: 7px; flex: none; background: linear-gradient(135deg, hsl(var(--h) 55% 58%), hsl(calc(var(--h) + 50) 55% 40%)); }

/* ---------------- pages ---------------- */
.page { padding-top: 132px; }
.page-h { margin-bottom: 36px; }
.page-h h1 { font: 600 clamp(34px, 4.4vw, 52px)/1.05 var(--display); letter-spacing: -.035em; margin-top: 14px; }
.page-h p { margin: 12px 0 0; font-size: 16px; color: var(--muted); max-width: 560px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lb { list-style: none; margin: 0; padding: 8px 10px 14px; counter-reset: lb; }
.lb li { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-radius: 10px; font-size: 14px; counter-increment: lb; }
.lb li::before { content: counter(lb); width: 20px; font: 600 12px var(--display); color: var(--dim); }
.lb li:nth-child(-n+3)::before { color: var(--gold-ink); }
.lb li.empty::before { display: none; }
.lb .who { color: var(--text-2); white-space: nowrap; }
.lb .val { margin-left: auto; font-weight: 600; white-space: nowrap; }
.lb .sub { color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }

/* ---------------- docs ---------------- */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 0 56px; max-width: 1320px; margin: 0 auto; padding: 72px 24px 0; }
.docs-side { position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto; padding: 40px 0; border-right: 1px solid var(--line); }
.docs-menu { display: none; }
.docs-nav { padding-right: 20px; }
.dn-group { margin-bottom: 26px; }
.dn-group h5 { margin: 0 0 8px; font: 600 10.5px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); padding-left: 12px; }
.dn-group a { display: block; padding: 7px 12px; margin: 1px 0; border-radius: 8px; font-size: 14px; color: var(--muted); transition: color .15s, background .15s; position: relative; }
.dn-group a:hover { color: var(--text); background: var(--panel-2); }
.dn-group a.on { color: var(--gold-ink); background: var(--gold-bg); }
.dn-group a.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--grad); }
.docs-main { min-width: 0; padding: 44px 0 40px; max-width: 760px; }
.docs-crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.docs-crumb b { color: var(--gold-ink); font-weight: 500; }
.docs-main h1 { font: 600 clamp(32px, 3.6vw, 44px)/1.1 var(--display); letter-spacing: -.035em; }
.docs-main .lead { font-size: 18px; color: var(--text-2); margin: 16px 0 34px; line-height: 1.6; }
.docs-main h2 { font: 600 22px var(--display); letter-spacing: -.02em; margin: 52px 0 14px; padding-top: 6px; scroll-margin-top: 96px; }
.docs-main h3 { font-size: 16.5px; margin: 30px 0 10px; }
.docs-main p, .docs-main li { color: var(--text-2); font-size: 15.5px; line-height: 1.75; }
.docs-main p { margin: 0 0 16px; }
.docs-main ul, .docs-main ol { padding-left: 22px; margin: 0 0 18px; }
.docs-main li { margin: 6px 0; }
.docs-main li::marker { color: var(--gold); }
.docs-main b { color: var(--text); }
.docs-main a.il { color: var(--gold-ink); border-bottom: 1px solid var(--gold-line); }
.callout { display: flex; gap: 14px; padding: 16px 18px; margin: 22px 0; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); }
.callout p { margin: 0 !important; font-size: 14.5px !important; }
.callout .ci { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--display); margin-top: 2px; }
.callout.note { border-color: var(--gold-line); background: var(--gold-bg); }
.callout.note .ci { background: var(--grad); color: #140f00; }
.callout.warn { border-color: rgba(248, 113, 113, .3); background: rgba(248, 113, 113, .06); }
.callout.warn .ci { background: #f87171; color: #1a0505; }
.code { position: relative; margin: 20px 0 24px; border: 1px solid var(--line-2); border-radius: 12px; background: #070707; overflow: hidden; }
.code-h { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); font: 500 12px var(--mono); color: var(--muted); }
.code-h button { border: 1px solid var(--line-2); background: none; border-radius: 7px; padding: 3px 10px; font: 500 12px 'Inter'; color: var(--text-2); }
.code-h button:hover { border-color: var(--gold-line); color: var(--gold-ink); }
.code pre { margin: 0; padding: 16px 18px; font: 13.5px/1.75 var(--mono); color: #d8d6cf; overflow-x: auto; }
.code .k { color: #ffd23f; } .code .c { color: #6b6b68; } .code .n { color: #9ad7ff; }
.dtable { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0 26px; font-size: 14px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.dtable th { text-align: left; padding: 11px 14px; background: var(--panel-2); font: 600 11px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.dtable td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); font-variant-numeric: tabular-nums; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable td b { color: var(--text); }
.dtable .hl td { background: var(--gold-bg); }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 18px 0 26px; }
.kv div { padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); }
.kv > div > span { display: block; font-size: 12px; color: var(--muted); }
.kv b { font: 600 20px var(--display); letter-spacing: -.02em; }
.pn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.pn { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .2s, background .2s; }
.pn:hover { border-color: var(--gold-line); background: var(--gold-bg); }
.pn span { font-size: 12px; color: var(--muted); }
.pn b { font-size: 15px; }
.pn.next { text-align: right; grid-column: 2; }
.docs-toc { position: sticky; top: 72px; height: calc(100vh - 72px); padding: 48px 0; overflow-y: auto; }
.docs-toc h5 { margin: 0 0 12px; font: 600 10.5px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.docs-toc a { display: block; padding: 5px 0 5px 12px; font-size: 13px; color: var(--muted); border-left: 1px solid var(--line-2); transition: color .15s, border-color .15s; }
.docs-toc a:hover { color: var(--text); }
.docs-toc a.on { color: var(--gold-ink); border-left-color: var(--gold); }
.docs-main .fade { animation: viewIn .4s var(--ease); }

/* ---------------- footer ---------------- */
.foot { margin-top: 140px; border-top: 1px solid var(--line); padding: 56px 0 36px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.foot-in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand p { margin: 16px 0 0; color: var(--muted); font-size: 14px; max-width: 280px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-cols h4 { font: 600 10.5px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.foot-cols a, .copy { font-size: 14px; color: var(--text-2); background: none; border: 0; padding: 0; text-align: left; transition: color .15s; }
.foot-cols a:hover, .copy:hover { color: var(--gold-ink); }
.foot-fine { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }

/* ---------------- modals / toasts ---------------- */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: viewIn .2s; }
.m-box { width: 100%; max-width: 440px; padding: 22px; animation: pop .25s var(--ease); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 40px 100px rgba(0, 0, 0, .7); }
.m-wide { max-width: 680px; }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.m-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.m-h h3 { font: 600 17px var(--display); }
.m-msg { font-size: 13.5px; margin: 12px 0 0; }
.m-msg:empty { display: none; }
.m-msg a { text-decoration: underline; }
.wd-list { list-style: none; margin: 14px 0 0; padding: 0; font-size: 13px; }
.wd-list li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--text-2); }
.verify { font-size: 13.5px; }
.verify .vrow { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); align-items: start; }
.verify .vrow > span { color: var(--muted); }
.verify .ok { color: var(--up); font-weight: 600; }
.verify .bad { color: var(--down); font-weight: 600; }
.verify .vboard { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 0 0 16px; }
.verify .vboard div { border: 1px solid var(--line-2); border-radius: 7px; padding: 6px; font-size: 11px; text-align: right; background: var(--panel-2); font-variant-numeric: tabular-nums; }
.verify .vboard div.s { background: var(--grad); color: #140f00; border-color: var(--gold); }
.verify .vboard div.v { background: var(--gold-bg); border-color: var(--gold-line); }
.verify a { text-decoration: underline; }
.toasts { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: calc(100% - 32px); max-width: 420px; }
.toast { background: #f5f5f4; color: #000; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); animation: pop .25s var(--ease); }
.toast.win { background: var(--grad); color: #140f00; font-weight: 700; }

/* ---------------- responsive ---------------- */
@media (max-width: 1180px) {
  .docs { grid-template-columns: 240px minmax(0, 1fr); }
  .docs-toc { display: none; }
}
@media (max-width: 1040px) {
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .col-side { display: grid; grid-template-columns: 1fr 1fr; }
  .col-side .deploy { grid-row: span 3; }
  .ml-sec { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .links, .ml-chip { display: none; }
  .burger { display: flex; }
  .mnav:not([hidden]) { display: flex; flex-direction: column; padding: 8px 20px 18px; background: rgba(0, 0, 0, .96); border-bottom: 1px solid var(--line); }
  .mnav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .steps, .two { grid-template-columns: 1fr; }
  .docs { grid-template-columns: minmax(0, 1fr); padding-top: 64px; }
  .docs-side { position: sticky; top: 64px; height: auto; z-index: 5; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 0; background: rgba(0, 0, 0, .92); backdrop-filter: blur(12px); }
  .docs-menu { display: flex; width: 100%; justify-content: space-between; align-items: center; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); font-size: 14px; }
  .docs-menu svg path { fill: none; stroke: currentColor; stroke-width: 2; }
  .docs-nav { display: none; padding: 14px 0 6px; max-height: 60vh; overflow-y: auto; }
  .docs-side.open .docs-nav { display: block; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-in { gap: 12px; height: 64px; }
  .brand-word { height: 13px; }
  #connectBtn span:not(.av) { display: none; }
  #connectBtn.has-wallet { padding: 0 10px; }
  .hero { min-height: 720px; }
  .rock { width: 70vw; opacity: .7; }
  .hero-in { padding: 100px 18px 80px; }
  .hero-word svg { width: 86vw; }
  .tagline { font-size: 11px; animation-name: trackS; }
  @keyframes trackS { from { opacity: 0; letter-spacing: .6em; } to { opacity: 1; letter-spacing: .32em; } }
  .hero-lede { font-size: 15px; }
  .hero-live { font-size: 12px; gap: 7px; padding: 8px 14px; }
  .stats > div { padding: 22px 14px; }
  .stats > div:nth-child(odd) { padding-left: 0; }
  .sec { padding-top: 90px; }
  .ml-card { padding: 34px 20px 28px; }
  .ml-meta { gap: 8px; }
  .cta-band { padding: 56px 20px; }
  .app { padding-top: 92px; }
  .app-grid { display: flex; flex-direction: column; }
  .col-board, .col-side { display: contents; }
  .board-panel { order: 2; } .ml-panel { order: 1; } .deploy { order: 3; } .col-side > .panel:not(.deploy):not(.ml-panel) { order: 4; } .feed-panel { order: 5; }
  .app-grid > *, .col-side > *, .col-board > * { min-width: 0; max-width: 100%; width: 100%; }
  .topstats > div { padding: 0 14px; }
  .topstats b { font-size: 22px; }
  .topstats > div > span { font-size: 9.5px; }
  .board { gap: 5px; }
  .tile { border-radius: 8px; padding: 6px 7px; }
  .tile .mine { right: 4px; top: 4px; font-size: 9px; padding: 0 5px; }
  .tile .tag { display: none; }
  .hide-s { display: none; }
  .tbl th, .tbl td { padding: 12px 12px; }
  .lb .sub { display: none; }
  .page { padding-top: 100px; }
  .foot-cols { gap: 34px; }
  .pn-row { grid-template-columns: 1fr; }
  .pn.next { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
.board.reveal .tile.strike .row, .board.reveal .tile.strike .amt { background: none; }
.hero-live, .hl-ml { white-space: nowrap; }
.hl-ml { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 640px) { .hl-ml { display: none; } }

/* ---------------- mine v2: framed board, refined tiles ---------------- */
.app { padding-top: 104px; }
.topstats { position: relative; max-width: 760px; margin: 0 auto; padding: 22px 10px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(80% 140% at 50% 0%, rgba(252, 200, 28, .07), transparent 60%), var(--bg-1); }
.topstats > div { flex: 1; padding: 0 20px; }
.subline { margin-top: 16px; }
.bar { max-width: 760px; margin-top: 16px; height: 3px; }
.bar i { box-shadow: 0 0 12px rgba(252, 200, 28, .6); background: var(--grad); }
.board-panel { position: relative; overflow: hidden; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(70% 55% at 50% 45%, rgba(252, 200, 28, .07), transparent 70%), linear-gradient(#0a0a0a, #050505); isolation: isolate; }
.board-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/img/rock-left.jpg) left center / cover, url(/img/rock-right.jpg) right center / cover; background-repeat: no-repeat; opacity: .16; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, transparent 35%, #000 85%); mask-image: radial-gradient(ellipse at 50% 50%, transparent 35%, #000 85%); }
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.board-head b { color: var(--text); font: 600 14px var(--display); letter-spacing: .02em; }
.board-head .lbl2 { font: 600 10.5px var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-right: 8px; }
.board { gap: 10px; }
.tile { border-radius: 14px; border: 1px solid #2c2c2c; background: linear-gradient(160deg, #1c1c1c 0%, #121212 55%, #0e0e0e 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 6px 14px -8px rgba(0, 0, 0, .8); }
.tile:hover { border-color: rgba(252, 200, 28, .45); background: linear-gradient(160deg, #222 0%, #161616 60%, #101010 100%); transform: translateY(-1px); }
.tile .idx { font: 600 11px var(--display); color: #5c5c5a; letter-spacing: .04em; }
.tile.sel { background: linear-gradient(160deg, #2a2210 0%, #16130a 60%, #0f0d07 100%); border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold), inset 0 1px 0 rgba(255, 244, 94, .2), 0 0 26px -6px rgba(252, 200, 28, .55); }
.tile .mine { font-family: var(--display); }
.board-foot { justify-content: space-between; margin-top: 18px; }
.pick .chip { height: 34px; }
.feed-panel .ph h3, .col-side .ph h3 { font: 600 13px var(--display); letter-spacing: .02em; }
.deploy { border-color: #222; background: linear-gradient(#0d0d0d, #090909); }
.col-side .panel { border-radius: 18px; }
@media (max-width: 640px) {
  .app { padding-top: 84px; }
  .topstats { padding: 16px 4px; border-radius: 16px; }
  .topstats > div { padding: 0 8px; }
  .board-panel { padding: 12px 12px 14px; border-radius: 16px; }
  .board { gap: 5px; }
  .tile { border-radius: 9px; }
  .board-foot { justify-content: center; }
}
.board-stage { max-width: min(100%, max(340px, calc(100vh - 400px))); }
.topstats { padding: 16px 10px; }
.app-grid { margin-top: 26px; }
.board-head { margin-bottom: 12px; }

/* ---------------- site background (fixed rock + gold veins) ---------------- */
.site-bg { position: fixed; inset: 0; z-index: -10; background: #000 url(/img/bg.jpg?v=1) center / cover no-repeat; pointer-events: none; }
.site-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0, 0, 0, .25), rgba(0, 0, 0, .05) 70%); transition: background-color .6s; }
body.deep .site-bg::after { background-color: rgba(0, 0, 0, .5); }
.site-bg .fleck { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ffd75a; box-shadow: 0 0 7px 2px rgba(255, 190, 40, .75); opacity: 0; animation: twinkle var(--d, 4s) ease-in-out var(--t, 0s) infinite; }
.panel, .step, .cta-band, .ml-card, .topstats, .board-panel, .stats { backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1); }
.step, .cta-band, .topstats { background-color: rgba(8, 8, 8, .72); }
.board-panel { background: radial-gradient(70% 55% at 50% 45%, rgba(252, 200, 28, .07), transparent 70%), rgba(6, 6, 6, .8); }
.board-panel::before { display: none; }
.stats { background: rgba(0, 0, 0, .35); }
.nav.solid { background: rgba(0, 0, 0, .6); }
.docs-side, .docs-main, .docs-toc { position: relative; }
.docs { background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.72) 30%, rgba(0,0,0,.72) 70%, rgba(0,0,0,.55)); min-height: 100vh; }
.deploy { background: rgba(10, 10, 10, .85); }
.board { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tile { min-width: 0; overflow: hidden; }
.board:not(.reveal) .tile .row, .board:not(.reveal) .tile .amt { background: none; }

/* drawing: a gold sweep across the board while the closing block is read */
.board.drawing .tile { animation: drawSweep 1.1s ease-in-out var(--k, 0s) infinite; }
@keyframes drawSweep { 0%, 100% { border-color: #2e2e2e; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); } 40% { border-color: rgba(252, 200, 28, .7); box-shadow: inset 0 0 18px rgba(252, 200, 28, .18), 0 0 18px -6px rgba(252, 200, 28, .5); } }
.ts-time b { font-variant-numeric: tabular-nums; }

.nav-bal { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 6px 0 14px; border-radius: 999px; border: 1px solid var(--gold-line); background: rgba(252, 200, 28, .07); font-size: 13px; transition: border-color .2s, background .2s; }
.nav-bal:hover { border-color: var(--gold); background: rgba(252, 200, 28, .12); }
.nav-bal .nb-lbl { color: var(--muted); }
.nav-bal b { font: 600 14px var(--display); color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.nav-bal .nb-sol { color: var(--muted); font-size: 12px; }
.nav-bal i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #140f00; font-style: normal; font-weight: 700; font-size: 15px; line-height: 1; }
@media (max-width: 1100px) { .ml-chip { display: none; } }
@media (max-width: 640px) { .nav-bal .nb-lbl, .nav-bal .nb-sol { display: none; } .nav-bal { padding-left: 10px; } }

/* verify: square 5x5 board */
.verify .vboard { width: min(100%, 340px); margin: 0 auto 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.verify .vboard div { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 6px 7px; border-radius: 9px; border: 1px solid #2e2e2e; background: linear-gradient(160deg, #1a1a1a, #111); text-align: left; min-width: 0; overflow: hidden; }
.verify .vboard div span { font: 600 9.5px var(--display); color: #5c5c5a; }
.verify .vboard div b { font: 600 11px var(--display); color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.verify .vboard div.v { border-color: var(--gold-line); background: color-mix(in oklab, #fcc81c 14%, #151515); }
.verify .vboard div.s { background: var(--grad); border-color: #fff45e; box-shadow: 0 6px 24px -6px rgba(252, 200, 28, .6); }
.verify .vboard div.s span, .verify .vboard div.s b { color: #2a1f00; }

.ts-time.drawing b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: blink 1.2s ease-in-out infinite; }
.ts-time > span { white-space: nowrap; }

.stats { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(6, 6, 6, .55); }
.stats > div, .stats > div:first-child { padding: 28px 28px 26px; }
.stats small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 1040px) { .stats > div:nth-child(3), .stats > div:nth-child(odd) { padding-left: 28px; } }
@media (max-width: 640px) { .stats > div, .stats > div:first-child, .stats > div:nth-child(odd) { padding: 20px 16px; } }
.topstats { max-width: 900px; }
.topstats > div { padding: 0 18px; }
@media (max-width: 640px) { .topstats { flex-wrap: wrap; row-gap: 14px; } .topstats > div { flex: 1 1 45%; border-left: 0 !important; } .topstats b { font-size: 20px; } }
.x-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); transition: color .2s, border-color .2s; }
.x-icon:hover { color: var(--gold-ink); border-color: var(--gold-line); }
@media (max-width: 640px) { .x-icon { display: none; } }
