/* ============================================================
   Space Fast — shared stylesheet
   Palette, type and art from the owner's Space Fast design package (2026-11-23);
   the package itself is not in the repo. See "the look" at the end.
   ============================================================ */

/* The display face is self-hosted (Apache 2.0, assets/fonts/OPEN-SANS-LICENSE.txt):
   Google Fonts no longer serves Open Sans Condensed as its own family. Open Sans
   for body text comes from Google Fonts, linked on each page. One bold file
   covers every display weight the site asks for (600-900). */
@font-face {
  font-family: "Open Sans Condensed";
  src: url("../assets/fonts/open-sans-condensed-bold.woff") format("woff");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette: Space Fast (owner's design package, 2026-11-23). The variable
     NAMES are historical (--purple held a blue in the engine this was forked
     from, then two other rooms' signature colours); only the VALUES change,
     because every component in this file reads them. Metallic gold is both
     the colour that means "act on this" (--orange) and the signature
     (--purple, --pink: highlighted words, glows, active states), as the
     package maps it; --gold is the same gold for rewards and Space Points.
     Cyan is links and focus. Panels are deep navy with a blue line. See
     "the look" at the end of this file. */
  --bg: #05070d;
  --bg-raised: #0a1320;
  --bg-card: #0f1c2c;
  --panel: rgba(57, 149, 232, 0.05);
  --border: rgba(96, 140, 190, 0.38);
  --border-soft: rgba(120, 160, 210, 0.16);
  --purple: #ffc74b;
  --purple-deep: #d99a1f;
  --purple-light: #ffe08a;
  --orange: #ffc74b;
  --orange-deep: #f3b42a;
  --gold: #ffc74b;
  --cyan: #45d2fa;
  --pink: #ffc74b;
  --green: #3ddc84;
  --text: #f8f8f5;
  --muted: #a2afc2;
  --radius: 14px;
  --font-display: "Open Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-brand: "Open Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* the [hidden] attribute must win over any class that sets a display value
   (.btn, .verify-skip, …) — otherwise hiding an element in JS silently
   does nothing */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient neon glow washes behind the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(255, 199, 75, 0.08), transparent 60%),
    radial-gradient(700px 420px at -10% 25%, rgba(69, 210, 250, 0.06), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(69, 210, 250, 0.05), transparent 60%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

/* The header is sticky and 72px tall, so jumping to an in-page anchor would
   park the heading you asked for underneath it — every Menu destination
   (#activity, #gameAccounts, #profile…) landed a header-height too far down. */
:target { scroll-margin-top: 92px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  font-family: var(--font-brand);
  font-weight: 700;
  user-select: none;
}

/* The mark is the gold crown cut-out (transparent PNG), not a round badge */
.brand-mark {
  flex: none;
  width: 46px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 199, 75, 0.25));
}

/* the two words of the wordmark sit on one line */
.brand-text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.32em;
  line-height: 1;
  white-space: nowrap;
}

.brand .brand-x,
.brand .brand-sub {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  filter: none;
  transform: none;
  text-shadow: none;
}

.main-nav {
  display: flex;
  gap: 6px;
  margin-inline: auto;
}

/* js/main.js moves HOME/GAMES into the Menu and hides .main-nav at every width.
   That nav's auto margins were the only thing pushing SIGN IN and the Menu
   button to the right, so without this they collapse against the logo on a wide
   screen. Scoped to [hidden] so that if the script never runs, the original
   centred-nav header is still what you get. */
.site-header .main-nav[hidden] ~ .sign-in,
.site-header .main-nav[hidden] ~ .nav-toggle {
  margin-left: auto;
}

/* only the first of them needs the push — the rest ride along beside it */
.site-header .main-nav[hidden] ~ .sign-in ~ .nav-toggle {
  margin-left: 0;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--text); }

.main-nav a.active { color: var(--text); }

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  box-shadow: 0 0 10px rgba(255, 199, 75, 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.6px;
  border-radius: 12px;
  padding: 13px 26px;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

/* A DISABLED BUTTON HAS TO LOOK DISABLED.
 *
 * Only `.btn-danger` had this, so every other variant kept its full colour and
 * glow while refusing the click — MARK DONE sat there looking pressable until
 * a receipt was attached, and a button that ignores you reads as a broken page,
 * not as a step you haven't done yet. It also covers the transient case: most
 * of the portal disables a button while its request is in flight, which is
 * exactly when the press needs to look like it landed.
 *
 * `!important` because the variant rules set `box-shadow` at the same
 * specificity and the cascade would otherwise decide it by source order. */
.btn:disabled,
.btn[disabled] {
  opacity: 0.4;
  box-shadow: none !important;
  cursor: not-allowed;
}

/* and it must not pretend to react */
.btn:disabled:hover,
.btn[disabled]:hover { box-shadow: none !important; }
.btn:disabled:active,
.btn[disabled]:active { transform: none; }

.btn-primary {
  color: #11151c;
  background: linear-gradient(180deg, #ffdb7d 0%, var(--orange) 45%, var(--orange-deep) 100%);
  box-shadow: 0 0 22px rgba(255, 199, 75, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 0 32px rgba(255, 199, 75, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-outline {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 199, 75, 0.08);
}

.btn-outline:hover {
  border-color: var(--purple);
  box-shadow: 0 0 18px rgba(255, 199, 75, 0.35);
}

.btn-ghost-pill {
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 22px;
  background: rgba(255, 199, 75, 0.06);
}

.btn-ghost-pill:hover {
  border-color: var(--purple);
  box-shadow: 0 0 16px rgba(255, 199, 75, 0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------- Hero: see "Space Fast — homepage" at the end of this file ---------- */

/* ---------- Section shells ---------- */

.section { padding: 48px 0; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #ffffff 5%, #ffe9a3 55%, var(--purple) 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-intro {
  color: var(--muted);
  max-width: 60ch;
  margin-top: 12px;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 199, 75, 0.09), rgba(255, 199, 75, 0.03));
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 28px;
}

/* ---------- Game category cards ---------- */

.category-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
  display: block;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: 0 12px 40px rgba(255, 199, 75, 0.35);
}

.game-card.card-fire { border-color: rgba(255, 199, 75, 0.55); }
.game-card.card-fire:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 40px rgba(255, 199, 75, 0.35);
}

.game-card .card-scene {
  aspect-ratio: 1.7 / 1;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: #0f1c2c;
}

.game-card .card-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.game-card:hover .card-scene img { transform: scale(1.05); }

.game-card .card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
}

.card-label .go {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--purple-light);
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.game-card:hover .go { background: var(--purple); color: #11151c; }

/* ---------- Join banner (games + FAQ) ---------- */

.join-banner {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.join-banner .lock {
  flex: none;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.join-banner .lock svg { width: 100%; height: 100%; }

.join-banner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.join-banner p { color: var(--muted); margin-top: 6px; max-width: 52ch; font-size: 0.95rem; }

.join-banner .btn { margin-left: auto; }

/* ---------- Dashboard ---------- */

.dash-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: start;
  padding: 40px 0 64px;
}

.dash-sidebar {
  position: sticky;
  top: 92px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: var(--bg-raised);
  padding: 22px 14px;
}

.dash-sidebar .brand { margin: 4px 10px 22px; }

.dash-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.dash-sidebar nav a svg,
.dash-sidebar .logout a svg { width: 18px; height: 18px; flex: none; }

.dash-sidebar .logout a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.dash-sidebar .logout a:hover { color: var(--text); background: rgba(255, 199, 75, 0.1); }

.dash-sidebar nav a:hover { color: var(--text); background: rgba(255, 199, 75, 0.1); }

.dash-sidebar nav a.active {
  color: #11151c;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple));
  box-shadow: 0 0 18px rgba(255, 199, 75, 0.4);
}

.dash-sidebar .logout { margin-top: 18px; border-top: 1px solid var(--border-soft); padding-top: 14px; }

.dash-main { display: grid; gap: 20px; }

.dash-row {
  display: grid;
  gap: 20px;
}

.dash-row.cols-3 { grid-template-columns: 1.2fr 1fr 1.1fr; }
.dash-row.cols-2 { grid-template-columns: 1.5fr 1fr; }

.dash-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 22px;
}

.welcome-card { display: flex; gap: 18px; align-items: center; }

.avatar {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  box-shadow: 0 0 22px rgba(255, 199, 75, 0.5);
  background: radial-gradient(circle at 35% 30%, #1e40af, #10203c);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.avatar svg { width: 48px; height: 48px; }

.welcome-card .who .hi { color: var(--muted); font-size: 0.85rem; }

.welcome-card .who h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vip-chip {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--gold);
  border: 1px solid rgba(255, 199, 75, 0.55);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(255, 199, 75, 0.08);
}

.level-meter { margin-top: 10px; }

.level-meter .meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.level-bar {
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 199, 75, 0.15);
  overflow: hidden;
}

.level-bar span {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 0 12px rgba(255, 199, 75, 0.7);
}

.balance-card { text-align: center; }

.balance-card .label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}

.balance-card .amount {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--gold);
  text-shadow: 0 0 26px rgba(255, 199, 75, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.xc-coin {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe9a3, var(--gold) 45%, #b97709 100%);
  color: #6b4300;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.78rem;
  box-shadow: 0 0 18px rgba(255, 199, 75, 0.55), inset 0 -3px 6px rgba(120, 70, 0, 0.5);
}

.xc-coin.small { width: 26px; height: 26px; font-size: 0.55rem; }

.balance-card .btn { width: 100%; margin-top: 18px; }

.btn-purple {
  color: #fff;
  background: linear-gradient(180deg, #ffe08a, #d99a1f);
  box-shadow: 0 0 20px rgba(255, 199, 75, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-purple:hover { box-shadow: 0 0 30px rgba(255, 199, 75, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2); }

.promo-card { text-align: center; }

.promo-card .gift {
  margin: 12px auto 10px;
  width: 84px;
  height: 84px;
}

.promo-card h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--pink);
  text-transform: uppercase;
}

.promo-card p { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }

.promo-card .btn { margin-top: 14px; }

/* Referral */

.refer-card h3, .redeem-card h3, .activity-card h3, .vip-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.refer-card .sub { color: var(--muted); font-size: 0.88rem; margin-top: 6px; max-width: 40ch; }

.refer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; }

.referral-box { margin-top: 18px; }

.referral-box .label { font-size: 0.68rem; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }

.code-row { display: flex; gap: 10px; margin-top: 8px; }

.code-pill {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 2.5px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px dashed var(--border);
  background: rgba(255, 199, 75, 0.07);
  color: var(--purple-light);
  text-align: center;
}

.social-row { display: flex; gap: 12px; margin-top: 18px; align-items: center; }

.social-row .hint { font-size: 0.78rem; color: var(--muted); margin-right: 4px; }

.social-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--purple-light);
  transition: box-shadow 0.2s, color 0.2s;
}

.social-dot:hover { color: #fff; box-shadow: 0 0 14px rgba(255, 199, 75, 0.5); }
.social-dot svg { width: 17px; height: 17px; }

.sms-btn {
  padding: 9px 16px;
  font-size: 0.68rem;
  border-radius: 999px;
  gap: 7px;
  color: var(--cyan);
  border-color: rgba(31, 143, 168, 0.45);
}

.sms-btn:hover { border-color: var(--cyan); box-shadow: 0 0 14px rgba(31, 143, 168, 0.4); }

.earn-callout { text-align: center; }

.earn-callout .figures { margin-top: 10px; }

.earn-callout .big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--cyan);
  text-shadow: 0 0 22px rgba(31, 143, 168, 0.5);
}

.earn-callout .small { font-size: 0.72rem; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }

/* Redeem tiers */

/* Wraps rather than pushing the page wider than the phone. Eight staff tabs in
   one row forced the whole portal to ~694px, so every fixed overlay centred
   itself off-screen and the owner had to scroll sideways to read a table. */
.tier-tabs { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; }

.tier-tab {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.tier-tab.active {
  color: var(--purple-light);
  border-color: var(--purple);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.tier {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(255, 199, 75, 0.05);
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tier:hover { border-color: var(--purple); box-shadow: 0 0 18px rgba(255, 199, 75, 0.25); }

.tier .price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--gold);
}

/* Stands in for .price, so it takes the same vertical room a badge does —
   otherwise a grid of mixed picture and badge tiles sits at ragged heights. */
.tier-img {
  display: block;
  width: 100%;
  max-width: 128px;
  height: 84px;
  object-fit: contain;
  margin: 0 auto;
}

.tier .what { font-size: 0.68rem; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; margin-top: 2px; }

.tier .cost { font-size: 0.8rem; color: var(--purple-light); margin-top: 8px; }

.tier .btn {
  width: 100%;
  margin-top: 12px;
  padding: 9px 0;
  font-size: 0.7rem;
  border-radius: 9px;
}

.redeem-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

.redeem-note .bolt { color: var(--gold); }

/* Activity feed */

.activity-card .head { display: flex; justify-content: space-between; align-items: center; }

.activity-card .view-all { font-size: 0.72rem; letter-spacing: 1.2px; color: var(--purple-light); font-weight: 700; }

/* Install pop-up "don't remind me" link */
#instNever { display: block; margin: 10px auto 0; background: none; border: none; color: var(--muted); font-size: 0.76rem; cursor: pointer; text-decoration: underline; }
#instNever:hover { color: var(--text); }

/* Install-to-home-screen banner (dashboard) */
.install-banner { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 14px 16px;
  background: linear-gradient(100deg, rgba(57, 149, 232,0.16), rgba(34,211,238,0.10)); border: 1px solid rgba(57, 149, 232,0.35);
  border-radius: 14px; }
.install-banner .install-emoji { font-size: 1.6rem; line-height: 1; flex: none; }
.install-banner .install-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.install-banner .install-copy b { font-size: 0.9rem; }
.install-banner .install-copy span { font-size: 0.76rem; color: var(--muted); }
.install-banner .install-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.install-banner .install-actions .btn { padding: 8px 16px; font-size: 0.66rem; }
.install-banner .install-x { background: none; border: none; color: var(--muted); font-size: 1rem; cursor: pointer; padding: 4px 6px; line-height: 1; }
.install-banner .install-x:hover { color: var(--text); }
@media (max-width: 520px) { .install-banner { flex-wrap: wrap; } .install-banner .install-actions { margin-left: 0; width: 100%; justify-content: flex-end; } }

/* Redeemed card — window toggle */
#rsTabs .rs-tab { font-size: 0.72rem; letter-spacing: 1.2px; color: var(--purple-light); font-weight: 700; cursor: pointer; opacity: 0.45; transition: opacity 0.15s; }
#rsTabs .rs-tab.active { opacity: 1; }
#rsTabs .rs-tab:hover { opacity: 0.8; }

/* "What this processor needs to work" checklist on the payment settings page */
.proc-needs ul { list-style: none; margin: 10px 0 0; display: grid; gap: 10px; }

.proc-needs li {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
}

.proc-need-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.proc-need-what,
.proc-need-note {
  display: block;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}

.proc-test-out ul { list-style: none; margin: 10px 0 0; display: grid; gap: 10px; }
.proc-test-out li {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-soft);
}

