/* Aurora FUT — the launcher's design on the web. A white ground, ink type, the
   mark's colours for state, hairlines between rows,
   one flat block for the primary action. Dark mode flips the blacks and whites. */
@font-face {
  font-family: "Aurora Display";
  src: url("/assets/fonts/AuroraDisplay-Regular.woff2?v=ee8e21f6ea6a5d18") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aurora Sans";
  src: url("/assets/fonts/AuroraSans-Regular.woff2?v=8a458688c1f0ccad") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aurora Sans";
  src: url("/assets/fonts/AuroraSans-Bold.woff2?v=19e8d8684214e996") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aurora Mono";
  src: url("/assets/fonts/IBMPlexMono-Regular.woff2?v=2b06662ec190459e") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fbfbfa;
  --paper: #ffffff;
  --text: #0b0c10;
  --muted: #5c6270;
  --faint: #737987;
  --hair: #e3e2de;
  --raised: #f1f1ee;
  --pink: #f2299a;
  --blue: #1677ff;
  --ok: #2fb344;
  --warn: #a16207;
  --bad: #d93025;
  --display: "Aurora Display", "Arial Black", "Segoe UI", sans-serif;
  --sans: "Aurora Sans", "Segoe UI", Arial, sans-serif;
  --mono: "Aurora Mono", "IBM Plex Mono", Consolas, monospace;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0c10;
  --paper: #0b0c10;
  --text: #fbfbfa;
  --muted: #a8b1c6;
  --faint: #7e8798;
  --hair: #262a33;
  --raised: #1a1d25;
  --ok: #61e76b;
  --warn: #e0a82e;
  --bad: #f85149;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}
h1,
h2,
h3 {
  margin: 0;
}
p {
  margin: 0;
}
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.faint {
  color: var(--faint);
}
.muted {
  color: var(--muted);
}
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.shell {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

/* ---- header --------------------------------------------------------------- */
.header {
  padding-top: 8px;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 56px;
}
.brand {
  display: block;
  flex: none;
}
.brand img {
  display: block;
  height: 56px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.nav a {
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.nav a:hover {
  color: var(--text);
  border-color: var(--text);
}
.nav a[aria-current] {
  color: var(--text);
  font-weight: 700;
  border-color: var(--pink);
}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.text-action {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
}
.text-action:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ---- the shared pieces ---------------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.eyebrow.warn {
  color: var(--warn);
}
.eyebrow.bad {
  color: var(--bad);
}
.block {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 220px;
  height: 72px;
  padding: 0 22px;
  border: 0;
  background: var(--text);
  color: var(--bg);
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.block:hover {
  background: var(--pink);
}
.block .hint {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  opacity: 0.6;
}
.block.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--hair);
}
.block.ghost:hover {
  color: var(--text);
  border-color: var(--text);
  background: var(--raised);
}
.block.small {
  min-width: 200px;
  height: 52px;
  font-size: 16px;
}
.row {
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}
.row .k {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.row .v {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}
a.v:hover {
  color: var(--pink);
}
.column-title {
  margin-bottom: 14px;
}

/* ---- home ----------------------------------------------------------------- */
.hero {
  padding: 96px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
}
.hero h1 {
  font-size: clamp(56px, 9vw, 124px);
}
.lead {
  max-width: 560px;
  font-size: 17px;
  color: var(--muted);
  margin-top: 30px;
}
.games-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
}
.games-row a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.games-row a:hover {
  color: var(--text);
  border-color: var(--text);
}
.games-row a.live {
  color: var(--text);
  font-weight: 700;
  border-color: var(--pink);
}
.tag {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 56px;
}
.live-now .row .v {
  font-size: 15px;
}
.games {
  padding: 16px 0 96px;
}
.games .eyebrow {
  margin-bottom: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.game-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
}
.game-row h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--muted);
}
.game-row.live h3 {
  color: var(--text);
}
.game-row .state {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.game-row.live .state {
  color: var(--text);
}
.game-row:hover h3 {
  color: var(--text);
}
.game-row:hover .arrow {
  transform: translateX(4px);
}
.arrow,
.chevron {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.16s;
}

/* ---- pages ---------------------------------------------------------------- */
.page {
  padding: 72px 0 96px;
  min-height: calc(100vh - 260px);
}
.page h1 {
  font-size: clamp(48px, 6vw, 64px);
}
.page-lead {
  font-size: 16px;
  color: var(--muted);
  margin: 26px 0 48px;
  max-width: 620px;
}

/* status */
.list-title {
  margin: 40px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hair);
}
.list-title:first-child {
  margin-top: 0;
}
.status-list details {
  border-bottom: 1px solid var(--hair);
  scroll-margin-top: 20px;
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
summary::-webkit-details-marker {
  display: none;
}
summary h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
}
summary p {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}
.good .dot {
  background: var(--ok);
}
.warning .dot {
  background: var(--warn);
}
.checking .dot {
  background: var(--faint);
}
details[open] .chevron {
  transform: rotate(180deg);
}
.details-body {
  padding: 0 0 26px;
}
.readings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0 32px;
  margin: 0;
}
.reading {
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
}
.reading dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.reading dd {
  margin: 6px 0 0;
  font-size: 15px;
}
.details-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--faint);
}
.refresh-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.refresh-row p {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.capacity {
  margin-top: 22px;
}
.capacity label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
progress {
  width: 100%;
  height: 2px;
  display: block;
  appearance: none;
  border: 0;
  background: var(--hair);
}
progress::-webkit-progress-bar {
  background: var(--hair);
}
progress::-webkit-progress-value {
  background: var(--pink);
}
progress::-moz-progress-bar {
  background: var(--pink);
}

/* club */
.notice {
  padding: 12px 0;
  border-top: 1px solid var(--warn);
  border-bottom: 1px solid var(--hair);
  color: var(--warn);
  font-size: 13px;
  margin-bottom: 32px;
}
.club-section > .eyebrow {
  margin-bottom: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.club-panel > p {
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  color: var(--muted);
  font-size: 14px;
}
.club-panel .readings {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.club-panel dd {
  font-size: 18px;
}
.squad-section {
  margin-top: 40px;
}
.squad-section .eyebrow {
  margin-bottom: 8px;
}
.squad-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
}
.squad-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.squad-table th {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--faint);
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
}
.squad-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 14px;
}
.squad-table th + th,
.squad-table td + td {
  padding-left: 24px;
}
.squad-table td:nth-child(3) {
  font-family: var(--mono);
  font-size: 12px;
}
.club-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.club-actions p {
  font-size: 13px;
  color: var(--muted);
}
.small {
  font-size: 12px;
  color: var(--faint);
}

