/* Picknero site. Layout follows the reference mine site: a centered hero over a live 3D scene, a scroll story the camera
   flies through, then solid sections. Colours come from the avatar (Monero orange, pickaxe steel) and the scene's dusk
   (the slate of the upper sky). Display type is Big Shoulders Display; text is Public Sans. */
:root {
  --bg: #171a21;
  --bg-2: #1c2028;
  --surface: #1f232c;
  --raised: #262b35;
  --line: rgba(232, 236, 245, 0.09);
  --line-2: rgba(232, 236, 245, 0.16);
  --text: #f5f5f6;
  --muted: #a8aebb;
  --dim: #737a89;
  --orange: #ff6600;
  --orange-2: #ff7a1f;
  --orange-ink: #1a1206;
  --heat: #ffe07a;
  --steel: #d7d8dc;
  --good: #57c98a;
  --bad: #ff6b5b;
  --radius: 16px;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;
  --wrap: 1180px;
  --top-h: 72px;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.pixel { image-rendering: pixelated; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- stage: the live scene behind the home page */
#stage { position: fixed; inset: 0; z-index: 0; display: none; background: #2a2624; }
body.home #stage { display: block; }
#stage canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s ease; }
body.live #stage canvas { opacity: 1; }
#poster { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
#stage::after { z-index: 2; }
#stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(23, 26, 33, 0.78) 0%, rgba(23, 26, 33, 0.38) 34%, rgba(23, 26, 33, 0) 58%); transition: opacity 0.6s; }
body.story-on #stage::after { opacity: 0.35; }

/* ---------------------------------------------------------------- top bar */
.top { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(16px, 4vw, 40px); transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
body:not(.home) .top, body.scrolled .top { background: rgba(23, 26, 33, 0.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font: 800 27px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.top-link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 6px; }
.top-link:hover { color: var(--text); }
.chain-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(23, 26, 33, 0.5); }
.chain-pill img { width: 16px; height: 16px; }
.wallet-btn { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(23, 26, 33, 0.6); font-weight: 700; font-size: 14px; letter-spacing: 0.01em; display: inline-flex; align-items: center; gap: 8px; }
.wallet-btn:hover { border-color: rgba(255, 102, 0, 0.7); }
.wallet-btn img { width: 18px; height: 18px; border-radius: 5px; }
.ca-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(23, 26, 33, 0.6); font-size: 13px; font-weight: 700; color: var(--muted); }
.ca-chip img { width: 22px; height: 22px; border-radius: 6px; }
.ca-chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ca-chip:hover { border-color: rgba(255, 102, 0, 0.7); color: var(--text); }
.ca-chip b { color: var(--orange); font-weight: 800; }
.ca-chip button { background: none; border: 0; padding: 0; color: var(--muted); }

/* ---------------------------------------------------------------- bottom dock */
.dock { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30; display: flex; gap: 6px; padding: 7px; border-radius: 18px; background: rgba(23, 26, 33, 0.86); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); }
.dock a { position: relative; width: 54px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); }
.dock a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.dock a[aria-current='page'] { color: var(--text); background: rgba(255, 102, 0, 0.16); }
.dock a[aria-current='page']::after { content: ''; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dock img { width: 24px; height: 24px; border-radius: 6px; opacity: 0.85; }
.dock a[aria-current='page'] img, .dock a:hover img { opacity: 1; }

/* ---------------------------------------------------------------- shared */
main { position: relative; z-index: 1; outline: none; }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.page { padding: calc(var(--top-h) + 36px) 0 150px; min-height: 100vh; }
.eyebrow { margin: 0 0 10px; font: 700 15px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.h-display { font-family: var(--display); font-weight: 800; letter-spacing: 0.005em; line-height: 0.98; margin: 0; }
.lede { color: var(--muted); max-width: 62ch; margin: 12px 0 0; font-size: 17px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--raised); color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.btn:hover { border-color: rgba(255, 102, 0, 0.6); }
.btn img { width: 18px; height: 18px; border-radius: 4px; }
.btn-primary { background: var(--orange); color: var(--orange-ink); border-color: var(--orange); box-shadow: 0 10px 34px rgba(255, 102, 0, 0.28); }
.btn-primary:hover { background: var(--orange-2); border-color: var(--orange-2); }
.btn-big { height: 58px; width: min(400px, 100%); border-radius: 14px; font: 800 21px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.chip b { color: var(--text); font-weight: 700; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--heat); box-shadow: 0 0 0 3px rgba(255, 224, 122, 0.18); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.up { color: var(--good); }
.down { color: var(--bad); }
.logo-sq { width: 38px; height: 38px; border-radius: 10px; background: #fff; object-fit: contain; flex: none; }
.skeleton { color: transparent !important; background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05)); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: 6px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------- home: hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(110px, 17vh, 170px) 20px 40px; }
.hero-mark { width: 76px; height: 76px; border-radius: 18px; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.hero h1 { font: 900 clamp(48px, 7.4vw, 108px)/0.92 var(--display); letter-spacing: 0.004em; margin: 0; max-width: 17ch; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); }
.hero p { max-width: 560px; margin: 18px 0 30px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(245, 245, 246, 0.88); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45); }
.ca-pill { margin-top: 14px; display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 6px 0 14px; border-radius: 14px; background: rgba(23, 26, 33, 0.82); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.ca-pill img { width: 22px; height: 22px; image-rendering: pixelated; }
.ca-pill strong { font: 800 18px/1 var(--display); letter-spacing: 0.04em; }
.ca-pill .addr { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px; }
.ca-pill .addr svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ca-pill a { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 10px; background: var(--raised); text-decoration: none; font-size: 13px; font-weight: 700; }

/* ---------------------------------------------------------------- home: scroll story */
.story { position: relative; }
.story-step { min-height: 100vh; display: flex; align-items: center; padding: 0 clamp(16px, 5vw, 64px); }
.story-step:nth-child(even) { justify-content: flex-end; }
.story-card { width: min(420px, 100%); padding: 26px 28px; border-radius: 18px; background: rgba(23, 26, 33, 0.8); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.story-card .step { font: 800 15px/1 var(--display); letter-spacing: 0.14em; color: var(--orange); margin: 0 0 12px; }
.story-card h2 { font: 800 clamp(30px, 3vw, 40px)/1 var(--display); margin: 0 0 12px; }
.story-card p { margin: 0; color: rgba(245, 245, 246, 0.84); }

.story-card .step { text-transform: uppercase; }
.story-row { display: flex; align-items: center; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.story-row > img { width: 22px; height: 22px; border-radius: 6px; }
.story-row b { color: var(--text); }
.story-row .logos { display: flex; gap: 6px; }
.story-row .logos img { width: 26px; height: 26px; border-radius: 7px; background: #fff; }
/* while the story plays: the top bar slides away, dots on the right mark the stop */
.top { transition: background 0.3s, border-color 0.3s, transform 0.35s ease; }
body.home.story-on .top { transform: translateY(-110%); }
.story-dots { position: fixed; right: clamp(14px, 2.4vw, 30px); top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; gap: 10px; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
body.story-on .story-dots { opacity: 1; }
.story-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(245, 245, 246, 0.35); transition: background 0.3s, transform 0.3s; }
.story-dots i.on { background: var(--orange); transform: scale(1.35); }

/* ---------------------------------------------------------------- home: solid sections after the story */
.solid { position: relative; background: var(--bg); padding: 40px 0 150px; }
.solid::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 34vh; background: linear-gradient(180deg, rgba(23, 26, 33, 0), var(--bg)); pointer-events: none; }
.block { padding: 64px 0 24px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.block-head h2 { font: 800 clamp(32px, 3.8vw, 48px)/1 var(--display); margin: 0; }
.block-head .lede { margin-top: 10px; }

.pool-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pool-card { padding: 14px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 11px; row-gap: 10px; text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.pool-card:hover { border-color: rgba(255, 102, 0, 0.45); }
.pool-card .logo-sq { grid-row: 1 / 3; width: 40px; height: 40px; }
.pool-card .name { font-weight: 700; font-size: 15px; line-height: 1.2; align-self: end; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pool-card .share { font-size: 13px; color: var(--muted); align-self: start; }
.pool-card .stats { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.pool-card .stats b { color: var(--text); font-weight: 700; }
.bar { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--orange); min-width: 4px; }

.price-panel { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 28px; padding: 30px; background: linear-gradient(135deg, #222733, #1b1f27 60%); border-radius: 22px; border: 1px solid var(--line-2); }
.price-row { display: flex; align-items: center; gap: 14px; margin: 22px 0 18px; flex-wrap: wrap; }
.price-row img { width: 40px; height: 40px; }
.price-row .big { font: 800 clamp(44px, 5vw, 62px)/1 var(--display); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.18); border: 1px solid var(--line); }
.tile span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }
.tile b { display: block; margin-top: 4px; font-size: 18px; font-weight: 700; }
.price-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.chart-box { position: relative; display: flex; flex-direction: column; min-height: 280px; }
.chart-title { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); font-weight: 600; }
.chart-title b { color: var(--text); }
.chart { position: relative; flex: 1; min-height: 240px; margin-top: 8px; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart .tip { position: absolute; top: 0; pointer-events: none; transform: translate(-50%, -110%); padding: 7px 10px; border-radius: 9px; background: var(--raised); border: 1px solid var(--line-2); font-size: 12px; white-space: nowrap; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.chart .tip b { display: block; font-size: 14px; }

.coin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
/* coin card: avatar and chip on top, ticker and market cap low, the pool logo large and faint on the right */
.coin-card { position: relative; overflow: hidden; padding: 20px; min-height: 176px; display: flex; flex-direction: column; justify-content: flex-end; transition: border-color 0.2s; }
.coin-card:hover { border-color: rgba(255, 102, 0, 0.5); }
.coin-card.official { border-color: rgba(255, 102, 0, 0.45); box-shadow: 0 0 0 1px rgba(255, 102, 0, 0.12), 0 14px 40px rgba(255, 102, 0, 0.08); }
.coin-card .cover { position: absolute; inset: 0; z-index: 1; }
.coin-card .watermark { position: absolute; right: -36px; top: 50%; transform: translateY(-50%); width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); display: grid; place-items: center; }
.coin-card .watermark img { width: 92px; height: 92px; border-radius: 22px; opacity: 0.32; filter: saturate(0.7); }
.coin-card .avatar { position: absolute; top: 18px; left: 18px; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--raised); }
.coin-card .pool-chip { position: absolute; top: 16px; right: 16px; height: 28px; padding: 0 10px; font-size: 12px; gap: 6px; color: var(--text); background: rgba(23, 26, 33, 0.7); }
.coin-card .pool-chip img { width: 16px; height: 16px; border-radius: 4px; }
.coin-card .ticker { position: relative; font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.coin-card .mcap { position: relative; font: 800 36px/1.05 var(--display); }
.coin-card .paired { position: relative; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 4px; }
.coin-card .paired img { width: 16px; height: 16px; border-radius: 4px; }
.coin-card .paired b { color: var(--text); }
.coin-card .card-actions { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 10px; }
.mini-btn { height: 28px; padding: 0 12px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line-2); display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; text-decoration: none; }
.mini-btn:hover { border-color: rgba(255, 102, 0, 0.6); }
.live-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--heat); }
.empty { padding: 36px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.empty img { width: 72px; height: 72px; image-rendering: pixelated; }
.empty h3 { margin: 0 0 6px; font: 800 26px/1.05 var(--display); }
.empty p { margin: 0; color: var(--muted); }

.split-bar { display: flex; gap: 2px; height: 16px; border-radius: 6px; overflow: hidden; margin: 6px 0 16px; }
.split-bar i { display: block; height: 100%; border-radius: 4px; }
.split-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.split-tile { padding: 16px 18px; }
.split-tile .pct { font: 800 34px/1 var(--display); display: flex; align-items: center; gap: 10px; }
.split-tile .pct i { width: 12px; height: 12px; border-radius: 3px; }
.split-tile h3 { margin: 10px 0 4px; font-size: 16px; }
.split-tile p { margin: 0; color: var(--muted); font-size: 14px; }

.cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); overflow: hidden; border-radius: 22px; border: 1px solid var(--line-2); background: var(--surface); margin-top: 64px; }
.cta img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.cta-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-body h2 { font: 800 clamp(32px, 3.6vw, 46px)/1 var(--display); margin: 0 0 12px; }
.cta-body p { margin: 0 0 24px; color: var(--muted); }

.foot { text-align: center; padding: 70px 0 10px; color: var(--muted); font-size: 14px; }
.foot .built { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text); font-weight: 600; }
.foot .built img { width: 18px; height: 18px; border-radius: 4px; }
.foot nav { display: flex; justify-content: center; gap: 22px; margin: 18px 0 10px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot small { color: var(--dim); font-size: 13px; }

/* ---------------------------------------------------------------- launch */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; margin-top: 28px; }
.step-card { padding: 24px; margin-bottom: 18px; }
.step-head { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; margin-bottom: 18px; }
.step-head .n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.step-head h2 { margin: 0; font-size: 19px; line-height: 28px; }
.step-head p { grid-column: 2; margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.pick { position: relative; display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick .logo-sq { width: 34px; height: 34px; border-radius: 9px; }
.pick b { display: block; font-size: 14px; }
.pick small { color: var(--muted); font-size: 12px; }
.pick:hover { border-color: var(--line-2); }
.pick:has(input:checked) { border-color: var(--orange); background: rgba(255, 102, 0, 0.1); }
.pick:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.hint { color: var(--dim); font-size: 13px; font-weight: 500; }
.row-2 { display: grid; grid-template-columns: 180px 1fr; gap: 12px; }
.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.input, textarea.input { width: 100%; height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--bg-2); outline: none; }
textarea.input { height: 92px; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.18); }
.input[aria-invalid='true'] { border-color: var(--bad); }
.err { color: var(--bad); font-size: 13px; min-height: 0; margin: 0; }
.affix { position: relative; }
.affix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; font-size: 14px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--bg-2); cursor: pointer; }
.drop:hover { border-color: rgba(255, 102, 0, 0.6); }
.drop .thumb { width: 54px; height: 54px; border-radius: 12px; background: var(--raised); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--dim); font-weight: 800; }
.drop .thumb img { width: 100%; height: 100%; object-fit: cover; }
.fixed-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border-radius: 13px; border: 1px solid rgba(255, 102, 0, 0.45); background: rgba(255, 102, 0, 0.08); }
.fixed-card img { width: 38px; height: 38px; }
.fixed-card b { display: block; }
.fixed-card small { color: var(--muted); }
.fixed-card .tag { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--muted); }
.review { position: sticky; top: calc(var(--top-h) + 20px); padding: 22px; }
.review .eyebrow { color: var(--muted); }
.review-coin { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 13px; border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 16px; }
.review-coin .thumb { width: 50px; height: 50px; border-radius: 50%; background: var(--raised); display: grid; place-items: center; overflow: hidden; font-weight: 800; color: var(--dim); flex: none; }
.review-coin .thumb img { width: 100%; height: 100%; object-fit: cover; }
.review-coin b { display: block; font-size: 18px; }
.review-coin small { color: var(--muted); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; }
.kv span { color: var(--muted); }
.kv b { display: inline-flex; align-items: center; gap: 7px; text-align: right; }
.kv b img { width: 18px; height: 18px; border-radius: 4px; }
.review .btn-big { width: 100%; margin-top: 16px; font-size: 19px; height: 54px; }
.review .note { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 0; }

