/* laztik.com, 2026-11 redesign. A dark page, like the app and like a live: one accent (Laztik's
   rose), Geist (Poppins only inside the overlays, as on a live), one shape scale (cards 20px,
   pictures in them 12px, buttons and chips are pills). The CSP allows no external asset and no
   inline style: everything is here, home.js only moves things through the CSSOM. Only transform
   and opacity animate, and nothing moves with prefers-reduced-motion. */

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

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/poppins-700.woff2) format("woff2");
}

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

:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-2: #0c0c12;
  --surface: #111118;
  --surface-2: #181821;
  --app-bg: #0a0a0c;
  --app-surface: #121215;
  --app-raised: #18181c;
  --ink: #f5f5f8;
  --muted: #a6a6b4;
  --faint: #767684;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.14);
  --accent: #e2164c;
  --accent-hover: #f0245a;
  --rose: #ff3b6b;
  --rose-soft: rgb(255 59 107 / 0.12);
  --ok: #34d399;
  --gift: #fbbf24;
  --chat: #60a5fa;
  --like: #fb7185;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1160px;
  --header: 64px;
  --rim: -64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Geist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons and tags ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  color: var(--ink);
  font: 600 16px/1 "Geist", system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms, border-color 160ms, box-shadow 200ms;
}

.btn:hover {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.24);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn .arr {
  width: 18px;
  height: 18px;
  margin-right: -4px;
  transition: transform 200ms var(--ease);
}

.btn:hover .arr {
  transform: translateX(3px);
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.btn-primary {
  overflow: hidden;
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgb(255 120 160 / 0.35) inset, 0 10px 30px -8px rgb(226 22 76 / 0.7);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: transparent;
  box-shadow: 0 0 0 1px rgb(255 140 175 / 0.5) inset, 0 14px 40px -8px rgb(255 59 107 / 0.85);
}

/* A light sweeping across the main buttons now and then. */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.32), transparent);
  transform: skewX(-20deg);
  animation: sweep 5s 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sweep {
  0%, 70% { transform: skewX(-20deg) translateX(0); }
  100% { transform: skewX(-20deg) translateX(420%); }
}

.btn-large {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.tag-free {
  background: rgb(52 211 153 / 0.12);
  color: var(--ok);
}

.tag-pro {
  background: var(--rose-soft);
  color: var(--rose);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  background: rgb(7 7 11 / 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms, background-color 150ms;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgb(255 255 255 / 0.06);
}

/* ---------- Hero: a living sky, a planet's glowing rim, the app rising from it ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header) + 72px) 0 0;
  text-align: center;
}

.sky {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.sky-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stars,
.stars::after {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 23px 41px, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 151px 87px, rgb(255 255 255 / 0.7) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 271px 19px, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 97px 213px, rgb(255 255 255 / 0.6) 50%, transparent 52%),
    radial-gradient(1px 1px at 331px 167px, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 203px 281px, rgb(255 210 225 / 0.9) 50%, transparent 52%),
    radial-gradient(1px 1px at 41px 331px, rgb(255 255 255 / 0.5) 50%, transparent 52%),
    radial-gradient(1px 1px at 367px 307px, rgb(255 255 255 / 0.8) 50%, transparent 52%);
  background-size: 400px 360px;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 75%);
}

.stars::after {
  content: "";
  background-size: 290px 250px;
  background-position: 130px 70px;
  opacity: 0.6;
  animation: twinkle 5s ease-in-out infinite alternate;
}

/* With the script the canvas draws the stars: the CSS ones stay faint. */
.js .hero .stars {
  opacity: 0.15;
}

@keyframes twinkle {
  to {
    opacity: 0.15;
  }
}

/* With WebGL, the sky (home.js) draws the planet, its glow and the stars: the CSS ones step aside. */
.sky-canvas {
  opacity: 0;
  transition: opacity 1200ms var(--ease);
}

.sky-canvas.ready {
  opacity: 1;
}

.hero.gl .planet,
.hero.gl .stars {
  visibility: hidden;
}

/* The planet: a huge dark disc whose top edge catches the light. */
.planet {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: var(--rim);
  width: 2800px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #1a0a12 0%, #08070b 22%, var(--bg) 40%);
  box-shadow:
    0 -1px 0 0 rgb(255 170 195 / 0.85),
    0 -6px 24px 0 rgb(255 59 107 / 0.55),
    0 -40px 140px 10px rgb(255 59 107 / 0.32),
    0 -120px 260px 40px rgb(226 22 76 / 0.16);
  transform: translateX(-50%);
  animation: planet-in 1600ms var(--ease) both;
}

.planet::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border-top: 2px solid rgb(255 214 226 / 0.95);
  filter: blur(0.5px);
  mask-image: linear-gradient(to right, transparent 30%, #000 45%, #000 55%, transparent 70%);
  animation: rim 4s ease-in-out infinite alternate;
}

/* The air above the rim. */
.planet::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  top: -180px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 59 107 / 0.4), transparent);
  filter: blur(20px);
  animation: breathe 6s ease-in-out infinite alternate;
}

@keyframes planet-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(80px);
  }
}

@keyframes breathe {
  to {
    opacity: 0.5;
  }
}

@keyframes rim {
  to {
    opacity: 0.6;
  }
}

.horizon {
  position: relative;
  margin-top: 72px;
}

.hero-copy {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  animation: rise 900ms var(--ease) both;
}

.hero-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 150ms, color 150ms;
}

.hero-new:hover {
  border-color: rgb(255 255 255 / 0.28);
  color: var(--ink);
}

.hero-new .tag {
  background: var(--accent);
  color: #fff;
}

.hero h1 {
  font-size: clamp(42px, 7.2vw, 88px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 em,
.section-head h2 em,
.deck-head h2 em {
  font-style: normal;
  color: var(--rose);
}

.lead {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.cta-note {
  margin-top: 16px;
  color: var(--faint);
  font-size: 14px;
}

.cta-note b {
  color: var(--muted);
  font-weight: 600;
}

/* The sky glows behind the hero's small print: keep it readable. */
.hero-copy .lead,
.hero-copy .cta-note,
.hero-copy .send-link {
  text-shadow: 0 1px 14px rgb(0 0 0 / 0.75), 0 0 2px rgb(0 0 0 / 0.6);
}

.hero-copy .cta-note {
  color: var(--muted);
}

.phone-only {
  display: none;
}

.send-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--rose);
  font: 600 15px/1.2 "Geist", system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes rise-far {
  from {
    opacity: 0;
    transform: translateY(120px);
  }
}

/* ---------- The app, as it looks: En direct, with its simulator ---------- */

.mock {
  position: relative;
  display: grid;
  grid-template-columns: 196px 1fr;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: var(--app-bg);
  box-shadow: 0 -30px 90px -30px rgb(255 59 107 / 0.4);
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
  animation: rise-far 1200ms 250ms var(--ease) both;
}

/* The light running along its top edge. */
.mock::before,
.mock::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 205 220), transparent);
  pointer-events: none;
}

.mock::after {
  top: -8px;
  height: 16px;
  background: radial-gradient(closest-side, rgb(255 59 107 / 0.75), transparent);
  filter: blur(6px);
  animation: breathe 3s ease-in-out infinite alternate;
}

.mock-hint {
  position: absolute;
  z-index: 3;
  right: 14px;
  top: 10px;
  pointer-events: none;
  transition: opacity 300ms;
}

.mock-hint span {
  position: relative;
  display: inline-block;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--rose);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 10px 30px -6px rgb(255 59 107 / 0.7);
  animation: hint 1.6s ease-in-out infinite;
}

.mock-hint span::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: var(--rose);
  transform: rotate(45deg);
}

@keyframes hint {
  50% {
    transform: translateY(-4px);
  }
}

