/* ==========================================================================
   Jameel Motorsport Fan Games 2026 — Dark theme ("Night Race" surfaces)
   Near-black layered surfaces, hairline borders, crimson accents.
   Trivia uses a modern color-block UI (green / coral / lime on dark).
   Mobile-first, EN LTR / AR RTL. Desktop ≥900px is full-bleed.
   ========================================================================== */

/* Luma is the brand's Arabic face, the same one the WordPress site uses for RTL.
   It is declared here rather than borrowed from site-header.css, because the
   Terms page loads this stylesheet on its own. Three weights exist; anything
   above 600 renders as SemiBold rather than a synthesised bold. */
@font-face {
  font-family: Luma;
  src: url(/wp-content/themes/jms/fonts/Luma-Light.woff2) format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: Luma;
  src: url(/wp-content/themes/jms/fonts/Luma-Regular.woff2) format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: Luma;
  src: url(/wp-content/themes/jms/fonts/Luma-SemiBold.woff2) format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --red: #C8102E;
  --red-bright: #FF3B5C;
  --red-deep: #96001C;
  --page: #050608;
  --surface: #0C0E12;
  --card: #14171D;
  --panel: #191C24;
  --text: #F4F4F2;
  --text-2: #D5D9DF;
  --text-3: #A9B0BA;
  --muted: #98A0AA;
  --faint: #6B7280;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .07);
  --green: #1F8A5B;
  --green-text: #7FE0B2;
  --tv-green: #7CC29A;
  --tv-coral: #E0714C;
  --tv-lime: #D3DC4C;
  --tv-ink: #141519;
  /* Latin from Saira, Arabic from Luma: Saira carries no Arabic glyphs, so RTL
     falls through to the brand face the rest of the site uses. */
  --font-cond: 'Saira Condensed', 'Luma', sans-serif;
  --font-body: Saira, 'Luma', sans-serif;
  --shadow-card: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-hover: 0 12px 30px rgba(0, 0, 0, .5);
  --shadow-red: 0 8px 24px rgba(200, 16, 46, .38);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: var(--page); }

body {
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red-bright); text-decoration: none; }
a:hover { color: #FF6B84; }

::-webkit-scrollbar { width: 0; height: 0; }

button { font-family: inherit; }

@keyframes jmsPulse2 {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .35); }
  70% { box-shadow: 0 0 0 16px rgba(255, 59, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); }
}

/* ---- App shell ---------------------------------------------------------- */

.app-outer {
  min-height: 100dvh;
  background: var(--page);
  display: flex;
  justify-content: center;
}

.app {
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, .6);
}

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

.hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 11, 15, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}

.hdr-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.hdr-bar {
  width: 6px;
  height: 24px;
  background: var(--red);
  transform: skewX(-14deg);
}

.hdr-word {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1.8px;
  line-height: 1;
  color: var(--text);
}

.hdr-word span { color: var(--red-bright); }

.hdr-right { display: flex; align-items: center; gap: 8px; }

.pts-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}

.pts-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  display: inline-block;
}

.pts-num {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  color: var(--text);
}

.pts-lbl { font-size: 10px; color: var(--muted); letter-spacing: 1px; }

.lang-btn {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-family: 'Luma', Saira, sans-serif;
  font-weight: 600;
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color .2s;
}

.lang-btn:hover { border-color: var(--red-bright); }

.hdr-nav { display: none; }
/* the tabs live in the bottom bar here, so the points sit where they do on
   desktop instead of drifting to the start of an otherwise empty row */
.hdr { justify-content: flex-end; }

.hdr-signup {
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s;
}

.hdr-signup:hover { transform: translateY(-1px); }

.hdr-avatar {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  background: var(--panel);
  border: 1.5px solid var(--red-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--red-bright);
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}

.hdr-avatar svg { fill: currentColor; }

.hdr-avatar:hover { transform: translateY(-1px); }

.hdr-avatar.on {
  background: var(--red-bright);
  color: #fff;
}

/* Landing auth CTAs (guest state) */
.auth-cta {
  display: flex;
  gap: 10px;
  padding: 18px 20px 4px;
}

.auth-btn {
  flex: 1;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 13px;
}

.auth-note {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 20px 0;
}

.hdr-link {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 2px;
  transition: color .2s;
}

.hdr-link:hover { color: var(--text); }
.hdr-link.on { color: var(--red-bright); }

/* ---- Main / screens ------------------------------------------------------ */

.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 88px;
}

.screen {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  gap: 14px;
}

.screen--center {
  align-items: center;
  padding: 44px 20px 16px;
  gap: 16px;
  text-align: center;
}

.back-btn {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kicker-row { display: flex; align-items: center; gap: 8px; }
.kicker-rule { height: 2px; width: 26px; background: var(--red-bright); }

.kicker {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--red-bright);
}

.scr-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}

.scr-sub { font-size: 13px; color: var(--text-3); margin-top: 4px; }

.section-lbl {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---- Buttons ------------------------------------------------------------- */

.btn-primary {
  background: var(--red);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 2.5px;
  padding: 15px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: var(--shadow-red);
  transition: transform .15s;
}

.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-primary--sm {
  font-size: 16px;
  letter-spacing: 2px;
  padding: 14px;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 13px;
  cursor: pointer;
  text-transform: uppercase;
  transition: border-color .2s;
}

.btn-outline:hover { border-color: var(--muted); }

/* Chunky white pill (modern UI CTAs) */
.btn-white {
  background: var(--text);
  border: none;
  border-radius: 999px;
  color: var(--tv-ink);
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 2.5px;
  padding: 15px;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform .15s;
}

.btn-white:hover { transform: translateY(-2px); }

.btn-col { display: flex; flex-direction: column; gap: 10px; width: 100%; }

/* ---- Home ("choose your game" deck — mobile stacked, desktop full-bleed) --- */

.home2 { display: flex; flex-direction: column; }

/* ---- Home hero backdrop ---------------------------------------------------
   The brand shot sits behind the top of the landing screen. It breaks out of
   the app's 1240px column to run edge to edge (left:50% + 100vw), and fades
   into the page colour at the bottom so the cards below start on clean black.
   The scrim over it is what keeps the headline readable: the shot is bright
   red on one side, and white type straight on that is hard work. */
.home2 { position: relative; }

.home2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: 520px;
  /* Full bleed: the home content is capped at 1240px, so without breaking out
     the shot is boxed in and the crop loses the player. It fades into --surface
     rather than --page because .app is painted --surface, and ending on black
     drew a hard line where the fade met it. */
  background-image:
    linear-gradient(180deg,
      var(--surface) 0%,
      rgba(12, 14, 18, .72) 9%,
      rgba(12, 14, 18, .46) 30%,
      rgba(12, 14, 18, .58) 55%,
      rgba(12, 14, 18, .86) 78%,
      var(--surface) 96%),
    url('/games/assets/img/hero-bg.jpg');
  background-size: auto, cover;
  /* hero-bg.jpg is already cropped to roughly this shape at full source
     resolution, so almost all of it is in view and nothing is scaled up */
  background-position: center, center center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* the content has to sit on top of it */
.home2 > * { position: relative; z-index: 1; }

@media (max-width: 899px) {
  .home2::before {
    height: 380px;
    background-image:
      linear-gradient(180deg,
        var(--surface) 0%,
        rgba(12, 14, 18, .7) 9%,
        rgba(12, 14, 18, .48) 32%,
        rgba(12, 14, 18, .62) 58%,
        rgba(12, 14, 18, .88) 80%,
        var(--surface) 96%),
      url('/games/assets/img/hero-bg-mobile.jpg');
    background-position: center, center top;
  }
}

.home2-head { padding: 22px 20px 0; }

/* The season line sits on the backdrop now, where the red reads as part of the
   image rather than as type. White separates it. The rule beside it stays red
   so the accent is not lost, and the Latest matches kicker is untouched. */
.home2-head .kicker { color: #FFFFFF; }

/* Hero call to action: both buttons sit transparent and fill red on hover, the
   same behaviour as the game cards, so neither reads as the default choice.
   They also match each other in type, which they did not when one was solid.
   Scoped to the hero: .btn-primary keeps its solid red on forms and on Submit
   picks, where there genuinely is a primary action. */
.home2 .auth-cta .auth-btn {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .75);
  color: var(--text);
  box-shadow: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2.5px;
  padding: 14px;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}

.home2 .auth-cta .auth-btn:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}

