@font-face {
  font-family: Inter;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b0c;
  --panel: #111214;
  --panel2: #16181c;
  --line: #1c1e22;
  --line2: #2a2d33;
  --cyan: #5ce1ff;
  --cyan-dim: rgba(92, 225, 255, 0.14);
  --cyan-ink: #04141a;
  --text: #f2f3f5;
  --sub: #9aa0a8;
  --faint: #5d6168;
  --bull: #3dc9a6;
  --bear: #ed7088;
  --neu: #f2b84b;
  --red: #ff4d5e;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.5 var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }
.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;
}

.page {
  min-height: 100vh;
  padding: 20px 14px 56px;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(92, 225, 255, 0.08), transparent 42%),
    linear-gradient(rgba(28, 30, 34, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 30, 34, 0.45) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}
@media (min-width: 720px) {
  .page { padding: 32px 36px 72px; }
}

.wrap { max-width: 1280px; margin: 0 auto; }

/* ---------- hero ---------- */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--cyan);
  font-weight: 800;
}
.kicker img { width: 18px; height: 18px; }
.hero h1 {
  margin: 6px 0 0;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
@media (min-width: 720px) {
  .hero h1 { font-size: 44px; }
}
.lede {
  font-size: 14px;
  color: var(--sub);
  margin-top: 8px;
  max-width: 640px;
  line-height: 1.55;
}
.pills { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
  white-space: nowrap;
  background: transparent;
  color: var(--cyan);
}
.pill.sub { color: var(--sub); }
.pill.solid {
  border-color: transparent;
  color: var(--cyan-ink);
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(92, 225, 255, 0.35);
}
.pill.solid.bull { background: var(--bull); color: #04140f; box-shadow: 0 0 12px rgba(61, 201, 166, 0.35); }
.pill.solid.bear { background: var(--bear); color: #1a060a; box-shadow: 0 0 12px rgba(237, 112, 136, 0.35); }
.pill.solid.neu { background: var(--neu); color: #1a1204; box-shadow: 0 0 12px rgba(242, 184, 75, 0.35); }
.pill.solid.red { background: var(--red); color: #fff; box-shadow: 0 0 12px rgba(255, 77, 94, 0.35); }
.pill.bull { color: var(--bull); }
.pill.bear { color: var(--bear); }
.pill.neu { color: var(--neu); }

/* ---------- cards / grids ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.grid-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}
@media (min-width: 720px) {
  .grid-hero { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .grid-hero { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (min-width: 720px) and (max-width: 979px) {
  .grid-hero .gauge-card { grid-column: 1 / -1; }
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--sub);
  font-weight: 700;
}
.gauge-card { text-align: center; }
.gauge-card .pills { justify-content: center; margin-top: 4px; }
.gauge-svg { width: 100%; max-width: 420px; display: block; margin: 0 auto; }
.kt-glow {
  animation: ktGlow 3s ease-in-out infinite;
}
.fng-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.fng-label { font-size: 20px; font-weight: 800; }
.fng-src { font-size: 12px; color: var(--sub); }
.muted { font-size: 10.5px; color: var(--faint); margin-top: 10px; }
.ratio-num {
  font-size: 46px;
  font-weight: 900;
  color: var(--cyan);
  margin-top: 10px;
  text-shadow: 0 0 18px rgba(92, 225, 255, 0.4);
  letter-spacing: -0.03em;
  line-height: 1;
}
.ratio-sub { font-size: 12.5px; color: var(--sub); margin-top: 6px; }
.bar {
  margin-top: 14px;
  height: 10px;
  border-radius: 5px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.bar .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: rgba(92, 225, 255, 0.35);
  border-radius: 5px;
  transform-origin: left;
  animation: ktGrow 1.2s ease-out both;
}
.bar .mark {
  position: absolute; top: -4px; bottom: -4px; width: 2px;
  background: var(--cyan);
}
.bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--sub);
  margin-top: 6px;
  gap: 6px;
  flex-wrap: wrap;
}
.bar-labels .hi { color: var(--text); }

/* ---------- acts ---------- */
.act {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 56px 0 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.act-n {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--cyan-ink);
  background: var(--cyan);
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(92, 225, 255, 0.4);
}
.act h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
@media (min-width: 720px) {
  .act h2 { font-size: 30px; }
}
.act-sub { font-size: 13px; color: var(--sub); padding-bottom: 4px; }

.asset-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .asset-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .asset-grid { grid-template-columns: repeat(4, 1fr); }
}
.asset-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.asset-card:hover, .kt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 225, 255, 0.5);
}
.asset-top, .row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.asset-sym { font-weight: 900; font-size: 18px; }
.asset-sym span { color: var(--sub); font-weight: 500; font-size: 12px; margin-left: 8px; }
.asset-score { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.asset-score .n {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}
.asset-score .meta { font-size: 11.5px; color: var(--sub); }
.px { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.px .p { font-size: 17px; font-weight: 800; }
.px .ch { font-size: 12px; }
.up { color: var(--bull); }
.down { color: var(--bear); }
.note { font-size: 12.5px; color: var(--sub); line-height: 1.45; }
.meter { height: 8px; border-radius: 4px; overflow: hidden; background: var(--line); display: flex; }
.meter > div { transform-origin: left; animation: ktGrow 1.2s ease-out both; }
.meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--sub);
  margin-top: 5px;
}
.meter-labels .bull { color: var(--bull); }
.meter-labels .neu { color: var(--neu); }
.meter-labels .bear { color: var(--bear); }

/* ---------- takes ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter {
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}
.filter.on {
  background: var(--cyan);
  color: var(--cyan-ink);
  box-shadow: 0 0 14px rgba(92, 225, 255, 0.4);
}
.snake-col { position: relative; padding-left: 22px; }
.snake-col .rail {
  position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--cyan), rgba(92, 225, 255, 0.13));
}
.snake-item { position: relative; margin-bottom: 16px; }
.snake-item .dot {
  position: absolute; left: -20px; top: 18px; width: 12px; height: 12px;
  border-radius: 6px; background: var(--bg);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.snake-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.snake-row.reverse { flex-direction: row-reverse; }
.arrow-wrap { display: flex; align-items: center; flex: none; }
.arrow-down-wrap { display: flex; padding: 4px 0; }
.arrow-down-wrap.end { justify-content: flex-end; }
.arrow-down-wrap.start { justify-content: flex-start; }
.arrow-down-wrap .slot { width: var(--colw, 33.333%); display: flex; justify-content: center; }
.arrow { flex: none; }
.arrow.flow line { animation: ktFlow 0.8s linear infinite; }

.take {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--neu);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  flex: 1;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.take.bull { border-top-color: var(--bull); }
.take.bear { border-top-color: var(--bear); }
.take.neu { border-top-color: var(--neu); }
.take-head { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.num { font-size: 12px; font-weight: 800; color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.who { display: flex; gap: 10px; align-items: center; }
.av {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(92, 225, 255, 0.4);
  background: var(--panel2);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); font-weight: 700; font-size: 13px;
  box-shadow: 0 0 10px rgba(92, 225, 255, 0.2);
}
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.sm { width: 26px; height: 26px; min-width: 26px; font-size: 9px; }
.who-name { font-weight: 800; color: var(--text); font-size: 15px; }
.who-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.who-meta .h { font-size: 11.5px; color: var(--sub); }
.badge-x {
  font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px;
  background: #000; color: #fff; border: 1px solid var(--line);
}
.badge-yt {
  font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px;
  background: #2a0b0e; color: #ff6b6b; border: 1px solid #5a1a20;
}
.take-body { font-size: 13.5px; line-height: 1.5; color: var(--text); }
.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #000;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.take-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; gap: 8px; flex-wrap: wrap;
}
.take-foot a { color: var(--cyan); font-size: 12.5px; font-weight: 700; }
.take-foot .views { font-size: 11px; color: var(--faint); }

.dead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}
@media (min-width: 720px) {
  .dead-grid { grid-template-columns: 1fr 1fr; }
}
.dead {
  background: #1a0a0e;
  border: 1px dashed var(--red);
  border-radius: 12px;
  padding: 14px;
}
.dead-title { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dead-title strong { font-weight: 800; font-size: 14px; }
.dead p { font-size: 12.5px; color: #ffb3bd; margin: 8px 0 0; line-height: 1.45; }
.dead a { color: var(--red); font-size: 12px; font-weight: 700; display: inline-block; margin-top: 6px; }

/* ---------- finds ---------- */
.find-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .find-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .find-grid { grid-template-columns: repeat(3, 1fr); }
}
.find {
  background: linear-gradient(170deg, var(--cyan-dim), var(--panel) 45%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.find-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.find-n {
  font-size: 22px; font-weight: 900; color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan);
}
.find h3 { margin: 0; font-weight: 800; font-size: 15.5px; line-height: 1.3; }
.find .why { font-size: 13px; color: var(--sub); line-height: 1.5; }
.find-foot {
  display: flex; align-items: center; gap: 8px; margin-top: auto; flex-wrap: wrap;
}
.find-foot .who-n { font-size: 12px; color: var(--text); }
.find-foot a { margin-left: auto; color: var(--cyan); font-size: 12.5px; font-weight: 700; }

/* ---------- act IV ---------- */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}
@media (min-width: 720px) {
  .vs-grid { grid-template-columns: 1fr auto 1fr; }
}
.vs {
  display: none;
  align-items: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--sub);
  letter-spacing: 0.16em;
}
@media (min-width: 720px) { .vs { display: flex; } }
.vs-mobile {
  display: block; text-align: center;
  font-size: 13px; font-weight: 900; color: var(--sub); letter-spacing: 0.16em;
}
@media (min-width: 720px) { .vs-mobile { display: none; } }
.list-row { display: flex; gap: 10px; margin-top: 12px; font-size: 13.5px; line-height: 1.5; }
.list-row .i { font-weight: 900; }
.list-row .i.cyan { color: var(--cyan); }
.list-row .i.bear { color: var(--bear); }
.card.consensus { border-color: rgba(92, 225, 255, 0.4); }
.card.contra { border-color: rgba(237, 112, 136, 0.4); }

