/* ═══════════════════════════════════════════════════════════
   AIOX RANKING · v4 — DARK COCKPIT EDITION
   Brand: brand.aioxsquad.ai (lime/electric, brutalist editorial)
   Inspired by: landonorris.com, AIOX brandbook, OFF+BRAND DNA
   ═══════════════════════════════════════════════════════════ */

:root {
  /* DARK COCKPIT TOKENS (extraídos brand.aioxsquad.ai) */
  --bg: #0A0A0A;
  --bg-2: #111114;
  --bg-3: #161619;
  --bg-card: #1B1B1F;
  --bg-card-hover: #1F1F23;
  --bg-elevated: #25252A;

  /* INK */
  --ink: #F4F0E8;
  --ink-2: rgba(244,240,232,0.86);
  --ink-3: rgba(244,240,232,0.62);
  --ink-4: rgba(244,240,232,0.40);
  --ink-5: rgba(244,240,232,0.22);

  /* LIME — accent oficial AIOX */
  --lime: #D1FF00;
  --lime-2: #C2EE00;
  --lime-bright: #DEFF42;
  --lime-deep: #9AC900;
  --lime-darker: #5C7000;
  --lime-glow: rgba(209,255,0,0.32);
  --lime-glow-soft: rgba(209,255,0,0.12);

  /* STROKE */
  --stroke: rgba(244,240,232,0.06);
  --stroke-2: rgba(244,240,232,0.10);
  --stroke-lime: rgba(209,255,0,0.28);
  --stroke-lime-strong: rgba(209,255,0,0.6);

  /* SPACING (cockpit-precise) */
  --gap-1: 4px; --gap-2: 8px; --gap-3: 12px; --gap-4: 16px;
  --gap-5: 24px; --gap-6: 32px; --gap-7: 48px; --gap-8: 64px;
  --gap-9: 96px; --gap-10: 140px;

  /* RADII (brutalist — sharp 1-2px standard, pills só onde necessário) */
  --r-0: 0;
  --r-1: 2px;
  --r-2: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 9999px;

  /* TYPE */
  --ff-display: "Mona Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-body: "Geist", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, monospace;

  --fs-mega: clamp(4rem, 12vw, 11rem);
  --fs-display: clamp(2.5rem, 7vw, 6rem);
  --fs-h1: clamp(2rem, 4.5vw, 4.25rem);
  --fs-h2: clamp(1.5rem, 2.4vw, 2rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-mono: 0.6875rem;

  /* EASING */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* SHADOWS (cockpit — minimal, deep) */
  --shadow-1: 0 1px 0 rgba(255,255,255,0.04), 0 4px 16px rgba(0,0,0,0.5);
  --shadow-2: 0 1px 0 rgba(255,255,255,0.06), 0 12px 40px rgba(0,0,0,0.6);
  --shadow-lime: 0 0 60px var(--lime-glow), 0 0 0 1px var(--stroke-lime);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.55;
  overflow-x: hidden;
}
body { min-height: 100vh; cursor: none; }
body.lenis-stopped { cursor: auto; }
::selection { background: var(--lime); color: #000; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: none; }
img { display: block; max-width: 100%; }
em { font-style: italic; font-weight: 400; }
strong { font-weight: 600; color: var(--ink); }
.lime { color: var(--lime); }

/* ─────────── UTILS ─────────── */
.dot-lime {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--lime-glow);
  vertical-align: middle;
  margin-bottom: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─────────── CUSTOM CURSOR ─────────── */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}
.cursor--dot {
  width: 5px; height: 5px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--lime);
}
.cursor--ring {
  width: 32px; height: 32px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  transition: transform .25s var(--ease-out-quart),
              background .25s, border-color .25s, opacity .25s;
}
.cursor--ring.is-hover {
  width: 64px; height: 64px;
  background: rgba(209, 255, 0, 0.08);
  backdrop-filter: blur(2px);
}
@media (max-width: 980px), (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
  button, a { cursor: pointer; }
}

