/* GTA VI Clips — shared styles
   Palette: Vice City at dusk. Night-violet base, sunset gradient for the brand
   and primary actions only, surf teal for links and focus. */

:root {
  color-scheme: dark;
  --night: #130a29;
  --night-2: #1a0e36;
  --dusk: #241247;
  --dusk-2: #311a5c;
  --line: rgba(255, 214, 236, 0.12);
  --line-strong: rgba(255, 214, 236, 0.22);

  --ink: #fff3ea;
  --muted: #cbb7df;
  --dim: #9a87b3;

  --pink: #ff3d96;
  --tangerine: #ff8a3d;
  --gold: #ffc555;
  --violet: #8b3dff;
  --surf: #3de8df;

  --sunset: linear-gradient(100deg, #ffc555 0%, #ff8a3d 28%, #ff3d96 62%, #8b3dff 100%);
  --sunset-v: linear-gradient(180deg, #ffc555 0%, #ff8a3d 30%, #ff3d96 65%, #8b3dff 100%);

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", "Barlow", sans-serif;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 1px 2px rgba(6, 1, 18, 0.45), 0 6px 16px -6px rgba(6, 1, 18, 0.5);
  --shadow-2: 0 2px 4px rgba(6, 1, 18, 0.35), 0 14px 34px -10px rgba(6, 1, 18, 0.7), 0 0 0 1px rgba(255, 61, 150, 0.07);
  --shadow-3: 0 4px 8px rgba(6, 1, 18, 0.4), 0 30px 70px -20px rgba(6, 1, 18, 0.85), 0 0 0 1px rgba(255, 214, 236, 0.06);
  --glow: 0 10px 28px -10px rgba(255, 61, 150, 0.75), 0 4px 12px -6px rgba(255, 138, 61, 0.6);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  background:
    radial-gradient(1100px 520px at 85% -120px, rgba(255, 61, 150, 0.22), transparent 70%),
    radial-gradient(900px 480px at 0% -80px, rgba(139, 61, 255, 0.25), transparent 70%),
    radial-gradient(700px 400px at 50% 110%, rgba(255, 138, 61, 0.08), transparent 70%),
    var(--night);
  background-attachment: fixed, fixed, fixed, scroll;
  overflow-x: hidden;
}

/* Film grain over everything, kept very faint */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--pink); color: #fff; }

:focus-visible {
  outline: 2px solid var(--surf);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

button, a, [role="button"], .chip, summary {
  touch-action: manipulation;
}
button, .btn, .chip, .tab, summary {
  -webkit-user-select: none;
  user-select: none;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--night); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display, h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
  margin: 0;
}
h1 { font-size: clamp(44px, 7vw, 96px); }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-family: var(--text); font-weight: 700; font-size: 21px; line-height: 1.25; margin: 0; letter-spacing: -0.005em; }
h4 { font-family: var(--text); font-weight: 700; font-size: 17px; margin: 0; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; line-height: 1.55; }
.small { font-size: 14px; color: var(--dim); }
.meta { font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; color: var(--dim); }
.sunset-text {
  background: var(--sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding-block: clamp(48px, 7vw, 96px); }
.section-tight { padding-block: clamp(32px, 4vw, 56px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
.link {
  color: var(--surf);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(61, 232, 223, 0.4);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--text);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 17px; }
.btn-primary {
  color: #1b0730;
  background: var(--sunset);
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 243, 234, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-dark { color: var(--ink); background: var(--night); box-shadow: var(--shadow-2); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(19, 10, 41, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--sunset);
  opacity: 0.85;
}
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sunset-v);
  box-shadow: var(--glow), inset 0 -6px 12px rgba(80, 10, 120, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 0 rgba(90, 10, 80, 0.45);
}
.logo-word { font-family: var(--display); font-size: 21px; line-height: 0.92; text-transform: uppercase; letter-spacing: 0.01em; }
.logo-word small { display: block; margin-top: 4px; font-size: 13px; line-height: 1; letter-spacing: 0.32em; color: var(--muted); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0 0 0 8px; padding: 0; }
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255, 243, 234, 0.07); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  border: 0;
  color: var(--ink);
  background: rgba(255, 243, 234, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }

.search-bar {
  display: none;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.search-bar.open { display: block; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--dim); pointer-events: none; }
.search-field input { padding-left: 46px; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 0 calc(20px + env(safe-area-inset-bottom, 0px));
}
.mobile-menu.open { display: block; }
.mobile-menu a.mm-link {
  display: block;
  padding: 12px 4px;
  font-family: var(--display);
  font-size: 28px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { width: 100%; margin-top: 16px; }

/* ---------- Forms ---------- */
.input, .select, .textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: rgba(10, 4, 24, 0.55);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--surf); box-shadow: 0 0 0 3px rgba(61, 232, 223, 0.18); }
.textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.select { 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='%23cbb7df' stroke-width='2.5'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.select option { background: var(--night-2); }
.field { display: grid; gap: 8px; }
.field label, .label { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--dim); margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pink); flex: none; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-note { font-size: 14px; color: var(--dim); }
.mock-note {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: rgba(61, 232, 223, 0.1);
  color: var(--surf);
  font-weight: 600;
  font-size: 15px;
}
.mock-note.show { display: block; animation: noteIn 260ms var(--ease-out) both; }
@keyframes noteIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Chips / badges ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 4px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
  background: rgba(255, 243, 234, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  border: 0;
  cursor: pointer;
  scroll-snap-align: start;
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.chip[aria-pressed="true"], .chip.is-active { color: #1b0730; background: var(--ink); box-shadow: none; }
.chip .count { font-family: var(--cond); color: var(--dim); }
.chip.is-active .count, .chip[aria-pressed="true"] .count { color: #6b4f86; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: var(--r-pill);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  background: rgba(19, 10, 41, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--pink)); }
.tag svg { width: 14px; height: 14px; }

.cat-hacks { --c: #3de8df; }
.cat-cheats { --c: #ffc555; }
.cat-tutorials { --c: #8bd0ff; }
.cat-walkthroughs { --c: #b98bff; }
.cat-funny { --c: #ff8a3d; }
.cat-stunts { --c: #ff3d96; }

/* ---------- Video player (mock embed) ---------- */
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--night-2);
  box-shadow: var(--shadow-3);
  isolation: isolate;
  cursor: pointer;
}
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.player::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(19, 10, 41, 0.25) 0%, transparent 30%, transparent 55%, rgba(19, 10, 41, 0.85) 100%);
}
.player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(255, 61, 150, 0.22), rgba(139, 61, 255, 0.18));
  mix-blend-mode: multiply;
}
.play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: clamp(64px, 8vw, 92px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--sunset);
  color: #1b0730;
  box-shadow: 0 0 0 10px rgba(255, 243, 234, 0.12), var(--glow);
  cursor: pointer;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.play svg { width: 38%; height: 38%; margin-left: 8%; }
.player:active .play { transform: scale(0.95); }
.player-top { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.player-bottom { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.duration { font-family: var(--cond); font-weight: 700; font-size: 15px; padding: 2px 8px; border-radius: var(--r-xs); background: rgba(10, 4, 24, 0.8); }
.player-msg {
  position: absolute;
  z-index: 3;
  inset: auto 16px 56px 16px;
  margin: 0 auto;
  max-width: 420px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: rgba(19, 10, 41, 0.92);
  box-shadow: var(--shadow-2);
  font-size: 15px;
  text-align: center;
  display: none;
}
.player.msg .player-msg { display: block; animation: noteIn 260ms var(--ease-out) both; }
.player.vertical { aspect-ratio: 9 / 16; max-width: 380px; margin-inline: auto; }

/* ---------- Hero (home) ---------- */
.hero { padding-top: clamp(24px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 40px); align-items: start; }
.hero-title {
  position: relative;
  z-index: 3;
  margin-top: -0.55em;
  padding-inline: clamp(12px, 2.4vw, 32px);
  font-size: clamp(40px, 4.3vw, 64px);
  text-shadow: 0 4px 30px rgba(19, 10, 41, 0.6);
  max-width: 21ch;
  text-wrap: balance;
}
.hero-title a { text-decoration: none; }
.hero-meta { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; padding: 18px clamp(12px, 2.4vw, 32px) 0; }
.creator { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 15px;
  color: #1b0730;
  background: var(--av, var(--sunset));
  box-shadow: 0 0 0 2px var(--night), 0 0 0 3px rgba(255, 214, 236, 0.25);
  flex: none;
}
.avatar.lg { width: 64px; height: 64px; font-size: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-left: auto; }

.panel {
  background: linear-gradient(180deg, rgba(49, 26, 92, 0.6), rgba(36, 18, 71, 0.45));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: 22px;
}
.panel h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 26px; letter-spacing: 0.01em; margin-bottom: 14px; }

.trend-list { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.trend-list li { counter-increment: t; }
.trend-list a {
  display: grid;
  grid-template-columns: 34px 76px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
  border-top: 1px solid var(--line);
}
.trend-list li:first-child a { border-top: 0; padding-top: 2px; }
.trend-list a::before {
  content: counter(t);
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  background: var(--sunset-v);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trend-list img { width: 76px; height: 56px; object-fit: cover; border-radius: var(--r-sm); }
.trend-list strong { display: block; font-size: 15px; line-height: 1.3; }
.trend-list span span { font-family: var(--cond); font-weight: 600; font-size: 14px; color: var(--dim); }

/* ---------- Ad slots ---------- */
.ad {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 4px;
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px dashed rgba(255, 214, 236, 0.28);
  background:
    repeating-linear-gradient(135deg, rgba(255, 243, 234, 0.025) 0 12px, transparent 12px 24px),
    rgba(10, 4, 24, 0.35);
  color: var(--dim);
  text-decoration: none;
}
.ad-label { position: absolute; top: 8px; left: 12px; font-family: var(--cond); font-size: 12px; letter-spacing: 0.06em; color: var(--dim); }
.ad strong { font-family: var(--display); font-weight: 400; font-size: 22px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.02em; }
.ad span { font-size: 14px; }
.ad-leader { min-height: 110px; max-width: 970px; margin-inline: auto; }
.ad-box { min-height: 250px; }

/* ---------- Mosaic: the "cover art" grid ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(92px, 9.6vw, 128px);
  gap: 8px;
  padding: 8px;
  border-radius: var(--r-lg);
  background: #0a0418;
  box-shadow: var(--shadow-3);
  grid-template-areas:
    "a a a b b b"
    "a a a b b b"
    "a a a c c d"
    "a a a c c d"
    "e e f f g g"
    "e e f f g g";
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
  isolation: isolate;
  background: var(--dusk);
}
.tile:nth-child(1) { grid-area: a; }
.tile:nth-child(2) { grid-area: b; }
.tile:nth-child(3) { grid-area: c; }
.tile:nth-child(4) { grid-area: d; }
.tile:nth-child(5) { grid-area: e; }
.tile:nth-child(6) { grid-area: f; }
.tile:nth-child(7) { grid-area: g; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 4, 28, 0.92) 100%);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 61, 150, 0.25), rgba(139, 61, 255, 0.2) 60%, rgba(255, 138, 61, 0.15));
  mix-blend-mode: multiply;
}
.tile-body { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; }
.tile-title, .tile-meta { display: block; }
.tile-title {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 8px 0 6px;
  text-wrap: balance;
}
.tile:nth-child(1) .tile-title { font-size: clamp(28px, 3.4vw, 50px); max-width: 13ch; }
.tile:nth-child(1) .tile-body { left: 22px; bottom: 20px; }
.tile-meta { font-family: var(--cond); font-weight: 600; font-size: 14px; color: rgba(255, 243, 234, 0.75); }
.tile:nth-child(4) .tile-title { font-size: clamp(16px, 1.4vw, 20px); }
.tile .tag { position: relative; }
.tile-top { position: absolute; z-index: 2; top: 10px; right: 10px; }

/* ---------- Article rows / cards ---------- */
.rows { display: grid; gap: 0; }
.row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.row:first-child { border-top: 0; padding-top: 0; }
.thumb { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-2); background: var(--dusk); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.thumb .duration { position: absolute; right: 8px; bottom: 8px; }
.thumb .tag { position: absolute; left: 8px; top: 8px; }
.row h3 { font-size: 23px; margin: 6px 0 8px; text-wrap: balance; }
.row p { color: var(--muted); margin: 0 0 10px; font-size: 16px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.card { display: grid; gap: 12px; align-content: start; text-decoration: none; }
.card h3 { font-size: 19px; text-wrap: balance; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.sidebar { display: grid; gap: 24px; position: sticky; top: 96px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 243, 234, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.socials svg { width: 20px; height: 20px; }

/* ---------- Newsletter ---------- */
.newsletter-mini p { color: var(--muted); font-size: 15px; }
.newsletter-mini form { display: grid; gap: 10px; }
.newsletter {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(19, 10, 41, 0.92) 0%, rgba(19, 10, 41, 0.72) 48%, rgba(19, 10, 41, 0.15) 100%),
    url("../img/pink-palms.jpg") center / cover;
  box-shadow: var(--shadow-3);
  isolation: isolate;
}
.newsletter-inner { max-width: 560px; }
.newsletter h2 { margin-bottom: 14px; }
.newsletter .lede { margin-bottom: 24px; }
.inline-form { display: flex; gap: 10px; }
.inline-form .input { height: 56px; border-radius: var(--r-pill); padding-inline: 22px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: var(--surf); }

/* ---------- Creator band ---------- */
.creator-band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sunset);
  color: #1b0730;
  box-shadow: var(--glow), var(--shadow-3);
  isolation: isolate;
}
.creator-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 300px at 90% 120%, rgba(139, 61, 255, 0.55), transparent 70%),
    repeating-linear-gradient(180deg, rgba(27, 7, 48, 0.07) 0 2px, transparent 2px 9px);
}
.creator-band-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 60px); }
.creator-band h2 { font-size: clamp(38px, 5vw, 70px); }
.creator-band p { font-size: 18px; font-weight: 500; max-width: 46ch; margin: 16px 0 24px; }
.platform-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: rgba(27, 7, 48, 0.88);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 20px -10px rgba(27, 7, 48, 0.8);
}
.platform-pill svg { width: 18px; height: 18px; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(36px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { max-width: 16ch; margin: 10px 0 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { text-decoration: none; color: var(--muted); }

/* ---------- Post page ---------- */
.post-head { padding: clamp(24px, 4vw, 48px) 0 24px; }
.post-head h1 { font-size: clamp(40px, 5.6vw, 80px); max-width: 18ch; margin: 14px 0 20px; }
.post-meta { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.post-meta .meta { display: inline-flex; gap: 6px; align-items: center; }
.post-meta svg { width: 16px; height: 16px; }

.action-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0;
  margin: 18px 0 0;
  border-bottom: 1px solid var(--line);
}
.action-bar .spacer { flex: 1; }
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  background: rgba(255, 243, 234, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out), color 160ms var(--ease-out);
}
.pill-btn:active { transform: scale(0.96); }
.pill-btn svg { width: 18px; height: 18px; }
.pill-btn[aria-pressed="true"] { color: #1b0730; background: var(--ink); }
.pill-btn.round { width: 40px; padding: 0; justify-content: center; }

.creator-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.creator-strip .who { flex: 1; min-width: 200px; }
.creator-strip .who strong { display: block; font-size: 18px; }
.badge-feat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #1b0730;
  background: var(--gold);
  margin-left: 8px;
  vertical-align: 2px;
}

/* The commentary box: where the blogging happens */
.commentary {
  position: relative;
  margin-top: 32px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(49, 26, 92, 0.55), rgba(26, 14, 54, 0.7));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.commentary::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--sunset-v);
}
.commentary-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px clamp(20px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 4, 24, 0.3);
}
.commentary-head h2 { font-size: 30px; }
.commentary-head .by { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.commentary-body { padding: clamp(22px, 4vw, 44px); max-width: 74ch; }
.commentary-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 82px;
  line-height: 0.82;
  padding: 6px 12px 0 0;
  background: var(--sunset-v);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.commentary-body h3 { font-size: 23px; margin: 36px 0 12px; }
.commentary-body p, .commentary-body li { color: #eadff2; }
.pull {
  margin: 30px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--pink);
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  color: var(--ink);
}
.pull cite { display: block; margin-top: 10px; font-family: var(--text); text-transform: none; font-style: normal; font-size: 15px; color: var(--dim); }
.moments { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.moments a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background-color 160ms var(--ease-out);
}
.moments time { font-family: var(--cond); font-weight: 700; color: var(--surf); font-size: 17px; }
.steps-list { padding-left: 1.3em; margin: 0 0 1em; }
.steps-list li { padding-left: 6px; margin-bottom: 8px; }
.steps-list li::marker { font-family: var(--display); color: var(--pink); }
.verdict {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: rgba(10, 4, 24, 0.45);
  box-shadow: inset 0 0 0 1px var(--line);
}
.score { font-family: var(--display); font-size: 58px; line-height: 0.9; }
.score small { font-size: 22px; color: var(--dim); }
.verdict p { margin: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 clamp(22px, 4vw, 44px) clamp(22px, 4vw, 36px); }

.author-box { display: grid; grid-template-columns: auto 1fr; gap: 18px; margin-top: 28px; }
.author-box p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.prev-next a { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-md); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 160ms var(--ease-out); }
.prev-next a:last-child { text-align: right; }
.prev-next strong { font-size: 16px; line-height: 1.3; }