.today-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 720px) {
  .today-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .today-grid { grid-template-columns: repeat(5, 1fr); }
}
.today {
  padding: 14px;
  border-left: 3px solid var(--cyan);
}
.today .k { font-size: 11px; letter-spacing: 0.16em; font-weight: 900; color: var(--cyan); }
.today p { font-size: 13px; line-height: 1.5; margin: 8px 0 0; }

/* ---------- footer ---------- */
.foot {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .foot { grid-template-columns: 1fr 1fr; }
}
.foot .h { font-size: 11px; letter-spacing: 0.22em; font-weight: 800; }
.foot .h.cyan { color: var(--cyan); }
.foot .h.neu { color: var(--neu); }
.method { font-size: 12.5px; color: var(--sub); line-height: 1.6; margin-top: 8px; }
.caveat { font-size: 12.5px; color: var(--sub); line-height: 1.5; margin-top: 8px; }

.error {
  max-width: 640px; margin: 15vh auto; padding: 24px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--panel);
}
.error h1 { font-size: 22px; margin: 0 0 8px; }
.error p { color: var(--sub); }

@keyframes ktFlow { to { stroke-dashoffset: -16; } }
@keyframes ktPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes ktGlow {
  0%, 100% { box-shadow: 0 0 14px rgba(92, 225, 255, 0.25), inset 0 0 0 1px rgba(92, 225, 255, 0.35); }
  50% { box-shadow: 0 0 28px rgba(92, 225, 255, 0.5), inset 0 0 0 1px rgba(92, 225, 255, 0.7); }
}
@keyframes ktDraw { from { stroke-dasharray: 0 2000; } to { stroke-dasharray: 2000 0; } }
@keyframes ktGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.kt-draw { animation: ktDraw 2.2s ease-out both; }
.kt-pulse { animation: ktPulse 1.6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .kt-flow, .kt-pulse, .kt-glow, .kt-draw, .kt-grow, .arrow.flow line, .bar .fill, .meter > div {
    animation: none;
  }
  .asset-card, .take, .find { transition: none; }
}
