/* MetaHeat: same design language as ChartIQ (mint on near-black, pixel touches, chunky pressable buttons, sticker logo, mint ticker).
   Dark is the default; data-theme="light" is the opt-in (js/theme.js sets it before first paint). The thermal heat scale is MetaHeat's own. */
:root, :root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f7f5; --bg-2: #e8f0ec; --surface: #ffffff; --surface-2: #fafdfb;
  --line: rgba(6, 24, 18, .13); --line-2: rgba(6, 24, 18, .26);
  --text: #06130e; --text-2: #3c5149; --text-3: #5d7168;
  --brand: #0efbc5; --brand-hi: #5dffd9; --brand-lo: #04b88f; --brand-ink: #00765a; --on-brand: #03140f;
  --info: #1168d8;
  --ok: #05875f; --warn: #a15c00; --risk: #d6243f;
  --up: #07b88a; --down: #e0304f;
  --brand-rgb: 14, 251, 197; --info-rgb: 17, 104, 216; --risk-rgb: 214, 36, 63;
  --ov-1: rgba(6, 24, 18, .03); --ov-2: rgba(6, 24, 18, .055); --ov-3: rgba(6, 24, 18, .09);
  --nav-bg: rgba(243, 247, 245, .86); --nav-bg-solid: rgba(243, 247, 245, .98);
  --title-a: #06130e; --title-b: #0c4a39; --glow-o: .55;
  --card-shadow: 0 1px 0 rgba(6, 24, 18, .04), 0 14px 30px -18px rgba(6, 24, 18, .22);
  --pop: 5px 5px 0 #06130e;
  --chart-bg: #ffffff;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #060908; --bg-2: #0a100e; --surface: #0e1513; --surface-2: #121b18;
  --line: rgba(14, 251, 197, .11); --line-2: rgba(14, 251, 197, .24);
  --text: #ecfff9; --text-2: #9bb8af; --text-3: #6b857b;
  --brand-ink: #0efbc5;
  --info: #5aa9ff;
  --ok: #0efbc5; --warn: #ffc857; --risk: #ff5d7a;
  --up: #0efbc5; --down: #ff4d6d;
  --info-rgb: 90, 169, 255; --risk-rgb: 255, 93, 122;
  --ov-1: rgba(255, 255, 255, .03); --ov-2: rgba(255, 255, 255, .055); --ov-3: rgba(255, 255, 255, .09);
  --nav-bg: rgba(6, 9, 8, .78); --nav-bg-solid: rgba(6, 9, 8, .96);
  --title-a: #ffffff; --title-b: #a8f5e2; --glow-o: 1; --card-shadow: none;
  --pop: 5px 5px 0 rgba(14, 251, 197, .55);
  --chart-bg: #08100d;
}
:root {
  --f-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-pixel: "Pixelify Sans", "Geist Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --r: 14px; --gutter: clamp(16px, 4vw, 32px); --nav-h: 68px;
  /* names used by the component rules below */
  --panel: var(--surface); --panel-2: var(--surface-2); --mint: var(--brand); --cyan: var(--brand-hi);
  --f-text: var(--f-body); --r-sm: 10px; --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; scrollbar-color: rgba(var(--brand-rgb), .55) transparent; scrollbar-width: thin; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; min-height: 100vh; }