/* The line under them carries more weight on the backdrop. Only the hero's:
   the same class labels voided fixtures and quiz notices elsewhere. */
.home2 .auth-note { font-weight: 600; color: var(--text-3); }

.home-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 46px;
  line-height: .95;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 6px;
}

.home-sub { font-size: 14px; font-weight: 600; color: var(--text-2); margin-top: 6px; }

.deck {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 20px 20px;
}

.deck-card {
  position: relative;
  height: 210px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line-2);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}

.deck-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--line);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .6);
}

/* Art slot: drop real photography into assets/card-{motm,trivia,ranks}.jpg and
   it layers automatically under the gradient overlay (missing images are
   skipped by CSS, leaving the branded placeholder art). */
.deck-art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The ?v= on the three photos below is their own cache buster. The files were
   replaced in place and are served immutable for a month, so a browser holding
   the old art would never ask for the new. Bump it when the art changes, not
   on every release, and leave the untouched cards alone so they stay cached. */
.deck-art--motm {
  background-image:
    radial-gradient(120% 90% at 80% 100%, rgba(200, 16, 46, .45) 0%, rgba(200, 16, 46, 0) 55%),
    url('../assets/card-motm.jpg?v=2.5.2'),
    linear-gradient(160deg, #2A2C33 0%, #101116 100%);
  background-position: center, center 52%, center;
}

.deck-art--trivia {
  background-image:
    radial-gradient(120% 90% at 20% 100%, rgba(200, 16, 46, .35) 0%, rgba(200, 16, 46, 0) 55%),
    url('../assets/card-trivia.jpg?v=2.5.2'),
    linear-gradient(200deg, #26282F 0%, #0E0F13 100%);
  background-position: center, center 58%, center;
}

.deck-art--ranks {
  background-image:
    radial-gradient(120% 90% at 50% 110%, rgba(200, 16, 46, .4) 0%, rgba(200, 16, 46, 0) 55%),
    url('../assets/card-ranks.jpg?v=2.5.2'),
    linear-gradient(180deg, #24262C 0%, #0F1014 100%);
  background-position: center, center 40%, center;
}

.deck-art--predict {
  background-image:
    radial-gradient(120% 90% at 30% 100%, rgba(200, 16, 46, .4) 0%, rgba(200, 16, 46, 0) 55%),
    url('../assets/card-predict.jpg'),
    linear-gradient(170deg, #262932 0%, #0E0F13 100%);
}

.deck-art--whoami {
  background-image:
    radial-gradient(120% 90% at 70% 100%, rgba(122, 79, 191, .35) 0%, rgba(122, 79, 191, 0) 55%),
    url('../assets/card-whoami.jpg'),
    linear-gradient(190deg, #23252E 0%, #0D0E12 100%);
}

.deck-stripes {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: 90px;
  background: repeating-linear-gradient(115deg, rgba(200, 16, 46, .28) 0 8px, transparent 8px 22px);
  pointer-events: none;
}

.deck-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, .1) 30%, rgba(5, 6, 8, .9) 92%);
  pointer-events: none;
}

.deck-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #17181C;
  pointer-events: none;
  text-transform: uppercase;
  z-index: 2;
}

.deck-body {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 16px 18px;
  z-index: 2;
}

.deck-kicker {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--red-bright);
}

.deck-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-top: 4px;
}

.deck-desc {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}

.deck-cta {
  display: inline-block;
  margin-top: 12px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  padding: 8px 24px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(200, 16, 46, .35);
}

.deck-cta--outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .75);
  box-shadow: none;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}

/* The whole card is the target, so its button answers the card's hover rather
   than waiting for the pointer to find the button itself. */
.deck-card:hover .deck-cta--outline {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 6px 18px rgba(200, 16, 46, .35);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 20px 4px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 14px;
}

.stat-lbl {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}

.stat-val {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  color: var(--text);
}

.stat-val--red { color: var(--red-bright); }

.stat-sub {
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line-2);
  padding-top: 6px;
  margin-top: 6px;
}

.stat-sub b { color: var(--text); font-weight: 700; }

.stats--3 { grid-template-columns: repeat(3, 1fr); }

.stats--3 .stat-val { font-size: 24px; }

/* ---- Account -------------------------------------------------------------- */

.acct-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 4px;
}

.acct-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--red-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-bright);
  flex: none;
}

.acct-avatar svg { fill: currentColor; }

.acct-name {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.acct-rank { font-size: 12px; color: var(--muted); }

.acct-rank b { color: var(--red-bright); }

.master-card {
  background:
    radial-gradient(120% 130% at 50% -20%, rgba(200, 16, 46, .28) 0%, transparent 60%),
    var(--card);
  border: 1.5px solid rgba(255, 59, 92, .45);
  border-radius: 18px;
  padding: 20px 18px;
  text-align: center;
}

.master-val {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  color: var(--red-bright);
}

.master-val span { font-size: 15px; color: var(--muted); font-weight: 700; }

.master-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

.acct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.acct-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.acct-card svg { fill: var(--red-bright); }

.acct-pts { font-size: 11px; color: var(--muted); }

.acct-other {
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line-2);
  padding-top: 7px;
  margin-top: 2px;
}

@media (min-width: 900px) {
  .screen--account,
  .screen--auth { max-width: 560px; }
}

/* ---- MOTM landing --------------------------------------------------------- */

.match-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.match-lbl {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--red-bright);
  text-transform: uppercase;
  font-weight: 600;
}

.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.team-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}

.team-badge--a { border: 1.5px solid var(--red-bright); }
.team-badge--b { border: 1.5px solid var(--line); }

.match-team-name { font-size: 12px; font-weight: 600; text-align: center; color: var(--text); }

.match-vs {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 20px;
  color: var(--faint);
}

.match-meta {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line-2);
  padding-top: 10px;
}

.cd-card {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 14px 16px;
}

.cd-lbl {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cd-row { display: flex; justify-content: space-between; gap: 8px; }

.cd-seg {
  flex: 1;
  background: rgba(255, 255, 255, .05);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
}

.cd-val {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: #FFFFFF;
}

.cd-seg-lbl {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--red-bright);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Fixture prediction carousel: one selectable card per match open for picks */

.fx-wrap { display: flex; flex-direction: column; gap: 10px; }

.fx-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -20px;
  padding: 2px 20px 6px;
  -webkit-overflow-scrolling: touch;
}