/* gold reads as "needs your attention"; a thing that's working shouldn't */
.proc-need-note { margin-top: 6px; color: var(--gold); }
.proc-need-note.good { color: var(--green); }

/* the URL has to be selectable and must not push the card wide on a phone */
.proc-need-url {
  display: block;
  margin: 8px 0 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  color: var(--purple-light);
  overflow-wrap: anywhere;
  user-select: all;
}

/* 30-day summary strip above the list. auto-fit rather than a fixed 4 columns
   so it folds to 2×2 on a phone instead of squeezing four numbers into 375px. */
.act-totals {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}

.act-totals div {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
}

.act-totals .k {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
}

.act-totals .v { display: block; margin-top: 3px; font-weight: 700; font-size: 1rem; }
.act-totals .v.up { color: var(--green); }
.act-totals .v.down { color: var(--orange); }

.activity-list { margin-top: 14px; display: grid; gap: 6px; }

.activity-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 10px;
}

.activity-list li:hover { background: rgba(255, 199, 75, 0.06); }

.act-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--green);
  display: grid;
  place-items: center;
}

.act-icon svg { width: 16px; height: 16px; }

.activity-list .what { font-size: 0.86rem; }
.activity-list .what b { color: var(--text); }
.activity-list .what span { display: block; color: var(--muted); font-size: 0.75rem; }
.activity-list .when { margin-left: auto; font-size: 0.72rem; color: var(--muted); white-space: nowrap; }

/* VIP card */

.vip-card { background: linear-gradient(160deg, rgba(255, 157, 31, 0.08), rgba(255, 199, 75, 0.1) 60%), var(--bg-raised); }

.vip-card h3 { display: flex; align-items: center; gap: 10px; color: var(--gold); }

.vip-card ul { margin-top: 14px; display: grid; gap: 10px; }

.vip-card li { display: flex; gap: 10px; font-size: 0.88rem; color: var(--text); }

.vip-card li::before { content: "✦"; color: var(--orange); }

.vip-card .btn { margin-top: 18px; }

/* ---------- Game accounts ---------- */

.accounts-card .sub { color: var(--muted); font-size: 0.88rem; margin-top: 6px; max-width: 62ch; }

.accounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.account-tile {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(255, 199, 75, 0.05);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.account-tile:hover { border-color: var(--purple); box-shadow: 0 8px 30px rgba(255, 199, 75, 0.25); }

.account-tile .art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0f1c2c;
}

.account-tile .art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* square art fades into the card so the text sits on a gradient, not a hard crop */
.account-tile .art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(13, 20, 36, 0.75) 80%, #0d1424 100%);
  pointer-events: none;
}

.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(3, 5, 10, 0.6);
  backdrop-filter: blur(4px);
  color: #c8d2e0;
  font-size: 1.1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: color 0.15s, box-shadow 0.15s;
}

.fav-btn:hover { color: var(--gold); }

.fav-btn.faved {
  color: var(--gold);
  border-color: rgba(255, 199, 75, 0.6);
  box-shadow: 0 0 12px rgba(255, 199, 75, 0.45);
}

.account-tile .tile-body {
  position: relative;
  z-index: 1;
  margin-top: -58px;
  padding: 0 14px 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.account-tile .tile-body h4 { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }

/* Small muted hint under (or above) a field or tile. Every use of this class is
 * a hint, but for a long time only the ones inside .account-tile were styled —
 * everywhere else it rendered at full body size and swamped the form it was
 * explaining. The base rule is the one that matters; the scoped rule below just
 * keeps the tile specificity it always had. */
.tile-note { font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
.account-tile .tile-note { font-size: 0.78rem; color: var(--muted); }

/* Platform art grid (games page) */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.platform-tile {
  border-radius: var(--radius);
  border: 1.5px solid var(--border-soft);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}

.platform-tile:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: 0 12px 40px rgba(255, 199, 75, 0.35);
}

.platform-tile .art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0f1c2c;
}

.platform-tile .art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-tile .card-label { padding: 13px 14px; font-size: 0.92rem; font-weight: 900; color: #fff; }

/* fallback tile when a game has no art yet: big initials on a gradient */
.art-initials {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, #12233a, #d99a1f);
}

.art.no-art .art-initials { display: grid; }

/* temporarily disabled games: greyed art + Coming Back Soon badge */
.temp-off .art img { filter: grayscale(1) brightness(0.5); }

.temp-off { border-color: rgba(255, 255, 255, 0.08); }

.soon-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold);
  background: rgba(10, 8, 6, 0.85);
  border: 1.5px solid rgba(255, 199, 75, 0.6);
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* One line, always. A wrapped name ("Mr. All In One") used to push everything
   below it down and leave the tile taller than its neighbours; keeping the
   title to a single line is what makes every card the same height. The full
   name is on the title attribute if it ever has to be cut. */
.account-tile h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.status-chip {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 10px;
  width: fit-content;
  white-space: nowrap; /* keep multi-word chips (e.g. LOCKED OUT) on one line */
}

.status-none { color: var(--muted); border: 1px solid var(--border-soft); }
.status-pending { color: var(--gold); border: 1px solid rgba(255, 199, 75, 0.5); background: rgba(255, 199, 75, 0.07); }
.status-active { color: var(--green); border: 1px solid rgba(52, 211, 153, 0.5); background: rgba(52, 211, 153, 0.07); }

.account-tile .creds { display: grid; gap: 6px; }

.cred-row {
  display: flex;
  align-items: center;
  /* Wrap on a narrow phone so the tag + copy/hide buttons drop to the next line
     instead of squeezing the username/password out of view — in portrait the
     value used to collapse to an ellipsis and a player saw only the "default"
     tag. The value keeps the first line; the controls flow below when tight. */
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
}

.cred-row .k { color: var(--muted); font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; width: 34px; flex: none; }

.cred-row .v {
  font-family: ui-monospace, Consolas, monospace;
  color: var(--purple-light);
  /* Never truncate a credential the player has to type — wrap it instead, so it
     is always fully readable however narrow the screen. */
  white-space: normal;
  overflow-wrap: anywhere;
  /* Don't GROW to fill the row — that pushed the copy button onto its own line.
     Take the content width (shrinking to a floor if very long) so the copy
     button sits right beside the value on the same line. */
  flex: 0 1 auto;
  min-width: 5ch;
}

/* Marks a password as the one WE issued rather than one the player chose. Sits
   in the row itself so it's read at the same moment as the password, not after
   it — the note below explains, the tag labels. */
.cred-tag {
  flex: none;
  font-size: 0.55rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(245, 179, 66, 0.4);
  border-radius: 999px;
  padding: 1px 7px;
}

.cred-note {
  margin: 2px 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--muted);
}

.icon-btn {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: none;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

.icon-btn:hover { color: var(--text); border-color: var(--purple); }

.account-tile .btn { padding: 9px 0; width: 100%; font-size: 0.68rem; border-radius: 9px; }

/* "I already play this one" — the quieter second option under REQUEST ACCESS.
   Deliberately not a .btn: two solid buttons on a phone-width tile read as a
   choice between equals, and for most people asking for a new account is still
   the right one. It has to be visible enough that an existing player finds it,
   though — a missed one costs them a duplicate account. */
.account-tile .tile-alt {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 2px 0;
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.7rem;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.account-tile .tile-alt:hover { color: var(--text); }

/* minmax(0, 1fr), not the default `auto`: a grid item's min-width is its
   content's intrinsic width, so a text input (which asks for ~20 characters)
   pushes the whole form wider than a phone and takes the page with it. Every
   form on the site uses this class, so it's fixed here rather than per-page. */
.account-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }

.account-form input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(5, 7, 13, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
}

.account-form input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 12px rgba(255, 199, 75, 0.35); }

/* Selects were never styled here — they rendered white (UA default) and, worse,
   refused to shrink below their longest option, which pushed the redeem window
   wider than a phone. Same skin as the inputs, allowed to shrink. */
.account-form select {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(5, 7, 13, 0.85);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
}

.account-form select:focus { outline: none; border-color: var(--purple); }

.modal-card { grid-template-columns: minmax(0, 1fr); }

/* Collapsible processor cards: header always visible, body on tap */
.proc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.proc-caret {
  display: inline-block;
  color: var(--muted);
  font-size: 0.8rem;
  transition: transform 0.15s;
}

.proc-caret.open { transform: rotate(90deg); }

/* Payment Processors tab: money in, then money out (owner, 2026-11-24). A
   small label over each group, and Redeems in its own gold-edged card so it
   never reads as one more processor. */
.pay-group {
  margin: 0 0 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-group-out { margin-top: 30px; color: #e5c982; }

.dash-card.payout-card {
  background: linear-gradient(180deg, rgba(255, 199, 75, 0.07), rgba(255, 199, 75, 0.02));
  border-color: rgba(255, 199, 75, 0.38);
  border-left: 3px solid var(--gold);
}

.payout-card .proc-head .site-h,
.payout-card .proc-head .proc-caret { color: var(--gold); }

.account-form .row { display: flex; gap: 8px; }
.account-form .row .btn { flex: 1; }

.demo-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

.demo-note .i { color: var(--cyan); }

/* One clean notice at the top of My Game Accounts explaining the DEFAULT tag,
   instead of repeating the sentence under every tile. Gold-tinted to match the
   per-password DEFAULT chip it refers to. */
.default-pass-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 4px 0 14px;
  padding: 9px 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text);
  background: rgba(255, 199, 75, 0.07);
  border: 1px solid rgba(255, 199, 75, 0.28);
  border-radius: 10px;
}
.default-pass-note .i { flex: none; }
.default-pass-note .dp-tag {
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(245, 179, 66, 0.4);
  border-radius: 999px;
  padding: 1px 7px;
  white-space: nowrap;
}

/* ---------- Games page ---------- */

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.game-family {
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
}

.game-family .card-scene { aspect-ratio: auto; height: 100%; }

.game-family .body { padding: 20px 22px; }

.game-family h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1rem;
}

.game-family p { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.chip {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: var(--purple-light);
  background: rgba(255, 199, 75, 0.07);
}

/* ---------- Rewards page ---------- */

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }

.step-card { text-align: left; position: relative; }

.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.4rem;
  background: linear-gradient(180deg, var(--purple-light), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 8px;
}

.step-card p { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 30px; display: grid; gap: 14px; max-width: 820px; }

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--bg-raised);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--purple-light);
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item[open] summary { color: var(--purple-light); }

.faq-item .answer { padding: 0 22px 20px; color: var(--muted); font-size: 0.92rem; max-width: 70ch; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border-soft);
  padding: 36px 0 44px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.site-footer .fine {
  color: var(--muted);
  font-size: 0.78rem;
  max-width: 62ch;
}

.footer-nav { display: flex; gap: 20px; }

.footer-nav a { color: var(--muted); font-size: 0.82rem; }
.footer-nav a:hover { color: var(--text); }

/* ---------- Staff portal ---------- */

.table-wrap { overflow-x: auto; }

.staff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 640px;
}

.staff-table th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-soft);
}

.staff-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 199, 75, 0.09);
}

.staff-table tr:hover td { background: rgba(255, 199, 75, 0.05); }

.staff-table .mono { font-family: ui-monospace, Consolas, monospace; color: var(--purple-light); }

/* ---- Members table: keep it compact so the row actions never get cut off ----
   It has ten columns plus a stack of per-row buttons, which pushed it wider than
   the card — the right-hand action buttons ended up scrolled off / clipped.
   Tighter cells, the free-text columns wrap instead of widening the table, and
   the actions live in a fixed-width block of small buttons that wrap cleanly.
   .table-wrap's overflow-x stays as the fallback on a genuinely small screen. */
#membersTable { min-width: 760px; font-size: 0.8rem; }
#membersTable th, #membersTable td { padding: 9px 9px; }
/* email (6th) + facebook (7th) columns: cap width and wrap, don't stretch */
#membersTable td:nth-child(6),
#membersTable td:nth-child(7) { max-width: 150px; white-space: normal; overflow-wrap: anywhere; }
/* the actions column — bounded, so buttons wrap into a neat block */
#membersTable th:last-child,
#membersTable td:last-child { width: 172px; }
#membersTable td:last-child > div { max-width: 172px; gap: 5px; }
#membersTable td:last-child .btn {
  /* !important overrides the per-button inline padding/font in the row markup */
  padding: 6px 9px !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.3px;
  flex: 0 1 auto;
  white-space: nowrap;
}