/* ─────────── LOADER ─────────── */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease-out-quart), visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { width: min(420px, 80vw); }
.loader__bar {
  width: 100%; height: 1px;
  background: var(--stroke-2);
  position: relative; overflow: hidden;
}
.loader__bar-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--lime);
  width: 0%;
  box-shadow: 0 0 12px var(--lime);
  transition: width .3s linear;
}
.loader__meta {
  display: flex; justify-content: space-between;
  margin-top: 12px;
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  color: var(--ink-3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ─────────── ATMOSPHERE ─────────── */
.topo-canvas {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  opacity: 0.35;
  pointer-events: none;
}
.atmo-grain {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch' seed='7'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.atmo-vignette {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, transparent, var(--bg) 90%),
    radial-gradient(ellipse 80% 40% at 50% 100%, transparent, var(--bg) 80%);
}

/* ─────────── HEADER ─────────── */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 32px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--stroke);
  transition: transform .5s var(--ease-out-quart);
}
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__row {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: var(--gap-8);
}
.hdr__brand { display: flex; align-items: center; gap: 14px; }
.hdr__mark {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--lime);
  background: var(--bg-card);
  border: 1px solid var(--stroke-lime);
  border-radius: var(--r-1);
  filter: drop-shadow(0 0 10px var(--lime-glow));
}
.hdr__brand-text { line-height: 1.1; }
.hdr__name {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.hdr__sub {
  display: block;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-top: 4px;
}
.hdr__nav {
  display: flex; gap: 32px;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.hdr__nav a { transition: color .2s ease; position: relative; padding: 4px 0; }
.hdr__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--lime);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out-quart);
}
.hdr__nav a:hover { color: var(--lime); }
.hdr__nav a:hover::after { transform: scaleX(1); }

.hdr__meta {
  display: flex; gap: 12px; align-items: center;
  font-family: var(--ff-mono);
  font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.hdr__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
@media (max-width: 980px) {
  .hdr__row { grid-template-columns: auto auto; gap: var(--gap-4); }
  .hdr__nav { display: none; }
}

/* ─────────── WRAP ─────────── */
.wrap {
  position: relative; z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--gap-8);
  align-items: start;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  margin-bottom: 48px;
  background: var(--bg-card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-1);
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  color: var(--ink-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  width: fit-content;
}
.hero__kicker-bracket {
  color: var(--lime);
  font-weight: 600;
}
.hero__kicker-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.hero__h1 {
  font-family: var(--ff-display);
  font-size: var(--fs-mega);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-bottom: 56px;
  text-transform: uppercase;
}
.hero__line { display: block; overflow: hidden; padding: 0.05em 0; }
.hero__line-i {
  display: inline-block;
  transform: translateY(105%);
  will-change: transform;
}
.hero__line--accent .hero__line-i { color: var(--ink-2); }
.hero__h1 em {
  color: var(--lime);
  font-style: normal;
  font-weight: 800;
}

.hero__lede {
  max-width: 540px;
}
.hero__lede p {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 16px;
}
.hero__note {
  font-size: 0.9375rem !important;
  color: var(--ink-3) !important;
  padding-left: 16px;
  border-left: 1px solid var(--stroke-lime);
}

/* COORDS frame (cockpit) */
.hero__col-right { padding-top: 60px; }
.coords {
  background: var(--bg-card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-2);
  padding: 24px 28px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  position: relative;
}
.coords::before {
  content: "[ COCKPIT ]";
  position: absolute; top: -8px; left: 16px;
  background: var(--bg);
  padding: 0 8px;
  font-size: 9px;
  color: var(--lime);
  letter-spacing: 0.24em;
}
.coords__row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--stroke);
  text-transform: uppercase;
}
.coords__row:last-child { border-bottom: none; }
.coords__val { color: var(--ink); }

/* BENTO METRICS */
.bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 64px;
}
@media (max-width: 1100px) { .bento { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr 1fr; } }