.mock.touched .mock-hint {
  opacity: 0;
}

.mock-side {
  padding: 16px 10px;
  border-right: 1px solid var(--line);
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 14px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.mock-brand img {
  border-radius: 6px;
}

.mock-profile {
  display: flex;
  flex-direction: column;
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 650;
}

.mock-profile small {
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 500;
}

.mock-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mock-nav li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
}

.mock-nav li.on {
  background: rgb(255 255 255 / 0.07);
  color: var(--ink);
  font-weight: 650;
}

.mock-nav svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-nav li.on svg {
  stroke: var(--rose);
}

.mock-live {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #ff4d4f;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(255 77 79 / 0.6); }
  70% { box-shadow: 0 0 0 7px rgb(255 77 79 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(255 77 79 / 0); }
}

.mock-sec {
  margin: 14px 8px 4px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
}

.mock-main {
  min-width: 0;
  padding: 20px 22px 0;
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mock-title {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.mock-me {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-me > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mock-me small {
  color: var(--faint);
  font-size: 11px;
}

.mock-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #5b2a45;
  font-weight: 700;
}

.mock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(255 77 79 / 0.12);
  color: #ff7a7c;
  font-weight: 650;
}

.mock-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d4f;
  animation: pulse 1.6s infinite;
}

.mock-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 16px 0 12px;
  padding: 0;
  list-style: none;
}

.mock-tiles li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--app-surface);
}

.mock-tiles small {
  overflow: hidden;
  color: var(--faint);
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mock-tiles b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.bump {
  animation: bump 420ms var(--spring);
}

@keyframes bump {
  40% { transform: scale(1.12); }
}

.mock-cols {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 12px;
}

.mock-left {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.mock-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--app-surface);
}

.mock-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.mock-sim {
  position: relative;
  border-color: rgb(255 59 107 / 0.35);
  box-shadow: 0 0 0 4px rgb(255 59 107 / 0.06);
}

.mock-sim > p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
}

.sim-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.sim-buttons button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--app-raised);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 150ms, border-color 150ms;
}

.sim-buttons button:hover {
  border-color: rgb(255 59 107 / 0.6);
  background: #221a20;
}

.sim-buttons img {
  width: 20px;
  height: 20px;
}

.sim-say {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.sim-say input {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--app-bg);
  font-size: 13px;
}

.sim-say input::placeholder {
  color: var(--faint);
}

.sim-say button {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--app-raised);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.log {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.log li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 9px;
  background: rgb(255 255 255 / 0.02);
  border-left: 2px solid var(--k, var(--faint));
}

.log li.is-new {
  animation: log-in 420ms var(--ease);
}

@keyframes log-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
}

.log .who {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  font-size: 11px;
  font-weight: 700;
}

.log .what {
  overflow: hidden;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.log .what b {
  color: var(--ink);
  font-weight: 650;
}

.log .did {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--rose);
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
}

.k-gift { --k: var(--gift); }
.k-follow { --k: var(--ok); }
.k-chat { --k: var(--chat); }
.k-like { --k: var(--like); }

/* The live, with Laztik's overlays on it, drawn here so they can react. */
.mock-preview {
  padding: 12px;
}

.pv-dot {
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.pv {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 14;
  margin-top: 10px;
  border-radius: 12px;
  background: #0b0d14;
  font-family: "Poppins", "Geist", sans-serif;
}

.pv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51.1% 50%;
  filter: brightness(0.5) blur(1.5px) saturate(1.1);
  transform: scale(1.6);
}

.pv.shake {
  animation: shake 520ms ease-in-out;
}

@keyframes shake {
  20% { transform: translate(-5px, 2px) rotate(-0.6deg); }
  40% { transform: translate(5px, -2px) rotate(0.6deg); }
  60% { transform: translate(-3px, 1px); }
  80% { transform: translate(3px, -1px); }
}

.pv-likes {
  position: absolute;
  left: 8%;
  top: 6%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-shadow: 0 2px 6px rgb(0 0 0 / 0.6);
}

.pv-likes svg {
  width: 28px;
  height: 28px;
  fill: #ff3b6b;
  filter: drop-shadow(0 2px 6px rgb(255 59 107 / 0.6));
}

.pv-likes div {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 4px;
}

.pv-likes b {
  display: inline-block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pv-likes span {
  font-size: 12px;
  font-weight: 900;
}

.pv-likes i {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  margin-top: 5px;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.18);
  overflow: hidden;
}

.pv-likes em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff3b6b, #ff7a9c);
  transform-origin: left;
  transform: scaleX(0.83);
  transition: transform 600ms var(--ease);
}

.pv-likes small {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.pv-alert {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 10px 12px;
  border: 2px solid #ff3b6b;
  border-radius: 14px;
  background: rgb(12 10 16 / 0.9);
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.5), 0 0 24px rgb(255 59 107 / 0.35);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  transition: opacity 260ms, transform 420ms var(--spring);
}

.pv-alert.is-on {
  opacity: 1;
  transform: none;
}

.pv-alert.is-big {
  border-color: var(--gift);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.5), 0 0 40px rgb(251 191 36 / 0.5);
}

.pv-alert.is-big.is-on {
  transform: scale(1.06);
}

.pv-alert img {
  width: 54px;
  height: 54px;
}

.pv-alert img[hidden] {
  display: none;
}

.pv-alert p {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.pv-alert b {
  color: #ff3b6b;
  font-weight: 900;
}

.pv-top {
  position: absolute;
  left: 8%;
  bottom: 6%;
  width: 54%;
  padding: 8px 10px;
  border: 1px solid rgb(251 191 36 / 0.5);
  border-radius: 10px;
  background: rgb(12 10 16 / 0.82);
  color: #fff;
}

.pv-top p {
  margin-bottom: 3px;
  color: var(--gift);
  font-size: 11px;
  font-weight: 900;
}

.pv-top ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: top;
}

.pv-top li {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  counter-increment: top;
}

.pv-top li span::before {
  content: counter(top) ". ";
  color: var(--gift);
}

.pv-top li b {
  font-variant-numeric: tabular-nums;
}

.pv-toast,
.pv-tts {
  position: absolute;
  right: 6%;
  max-width: 72%;
  padding: 6px 10px;
  border-radius: 10px;
  color: #fff;
  font-family: "Geist", sans-serif;
  font-size: 11.5px;
  font-weight: 650;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 250ms, transform 400ms var(--ease);
}

.pv-toast {
  top: 22%;
  background: var(--accent);
  box-shadow: 0 8px 20px -6px rgb(226 22 76 / 0.8);
}

.pv-tts {
  bottom: 27%;
  background: rgb(59 130 246 / 0.92);
}

.pv-tts::before {
  content: "Lu à voix haute";
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  opacity: 0.85;
}

.pv-toast.is-on,
.pv-tts.is-on {
  opacity: 1;
  transform: none;
}

.pv-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pv-hearts i {
  position: absolute;
  bottom: 30%;
  width: 14px;
  height: 14px;
  background: #ff3b6b;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.2 0 3.6 1.2 4.3 2.4.7-1.2 2.1-2.4 4.3-2.4 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.2 0 3.6 1.2 4.3 2.4.7-1.2 2.1-2.4 4.3-2.4 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  animation: heart 1.6s var(--ease) forwards;
}

@keyframes heart {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(20px, -160px) scale(1.2); }
}

/* The phone: the live as TikTok shows it, with Laztik's overlays, a little turned and floating. */
.phone-col {
  display: flex;
  justify-content: center;
  padding: 4px 0 24px;
  perspective: 1100px;
}

.phone3d {
  --px: 0deg;
  --py: 0deg;
  position: relative;
  transform: rotateX(calc(7deg + var(--px))) rotateY(calc(-16deg + var(--py))) rotateZ(2deg);
  transform-style: preserve-3d;
  transition: transform 500ms var(--ease);
}