.fx-card {
  flex: none;
  width: 300px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1.5px solid var(--line-2);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .25s;
}

.fx-card:hover { transform: translateY(-3px); border-color: var(--line); }

.fx-card.on {
  border-color: var(--red-bright);
  box-shadow: 0 14px 34px rgba(200, 16, 46, .25);
}

.fx-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line-2);
  padding-top: 10px;
}

.fx-status {
  font-size: 11px;
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fx-status.picked { color: var(--red-bright); font-weight: 600; }

.fx-btn {
  flex: none;
  background: var(--red);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
}

.steps { display: flex; flex-direction: column; gap: 8px; }

.step-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 11px 14px;
}

.step-num {
  width: 26px;
  height: 26px;
  flex: none;
  background: rgba(255, 59, 92, .12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 14px;
  color: var(--red-bright);
}

.step-txt { font-size: 13px; color: var(--text-2); }

/* ---- MOTM pick ------------------------------------------------------------ */

.pick-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.pick-head .scr-title { font-size: 30px; }

.cd-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  color: var(--red-bright);
}

.seg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.seg-btn {
  border-radius: 999px;
  padding: 11px 8px;
  cursor: pointer;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all .2s;
  background: var(--card);
  border: 1.5px solid var(--line);
  color: var(--text-3);
}

.seg-btn.on {
  background: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
}

/* Player picker: arced trading-card carousel with player photography */

.carousel {
  display: flex;
  align-items: center;
  gap: 4px;
}

.car-arrow {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 30;
  transition: border-color .2s;
}

.car-arrow:hover { border-color: var(--red-bright); }

.car-viewport {
  position: relative;
  flex: 1;
  height: 330px;
  overflow: hidden;
  touch-action: pan-y;
}

.pc-card {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 176px;
  height: 272px;
  margin-left: -88px;
  background: linear-gradient(180deg, #1E222B 0%, #12141A 100%);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 10px 10px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .55);
  transition: transform .35s cubic-bezier(.22, .85, .35, 1), opacity .3s, border-color .2s, box-shadow .25s;
  user-select: none;
  -webkit-user-select: none;
}

.pc-card.focus {
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .7);
}

.pc-card.sel,
.pc-card.sel.focus {
  border-color: var(--red-bright);
  box-shadow: 0 22px 52px rgba(200, 16, 46, .45);
}

/* Photo slot: the squad-card art under the photo, so a card is never blank and
   a portrait that 404s falls back to the card rather than to a hole. */
.pc-photo {
  position: relative;
  width: 100%;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #12141A;
}

/* Squad card: the art a player with no photo gets. Club colour, the diagonal
   sheen and the dot band from the client's reference, the shirt number and
   position where a FIFA card puts the rating, the club code along the bottom.
   Nothing on it is invented: every value is a field we store. Option B of the
   three concepts, picked by the client on 2026-10-23.
   The base gradient and the sheen are layers on this one element; the dot band
   needs its own mask and the silhouette has to sit above the dots, so those two
   are children rather than three more background layers. */
.pc-sq {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(118deg,
      rgba(255, 255, 255, .085) 0 10px,
      rgba(255, 255, 255, 0) 10px 26px,
      rgba(255, 255, 255, .035) 26px 31px,
      rgba(255, 255, 255, 0) 31px 58px),
    linear-gradient(158deg,
      color-mix(in srgb, var(--kit) 86%, #fff 14%) 0%,
      color-mix(in srgb, var(--kit) 96%, #fff 4%) 34%,
      color-mix(in srgb, var(--kit) 88%, #000 12%) 68%,
      color-mix(in srgb, var(--kit) 72%, #000 28%) 100%);
}

/* Banded diagonally so it reads as a texture and not as wallpaper. */
.pc-sq-dots {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .17) .8px, transparent .8px);
  background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(142deg, transparent 42%, #000 58%, #000 72%, transparent 86%);
  mask-image: linear-gradient(142deg, transparent 42%, #000 58%, #000 72%, transparent 86%);
}

/* Traced from the silhouette the client supplied, so the proportions are
   theirs and not an approximation. A background image rather than 50 inlined
   copies of a 1.2 KB path in the carousel's markup. */
.pc-sq-sil {
  position: absolute;
  inset: 0;
  background: url(/games/assets/img/player-silhouette.svg) bottom center / contain no-repeat;
}

/* No z-index: the whole squad card has to stay under .pc-img, or the shirt
   number prints over the portrait of every player who has one. */
.pc-sq-meta {
  position: absolute;
  top: 9px;
  inset-inline-start: 10px;
  line-height: .92;
  text-align: start;
}

.pc-sq-num {
  display: block;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 34px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.pc-sq-pos {
  display: block;
  margin-top: 3px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .82);
}

.pc-sq-rule {
  position: absolute;
  bottom: 25px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
}

.pc-sq-club {
  position: absolute;
  bottom: 8px;
  inset-inline: 0;
  text-align: center;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .72);
}

/* The portraits are cut out of their studio backgrounds, so the art behind a
   player who has one is the same art a player without one gets, which is what
   the client asked for. What has to go with it is the no-photo state's own
   content: the silhouette, and the number, position and club the squad card
   prints, which would otherwise read around the player's head.
   :has, so a portrait that 404s and removes itself brings all of it back. */
.pc-photo:has(.pc-img) .pc-sq-sil,
.pc-photo:has(.pc-img) .pc-sq-meta,
.pc-photo:has(.pc-img) .pc-sq-rule,
.pc-photo:has(.pc-img) .pc-sq-club {
  display: none;
}

.pc-ghostnum {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 22%;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 74px;
  color: rgba(255, 255, 255, .07);
  line-height: 1;
}

.pc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* traces the cut-out's alpha, so a yellow shirt on the yellow Ittihad card
     still separates from it */
  filter: drop-shadow(0 2px 10px rgba(5, 6, 8, .5)) drop-shadow(0 0 2px rgba(5, 6, 8, .4));
}

.pc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0) 55%, rgba(5, 6, 8, .55) 100%);
  pointer-events: none;
}

.pc-pos {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--text-2);
  background: rgba(5, 6, 8, .55);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  z-index: 2;
}

.pc-numchip {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(200, 16, 46, .4);
  z-index: 2;
}

.pc-card.sel .pc-numchip { background: var(--red-bright); color: var(--tv-ink); }

/* A portrait that fails to load removes itself and sets this, uncovering the
   squad card, which prints the shirt number itself, so the chip has to go. */
.pc-photo.no-img .pc-numchip { display: none; }

.pc-first {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  margin-top: 10px;
  line-height: 1;
}

.pc-last {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
  text-align: center;
}

.pc-card.sel .pc-last { color: var(--red-bright); }

.pc-hint {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.pc-hint span { display: none; }
.pc-hint-tap { color: var(--muted); }
.pc-hint-sel { color: var(--red-bright); }

.pc-card.focus:not(.sel) .pc-hint-tap { display: inline; }
.pc-card.sel .pc-hint-sel { display: inline; }

.submit-btn {
  position: sticky;
  bottom: 96px;
  z-index: 25;
  border: none;
  border-radius: 999px;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 2.5px;
  padding: 15px;
  text-transform: uppercase;
  transition: all .2s;
  background: var(--card);
  color: var(--faint);
  cursor: not-allowed;
  box-shadow: none;
  border: 1px solid var(--line-2);
}

.submit-btn.ready {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-red);
}