.comments { margin-top: 48px; }
.comment { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.comment .avatar { width: 40px; height: 40px; font-size: 16px; }
.comment-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.comment p { margin: 4px 0 8px; color: #eadff2; font-size: 16px; }
.comment-actions { display: flex; gap: 16px; font-size: 14px; color: var(--dim); }
.comment-actions button { all: unset; cursor: pointer; font-weight: 600; }
.comment .comment { border-top: 0; padding-bottom: 0; }
.comment-form { display: grid; gap: 12px; margin: 18px 0 8px; }

/* ---------- Pricing ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; padding: 24px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); background: rgba(10, 4, 24, 0.3); }
.steps li::before {
  content: counter(s);
  display: block;
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  margin-bottom: 10px;
  background: var(--sunset-v);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.steps p { color: var(--muted); margin: 8px 0 0; font-size: 16px; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(49, 26, 92, 0.5), rgba(26, 14, 54, 0.6));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.tier.best { border: 0; box-shadow: var(--glow), var(--shadow-3); background: linear-gradient(180deg, rgba(70, 24, 100, 0.9), rgba(36, 14, 70, 0.95)) padding-box, var(--sunset) border-box; border: 2px solid transparent; }
.tier .flag { position: absolute; top: -14px; left: 28px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--sunset); color: #1b0730; font-weight: 700; font-size: 14px; }
.tier h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; }
.tier .price { font-family: var(--display); font-size: 64px; line-height: 1; margin: 14px 0 4px; }
.tier .price small { font-family: var(--text); font-size: 16px; color: var(--dim); }
.tier .placeholder { display: inline-block; font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.tier ul { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 10px; flex: 1; }
.tier li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; color: #eadff2; }
.tier li svg { width: 20px; height: 20px; color: var(--surf); margin-top: 3px; }
.tier .btn { width: 100%; }

.platform-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-picker .chip svg { width: 16px; height: 16px; }
.platform-picker .chip.detected { color: #1b0730; background: var(--surf); box-shadow: none; }
.form-card { padding: clamp(22px, 4vw, 40px); }
.summary { display: grid; gap: 10px; font-size: 16px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary .total { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 18px; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-weight: 700;
  font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--display); font-size: 28px; color: var(--pink); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 70ch; margin: -4px 0 20px; }

/* ---------- Advertise ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.stat { background: var(--night-2); padding: 26px 22px; }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; }
.stat span { color: var(--muted); font-size: 15px; }
.placements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.placement { padding: 22px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); background: rgba(10, 4, 24, 0.3); }
.placement p { color: var(--muted); font-size: 15px; margin: 8px 0 0; }
.mini { height: 150px; border-radius: var(--r-sm); background: var(--night); box-shadow: inset 0 0 0 1px var(--line); padding: 10px; display: grid; gap: 6px; margin-bottom: 18px; }
.mini i { display: block; border-radius: 3px; background: rgba(255, 243, 234, 0.08); }
.mini i.hot { background: var(--sunset); box-shadow: var(--glow); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-3); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 61, 150, 0.22), rgba(139, 61, 255, 0.2)); mix-blend-mode: multiply; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 24px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); }
.value p { color: var(--muted); margin: 8px 0 0; font-size: 16px; }
.prose { max-width: 66ch; }
.prose p { color: #eadff2; }

/* ---------- Pagination ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pager a, .pager span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 160ms var(--ease-out);
}
.pager [aria-current="page"] { background: var(--ink); color: #1b0730; box-shadow: none; }
.empty { display: none; padding: 48px 24px; text-align: center; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.empty.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 112px);
  padding: 56px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 4, 24, 0), rgba(10, 4, 24, 0.7));
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid p { color: var(--muted); font-size: 15px; max-width: 36ch; margin: 16px 0 20px; }
.footer-grid h4 { margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid ul a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color 160ms var(--ease-out); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-base p { margin: 0; max-width: 80ch; }

.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Hover: only for precise pointers ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -10px rgba(255, 61, 150, 0.85), 0 6px 14px -6px rgba(255, 138, 61, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  .btn-ghost:hover { background: rgba(255, 243, 234, 0.12); }
  .nav-links a:hover { color: var(--ink); }
  .icon-btn:hover, .pill-btn:hover, .socials a:hover { background: rgba(255, 243, 234, 0.13); }
  .chip:not(.is-active):not([aria-pressed="true"]):hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
  .player:hover img, .tile:hover img, a:hover > .thumb img, .row:hover .thumb img { transform: scale(1.04); }
  .player:hover .play { transform: scale(1.06); }
  .row:hover h3, .card:hover h3, .trend-list a:hover strong { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .tag-cloud a:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--pink); }
  .footer-grid ul a:hover { color: var(--ink); }
  .moments a:hover, .prev-next a:hover, .pager a:hover { background: rgba(255, 243, 234, 0.06); }
  .link:hover { text-decoration-color: var(--surf); }
  .comment-actions button:hover { color: var(--ink); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .trend-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .trend-list li:nth-child(2) a { border-top: 0; padding-top: 2px; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1240px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
}

@media (max-width: 860px) {
  .cards, .tiers, .placements, .values { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .creator-band-inner, .split { grid-template-columns: 1fr; }
  .platform-row { justify-content: flex-start; }
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    grid-template-areas:
      "a a"
      "a a"
      "b b"
      "c d"
      "e d"
      "f g";
  }
  .tile:nth-child(1) .tile-title { font-size: 32px; }
  .tile-title { font-size: 18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 64px; gap: 12px; }
  .logo-badge { width: 38px; height: 38px; font-size: 26px; border-radius: 10px; }
  .logo-word { font-size: 18px; }
  .logo-word small { font-size: 11px; }
  .nav-tools .btn-submit { display: none; }
  .hero-title { margin-top: -0.45em; padding-inline: 10px; }
  .hero-meta { padding-inline: 10px; }
  .hero-actions { margin-left: 0; width: 100%; }
  .hero-actions .btn { flex: 1; }
  .trend-list { grid-template-columns: 1fr; }
  .trend-list li:nth-child(2) a { border-top: 1px solid var(--line); padding-top: 12px; }
  .row { grid-template-columns: 1fr; gap: 14px; }
  .cards, .tiers, .placements, .values, .sidebar { grid-template-columns: 1fr; }
  .form-grid.two { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
  .inline-form .btn { height: 52px; }
  .newsletter { background: linear-gradient(180deg, rgba(19, 10, 41, 0.6), rgba(19, 10, 41, 0.94) 55%), url("../img/pink-palms.jpg") center top / cover; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .prev-next { grid-template-columns: 1fr; }
  .prev-next a:last-child { text-align: left; }
  .commentary-head { flex-wrap: wrap; }
  .commentary-head .by { margin-left: 0; width: 100%; }
  .action-bar .spacer { display: none; }
  .mosaic { grid-auto-rows: 120px; gap: 6px; padding: 6px; }
  .tile-body { left: 10px; right: 10px; bottom: 10px; }
  .tile:nth-child(1) .tile-body { left: 14px; bottom: 14px; }
  .tile .tag { font-size: 12px; }
  .tile-meta { font-size: 12px; }
  .mosaic { grid-auto-rows: 140px; }
  .tile:nth-child(n+3) .tile-top, .tile:nth-child(n+3) .tile-meta { display: none; }
  .tile:nth-child(n+3) .tile-title { font-size: 17px; margin-bottom: 0; }
  .stat { padding: 20px 16px; }
}

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

/* ---------- Late additions ---------- */
[hidden] { display: none !important; }
.plan-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--r-md);
  cursor: pointer;
  background: rgba(10, 4, 24, 0.4);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.plan input { width: 18px; height: 18px; accent-color: var(--pink); margin: 0; flex: none; }
.plan > span { display: grid; line-height: 1.25; }
.plan:has(input:checked) { background: rgba(255, 61, 150, 0.1); box-shadow: inset 0 0 0 2px var(--pink); }
.plan:has(input:focus-visible) { outline: 2px solid var(--surf); outline-offset: 3px; }
@media (max-width: 640px) {
  .filter-top { grid-template-columns: 1fr !important; }
  .plan-options { grid-template-columns: 1fr; }
}

/* =====================================================================
   Competition: rankings, trending, battles, streamer of the week,
   Hall of Fame, share studio, guides
   ===================================================================== */

.eyebrow-row { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; }
.linkish { all: unset; cursor: pointer; color: var(--surf); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(61, 232, 223, 0.4); }
.linkish:focus-visible { outline: 2px solid var(--surf); outline-offset: 3px; border-radius: var(--r-xs); }

/* Tabs */
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(10, 4, 24, 0.5);
  box-shadow: inset 0 0 0 1px var(--line);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-pill);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { color: #1b0730; background: var(--ink); }

/* Countdown */
.countdown { display: inline-flex; gap: 8px; }
.countdown .cd {
  display: grid;
  justify-items: center;
  min-width: 66px;
  padding: 10px 10px 6px;
  border-radius: var(--r-sm);
  background: rgba(10, 4, 24, 0.55);
  box-shadow: inset 0 0 0 1px var(--line);
}
.countdown b { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; }
.countdown small { font-family: var(--cond); font-weight: 600; font-size: 13px; color: var(--dim); }
.reset-panel h3 { margin-bottom: 4px; }
.reset-panel p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }

/* Ranked board */
.board { list-style: none; margin: 0; padding: 0; }
.board li + li a { border-top: 1px solid var(--line); }
.board a {
  display: grid;
  grid-template-columns: 64px 128px minmax(0, 1fr) auto;
  grid-template-areas: "rank thumb info views";
  gap: 18px;
  align-items: center;
  padding: 14px 10px;
  text-decoration: none;
  transition: background-color 160ms var(--ease-out);
}
.rank-col { grid-area: rank; display: grid; justify-items: center; gap: 6px; }
.rank-n { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--muted); }
.board li:nth-child(-n+3) .rank-n {
  font-size: 54px;
  background: var(--sunset-v);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.board li:nth-child(-n+3) a { grid-template-columns: 64px 176px minmax(0, 1fr) auto; padding-block: 18px; }
.rank-thumb { grid-area: thumb; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-sm); box-shadow: var(--shadow-1); transition: transform 600ms var(--ease-out); }
.rank-info { grid-area: info; min-width: 0; }
.rank-info strong { display: block; font-size: 17px; line-height: 1.3; text-wrap: balance; }
.board li:nth-child(-n+3) .rank-info strong { font-size: 20px; }
.rank-by { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-family: var(--cond); font-weight: 600; font-size: 15px; color: var(--dim); }
.rank-by .plat { display: inline-flex; width: 16px; height: 16px; color: var(--muted); }
.rank-by svg { width: 16px; height: 16px; }
.rank-by .avatar { width: 26px; height: 26px; font-size: 12px; }
.rank-views { grid-area: views; text-align: right; }
.rank-views b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; }
.rank-views small { font-family: var(--cond); font-weight: 600; font-size: 13px; color: var(--dim); white-space: nowrap; }