img { max-inline-size: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--info); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(var(--brand-rgb), .4); }
::-webkit-scrollbar { inline-size: 11px; block-size: 11px; } ::-webkit-scrollbar-thumb { background: rgba(var(--brand-rgb), .5); border-radius: 8px; border: 3px solid var(--bg); } ::-webkit-scrollbar-track { background: transparent; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.dim, .muted { color: var(--text-3); }
.sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100; padding: 8px 14px; background: var(--brand); color: var(--on-brand); border-radius: 8px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { inline-size: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--narrow { inline-size: min(820px, 100% - var(--gutter) * 2); }

/* buttons: chunky and pressable */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: var(--h); padding-inline: 22px; border-radius: 12px; border: 2px solid transparent; font: 700 15px/1 var(--f-body); letter-spacing: .01em; cursor: pointer; white-space: nowrap; transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out), filter 160ms ease, border-color 180ms ease; }
.btn--sm { --h: 38px; padding-inline: 16px; font-size: 14px; border-radius: 10px; border-width: 1.5px; }
.btn--lg { --h: 54px; padding-inline: 28px; font-size: 16px; }
.btn--brand { background: var(--brand); color: var(--on-brand); border-color: #03140f; box-shadow: 0 4px 0 #03140f, 0 12px 28px -12px rgba(var(--brand-rgb), .7); }
:root[data-theme="dark"] .btn--brand { box-shadow: 0 4px 0 #04b88f, 0 12px 30px -12px rgba(var(--brand-rgb), .6); }
.btn--brand:active { transform: translateY(3px); box-shadow: 0 1px 0 #03140f; }
.btn--ghost { background: var(--ov-1); border-color: var(--line-2); color: var(--text); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .btn--brand:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 6px 0 #03140f, 0 16px 34px -12px rgba(var(--brand-rgb), .8); }
  :root[data-theme="dark"] .btn--brand:hover { box-shadow: 0 6px 0 #04b88f, 0 16px 34px -12px rgba(var(--brand-rgb), .7); }
  .btn--brand:active { transform: translateY(3px); }
  .btn--ghost:hover { border-color: var(--brand-ink); }
}
.chip-btn { min-block-size: 38px; padding-inline: 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--ov-1); font: 500 13px/1 var(--f-body); cursor: pointer; transition: transform 160ms var(--ease-out), border-color 180ms ease; }
.chip-btn:active { transform: scale(.97); }

/* nav */
.nav { position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 50; block-size: var(--nav-h); transition: background-color 240ms ease, border-color 240ms ease; border-block-end: 1px solid transparent; }
.nav.is-stuck { background: var(--nav-bg); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; block-size: 100%; gap: 20px; }
.brand { display: inline-flex; align-items: center; padding: 3px 14px 3px 3px; border-radius: 14px; background: #050807; border: 1.5px solid #050807; box-shadow: 3px 3px 0 var(--brand); transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out); flex: none; }
:root[data-theme="dark"] .brand { border-color: rgba(var(--brand-rgb), .45); box-shadow: 3px 3px 0 rgba(var(--brand-rgb), .4); }
.brand img { block-size: 34px; inline-size: 34px; border-radius: 10px; margin-inline-end: 9px; object-fit: contain; background: #0a100e; padding: 3px; transition: transform 200ms var(--ease-out); }
.brand__name { font: 700 1.05rem/1 var(--f-pixel); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.brand__name b { color: var(--brand); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .brand:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--brand); } .brand:hover img { transform: rotate(-8deg) scale(1.06); } }
.brand:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--brand); }
.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color 160ms ease, background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--text); background: var(--ov-2); } }
.nav__links a[aria-current="page"] { color: var(--text); background: rgba(var(--brand-rgb), .16); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.live { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px var(--f-pixel); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); padding: 7px 12px; border: 1.5px solid var(--line-2); border-radius: 99px; background: var(--ov-1); white-space: nowrap; }
.live i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--text-3); }
.live[data-on='1'] i { background: var(--up); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18, 185, 129, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(18, 185, 129, 0); } }
.theme-btn { inline-size: 38px; block-size: 38px; padding: 0; display: inline-grid; place-items: center; min-inline-size: 38px; }
.theme-btn svg { inline-size: 18px; block-size: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; grid-area: 1 / 1; transition: opacity 180ms ease, transform 260ms var(--ease-out); }
.theme-btn .i-sun { opacity: 0; transform: rotate(-40deg) scale(.7); }
:root[data-theme="dark"] .theme-btn .i-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-btn .i-moon { opacity: 0; transform: rotate(40deg) scale(.7); }
.burger { display: none; inline-size: 42px; block-size: 42px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--ov-1); position: relative; }
.burger span { position: absolute; inset-inline: 12px; block-size: 2px; border-radius: 2px; background: var(--text); transition: transform 220ms var(--ease-out); }
.burger span:nth-child(1) { inset-block-start: 15px; } .burger span:nth-child(2) { inset-block-start: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 860px) {
  .burger { display: block; } .nav__end .btn { display: none; }
  .nav__links { position: fixed; inset-inline: 0; inset-block-start: var(--nav-h); flex-direction: column; gap: 2px; padding: 12px var(--gutter) 20px; background: var(--nav-bg-solid); backdrop-filter: blur(16px); border-block-end: 1px solid var(--line); opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 200ms; }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: 14px 12px; font-size: 16px; }
}
@media (max-width: 520px) { .live span { display: none; } .live { padding: 7px 10px; } }

