/* =====================================================================
   Kriptometric Nova — crypto newsroom theme
   Tokens → base → chrome (ticker, nav, drawer, palette) → components
   → home → article → pages → utilities → responsive
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Palette 2026-11: taken from the logo (royal blue #0057F0 → sky #0090E8 → cyan #00C0F0, navy type).
     Previous violet palette: storage/backups/theme-2026-11-09-renk/nova.css */
  --bg: #070b16;
  --bg-2: #0a1020;
  --surface: rgba(15, 22, 38, .78);
  --surface-solid: #0f1626;
  --surface-2: #141c2f;
  --surface-3: #1b2539;
  --line: rgba(148, 170, 210, .10);
  --line-strong: rgba(148, 170, 210, .18);
  --text: #eef2f9;
  --muted: #9aa6be;
  --faint: #7f8aa3;
  --violet: #3d8bff;            /* primary brand blue (token name kept for compatibility) */
  --violet-rgb: 61, 139, 255;
  --cyan: #2cc6f2;
  --cyan-rgb: 44, 198, 242;
  --accent: var(--violet);
  --up: #22e39a;
  --up-rgb: 34, 227, 154;
  --down: #ff5c74;
  --down-rgb: 255, 92, 116;
  --warn: #ffb547;
  --link: #8ec5ff;
  --grad: linear-gradient(115deg, #1f6ff2 0%, #1590ea 55%, #22c3f0 100%);
  --grad-soft: linear-gradient(135deg, rgba(var(--violet-rgb), .12), rgba(var(--cyan-rgb), .06));
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 16px 40px -24px rgba(0, 0, 0, .7);
  --shadow-lg: 0 24px 64px -30px rgba(0, 0, 0, .8);
  --glow: 0 0 0 1px rgba(var(--violet-rgb), .30), 0 14px 36px -20px rgba(var(--violet-rgb), .40);
  --aurora-a: rgba(var(--violet-rgb), .12);
  --aurora-b: rgba(var(--cyan-rgb), .08);
  --aurora-c: transparent;
  --grid-line: rgba(148, 170, 210, .025);
  --scrim: 7, 11, 22;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --r-xl: 24px;
  --r-lg: 18px;
  --r: 14px;
  --r-sm: 10px;
  --wrap: 1400px;
  --gutter: clamp(2rem, 5vw, 5rem);
  --nav-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-2: #edf1f8;
  --surface: rgba(255, 255, 255, .85);
  --surface-solid: #ffffff;
  --surface-2: #f2f5fa;
  --surface-3: #e7ecf5;
  --line: rgba(10, 20, 48, .08);
  --line-strong: rgba(10, 20, 48, .15);
  --text: #0a1430;
  --muted: #4b5873;
  --faint: #5f6b85;
  --violet: #0a5be0;
  --violet-rgb: 10, 91, 224;
  --cyan: #0277b6;
  --cyan-rgb: 2, 119, 182;
  --up: #0b7f53;
  --up-rgb: 11, 127, 83;
  --down: #c81e3e;
  --down-rgb: 200, 30, 62;
  --warn: #a96c00;
  --link: #0a5be0;
  --grad: linear-gradient(115deg, #0057f0 0%, #0a7fe0 55%, #0aa6dc 100%);
  --shadow: 0 1px 2px rgba(10, 20, 48, .05), 0 10px 28px -16px rgba(10, 20, 48, .16);
  --shadow-lg: 0 24px 60px -30px rgba(10, 20, 48, .26);
  --glow: 0 0 0 1px rgba(var(--violet-rgb), .25), 0 14px 36px -22px rgba(var(--violet-rgb), .35);
  --aurora-a: rgba(var(--violet-rgb), .06);
  --aurora-b: rgba(var(--cyan-rgb), .05);
  --aurora-c: transparent;
  --grid-line: rgba(10, 20, 48, .03);
  --scrim: 10, 20, 48;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 75%);
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
::selection { background: rgba(var(--violet-rgb), .35); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: .7rem 1rem; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600; }
.skip-link:focus { top: 1rem; left: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: min(var(--wrap), calc(100% - var(--gutter))); margin-inline: auto; }
.wrap--wide { width: min(1180px, calc(100% - var(--gutter))); }
.wrap--read { width: min(820px, calc(100% - var(--gutter))); }
.main { position: relative; min-height: 50vh; }
.num { font-family: var(--mono); font-feature-settings: "tnum", "zero"; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.up { color: var(--up); }
.down { color: var(--down); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .5rem;
  font: 600 .72rem/1.2 var(--font);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker--accent { color: var(--violet); }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fine { margin-top: .65rem; font-size: .75rem; color: var(--faint); }

/* Aurora background */
.aurora { position: fixed; inset: 0 0 auto 0; height: 900px; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
  animation: aurora 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 620px; height: 420px; left: -8%; top: -180px; background: var(--aurora-a); }
.aurora span:nth-child(2) { width: 560px; height: 380px; right: -6%; top: -120px; background: var(--aurora-b); animation-delay: -9s; animation-duration: 32s; }
.aurora span:nth-child(3) { width: 480px; height: 320px; left: 38%; top: 80px; background: var(--aurora-c); animation-delay: -16s; animation-duration: 38s; }
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(60px, 40px, 0) scale(1.08); }
  100% { transform: translate3d(-40px, 20px, 0) scale(.95); }
}

/* Reading progress */
.progress {
  position: fixed; left: 0; top: 0; z-index: 120;
  height: 3px; width: 100%;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 12px rgba(var(--violet-rgb), .8);
  pointer-events: none;
  opacity: 0;
}
.progress.is-on { opacity: 1; }

/* ---------- Buttons, pills, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.2rem;
  border: 1px solid transparent; border-radius: 12px;
  font: 600 .92rem/1 var(--font);
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(var(--violet-rgb), .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover { box-shadow: 0 14px 40px -10px rgba(var(--violet-rgb), .95), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(-1px); }
.btn--light { background: #fff; color: #0b0c14; }
.btn--light:hover { background: #ecebff; }
.btn--light span { transition: transform .2s var(--ease); }
.btn--light:hover span { transform: translateX(3px); }
.btn--ghost { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--line-strong); }
.btn--sm { min-height: 36px; padding: .5rem .9rem; font-size: .84rem; }
.btn--block { width: 100%; }

.pill {
  position: relative; z-index: 4;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font: 600 .72rem/1 var(--font);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.post .pill, .post__tags .pill { color: var(--text); background: var(--surface-2); border-color: var(--line); backdrop-filter: none; }
.post__tags a.pill:hover { border-color: rgba(var(--violet-rgb), .5); color: var(--violet); }
.pill--accent, .post__tags .pill--accent { background: rgba(var(--violet-rgb), .16); border-color: rgba(var(--violet-rgb), .4); color: var(--violet); }
[data-theme="dark"] .post__tags .pill--accent { color: var(--link); }
.pill--live i { width: 7px; height: 7px; border-radius: 50%; background: var(--down); box-shadow: 0 0 0 0 rgba(var(--down-rgb), .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(var(--down-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--down-rgb), 0); } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips--center { justify-content: center; }
.chips--sm .chip { padding: .25rem .6rem; font-size: .72rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-size: .84rem; font-weight: 500;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
a.chip:hover, button.chip:hover { border-color: rgba(var(--violet-rgb), .5); color: var(--violet); }
[data-theme="dark"] a.chip:hover { color: var(--link); }
.chip.is-active { background: rgba(var(--violet-rgb), .16); border-color: rgba(var(--violet-rgb), .5); color: var(--violet); }
[data-theme="dark"] .chip.is-active { color: var(--link); }
.chip--accent { background: rgba(var(--violet-rgb), .14); border-color: rgba(var(--violet-rgb), .35); }
.chip--coin b { font-family: var(--mono); font-size: .75rem; color: var(--cyan); }
.chip--mono { font-family: var(--mono); font-size: .76rem; }

.chg {
  display: inline-flex; align-items: center; gap: .2rem;
  padding: .22rem .5rem;
  border-radius: 7px;
  font-size: .78rem; font-weight: 600;
  white-space: nowrap;
}
.chg--up { color: var(--up); background: rgba(var(--up-rgb), .12); }
.chg--down { color: var(--down); background: rgba(var(--down-rgb), .12); }
.chg--flat { color: var(--muted); background: var(--surface-2); }
.chg--up::before { content: "▲"; font-size: .6em; }
.chg--down::before { content: "▼"; font-size: .6em; }
.chg--lg { font-size: .95rem; padding: .35rem .65rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .88rem; font-weight: 500; white-space: nowrap; transition: color .2s var(--ease); }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover span { transform: translateX(3px); }

.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(var(--up-rgb), .7); animation: ping-up 2s infinite; flex: none; }
@keyframes ping-up { 70% { box-shadow: 0 0 0 7px rgba(var(--up-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--up-rgb), 0); } }

/* Cursor-following border light for [data-glow] surfaces */
[data-glow] { position: relative; isolation: isolate; }
[data-glow]::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 5;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--violet-rgb), .9), rgba(var(--cyan-rgb), .35) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
[data-glow]:hover::after { opacity: 1; }