/* ---------------------------------------------------------------- explore */
.banner { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(120deg, #222733 30%, #1b1f27); min-height: 250px; }
.banner-body { padding: clamp(24px, 3.6vw, 40px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; z-index: 1; }
.banner-body h1 { font: 800 clamp(34px, 4vw, 50px)/1 var(--display); margin: 0 0 12px; }
.banner-body p { margin: 0 0 22px; color: var(--muted); max-width: 46ch; }
.banner img { width: 100%; height: 100%; object-fit: cover; mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); }
.toolbar { display: flex; gap: 12px; margin: 22px 0 14px; flex-wrap: wrap; }
.search { flex: 1; min-width: 240px; position: relative; }
.search .input { height: 46px; padding-right: 42px; border-radius: 999px; }
.search svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.seg { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.seg .lbl { color: var(--muted); font-size: 14px; padding: 0 8px; }
.seg button { height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 14px; }
.seg button[aria-pressed='true'] { background: var(--raised); color: var(--text); }
.tabs { display: flex; gap: 20px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 18px; scrollbar-width: none; }
.tabs button { flex: none; height: 40px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 15px; border-bottom: 2px solid transparent; padding: 0; }
.tabs button[aria-pressed='true'] { color: var(--text); border-bottom-color: var(--orange); }

/* ---------------------------------------------------------------- mines */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 26px 0 22px; }
.stat { padding: 18px 20px; }
.stat span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.stat b { display: block; margin: 8px 0 4px; font: 800 36px/1 var(--display); }
.stat small { color: var(--dim); font-size: 13px; }
.table-wrap { overflow-x: auto; }
table.pools { width: 100%; border-collapse: collapse; min-width: 680px; }
.pools th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pools td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.pools tr:last-child td { border-bottom: 0; }
.pools .pool-cell { display: flex; align-items: center; gap: 12px; }
.pools .pool-cell .logo-sq { width: 34px; height: 34px; border-radius: 9px; }
.pools .pool-cell small { display: block; color: var(--muted); font-size: 12px; }
.pools .share-cell { min-width: 170px; }
.pools .share-cell .bar { margin-top: 6px; height: 5px; }
.pools td.r, .pools th.r { text-align: right; }

/* ---------------------------------------------------------------- profile, docs, coin, messages */
.profile-card { padding: 24px; margin-top: 24px; }
.wallet-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.wallet-line code { font-size: 15px; }
.saved { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(87, 201, 138, 0.08); border: 1px solid rgba(87, 201, 138, 0.35); margin-bottom: 14px; font-size: 14px; word-break: break-all; }
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; margin-top: 30px; }
.toc { position: sticky; top: calc(var(--top-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 2px; }
.toc a { color: var(--muted); text-decoration: none; padding: 7px 12px; border-radius: 9px; font-weight: 600; font-size: 15px; }
.toc a:hover { color: var(--text); background: var(--surface); }
.prose h2 { font: 800 32px/1.05 var(--display); margin: 40px 0 12px; scroll-margin-top: calc(var(--top-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: rgba(245, 245, 246, 0.84); max-width: 70ch; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose code { font-size: 14px; word-break: break-all; color: var(--steel); }
.notice { text-align: center; padding: 70px 20px; }
.notice img { width: 72px; height: 72px; image-rendering: pixelated; margin: 0 auto 18px; }
.notice h1 { font: 800 clamp(36px, 4vw, 52px)/1 var(--display); margin: 0 0 12px; }
.notice p { color: var(--muted); margin: 0 auto 22px; max-width: 46ch; }

/* ---------------------------------------------------------------- coin page */
.page.coin-wrap { width: min(720px, 100% - 32px); }
.coin-top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin-bottom: 16px; }
.coin-top .copy { justify-self: center; }
.icon-btn { color: var(--text); text-decoration: none; }
.copy { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 4px; font-weight: 700; font-size: 14px; }
.copy svg, .ext svg { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.copy:hover svg { stroke: var(--orange); }
.ext { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; }
.ext:hover { color: var(--orange); }
.coin-head { display: flex; gap: 16px; align-items: center; padding: 18px; margin-bottom: 14px; }
.coin-head > img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: var(--raised); }
.coin-head h1 { margin: 0 0 8px; font: 800 30px/1 var(--display); }
.coin-head h1 span { font: 600 14px/1 var(--body); color: var(--muted); margin-left: 6px; }
.coin-head .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.coin-head .chip { height: 30px; font-size: 13px; }
.coin-head .chip img { width: 16px; height: 16px; border-radius: 4px; }
.coin-chart { padding: 16px; margin-bottom: 14px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chart-head > b { font: 800 30px/1 var(--display); }
.coin-chart .seg button { height: 32px; padding: 0 13px; font-size: 13px; }
.coin-chart .chart { min-height: 260px; }
.chart-empty { margin: 0; position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; }
.end-pill { position: absolute; right: 0; transform: translateY(-50%); padding: 3px 9px; border-radius: 999px; background: var(--orange); color: var(--orange-ink); font-size: 12px; font-weight: 800; }
.mine-panel { padding: 18px; margin-bottom: 14px; background: radial-gradient(circle at 92% 0%, rgba(255, 102, 0, 0.12), transparent 40%), var(--surface); }
.mine-panel .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mine-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-bottom: 14px; }
.mine-head .logo-sq { width: 42px; height: 42px; }
.mine-head b { display: block; font-size: 18px; }
.mine-head small { color: var(--muted); font-size: 13px; }
.mine-head .chip img { width: 16px; height: 16px; }
.mine-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mine-note { font-size: 13px; margin: 14px 0 0; }
/* the mine's record on a coin page: totals, the latest claims and payouts with their transactions, the two addresses */
.ledger { padding: 18px; margin-bottom: 14px; }
.ledger h2 { margin: 0 0 14px; font-size: 17px; }
.ledger-list { list-style: none; margin: 14px 0 0; padding: 0; }
.ledger-list li { display: grid; grid-template-columns: 120px 1fr auto auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ledger-list li.muted { display: block; }
.ledger-list time { color: var(--muted); font-size: 13px; }
.ledger-keys { margin: 12px 0 0; }
.ledger-keys > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ledger-keys dd { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.curve-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; margin-bottom: 14px; }
.curve-bar { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.curve-bar i { display: block; height: 100%; min-width: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--orange), var(--heat)); transition: width 0.6s ease; }
.about { padding: 0; overflow: hidden; }
.about h2 { margin: 0; padding: 16px; text-align: center; font-size: 17px; border-bottom: 1px solid var(--line); }
.about dl { margin: 0; }
.about dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.about dl > div:last-child { border-bottom: 0; }
.about dt { color: var(--muted); }
.about dd { margin: 0; font-weight: 700; word-break: break-word; }
.about .copy { padding: 0; font-size: 14px; }
.modal-lede { margin: -4px 0 14px; color: var(--muted); font-size: 14px; }
.modal-close { width: 100%; margin-top: 12px; height: 44px; background: none; color: var(--muted); }

/* ---------------------------------------------------------------- modal and toast */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(10, 12, 16, 0.6); backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal-card { width: min(400px, 100%); padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.modal-head h2 { margin: 0; font: 800 26px/1 var(--display); }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: none; display: grid; place-items: center; }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.wallet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wallet-list button, .wallet-list a { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); text-align: left; text-decoration: none; font-weight: 700; }
.wallet-list button:hover, .wallet-list a:hover { border-color: rgba(255, 102, 0, 0.6); }
.wallet-list img { width: 34px; height: 34px; border-radius: 9px; }
.wallet-list small { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 12px; }
.modal-note { margin: 14px 2px 0; color: var(--dim); font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 60; padding: 12px 16px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); font-size: 14px; max-width: min(520px, 92vw); }
.toast.bad { border-color: rgba(255, 107, 91, 0.6); }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 1080px) {
  .pool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .launch-grid { grid-template-columns: 1fr; }
  .review { position: static; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --top-h: 62px; }
  .top-link, #ca-slot { display: none; }
  .brand span { font-size: 23px; }
  .pool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pool-card { padding: 12px; column-gap: 9px; }
  .pool-card .logo-sq { width: 34px; height: 34px; }
  .pool-card .name { font-size: 14px; }
  .pool-card .share { font-size: 12px; }
  .pool-card .stats { flex-direction: column; gap: 1px; font-size: 12px; }
  .price-panel, .cta, .banner { grid-template-columns: 1fr; }
  .price-panel { padding: 20px; }
  .banner img { position: absolute; inset: 0; opacity: 0.35; mask-image: none; -webkit-mask-image: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .coin-grid { grid-template-columns: 1fr; }
  .mine-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mine-head { grid-template-columns: auto 1fr; }
  .mine-head .chip { grid-column: 1 / -1; justify-self: start; }
  .curve-card { grid-template-columns: 1fr; gap: 8px; }
  .about dl > div { grid-template-columns: 110px 1fr; padding: 12px 16px; }
  .ledger-list li { grid-template-columns: 1fr auto; row-gap: 4px; }
  .ledger-list time { grid-column: 1 / -1; }
  .ledger-keys > div { grid-template-columns: 1fr; gap: 4px; }
  .chart-head { flex-direction: column-reverse; align-items: flex-start; }
  .empty { grid-template-columns: 1fr; text-align: left; }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .story-step, .story-step:nth-child(even) { justify-content: center; align-items: flex-end; padding-bottom: 120px; }
  .cta img { min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
