
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #0a0a0b;
  --bg2: #111113;
  --bg3: #18181b;
  --bg4: #1f1f23;
  --border: #2a2a2e;
  --border2: #38383e;
  --fg: #f4f4f5;
  --fg2: #a1a1aa;
  --fg3: #8b8b95;
  --accent: #e63329;
  --accent2: #ff4a40;
  --accent-dim: rgba(230,51,41,0.12);
  --green: #22c55e;
  --green-dim: rgba(34,197,94,0.12);
  --blue: #3b82f6;
  --gold: #ffd700;
  --silver: #c0c0c0;
  --bronze: #cd7f32;
  --radius: 10px;
  --radius-sm: 6px;
  color-scheme: dark;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; }

/* PAGE SYSTEM */
.page { display: none; }
.page.active { display: block; }

/* NAV */
.nav {
  /* Pinned to the very top. The page never draws under the phone's status bar (no 'cover' viewport setting, no safe area padding at the top):
     on iPhone Chrome and Safari that area changes size while scrolling, which pushed the top of every page under this header. Keep it this way. */
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,11,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
/* One header, pinned at the top on every device. On iPhone and iPad the page scrolls inside its own full screen frame (#shell)
   instead of the browser window: Chrome and Safari then never slide their bars in and out, which is what left the top of the page
   about 70 points under the header or out of sight (November 2026). The header stays pinned inside the frame. Do not remove. */
html.ios-shell #shell { position: fixed; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scroll-padding-top: 72px; background: var(--bg); }
html.ios-shell.pay-lock #shell { overflow: hidden; }
@supports (-webkit-touch-callout: none) {
  .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(10,10,11); }
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 20px; height: 54px;
  display: flex; align-items: center; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 16px;
  letter-spacing: -0.02em; white-space: nowrap; flex-shrink: 0;
  cursor: pointer;
}
.logo-icon {
  width: 40px; height: 28px; background: var(--accent); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-svg { fill: #fff; display: block; }
.logo-year {
  font-size: 10px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.06em; background: var(--accent-dim);
  padding: 2px 5px; border-radius: 4px;
}
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-link {
  padding: 5px 11px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--fg2);
  background: none; border: none;
  transition: color 0.12s, background 0.12s; cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--fg); background: var(--bg3); }
.nav-search-btn {
  margin-left: auto;
  display: flex; align-items: center; gap: 7px;
  background: var(--bg3); border: 1px solid var(--border2);
  color: var(--fg2); padding: 6px 12px;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  transition: border-color 0.12s, color 0.12s;
  flex-shrink: 0;
}
.nav-search-btn:hover { border-color: var(--accent); color: var(--fg); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fg2);
  border-radius: 2px;
  transition: transform 0.2s var(--ease-out, ease), opacity 0.2s var(--ease-out, ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* on computers the menu sits exactly in the middle of the bar: logo on the left, menu in the centre, search on the right */
@media (min-width: 769px) {
  .nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
  .nav-links { flex: none; justify-content: center; }
  .nav-search-btn { justify-self: end; }
}
@media (min-width: 769px) and (max-width: 900px) { .nav-inner { gap: 10px; } .nav-link { padding-left: 10px; padding-right: 10px; } }
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #0a0a0b;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(0,0,0,.6);
    padding: 8px 12px 16px;
    gap: 4px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 10px 14px; font-size: 15px; border-radius: var(--radius-sm); }
  .nav-search-btn span { display: none; }
  .nav-search-btn { padding: 6px 10px; }
}