/* glowing badge for tabs with pending work */
.tab-count {
  display: inline-block;
  margin-left: 6px;
  min-width: 18px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--gold);
  color: #3a2500;
  font-size: 0.6rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}

/* A tab with work waiting on staff glows and pulses gold, so an action is
   noticed without hunting through the tabs. Colour + a two-layer text-shadow
   swell, plus a gentle opacity breath, make it read as "look here". */
.tier-tab.tab-alert {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 199, 75, 0.6);
  animation: tabPulse 1.4s ease-in-out infinite;
}

.tier-tab.tab-alert .tab-count {
  animation: tabCountPulse 1.4s ease-in-out infinite;
}

@keyframes tabPulse {
  0%, 100% { text-shadow: 0 0 5px rgba(255, 199, 75, 0.35); opacity: 0.82; }
  50% {
    text-shadow: 0 0 20px rgba(255, 199, 75, 1), 0 0 34px rgba(255, 199, 75, 0.65);
    opacity: 1;
  }
}

@keyframes tabCountPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 199, 75, 0); transform: scale(1); }
  50% { box-shadow: 0 0 12px rgba(255, 199, 75, 0.9); transform: scale(1.12); }
}

/* Some people are sensitive to motion — keep the gold glow, drop the movement. */
@media (prefers-reduced-motion: reduce) {
  .tier-tab.tab-alert { animation: none; text-shadow: 0 0 14px rgba(255, 199, 75, 0.85); }
  .tier-tab.tab-alert .tab-count { animation: none; box-shadow: 0 0 10px rgba(255, 199, 75, 0.8); }
}

/* The generated redeem receipt shown in its modal — monospace so the aligned
   columns hold, wraps rather than scrolls sideways on a phone. */
.receipt-pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text);
  background: rgba(5, 7, 13, 0.7);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 8px 0 0;
  max-height: 50vh;
  overflow: auto;
}

/* Featured Pick'em promo card on the member dashboard. */
.pickem-card {
  border: 1px solid rgba(255, 199, 75, 0.45);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(57, 149, 232, 0.22), transparent 55%),
    radial-gradient(120% 140% at 100% 0%, rgba(255, 140, 40, 0.18), transparent 55%),
    rgba(10, 8, 22, 0.85);
  box-shadow: 0 0 22px rgba(255, 199, 75, 0.14);
}
.pk-badge {
  display: inline-block; font-size: 0.62rem; font-weight: 800; letter-spacing: 1.6px;
  color: #11151c; background: var(--gold); padding: 3px 10px; border-radius: 999px;
}
.pk-title { margin: 10px 0 4px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.pk-spread { color: var(--muted); font-size: 0.86rem; }
.pk-reward { color: var(--gold); font-size: 0.9rem; margin-top: 4px; }
.pk-flyer { display: block; width: 100%; max-width: 440px; border-radius: 12px; margin: 10px 0 6px; border: 1px solid rgba(57, 149, 232, 0.35); }
.pk-live { margin-top: 10px; padding: 8px 12px; border-radius: 10px; font-size: 1rem; background: rgba(57, 149, 232, 0.14); border: 1px solid rgba(57, 149, 232, 0.4); }
.pk-live b { font-size: 1.15rem; }
.pk-live-st { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; margin-left: 6px; }
/* The public Pick'em landing page (pickem.html) — the link posted to Facebook.
   One card, centred, with the flyer and the two ways in. */
.promo-page { padding: 28px 0 56px; }
.promo-wrap { max-width: 560px; }
.promo-card {
  padding: 22px 20px 24px;
  border: 1px solid rgba(57, 149, 232, 0.35);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-align: center;
}
.promo-card .pk-flyer { margin-left: auto; margin-right: auto; }
.promo-title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; margin: 10px 0 6px; }
.promo-when { color: var(--muted); font-size: 0.86rem; margin-top: 10px; }
.promo-cta { display: grid; gap: 10px; margin: 18px 0 6px; }
.promo-btn { width: 100%; padding: 15px 18px; font-size: 0.82rem; }
.promo-facts { text-align: left; margin: 14px auto 0; max-width: 420px; }
.promo-fine { color: var(--muted); font-size: 0.72rem; text-align: center; margin-top: 16px; }

.pk-share { margin: 6px 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 0.78rem; }

.pk-pickrow { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.pk-pick {
  /* flex-basis 0 + min-width 0 so a long option ("Under 45.5", a full team
     name) shrinks instead of pushing the card off a 375px screen. */
  flex: 1 1 0; min-width: 0; white-space: normal;
  padding: 16px 10px; font-size: 1.05rem; font-weight: 800; border-radius: 12px;
  background: linear-gradient(180deg, var(--purple-light), var(--purple-deep)); color: #11151c;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.pk-pick:hover { filter: brightness(1.1); }
.pk-vs { font-weight: 800; color: var(--muted); font-size: 0.9rem; }
.pk-note { color: var(--muted); font-size: 0.76rem; margin-top: 10px; line-height: 1.4; }
.pk-picked, .pk-locked, .pk-result { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: 0.95rem; }
.pk-picked { background: rgba(57, 149, 232, 0.14); border: 1px solid rgba(57, 149, 232, 0.4); }
.pk-locked { background: rgba(120, 120, 130, 0.14); border: 1px solid var(--border-soft); color: var(--muted); }
.pk-result.pk-won { background: rgba(52, 211, 153, 0.14); border: 1px solid rgba(52, 211, 153, 0.5); }
.pk-result.pk-lost { background: rgba(120, 120, 130, 0.12); border: 1px solid var(--border-soft); color: var(--muted); }
.pk-deadline { color: var(--muted); font-size: 0.76rem; margin-top: 8px; }
.pk-choose { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pk-choose-l { flex-basis: 100%; font-size: 0.85rem; color: var(--muted); }
.pk-select {
  flex: 1; min-width: 160px; padding: 11px 12px; border-radius: 10px;
  background: rgba(5, 7, 13, 0.8); color: var(--text); border: 1px solid var(--border-soft); font-size: 0.9rem;
}
/* owner Pick'em form inputs (staff portal) */
.pk-in {
  padding: 10px 12px; border-radius: 9px; background: rgba(5, 7, 13, 0.75);
  color: var(--text); border: 1px solid var(--border-soft); font-size: 0.9rem; font-family: inherit;
}
.pk-in::placeholder { color: var(--muted); }

.health-log {
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(5, 7, 13, 0.7);
  color: var(--muted);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.5;
  max-height: 260px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.site-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 22px;
}

.game-row-art {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  position: relative;
}

.staff-table .stat-note { color: var(--muted); font-size: 0.75rem; }

.staff-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(5, 7, 13, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
}

/* ---------- Redemption modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 5, 10, 0.78);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-overlay[hidden] { display: none; }

.modal-card {
  width: min(420px, 100%);
  background: var(--bg-card);
  border: 1.5px solid var(--purple);
  border-radius: 20px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 0 60px rgba(255, 199, 75, 0.45);
  display: grid;
  gap: 12px;
}

.modal-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.modal-card .mod-what { color: var(--muted); font-size: 0.9rem; }

/* The login announcement. The video is PORTRAIT (9:16), so the card is sized to
   the video rather than the video squeezed into a card built for text — and it
   is capped against the viewport HEIGHT, because a 9:16 video at the width of a
   phone is taller than the phone and would push its own OK button off-screen. */
.announce-card { width: min(380px, 100%); padding: 22px 18px; }

.announce-wrap {
  width: 100%;
  max-width: min(300px, 46vh);
  margin-inline: auto;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(57, 149, 232, 0.45);
}

.announce-video { display: block; width: 100%; aspect-ratio: 9 / 16; background: #000; }

.modal-card .promo-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(255, 199, 75, 0.5);
  padding: 14px 10px;
  border: 1.5px dashed rgba(255, 199, 75, 0.5);
  border-radius: 12px;
  background: rgba(255, 199, 75, 0.06);
}

.modal-card .mod-note { color: var(--muted); font-size: 0.8rem; }

.mod-actions { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }

.amount-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.amount-chip {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: var(--text);
  background: rgba(255, 199, 75, 0.07);
  border: 1.5px solid var(--border-soft);
  border-radius: 999px;
  padding: 9px 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.amount-chip:hover { border-color: var(--purple); }

.amount-chip.sel {
  color: var(--gold);
  border-color: rgba(255, 199, 75, 0.7);
  background: rgba(255, 199, 75, 0.08);
  box-shadow: 0 0 14px rgba(255, 199, 75, 0.35);
}

.go-custom {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(5, 7, 13, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  text-align: center;
}

.go-custom:focus { outline: none; border-color: var(--purple); }

/* The same box as a list, for a processor that only takes set amounts. */
select.go-custom { min-width: 0; background: rgba(5, 7, 13, 0.85); text-align-last: center; }
select.go-custom option { background: var(--bg-card); color: var(--text); }

/* ---------- sign-up terms ---------- */

.terms-box {
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(5, 7, 13, 0.6);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.terms-headline { color: var(--text); }
.terms-headline span { color: #f87171; font-weight: 800; }

.terms-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  color: var(--text);
}

.terms-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  cursor: pointer;
}

.terms-agree input {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
  flex: none;
}

/* ---------- 24/7 support chat ---------- */

#supportFab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 1px;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--purple), #d99a1f);
  color: #11151c;
  box-shadow: 0 6px 26px rgba(255, 199, 75, 0.5);
}

#supportFab:hover { box-shadow: 0 6px 34px rgba(255, 199, 75, 0.75); }

#supportPanel {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 85;
  width: min(380px, calc(100vw - 28px));
  height: min(540px, calc(100vh - 90px));
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

#supportPanel[hidden] { display: none; }

.sup-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(255, 199, 75, 0.25), rgba(29, 78, 216, 0.12));
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-display);
}

.sup-head b { font-size: 0.9rem; letter-spacing: 0.8px; }
.sup-head span { color: var(--muted); font-size: 0.72rem; font-family: ui-monospace, Consolas, monospace; }

.sup-head button {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
}

.sup-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sup-empty { color: var(--muted); font-size: 0.85rem; text-align: center; margin: auto 12px; }

.sup-msg {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 0.88rem;
  display: grid;
  gap: 6px;
}

.sup-msg.mine {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #11151c;
  border-bottom-right-radius: 4px;
}

.sup-msg.theirs {
  align-self: flex-start;
  background: rgba(255, 199, 75, 0.1);
  border: 1px solid var(--border-soft);
  border-bottom-left-radius: 4px;
}

.sup-msg img, .sup-msg video { max-width: 100%; border-radius: 10px; }

.sup-msg time { font-size: 0.62rem; color: rgba(255, 255, 255, 0.55); }
.sup-msg.theirs time { color: var(--muted); }

.sup-msg p { overflow-wrap: anywhere; }

.sup-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--border-soft);
}

.sup-input input[type="text"] {
  flex: 1;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(5, 7, 13, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
}

.sup-input input[type="text"]:focus { outline: none; border-color: var(--purple); }

.sup-attach {
  padding: 6px 14px 12px;
  font-size: 0.75rem;
  color: var(--gold);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--bg-card);
  border: 1px solid var(--purple);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.88rem;
  box-shadow: 0 0 30px rgba(255, 199, 75, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
  /* Sized by its words, up to the screen. Without a width a box hung from
     left: 50% may only use the half of the screen to its right, so a
     two-sentence refusal on a phone wrapped into a seven-line column. */
  width: max-content;
  max-width: min(92vw, 520px);
  line-height: 1.45;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }
/* clear of the Support button, which sits in the same corner on a phone */
@media (max-width: 720px) {
  .toast { bottom: 96px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .site-header .container { gap: 14px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 9px; font-size: 0.74rem; letter-spacing: 1px; }
  .btn-ghost-pill { padding: 9px 14px; font-size: 0.74rem; }
}

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  /* Stacked hero: copy + CTAs first, emblem after, photo darkened top-down */
  .hero-art { order: 1; max-width: 420px; margin-inline: auto; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(5, 7, 13, 0.94) 0%, rgba(5, 7, 13, 0.88) 40%, rgba(5, 7, 13, 0.45) 75%, var(--bg) 100%);
  }
  .category-rail { grid-template-columns: repeat(2, 1fr); }
  .dash-layout { grid-template-columns: 1fr; }
  /* On mobile the dashboard sidebar was a stacked nav card at the top — every
     one of its links is in the ☰ menu (which is always available here), so it
     was pure duplication. Hide it and let the menu do the navigating. */
  .dash-sidebar { display: none; }
  .dash-row.cols-3, .dash-row.cols-2 { grid-template-columns: 1fr; }
  .refer-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .accounts-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    background: #0a0f18;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    padding: 12px 20px 20px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: grid; place-items: center; }
  /* keep SIGN IN reachable on phones — compact, icon dropped, sits before the menu */
  .site-header .sign-in {
    display: inline-flex;
    margin-left: auto;
    padding: 9px 14px;
    font-size: 0.68rem;
    letter-spacing: 0.8px;
    gap: 0;
  }
  .site-header .sign-in svg { display: none; }
  .site-header .container { gap: 10px; }
  .join-banner { flex-direction: column; text-align: center; }
  .join-banner .btn { margin: 0; }
  /* Swipeable card rail on phones */
  .category-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin-inline: -12px;
    padding: 4px 12px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-rail::-webkit-scrollbar { display: none; }
  .category-rail .game-card {
    flex: 0 0 78%;
    max-width: 320px;
    scroll-snap-align: center;
  }
  .hero { padding-top: 28px; }
  .hero .container { gap: 28px; }
  .hero-art { max-width: 340px; }
  .hero-perks { gap: 20px; }
  .btn { padding: 14px 24px; }  /* comfortable touch targets */
  .accounts-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .account-tile .tile-body { padding: 0 10px 10px; margin-top: -48px; }
  .account-tile .btn { font-size: 0.6rem; letter-spacing: 0.5px; padding: 9px 2px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .game-family { grid-template-columns: 1fr; }
  .game-family .card-scene { aspect-ratio: 2.2 / 1; }
}

/* Phones: the member's OWN game accounts go full-width, one per row, so each
   credential line (label + value + copy button) fits on a single line. In two
   columns the tiles were too narrow and the copy button wrapped under the
   value. Only #accountsGrid — Available Games stays two-up (no credentials,
   many tiles, and a long single column there would be a lot of scrolling). */
@media (max-width: 500px) {
  #accountsGrid { grid-template-columns: 1fr; }
}

/* ============================================================
   Application processing + 18+ ID verification (verify.html)
   ============================================================ */

.verify-card {
  max-width: 520px;
  margin: 36px auto;
  text-align: center;
}

.verify-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 18px 0 0;
}