/* ---- Exact Score game --------------------------------------------------------- */

.rule-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.rule-chip {
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 8px 14px;
}

.rule-chip b {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  color: var(--red-bright);
}

.rule-chip span {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--muted);
  text-transform: uppercase;
}

/* Fan of the Match: prediction slip */

.fm-disclaimer {
  font-size: 11px;
  color: var(--faint);
  margin-top: 6px;
}

.seg-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.seg-grid--3 .seg-btn { font-size: 13px; padding: 10px 4px; white-space: nowrap; }

.mk-list { display: flex; flex-direction: column; gap: 10px; }

.mk-card {
  background: var(--card);
  border: 1.5px solid var(--line-2);
  border-radius: 16px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s;
}

.mk-card.on { border-color: rgba(255, 59, 92, .45); }

.mk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mk-title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text);
}

.mk-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: -6px;
}

.mk-pts {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 15px;
  color: var(--red-bright);
}

.mk-opts { display: flex; flex-wrap: wrap; gap: 8px; }

.mk-opt {
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  background: var(--panel);
  border: 1.5px solid var(--line);
  color: var(--text-3);
  transition: all .18s;
}

.mk-opt:hover { border-color: var(--muted); }

.mk-opt.on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.mk-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.mk-score.idle { opacity: .55; }

.mk-clear {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

/* Anytime scorer: swipeable player chips from both rosters */
.fs-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 6px;
  -webkit-overflow-scrolling: touch;
}

.fs-chip {
  flex: none;
  width: 64px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.fs-photo {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--line-2);
  background:
    radial-gradient(140% 120% at 50% 120%, color-mix(in srgb, var(--kit) 45%, transparent) 0%, transparent 65%),
    linear-gradient(180deg, #232833 0%, #12141A 100%);
  transition: border-color .2s;
}

.fs-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 16px;
  color: rgba(255, 255, 255, .45);
}

.fs-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.fs-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-chip.on .fs-photo {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 3px rgba(255, 59, 92, .25);
}

.fs-chip.on .fs-name { color: var(--red-bright); }

/* Sticky slip summary */
.slip-bar {
  position: sticky;
  bottom: 96px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 11px 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
}

.slip-sum {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .5px;
  color: var(--muted);
  min-width: 0;
}

.slip-sum b { color: var(--text); font-weight: 800; }

.slip-combo {
  color: var(--tv-lime);
  font-weight: 700;
}

.slip-btn { font-size: 13px; padding: 10px 18px; }
.slip-btn[disabled] { opacity: .45; cursor: not-allowed; }

.sc-colon {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 26px;
  color: var(--faint);
}

.st {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: none;
}

.st-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s;
}

.st-btn:hover { border-color: var(--red-bright); }

.st-val {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: var(--text);
  min-width: 30px;
  text-align: center;
}

/* ---- Who Am I? ------------------------------------------------------------------ */

.wa-photo {
  position: relative;
  width: 230px;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  /* Same squad-card art as the prediction cards, so the frame behind a
     mystery player reads as the same object whether his portrait is there or
     not. No dot band: the blurred portrait covers it. No shirt number, no
     position and no club code either: those are the answer. */
  background-image:
    url(/games/assets/img/player-silhouette.svg),
    repeating-linear-gradient(118deg,
      rgba(255, 255, 255, .085) 0 10px,
      rgba(255, 255, 255, 0) 10px 26px,
      rgba(255, 255, 255, .035) 26px 31px,
      rgba(255, 255, 255, 0) 31px 58px),
    linear-gradient(158deg,
      color-mix(in srgb, var(--kit) 86%, #fff 14%) 0%,
      color-mix(in srgb, var(--kit) 96%, #fff 4%) 34%,
      color-mix(in srgb, var(--kit) 88%, #000 12%) 68%,
      color-mix(in srgb, var(--kit) 72%, #000 28%) 100%);
  background-position: bottom center, 0 0, 0 0;
  background-size: contain, auto, auto;
  background-repeat: no-repeat, repeat, no-repeat;
}

/* The ? only shows when there is no portrait to blur, and 7% white disappears
   on a club colour. */
.wa-photo .pc-ghostnum { font-size: 84px; padding-bottom: 0; color: rgba(255, 255, 255, .17); }

.wa-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: filter .5s ease;
  transform: scale(1.06); /* hide blur edge bleed */
}

.wa-clues {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.wa-clue {
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 13px;
}

.wa-clue span {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
}

.wa-clue b { font-size: 13px; font-weight: 700; color: var(--text); }

.wa-status {
  text-align: center;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.wa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.wa-opt {
  border-radius: 12px;
  padding: 12px 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  background: var(--card);
  border: 1.5px solid var(--line-2);
  color: var(--text);
  transition: all .18s;
}

.wa-opt:hover { border-color: var(--muted); }
.wa-opt.out { opacity: .32; pointer-events: none; }
.wa-opt.hit {
  background: var(--tv-green);
  border-color: var(--tv-green);
  color: var(--tv-ink);
  opacity: 1;
  pointer-events: none;
}

.wa-result {
  width: 100%;
  border-radius: 22px;
  padding: 22px 20px;
  text-align: center;
  color: var(--tv-ink);
}

.wa-result.win { background: var(--tv-lime); }
.wa-result.lose { background: var(--tv-coral); }

.wa-result-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
}

.wa-result-sub { font-size: 13px; opacity: .75; margin-top: 4px; }

.wa-result-pts {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  margin-top: 10px;
}

.wa-result-pts span { font-size: 14px; letter-spacing: 2px; }

.wa-next {
  margin-top: 14px;
  width: 100%;
  font-size: 15px;
  padding: 12px;
}

/* ---- Recent community picks (pick screen) ----------------------------------- */

.rp-wrap { display: flex; flex-direction: column; gap: 10px; }

.rp-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -20px;
  padding: 2px 20px 6px;
  -webkit-overflow-scrolling: touch;
}

.rp-card {
  flex: none;
  width: 200px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rp-top { display: flex; align-items: center; gap: 8px; min-width: 0; }

.rp-avatar {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  color: var(--text);
}

.rp-user {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-ago {
  flex: none;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--faint);
}

.rp-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line-2);
  padding-top: 10px;
}

/* Player photo chip (kit-tinted ghost number under the photo) */
.rp-photo {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(140% 120% at 50% 120%, color-mix(in srgb, var(--kit) 45%, transparent) 0%, transparent 65%),
    linear-gradient(180deg, #232833 0%, #12141A 100%);
  border: 1px solid var(--line-2);
}

.rp-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 16px;
  color: rgba(255, 255, 255, .45);
}

.rp-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.rp-hash {
  font-family: var(--font-cond);
  font-weight: 700;
  color: var(--red-bright);
}

.rp-info { min-width: 0; }

.rp-pname {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-pteam { font-size: 10.5px; color: var(--muted); }

/* ---- MOTM confirmation ----------------------------------------------------- */

.confirm-badge {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 59, 92, .08);
  border: 2px solid var(--red-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--red-bright);
  animation: jmsPulse2 2s ease-out infinite;
}

.confirm-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text);
}

.confirm-sub { font-size: 13px; color: var(--text-3); margin-top: 6px; }

.pick-summary {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: start;
  box-shadow: var(--shadow-card);
}

.pick-num-sq {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 14px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
}

.pick-info { flex: 1; }

.pick-kicker {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}

.pick-name { font-weight: 700; font-size: 17px; color: var(--text); }
.pick-team { font-size: 12px; color: var(--muted); }

/* ---- Trivia landing (modern color-block UI) --------------------------------- */

.trivia-hero {
  background: var(--red);
  border-radius: 26px;
  padding: 26px 20px;
  position: relative;
  overflow: hidden;
}

.trivia-stripes {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: 110px;
  background: repeating-linear-gradient(115deg, rgba(0, 0, 0, .22) 0 10px, transparent 10px 26px);
  pointer-events: none;
}

.trivia-kicker {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .75);
  text-transform: uppercase;
}