/* HERO */
.hero {
  background: linear-gradient(180deg, rgba(230,51,41,0.06) 0%, transparent 55%);
  border-bottom: 1px solid var(--border);
  padding: 52px 20px 44px; text-align: center;
}
.hero-inner { max-width: 640px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-dim); border: 1px solid rgba(230,51,41,0.28);
  color: var(--accent2); font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 20px;
}
.hero-badge-dot {
  position: relative; width: 7px; height: 7px; background: #ff3b30; border-radius: 50%;
  animation: heartbeat 1.7s ease-in-out infinite;
}
.hero-badge-dot::after, .live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #ff3b30; animation: liveRipple 1.7s ease-out infinite; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: 999px; background: rgba(230,51,41,.1); border: 1px solid rgba(230,51,41,.26); color: var(--accent2); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; animation: liveBreathe 2.6s ease-in-out infinite; }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; flex-shrink: 0; animation: heartbeat 1.7s ease-in-out infinite; }
@keyframes heartbeat { 0%,100% { transform: scale(1); } 12% { transform: scale(1.4); } 26% { transform: scale(1); } 40% { transform: scale(1.25); } 56% { transform: scale(1); } }
@keyframes liveRipple { 0% { transform: scale(1); opacity: .55; } 65%,100% { transform: scale(3.2); opacity: 0; } }
@keyframes liveBreathe { 0%,100% { background: rgba(230,51,41,.07); box-shadow: 0 0 0 rgba(230,51,41,0); } 50% { background: rgba(230,51,41,.15); box-shadow: 0 0 14px rgba(230,51,41,.22); } }
@media (prefers-reduced-motion: reduce) { .hero-badge-dot, .live-dot, .live-pill, .hero-badge-dot::after, .live-dot::after { animation: none; } }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-title {
  font-size: clamp(24px, 4.5vw, 42px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.1;
  text-wrap: balance; margin-bottom: 12px;
}
.hero-title span { color: var(--accent); }
.hero-sub { font-size: 15px; color: var(--fg2); margin-bottom: 32px; text-wrap: balance; }
@media (min-width: 820px) { .hero-sub { font-size: 14.5px; margin-left: -50px; margin-right: -50px; } }   /* two even lines on a computer */

/* SEARCH */
.search-wrap { position: relative; }
.search-icon {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%); color: var(--fg3); pointer-events: none;
}
.search-input {
  width: 100%; background: var(--bg3);
  border: 1.5px solid var(--border2); color: var(--fg);
  font-family: inherit; font-size: 15px;
  padding: 14px 110px 14px 46px;
  border-radius: 11px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-input::placeholder { color: var(--fg3); }
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.search-btn {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
  padding: 9px 16px; border-radius: 7px; letter-spacing: 0.01em;
  transition: background 0.12s;
}
.search-btn:hover { background: var(--accent2); }
.search-hint { margin-top: 14px; font-size: 13px; line-height: 1.7; color: var(--fg2); text-align: center; }
.search-add-row { text-align: center; margin-top: 16px; }
.search-add-lead { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--fg); }
.search-hint-btn { display: inline-block; text-align: center; line-height: 1.35; margin-top: 0; background: transparent; border: 1px solid rgba(255,77,64,.45); padding: 7px 16px; border-radius: 20px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--accent2); cursor: pointer; transition: background .15s, border-color .15s; }
.search-hint-btn:hover { background: var(--accent-dim); border-color: var(--accent2); color: var(--fg); }
/* the hero Add Creator button: a real, easy to hit button */
.search-add-row .search-hint-btn { padding: 12px 28px; font-size: 15px; border-width: 1.5px; border-color: rgba(255,77,64,.7); border-radius: 999px; min-height: 48px; }
@media (max-width: 700px) { .search-add-row .search-hint-btn { padding: 12px 24px; font-size: 15px; } }
.sr-add-label.hl { color: #fff; background: #3a1714; border-radius: 6px; padding: 5px 8px; margin: -5px -8px 6px; animation: hlPulse 2.4s ease-out 1; }
@keyframes hlPulse { 0% { box-shadow: 0 0 0 0 rgba(255,77,64,.7); } 30% { box-shadow: 0 0 0 6px rgba(255,77,64,.25); } 100% { box-shadow: 0 0 0 0 rgba(255,77,64,0); } }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
@media (max-width: 700px) {
  .nav { background: #0a0a0b; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-search-btn { padding: 9px 12px; }
  .search-hint-btn { padding: 9px 14px; }
  .view-all { padding: 8px 4px; }
}

/* SEARCH RESULTS */
.search-results {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #18181b; border: 1px solid var(--border2);
  border-radius: var(--radius); overflow: hidden; z-index: 200; isolation: isolate;
  box-shadow: 0 0 0 100vmax rgba(0,0,0,0), 0 18px 44px rgba(0,0,0,0.8); text-align: left;
}
.search-results.visible { display: block; }
.sr-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.1s;
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover { background: var(--bg4); }
.sr-av {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff; flex-shrink: 0;
}
.sr-info { flex: 1; min-width: 0; }
.sr-name { font-weight: 600; font-size: calc(13px * var(--nm, 1)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-handle { font-size: 11px; color: var(--fg3); }
.sr-rank-col { text-align: right; flex-shrink: 0; }
.sr-rank { font-weight: 800; font-size: 13px; color: var(--accent); }
.sr-pts { font-size: 10px; color: var(--fg3); }
.sr-add {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; cursor: pointer;
  background: rgba(230,51,41,0.05);
  border-top: 1px solid var(--border); transition: background 0.1s;
}
.sr-add:hover { background: rgba(230,51,41,0.1); }
.sr-add-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-dim); border: 1.5px dashed rgba(230,51,41,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent); flex-shrink: 0;
}
.sr-add-text { flex: 1; }
.sr-add-label { font-size: 12px; font-weight: 600; color: var(--fg2); }
.sr-add-sub { font-size: 11px; color: var(--fg3); }
.sr-open-add { display: block; cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; border: 0; background: var(--accent); color: #fff; border-radius: 8px; margin: 2px 14px 14px; padding: 11px 18px; transition: background 0.12s; }
.sr-open-add:hover { background: var(--accent2); }
.sr-open-add.sr-open-add-small { width: 100%; margin: 0; border-radius: 0; border-top: 1px solid var(--border); background: transparent; color: var(--fg); text-align: left; padding: 12px 14px; font-size: 12.5px; }
.sr-open-add.sr-open-add-small:hover { background: var(--bg4); }
.sr-in-wrap { position: relative; flex: 1; min-width: 0; }
.sr-paste { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 5px; background: var(--bg4); border: 1px solid var(--border2); color: var(--fg); font: inherit; font-size: 12px; font-weight: 700; padding: 6px 9px; border-radius: 6px; cursor: pointer; }
.sr-paste:hover { background: var(--accent-dim); border-color: var(--accent2); }
.sr-paste-note { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--fg2); }
.sr-form-row { display: flex; gap: 8px; margin-top: 10px; }
.sr-form-row .sr-link:focus { border-color: var(--accent) !important; }
.sr-submit {
  flex-shrink: 0; cursor: pointer; border: 0; border-radius: 8px; padding: 10px 16px;
  background: var(--accent); color: #fff; font: inherit; font-size: 13px; font-weight: 800; white-space: nowrap;
  transition: background 0.12s;
}
.sr-submit:hover { background: var(--accent2); }
.sr-submit:disabled { opacity: .7; cursor: default; }
.sr-prompt-hint { margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: rgba(255,107,107,0.12); border: 1px solid rgba(255,107,107,0.35); color: #ffb4b4; font-size: 12px; line-height: 1.5; }
@media (max-width: 480px) { .sr-form-row { flex-direction: column; } .sr-submit { width: 100%; padding: 12px 16px; } }
.sr-add-cta { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }

/* SECTIONS */
.section { padding: 40px 20px; border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 4px;
}
.section-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 700px) {
  .section-head { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .section-head > div { width: 100%; text-align: center; }
  .section-head .view-all { justify-content: center; }
  .section-label, .section-title { text-align: center; }
  .section-label .live-pill { margin: 0 auto; }
}
@media (max-width: 700px) { .rk-hero-inner, .hiw-page-hero-inner { text-align: center; } }
@media (max-width: 480px) { .ct-email { font-size: 18px !important; overflow-wrap: anywhere; } }
.view-all {
  font-size: 12px; font-weight: 600; color: var(--fg2);
  display: flex; align-items: center; gap: 3px;
  white-space: nowrap; transition: color 0.12s; cursor: pointer;
}
.view-all:hover { color: var(--accent); }

/* LEADERBOARD */
.lb { width: 100%; border-collapse: collapse; }
.lb th {
  font-size: 10px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--fg3);
  padding: 0 10px 10px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.lb th.tr { text-align: right; }
.lb th.tc { text-align: center; }
.lb-row {
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.08s;
}
.lb-row:hover { background: rgba(255,255,255,0.03); }
.lb-row:last-child { border-bottom: none; }
.lb-row td { padding: 11px 10px; vertical-align: middle; }
.rank-cell { width: 50px; }
.rn { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 15px; color: var(--fg2); }
.rb {
  width: 26px; height: 26px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 12px;
}
.rb1 { background: #ffd700; color: #000; }
.rb2 { background: #c0c0c0; color: #000; }
.rb3 { background: #cd7f32; color: #fff; }
.cr-cell { min-width: 0; }
.cr-inner { display: flex; align-items: center; gap: 10px; }
.av {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff; flex-shrink: 0;
}
.cr-name { font-weight: 700; font-size: calc(14px * var(--nm, 1)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-handle { font-size: 11px; color: var(--fg3); }
.pts-cell { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pts-v { font-weight: 800; font-size: 14px; }
.pts-l { font-size: 10px; color: var(--fg3); }
.mv-cell { text-align: center; width: 72px; }
.mv {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 20px;
}
.mv-up { background: var(--green-dim); color: var(--green); }
.mv-dn { background: rgba(239,68,68,0.1); color: #f87171; }
.mv-eq { color: var(--fg3); font-size: 11px; }
.act-cell { text-align: right; width: 80px; }
.add-btn {
  background: var(--accent-dim); border: 1px solid rgba(230,51,41,0.28);
  color: var(--accent2); font-size: 11px; font-weight: 700;
  padding: 6px 10px; border-radius: 5px;
  transition: background 0.12s, border-color 0.12s;
  text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
}
.add-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* TIER BADGE inline */
.tier-badge-inline {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 1px 6px; border-radius: 20px;
  white-space: nowrap;
}

/* TRENDING */
.trend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.trend-card { --tc: var(--fg3); position: relative; background: var(--bg3); border: 1px solid var(--border); border-radius: 14px; padding: 16px 16px 14px;
  cursor: pointer; overflow: hidden; outline: none;
  transition: border-color var(--t-base, .2s) var(--ease-out, ease), transform var(--t-base, .2s) var(--ease-out, ease), background-color var(--t-base, .2s) var(--ease-out, ease); }
.trend-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--tc); opacity: .85; }
.trend-card:focus-visible { border-color: var(--tc); box-shadow: 0 0 0 2px rgba(255,255,255,.12); }
.trend-card:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .trend-card:hover { border-color: color-mix(in srgb, var(--tc) 55%, var(--border)); transform: translateY(-2px); background: var(--bg4); } }
.tc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; min-height: 22px; }
.tc-tier { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--tc); }
.tc-move { font-size: 11px; font-weight: 800; color: var(--green); background: var(--green-dim); padding: 3px 8px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tc-who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-width: 0; }
.tc-av { width: 46px !important; height: 46px !important; flex-shrink: 0; box-shadow: 0 0 0 2px var(--bg3), 0 0 0 3.5px var(--tc); }
.tc-id { min-width: 0; }
.trend-name { font-weight: 700; font-size: calc(15px * var(--nm, 1)); line-height: 1.25; color: var(--fg); overflow-wrap: anywhere; }
.trend-handle { font-size: 12px; color: var(--fg3); margin-top: 1px; }
.tc-score { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.tc-rank, .tc-pts { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; color: var(--fg); }
.tc-rank { font-size: 30px; }
.tc-rank small, .tc-pts small { font-family: 'Inter', system-ui, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); }
.tc-rank small { display: block; margin-bottom: 3px; }
.tc-pts { font-size: 22px; text-align: right; }
.tc-pts small { margin-left: 4px; }
.tc-bar { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.tc-bar i { display: block; height: 100%; border-radius: inherit; background: var(--tc); transform-origin: left center; transform: scaleX(var(--w, 0)); transition: transform 600ms var(--ease-out, ease); }
.tc-foot { margin-top: 8px; font-size: 11.5px; color: var(--fg3); }
.trend-note { font-size: 13px; color: var(--fg3); margin: 0 0 16px; line-height: 1.55; }
.trend-sup { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 12px; color: var(--fg2); line-height: 1.45; overflow-wrap: anywhere; }
.trend-sup b { color: var(--fg); font-weight: 700; }
.trend-sup q { display: block; color: var(--fg3); font-style: italic; margin-top: 3px; }
/* tiles arrive one after another (short, uneven stagger), and each bar fills to its value */
@supports (transition-behavior: allow-discrete) or (selector(:has(a))) {
  .trend-card { animation: tcIn 320ms var(--ease-out, ease) both; animation-delay: calc(var(--i, 0) * 45ms + var(--i, 0) * var(--i, 0) * 4ms); }
  .trend-card .tc-bar i { animation: tcBar 640ms var(--ease-out, ease) both; animation-delay: calc(120ms + var(--i, 0) * 50ms); }
}
@keyframes tcIn { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes tcBar { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .trend-card, .trend-card .tc-bar i { animation: none; } }

/* HOW IT WORKS */
.hiw-section { background: var(--bg2); }
.hiw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.hiw-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 18px; }
.hiw-n { font-size: 28px; font-weight: 900; color: var(--border2); line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.hiw-t { font-size: 14px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.hiw-d { font-size: 12px; color: var(--fg2); line-height: 1.6; }
@media (min-width: 900px) {
  .hiw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
  .hiw-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 8px; align-items: start; align-content: start; padding: 20px 18px; }
  .hiw-n { grid-row: 1; grid-column: 1; width: 42px; height: 42px; margin: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--accent2); background: var(--accent-dim); border: 1.5px solid rgba(230,51,41,.55); box-shadow: 0 0 16px rgba(230,51,41,.18); }
  .hiw-t { grid-row: 1; grid-column: 2; align-self: center; margin: 0; font-size: 15px; }
  .hiw-d { grid-row: 2; grid-column: 2; font-size: 12.5px; }
  .hiw-card:not(:last-child)::after { content: ''; position: absolute; top: 40px; right: -31px; width: 32px; height: 2px; background: linear-gradient(90deg, rgba(230,51,41,.7), rgba(230,51,41,.25)); }
  .hiw-card:not(:last-child)::before { content: ''; position: absolute; top: 36px; right: -19px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(230,51,41,.6); z-index: 1; }
}

/* COUNTDOWN */
.cd-section { text-align: center; background: var(--bg); }
.cd-lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg3); margin-bottom: 20px; }
.cd-sub { font-size: 14px; color: var(--fg3); margin-bottom: 24px; }
.cd-units { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cd-num {
  font-size: clamp(30px, 7vw, 52px); font-weight: 900;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: clamp(60px, 14vw, 84px);
  padding: 10px 6px; line-height: 1;
}
.cd-name { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg3); }

/* FINAL CTA */
.cta-section { text-align: center; background: linear-gradient(180deg, transparent 0%, rgba(230,51,41,0.04) 100%); }
.cta-eyebrow { font-size: 11px; font-weight: 700; color: var(--fg3); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 12px; }
.cta-title { font-size: clamp(20px, 3.5vw, 34px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 6px; }
.cta-title span { color: var(--accent); }
.cta-sub { font-size: 14px; color: var(--fg2); margin-bottom: 28px; }
.cta-sw { max-width: 440px; margin: 0 auto; position: relative; }

/* FOOTER: one live call to action, three clear groups, legal in a slim bottom bar (same footer on every page) */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 44px 24px 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 26px 30px; margin-bottom: 40px;
  background: var(--bg3); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 14px; }
.fc-copy { min-width: 0; flex: 1 1 360px; }
.fc-kick { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); margin: 0 0 6px; }
.fc-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; flex-shrink: 0; }
.fc-title { font-family: var(--display, 'Inter'), sans-serif; font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; line-height: 1.02; color: var(--fg); margin: 0 0 8px; }
.fc-sub { font-size: 14px; line-height: 1.6; color: var(--fg2); margin: 0; max-width: 52ch; }
.fc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 10px; font: inherit; font-size: 14.5px; font-weight: 800;
  text-decoration: none; color: #fff; background: var(--accent); border: 1px solid var(--accent); cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-base, .2s) var(--ease-out, ease), border-color var(--t-base, .2s) var(--ease-out, ease), transform var(--t-fast, .12s) var(--ease-out, ease); }
.fc-btn:hover { background: var(--accent2); border-color: var(--accent2); }
.fc-btn:active { transform: scale(.97); }
.fc-btn2 { background: transparent; color: var(--fg); border-color: var(--border2); }
.fc-btn2:hover { background: var(--bg4); border-color: var(--fg3); }
.footer-top { display: grid; grid-template-columns: minmax(220px, 1.3fr) 3fr; gap: 48px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.footer-brand { min-width: 0; }
.footer-tag { font-size: 13px; color: var(--fg3); margin: 12px 0 14px; line-height: 1.65; max-width: 280px; }
.footer-ext { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--gold); text-decoration: none; }
.footer-ext span { transition: transform var(--t-fast, .12s) var(--ease-out, ease); }
.footer-ext:hover span { transform: translateX(3px); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-col h2 { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 13.5px; color: var(--fg2); cursor: pointer; width: fit-content; transition: color var(--t-base, .2s) var(--ease-out, ease); }
.footer-link:hover { color: var(--fg); }
a.nav-link, a.footer-link { text-decoration: none; }
a.nav-link { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.footer-bot { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: var(--fg3); margin: 0; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal .footer-link { font-size: 12px; color: var(--fg3); }
.footer-legal .footer-link:hover { color: var(--fg); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .footer { padding: 28px 16px 24px; }
  .footer-cta { flex-direction: column; align-items: stretch; text-align: center; gap: 18px; padding: 22px 18px; margin-bottom: 24px; border-left-width: 1px; border-top: 3px solid var(--accent); }
  .fc-copy { flex: none; }   /* stacked: the copy is only as tall as its text (the computer width rule made it 360px tall here) */
  .fc-kick { justify-content: center; }
  .fc-sub { margin: 0 auto; }
  .fc-actions { flex-direction: column; }
  .fc-btn { width: 100%; }
  .footer-top { gap: 22px; margin-bottom: 18px; padding-bottom: 22px; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-tag { max-width: 300px; margin: 10px 0 12px; }
  .footer-ext { min-height: 44px; }
  .footer-nav { display: flex; flex-direction: column; gap: 10px; width: 100%; }
  .footer-col { background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 12px 12px 12px; text-align: center; }
  .footer-col h2 { font-size: 10px; color: var(--fg3); margin-bottom: 10px; text-align: center; }
  .footer-links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .footer-link { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--border); color: var(--fg); white-space: nowrap; width: auto; }
  .footer-link:active { background: var(--bg4); }
  .footer-bot { flex-direction: column-reverse; gap: 12px; text-align: center; align-items: center; }
  .footer-legal { justify-content: center; gap: 6px; }
  .footer-legal .footer-link { font-size: 12px; min-height: 40px; color: var(--fg2); }
  .footer-copy { text-align: center; max-width: 320px; line-height: 1.6; }
}

/* ARTICLES (the page /articles and /articles/<name>). The header, footer and trophy button are the website's own; only the article content is styled here. */
#page-article img{max-width:100%;height:auto;display:block}
#page-article{padding-bottom:64px}
#page-article .ar-feat,#page-article .ar-card,#page-article .ar-cta .ar-btn{text-decoration:none}
.ar-wrap{width:100%;max-width:1100px;margin:0 auto;padding:0 20px}
.ar-crumbs{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13px;color:var(--fg3);padding:22px 0 8px}
.ar-crumbs a:hover{color:var(--fg)}
.ar-crumbs span[aria-current]{color:var(--fg2);max-width:46ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ar-pill{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--accent2);background:rgba(230,51,41,.12);border:1px solid rgba(230,51,41,.3);padding:4px 10px;border-radius:999px}
a.pill:hover{background:rgba(230,51,41,.2)}
/* article */
.ar-a-head{max-width:760px;margin:18px auto 0;text-align:center}
.ar-a-head h1{font-size:clamp(30px,5.2vw,52px);line-height:1.08;letter-spacing:-.035em;font-weight:900;margin:16px 0 14px;text-wrap:balance}
.ar-a-deck{font-size:clamp(17px,2.2vw,20px);line-height:1.55;color:var(--fg2);margin:0 auto 20px;max-width:640px;text-wrap:pretty}
.ar-a-meta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 14px;font-size:13.5px;color:var(--fg3)}
.ar-a-meta .ar-by{display:inline-flex;align-items:center;gap:8px;color:var(--fg);font-weight:700}
.ar-av{width:28px;height:28px;border-radius:50%;background:var(--accent);color:#fff;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.ar-a-meta .ar-dot{width:3px;height:3px;border-radius:50%;background:var(--border2)}
.ar-a-cover{max-width:1000px;margin:32px auto 0}
.ar-a-cover img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px;border:1px solid var(--border);background:var(--bg3)}
.ar-a-cover figcaption{font-size:12.5px;color:var(--fg3);text-align:center;margin-top:10px}
.ar-a-grid{max-width:1000px;margin:40px auto 0;display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.ar-toc{border:1px solid var(--border);background:var(--bg2);border-radius:12px;padding:16px 18px}
.ar-toc summary{cursor:pointer;font-weight:800;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--fg2);list-style:none}
.ar-toc summary::-webkit-details-marker{display:none}
.ar-toc ol{list-style:none;margin-top:12px;display:flex;flex-direction:column;gap:2px}
.ar-toc a{display:block;padding:6px 10px;border-radius:6px;font-size:14px;color:var(--fg2);line-height:1.35}
.ar-toc a:hover{color:var(--fg);background:var(--bg3)}
.ar-toc .ar-l3 a{padding-left:24px;font-size:13.5px}
@media(min-width:1040px){
.ar-a-grid.has-toc{grid-template-columns:240px minmax(0,1fr);gap:48px}
.ar-a-grid.has-toc .ar-toc{position:sticky;top:78px;align-self:start;max-height:calc(100vh - 110px);overflow:auto}
.ar-toc summary{pointer-events:none}}
.ar-prose{font-size:18px;line-height:1.78;color:#e4e4e7;max-width:720px;width:100%;margin:0 auto;overflow-wrap:break-word}
.ar-a-grid.has-toc .ar-prose{margin:0}
.ar-prose>*+*{margin-top:1.25em}
.ar-prose h2{font-size:clamp(25px,3.2vw,32px);line-height:1.2;letter-spacing:-.025em;font-weight:800;color:var(--fg);margin-top:2.1em;scroll-margin-top:80px}
.ar-prose h3{font-size:clamp(20px,2.5vw,24px);line-height:1.3;letter-spacing:-.02em;font-weight:800;color:var(--fg);margin-top:1.8em;scroll-margin-top:80px}
.ar-prose h4{font-size:18px;font-weight:800;color:var(--fg);margin-top:1.6em}
.ar-prose h2+*,.ar-prose h3+*,.ar-prose h4+*{margin-top:.7em}
.ar-prose a{color:var(--accent2);text-decoration:underline;text-decoration-color:rgba(255,74,64,.4);text-underline-offset:3px}
.ar-prose a:hover{text-decoration-color:var(--accent2)}
.ar-prose strong,.ar-prose b{color:#fff;font-weight:700}
.ar-prose ul,.ar-prose ol{padding-left:1.4em}
.ar-prose li{margin-top:.45em}.ar-prose li::marker{color:var(--accent2)}
.ar-prose blockquote{border-left:3px solid var(--accent);padding:4px 0 4px 20px;color:#fff;font-size:1.12em;font-style:italic;line-height:1.6}
.ar-prose hr{border:0;border-top:1px solid var(--border);margin:2.4em 0}
.ar-prose code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;background:var(--bg3);border:1px solid var(--border);padding:2px 6px;border-radius:6px}
.ar-prose pre{background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:16px 18px;overflow:auto;font-size:14.5px;line-height:1.6}
.ar-prose pre code{background:none;border:0;padding:0}
.ar-prose img{border-radius:12px;border:1px solid var(--border);margin-inline:auto}
.ar-prose figure{margin-block:2em}
.ar-prose figure img{width:100%}
.ar-prose figcaption{font-size:13.5px;color:var(--fg3);text-align:center;margin-top:10px;line-height:1.5}
.ar-prose .align-center{text-align:center}.ar-prose .align-right{text-align:right}.ar-prose .align-justify{text-align:justify}
.ar-prose img.align-left{float:left;margin:6px 22px 12px 0;max-width:46%}.ar-prose img.align-right{float:right;margin:6px 0 12px 22px;max-width:46%}
.ar-prose img.align-center{margin-inline:auto}
.ar-prose .callout{background:var(--bg2);border:1px solid var(--border);border-left:3px solid var(--gold);border-radius:12px;padding:16px 20px}
.ar-prose mark{background:rgba(255,215,0,.2);color:#fff;padding:0 3px;border-radius:3px}
.ar-prose .table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px}
.ar-prose table{width:100%;border-collapse:collapse;font-size:15.5px;min-width:480px}
.ar-prose th,.ar-prose td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}
.ar-prose th{background:var(--bg2);font-weight:800;color:var(--fg);font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.ar-prose tr:last-child td{border-bottom:0}
.ar-prose .video{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;border:1px solid var(--border);background:#000}
.ar-prose .video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ar-a-foot{max-width:720px;margin:44px auto 0;display:flex;flex-direction:column;gap:22px}
.ar-a-grid.has-toc~.ar-a-foot{margin-left:calc(50% - 500px + 288px);margin-right:auto;max-width:720px}
@media(max-width:1039px){.ar-a-grid.has-toc~.ar-a-foot{margin-left:auto}}
.ar-tags{display:flex;flex-wrap:wrap;gap:8px}
.ar-tag{font-size:12.5px;font-weight:600;color:var(--fg2);background:var(--bg3);border:1px solid var(--border);padding:5px 11px;border-radius:999px}
.ar-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ar-share>span{font-size:13px;font-weight:700;color:var(--fg3);margin-right:4px}
.ar-sb{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:46px;height:40px;padding:0 12px;border-radius:10px;background:var(--bg3);border:1px solid rgba(255,255,255,.1);color:#d4d4d8;font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.ar-sb:hover{background:#26262b;border-color:rgba(255,255,255,.22);color:#fff}
.ar-sb svg{width:17px;height:17px}
.ar-author{display:flex;gap:14px;align-items:center;border:1px solid var(--border);background:var(--bg2);border-radius:14px;padding:16px 18px}
.ar-author .ar-av{width:46px;height:46px;font-size:17px;flex-shrink:0}
.ar-author b{display:block;font-size:15px}.ar-author span{font-size:13.5px;color:var(--fg2);line-height:1.5}
.ar-cta{max-width:1000px;margin:56px auto 0;text-align:center;border:1px solid var(--border);border-radius:20px;padding:36px 22px;background:radial-gradient(520px 220px at 50% 0%,rgba(230,51,41,.22),transparent 70%),var(--bg2)}
.ar-cta h2{font-size:clamp(22px,3.2vw,30px);letter-spacing:-.025em;font-weight:900;margin-bottom:8px}
.ar-cta p{color:var(--fg2);max-width:520px;margin:0 auto 20px;font-size:15.5px}
.ar-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;border-radius:999px;background:linear-gradient(135deg,#f0463a,#d62b20);color:#fff;font-weight:800;font-size:14.5px;box-shadow:0 4px 14px rgba(230,51,41,.35);transition:filter .12s,transform .12s}
.ar-btn:hover{filter:brightness(1.08)}.ar-btn:active{transform:scale(.98)}
.ar-sec{max-width:1000px;margin:56px auto 0}
.ar-sec>h2{font-size:22px;font-weight:900;letter-spacing:-.02em;margin-bottom:18px}
/* cards */
.ar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
@media(max-width:900px){.ar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ar-grid{grid-template-columns:minmax(0,1fr)}}
.ar-card{display:flex;flex-direction:column;border:1px solid var(--border);background:var(--bg2);border-radius:16px;overflow:hidden;transition:border-color .15s,transform .15s}
.ar-card:hover{border-color:var(--border2);transform:translateY(-2px)}
.ar-card .ar-ph{aspect-ratio:16/9;background:linear-gradient(135deg,#1c1c20,#141417);display:flex;align-items:center;justify-content:center;color:var(--border2)}
.ar-card .ar-ph img{width:100%;height:100%;object-fit:cover}
.ar-card .ar-bd{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.ar-card .ar-cat{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--accent2)}
.ar-card h3{font-size:18px;line-height:1.3;letter-spacing:-.015em;font-weight:800;text-wrap:balance}
.ar-card p{font-size:14.5px;color:var(--fg2);line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ar-card .ar-mt{margin-top:auto;padding-top:6px;font-size:12.5px;color:var(--fg3)}
.ar-feat{display:grid;grid-template-columns:1.15fr 1fr;border:1px solid var(--border);background:var(--bg2);border-radius:20px;overflow:hidden;margin-bottom:26px;transition:border-color .15s}
.ar-feat:hover{border-color:var(--border2)}
.ar-feat .ar-ph{background:linear-gradient(135deg,#1c1c20,#141417);min-height:260px}
.ar-feat .ar-ph img{width:100%;height:100%;object-fit:cover}
.ar-feat .ar-bd{padding:30px 32px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.ar-feat h2{font-size:clamp(24px,3vw,34px);line-height:1.15;letter-spacing:-.03em;font-weight:900;text-wrap:balance}
.ar-feat p{color:var(--fg2);font-size:16px;line-height:1.6}
.ar-feat .ar-mt{font-size:13px;color:var(--fg3)}
@media(max-width:800px){.ar-feat{grid-template-columns:minmax(0,1fr)}.ar-feat .ar-ph{min-height:0;aspect-ratio:16/9}.ar-feat .ar-bd{padding:22px}}
.ar-hero{text-align:center;padding:30px 0 28px}
.ar-hero h1{font-size:clamp(32px,5.5vw,54px);font-weight:900;letter-spacing:-.035em;line-height:1.05}
.ar-hero p{color:var(--fg2);font-size:clamp(16px,2vw,19px);max-width:560px;margin:12px auto 0}
.ar-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 26px}
.ar-chip{padding:8px 16px;border-radius:999px;border:1px solid var(--border);background:var(--bg3);font-size:13.5px;font-weight:700;color:var(--fg2)}
.ar-chip:hover{color:var(--fg);border-color:var(--border2)}.ar-chip.on{background:rgba(230,51,41,.14);border-color:rgba(230,51,41,.4);color:var(--accent2)}
.ar-pager{display:flex;justify-content:center;align-items:center;gap:2px;margin-top:34px;flex-wrap:wrap}
.ar-pager a,.ar-pager span{min-width:42px;height:42px;padding:0 8px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;color:var(--fg2)}
.ar-pager a:hover{background:var(--bg3);color:var(--fg)}
.ar-pager .ar-on{background:var(--accent);color:#fff;box-shadow:0 4px 14px rgba(230,51,41,.35)}
.ar-pager .ar-dis{opacity:.3}.ar-pager .ar-arr{color:var(--accent2)}
.ar-empty{text-align:center;color:var(--fg2);padding:70px 0}
.ar-empty b{display:block;color:var(--fg);font-size:20px;margin-bottom:6px}
.ar-preview-bar{background:#3a2a00;border-bottom:1px solid #8a6a00;color:#ffd700;text-align:center;font-size:13px;font-weight:700;padding:8px 12px}

/* CREATOR MODAL */
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.72); z-index: 200;
  align-items: center; justify-content: center; padding: 20px;
}
.overlay.open { display: flex; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.overlay .modal { margin: auto; flex-shrink: 0; position: relative; z-index: 1; }
.modal {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 14px; width: 100%; max-width: 440px;
  overflow: hidden; position: relative;
}
.modal-x {
  position: absolute; top: 12px; right: 12px; z-index: 20; touch-action: manipulation;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--fg2); width: 30px; height: 30px; border-radius: 50%;
  font-size: 17px; display: flex; align-items: center; justify-content: center;
  transition: background 0.1s;
}
.modal-x:hover { background: var(--bg4); }

/* CREATOR VIEW */
.cv-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(230,51,41,0.12) 0%, transparent 60%);
  padding: 24px 22px 18px; display: flex; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--border);
}
.cv-av {
  width: 56px; height: 56px; border-radius: 50%;
  font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.cv-name { font-size: calc(19px * var(--nm, 1)); font-weight: 800; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.nm-s { --nm: .88; } .nm-xs { --nm: .78; } .nm-xxs { --nm: .68; }
.cv-handle { font-size: 13px; color: var(--fg3); }
.cv-body { padding: 18px 22px; }
.cv-rank-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cv-rank { font-size: 42px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cv-pts-box { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 16px; margin-bottom: 10px; }
.cv-pts-lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg3); margin-bottom: 2px; }
.cv-pts-val { font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }
.cv-next { background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.18); border-radius: var(--radius); padding: 10px 16px; margin-bottom: 16px; font-size: 12px; color: var(--fg2); }
.cv-next strong { color: var(--green); font-weight: 700; }
.cv-add-btn {
  display: block; width: 100%; margin: 0 0 12px; border: 0; cursor: pointer;
  background: #e63329; color: #fff;
  font-family: inherit; font-size: 17px; font-weight: 900; letter-spacing: .05em; line-height: 1.25; padding: 16px 14px; border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 6px 22px rgba(230,51,41,.45);
  animation: celPulse 1.8s ease-in-out infinite;
  transition: transform 0.1s, filter 0.12s;
}
.cv-add-btn:hover { filter: brightness(1.08); }
.cv-add-btn:active { transform: scale(0.98); }
.visit-small { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 7px; font-size: 10px; font-weight: 700; background: #1f1f23; color: #f4f4f5; border: 1px solid #38383e; text-decoration: none; white-space: nowrap; transition: background .12s; margin-top: 8px; }
.visit-small:hover { background: #2a2a2e; }
.visit-small svg { color: #ff4d4d; flex-shrink: 0; }
.cv-hero > div:last-child { min-width: 0; }
.cv-handlerow { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cv-handlerow .cv-handle { min-width: 0; overflow-wrap: anywhere; }
.yt-badge { display: none; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; color: #ff3b3b; background: rgba(255,0,0,.13); border: 1px solid rgba(255,59,59,.45); box-shadow: 0 0 12px rgba(255,0,0,.28); text-decoration: none; transition: transform .1s, background .12s; }
.yt-badge:active { transform: scale(.92); background: rgba(255,0,0,.25); }
.yt-badge svg { display: block; }
@media (max-width: 420px) { .cv-hero .visit-small { display: none; } .yt-badge { display: inline-flex; } }
@media (min-width: 421px) { .cv-hero > div:last-child { padding-right: 36px; } }   /* room for the close button; Visit YouTube sits under the handle */
.cv-rank { white-space: nowrap; }
@media (max-width: 360px) { .cv-rank { font-size: 36px; } .cv-rank small { margin-right: 4px; } .cv-tier { padding: 5px 8px 5px 10px; } .cv-tier-n { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .cv-add-btn { animation: none; } }

/* ADD POINTS VIEW */
.ap-head {
  padding: 18px 22px 14px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.ap-back {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--fg2); width: 28px; height: 28px; border-radius: 6px;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background 0.1s;
}
.ap-back:hover { background: var(--bg4); }
.ap-for { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fg3); }
.ap-creator { font-size: calc(16px * var(--nm, 1)); font-weight: 800; overflow-wrap: anywhere; }
.ap-body { padding: 16px 22px 22px; }
.ap-label { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fg3); margin-bottom: 10px; }
.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.cv-fans { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.cv-fan-box { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--bg3); }
.cv-fan-h { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg3); margin: 0 0 8px; }
.cv-sup, .cv-boosts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.cv-sup li, .cv-boosts li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; min-width: 0; }
.cv-sup li > span:first-child, .cv-boost-who { min-width: 0; overflow-wrap: anywhere; color: var(--fg); font-weight: 600; }
.cv-sup li b, .cv-boosts li b { color: var(--green); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cv-sup i { font-style: normal; color: var(--fg3); font-weight: 700; margin-right: 6px; font-variant-numeric: tabular-nums; }
.cv-boosts li { flex-direction: column; align-items: stretch; gap: 2px; padding-bottom: 7px; border-bottom: 1px solid var(--border); }
.cv-boosts li:last-child { border-bottom: 0; padding-bottom: 0; }
.cv-boost-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.cv-boost-msg { font-size: 12px; color: var(--fg2); font-style: italic; overflow-wrap: anywhere; }
.cv-boost-ago { font-size: 11px; color: var(--fg3); }
.cv-fan-empty { font-size: 12px; color: var(--fg3); }
.ap-credit { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; }
.ap-credit label { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fg3); display: flex; justify-content: space-between; gap: 8px; }
.ap-credit label span { text-transform: none; letter-spacing: 0; font-weight: 600; }
.ap-credit input { background: var(--bg3); border: 1.5px solid var(--border2); color: var(--fg); font-family: inherit; font-size: 15px; padding: 10px 12px; border-radius: var(--radius-sm); outline: none; width: 100%; box-sizing: border-box; }
.ap-credit input:focus { border-color: var(--accent); }
.ap-credit input + label { margin-top: 4px; }
.ap-credit-note { font-size: 11px; color: var(--fg3); line-height: 1.45; }
.ap-opt {
  background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px;
  cursor: pointer; transition: border-color 0.12s, background 0.12s;
  display: flex; flex-direction: column; gap: 2px;
}
.ap-opt { color: var(--fg); }
.ap-opt:hover { border-color: var(--border2); background: var(--bg4); }
.ap-opt.selected { border-color: var(--accent); background: var(--accent-dim); }
.ap-opt-pts { font-size: 15px; font-weight: 800; color: var(--accent2); }
.ap-opt.selected .ap-opt-pts { color: #fff; }
.ap-opt-usd { font-size: 11px; color: var(--fg3); }
.ap-opt.selected .ap-opt-usd { color: var(--accent2); }
.ap-custom {
  width: 100%; background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px;
  cursor: pointer; transition: border-color 0.12s;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600; color: var(--fg2); margin-bottom: 16px;
}
.ap-custom:hover { border-color: var(--border2); }
.ap-summary {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px;
  margin-bottom: 14px; font-size: 13px; color: var(--fg2);
  display: flex; justify-content: space-between; align-items: center; min-height: 40px;
}
.ap-summary strong { color: var(--fg); font-weight: 700; }
.ap-pay-btn {
  width: 100%; background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 800; padding: 14px; border-radius: var(--radius);
  letter-spacing: 0.02em; text-transform: uppercase;
  transition: background 0.12s, transform 0.1s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ap-pay-btn:hover { background: var(--accent2); }
.ap-pay-btn:active { transform: scale(0.98); }

/* Add Points, compact: the amounts, the two optional fields and Pay Now fit on one screen (a laptop at 125% zoom included) */
#apv .ap-head { padding: 14px 20px 12px; }
#apv .ap-body { padding: 12px 20px 16px; }
#apv .ap-label { margin-bottom: 8px; }
#apv .ap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
#apv .ap-opt { padding: 8px 4px; align-items: center; text-align: center; gap: 1px; border-width: 1px; }
#apv .ap-opt-pts { font-size: 13.5px; line-height: 1.2; white-space: nowrap; }
#apv .ap-opt-usd { font-size: 11.5px; font-weight: 600; color: var(--fg2); }
#apv .ap-opt.selected .ap-opt-usd { color: #fff; }
#apv .ap-opt-custom .ap-opt-pts { color: var(--fg); }
#apv .ap-opt-custom .ap-opt-usd { color: var(--fg3); font-weight: 500; }
#apv #apcustomrow { margin: -4px 0 12px !important; }
#apv .ap-credit { gap: 4px; margin: 0 0 10px; }
#apv .ap-credit input { padding: 8px 11px; font-size: 14px; }
#apv .ap-credit input + label { margin-top: 6px; }
#apv .ap-summary { padding: 8px 12px; margin-bottom: 10px; min-height: 36px; }
#apv .ap-pay-btn { padding: 12px; font-size: 15px; }
@media (max-width: 420px) {
  #apv .ap-grid { grid-template-columns: 1fr 1fr; }
  #apv .ap-opt { flex-direction: row; justify-content: space-between; padding: 9px 12px; gap: 6px; }
  #apv .ap-usd { display: none; }
}

/* SUCCESS VIEW */
.sv-icon { font-size: 48px; margin-bottom: 16px; }
.sv-title { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.sv-pts { color: var(--green); }
.sv-sub { font-size: 13px; color: var(--fg2); margin-bottom: 24px; }
.sv-movement {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; margin-bottom: 24px;
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.sv-old-rank { color: var(--fg3); font-variant-numeric: tabular-nums; }
.sv-arrow { color: var(--green); font-size: 20px; }
.sv-new-rank { color: var(--green); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.sv-close {
  background: var(--bg3); border: 1px solid var(--border); color: var(--fg2);
  font-size: 13px; font-weight: 600; padding: 10px 24px;
  border-radius: var(--radius-sm); transition: background 0.1s;
}
.sv-close:hover { background: var(--bg4); }

/* PROXIMITY BAR */
.cv-prox { background: linear-gradient(180deg, rgba(230,51,41,0.16), rgba(230,51,41,0.05)); border: 1.5px solid rgba(230,51,41,0.55); border-radius: 14px; padding: 10px 14px 10px; margin-bottom: 8px; text-align: center; box-shadow: 0 0 22px rgba(230,51,41,0.14); }
.cv-prox-top { font-size: calc(13px * var(--nm, 1)); font-weight: 800; color: var(--fg); overflow-wrap: anywhere; }
.cv-prox-big { margin: 2px 0 7px; line-height: 1.05; }
.cv-prox-big span { display: block; font-size: 34px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #ff6b5f, #ffa64d); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(255,107,95,.35)); overflow-wrap: anywhere; }
.cv-prox-big small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fg2); }
.cv-prox-bar { height: 8px; background: rgba(255,255,255,0.08); border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.cv-prox-fill { height: 100%; background: linear-gradient(90deg, #e63329, #ff7a1a); border-radius: 6px; transition: width .6s ease; box-shadow: 0 0 12px rgba(255,107,95,.6); }
.cv-prox-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--fg3); }
.cv-prox-row b { color: var(--fg); font-variant-numeric: tabular-nums; }
.cv-prox-pct { color: #ff8a7a; font-weight: 900; font-size: 14px; }
.cv-lead { background: rgba(255,215,0,0.09); border: 1px solid rgba(255,215,0,0.4); color: #ffe27a; border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; font-size: 14px; text-align: center; }
.cv-lead strong { color: #ffd700; }

/* SHARE ROW */
.share-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.share-label { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--fg3); }
.share-btn { padding: 6px 12px; border-radius: 5px; font-size: 11px; font-weight: 700; text-decoration: none; transition: opacity .12s; }
.share-btn:hover { opacity: .8; }
.share-x { background: #000; color: #fff; }
.share-wa { background: #25D366; color: #fff; }
.share-tg { background: #2CA5E0; color: #fff; }
.copy-btn { padding: 6px 12px; border-radius: 5px; font-size: 11px; font-weight: 700; background: #27272a; color: #f4f4f5; border: 1px solid #3f3f46; cursor: pointer; transition: background-color .12s, border-color .12s, color .12s; }
.copy-btn:hover { background: #3f3f46; }
.visit-channel-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; background: #1f1f23; color: #f4f4f5; border: 1px solid #38383e; text-decoration: none; transition: background .12s; white-space: nowrap; }
.visit-channel-btn:hover { background: #2a2a2e; }

/* NO LOGIN BANNER */
.no-login-banner { margin: 28px auto; max-width: 1100px; padding: 0 20px; }
.no-login-inner { background: linear-gradient(90deg, #18181b, #1f1f23, #18181b); border: 1px solid rgba(230,51,41,.28); border-radius: 14px; padding: 28px 28px; text-align: center; }
.no-login-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(230,51,41,.1); color: #ff4a40; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }
.no-login-title { font-size: clamp(18px,3.5vw,28px); font-weight: 900; letter-spacing: -0.02em; color: #fff; margin-bottom: 6px; }
.no-login-sub { font-size: 13px; color: #a1a1aa; max-width: 560px; margin: 0 auto; line-height: 1.65; }
.no-login-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 16px; margin-top: 20px; text-align: left; max-width: 720px; margin-left: auto; margin-right: auto; padding-top: 16px; border-top: 1px solid #2a2a2e; }
.no-login-item { display: flex; align-items: flex-start; gap: 10px; }
.no-login-num { color: #e63329; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.no-login-item-title { font-size: 10px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.no-login-item-sub { font-size: 11px; color: #a1a1aa; line-height: 1.55; }

/* RANKINGS PAGE */
.rk-hero {
  background: linear-gradient(180deg, rgba(230,51,41,0.06) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
  padding: 44px 20px 36px;
}
.rk-hero-inner { max-width: 1100px; margin: 0 auto; }
.rk-hero-title { font-size: clamp(22px, 4vw, 38px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 6px; }
.rk-hero-sub { font-size: 14px; color: var(--fg2); }
.rk-stats {
  display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap;
}
.rk-stat {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 18px;
  flex: 1; min-width: 120px;
}
.rk-stat-n { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.rk-stat-l { font-size: 11px; color: var(--fg3); margin-top: 2px; }
.rk-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 16px 20px; background: var(--bg2); border-bottom: 1px solid var(--border);
}
.rk-filter-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 8px; flex-wrap: wrap; }
.rk-ftab {
  padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
  background: var(--bg3); border: 1px solid var(--border); color: var(--fg2);
  cursor: pointer; transition: background-color .12s, border-color .12s, color .12s;
}
@media (max-width: 700px) { .rk-ftab { padding: 9px 14px; } }
.rk-explore { display: none; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; background: transparent; border: 1px dashed var(--border2); color: var(--fg2); cursor: pointer; }
.rk-explore svg { transition: transform .15s; }
.rk-explore[aria-expanded="true"] svg { transform: rotate(180deg); }
.rk-explore.active { background: var(--accent-dim); border: 1px solid rgba(230,51,41,0.4); color: var(--accent2); }
.rk-cat-list { display: contents; }
@media (max-width: 700px) {
  .rk-explore { display: inline-flex; }
  .rk-cat-list { display: none; flex-basis: 100%; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
  .rk-cat-list::-webkit-scrollbar { display: none; }
  .rk-cat-list.open { display: flex; }
  .rk-cat-list .rk-ftab { flex-shrink: 0; white-space: nowrap; }
}
.rk-ftab:hover { border-color: var(--border2); color: var(--fg); }
.rk-ftab.active { background: var(--accent-dim); border-color: rgba(230,51,41,0.4); color: var(--accent2); }

/* TIERS PAGE */
.tiers-hero {
  background: linear-gradient(180deg, rgba(230,51,41,0.08) 0%, transparent 60%);
  border-bottom: 1px solid var(--border); padding: 56px 20px 44px; text-align: center;
}
.tiers-hero-inner { max-width: 700px; margin: 0 auto; }
.tiers-hero-eyebrow {
  font-size: 11px; font-weight: 700; color: var(--fg3);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.tiers-hero-title {
  font-size: clamp(26px, 5vw, 48px); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 14px;
}
.tiers-hero-title em { color: var(--accent); font-style: normal; }
.tiers-hero-sub { font-size: 15px; color: var(--fg2); line-height: 1.65; }
.tiers-mystery {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.22);
  color: #ffd700; font-size: 12px; font-weight: 700;
  padding: 8px 16px; border-radius: 20px; margin-top: 20px;
  letter-spacing: 0.04em; text-transform: uppercase;
}

.tiers-grid {
  display: flex; flex-direction: column; gap: 0;
}
.tier-card {
  display: flex; align-items: stretch; gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}
.tier-card:hover { background: rgba(255,255,255,0.02); }
.tier-stripe {
  width: 4px; flex-shrink: 0;
}
.tier-body {
  flex: 1; padding: 24px 28px; display: flex; align-items: flex-start; gap: 20px;
  flex-wrap: wrap; min-width: 0;
}
.tier-icon-wrap {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.tier-info { flex: 1; min-width: 180px; }
.tier-name { font-size: 18px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 4px; }
.tier-qual { font-size: 13px; color: var(--fg2); margin-bottom: 8px; }
.tier-qual strong { color: var(--fg); }
.tier-desc { font-size: 12px; color: var(--fg3); line-height: 1.65; max-width: 480px; }
.tier-badge {
  align-self: center; flex-shrink: 0;
  padding: 6px 16px; border-radius: 20px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
}
.tier-pts-qual {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 16px;
  font-size: 13px; color: var(--fg2); margin-top: 4px;
}
.tier-pts-qual strong { color: var(--fg); }

/* TIERS - race boxes */
.races-section { background: var(--bg2); }
.race-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.race-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 16px;
  transition: border-color 0.12s;
}
.race-card:hover { border-color: var(--border2); }
.race-name-tag {
  font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 10px; padding: 2px 8px; border-radius: 20px; display: inline-block;
}
.race-title { font-size: 16px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 4px; }
.race-sub { font-size: 11px; color: var(--fg3); line-height: 1.55; }

/* HOW IT WORKS PAGE */
.hiw-page-hero {
  background: linear-gradient(180deg, rgba(230,51,41,0.06) 0%, transparent 60%);
  border-bottom: 1px solid var(--border); padding: 52px 20px 40px; text-align: center;
}
.hiw-page-hero-inner { max-width: 620px; margin: 0 auto; }
.hiw-page-title { font-size: clamp(24px, 4.5vw, 42px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px; }
.hiw-page-sub { font-size: 15px; color: var(--fg2); }
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 32px 28px; border-bottom: 1px solid var(--border);
  position: relative;
}
.step-item:not(:last-child)::after { content: ''; position: absolute; left: 45px; top: 72px; bottom: -34px; width: 2px; background: linear-gradient(180deg, rgba(230,51,41,.55), rgba(230,51,41,.15)); z-index: 1; }
.step-num {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(230,51,41,0.3);
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.step-content { flex: 1; min-width: 0; }
.step-title { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--fg2); line-height: 1.7; }
.step-note {
  display: inline-block; margin-top: 12px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 8px 14px;
  font-size: 12px; color: var(--fg2);
}
.step-note strong { color: var(--fg); }

/* FAQ */
.faq-section { background: var(--bg2); }
.faq-list { display: flex; flex-direction: column; gap: 0; }
/* Compact creator box: everything, including Top 3 Supporters and Recent Point Boosts, fits on one phone screen */
#overlay { padding: 12px; }
#overlay .cv-hero { padding: 14px 18px 12px; gap: 12px; }
#overlay .cv-av { width: 46px; height: 46px; font-size: 17px; }
#overlay .cv-name { font-size: calc(17px * var(--nm, 1)); }
#overlay .cv-handle { font-size: 12px; }
#overlay .visit-small { margin-top: 5px; }
#overlay .cv-body { padding: 12px 18px 14px; }
#overlay .cv-rank-row { margin-bottom: 8px; }
#overlay .cv-rank { font-size: 34px; }
#overlay .cv-prox { padding: 7px 12px; margin-bottom: 8px; border-radius: 12px; }
#overlay .cv-prox-top { font-size: calc(12px * var(--nm, 1)); }
#overlay .cv-prox-big { margin: 1px 0 5px; }
#overlay .cv-prox-big span { font-size: 26px; }
#overlay .cv-prox-big small { font-size: 9.5px; margin-top: 0; }
#overlay .cv-prox-bar { height: 6px; margin-bottom: 5px; }
#overlay .cv-prox-row { font-size: 11px; }
#overlay .cv-lead { margin-bottom: 8px; }
#overlay .cv-pts-box { padding: 6px 12px; margin-bottom: 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#overlay .cv-pts-lbl { margin-bottom: 0; }
#overlay .cv-pts-val { font-size: 20px; }
#overlay .cv-add-btn { font-size: 15px; padding: 12px 14px; margin: 0 0 8px; }
#overlay #cv .share-row { margin-top: 0; gap: 6px; }
#overlay #cv .sb { height: 34px; min-width: 40px; padding: 0 10px; border-radius: 9px; font-size: 11.5px; }
#overlay #cv .sb svg { width: 15px; height: 15px; }
#overlay .cv-fans { gap: 8px; margin-top: 10px; }
#overlay .cv-fan-box { padding: 7px 12px; }
#overlay .cv-fan-h { font-size: 9.5px; margin: 0 0 4px; display: flex; justify-content: space-between; gap: 8px; }
#overlay .cv-fan-h span { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--fg3); opacity: .8; }
#overlay .cv-sup { gap: 2px; }
#overlay .cv-sup li { display: block; font-size: 12px; }
.cv-sup-b { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: baseline; gap: 6px; padding: 2px 0; cursor: pointer; font-size: 12px; line-height: 1.35; }
.cv-sup-b:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.cv-sup-b i { font-style: normal; color: var(--fg3); font-weight: 700; font-variant-numeric: tabular-nums; }
.cv-sup-b span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg); font-weight: 600; }
.cv-sup-b svg { flex-shrink: 0; width: 12px; height: 12px; color: var(--fg3); align-self: center; }
.cv-sup-b[aria-expanded="true"] svg { color: var(--accent); }
.cv-sup-b b { color: var(--green); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cv-sup-msg { font-size: 11.5px; color: var(--fg2); font-style: italic; padding: 2px 0 4px 16px; overflow-wrap: anywhere; }
.cv-ticker { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(34,197,94,.28); background: rgba(34,197,94,.06); border-radius: var(--radius-sm); padding: 6px 10px; min-width: 0; }
.cv-tick-h { margin: 0; flex-shrink: 0; display: flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.cv-live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: cvLive 1.6s ease-out infinite; }
@keyframes cvLive { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 100% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }
.cv-tick-win { flex: 1; min-width: 0; overflow: hidden; cursor: pointer; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
.cv-tick-item { display: inline-block; white-space: nowrap; font-size: 12px; color: var(--fg2); will-change: transform; }
.cv-tick-item.in { animation: cvTickIn .35s ease-out; }
@keyframes cvTickIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.cv-tick-item b { color: var(--fg); font-weight: 700; }
.cv-tick-item em { color: var(--fg3); font-style: italic; margin-left: 5px; }
.cv-tick-item .pt { color: var(--green); font-weight: 800; margin-left: 6px; font-variant-numeric: tabular-nums; }
.cv-tick-item small { color: var(--fg3); font-size: 11px; margin-left: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .cv-live { animation: none; } .cv-tick-item.in { animation: none; } }
/* a little smaller everywhere in the creator box */
#overlay .cv-hero { padding: 12px 16px 10px; gap: 10px; }
#overlay .cv-av { width: 40px; height: 40px; font-size: 15px; }
#overlay .cv-name { font-size: calc(16px * var(--nm, 1)); }
#overlay .cv-body { padding: 10px 16px 12px; }
#overlay .cv-rank { font-size: 30px; }
#overlay .cv-rank-row { margin-bottom: 6px; }
#overlay .cv-prox { padding: 6px 12px; margin-bottom: 6px; }
#overlay .cv-prox-big span { font-size: 23px; }
#overlay .cv-prox-big { margin: 0 0 4px; }
#overlay .cv-pts-box { padding: 5px 12px; margin-bottom: 6px; }
#overlay .cv-pts-val { font-size: 18px; }
#overlay .cv-add-btn { font-size: 14px; padding: 11px 14px; margin: 0 0 7px; }
#overlay #cv .sb { height: 32px; }
@media (min-width: 601px) {
  #overlay .modal { max-width: 460px; }
  #overlay .cv-hero { padding: 18px 22px 14px; gap: 14px; }
  #overlay .cv-av { width: 54px; height: 54px; font-size: 19px; }
  #overlay .cv-name { font-size: calc(19px * var(--nm, 1)); }
  #overlay .cv-handle { font-size: 13px; }
  #overlay .visit-small { margin-top: 7px; height: 24px; font-size: 11px; }
  #overlay .cv-body { padding: 16px 22px 18px; }
  #overlay .cv-rank { font-size: 38px; }
  #overlay .cv-rank-row { margin-bottom: 10px; }
  #overlay .cv-prox { padding: 10px 14px; margin-bottom: 10px; }
  #overlay .cv-prox-top { font-size: calc(13px * var(--nm, 1)); }
  #overlay .cv-prox-big span { font-size: 30px; }
  #overlay .cv-prox-big small { font-size: 10.5px; }
  #overlay .cv-prox-bar { height: 7px; margin-bottom: 7px; }
  #overlay .cv-prox-row { font-size: 12px; }
  #overlay .cv-pts-box { padding: 9px 14px; margin-bottom: 10px; }
  #overlay .cv-pts-val { font-size: 22px; }
  #overlay .cv-add-btn { font-size: 16px; padding: 14px; margin: 0 0 10px; }
  #overlay #cv .sb { height: 38px; min-width: 44px; font-size: 12px; }
  #overlay #cv .sb svg { width: 16px; height: 16px; }
  #overlay .cv-fans { gap: 10px; margin-top: 14px; }
  .cv-ticker { padding: 9px 12px; }
  .cv-tick-item { font-size: 13px; }
  #overlay .cv-fan-box { padding: 10px 14px; }
  #overlay .cv-fan-h { font-size: 10px; margin-bottom: 6px; }
  .cv-sup-b { font-size: 13px; padding: 3px 0; }
  .cv-sup-msg { font-size: 12.5px; }
}

/* /youtube-community editorial page (content placed by the edge worker) */
.yc { padding-bottom: 72px; }
.yc-wrap { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 20px; }
.yc-hero { background: linear-gradient(180deg, rgba(230,51,41,.04) 0%, transparent 70%); border-bottom: 1px solid var(--border); padding: 56px 0 40px; }
.yc-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffd700; margin: 0 0 14px; }
.yc-hero h1 { font-size: clamp(30px, 5.2vw, 46px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; margin: 0 0 18px; color: var(--fg); }
.yc-lede { font-size: 18px; line-height: 1.75; color: var(--fg2); max-width: 70ch; }
.yc-body { padding-top: 32px; }
.yc-body p { font-size: 16px; line-height: 1.85; color: var(--fg2); margin: 0 0 18px; max-width: 72ch; }
.yc-sec { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--border); }
.yc-sec h2 { font-size: clamp(23px, 3.4vw, 30px); font-weight: 850; letter-spacing: -0.02em; line-height: 1.25; color: var(--fg); margin: 0 0 16px; text-wrap: balance; }
.yc h3 { font-size: 17px; font-weight: 800; color: var(--fg); margin: 0 0 8px; line-height: 1.35; }
.yc-link { color: #ffd700; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.yc-link:hover { color: #fff; }
.yc-cats { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 26px 0 8px; }
@media (min-width: 720px) { .yc-cats { grid-template-columns: 1fr 1fr; } }
.yc-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 20px 20px 4px; min-width: 0; }
.yc-card p, .yc-q p, .yc-step p, .yc-about p { font-size: 15px; line-height: 1.75; }
.yc-steps { list-style: none; margin: 26px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 0; }
.yc-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 8px; }
.yc-step:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 46px; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(230,51,41,.6), rgba(230,51,41,.15)); }
.yc-num { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; color: #fff; background: #e63329; }
.yc-step h3 { padding-top: 10px; }
.yc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.yc-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.yc-q { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px 4px; }
.yc-about { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 22px 22px 6px; margin-top: 8px; }
@media (max-width: 600px) {
  .yc-hero { padding: 32px 0 26px; }
  .yc-wrap { padding: 0 16px; }
  .yc-lede { font-size: 16.5px; }
  .yc-body p { font-size: 15.5px; line-height: 1.8; }
  .yc-sec { margin-top: 32px; padding-top: 30px; }
  .yc-card, .yc-q { padding: 16px 16px 2px; }
  .yc-step { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .yc-num { width: 38px; height: 38px; font-size: 14px; }
  .yc-step:not(:last-child)::after { left: 18px; top: 40px; }
  .yc-step h3 { padding-top: 7px; }
}

/* /creator-leaderboard-extension landing page (content placed by the edge worker) */
.xl { padding-bottom: 72px; --gold: #D4AF37; }
.ic { display: inline-block; vertical-align: -0.14em; flex-shrink: 0; }
.xl-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.xl-hero { background: linear-gradient(180deg, rgba(212,175,55,.05), transparent 75%); border-bottom: 1px solid var(--border); padding: 40px 0 44px; }
.xl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: center; }
.xl-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.xl-hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; margin: 0 0 16px; color: var(--fg); }
.xl-lede { font-size: 17px; line-height: 1.7; color: var(--fg2); max-width: 60ch; }
.xl-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.xl-store { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 46px; padding: 8px 18px; border-radius: 12px; font-size: 14px; font-weight: 800; text-decoration: none; color: #111; background: linear-gradient(135deg, #f5e08a, var(--gold) 55%, #b8922a); box-shadow: 0 6px 20px rgba(212,175,55,.22); transition: filter .15s, transform .1s; }
.xl-store:hover { filter: brightness(1.07); }
.xl-store:active { transform: scale(.98); }
.xl-store small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.xl-soon { background: var(--bg3); color: var(--fg2); border: 1px solid rgba(212,175,55,.35); box-shadow: none; cursor: default; }
.xl-soon small { color: var(--gold); opacity: 1; }
.xl-board { background: transparent; color: var(--fg); border: 1px solid var(--border2); box-shadow: none; }
.xl-board:hover { border-color: var(--gold); color: var(--gold); filter: none; }
.xl-works { margin-top: 18px; font-size: 12.5px; color: var(--fg3); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.xl-works span { color: var(--fg2); font-weight: 700; background: var(--bg3); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }
.xl-mock { margin: 0; }
.xl-mock figcaption { margin-top: 10px; text-align: center; font-size: 12px; color: var(--fg3); }
.xm-card { background: #0A0A0A; border: 1px solid var(--gold); border-radius: 16px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.5); font-family: Roboto, "Segoe UI", system-ui, -apple-system, Arial, sans-serif; }
.xm-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); }
.xm-site { color: #bdbdbd; text-transform: none; letter-spacing: 0; font-weight: 500; }
.xm-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; margin-right: 7px; vertical-align: middle; }
.xm-main { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.xm-badge { flex-shrink: 0; min-width: 66px; padding: 8px; border-radius: 12px; text-align: center; color: #111; background: var(--gold); }
.xm-badge b { display: block; font-size: 24px; font-weight: 900; line-height: 1.05; }
.xm-badge small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.xm-who { min-width: 0; }
.xm-name { font-size: 17px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xm-sub { font-size: 12.5px; color: #aaa; }
.xm-pts { font-size: 13.5px; color: #fff; margin-top: 3px; }
.xm-pts b { color: var(--gold); font-weight: 900; }
.xm-tier { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 800; color: var(--gold); border: 1px solid rgba(212,175,55,.55); border-radius: 999px; padding: 1px 9px; }
.xm-race { margin-top: 14px; border-top: 1px solid #222; padding-top: 10px; font-size: 12.5px; color: #cfcfcf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xm-race b { color: #fff; margin: 0 2px 0 4px; }
.xm-dn { color: #e74c3c; font-weight: 800; }
.xm-btn { margin-top: 14px; text-align: center; font-weight: 900; font-size: 14px; color: #111; background: var(--gold); border-radius: 10px; padding: 10px 12px; }
.xl-body { max-width: 900px; padding-top: 8px; }
.xl-body p { font-size: 16px; line-height: 1.8; color: var(--fg2); margin: 0 0 16px; max-width: 72ch; }
.xl-sec { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--border); }
.xl-sec:first-child { border-top: 0; }
.xl-sec h2 { font-size: clamp(23px, 3.4vw, 30px); font-weight: 850; letter-spacing: -0.02em; line-height: 1.25; color: var(--fg); margin: 0 0 16px; text-wrap: balance; }
.xl h3 { font-size: 17px; font-weight: 800; color: var(--fg); margin: 0 0 8px; line-height: 1.35; }
.xl-feats { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
@media (min-width: 720px) { .xl-feats { grid-template-columns: 1fr 1fr; } .xl-feats .xl-card:nth-child(odd):last-child { grid-column: 1 / -1; } }
.xl-card, .xl-q { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 20px 20px 4px; min-width: 0; }
.xl-card p, .xl-q p, .xl-step p { font-size: 15px; line-height: 1.75; }
.xl-steps { list-style: none; margin: 22px 0 0; padding: 0; }
.xl-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 8px; }
.xl-step:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 46px; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(212,175,55,.65), rgba(212,175,55,.15)); }
.xl-num { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; color: #111; background: linear-gradient(135deg, #f5e08a, var(--gold) 55%, #b8922a); box-shadow: 0 0 18px rgba(212,175,55,.3); }
.xl-step h3 { padding-top: 10px; }
.xl-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.xl-list li { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px 14px 44px; position: relative; font-size: 15px; line-height: 1.7; color: var(--fg2); }
.xl-list li::before { content: ''; position: absolute; left: 16px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, var(--gold) 40%, rgba(212,175,55,.2) 42%); }
.xl-list strong { color: var(--fg); }
.xl-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.xl-link { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.xl-link:hover { color: #fff; }
.xl-end { margin-top: 44px; text-align: center; }
.xl-legal { margin: 28px auto 0 !important; text-align: center; font-size: 13px !important; color: var(--fg3) !important; }
.xl-cta { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 900; font-size: 15px; text-decoration: none; color: #fff; background: #e63329; box-shadow: 0 8px 24px rgba(230,51,41,.4); }
.xl-cta:hover { filter: brightness(1.08); }
.xl-card .xl-list { gap: 2px; margin: 4px 0 16px; }
.xl-card .xl-list li { background: none; border: 0; border-radius: 0; padding: 7px 0 7px 28px; font-size: 15px; }
.xl-card .xl-list li + li { border-top: 1px solid var(--border); }
.xl-card .xl-list li::before { left: 2px; top: 14px; width: 12px; height: 12px; }
@media (min-width: 720px) {
  .xl-see .xl-card:first-child { grid-row: span 2; }
  .xl-see .xl-card:nth-child(odd):last-child { grid-column: auto; }
}
.xl-get { margin-top: 26px; }
.xl-get-h { font-size: 12px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fg3) !important; margin: 0 0 10px !important; }
.xl-get .xl-install { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 0; max-width: 540px; }
.xl-inst { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; padding: 12px 14px; border-radius: 12px; text-align: left; text-decoration: none; font: inherit; cursor: pointer;
  color: var(--fg); background: var(--bg2); border: 1px solid var(--border2); transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.xl-inst:hover { border-color: rgba(212,175,55,.7); background: var(--bg3); transform: translateY(-1px); }
.xl-inst:active { transform: scale(.98); }
.xl-inst:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.xl-ico { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.xl-ico svg { width: 28px; height: 28px; }
.xl-it { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.xl-it b { font-size: 15px; font-weight: 800; line-height: 1.2; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl-it small { font-size: 11.5px; font-weight: 600; color: var(--fg3); margin-top: 2px; }
a.xl-inst .xl-it small { color: var(--gold); }
a.xl-inst .xl-it small .xl-now { color: var(--green); }
.xl-arr { flex-shrink: 0; font-size: 16px; color: var(--fg3); transition: transform .15s ease, color .15s ease; }
.xl-inst:hover .xl-arr { transform: translateX(3px); color: var(--gold); }
.xm-link { display: block; color: inherit; text-decoration: none; border-radius: 12px; }
.xm-card { transition: transform .2s ease, box-shadow .2s ease; }
.xm-card:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0,0,0,.55); }
.xm-link:hover .xm-name { color: var(--gold); }
.xm-go { margin-left: auto; align-self: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); border: 1px solid rgba(212,175,55,.5); font-weight: 900; transition: transform .15s ease, background .15s ease; }
.xm-link:hover .xm-go { transform: translateX(3px); background: rgba(212,175,55,.12); }
a.xm-btn { display: block; text-decoration: none; transition: filter .15s ease, transform .15s ease; }
a.xm-btn:hover { filter: brightness(1.08); }
a.xm-btn:active { transform: scale(.98); }
@media (max-width: 560px) { .xl-get .xl-install { grid-template-columns: 1fr; gap: 10px; } .xl-inst { padding: 12px 14px; } }
@media (prefers-reduced-motion: reduce) { .xl-inst, .xm-card, .xl-arr, .xm-go { transition: none; } }
.xl-cta2 { background: transparent; color: var(--fg); border: 1px solid var(--border2); box-shadow: none; }
.xl-cta2:hover { border-color: var(--gold); color: var(--gold); filter: none; }
.xl-end { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.xl-final { text-align: center; } .xl-final p { margin-left: auto; margin-right: auto; }
.xl-final .xl-end { margin-top: 20px; }
.xl-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 18px; padding-bottom: 0; font-size: 13px; color: var(--fg3); }
.xl-crumbs a { color: var(--fg2); text-decoration: none; } .xl-crumbs a:hover { color: var(--gold); }
.xl-lede2 { margin-top: 10px; font-size: 15px; color: var(--fg3); }
.xl-install { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 18px; }
@media (max-width: 480px) { .xm-site { display: none; } .xm-card { padding: 14px; } }
@media (max-width: 860px) { .xl-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .xl-mock { max-width: 460px; width: 100%; margin: 0 auto; } }
@media (max-width: 600px) {
  .xl-hero { padding: 32px 0 30px; }
  .xl-wrap { padding: 0 16px; }
  .xl-lede { font-size: 16px; }
  .xl-stores { flex-direction: column; }
  .xl-store { width: 100%; }
  .xl-body p { font-size: 15.5px; }
  .xl-sec { margin-top: 32px; padding-top: 30px; }
  .xl-card, .xl-q { padding: 16px 16px 2px; }
  .xl-step { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .xl-num { width: 38px; height: 38px; font-size: 14px; }
  .xl-step:not(:last-child)::after { left: 18px; top: 40px; }
  .xl-step h3 { padding-top: 7px; }
}

/* home page FAQ: native details, so every answer is in the page for readers and crawlers alike.
   One centred column of cards: the question and its + button sit together, the answer opens inside the same card. */
.hfaq-inner { max-width: 860px; margin: 0 auto; }
.hfaq-head { text-align: center; margin-bottom: 8px; }
.hfaq-head .section-title { text-wrap: balance; }
.hfaq-sub { font-size: 14px; color: var(--fg2); margin: 8px 0 0; }
.hfaq-group { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 28px 0 10px; }
.hfaq-list { display: flex; flex-direction: column; gap: 10px; }
.hfaq-item { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; transition: border-color .15s, background .15s; }
.hfaq-item:hover { border-color: var(--border2); }
.hfaq-item[open] { border-color: rgba(230,51,41,.45); background: linear-gradient(180deg, rgba(230,51,41,.06), transparent 70%), var(--bg2); }
.hfaq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; }
.hfaq-item summary::-webkit-details-marker { display: none; }
.hfaq-item summary h3 { font-size: 16px; font-weight: 700; color: var(--fg); margin: 0; line-height: 1.4; text-wrap: pretty; }
.hfaq-item[open] summary h3, .hfaq-item summary:hover h3 { color: #fff; }
.hfaq-ic { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(230,51,41,.12); border: 0;
  /* the ring is drawn as one shadow on its own layer, so iPhone draws it perfectly round even at half pixel positions */
  box-shadow: inset 0 0 0 1px rgba(230,51,41,.5); transform: translateZ(0); backface-visibility: hidden; transition: transform .2s, background .15s; }
.hfaq-ic::before, .hfaq-ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: #ff5a4f; transition: transform .2s; }
.hfaq-ic::after { transform: rotate(90deg); }
.hfaq-item summary:hover .hfaq-ic { background: rgba(230,51,41,.22); }
.hfaq-item[open] .hfaq-ic { background: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); transform: translateZ(0) rotate(180deg); }
.hfaq-item[open] .hfaq-ic::before { background: #fff; }
.hfaq-item[open] .hfaq-ic::after { transform: rotate(0deg); opacity: 0; }
.hfaq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hfaq-item p { margin: 0; padding: 0 20px 20px; font-size: 14.5px; color: var(--fg2); line-height: 1.75; }
.hfaq-item p a { color: #ff5a4f; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 600px) {
  .hfaq-item summary { padding: 15px 14px 15px 16px; gap: 12px; }
  .hfaq-item summary h3 { font-size: 14.5px; }
  .hfaq-ic { width: 30px; height: 30px; }
  .hfaq-ic::before, .hfaq-ic::after { width: 12px; margin-left: -6px; }
  .hfaq-item p { padding: 0 16px 16px; font-size: 13.5px; }
  .hfaq-group { margin: 22px 0 8px; }
}
/* the 2026 Early Bird starting scores: mentioned only while the 2026 season runs */
.post-eb .eb-only { display: none; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none;
  padding: 18px 0; font-size: 15px; font-weight: 700; color: var(--fg);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: color 0.12s; cursor: pointer;
}
.faq-q:hover { color: var(--accent); }
.faq-chevron { font-size: 18px; color: var(--fg3); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a { display: none; padding-bottom: 16px; font-size: 13px; color: var(--fg2); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* MOBILE */
/* PAST EDITIONS PAGE */
.arc-edition { background: var(--card); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 24px; overflow: hidden; }
.arc-edition-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 16px; border-bottom: 1px solid var(--border); }
.arc-edition-year { font-size: 22px; font-weight: 900; letter-spacing: -0.03em; }
.arc-edition-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(230,51,41,0.12); color: var(--accent); padding: 4px 10px; border-radius: 20px; }
.arc-podium { display: flex; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.arc-place { flex: 1; background: var(--bg2); border-radius: 10px; padding: 14px; text-align: center; }
.arc-place-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg3); margin-bottom: 8px; }
.arc-place-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #fff; margin: 0 auto 8px; }
.arc-place-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arc-place-pts { font-size: 11px; color: var(--fg3); margin-top: 2px; }
.arc-lb { padding: 8px 0 16px; }
.arc-lb-row { display: flex; align-items: center; gap: 12px; padding: 10px 24px; border-bottom: 1px solid var(--border); }
.arc-lb-row:last-child { border-bottom: none; }
.arc-lb-rank { font-size: 13px; font-weight: 700; color: var(--fg3); width: 32px; flex-shrink: 0; }
.arc-lb-av { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0; }
.arc-lb-name { flex: 1; font-size: 13px; font-weight: 600; }
.arc-lb-pts { font-size: 12px; color: var(--fg3); font-variant-numeric: tabular-nums; }
.arc-meta { display: flex; gap: 16px; padding: 14px 24px; flex-wrap: wrap; }
.arc-meta-item { font-size: 12px; color: var(--fg3); }
.arc-meta-item strong { color: var(--fg); font-weight: 600; }
.arc-toggle { background: none; border: none; color: var(--accent); font-size: 12px; font-weight: 600; cursor: pointer; padding: 0 24px 16px; display: block; }
.arc-full { display: none; }
.arc-full.open { display: block; }

@media (max-width: 600px) {
  .nav-links { display: none; }
  .section { padding: 24px 14px; }
  .hero, .rk-hero, .tiers-hero, .hiw-page-hero { padding: 24px 14px 20px; }
  #leaderboard { padding-top: 16px; }
  .lb th.hm, .lb-row td.hm { display: none; }
  .act-cell { width: 56px; padding-left: 4px !important; padding-right: 4px !important; }
  .act-cell .add-btn { padding: 5px 8px; font-size: 11px; white-space: nowrap; }
  .trend-grid { grid-template-columns: 1fr; gap: 10px; }
  .hiw-grid { grid-template-columns: 1fr 1fr; }
  .ap-grid { grid-template-columns: 1fr 1fr; }
  .tier-body { padding: 18px 16px; }
  .step-item { padding: 22px 16px; gap: 16px; }
  .step-item:not(:last-child)::after { left: 33px; top: 62px; bottom: -24px; }
  .rk-stat { min-width: 90px; }
  .race-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .trend-grid, .hiw-grid, .race-grid { grid-template-columns: 1fr; }
}
/* ROW HOVER + SEARCH HIGHLIGHT */
.lb-row { cursor: pointer; transition: background .15s; }
.lb-row:hover { background: rgba(255,255,255,0.05); }
@keyframes lbFlash { 0%,70% { background: rgba(230,51,41,0.28); } 100% { background: transparent; } }
.lb-row.lb-flash { animation: lbFlash 2.6s ease-out; }

/* STATS GRID UTILITIES (scoped, no external framework) */
.unified-stats-grid { width: min(56rem, calc(100vw - 32px)); max-width: none; margin: 0; position: relative; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: .5rem; }
.unified-stats-grid.mt-4 { margin-top: 1rem; }
.unified-stats-grid .gap-1 { gap: .25rem; }
.unified-stats-grid .whitespace-nowrap { white-space: nowrap; }
.unified-stats-grid .mb-1\.5 { margin-bottom: .375rem; }
.unified-stats-grid .ml-1 { margin-left: .25rem; }
.unified-stats-grid .mr-1 { margin-right: .25rem; }
.unified-stats-grid .p-3 { padding: .75rem; }
.unified-stats-grid .text-lg { font-size: 1.125rem; }
.unified-stats-grid .text-5xl { font-size: 3rem; line-height: 1; }
.unified-stats-grid .text-\[8px\] { font-size: 8px; }
.unified-stats-grid .-right-2 { right: -.5rem; }
.unified-stats-grid .-top-2 { top: -.5rem; }
.unified-stats-grid .overflow-hidden { overflow: hidden; }
.unified-stats-grid > .grid { gap: .5rem; }
.unified-stats-grid .justify-between > div:last-child { white-space: nowrap; }
.unified-stats-grid .grid { display: grid; gap: .75rem; }
.unified-stats-grid .grid-cols-1 { grid-template-columns: 1fr; }
.unified-stats-grid .text-left { text-align: left; }
.unified-stats-grid .bg-\[\#18181b\] { background: #18181b; }
.unified-stats-grid .border { border: 1px solid #2a2a2e; }
.unified-stats-grid .rounded-xl { border-radius: .75rem; }
.unified-stats-grid .rounded { border-radius: .25rem; }
.unified-stats-grid .p-4 { padding: 1rem; }
.unified-stats-grid .flex { display: flex; }
.unified-stats-grid .flex-col { flex-direction: column; }
.unified-stats-grid .items-center { align-items: center; }
.unified-stats-grid .items-baseline { align-items: baseline; }
.unified-stats-grid .justify-between { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.unified-stats-grid .justify-center { justify-content: center; }
.unified-stats-grid .gap-2 { gap: .5rem; }
.unified-stats-grid .gap-1\.5 { gap: .375rem; }
.unified-stats-grid .shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,.4), 0 4px 6px -4px rgba(0,0,0,.4); }
.unified-stats-grid .transition-colors { transition: border-color .15s; }
.unified-stats-grid .hover\:border-\[\#38383e\]:hover { border-color: #38383e; }
.unified-stats-grid .hover\:border-\[\#22c55e\]\/50:hover { border-color: rgba(34,197,94,.5); }
.unified-stats-grid .hover\:border-\[\#ffd700\]\/50:hover { border-color: rgba(255,215,0,.5); }
.unified-stats-grid .hover\:border-\[\#e63329\]\/50:hover { border-color: rgba(230,51,41,.5); }
.unified-stats-grid .relative { position: relative; }
.unified-stats-grid .absolute { position: absolute; }
.unified-stats-grid .overflow-hidden { overflow: hidden; }
.unified-stats-grid .-right-3 { right: -.75rem; }
.unified-stats-grid .-top-3 { top: -.75rem; }
.unified-stats-grid .opacity-5 { opacity: .05; }
.unified-stats-grid .uppercase { text-transform: uppercase; }
.unified-stats-grid .tabular-nums { font-variant-numeric: tabular-nums; }
.unified-stats-grid .font-bold { font-weight: 700; }
.unified-stats-grid .font-black { font-weight: 900; }
.unified-stats-grid .tracking-wider { letter-spacing: .05em; }
.unified-stats-grid .tracking-tight { letter-spacing: -.025em; }
.unified-stats-grid .tracking-tighter { letter-spacing: -.05em; }
.unified-stats-grid .leading-snug { line-height: 1.375; }
.unified-stats-grid .mb-1 { margin-bottom: .25rem; }
.unified-stats-grid .mb-2 { margin-bottom: .5rem; }
.unified-stats-grid .mt-1 { margin-top: .25rem; }
.unified-stats-grid .px-2 { padding-left: .5rem; padding-right: .5rem; }
.unified-stats-grid .py-0\.5 { padding-top: .125rem; padding-bottom: .125rem; }
.unified-stats-grid .text-white { color: #fff; }
.unified-stats-grid .text-xs { font-size: .75rem; }
.unified-stats-grid .text-sm { font-size: .875rem; }
.unified-stats-grid .text-xl { font-size: 1.25rem; }
.unified-stats-grid .text-2xl { font-size: 1.5rem; }
.unified-stats-grid .text-3xl { font-size: 1.875rem; }
.unified-stats-grid .text-4xl { font-size: 2.25rem; line-height: 1; }
.unified-stats-grid .text-6xl { font-size: 3.75rem; line-height: 1; }
.unified-stats-grid .text-\[9px\] { font-size: 9px; }
.unified-stats-grid .text-\[10px\] { font-size: 10px; }
.unified-stats-grid .text-\[11px\] { font-size: 11px; }
.unified-stats-grid .text-\[\#a1a1aa\] { color: #a1a1aa; }
.unified-stats-grid .text-\[\#71717a\] { color: #71717a; }
.unified-stats-grid .text-\[\#38383e\] { color: #38383e; }
.unified-stats-grid .text-\[\#22c55e\] { color: #22c55e; }
.unified-stats-grid .text-\[\#ffd700\] { color: #ffd700; }
.unified-stats-grid .text-\[\#e63329\] { color: #e63329; }
.unified-stats-grid .bg-\[\#ffd700\]\/10 { background: rgba(255,215,0,.1); }
.unified-stats-grid .bg-\[\#e63329\]\/10 { background: rgba(230,51,41,.1); }
.unified-stats-grid .border-\[\#ffd700\]\/20 { border-color: rgba(255,215,0,.2); }
.unified-stats-grid .border-\[\#e63329\]\/20 { border-color: rgba(230,51,41,.2); }
@media (min-width: 768px) {
  .unified-stats-grid.md\:mt-8 { margin-top: 2rem; }
  .unified-stats-grid { gap: .75rem; }
  .unified-stats-grid > .grid { gap: .75rem; }
  .unified-stats-grid .md\:p-4 { padding: 1rem; }
  .unified-stats-grid .md\:gap-2 { gap: .5rem; }
  .unified-stats-grid .md\:text-xs { font-size: .75rem; }
  .unified-stats-grid .md\:text-base { font-size: 1rem; }
  .unified-stats-grid .md\:text-xl { font-size: 1.25rem; }
  .unified-stats-grid .md\:text-2xl { font-size: 1.5rem; }
  .unified-stats-grid .md\:text-4xl { font-size: 2.25rem; line-height: 1; }
  .unified-stats-grid .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .unified-stats-grid .md\:text-\[9px\] { font-size: 9px; }
  .unified-stats-grid .md\:text-\[10px\] { font-size: 10px; }
  .unified-stats-grid .md\:text-\[11px\] { font-size: 11px; }
  .unified-stats-grid .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .unified-stats-grid .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* FLOATING LEADERBOARD FAB */
.lb-fab {
  position: fixed; right: 16px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: inline-flex; align-items: center; gap: 0; cursor: pointer;
  height: 52px; padding: 0 15px; border: 1px solid rgba(255,215,0,0.55); border-radius: 999px;
  background: linear-gradient(135deg, #e63329 0%, #ff7a1a 55%, #ffd700 100%);
  color: #fff; font: 800 13px/1 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .02em;
  box-shadow: 0 6px 24px rgba(230,51,41,.5), 0 0 0 0 rgba(255,215,0,.5);
  box-shadow: 0 6px 20px rgba(230,51,41,.45);
  transition: opacity .2s, transform .2s;
}
@media (hover: hover) and (pointer: fine) { .lb-fab:hover { transform: translateY(-2px) scale(1.03); } }   /* phones keep a tapped hover state, which made the button jump up */
.lb-fab { will-change: transform; transform: translateZ(0); -webkit-tap-highlight-color: transparent; }
@media (max-width: 700px) {
  .lb-fab { width: 52px; padding: 0; justify-content: center; right: 14px; }
  .lb-fab .lb-fab-label { display: none; animation: none; }   /* on a phone the growing label made the button shift; the trophy alone is the button */
}
.lb-fab[hidden] { display: none !important; }
.lb-fab svg { width: 22px; height: 22px; flex-shrink: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.lb-fab-label { display: inline-block; white-space: nowrap; overflow: hidden; max-width: 0; opacity: 0; margin-left: 0; animation: fabLabel 9s ease-in-out infinite; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
@keyframes fabLabel {
  0%, 12% { max-width: 0; opacity: 0; margin-left: 0; }
  20%, 62% { max-width: 190px; opacity: 1; margin-left: 9px; }
  72%, 100% { max-width: 0; opacity: 0; margin-left: 0; }
}
@keyframes fabGlow {
  0%, 100% { box-shadow: 0 6px 24px rgba(230,51,41,.5), 0 0 0 0 rgba(255,215,0,.45); }
  50% { box-shadow: 0 6px 30px rgba(255,160,30,.65), 0 0 0 10px rgba(255,215,0,0); }
}
@media (prefers-reduced-motion: reduce) { .lb-fab, .lb-fab-label { animation: none; } .lb-fab-label { max-width: 190px; opacity: 1; margin-left: 9px; } }

button, a, [onclick], input, select, label { touch-action: manipulation; }
/* the payment pop-up: the site's own dark card, same width as the Add Points pop-up, centred (the form inside is Dodo's embedded checkout) */
#pay-modal { position: fixed; inset: 0; z-index: 350; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(0,0,0,.82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
#pay-modal .pm-card { width: 100%; max-width: 440px; max-height: calc(100dvh - 24px); display: flex; flex-direction: column; background: #111113; border: 1px solid #2a2a2e; border-radius: 18px; box-shadow: 0 24px 80px rgba(0,0,0,.6); overflow: hidden; }
#pay-modal .pm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid #2a2a2e; }
#pay-modal .pm-hd { min-width: 0; }
#pay-modal .pm-title { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #a1a1aa; }
#pay-modal .pm-sum { margin-top: 3px; font-size: 15px; font-weight: 800; color: #f4f4f5; overflow-wrap: anywhere; }
#pay-modal .pm-x { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #2a2a2e; background: #18181b; color: #d4d4d8; font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0 0 2px; }
#pay-modal .pm-x:hover { background: #26262b; }
#pay-modal .pm-body { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
#pay-modal #pay-inline, #pay-modal #pay-inline > div { min-height: 520px; }
#pay-modal .pm-load { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #111113; color: #a1a1aa; font-size: 13px; font-weight: 700; }
#pay-modal .pm-spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255,255,255,.14); border-top-color: #e63329; animation: pvSpin .8s linear infinite; }
@keyframes pvSpin { to { transform: rotate(360deg); } }
/* while the payment window is open the website behind it cannot be scrolled (mouse wheel, keys or touch) */
html.pay-lock, html.pay-lock body { overflow: hidden !important; overscroll-behavior: none; }


/* SUCCESS MODAL (premium achievement card) */
#svv { padding: 40px 22px; }
.sv-icon { margin-bottom: 14px; line-height: 0; }
.sv-icon svg { width: 84px; height: 84px; filter: drop-shadow(0 0 14px rgba(255,200,40,.45)); animation: svPop .6s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes svPop { from { transform: scale(.4) rotate(-10deg); opacity: 0; } to { transform: none; opacity: 1; } }
.sv-win { display: none; }
#svv.ok { padding: 36px 18px 16px; background: radial-gradient(120% 55% at 50% 0%, rgba(255,184,0,.13), rgba(255,184,0,.03) 55%, transparent 80%); }
#svv.ok .sv-win { display: block; }
#svv.ok .sv-icon, #svv.ok .sv-title, #svv.ok .sv-sub, #svv.ok .sv-close { display: none; }
.sv-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; min-width: 0; margin: 0 0 32px; }
.sv-av-wrap { position: relative; width: 76px; height: 76px; flex-shrink: 0; margin-bottom: 12px; }
.sv-av { --tc: #ffd700; width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #fff; box-shadow: 0 0 0 2px var(--bg2, #111), 0 0 0 4px var(--tc), 0 0 26px color-mix(in srgb, var(--tc) 50%, transparent); animation: svPop .55s cubic-bezier(.2,1.4,.4,1) both; }
.sv-id { min-width: 0; width: 100%; display: flex; flex-direction: column; align-items: center; }
.sv-name { max-width: 100%; font-size: 21px; font-weight: 900; letter-spacing: -.02em; color: #fff; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-handle { max-width: 100%; margin-top: 3px; font-size: 13px; color: var(--fg3); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-tierline { margin-top: 9px; max-width: 100%; display: flex; justify-content: center; }
.sv-tier { --tc: #9a9aa3; display: inline-block; max-width: 100%; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tc); border: 1px solid color-mix(in srgb, var(--tc) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 14%, transparent), color-mix(in srgb, var(--tc) 5%, transparent)); border-radius: 6px; padding: 4px 10px 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.sv-card { position: relative; text-align: center; background: linear-gradient(165deg, #17171b 0%, #0c0c0e 70%); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 16px 14px 6px; margin-bottom: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 34px rgba(0,0,0,.45), 0 0 0 1px rgba(255,184,0,.06); overflow: hidden; }
.sv-card::before { content: ""; position: absolute; left: 14%; right: 14%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,215,0,.8), transparent); }
.sv-hero { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.sv-delta { font-size: 44px; font-weight: 900; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff6b8 0%, #ffd23d 45%, #ff9d1a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(255,184,0,.45)); animation: svPop .55s .1s cubic-bezier(.2,1.4,.4,1) both; max-width: 100%; overflow-wrap: anywhere; }
.sv-hero-l { font-size: 10px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--fg3); }
.sv-sec { padding: 14px 0; }
.sv-sec + .sv-sec { border-top: 1px solid rgba(255,255,255,.07); }
.sv-grid { display: grid; grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr); align-items: baseline; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.05; }
.sv-grid > :first-child { text-align: right; }
.sv-grid > :last-child { text-align: left; }
.sv-grid.one { grid-template-columns: 1fr; }
.sv-grid.one > * { text-align: center; }
.sv-from { font-size: 17px; color: var(--fg3); overflow-wrap: anywhere; }
.sv-arr { font-size: 16px; color: rgba(255,255,255,.35); text-align: center; }
.sv-tocell { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.sv-to { font-size: 26px; letter-spacing: -.02em; color: #4ade80; text-shadow: 0 0 20px rgba(34,197,94,.55); overflow-wrap: anywhere; animation: svPop .5s .2s cubic-bezier(.2,1.4,.4,1) both; }
.sv-up { font-size: 10px; font-weight: 900; letter-spacing: .02em; color: #04230f; background: linear-gradient(180deg, #4ade80, #22c55e); border-radius: 999px; padding: 3px 7px; box-shadow: 0 0 14px rgba(34,197,94,.55); white-space: nowrap; align-self: center; }
.sv-need { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--fg2); }
.sv-need:empty { display: none; }
.sv-need b { color: #ffd700; font-variant-numeric: tabular-nums; }
.sb-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.sb { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; min-width: 46px; height: 40px; padding: 0 12px; border-radius: 10px; background: #18181b; border: 1px solid rgba(255,255,255,.1); color: #d4d4d8; font-family: inherit; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .1s; }
.sb svg { width: 16px; height: 16px; flex-shrink: 0; }
.sb span { white-space: nowrap; }
.sb:active { transform: scale(.96); }
.sb-x:hover, .sb-x:active, .sb-x:focus-visible { background: #fff; border-color: #fff; color: #000; }
.sb-wa:hover, .sb-wa:active, .sb-wa:focus-visible { background: rgba(37,211,102,.14); border-color: #25d366; color: #25d366; }
.sb-tg:hover, .sb-tg:active, .sb-tg:focus-visible { background: rgba(42,171,238,.14); border-color: #2aabee; color: #2aabee; }
.sb-cp:hover, .sb-cp:active, .sb-cp:focus-visible, .sb-cp.done { background: rgba(255,215,0,.12); border-color: #ffd700; color: #ffd700; }
.share-row.sb-row { margin-top: 14px; flex-wrap: wrap; }
@media (max-width: 430px) { .sv-to { font-size: 24px; } .sv-from { font-size: 15px; } }
@media (max-width: 360px) { .sv-tocell { gap: 3px 4px; flex-wrap: nowrap; } .sv-up { font-size: 9px; padding: 2px 5px; } .sv-grid { grid-template-columns: minmax(0,1fr) 18px minmax(0,1fr); } }
.cel-share > span:first-child { flex: 0 0 100%; text-align: center; }

.sb-row { margin-bottom: 6px; }
@media (max-width: 420px) { .share-row .share-label { display: none; } }
@media (max-width: 360px) { .sb { min-width: 42px; padding: 0 9px; gap: 5px; font-size: 11px; } .sb-row { gap: 6px; } }
@media (max-width: 340px) { .sb { min-width: 38px; padding: 0 8px; } .sb-row { gap: 5px; } }
.sv-done { display: block; width: 100%; max-width: 220px; margin: 10px auto 0; background: transparent; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: var(--fg2); font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 10px 18px; cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.sv-done:hover { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
@media (min-width: 700px) { #svv.ok { padding: 42px 30px 22px; } .sv-delta { font-size: 52px; } .sv-to { font-size: 32px; } .sv-from { font-size: 19px; } .sv-card { padding: 20px 18px 8px; } }
@media (max-width: 360px) { #svv.ok { padding: 32px 12px 12px; } .sv-delta { font-size: 38px; } .sv-to { font-size: 21px; } .sv-from { font-size: 14px; } .sv-av-wrap, .sv-av { width: 64px; height: 64px; font-size: 24px; } .sv-name { font-size: 18px; } .sv-hero { padding-bottom: 10px; } .sv-sec { padding: 9px 0; } }
@media (max-height: 580px) { #svv.ok { padding: 20px 14px 8px; } .sv-head { margin-bottom: 12px; } .sv-av-wrap, .sv-av { width: 44px; height: 44px; font-size: 17px; } .sv-av-wrap { margin-bottom: 5px; } .sv-name { font-size: 16px; } .sv-handle { font-size: 12px; margin-top: 1px; } .sv-tierline { margin-top: 4px; } .sv-tier { padding: 3px 9px 2px; } .sv-card { padding: 8px 10px 0; margin-bottom: 8px; } .sv-delta { font-size: 30px; } .sv-hero { padding-bottom: 6px; } .sv-hero-l { display: none; } .sv-sec { padding: 7px 0; } .sv-to { font-size: 20px; } .sv-from { font-size: 14px; } .sv-need { margin-top: 3px; font-size: 11px; } .sb-row { gap: 6px; margin-bottom: 2px; } .sb-row .sb { height: 36px; } .sv-done { margin-top: 4px; padding: 6px 18px; } }
@media (prefers-reduced-motion: reduce) { .sv-av, .sv-delta, .sv-to, .sv-icon svg { animation: none; } }
/* LEADERBOARD TABLE UI */
#leaderboard { padding-top: 32px; }
.lb-box { max-width: 860px; margin: 0 auto; overflow-x: auto; background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
#rk-lb th, #arc-lb th { padding: 12px 20px; }
#rk-lb td, #arc-lb td { padding: 12px 20px; }
#rk-lb th:first-child, #arc-lb th:first-child, #rk-lb td:first-child, #arc-lb td:first-child { padding-left: 24px; }
#rk-lb th:last-child, #arc-lb th:last-child, #rk-lb td:last-child, #arc-lb td:last-child { padding-right: 24px; }
.lb-box { overflow: hidden; }
#rk-lb, #arc-lb, #rk-lb thead, #arc-lb thead, #rk-lb tbody, #arc-lb tbody { display: block; width: 100%; }
#rk-lb tbody tr, #arc-lb tbody tr { display: block; }
#rk-lb thead tr, #arc-lb thead tr { display: grid; grid-template-columns: 56px minmax(0, 1fr) 150px 150px; column-gap: 14px; padding: 12px 20px; border-bottom: 1px solid var(--border); }
#rk-lb th, #arc-lb th { padding: 0; border: 0; text-align: left; }
#rk-lb th:first-child, #arc-lb th:first-child { text-align: center; padding-left: 0; padding-right: 0; }
#rk-lb th.tr, #arc-lb th.tr { text-align: right; }
#rk-lb .lb-row, #arc-lb .lb-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 150px 150px; column-gap: 14px; align-items: center; padding: 13px 20px; }
#rk-lb .lb-row td, #arc-lb .lb-row td { display: block; padding: 0; width: auto; min-width: 0; }
#rk-lb .lb-row .rank-cell, #arc-lb .lb-row .rank-cell { width: auto; text-align: center; }
#rk-lb .lb-row .pts-cell, #arc-lb .lb-row .pts-cell { text-align: right; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
#rk-lb .lb-row .act-cell, #arc-lb .lb-row .act-cell { width: auto; text-align: right; }
.cr-inner { min-width: 0; }
.cr-info { min-width: 0; flex: 1; }
.cr-nameline { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cr-name { min-width: 0; flex: 0 1 auto; }
.cr-pts { display: none; margin-top: 3px; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--fg); }
.cr-pts span { font-size: 11px; font-weight: 600; color: var(--fg3); }
.cr-handle { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yt-link { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 4px; background: rgba(255,0,0,0.15); color: #ff4d4d; border: 1px solid rgba(255,0,0,0.2); text-decoration: none; flex-shrink: 0; position: relative; z-index: 2; }
@media (max-width: 700px) { .yt-link { display: none; } }
.yt-link:hover { background: rgba(255,0,0,0.28); }
.rn { font-size: 16px; white-space: nowrap; }
/* rank box for places 4 and below: a plain, quiet box (the top three keep their medals) */
.rn { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 28px; padding: 0 5px; border-radius: 8px; background: var(--bg3); border: 1px solid var(--border2); color: var(--fg2); font-variant-numeric: tabular-nums; box-sizing: border-box; }
.rn.rn4, .rn.rn5, .rn.rn6 { padding: 0 3px; }
.rn { max-width: 100%; }
#rk-lb th, #arc-lb th { color: var(--accent2); }
#rk-lb .lb-row .av, #arc-lb .lb-row .av { box-shadow: 0 0 0 2px rgba(255,255,255,.07); }
.rn.rn3 { font-size: 14px; } .rn.rn4 { font-size: 12px; } .rn.rn5 { font-size: 10.5px; } .rn.rn6 { font-size: 9px; letter-spacing: -.02em; }
@media (max-width: 700px) {
  .lb-box { border: none; border-radius: 0; box-shadow: none; background: transparent; margin: 0 -14px; }
  #rk-lb thead tr, #arc-lb thead tr { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 10px 12px 10px 4px; column-gap: 6px; }
  #rk-lb th, #arc-lb th { font-size: 9.5px; letter-spacing: .05em; }
  #rk-lb .lb-row, #arc-lb .lb-row { grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 6px; padding: 13px 12px 13px 4px; }
  #rk-lb th.pts-h, #arc-lb th.pts-h, #rk-lb .lb-row .pts-cell, #arc-lb .lb-row .pts-cell { display: none; }
  .cr-pts { display: block; color: var(--accent2); }
  #rk-lb .av, #arc-lb .av { width: 40px; height: 40px; }
  .cr-name { font-size: calc(15px * var(--nm, 1)); white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.2; }
  #rk-lb .add-btn { padding: 8px 10px; font-size: 11px; }
}
/* new creator glow: the row lights up gold and settles */
@keyframes lbGlow { 0% { box-shadow: inset 0 0 0 2px rgba(255,215,0,0), 0 0 0 rgba(255,215,0,0); background: rgba(255,215,0,0.22); } 25% { box-shadow: inset 0 0 0 2px rgba(255,215,0,.9), 0 0 28px rgba(255,215,0,.55); background: rgba(255,215,0,0.16); } 60% { box-shadow: inset 0 0 0 2px rgba(255,215,0,.55), 0 0 18px rgba(255,215,0,.3); } 100% { box-shadow: inset 0 0 0 2px rgba(255,215,0,0), 0 0 0 rgba(255,215,0,0); background: transparent; } }
.lb-row.lb-glow { animation: lbGlow 3.4s ease-out 2; position: relative; z-index: 1; }
.cv-rank small { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); margin-right: 6px; vertical-align: middle; }

/* CELEBRATION when a creator joins */
#celebrate { position: fixed; inset: 0; z-index: 300; background: radial-gradient(circle at 50% 35%, rgba(255,184,0,.22), rgba(0,0,0,.86) 60%); display: flex; align-items: flex-start; justify-content: center; padding: 20px 16px; overflow-y: auto; animation: celFade .35s ease-out both; }
@keyframes celFade { from { opacity: 0; } to { opacity: 1; } }
#celebrate canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.cel-card { position: relative; z-index: 2; width: 100%; max-width: 420px; margin: auto; background: linear-gradient(180deg, #1b1710, #101012 55%); border: 1px solid rgba(255,215,0,.45); border-radius: 18px; padding: 30px 22px 22px; text-align: center; box-shadow: 0 0 60px rgba(255,184,0,.28), 0 20px 60px rgba(0,0,0,.6); animation: celPop .6s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes celPop { from { transform: scale(.8) translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.cel-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border2); background: rgba(255,255,255,.06); color: var(--fg); font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 3px; z-index: 3; }
.cel-x:hover { background: rgba(255,255,255,.14); }
.cel-x:focus-visible { outline: 2px solid #ffd700; outline-offset: 2px; }
.cel-av-wrap { width: 104px; height: 104px; margin: 0 auto 18px; position: relative; }
.cel-av-wrap::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(from 0deg, #ffd700, #ff7a1a, #e63329, #ffd700); animation: celSpin 4s linear infinite; filter: blur(1px); }
.cel-av-wrap::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: #101012; }
.cel-av { width: 100%; height: 100%; z-index: 2; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 34px; color: #fff; }
@keyframes celSpin { to { transform: rotate(360deg); } }
.cel-badge { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffd700; margin-bottom: 6px; }
.cel-title { font-size: 30px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; background: linear-gradient(90deg, #fff3a0, #ffb800, #ff7a1a); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.cel-sub { font-size: calc(15px * var(--nm, 1)); color: var(--fg2); line-height: 1.5; margin-bottom: 18px; overflow-wrap: anywhere; }
.cel-sub strong { color: var(--fg); }
.cel-bonus { background: rgba(255,215,0,.08); border: 1px solid rgba(255,215,0,.3); border-radius: 12px; padding: 14px 12px; margin-bottom: 12px; }
.cel-bonus-l { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffd700; }
.cel-bonus-v { font-size: 40px; font-weight: 900; font-variant-numeric: tabular-nums; color: #fff; line-height: 1.15; text-shadow: 0 0 22px rgba(255,184,0,.55); }
.cel-bonus-v small { font-size: 14px; font-weight: 700; color: var(--fg2); margin-left: 4px; text-shadow: none; }
.cel-rank { display: inline-block; font-size: 13px; font-weight: 800; color: #fff; background: var(--accent); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px; }
.cel-btn { display: block; width: 100%; border: 0; border-radius: 10px; padding: 13px 16px; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.cel-btn.primary { background: linear-gradient(90deg, #e63329, #ff7a1a); color: #fff; box-shadow: 0 6px 22px rgba(230,51,41,.45); margin-bottom: 6px; }
.cel-btn:focus-visible, .cel-link:focus-visible { outline: 2px solid #ffd700; outline-offset: 3px; }
.cel-btn.big { font-size: calc(17px * var(--nm, 1)); padding: 16px; animation: celPulse 1.8s ease-in-out infinite; }
@keyframes celPulse { 0%,100% { box-shadow: 0 6px 22px rgba(230,51,41,.45); } 50% { box-shadow: 0 6px 34px rgba(255,122,26,.8); } }
.cel-hint { font-size: 12.5px; color: var(--fg3); margin: 2px 0 12px; }
.cel-link { background: none; border: 0; color: var(--fg2); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }
.cel-share { flex-wrap: wrap; margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .cel-card, #celebrate, .cel-av-wrap::before, .lb-row.lb-glow, .cel-btn.big { animation: none; } }
/* season end tier on every profile, and a special look for ranks 1, 2 and 3 (the first is the most festive) */
.cv-tier { --tc: #9a9aa3; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 2px; min-width: 0; text-align: right; padding: 5px 9px 5px 11px; border: 1px solid color-mix(in srgb, var(--tc) 42%, transparent); border-right: 3px solid var(--tc); border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--tc) 5%, transparent), color-mix(in srgb, var(--tc) 17%, transparent)); box-shadow: 0 0 20px color-mix(in srgb, var(--tc) 14%, transparent); }
.cv-tier-l { font-size: 8px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--fg3); white-space: nowrap; }
.cv-tier-n { font-size: 12.5px; font-weight: 900; letter-spacing: -.01em; line-height: 1.15; color: var(--tc); text-shadow: 0 0 14px color-mix(in srgb, var(--tc) 40%, transparent); overflow-wrap: anywhere; }
.cv-av-wrap { position: relative; flex-shrink: 0; }
.cv-crown { display: none; position: absolute; left: 50%; top: -17px; transform: translateX(-50%) rotate(-8deg); color: #ffd700; filter: drop-shadow(0 0 6px rgba(255,215,0,.8)); z-index: 3; }
.modal[data-podium="1"] { border-color: rgba(255,215,0,.6); box-shadow: 0 0 46px rgba(255,200,0,.25); }
.modal[data-podium="1"] .cv-crown { display: block; animation: crownFloat 2.8s ease-in-out infinite; }
.modal[data-podium="1"] .cv-hero { background: linear-gradient(135deg, rgba(255,215,0,.24), rgba(255,122,26,.08) 55%, transparent); border-bottom-color: rgba(255,215,0,.35); }
.modal[data-podium="1"] .cv-av { box-shadow: 0 0 0 3px #ffd700, 0 0 26px rgba(255,215,0,.6); animation: ringGold 2.6s ease-in-out infinite; }
.modal[data-podium="1"] .cv-rank { background: linear-gradient(90deg, #fff3a0, #ffb800, #ff7a1a, #fff3a0); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: goldShine 3.2s linear infinite; }
.modal[data-podium="2"] { border-color: rgba(215,215,222,.5); box-shadow: 0 0 30px rgba(215,215,222,.14); }
.modal[data-podium="2"] .cv-hero { background: linear-gradient(135deg, rgba(215,215,222,.17), transparent 60%); border-bottom-color: rgba(215,215,222,.28); }
.modal[data-podium="2"] .cv-av { box-shadow: 0 0 0 3px #d7d7dc, 0 0 16px rgba(215,215,222,.35); }
.modal[data-podium="2"] .cv-rank { color: #e6e6ea; }
.modal[data-podium="3"] { border-color: rgba(224,151,90,.45); box-shadow: 0 0 22px rgba(224,151,90,.1); }
.modal[data-podium="3"] .cv-hero { background: linear-gradient(135deg, rgba(224,151,90,.14), transparent 60%); border-bottom-color: rgba(224,151,90,.25); }
.modal[data-podium="3"] .cv-av { box-shadow: 0 0 0 3px #e0975a, 0 0 10px rgba(224,151,90,.25); }
.modal[data-podium="3"] .cv-rank { color: #eab084; }
@keyframes crownFloat { 0%,100% { transform: translateX(-50%) translateY(0) rotate(-8deg); } 50% { transform: translateX(-50%) translateY(-3px) rotate(-5deg); } }
@keyframes ringGold { 0%,100% { box-shadow: 0 0 0 3px #ffd700, 0 0 18px rgba(255,215,0,.45); } 50% { box-shadow: 0 0 0 3px #ffe566, 0 0 34px rgba(255,215,0,.8); } }
@keyframes goldShine { to { background-position: -220% 0; } }
.lb-row.top1 { background: linear-gradient(90deg, rgba(255,215,0,.12), transparent 65%); box-shadow: inset 3px 0 0 #ffd700; }
.lb-row.top2 { background: linear-gradient(90deg, rgba(215,215,222,.09), transparent 60%); box-shadow: inset 3px 0 0 #d7d7dc; }
.lb-row.top3 { background: linear-gradient(90deg, rgba(224,151,90,.08), transparent 55%); box-shadow: inset 3px 0 0 #e0975a; }
@media (prefers-reduced-motion: reduce) { .modal[data-podium] .cv-crown, .modal[data-podium] .cv-av, .modal[data-podium] .cv-rank { animation: none; } }
button { color: inherit; }
@keyframes countPulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.count-loading { animation: countPulse 1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .count-loading { animation: none; } }
/* the welcome card is compact so it fits a phone screen */
.cel-card { max-width: 380px; padding: 22px 16px 14px; border-radius: 16px; }
.cel-x { top: 8px; right: 8px; width: 38px; height: 38px; font-size: 23px; }
.cel-av-wrap { width: 76px; height: 76px; margin-bottom: 14px; }
.cel-av-wrap::before { inset: -7px; }
.cel-av { font-size: 26px; }
.cel-badge { font-size: 10px; margin-bottom: 4px; }
.cel-title { font-size: 24px; margin-bottom: 6px; }
.cel-sub { font-size: calc(13.5px * var(--nm, 1)); line-height: 1.45; margin-bottom: 12px; }
.cel-bonus { padding: 9px 10px; margin-bottom: 10px; border-radius: 10px; }
.cel-bonus-l { font-size: 9.5px; }
.cel-bonus-v { font-size: 30px; line-height: 1.1; }
.cel-bonus-v small { font-size: 12px; }
.cel-rank { font-size: 12px; padding: 5px 12px; margin-bottom: 12px; }
.cel-btn.big { font-size: calc(16px * var(--nm, 1)); padding: 13px 12px; }
.cel-btn.primary { margin-bottom: 4px; }
.cel-hint { font-size: 12px; margin: 0 0 6px; }
.cel-link { font-size: 12.5px; padding: 6px; }
.cel-share { margin-top: 6px; gap: 6px; }
@media (max-height: 700px) { .cel-hint { display: none; } .cel-av-wrap { width: 64px; height: 64px; margin-bottom: 12px; } .cel-sub { margin-bottom: 8px; } }
.lm-wrap { text-align: center; margin: 16px 0 4px; }
.pg-wrap { max-width: 860px; margin: 18px auto 0; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity .15s; }
.pg-wrap.busy { opacity: .55; pointer-events: none; }
.pg { display: flex; align-items: center; justify-content: center; gap: 2px; max-width: 100%; }
.pg-b { min-width: 44px; height: 44px; padding: 0 6px; border: 0; border-radius: 50%; background: transparent; color: var(--fg2); font: inherit; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .12s, color .12s, transform .12s; }
.pg-b:hover { color: var(--fg); background: var(--bg3); }
.pg-b:active { transform: scale(.94); }
.pg-b:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.pg-b.on { background: var(--accent); color: #fff; cursor: default; box-shadow: 0 4px 14px rgba(230,51,41,.35); }
.pg-arrow { color: var(--accent2); }
.pg-arrow:disabled { opacity: .3; cursor: default; background: transparent; }
.pg-dots { min-width: 28px; text-align: center; color: var(--fg3); font-weight: 700; }
.pg-info { font-size: 13.5px; color: var(--fg3); font-variant-numeric: tabular-nums; }
.pg-go { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg3); }
.pg-go input { width: 84px; height: 36px; padding: 0 10px; border: 1px solid var(--border2, var(--border)); border-radius: 8px; background: var(--bg3); color: var(--fg); font: inherit; font-size: 16px; text-align: center; }
.pg-go input:focus { outline: 2px solid var(--accent2); outline-offset: 1px; }
.pg-gob { height: 36px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--bg3); border: 1px solid var(--border); color: var(--fg); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.pg-gob:hover { border-color: var(--accent2); color: var(--accent2); }
@media (max-width: 420px) { .pg-b { min-width: 38px; height: 40px; font-size: 14px; } .pg-dots { min-width: 20px; } }
.lm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; min-height: 40px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; color: #fff; background: linear-gradient(135deg, #f0463a, #d62b20); box-shadow: 0 4px 14px rgba(230,51,41,.35); transition: transform .12s, filter .12s, box-shadow .12s; }
.lm-btn:hover { filter: brightness(1.08); box-shadow: 0 6px 18px rgba(230,51,41,.45); }
.lm-btn:active { transform: scale(.97); }
.lm-btn:disabled { opacity: .7; cursor: progress; }
.lm-main { font-size: 14px; font-weight: 800; letter-spacing: .01em; }
.lb-loading { text-align: center; padding: 38px 20px; color: var(--fg2); }
.lb-loading-t { font-size: 14px; font-weight: 700; color: var(--fg); margin-top: 12px; }
.lb-loading-s { font-size: 12.5px; line-height: 1.5; margin-top: 6px; min-height: 18px; }
.lb-spin { width: 26px; height: 26px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--border2); border-top-color: var(--accent2); animation: lbSpin .8s linear infinite; }
@keyframes lbSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lb-spin { animation-duration: 2.4s; } }
.lb-error { padding: 28px 20px; text-align: center; }
.lb-error-t { font-weight: 800; font-size: 16px; color: var(--fg); margin-bottom: 6px; }
.lb-error-s { font-size: 13px; line-height: 1.55; color: var(--fg2); max-width: 420px; margin: 0 auto 14px; }
.lb-retry { background: linear-gradient(90deg, #e63329, #ff7a1a); color: #fff; border: 0; border-radius: 10px; padding: 11px 22px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.lb-retry:disabled { opacity: .7; }
.lb-retry.sm { padding: 6px 14px; font-size: 12px; border-radius: 8px; margin-left: 8px; }
.lb-notice { max-width: 860px; margin: 0 auto 10px; padding: 9px 14px; border-radius: 10px; background: rgba(255,184,0,.1); border: 1px solid rgba(255,184,0,.35); color: #ffe27a; font-size: 13px; text-align: center; }
html { scroll-padding-top: 72px; }
/* Wide content is clipped inside each page and the footer, never on html or body: on iPhone a clip on the whole document is applied to the
   browser's own scroll area, and Chrome on iPhone then left the top of the page stuck under its top bar after scrolling (November 2026). */
.page, .footer { max-width: 100%; overflow-x: clip; }
/* iPhone Safari zooms the whole page when a text box under 16px gets focus. 16px stops that. */
@media (max-width: 900px) { input, textarea, select, .search-input { font-size: 16px !important; } }

/* ===== Craft layer (November 2026): broadcast scoreboard typography and one motion system for every page =====
   Rules: the condensed face only at large sizes (headlines and big numbers), Inter for everything small;
   motion only moves or fades (transform, opacity), 120 to 300ms, ease out; nothing moves for people who ask for reduced motion. */
:root {
  --display: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);        /* strong ease out for everything that enters or responds */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);    /* things that move across the screen */
  --t-fast: 120ms; --t-base: 200ms; --t-slow: 300ms;
}
/* headlines: tight, confident, like a broadcast graphic */
.hero-title, .rk-hero-title, .tiers-hero-title, .hiw-page-title, .cta-title, .no-login-title,
.xl-hero h1, .yc-hero h1, .xl-sec h2, .yc-sec h2, .hfaq h2, .ar-hero h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.005em; line-height: 1.02;
}
.hero-title { font-size: clamp(38px, 6.6vw, 64px); }
.xl-hero h1 { font-size: clamp(36px, 5.6vw, 56px); }
.yc-hero h1 { font-size: clamp(34px, 5.2vw, 52px); }
.xl-sec h2, .yc-sec h2 { font-size: clamp(27px, 3.8vw, 36px); line-height: 1.08; }
.tiers-hero-title { font-size: clamp(32px, 6vw, 58px); }
.hiw-page-title, .rk-hero-title { font-size: clamp(30px, 5.4vw, 50px); }
/* big numbers: even width digits so ranks and points never jump while they count */
.cv-rank, .cv-pts-val, .cv-prox-big span, .rk-stat-n, .cd-num, #cd-d, #cd-h, #cd-m, #cd-s, .xm-badge b {
  font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.cv-rank { font-size: 48px; }
#overlay .cv-rank { font-size: 44px; }
.cd-num { font-size: clamp(36px, 8vw, 60px); }
.rn, .cr-pts, .pts-cell, [data-count] { font-variant-numeric: tabular-nums; }

/* one type rule for the whole site: every heading and every big number uses the scoreboard face, everything small uses Inter */
.section-title { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: 0; line-height: 1.05; }
.big-h { font-family: var(--display) !important; font-weight: 800 !important; letter-spacing: 0 !important; line-height: 1.04; font-size: clamp(28px, 4.4vw, 40px) !important; }
.dsp-title { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0; line-height: 1.1; }
.dsp-num, #visits-stat, div[data-count], .hiw-n { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.dsp-num { font-size: 24px; line-height: 1; }
#visits-stat, div[data-count] { font-size: 34px !important; line-height: 1; }
.hiw-n { font-size: 34px; }
@media (max-width: 600px) {
  .section-title { font-size: 28px; }
  #visits-stat, div[data-count] { font-size: 30px !important; }
}
/* leaderboard points: the same scoreboard digits as every other number (the word "points" stays Inter) */
#rk-lb .lb-row .pts-cell, #arc-lb .lb-row .pts-cell { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0; }
.cr-pts { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: 0; }
.cr-pts span { font-family: 'Inter', system-ui, sans-serif; letter-spacing: 0; }
/* round things are drawn on their own layer, so iPhone keeps them perfectly round at half pixel positions */
.modal-x, .xm-go, .hiw-n, .rk-live-dot, #tiers-grid [style*="border-radius:50%"] { transform: translateZ(0); backface-visibility: hidden; }
/* phones: every tap is at least 40 to 44px */
.ap-back { width: 40px; height: 40px; border-radius: 8px; }
#sh-yt2 { position: relative; }
#sh-yt2::after { content: ''; position: absolute; inset: -11px; }
@media (max-width: 700px) {
  .nav-search-btn { min-height: 44px; min-width: 44px; justify-content: center; }
  .nav-hamburger { width: 44px; height: 44px; padding: 10px; }
  .search-btn { min-height: 40px; padding: 10px 16px; }
  #overlay .modal-x { width: 40px; height: 40px; top: 8px; right: 8px; font-size: 19px; }
  .cv-sup-b { padding: 9px 0; }
}
/* the creator box and its dim background come in, instead of appearing all at once (exit stays instant: faster than the entrance) */
.overlay.open { animation: ovIn 200ms var(--ease-out) both; }
.overlay.open .modal { animation: mdIn 260ms var(--ease-out) both; }
@keyframes ovIn { from { background-color: rgba(0,0,0,0); } }
@keyframes mdIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }
/* hover lifts only with a mouse: on phones a tap would leave them stuck lifted */
@media (hover: none) {
  .ar-card:hover, .xl-inst:hover, .xm-card:hover { transform: none; }
  .footer-ext:hover span, .xl-inst:hover .xl-arr, .xm-link:hover .xm-go { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .overlay.open, .overlay.open .modal { animation: none; }
}
/* one motion system: the same curve and timing for every hover and press */
a, button, .ap-opt, .xl-inst, .lb-row td { transition-timing-function: var(--ease-out); }
.add-btn, .search-btn, .cv-add-btn, .rk-ftab, .search-hint-btn, .sb, .lb-retry, .nav-search-btn, .ap-opt, .ap-pay-btn,
.xl-cta, .yc-link, .footer-link, .view-all, .hfaq-item summary {
  transition: background-color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), transform var(--t-fast) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
/* press: a quick, physical push on tap or click */
.add-btn:active, .search-btn:active, .cv-add-btn:active, .rk-ftab:active, .search-hint-btn:active, .sb:active,
.lb-retry:active, .nav-search-btn:active, .ap-opt:active, .xl-cta:active { transform: scale(.97); }
/* leaderboard rows: on a computer, a thin red bar slides in at the row edge, like a broadcast ranking */
@media (hover: hover) and (pointer: fine) {
  .lb-row { transition: box-shadow var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out); }
  .lb-row:not(.top1):not(.top2):not(.top3):hover { box-shadow: inset 3px 0 0 var(--accent); }
  .xl-link, .yc-link { text-decoration-thickness: 1px; transition: text-decoration-thickness var(--t-fast) var(--ease-out), color var(--t-base) var(--ease-out); }
  .xl-link:hover, .yc-link:hover { text-decoration-thickness: 2px; }
}
/* sections further down the page rise in once as they come into view (the text is always in the page) */
.rv { opacity: 0; transform: translateY(12px); }
.rv-in { opacity: 1; transform: none; transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
/* moving between pages: the new page fades in (the switch itself is instant, so nothing waits for it) */
.page.pg-in { animation: pgIn 220ms var(--ease-out) both; }
@keyframes pgIn { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .rv-in { transition: none; }
  .page.pg-in { animation: none; }
  .add-btn:active, .search-btn:active, .cv-add-btn:active, .rk-ftab:active, .search-hint-btn:active, .sb:active,
  .lb-retry:active, .nav-search-btn:active, .ap-opt:active, .xl-cta:active { transform: none; }
}
/* audit: Articles header matches the other page headers */
.ar-hero { padding: 52px 0 36px; }
.ar-hero h1 { font-size: clamp(24px, 4.5vw, 42px); letter-spacing: -0.03em; }
.ar-hero p { font-size: 15px; max-width: 620px; }
@media (max-width: 700px) { .ar-hero { padding: 24px 0 20px; } }

/* audit: leaderboard tabs in one row on computers */
@media (min-width: 701px) {
  #rk-cats { flex-wrap: nowrap; justify-content: center; }
  #rk-cats .rk-ftab { white-space: nowrap; padding: 7px 12px; }
}
/* audit: seven races as 4 then 3, never a lone card */
.race-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.race-grid > :last-child { grid-column: span 2; }
@media (max-width: 900px) { .race-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .race-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .race-grid { grid-template-columns: 1fr; } }


/* FOOTER on computers and tablets: an open headline with the buttons beside it, a live season strip, calm link columns, the wordmark as the last thing on the page. Phones keep their own footer. */
.footer { background: var(--bg); }
.fc-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-align: left; }
.fb-cell { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px; min-width: 0; }
.fb-cell + .fb-cell { border-left: 1px solid var(--border); }
.fb-l { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg3); }
.fb-n { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.fb-n small { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; color: var(--fg3); }
.footer-mark { display: block; margin-top: 18px; font-family: var(--display); font-weight: 800; font-size: clamp(64px, 16.6vw, 214px); line-height: .76; letter-spacing: -.005em;
  text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.01) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 769px) {
  .footer { background: var(--bg); padding: 76px 40px 0; }
  .footer-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 48px; padding: 0 0 44px; margin-bottom: 56px;
    background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .fc-copy { flex: none; }
  .fc-kick { margin-bottom: 14px; }
  .fc-title { font-size: clamp(42px, 5vw, 66px); line-height: .94; margin-bottom: 14px; }
  .fc-sub { font-size: 15px; }
  .fc-board { grid-column: 1 / -1; }
  .footer-tag { font-size: 14px; max-width: 320px; margin: 16px 0 18px; }
  .footer-bot { padding: 22px 0; border-top: 1px solid var(--border); }
}
@media (max-width: 768px) {
  .footer-cta { background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 6px 0 28px; margin-bottom: 28px; }
  .fc-title { font-size: 34px; line-height: .98; }
  .fc-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-cell { padding: 14px 16px; gap: 6px; }
  .fb-cell:nth-child(3) { border-left: 0; }
  .fb-cell:nth-child(n+3) { border-top: 1px solid var(--border); }
  .fb-l { font-size: 10px; }
  .fb-n { font-size: 26px; gap: 6px; }
  .fb-n small { font-size: 11px; }
  .footer-bot { border-top: 1px solid var(--border); padding-top: 18px; }
  .footer-top { border-bottom: 0; }
  .footer { padding-bottom: 0; }
  .footer-mark { margin-top: 22px; font-size: 17.6vw; line-height: .9; padding-bottom: 14px; }
}
@media (min-width: 901px) {
}
@media (min-width: 769px) and (max-width: 900px) {
  .fc-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-cell:nth-child(3) { border-left: 0; }
  .fb-cell:nth-child(n+3) { border-top: 1px solid var(--border); }
  .footer-top { padding-bottom: 40px; border-bottom: 0; margin-bottom: 0; }
}

/* FOOTER links on computers and tablets use the phone style: each group in its own card, the links as rounded buttons */
@media (min-width: 769px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; margin-bottom: 0; padding-bottom: 40px; border-bottom: 0; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-brand .footer-tag { margin: 12px 0 14px; max-width: 460px; }
  .footer-nav { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .footer-col { background: var(--bg3); border: 1px solid var(--border); border-radius: 14px; padding: 18px 16px; text-align: center; }
  .footer-col h2 { font-size: 10px; color: var(--fg3); margin-bottom: 14px; text-align: center; }
  .footer-links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .footer-link { font-size: 13.5px; min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--bg2);
    border: 1px solid var(--border); color: var(--fg); white-space: nowrap; width: auto;
    transition: background-color var(--t-base, .2s) var(--ease-out, ease), border-color var(--t-base, .2s) var(--ease-out, ease), color var(--t-base, .2s) var(--ease-out, ease); }
  .footer-link:hover { background: var(--bg4); border-color: var(--border2); color: var(--fg); }
  .footer-legal { gap: 8px; justify-content: center; }
  .footer-bot { flex-direction: column-reverse; align-items: center; text-align: center; gap: 12px; }
  .footer-legal .footer-link { min-height: 36px; padding: 0 14px; font-size: 12px; color: var(--fg2); }
}

/* TROPHY BUTTON: the trophy never moves or changes size; every few seconds the label slides out from behind it and back
   (clip and opacity only, so nothing on the page shifts), on phones and computers alike */
.lb-fab, .lb-fab:hover { width: 52px; padding: 0; justify-content: center; }
.lb-fab svg { position: relative; z-index: 1; animation: fabIcon 9s var(--ease-out, ease-out) infinite; transform-origin: 50% 85%; }
.lb-fab .lb-fab-label, .lb-fab-label {
  display: flex; align-items: center; position: absolute; right: -1px; top: -1px; bottom: -1px; z-index: 0;
  max-width: none; margin: 0; padding: 0 60px 0 20px; border-radius: 999px; border: 1px solid rgba(255,215,0,0.55);
  background: linear-gradient(135deg, #e63329 0%, #ff7a1a 55%, #ffd700 100%); box-shadow: 0 6px 20px rgba(230,51,41,.45);
  font: 800 13px/1 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .02em; color: #fff; white-space: nowrap;
  clip-path: inset(0 0 0 calc(100% - 52px) round 999px); opacity: 0;
  animation: fabSlide 9s var(--ease-out, ease-out) infinite;
}
@keyframes fabSlide {
  0%, 14%  { clip-path: inset(0 0 0 calc(100% - 52px) round 999px); opacity: 0; }
  20%, 60% { clip-path: inset(0 0 0 0 round 999px); opacity: 1; }
  68%, 100% { clip-path: inset(0 0 0 calc(100% - 52px) round 999px); opacity: 0; }
}
@keyframes fabIcon {
  0%, 13%, 22%, 100% { transform: rotate(0); }
  16% { transform: rotate(-12deg); }
  19% { transform: rotate(9deg); }
}
@media (hover: hover) and (pointer: fine) { .lb-fab:hover .lb-fab-label { animation: none; clip-path: inset(0 0 0 0 round 999px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .lb-fab svg, .lb-fab .lb-fab-label { animation: none; }
  .lb-fab .lb-fab-label { clip-path: inset(0 0 0 calc(100% - 52px) round 999px); opacity: 0; }
}

/* HOW IT WORKS steps (home): the same red numbered circle on phones and computers, with a smaller number */
.hiw-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 8px; align-items: start; align-content: start; }
.hiw-n { grid-row: 1; grid-column: 1; width: 42px; height: 42px; margin: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1; color: var(--accent2); background: var(--accent-dim); border: 1.5px solid rgba(230,51,41,.55); box-shadow: 0 0 16px rgba(230,51,41,.18); }
.hiw-t { grid-row: 1; grid-column: 2; align-self: center; margin: 0; font-size: 15px; }
.hiw-d { grid-row: 2; grid-column: 2; font-size: 12.5px; }
@media (max-width: 640px) { .hiw-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