/* hero */
.hero { position: relative; padding-block: calc(var(--nav-h) + clamp(28px, 6vw, 72px)) clamp(40px, 6vw, 80px); overflow: clip; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--glow-o); }
.glow--a { inline-size: 560px; block-size: 560px; inset-block-start: -120px; inset-inline-end: -120px; background: radial-gradient(closest-side, rgba(var(--brand-rgb), .32), transparent); }
.glow--b { inline-size: 480px; block-size: 480px; inset-block-start: 200px; inset-inline-start: -200px; background: radial-gradient(closest-side, rgba(255, 140, 50, .16), transparent); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px; border: 1.5px solid var(--line-2); background: var(--ov-1); font: 500 13px/1 var(--f-pixel); color: var(--text-2); letter-spacing: .04em; }
.dot { inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--up); animation: ping 2.4s ease-out infinite; }
.hero__title { margin-block: 22px 20px; font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; background: linear-gradient(180deg, var(--title-a) 20%, var(--title-b) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; text-wrap: balance; }
.hero__title em { font-style: normal; background: linear-gradient(95deg, var(--brand-lo), #e6c200 55%, #ff8a2a 80%, #ff4d3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-inline-size: 52ch; color: var(--text-2); font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.65; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 30px 24px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-3); font-size: 13.5px; list-style: none; margin: 0; padding: 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; inline-size: 14px; block-size: 14px; background: var(--up); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.500 3.200 3.200L13 4.500' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.hero__art { position: relative; }
.card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1.5px solid var(--line); border-radius: var(--r); box-shadow: var(--card-shadow); }
.demo { overflow: clip; border: 2px solid var(--text); box-shadow: var(--pop); transform: perspective(1400px) rotateY(-3deg) rotateX(1.5deg); transition: transform 500ms var(--ease-out); }
:root[data-theme="dark"] .demo { border-color: rgba(var(--brand-rgb), .5); }
@media (hover: hover) and (pointer: fine) { .demo:hover { transform: none; } }
.demo__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-block-end: 1px solid var(--line); font-size: 12.5px; }
.mystery { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; background: rgba(var(--brand-rgb), .16); color: var(--brand-ink); font: 600 13px var(--f-pixel); }
.demo__canvas { position: relative; block-size: clamp(260px, 34vw, 360px); background: var(--chart-bg); }
.demo__canvas .tile { padding: 8px 10px; border-radius: 4px; }
.demo__canvas .tile .nm { font-size: clamp(11px, 1.1vw, 14px); }
.demo__canvas .tile .ht { font-size: clamp(18px, 2.4vw, 30px); }
.demo__foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-block-start: 1px solid var(--line); font-size: 12.5px; }
.demo__btn { padding: 7px 14px; border-radius: 9px; color: #fff; font: 600 13px var(--f-pixel); }
.demo__btn--buy { background: #07b88a; color: #03140f; } .demo__btn--sell { background: #ff7a2a; color: #1a0a00; }
.demo__foot .dim { margin-inline-start: auto; text-align: end; }
.sticker { position: absolute; inset-inline-end: -6px; inset-block-start: -104px; inline-size: clamp(110px, 14vw, 160px); block-size: auto; z-index: 3; animation: bob 3.6s ease-in-out infinite; filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, .25)); pointer-events: none; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(2deg); } }
.bubble { position: absolute; inset-inline-end: clamp(130px, 17vw, 190px); inset-block-start: -72px; z-index: 3; padding: 7px 12px; border-radius: 12px; background: #fff; color: #06130e; border: 2px solid #06130e; font: 600 13px var(--f-pixel); letter-spacing: .03em; white-space: nowrap; box-shadow: 3px 3px 0 var(--brand); animation: bob 3.6s ease-in-out -.8s infinite; }
.bubble::after { content: ""; position: absolute; inset-inline-end: -8px; inset-block-end: 5px; inline-size: 12px; block-size: 12px; background: #fff; border-inline-end: 2px solid #06130e; border-block-end: 2px solid #06130e; transform: rotate(-45deg); }
@media (max-width: 920px) { .hero__in { grid-template-columns: 1fr; } .demo { transform: none; } .hero__art { margin-block-start: 64px; } .sticker { inset-block-start: -78px; inset-inline-end: 0; inline-size: 120px; } .bubble { inset-block-start: -56px; inset-inline-end: 124px; } }
@media (max-width: 520px) { .hero__cta .btn { flex: 1 1 100%; } .demo__foot .dim { display: none; } }

/* ticker */
.ticker { overflow: hidden; border-block: 2px solid var(--text); background: var(--brand); color: var(--on-brand); direction: ltr; }
:root[data-theme="dark"] .ticker { border-color: rgba(var(--brand-rgb), .6); }
.ticker__track { display: flex; inline-size: max-content; animation: marquee 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { padding: 11px 26px; font: 600 14px/1 var(--f-pixel); letter-spacing: .12em; white-space: nowrap; }
.ticker span::after { content: "▮"; margin-inline-start: 52px; opacity: .55; }
.ticker span b { font-weight: 700; margin-inline-start: 8px; background: #03140f; color: var(--brand); padding: 2px 6px; border-radius: 5px; letter-spacing: .04em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
section, .sec { margin-top: 0; }
.sec { padding-block: clamp(48px, 7vw, 96px); position: relative; }
.sec--tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.sec__head { max-inline-size: 760px; margin-block-end: clamp(24px, 3.5vw, 40px); }
.kicker { font: 600 14px/1 var(--f-pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); margin-block-end: 14px; }
.sec__head h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
.sub { margin-block-start: 14px; color: var(--text-2); font-size: clamp(1rem, 1.3vw, 1.1rem); max-inline-size: 64ch; }
.fine { color: var(--text-3); font-size: 13px; line-height: 1.6; max-inline-size: 70ch; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.seg { display: inline-flex; padding: 3px; border: 1.5px solid var(--line-2); background: var(--ov-1); border-radius: 99px; }
.seg button { border: 0; background: none; padding: 11px 16px; border-radius: 99px; font: 600 13px var(--f-pixel); letter-spacing: .04em; color: var(--text-2); }
.seg button[aria-pressed='true'] { background: var(--brand); color: var(--on-brand); }
.seg button:not([aria-pressed='true']):hover { color: var(--text); }

/* live numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-block-end: 8px; }
.stat { padding: 16px 18px; border-radius: 14px; background: var(--ov-1); border: 1.5px solid var(--line); min-inline-size: 0; }
.stat .k { font: 500 12px var(--f-body); color: var(--text-3); letter-spacing: .04em; }
.stat .v { font: 500 clamp(1.15rem, 2.4vw, 1.6rem)/1.2 var(--f-mono); margin-top: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat .s { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.notice { margin: 14px 0 0; padding: 11px 14px; border: 1.5px solid rgba(255, 176, 46, .45); background: rgba(255, 176, 46, .09); color: var(--text-2); border-radius: 10px; font-size: 13.5px; }

/* steps, faq, cta, footer */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 24px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .step:hover { transform: translate(-2px, -3px); box-shadow: 4px 5px 0 var(--brand); } }
.step svg { inline-size: 40px; block-size: 40px; fill: none; stroke: var(--brand-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-block-end: 16px; }
.step__n { position: absolute; inset-block-start: 20px; inset-inline-end: 22px; font: 700 13px var(--f-pixel); color: var(--text-3); }
.step h3 { font-size: 1.2rem; margin-block-end: 8px; } .step p { color: var(--text-2); font-size: 15px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1.5px solid var(--line); border-radius: 12px; background: var(--ov-1); transition: border-color 200ms ease; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--f-mono); color: var(--brand-ink); transition: transform 220ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 20px; color: var(--text-2); font-size: 15px; }
.cta-band { padding-block: clamp(48px, 7vw, 88px); }
.cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 4vw, 44px); border-radius: 26px; background: var(--brand); color: var(--on-brand); border: 2px solid #03140f; box-shadow: 6px 6px 0 #03140f; }
:root[data-theme="dark"] .cta-band__in { box-shadow: 6px 6px 0 rgba(var(--brand-rgb), .5); }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); } .cta-band p { color: rgba(3, 20, 15, .75); margin-block-start: 6px; }
.cta-band .btn--brand { background: #050807; color: var(--brand); border-color: #050807; box-shadow: 0 4px 0 rgba(0, 0, 0, .5); }
.foot { border-block-start: 1px solid var(--line); padding-block: 40px calc(40px + env(safe-area-inset-bottom)); background: var(--bg-2); position: relative; overflow: clip; }
.foot__in { display: grid; gap: 22px; }
.foot__brand { display: inline-flex; align-items: center; padding: 3px 14px 3px 3px; border-radius: 14px; background: #050807; box-shadow: 3px 3px 0 var(--brand); inline-size: fit-content; }
.foot__brand img { block-size: 30px; inline-size: 30px; border-radius: 9px; margin-inline-end: 8px; object-fit: contain; background: #0a100e; padding: 3px; }
.foot__links { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.foot__links a { min-block-size: 32px; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { color: var(--brand-ink); } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } .js .reveal { opacity: 1; transform: none; } .demo { transform: none; } }

.page-pad { padding-block-start: calc(var(--nav-h) + 8px); }

/* heat map */
.legend { display: flex; align-items: center; gap: 10px; font: 500 12px var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.legend .bar { flex: 0 1 260px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #1b3550, #12746b 25%, #17c98a 50%, #e6e04a 70%, #ff9a2e 85%, #ff4d3d); }
.treemap { position: relative; width: 100%; aspect-ratio: 16 / 7; min-height: 340px; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.tile { position: absolute; overflow: hidden; padding: 12px 14px; border-radius: 6px; border: 2px solid var(--bg); display: flex; flex-direction: column; justify-content: space-between; transition: filter .15s, transform .15s; isolation: isolate; }
.tile:hover { filter: brightness(1.12) saturate(1.1); z-index: 2; }
.tile .nm { font: 700 clamp(12px, 1.35vw, 17px)/1.15 var(--f-display); letter-spacing: -.02em; }
.tile .nm small { display: block; font: 500 12px var(--f-mono); opacity: .78; margin-top: 3px; letter-spacing: 0; }
.tile .ht { font: 700 clamp(22px, 3.4vw, 46px)/1 var(--f-mono); letter-spacing: -.04em; }
.tile .ht sup { font-size: max(11px, .38em); font-weight: 500; opacity: .75; margin-inline-start: 3px; letter-spacing: 0; }
.tile .ic { position: absolute; inset-inline-end: 8px; top: 6px; font-size: clamp(18px, 2.4vw, 30px); opacity: .9; }
.tile[data-s='xs'] .nm small, .tile[data-s='xs'] .ht sup { display: none; }
.tile[data-s='xs'] { padding: 6px 8px; }
.tile[data-s='xs'] .ht { font-size: 15px; }
.tile[data-s='xs'] .ic { display: none; }
@media (max-width: 760px) { .treemap { aspect-ratio: 4 / 5; min-height: 460px; } }

/* ranking + feed */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
@media (max-width: 980px) { .cols { grid-template-columns: 1fr; } }
.rank { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.row { display: grid; grid-template-columns: 30px minmax(150px, 1.1fr) minmax(120px, 1.6fr) 74px 92px 92px; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
a.row:hover { background: var(--panel-2); }
.row .n { font: 500 12px var(--f-mono); color: var(--text-3); }
.row .name { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.row .name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); font-size: 17px; flex: none; }
.therm { position: relative; height: 10px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); }
.therm i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; }
.row .num { font: 500 13px var(--f-mono); text-align: end; }
.row .heatn { font: 700 18px var(--f-mono); text-align: end; letter-spacing: -.03em; }
.chg.up { color: var(--up); } .chg.down { color: var(--down); }
.row.head { font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding-block: 9px; background: var(--bg-2); }
@media (max-width: 760px) {
  .row { grid-template-columns: 24px 1fr 56px 78px; padding: 12px 14px; gap: 10px; }
  .row .therm, .row .num { display: none; }
}
.badge { display: inline-block; padding: 3px 9px; border-radius: 99px; font: 600 12px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; border: 1px solid; white-space: nowrap; }
.st-born { color: #8fd3ff; border-color: #2c5a78; background: rgba(60, 150, 220, .1); }
.st-accelerating { color: var(--up); border-color: #1d6a4c; background: rgba(47, 227, 154, .1); }
.st-hot { color: #ffb561; border-color: #7a4a17; background: rgba(255, 150, 40, .1); }
.st-crowded { color: #ff8f7a; border-color: #7a3326; background: rgba(255, 90, 60, .1); }
.st-cooling { color: #9bb6d6; border-color: #34475f; background: rgba(120, 160, 210, .08); }
.st-dead { color: var(--text-3); border-color: var(--line); background: transparent; }

.feed { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); position: sticky; top: 78px; max-height: calc(100vh - 100px); overflow: hidden; display: flex; flex-direction: column; }
@media (max-width: 980px) { .feed { position: static; max-height: 460px; } }
.feed header { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.feed ol { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.feed li { padding: 10px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; animation: drop .4s ease-out; }
.feed li:last-child { border-bottom: 0; }
.feed .t { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .sy { color: var(--text-3); font: 500 12px var(--f-mono); }
.feed .ag { font: 500 12px var(--f-mono); color: var(--text-3); text-align: end; }
.feed .tags { grid-column: 1 / -1; display: flex; gap: 5px; flex-wrap: wrap; }
.tag { font-size: 12px; padding: 1px 8px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text-2); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* lifecycle */
.life { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 980px) { .life { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .life { grid-template-columns: 1fr; } }
.stage { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 14px; min-height: 150px; border-top-width: 3px; }
.stage h3 { display: flex; justify-content: space-between; align-items: baseline; }
.stage p { margin: 4px 0 12px; font-size: 12.5px; color: var(--text-3); line-height: 1.4; }
.stage .chips { display: flex; flex-direction: column; gap: 6px; }
.chip { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 9px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; }
.chip:hover { border-color: var(--line-2); }
.chip b { margin-inline-start: auto; font: 600 12px var(--f-mono); }
.stage .empty { font-size: 13px; color: var(--text-3); }

/* words */
.words { display: flex; flex-wrap: wrap; gap: 8px; }
.word { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 13px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); }
.word b { font-weight: 600; }
.word .x { font: 600 12px var(--f-mono); color: var(--warn); }
.word .c { font: 500 12px var(--f-mono); color: var(--text-3); }
.word.fresh { border-color: #7a4a17; background: rgba(255, 150, 40, .08); }
.word.fresh::after { content: 'new narrative?'; font: 500 10px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--warn); }

/* token table */
.tokens { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.tk { display: grid; grid-template-columns: minmax(0, 1.6fr) 100px 110px 80px 90px; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.tk:last-child { border-bottom: 0; }
a.tk:hover { background: var(--panel-2); }
.tk .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk .nm small { font: 500 12px var(--f-mono); color: var(--text-3); margin-inline-start: 6px; }
.tk .num { font: 500 13px var(--f-mono); text-align: end; }
.tk.head { font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); background: var(--bg-2); padding-block: 9px; }
@media (max-width: 760px) { .tk { grid-template-columns: minmax(0, 1fr) 90px 70px; } .tk .hide-s { display: none; } }
.grad { color: var(--mint); font-size: 12px; font-family: var(--f-mono); margin-inline-start: 6px; }

.skel { background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%); background-size: 200% 100%; animation: sh 1.4s infinite; border-radius: var(--r); }
@keyframes sh { to { background-position: -200% 0; } }
.empty-state { padding: 34px 20px; text-align: center; color: var(--text-3); }
.err { padding: 14px 16px; border: 1px solid #5a2a24; background: rgba(255, 90, 60, .07); color: #ffb3a6; border-radius: var(--r-sm); }
.note { margin-top: 18px; font-size: 12.5px; color: var(--text-3); max-width: 80ch; }

footer { margin-top: 70px; border-top: 1px solid var(--line); padding: 26px 0 50px; color: var(--text-3); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: flex-start; }
footer p { margin: 0; max-width: 70ch; }
footer a:hover { color: var(--text); }

/* narrative page */
.back { display: inline-flex; gap: 6px; color: var(--text-3); font-size: 14px; margin: 26px 0 0; }
.back:hover { color: var(--text); }
.nhead { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 12px 0 20px; }
.nhead .big { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 34px; background: var(--panel-2); border: 1px solid var(--line); }
.nhead h1 { margin: 0; font-size: clamp(26px, 4.4vw, 46px); max-width: none; }
.nhead .meta { display: flex; gap: 10px; align-items: center; margin-top: 8px; flex-wrap: wrap; color: var(--text-2); font-size: 14px; }
.heatbig { margin-inline-start: auto; text-align: end; }
.heatbig .v { font: 800 clamp(44px, 7vw, 76px)/1 var(--f-mono); letter-spacing: -.05em; }
.heatbig .k { font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .charts { grid-template-columns: 1fr; } }
.chart { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 16px 16px 10px; }
.chart h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.chart svg { width: 100%; height: 130px; display: block; }
.chart .ax { display: flex; justify-content: space-between; font: 500 12px var(--f-mono); color: var(--text-3); margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 980px) { .two { grid-template-columns: 1fr; } }

/* discovered */
.disc { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.dcard { display: block; padding: 16px; border-radius: var(--r); border: 1px solid #5a4a1e; background: linear-gradient(160deg, rgba(255, 176, 46, .10), var(--panel) 60%); position: relative; overflow: hidden; }
.dcard:hover { border-color: var(--warn); }
.dcard .top2 { display: flex; align-items: center; gap: 10px; }
.dcard .ico { width: 40px; height: 40px; font-size: 22px; }
.dcard h3 { font: 700 16px/1.2 var(--f-display); letter-spacing: -.02em; }
.dcard .new { font: 600 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--warn); }
.dcard .nums { display: flex; gap: 18px; margin-top: 14px; align-items: baseline; }
.dcard .nums b { font: 700 28px var(--f-mono); letter-spacing: -.04em; }
.dcard .nums span { font: 500 12px var(--f-mono); color: var(--text-3); display: block; }
.dcard .nums .x { color: var(--warn); }
.disc .empty-state { grid-column: 1 / -1; border: 1px dashed var(--line-2); border-radius: var(--r); }

/* ranking toolbar */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.search { flex: 1 1 240px; max-width: 360px; padding: 11px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 400 14px var(--f-text); }
.search::placeholder { color: var(--text-3); }
.search:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; }
.cchip { border: 1px solid var(--line); background: var(--panel); color: var(--text-2); padding: 8px 13px; border-radius: 99px; font: 500 13px var(--f-text); }
.cchip[aria-pressed='true'] { background: var(--panel-2); color: var(--text); border-color: var(--mint); }
.cchip small { color: var(--text-3); font: 500 12px var(--f-mono); margin-inline-start: 4px; }
.more { display: block; margin: 14px auto 0; padding: 11px 22px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font-weight: 500; }
.more:hover { border-color: var(--mint); }
.tagnew { font: 600 12px var(--f-mono); color: var(--warn); border: 1px solid #7a4a17; border-radius: 99px; padding: 1px 7px; margin-inline-start: 6px; text-transform: uppercase; letter-spacing: .05em; }

/* light theme corrections for components that carry their own colours */
:root[data-theme="light"] .st-born { color: #0b5d8f; border-color: #8cc4e6; background: rgba(60, 150, 220, .1); }
:root[data-theme="light"] .st-accelerating { color: #05704f; border-color: #86d6b5; background: rgba(47, 227, 154, .12); }
:root[data-theme="light"] .st-hot { color: #9a5200; border-color: #f0c07a; background: rgba(255, 150, 40, .12); }
:root[data-theme="light"] .st-crowded { color: #a8321a; border-color: #f0a090; background: rgba(255, 90, 60, .1); }
:root[data-theme="light"] .st-cooling { color: #3a5f87; border-color: #a9c0da; background: rgba(120, 160, 210, .1); }
:root[data-theme="light"] .dcard { border-color: #e8c27a; }
:root[data-theme="light"] .word.fresh { border-color: #e8c27a; }
:root[data-theme="light"] .tagnew, :root[data-theme="light"] .dcard .new, :root[data-theme="light"] .dcard .nums .x { color: #9a5200; }
:root[data-theme="light"] .err { background: rgba(214, 36, 63, .07); border-color: rgba(214, 36, 63, .35); color: #a3132c; }
.badge { font-family: var(--f-pixel); font-size: 12.5px; letter-spacing: .04em; border-width: 1.5px; }
.tile { border-color: var(--bg); }

/* hero line chart */
.chart__stage { position: relative; block-size: clamp(250px, 29vw, 330px); background: var(--chart-bg); }
.chart__stage canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; display: block; touch-action: pan-y; cursor: crosshair; }
.chart__tip { position: absolute; inset: 0 auto auto 0; z-index: 2; pointer-events: none; min-inline-size: 150px; padding: 10px 12px; border-radius: 12px; background: rgba(5, 8, 7, .92); color: #ecfff9; border: 1.5px solid rgba(14, 251, 197, .35); box-shadow: 3px 3px 0 rgba(14, 251, 197, .35); backdrop-filter: blur(6px); font-size: 12.5px; will-change: transform; }
.chart__tip b { display: block; font: 600 12px var(--f-pixel); letter-spacing: .06em; text-transform: uppercase; color: #9bb8af; margin-block-end: 6px; }
.chart__tip div { display: flex; align-items: center; gap: 8px; padding-block: 2px; }
.chart__tip i { inline-size: 9px; block-size: 9px; border-radius: 50%; flex: none; }
.chart__tip span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-inline-size: 150px; }
.chart__tip em { font: 600 12.5px var(--f-mono); font-style: normal; }
.chart__empty[hidden], .chart__tip[hidden] { display: none; }
.chart__empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--text-3); font-size: 14px; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 4px; }
.lg { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px 6px 9px; border-radius: 99px; border: 1.5px solid var(--line-2); background: var(--ov-1); font: 600 12.5px var(--f-body); color: var(--text); transition: opacity 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out); }
.lg:active { transform: scale(.97); }
.lg i { inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.lg b { font: 600 12px var(--f-mono); color: var(--text-2); }
.lg[aria-pressed='false'] { opacity: .45; } .lg[aria-pressed='false'] i { box-shadow: none; background: transparent; border: 2px solid var(--c); }
.lg:hover { border-color: var(--c); }
.lg span { max-inline-size: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg--sm button { padding: 7px 12px; font-size: 12px; }
.seg--sm { padding: 2px; }
.chartcard .demo__foot { justify-content: space-between; }
@media (max-width: 520px) { .chartcard .demo__foot .dim { display: block; font-size: 11.5px; } .lg span { max-inline-size: 92px; } }

.chart__note { padding: 2px 16px 12px; font-size: 12px; margin: 0; }

/* ───────── pictures and live numbers ───────── */
.av { position: relative; display: inline-grid; place-items: center; inline-size: var(--s, 32px); block-size: var(--s, 32px); flex: none; border-radius: 28%; overflow: hidden; background: var(--surface-2); border: 1.5px solid var(--line-2); font-size: max(12px, calc(var(--s, 32px) * .5)); line-height: 1; }
.av--round, .av--token { border-radius: 50%; }
.av__f { font-family: var(--f-pixel); font-weight: 600; color: var(--text-2); }
.av img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 22%; opacity: 0; transition: opacity 300ms ease; }
.av.has-img img { opacity: 1; }
.av.has-img .av__f { opacity: 0; }
.ico { background: none; border: 0; inline-size: auto; block-size: auto; }
.row .name .av, .chip .av { border-width: 1px; }
.tick-up { animation: tickUp 1.2s ease-out; }
.tick-down { animation: tickDown 1.2s ease-out; }
.anim { display: inline-block; font-variant-numeric: tabular-nums; }
@keyframes tickUp { 0% { color: var(--up); text-shadow: 0 0 14px rgba(var(--brand-rgb), .7); transform: translateY(-2px); } 100% { text-shadow: none; transform: none; } }
@keyframes tickDown { 0% { color: var(--down); text-shadow: 0 0 14px rgba(255, 77, 109, .6); transform: translateY(2px); } 100% { text-shadow: none; transform: none; } }

/* heat map tiles carry the narrative's picture under the heat colour */
.tile .tphoto { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 20%; z-index: -1; opacity: .5; mix-blend-mode: soft-light; filter: saturate(1.1) contrast(1.05); transition: opacity 300ms ease, transform 600ms var(--ease-out); }
.tile:hover .tphoto { opacity: .7; transform: scale(1.04); }
.tile .nm, .tile .ht { text-shadow: 0 1px 8px rgba(0, 0, 0, .18); }
.tile[data-s='xs'] .tphoto { opacity: .35; }

/* feed rows with a picture */
.feed li { grid-template-columns: auto 1fr auto; column-gap: 10px; align-items: center; }
.feed li .tx { min-inline-size: 0; }
.feed li .tags { grid-column: 2 / -1; }
.feed li > .av { grid-row: 1 / span 2; align-self: start; }
a.fli { color: inherit; display: contents; }
.feed li:hover { background: var(--ov-1); }

/* ranking row picture */
.row .name { gap: 11px; }
.dcard .av { --s: 44px; }
.legend-av { display: inline-flex; }
.lg .av { --s: 20px; border-width: 1px; }
.tk .nm { display: flex; align-items: center; gap: 10px; }
.tk .nm .av { --s: 30px; }
.tk .nm .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-inline-size: 0; }

/* progress bar (bonding curve) */
.prog { position: relative; block-size: 10px; border-radius: 99px; background: var(--ov-2); overflow: hidden; border: 1px solid var(--line); }
.prog i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, var(--brand-lo), var(--brand)); box-shadow: 0 0 12px rgba(var(--brand-rgb), .6); transition: inline-size 900ms var(--ease-out); }

/* token page */
.thead { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-block: 14px 22px; }
.thead .av { --s: 76px; border-width: 2px; border-color: var(--line-2); box-shadow: 4px 4px 0 rgba(var(--brand-rgb), .35); }
.thead h1 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; overflow-wrap: anywhere; }
.thead .sym { font: 500 15px var(--f-mono); color: var(--text-3); margin-inline-start: 8px; }
.thead .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 6px; border-radius: 99px; border: 1.5px solid var(--line-2); background: var(--ov-1); font: 600 12.5px var(--f-body); }
.pill .av { --s: 20px; box-shadow: none; border-width: 1px; }
.pill--plain { padding-inline: 11px; }
.pill:hover { border-color: var(--brand-ink); }
.thead__btns { margin-inline-start: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.bigprice { display: grid; gap: 4px; padding: 20px 22px; border-radius: 18px; border: 2px solid var(--text); background: var(--surface); box-shadow: var(--pop); }
:root[data-theme="dark"] .bigprice { border-color: rgba(var(--brand-rgb), .5); }
.bigprice .k { font: 600 13px var(--f-pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.bigprice .v { font: 700 clamp(2.2rem, 7vw, 3.8rem)/1.05 var(--f-mono); letter-spacing: -.05em; }
.bigprice .sub2 { display: flex; gap: 14px; flex-wrap: wrap; font: 500 14px var(--f-mono); color: var(--text-2); align-items: baseline; }
.chgpill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font: 700 13px var(--f-mono); }
.chgpill.up { color: var(--up); background: rgba(var(--brand-rgb), .12); }
.chgpill.down { color: var(--down); background: rgba(255, 77, 109, .12); }
.tgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; margin-block: 16px; align-items: start; }
@media (max-width: 920px) { .tgrid { grid-template-columns: 1fr; } }
.tstats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tstats .stat .v { font-size: 1.25rem; }
.trades { max-block-size: 360px; overflow-y: auto; }
.trade { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--line); font: 500 13px var(--f-mono); animation: slideIn 420ms var(--ease-out); }
.trade:last-child { border-bottom: 0; }
.trade .side { font: 700 11.5px var(--f-pixel); letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; text-align: center; }
.trade.buy .side { color: #03140f; background: var(--up); }
.trade.sell .side { color: #1a0008; background: var(--down); }
.trade .who { color: var(--text-3); }
.trade .amt { text-align: end; }
.trade .amt small { display: block; color: var(--text-3); font-size: 11px; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); background: rgba(var(--brand-rgb), .12); } }
.pbox { padding: 16px 18px; }
.pbox .row2 { display: flex; justify-content: space-between; align-items: baseline; margin-block-end: 10px; font-size: 13.5px; color: var(--text-2); }
.pbox .row2 b { font: 700 1.1rem var(--f-mono); color: var(--text); }
.buybar { display: flex; block-size: 10px; border-radius: 99px; overflow: hidden; background: var(--ov-2); margin-block: 6px 4px; }
.buybar i { display: block; block-size: 100%; transition: inline-size 700ms var(--ease-out); }
.buybar .b { background: var(--up); } .buybar .s { background: var(--down); }
.live-note { font-size: 12.5px; color: var(--text-3); margin-block-start: 10px; }

/* narrative page */
.nhead .big { inline-size: 84px; block-size: 84px; border-radius: 22px; overflow: hidden; padding: 0; position: relative; }
.nhead .big .av { --s: 84px; border: 0; border-radius: 0; }
.credit { font-size: 11.5px; color: var(--text-3); margin-block-start: 6px; max-inline-size: 70ch; }
.credit a { text-decoration: underline; text-underline-offset: 2px; }
.ncard .chart__stage { block-size: clamp(230px, 28vw, 300px); }