.phone-float {
  animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
  50% { transform: translateY(-12px); }
}

.phone {
  position: relative;
  width: 248px;
  aspect-ratio: 9 / 19;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(150deg, #34343f, #111116 45%, #1c1c24);
  box-shadow:
    inset 0 0 0 1.5px rgb(255 255 255 / 0.14),
    inset 0 0 0 5px #050507,
    -24px 36px 60px -18px rgb(0 0 0 / 0.85),
    0 0 70px -14px rgb(255 59 107 / 0.45);
}

/* The side buttons. */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  right: -3px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #2a2a33;
}

.phone::before { top: 22%; height: 12%; }
.phone::after { top: 37%; height: 7%; }

.phone-island {
  position: absolute;
  z-index: 6;
  top: 19px;
  left: 50%;
  width: 74px;
  height: 21px;
  margin-left: -37px;
  border-radius: 999px;
  background: #000;
}

.phone .pv {
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 33px;
}

.phone .pv-bg {
  object-position: 51% 50%;
  transform: scale(1.15);
}

.phone-glare {
  position: absolute;
  inset: 0;
  z-index: 7;
  border-radius: inherit;
  background: linear-gradient(125deg, rgb(255 255 255 / 0.13), transparent 32%, transparent 70%, rgb(255 255 255 / 0.04));
  pointer-events: none;
}

.phone-shadow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.7), transparent);
  filter: blur(6px);
  transform: translateZ(-40px);
  animation: phone-shadow 6s ease-in-out infinite;
}

@keyframes phone-shadow {
  50% { opacity: 0.55; transform: translateZ(-40px) scale(0.88); }
}

/* TikTok's own bits: the host and LIVE. */
.pv-host {
  position: absolute;
  z-index: 2;
  left: 9%;
  top: 9.5%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 3px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.38);
  color: #fff;
  font-family: "Geist", sans-serif;
}

.pv-avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #5b2a45;
  font-size: 11px;
  font-weight: 700;
}

.pv-host > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.pv-host b {
  font-size: 10px;
}

.pv-host small {
  font-size: 8px;
  opacity: 0.8;
}

.pv-live {
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #fe2c55;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* The "Objectif de likes" overlay, as Laztik draws it. */
.ovlikes {
  position: absolute;
  z-index: 2;
  left: 6%;
  right: 6%;
  top: 18%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  color: #fff;
}

.ovlikes-heart {
  flex: none;
  width: 30px;
  height: 30px;
  fill: #ff3b6b;
  filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.45));
}

.ovlikes-body {
  flex: 1;
  min-width: 0;
}

.ovlikes p {
  margin: 0;
  -webkit-text-stroke: 3px #000;
  paint-order: stroke fill;
}