/* ---------- Ticker ---------- */
.ticker {
  position: relative; z-index: 60;
  display: flex; align-items: center;
  height: 36px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  font-size: .76rem;
  overflow: hidden;
}
.ticker__label {
  display: inline-flex; align-items: center; gap: .45rem;
  height: 100%; padding: 0 .9rem 0 1rem;
  border-right: 1px solid var(--line);
  font: 700 .66rem/1 var(--font); letter-spacing: .14em;
  color: var(--up);
  background: var(--bg);
  flex: none;
}
.ticker__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--up); animation: ping-up 2s infinite; }
.ticker__viewport {
  flex: 1; min-width: 0; height: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ticker__track {
  display: inline-flex; align-items: center; gap: 1.6rem;
  width: max-content; height: 100%;
  padding: 0 1rem;
  animation: ticker 240s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }
.tick { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; color: var(--muted); }
.tick img { width: 16px; height: 16px; border-radius: 50%; }
.tick .coin-logo--letter { width: 16px; height: 16px; border-radius: 50%; font-size: .55rem; }
.tick strong { color: var(--text); font-weight: 600; }
.tick:hover strong { color: var(--violet); }
.tick .up { color: var(--up); }
.tick .down { color: var(--down); }
.tick .flat { color: var(--faint); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 70;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6);
}
.nav__inner { display: flex; align-items: center; gap: 1.25rem; height: var(--nav-h); }
.brand { display: inline-flex; flex: none; line-height: 0; }
.brand__img { height: 52px; width: auto; max-width: 240px; object-fit: contain; }
.brand__img--light { display: none; }
[data-theme="light"] .brand__img--dark { display: none; }
[data-theme="light"] .brand__img--light { display: block; }
.nav__links { display: flex; align-items: center; gap: .1rem; flex: 1; min-width: 0; overflow: hidden; }
.nav__link {
  position: relative;
  padding: .5rem .72rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: .9rem; font-weight: 500;
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--surface-2); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: -2px;
  width: 18px; height: 3px; margin-left: -9px;
  border-radius: 3px; background: var(--grad);
  box-shadow: 0 0 10px rgba(var(--violet-rgb), .8);
}
.nav__actions { display: flex; align-items: center; gap: .45rem; margin-left: auto; flex: none; }
.live-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 38px; padding: 0 .8rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
  font-size: .8rem;
  transition: border-color .2s var(--ease);
}
.live-pill:hover { border-color: var(--line-strong); }
.live-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: ping-up 2s infinite; }
.live-pill__sym { font-weight: 700; color: #f7931a; }
.live-pill__px { font-weight: 600; }
.live-pill__chg { font-size: .74rem; }
.search-trigger {
  display: inline-flex; align-items: center; gap: .55rem;
  height: 38px; padding: 0 .55rem 0 .8rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: .85rem;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.search-trigger:hover { border-color: rgba(var(--violet-rgb), .5); color: var(--text); }
.search-trigger__kbd, kbd {
  display: inline-flex; align-items: center;
  padding: .15rem .4rem;
  border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px;
  background: var(--surface-2);
  font: 500 .68rem/1.2 var(--mono);
  color: var(--muted);
}
.icon-btn {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--line-strong); background: var(--surface-2); }
.icon-btn--tg svg { color: #2aabee; }
.icon-btn--yt svg { color: #ff0033; }
.i-moon { display: none; }
[data-theme="light"] .i-sun { display: none; }
[data-theme="light"] .i-moon { display: block; }
.nav__burger { display: none; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav__burger[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Drawer */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(var(--scrim), .6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.drawer-scrim[hidden], .drawer[hidden] { display: none; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; flex-direction: column; gap: 1rem;
  width: min(380px, 88vw);
  padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--surface-solid);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  animation: drawer-in .35s var(--ease);
}
@keyframes drawer-in { from { transform: translateX(30px); opacity: 0; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__title { font: 700 1.1rem/1 var(--display); }
.drawer__search {
  display: flex; align-items: center; gap: .6rem;
  width: 100%; padding: .8rem .9rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface-2); color: var(--muted);
  text-align: left; font-size: .9rem;
}
.drawer__links { display: flex; flex-direction: column; }
.drawer__link {
  display: flex; justify-content: space-between; align-items: center;
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--line);
  font: 600 1.05rem/1.2 var(--display);
}
.drawer__link span { color: var(--faint); transition: transform .2s var(--ease), color .2s; }
.drawer__link:hover span, .drawer__link.is-active span { color: var(--violet); transform: translateX(3px); }
.drawer__link.is-active { color: var(--violet); }
.drawer__social { display: flex; flex-wrap: wrap; gap: .5rem; }
.soc-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface-2);
  font-size: .85rem; font-weight: 600;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.soc-chip:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.soc-chip--tg svg { color: #2aabee; }
.soc-chip--yt svg { color: #ff3d3d; }
.seg { display: flex; padding: 4px; gap: 2px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); margin-top: auto; }
.seg__btn { flex: 1; padding: .55rem .5rem; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: .84rem; font-weight: 500; }
.seg__btn.is-active { background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow); }

/* Command palette */
.palette { position: fixed; inset: 0; z-index: 150; display: grid; justify-items: center; align-items: start; padding: 12vh 1rem 1rem; }
.palette[hidden] { display: none; }
.palette__scrim { position: absolute; inset: 0; background: rgba(var(--scrim), .65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .2s ease; }
.palette__box {
  position: relative;
  width: min(640px, 100%);
  max-height: 72vh;
  display: flex; flex-direction: column;
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  background: var(--surface-solid);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(var(--violet-rgb), .2), 0 0 80px -20px rgba(var(--violet-rgb), .5);
  overflow: hidden;
  animation: pop .25s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.palette__form { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.palette__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.08rem; color: var(--text); }
.palette__form input::placeholder { color: var(--faint); }
.palette__form input::-webkit-search-cancel-button { display: none; }
.palette__form kbd { cursor: pointer; }
.palette__body { overflow-y: auto; padding: .5rem; }
.palette__results:empty { display: none; }
.palette__results a {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem .8rem;
  border-radius: 10px;
  color: var(--text); font-size: .93rem; line-height: 1.35;
}
.palette__results a span {
  flex: none;
  padding: .2rem .45rem; border-radius: 6px;
  background: var(--surface-2); color: var(--muted);
  font: 600 .66rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase;
}
.palette__results a.is-active, .palette__results a:hover { background: rgba(var(--violet-rgb), .14); }
.palette__results .palette__empty { padding: 1rem .8rem; color: var(--muted); font-size: .9rem; }
.palette__quick { padding: .6rem .6rem .8rem; }
.palette__label { margin: 0 0 .6rem; font: 600 .7rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.palette__chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.palette__foot { display: flex; gap: 1.2rem; padding: .65rem 1rem; border-top: 1px solid var(--line); font-size: .74rem; color: var(--faint); }
.palette__foot kbd { margin-right: .2rem; }

/* ---------- Ads ---------- */
.ad-band { padding: .75rem 0; display: flex; justify-content: center; }
.ad-band:not(:has(*)) { display: none !important; }
.ad-band--infeed { grid-column: 1 / -1; padding: .25rem 0; }
.ad-band--rail, .ad-band--inline { padding: 0; }
.ad-band--inline { margin: 1.75rem 0; }
.promo-slot {
  --promo-w: 728; --promo-h: 90;
  position: relative; display: block;
  width: 100%; max-width: min(100%, calc(var(--promo-w) * 1px));
  aspect-ratio: var(--promo-w) / var(--promo-h);
  margin-inline: auto;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface-2);
  overflow: hidden;
}
.promo-slot__label { position: absolute; top: .4rem; left: .45rem; z-index: 2; padding: .12rem .4rem; border-radius: 6px; background: rgba(var(--scrim), .7); color: #c9cde0; font: 600 .52rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.promo-slot__frame, .promo-slot__frame a { position: absolute; inset: 0; display: block; line-height: 0; }
.promo-slot__frame img { width: 100%; height: 100%; object-fit: cover; }
.promo-slot--970x90 { --promo-w: 970; --promo-h: 90; }
.promo-slot--728x90 { --promo-w: 728; --promo-h: 90; }
.promo-slot--300x250 { --promo-w: 300; --promo-h: 250; }
.promo-slot--300x600 { --promo-w: 300; --promo-h: 600; }
.promo-slot--336x280 { --promo-w: 336; --promo-h: 280; }
.promo-slot--320x100 { --promo-w: 320; --promo-h: 100; }
.promo-slot--320x50 { --promo-w: 320; --promo-h: 50; }
.mobile-only { display: none; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex; flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow), 0 24px 60px -30px rgba(var(--violet-rgb), .55); }
.card__hit { position: absolute; inset: 0; z-index: 6; border-radius: inherit; }
.card__hit:focus-visible { outline-offset: -3px; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__fallback {
  display: block; width: 100%; height: 100%; min-height: 100%;
  background:
    radial-gradient(circle at 75% 25%, rgba(var(--violet-rgb), .45), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(var(--cyan-rgb), .3), transparent 55%),
    var(--surface-3);
}
.card__body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.05rem 1.15rem 1.15rem; }
.card__cat { font: 600 .7rem/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.card__title { font: 600 1.08rem/1.3 var(--display); letter-spacing: -.015em; color: var(--text); transition: color .2s var(--ease); }
.card:hover .card__title { color: color-mix(in srgb, var(--violet) 55%, var(--text)); }
.card__excerpt { color: var(--muted); font-size: .9rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; margin-top: auto; padding-top: .35rem; color: var(--faint); font-size: .76rem; }
.card__meta > * + *::before { content: ""; display: inline-block; width: 3px; height: 3px; margin-right: .7rem; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: .7; }
.card__author { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); }
.card__author i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 .62rem/1 var(--font); font-style: normal; }

.badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 3;
  padding: .3rem .6rem; border-radius: 8px;
  font: 700 .66rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.badge--analysis { background: rgba(var(--violet-rgb), .75); color: #fff; box-shadow: 0 0 20px rgba(var(--violet-rgb), .6); }
.badge--hot { background: rgba(var(--down-rgb), .85); color: #fff; }

/* Overlay cards (feature / hero) */
.card--feature, .card--hero { min-height: 420px; justify-content: flex-end; }
.card--feature .card__media, .card--hero .card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--scrim), .1) 0%, rgba(var(--scrim), .35) 40%, rgba(var(--scrim), .94) 100%); }
.card__body--over { position: relative; z-index: 2; flex: none; padding: 1.6rem; gap: .7rem; }
.card__body--over .pill { align-self: flex-start; }
.card__body--over .card__title { color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.18; font-weight: 700; }
.card:hover .card__body--over .card__title { color: #fff; }
.card__body--over .card__excerpt { color: rgba(235, 238, 250, .82); font-size: .95rem; }
.card__body--over .card__meta { color: rgba(220, 225, 240, .7); }

/* Horizontal */
.card--horizontal { flex-direction: row; align-items: stretch; }
.card--horizontal .card__media { flex: 0 0 38%; max-width: 220px; aspect-ratio: auto; min-height: 120px; }
.card--horizontal .card__body { padding: .95rem 1.05rem; justify-content: center; }
.card--horizontal .card__title { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--horizontal .card__excerpt { -webkit-line-clamp: 2; font-size: .86rem; }

/* Compact ranked */
.card--compact {
  flex-direction: row; gap: .9rem; align-items: flex-start;
  padding: .85rem 0;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.card--compact:last-child { border-bottom: 0; padding-bottom: 0; }
.card--compact:hover { transform: none; box-shadow: none; }
.card--compact .card__body { padding: 0; gap: .3rem; }
.card--compact .card__title { font-size: .93rem; line-height: 1.38; }
.card--compact .card__meta { padding-top: 0; }
.card__rank {
  flex: none; width: 2.1rem;
  font: 700 1.5rem/1 var(--display);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
}

/* ---------- Layout helpers ---------- */
.section { padding: 2.25rem 0; }
.section--tight { padding-top: .5rem; }
.section__gap { height: 2.75rem; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.25rem; }
.sec-head__title { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.sec-head .kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.list { display: grid; gap: .9rem; }
.empty { padding: 3rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); text-align: center; display: grid; gap: .5rem; justify-items: center; }
.empty--sm { padding: 1.5rem; }
.empty[hidden] { display: none; }
.empty__title { font: 600 1.15rem/1.3 var(--display); }

.panel {
  position: relative;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .75rem; }
.panel__head .kicker { margin-bottom: .3rem; }
.panel__title { font-size: 1.15rem; }
.panel__more { margin-top: 1rem; }
.panel--glow {
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(var(--violet-rgb), .22), transparent 60%),
    radial-gradient(320px 200px at 0% 100%, rgba(var(--cyan-rgb), .12), transparent 60%),
    var(--surface);
  border-color: rgba(var(--violet-rgb), .25);
}

/* Forms */
input[type="email"], input[type="search"], input[type="text"], select {
  width: 100%; min-height: 46px; padding: .7rem .95rem;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--bg-2); color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input::placeholder { color: var(--faint); }
input:focus, select:focus { outline: none; border-color: rgba(var(--violet-rgb), .7); box-shadow: 0 0 0 4px rgba(var(--violet-rgb), .16); }
.stack-form { display: grid; gap: .6rem; margin-top: 1rem; }
.inline-form { display: flex; gap: .5rem; width: 100%; max-width: 460px; }
.inline-form input { flex: 1; min-width: 0; }
.inline-form--center { margin-inline: auto; }
.notice { margin-top: .8rem; padding: .6rem .8rem; border-radius: 10px; font-size: .85rem; border: 1px solid; }
.notice--ok { color: var(--up); border-color: rgba(var(--up-rgb), .35); background: rgba(var(--up-rgb), .08); }
.notice--err { color: var(--down); border-color: rgba(var(--down-rgb), .35); background: rgba(var(--down-rgb), .08); }
.newsletter__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 12px; background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(var(--violet-rgb), .8); }
.newsletter__title { font-size: 1.35rem; margin-bottom: .4rem; }
.newsletter .muted { font-size: .92rem; }

/* ---------- Home: breaking ---------- */
.breaking { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(var(--down-rgb), .1), transparent 45%); }
.breaking__inner { display: flex; align-items: center; gap: 1rem; height: 46px; overflow: hidden; }
.breaking__tag {
  display: inline-flex; align-items: center; gap: .45rem; flex: none;
  padding: .32rem .65rem; border-radius: 8px;
  background: var(--down); color: #fff;
  font: 700 .68rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 0 20px rgba(var(--down-rgb), .5);
}
.breaking__tag i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.breaking__track { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); }
.breaking__list { display: flex; gap: 2.5rem; width: max-content; white-space: nowrap; }
.breaking__list.is-marquee { animation: ticker 70s linear infinite; }
.breaking__track:hover .breaking__list { animation-play-state: paused; }
.breaking__list a { font-size: .9rem; font-weight: 500; }
.breaking__list a:hover { color: var(--violet); }
.breaking__list a + a::before { content: "◆"; margin-right: 2.5rem; margin-left: -1.25rem; font-size: .5rem; color: var(--down); vertical-align: middle; }

/* ---------- Home: hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 1.25rem; padding: 1.75rem 0 1.25rem; }
.hero__lead {
  position: relative;
  min-height: clamp(440px, 62vh, 600px);
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.hero__lead:hover .hero__media img { transform: scale(1.06); }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(var(--scrim), .97) 0%, rgba(var(--scrim), .78) 32%, rgba(var(--scrim), .15) 70%, rgba(var(--scrim), .05) 100%),
    radial-gradient(800px 400px at 0% 100%, rgba(var(--violet-rgb), .35), transparent 60%);
}
.hero__copy { position: relative; z-index: 2; display: grid; gap: 1rem; padding: clamp(1.4rem, 3.4vw, 2.6rem); max-width: 860px; animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero__title { font-size: clamp(1.75rem, 3.6vw, 3.15rem); line-height: 1.06; letter-spacing: -.035em; color: #fff; }
.hero__title a { background: linear-gradient(#fff, #fff) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.hero__title a:hover { background-size: 100% 2px; }
.hero__excerpt { color: rgba(232, 236, 250, .82); font-size: 1.05rem; line-height: 1.55; max-width: 62ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .25rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; color: rgba(210, 216, 235, .7); font-size: .82rem; }
.hero__meta > * + *::before { content: "·"; margin-right: .8rem; }
.hero__side { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.hero__side .kicker { margin: 0 0 .1rem .2rem; }
.stack-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) 92px; gap: .9rem; align-items: center;
  flex: 1;
  padding: .85rem .85rem .85rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.stack-item:hover { transform: translateX(-3px); border-color: var(--line-strong); }
.stack-item__num { align-self: start; font: 700 1.6rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stack-item__body { display: grid; gap: .35rem; min-width: 0; }
.stack-item__title { font: 600 .97rem/1.35 var(--display); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.stack-item:hover .stack-item__title { color: color-mix(in srgb, var(--violet) 55%, var(--text)); }
.stack-item__time { font-size: .74rem; color: var(--faint); }
.stack-item__thumb { width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.stack-item__thumb img, .stack-item__thumb .card__fallback { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home: market dashboard ---------- */
.dash { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr); gap: 1.25rem; padding: .5rem 0 1.5rem; }
.dash__coins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.coin-tile {
  display: flex; flex-direction: column; gap: .6rem;
  padding: 1rem 1rem .85rem;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.coin-tile:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.coin-tile.is-up { background: linear-gradient(180deg, transparent 40%, rgba(var(--up-rgb), .07)), var(--surface); }
.coin-tile.is-down { background: linear-gradient(180deg, transparent 40%, rgba(var(--down-rgb), .07)), var(--surface); }
.coin-tile__head { display: flex; align-items: center; gap: .6rem; }
.coin-tile__logo { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.coin-tile__logo--letter, .mover__letter {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: var(--grad); color: #fff; font: 700 .85rem/1 var(--display);
}
.coin-tile__id { display: grid; min-width: 0; line-height: 1.2; }
.coin-tile__id strong { font-family: var(--display); font-size: .98rem; }
.coin-tile__id span { color: var(--faint); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-tile .chg { margin-left: auto; }
.coin-tile__px { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; }
.coin-tile__foot { display: none; font-size: .7rem; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.spark { display: block; flex: 1; min-height: 56px; margin: 0 -1rem -.85rem; }
.spark svg { width: 100%; height: 100%; overflow: visible; }
.spark path.line { fill: none; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.spark .is-up .line { stroke: var(--up); filter: drop-shadow(0 0 6px rgba(var(--up-rgb), .6)); }
.spark .is-down .line { stroke: var(--down); filter: drop-shadow(0 0 6px rgba(var(--down-rgb), .6)); }
.spark:empty { background: linear-gradient(90deg, transparent, var(--surface-2), transparent) 0 0 / 200% 100%; border-radius: 8px; margin: 0; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.pulse-card {
  display: flex; flex-direction: column;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid rgba(var(--violet-rgb), .25); border-radius: var(--r-lg);
  background: radial-gradient(360px 200px at 50% 0%, rgba(var(--violet-rgb), .2), transparent 70%), var(--surface);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.pulse-card__head { display: flex; justify-content: space-between; align-items: center; }
.pulse-card__head .kicker { margin: 0; }
.gauge { position: relative; width: 136px; margin: .35rem auto 0; }
.gauge svg { width: 100%; height: auto; }
.gauge__needle {
  position: absolute; left: 50%; bottom: 9%;
  width: 3px; height: 62%;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--text);
  transform-origin: 50% 100%;
  transform: rotate(var(--deg, 0deg));
  transition: transform 1.2s var(--ease);
  box-shadow: 0 0 10px rgba(255, 255, 255, .4);
}
.gauge__hub { position: absolute; left: 50%; bottom: 5%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 4px var(--surface-solid); }
.pulse-card__state { text-align: center; font: 700 1.1rem/1.2 var(--display); }
.pulse-card__state--risk-on { color: var(--up); }
.pulse-card__state--risk-off { color: var(--down); }
.pulse-card__state--neutral { color: var(--warn); }
.pulse-card__sub { text-align: center; color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.pulse-card__stats { display: grid; gap: .5rem; margin: .7rem 0 0; padding-top: .7rem; border-top: 1px solid var(--line); }
.pulse-card__stats div { display: grid; grid-template-columns: 1fr auto; gap: .35rem .5rem; align-items: center; }
.pulse-card__stats dt { color: var(--muted); font-size: .8rem; }
.pulse-card__stats dd { margin: 0; font-size: .85rem; font-weight: 600; }
.bar { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f7931a, #ffc46b); }
.bar--alt i { background: linear-gradient(90deg, #627eea, #a5b4fc); }

/* ---------- Home: picks, split, tabs, videos ---------- */
.picks { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.picks__item { display: flex; min-width: 0; }
.picks__item > .card { flex: 1; }
.picks__item--lead { grid-row: 1 / span 3; }
.picks__item--lead .card { min-height: 480px; }
.picks .card--horizontal .card__media { flex-basis: 40%; max-width: 190px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.split__main { min-width: 0; }
.split__side { position: sticky; top: calc(var(--nav-h) + 1rem); display: grid; gap: 1.1rem; min-width: 0; }

.movers { display: grid; gap: .1rem; }
.mover {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) 52px auto; gap: .7rem; align-items: center;
  padding: .55rem .5rem; margin: 0 -.5rem;
  border-radius: 10px;
  transition: background .2s var(--ease);
}
.mover:hover { background: var(--surface-2); }
.mover img { width: 24px; height: 24px; border-radius: 50%; }
.mover .mover__letter { width: 24px; height: 24px; font-size: .7rem; }
.mover__id { display: grid; line-height: 1.25; min-width: 0; }
.mover__id strong { font-size: .88rem; }
.mover__id span { font-size: .74rem; color: var(--muted); }
.mover__bar { height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.mover__bar i { display: block; height: 100%; border-radius: inherit; }
.mover__bar--up i { background: var(--up); }
.mover__bar--down i { background: var(--down); margin-left: auto; }
.mover .chg { min-width: 70px; justify-content: flex-end; font-size: .74rem; }
.ranked { display: flex; flex-direction: column; }
.ranked--plain { list-style: none; margin: 0; padding: 0; gap: .9rem; }
.ranked--plain li { display: flex; gap: .8rem; align-items: flex-start; font-size: .92rem; line-height: 1.4; }
.ranked--plain a:hover { color: var(--violet); }

.sec-head--tabs { align-items: flex-end; flex-wrap: wrap; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tabs__btn { padding: .5rem .95rem; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: .86rem; font-weight: 500; white-space: nowrap; transition: color .2s, background .2s; }
.tabs__btn:hover { color: var(--text); }
.tabs__btn.is-active { background: var(--grad); color: #fff; box-shadow: 0 6px 18px -6px rgba(var(--violet-rgb), .8); }
.tabs--sm .tabs__btn { padding: .38rem .7rem; font-size: .78rem; font-family: var(--mono); }
.tabs__panel { animation: rise .45s var(--ease); }
.tabs__more { margin-top: 1.1rem; }

.vids { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.25rem; }
.vids__side { display: grid; gap: .8rem; align-content: start; }
.vid { display: flex; flex-direction: column; gap: .75rem; min-width: 0; border-radius: var(--r-lg); }
.vid__thumb { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--surface-2); }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vid:hover .vid__thumb img { transform: scale(1.05); }
.vid__play {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.vid:hover .vid__play { transform: scale(1.1); background: var(--violet); border-color: transparent; box-shadow: 0 0 40px rgba(var(--violet-rgb), .8); }
.vid__play--sm { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.vid__title { font: 600 1rem/1.35 var(--display); letter-spacing: -.01em; }
.vid--lead .vid__title { font-size: 1.3rem; }
.vid__title--lg { font-size: 1.4rem; }
.vid:hover .vid__title { color: color-mix(in srgb, var(--violet) 55%, var(--text)); }
.vid--row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: .9rem; align-items: center; padding: .5rem; border: 1px solid var(--line); background: var(--surface); }
.vid--row .vid__thumb { border-radius: 10px; border: 0; }
.vid--row .vid__title { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vid--card { padding-bottom: .25rem; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--glow { box-shadow: var(--glow); }
.vid--player { gap: .9rem; }

/* ---------- Page heads ---------- */
.phead { padding: 2.75rem 0 1.5rem; }
.phead__title { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; }
.phead__lead { margin-top: .9rem; max-width: 62ch; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: 1.1rem; color: var(--faint); font-size: .82rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--violet); }
.crumbs [aria-current] { color: var(--muted); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-lead { margin-bottom: 1.25rem; }
.cat-lead .card { min-height: 440px; }
.cat-lead .card__body--over { max-width: 820px; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem; padding: 2.5rem 0 1rem; }
.pager__btn {
  display: inline-grid; place-items: center;
  min-width: 42px; height: 42px; padding: 0 .8rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); font-weight: 600; font-size: .9rem;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.pager__btn:hover { border-color: rgba(var(--violet-rgb), .5); color: var(--violet); }
.pager__btn.is-current { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -8px rgba(var(--violet-rgb), .8); }
.pager__gap { color: var(--faint); padding: 0 .2rem; }

/* ---------- Article ---------- */
.post { padding-bottom: 1rem; }
.post__head { padding: 2.5rem 0 1.75rem; }
.post__head--flush { padding-top: 0; }
.post__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.post__title {
  font-size: clamp(1.65rem, 1.05rem + 2vw, 2.65rem);
  line-height: 1.16;
  letter-spacing: -.028em;
  text-wrap: pretty;
  font-variant-numeric: lining-nums;
}
.post__deck {
  margin-top: 1.1rem; padding-left: 1rem;
  border-left: 2px solid; border-image: var(--grad) 1;
  color: var(--muted); font-size: clamp(1rem, .95rem + .25vw, 1.1rem); line-height: 1.65;
  text-wrap: pretty;
}
.post__byline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.5rem; color: var(--muted); font-size: .86rem; }
.post__byline > * { white-space: nowrap; }
.post__deck-more { display: none; }
.post__byline time + .post__read::before, .post__byline .post__author + time::before { content: ""; display: inline-block; width: 3px; height: 3px; margin-right: 1rem; border-radius: 50%; background: var(--faint); vertical-align: middle; }
.post__author { color: var(--text); font-weight: 600; margin-left: -.25rem; }
.post__author a:hover { color: var(--violet); }
.post__read { display: inline-flex; align-items: center; gap: .35rem; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar--sm { width: 36px; height: 36px; }
.avatar--xl { width: 112px; height: 112px; box-shadow: var(--glow); }
.avatar--letter { display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 1.2rem/1 var(--display); }
.avatar--sm.avatar--letter { font-size: .9rem; }
.avatar--xl.avatar--letter { font-size: 2.6rem; }
.post__cover { margin-top: 0; margin-bottom: 2.25rem; }
.post__frame { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface-2); }
.post__frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post__cover figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: .65rem; color: var(--faint); font-size: .8rem; }
.post__cover cite { font-style: normal; color: var(--muted); }
.post__grid {
  --cols: 64px minmax(0, 1fr);
  display: grid; grid-template-columns: var(--cols); column-gap: 2.5rem;
  width: min(var(--wrap), calc(100% - var(--gutter))); margin-inline: auto;
}
.post--toc .post__grid { --cols: 64px minmax(0, 1fr) 280px; }
.post__head > *, .post__cover > * { grid-column: 1 / -1; }
.post__main { min-width: 0; }
.post__rail-sticky { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.post__aside { min-width: 0; }
.post__rail .share { flex-direction: column; }
.post__rail .share__label, .post__rail .share__text { display: none; }
.post__share-mobile { display: none; margin: 1.75rem 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.share__label { font: 600 .72rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-right: .25rem; }
.share__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-width: 44px; height: 44px; padding: 0 .85rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--muted);
  font-size: .85rem; font-weight: 500;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.share__btn:hover { color: var(--text); border-color: rgba(var(--violet-rgb), .5); transform: translateY(-2px); background: rgba(var(--violet-rgb), .1); }
.share__btn.is-copied { color: var(--up); border-color: rgba(var(--up-rgb), .5); }
.post__rail .share__btn { width: 44px; padding: 0; }
.share-toast {
  position: fixed; left: 50%; bottom: 2rem; z-index: 160;
  padding: .7rem 1.1rem; border-radius: 12px;
  background: var(--text); color: var(--bg);
  font-size: .88rem; font-weight: 600;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.share-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

.brief {
  display: grid; gap: 1.2rem;
  margin-bottom: 2rem; padding: 1.4rem 1.5rem;
  border: 1px solid rgba(var(--violet-rgb), .3); border-radius: var(--r-lg);
  background: var(--grad-soft), var(--surface);
  box-shadow: var(--shadow);
}
.brief__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .65rem; }
.brief__list li { position: relative; padding-left: 1.5rem; font-size: 1.02rem; font-weight: 500; line-height: 1.5; }
.brief__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); box-shadow: 0 0 10px rgba(var(--violet-rgb), .7); }
.brief__why { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.brief__why p:last-child { line-height: 1.6; }

.market-ctx { margin-bottom: 2rem; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.datapoints { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.datapoint { padding: .8rem .9rem; border-radius: 12px; background: var(--surface-2); }
.datapoint span { display: block; color: var(--muted); font-size: .76rem; margin-bottom: .25rem; }
.datapoint strong { font-size: 1.1rem; }
.ctx-coins { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; }
.ctx-coin { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); font-size: .85rem; transition: border-color .2s var(--ease); }
.ctx-coin:hover { border-color: var(--line-strong); }

.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; counter-reset: toc; }
.toc a { display: block; padding: .4rem .7rem; border-left: 2px solid var(--line); color: var(--muted); font-size: .86rem; line-height: 1.4; transition: color .2s, border-color .2s, background .2s; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--text); border-left-color: var(--violet); background: linear-gradient(90deg, rgba(var(--violet-rgb), .12), transparent); }
.toc__item--h3 a { padding-left: 1.4rem; font-size: .82rem; }
.toc--rail { position: sticky; top: calc(var(--nav-h) + 1.5rem); max-height: calc(100vh - var(--nav-h) - 3rem); overflow-y: auto; }
.toc--inline { display: none; margin-bottom: 2rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.toc--inline summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
.toc--inline summary::-webkit-details-marker { display: none; }
.toc--inline summary .kicker { margin: 0; }
.toc--inline summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); }
.toc--inline[open] summary::after { content: "–"; }
.toc__count { margin-left: auto; margin-right: .8rem; color: var(--faint); font-size: .8rem; }
.toc--inline ol { padding: 0 1.2rem 1.1rem; }

/* Prose (article body, static pages, entity brief) */
.prose { font-size: 1.08rem; line-height: 1.8; color: color-mix(in srgb, var(--text) 88%, var(--muted)); overflow-wrap: anywhere; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.3em; }
.prose > p:first-child::first-letter { float: left; margin: .08em .12em 0 0; font: 700 3.6em/.8 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose--compact > p:first-child::first-letter, .doc .prose > p:first-child::first-letter { all: unset; }
.prose h2 { margin-top: 2.2em; font-size: 1.65rem; color: var(--text); scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.prose h3 { margin-top: 1.8em; font-size: 1.3rem; color: var(--text); scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose strong { color: var(--text); font-weight: 650; }
.prose a { color: var(--violet); text-decoration: underline; text-decoration-color: rgba(var(--violet-rgb), .4); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: text-decoration-color .2s; }
[data-theme="dark"] .prose a { color: var(--link); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--violet); }
.prose img { width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: .5rem; color: var(--faint); font-size: .84rem; }
.prose blockquote, .abody-quote {
  margin-inline: 0; padding: 1.1rem 1.4rem;
  border-left: 3px solid; border-image: var(--grad) 1;
  background: var(--surface);
  font-family: var(--display); font-size: 1.2rem; line-height: 1.5; color: var(--text);
}
.abody-quote cite { display: block; margin-top: .6rem; font: 500 .85rem/1.4 var(--font); color: var(--muted); font-style: normal; }
.prose hr { border: 0; height: 1px; background: var(--line-strong); margin: 2.5em 0; }
.prose code { padding: .12em .4em; border-radius: 6px; background: var(--surface-2); font: .88em var(--mono); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.abody-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.prose th, .prose td { padding: .7rem .85rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 600; }
.prose td:not(:first-child), .prose th:not(:first-child) { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .prose th, .prose td { padding: .6rem .55rem; } }
.abody-callout, .abody-takeaways, .abody-source-box, .abody-market-snapshot {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface);
  font-size: 1rem;
}
.abody-callout--tip { border-color: rgba(var(--up-rgb), .35); background: rgba(var(--up-rgb), .06); }
.abody-callout--warn { border-color: rgba(255, 181, 71, .4); background: rgba(255, 181, 71, .06); }
.abody-callout--danger { border-color: rgba(var(--down-rgb), .4); background: rgba(var(--down-rgb), .06); }
.abody-takeaways { border-color: rgba(var(--violet-rgb), .3); background: var(--grad-soft), var(--surface); }
.abody-takeaways ul { margin: .5rem 0 0; }
.abody-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; }
.abody-gallery figure { margin: 0; }
.abody-gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.abody-video, .abody-embed { position: relative; }
.abody-video { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.abody-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.abody-embed { display: flex; justify-content: center; }

.post__entities { margin-top: 2.5rem; }
.post__sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post__sources .kicker { margin-bottom: .75rem; }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; counter-reset: src; }
.sources__item {
  counter-increment: src; position: relative; padding-left: 2rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .55rem;
  font-size: .9rem; line-height: 1.5; color: var(--text);
}
.sources__item::before {
  content: counter(src, decimal-leading-zero); position: absolute; left: 0; top: .1rem;
  font: 500 .72rem/1.5 var(--mono); color: var(--muted);
}
.sources__publisher { font-weight: 600; }
.sources__title { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; overflow-wrap: anywhere; transition: color .2s var(--ease); }
a.sources__title:hover { color: var(--violet); text-decoration-color: rgba(var(--violet-rgb), .5); }
.sources__date { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.chips--tags { margin-top: 1.25rem; }
.chips--tags .chip { color: var(--muted); }
.post__videos { margin-top: 2.5rem; }
.post__videos .sec-head__title { margin-bottom: 1rem; }
.author-box { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.author-box--post { margin: 2.5rem 0 1.25rem; }
.author-box .kicker { margin-bottom: .2rem; }
.author-box__name { font-size: 1.15rem; margin-bottom: .3rem; }
.author-box__name a:hover { color: var(--violet); }
.author-box .muted { font-size: .92rem; }

/* ---------- Pages ---------- */
.profile { margin-top: 2rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--grad-soft), var(--surface); }
.profile__row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.profile__role { margin-top: .5rem; color: var(--cyan); font-weight: 500; }
.profile__bio { max-width: 60ch; margin: .7rem 0 1rem; }

.status-page { display: grid; place-items: center; min-height: 60vh; padding: 3rem 0; }
.status-card { display: grid; justify-items: center; gap: .8rem; max-width: 560px; padding: 2.5rem 2rem; text-align: center; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-lg); }
.status-card .phead__lead { margin: 0 0 .8rem; }
.status-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; }
.status-card__icon--ok { background: rgba(var(--up-rgb), .14); color: var(--up); box-shadow: 0 0 40px rgba(var(--up-rgb), .35); }
.status-card__icon--err { background: rgba(var(--down-rgb), .14); color: var(--down); }

.boards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.board--up { background: linear-gradient(180deg, rgba(var(--up-rgb), .08), transparent 50%), var(--surface); }
.board--down { background: linear-gradient(180deg, rgba(var(--down-rgb), .08), transparent 50%), var(--surface); }
.board--vol { background: linear-gradient(180deg, rgba(var(--violet-rgb), .1), transparent 50%), var(--surface); }
.board__row { display: grid; grid-template-columns: 1.4rem 1fr auto; gap: .7rem; align-items: center; padding: .6rem .45rem; margin: 0 -.45rem; border-radius: 10px; border-bottom: 1px solid var(--line); }
.board__row:last-child { border-bottom: 0; }
.board__row:hover { background: var(--surface-2); }
.board__rank { color: var(--faint); font-size: .78rem; }
.table-filter { position: relative; display: flex; align-items: center; width: min(280px, 100%); color: var(--faint); }
.table-filter svg { position: absolute; left: .85rem; }
.table-filter input { padding-left: 2.4rem; min-height: 42px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.mtable { width: 100%; border-collapse: collapse; min-width: 640px; }
.mtable th { position: sticky; top: 0; padding: .85rem 1rem; text-align: left; background: var(--surface-2); color: var(--muted); font: 600 .74rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.mtable td { padding: .8rem 1rem; border-top: 1px solid var(--line); font-size: .9rem; white-space: nowrap; }
.mtable tbody tr { transition: background .15s; }
.mtable tbody tr:hover { background: rgba(var(--violet-rgb), .06); }
.mtable .r { text-align: right; }
.coin-cell { display: flex; align-items: center; gap: .7rem; }
.coin-cell img { width: 26px; height: 26px; border-radius: 50%; }
.coin-cell .mover__letter { width: 26px; height: 26px; font-size: .72rem; }
.coin-cell span { display: grid; line-height: 1.25; }
.coin-cell em { font-style: normal; color: var(--faint); font-size: .76rem; }
.coin-cell:hover strong { color: var(--violet); }

.filters { display: grid; gap: .9rem; margin-bottom: 2rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 35px; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--violet), var(--cyan), transparent); opacity: .5; }
.timeline__item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.timeline__date { position: relative; z-index: 1; display: grid; justify-items: center; padding: .6rem 0; border: 1px solid rgba(var(--violet-rgb), .35); border-radius: 14px; background: var(--surface-solid); box-shadow: 0 0 24px -6px rgba(var(--violet-rgb), .6); }
.timeline__date strong { font-size: 1.4rem; line-height: 1.1; }
.timeline__date span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.timeline__card { display: grid; gap: .55rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.timeline__title { font: 600 1.05rem/1.35 var(--display); }
a.timeline__title:hover { color: var(--violet); }
.timeline__card .muted { font-size: .92rem; }

.phead--entity { padding-bottom: 1.25rem; }
.entity-head { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.entity-head__logo { width: 72px; height: 72px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--line), 0 0 40px -6px rgba(var(--violet-rgb), .6); background: var(--surface-2); }
.entity-head__logo--letter { display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 1.8rem/1 var(--display); }
.entity-head__text { display: grid; gap: .6rem; min-width: 0; }
.entity-head__text .kicker { margin: 0; }
.entity-head__sym { font: 600 .45em/1 var(--mono); padding: .3em .5em; border-radius: 8px; background: var(--surface-2); color: var(--muted); vertical-align: middle; letter-spacing: 0; }
.coin-hub {
  padding: 1.4rem;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: radial-gradient(700px 260px at 15% 0%, rgba(var(--violet-rgb), .16), transparent 60%), var(--surface);
  box-shadow: var(--shadow-lg);
}
.coin-hub.is-up { border-color: rgba(var(--up-rgb), .25); }
.coin-hub.is-down { border-color: rgba(var(--down-rgb), .25); }
.coin-hub__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.coin-hub__pair { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .82rem; }
.coin-hub__pair em { font-style: normal; color: var(--faint); }
.coin-hub__price { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: .35rem; }
.coin-hub__price strong { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; letter-spacing: -.03em; transition: color .4s; }
.coin-hub__chart { position: relative; margin: 1.25rem 0 1rem; }
.coin-hub__chart canvas { width: 100%; height: 340px; }
.coin-hub__empty { position: absolute; inset: 0; display: grid; place-items: center; }
.coin-hub__empty[hidden] { display: none; }
.coin-hub__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; margin: 0; }
.coin-hub__stats div { padding: .85rem 1rem; border-radius: 12px; background: var(--surface-2); }
.coin-hub__stats dt { color: var(--muted); font-size: .76rem; margin-bottom: .3rem; }
.coin-hub__stats dd { margin: 0; font-size: 1.05rem; font-weight: 600; }
.entity-brief { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.entity-brief__head { margin-bottom: 1rem; }
.prose--compact { font-size: 1rem; line-height: 1.75; }
.prose--compact.is-collapsed { max-height: 280px; overflow: hidden; mask-image: linear-gradient(#000 60%, transparent); -webkit-mask-image: linear-gradient(#000 60%, transparent); }
.entity-brief .btn { margin-top: 1rem; }

.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 3rem; padding: 2.5rem 0; align-items: start; }
.doc__nav { position: sticky; top: calc(var(--nav-h) + 1.5rem); padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.doc__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.doc__nav a { display: block; padding: .5rem .7rem; border-radius: 9px; color: var(--muted); font-size: .9rem; transition: color .2s, background .2s; }
.doc__nav a:hover { color: var(--text); background: var(--surface-2); }
.doc__nav a.is-active { color: var(--text); background: rgba(var(--violet-rgb), .14); box-shadow: inset 2px 0 0 var(--violet); }
.doc__nav, .doc__main { min-width: 0; }
.doc__main { max-width: 780px; }
.doc__head { padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }

.nf { padding: 3rem 0 1rem; }
.nf__hero { display: grid; justify-items: center; text-align: center; gap: .9rem; padding: 2rem 0 2.5rem; }
.nf__hero .phead__lead { margin: 0 auto .5rem; }
.nf__code { font: 700 clamp(6rem, 22vw, 11rem)/.9 var(--display); letter-spacing: -.06em; filter: drop-shadow(0 0 40px rgba(var(--violet-rgb), .5)); }
.nf__path code { padding: .3rem .6rem; border-radius: 8px; background: var(--surface-2); font: .82rem var(--mono); color: var(--muted); }

.search { padding: 2.5rem 0 1rem; }
.search__hero { display: grid; justify-items: center; gap: 1.1rem; text-align: center; margin-bottom: 2.5rem; }
.search__form { width: min(760px, 100%); display: grid; gap: .75rem; }
.search__bar { position: relative; display: flex; align-items: center; gap: .6rem; padding: .45rem .45rem .45rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface-solid); box-shadow: var(--shadow-lg); color: var(--muted); }
.search__bar:focus-within { border-color: rgba(var(--violet-rgb), .6); box-shadow: var(--shadow-lg), 0 0 0 4px rgba(var(--violet-rgb), .15); }
.search__bar input { flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none; padding: .5rem 0; font-size: 1.08rem; }
.search__bar input:focus { box-shadow: none; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + .5rem); z-index: 20; padding: .4rem; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface-solid); box-shadow: var(--shadow-lg); text-align: left; }
.suggest[hidden] { display: none; }
.suggest a { display: flex; gap: .7rem; align-items: center; padding: .6rem .7rem; border-radius: 9px; color: var(--text); font-size: .92rem; }
.suggest a:hover, .suggest a.is-active { background: rgba(var(--violet-rgb), .14); }
.suggest a span { flex: none; padding: .18rem .4rem; border-radius: 6px; background: var(--surface-2); color: var(--muted); font: 600 .64rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.search__filters { text-align: left; }
.search__filters summary { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; color: var(--muted); font-size: .88rem; list-style: none; }
.search__filters summary::-webkit-details-marker { display: none; }
.search__filters summary::before { content: "⚙"; }
.search__selects { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin-top: .75rem; }
.field { display: grid; gap: .3rem; font-size: .76rem; color: var(--muted); }
.field select { min-height: 42px; padding: .5rem .7rem; font-size: .88rem; }
.search__explore { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem; }
.coin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.coin-chip-lg { display: flex; align-items: center; gap: .7rem; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.coin-chip-lg:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.coin-chip-lg span:last-child { display: grid; line-height: 1.2; min-width: 0; }
.coin-chip-lg em { font-style: normal; font-size: .76rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Footer ---------- */
.foot { position: relative; margin-top: 4rem; padding: 3rem 0 2rem; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, var(--bg-2)); }
.foot__cta {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: center;
  margin-bottom: 3.5rem; padding: 2.5rem;
  border: 1px solid rgba(var(--violet-rgb), .3); border-radius: var(--r-xl);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(var(--violet-rgb), .3), transparent 60%),
    radial-gradient(500px 260px at 100% 100%, rgba(var(--cyan-rgb), .18), transparent 60%),
    var(--surface-solid);
  box-shadow: var(--shadow-lg);
}
.foot__cta-title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.foot__cta .inline-form { justify-self: end; }
.foot__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.foot__brand { display: grid; gap: 1rem; align-content: start; }
.foot__brand .muted { max-width: 32ch; font-size: .92rem; }
.foot__social { display: flex; flex-wrap: wrap; gap: .5rem; }
.foot__title { margin-bottom: 1rem; font: 600 .74rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.foot__link { display: block; padding: .3rem 0; color: var(--muted); font-size: .9rem; transition: color .2s, transform .2s; }
.foot__link:hover { color: var(--text); transform: translateX(2px); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .82rem; }
.foot__bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80;
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: var(--surface-solid); color: var(--text);
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), border-color .25s;
}
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-3px); border-color: rgba(var(--violet-rgb), .6); }

/* ---------- Motion ---------- */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.flash-up { animation: flash-up 1.2s var(--ease); }
.flash-down { animation: flash-down 1.2s var(--ease); }
@keyframes flash-up { 0% { color: var(--up); text-shadow: 0 0 14px rgba(var(--up-rgb), .9); } }
@keyframes flash-down { 0% { color: var(--down); text-shadow: 0 0 14px rgba(var(--down-rgb), .9); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker__viewport { overflow-x: auto; scrollbar-width: none; }
}

/* ---------- Light-mode touch-ups ---------- */
[data-theme="light"] .card, [data-theme="light"] .panel, [data-theme="light"] .stack-item, [data-theme="light"] .coin-tile { border-color: rgba(15, 16, 40, .06); }
[data-theme="light"] .card__cat { color: #0e7490; }
[data-theme="light"] .gauge__needle { box-shadow: none; }
[data-theme="light"] .foot__cta-title, [data-theme="light"] .foot__cta .muted { color: var(--text); }
[data-theme="light"] .pill--accent { color: var(--violet); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .live-pill { display: none; }
  .post--toc .post__grid { --cols: 64px minmax(0, 1fr); }
  .post__aside { display: none; }
  .split { grid-template-columns: minmax(0, 1fr) 310px; gap: 1.5rem; }
  .toc--inline { display: block; }
}
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-grid; }
  .icon-btn--social { display: none; }
  .hero { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); }
  .stack-item { grid-template-columns: auto minmax(0, 1fr); }
  .stack-item__thumb { display: none; }
  .dash { grid-template-columns: 1fr; }
  .dash__coins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulse-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.5rem; align-items: center; }
  .pulse-card__head { grid-column: 1 / -1; }
  .pulse-card .gauge { grid-row: span 2; margin: .5rem 0 0; }
  .pulse-card__state, .pulse-card__sub { text-align: left; }
  .pulse-card__stats { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: repeat(3, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
  .search__selects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero__side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__side .kicker { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split__side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 860px) {
  :root { --nav-h: 62px; }
  .search-trigger__text, .search-trigger__kbd { display: none; }
  .search-trigger { width: 38px; padding: 0; justify-content: center; }
  .picks { grid-template-columns: 1fr; grid-template-rows: none; }
  .picks__item--lead { grid-row: auto; }
  .picks__item--lead .card { min-height: 380px; }
  .vids { grid-template-columns: 1fr; }
  .boards { grid-template-columns: 1fr; }
  .post__grid, .post--toc .post__grid { --cols: minmax(0, 1fr); width: calc(100% - var(--gutter)); column-gap: 0; }
  .post__head > *, .post__cover > *, .post--toc .post__cover > *, .post--toc .post__head > * { grid-column: 1; }
  .post__head .crumbs [aria-current], .post__head .crumbs__sep:last-of-type { display: none; }
  .post__rail { display: none; }
  .post__share-mobile { display: block; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: 1.5rem; }
  .doc__nav { position: static; padding: .6rem; }
  .doc__nav .kicker { display: none; }
  .doc__nav ul { display: flex; overflow-x: auto; scrollbar-width: none; gap: .3rem; }
  .doc__nav a { white-space: nowrap; }
  .foot__cta { grid-template-columns: 1fr; padding: 1.75rem; }
  .foot__cta .inline-form { justify-self: stretch; max-width: none; }
  .search__explore { grid-template-columns: 1fr; }
  .split__side { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 2rem; }
  .brand__img { height: 38px; max-width: 170px; }
  .nav__actions { gap: .35rem; }
  .ticker__label { padding: 0 .7rem; }
  .hero { padding-top: 1rem; }
  .hero__lead { min-height: 470px; border-radius: var(--r-lg); }
  .hero__side { grid-template-columns: 1fr; }
  .hero__foot .btn { width: 100%; }
  .stack-item { grid-template-columns: auto minmax(0, 1fr) 76px; }
  .stack-item__thumb { display: block; width: 76px; height: 76px; }
  .dash__coins { gap: .7rem; }
  .coin-tile { padding: .85rem .85rem .7rem; }
  .coin-tile__head { flex-wrap: wrap; }
  .coin-tile .chg { margin-left: 0; }
  .coin-tile__id span { display: none; }
  .spark { margin: 0 -.85rem; min-height: 38px; max-height: 60px; }
  .pulse-card { display: flex; align-items: stretch; }
  .pulse-card .gauge { margin: .7rem auto 0; }
  .pulse-card__state, .pulse-card__sub { text-align: center; }
  .pulse-card__stats { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .card--horizontal .card__media { flex-basis: 34%; max-width: 128px; min-height: 104px; }
  .card--horizontal .card__excerpt { display: none; }
  .card--feature, .card--hero { min-height: 380px; }
  .card__body--over { padding: 1.2rem; }
  .sec-head { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .sec-head--tabs .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .vid--row { grid-template-columns: 120px minmax(0, 1fr); }
  .phead { padding-top: 2rem; }
  .post__head { padding-top: 1.5rem; padding-bottom: 1.25rem; }
  .post__deck { padding-left: .85rem; }
  .post__byline { gap: .4rem .8rem; font-size: .82rem; }
  .post__byline time + .post__read::before, .post__byline .post__author + time::before { margin-right: .8rem; }
  .post__byline .post__author { flex: 1 1 calc(100% - 52px); }
  .post__byline .post__author + time::before { display: none; }
  .post__deck { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
  .post__deck.is-open { display: block; }
  .post__deck-more { display: inline-block; justify-self: start; margin-top: .35rem; padding: 0 0 0 .85rem; text-align: left; border: 0; background: none; color: var(--violet); font-size: .85rem; font-weight: 600; }
  [data-theme="dark"] .post__deck-more { color: var(--link); }
  .post__frame { border-radius: var(--r-lg); }
  .prose { font-size: 1.03rem; }
  .brief { padding: 1.15rem; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__bottom { flex-direction: column; }
  .search__selects { grid-template-columns: 1fr 1fr; }
  .inline-form { flex-direction: column; }
  .inline-form .btn { width: 100%; }
  .timeline::before { left: 27px; }
  .timeline__item { grid-template-columns: 56px minmax(0, 1fr); gap: .8rem; }
  .coin-hub { padding: 1.1rem; }
  .coin-hub__chart canvas { height: 240px; }
  .to-top { right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .desktop-only { display: none; }
  .mobile-only { display: flex; }
  .ad-band--sticky { position: sticky; bottom: 0; z-index: 40; padding: .35rem .75rem calc(.35rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  .ad-band--sticky .promo-slot { max-width: min(100%, 320px); }
  .ad-band--rail { display: none; }
}
@media (max-width: 400px) {
  .live-pill, [data-theme-cycle] { display: none; }
}

/* ---------- Markets page (advanced) ---------- */
.coin-logo { width: 28px; height: 28px; border-radius: 50%; flex: none; object-fit: cover; background: var(--surface-2); }
.coin-logo--letter { display: inline-grid; place-items: center; background: var(--grad); color: #fff; font: 700 .72rem/1 var(--display); }
.board__coin .coin-logo { width: 24px; height: 24px; }

.mk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: .5rem; }
.stat {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.stat__label { font: 600 .72rem/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat__value { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.stat__slash { margin: 0 .3rem; color: var(--faint); }
.stat__sub { margin-top: auto; color: var(--faint); font-size: .78rem; }
.breadth, .share-bar { display: flex; height: 6px; gap: 2px; border-radius: 6px; overflow: hidden; background: var(--surface-3); margin: .2rem 0; }
.breadth i, .share-bar i { display: block; height: 100%; }
.breadth__up { background: var(--up); box-shadow: 0 0 10px rgba(var(--up-rgb), .5); }
.breadth__down { background: var(--down); }
.share-bar__btc { background: linear-gradient(90deg, #f7931a, #ffb547); }
.share-bar__eth { background: linear-gradient(90deg, #627eea, #a5b4fc); }
.c-btc { color: #f7931a; }
.c-eth { color: #8ea2f2; }

.mk-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 1.5rem; align-items: start; }
.mk-side { display: grid; gap: 1.1rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.mk-heat, .mk-side, .mk-side > * { min-width: 0; }
.conv__row input[type="text"] { width: auto; }
.heat-legend { display: flex; align-items: center; gap: .5rem; color: var(--faint); font: 500 .72rem/1 var(--mono); }
.heat-legend i { width: 120px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #b3203b, #5c1a2a, var(--surface-3), #11573d, #0fa86d); }
.heat { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: 78px; grid-auto-flow: dense; gap: 6px; }
.heat__tile {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .15rem;
  min-width: 0; padding: .4rem;
  border-radius: 12px;
  color: #fff; text-align: center;
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .25s var(--ease), filter .25s var(--ease), box-shadow .25s var(--ease);
  overflow: hidden;
}
.heat__tile:hover { transform: scale(1.03); z-index: 2; filter: brightness(1.15); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); }
.heat__tile strong { font: 700 .95rem/1.1 var(--display); letter-spacing: -.01em; }
.heat__tile span { font-size: .78rem; font-weight: 600; opacity: .95; }
.heat__tile em { font-style: normal; font-size: .68rem; opacity: .7; display: none; }
.heat__tile--xl { grid-column: span 3; grid-row: span 3; }
.heat__tile--lg { grid-column: span 2; grid-row: span 2; }
.heat__tile--md { grid-column: span 2; }
.heat__tile--xl strong { font-size: 2.1rem; }
.heat__tile--xl span { font-size: 1.15rem; }
.heat__tile--lg strong { font-size: 1.4rem; }
.heat__tile--lg span { font-size: .95rem; }
.heat__tile--xl em, .heat__tile--lg em { display: block; font-size: .8rem; }
.heat--up0 { background: #1b3a31; }
.heat--up1 { background: #145c42; }
.heat--up2 { background: #0e8457; }
.heat--up3 { background: #0bb874; box-shadow: inset 0 0 30px rgba(255, 255, 255, .12); }
.heat--down0 { background: #3d2129; }
.heat--down1 { background: #6b1f31; }
.heat--down2 { background: #9a1e39; }
.heat--down3 { background: #d0223f; box-shadow: inset 0 0 30px rgba(255, 255, 255, .12); }
.heat--flat { background: var(--surface-3); color: var(--text); }
.heat__tile .up, .heat__tile .down { color: inherit; }

.conv__row { display: flex; align-items: center; gap: .5rem; padding: .35rem .4rem .35rem .8rem; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg-2); }
.conv__row:focus-within { border-color: rgba(var(--violet-rgb), .7); box-shadow: 0 0 0 4px rgba(var(--violet-rgb), .15); }
.conv__row input { flex: 1; min-width: 0; min-height: 40px; padding: 0; border: 0; background: transparent; box-shadow: none; font: 600 1.15rem/1 var(--mono); }
.conv__row input:focus { box-shadow: none; }
.conv__row input::-webkit-outer-spin-button, .conv__row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.conv__row select { width: auto; max-width: 110px; flex: none; min-height: 36px; padding: .3rem 1.8rem .3rem .7rem; border-radius: 10px; background-color: var(--surface-2); font: 600 .85rem/1 var(--font); }
.conv__unit { padding: .45rem .75rem; border-radius: 10px; background: var(--surface-2); font: 600 .85rem/1 var(--font); color: var(--muted); }
.conv__swap {
  display: grid; place-items: center; width: 36px; height: 36px; margin: -.35rem auto; position: relative; z-index: 1;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-solid); color: var(--text);
  transition: transform .35s var(--ease), border-color .2s;
}
.conv__swap:hover { border-color: rgba(var(--violet-rgb), .6); }
.conv.is-reversed .conv__swap { transform: rotate(180deg); }
.mk-sent .muted { font-size: .88rem; }

.board__row { grid-template-columns: 1.4rem minmax(0, 1fr) auto; }
.board__coin { display: flex; align-items: center; gap: .55rem; min-width: 0; }

.mk-toolbar { flex-wrap: wrap; }
.mk-controls { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.mk-controls .table-filter { width: 220px; }
.tabs__count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: .2rem; padding: 0 .3rem; border-radius: 9px; background: rgba(255, 255, 255, .18); font-size: .66rem; }
.tabs__count:empty { display: none; }

.mtable--pro { min-width: 860px; }
.mtable--pro th { padding: .7rem .9rem; }
.mtable--pro td { padding: .7rem .9rem; }
.sort { display: inline-flex; align-items: center; gap: .3rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.sort::after { content: "↕"; opacity: .35; font-size: .85em; }
.sort:hover { color: var(--text); }
.sort.is-sorted { color: var(--text); }
.sort.is-sorted[data-dir="asc"]::after { content: "↑"; opacity: 1; color: var(--violet); }
.sort.is-sorted[data-dir="desc"]::after { content: "↓"; opacity: 1; color: var(--violet); }
.mtable__fav { width: 36px; padding-right: 0 !important; }
.fav { padding: .2rem; border: 0; background: none; color: var(--faint); font-size: 1rem; line-height: 1; transition: color .2s, transform .2s; }
.fav:hover { color: var(--warn); transform: scale(1.15); }
.fav.is-on { color: var(--warn); text-shadow: 0 0 10px rgba(255, 181, 71, .6); }
.range { display: grid; grid-template-columns: auto minmax(70px, 1fr) auto; align-items: center; gap: .55rem; min-width: 230px; font-size: .74rem; color: var(--faint); }
.range__bar { position: relative; height: 5px; border-radius: 5px; background: linear-gradient(90deg, rgba(var(--down-rgb), .55), rgba(var(--up-rgb), .55)); }
.range__bar i { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 3px var(--surface-solid); }
.vshare { display: inline-grid; justify-items: end; gap: .3rem; min-width: 80px; }
.vshare i { display: block; height: 4px; border-radius: 4px; background: var(--grad); justify-self: end; max-width: 80px; }
.mtable__empty td { padding: 2rem 1rem; text-align: center; color: var(--muted); }
.mtable tbody tr[hidden] { display: none; }

@media (max-width: 1100px) {
  .mk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-top { grid-template-columns: minmax(0, 1fr); }
  .mk-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .heat { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mk-stats { gap: .7rem; }
  .stat { padding: .9rem; }
  .stat__value { font-size: 1.2rem; }
  .mk-side { grid-template-columns: 1fr; }
  .heat { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 64px; gap: 4px; }
  .heat__tile--xl { grid-column: span 4; grid-row: span 2; }
  .heat__tile--lg { grid-column: span 2; grid-row: span 2; }
  .heat__tile--md { grid-column: span 2; }
  .heat__tile--xl strong { font-size: 1.6rem; }
  .heat__tile:nth-child(n+22) { display: none; } /* 4×11 cells on phones */
  .heat-legend { display: none; }
  .mk-controls, .mk-controls .table-filter { width: 100%; }
  .mk-controls .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .mtable--pro { min-width: 520px; }
  .mtable--pro th, .mtable--pro td { padding: .6rem .55rem; }
  .mtable--pro .mtable__coin { position: sticky; left: 0; z-index: 1; background: var(--surface-solid); }
  .mtable--pro .coin-cell em { display: none; }
}

/* ---------- Calendar ---------- */
.type--unlock { --tc: #f59e0b; --tc-rgb: 245, 158, 11; }
.type--etf { --tc: #22d3ee; --tc-rgb: 34, 211, 238; }
.type--fed { --tc: #60a5fa; --tc-rgb: 96, 165, 250; }
.type--upgrade { --tc: #60a5fa; --tc-rgb: 96, 165, 250; }
.type--airdrop { --tc: #f472b6; --tc-rgb: 244, 114, 182; }
.type--launch { --tc: #34d399; --tc-rgb: 52, 211, 153; }
.type--regulatory { --tc: #f87171; --tc-rgb: 248, 113, 113; }
.type--other { --tc: #94a3b8; --tc-rgb: 148, 163, 184; }
[data-theme="light"] .type--unlock { --tc: #b45309; }
[data-theme="light"] .type--etf { --tc: #0e7490; }
[data-theme="light"] .type--fed { --tc: #1d4ed8; }
[data-theme="light"] .type--upgrade { --tc: #6d28d9; }
[data-theme="light"] .type--airdrop { --tc: #be185d; }
[data-theme="light"] .type--launch { --tc: #047857; }
[data-theme="light"] .type--regulatory { --tc: #b91c1c; }
[data-theme="light"] .type--other { --tc: #475569; }

.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.cal-kpis { display: flex; gap: .75rem; margin: 0; }
.cal-kpis div { min-width: 96px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-align: center; }
.cal-kpis dt { font: 600 .68rem/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cal-kpis dd { margin: .3rem 0 0; font-size: 1.5rem; font-weight: 600; }

.type-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .6rem; border-radius: 999px;
  background: rgba(var(--tc-rgb), .14); color: var(--tc);
  border: 1px solid rgba(var(--tc-rgb), .3);
  font: 600 .72rem/1 var(--font);
}

.next-ev {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center;
  padding: 1.6rem 1.75rem;
  border: 1px solid rgba(var(--tc-rgb), .35); border-radius: var(--r-xl);
  background:
    radial-gradient(600px 260px at 0% 0%, rgba(var(--tc-rgb), .18), transparent 60%),
    radial-gradient(500px 240px at 100% 100%, rgba(var(--violet-rgb), .16), transparent 60%),
    var(--surface-solid);
  box-shadow: var(--shadow-lg);
}
.next-ev__title { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.2; margin: .2rem 0 .8rem; text-wrap: pretty; }
.next-ev__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; color: var(--muted); font-size: .88rem; }
.next-ev__sum { margin-top: .8rem; max-width: 70ch; font-size: .95rem; }
.next-ev__side { display: grid; gap: 1rem; justify-items: center; }
.next-ev__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 74px); gap: .5rem; }
.countdown div { display: grid; justify-items: center; padding: .7rem .3rem .55rem; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg-2); }
.countdown strong { font-size: 1.9rem; font-weight: 600; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.countdown span { margin-top: .35rem; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.countdown.is-live { display: block; }
.countdown__live { display: flex; align-items: center; gap: .5rem; font: 700 1.3rem/1 var(--display); color: var(--up); }

.cal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.cal-bar__right { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.cal-bar .tabs a.tabs__btn { display: inline-flex; align-items: center; }
.switch { display: inline-flex; align-items: center; gap: .55rem; font-size: .86rem; color: var(--muted); cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track { position: relative; width: 38px; height: 22px; border-radius: 22px; background: var(--surface-3); border: 1px solid var(--line-strong); transition: background .2s; }
.switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text); transition: transform .25s var(--ease); }
.switch input:checked + .switch__track { background: var(--grad); border-color: transparent; }
.switch input:checked + .switch__track::after { transform: translateX(16px); background: #fff; }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--cyan); outline-offset: 2px; }
.switch input:checked ~ span:last-child { color: var(--text); }

.type-filter { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.75rem; }
.type-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .8rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: .84rem; font-weight: 500;
  transition: border-color .2s, color .2s, background .2s;
}
.type-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--tc); box-shadow: 0 0 8px rgba(var(--tc-rgb), .7); }
.type-chip span { color: var(--faint); font-size: .74rem; }
.type-chip:hover { color: var(--text); border-color: var(--line-strong); }
.type-chip.is-active { color: var(--text); border-color: rgba(var(--tc-rgb, var(--violet-rgb)), .6); background: rgba(var(--tc-rgb, var(--violet-rgb)), .14); }
.type-chip:not([class*="type--"]).is-active { border-color: rgba(var(--violet-rgb), .6); background: rgba(var(--violet-rgb), .14); }

.agenda { display: grid; gap: 2rem; }
.agenda__day[hidden] { display: none; }
.agenda__day { scroll-margin-top: calc(var(--nav-h) + 1rem); border-radius: var(--r-lg); transition: box-shadow .4s; }
.agenda__day.is-flash { box-shadow: 0 0 0 2px rgba(var(--violet-rgb), .6), 0 0 40px -10px rgba(var(--violet-rgb), .7); }
.agenda__head {
  position: sticky; top: var(--nav-h); z-index: 5;
  display: flex; align-items: center; gap: .9rem;
  padding: .65rem .2rem; margin-bottom: .6rem;
  background: linear-gradient(var(--bg) 75%, transparent);
}
.agenda__date { display: grid; justify-items: center; width: 54px; padding: .4rem 0; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-solid); }
.agenda__date strong { font-size: 1.3rem; line-height: 1.1; }
.agenda__date span { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.is-today .agenda__date { border-color: transparent; background: var(--grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(var(--violet-rgb), .8); }
.is-today .agenda__date span { color: rgba(255, 255, 255, .85); }
.agenda__rel { font-size: 1.15rem; }
.agenda__long { color: var(--muted); font-size: .82rem; }
.agenda__count { margin-left: auto; color: var(--faint); font-size: .78rem; }
.agenda__list { list-style: none; margin: 0; padding: 0 0 0 26px; display: grid; gap: .6rem; position: relative; }
.agenda__list::before { content: ""; position: absolute; left: 26px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }

.ev {
  position: relative;
  display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 1rem; align-items: start;
  margin-left: 22px; padding: 1rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .25s, transform .25s var(--ease);
}
.ev[hidden] { display: none; }
.ev::before { content: ""; position: absolute; left: -27px; top: 1.35rem; width: 11px; height: 11px; border-radius: 50%; background: var(--tc); box-shadow: 0 0 0 4px var(--bg), 0 0 12px rgba(var(--tc-rgb), .8); }
.ev::after { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--tc); opacity: .8; }
.ev:hover { border-color: rgba(var(--tc-rgb), .4); transform: translateX(3px); }
.ev.is-high { border-color: rgba(var(--tc-rgb), .3); background: linear-gradient(90deg, rgba(var(--tc-rgb), .08), transparent 50%), var(--surface); }
.ev__time { display: grid; gap: .15rem; padding-top: .1rem; }
.ev__time strong { font-size: .95rem; font-weight: 600; }
.ev__time span { font-size: .66rem; color: var(--faint); letter-spacing: .08em; }
.ev__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: .45rem; }
.chip--xs { padding: .2rem .5rem; font-size: .72rem; }
.imp { display: inline-flex; gap: 3px; margin-left: .2rem; }
.imp i { width: 6px; height: 12px; border-radius: 2px; background: var(--surface-3); }
.imp i.on { background: var(--tc); box-shadow: 0 0 6px rgba(var(--tc-rgb), .6); }
.ev__title { font: 600 1.02rem/1.38 var(--display); letter-spacing: -.01em; }
.ev__sum { margin-top: .3rem; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.ev__actions { display: flex; gap: .4rem; }
.ev__actions .icon-btn { width: 34px; height: 34px; border-radius: 10px; color: var(--muted); }
.ev__actions .icon-btn:hover { color: var(--text); }

.cal-month { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 1.25rem; }
.cal-month[hidden], .agenda[hidden] { display: none; }
.month { padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.month__title { margin-bottom: .9rem; font-size: 1.1rem; }
.month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.month__dow { padding-bottom: .3rem; text-align: center; font: 600 .68rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.month__day {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  aspect-ratio: 1 / .9; min-width: 0; padding: .35rem .4rem;
  border: 1px solid transparent; border-radius: 10px;
  background: var(--surface-2); color: var(--muted);
  text-align: left;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.month__day:disabled { cursor: default; }
.month__day.is-past { opacity: .45; }
.month__day.has-ev { color: var(--text); background: var(--surface-3); }
.month__day.has-ev:not(:disabled):hover { border-color: rgba(var(--violet-rgb), .6); transform: translateY(-2px); }
.month__day.is-dim { background: var(--surface-2); color: var(--muted); }
.month__day.is-today { border-color: rgba(var(--violet-rgb), .8); box-shadow: 0 0 20px -6px rgba(var(--violet-rgb), .8); }
.month__day.is-today .month__num { color: var(--violet); font-weight: 700; }
[data-theme="dark"] .month__day.is-today .month__num { color: var(--link); }
.month__num { font-size: .82rem; }
.month__dots { display: flex; flex-wrap: wrap; gap: 3px; }
.month__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--tc); }
.month__dots i[hidden] { display: none; }
.month__count { position: absolute; top: .35rem; right: .4rem; font-size: .66rem; color: var(--faint); }
.month__pad { aspect-ratio: 1 / .9; }

@media (max-width: 980px) {
  .next-ev { grid-template-columns: 1fr; gap: 1.25rem; }
  .next-ev__side { justify-items: start; }
  .next-ev__actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .cal-kpis { width: 100%; }
  .cal-kpis div { flex: 1; min-width: 0; padding: .6rem; }
  .cal-kpis dd { font-size: 1.25rem; }
  .next-ev { padding: 1.2rem; }
  .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .countdown strong { font-size: 1.5rem; }
  .next-ev__side, .next-ev__actions { width: 100%; }
  .next-ev__actions .btn { flex: 1; }
  .cal-bar > .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .cal-bar__right { width: 100%; justify-content: space-between; }
  .type-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; }
  .type-chip { flex: none; }
  .agenda__list { padding-left: 0; }
  .agenda__list::before, .ev::before { display: none; }
  .ev { margin-left: 0; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .75rem; padding: .9rem .9rem .9rem 1.1rem; }
  .ev__time { grid-column: 1; grid-row: 1; display: flex; gap: .35rem; align-items: center; }
  .ev__body { grid-column: 1 / -1; grid-row: 2; }
  .ev__actions { grid-column: 2; grid-row: 1; }
  .imp { display: none; }
  .month { padding: .8rem; }
  .month__grid { gap: 3px; }
  .month__count { display: none; }
}

/* ---------- Market lists: tabs + ranking tables (/piyasalar/top-100, /piyasalar/memecoin) ---------- */
.mk-nav { margin-top: 1.25rem; }
a.tabs__btn { text-decoration: none; }
.mtable--rank { min-width: 1040px; }
.mtable--rank .mtable__coin { white-space: nowrap; }
.mtable--rank .mtable__coin .coin-cell { display: inline-flex; vertical-align: middle; }
.mtable--rank td.up { color: var(--up); }
.mtable--rank td.down { color: var(--down); }
.mtable--rank td.flat { color: var(--faint); }
.rk-spark { display: inline-block; width: 120px; height: 36px; overflow: visible; vertical-align: middle; }
.rk-spark path { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.rk-spark.is-up path { stroke: var(--up); }
.rk-spark.is-down path { stroke: var(--down); }
.rk-badge { display: inline-block; margin-left: .5rem; padding: .12rem .45rem; border: 1px solid rgba(240, 185, 11, .45); border-radius: 999px; color: #f0b90b; font: 600 .66rem/1.3 var(--mono); letter-spacing: .02em; vertical-align: middle; }
@media (max-width: 720px) {
  .mk-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .mtable--rank { min-width: 560px; }
}

/* ---------- Exchange-style coin chart (coin-chart.js) ---------- */
.pchart { --pc-bg: #0f1626; --pc-line: #1f2a40; --pc-text: #8a96ae; --pc-strong: #eef2f9; --pc-active: #3d8bff;
  margin: 1.1rem 0 1rem; border: 1px solid var(--pc-line); border-radius: 12px; background: var(--pc-bg); overflow: hidden; }
[data-theme="light"] .pchart { --pc-bg: #FFFFFF; --pc-line: #e3e8f1; --pc-text: #5f6b85; --pc-strong: #0a1430; --pc-active: #0a5be0; }
.pchart__bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .35rem .5rem; border-bottom: 1px solid var(--pc-line); overflow-x: auto; scrollbar-width: none; }
.pchart__bar::-webkit-scrollbar { display: none; }
.pchart__tf, .pchart__tools { display: flex; gap: .15rem; flex-shrink: 0; }
.pchart__btn { appearance: none; border: 0; background: transparent; color: var(--pc-text); font: 500 .78rem/1 var(--mono, ui-monospace, monospace);
  padding: .45rem .6rem; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.pchart__btn:hover { color: var(--pc-strong); background: rgba(132,142,156,.12); }
.pchart__btn.is-active { color: var(--pc-active); }
.pchart__tools .pchart__btn.is-active { color: var(--pc-strong); }
.pchart__tools .pchart__btn:not(.is-active) { text-decoration: line-through; opacity: .6; }
.pchart__stage { position: relative; height: 440px; }
.pchart__canvas { position: absolute; inset: 0; }
.pchart__legend { position: absolute; z-index: 3; top: .45rem; left: .6rem; right: 4.5rem; pointer-events: none;
  font-size: .72rem; line-height: 1.55; color: var(--pc-text); }
.pchart__legend > div { display: flex; flex-wrap: wrap; column-gap: .7rem; }
.pchart__legend b { font-weight: 500; }
.pchart__legend .is-up { color: #0ECB81; }
.pchart__legend .is-down { color: #F6465D; }
.pchart__t { color: var(--pc-strong); }
.pchart__empty { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; margin: 0; background: var(--pc-bg); color: var(--pc-text); }
.pchart__empty[hidden] { display: none; }
@media (max-width: 640px) {
  .pchart { margin-left: -.35rem; margin-right: -.35rem; }
  .pchart__stage { height: 360px; }
  .pchart__legend { font-size: .64rem; line-height: 1.45; right: 3.6rem; }
  .pchart__vol, .pchart__amp { display: none !important; }
  .pchart__btn { padding: .45rem .42rem; font-size: .72rem; }
}

/* =====================================================================
   SADE GÖRÜNÜM — 2026-11-09
   Flat, quiet layout: no glass, glows, gradients-on-text or hover lifts;
   cards become plain image + text; side panels become ruled lists.
   To undo only this layer, delete everything from this comment to the end
   of the file (or restore storage/backups/theme-2026-11-09-mavi/nova.css).
   ===================================================================== */
:root, [data-theme="light"] {
  --display: var(--font);
  --r-xl: 12px; --r-lg: 10px; --r: 8px; --r-sm: 6px;
  --shadow: none; --shadow-lg: none; --glow: none;
  --grad: var(--violet);
  --grad-soft: transparent;
}
/* Background effects off */
body::before, .aurora { display: none !important; }

/* Headings: calmer weight and tracking */
h1, h2, h3, h4 { letter-spacing: -.015em; }
.hero__title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.sec-head__title { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.sec-head .kicker { display: none; }               /* "AKIŞ", "DERİNLİK" eyebrows */
.sec-head { padding-bottom: .75rem; border-bottom: 1px solid var(--line); }

/* No gradient text anywhere */
.grad-text, .stack-item__num, .countdown strong, .card__rank {
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  color: var(--violet) !important;
}
.prose > p:first-child::first-letter { float: none; font: inherit; background: none; color: inherit; margin: 0; }

/* Cards: just image + text, no box */
.card, .card:hover {
  border: 0; background: transparent; box-shadow: none; transform: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; overflow: visible;
}
.card__media { border-radius: var(--r-lg); }
.card__body { padding: .8rem 0 0; gap: .4rem; }
.card__title { font-weight: 650; }
.card:hover .card__title { color: var(--violet); }
.card__excerpt { -webkit-line-clamp: 2; }
.card__meta { font-size: .74rem; }
.card__author img, .card__author .avatar { display: none; }
/* Overlay cards (image with text on top) keep their frame */
.card--feature, .card--hero { border-radius: var(--r-xl); overflow: hidden; }
.card--feature .card__body, .card--hero .card__body, .card__body--over { padding: 1.4rem; }

/* Hero */
.hero__lead { border: 0; box-shadow: none; border-radius: var(--r-xl); min-height: clamp(400px, 56vh, 540px); }
.hero__copy { animation: none; }
.pill {
  border: 0; background: rgba(0, 0, 0, .45); backdrop-filter: none; -webkit-backdrop-filter: none;
  border-radius: 4px; padding: .3rem .55rem; letter-spacing: .08em;
}
.hero__side { gap: 0; }
.stack-item, .stack-item:hover {
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; box-shadow: none; transform: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  padding: .9rem 0;
}
.stack-item:first-of-type { padding-top: 0; }
.stack-item__num { font-size: 1.1rem; }
.stack-item__thumb { width: 76px; height: 76px; border-radius: var(--r); }
.stack-item { grid-template-columns: auto minmax(0, 1fr) 76px; }

/* Side panels → plain ruled sections */
.panel, .panel--glow {
  padding: 1rem 0 0; border: 0; border-top: 2px solid var(--text);
  border-radius: 0; background: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.newsletter__icon { display: none; }

/* Market tiles: thin outline, no tint */
.coin-tile, .coin-tile:hover, .coin-tile.is-up, .coin-tile.is-down, .pulse-card {
  background: var(--surface-solid); border: 1px solid var(--line); box-shadow: none; transform: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
[data-theme="light"] .coin-tile, [data-theme="light"] .pulse-card { background: #fff; }

/* Buttons and chips: solid, no glow */
.btn--primary, .btn--primary:hover { background: var(--violet); box-shadow: none; transform: none; }
.btn--primary:hover { filter: brightness(1.08); }
.chip { background: transparent; }

/* Header: solid when stuck, no blur */
.nav.is-stuck { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border-bottom-color: var(--line); }
.ticker { background: var(--bg); }

/* Generic surfaces used across inner pages */
.author-box, .profile, .status-card, .timeline__card, .entity-brief, .market-ctx, .toc--inline, .post__frame {
  box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.card, .panel, .coin-tile, .stack-item, .pulse-card { transition: color .15s ease, border-color .15s ease; }
/* Sparklines: thin line only, no filled area or glow */
.spark path:not(.line) { display: none; }
.spark .is-up .line, .spark .is-down .line { filter: none; stroke-width: 1.5; }
.spark { min-height: 44px; margin: .2rem 0 0; }
/* Öne çıkanlar list: no rank numbers */
.stack-item__num { display: none; }
.stack-item { grid-template-columns: minmax(0, 1fr) 76px; }
/* Article cover: shorter, so the text starts sooner */
.post__frame { border: 0; }
.post__frame img { aspect-ratio: auto; max-height: min(520px, 56vh); }
@media (max-width: 860px) { .post__frame img { max-height: 260px; } }
/* Readable line length (~70 characters) for article text */
.article-body { max-width: 64ch; }
.post__deck { max-width: 72ch; }
/* KVKK cookie consent bar */
.consent { position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 120;
  width: min(760px, calc(100% - 2rem)); display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem .9rem 1.2rem;
  background: var(--surface-solid); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .45); }
.consent[hidden] { display: none; }
.consent__text { font-size: .88rem; line-height: 1.5; color: var(--muted); }
.consent__text a { color: var(--link, var(--violet)); text-decoration: underline; }
.consent__actions { display: flex; gap: .5rem; flex-shrink: 0; }
.consent .btn { min-height: 40px; padding: .5rem 1rem; }
@media (max-width: 560px) { .consent { flex-direction: column; align-items: stretch; } .consent__actions .btn { flex: 1; } }
.foot__consent { appearance: none; background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
/* TL prices */
.coin-hub__try { margin-top: .35rem; color: var(--muted); font-size: 1rem; }
.conv__fiat { width: auto; min-height: 0; padding: .35rem .5rem; border-radius: var(--r-sm); font-size: .85rem; }