.verify-lede {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 10px auto 0;
  max-width: 40ch;
}

.verify-lede strong { color: var(--text); }

/* the "this is quick" promise — people are here to play, not to queue */
.verify-clock {
  margin: 10px auto 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--cyan);
}

.verify-clock-big {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--gold);
  background: rgba(255, 199, 75, 0.09);
  border: 1px solid rgba(255, 199, 75, 0.4);
}

/* pulsing emblem: three rings breathing out from the dragon mark */
.verify-orb {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 6px auto 0;
  display: grid;
  place-items: center;
}

.verify-orb img {
  width: 62px;
  filter: drop-shadow(0 0 18px rgba(255, 199, 75, 0.75));
  animation: verifyBreathe 2.6s ease-in-out infinite;
}

.verify-orb span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--purple);
  opacity: 0;
  animation: verifyRing 2.6s ease-out infinite;
}

.verify-orb span:nth-child(2) { animation-delay: 0.85s; }
.verify-orb span:nth-child(3) { animation-delay: 1.7s; }

.verify-orb-fast span { animation-duration: 1.5s; }
.verify-orb-fast span:nth-child(2) { animation-delay: 0.5s; }
.verify-orb-fast span:nth-child(3) { animation-delay: 1s; }
.verify-orb-fast img { animation-duration: 1.5s; }

@keyframes verifyRing {
  0%   { transform: scale(0.45); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes verifyBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}

/* the live checklist */
.verify-steps {
  display: grid;
  gap: 10px;
  margin: 24px auto 0;
  max-width: 320px;
  text-align: left;
}

.verify-steps li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.87rem;
  color: var(--muted);
  opacity: 0.45;
  transition: opacity 0.35s ease, color 0.35s ease;
}

.verify-steps li i {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: all 0.35s ease;
}

.verify-steps li.active { opacity: 1; color: var(--text); }
.verify-steps li.active i {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(255, 199, 75, 0.16);
  animation: verifyBreathe 1s ease-in-out infinite;
}

.verify-steps li.done { opacity: 1; color: var(--text); }
.verify-steps li.done i {
  border-color: var(--green);
  background: rgba(52, 211, 153, 0.16);
}

.verify-steps li.done i::after {
  content: "✓";
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--green);
}

.verify-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 199, 75, 0.15);
  margin: 26px auto 0;
  max-width: 320px;
  overflow: hidden;
}

.verify-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple), var(--cyan));
  transition: width 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.verify-badge {
  width: 74px;
  height: 74px;
  margin: 0 auto;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: rgba(255, 199, 75, 0.1);
  border: 1px solid var(--border);
  box-shadow: 0 0 34px rgba(255, 199, 75, 0.25);
}

/* "carry on from your phone" — the QR hand-off on the ID step */
.verify-handoff { margin-top: 18px; }

.handoff-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.handoff-or::before,
.handoff-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

/* white plate behind the code — a QR on a dark background does not scan */
.handoff-qr {
  width: 200px;
  margin: 0 auto;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  line-height: 0;
}

.handoff-qr svg { width: 100%; height: auto; display: block; }

.handoff-live {
  margin-top: 12px;
  color: var(--purple-light);
}

.verify-facts {
  display: grid;
  gap: 10px;
  margin: 22px auto 0;
  max-width: 360px;
  text-align: left;
  font-size: 0.85rem;
  color: var(--muted);
}

.verify-facts li {
  position: relative;
  padding-left: 24px;
  line-height: 1.5;
}

.verify-facts li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.verify-facts b { color: var(--text); font-weight: 700; }

.verify-cta { width: 100%; margin-top: 24px; }

.verify-skip {
  display: block;
  margin: 14px auto 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.verify-skip:hover { color: var(--purple-light); }

.verify-skip-btn { background: none; border: 0; font: inherit; font-size: 0.8rem; }

.verify-off { margin-top: 12px; color: var(--gold); }

/* the camera / file drop zone */
.verify-drop {
  display: grid;
  place-items: center;
  gap: 6px;
  margin-top: 22px;
  padding: 30px 18px;
  width: 100%;
  font: inherit;
  text-align: center;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(255, 199, 75, 0.04);
  color: var(--purple-light);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.verify-drop:hover,
.verify-drop:focus-within {
  border-color: var(--purple);
  background: rgba(255, 199, 75, 0.09);
}

.verify-drop b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  color: var(--text);
}

.verify-drop span { font-size: 0.76rem; color: var(--muted); line-height: 1.35; }

.verify-preview { margin-top: 16px; }

.verify-preview img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.verify-preview figcaption {
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--muted);
}

.verify-readout {
  margin: 18px auto 0;
  padding: 12px 16px;
  max-width: 360px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(5, 7, 13, 0.6);
}

.verify-readout span {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.verify-readout b {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
  color: var(--purple-light);
}

.verify-locked {
  margin: 14px auto 0;
  padding: 9px 16px;
  max-width: 26rem;
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--gold);
  background: rgba(255, 199, 75, 0.08);
  border: 1px solid rgba(255, 199, 75, 0.4);
}

.verify-queued {
  margin: 18px auto 0;
  padding: 11px 16px;
  max-width: 400px;
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(52, 211, 153, 0.07);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.verify-queued b { color: var(--green); }

.verify-namefix {
  margin: 20px auto 0;
  max-width: 380px;
  text-align: left;
}

.verify-fixlede { font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; }

/* owner-only destructive area: visually separated so it can't be mistaken for
   the rest of the form */
.danger-zone {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(224, 90, 122, 0.45);
  background: rgba(224, 90, 122, 0.06);
}

/* collapsed state: one quiet button, nothing alarming until it's clicked */
.danger-open {
  border-color: rgba(224, 90, 122, 0.5);
  color: var(--pink);
  padding: 9px 18px;
  font-size: 0.66rem;
}

.danger-open:hover { border-color: #ff8193; background: rgba(224, 90, 122, 0.12); }

.danger-zone h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 6px;
}

.danger-list {
  display: grid;
  gap: 3px;
  margin: 10px 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.danger-list li { padding-left: 16px; position: relative; }
.danger-list li::before { content: "•"; position: absolute; left: 4px; }
.danger-list .danger-money { color: var(--gold); font-weight: 600; }

.btn-danger {
  background: linear-gradient(180deg, #f0568f, #be1f5c);
  color: #fff;
  box-shadow: 0 0 22px rgba(224, 90, 122, 0.35);
}

.btn-danger:hover { box-shadow: 0 0 30px rgba(224, 90, 122, 0.6); }
.btn-danger:disabled { opacity: 0.4; box-shadow: none; cursor: not-allowed; }

/* government ID viewer — kept in a modal so the scan never lands in a browser
   tab, history entry or back-button cache */
.idcard-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 5, 12, 0.86);
  backdrop-filter: blur(4px);
}

/* The login editor's actions stay put. The form is long — existing logins, the
   claim banner, the rules hint, the auto-create box — and on a laptop the SAVE
   button fell below the fold of the modal's own scroll box. Somebody who has
   just typed a correction reads that as "there is no way to save", which is
   exactly what happened. */
.ml-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  /* matches .idcard-box's 20px padding, so it spans the full width */
  margin: 12px -20px -20px;
  padding: 14px 20px;
  /* MUST be opaque — --panel is translucent and the form would scroll
     through it */
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* The ID-check panel under Members -> EDIT: one block per check, with the
   provider's scores drawn as bars so a weak one is obvious at a glance. */
.me-idcheck {
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

/* older checks step back so the newest reads as the current answer */
.me-idcheck-old { opacity: 0.66; }

.me-idcheck-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.me-score {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--muted);
}

.me-score > span:first-child { min-width: 92px; }

.me-score-bar {
  flex: 1;
  min-width: 80px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.me-score-bar i { display: block; height: 100%; border-radius: 99px; }

/* One removed game account + the way back. Wraps to a stack on a phone so the
   PUT BACK button never ends up off the edge of the modal. */
.ml-removed-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.idcard-box {
  width: min(760px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.idcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.idcard-box img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(5, 7, 13, 0.6);
  margin: 10px 0;
}

.idcard-box img:not([src]) { display: none; }

/* Reason picker on the decline modal — the whole row is the target, because
   this gets used one-handed at a counter. */
.decline-opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(5, 7, 13, 0.5);
  cursor: pointer;
  font-size: 0.82rem;
  line-height: 1.45;
}

.decline-opt:hover { border-color: var(--purple); }
.decline-opt input { margin-top: 3px; flex: none; }
.decline-opt:has(input:checked) {
  border-color: var(--purple);
  background: rgba(57, 149, 232, 0.12);
}

/* grouped dashboard nav: Rewards + Earn SP sit under Promotions, Profile under
   Settings — far easier to scan on a phone than one long flat list */
.nav-group { display: contents; }

.dash-sidebar .nav-sub {
  display: grid;
  gap: 2px;
  margin-left: 16px;
  padding-left: 12px;
  border-left: 1px solid var(--border-soft);
}

.dash-sidebar .nav-sub a { font-size: 0.82rem; opacity: 0.85; }
.dash-sidebar .nav-sub svg { width: 16px; height: 16px; }

/* one row per setting, control on the right */
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}

.setting-row:last-child { border-bottom: 0; padding-bottom: 0; }
.setting-row b { font-size: 0.92rem; }
.setting-row .tile-note { margin-top: 4px; max-width: 46ch; }

/* owner-only vault: the arcade's own back-office login per game */
.master-box {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 199, 75, 0.35);
  background: rgba(255, 199, 75, 0.05);
}

.master-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.master-head b {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.6px;
  color: var(--gold);
}

.master-box .btn { padding: 9px 14px; font-size: 0.64rem; }

/* unpaid orders a player can pick back up (payment links expire) */
.open-orders { margin-bottom: 18px; border-color: rgba(255, 157, 31, 0.4); }

.open-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(5, 7, 13, 0.5);
}

.open-order .btn { padding: 10px 20px; font-size: 0.68rem; }

/* staff queue: rows still waiting on a human decision */
.idv-open > td { background: rgba(255, 199, 75, 0.05); }
.idv-open > td:first-child { box-shadow: inset 3px 0 0 var(--gold); }

/* dashboard nudge for members who haven't finished the ID check */
.verify-nudge {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 199, 75, 0.45);
  background: rgba(255, 199, 75, 0.07);
}

.verify-nudge p { flex: 1; min-width: 220px; font-size: 0.85rem; }
.verify-nudge b { color: var(--gold); }
.verify-nudge .btn { padding: 10px 18px; font-size: 0.66rem; }

@media (max-width: 720px) {
  .verify-card { margin: 20px auto; }
  .verify-title { font-size: 1.25rem; }
  .verify-orb { width: 112px; height: 112px; }
  .verify-orb img { width: 52px; }
  .verify-drop { padding: 26px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .verify-orb span,
  .verify-orb img,
  .verify-steps li.active i { animation: none; }
}

/* ============================================================
   Site menu — one menu on every page, built by js/main.js
   ============================================================ */

.menu-btn {
  display: grid !important;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 199, 75, 0.08);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
}

.menu-btn:hover { border-color: var(--purple); background: rgba(255, 199, 75, 0.16); }

body.menu-open { overflow: hidden; }

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(4, 4, 7, 0.74);
  backdrop-filter: blur(3px);
}

.site-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 16px 14px 28px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  animation: menuIn 0.18s ease-out;
}

@keyframes menuIn {
  from { transform: translateX(16px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

.site-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 8px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border-soft);
}

.site-menu-head b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.4px;
}

.site-menu-head .mono { font-size: 0.72rem; color: var(--muted); }

.site-menu-close {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border-soft);
  background: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-menu-close:hover { color: var(--text); border-color: var(--purple); }

.site-menu-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 11px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}

.site-menu-panel a svg { width: 19px; height: 19px; flex: none; }
.site-menu-panel a:hover { color: var(--text); background: rgba(255, 199, 75, 0.1); }

.site-menu-panel a.active {
  color: #11151c;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple));
  box-shadow: 0 0 18px rgba(255, 199, 75, 0.35);
}

.site-menu-out {
  margin-top: 10px;
  padding-top: 14px !important;
  border-top: 1px solid var(--border-soft);
  border-radius: 0 !important;
  color: var(--pink) !important;
}

.site-menu-out:hover { background: rgba(224, 90, 122, 0.1) !important; }