.ovlikes-count {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.ovlikes-count b {
  display: inline-block;
  font-size: 25px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.ovlikes-count span {
  font-size: 13px;
}

.ovlikes-bar {
  height: 8px;
  margin-top: 4px !important;
  border: 2px solid #000;
  border-radius: 8px;
  background: #ffc7d4;
  overflow: hidden;
}

.ovlikes-bar em {
  display: block;
  height: 100%;
  background: #ff3b6b;
  transform-origin: left;
  transform: scaleX(0.83);
  transition: transform 600ms var(--ease);
}

.ovlikes-label {
  margin-top: 2px !important;
  font-size: 13px;
  text-align: center;
}

/* The real alert: a dark panel, a rose frame, the name in rose. */
.phone .pv-alert {
  top: 37%;
  left: 7%;
  right: 7%;
  padding: 8px 8px 10px;
  border-color: #ff6b8a;
  border-radius: 14px;
  background: rgb(44 43 49 / 0.96);
  box-shadow: 0 10px 26px rgb(0 0 0 / 0.5);
}

.phone .pv-alert p {
  font-size: 13.5px;
  font-weight: 800;
}

.phone .pv-alert b {
  color: #ff3b6b;
}

.phone .pv-alert.is-big {
  border-color: var(--gift);
}

/* The real "Top donateurs" overlay (Laztik's default: gold on dark). */
.ovtop {
  position: absolute;
  z-index: 2;
  left: 6%;
  right: 6%;
  bottom: 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

.ovtop-title {
  color: #ffc83d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 0 10px rgb(255 200 61 / 0.55), 0 2px 3px rgb(0 0 0 / 0.6);
}

.ovtop ol {
  display: grid;
  gap: 3px;
  width: 100%;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.ovtop li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 25px;
  padding: 0 6px;
  border-radius: 8px;
  background: rgb(38 31 21 / 0.86);
  font-size: 11px;
  font-weight: 800;
  animation: log-in 420ms var(--ease);
}

.ovtop li.r1 {
  height: 30px;
  margin-top: 6px;
  box-shadow: 0 0 0 1.5px #ffc83d, 0 0 9px rgb(255 200 61 / 0.45);
}

.ovtop .rk {
  display: grid;
  place-items: center;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  color: #1a1408;
  font-size: 8.5px;
  font-weight: 900;
}

.ovtop .r1 .rk { background: #ffc83d; }
.ovtop .r2 .rk { background: #d9dde8; }
.ovtop .r3 .rk { background: #e0915a; }

.ovtop .av {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 19px;
  height: 19px;
  border: 1.5px solid #c7cbe0;
  border-radius: 50%;
  background: #5a4628;
  font-size: 8px;
  font-weight: 900;
}

.ovtop .r1 .av {
  width: 22px;
  height: 22px;
  border-color: #ffc83d;
}

.ovtop .r3 .av {
  border-color: #e0915a;
}

.ovtop .crown {
  position: absolute;
  left: 50%;
  top: -11px;
  width: 15px;
  height: auto;
  fill: #ffc83d;
  stroke: #5a3a00;
  stroke-width: 1;
  stroke-linejoin: round;
  transform: translateX(-50%) rotate(-8deg);
}

.ovtop .crown circle {
  fill: #ff3b6b;
  stroke: none;
}

.ovtop li b {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ovtop li em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.ovtop .r1 em {
  color: #ffc83d;
}

.coin {
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe08a, #f2b51f 60%, #b9800a);
  box-shadow: inset 0 0 0 1.2px #c98d0c;
}

.ovtop-challenge {
  width: 100%;
  padding: 4px 6px;
  border-radius: 8px;
  background: linear-gradient(100deg, rgb(120 92 30 / 0.85), rgb(11 11 16 / 0.8));
  color: #ffc83d;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.phone .pv-toast {
  top: 31%;
}

.phone .pv-tts {
  bottom: 36%;
}

/* ---------- Proof strip ---------- */

.proof {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.proof ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof li {
  padding: 28px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.proof li + li {
  border-left: 1px solid var(--line);
}

.proof b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Sections ---------- */

.section {
  padding: 112px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.deck-head h2 {
  font-size: clamp(34px, 5vw, 56px);
}

.section-head p,
.deck-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--rose);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.after {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 48px;
}

.after p {
  color: var(--faint);
  font-size: 15px;
}

/* Appearing when seen (home.js adds .in). */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 800ms var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Gift → action ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split .section-head {
  margin-bottom: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 150ms, background-color 150ms;
}

.chips li:hover {
  border-color: rgb(255 59 107 / 0.55);
  background: var(--rose-soft);
}

.feed {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(to bottom, var(--surface), var(--bg-2));
  list-style: none;
}

.feed li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  animation: feed-turn 8s infinite;
}

/* Each example lights up in turn, as on a live. */
.feed li:nth-child(2) { animation-delay: 2s; }
.feed li:nth-child(3) { animation-delay: 4s; }
.feed li:nth-child(4) { animation-delay: 6s; }

@keyframes feed-turn {
  0%, 22%, 100% { border-color: var(--line); transform: none; }
  4%, 16% { border-color: rgb(255 59 107 / 0.6); transform: translateX(6px); }
}

.feed img {
  width: 52px;
  height: 52px;
}

.feed div {
  min-width: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.feed div b {
  color: var(--ink);
  font-weight: 650;
}

.feed .does {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--rose);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.feed .does::before {
  content: "→";
  font-weight: 700;
}

/* ---------- Overlays: the deck ---------- */

.deck-section {
  position: relative;
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.deck-head p {
  max-width: 640px;
}

/* Without the script: a grid of every card. */
.deck {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  width: min(var(--wrap), 100% - 32px);
  margin: 48px auto 0;
}

.ocard {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 36px -14px rgb(0 0 0 / 0.7), inset 0 0 0 1px rgb(255 255 255 / 0.04);
}

.ocard-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 14px;
  background: radial-gradient(120% 90% at 50% 0%, #1d1d29, #0b0b11);
}

.ocard-stage > img,
.ocard-stage > span {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ocard-stage > img[height="1148"] {
  width: auto;
  height: 100%;
}

.ocard-name {
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

.ov-pic {
  position: relative;
  display: block;
}

.ov-pic img {
  width: 100%;
}

.ov-pic .ov-gift {
  position: absolute;
  height: auto;
}

.gift-alerts .ov-gift { left: 38.35%; top: 7.62%; width: 23.36%; }
.gift-battle .ov-gift { left: 5.78%; top: 53%; width: 12.09%; }
.gift-best-combo .ov-gift { left: 27.67%; top: 19%; width: 44.8%; }
.gift-gift-goal .ov-gift { left: 0.91%; top: 21.27%; width: 18.93%; }
.gift-last-gift .ov-gift { left: 27.48%; top: 18.67%; width: 45.18%; }

/* The three overlays without a picture, drawn here. */
.ocard-stage > .ov-music {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 12px;
  background: rgb(18 18 26 / 0.95);
  font-family: "Poppins", sans-serif;
}

.ov-music > i {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff3b6b, #7c3aed);
}

.ov-music > span {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.ov-music b {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.ov-music small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.ov-music em {
  display: block;
  height: 4px;
  margin-top: 6px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.15);
  overflow: hidden;
}

.ov-music s {
  display: block;
  width: 62%;
  height: 100%;
  background: #1ed760;
}

.ocard-stage > .ov-score {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgb(251 191 36 / 0.5);
  border-radius: 12px;
  background: rgb(18 18 26 / 0.95);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.ov-score > b {
  color: var(--gift);
  font-weight: 900;
  text-align: center;
}

.ov-score > span {
  display: flex;
  gap: 6px;
}

.ov-score i {
  font-style: normal;
  color: var(--gift);
}

.ov-score em {
  margin-left: auto;
  font-style: normal;
}

.ocard-stage > .ov-rotation {
  display: grid;
}

.ov-rotation img {
  grid-area: 1 / 1;
  align-self: center;
  animation: alternate-a 6s infinite;
}

.ov-rotation img + img {
  animation-name: alternate-b;
}

@keyframes alternate-a {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
}

@keyframes alternate-b {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
}

.deck-caption {
  display: none;
}

/* With the script: a pinned stage, the cards placed by home.js. */
.deck-on {
  height: 620vh;
  padding: 0;
}

.deck-on .deck-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.deck-on .deck-head {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--header) + 32px);
  text-align: center;
}

.deck-on .deck-head p {
  margin-inline: auto;
  font-size: 17px;
}

.deck-on .deck {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  margin: 0;
}

.deck-on .ocard {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--cw, 200px);
  height: calc(var(--cw, 200px) * 1.32);
  will-change: transform, opacity;
  transition: border-color 250ms, box-shadow 250ms;
}

.deck-on .ocard-stage {
  flex: 1;
  aspect-ratio: auto;
}

.deck-on .ocard-name {
  font-size: calc(var(--cw, 200px) * 0.068);
}

.deck-on .ocard.is-center {
  border-color: rgb(255 59 107 / 0.7);
  box-shadow: 0 24px 60px -18px rgb(255 59 107 / 0.55), inset 0 0 0 1px rgb(255 255 255 / 0.06);
}

.deck-on .deck-caption {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 28px;
  display: block;
  padding: 0 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 300ms, transform 400ms var(--ease);
}

.deck-on.deck-wheel .deck-caption {
  opacity: 1;
  transform: none;
}

.deck-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.deck-name b {
  font-weight: 700;
}

.deck-desc {
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
}

.deck-help {
  margin-top: 10px;
  color: var(--faint);
  font-size: 13px;
}

/* ---------- Games ---------- */

.games-art {
  position: relative;
  aspect-ratio: 12 / 7;
}

.games-art img {
  position: absolute;
  width: 82%;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.85);
  transition: transform 700ms var(--ease);
}

.ga-back {
  right: 0;
  top: 0;
  opacity: 0.75;
  transform: rotate(3deg);
}

.ga-front {
  left: 0;
  bottom: 0;
  transform: rotate(-2deg);
}

.games-art:hover .ga-back { transform: rotate(5deg) translate(10px, -8px); }
.games-art:hover .ga-front { transform: rotate(-3deg) translate(-8px, 6px); }

/* ---------- Minecraft (old) ---------- */

.games {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.game,
.invasion,
.tile {
  --rx: 0deg;
  --ry: 0deg;
}

.game {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
}

.js .tilt.in {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
}

.js .tilt.in.tilting {
  transition: transform 120ms linear, opacity 700ms;
}

.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 250ms;
  pointer-events: none;
}

.tilt.tilting::after {
  opacity: 1;
}

.game-art {
  overflow: hidden;
  aspect-ratio: 12 / 5;
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}

.game:hover .game-art img {
  transform: scale(1.04);
}

.game-body {
  padding: 24px 28px 28px;
}

.game h3,
.invasion h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.game-body p,
.invasion p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.game-body .tag {
  margin-bottom: 2px;
}

.game-body .game-more {
  color: var(--faint);
  font-size: 14px;
}

.invasion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(80% 140% at 100% 50%, rgb(124 58 237 / 0.18), transparent 60%),
    var(--surface);
}

.invasion .invasion-gift {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
}

.invasion-gift img {
  width: 36px;
  height: 36px;
}

/* ---------- Grow: the coach ---------- */

.ticks {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 16px;
}

.ticks svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--rose);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-head .grow-note {
  margin-top: 24px;
  color: var(--faint);
  font-size: 15px;
}

.coach {
  position: relative;
  height: 330px;
}

.cmsg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 16px;
  background: #0c0c0f;
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.85);
  transition: transform 700ms var(--ease), opacity 500ms;
}

.cmsg[data-pos="0"] { z-index: 3; }
.cmsg[data-pos="1"] { z-index: 2; opacity: 0.5; transform: translateY(26%) scale(0.93); }
.cmsg[data-pos="2"] { z-index: 1; opacity: 0.2; transform: translateY(48%) scale(0.86); }

.cmsg header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.cdot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgb(52 211 153 / 0.6);
}

.cdot.bad {
  background: #f87171;
  box-shadow: 0 0 10px rgb(248 113 113 / 0.6);
}

.cicons {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.cmsg svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cbody {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px 18px 22px;
}

.cicon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.cicon svg {
  width: 24px;
  height: 24px;
}

.cicon.gold { background: rgb(251 191 36 / 0.16); color: var(--gift); }
.cicon.orange { background: rgb(251 146 60 / 0.16); color: #fb923c; }
.cicon.green { background: rgb(52 211 153 / 0.14); color: var(--ok); }

.ctitle {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.csub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 15px;
}

.cbody em {
  display: block;
  margin-top: 6px;
  color: var(--faint);
  font-size: 14px;
}

.cbtns {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.cbtns span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.cbtns .cclose {
  border-color: transparent;
  color: var(--faint);
}

/* The time left before the next message, shrinking as in the app. */
.cbar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: rgb(255 255 255 / 0.55);
  transform-origin: left;
  transform: scaleX(0.7);
}

.coach.run .cmsg[data-pos="0"] .cbar {
  animation: cbar 5s linear forwards;
}

@keyframes cbar {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* ---------- Growth: analysis, suggestions, loyalty ---------- */

.wrap.wide {
  width: min(1320px, 100% - 32px);
}

.gcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
  transition: opacity 700ms var(--ease), transform 800ms var(--ease), border-color 250ms;
}

.gcard:hover {
  border-color: var(--line-strong);
}

.js .gcard:nth-child(2) { transition-delay: 120ms; }
.js .gcard:nth-child(3) { transition-delay: 240ms; }

.gviz {
  position: relative;
  height: 340px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 50% 0%, rgb(255 59 107 / 0.10), transparent 70%),
    linear-gradient(to bottom, #15151e, #0d0d13);
  overflow: hidden;
}

.gviz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.gchip {
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
}

.gbody {
  padding: 26px 28px 30px;
}

.gbody h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.gbody p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.gbody .gnote {
  margin-top: 14px;
  color: var(--faint);
  font-size: 14px;
}

/* Analysis: the bars grow, the best day lights up, the numbers count. */
.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 10px;
  height: 170px;
  margin-top: 26px;
}

.bars span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.bars i {
  display: block;
  width: 100%;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(to top, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.18));
  transform-origin: bottom;
  transform: scaleY(0.04);
  transition: transform 900ms var(--spring);
}

.bars .best i {
  background: linear-gradient(to top, #b80f3d, var(--rose));
  box-shadow: 0 0 24px rgb(255 59 107 / 0.45);
}

.bars em {
  margin-top: 8px;
  color: var(--faint);
  font-size: 11.5px;
  font-style: normal;
}

.bars .best em {
  color: var(--ink);
  font-weight: 700;
}

.b1 i { height: 46%; }
.b2 i { height: 92%; }
.b3 i { height: 54%; }
.b4 i { height: 40%; }
.b5 i { height: 68%; }
.b6 i { height: 74%; }
.b7 i { height: 58%; }

.gcard.in .bars i,
html:not(.js) .bars i {
  transform: scaleY(1);
}

.gcard.in .b2 i { transition-delay: 80ms; }
.gcard.in .b3 i { transition-delay: 160ms; }
.gcard.in .b4 i { transition-delay: 240ms; }
.gcard.in .b5 i { transition-delay: 320ms; }
.gcard.in .b6 i { transition-delay: 400ms; }
.gcard.in .b7 i { transition-delay: 480ms; }

.bar-tip {
  position: absolute;
  top: 4%;
  left: calc(100% + 8px);
  z-index: 1;
  padding: 6px 10px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 400ms 1000ms, transform 500ms 1000ms var(--spring);
}

.bar-tip::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  margin-top: -4px;
  width: 8px;
  height: 8px;
  background: var(--ink);
  transform: rotate(45deg);
}

.gcard.in .bar-tip,
html:not(.js) .bar-tip {
  opacity: 1;
  transform: none;
}

.gstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.gstats span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.02);
}

.gstats small {
  overflow: hidden;
  color: var(--faint);
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gstats b {
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Suggestions: a list that keeps moving, one done, the next one up. */
.tips {
  height: 258px;
  margin-top: 20px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
}

.tips-track {
  display: grid;
  gap: 10px;
  animation: tips 12s var(--ease) infinite;
}

@keyframes tips {
  0%, 18% { transform: translateY(0); }
  25%, 43% { transform: translateY(-86px); }
  50%, 68% { transform: translateY(-172px); }
  75%, 93% { transform: translateY(-258px); }
  100% { transform: translateY(-344px); }
}

.tip {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 12px;
  height: 76px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #121219;
}

.tip span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tip b {
  overflow: hidden;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tip small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tip i {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background-color: rgb(251 191 36 / 0.14);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
}

.ti-crown { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 4 3 12h14l3-12-6 7-4-7-4 7-6-7zm3 16h14'/%3E%3C/svg%3E"); }
.ti-gift { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M7.5 8a2.5 2.5 0 0 1 0-5C10 3 12 8 12 8s2-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E"); background-color: rgb(255 59 107 / 0.14) !important; }
.ti-flag { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 8 2a6 6 0 0 0 4-1.5v11a6 6 0 0 1-4 1.5c-3 0-5-2-8-2a6 6 0 0 0-4 1.5'/%3E%3C/svg%3E"); background-color: rgb(52 211 153 / 0.14) !important; }
.ti-user { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6M22 11h-6'/%3E%3C/svg%3E"); background-color: rgb(96 165 250 / 0.14) !important; }

/* Loyalty: the story image, its podium rising. */
.gviz-story {
  display: grid;
  place-items: center;
  padding: 18px;
}

.story {
  position: relative;
  width: 190px;
  height: 300px;
  padding: 16px 12px 10px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 18px;
  background: radial-gradient(120% 70% at 50% 15%, #4a1838, #1a0f24 60%, #120b1a);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.8), 0 0 50px -10px rgb(255 59 107 / 0.35);
  text-align: center;
  font-family: "Poppins", "Geist", sans-serif;
  transform: rotate(-3deg);
}

.story-title {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
}

.story-title small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 5px;
  height: 128px;
  margin-top: 12px;
}

.pod {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 2px 6px;
  border-radius: 8px 8px 4px 4px;
  transform-origin: bottom;
  animation: pod 6s var(--spring) infinite;
}

.p1 { height: 72%; background: linear-gradient(to bottom, #8a6a1f, #4a3a17); animation-delay: 300ms; }
.p2 { height: 55%; background: linear-gradient(to bottom, #6b6f86, #3a3c4c); animation-delay: 150ms; }
.p3 { height: 45%; background: linear-gradient(to bottom, #8a5a3a, #4a2f22); animation-delay: 450ms; }

.pod i {
  position: absolute;
  left: 50%;
  top: -34px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border: 2px solid #c7cbe0;
  border-radius: 50%;
  background: #2c4a6e;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.p1 i {
  top: -42px;
  width: 38px;
  height: 38px;
  margin-left: -19px;
  border-color: var(--gift);
  background: #3b2a7a;
}

.p1 i::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 18px;
  height: 10px;
  margin-left: -9px;
  background: var(--gift);
  clip-path: polygon(0 100%, 0 20%, 25% 60%, 50% 0, 75% 60%, 100% 20%, 100% 100%);
}

.p3 i {
  border-color: #e0915a;
  background: #4b2c6b;
}

.pod b {
  font-size: 11px;
  font-weight: 900;
}

.pod small {
  font-size: 8.5px;
  font-weight: 700;
  opacity: 0.85;
}

@keyframes pod {
  0% { transform: scaleY(0); opacity: 0; }
  10% { transform: scaleY(1); opacity: 1; }
  88% { transform: scaleY(1); opacity: 1; }
  96%, 100% { transform: scaleY(0.6); opacity: 0; }
}

.story-list {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.story-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.07);
  font-size: 10px;
  font-weight: 700;
  animation: story-row 6s var(--ease) infinite;
}

.story-list li:nth-child(1) { animation-delay: 700ms; }
.story-list li:nth-child(2) { animation-delay: 850ms; }

.story-list span {
  color: var(--faint);
}

.story-list em {
  margin-left: auto;
  color: var(--rose);
  font-style: normal;
}

@keyframes story-row {
  0% { opacity: 0; transform: translateX(-14px); }
  8%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}

.story-handle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  color: var(--faint);
  font-size: 9px;
  font-weight: 700;
}

/* ---------- Comparison ---------- */

.vs {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.vs li {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.vs-what {
  font-weight: 600;
}

.vs-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.03);
  overflow: hidden;
}

.vs-bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(255 59 107 / 0.55), rgb(255 59 107 / 0.25));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1100ms var(--ease) 200ms;
}

.vs-bar.them i {
  background: rgb(255 255 255 / 0.12);
}

.vs-bar b {
  position: relative;
  font-size: 15px;
  font-weight: 650;
}

.vs-bar.them b {
  color: var(--muted);
  font-weight: 500;
}

.vs.in .w100,
html:not(.js) .vs .w100 { transform: scaleX(1); }
.vs.in .w52,
html:not(.js) .vs .w52 { transform: scaleX(0.52); }
.vs.in .w50,
html:not(.js) .vs .w50 { transform: scaleX(0.5); }
.vs.in .w30,
html:not(.js) .vs .w30 { transform: scaleX(0.3); }

.vs-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--faint);
  font-size: 14px;
}

.vs-legend a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

.me-dot,
.them-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--rose);
}

.them-dot {
  margin-left: 8px;
  background: rgb(255 255 255 / 0.25);
}

/* ---------- More tools ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.tile .tag {
  margin-bottom: 18px;
}

.tile h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tile p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Pricing ---------- */

.billing-switch {
  display: flex;
  width: max-content;
  margin: -24px auto 32px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}

.billing-switch label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms, color 200ms;
}

.billing-switch .save {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgb(52 211 153 / 0.14);
  color: var(--ok);
  font-size: 12px;
}

#bill-month:checked ~ .billing-switch label[for="bill-month"],
#bill-year:checked ~ .billing-switch label[for="bill-year"] {
  background: var(--ink);
  color: var(--bg);
}

#bill-month:focus-visible ~ .billing-switch label[for="bill-month"],
#bill-year:focus-visible ~ .billing-switch label[for="bill-year"] {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

#bill-year:checked ~ .plans .price-month,
#bill-month:checked ~ .plans .price-year {
  display: none;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin-inline: auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
}

.plan-pro {
  border-color: rgb(255 59 107 / 0.45);
  background:
    radial-gradient(120% 60% at 50% 0%, rgb(255 59 107 / 0.16), transparent 70%),
    var(--surface);
  box-shadow: 0 30px 80px -40px rgb(255 59 107 / 0.55);
}

.plan h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.plan-for {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 24px;
}

.price b {
  font-size: 52px;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  animation: price-in 400ms var(--ease);
}

.price span {
  color: var(--muted);
  font-size: 16px;
}

@keyframes price-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.price-sub {
  min-height: 24px;
  margin-top: 8px;
  color: var(--faint);
  font-size: 14px;
}

.plan .btn {
  margin-top: 28px;
}

.plan ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.plan li svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  fill: none;
  stroke: var(--ok);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-pro li svg {
  stroke: var(--rose);
}

.plans-after {
  max-width: 920px;
  margin: 28px auto 0;
  color: var(--faint);
  font-size: 15px;
  text-align: center;
}

.plans-after a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  font-weight: 750;
}

.steps h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color 150ms;
}

.faq summary:hover {
  color: var(--rose);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 200ms var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.faq details p {
  max-width: 680px;
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 16px;
}

.faq details[open] p {
  animation: rise 350ms var(--ease);
}

.faq a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.faq-help {
  margin-top: 28px;
  color: var(--faint);
  font-size: 15px;
  text-align: center;
}

.faq-help a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---------- Final call ---------- */

.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 140px 0 160px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.final .planet {
  top: 72%;
  width: 2200px;
  animation: none;
}

.final h2 {
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -0.045em;
}

.final p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 19px;
}

.final .cta-note {
  margin-top: 16px;
  color: var(--faint);
  font-size: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

/* ---------- Narrower screens ---------- */

@media (max-width: 1100px) {
  .mock {
    grid-template-columns: 1fr;
  }

  .mock-side {
    display: none;
  }

}

@media (max-width: 1020px) {
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .games {
    grid-template-columns: 1fr;
  }

  .gcards {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .proof ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof li:nth-child(3) {
    border-left: 0;
  }

  .proof li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .vs li {
    grid-template-columns: 1fr 1fr;
  }

  .vs-what {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .mock-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .mock-tiles li:nth-child(n + 4) {
    display: none;
  }

  .mock-cols {
    grid-template-columns: 1fr;
  }

  .phone-col {
    order: -1;
  }

  .phone3d {
    transform: rotateX(5deg) rotateY(-10deg) rotateZ(1.5deg);
  }

  .pv {
    aspect-ratio: 4 / 5;
  }

  .pv-bg {
    transform: scale(2);
  }

  .mock-me > span:nth-child(2),
  .mock-avatar {
    display: none;
  }

  .mock-hint {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --rim: -40px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    padding-top: calc(var(--header) + 44px);
  }

  .hero-new {
    margin-bottom: 22px;
    font-size: 13px;
  }

  .horizon {
    margin-top: 64px;
  }

  .planet {
    width: 1300px;
  }

  .cta-row .btn {
    width: 100%;
  }

  .phone-only {
    display: block;
  }

  .mock {
    border-radius: 16px 16px 0 0;
  }

  .mock-main {
    padding: 14px 12px 0;
  }

  .mock-title {
    font-size: 20px;
  }

  .log li {
    grid-template-columns: 22px 1fr;
  }

  .log .did {
    grid-column: 2;
    justify-self: start;
  }

  .section,
  .deck-section {
    padding: 80px 0;
  }

  .deck-on {
    padding: 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head p,
  .deck-head p {
    font-size: 17px;
  }

  .deck-on .deck-head {
    padding-top: calc(var(--header) + 20px);
  }

  .deck-on .deck-head h2 {
    font-size: 32px;
  }

  .deck-on .deck-head p {
    font-size: 15px;
  }

  .deck-name {
    font-size: 19px;
  }

  .deck-desc {
    font-size: 14px;
  }

  .feed {
    padding: 14px;
  }

  .feed li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .feed img {
    width: 40px;
    height: 40px;
  }

  .feed .does {
    grid-column: 2;
    justify-self: start;
    padding: 6px 10px;
    font-size: 13px;
  }

  .tiles,
  .plans,
  .steps {
    grid-template-columns: 1fr;
  }

  .vs li {
    padding: 14px;
    gap: 10px;
  }

  .vs-bar b {
    font-size: 13px;
  }

  .plan {
    padding: 28px 22px;
  }

  .game-body,
  .invasion {
    padding: 22px;
  }

  .proof li {
    padding: 20px 16px;
    font-size: 14px;
  }

  .proof b {
    font-size: 19px;
  }

  .final {
    padding: 100px 0 120px;
  }

  .final .planet {
    width: 1200px;
    top: 78%;
  }

  .after .btn {
    width: 100%;
  }
}

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

/* ==========================================================================
   Shared by every page: the menu, the download dialog, the tables, the other pages.
   ========================================================================== */

/* ---------- Header: the menu ---------- */

.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgb(255 255 255 / 0.07);
}

.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d4f;
  animation: pulse 1.6s infinite;
}

.site-nav .nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle i {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 250ms var(--ease);
}

.menu-toggle i:first-of-type { top: 17px; }
.menu-toggle i:last-of-type { top: 25px; }

.menu-open .menu-toggle i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1100px) {
  .site-header .wrap {
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .menu-open .site-nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: calc(100dvh - var(--header));
    padding: 12px 16px 24px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: rgb(7 7 11 / 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    animation: menu-in 260ms var(--ease);
  }

  .menu-open .site-nav a {
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 18px;
    color: var(--ink);
  }

  .menu-open .site-nav .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 12px;
    padding: 0 22px;
    min-height: 52px;
    color: #fff;
    font-size: 16px;
  }

  .menu-lock body {
    overflow: hidden;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (max-width: 380px) {
  .header-cta {
    padding: 0 14px;
  }

  .header-cta .arr {
    display: none;
  }
}

/* ---------- The download dialog ---------- */

.dl-dialog {
  width: min(560px, 100% - 24px);
  max-height: calc(100dvh - 32px);
  padding: 30px 28px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(120% 50% at 50% 0%, rgb(255 59 107 / 0.14), transparent 70%),
    var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgb(0 0 0 / 0.9);
  overflow-y: auto;
}

.dl-dialog[open] {
  animation: dl-in 380ms var(--ease);
}

.dl-dialog::backdrop {
  background: rgb(0 0 0 / 0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

@keyframes dl-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

.dl-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.06);
  cursor: pointer;
}

.dl-close svg,
.dl-dialog .btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.dl-kicker {
  color: var(--rose);
  font-size: 13px;
  font-weight: 650;
}

.dl-dialog h2 {
  margin-top: 6px;
  font-size: 30px;
}

.dl-lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.dl-steps {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: dl;
}

.dl-steps li {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.02);
  counter-increment: dl;
}

.dl-steps li > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dl-steps b {
  font-size: 15px;
  line-height: 1.3;
}

.dl-steps b::before {
  content: counter(dl) ". ";
  color: var(--rose);
}

.dl-steps span {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

/* A small SmartScreen, to know what to look for. */
.ss {
  padding: 9px 10px;
  border-radius: 6px;
  background: #0d63b7;
  color: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.25;
}

.ss-title {
  font-size: 10px;
  font-weight: 600;
}

.ss-text {
  margin-top: 4px;
  font-size: 7px;
  opacity: 0.9;
}

.ss-more {
  display: inline-block;
  margin-top: 5px;
  padding: 1px 3px;
  border-radius: 3px;
  font-size: 7.5px;
  text-decoration: underline;
  box-shadow: 0 0 0 2px var(--rose);
  animation: ss-hint 1.4s ease-in-out infinite;
}

.ss-btns {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 6px;
}

.ss-btns span {
  padding: 2px 6px;
  border: 1px solid rgb(255 255 255 / 0.7);
  font-size: 7px;
}

.ss-btns .ss-run {
  box-shadow: 0 0 0 2px var(--rose);
  animation: ss-hint 1.4s ease-in-out infinite;
}

@keyframes ss-hint {
  50% { box-shadow: 0 0 0 4px rgb(255 59 107 / 0.55); }
}

.dl-done {
  display: grid;
  place-items: center;
  height: 70px;
  border-radius: 10px;
  background: var(--app-bg);
}

.dl-done img {
  border-radius: 10px;
}

.dl-why {
  margin-top: 18px;
  color: var(--faint);
  font-size: 13.5px;
}

.dl-again {
  margin-top: 10px;
  color: var(--faint);
  font-size: 14px;
}

.dl-again a:not(.btn) {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

.dl-again .btn,
.dl-actions .btn {
  width: 100%;
  margin-top: 6px;
}

.dl-actions {
  margin-top: 22px;
}

@media (max-width: 560px) {
  .dl-dialog {
    padding: 26px 18px 20px;
  }

  .dl-steps li {
    grid-template-columns: 1fr;
  }
}

/* ---------- Home: the small link to the lives ---------- */

.lives-link {
  margin: 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.lives-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 150ms;
}

.lives-link a span {
  color: var(--ink);
  font-weight: 650;
}

.lives-link a:hover {
  color: var(--ink);
}

/* ---------- Home: the plans' notes and everything they contain ---------- */

.plans-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 920px;
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
}

.plans-notes li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.plans-notes b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}

.included {
  max-width: 1000px;
  margin: 28px auto 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
}

.included summary {
  display: flex;
  align-items: center;
  gap: 4px 14px;
  flex-wrap: wrap;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.included summary::-webkit-details-marker {
  display: none;
}

.included summary small {
  color: var(--faint);
  font-size: 14px;
  font-weight: 500;
}

.included summary::after {
  content: "";
  width: 11px;
  height: 11px;
  margin-left: auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 200ms var(--ease);
}

.included[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.included .table-wrap {
  border-top: 1px solid var(--line);
  border-radius: 0;
}

/* ---------- Tables (plans, comparison) ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.included .table-wrap {
  border: 0;
  border-top: 1px solid var(--line);
}

.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.45;
}

.compare-3 {
  min-width: 860px;
}

.compare thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 18px 16px;
  background: #15151d;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  vertical-align: bottom;
}

.compare .th-price {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 500;
}

.compare .th-pro {
  color: var(--rose);
}

.compare .th-other {
  color: var(--muted);
}

.compare tbody th,
.compare td {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare tbody th {
  width: 40%;
  font-weight: 500;
}

.compare td {
  color: var(--muted);
}

.compare .td-pro {
  color: var(--ink);
  background: rgb(255 59 107 / 0.045);
}

.compare .td-other {
  color: var(--faint);
}

.compare tr.cat th {
  padding: 20px 16px 10px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: transparent;
}

.compare .yes {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgb(52 211 153 / 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  vertical-align: -4px;
}

.compare .no {
  color: var(--faint);
}

.table-hint {
  display: none;
  margin-bottom: 10px;
  color: var(--faint);
  font-size: 13px;
}

.source {
  margin-top: 16px;
  color: var(--faint);
  font-size: 13px;
}

@media (max-width: 860px) {
  .table-hint {
    display: block;
  }

  .compare {
    min-width: 520px;
    font-size: 13.5px;
  }

  .compare-3 {
    min-width: 700px;
  }

  .compare tbody th,
  .compare thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    background: var(--surface);
    box-shadow: 1px 0 0 var(--line);
  }

  .compare thead th:first-child {
    z-index: 3;
    background: #15151d;
  }

  .compare tr.cat th {
    max-width: none;
    width: auto;
    box-shadow: none;
  }

  .compare tbody th,
  .compare td,
  .compare thead th {
    padding: 10px 12px;
  }

  .plans-notes {
    grid-template-columns: 1fr;
  }
}

/* ---------- Other pages: their hero ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header) + 88px) 0 96px;
  text-align: center;
}

.page-hero-small {
  padding-bottom: 56px;
}

.page-hero h1 {
  max-width: 920px;
  margin-inline: auto;
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -0.045em;
}

.page-hero h1 em,
.final h2 em {
  font-style: normal;
  color: var(--rose);
}

/* A glowing horizon, still (the hero's planet, without its sky). */
.page-glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -1900px;
  width: 2400px;
  height: 2000px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow:
    0 -1px 0 0 rgb(255 170 195 / 0.7),
    0 -8px 30px 0 rgb(255 59 107 / 0.4),
    0 -60px 180px 20px rgb(255 59 107 / 0.18);
  transform: translateX(-50%);
  pointer-events: none;
}

.page-glow-low {
  bottom: -1940px;
}

.page-hero .page-glow {
  bottom: -1960px;
}

.final .page-glow {
  bottom: -1880px;
}

/* ---------- Comparison: what others do ---------- */

.not-yet {
  display: grid;
  gap: 12px;
  margin: 0;
}

.not-yet div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.not-yet dt {
  font-weight: 700;
}

.not-yet dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Lives: the list the server writes ---------- */

.lives-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgb(255 77 79 / 0.12);
  color: #ff7a7c;
  font-size: 14px;
  font-weight: 650;
}

.lives-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d4f;
  animation: pulse 1.6s infinite;
}

.lives {
  padding: 24px 0 112px;
}

.lives-count {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.lives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.live-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: border-color 200ms, transform 300ms var(--ease);
}

.live-card:hover {
  border-color: rgb(255 59 107 / 0.45);
  transform: translateY(-3px);
}

.live-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.live-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #ff4d4f;
  font-weight: 700;
}

.live-names {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.live-names strong,
.live-names span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.live-names span {
  color: var(--faint);
  font-size: 14px;
}

.live-title {
  color: var(--muted);
  font-size: 15px;
}

.live-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--faint);
  font-size: 13.5px;
}

.live-watch {
  align-self: flex-start;
}

.live-hue-0 { background: hsl(0 55% 40%); }
.live-hue-1 { background: hsl(30 55% 40%); }
.live-hue-2 { background: hsl(60 55% 36%); }
.live-hue-3 { background: hsl(90 55% 36%); }
.live-hue-4 { background: hsl(120 55% 36%); }
.live-hue-5 { background: hsl(150 55% 36%); }
.live-hue-6 { background: hsl(180 55% 36%); }
.live-hue-7 { background: hsl(210 55% 42%); }
.live-hue-8 { background: hsl(240 55% 48%); }
.live-hue-9 { background: hsl(270 55% 46%); }
.live-hue-10 { background: hsl(300 55% 42%); }
.live-hue-11 { background: hsl(330 55% 44%); }

.lives-empty {
  padding: 48px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.lives-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: 40px;
  padding: 28px;
  border: 1px solid rgb(255 59 107 / 0.35);
  border-radius: 20px;
  background:
    radial-gradient(80% 140% at 100% 50%, rgb(255 59 107 / 0.12), transparent 60%),
    var(--surface);
}

.lives-cta h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
}