/* ---- footer --------------------------------------------------------------- */
.footer {
  margin-top: 48px;
  padding: 32px 0 36px;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 12px;
}
.status-line .mono {
  font-size: 10px;
  color: var(--muted);
}
.status-line .faint {
  color: var(--faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 24px;
  font-size: 10px;
}
.footer-nav a {
  color: var(--faint);
}
.footer-nav a:hover {
  color: var(--text);
}
.disclaimer {
  flex-basis: 100%;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  font-size: 12px;
  line-height: 1.6;
  color: var(--faint);
  max-width: 720px;
}
.skip {
  position: absolute;
  left: 10px;
  top: -60px;
  background: var(--text);
  color: var(--bg);
  padding: 10px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
noscript p {
  padding: 24px 0;
}

/* ---- loading, not found, sticky call to action --------------------------- */
/* A value that has not arrived yet reads as a quiet bar, not a dash. */
.is-loading {
  color: transparent !important;
  background: linear-gradient(90deg, var(--hair) 0%, var(--raised) 50%, var(--hair) 100%);
  background-size: 200% 100%;
  border-radius: 2px;
  min-width: 3ch;
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
[aria-busy="true"] > p {
  color: var(--faint);
}
.not-found .hero-actions {
  margin-top: 40px;
}
/* On phones the home page keeps its one action within thumb reach. */
.sticky-cta {
  display: none;
}
@media (max-width: 600px) {
  html[data-page="home"] .sticky-cta {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 9;
    padding: 14px 18px;
    background: var(--text);
    color: var(--bg);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }
  html[data-page="home"] body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

/* ---- responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .shell {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 24px;
  }
  .nav {
    gap: 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 72px;
  }
  .hero h1 {
    font-size: clamp(56px, 12vw, 96px);
  }
  .live-now {
    max-width: 420px;
  }
}
@media (max-width: 600px) {
  .shell {
    width: calc(100% - 32px);
  }
  .header {
    padding-top: 8px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 16px;
  }
  .brand img {
    height: 44px;
  }
  .header-right {
    margin-left: auto;
    gap: 16px;
  }
  .nav {
    order: 3;
    flex-basis: 100%;
    gap: 20px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }
  .games-row {
    gap: 18px;
  }
  .hero-actions {
    margin-top: 40px;
  }
  .block {
    width: 100%;
  }
  .game-row h3,
  summary h2 {
    font-size: 22px;
  }
  .page {
    padding-top: 48px;
  }
  .page-lead {
    margin-bottom: 32px;
  }
  .squad-table th:first-child,
  .squad-table td:first-child {
    display: none;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
  .is-loading {
    animation: none;
  }
}


/* ==== Aurora glow, polish and profile settings ================================================ */

/* Accent choices (profile settings). "pink" is the launcher default. */
[data-accent="violet"] {
  --pink: #7457ff;
}
[data-accent="blue"] {
  --pink: #1677ff;
}
[data-accent="sky"] {
  --pink: #2aa3ff;
}
:root {
  --glass: rgba(255, 255, 255, 0.62);
  --glass-edge: rgba(11, 12, 16, 0.07);
  --glow: color-mix(in srgb, var(--pink) 38%, transparent);
  --ramp: linear-gradient(100deg, #53b7ff, #1677ff 22%, #7457ff 45%, #c600e8 64%, #f2299a 82%, #ff63b1);
}
[data-theme="dark"] {
  --glass: rgba(18, 20, 27, 0.55);
  --glass-edge: rgba(255, 255, 255, 0.07);
}

/* The launcher's aurora wash, drawn by app.js behind every page. */
.aurora-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.aurora-bg.ready {
  opacity: 1;
}
[data-aurora="off"] .aurora-bg {
  display: none;
}

/* A frosted header that stays with you. */
.header {
  position: sticky;
  top: 0;
  z-index: 8;
  padding-bottom: 8px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--glass-edge);
}
.nav a {
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a[aria-current] {
  border-image: var(--ramp) 1;
}

/* The headline carries the mark's sweep, drifting slowly. */
.hero h1 .glow,
.page h1.display {
  background: var(--ramp);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ramp-drift 12s ease-in-out infinite alternate;
}
@keyframes ramp-drift {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 100% 0;
  }
}

/* Glass panels for the reading surfaces. */
.live-now,
.club-panel,
.squad-section,
.settings,
.status-list details {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.live-now,
.club-panel,
.squad-section,
.settings {
  padding: 22px 24px;
}
.status-list details {
  padding: 0 22px;
  margin-bottom: 12px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.status-list details:hover {
  border-color: color-mix(in srgb, var(--pink) 35%, transparent);
  box-shadow: 0 10px 40px -18px var(--glow);
}

/* The primary block lifts into the accent with a soft glow. */
.block {
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.block:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -16px var(--glow);
}

/* Title rows slide toward you and pick up the sweep underneath. */
.game-row {
  position: relative;
  transition: padding 0.25s ease;
}
.game-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ramp);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.game-row.live:hover {
  padding-left: 14px;
}
.game-row.live:hover::after {
  transform: scaleX(1);
}
/* The title chips carry no underline; colour alone says which are live. */
.games-row a,
.games-row a:hover,
.games-row a.live {
  border-bottom: 0;
  padding-bottom: 0;
  transition: color 0.2s ease;
}
.games-row a.public .tag,
.game-row .state.public {
  background: var(--ramp);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Booster access reads in the launcher's violet, as on its Home card. */
.games-row a.booster .tag,
.game-row .state.booster {
  color: #7457ff;
}
[data-theme="dark"] .games-row a.booster .tag,
[data-theme="dark"] .game-row .state.booster {
  color: #a08cff;
}

/* Live things breathe. */
.good .dot,
.status-line.good .dot {
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent);
  animation: live-pulse 2.4s ease-out infinite;
}
@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent);
  }
  70% {
    box-shadow: 0 0 0 7px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

/* Signed-in badge in the header. */
[data-account-link].signed-in {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-edge);
  background: var(--glass);
  color: var(--text);
}
[data-account-link].signed-in::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ramp);
}

/* ---- profile settings ---------------------------------------------------------------------------- */
.settings {
  margin-top: 40px;
}
.settings > .eyebrow {
  margin-bottom: 8px;
}
.settings-lead {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--hair);
}
.setting h3 {
  font-size: 15px;
}
.setting p {
  color: var(--muted);
  font-size: 13px;
}
.seg {
  display: inline-flex;
  flex: none;
  padding: 3px;
  gap: 2px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: var(--raised);
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.seg button:hover {
  color: var(--text);
}
.seg button[aria-checked="true"] {
  background: var(--paper);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 1px 0 var(--glass-edge), 0 4px 14px -8px var(--glow);
}
.swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -1px;
}
.swatch-pink {
  background: #f2299a;
}
.swatch-violet {
  background: #7457ff;
}
.swatch-blue {
  background: #1677ff;
}
.swatch-sky {
  background: #2aa3ff;
}
.session-note {
  margin-top: 6px;
  color: var(--faint);
  font-size: 12px;
}
@media (max-width: 600px) {
  .setting {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .seg {
    flex-wrap: wrap;
    border-radius: 14px;
  }
}

/* Reduced motion: the aurora holds still and nothing drifts. */
[data-motion="reduced"] *,
[data-motion="reduced"] *::before,
[data-motion="reduced"] *::after {
  animation: none !important;
  transition: none !important;
}


/* ==== Home: one seamless scroll ================================================================ */
.home-scroll .chapter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 11vh, 120px) 0;
}
.home-scroll .numbers {
  padding: clamp(40px, 7vh, 80px) 0;
}
.home-scroll .hero {
  position: relative;
  min-height: calc(92vh - 110px);
  align-content: center;
  padding-top: 40px;
}
/* each chapter eases in as it rises and eases away as it leaves, so nothing ever cuts */
.home-scroll [data-scroll] {
  opacity: calc(1 - var(--exit, 0) * 1.15);
  transform: translateY(calc(var(--exit, 0) * -56px));
}
.home-scroll .hero .live-now {
  transform: translateY(calc(var(--exit, 0) * -110px));
}
.home-scroll .hero h1 {
  transform-origin: left center;
  transform: scale(calc(1 - var(--exit, 0) * 0.08));
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.titles-list .reveal:nth-child(2),
.numbers-grid .reveal:nth-child(2),
.pillars .reveal:nth-child(3) {
  transition-delay: 0.08s;
}
.titles-list .reveal:nth-child(3),
.numbers-grid .reveal:nth-child(3),
.pillars .reveal:nth-child(4) {
  transition-delay: 0.16s;
}
.titles-list .reveal:nth-child(4),
.pillars .reveal:nth-child(5) {
  transition-delay: 0.24s;
}
.titles-list .reveal:nth-child(5) {
  transition-delay: 0.32s;
}
.titles-list .reveal:nth-child(6) {
  transition-delay: 0.4s;
}
.chapter-title {
  font-size: clamp(40px, 6vw, 84px);
}
.chapter-head {
  margin-bottom: 40px;
}
.titles-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}
.titles-list {
  border-top: 1px solid var(--hair);
}
.game-row.is-current h3 {
  color: var(--text);
}
.game-row.is-current::after {
  transform: scaleX(1);
}
.ghost-num {
  font-size: clamp(140px, 24vw, 360px);
  line-height: 0.8;
  text-align: right;
  color: transparent;
  -webkit-text-stroke: 1px var(--hair);
  user-select: none;
  transition: -webkit-text-stroke-color 0.4s ease;
}
.ghost-num.is-live {
  background: var(--ramp);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0;
  opacity: 0.85;
}
.numbers-grid {
  display: grid;
  /* the clubs figure is the long one, so its column is wider and nothing can run into its neighbour */
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}
.number {
  min-width: 0;
}
.number {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}
.figure {
  font-size: clamp(40px, 5.2vw, 80px);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.number .mono {
  color: var(--faint);
}
.pillar {
  font-size: clamp(34px, 5.4vw, 78px);
  margin-bottom: 10px;
}
.pillars .lead {
  margin-top: 36px;
}
.finale {
  align-items: flex-start;
}
.scroll-cue {
  position: absolute;
  left: 0;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--faint);
}
.scroll-cue span {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--faint), transparent);
  animation: cue 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}