.tile {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-2);
  padding: 28px;
  overflow: hidden;
  transition: all .5s var(--ease-out-quart);
  display: flex; flex-direction: column;
  min-height: 200px;
}
.tile::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 50% at 50% 0%, var(--lime-glow-soft), transparent 70%);
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
.tile:hover { background: var(--bg-card-hover); border-color: var(--stroke-lime); }
.tile:hover::before { opacity: 1; }
.tile--xl {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(209,255,0,0.04), rgba(209,255,0,0.005));
  border-color: var(--stroke-lime);
  min-height: 400px;
}
.tile--xl::after {
  content: ""; position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--lime-glow), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.tile__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.tile__icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--stroke-lime);
  border-radius: var(--r-1);
  color: var(--lime);
}
.tile__num {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  color: var(--ink-4);
  letter-spacing: 0.12em;
}
.tile__n {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.tile--xl .tile__n {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  background: linear-gradient(180deg, var(--lime), var(--lime-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tile__l {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  color: var(--ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative; z-index: 1;
}
.tile__delta {
  position: absolute; top: 28px; right: 60px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--lime);
  letter-spacing: 0.06em;
  background: rgba(209,255,0,0.08);
  padding: 4px 10px;
  border-radius: var(--r-1);
  border: 1px solid var(--stroke-lime);
}
.tile__bracket {
  position: absolute; top: 18px; right: 18px;
  color: var(--lime);
  opacity: 0.4;
}

/* SCROLL CUE */
.hero__cue {
  position: absolute; bottom: 32px; left: 32px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.32em;
}
.hero__cue-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--lime), transparent);
  animation: cue-pulse 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue-pulse {
  0%, 100% { transform: scaleY(0.4); opacity: .3; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

/* ─────────── SECTION DIVIDER ─────────── */
.creator__divider, .rank__divider, .viz__divider, .table-sec__divider {
  display: flex; align-items: center; gap: var(--gap-4);
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  color: var(--lime);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: var(--gap-4) 0;
  margin-bottom: var(--gap-7);
  border-bottom: 1px solid var(--stroke-lime);
}
.creator__divider::before, .rank__divider::before,
.viz__divider::before, .table-sec__divider::before {
  content: ""; display: inline-block;
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--lime);
}

/* ─────────── CREATOR ─────────── */
.creator { padding: var(--gap-9) 0; position: relative; }

.creator__head { max-width: 980px; margin-bottom: var(--gap-8); }
.creator__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px;
  margin-bottom: 32px;
  background: rgba(209,255,0,0.08);
  border: 1px solid var(--lime);
  color: var(--lime);
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
}
.creator__title {
  font-family: var(--ff-display);
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.creator__line { display: block; overflow: hidden; padding: 0.05em 0; }
.creator__line span {
  display: inline-block;
  transform: translateY(105%);
  will-change: transform;
}
.creator__title em { color: var(--lime); font-style: normal; }
.creator__lede {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 720px;
}
.creator__lede strong { color: var(--lime); font-weight: 600; }

/* CREATOR HERO BOX */
.creator__hero {
  position: relative;
  margin-top: 64px;
  padding: 64px 56px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(209,255,0,0.10), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(154,201,0,0.06), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--stroke-lime);
  border-radius: var(--r-2);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--gap-7);
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 980px) {
  .creator__hero { grid-template-columns: 1fr; gap: var(--gap-5); padding: 32px; }
}
.creator__hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.creator__monogram {
  position: relative;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.creator__monogram-an {
  font-family: var(--ff-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.06em;
  font-style: italic;
  line-height: 1;
  z-index: 2;
  text-shadow: 0 0 24px var(--lime-glow);
}
.creator__monogram-ring {
  position: absolute; inset: 0;
  border: 1px solid var(--lime);
  border-radius: 50%;
  box-shadow: inset 0 0 30px rgba(209,255,0,0.06), 0 0 30px var(--lime-glow);
  animation: ring-spin 20s linear infinite;
}
.creator__monogram-ring::before {
  content: ""; position: absolute; inset: -8px;
  border: 1px dashed rgba(209,255,0,0.3);
  border-radius: 50%;
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.creator__hero-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.creator__hero-stat {
  display: flex; flex-direction: column;
}
.creator__hero-n {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.creator__hero-stat:nth-child(2) .creator__hero-n {
  color: var(--lime);
  text-shadow: 0 0 24px var(--lime-glow);
}
.creator__hero-l {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  color: var(--ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.creator__signature {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(209,255,0,0.35);
  letter-spacing: -0.05em;
  white-space: nowrap;
  text-align: right;
  user-select: none;
  pointer-events: none;
  align-self: end;
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .creator__signature { font-size: clamp(2rem, 9vw, 3.5rem); text-align: left; }
}

/* CREATOR CHANNELS */
.creator__channels {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 16px;
}
@media (max-width: 600px) { .creator__channels { grid-template-columns: 1fr; } }
.cr-ch {
  background: var(--bg-card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-2);
  padding: 32px;
  transition: all .5s var(--ease-out-quart);
}
.cr-ch:hover {
  border-color: var(--stroke-lime);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.cr-ch__row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; margin-bottom: 24px;
}
.cr-ch__name {
  font-family: var(--ff-display);
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.cr-ch__meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.cr-ch__stat { text-align: right; flex-shrink: 0; }
.cr-ch__views {
  font-family: var(--ff-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.cr-ch__vidcount {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 6px;
}
.cr-ch__top {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px dashed var(--stroke);
  font-size: 13px; color: var(--ink-3);
  line-height: 1.55;
}
.cr-ch__top a { color: var(--lime); font-weight: 500; }

/* ─────────── RANKING ─────────── */
.rank { padding: var(--gap-9) 0; }
.rank__head { max-width: 920px; margin-bottom: var(--gap-7); }
.rank__title {
  font-family: var(--ff-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.rank__title em { color: var(--lime); font-style: normal; }
.rank__lede {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 720px;
}
.rank__lede strong { color: var(--lime); font-weight: 600; }

/* TABS */
.tabs-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 64px;
  padding-bottom: 4px;
}
.tabs-wrap::-webkit-scrollbar { display: none; }
.tabs {
  display: inline-flex; gap: 4px;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-2);
}
.tab {
  padding: 12px 20px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: var(--r-1);
  transition: all .3s var(--ease-out-quart);
  white-space: nowrap;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tab:hover { color: var(--ink); }
.tab--active {
  background: var(--lime);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 30px var(--lime-glow);
}

/* PODIUM */
.podium {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
  align-items: end;
}
@media (max-width: 900px) {
  .podium { grid-template-columns: 1fr; }
}

.pod {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-2);
  padding: 56px 32px 32px;
  cursor: none;
  transition: all .5s var(--ease-out-quart);
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column;
  height: 100%;
  min-height: 480px;
}
.pod::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 100% at 50% 0%, var(--pod-glow, transparent), transparent 60%);
  pointer-events: none;
  opacity: 0.6;
}
.pod:hover {
  border-color: var(--stroke-lime);
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.pod--1 {
  --pod-glow: rgba(209,255,0,0.20);
  padding: 80px 36px 40px;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(209,255,0,0.08), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--lime);
  box-shadow: 0 30px 80px rgba(209,255,0,0.10), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(-32px);
  min-height: 540px;
}
.pod--2 { --pod-glow: rgba(209,255,0,0.10); }
.pod--3 { --pod-glow: rgba(154,201,0,0.10); }

.pod__rank {
  position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border: 1px solid var(--stroke-lime);
  color: var(--lime);
  font-family: var(--ff-display);
  font-size: 24px; font-weight: 800;
  letter-spacing: -0.04em;
  border-radius: 50%;
  z-index: 4;
  box-shadow: 0 0 24px rgba(0,0,0,0.6);
}
.pod--1 .pod__rank {
  width: 72px; height: 72px;
  font-size: 32px;
  background: var(--lime);
  color: #000;
  border: 0;
  box-shadow: 0 0 60px var(--lime-glow);
  top: -36px;
}

.pod__channel {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 8px;
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.1;
}
.pod--1 .pod__channel { font-size: 26px; }
.pod__meta {
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.pod__stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  flex-grow: 1;
}
.pod__stat {
  padding: 14px 0;
  text-align: center;
  border-top: 1px dashed var(--stroke);
}
.pod__stat-n {
  display: block;
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.pod--1 .pod__stat-n { font-size: 26px; }
.pod__stat-l {
  display: block; margin-top: 8px;
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pod__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px; color: var(--lime);
  letter-spacing: 0.2em;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
  text-transform: uppercase;
  transition: gap .3s var(--ease-out-quart);
}
.pod:hover .pod__cta { gap: 16px; }

/* RANK GRID 4-10 */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 16px;
}
.rk {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-2);
  padding: 28px;
  cursor: none;
  transition: all .5s var(--ease-out-quart);
  display: flex; flex-direction: column;
  min-height: 320px;
}
.rk:hover {
  border-color: var(--stroke-lime);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.rk__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.rk__channel {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.rk__meta {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.rk__num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--stroke-lime);
  color: var(--lime);
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--r-1);
  font-variant-numeric: tabular-nums;
}
.rk__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 20px 0;
  margin: 16px 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}
.rk__stat-n {
  display: block;
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.rk__stat-l {
  display: block; margin-top: 6px;
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rk__bar {
  height: 3px;
  background: var(--bg-elevated);
  border-radius: var(--r-pill);
  position: relative;
  overflow: hidden;
}
.rk__bar-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: linear-gradient(90deg, var(--lime-darker), var(--lime));
  border-radius: var(--r-pill);
  transition: width 1.4s var(--ease-out-expo);
  box-shadow: 0 0 12px var(--lime-glow);
}
.rk__best {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--stroke);
  font-size: 12px; color: var(--ink-3);
  line-height: 1.55;
  margin-top: auto;
}
.rk__best a { color: var(--lime); font-weight: 500; }

/* ─────────── VIZ ─────────── */
.viz { padding: var(--gap-9) 0; }
.viz__head { max-width: 920px; margin-bottom: var(--gap-7); }
.viz__title {
  font-family: var(--ff-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.viz__title em { color: var(--lime); font-style: normal; }
.viz__lede {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 660px;
}

.viz-bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-auto-rows: minmax(360px, auto);
  gap: 16px;
  margin-bottom: 16px;
}
.viz-tile {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-2);
  padding: 32px;
  overflow: hidden;
  transition: border-color .4s ease;
}
.viz-tile::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 40% at 0% 0%, var(--lime-glow-soft), transparent 60%);
  opacity: 0.5; pointer-events: none;
}
.viz-tile:hover { border-color: var(--stroke-lime); }
.viz-tile--lg { grid-column: span 1; }
.viz-tile--full { grid-column: 1 / -1; }
@media (max-width: 980px) {
  .viz-bento { grid-template-columns: 1fr; }
  .viz-tile, .viz-tile--lg { grid-column: 1 / -1; }
}
.viz-tile__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.viz-tile__name {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--lime);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.viz-tile__hint {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.viz-tile__body {
  position: relative;
  min-height: 320px;
}
.viz-tile__body svg {
  width: 100%; height: 320px;
  overflow: visible;
}
.viz-tile--full .viz-tile__body svg { height: 280px; }
.axis text {
  font-family: var(--ff-mono);
  font-size: 10px;
  fill: var(--ink-3);
  letter-spacing: 0.04em;
}
.axis line, .axis path { stroke: var(--stroke); }
.axis-grid line { stroke: var(--stroke); stroke-dasharray: 2,4; }
.axis-grid path { stroke: none; }

.viz-tooltip {
  position: fixed; pointer-events: none;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--lime);
  border-radius: var(--r-1);
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink);
  box-shadow: var(--shadow-2), 0 0 24px var(--lime-glow-soft);
  opacity: 0; transition: opacity .25s;
  letter-spacing: 0.04em;
  line-height: 1.5;
  z-index: 9000;
  max-width: 280px;
}

/* ─────────── TABLE ─────────── */
.table-sec { padding: var(--gap-9) 0; }
.table-sec__head { max-width: 920px; margin-bottom: var(--gap-7); }
.table-sec__title {
  font-family: var(--ff-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.table-sec__title em { color: var(--lime); font-style: normal; }
.table-sec__lede {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.65;
}

.filters {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 32px;
  align-items: center;
}
.filters__search {
  position: relative; flex: 1; min-width: 280px;
}
.filters__search svg {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--ink-4);
}
.filters__search input {
  width: 100%;
  padding: 16px 24px 16px 44px;
  background: var(--bg-card);
  border: 1px solid var(--stroke-2);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  border-radius: var(--r-1);
  transition: all .3s ease;
}
.filters__search input::placeholder { color: var(--ink-4); }
.filters__search input:focus {
  outline: none;
  border-color: var(--lime);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px var(--lime-glow-soft);
}
.select {
  padding: 16px 42px 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--stroke-2);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  border-radius: var(--r-1);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D1FF00' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: none;
}
.select:focus { outline: none; border-color: var(--lime); }

.vid-table {
  background: var(--bg-card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-2);
  overflow: hidden;
}
.vid-row {
  display: grid;
  grid-template-columns: 110px 1fr 90px 80px 80px 50px;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--stroke);
  transition: background .2s ease;
}
.vid-row:last-child { border-bottom: none; }
.vid-row:hover { background: var(--bg-card-hover); }
.vid-row.head {
  padding: 16px 28px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-3);
  background: var(--bg-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.vid-thumb {
  width: 110px; height: 62px;
  border-radius: var(--r-1);
  object-fit: cover;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
}
.vid-title {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.vid-title:hover { color: var(--lime); }
.vid-ch {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 6px;
  letter-spacing: 0.06em;
}
.vid-stat {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
  text-align: right;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.vid-tag-yes {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--lime-glow);
}
@media (max-width: 900px) {
  .vid-row, .vid-row.head { grid-template-columns: 80px 1fr auto; padding: 14px 18px; }
  .vid-row > :nth-child(n+4) { display: none; }
  .vid-thumb { width: 80px; height: 45px; }
}

/* ─────────── FOOTER ─────────── */
.ftr {
  position: relative; z-index: 2;
  padding: var(--gap-8) 32px;
  border-top: 1px solid var(--stroke);
  margin-top: var(--gap-9);
}
.ftr__row {
  max-width: 1440px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--gap-6);
  flex-wrap: wrap;
}
.ftr__brand { display: flex; align-items: center; gap: 16px; }
.ftr__mark {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--lime);
  background: var(--bg-card);
  border: 1px solid var(--stroke-lime);
  border-radius: var(--r-1);
  filter: drop-shadow(0 0 10px var(--lime-glow));
}
.ftr__brand-name {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ftr__brand-meta {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}
.ftr__links {
  display: flex; gap: 24px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.ftr__links a {
  transition: color .2s ease;
}
.ftr__links a:hover { color: var(--lime); }
.ftr__credit {
  max-width: 1440px; margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px dashed var(--stroke);
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}