.move { display: inline-flex; align-items: center; gap: 2px; font-family: var(--cond); font-weight: 700; font-size: 14px; line-height: 1; }
.move svg { width: 13px; height: 13px; }
.move.up { color: var(--surf); }
.move.down { color: var(--tangerine); }
.move.same { color: var(--dim); }
.move.new { padding: 3px 7px 2px; border-radius: var(--r-pill); background: var(--gold); color: #1b0730; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }

.board-panel { padding: clamp(12px, 2vw, 20px); }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.board-note { margin: 16px 10px 4px; font-size: 14px; color: var(--dim); }

/* Sparkline + trending */
.spark { display: block; overflow: visible; flex: none; }
.spark-line { fill: none; stroke: var(--surf); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark-area { fill: rgba(61, 232, 223, 0.14); }
.spark-dot { fill: var(--surf); stroke: var(--night); stroke-width: 2; }
.trend-list .velo { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.trend-list .velo .spark { width: 56px; height: 18px; }
.panel-sub { margin: -8px 0 14px; font-size: 14px; color: var(--dim); }

.trend-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.trend-card { position: relative; display: grid; gap: 10px; align-content: start; text-decoration: none; }
.trend-card h3 { font-size: 18px; text-wrap: balance; padding-right: 8px; }
.trend-rank { position: absolute; top: -14px; left: -8px; z-index: 3; font-family: var(--display); font-size: 46px; line-height: 1; color: var(--ink); text-shadow: 0 3px 0 var(--pink), 0 6px 18px rgba(10, 4, 24, 0.8); }
.velo-chip { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: var(--r-pill); font-family: var(--cond); font-weight: 700; font-size: 14px; color: #062a28; background: var(--surf); }
.velo-chip svg { width: 13px; height: 13px; }
.trend-foot { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.trend-foot .rank-by { margin: 0; }

/* Streamer of the week */
.award {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(22px, 4vw, 48px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(520px 300px at 0% 0%, rgba(255, 197, 85, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(49, 26, 92, 0.65), rgba(26, 14, 54, 0.75));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.medal-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(255, 61, 150, 0.35)); }
.medal-wrap { max-width: 250px; }
.award h2 { font-size: clamp(36px, 4.4vw, 60px); margin: 6px 0 4px; }
.award .who { display: block; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.award .who svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }
.award-label { font-family: var(--cond); font-weight: 700; font-size: 16px; color: var(--gold); }
.award-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 4px 0 24px; border-radius: var(--r-md); overflow: hidden; background: var(--line); }
.award-stats div { padding: 14px 16px; background: rgba(19, 10, 41, 0.75); }
.award-stats strong { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.05; }
.award-stats span { font-size: 14px; color: var(--muted); }
.award p.how { font-size: 15px; color: var(--muted); max-width: 60ch; }

.eng-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eng-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 54px; gap: 12px; align-items: center; font-size: 15px; }
.eng-row span:first-child { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eng-row b { font-family: var(--cond); font-weight: 700; text-align: right; }
.eng-bar { height: 10px; border-radius: 0 4px 4px 0; background: rgba(255, 243, 234, 0.06); overflow: hidden; }
.eng-bar i { display: block; height: 100%; width: var(--w); border-radius: 0 4px 4px 0; background: rgba(255, 243, 234, 0.38); }
.eng-row.win .eng-bar i { background: var(--pink); }
.eng-row.win span:first-child { color: var(--ink); }

.award-mini { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.award-mini .medal-wrap { width: 96px; }
.award-mini strong { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; line-height: 1; margin: 4px 0; }
.award-mini span { font-size: 14px; color: var(--muted); }

/* Home: this week strip */
.week-strip { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.week-strip .stack { display: grid; gap: 24px; }
.board.compact a { grid-template-columns: 44px 96px minmax(0, 1fr) auto; gap: 14px; padding: 10px 4px; }
.board.compact li:nth-child(-n+3) a { grid-template-columns: 44px 96px minmax(0, 1fr) auto; padding-block: 10px; }
.board.compact .rank-n, .board.compact li:nth-child(-n+3) .rank-n { font-size: 34px; }
.board.compact .rank-info strong, .board.compact li:nth-child(-n+3) .rank-info strong { font-size: 16px; }
.board.compact .rank-views b { font-size: 22px; }
.board.compact .move { display: none; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 8px; }
.panel-head h3 { margin: 0; }
.panel-head .meta { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.panel-head .meta svg { width: 16px; height: 16px; }
.trend-list .velo b { font-family: var(--cond); font-weight: 700; font-size: 14px; color: var(--surf); }

.teaser { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: center; }
.teaser-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--r-md); background: #0a0418; transform: rotate(-3deg); box-shadow: var(--shadow-2); }
.teaser-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.teaser p { margin: 4px 0 14px; color: var(--muted); font-size: 15px; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; font-family: var(--cond); font-weight: 700; font-size: 14px; color: var(--pink); }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255, 61, 150, 0.2); animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 7px rgba(255, 61, 150, 0); } }

/* Battles */
.battle-bar { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.battle-title h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 6px 0 6px; }
.battle-title p { margin: 0; color: var(--muted); font-size: 18px; }
.battle-facts { display: flex; gap: 22px; flex-wrap: wrap; }
.battle-facts div { display: grid; }
.battle-facts strong { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.05; }
.battle-facts span { font-size: 14px; color: var(--dim); }
.battle-status { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; margin: 0 0 22px; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(10, 4, 24, 0.45); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--muted); }
.battle-status svg { width: 18px; height: 18px; color: var(--surf); flex: none; }

.vote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vote-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 10px 10px 16px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(49, 26, 92, 0.55), rgba(26, 14, 54, 0.6));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  transition: box-shadow 200ms var(--ease-out);
}
.vote-card > :not(.thumb) { margin-inline: 6px; }
.vote-card .thumb { display: block; }
.vote-card .thumb .tag { left: 8px; top: 8px; }
.vote-card h3 { font-size: 18px; text-wrap: balance; }
.vote-card h3 a { text-decoration: none; }
.vote-card .rank-by { margin: 0; }
.vote-btn { width: calc(100% - 12px); margin-top: 6px; }
.vote-card.picked { box-shadow: 0 0 0 2px var(--pink), var(--glow); }
.result { display: grid; gap: 6px; margin-top: 6px; }
.result-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; color: var(--muted); }
.result-top b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--ink); }
.picked .result-top span { color: var(--pink); }
.result-bar { height: 12px; border-radius: 0 4px 4px 0; background: rgba(255, 243, 234, 0.07); overflow: hidden; }
.result-bar i { display: block; height: 100%; width: var(--w); border-radius: 0 4px 4px 0; background: rgba(255, 243, 234, 0.4); transform-origin: left; animation: barGrow 700ms var(--ease-out) both; }
.picked .result-bar i { background: var(--pink); }
.result small { font-size: 13px; color: var(--dim); }
@keyframes barGrow { from { transform: scaleX(0); } }