.lives-cta p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Legal pages ---------- */

.prose {
  max-width: 780px;
  padding: calc(var(--header) + 64px) 0 112px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.prose h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 48px);
}

.prose h2 {
  margin: 44px 0 12px;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.01em;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 14px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.prose .updated {
  margin: 10px 0 32px;
  color: var(--faint);
  font-size: 14px;
}

.prose table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose .btn {
  margin-top: 4px;
}

/* ==========================================================================
   The 10 h of Pro, everywhere it counts; shooting stars in the sky.
   ========================================================================== */

/* Under the main buttons: a gift, with a light running along its border. */
.gift-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    linear-gradient(110deg, rgb(255 59 107 / 0.35), #ffc83d, rgb(255 59 107 / 0.35)) border-box;
  border: 1.5px solid transparent;
  color: var(--muted);
  font-size: 15px;
  box-shadow: 0 0 30px -6px rgb(255 200 61 / 0.35);
  overflow: hidden;
}

.gift-badge::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.18), transparent);
  transform: skewX(-20deg);
  animation: sweep 4s 1s ease-in-out infinite;
  pointer-events: none;
}

.gift-badge svg {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: rgb(255 200 61 / 0.15);
  fill: none;
  stroke: #ffc83d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: gift-wiggle 3s ease-in-out infinite;
}