/* Game names must fit on one line so every card is the same height. On a
   narrow two-column grid the display font is too wide for the longest names
   ("Diamond Dragon"), so tighten the type and claw back the side padding
   rather than letting them wrap or get cut off. */
@media (max-width: 720px) {
  .account-tile .tile-body { padding: 0 10px 12px; }
  .account-tile h4 { font-size: 0.8rem; letter-spacing: 0; }
}

/* Grid and flex children default to min-width:auto, so the credentials row
   (label + value + copy buttons) was forcing each card wider than its column —
   which is what pushed BUY/REDEEM off the edge on a phone. Letting these
   shrink is what keeps the buttons inside the card. */
.accounts-grid > .account-tile { min-width: 0; }
.account-tile .tile-body,
.account-tile .tile-body > * { min-width: 0; }
.cred-row { min-width: 0; }
/* keep the value from collapsing to a sliver; it wraps rather than truncates now */
.cred-row .v { min-width: 5ch; }

@media (max-width: 720px) {
  .cred-row .k { width: 30px; font-size: 0.58rem; }
  .account-tile .icon-btn { width: 26px; height: 26px; font-size: 0.72rem; }
  .account-tile .creds { gap: 4px; }
}


/* Name and date of birth on the member's own profile: shown, never editable.
   A two-column grid rather than disabled inputs — a greyed-out box invites
   clicking at it, a label and a value read as a fact. */
.pf-identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: baseline;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
}

/* A figure that happens to be clickable. It has to keep reading as the number
   it replaced — a button chrome here would make the Members table look like a
   row of controls — so only the underline and the cursor say it is one. */
.btn-plain {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline dotted rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}
.btn-plain:hover { color: var(--purple-light); text-decoration-color: var(--purple-light); }
.btn-plain:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; border-radius: 4px; }

/* Low Game Credits, scrolling across the top of the staff portal. Amber rather
   than red: it is a "buy more soon", not an outage, and a red bar that lives on
   screen for days stops being read. Motion is what makes it noticed on a till
   screen nobody is staring at — and it is switched off for anyone who has asked
   for less of it. */
#creditTicker {
  /* No sticky of its own: it lives inside .site-header, which is already
     sticky at top 0 — so it rides with it and never needs a header height
     hardcoded here to drift out of step at a breakpoint. */
  margin: 0; padding: 8px 0;
  background: rgba(255, 199, 75, 0.10);
  border-top: 1px solid rgba(255, 199, 75, 0.45);
  border-bottom: 1px solid rgba(255, 199, 75, 0.45);
  overflow: hidden; white-space: nowrap;
}
#creditTicker .ticker-track {
  display: inline-block; padding-left: 100%;
  animation: spf-ticker 22s linear infinite;
  color: var(--gold); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
}
#creditTicker:hover .ticker-track { animation-play-state: paused; }
@keyframes spf-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  #creditTicker .ticker-track {
    animation: none; padding-left: 0;
    white-space: normal; display: block; padding: 0 16px;
  }
}

/* ============================================================
   Space Fast — header links, homepage, footer, legal pages
   Built from the three homepage mockups (desktop / tablet / mobile).
   Near-black ground, gold as the only "act on this" colour, heavy
   condensed uppercase display type with one word in gold.
   ============================================================ */

/* ---------- header: visible links on wide screens, the script's ☰ everywhere ---------- */

.site-header .container { height: 76px; gap: 18px; }

.top-links {
  display: flex;
  gap: 2px;
  margin-inline: auto;
}

.top-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text);
  opacity: 0.85;
  padding: 8px 13px;
  border-radius: 8px;
}

.top-links a:hover,
.top-links a.active { opacity: 1; color: var(--gold); }

/* the ☰ menu is built by js/main.js; it hides #mainNav and pushed SIGN IN
   right with an auto margin — with the link row present the row takes the
   space instead */
.site-header .top-links ~ .sign-in { margin-left: 0; }

.site-header .sign-in {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  border: 0;
  background: none;
  padding: 8px 10px;
  color: var(--text);
}

.site-header .sign-in:hover { color: var(--gold); box-shadow: none; }

.btn-join,
.btn-gold {
  color: #11151c;
  background: linear-gradient(180deg, #ffdb7d 0%, #f3b42a 100%);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(255, 199, 75, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-join { font-size: 0.92rem; padding: 11px 18px; }
.btn-gold { font-size: 1rem; padding: 14px 26px; }

.btn-join:hover,
.btn-gold:hover { box-shadow: 0 10px 32px rgba(255, 199, 75, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.btn-line {
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid rgba(248, 248, 245, 0.45);
  background: rgba(5, 7, 13, 0.25);
}

.btn-line:hover { border-color: var(--text); }

@media (max-width: 960px) {
  .top-links, .site-header .btn-join { display: none; }
}

/* ---------- shared display pieces ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::after { content: ""; width: 56px; height: 1px; background: var(--gold); opacity: 0.8; }

.eyebrow svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--text);
}

.display em { font-style: normal; color: var(--gold); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head h2, .section-head h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  display: flex;
  align-items: center;
  gap: 18px;
}

.section-head h2::after, .section-head h1::after { content: ""; width: 56px; height: 2px; background: var(--gold); flex: none; }

.section-head p { color: var(--muted); margin-top: 6px; }

.link-gold {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

.link-gold:hover { color: var(--purple-light); }

/* ---------- hero ---------- */

.spf-hero { position: relative; background: var(--bg); overflow: hidden; }

.spf-hero .hero-media { position: absolute; inset: 0; }

.spf-hero .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 40%;
}

/* dark left zone for the copy, fade into the page at the bottom */
.spf-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.96) 0%, rgba(5, 7, 13, 0.86) 26%, rgba(5, 7, 13, 0.3) 52%, rgba(5, 7, 13, 0) 72%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.4) 0%, rgba(5, 7, 13, 0) 28%, rgba(5, 7, 13, 0) 72%, var(--bg) 100%);
}

.spf-hero .container {
  position: relative;
  z-index: 1;
  min-height: clamp(520px, 54vw, 640px);
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 48px;
}

.hero-copy { max-width: 560px; }

.hero-copy h1 { font-size: clamp(3.2rem, 7vw, 6rem); margin-top: 18px; }

.hero-copy .lede { margin-top: 16px; font-size: 1.12rem; color: var(--text); opacity: 0.92; max-width: 40ch; }

.hero-ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .spf-hero .hero-media { position: relative; aspect-ratio: 2 / 3; max-height: 70vh; }
  .spf-hero .hero-media img { object-position: 50% 0; }
  .spf-hero .hero-media::after {
    background: linear-gradient(180deg, rgba(5, 7, 13, 0) 42%, rgba(5, 7, 13, 0.55) 70%, var(--bg) 100%);
  }
  .spf-hero .container { min-height: 0; margin-top: -40%; padding-top: 0; padding-bottom: 26px; }
  .hero-copy h1 { font-size: clamp(2.9rem, 14vw, 3.7rem); }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- feature strip ---------- */

.feature-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-raised);
}

.feature-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }

.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 18px;
  border-left: 1px solid var(--border-soft);
}

.feature:first-child { border-left: 0; padding-left: 0; }

.feature svg {
  width: 40px;
  height: 40px;
  flex: none;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature span { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 2px; }

@media (max-width: 720px) {
  .feature-strip .container { grid-template-columns: 1fr 1fr; }
  .feature { padding: 16px 12px; }
  .feature:nth-child(odd) { border-left: 0; padding-left: 0; }
  .feature:nth-child(n + 3) { border-top: 1px solid var(--border-soft); }
  .feature svg { width: 34px; height: 34px; }
  .feature b { font-size: 1rem; }
}

/* ---------- game tiles (games page + homepage favourites) ---------- */

.favorites { padding: 56px 0 36px; }

.chip-row-filter { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 22px; }

.chip-filter {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid rgba(248, 248, 245, 0.14);
  border-radius: 8px;
  padding: 9px 18px;
  cursor: pointer;
}

.chip-filter.active {
  color: #11151c;
  background: linear-gradient(180deg, #ffdb7d, #f3b42a);
  border-color: transparent;
}

/* js/main.js renders .platform-tile > .art (image + label inside) + .tile-cat.
   The art is the card; the name sits inside it; the category sits below. */
.platform-grid { gap: 22px 18px; margin-top: 0; }

.platform-tile { border: 0; border-radius: 0; background: none; overflow: visible; }

.platform-tile:hover { transform: none; box-shadow: none; }

.platform-tile .art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}

.platform-tile:hover .art {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.platform-tile .art .card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 14px 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  background: linear-gradient(180deg, rgba(5, 7, 13, 0) 0%, rgba(5, 7, 13, 0.82) 100%);
}

.platform-tile .tile-cat { padding: 10px 2px 0; text-align: center; color: var(--muted); font-size: 0.9rem; }

.temp-off .art { border-color: rgba(255, 255, 255, 0.08); }

@media (max-width: 720px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .platform-tile .art .card-label { font-size: 1.35rem; padding: 36px 10px 10px; }
  .chip-filter { flex: 1 1 0; text-align: center; padding: 10px 8px; }
}

/* ---------- promo bands: VIP + rewards ---------- */

.promo-bands { padding: 8px 0 40px; }

.promo-bands .container { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }

.promo-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 16px;
  min-height: 290px;
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-raised); /* the cut-outs are flattened onto this exact colour */
  overflow: hidden;
}

.promo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 90% at 12% 40%, rgba(255, 199, 75, 0.1), transparent 70%);
  pointer-events: none;
}

.promo-band > * { position: relative; }

.promo-band h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-top: 14px; }

.promo-band p { color: var(--muted); margin-top: 8px; }

.promo-band .link-gold { display: inline-block; margin-top: 16px; }

.promo-band img { width: 100%; height: auto; display: block; justify-self: end; }

.promo-band.rewards { grid-template-columns: 1fr 1fr; }

@media (max-width: 960px) {
  .promo-bands .container { grid-template-columns: 1fr; }
  .promo-band, .promo-band.rewards { grid-template-columns: 1.1fr 1fr; min-height: 0; }
}

@media (max-width: 720px) {
  .promo-band, .promo-band.rewards { grid-template-columns: 1fr 40%; padding: 18px 16px; gap: 10px; }
  .promo-band h3 { font-size: 1.6rem; margin-top: 10px; }
  .promo-band p { font-size: 0.9rem; }
}

/* ---------- numbered steps ---------- */

.steps { padding: 16px 0 48px; }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; }

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 8px 28px;
  border-left: 1px solid var(--border-soft);
}

.step:first-child { border-left: 0; padding-left: 0; }

.step .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 0.9;
  color: var(--gold);
}

.step b { display: block; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; }

.step span { display: block; color: var(--muted); margin-top: 6px; font-size: 0.95rem; }

@media (max-width: 720px) {
  .steps-row { grid-template-columns: 1fr; }
  .step { border-left: 0; padding: 14px 0; border-top: 1px solid var(--border-soft); }
  .step:first-child { border-top: 0; padding-top: 0; }
  .step .num { font-size: 2.6rem; min-width: 64px; }
}

/* ---------- closing band ---------- */

.closing-band { position: relative; overflow: hidden; }

.closing-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}

.closing-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 13, 0.95) 0%, rgba(5, 7, 13, 0.82) 34%, rgba(5, 7, 13, 0.3) 68%, rgba(5, 7, 13, 0.15) 100%);
}

.closing-band .container { position: relative; z-index: 1; padding: 64px 0; }

.closing-band h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); max-width: 10ch; }

.closing-band .rule { width: 56px; height: 2px; background: var(--gold); margin-top: 16px; }

.closing-band p { margin-top: 14px; color: var(--text); opacity: 0.9; }

.closing-band .btn { margin-top: 22px; }

@media (max-width: 720px) {
  .closing-band .container { padding: 40px 0; }
  .closing-band::after { background: linear-gradient(90deg, rgba(5, 7, 13, 0.92) 0%, rgba(5, 7, 13, 0.65) 60%, rgba(5, 7, 13, 0.4) 100%); }
}

/* ---------- footer ---------- */

.site-footer { margin-top: 0; padding: 40px 0 32px; background: var(--bg); }

.site-footer .container { display: block; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  align-items: center;
  justify-content: space-between;
}

.footer-crest { width: 140px; height: auto; display: block; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }

.footer-nav a { color: var(--text); opacity: 0.85; font-size: 0.92rem; }

.footer-nav a:hover { opacity: 1; color: var(--gold); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-legal nav { display: flex; gap: 18px; }

.footer-legal nav a { color: var(--muted); }

.footer-legal nav a:hover { color: var(--gold); }

.age-badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.72rem;
}

.site-footer .footer-legal .fine { margin-left: auto; max-width: none; }

@media (max-width: 720px) {
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-legal { justify-content: center; text-align: center; }
  .site-footer .footer-legal .fine { margin-left: 0; width: 100%; }
}

/* ---------- legal pages ---------- */

.legal { max-width: 820px; }

.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }

.legal .meta { color: var(--muted); font-size: 0.88rem; margin-top: 10px; }

.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 34px 0 10px;
  color: var(--gold);
}

.legal h3 { font-size: 1.05rem; font-weight: 700; margin: 18px 0 6px; }

.legal p, .legal li { color: var(--text); opacity: 0.9; line-height: 1.65; margin: 0 0 12px; }

.legal ul { padding-left: 22px; margin-bottom: 14px; }

.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

.legal .toc {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 22px 0 10px;
  columns: 2;
  column-gap: 28px;
}

.legal .toc a { color: var(--muted); display: block; font-size: 0.9rem; padding: 3px 0; text-decoration: none; }

