/* Terrace's website: one design system for the home page and every page behind a link (games, clubs, competitions,
   players). Black like the app, big tight headlines in the manner of Apple's product pages, the app's condensed italic
   for labels and numbers, its pitch green, and its slanted shapes. */

:root {
  --bg: #000;
  --surface: #101012;
  --card: #1c1c1e;
  --card-2: #2c2c2e;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f5f7;
  --muted: rgba(235, 235, 245, 0.62);
  --faint: rgba(235, 235, 245, 0.38);
  --pitch: #2ee06b;
  --pitch-deep: #0f8a3c;
  --live: #ff3b30;
  --gold: #f6c453;
  --blue: #3d6dff;
  --radius: 28px;
  --display: "Barlow Condensed", "SF Pro Display", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --headline: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--pitch); color: #000; }

/* MARK: Navigation */

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 52px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.site-brand img { width: 26px; height: 26px; border-radius: 7px; }
.site-brand span { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: 0.01em; }
.site-links { display: flex; gap: 26px; margin-left: auto; font-size: 13px; }
.site-links a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.site-links a:hover { color: var(--text); }
@media (max-width: 760px) { .site-links { display: none; } .site-nav-inner { justify-content: space-between; } }

/* MARK: Buttons and type */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pitch);
  color: #000;
  font-weight: 700;
  font-size: 17px;
  padding: 12px 24px;
  border-radius: 980px;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.2s;
}
.pill:hover { transform: scale(1.04); background: #45ec7e; }
.pill-small { font-size: 13px; padding: 6px 14px; }
.pill-ghost { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.pill-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.text-link { color: var(--pitch); text-decoration: none; font-weight: 500; }
.text-link:hover { text-decoration: underline; }

.kicker, .eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pitch);
  margin: 0 0 10px;
  font-size: 19px;
}
.eyebrow.gold { color: var(--gold); }
.section-title {
  font-family: var(--headline);
  font-weight: 700;
  font-size: clamp(40px, 6.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
}
.section-title .muted, .muted { color: var(--faint); }
.section-sub { color: var(--muted); font-size: clamp(19px, 2vw, 24px); line-height: 1.38; letter-spacing: -0.01em; max-width: 720px; margin: 22px auto 0; }
.section { padding: 140px 0; position: relative; }
.section-head { max-width: 1080px; margin: 0 auto 56px; padding: 0 22px; }
.section-head.narrow { text-align: center; max-width: 920px; }
.grad {
  background: linear-gradient(100deg, var(--pitch) 10%, #23d5c4 45%, var(--blue) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Things rise into place as they come into view. */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* MARK: Devices
   A phone drawn in CSS: a titanium band, a black border and the screen, with the Dynamic Island and a glint of light
   across the glass. Sized by its width; the screenshots are the screen exactly. */

.device { --w: 300px; width: var(--w); flex: none; perspective: 1600px; }
.device-frame {
  position: relative;
  aspect-ratio: 1320 / 2868;
  border-radius: calc(var(--w) * 0.165);
  padding: calc(var(--w) * 0.032);
  background:
    linear-gradient(145deg, #f2f3f5 0%, #8d9097 18%, #3a3b40 46%, #1a1b1e 62%, #6c6f76 84%, #d9dbe0 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    inset 0 0 0 calc(var(--w) * 0.012) #0b0b0c,
    0 calc(var(--w) * 0.1) calc(var(--w) * 0.22) rgba(0, 0, 0, 0.55),
    0 calc(var(--w) * 0.02) calc(var(--w) * 0.05) rgba(0, 0, 0, 0.4);
}
.device-frame::before {
  /* The black border around the screen. */
  content: "";
  position: absolute;
  inset: calc(var(--w) * 0.012);
  border-radius: calc(var(--w) * 0.152);
  background: #000;
}
.device-frame img, .device-frame video, .device-frame .screen {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: calc(var(--w) * 0.135);
  z-index: 1;
}
.device-frame::after {
  /* A soft glint on the glass. */
  content: "";
  position: absolute;
  inset: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.135);
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 28%, transparent 42%);
  z-index: 3;
  pointer-events: none;
}
.island {
  position: absolute;
  z-index: 4;
  top: calc(var(--w) * 0.058);
  left: 50%;
  width: calc(var(--w) * 0.3);
  height: calc(var(--w) * 0.088);
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
}

/* MARK: Hero */

.hero { height: 240vh; position: relative; }
.hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.hero-sticky::before {
  /* A soft pool of the app's colours behind the phone. */
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30vh;
  width: 120vw;
  height: 90vh;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(46, 224, 107, 0.22), rgba(61, 109, 255, 0.12) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; text-align: center; padding: 108px 22px 0; max-width: 900px; will-change: opacity, transform; }
.hero-title {
  font-family: var(--headline);
  font-weight: 800;
  font-size: clamp(64px, 12vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 0;
}
.hero-sub { color: var(--muted); font-size: clamp(19px, 2.2vw, 25px); line-height: 1.35; letter-spacing: -0.012em; max-width: 680px; margin: 22px auto 0; }
.hero-actions { display: flex; gap: 26px; align-items: center; justify-content: center; margin-top: 30px; }
.hero-stage { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: center; }
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.device-hero { --w: min(300px, 62vw); margin-bottom: -16vh; }
.hero-stage.has-3d .fallback { display: none; }

/* MARK: Ticker */

.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--surface); }
.ticker-track { display: flex; gap: 28px; width: max-content; animation: ticker 40s linear infinite; align-items: center; }
.ticker-track span:not(.dot) { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.ticker-track .dot { width: 8px; height: 8px; background: var(--pitch); transform: skewX(-18deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* MARK: Highlights gallery */

.gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 max(22px, calc((100vw - 1080px) / 2));
  scroll-padding: 0 max(22px, calc((100vw - 1080px) / 2));
  outline: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery-card {
  scroll-snap-align: start;
  flex: none;
  width: min(1080px, calc(100vw - 44px));
  height: min(680px, 78vh);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  isolation: isolate;
}
.gallery-card::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.tint-live::before { background: radial-gradient(90% 70% at 50% 110%, rgba(255, 59, 48, 0.45), transparent 60%), linear-gradient(180deg, #121214, #1b0b0e); }
.tint-gaffer::before { background: radial-gradient(90% 70% at 50% 110%, rgba(110, 90, 255, 0.5), transparent 60%), linear-gradient(180deg, #121214, #120f24); }
.tint-awards::before { background: radial-gradient(90% 70% at 50% 110%, rgba(246, 196, 83, 0.45), transparent 60%), linear-gradient(180deg, #121214, #1d170a); }
.tint-wonderkid::before { background: radial-gradient(90% 70% at 50% 110%, rgba(46, 224, 160, 0.45), transparent 60%), linear-gradient(180deg, #121214, #07191a); }
.tint-match::before { background: radial-gradient(90% 70% at 50% 110%, rgba(61, 109, 255, 0.5), transparent 60%), linear-gradient(180deg, #121214, #0a1124); }
.gallery-copy { text-align: center; padding: 48px 28px 0; max-width: 760px; }
.gallery-copy h3 { font-family: var(--headline); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; margin: 0; font-weight: 700; }
.gallery-copy h3 span { color: var(--muted); }
.device-gallery { --w: min(300px, 64vw); margin-top: 36px; transition: transform 1.2s var(--ease); transform: translateY(40px); }
.gallery-card.is-current .device-gallery { transform: translateY(0); }
.gallery-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.gallery-dots { display: flex; gap: 10px; padding: 14px 18px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); }
.gallery-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.4); cursor: pointer; transition: width 0.4s var(--ease), background 0.3s; position: relative; overflow: hidden; }
.gallery-dots button.is-current { width: 46px; background: rgba(255, 255, 255, 0.3); }
.gallery-dots button.is-current::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dotfill var(--slide, 5s) linear forwards; }
.gallery.is-paused ~ .gallery-controls .gallery-dots button.is-current::after { animation-play-state: paused; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.gallery-play { width: 44px; height: 44px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.gallery-play svg { width: 16px; height: 16px; fill: currentColor; }

/* MARK: The briefing story */

.story-grid { max-width: 1080px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.story-device { position: relative; }
.device-story { --w: min(320px, 70vw); position: sticky; top: calc(50vh - 340px); margin: 0 auto; }
.story-screen { position: absolute !important; inset: calc(var(--w) * 0.032); width: calc(100% - var(--w) * 0.064) !important; height: calc(100% - var(--w) * 0.064) !important; opacity: 0; transform: scale(1.03); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.story-screen.is-on { opacity: 1; transform: none; }
.story-steps { padding: 18vh 0; }
.story-step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.25; transition: opacity 0.5s var(--ease); }
.story-step.is-on { opacity: 1; }
.story-step h3 { font-family: var(--headline); font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -0.03em; line-height: 1.06; margin: 8px 0 14px; }
.story-step p { color: var(--muted); font-size: 21px; line-height: 1.42; margin: 0; max-width: 460px; }
.step-number { font-family: var(--display); font-style: italic; font-weight: 900; color: var(--pitch); font-size: 22px; }
@media (max-width: 860px) {
  /* The phone holds still behind; each step slides up over its lower half on a card. */
  .story-grid { grid-template-columns: 1fr; }
  .story-grid > * { grid-area: 1 / 1; }
  .device-story { top: 72px; --w: min(260px, 64vw); }
  .story-steps { padding: 52vh 0 10vh; position: relative; z-index: 2; }
  .story-step { min-height: 0; margin-bottom: 70vh; padding: 22px; border-radius: 24px; background: rgba(28, 28, 30, 0.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 1; }
  .story-step p { font-size: 17px; }
}

/* MARK: Players */

.players { background: radial-gradient(60% 50% at 50% 60%, rgba(165, 0, 68, 0.28), transparent 70%); }
.dna-showcase { display: flex; align-items: center; justify-content: center; gap: 36px; padding: 0 22px; flex-wrap: wrap; }
.device-tilt-left { --w: 270px; }
.device-tilt-left .device-frame { transform: rotateY(18deg) rotateZ(-2deg); }
.device-tilt-right { --w: 270px; }
.device-tilt-right .device-frame { transform: rotateY(-18deg) rotateZ(2deg); }
.dna-panel {
  width: 360px;
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(160deg, rgba(165, 0, 68, 0.38), rgba(28, 28, 30, 0.85) 60%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.dna-panel-head { display: flex; gap: 14px; align-items: center; }
.dna-badge { width: 60px; height: 60px; border-radius: 17px; display: grid; place-items: center; background: linear-gradient(145deg, #c2185b, #5a0026); box-shadow: 0 10px 24px rgba(165, 0, 68, 0.5); }
.dna-badge svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.dna-badge svg circle { fill: #fff; stroke: none; }
.dna-title { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 44px; text-transform: uppercase; line-height: 0.9; margin: 0; }
.dna-panel .eyebrow { color: var(--muted); margin: 0 0 4px; font-size: 15px; }
.dna-caption { color: var(--muted); font-size: 14px; margin: 20px 0 10px; }
.percentiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.percentiles li { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 15px; font-weight: 600; }
.percentiles b { color: #ff9ec4; font-size: 14px; }
.percentiles i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.percentiles i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 1%); border-radius: 99px; background: linear-gradient(90deg, #7a0034, #ff5c9a); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.3s; }
.dna-panel.is-visible .percentiles i::after { transform: scaleX(1); }
.share-rings { display: flex; gap: 16px; margin-top: 22px; }
.ring { --size: 92px; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.ring span { width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; background: radial-gradient(closest-side, #1d1013 78%, transparent 80% 100%), conic-gradient(#ff5c9a calc(var(--p) * 1%), rgba(255, 255, 255, 0.1) 0); }
.ring small { color: var(--muted); font-size: 12px; font-weight: 600; }
@media (max-width: 960px) { .device-tilt-left, .device-tilt-right { display: none; } }

/* MARK: Bento */

.bento { max-width: 1080px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  border-radius: var(--radius);
  background: var(--card);
  padding: 32px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tile h3 { font-family: var(--headline); font-size: 26px; line-height: 1.14; letter-spacing: -0.025em; margin: 0; font-weight: 700; }
.tile p { color: var(--muted); margin: 10px 0 0; }
.tile .text-link { margin-top: auto; padding-top: 18px; }
.tile-wide { grid-column: span 2; flex-direction: row; gap: 30px; align-items: center; }
.tile-wide .tile-copy { flex: 1; }
.tile-live { background: radial-gradient(80% 90% at 85% 50%, rgba(255, 59, 48, 0.28), transparent 60%), var(--card); }
.lock-activity { flex: none; width: 320px; border-radius: 26px; padding: 18px 20px; background: rgba(40, 40, 44, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(20px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.la-row { display: flex; align-items: center; justify-content: space-between; }
.la-crest { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 15px; background: var(--c); }
.la-score { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 46px; display: flex; gap: 8px; align-items: center; }
.la-score i { color: var(--faint); font-style: normal; font-size: 30px; }
.la-meta { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 8px; display: flex; gap: 7px; align-items: center; }
.la-bar { height: 5px; border-radius: 9px; background: rgba(255, 255, 255, 0.15); margin-top: 12px; overflow: hidden; }
.la-bar span { display: block; height: 100%; background: var(--pitch); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); animation: pulse 1.6s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
.tile-headline { background: linear-gradient(160deg, rgba(255, 59, 48, 0.22), var(--card) 55%); }
.headline-chip { margin-top: auto; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
.headline-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: var(--live); color: #fff; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 14px; letter-spacing: 0.06em; }
.headline-tag .live-dot { background: #fff; }
.tile-challenge { background: radial-gradient(90% 80% at 100% 0%, rgba(165, 0, 68, 0.6), transparent 60%), radial-gradient(80% 80% at 0% 100%, rgba(0, 77, 152, 0.55), transparent 60%), var(--card); }
.big-number { font-family: var(--display) !important; font-style: italic; font-weight: 900 !important; font-size: 96px !important; line-height: 0.9 !important; color: var(--gold); letter-spacing: 0 !important; }
.tile-watch { flex-direction: column; }
.watch-row { display: flex; gap: 14px; margin-top: auto; padding-top: 22px; justify-content: center; }
.watch-row img { width: 46%; border-radius: 22%; box-shadow: 0 0 0 5px #222, 0 0 0 7px #555, 0 20px 40px rgba(0, 0, 0, 0.5); }
.mini-table { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.mini-table li { display: flex; align-items: center; gap: 12px; font-weight: 600; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.mini-table li span { font-family: var(--display); font-style: italic; font-weight: 900; color: var(--pitch); width: 16px; }
.mini-table li b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); }
.tile-near { grid-column: 1 / -1; background: radial-gradient(70% 90% at 80% 50%, rgba(61, 109, 255, 0.3), transparent 60%), var(--card); }
.map { flex: none; width: 360px; height: 240px; border-radius: 22px; position: relative; background:
  linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 30px 30px,
  linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 30px 30px,
  linear-gradient(135deg, #0e1730, #101a14);
  border: 1px solid var(--line); }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -100%); width: 40px; height: 40px; border-radius: 50% 50% 50% 4px; rotate: -45deg; display: grid; place-items: center; background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.4); }
.pin > * { rotate: 45deg; }
.pin { font-size: 18px; }
.pin-hot { background: var(--pitch); animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 50% { translate: 0 -6px; } }
.you { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 10px rgba(61, 109, 255, 0.25); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .lock-activity, .map { width: 100%; }
}

/* MARK: Pro */

.pro { background: radial-gradient(70% 60% at 70% 50%, rgba(246, 196, 83, 0.22), transparent 70%), linear-gradient(180deg, #000, #0d0a04 50%, #000); }
.pro-inner { max-width: 1080px; margin: 0 auto; padding: 0 22px; display: flex; gap: 60px; align-items: center; }
.pro-copy { flex: 1; }
.pro .section-title { background: linear-gradient(180deg, #fff3cf, #f6c453 60%, #b8862a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pro-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; font-size: 20px; color: var(--muted); }
.pro-list li { padding-left: 32px; position: relative; }
.pro-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 12px; background: var(--gold); clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
.pro-list b { color: var(--text); }
.pro-price { color: var(--gold); font-weight: 700; margin-top: 26px; }
.device-pro { --w: 300px; }
.device-pro .device-frame { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 0 0 4px #0b0b0c, 0 40px 120px rgba(246, 196, 83, 0.25), 0 30px 60px rgba(0, 0, 0, 0.6); }
@media (max-width: 860px) { .pro-inner { flex-direction: column; text-align: left; } }

/* MARK: Call to action and footer */

.cta { text-align: center; padding: 160px 22px; background: radial-gradient(50% 60% at 50% 100%, rgba(46, 224, 107, 0.2), transparent 70%); }
.cta-icon { width: 120px; height: 120px; border-radius: 27px; margin: 0 auto 30px; box-shadow: 0 30px 80px rgba(46, 224, 107, 0.3); }
.appstore-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; padding: 10px 22px 10px 18px; border-radius: 14px; background: #000; border: 1.5px solid rgba(255, 255, 255, 0.55); text-decoration: none; transition: transform 0.3s var(--ease), border-color 0.2s; }
.appstore-badge:hover { transform: scale(1.04); border-color: #fff; }
.appstore-badge svg { width: 30px; height: 30px; fill: #fff; }
.appstore-badge span { display: flex; flex-direction: column; text-align: left; font-family: var(--headline); font-weight: 600; font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.appstore-badge small { font-size: 12px; font-weight: 500; letter-spacing: 0; margin-bottom: 2px; }

.site-footer { background: var(--surface); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 40px 22px 30px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h4 { color: var(--text); font-size: 13px; margin: 0 0 10px; font-weight: 600; }
.footer-cols a { display: block; text-decoration: none; padding: 4px 0; }
.footer-cols a:hover { color: var(--text); }
.footer-legal { border-top: 1px solid var(--line); margin: 30px 0 0; padding-top: 18px; color: var(--faint); }
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .live-dot, .pin-hot { animation: none; }
  html { scroll-behavior: auto; }
}

/* MARK: - Pages behind links: games, clubs, competitions and players
   Each opens on a hero in the club's (or competition's) colours, then cards of data like the app's, on black. */

.page { max-width: 1080px; margin: 0 auto; padding: 92px 22px 80px; }
.page-hero {
  --a: #2ee06b;
  --b: #0f3d24;
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  padding: 34px;
  background: linear-gradient(130deg, color-mix(in srgb, var(--a) 92%, #000) 0%, color-mix(in srgb, var(--a) 55%, #000) 48%, color-mix(in srgb, var(--b) 60%, #000) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  isolation: isolate;
}
.page-hero::after {
  /* A soft light from the top corner and a darker floor, so white type always reads. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 90% at 90% 0%, rgba(255, 255, 255, 0.22), transparent 60%), linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45));
}
.page-hero.split { background: linear-gradient(115deg, color-mix(in srgb, var(--a) 85%, #000) 0 49.6%, color-mix(in srgb, var(--b) 85%, #000) 50.4% 100%); }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 16px; color: rgba(255, 255, 255, 0.82); }
.hero-tag img { width: 22px; height: 22px; object-fit: contain; }
.hero-name { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 7vw, 84px); line-height: 0.9; letter-spacing: 0.005em; margin: 10px 0 0; }
.hero-meta { color: rgba(255, 255, 255, 0.78); font-weight: 600; margin-top: 10px; }
.hero-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-crest { width: 116px; height: 116px; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35)); }
.hero-photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255, 255, 255, 0.85); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); background: rgba(255,255,255,.1); }
.slant-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; margin-top: 12px; background: var(--pitch); color: #000; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 16px; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; padding: 16px; border-radius: 22px; background: rgba(0, 0, 0, 0.22); }
.hero-stats div { text-align: center; }
.hero-stats b { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 38px; line-height: 1; }
.hero-stats span { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 14px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.04em; }
@media (max-width: 640px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } .page-hero { padding: 24px; border-radius: 28px; } }

/* The game's scoreboard. */
.scoreline { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 22px; text-align: center; }
.scoreline a { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scoreline img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35)); }
.scoreline .team { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 3vw, 30px); line-height: 0.95; }
.scoreline .score { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(64px, 11vw, 120px); line-height: 0.9; }
.scoreline .vs { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 48px; }
.scoreline .when { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 20px; color: rgba(255, 255, 255, 0.8); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: rgba(0, 0, 0, 0.3); font-weight: 700; font-size: 13px; }
.status-pill.live { background: var(--live); }
@media (max-width: 560px) { .scoreline img { width: 64px; height: 64px; } }

/* Cards of data. */
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 22px; }
.card { grid-column: span 12; border-radius: 26px; background: var(--card); padding: 24px; position: relative; overflow: hidden; }
.card.half { grid-column: span 6; }
.card.third { grid-column: span 4; }
.card.two-thirds { grid-column: span 8; }
@media (max-width: 860px) { .card.half, .card.third, .card.two-thirds { grid-column: span 12; } }
.card-title { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 17px; color: var(--muted); margin: 0 0 16px; }
.card-title::before { content: ""; width: 5px; height: 18px; background: var(--pitch); transform: skewX(-14deg); }
.card-title .more { margin-left: auto; font-family: var(--body); font-style: normal; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--pitch); text-decoration: none; font-weight: 600; }
.card .lead-text { font-size: 19px; line-height: 1.45; color: rgba(245,245,247,.9); margin: 0; }
.card p.note { color: var(--faint); font-size: 13px; margin: 14px 0 0; }

/* Bars: a three-way split (the fans' predictions, win chances). */
.split-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 3px; }
.split-bar span { display: block; height: 100%; border-radius: 3px; }
.split-legend { display: flex; justify-content: space-between; margin-top: 10px; font-weight: 700; font-size: 15px; }
.split-legend small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.big-stat { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 54px; line-height: 1; }

/* Rows. */
.rows { display: grid; gap: 2px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-radius: 14px; text-decoration: none; transition: background 0.2s; }
a.row:hover { background: rgba(255, 255, 255, 0.05); }
.row + .row { border-top: 1px solid var(--line); }
.row img.crest { width: 28px; height: 28px; object-fit: contain; }
.row img.face { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: rgba(255,255,255,.08); }
.row .main { flex: 1; min-width: 0; }
.row .main b { display: block; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .main small { color: var(--muted); font-size: 13px; }
.row .end { font-weight: 700; font-variant-numeric: tabular-nums; }
.row .chev { color: var(--faint); }
.rank { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 20px; width: 26px; text-align: center; color: var(--muted); }

/* Form chips. */
.form { display: inline-flex; gap: 4px; }
.form i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 11px; color: #fff; }
.form .W { background: #1fb954; }
.form .D { background: #6b6b70; }
.form .L { background: #e5484d; }

/* League tables. */
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th { text-align: right; color: var(--faint); font-weight: 600; font-size: 12px; padding: 0 8px 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.table th:nth-child(2) { text-align: left; }
.table td { padding: 10px 8px; border-top: 1px solid var(--line); text-align: right; font-weight: 600; }
.table td:nth-child(2) { text-align: left; }
.table td a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.table td img { width: 24px; height: 24px; object-fit: contain; }
.table tr.is-mine td { background: rgba(46, 224, 107, 0.1); }
.table tr.is-mine td:first-child { box-shadow: inset 3px 0 0 var(--pitch); }
.table .pos { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 18px; color: var(--muted); text-align: center; width: 34px; }
.table .pts { font-weight: 800; color: var(--text); }
.zone-cl td:first-child { box-shadow: inset 3px 0 0 var(--blue); }
.zone-down td:first-child { box-shadow: inset 3px 0 0 var(--live); }
@media (max-width: 560px) { .table .hide-sm { display: none; } }

/* Player tiles and percentiles. */
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.stat-tile { border-radius: 18px; background: rgba(255, 255, 255, 0.05); padding: 14px; }
.stat-tile b { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 34px; line-height: 1; }
.stat-tile span { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.stat-tile small { display: block; color: var(--faint); font-size: 12px; margin-top: 2px; }
.pct { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: 15px; }
.pct small { color: var(--muted); font-weight: 600; margin-left: 6px; }
.pct b { font-size: 14px; color: var(--accent, #ff8fbd); }
.pct i { grid-column: 1 / -1; height: 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.pct i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 1%); border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent, #ff5c9a) 50%, #000), var(--accent, #ff5c9a)); transform-origin: left; animation: grow 1.4s var(--ease) both; }
.pct i::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.3); z-index: 1; }
@keyframes grow { from { transform: scaleX(0); } }
.rings { display: flex; gap: 12px; flex-wrap: wrap; }
.rings .ring { --size: 86px; min-width: 96px; }
.rings .ring span { background: radial-gradient(closest-side, var(--card) 78%, transparent 80% 100%), conic-gradient(var(--accent, #ff5c9a) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0); }

/* The pitch, for line-ups. */
.pitch {
  position: relative;
  aspect-ratio: 68 / 105;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 20px;
  background:
    repeating-linear-gradient(180deg, #11602f 0 8.33%, #0f5629 8.33% 16.66%);
  border: 2px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.pitch::before, .pitch::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border: 2px solid rgba(255, 255, 255, 0.35); }
.pitch::before { top: 50%; width: 30%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.pitch::after { top: -2px; width: 44%; height: 16%; border-top: 0; }
.pitch .halfway { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid rgba(255, 255, 255, 0.35); }
.pitch .box-bottom { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); width: 44%; height: 16%; border: 2px solid rgba(255, 255, 255, 0.35); border-bottom: 0; }
.player-dot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 3px; width: 76px; text-decoration: none; }
.player-dot i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; background: var(--kit, #fff); color: var(--ink, #000); border: 2px solid rgba(255, 255, 255, 0.85); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); }
.player-dot span { font-size: 11px; font-weight: 700; text-align: center; line-height: 1.1; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pitch-wrap { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pitch-head { display: flex; justify-content: space-between; font-weight: 700; color: var(--muted); font-size: 14px; }

/* Timeline of goals. */
.timeline { position: relative; display: grid; gap: 10px; }
.goal-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.goal-row .min { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 18px; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); text-align: center; min-width: 52px; }
.goal-row .left { text-align: right; }
.goal-row b { font-weight: 700; }
.goal-row small { display: block; color: var(--muted); font-size: 12px; }

/* Stat comparison bars. */
.compare { display: grid; gap: 14px; }
.compare-row { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.compare-row .label { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: -8px; }
.compare-row .bars { display: flex; gap: 4px; height: 8px; }
.compare-row .bars span { border-radius: 99px; }
.compare-row .r { text-align: right; }

/* The app call-out at the end of a page. */
.app-callout { margin-top: 26px; border-radius: 30px; padding: 30px; display: flex; gap: 24px; align-items: center; background: radial-gradient(80% 120% at 100% 0%, rgba(46, 224, 107, 0.25), transparent 60%), var(--card); }
.app-callout img.icon { width: 76px; height: 76px; border-radius: 18px; }
.app-callout h3 { margin: 0; font-family: var(--headline); font-size: 26px; letter-spacing: -0.025em; }
.app-callout p { margin: 6px 0 0; color: var(--muted); }
.app-callout .actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) { .app-callout { flex-direction: column; align-items: flex-start; } .app-callout .actions { margin-left: 0; } }

/* Simple pages (posts, invites, watch parties): one card in the middle. */
.simple { max-width: 640px; margin: 0 auto; padding: 110px 22px 80px; }
.simple h1 { font-family: var(--headline); font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.035em; line-height: 1.05; margin: 8px 0 14px; }
.simple .lead-text { color: var(--muted); font-size: 19px; }
.simple .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.form-field { width: 100%; font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); color: var(--text); }
.prose { max-width: 760px; margin: 0 auto; padding: 110px 22px 80px; }
.prose h1 { font-family: var(--headline); font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.035em; line-height: 1.04; }
.prose h2 { font-family: var(--headline); letter-spacing: -0.02em; margin-top: 36px; }
.prose p, .prose li { color: rgba(245, 245, 247, 0.82); }

/* A club's goals, game by game: scored rising above the line, conceded hanging below it. */
.goal-chart { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; height: 220px; align-items: stretch; }
.goal-bar { display: grid; grid-template-rows: 1fr 2px 0.6fr 26px; justify-items: center; text-decoration: none; }
.goal-bar .up { align-self: end; width: 70%; max-width: 30px; min-height: 3px; border-radius: 6px 6px 2px 2px; grid-row: 1; transform-origin: bottom; animation: rise 1s var(--ease) both; }
.goal-bar .down { align-self: start; width: 70%; max-width: 30px; border-radius: 2px 2px 6px 6px; background: rgba(255, 255, 255, 0.28); grid-row: 3; transform-origin: top; animation: rise 1s var(--ease) both; }
.goal-bar::before { content: ""; grid-row: 2; width: 100%; background: var(--line); }
.goal-bar img { grid-row: 4; width: 20px; height: 20px; object-fit: contain; align-self: end; }
.goal-bar:hover .up { filter: brightness(1.25); }
@keyframes rise { from { transform: scaleY(0); } }

/* The league's Recap and Preview. */
.story-headline { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 38px); line-height: 0.95; margin: 0 0 16px; }
.story-heading { font-size: 17px; margin: 18px 0 6px; }
.story-body { color: rgba(245, 245, 247, 0.82); margin: 0 0 10px; line-height: 1.55; }

/* Calling the score on the web. */
.web-pick form { display: grid; gap: 12px; }
.web-pick [hidden] { display: none !important; }
.pick-sides { display: flex; align-items: flex-end; justify-content: center; gap: 12px; margin: 0 0 6px; }
.pick-side { display: grid; justify-items: center; gap: 6px; flex: 1; min-width: 0; }
.pick-side > span { font-weight: 700; font-size: 14px; text-align: center; color: var(--muted); }
.pick-dash { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 34px; padding-bottom: 6px; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: var(--text); font-size: 22px; font-weight: 600; cursor: pointer; }
.stepper button:active { transform: scale(0.94); }
.stepper output { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 48px; min-width: 34px; text-align: center; }
.web-pick select option { color: #000; }
.web-pick .note { color: var(--faint); font-size: 13px; margin: 0; }
.pick-error { color: #ff6b62 !important; }
.pick-saved { font-weight: 700; color: var(--pitch); margin: 4px 0 0; }
.founding-reserved { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: linear-gradient(90deg, rgba(246, 196, 83, 0.18), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(246, 196, 83, 0.45); margin-top: 10px; }
.founding-reserved .star { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(160deg, #ffd76b, #c68a0f); color: #000; font-size: 20px; }
.founding-reserved b { display: block; }
.founding-reserved span { display: block; font-size: 13px; color: var(--muted); }
.page .row .end small { font-weight: 600; }

/* MARK: - Feature chapters
   Each big feature has its own colour, carried by its eyebrow, its step numbers and a pool of light behind its phone. */

.story { --accent: var(--pitch); }
.story .eyebrow, .story .step-number { color: var(--accent); }
.story .device-story::after { content: ""; position: absolute; inset: 10% -30%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%); filter: blur(30px); pointer-events: none; }
.story .device-story { isolation: isolate; }
.story-grid.flip .story-device { order: 2; }
.chapter-gaffer { --accent: #9d8bff; }
.chapter-briefing { --accent: var(--pitch); }
.chapter-recaps { --accent: #ff5a4f; }
.chapter-highlights { --accent: #2ee0c4; }
.chapter-posting { --accent: #ff6fb1; }
.chapter-predictor { --accent: #5b8cff; }
.grad-gaffer { background: linear-gradient(100deg, #b9a8ff, #6f5bff 60%, #2ee06b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-recaps { background: linear-gradient(100deg, #ff8a5c, #ff3b30 50%, #b4005a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-posting { background: linear-gradient(100deg, #ff9ec4, #ff4f9a 50%, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-predictor { background: linear-gradient(100deg, #8fb0ff, #3d6dff 50%, #2ee0c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story video.story-screen { background: #000; }
.format-chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 480px; }
.format-chips li { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 15px; padding: 5px 12px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: color-mix(in srgb, var(--accent) 70%, #fff); }
@media (max-width: 860px) { .story-grid.flip .story-device { order: 0; } .format-chips { display: none; } }

/* A screen drawn in HTML, in the app's style, for what's hard to film: the fact check and Catch Me Up. */
.mock-screen { background: radial-gradient(120% 60% at 50% 0%, #2a0f22, #0b0b0d 60%); padding: calc(var(--w) * 0.17) calc(var(--w) * 0.05) 0; font-size: calc(var(--w) * 0.042); line-height: 1.35; overflow: hidden; display: flex; flex-direction: column; gap: calc(var(--w) * 0.03); }
.mock-top { display: flex; align-items: center; gap: 10px; font-size: 1.05em; }
.mock-top b { flex: 1; text-align: center; margin-right: 1.4em; }
.mock-back { width: 1.6em; height: 1.6em; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.mock-comment { background: #1c1c1e; border-radius: 14px; padding: 10px 12px; }
.mock-comment p { margin: 4px 0 0; }
.mock-user { color: var(--muted); font-size: 0.85em; font-weight: 600; }
.mock-label { font-family: var(--display); font-style: italic; font-weight: 800; letter-spacing: 0.04em; color: var(--muted); margin: 0; font-size: 0.9em; }
.mock-label .sparkle { color: var(--pitch); font-style: normal; }
.mock-label.live { color: #ff6b62; display: flex; align-items: center; gap: 6px; }
.mock-claim { display: flex; gap: 10px; background: #1c1c1e; border-radius: 14px; padding: 10px 12px; }
.mock-claim i { flex: none; width: 1.5em; height: 1.5em; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 0.85em; color: #000; }
.mock-claim.right i { background: var(--pitch); }
.mock-claim.wrong i { background: #ff5a4f; }
.mock-claim b { display: block; font-size: 0.92em; }
.mock-claim span { display: block; color: var(--muted); font-size: 0.85em; margin-top: 2px; }
.mock-foot { color: var(--faint); font-size: 0.78em; margin: 0; }
.mock-card { background: linear-gradient(160deg, rgba(255, 111, 177, 0.22), #1c1c1e 60%); border-radius: 16px; padding: 12px; display: grid; gap: 4px; }
.mock-card span { color: var(--muted); font-size: 0.88em; }

/* MARK: - "And there's so much more": cards that open */

.more-grid { max-width: 1080px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.section-sub.left { margin: 14px 0 0; }
.more-card {
  --tint: var(--pitch);
  position: relative; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 0;
  height: 440px; border-radius: var(--radius); padding: 28px; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
  background: radial-gradient(90% 60% at 50% 110%, color-mix(in srgb, var(--tint) 40%, transparent), transparent 70%), var(--card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.more-card:hover { transform: scale(1.015); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.more-card:focus-visible { outline: 3px solid var(--tint); outline-offset: 3px; }
.more-eyebrow { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: color-mix(in srgb, var(--tint) 75%, #fff); font-size: 16px; }
.more-title { font-family: var(--headline); font-weight: 700; font-size: 26px; line-height: 1.12; letter-spacing: -0.025em; }
.more-plus { position: absolute; right: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 300; background: rgba(255,255,255,.92); color: #000; transition: transform 0.4s var(--ease); }
.more-card:hover .more-plus { transform: rotate(90deg); }
.more-art { margin-top: auto; display: block; }
.more-art.shot { margin: auto -28px -28px; height: 250px; overflow: hidden; display: flex; justify-content: center; }
.more-art.shot img { width: 62%; border-radius: 26px 26px 0 0; object-fit: cover; object-position: top; box-shadow: 0 0 0 6px #111, 0 -10px 40px rgba(0,0,0,.4); margin-top: 18px; }
.mock-mini { background: #0d0d0f; border-radius: 18px; padding: 16px; display: grid; gap: 8px; margin-bottom: 40px; border: 1px solid var(--line); }
.mock-mini b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; line-height: 1; }
.mock-mini.live b { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.mock-mini i { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); }
.mock-mini i.short { width: 60%; }
.more-art.faces { display: flex; justify-content: center; gap: 18px; margin-bottom: 48px; }
.more-art.faces img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; background: rgba(255,255,255,.1); border: 3px solid color-mix(in srgb, var(--tint) 80%, #fff); box-shadow: 0 16px 30px rgba(0,0,0,.4); }
.more-art.bars { display: grid; gap: 10px; margin-bottom: 52px; }
.more-art.bars i, .mock-bars i { display: block; position: relative; height: 30px; border-radius: 10px; background: rgba(255,255,255,.07); font-style: normal; font-weight: 700; font-size: 14px; line-height: 30px; padding: 0 12px; overflow: hidden; isolation: isolate; }
.more-art.bars i::before, .mock-bars i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 1%); background: linear-gradient(90deg, color-mix(in srgb, var(--tint, #8b7bff) 40%, transparent), var(--tint, #8b7bff)); z-index: -1; border-radius: 10px; }
.more-art.notes, .notes-big { display: grid; gap: 10px; margin-bottom: 48px; }
.more-art.notes span, .notes-big span { display: block; background: rgba(40,40,44,.85); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; font-size: 14px; color: var(--muted); }
.more-art.notes b, .notes-big b { display: block; color: var(--gold); font-family: var(--display); font-style: italic; font-weight: 900; font-size: 15px; letter-spacing: 0.04em; }
@media (max-width: 900px) { .more-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .more-grid { grid-template-columns: 1fr; } .more-card { height: 400px; } }

/* The sheet a card opens into. */
.more-sheet { border: 0; padding: 0; width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 64px); border-radius: 34px; background: #161618; color: var(--text); box-shadow: 0 40px 120px rgba(0,0,0,.7); overflow: auto; }
.more-sheet::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.more-sheet[open] { animation: sheet-in 0.55s var(--ease); }
.more-sheet[open]::backdrop { animation: fade-in 0.4s ease; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(40px) scale(0.97); } }
@keyframes fade-in { from { opacity: 0; } }
.sheet-close { position: sticky; top: 18px; float: right; margin: 18px 18px 0 0; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 15px; cursor: pointer; z-index: 2; }
.sheet-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 56px; align-items: center; }
.sheet-copy h3 { font-family: var(--headline); font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.03em; line-height: 1.08; margin: 6px 0 16px; }
.sheet-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.5; }
.sheet-shot { display: flex; justify-content: center; }
.sheet-shot img { width: min(300px, 100%); border-radius: 36px; box-shadow: 0 0 0 8px #0b0b0c, 0 0 0 10px #5a5753, 0 30px 60px rgba(0,0,0,.5); }
.sheet-mock { background: #0b0b0d; border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: grid; gap: 10px; }
.sheet-mock h4 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 30px; line-height: 0.95; margin: 0; text-transform: uppercase; }
.sheet-mock p { margin: 0; color: rgba(245,245,247,.82); line-height: 1.5; }
.sheet-mock .mock-foot { color: var(--faint); }
.mock-bars { display: grid; gap: 10px; --tint: #8b7bff; }
.mock-bars i { display: flex; justify-content: space-between; }
.mock-vs { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mock-vs img { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.1); object-fit: cover; }
.mock-vs b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; text-transform: uppercase; text-align: center; }
@media (max-width: 760px) { .sheet-body { grid-template-columns: 1fr; padding: 40px 24px 28px; } }

/* MARK: - Pro, sold properly */

.pro-lead { font-size: clamp(20px, 2.2vw, 26px); color: var(--muted); margin: 22px 0 0; }
.pro-grid { max-width: 1080px; margin: 70px auto 0; padding: 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pro-tile { border-radius: 26px; padding: 26px; background: linear-gradient(160deg, rgba(246, 196, 83, 0.14), rgba(28, 28, 30, 0.9) 55%); border: 1px solid rgba(246, 196, 83, 0.22); }
.pro-tile h3 { margin: 16px 0 6px; font-size: 21px; letter-spacing: -0.02em; }
.pro-tile p { margin: 0; color: var(--muted); }
.pro-icon { display: inline-grid; place-items: center; min-width: 52px; height: 52px; padding: 0 10px; border-radius: 16px; background: linear-gradient(160deg, #ffe39a, #c68a0f); color: #1a1200; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 24px; box-shadow: 0 10px 24px rgba(246,196,83,.25); }
.pro-tile.shop { background: linear-gradient(160deg, rgba(165, 0, 68, 0.3), rgba(28, 28, 30, 0.9) 60%); border-color: rgba(255,255,255,.1); }
.pro-tile.shop .pro-icon { background: linear-gradient(160deg, #a50044 0 50%, #004d98 50%); color: #fff; }
.pro-plans { max-width: 1080px; margin: 40px auto 0; padding: 0 22px; display: flex; gap: 18px; align-items: stretch; flex-wrap: wrap; }
.plan { flex: 1; min-width: 200px; border-radius: 22px; padding: 18px 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(246,196,83,.25); display: grid; }
.plan span { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; color: var(--gold); letter-spacing: 0.04em; }
.plan b { font-size: 34px; letter-spacing: -0.02em; }
.plan small { color: var(--muted); }
.pill-gold { background: linear-gradient(180deg, #ffe08a, #f6c453); color: #1a1200; align-self: center; font-size: 19px; padding: 16px 28px; }
.pill-gold:hover { background: linear-gradient(180deg, #fff0b8, #ffd36b); }
.pro-free { max-width: 1080px; margin: 26px auto 0; padding: 0 22px; color: var(--faint); font-size: 15px; }
.device-pro video { object-fit: cover; }
@media (max-width: 860px) { .pro-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pro-grid { grid-template-columns: 1fr; } }

/* MARK: - Creators */

.creator-hero { max-width: 1080px; margin: 0 auto; padding: 120px 22px 60px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; min-height: 100vh; }
.creator-title { font-size: clamp(54px, 7.4vw, 96px); }
.creator-hero .hero-sub { margin-left: 0; }
.creator-hero .hero-actions { justify-content: flex-start; flex-wrap: wrap; }
.creator-note { color: var(--faint); margin-top: 18px; font-size: 15px; }
.creator-preview { margin: 0; position: relative; justify-self: center; }
.creator-preview .device { --w: min(330px, 78vw); }
.preview-cover { position: absolute; inset: calc(var(--w) * 0.032); z-index: 5; border: 0; border-radius: calc(var(--w) * 0.135); background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.65)); color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; padding-bottom: 46px; font: inherit; font-weight: 700; }
.preview-cover[hidden] { display: none; }
.play-disc { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: transform 0.3s var(--ease); }
.preview-cover:hover .play-disc { transform: scale(1.08); }
.play-disc svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.preview-end { position: absolute; inset: calc(var(--w) * 0.032); z-index: 5; border-radius: calc(var(--w) * 0.135); background: rgba(0,0,0,.78); backdrop-filter: blur(14px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.preview-end[hidden] { display: none; }
.preview-end-title { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 0.95; padding: 0 20px; }
.preview-replay { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; }
.creator-preview.playing .founder-chip { opacity: 0; }
.founder-chip { position: absolute; left: -40px; bottom: 70px; z-index: 6; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(30,30,34,.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(246,196,83,.35); box-shadow: 0 20px 40px rgba(0,0,0,.5); transition: opacity 0.4s; }
.founder-chip .star { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #ffe39a, #c68a0f); color: #000; font-size: 20px; }
.founder-chip b { display: block; font-size: 15px; }
.founder-chip span:not(.star) { color: var(--gold); font-family: var(--display); font-style: italic; font-weight: 800; }
@media (max-width: 860px) { .creator-hero { grid-template-columns: 1fr; text-align: left; padding-top: 100px; } .founder-chip { left: -10px; } }

.creator-cards { max-width: 1080px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.creator-card { --tint: var(--pitch); border-radius: var(--radius); padding: 28px; overflow: hidden; display: flex; flex-direction: column; background: radial-gradient(90% 60% at 50% 110%, color-mix(in srgb, var(--tint) 35%, transparent), transparent 70%), var(--card); min-height: 560px; }
.creator-card .eyebrow { color: color-mix(in srgb, var(--tint) 75%, #fff); }
.creator-card h3 { font-size: 26px; letter-spacing: -0.025em; margin: 0 0 8px; }
.creator-card > p:not(.eyebrow) { color: var(--muted); margin: 0 0 20px; }
.creator-shot { margin: auto -28px -28px; height: 300px; display: flex; justify-content: center; overflow: hidden; }
.creator-shot video { width: 62%; aspect-ratio: 600 / 1304; height: auto; border-radius: 26px 26px 0 0; object-fit: cover; object-position: top; box-shadow: 0 0 0 6px #111; margin-top: 6px; background: #000; }
.mini-league, .mini-profile { margin-top: auto; background: #0d0d0f; border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.league-name { font-weight: 700; display: flex; justify-content: space-between; margin-bottom: 10px; }
.league-name span { color: var(--muted); font-weight: 600; font-size: 14px; }
.mini-league ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini-league li { display: flex; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.05); font-weight: 600; }
.mini-league li span { font-family: var(--display); font-style: italic; font-weight: 900; color: var(--muted); width: 14px; }
.mini-league li b { margin-left: auto; }
.mini-league li.is-you { background: color-mix(in srgb, var(--tint) 22%, transparent); box-shadow: inset 3px 0 0 var(--tint); }
.beat { margin: 12px 0 0; color: var(--gold); font-weight: 700; font-size: 14px; }
.profile-top { display: flex; gap: 12px; align-items: center; }
.profile-top .avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #ef0107; font-weight: 800; font-size: 20px; }
.profile-top b { display: block; }
.founder { color: var(--gold); font-size: 13px; font-weight: 700; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; text-align: center; }
.profile-stats b { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 28px; }
.profile-stats span { color: var(--muted); font-size: 12px; }
.live-line { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
@media (max-width: 900px) { .creator-cards { grid-template-columns: 1fr; } .creator-card { min-height: 0; } }

.challenge-wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; font-size: 19px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 12px; background: var(--pitch); clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
.soon-tag { display: inline-block; vertical-align: middle; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.1); color: var(--muted); margin-left: 6px; }
.challenge-panel { display: grid; gap: 14px; }
.quote { background: var(--card); border-radius: 24px; padding: 20px 22px; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.quote.reply { margin-left: 40px; background: #232326; }
.quote p { margin: 0; }
.q-who { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.q-who b { color: var(--text); }
.q-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; }
.q-text { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 40px; text-transform: uppercase; margin-top: 10px !important; line-height: 1; }
.q-text.small { font-family: var(--headline); font-style: normal; text-transform: none; font-size: 22px; font-weight: 700; }
.q-meta { color: var(--muted); margin-top: 8px !important; }
.graded { justify-self: start; margin-left: 40px; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; padding: 6px 16px; background: var(--pitch); color: #000; clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
@media (max-width: 860px) { .challenge-wrap { grid-template-columns: 1fr; } }

.perks .pro-tile h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.request-card { max-width: 900px; margin: 0 auto; border-radius: 34px; padding: 44px; background: radial-gradient(80% 100% at 100% 0%, rgba(46,224,107,.18), transparent 60%), var(--card); }
.section-title.small { font-size: clamp(32px, 4vw, 48px); }
.request-intro p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.request-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--muted); }
.request-form label > span { display: flex; justify-content: space-between; }
.request-form input, .request-form select, .request-form textarea { font: inherit; font-size: 16px; padding: 13px 15px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: var(--text); }
.request-form select option { color: #000; }
.request-form .wide { grid-column: 1 / -1; }
.request-form button { justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 18px; padding: 15px; }
.optional { color: var(--faint); font-weight: 500; }
.trap { position: absolute; left: -9999px; }
.form-error { color: #ff6b62; margin: 0; }
.request-done { text-align: center; padding: 30px 0; }
.request-done[hidden] { display: none; }
.done-star { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(160deg, #ffe39a, #c68a0f); color: #000; font-size: 30px; }
@media (max-width: 640px) { .request-form { grid-template-columns: 1fr; } .request-card { padding: 28px 22px; } }

/* MARK: - Join */

.join-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 30px 0 10px; }
.join-title { font-size: clamp(48px, 6.6vw, 84px); }
.join-copy .hero-sub { margin-left: 0; }
.join-copy .hero-actions { justify-content: flex-start; }
.join-note { background: rgba(46,224,107,.12); border: 1px solid rgba(46,224,107,.3); border-radius: 16px; padding: 12px 14px; margin: 18px 0 0; }
.join-small { color: var(--faint); font-size: 14px; margin-top: 16px; }
.join-clubs { background: var(--card); border-radius: 30px; padding: 24px; display: grid; gap: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.club-progress { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-radius: 14px; text-decoration: none; }
.club-progress:hover { background: rgba(255,255,255,.04); }
.club-progress img { width: 30px; height: 30px; object-fit: contain; }
.club-progress .main { flex: 1; display: grid; gap: 6px; }
.club-progress b { font-size: 15px; }
.club-progress .track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.club-progress .track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--club) 55%, #000), var(--club)); animation: grow 1.4s var(--ease) both; transform-origin: left; }
.club-progress .end { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }
.club-progress .end small { color: var(--faint); font-weight: 600; }
.join-form { display: grid; gap: 12px; margin-top: 18px; }
.join-form .pill { justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.join-form[hidden], .waitlist-done[hidden] { display: none; }
.join-invite-body { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.join-preview { margin: 0; position: relative; }
.join-preview .device { --w: 170px; }
.join-preview .play-disc { width: 54px; height: 54px; }
.join-preview .preview-cover { padding-bottom: 0; justify-content: center; }
.join-preview .preview-end-title { font-size: 20px; }
.join-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); }
.join-steps b { color: var(--text); }
.join-waiting { margin-top: 70px; }
.waiting-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.waiting-tile { --tint: var(--pitch); border-radius: 26px; padding: 22px 22px 0; height: 380px; overflow: hidden; display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: radial-gradient(90% 60% at 50% 110%, color-mix(in srgb, var(--tint) 40%, transparent), transparent 70%), var(--card); transition: transform 0.4s var(--ease); }
.waiting-tile:hover { transform: translateY(-4px); }
.waiting-tile span { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; color: color-mix(in srgb, var(--tint) 75%, #fff); }
.waiting-tile b { font-size: 19px; line-height: 1.2; letter-spacing: -0.015em; }
.waiting-tile img { margin: auto auto 0; width: 74%; border-radius: 22px 22px 0 0; box-shadow: 0 0 0 5px #111; }
@media (max-width: 900px) { .join-hero { grid-template-columns: 1fr; } .waiting-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .join-invite-body { grid-template-columns: 1fr; justify-items: center; } .waiting-grid { grid-template-columns: 1fr 1fr; } .waiting-tile { height: 300px; } }