.gift-badge b {
  color: #ffd56b;
  font-weight: 700;
}

.hero-copy .gift-badge,
.final .gift-badge,
.page-hero .gift-badge {
  text-shadow: none;
}

.hero-copy .gift-badge + .cta-note,
.final .gift-badge + .cta-note,
.page-hero .gift-badge + .cta-note {
  margin-top: 12px;
}

@keyframes gift-wiggle {
  0%, 80%, 100% { transform: rotate(0); }
  84% { transform: rotate(-12deg) scale(1.08); }
  88% { transform: rotate(10deg) scale(1.08); }
  92% { transform: rotate(-6deg); }
}

/* The proof strip: the 10 h first, in gold. */
.proof .proof-gift b {
  color: #ffd56b;
}

/* The plans: the 10 h, big. */
.trial {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px 40px;
  max-width: 920px;
  margin: 0 auto 28px;
  padding: 28px 36px;
  border: 1px solid rgb(255 200 61 / 0.35);
  border-radius: 22px;
  background:
    radial-gradient(70% 140% at 0% 50%, rgb(255 200 61 / 0.14), transparent 60%),
    radial-gradient(60% 120% at 100% 50%, rgb(255 59 107 / 0.12), transparent 60%),
    var(--surface);
  box-shadow: 0 30px 80px -40px rgb(255 200 61 / 0.35);
}