/* Podium */
.podium, .podium-base { max-width: 1000px; margin-inline: auto !important; }
.podium { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: clamp(10px, 2vw, 22px); align-items: end; }
.pod { display: grid; gap: 12px; text-align: center; min-width: 0; }
.pod.first { order: 2; }
.pod.second { order: 1; }
.pod.third { order: 3; }
.pod .thumb { aspect-ratio: 16 / 10; }
.pod.first .thumb { box-shadow: 0 0 0 3px var(--gold), var(--shadow-3); }
.pod-text { position: relative; z-index: 1; }
.pod-text strong { display: block; color: var(--ink); font-size: 17px; line-height: 1.3; text-wrap: balance; }
.pod.first .pod-text strong { font-size: 20px; }
.pod-text span { font-family: var(--cond); font-weight: 600; font-size: 15px; color: var(--dim); }
.pod-step { display: grid; align-content: start; justify-items: center; gap: 2px; padding-top: 16px; border-radius: var(--r-md) var(--r-md) 0 0; color: #1b0730; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), var(--shadow-2); }
.pod-place { font-family: var(--display); font-size: clamp(40px, 5vw, 68px); line-height: 1; }
.pod-step small { font-weight: 700; font-size: 14px; opacity: 0.8; }
.pod.first .pod-step { height: clamp(150px, 16vw, 200px); background: linear-gradient(180deg, #ffd889, #ffc555 40%, #ff8a3d); }
.pod.second .pod-step { height: clamp(112px, 12vw, 148px); background: linear-gradient(180deg, #f7f0fb, #cbb7df); }
.pod.third .pod-step { height: clamp(88px, 9vw, 112px); background: linear-gradient(180deg, #ffb27d, #e0723a); }
.podium-base { height: 10px; border-radius: 0 0 var(--r-sm) var(--r-sm); background: #0a0418; box-shadow: var(--shadow-2); }

/* Hall of Fame */
.tile-rank {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 12px;
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 3px 0 var(--pink), 0 6px 20px rgba(10, 4, 24, 0.7);
}
.tile:nth-child(1) .tile-rank { font-size: 96px; top: 10px; left: 20px; text-shadow: 0 5px 0 var(--pink), 0 10px 30px rgba(10, 4, 24, 0.7); }
.hof .tile-title { margin-top: 0; }

.champs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.champ-round { display: grid; grid-template-columns: 120px repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.champ-round > h3 { align-self: center; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1; }
.champ-round > h3 small { display: block; font-family: var(--cond); font-weight: 600; font-size: 14px; color: var(--dim); text-transform: none; margin-top: 4px; }
.champ { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: var(--r-md); text-decoration: none; background: rgba(10, 4, 24, 0.35); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 160ms var(--ease-out); }
.champ img { width: 72px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.champ .kind { display: inline-flex; align-items: center; gap: 5px; font-family: var(--cond); font-weight: 700; font-size: 13px; color: var(--gold); }
.champ .kind svg { width: 14px; height: 14px; }
.champ strong { display: block; font-size: 15px; line-height: 1.3; margin: 2px 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.champ span.by { font-family: var(--cond); font-weight: 600; font-size: 14px; color: var(--dim); }

.wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.wall-card { display: grid; justify-items: center; gap: 4px; padding: 20px 12px 18px; text-align: center; border-radius: var(--r-md); background: rgba(10, 4, 24, 0.35); box-shadow: inset 0 0 0 1px var(--line); }
.wall-card .avatar { width: 64px; height: 64px; font-size: 26px; box-shadow: 0 0 0 3px var(--night), 0 0 0 5px var(--gold); margin-bottom: 8px; }
.wall-card strong { font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wall-card span { font-family: var(--cond); font-weight: 600; font-size: 14px; color: var(--dim); }
.wall-card b { font-family: var(--cond); font-weight: 700; font-size: 14px; color: var(--gold); }

/* Share studio */
.studio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.studio-preview {
  display: grid;
  place-items: center;
  padding: clamp(14px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  background: repeating-conic-gradient(rgba(255, 243, 234, 0.035) 0 25%, transparent 0 50%) 0 0 / 22px 22px, #0a0418;
  box-shadow: var(--shadow-3);
}
.studio-preview canvas { display: block; max-width: 100%; max-height: 72svh; width: auto; height: auto; border-radius: var(--r-sm); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); }
.studio-controls { display: grid; gap: 22px; }
.studio-controls .chips .chip svg { width: 16px; height: 16px; }
.studio-controls .textarea { min-height: 220px; font-size: 15px; }
.studio-size { font-family: var(--cond); font-weight: 600; font-size: 14px; color: var(--dim); }

/* Guides */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: var(--r-pill); font-family: var(--cond); font-weight: 700; font-size: 14px; color: #fff; background: rgba(19, 10, 41, 0.78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--gold)); }
.st-today { --c: var(--gold); }
.st-new { --c: var(--surf); }
.st-soon { --c: var(--dim); }

.guide-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: center; text-decoration: none; }
.guide-feature .thumb { aspect-ratio: 16 / 9; box-shadow: var(--shadow-3); }
.guide-feature h2 { font-size: clamp(34px, 4vw, 54px); margin: 14px 0 14px; text-wrap: balance; }
.guide-feature p { color: var(--muted); font-size: 18px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.guide-card { display: grid; gap: 12px; align-content: start; text-decoration: none; }
.guide-card .thumb .status { position: absolute; left: 8px; top: 8px; }
.guide-card h3 { font-size: 20px; text-wrap: balance; }
.guide-card p { margin: 0; color: var(--muted); font-size: 15px; }
.guide-card.soon .thumb img { filter: grayscale(0.7) brightness(0.55); }
.guide-card.soon .thumb::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 243, 234, 0.05) 0 12px, transparent 12px 24px); }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; }
.guide-list a { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; }
.guide-list li:first-child a { border-top: 0; padding-top: 0; }
.guide-list a::before { content: counter(g); counter-increment: g; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1; color: var(--pink); }
.guide-list { counter-reset: g; }

/* Article (guide.html) */
.article-head { padding: clamp(24px, 4vw, 48px) 0 24px; }
.article-head h1 { font-size: clamp(40px, 5.4vw, 76px); max-width: 20ch; margin: 14px 0 20px; text-wrap: balance; }
.article { max-width: 74ch; }
.article > h2 { font-size: clamp(30px, 3.2vw, 42px); margin: 48px 0 16px; scroll-margin-top: 100px; }
.article > h3 { font-size: 21px; margin: 28px 0 10px; }
.article p, .article li { color: #eadff2; }
.article ul { padding-left: 1.2em; }
.article a { color: var(--surf); }
.quick-answer {
  position: relative;
  margin: 8px 0 28px;
  padding: 22px 24px 20px 28px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(49, 26, 92, 0.6), rgba(26, 14, 54, 0.7));
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.quick-answer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sunset-v); }
.quick-answer h2 { font-size: 26px; margin-bottom: 10px; }
.quick-answer p { margin: 0; font-size: 18px; color: var(--ink); }
.tbc { color: var(--gold); font-weight: 700; text-decoration: underline dashed 1px; text-underline-offset: 4px; white-space: nowrap; }
.toc { padding: 18px 22px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); background: rgba(10, 4, 24, 0.3); }
.toc h2 { font-family: var(--text); text-transform: none; font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: 15px; }
.toc a { color: var(--muted); text-decoration: none; }
.table-wrap { overflow-x: auto; margin: 8px 0 20px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-family: var(--cond); font-weight: 700; font-size: 15px; color: var(--muted); background: rgba(10, 4, 24, 0.45); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 700; color: var(--ink); }
.data-table td.nw, .data-table td:nth-child(2) { white-space: nowrap; }
.editor-note { margin: 0 0 24px; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(255, 197, 85, 0.1); color: var(--gold); font-size: 15px; font-weight: 600; }

/* Submit: review flow */
.review-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.review-track li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 16px; }
.review-track li:last-child { padding-bottom: 0; }
.review-track li::before { content: ""; width: 14px; height: 14px; margin: 5px 0 0 7px; border-radius: 50%; background: var(--night); box-shadow: 0 0 0 2px var(--line-strong); z-index: 1; }
.review-track li:first-child::before { background: var(--surf); box-shadow: 0 0 0 4px rgba(61, 232, 223, 0.2); }
.review-track li::after { content: ""; position: absolute; left: 13px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.review-track li:last-child::after { display: none; }
.review-track strong { display: block; font-size: 15px; }
.review-track span { font-size: 14px; color: var(--dim); }

/* Hover (precise pointers only) */
@media (hover: hover) and (pointer: fine) {
  .board a:hover, .champ:hover { background: rgba(255, 243, 234, 0.05); }
  .board a:hover .rank-info strong, .trend-card:hover h3, .guide-card:hover h3, .guide-feature:hover h2, .vote-card h3 a:hover, .guide-list a:hover { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .board a:hover .rank-thumb, .trend-card:hover .thumb img, .guide-card:hover .thumb img, .guide-feature:hover .thumb img, .vote-card .thumb:hover img { transform: scale(1.04); }
  .tab:not([aria-selected="true"]):hover { color: var(--ink); background: rgba(255, 243, 234, 0.08); }
  .toc a:hover { color: var(--ink); }
}

/* Responsive */
@media (max-width: 1100px) {
  .trend-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week-strip { grid-template-columns: 1fr; }
  .week-strip .stack { grid-template-columns: 1fr 1fr; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .champ-round { grid-template-columns: 1fr 1fr 1fr; }
  .champ-round > h3 { grid-column: 1 / -1; }
  .studio { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .award { grid-template-columns: 1fr; }
  .award .medal-wrap { max-width: 190px; }
  .vote-grid, .guide-grid { grid-template-columns: 1fr 1fr; }
  .guide-feature { grid-template-columns: 1fr; }
  .champ-round { grid-template-columns: 1fr; }
  .week-strip .stack { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .board a, .board li:nth-child(-n+3) a, .board.compact a, .board.compact li:nth-child(-n+3) a {
    grid-template-columns: 40px 92px minmax(0, 1fr);
    grid-template-areas: "rank thumb info" "rank thumb views";
    gap: 2px 12px;
    padding: 12px 2px;
  }
  .board li:nth-child(-n+3) .rank-n { font-size: 40px; }
  .rank-n { font-size: 28px; }
  .rank-info strong, .board li:nth-child(-n+3) .rank-info strong { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .rank-by { font-size: 14px; }
  .rank-views { text-align: left; display: flex; align-items: baseline; gap: 6px; }
  .rank-views b, .board.compact .rank-views b { font-size: 18px; }
  .board.compact .move { display: none; }
  .trend-cards { grid-template-columns: 1fr; gap: 26px; }
  .trend-rank { left: -4px; }
  .award-stats { grid-template-columns: 1fr 1fr 1fr; }
  .award-stats strong { font-size: 26px; }
  .award-stats div { padding: 12px; }
  .eng-row { grid-template-columns: 112px minmax(0, 1fr) 48px; font-size: 14px; }
  .guide-grid { grid-template-columns: 1fr; }
  .vote-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vote-card { padding: 6px 6px 12px; border-radius: var(--r-md); gap: 8px; }
  .vote-card > :not(.thumb) { margin-inline: 4px; }
  .vote-card h3 { font-size: 15px; }
  .vote-card .thumb .tag { font-size: 12px; }
  .vote-card .rank-by { font-size: 13px; }
  .vote-card .rank-by .avatar { display: none; }
  .vote-btn { --h: 42px; width: calc(100% - 8px); padding: 0 8px; font-size: 14px; }
  .result-top b { font-size: 24px; }
  .battle-facts strong { font-size: 24px; }
  .countdown .cd { min-width: 58px; }
  .countdown b { font-size: 28px; }
  .pod-text strong, .pod.first .pod-text strong { font-size: 13px; }
  .pod-text span { font-size: 12px; }
  .pod-step small { font-size: 11px; }
  .wall { grid-template-columns: 1fr 1fr; }
  .teaser { grid-template-columns: 96px minmax(0, 1fr); }
  .tile:nth-child(1) .tile-rank { font-size: 64px; }
  .tile:nth-child(n+2) .tile-rank { font-size: 30px; }
  .tile-rank + .tile-top { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot::before { animation: none; }
}

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: 104px; }

/* ---------- Clip page: facts, credit, spotlight ---------- */
.clip-facts { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 0; padding: 0; }
.clip-facts > div { display: grid; gap: 4px; padding: 0 22px; border-left: 1px solid var(--line); }
.clip-facts > div:first-child { padding-left: 0; border-left: 0; }
.clip-facts dt { font-family: var(--cond); font-weight: 600; font-size: 14px; color: var(--dim); }
.clip-facts dd { margin: 0; display: flex; align-items: center; min-height: 36px; font-weight: 700; }
.clip-facts .tag { position: static; }
.fact-plat { display: inline-flex; align-items: center; gap: 8px; }
.fact-plat svg { width: 18px; height: 18px; }
.fact-rank { color: var(--gold); text-decoration: none; }

.commentary-body > p:first-of-type { font-size: 18px; }

.credit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 20px;
  align-items: center;
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: rgba(10, 4, 24, 0.4);
  box-shadow: inset 0 0 0 1px var(--line);
}
.credit dl { margin: 0; display: grid; gap: 8px; min-width: 0; }
.credit dl > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.credit dt { font-family: var(--cond); font-weight: 600; font-size: 15px; color: var(--dim); }
.credit dd { margin: 0; overflow-wrap: anywhere; }
.credit .badge-feat { margin-left: 6px; }
.credit-actions { grid-column: 2; display: flex; gap: 10px; flex-wrap: wrap; }
.credit-note { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.credit dl > div { grid-template-columns: 124px minmax(0, 1fr); }

.comments-lede { color: var(--muted); max-width: 60ch; margin: 10px 0 4px; }
.comments-count { font-size: 18px; margin: 28px 0 4px; }

.spotlight-note { font-size: 14px !important; font-style: italic; font-weight: 500 !important; margin: 16px 0 0 !important; opacity: 0.85; }
.spotlight-socials { display: grid; gap: 10px; justify-items: end; }
.spotlight-label { font-family: var(--cond); font-weight: 700; font-size: 16px; color: #1b0730; }
a.platform-pill { text-decoration: none; transition: transform 160ms var(--ease-out); }
a.platform-pill:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  a.platform-pill:hover { transform: translateY(-1px); }
  .fact-rank:hover { text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 860px) {
  .credit { grid-template-columns: auto minmax(0, 1fr); }
  .credit-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .spotlight-socials { justify-items: start; }
}
@media (max-width: 640px) {
  .clip-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .clip-facts > div { padding: 0; border-left: 0; }
  .credit { padding: 16px; }
  .credit dl > div { grid-template-columns: 1fr; gap: 2px; }
  .credit-actions .btn { flex: 1; }
}

.share-save { display: grid; gap: 10px; margin: 0; }
.share-save img { max-height: 320px; width: auto; max-width: 100%; border-radius: var(--r-sm); box-shadow: var(--shadow-2); justify-self: start; }
.share-save figcaption { font-size: 14px; color: var(--muted); }

/* ---------- Blog ---------- */
.bc-news { --c: #3de8df; }
.bc-top10 { --c: #ffc555; }
.bc-battles { --c: #ff3d96; }
.bc-spotlight { --c: #b98bff; }
.bc-behind { --c: #ff8a3d; }
a.tag { color: #fff; }
.rows .row.first-shown { border-top: 0; padding-top: 0; }
.post-hero { margin: 0 0 24px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-3); position: relative; }
.post-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 61, 150, 0.2), rgba(139, 61, 255, 0.18)); mix-blend-mode: multiply; }
.article > .quick-answer + p { font-size: 19px; }
.blog-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.blog-cards .card .thumb .tag { left: 8px; top: 8px; }
@media (max-width: 860px) { .blog-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-cards { grid-template-columns: 1fr; } }

/* Grid columns may shrink below their widest child (e.g. a swipeable chip row) */
.layout > * { min-width: 0; }

/* ---------- Pre-launch: coming soon ---------- */
.prelaunch [data-after-launch] { display: none !important; }
html:not(.prelaunch) [data-before-launch] { display: none !important; }
html:not(.prelaunch) .soon { display: none; }
.soon {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: var(--r-pill);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.4;
  vertical-align: 2px;
  color: #1b0730;
  background: var(--gold);
}
.mobile-menu .soon { font-size: 13px; vertical-align: 8px; }

.launch-soon {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4.5vw, 56px);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(640px 360px at 100% 0%, rgba(255, 61, 150, 0.28), transparent 70%),
    radial-gradient(560px 340px at 0% 100%, rgba(139, 61, 255, 0.3), transparent 70%),
    linear-gradient(180deg, rgba(49, 26, 92, 0.75), rgba(26, 14, 54, 0.85));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
}
.launch-soon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(180deg, rgba(255, 243, 234, 0.025) 0 2px, transparent 2px 8px);
  pointer-events: none;
}
.soon-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 16px;
  color: var(--gold);
}
.soon-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 197, 85, 0.2); animation: livePulse 1.8s ease-in-out infinite; }
.launch-soon h2 { font-size: clamp(34px, 4vw, 56px); margin: 10px 0 14px; text-wrap: balance; }
.launch-soon-copy > p { color: var(--muted); max-width: 52ch; }
.launch-dates { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; border-top: 1px solid var(--line); }
.launch-dates li > span, .launch-dates li > a { display: flex; }
.launch-dates li { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.launch-dates li > a { flex: 1; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; text-decoration: none; }
.launch-dates span { color: var(--muted); }
.launch-dates strong { font-family: var(--cond); font-weight: 700; font-size: 17px; color: var(--ink); }
.launch-dates a span { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 61, 150, 0.5); text-underline-offset: 4px; }
.launch-soon .inline-form { max-width: 520px; }
.launch-soon .mock-note { max-width: 520px; }

.launch-clock { display: grid; justify-items: center; gap: 14px; text-align: center; }
.launch-clock-label { font-family: var(--display); text-transform: uppercase; font-size: 24px; letter-spacing: 0.02em; color: var(--muted); }
.countdown.big { gap: clamp(6px, 1vw, 12px); font-variant-numeric: tabular-nums; }
.countdown.big .cd { min-width: clamp(64px, 7vw, 104px); padding: clamp(10px, 1.4vw, 18px) 6px clamp(8px, 1vw, 12px); border-radius: var(--r-md); background: rgba(10, 4, 24, 0.7); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-2); }
.countdown.big b {
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.95;
  background: var(--sunset-v);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.countdown.big small { font-size: 14px; margin-top: 4px; }
.launch-when { margin: 0; font-size: 15px; color: var(--muted); }
.launch-banner .launch-dates { margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) {
  .launch-dates a:hover span { text-decoration-color: var(--pink); }
}
@media (max-width: 960px) {
  .launch-soon { grid-template-columns: 1fr; }
  .launch-clock { order: -1; }
}
@media (max-width: 640px) {
  .countdown.big .cd { min-width: 0; flex: 1; }
  .countdown.big { width: 100%; }
  .launch-clock-label { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .soon-chip::before { animation: none; } }
.launch-aside { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.launch-dates li strong { text-align: right; }