.trivia-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 40px;
  line-height: .98;
  text-transform: uppercase;
  margin-top: 6px;
  color: #FFFFFF;
}

.trivia-pitch {
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
  margin-top: 8px;
  max-width: 250px;
}

/* Meta chips inside the hero block, honestpoll-style black pills */
.trivia-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  z-index: 2;
}

.tv-pill {
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: var(--tv-ink);
  border-radius: 999px;
  padding: 9px 16px;
}

.tv-pill b {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  color: #FFFFFF;
}

.tv-pill span {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
}

/* ---- Trivia quiz --------------------------------------------------------------- */

.quiz-top { display: flex; align-items: center; justify-content: space-between; }

.quiz-progress {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}

.score-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}

.score-pill span { font-size: 10px; color: var(--muted); }

.timer-track {
  height: 8px;
  background: rgba(255, 255, 255, .1);
  border-radius: 99px;
  overflow: hidden;
}

.timer-fill {
  height: 100%;
  background: var(--tv-green);
  border-radius: 99px;
  transition: width 1s linear;
  width: 100%;
}

.timer-fill.low { background: var(--tv-coral); }

/* Question inside a big rounded color block; color cycles per question */
.q-block {
  border-radius: 26px;
  padding: 26px 22px 30px;
  color: var(--tv-ink);
}

.q-kicker {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: .55;
}

.q-text {
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  margin-top: 8px;
}

.opts { display: flex; flex-direction: column; gap: 9px; }

.opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: start;
  border-radius: 16px;
  padding: 14px 18px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: all .18s;
  background: var(--card);
  border: 1.5px solid var(--line-2);
  color: var(--text);
}

.opt:hover { border-color: var(--muted); }

.opt .opt-mark { font-weight: 800; }

.opt.correct {
  background: var(--tv-green);
  border-color: var(--tv-green);
  color: var(--tv-ink);
}

.opt.wrong {
  background: var(--tv-coral);
  border-color: var(--tv-coral);
  color: var(--tv-ink);
}

.opt.dim { opacity: .4; }

.opt.locked { cursor: default; }
.opt.locked:hover { border-color: var(--line-2); }
.opt.correct.locked:hover { border-color: var(--tv-green); }
.opt.wrong.locked:hover { border-color: var(--tv-coral); }

.feedback-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feedback {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tv-coral);
}

.feedback.good { color: var(--tv-green); }

.next-btn {
  background: var(--text);
  border: none;
  border-radius: 999px;
  color: var(--tv-ink);
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 12px 28px;
  cursor: pointer;
  text-transform: uppercase;
}

/* ---- Trivia score (lime result block) ---------------------------------------- */

.score-block {
  width: 100%;
  background: var(--tv-lime);
  border-radius: 26px;
  padding: 34px 24px;
  color: var(--tv-ink);
  text-align: center;
}

.score-kicker {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: .55;
}

.score-val {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 74px;
  line-height: .95;
  margin-top: 8px;
}

.score-val span {
  font-size: 20px;
  letter-spacing: 2px;
  vertical-align: super;
}

.score-msg {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 27px;
  text-transform: uppercase;
  margin-top: 10px;
}

.score-detail { font-size: 14px; opacity: .7; margin-top: 2px; }

/* ---- Feed zone: matches + news, clearly separated from the game section ------ */

.feed-zone {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 14px;
}

/* Crimson diagonal-stripe band separating the game section from the feed */
.feed-zone::before {
  content: '';
  height: 10px;
  border-radius: 999px;
  background: repeating-linear-gradient(115deg, #C8102E 0 12px, #96001C 12px 24px);
  margin-bottom: 4px;
}

.feed-zone .news {
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
}

/* ---- Latest matches strip (MOTM + Trivia landings) --------------------------- */

.matches { display: flex; flex-direction: column; gap: 10px; }

/* Mobile: horizontal swipe with snap; desktop switches to a grid */
.match-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -20px;
  padding: 2px 20px 6px;
  -webkit-overflow-scrolling: touch;
}

.m-card {
  flex: none;
  width: 292px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.m-card--live {
  background: var(--tv-lime);
  border-color: var(--tv-lime);
  color: var(--tv-ink);
}

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

.m-comp {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-card--live .m-comp { color: rgba(20, 21, 25, .6); }

.m-status {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: var(--text-3);
  white-space: nowrap;
}

.m-status.on {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--tv-ink);
  color: var(--tv-lime);
}

.m-status.on::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  animation: jmsLiveDot 1.4s ease-in-out infinite;
}

@keyframes jmsLiveDot {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.m-team {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.m-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--panel);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
}

.m-card--live .m-badge {
  background: var(--tv-ink);
  border-color: transparent;
  color: #FFFFFF;
}

.m-tname {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.m-score {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.m-score--vs { font-size: 18px; color: var(--faint); }
.m-card--live .m-score--vs { color: rgba(20, 21, 25, .5); }

.m-meta {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line-2);
  padding-top: 9px;
}

.m-card--live .m-meta {
  color: rgba(20, 21, 25, .55);
  border-top-color: rgba(20, 21, 25, .15);
}

/* ---- Football news teasers (MOTM + Trivia landings) --------------------------- */

.news { display: flex; flex-direction: column; gap: 10px; }

/* Mobile: horizontal swipe with snap; desktop switches to a grid */
.news-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -20px;
  padding: 2px 20px 6px;
  -webkit-overflow-scrolling: touch;
}

.n-card {
  flex: none;
  width: 240px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .25s;
}

.n-card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .5);
}

/* Thumb slot: assets/news/news-N.jpg layers over a branded gradient */
.n-thumb {
  position: relative;
  height: 118px;
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.n-tag {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tv-ink);
  border-radius: 999px;
  padding: 4px 10px;
}

.n-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.n-title {
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n-meta {
  margin-top: auto;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Leaderboard ------------------------------------------------------------------- */

.board-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}

.board-seg .seg-btn { padding: 10px 8px; font-size: 14px; }

.period-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line-2);
}

.period-tab {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 2px 10px;
  color: var(--faint);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.period-tab.on { color: var(--text); border-bottom-color: var(--red-bright); }

.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 10px 0 4px;
}

.podium-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 1;
}

.podium-avatar {
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
}

.podium-col.first .podium-avatar { border-color: var(--red-bright); }

.podium-name {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: var(--text);
}

.podium-bar {
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent);
  border: 1px solid var(--line-2);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8px;
}

.podium-col.first .podium-bar {
  background: linear-gradient(180deg, rgba(200, 16, 46, .28), transparent);
}

.podium-rank {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
}