.trial-big {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.1;
}

.trial-big span {
  background: linear-gradient(120deg, #ffe08a, #ffc83d 40%, var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(64px, 9vw, 96px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.trial-text p {
  color: var(--muted);
  font-size: 16px;
}

.trial-text b {
  color: var(--ink);
  font-size: 18px;
}

.trial-text .btn {
  margin-top: 16px;
}

.billing-switch {
  margin-top: 0;
}

@media (max-width: 720px) {
  .trial {
    grid-template-columns: 1fr;
    padding: 24px 22px;
    text-align: center;
  }

  .trial-big {
    align-items: center;
  }

  .trial-text .btn {
    width: 100%;
  }

  .gift-badge {
    font-size: 14px;
  }
}

/* The lives' link: hidden until someone is live. */
.lives-link[hidden] {
  display: none;
}

.lives-link .lives-go {
  color: var(--ink);
  font-weight: 650;
}

/* Shooting stars: a few, now and then, crossing the sky. */
.meteors {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.meteors i {
  position: absolute;
  width: 170px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgb(255 255 255 / 0.95), rgb(255 150 180 / 0.5) 30%, transparent);
  opacity: 0;
  transform-origin: left center;
  animation: meteor 9s linear infinite;
}

/* The bright head. */
.meteors i::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px rgb(255 200 220 / 0.9);
}