.legal .toc a:hover { color: var(--gold); }

.legal .callout {
  border-left: 3px solid var(--gold);
  background: var(--bg-card);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  margin: 18px 0;
}

.legal .help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }

.legal .help-card { border: 1px solid var(--border-soft); border-radius: 14px; padding: 18px 20px; background: var(--bg-card); }

.legal .help-card b { display: block; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }

.legal .help-card .big { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; margin: 6px 0 4px; }

@media (max-width: 720px) {
  .legal .toc { columns: 1; }
  .legal .help-grid { grid-template-columns: 1fr; }
}

/* ---------- phone fixes found on the first 375px pass ---------- */

.eyebrow { white-space: nowrap; }
.eyebrow::after { flex: 0 1 56px; min-width: 18px; }

@media (max-width: 720px) {
  /* the serif wordmark is wide: shrink it so the ☰ never leaves the header */
  .site-header .container { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; }
  .brand .brand-x, .brand .brand-sub { font-size: 0.9rem; letter-spacing: 0.04em; }
  /* titles stop flexing around their rule; the rule becomes an inline tail */
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head h2, .section-head h1 { display: block; font-size: 2.1rem; }
  .section-head h2::after, .section-head h1::after { display: inline-block; vertical-align: middle; width: 40px; margin-left: 14px; }
  .spf-hero .container { margin-top: -44%; }
}

@media (max-width: 480px) {
  /* the ☰ menu carries Log in on the smallest phones, as in the mockup */
  .site-header .sign-in { display: none; }
}

/* dashboard sidebar: the one-line wordmark is wider than the column, so stack it there */
.dash-sidebar .brand-text { flex-direction: column; align-items: flex-start; gap: 3px; white-space: normal; }
.dash-sidebar .brand .brand-x, .dash-sidebar .brand .brand-sub { font-size: 0.95rem; }

/* ---------- hero on wide monitors: centred stage, darker copy zone (owner, 2026-10-22) ----------
   Full-bleed at 2000px stretched the photo until the bright mansion sat behind the
   headline. The media is capped to a centred stage, the left scrim reaches further
   right and deeper, and a soft dark pool sits behind the copy at every width. */
.spf-hero .hero-media { max-width: 1720px; margin: 0 auto; }

.spf-hero .hero-media::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.93) 22%, rgba(5, 7, 13, 0.74) 40%, rgba(5, 7, 13, 0.3) 58%, rgba(5, 7, 13, 0) 72%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.45) 0%, rgba(5, 7, 13, 0) 26%, rgba(5, 7, 13, 0) 70%, var(--bg) 100%);
}

.hero-copy { position: relative; isolation: isolate; }

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -48px -90px -48px -120px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(5, 7, 13, 0.82), rgba(5, 7, 13, 0.5) 55%, rgba(5, 7, 13, 0));
  pointer-events: none;
}

/* where the stage is narrower than the viewport, melt its edges into the page */
@media (min-width: 1721px) {
  .spf-hero .hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, var(--bg) 0%, rgba(5, 7, 13, 0) 9%, rgba(5, 7, 13, 0) 91%, var(--bg) 100%);
  }
}

@media (max-width: 720px) {
  .spf-hero .hero-media::after {
    background: linear-gradient(180deg, rgba(5, 7, 13, 0) 42%, rgba(5, 7, 13, 0.55) 70%, var(--bg) 100%);
  }
  .hero-copy::before { inset: -30px -24px -24px -24px; }
}

/* ---------- closing band on wide monitors (owner, 2026-10-22) ----------
   Same treatment as the hero: a centred stage instead of a stretched full-bleed
   crop, the photo biased toward the mansion, edges melting into the page. */
.closing-band > img { object-position: 45% 30%; }

@media (min-width: 1200px) {
  .closing-band > img { left: 50%; width: 1440px; max-width: none; transform: translateX(-50%); }
  .closing-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(5, 7, 13, 0) 18%, rgba(5, 7, 13, 0) 82%, var(--bg) 100%);
  }
}

.closing-band::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.96) 0%, rgba(5, 7, 13, 0.86) 32%, rgba(5, 7, 13, 0.35) 62%, rgba(5, 7, 13, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.25) 0%, rgba(5, 7, 13, 0) 40%, rgba(5, 7, 13, 0.35) 100%);
}

/* ---------- game tiles with real art carry their own name (owner's logos, 2026-10-22) ----------
   The platform logos already say Golden Dragon, Orion Stars, Dragon Fury and
   RiverSweeps, so the overlaid label and its scrim only cover them up. The label
   stays in the markup for screen readers and shows only on an initials tile. */
.platform-tile .art:not(.no-art) .card-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  background: none;
}

/* ---------- five games: the grid fits as many tiles as the row allows (2026-10-22) ---------- */
@media (min-width: 721px) {
  .platform-grid { grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); }
}

/* ---------- visual kit, 2026-10-22: new hero, lounge band, transparent VIP card and chest ----------
   The new desktop hero keeps its left third genuinely dark, the portrait reserves
   its lower third for the copy, and the VIP card and chest are real cut-outs, so
   the promo bands can glow behind them instead of matching a flattened colour. */

/* hero: the portrait is 2:3 and already dark at the bottom — show all of it */
@media (max-width: 720px) {
  .spf-hero .hero-media { max-height: none; }
  .hero-copy::before { background: radial-gradient(closest-side, rgba(5, 7, 13, 0.6), rgba(5, 7, 13, 0)); }
}

/* promo bands: contain the cut-outs and light them from behind */
.promo-band img { object-fit: contain; max-height: 260px; }

.promo-band::before {
  background:
    radial-gradient(55% 90% at 12% 40%, rgba(255, 199, 75, 0.1), transparent 70%),
    radial-gradient(42% 70% at 78% 52%, rgba(255, 199, 75, 0.16), transparent 72%);
}

@media (max-width: 720px) {
  .promo-band img { max-height: 170px; }
}

/* closing band: the lounge is 1860 wide, so the stage can match the hero's */
.closing-band > img { object-position: 60% 42%; }

@media (min-width: 1200px) {
  .closing-band > img { width: min(1720px, 100vw); }
}

@media (max-width: 720px) {
  .closing-band > img { object-position: 62% 50%; }
}

/* rewards page: the Current Promotions sentences carry inline <b> and data-lo spans,
   and the shared flex rule turned each text run into its own flex item (owner's
   kit review, 2026-10-22). Block flow for that one list; the bullet stays inline. */
#promotions.vip-card li { display: block; line-height: 1.6; }
#promotions.vip-card li::before { display: inline; margin-right: 0.55em; }

/* promo bands on phones: the no-wrap eyebrow made the text column wider than its
   share and pushed the card out of the band (measured at 375px: image right edge
   414px, band right edge 355px). Let the column shrink and drop the eyebrow's rule. */
@media (max-width: 720px) {
  .promo-band, .promo-band.rewards { grid-template-columns: minmax(0, 1fr) 38%; }
  .promo-band .eyebrow::after { display: none; }
  .promo-band img { justify-self: center; }
}

/* ---------- owner, 2026-10-25: hero and closing band run the full desktop width ----------
   Artwork anchored to the right edge, the left side fading out to the page black
   under the copy. Replaces the centred 1720px stage; phone rules are untouched. */
.spf-hero .hero-media { max-width: none; margin: 0; }
.spf-hero .hero-media img { object-position: 100% 40%; }
.spf-hero .hero-media::after {
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(5, 7, 13, 0.97) 16%, rgba(5, 7, 13, 0.82) 32%, rgba(5, 7, 13, 0.38) 50%, rgba(5, 7, 13, 0) 64%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.35) 0%, rgba(5, 7, 13, 0) 24%, rgba(5, 7, 13, 0) 72%, var(--bg) 100%);
}
@media (min-width: 1721px) { .spf-hero .hero-media::before { display: none; } }

.closing-band > img { object-position: 100% 42%; }
@media (min-width: 1200px) {
  .closing-band > img { width: 100%; left: 0; transform: none; }
  .closing-band::before { display: none; }
}
.closing-band::after {
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(5, 7, 13, 0.95) 20%, rgba(5, 7, 13, 0.65) 42%, rgba(5, 7, 13, 0.18) 66%, rgba(5, 7, 13, 0.1) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.25) 0%, rgba(5, 7, 13, 0) 40%, rgba(5, 7, 13, 0.35) 100%);
}

@media (max-width: 720px) {
  .spf-hero .hero-media img { object-position: 50% 0; }
  .spf-hero .hero-media::after { background: linear-gradient(180deg, rgba(5, 7, 13, 0) 42%, rgba(5, 7, 13, 0.55) 70%, var(--bg) 100%); }
  .closing-band > img { object-position: 62% 50%; }
}

/* ---------- owner, 2026-10-25: rewards page rebuilt to the supplied mockups ----------
   Hero with the rewards-hero piece, a stat strip, three steps, four game-credit cards
   (repainted from /api/rewards), three promo cards + the Tournament Tuesdays bar, and
   the VIP band. Same type system as the rest of the site; everything is prefixed rw-. */
.rw-hero { position: relative; overflow: hidden; background: var(--bg); }

.rw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(48% 70% at 76% 48%, rgba(255, 199, 75, 0.16), rgba(255, 199, 75, 0) 72%);
  pointer-events: none;
}

.rw-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 40px;
}

.rw-hero-copy { max-width: 560px; }

.rw-hero-copy h1 { font-size: clamp(3.2rem, 6.4vw, 5.6rem); margin-top: 18px; }

.rw-hero-copy .lede { margin-top: 18px; font-size: 1.1rem; color: var(--text); opacity: 0.9; max-width: 44ch; }

.rw-eyebrow { gap: 10px; }

.rw-eyebrow::after { display: none; }

.rw-eyebrow .star { font-size: 0.9rem; }

/* "SPACE POINTS · MEMBER REWARDS" is wider than a phone column on one line,
   and a nowrap eyebrow (see "phone fixes") widens the whole hero grid past the
   screen. This one has no rule line after it, so it can wrap. */
@media (max-width: 720px) {
  .rw-eyebrow { white-space: normal; }
}

.rw-textlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.rw-textlink:hover { color: var(--gold); }

.rw-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.rw-tag .line { width: 24px; height: 1px; background: var(--gold); flex: none; }

.rw-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
}

/* stat strip */
.rw-stats {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-raised);
}

.rw-stats .container { display: grid; grid-template-columns: repeat(3, 1fr); }

.rw-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 16px;
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 1px solid var(--border-soft);
}

.rw-stat:first-child { border-left: 0; }

.rw-stat b { color: var(--text); font-weight: 700; }

.rw-stat svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-right: 2px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* steps */
.rw-steps { padding: 36px 0 40px; border-bottom: 1px solid var(--border-soft); }

.rw-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.rw-step { display: flex; gap: 16px; align-items: flex-start; }

.rw-step .ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 199, 75, 0.06);
  display: grid;
  place-items: center;
}

.rw-step .ico svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rw-step .k {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.rw-step .k small {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.rw-step .k + p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin-top: 6px; }

/* section heads */
.rw-section { padding: 46px 0 0; }

.rw-last { padding-bottom: 60px; }

.rw-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.rw-kicker svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rw-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.rw-head h2 { font-size: clamp(2.1rem, 4vw, 2.9rem); margin-top: 8px; }

.rw-aside { color: var(--muted); font-size: 0.82rem; line-height: 1.5; text-align: right; flex: none; }

.rw-pill { flex: none; color: var(--gold); }

.rw-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* reward cards */
.rw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.rw-card {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 199, 75, 0.05), rgba(255, 199, 75, 0.015)), var(--bg-raised);
  padding: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rw-card:hover { border-color: var(--border); box-shadow: 0 0 24px rgba(255, 199, 75, 0.14); }

.rw-card .art {
  border-radius: 12px;
  background: radial-gradient(60% 70% at 50% 55%, rgba(255, 199, 75, 0.16), rgba(255, 199, 75, 0) 72%), rgba(5, 7, 13, 0.55);
  aspect-ratio: 4 / 3;
  display: grid;
  /* A definite track, so the picture's height: 100% means the box. Without it
     the square picture was drawn at its full width and the bottom fifth was
     cut off by overflow: hidden (the $100 chest lost its coins). */
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 12px;
  overflow: hidden;
}

.rw-card .art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.55)); }

.rw-card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 16px; }

.rw-card .price { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--text); }

.rw-card .what { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.rw-card .cost { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.9rem; color: var(--muted); }

.rw-card .cost b { color: var(--gold); font-weight: 700; }

.rw-card .cost svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; }

.rw-card .btn { width: 100%; margin-top: 16px; justify-content: space-between; padding: 12px 16px; font-size: 0.9rem; }

.rw-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-size: 0.78rem; color: var(--muted); }

.rw-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; stroke: var(--muted); fill: none; stroke-width: 1.6; stroke-linecap: round; }

/* promo cards */
.rw-promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.rw-promo {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: var(--bg-raised);
  padding: 20px;
}

.rw-promo .art { height: 150px; display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 18px; }

.rw-promo .art img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.55)); }

.rw-promo .twox {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 6.4rem;
  line-height: 1;
  background: linear-gradient(180deg, #ffdb7d, #f3b42a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rw-promo .twox small { font-size: 3.2rem; }

.rw-promo h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 8px;
}

.rw-promo h3 + p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin-top: 8px; }

.rw-promo p b { color: var(--text); font-weight: 600; }

.rw-promo .sub { color: var(--muted); font-size: 0.78rem; opacity: 0.8; margin-top: 6px; }

.rw-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: var(--bg-raised);
}

.rw-bar > svg { width: 26px; height: 26px; flex: none; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.rw-bar b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.03em; text-transform: uppercase; }