.podium-col.first .podium-rank { color: var(--red-bright); }

.podium-pts {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-3);
}

.board-rows { display: flex; flex-direction: column; gap: 7px; }

.board-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  padding: 11px 14px;
  background: var(--card);
  border: 1px solid var(--line-2);
}

.board-row.me {
  background: rgba(200, 16, 46, .12);
  border-color: rgba(255, 59, 92, .5);
}

.row-rank {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 16px;
  width: 24px;
  color: var(--faint);
}

.board-row.me .row-rank { color: var(--red-bright); }

.row-avatar {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
}

.row-name { flex: 1; font-weight: 600; font-size: 14px; color: var(--text); }

.row-pts {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
}

.row-pts span { font-size: 10px; font-weight: 600; color: var(--muted); }

/* ---- Bottom tab bar ------------------------------------------------------------------ */

.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(10, 11, 15, .9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-2);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}

.tab {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0;
  font-family: inherit;
  color: var(--faint);
}

.tab.on { color: var(--red-bright); }

.tab svg { fill: currentColor; }

.tab span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .5px;
  color: currentColor;
}

/* Social row. Sits inside .app-main, so the tab bar's 88px of bottom padding
   already clears it on mobile. */
.gm-footer {
  margin-top: auto;
  padding: 26px 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line-2);
}

.gm-follow {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
}

.gm-social {
  display: flex;
  gap: 10px;
}

.gm-soc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line-2);
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, border-color .2s, background .2s;
}

.gm-soc:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.gm-soc svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ==========================================================================
   Desktop (≥900px): full-bleed, top nav replaces tab bar.
   ========================================================================== */

@media (min-width: 900px) {

  .tabbar { display: none; }

  .app-main { padding-bottom: 48px; }

  /* the site header above is full width with a 30px inset, so the row's right edge
     lines up with the fan's name and the language switch */
  .hdr { padding: 14px 30px; }

  /* three columns: the tabs sit centred in the bar with the points or the sign-up
     call to action at the end, now that the logo lives in the site header above */
  .hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }

  .hdr-nav { display: flex; align-items: center; gap: 20px; grid-column: 2; justify-content: center; }

  .hdr-right { grid-column: 3; justify-self: end; margin-inline-start: 24px; }

  .hdr-link { white-space: nowrap; font-size: 13px; letter-spacing: 1.5px; }

  /* Landing auth block centered on desktop */
  .app--home .auth-cta {
    justify-content: center;
    padding: 26px 0 4px;
  }

  .app--home .auth-btn { flex: none; min-width: 220px; }

  .app--home .auth-note { text-align: center; padding: 10px 0 0; font-size: 13px; }

  /* Header spans the full viewport; every screen manages its own container */
  .app { max-width: none; box-shadow: none; }

  .screen {
    width: 100%;
    margin: 0 auto;
    padding: 32px 40px;
    gap: 18px;
  }

  .screen--center { padding-top: 56px; }

  .scr-title { font-size: 42px; }
  .scr-sub { font-size: 14px; }

  .submit-btn { bottom: 24px; }

  /* Full-bleed home */
  .app--home {
    max-width: none;
    box-shadow: none;
  }

  .home2 {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px 40px 72px;
  }

  .home2-head { padding: 0; text-align: center; }

  .home2-head .kicker-row { justify-content: center; }

  .app--home .home-title {
    font-size: 76px;
    margin-top: 10px;
  }

  .app--home .home-sub {
    font-size: 17px;
    margin-top: 10px;
  }

  .app--home .stats {
    grid-template-columns: repeat(2, 180px);
    justify-content: center;
    padding: 26px 0 8px;
  }

  .app--home .stats--3 { grid-template-columns: repeat(3, 180px); }

  .app--home .stat-card { text-align: center; }

  .deck {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    padding: 34px 0 0;
  }

  .deck-card {
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: 560px;
  }

  .deck-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 26px 56px rgba(0, 0, 0, .65);
  }

  .deck-body { padding: 24px 26px; }

  .deck-title { font-size: 34px; }

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

  .deck-cta { margin-top: 16px; font-size: 15px; padding: 10px 30px; }

  /* MOTM landing: match + countdown side by side, steps as a 3-up row */
  .screen--motm {
    max-width: 1080px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
    align-items: stretch;
  }

  .screen--motm .back-btn,
  .screen--motm .scr-head { grid-column: 1 / -1; }

  /* Timer on top, full width, segments centered */
  .screen--motm .cd-card {
    grid-column: 1 / -1;
    padding: 20px 24px;
  }

  .screen--motm .cd-lbl { text-align: center; }

  .screen--motm .cd-row {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .screen--motm .cd-val { font-size: 34px; }

  /* Fixture carousel spans the grid, 3-up */
  .screen--motm .fx-wrap { grid-column: 1 / -1; }

  .fx-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .fx-card { width: auto; }

  .screen--motm .steps {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .screen--motm .steps .section-lbl { grid-column: 1 / -1; }

  .screen--motm .btn-primary {
    grid-column: 1 / -1;
    width: 430px;
    justify-self: center;
  }

  .screen--motm .feed-zone { grid-column: 1 / -1; }

  /* Matches: 3-up grid on desktop, no horizontal scroll */
  .match-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .m-card { width: auto; }

  /* News: 4-up grid on desktop */
  .news-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .n-card { width: auto; }
  .n-thumb { height: 132px; }

  /* MOTM pick: bigger cards, centered controls */
  .screen--pick { max-width: 1080px; }

  .screen--pick .seg-grid {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .screen--pick .car-viewport { height: 384px; }

  .screen--pick .pc-card {
    width: 212px;
    height: 320px;
    margin-left: -106px;
    padding: 12px 12px 14px;
  }

  .screen--pick .pc-last { font-size: 22px; }
  .screen--pick .pc-numchip { width: 44px; height: 44px; font-size: 19px; }

  .screen--pick .car-arrow { width: 44px; height: 44px; font-size: 24px; }

  .screen--pick .submit-btn {
    width: 430px;
    margin: 0 auto;
  }

  /* Recent picks: 5-up grid on desktop */
  .rp-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .rp-card { width: auto; }

  /* Trivia landing: wide hero block */
  .screen--trivia { max-width: 920px; }

  .screen--trivia .trivia-hero { padding: 46px 44px; border-radius: 32px; }
  .screen--trivia .trivia-title { font-size: 62px; }
  .screen--trivia .trivia-pitch { font-size: 15px; max-width: 440px; }
  .screen--trivia .trivia-stripes { width: 200px; }
  .screen--trivia .tv-pill { padding: 11px 20px; }
  .screen--trivia .tv-pill b { font-size: 20px; }

  .screen--trivia .btn-white {
    width: 430px;
    margin: 0 auto;
  }

  /* Quiz: readable width, answers in a 2x2 grid */
  .screen--quiz { max-width: 760px; }

  .screen--quiz .q-block { padding: 36px 34px 40px; border-radius: 32px; }
  .screen--quiz .q-text { font-size: 25px; }

  .screen--quiz .opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* Fan of the Match: focused slip column */
  .screen--fotm { max-width: 680px; }

  .screen--fotm .slip-bar { bottom: 24px; }
  .screen--fotm .st-val { font-size: 38px; }

  /* Who Am I: centered puzzle column, 4-up answers */
  .screen--whoami { max-width: 640px; }

  .screen--whoami .wa-photo { width: 260px; }

  .screen--whoami .wa-grid { grid-template-columns: repeat(4, 1fr); }

  /* Focal screens: confirmation + score stay a centered card-width column */
  .screen--confirm,
  .screen--score { max-width: 560px; }

  .screen--score .score-block { padding: 44px 32px; border-radius: 32px; }
  .screen--score .score-val { font-size: 86px; }

  /* Leaderboard: wider board, roomier podium */
  .screen--board { max-width: 880px; }

  .screen--board .podium { gap: 16px; max-width: 640px; margin: 0 auto; width: 100%; }
  .screen--board .board-title { font-size: 42px; }
}

/* ==========================================================================
   V2 additions: auth screen (sign in / sign up forms) + logout
   ========================================================================== */

.screen--auth { display: flex; flex-direction: column; gap: 14px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.af-field { display: flex; flex-direction: column; gap: 6px; }
.af-label {
  font-family: var(--font-cond, 'Saira Condensed', sans-serif);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.af-input {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  color: #fff;
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.af-input:focus { border-color: #D7454D; background: rgba(255, 255, 255, .08); }
.af-hint { font-size: 12px; color: rgba(255, 255, 255, .45); line-height: 1.4; }
.af-error {
  background: rgba(215, 69, 77, .12);
  border: 1px solid rgba(215, 69, 77, .45);
  border-radius: 10px;
  color: #ff9aa0;
  font-size: 13.5px;
  padding: 10px 12px;
}
.af-forgot {
  align-self: center; color: rgba(255, 255, 255, .55);
  font-size: 13px; text-decoration: underline; margin-top: 2px;
}
.af-forgot:hover { color: #fff; }
.btn-logout { margin-top: 4px; opacity: .8; }

/* ==========================================================================
   V2.1 additions: errors, how-to-play, thank-you, share, full team names
   ========================================================================== */

/* ---- Inline error ------------------------------------------------------- */

.err-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(215, 69, 77, .12);
  border: 1px solid rgba(215, 69, 77, .45);
  border-radius: 12px;
  padding: 11px 13px;
}

.err-msg { font-size: 13.5px; line-height: 1.45; color: #ff9aa0; }

.err-retry {
  flex: none;
  background: transparent;
  border: 1px solid rgba(255, 154, 160, .5);
  border-radius: 999px;
  color: #ff9aa0;
  cursor: pointer;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 14px;
  text-transform: uppercase;
}

.err-retry:hover { background: rgba(255, 154, 160, .12); }

/* ---- "How to play" entry point ------------------------------------------ */

.howto-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-3);
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  padding: 6px 13px 6px 7px;
  transition: border-color .2s, color .2s;
}

.howto-link:hover { border-color: var(--muted); color: var(--text); }

.howto-q {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 800;
}

[dir="rtl"] .howto-link { padding: 6px 7px 6px 13px; }

/* ---- How to play screen -------------------------------------------------- */

.ht-list { display: flex; flex-direction: column; gap: 12px; }

.ht-step { display: flex; gap: 12px; align-items: flex-start; }

.ht-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 15px;
}

.ht-txt { display: flex; flex-direction: column; gap: 3px; }

.ht-txt b {
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text);
}

.ht-txt span { font-size: 13.5px; line-height: 1.5; color: var(--text-3); }

.ht-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ht-card-t {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.ht-card-b { font-size: 13.5px; line-height: 1.5; color: var(--text-3); }

.ht-pts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }

.ht-pt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 5px;
  font-size: 13px;
  color: var(--text-3);
}

.ht-pt b { font-family: var(--font-cond); font-size: 15px; color: var(--text); }

/* ---- Fan of the Match: full club names ----------------------------------- */

/* Names the first step above the fixture list. Same treatment as the kicker
   used elsewhere, so it reads as a section label rather than a button. */
.fx-pick-title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-bright);
  text-align: center;
  padding: 2px 0 10px;
}