.meteors i:nth-child(1) { top: 8%; left: 78%; animation-delay: 1.2s; }
.meteors i:nth-child(2) { top: 4%; left: 42%; animation-delay: 4.6s; animation-duration: 11s; }
.meteors i:nth-child(3) { top: 22%; left: 96%; animation-delay: 7.4s; animation-duration: 13s; }
.meteors i:nth-child(4) { top: 14%; left: 62%; animation-delay: 10.5s; animation-duration: 10s; }
.meteors i:nth-child(5) { top: 30%; left: 30%; animation-delay: 13s; animation-duration: 14s; }

/* Down to the left, fast, then gone for a while. */
@keyframes meteor {
  0% { opacity: 0; transform: rotate(-32deg) translateX(0) scaleX(0.3); }
  1% { opacity: 1; }
  7% { opacity: 1; transform: rotate(-32deg) translateX(-520px) scaleX(1); }
  9%, 100% { opacity: 0; transform: rotate(-32deg) translateX(-640px) scaleX(0.6); }
}

.final .meteors i:nth-child(n + 4) {
  display: none;
}

/* The plans' notes: one card left, centered. */
.plans-notes:has(> li:only-child) {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

/* The small print over a glowing horizon: lighter, with a shadow, never the glow's own color. */
.final .cta-note,
.final > .wrap > p,
.final .send-link,
.page-hero .cta-note,
.page-hero .lead {
  text-shadow: 0 1px 14px rgb(0 0 0 / 0.8), 0 0 2px rgb(0 0 0 / 0.7);
}

.final .cta-note {
  color: var(--muted);
}

@media (max-width: 720px) {
  .final .planet {
    top: 88%;
  }

  .final {
    padding-bottom: 150px;
  }
}

/* The final call: its gift badge keeps its own size (not the section's paragraphs'), and the
   planet's rim stays under the small print. */
.final .gift-badge {
  margin-top: 18px;
  font-size: 15px;
}

.final .planet {
  top: 80%;
}

.final {
  padding-bottom: 190px;
}

@media (max-width: 720px) {
  .final .gift-badge {
    font-size: 14px;
  }

  .final .planet {
    top: 88%;
  }
}