.rw-bar span { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 2px; }

.rw-bar .rw-kicker { margin-left: auto; color: var(--muted); flex: none; }

/* VIP band */
.rw-vip {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 30px;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 36px;
  background: linear-gradient(160deg, rgba(255, 199, 75, 0.08), rgba(255, 199, 75, 0.02) 55%), var(--bg-raised);
}

.rw-vip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 70% at 78% 50%, rgba(255, 199, 75, 0.18), rgba(255, 199, 75, 0) 72%);
  pointer-events: none;
}

.rw-vip > * { position: relative; }

.rw-vip h2 { font-size: clamp(2.2rem, 4vw, 3.1rem); margin-top: 12px; }

.rw-vip .lede { color: var(--muted); font-size: 1rem; margin-top: 10px; }

.rw-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-top: 20px; }

.rw-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text); }

.rw-checks li::before { content: "✓"; color: var(--gold); font-weight: 700; }

.rw-vip .btn { margin-top: 26px; }

.rw-vip > img {
  display: block;
  width: 100%;
  max-width: 470px;
  height: auto;
  justify-self: end;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
}

@media (max-width: 960px) {
  .rw-hero-grid { grid-template-columns: 1fr; gap: 6px; padding-top: 32px; padding-bottom: 24px; }
  .rw-hero-art { max-width: 520px; margin: 0 auto; }
  .rw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-promos { grid-template-columns: 1fr; }
  .rw-promo { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; }
  .rw-promo .art { height: auto; margin: 0; flex-direction: column; gap: 4px; }
  .rw-promo .art img { width: 100%; height: auto; }
  .rw-promo .twox { font-size: 3.6rem; }
  .rw-promo .twox small { font-size: 1.8rem; }
  .rw-vip { grid-template-columns: 1fr; }
  .rw-vip > img { justify-self: center; }
}