/* the top edge doubles as the page's progress */
html[data-page="home"] .edge {
  transform-origin: left;
  transform: scaleX(calc(0.04 + var(--page-progress, 0) * 0.96));
  animation: none;
  background-size: 100% 100%;
}
@media (max-width: 900px) {
  .titles-body {
    grid-template-columns: 1fr;
  }
  .ghost-num {
    display: none;
  }
  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .home-scroll .chapter {
    min-height: 0;
    padding: 72px 0;
  }
  .scroll-cue {
    display: none;
  }
}
[data-motion="reduced"] .reveal {
  opacity: 1;
  transform: none;
}

/* Public Aurora Club launch page. The working preview remains password gated. */
.club-coming-soon { min-height:calc(100svh - 220px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:72px 0 80px; }
.club-soon-mark { width:120px;height:auto;margin-bottom:30px; }
.club-coming-soon .eyebrow { color:var(--muted);letter-spacing:.24em;margin:0 0 18px; }
.club-coming-soon h1 { font-size:clamp(42px,7.5vw,98px);margin:0;line-height:1.08; }
.club-coming-soon h1 span { display:block;background:linear-gradient(110deg,#079bbb,#7560dc 65%,#bc55cb);background-clip:text;-webkit-background-clip:text;color:transparent; }
.club-soon-copy { max-width:480px;color:var(--muted);font-size:17px;line-height:1.65;margin:28px 0 32px; }
.club-soon-actions { display:flex;align-items:center;gap:24px; }
.club-soon-actions .block { min-width:220px;font-size:clamp(16px,2vw,22px); }
@media(max-width:600px) { .club-coming-soon { padding:48px 0 60px; }.club-soon-mark { width:96px;margin-bottom:24px; }.club-soon-copy { font-size:15px; }.club-soon-actions { flex-direction:column;gap:20px; } }