[dir="rtl"] .fx-pick-title { letter-spacing: 0; font-size: 15px; }

.seg-grid--fx { grid-template-columns: 1fr; gap: 6px; }

/* Date subhead above each day's matches. Quiet on purpose: it is a signpost
   in a list of buttons, not a heading competing with them. */
.fx-day {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 10px 2px 2px;
}

.fx-day:first-child { padding-top: 2px; }

.seg-btn--fx {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  text-align: start;
  font-size: 13px;
  letter-spacing: .5px;
  padding: 10px 14px;
  line-height: 1.3;
  white-space: normal;
}

.fxb-teams { min-width: 0; }

.fxb-meta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0;
  opacity: .65;
}

.seg-btn--fx.on .fxb-meta { opacity: .9; }

.fxb-time { font-variant-numeric: tabular-nums; }

.fxb-done { color: var(--green-text); }

.seg-btn--fx.on .fxb-done { color: #FFFFFF; }

.seg-v { opacity: .55; font-weight: 600; margin: 0 2px; }

/* A step either side of the match head, so the matchweek can be walked
   without scrolling back up to the picker (client, 2026-10-23). */
.fx-nav {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.fx-nav .fx-head { flex: 1; min-width: 0; }

.fx-step {
  flex: none;
  width: 34px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.fx-step:hover:not(:disabled) {
  border-color: var(--red-bright);
  color: var(--red-bright);
}

.fx-step:disabled {
  opacity: .28;
  cursor: default;
}

.fx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 14px;
}

.fx-side { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.fx-side--away { justify-content: flex-end; }

.fx-kit {
  flex: none;
  width: 10px;
  height: 22px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset;
}

.fx-name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}

.fx-vs {
  flex: none;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--red-bright);
}

/* ---- Thank you ----------------------------------------------------------- */

.screen--thanks { gap: 16px; }

.ty-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 8px 0 2px;
}

.ty-check {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(31, 138, 91, .18);
  border: 1.5px solid var(--green);
  color: var(--green-text);
  font-size: 24px;
  margin-bottom: 4px;
}

.ty-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.ty-title--score { font-size: 24px; margin-bottom: 2px; }

.ty-line { font-size: 14px; color: var(--text-2); }

.ty-match {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 6px;
}

.ty-match span { color: var(--red-bright); margin: 0 4px; }

.ty-sub { font-size: 12px; color: var(--muted); }

.ty-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ty-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.ty-pot { color: var(--muted); font-size: 12.5px; }
.ty-pot b { color: var(--red-bright); font-size: 16px; }

.ty-picks { display: flex; flex-direction: column; }

.ty-pick {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line-2);
}

.ty-pick:first-child { border-top: none; }

.ty-k {
  grid-column: 1;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.ty-v { grid-column: 1; font-size: 14px; color: var(--text); line-height: 1.35; }

.ty-p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 15px;
  color: var(--red-bright);
}

.ty-note { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ---- Share --------------------------------------------------------------- */

.share-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 4px 0;
}

.share-lbl {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.share-links { display: flex; gap: 10px; }

.share-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform .15s ease, filter .15s ease;
}

.share-link:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }

.share-link svg { fill: currentColor; }