@media (max-width: 720px) {
  .rw-hero-copy h1 { font-size: clamp(2.9rem, 13vw, 3.9rem); }
  .rw-hero-copy .lede { font-size: 1rem; }
  .rw-tag { display: none; }
  .rw-stats .container { grid-template-columns: 1fr; padding-top: 10px; padding-bottom: 10px; }
  .rw-stat { border-left: 0; padding: 8px 0; }
  .rw-steps { padding: 20px 0 28px; }
  .rw-steps-grid { grid-template-columns: 1fr; gap: 10px; }
  .rw-step { padding: 16px 18px; border: 1px solid var(--border-soft); border-radius: 16px; background: var(--bg-raised); }
  .rw-section { padding-top: 36px; }
  .rw-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
  .rw-aside { text-align: left; }
  .rw-grid { gap: 12px; }
  .rw-card { padding: 12px; }
  .rw-card .art { padding: 6px; }
  .rw-card .row { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 12px; }
  .rw-card .price { font-size: 2.1rem; }
  .rw-card .btn { padding: 11px 12px; font-size: 0.82rem; margin-top: 12px; }
  .rw-promo { padding: 16px; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .rw-bar { padding: 16px; }
  .rw-bar .rw-kicker { display: none; }
  .rw-vip { padding: 24px 20px; }
  .rw-checks { grid-template-columns: 1fr; }
  .rw-last { padding-bottom: 44px; }
}


/* ---- 404 page (404.html, served by server.js for any unknown path) ---- */
.not-found { max-width: 720px; margin: 48px auto 72px; text-align: center; }
.not-found .eyebrow { justify-content: center; }
.not-found .display { font-size: clamp(3.2rem, 9vw, 6rem); margin-top: 14px; }
.not-found .lede { color: var(--muted); margin-top: 18px; font-size: 1.05rem; line-height: 1.6; }
.not-found .hero-ctas { justify-content: center; }
@media (max-width: 720px) { .not-found { margin: 20px auto 48px; } }


/* ---- Member picker (staff portal: Record a Payment) ----
   A member box that lists who matches as you type. The list hangs OVER the
   fields beneath it rather than pushing them down, so the form does not jump
   under someone's cursor; the line under the box is who was chosen. */
.member-pick { position: relative; min-width: 0; }
.member-pick-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  max-height: 300px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}
.member-pick-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  padding: 10px 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.85rem;
  cursor: pointer;
}
.member-pick-row:first-child { border-top: 0; }
.member-pick-row:hover,
.member-pick-row.is-active { background: rgba(255, 199, 75, 0.1); }
.member-pick-row b { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.member-pick-id { font-family: ui-monospace, Consolas, monospace; font-size: 0.8rem; color: var(--gold); white-space: nowrap; }
.member-pick-phone { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.member-pick-note { padding: 10px 12px; border-top: 1px solid var(--border-soft); font-size: 0.78rem; color: var(--muted); }
.member-pick-note:first-child { border-top: 0; }
.member-pick-chosen { margin: 6px 2px 0; font-size: 0.82rem; color: var(--text); overflow-wrap: anywhere; }
.member-pick-chosen b { font-weight: 600; }

/* ---- "Turn on notifications" guide (members.html, #pushGuideModal) ----------
   The owner's flyer beside the steps for the device it is opened on. Two columns
   where there is room; on a phone the flyer goes on top and is capped against
   the viewport HEIGHT, because a 4:5 flyer at the width of a phone would push
   the steps — the part that actually helps — off the bottom of the screen. The
   card scrolls inside itself so the button is always reachable. */
.pg-card {
  width: min(780px, 100%);
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  padding: 22px;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  text-align: left;
}
.pg-flyer {
  display: block;
  padding: 0;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.pg-flyer img { display: block; width: 100%; height: auto; }
.pg-body { display: grid; gap: 10px; }
.pg-body h3 { font-size: 1.7rem; letter-spacing: 1px; line-height: 0.98; }
.pg-body h3 em { color: var(--gold); font-style: normal; }
.pg-body .mod-what { color: var(--text); }
.pg-body .mod-what b { color: var(--gold); font-weight: 600; }
.pg-on {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.pg-steps { list-style: none; counter-reset: pg; display: grid; gap: 11px; margin: 0; padding: 0; }
.pg-steps li {
  counter-increment: pg;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
}
.pg-steps li::before {
  content: counter(pg);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: #11151c;
  background: linear-gradient(180deg, #ffdb7d, #f3b42a);
}
.pg-steps li span { padding-top: 3px; }
.pg-steps b { color: var(--gold); font-weight: 600; }
.pg-card .mod-note b { color: var(--text); font-weight: 600; }
.pg-card .mod-actions { justify-content: stretch; }
.pg-card .mod-actions .btn { width: 100%; }
.pg-quiet { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pg-quiet button, .pg-how {
  background: none;
  border: none;
  padding: 6px 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
}
.pg-quiet button:hover, .pg-how:hover { color: var(--text); }
.pg-how { padding: 0; }

@media (max-width: 720px) {
  .pg-card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
  /* height capped at 36% of the screen: width = height × 4/5 */
  .pg-flyer { width: min(100%, calc(36vh * 0.8)); margin-inline: auto; }
  .pg-body h3 { font-size: 1.45rem; }
}

/* ============================================================
   Redeem hours on the dashboard, the trivia card, and the
   "loaded in the last N days" note on a promo (2026-11-14)
   ============================================================ */
.rh-card { border: 1px solid var(--border); }
.rh-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rh-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.rh-now { margin: 8px 0 14px; font-size: 0.95rem; color: var(--text); }
.rh-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.rh-day {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 10px 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(5, 7, 13, 0.5);
}
.rh-today { border-color: var(--gold); background: rgba(255, 199, 75, 0.07); }
.rh-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.rh-today .rh-name { color: var(--gold); }
.rh-wins { display: flex; flex-direction: column; gap: 3px; font-size: 0.8rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.rh-shut { color: var(--muted); }
.rh-foot { margin: 12px 0 0; }
.rh-flash { animation: rhFlash 1.2s ease-out 2; }
@keyframes rhFlash {
  0% { box-shadow: 0 0 0 0 rgba(255, 199, 75, 0.55); }
  100% { box-shadow: 0 0 0 14px rgba(255, 199, 75, 0); }
}
@media (prefers-reduced-motion: reduce) { .rh-flash { animation: none; } }

/* below the desktop grid the week reads as a list: day on the left, hours on the right */
@media (max-width: 960px) {
  .rh-days { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rh-day {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 2px;
    border: 0;
    border-bottom: 1px solid var(--border-soft);
    border-radius: 0;
    background: none;
  }
  .rh-day:last-child { border-bottom: 0; }
  .rh-today { background: none; }
  .rh-wins { text-align: right; align-items: flex-end; }
}

.tq-question { margin: 6px 0 2px; font-size: 1.05rem; line-height: 1.45; color: var(--text); }
.tq-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.tq-pick { display: flex; align-items: center; gap: 10px; text-align: left; padding: 14px; font-size: 1rem; }
.tq-letter {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(20, 16, 8, 0.16);
  border: 1px solid rgba(20, 16, 8, 0.35);
}
.pk-gate-rule { color: var(--muted); font-size: 0.8rem; margin-top: 4px; }
.pk-gate a { color: var(--gold); font-weight: 600; white-space: nowrap; }
@media (max-width: 720px) {
  .tq-choices { grid-template-columns: minmax(0, 1fr); }
}

/* owner's redeem-hours editor (staff portal) */
.rs-day { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 8px 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--border-soft); }
.rs-day:first-child { border-top: 0; }
.rs-day > b { padding-top: 9px; font-size: 0.86rem; }
.rs-wins { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rs-win { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rs-win input[type="time"] { width: 122px; }
.rs-closed { padding-top: 9px; color: var(--muted); font-size: 0.82rem; }
@media (max-width: 720px) {
  .rs-day { grid-template-columns: minmax(0, 1fr) auto; }
  .rs-day > b { grid-column: 1 / -1; padding-top: 0; }
}
/* DollarPay test orders (Site, Settings, Payment Processors) */
.dp-tests { display: grid; gap: 10px; margin-top: 12px; max-width: 640px; }
.dp-test { padding: 12px 14px; border: 1px solid var(--border-soft); border-radius: 12px; background: var(--bg-raised); min-width: 0; overflow-wrap: anywhere; font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
/* .stat-note is only styled inside a staff table; here it gets the same size and colour */
.dp-test .stat-note { color: var(--muted); font-size: 0.78rem; }
.dp-test .mono { color: var(--text); }
.dp-test-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ============================================================
   Space Fast — the look (Phase 3 re-skin, 2026-11-23)
   From the owner's design package (Space_Fast_Complete_Source_Package):
   near-black ground, deep-navy panels with a blue line, metallic gold for
   the one thing to press AND for the lit word in each heading (the package
   maps the old "pink" token to gold as well), pale gold for labels, cyan
   for links and focus. Open Sans for text, Open Sans Condensed Bold for
   display. The palette itself is the :root block at the top of this file;
   this section only restyles shared pieces and lays out the homepage
   (space-scene hero, gift and rocket bands, the support band) and the
   rewards page's art. The package is reference, not code: its layouts and
   scripts were not copied in. Type sizes stay the site's own.
   It is appended after everything it overrides, so a rule here beats an
   earlier one at the same specificity, INCLUDING earlier media queries:
   re-state a breakpoint here when an earlier one must still apply.
   ============================================================ */

::selection { background: rgba(255, 199, 75, 0.36); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------- header: the wordmark, and a thin gold line along the top ---------- */

.site-header { background: rgba(5, 7, 13, 0.96); border-bottom-color: rgba(164, 127, 54, 0.24); }

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 199, 75, 0), rgba(255, 199, 75, 0.65) 30%, rgba(255, 199, 75, 0.65) 70%, rgba(255, 199, 75, 0));
  pointer-events: none;
}

.brand { gap: 0; }

/* spf-wordmark.svg is 880 x 240: the rocket, SPACE FAST and the tagline */
.brand-logo {
  display: block;
  width: auto;
  height: 60px;
  filter: none;
}

@media (max-width: 720px) {
  .brand-logo { height: 52px; }
}

/* the dashboard sidebar column is narrower than the wordmark is wide */
.dash-sidebar .brand-logo { height: auto; width: 100%; max-width: 210px; }

.top-links a:hover { opacity: 1; color: var(--gold); }

.top-links a.active {
  opacity: 1;
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--gold);
  border-radius: 0;
}

.site-header .sign-in:hover { color: var(--gold); }

/* ---------- buttons: metallic gold is the one to press ----------
   .btn-purple is the member and staff portals' main button (RECORD PAYMENT,
   GET MORE SP, REQUEST ACCESS, about 70 of them); it is gold as well. */

.btn-primary,
.btn-join,
.btn-gold,
.btn-purple {
  color: #11151c;
  background: linear-gradient(180deg, #ffe594 0%, #ffd15c 30%, #f3b42a 100%);
  border-color: rgba(255, 223, 130, 0.3);
  box-shadow: 0 8px 28px rgba(219, 168, 46, 0.1), inset 0 1px 0 rgba(255, 242, 187, 0.67);
}

.btn-primary:hover,
.btn-join:hover,
.btn-gold:hover,
.btn-purple:hover {
  color: #11151c;
  background: linear-gradient(180deg, #fff1b8 0%, #ffdb7d 35%, #ffc245 100%);
  border-color: #ffe3a0;
  box-shadow: 0 10px 32px rgba(219, 168, 46, 0.16), inset 0 1px 0 rgba(255, 242, 187, 0.67);
}

.btn-outline,
.btn-ghost-pill,
.btn-line {
  color: var(--text);
  border-color: #3a4b60;
  background: rgba(11, 21, 36, 0.72);
}

.btn-outline:hover,
.btn-ghost-pill:hover,
.btn-line:hover {
  border-color: #b4964e;
  background: #142438;
  box-shadow: none;
}

.btn-small { font-size: 0.92rem; padding: 10px 18px; }

.chip-filter { border-color: rgba(120, 160, 210, 0.2); background: var(--bg-card); }

.chip-filter.active {
  color: var(--gold);
  background: rgba(255, 199, 75, 0.1);
  border-color: rgba(255, 199, 75, 0.55);
}

/* ---------- display type: the last word lit in metallic gold ---------- */

.display { letter-spacing: -0.01em; }

.display em { color: var(--gold); text-shadow: none; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .display em {
    background: linear-gradient(180deg, #ffe594 0%, #ffd15c 40%, #f0ad22 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.page-title { text-shadow: none; }

/* labels: pale gold, letter-spaced, no rule in front (the package's) */
.eyebrow { color: #e5c982; gap: 14px; letter-spacing: 0.15em; }

.eyebrow::before,
.eyebrow::after { display: none; }

.eyebrow svg { stroke: var(--gold); }

/* .section-head p, .promo-band p and .closing-band p colour every paragraph in
   them, and the eyebrow is a paragraph: give it its own colour back */
.section-head .eyebrow,
.promo-band .eyebrow,
.closing-band .eyebrow { color: #e5c982; opacity: 1; margin-top: 0; }

/* the hero's label carries a short gold rule after it */
.hero-copy .eyebrow::after {
  content: "";
  display: block;
  flex: none;
  width: 72px;
  height: 1px;
  background: #b69744;
}

.section-head h2::after,
.section-head h1::after {
  background: linear-gradient(90deg, var(--gold), rgba(255, 199, 75, 0));
  box-shadow: none;
}

.link-gold {
  color: var(--gold);
  text-decoration-color: rgba(255, 199, 75, 0.45);
}

.link-gold:hover { color: #ffe08a; }

/* ---------- homepage hero: the space scene on the right, copy on the left ---------- */

.spf-hero .hero-media { overflow: hidden; max-width: none; margin: 0; }

.spf-hero .hero-media .hero-scene {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 66%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.spf-hero .hero-media::after {
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 34%, rgba(5, 7, 13, 0.7) 44%, rgba(5, 7, 13, 0) 60%),
    linear-gradient(180deg, rgba(5, 7, 13, 0) 72%, var(--bg) 100%);
}

.hero-copy h1 { line-height: 0.96; }

.hero-copy .lede { color: #c3cddb; opacity: 1; }

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  font-size: 0.84rem;
  color: var(--muted);
}

.hero-foot span::before { content: "✦"; color: var(--gold); margin-right: 8px; }

/* tablet: the copy is as wide as the gap beside the scene, so the scene sits
   further back and the shade reaches further right */
@media (max-width: 960px) {
  .spf-hero .hero-media .hero-scene { width: 80%; }
  .spf-hero .hero-media::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, var(--bg) 20%, rgba(5, 7, 13, 0.82) 45%, rgba(5, 7, 13, 0.35) 75%, rgba(5, 7, 13, 0.1) 100%),
      linear-gradient(180deg, rgba(5, 7, 13, 0) 72%, var(--bg) 100%);
  }
}

/* phone: the scene is a square at the top, the copy starts under it (the
   package's phone layout); only the very bottom of the picture fades */
@media (max-width: 720px) {
  .spf-hero .hero-media { position: relative; aspect-ratio: 1 / 1; max-height: none; }
  .spf-hero .hero-media .hero-scene { width: 100%; object-position: 64% 50%; }
  .spf-hero .hero-media::after {
    background: linear-gradient(180deg, rgba(5, 7, 13, 0) 62%, rgba(5, 7, 13, 0.6) 84%, var(--bg) 100%);
  }
  .spf-hero .container { margin-top: -8%; position: relative; z-index: 5; }
  .hero-foot { justify-content: flex-start; }
}

/* ---------- feature strip: one panel, four promises ---------- */

.feature-strip { background: none; border: 0; padding: 8px 0 0; }

.feature-strip .container {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: linear-gradient(135deg, #0f1c2c, #0a1421);
}

.feature,
.feature:first-child { padding: 22px 24px; }

.feature:first-child { border-left: 0; }

.feature svg { stroke-width: 1.6; width: 34px; height: 34px; }
.feature.f-cyan svg { stroke: var(--cyan); }
.feature.f-pink svg { stroke: var(--gold); }
.feature.f-lime svg { stroke: var(--cyan); }
.feature.f-gold svg { stroke: var(--gold); }

.feature b {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 720px) {
  .feature,
  .feature:first-child,
  .feature:nth-child(odd) { padding: 18px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .feature:nth-child(even) { border-left: 1px solid var(--border-soft); }
}

/* ---------- section heads with an eyebrow over the title ---------- */

.favorites .section-head .eyebrow,
.steps .section-head .eyebrow { margin-bottom: 10px; }

.favorites .section-head h2,
.steps .section-head h2 { display: block; }

.favorites .section-head h2::after,
.steps .section-head h2::after { display: none; }

/* ---------- game tiles ---------- */

.platform-tile .art { border-color: rgba(120, 160, 210, 0.16); }

.platform-tile:hover .art {
  border-color: rgba(255, 199, 75, 0.55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 199, 75, 0.12);
}

/* ---------- promo bands: the gift scene (loyalty) and the rocket (one account) ---------- */

.promo-bands .container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

@media (max-width: 960px) {
  .promo-bands .container { grid-template-columns: 1fr; }
}

.promo-band {
  border-color: var(--border-soft);
  background: linear-gradient(135deg, #0f1c2c, #0a1421);
  box-shadow: none;
}

.promo-band::before { background: none; }

.promo-band .eyebrow { white-space: normal; }

.promo-band .btn { margin-top: 18px; }

.promo-band.loyalty { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }

/* spf-gift-scene.webp: the gift, star and coins sit in the right third of a
   frame whose left half is empty space, so in this box (the right 66% of the
   band) the gift lands right of the words at every width */
.promo-band > .band-art {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 34%;
  width: 66%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 80% 50%;
}

.promo-band.loyalty::before {
  z-index: 1;
  background: linear-gradient(90deg, #0d1927 0%, #0d1927 34%, rgba(13, 25, 39, 0.6) 48%, rgba(13, 25, 39, 0) 66%);
}

.promo-band.loyalty > div { z-index: 2; }

.promo-band.company {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  background:
    radial-gradient(55% 80% at 80% 50%, rgba(57, 149, 232, 0.2), rgba(57, 149, 232, 0) 70%),
    linear-gradient(135deg, #0f1c2c, #0a1421);
}

.promo-band.company > div { grid-column: 1; position: relative; z-index: 1; }

.promo-band .band-rocket {
  grid-column: 2;
  width: 100%;
  max-width: 230px;
  height: auto;
  justify-self: center;
  align-self: center;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

@media (max-width: 960px) {
  .promo-band.loyalty { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); min-height: 280px; }
}

@media (max-width: 720px) {
  .promo-band .eyebrow { letter-spacing: 0.14em; }
  .promo-band.loyalty { grid-template-columns: 1fr; min-height: 0; padding-top: 0; gap: 0; }
  .promo-band.loyalty::before { display: none; }
  .promo-band.loyalty > .band-art {
    position: relative;
    inset: auto;
    width: calc(100% + 32px);
    max-width: none;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 -16px 4px;
    object-fit: cover;
    object-position: 82% 50%;
    /* melt the bottom of the picture into the band */
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }
  .promo-band.company { grid-template-columns: 1fr minmax(0, 34%); gap: 10px; }
  .promo-band .band-rocket { max-width: 130px; }
}

/* ---------- three steps: outlined numerals, gold and cyan ---------- */

.step .num {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  text-shadow: none;
}

.step:nth-child(2) .num { -webkit-text-stroke-color: var(--cyan); }

/* ---------- the support band (the package's "We're here for you") ---------- */

.closing-band { padding: 24px 0 64px; overflow: visible; }

.closing-band::after { display: none; }

.closing-band .container {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: 40px 48px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background:
    radial-gradient(45% 75% at 22% 50%, rgba(57, 149, 232, 0.18), rgba(57, 149, 232, 0) 70%),
    linear-gradient(135deg, #0f1c2c, #0a1421);
}

.closing-band .band-headset {
  width: 100%;
  max-width: 330px;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.4));
}

.closing-band .eyebrow { margin-bottom: 14px; }

.closing-band h2 { max-width: none; }

.closing-band p { color: #adc0d9; opacity: 1; max-width: 48ch; }

.closing-band .hero-ctas { margin-top: 22px; }

.closing-band .hero-ctas .btn { margin-top: 0; }

@media (max-width: 720px) {
  .closing-band { padding: 8px 0 44px; }
  .closing-band .container { grid-template-columns: 1fr; gap: 6px; padding: 24px 18px 26px; }
  .closing-band .band-headset { max-width: 190px; }
}

/* ---------- footer: the wordmark and a line of voice ---------- */

.site-footer { background: #04060b; border-top: 1px solid rgba(120, 160, 210, 0.12); }

.footer-brand { display: flex; flex-direction: column; gap: 10px; }

.footer-logo { display: block; width: 200px; height: auto; }

.footer-tag { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

.footer-nav a:hover,
.footer-legal nav a:hover { color: var(--gold); }

@media (max-width: 720px) {
  .footer-brand { align-items: center; }
}

/* ---------- legal pages ---------- */

.legal h2 { color: var(--gold); }
.legal a, .legal .toc a:hover { color: var(--cyan); }
.legal .callout { border-left-color: var(--gold); }
.legal .help-card b { color: var(--cyan); }

/* ---------- rewards page: the gift scene up top, the fish in the VIP band ----------
   spf-gift-scene.webp is a dark frame with the gift in its right third. No
   border: every edge fades out, so the frame's black becomes the page's. Both
   masks must be opaque for a pixel to show (intersect), so the corners fade too. */
.rw-hero-art img {
  filter: none;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 30%, #000 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 30%, #000 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

/* one column (960px and down): the art is centred on its own, and the frame's
   empty left half pushed the gift off to the right. A crop from the right
   keeps the gift, star and coins. */
@media (max-width: 960px) {
  .rw-hero-art img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 82% 50%; }
}

.rw-vip { border-color: var(--border-soft); align-items: center; }

.rw-vip > img.rw-vip-art {
  width: 100%;
  max-width: 360px;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.45));
}

@media (max-width: 720px) {
  .rw-vip > img.rw-vip-art { max-width: 240px; }
}

/* the dashboard's Instagram share is a <button>, not a link like its
   neighbours: without this it wore the browser's light default button face */
button.social-dot { background: transparent; cursor: pointer; }

/* Telegram: the CREATE ALL TOPICS results (Site -> Settings -> Notifications) */
.tg-topic-list { list-style: none; margin: 8px 0 0; padding: 10px 12px; border: 1px solid var(--border-soft); border-radius: 10px; background: var(--bg-raised); font-size: 0.8rem; }
.tg-topic { padding: 3px 0; overflow-wrap: anywhere; }
.tg-topic-mark { display: inline-block; width: 1.2em; font-weight: 800; }
.tg-topic-created .tg-topic-mark, .tg-topic-exists .tg-topic-mark { color: var(--green); }
.tg-topic-failed .tg-topic-mark { color: #f87171; }
.tg-topic-skipped { color: var(--muted); }
.tg-topic-state { color: var(--muted); font-size: 0.72rem; }
.tg-topic-why { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border-soft); }

/* The walkthrough video (owner, 2026-11-18): the must-watch line under it, and the
   replay's chapter buttons. Two columns on a phone, so six chapters stay short
   enough that the CLOSE button is still on screen under a 9:16 video. */
.announce-wrap { border-color: var(--border); box-shadow: 0 0 24px rgba(255, 199, 75, 0.18); }
.ann-gate { margin: 10px 0 0; text-align: center; font-size: 0.8rem; color: var(--cyan); }
.ann-chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.ann-chap { display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 9px; border-radius: 9px;
  border: 1px solid var(--border-soft); background: var(--bg-raised); color: var(--text);
  font: 600 0.74rem/1.2 var(--font-body); text-align: left; cursor: pointer; }
.ann-chap:hover, .ann-chap:focus-visible { border-color: var(--border); }
.ann-chap.is-on { border-color: var(--pink); box-shadow: 0 0 12px rgba(255, 199, 75, 0.25); }
.ann-chap-t { flex: none; color: var(--cyan); font-variant-numeric: tabular-nums; font-size: 0.7rem; }
#annOk:disabled { opacity: 0.45; cursor: not-allowed; }
/* the replay has six chapter buttons under the video: a slightly smaller video keeps CLOSE on a 375x812 screen */
.announce-card.is-replay .announce-wrap { max-width: min(300px, 33vh); }

/* The walkthrough card on the FAQ (owner, 2026-11-18): the cover, a line, and the one
   action. On a phone the button goes full width under the words. */
.faq-walk { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; margin: 0 0 28px;
  padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card);
  box-shadow: 0 0 28px rgba(255, 199, 75, 0.12); }
.faq-walk[hidden] { display: none; }
.faq-walk-thumb { width: 72px; height: 128px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border-soft); }
.faq-walk-eyebrow { margin: 0 0 4px; color: var(--cyan); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.faq-walk h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.faq-walk-text p:last-child { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.faq-walk .btn { white-space: nowrap; }
@media (max-width: 720px) {
  .faq-walk { grid-template-columns: 56px 1fr; gap: 14px; padding: 14px; }
  .faq-walk-thumb { width: 56px; height: 100px; }
  .faq-walk .btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
}
