/* Suicaptor 2026 shell: one palette for light and dark, a floating glass header, and the official channels. */
:root {
  --v2-bg: #f6f5fb;
  --v2-bg-2: #ffffff;
  --v2-elev: #ffffff;
  --v2-elev-2: #f1effa;
  --v2-glass: rgba(255, 255, 255, .95);
  --v2-line: rgba(28, 24, 70, .09);
  --v2-line-2: rgba(28, 24, 70, .16);
  --v2-text: #15172f;
  --v2-soft: #41456a;
  --v2-muted: #60658a;
  --v2-pink: #c0266f;
  --v2-peach: #ea7340;
  --v2-gold: #8a5d00;
  --v2-violet: #6a59e3;
  --v2-cyan: #0b6f8c;
  --v2-mint: #0f9a72;
  --v2-grad: linear-gradient(95deg, #c2185b 0%, #c2410c 46%, #5b46d6 100%);
  --v2-grad-glow: linear-gradient(120deg, rgba(226, 61, 139, .16), rgba(240, 117, 62, .12) 45%, rgba(106, 89, 227, .16));
  --v2-shadow: 0 1px 2px rgba(22, 20, 60, .05), 0 14px 40px -16px rgba(44, 32, 110, .22);
  --v2-shadow-lg: 0 2px 4px rgba(22, 20, 60, .04), 0 30px 70px -28px rgba(44, 32, 110, .36);
  --v2-card-shadow: 0 18px 44px -16px rgba(46, 26, 104, .42);
  --v2-btn-bg: #15172f;
  --v2-btn-text: #ffffff;
  --v2-btn-hover: #2a2d52;
  --v2-icon-cut: #ffffff;
  --v2-grid: rgba(40, 34, 110, .055);
  --v2-radius: 24px;
  --v2-display: "Suicaptor Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --v2-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --v2-ease: cubic-bezier(.2, .8, .2, 1);
  --v2-spring: cubic-bezier(.16, 1.2, .3, 1);
}

:root[data-theme="dark"] {
  --v2-bg: #090b16;
  --v2-bg-2: #0e1022;
  --v2-elev: #12152b;
  --v2-elev-2: #191d38;
  --v2-glass: rgba(15, 17, 36, .9);
  --v2-line: rgba(255, 255, 255, .075);
  --v2-line-2: rgba(255, 255, 255, .14);
  --v2-text: #f3f3fb;
  --v2-soft: #cfd1e6;
  --v2-muted: #9a9dbc;
  --v2-pink: #ff8cc8;
  --v2-peach: #ffb48a;
  --v2-gold: #f5d48b;
  --v2-violet: #b7a7ff;
  --v2-cyan: #6fe0f5;
  --v2-mint: #7ff0c4;
  --v2-grad: linear-gradient(95deg, #ff8cc8 0%, #ffbf91 46%, #b7a7ff 100%);
  --v2-grad-glow: linear-gradient(120deg, rgba(255, 140, 200, .14), rgba(255, 180, 138, .08) 45%, rgba(183, 167, 255, .14));
  --v2-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 50px -22px rgba(0, 0, 0, .7);
  --v2-shadow-lg: inset 0 1px 0 rgba(255, 255, 255, .05), 0 40px 90px -40px rgba(0, 0, 0, .85);
  --v2-card-shadow: 0 22px 54px -18px rgba(0, 0, 0, .8);
  --v2-btn-bg: #ffffff;
  --v2-btn-text: #12142a;
  --v2-btn-hover: #e9e7ff;
  --v2-icon-cut: #12152b;
  --v2-grid: rgba(255, 255, 255, .035);
}

/* Floating glass header. */
:root .site-header {
  inset: 12px 12px auto;
  max-width: 1320px;
  height: 62px;
  margin-inline: auto;
  padding: 0 10px 0 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 14px;
  border: 1px solid var(--v2-line);
  border-radius: 20px;
  color: var(--v2-text);
  background: var(--v2-glass);
  box-shadow: var(--v2-shadow);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
}
:root[data-theme="dark"] .site-header { border-color: var(--v2-line); background: var(--v2-glass); box-shadow: var(--v2-shadow); }
:root .site-header::after { content: none; }
:root .brand { gap: 9px; }
:root .brand-word, :root[data-theme="dark"] .brand-word {
  color: var(--v2-text);
  font-family: var(--v2-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: none;
}
:root .site-header .brand-suffix { display: none; }
:root .brand-mark.brand-mascot, :root[data-theme="dark"] .brand-mark.brand-mascot {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 0;
  border-radius: 12px;
  background: var(--v2-grad);
  box-shadow: 0 6px 18px -8px rgba(220, 58, 134, .7);
}
:root .nav { justify-self: center; gap: 2px; height: auto; }
:root .nav a, :root[data-theme="dark"] .nav a {
  padding: 9px 10px;
  border-radius: 11px;
  color: var(--v2-muted);
  font-family: var(--v2-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  transition: color .18s ease, background-color .18s ease;
}
@media (min-width: 1281px) {
  :root .site-header[data-player-accounts] .nav a {
    padding-inline: clamp(4px, calc(3vw - 34.4px), 7px);
    font-size: clamp(12px, calc(4vw - 39.2px), 13.5px);
    white-space: nowrap;
  }
}
:root .nav a:hover, :root[data-theme="dark"] .nav a:hover { color: var(--v2-text); background: var(--v2-elev-2); }
:root .nav a.is-active, :root[data-theme="dark"] .nav a.is-active { color: var(--v2-text); background: var(--v2-elev-2); }
:root .nav a.is-active::before, :root[data-theme="dark"] .nav a.is-active::before { content: none; }
:root .header-actions { gap: 6px; }
:root :is(.theme-toggle, .music-toggle), :root[data-theme="dark"] :is(.theme-toggle, .music-toggle) {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--v2-soft);
  background: transparent;
}
:root :is(.theme-toggle, .music-toggle):hover, :root[data-theme="dark"] :is(.theme-toggle, .music-toggle):hover { color: var(--v2-text); border-color: var(--v2-line); background: var(--v2-elev-2); }
:root .social-links { gap: 2px; padding: 0 4px; border-inline: 1px solid var(--v2-line); }
:root .social-link, :root[data-theme="dark"] .social-link {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: 12px;
  color: var(--v2-muted);
  background: transparent;
  transition: color .18s ease, background-color .18s ease, transform .18s var(--v2-ease);
}
:root .social-link:hover, :root[data-theme="dark"] .social-link:hover { transform: translateY(-1px); background: var(--v2-elev-2); }
:root .social-link-youtube:hover, :root[data-theme="dark"] .social-link-youtube:hover { color: #ff2b3b; }
:root .social-link-instagram:hover, :root[data-theme="dark"] .social-link-instagram:hover { color: #e1306c; }
:root .social-link-facebook:hover, :root[data-theme="dark"] .social-link-facebook:hover { color: #1877f2; }
:root .header-cta, :root[data-theme="dark"] .header-cta {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--v2-line-2);
  border-radius: 12px;
  color: var(--v2-text);
  background: transparent;
  box-shadow: none;
  font-family: var(--v2-body);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}
:root .header-cta:hover, :root[data-theme="dark"] .header-cta:hover { transform: none; border-color: var(--v2-line-2); background: var(--v2-elev-2); }
:root .header-cta:not(.header-cta-secondary), :root[data-theme="dark"] .header-cta:not(.header-cta-secondary) { border-color: transparent; color: var(--v2-btn-text); background: var(--v2-btn-bg); }
:root .header-cta:not(.header-cta-secondary):hover, :root[data-theme="dark"] .header-cta:not(.header-cta-secondary):hover { background: var(--v2-btn-hover); }
:root .header-cta-arrow { opacity: .55; }
:root .nav-toggle, :root[data-theme="dark"] .nav-toggle { width: 44px; height: 44px; border-color: var(--v2-line); border-radius: 12px; background: transparent; }
:root .nav-toggle span, :root[data-theme="dark"] .nav-toggle span { background: var(--v2-text); }
:root .mobile-nav, :root[data-theme="dark"] .mobile-nav {
  top: calc(100% + 8px);
  border: 1px solid var(--v2-line);
  border-radius: 18px;
  background: var(--v2-elev);
  box-shadow: var(--v2-shadow-lg);
}
:root .mobile-nav a, :root[data-theme="dark"] .mobile-nav a { color: var(--v2-soft); font-family: var(--v2-body); font-size: 15px; font-weight: 600; }
:root :is(.mobile-nav a:hover, .mobile-nav a.is-active), :root[data-theme="dark"] :is(.mobile-nav a:hover, .mobile-nav a.is-active) { color: var(--v2-text); background: var(--v2-elev-2); }
:root .mobile-nav .mobile-invite, :root[data-theme="dark"] .mobile-nav .mobile-invite { color: var(--v2-text); border-color: var(--v2-line-2); background: transparent; }
:root .mobile-nav .mobile-invite:not(.mobile-invite-secondary), :root[data-theme="dark"] .mobile-nav .mobile-invite:not(.mobile-invite-secondary) { color: var(--v2-btn-text); border-color: transparent; background: var(--v2-btn-bg); }
:root .mobile-nav .mobile-social-link { display: flex; align-items: center; gap: 10px; min-height: 44px; }
:root .mobile-social-handle { margin-left: auto; color: var(--v2-muted); font-size: 13px; font-weight: 500; }

@media (max-width: 1280px) {
  :root .site-header { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 900px) {
  :root .header-actions > .social-links { display: none; }
  :root .mobile-nav .mobile-social-link { display: flex; }
}
@media (min-width: 621px) and (max-width: 800px) {
  :root { --header: 74px; }
}
@media (max-width: 620px) {
  :root .site-header { inset: 8px 8px auto; height: 58px; border-radius: 18px; }
  :root .header-cta-secondary { display: none; }
  :root .header-cta { padding: 0 12px; }
  :root .header-cta-arrow { display: none; }
}
@media (max-width: 380px) {
  :root .header-cta { display: none; }
}

/* Footer: a calm panel with the vote reward and official channels. */
:root .site-footer, :root[data-theme="dark"] .site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--v2-line);
  color: var(--v2-text);
  background: var(--v2-bg-2);
}
:root :is(.site-footer .brand-word, .footer-links a, .footer-meta), :root[data-theme="dark"] :is(.site-footer .brand-word, .footer-links a, .footer-meta) { color: var(--v2-soft); }
:root .footer-links a:hover, :root[data-theme="dark"] .footer-links a:hover { color: var(--v2-text); }
:root .footer-links a, :root[data-theme="dark"] .footer-links a { font-family: var(--v2-body); font-size: 13px; font-weight: 600; }
/* Wrapped rows sit 44px apart, so each link's 44px tap layer (see "Comfortable tap targets") has its own row. */
:root .footer-links { row-gap: 28px; }
:root .footer-signoff, :root[data-theme="dark"] .footer-signoff { color: var(--v2-muted); }
:root .footer-inner { flex-wrap: wrap; gap: 22px 40px; padding: 26px 0 104px; }
:root .footer-socials { display: flex; gap: 6px; }
:root .footer-social {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--v2-line);
  border-radius: 12px;
  color: var(--v2-soft);
  background: var(--v2-elev);
  transition: color .18s ease, transform .18s var(--v2-ease), border-color .18s ease;
}
:root .footer-social:hover { transform: translateY(-2px); border-color: var(--v2-line-2); }
:root .footer-social-youtube:hover { color: #ff2b3b; }
:root .footer-social-instagram:hover { color: #e1306c; }
:root .footer-social-facebook:hover { color: #1877f2; }
:root .footer-topgg, :root[data-theme="dark"] .footer-topgg {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  color: var(--v2-text);
  background: var(--v2-grad-glow), var(--v2-elev);
  box-shadow: var(--v2-shadow);
  transform: translateY(-28px);
}
:root .footer-topgg-title, :root[data-theme="dark"] .footer-topgg-title { color: var(--v2-text); font-family: var(--v2-display); letter-spacing: -.01em; }
:root .footer-topgg-note, :root[data-theme="dark"] .footer-topgg-note { color: var(--v2-soft); }
:root .footer-topgg-note strong, :root[data-theme="dark"] .footer-topgg-note strong { color: var(--v2-pink); }
:root .footer-topgg-link, :root[data-theme="dark"] .footer-topgg-link { border-color: transparent; color: var(--v2-btn-text); background: var(--v2-btn-bg); }
:root .footer-topgg-link:hover, :root[data-theme="dark"] .footer-topgg-link:hover { background: var(--v2-btn-hover); }
/* When top.gg cannot be reached, the vote button keeps just its label instead of an empty counter slot.
   The failed counter leaves the layout like .sr-only, so its alt text stays for assistive technology. */
:root .footer-topgg-counter:has(> img[data-load-failed]) {
  position: absolute;
  width: 1px;
  min-width: 0;
  height: 1px;
  min-height: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ==========================================================================
   Site-wide v2 system: every page shares the home palette, canvas and motion.
   ========================================================================== */

/* Older page tokens follow the v2 palette in both themes. */
:root, :root[data-theme="dark"] {
  --night: var(--v2-bg);
  --night-deep: var(--v2-bg);
  --night-raised: var(--v2-elev-2);
  --panel: var(--v2-elev);
  --panel-solid: var(--v2-elev);
  --panel-light: var(--v2-elev-2);
  --ink: var(--v2-text);
  --ice: var(--v2-text);
  --muted: var(--v2-muted);
  --muted-bright: var(--v2-soft);
  --cyan: var(--v2-violet);
  --cyan-deep: var(--v2-violet);
  --pink: var(--v2-pink);
  --pink-hot: var(--v2-pink);
  --violet: var(--v2-violet);
  --line: var(--v2-line);
  --line-bright: var(--v2-line-2);
  --serif: var(--v2-display);
  --sans: var(--v2-body);
  --theme-bg: var(--v2-bg);
  --theme-surface: var(--v2-elev);
  --theme-surface-raised: var(--v2-elev-2);
  --theme-text: var(--v2-text);
  --theme-muted: var(--v2-muted);
  --theme-border: var(--v2-line-2);
  --theme-cyan: var(--v2-violet);
  --theme-pink: var(--v2-pink);
  --theme-lavender: var(--v2-violet);
  /* Motion vocabulary shared by every page. */
  --v2-ease-out: cubic-bezier(.16, 1, .3, 1);
  --v2-ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --v2-dur-fast: .18s;
  --v2-dur: .32s;
  --v2-dur-slow: .7s;
  --v2-radius-sm: 14px;
  --v2-radius-md: 18px;
  --v2-radius-lg: 28px;
  --v2-spot: rgba(106, 89, 227, .12);
}
:root[data-theme="dark"] { --v2-spot: rgba(183, 167, 255, .14); }

/* One canvas: the home background, grid and auras sit behind every page. */
:root body, :root[data-theme="dark"] body {
  color: var(--v2-text);
  background: var(--v2-bg);
  font-family: var(--v2-body);
}
:root body::before, :root[data-theme="dark"] body::before { content: none; }
:root #main-content { position: relative; z-index: 1; }
:root .site-footer { position: relative; z-index: 1; }
body:not(.home-v2) .v2-aura { opacity: .38; }
:root[data-theme="dark"] body:not(.home-v2) .v2-aura { opacity: .24; }
:where(#main-content) :where(h1, h2, h3) { font-family: var(--v2-display); letter-spacing: -.03em; text-wrap: balance; }
:root ::selection { color: #fff; background: var(--v2-violet); }
:root[data-theme="dark"] ::selection { color: #12142a; background: var(--v2-violet); }
:root :is(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--v2-violet); outline-offset: 3px; }
:root .skip-link { color: var(--v2-btn-text); background: var(--v2-btn-bg); }
/* Ambient backdrop: faint grid and slow auroras. */
.v2-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--v2-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--v2-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 75%);
}
.v2-aura { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .5; animation: v2-drift 26s ease-in-out infinite alternate; }
.v2-aura-a { top: -18vmax; left: -12vmax; background: radial-gradient(circle, rgba(255, 120, 190, .55), transparent 65%); }
.v2-aura-b { top: 6vmax; right: -16vmax; background: radial-gradient(circle, rgba(120, 200, 255, .45), transparent 65%); animation-duration: 32s; animation-delay: -8s; }
.v2-aura-c { top: 34vmax; left: 30vmax; background: radial-gradient(circle, rgba(170, 150, 255, .4), transparent 65%); animation-duration: 38s; animation-delay: -14s; }
:root[data-theme="dark"] .v2-aura { opacity: .32; }
@keyframes v2-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vmax, 3vmax, 0) scale(1.12); }
}

/* Shared pieces. */
.v2-gradient-text {
  color: transparent;
  background: var(--v2-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: v2-gradient 7s ease-in-out infinite alternate;
}
@keyframes v2-gradient { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.v2-pill, .v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--v2-line);
  border-radius: 999px;
  color: var(--v2-soft);
  background: var(--v2-glass);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.v2-pill > span:first-child, .v2-eyebrow::before { color: var(--v2-pink); }
.v2-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.v2-eyebrow { color: var(--v2-violet); }
.v2-eyebrow-pink { color: var(--v2-pink); }
.v2-eyebrow-violet { color: var(--v2-violet); }
.v2-eyebrow-gold { color: var(--v2-gold); }
.v2-eyebrow-cyan { color: var(--v2-cyan); }
.v2-eyebrow::before { background: currentColor; }

.v2-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.v2-actions-center { justify-content: center; }
.v2-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.005em;
  overflow: hidden;
  transition: transform .2s var(--v2-ease), box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.v2-button:hover { transform: translateY(-2px); }
.v2-button:active { transform: translateY(0) scale(.98); }
.v2-button-primary { color: var(--v2-btn-text); background: var(--v2-btn-bg); box-shadow: 0 14px 34px -14px rgba(106, 89, 227, .7); }
.v2-button-primary:hover { background: var(--v2-btn-hover); box-shadow: 0 18px 40px -14px rgba(220, 58, 134, .7); }
.v2-button-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: v2-sheen 4.8s ease-in-out infinite 1.2s;
}
:root[data-theme="dark"] .v2-button-primary::after { background: linear-gradient(110deg, transparent 30%, rgba(183, 167, 255, .45) 48%, transparent 66%); }
@keyframes v2-sheen { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
.v2-button-ghost { color: var(--v2-text); border-color: var(--v2-line-2); background: var(--v2-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.v2-button-ghost:hover { border-color: var(--v2-violet); }
.v2-button-gold { min-height: 46px; color: #2a1a00; background: linear-gradient(135deg, #ffe7a8, #f3c160 60%, #e7a83a); box-shadow: 0 12px 28px -14px rgba(201, 135, 20, .9); }
.v2-arrow { opacity: .6; }
.v2-discord { flex: 0 0 auto; }
.v2-link { display: inline-flex; align-items: center; gap: 6px; color: var(--v2-text); font-size: 15px; font-weight: 700; }
.v2-link > span { transition: transform .2s var(--v2-ease); }
.v2-link:hover > span { transform: translateX(4px); }
.v2-link-row { display: flex; flex-wrap: wrap; gap: 24px 22px; }
.v2-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.v2-chips li { padding: 6px 11px; border: 1px solid var(--v2-line); border-radius: 999px; color: var(--v2-soft); background: var(--v2-elev-2); font-size: 13px; font-weight: 600; }
.v2-chips li code { padding: 0; border: 0; background: none; }
.v2-fine { margin: 0; color: var(--v2-muted); font-size: 13.5px; line-height: 1.5; }
.v2-fine a, .v2-footnote a { color: var(--v2-text); text-decoration: underline; text-decoration-color: var(--v2-line-2); text-underline-offset: 3px; }

/* Comfortable tap targets. Standalone text links and the small Copy button keep their look, while an
   invisible layer centred on each one makes its hit area at least 44px tall and wide. Rows of these
   links that wrap keep enough row gap (.v2-link-row, .footer-links) that the layers never overlap. */
:where(.v2-link, .v2-inline-link, .v2-step-links a, .v2-copy, .footer-links a) { position: relative; }
:where(.v2-link, .v2-inline-link, .v2-step-links a, .v2-copy, .footer-links a)::after {
  content: "";
  position: absolute;
  inset: min(0px, calc(50% - 22px));
}
/* A link that is its paragraph's only element (the sign-in page's guest link) takes a real 44px line,
   so its tap area never reaches up into a button right above it. */
:where(p) > .v2-inline-link:only-child { display: inline-flex; align-items: center; gap: .35rem; min-block-size: 44px; }
/* Page rows of these links that wrap on narrow phones keep their rows 44px apart too. */
:root :is(.v2-step-links, .ab-finale-links) { row-gap: 28px; }
/* A link a page sets inline inside a sentence takes no layer: it can wrap onto the next line, and the
   layer would then stand as a stray column over the surrounding words. Links in running text are
   exempt from target sizes. Today that is the leaderboard's "See Monthly Coins gem rewards". */
:where(.lb-rules-quiet) .v2-link::after { content: none; }
/* The home hero note ends its sentence with "See how it works". A layer there would cover the line
   above and the fine print below, so tapping those words would jump down the page. */
:where(.v2-hero-note) .v2-inline-link::after { content: none; }

/* An image that could not load (site.js marks it) is drawn as an empty SVG instead, so no broken-image
   icon or alt text lands on captions and gradients. The img keeps its box, the placeholder its own
   background, border or shadow paints (card blanks on the home Frames ring and the About Dye and shop
   panels) and its alt text for assistive technology. The SVG has no size of its own, so a box sized by
   width/height attributes keeps its ratio (a 1x1 picture would make it square). color: transparent hides
   the alt text where a browser does not replace an img's content. A figure framing a failed image shows
   a soft placeholder instead of a hole. */
img[data-load-failed] { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E"); color: transparent; }
figure:has(> img[data-load-failed]) { background-color: var(--v2-elev-2); background-image: var(--v2-grad-glow); }


/* Cards and panels that follow the pointer with a soft light (add .v2-spotlight; motion-v2.js sets --mx/--my). */
.v2-spotlight { position: relative; isolation: isolate; }
.v2-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), var(--v2-spot), transparent 46%);
  opacity: 0;
  transition: opacity var(--v2-dur) ease;
}
.v2-spotlight:hover::after { opacity: 1; }

/* Reading progress bar (add <div class="v2-progress" data-v2-progress>); motion-v2.js sets --v2-progress (0..1). */
.v2-progress {
  position: fixed;
  z-index: 70;
  inset: 0 0 auto;
  height: 3px;
  background: var(--v2-grad);
  transform: scaleX(var(--v2-progress, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Scroll reveal. Nothing is hidden until motion-v2.js confirms motion is welcome (html.v2-motion),
   and anything already on screen when the page loads is never hidden. */
.v2-motion [data-v2-reveal][data-v2-reveal] {
  transition: opacity var(--v2-dur-slow) var(--v2-ease-out), transform var(--v2-dur-slow) var(--v2-ease-out), filter var(--v2-dur-slow) var(--v2-ease-out), clip-path var(--v2-dur-slow) var(--v2-ease-out);
  transition-delay: var(--v2-delay, 0ms);
}
.v2-motion [data-v2-reveal]:not(.v2-in) { opacity: 0; transform: translate3d(0, 28px, 0); }
.v2-motion [data-v2-reveal="fade"]:not(.v2-in) { transform: none; }
.v2-motion [data-v2-reveal="scale"]:not(.v2-in) { transform: scale(.94); }
.v2-motion [data-v2-reveal="left"]:not(.v2-in) { transform: translate3d(-40px, 0, 0); }
.v2-motion [data-v2-reveal="right"]:not(.v2-in) { transform: translate3d(40px, 0, 0); }
.v2-motion [data-v2-reveal="blur"]:not(.v2-in) { filter: blur(12px); transform: translate3d(0, 16px, 0); }
.v2-motion [data-v2-reveal="wipe"] { clip-path: inset(0 0 0 0); }
.v2-motion [data-v2-reveal="wipe"]:not(.v2-in) { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
@media print {
  [data-v2-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; }
  .skip-link, .v2-progress, .v2-backdrop { display: none !important; }
  .v2-gradient-text { color: var(--v2-pink); background: none; -webkit-background-clip: border-box; background-clip: border-box; animation: none; }
  .v2-button-primary { box-shadow: none; }
  .v2-button-primary::after { content: none; }
}

/* Paused while off screen (motion-v2.js toggles .v2-offscreen on [data-v2-loop]). */
.v2-offscreen, .v2-offscreen *, .v2-offscreen::before, .v2-offscreen::after, .v2-offscreen *::before, .v2-offscreen *::after { animation-play-state: paused !important; }

/* Page transitions between tabs (browsers without cross-document view transitions simply navigate).
   A brief opacity-only cross-fade: the browser holds taps and clicks while a transition runs, so every
   part of it ends within .18s. The cap is !important because page sheets name their own groups (the
   leaderboard's sliding tab asks for .5s). The old page stays fully drawn underneath while the new one
   fades in over it, so the screen never dims mid-fade (fading both out and in lets the dark backdrop
   through). Reduced motion opts out entirely and pages change at once (page-transitions.css carries
   the same condition). */
:root .site-header { view-transition-name: v2-header; }
.support-chat-launcher { view-transition-name: v2-support; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(*), ::view-transition-image-pair(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .18s !important; animation-delay: 0s !important; }
  ::view-transition-old(root) { animation: none; }
  ::view-transition-new(root) { animation: v2-page-in .18s var(--v2-ease-out) both; }
}
@keyframes v2-page-in { from { opacity: 0; } }

/* Ambient loops rest on hidden tabs and with Save-Data (site.js sets body[data-motion-state]). */
body:is([data-motion-state="data-saving"], [data-motion-state="hidden"]) :is(.v2-aura, .v2-gradient-text) { animation-play-state: paused !important; }
body:is([data-motion-state="data-saving"], [data-motion-state="hidden"]) .v2-button-primary::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  [data-v2-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; }
  .v2-aura, .v2-gradient-text, .v2-button-primary::after, .v2-progress { animation: none !important; }
  .v2-spotlight::after { display: none; }
}