.share-link--fb { background: #1877F2; }
.share-link--x  { background: #000; border: 1px solid var(--line); }
.share-link--wa { background: #25D366; }
.share-link--li { background: #0A66C2; }

@media (min-width: 900px) {
  .screen--thanks,
  .screen--howto { max-width: 640px; margin: 0 auto; }

  .ty-title { font-size: 46px; }
  .ht-pts { grid-template-columns: 1fr 1fr; }
}

.home-howto { display: flex; justify-content: center; padding: 18px 0 4px; }
.home-howto .howto-link { align-self: center; margin-top: 0; }

/* Arabic script stops joining when it is letter-spaced, and the whole UI is
   built on tracked condensed type. Clear tracking inside RTL (the Latin
   wordmark keeps its own). */
[dir="rtl"] .app *:not(.hdr-word):not(.hdr-word span) { letter-spacing: 0; }

/* ---- Legal pages (terms) ------------------------------------------------- */

.screen--legal { max-width: 820px; margin: 0 auto; }

.legal { color: var(--text-2); font-size: 14.5px; line-height: 1.65; }

.legal h2 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text);
  margin: 28px 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.legal h2:first-child { border-top: none; padding-top: 0; margin-top: 4px; }
.legal p { margin: 0 0 10px; }
.legal ul { margin: 0 0 12px; padding-inline-start: 20px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); }

/* Anything the client still has to confirm before launch */
.legal .tc-note {
  display: inline-block;
  background: rgba(215, 69, 77, .12);
  border: 1px dashed rgba(215, 69, 77, .55);
  border-radius: 8px;
  color: #ff9aa0;
  font-size: 12.5px;
  padding: 5px 10px;
  margin-bottom: 10px;
}

.af-legal {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .5);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* The optional marketing consent. A real checkbox, left of its label in both
   directions because the logical properties flip it for Arabic on their own,
   and a touch target big enough to tick on a phone. */
.af-check-l {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .62);
  padding: 2px 0;
}

.af-check-l input[type="checkbox"] {
  flex: 0 0 auto;
  inline-size: 18px;
  block-size: 18px;
  margin: 1px 0 0;
  accent-color: var(--red-bright);
  cursor: pointer;
}

.af-legal a { color: var(--red-bright); text-decoration: underline; }
.af-legal p { margin: 0; }

.af-eligibility {
  border-inline-start: 2px solid rgba(255, 255, 255, .18);
  padding-inline-start: 9px;
}

select.af-input { appearance: none; cursor: pointer; }

/* ---- Single-pick counter ------------------------------------------------- */

.pick-count {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -4px;
}

/* ---- Goalscorer: squad grid (replaces the 50-chip horizontal scroll) ------ */

.sc-group {
  margin-top: 12px;
  /* Skip rendering (and decoding the photos of) a squad that is scrolled out
     of view. The reserved height keeps the scrollbar honest. */
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.sc-team {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}

.sc-kit {
  width: 8px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset;
}

.sc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
}

.sc-cell {
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 7px 4px 8px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: border-color .18s, background .18s;
}

.sc-cell:hover { border-color: var(--muted); }

.sc-cell.on {
  border-color: var(--red);
  background: rgba(200, 16, 46, .14);
}

.sc-photo {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 30%, var(--kit, #C8102E) 160%);
  display: grid;
  place-items: center;
}

/* Cut-out thumbs here too, so the ghost number behind one has to go while it
   is there. */
.sc-photo:has(img) .sc-ghost {
  display: none;
}

.sc-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.sc-ghost {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 17px;
  color: rgba(255, 255, 255, .35);
}

.sc-num {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 12px;
  color: var(--red-bright);
  line-height: 1;
}

.sc-name {
  font-size: 10.5px;
  line-height: 1.2;
  color: var(--text-3);
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sc-cell.on .sc-name { color: var(--text); }

@media (min-width: 900px) {
  .sc-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
  .sc-photo { width: 60px; height: 60px; }
}

/* ---- Club logos (2026/27 pack: the logo on its club-colour square) ---- */
.team-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.team-logo--inline {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  vertical-align: -5px;
  margin-inline: 6px;
  box-shadow: 0 0 0 1px var(--line);
}
.m-badge--logo,
.m-card--live .m-badge--logo {
  background: transparent;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}
.m-badge--logo span { display: none; }
.fx-kit--logo,
.sc-kit--logo {
  background: none !important;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}
.fx-kit--logo { width: 30px; height: 30px; border-radius: 7px; }
.sc-kit--logo { width: 20px; height: 20px; border-radius: 5px; }

/* Who Am I? team clue: the club logo next to the name */
.wa-clue b { display: inline-flex; align-items: center; gap: 6px; }
.wa-clue .team-logo--inline { width: 16px; height: 16px; }

/* ---- FAQs (how-to screen, third tab) ------------------------------------ */

.seg-grid--3 { grid-template-columns: repeat(3, 1fr); }

.ht-faq { cursor: pointer; }

/* closed by default: the question alone, so the list stays scannable */
.ht-faq .ht-card-b { display: none; }
.ht-faq.on .ht-card-b { display: block; }

.ht-faq .ht-card-t { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.ht-faq .ht-card-t::after {
  content: '+';
  font-size: 20px;
  line-height: 1;
  color: var(--red-bright);
  flex: none;
}

.ht-faq.on .ht-card-t::after { content: '\2212'; }

/* ---- Arabic headline metrics --------------------------------------------
   Saira carries no Arabic, so RTL falls through to Luma, the brand's Arabic
   face. Luma's ink runs ~1.21x the font size at heading weight (marks above,
   descenders below) against ~0.70x for the Latin face, so any heading set on a
   tight line-height overflows its own box and collides with whatever sits
   above and below it. Open the line box for the headings that carry Arabic
   words, and hold the hero at the size where Luma's ascender matches the Latin
   cap height (76px Saira Condensed rises 52.9px; 58px Luma rises 52.4px) so the
   two languages read at the same weight. Value classes are digits only and keep
   their own line-height. Luma ships 300/400/600 and renders anything above 600
   as SemiBold, so the headings' 800 needs no special handling. */
[dir="rtl"] .scr-title,
[dir="rtl"] .home-title,
[dir="rtl"] .deck-title,
[dir="rtl"] .confirm-title,
[dir="rtl"] .trivia-title,
[dir="rtl"] .board-title,
[dir="rtl"] .ty-title {
  line-height: 1.3;
}

[dir="rtl"] .home-title { font-size: 38px; }

@media (min-width: 900px) {
  [dir="rtl"] .app--home .home-title { font-size: 58px; }
}

/* ---- Red is a hover state, not a resting state ---------------------------
   The game cards and the hero call to action fill red only on hover, and the
   remaining red buttons follow the same rule so the behaviour reads as one
   idea rather than three.

   ⭐ Guarded on (hover: hover). A phone has no hover, so without the guard the
   submit buttons would never be red for most fans and the main action of the
   game would lose its emphasis exactly where it matters. Touch keeps the solid
   red; pointers get the transparent-to-red behaviour Nader asked for. */
@media (hover: hover) {
  .hdr-signup,
  .fx-btn,
  .btn-primary {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .75);
    color: var(--text);
    box-shadow: none;
    transition: background-color .25s, border-color .25s, box-shadow .25s, color .25s;
  }

  .hdr-signup:hover,
  .fx-btn:hover:not([disabled]),
  .btn-primary:hover:not([disabled]) {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: var(--shadow-red);
  }

  /* a disabled Submit picks must not look like it is waiting to be pressed */
  .fx-btn[disabled],
  .btn-primary[disabled] {
    border-color: var(--line);
    color: var(--faint);
  }
}
