/* One. One coin launches every hour.
 *
 * White page, Inter, a floating pill nav, glass pills over a soft moving
 * ground, and two big rounded cards below. Everything with a number in it
 * is filled from the chain; the markup ships with dashes.
 */
:root {
  --ink: #111827;
  --ink-2: #374151;
  --mute: #6b7280;
  --mute-2: #9ca3af;
  --line: rgba(229, 231, 235, .6);
  --line-2: rgba(229, 231, 235, .9);
  --paper: #ffffff;
  --glass: rgba(255, 255, 255, .8);
  --gold: #e9a23b;
  --gold-2: #f3c26b;
  --up: #16a34a;
  --down: #dc2626;
  --shadow: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.06);
  --r-2: 16px;
  --r-3: 24px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
b, strong { font-weight: 600; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.n { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- the ground: a slow, soft field behind the hero ---- */
.ground {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60% 45% at 50% 100%, #efe6d6 0%, rgba(239,230,214,0) 70%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f8 55%, #ece7dd 100%);
}
canvas.ground { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
canvas.ground.is-on { opacity: 1; }
.ground i {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .9;
  animation: drift 26s ease-in-out infinite alternate;
}
.ground i:nth-child(1) { width: 60vw; height: 40vh; left: -10vw; bottom: -6vh; background: #e6dcc5; }
.ground i:nth-child(2) { width: 55vw; height: 36vh; right: -12vw; bottom: 2vh; background: #ede4d1; animation-delay: -9s; animation-duration: 31s; }
.ground i:nth-child(3) { width: 26vw; height: 18vh; left: 30vw; bottom: 8vh; background: #c9d6ee; opacity: .55; animation-delay: -17s; animation-duration: 22s; }
.ground i:nth-child(4) { width: 18vw; height: 14vh; right: 22vw; bottom: 14vh; background: #b9c9ea; opacity: .45; animation-delay: -4s; animation-duration: 28s; }
.ground:after {
  content: ""; position: absolute; inset: 0; z-index: 2; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.ground:before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 70%, #ffffff 100%);
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, -3vh, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .ground i { animation: none; } }

.page { position: relative; z-index: 1; }

/* ---- the nav: a pill that floats ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding: 24px 24px 0; display: flex; justify-content: center; pointer-events: none; }
.nav-pill {
  pointer-events: auto; display: flex; align-items: center; gap: 4px;
  padding: 8px 10px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.92); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.stuck .nav-pill { background: rgba(255,255,255,.97); }
.brand { display: inline-flex; align-items: center; margin-right: 16px; }
.brand svg { display: block; }
.wordmark-txt { margin-left: 9px; font-weight: 600; font-size: 15px; letter-spacing: -.3px; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a, .more > button {
  padding: 6px 10px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  border: 0; background: transparent; white-space: nowrap;
}
.nav-links a:hover, .more > button:hover { color: var(--ink); background: rgba(17,24,39,.04); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.more { position: relative; }
.more > button { display: inline-flex; align-items: center; gap: 4px; }
.more > button svg { transition: transform .2s; }
.more.is-open > button svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 200px; display: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--shadow-lg); padding: 6px;
}
.more.is-open .menu { display: block; }
.menu a { display: block; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.menu a:hover { background: rgba(17,24,39,.04); color: var(--ink); }
.menu a small { display: block; color: var(--mute-2); font-size: 12px; }
#wal-btn {
  margin-left: 12px; padding: 8px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: #fff; color: var(--ink); border: 1.5px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, var(--gold), var(--gold-2));
  background-origin: border-box; background-clip: padding-box, border-box;
  white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis;
}
#wal-btn:hover { box-shadow: 0 0 0 4px rgba(233,162,59,.12); }
#wal-btn.is-on { background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #d1d5db, #e5e7eb); font-weight: 500; }
.wal { display: inline-flex; gap: 8px; align-items: center; }
.wal .arw { color: var(--mute-2); }
.banner {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50;
  display: flex; gap: 12px; align-items: center; padding: 10px 12px 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px);
}
.banner button { padding: 6px 14px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; }
@media (max-width: 720px) {
  .nav { padding: 12px 12px 0; }
  .nav-pill { padding: 6px 6px 6px 8px; }
  .nav-links a:not([data-keep]) { display: none; }
  .nav-links a, .more > button { padding: 6px 7px; font-size: 13px; }
  .brand { margin-right: 4px; }
  .wordmark-txt { display: none; }
  #wal-btn { margin-left: 4px; padding: 7px 12px; font-size: 13px; }
}

/* ---- the hero ---- */
.hero {
  min-height: 100vh; min-height: 100svh; padding: 140px 24px 72px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.hero h1 {
  margin: 0; font-size: 60px; line-height: 1; font-weight: 500; letter-spacing: -3px; color: var(--ink);
  max-width: 14ch;
}
.hero h1 .dim { color: var(--mute-2); }
.hero .lead { margin: 26px auto 0; max-width: 34rem; color: var(--mute); font-size: 16px; line-height: 1.55; }
.hero .live { margin: 18px 0 0; font-size: 14px; color: var(--mute); }
.hero .live b { color: var(--ink); font-weight: 500; }
.hero .live a { color: var(--mute-2); }
.hero .live a:hover { color: var(--ink); }
.hero .note { margin: 6px 0 0; font-size: 14px; color: var(--mute); }
.hero .note b { color: var(--ink); font-weight: 500; }
.ca {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line-2); font-size: 12px; color: #4b5563;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); max-width: 100%;
}
.ca .k { color: var(--mute-2); letter-spacing: .04em; }
.ca .v { font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca svg { flex: none; color: var(--mute-2); }
.ca.is-copied { border-color: var(--gold); }
.ca.is-copied svg { color: var(--gold); }
@media (max-width: 720px) {
  .hero { padding-top: 112px; }
  .hero h1 { font-size: 44px; letter-spacing: -2px; }
}

/* the four glass pills */
.pills { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.pill-card {
  display: flex; align-items: center; gap: 16px; width: 100%; max-width: 380px; padding: 16px 24px;
  border-radius: var(--r-2); background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-align: left; font-size: 14px; font-weight: 500; color: var(--ink);
}
.pill-card .ic { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.pill-card .ic.soft { background: rgba(17,24,39,.06); color: var(--ink); }
.pill-card .t { flex: 1; }
.pill-card .r { flex: none; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.pill-card .r b { color: var(--ink); font-weight: 600; }
.ring { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid #e5e7eb; border-top-color: var(--gold); flex: none; }
.ring.blue { border-top-color: #3b82f6; }
.ring.green { border-top-color: var(--up); }
.ring.ink { border-top-color: var(--ink); }
.ring.spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- the wrap ---- */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .wrap { padding: 0 48px; } }

/* ---- the showcase: dark half, live half ---- */
.showcase {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; border-radius: var(--r-3); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.show-dark {
  position: relative; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background:
    radial-gradient(70% 60% at 30% 20%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(50% 40% at 90% 90%, rgba(233,162,59,.18) 0%, rgba(233,162,59,0) 70%),
    linear-gradient(160deg, #cfcfd2 0%, #6b6b70 45%, #1f1f23 100%);
}
.show-dark h2 { margin: 0; font-size: 40px; line-height: 1.05; font-weight: 500; letter-spacing: -1.5px; }
.show-dark p { margin: 18px 0 0; max-width: 30rem; color: rgba(255,255,255,.78); font-size: 16px; }
.show-dark .btn { margin-top: 26px; align-self: flex-start; }
.show-dark .hour-big { position: absolute; top: 40px; left: 48px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.show-dark .hour-big b { display: block; margin-top: 6px; font-size: 56px; letter-spacing: -2px; font-weight: 500; color: #fff; line-height: 1; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 999px; font-size: 14px; font-weight: 500; border: 0;
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
}
.btn:hover { background: rgba(255,255,255,.22); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid #d1d5db; }
.btn-line:hover { border-color: var(--ink); background: #fff; }
.btn[disabled] { opacity: .55; cursor: default; }

.show-live { background: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 22px; }
.live-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.live-head .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(17,24,39,.05); display: grid; place-items: center; margin-right: 14px; float: left; }
.live-head .k { font-size: 14px; color: var(--mute); }
.live-head .v { font-size: 34px; font-weight: 600; letter-spacing: -1px; line-height: 1.1; }
.live-head .v small { font-size: 14px; font-weight: 400; color: var(--mute); margin-left: 4px; letter-spacing: 0; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--mute); padding-top: 8px; white-space: nowrap; }
.legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 5px; vertical-align: middle; }
.legend i.soft { background: #d1d5db; }
.bars { position: relative; height: 170px; }
.bars svg { width: 100%; height: 100%; display: block; overflow: visible; }
.bars .grid { stroke: #f3f4f6; stroke-width: 1; }
.bars .axis { font: 10px/1 var(--font); fill: var(--mute-2); }
.bars .axis.b { fill: var(--ink); font-weight: 600; }
.bars .bar { fill: #e5e7eb; rx: 3; }
.bars .bar.on { fill: var(--ink); }
.bars .bar.now { fill: var(--gold); }
.bars .tag { font: 600 10px/1 var(--font); fill: #fff; }
.bars .tag-box { fill: var(--ink); rx: 4; }
.bars-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--mute-2); }
.list-head { font-size: 14px; font-weight: 600; margin: 0; }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #f3f4f6; }
.row:first-child { border-top: 0; }
.row:hover .row-id b { text-decoration: underline; }
.disc { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; background: hsl(var(--h) 55% 55%); }
.row-id { display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.row-id b { font-size: 14px; }
.row-id span { font-size: 13px; color: var(--mute-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-sub { font-size: 12px; color: var(--mute-2); white-space: nowrap; }
.row-n { text-align: right; font-size: 14px; font-weight: 600; white-space: nowrap; }
.row-n small { display: block; font-size: 12px; font-weight: 500; color: var(--mute-2); }
.row-n small.up { color: var(--up); } .row-n small.down { color: var(--down); }
.rows-empty { padding: 18px 0; font-size: 13px; color: var(--mute-2); }
@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; min-height: 0; }
  .show-dark { min-height: 440px; padding: 32px 24px; }
  .show-dark .hour-big { left: 24px; top: 28px; }
  .show-dark h2 { font-size: 32px; }
  .show-live { padding: 24px 20px; }
}

/* ---- the stats card ---- */
.stats-card {
  margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-3); overflow: hidden;
  border: 1px solid var(--line); background: rgba(255,255,255,.95); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.stats-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; color: var(--mute-2); }
.stats-copy h2 { margin: 0; font-size: 40px; line-height: 1.05; font-weight: 500; letter-spacing: -1.5px; }
.stats-copy h2 .dim { color: var(--mute-2); }
.stats-copy p { margin: 22px 0 0; max-width: 28rem; color: #4b5563; font-size: 16px; }
.stats-copy .go { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.stat-rows { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.stat-row { padding: 32px 44px; border-top: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.stat-row:first-child { border-top: 0; }
.stat-row .k { font-size: 11px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; color: var(--mute-2); }
.stat-row .v { margin-top: 10px; font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -1.5px; }
.stat-row .v small { font-size: 16px; letter-spacing: 0; color: var(--mute); margin-left: 6px; font-weight: 400; }
.stat-row .s { margin-top: 10px; font-size: 14px; color: var(--mute); }
@media (max-width: 860px) {
  .stats-card { grid-template-columns: 1fr; }
  .stats-copy { padding: 32px 24px; }
  .stats-copy h2 { font-size: 32px; }
  .stat-rows { border-left: 0; border-top: 1px solid var(--line); }
  .stat-row { padding: 24px; }
  .stat-row .v { font-size: 36px; }
}

/* ---- inner pages ---- */
.inner { padding-top: 132px; padding-bottom: 40px; }
.inner .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.inner h1 { margin: 0; font-size: 44px; line-height: 1.05; font-weight: 500; letter-spacing: -2px; }
.inner h1 .dim { color: var(--mute-2); }
.inner .sub { margin: 10px 0 0; color: var(--mute); max-width: 36rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow); }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .two { grid-template-columns: 1fr; } .inner h1 { font-size: 34px; } }

/* the 24-slot grid */
.grid-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.slot {
  position: relative; text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 12px; border-radius: var(--r-2);
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); min-height: 118px; transition: border-color .15s, transform .15s;
}
.slot:hover { border-color: #9ca3af; }
.slot[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,24,39,.08), var(--shadow); }
.slot .h { font-size: 15px; font-weight: 600; }
.slot .h small { font-size: 11px; color: var(--mute-2); font-weight: 500; margin-left: 4px; }
.slot .who { font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot .amt { margin-top: auto; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.slot .amt small { font-weight: 400; color: var(--mute-2); font-size: 11px; margin-left: 3px; }
.slot .tk { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: #f3f4f6; color: var(--mute); }
.slot.is-live .tk { background: #fff7e6; color: #b45309; }
.slot.is-now .tk { background: var(--ink); color: #fff; }
.slot.is-done { background: #fafafa; }
.slot.is-done .tk { background: #ecfdf5; color: #047857; }
.slot.is-empty .who { color: var(--mute-2); }

/* the bid panel */
.panel { padding: 24px; position: sticky; top: 112px; }
.panel h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -.3px; }
.panel .hint { margin: 0 0 18px; font-size: 13px; color: var(--mute); }
.field { margin-top: 14px; }
.field label { display: block; font-size: 12px; font-weight: 500; color: var(--mute); margin-bottom: 6px; }
.in { display: flex; align-items: center; gap: 8px; border: 1px solid #d1d5db; border-radius: 12px; padding: 0 12px; background: #fff; }
.in:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,24,39,.06); }
.in input, .in textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; padding: 10px 0; color: var(--ink); }
.in textarea { resize: vertical; min-height: 64px; font-size: 14px; }
.in .post { font-size: 13px; color: var(--mute-2); flex: none; }
.in .cnt { font-size: 11px; color: var(--mute-2); flex: none; font-variant-numeric: tabular-nums; }
.bal { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute-2); margin-top: 6px; }
.bal button { border: 0; background: none; color: var(--ink); font-size: 12px; font-weight: 600; padding: 0; }
.quote { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #f9fafb; font-size: 13px; }
.quote div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.quote dt { color: var(--mute); }
.quote dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.wide { width: 100%; justify-content: center; margin-top: 16px; }
.msg { margin: 12px 0 0; font-size: 13px; color: var(--mute); min-height: 1.4em; }
.msg.ok { color: var(--up); } .msg.bad { color: var(--down); }
.msg a { text-decoration: underline; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #f3f4f6; }
.seg button { border: 0; background: transparent; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--mute); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* the coin page */
.coin-head { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.coin-id .eyebrow { margin-bottom: 10px; }
.coin-id h1 { font-size: 56px; }
.coin-id .said { margin: 12px 0 0; color: var(--ink-2); max-width: 36rem; }
.coin-id .for { margin: 8px 0 0; font-size: 14px; color: var(--mute); }
.coin-id .for a { text-decoration: underline; }
.coin-id .ca { margin-top: 16px; }
.coin-id .go { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.kv { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat { padding: 16px 18px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-2); }
.stat span { display: block; font-size: 12px; color: var(--mute); }
.stat b { display: block; margin-top: 6px; font-size: 20px; font-weight: 600; letter-spacing: -.3px; }
.stat.hot { background: #fffbeb; border-color: #fde68a; }
@media (max-width: 960px) { .coin-head { grid-template-columns: 1fr; } .coin-id h1 { font-size: 40px; } .kv { grid-template-columns: repeat(2, 1fr); } .panel { position: static; } }

/* the chart card */
.chart-card { margin-top: 24px; padding: 20px 20px 12px; position: relative; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.chart-head .k { font-size: 12px; color: var(--mute); display: block; }
.chart-now { font-size: 26px; font-weight: 600; letter-spacing: -.5px; }
.chart-meta { text-align: right; font-size: 12px; color: var(--mute-2); }
.chart-meta span { display: block; }
.chart { height: 260px; position: relative; }
.chart svg { width: 100%; height: 100%; display: block; }
.chart .grid { stroke: #f3f4f6; }
.chart .axis { font: 10px/1 var(--font); fill: var(--mute-2); }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.chart .area { fill: url(#fade); }
.chart .hair { stroke: var(--ink); stroke-dasharray: 3 3; opacity: 0; }
.chart .dot { r: 4; fill: #fff; stroke: var(--ink); stroke-width: 2; }
.chart.is-hover .hair { opacity: .5; }
.chart .hit { fill: transparent; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute-2); font-size: 13px; }
.chart-tip { position: absolute; z-index: 2; pointer-events: none; background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 12px; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.chart-tip b { font-size: 13px; }
.chart-tip span { color: rgba(255,255,255,.7); }
.chart-table { margin-top: 8px; }
.chart-table summary { cursor: pointer; font-size: 12px; color: var(--mute); }
.ledger { overflow-x: auto; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.ledger th, .ledger td { text-align: left; padding: 6px 8px; border-top: 1px solid #f3f4f6; }
.ledger th { font-weight: 500; color: var(--mute); font-size: 12px; }
.ledger .n { text-align: right; font-variant-numeric: tabular-nums; }

/* lists on inner pages */
.sec { margin-top: 40px; }
.sec-head { margin-bottom: 14px; }
.sec-head h2 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.8px; }
.sec-head p { margin: 6px 0 0; color: var(--mute); font-size: 14px; }
.coins { padding: 4px 20px; }
.coins .row { grid-template-columns: 34px 1fr auto auto; }
.fine { font-size: 12px; color: var(--mute-2); }

/* the wallet picker */
.modal-back { position: fixed; inset: 0; z-index: 60; background: rgba(17,24,39,.35); display: grid; place-items: center; padding: 20px; }
.modal { width: 100%; max-width: 360px; background: #fff; border-radius: var(--r-3); box-shadow: var(--shadow-lg); padding: 16px; }
.modal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.modal-top .eyebrow { margin: 0; }
.modal .x { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--mute); }
.modal-list { display: flex; flex-direction: column; gap: 6px; }
.modal-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-weight: 500; }
.modal-item:hover { border-color: var(--ink); }
.modal-item img { border-radius: 6px; }
.modal-dot { width: 28px; height: 28px; border-radius: 6px; background: #f3f4f6; }

/* ---- the foot ---- */
.foot { padding: 48px 0 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--mute-2); }
.foot a:hover { color: var(--ink); }

/* ---- reveals ---- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .rv.is-in { opacity: 1; transform: none; }
.hero > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero > :nth-child(2) { animation-delay: .08s; } .hero > :nth-child(3) { animation-delay: .16s; }
.hero > :nth-child(4) { animation-delay: .22s; } .hero > :nth-child(5) { animation-delay: .28s; } .hero > :nth-child(6) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero > * { animation: none; } .js .rv { transition: none; opacity: 1; transform: none; } }
.skel { color: transparent !important; background: #f3f4f6; border-radius: 6px; }
