/* PROJECT GOLDEN BOOT: styles
   Look: a floodlit pitch at night, with your footballer sketched in chalk
   like a tactics board and filling in as you build him.
   Mobile-first: designed for a phone screen, and it scales up from there.
   All colours are defined once here as "tokens". */

:root {
  color-scheme: dark;

  --night: #0a1710;
  --pitch-a: #0f2519;
  --pitch-b: #0c2015;
  --chalk: #edf2e8;
  --chalk-dim: rgba(237, 242, 232, 0.34);
  --chalk-faint: rgba(237, 242, 232, 0.05);
  --muted: #93a99a;
  --gold: #f2c14e;
  --gold-deep: #9c7520;
  --slot-bg: rgba(6, 16, 10, 0.8);
  --slot-locked: rgba(18, 38, 26, 0.94);

  /* The footballer once built */
  --body: #a9bdb0;
  --kit: #f2c14e;
  --shorts: #edf2e8;
  --boot: #f7d67a;

  /* Rating bands */
  --tier-elite: #f2c14e;
  --tier-great: #edf2e8;
  --tier-ok: #9fd3a8;
  --tier-poor: #f08f78;

  --font-display: 'Big Shoulders Display', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --reel-h: 64px;
}

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

html, body { min-height: 100%; }

body {
  margin: 0;
  background-color: var(--night);
  background-image:
    radial-gradient(ellipse 90% 45% at 50% -8%, rgba(242, 236, 200, 0.12), transparent 70%),
    repeating-linear-gradient(180deg, var(--pitch-a) 0 72px, var(--pitch-b) 72px 144px);
  background-attachment: fixed;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.app {
  max-width: 480px;
  margin: 0 auto;
  padding-inline: 16px;
  padding-block: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

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

.header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.brand span { color: var(--muted); font-weight: 600; letter-spacing: 0.12em; font-size: 14px; }
.header > * { min-width: 0; }

/* Narrowest phones: drop the word "Project" so the header fits on one line. */
@media (max-width: 359px) {
  .brand span { display: none; }
}
.header-count, .header-ovr {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.header-count strong, .header-ovr strong { font-family: var(--font-display); font-size: 20px; color: var(--chalk); }
.header-ovr strong { color: var(--gold); }

/* ---------- Board: footballer + slots ---------- */

.board {
  position: relative;
  width: min(100%, 440px, calc((100vh - 300px) * 0.75));
  width: min(100%, 440px, calc((100dvh - 300px) * 0.75));
  min-width: min(100%, 300px);
  max-width: 100%;
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  container-type: inline-size;
}

.figure { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.pitch-lines line, .pitch-lines circle { fill: none; stroke: var(--chalk); stroke-opacity: 0.07; stroke-width: 1.5; }

/* Body parts: chalk outline until built */
.shape {
  fill: var(--chalk-faint);
  stroke: var(--chalk-dim);
  stroke-width: 1.4;
  stroke-dasharray: 4 3;
  transition: fill 400ms ease, stroke 400ms ease;
}
.part.is-built .shape { stroke: rgba(0, 0, 0, 0.25); stroke-width: 1; stroke-dasharray: none; }
.part.is-built .tone-body { fill: var(--body); }
.part.is-built .tone-kit { fill: var(--kit); }
.part.is-built .tone-shorts { fill: var(--shorts); }
.part.is-built .tone-boot { fill: var(--boot); }
.part.is-target .shape { stroke: var(--gold); stroke-width: 2; stroke-dasharray: none; fill: rgba(242, 193, 78, 0.28); }
.part.is-fresh { animation: part-glow 1100ms ease-out; }

.shirt-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  text-anchor: middle;
  fill: none;
  stroke: var(--chalk-dim);
  stroke-width: 1.2;
  stroke-dasharray: 3 2;
}
.part-number.is-built .shirt-number { fill: var(--gold); stroke: none; }
.board:has(.part-torso.is-built) .part-number.is-built .shirt-number { fill: var(--night); }
.part-number.is-target .shirt-number { stroke: var(--gold); stroke-dasharray: none; stroke-width: 2; }

.shirt-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-anchor: middle;
  fill: var(--chalk-dim);
}
.board:has(.part-torso.is-built) .shirt-name { fill: rgba(10, 23, 16, 0.7); }

.leader polyline { fill: none; stroke: var(--chalk-dim); stroke-width: 1; stroke-dasharray: 2 3; }
.leader circle { fill: var(--chalk-dim); }
.leader.is-built polyline { stroke: var(--gold); stroke-opacity: 0.6; stroke-dasharray: none; }
.leader.is-built circle { fill: var(--gold); }
.leader.is-target polyline { stroke: var(--gold); stroke-width: 1.8; stroke-dasharray: none; }
.leader.is-target circle { fill: var(--gold); r: 5; }

.board.is-complete .figure { filter: drop-shadow(0 0 22px rgba(242, 193, 78, 0.35)); }

/* Slots */
.slot {
  position: absolute;
  width: 31%;
  height: 12.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8cqi;
  padding: 1.4cqi 2.4cqi;
  text-align: left;
  background: var(--slot-bg);
  border: 1px dashed var(--chalk-dim);
  border-radius: 8px;
  color: var(--chalk);
}
.slot-left { left: 0; }
.slot-right { right: 0; }
button.slot:disabled { cursor: default; }

.slot-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(8px, 2.7cqi, 11px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.slot-body { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.slot-name {
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(11px, 4.4cqi, 18px);
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: normal;
  hyphens: auto;
}
.slot-name.is-mid { font-size: clamp(10px, 3.7cqi, 15px); }
.slot-name.is-long { font-size: clamp(9px, 3.1cqi, 13px); }
.slot-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 7.2cqi, 30px);
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}
.slot-empty { font-family: var(--font-display); font-weight: 800; font-size: clamp(13px, 5cqi, 20px); letter-spacing: 0.12em; color: var(--chalk-dim); }

.slot.is-locked { background: var(--slot-locked); border: 1px solid rgba(242, 193, 78, 0.5); }
.slot.is-locked .slot-label { color: var(--chalk); }
.slot.is-fresh { animation: slot-pop 600ms cubic-bezier(0.2, 0.9, 0.3, 1.4); }

.slot.is-open { cursor: pointer; border: 1.5px dashed var(--gold); animation: slot-pulse 1600ms ease-in-out infinite; }
.slot.is-open .slot-empty { color: var(--gold); }
.slot.is-pending { background: var(--gold); border: 1.5px solid var(--gold); color: var(--night); animation: none; box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.25); }
.slot.is-pending .slot-label { color: var(--night); }

.ball { width: 1.15em; height: 1.15em; flex: none; }
.ball circle { fill: none; stroke: var(--gold); stroke-width: 1.4; }
.ball path { fill: var(--gold); }

/* ---------- Dock: reels, prompt, button ---------- */

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

.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 10px; }

.reel {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(237, 242, 232, 0.22);
  background: linear-gradient(180deg, #07110b, #15291d 50%, #07110b);
  box-shadow: inset 0 10px 12px -8px #000, inset 0 -10px 12px -8px #000;
  color: var(--chalk);
  text-align: center;
}
.reel-window { display: block; height: var(--reel-h); overflow: hidden; border-radius: inherit; }
.reel-strip { display: block; will-change: transform; }
.reel-item {
  height: var(--reel-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding-inline: 6px;
}
.reel-short {
  display: block;
  max-width: 100%;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: normal;
  hyphens: auto;
}
.reel-short.is-mid { font-size: 19px; }
.reel-short.is-long { font-size: 15px; }
.reel-full { max-width: 100%; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.reel.is-idle .reel-short { font-size: 30px; color: var(--chalk-dim); }
.reel.is-cleared { opacity: 0.45; animation: reel-clear 260ms ease-out; }
.reel.has-stopped { animation: reel-thunk 260ms ease-out; }

button.reel { cursor: pointer; }
button.reel:hover { border-color: var(--gold); }
.reel.is-selected { border: 2px solid var(--gold); background: linear-gradient(180deg, #2a230c, #3d3212 50%, #2a230c); }
.reel.is-dimmed { opacity: 0.5; }

.reel-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--night);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.reel-badge.is-value { top: -13px; font-family: var(--font-display); font-size: 20px; font-weight: 900; letter-spacing: 0; padding: 0 9px; }
.reel-badge.is-value.tier-elite { background: var(--tier-elite); color: var(--night); }
.reel-badge.is-value.tier-great { background: var(--tier-great); color: var(--night); }
.reel-badge.is-value.tier-ok { background: var(--tier-ok); color: var(--night); }
.reel-badge.is-value.tier-poor { background: var(--tier-poor); color: var(--night); }

/* E5 experiment: next-spin preview strip (names only). Only rendered when E5_ENABLED is true. */
.next-spin { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 10px; border: 1px dashed var(--chalk-dim); border-radius: 10px; background: var(--chalk-faint); font-size: 14px; color: var(--muted); min-width: 0; }
.next-label { flex: none; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.next-names { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; color: var(--chalk); font-weight: 600; min-width: 0; }
.next-names li { overflow-wrap: anywhere; }
.next-spin.is-last { justify-content: center; }

.prompt { margin: 0; min-height: 2.8em; display: block; padding-top: 2px; text-align: center; font-size: 15px; color: var(--muted); text-wrap: balance; }
.prompt strong { color: var(--chalk); }
.prompt strong.tier-elite, .prompt strong.tier-great, .prompt strong.tier-ok, .prompt strong.tier-poor { font-family: var(--font-display); font-size: 20px; }

.spin-btn {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f9dd8a, #f2c14e 45%, #d9a431);
  color: var(--night);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--gold-deep), 0 12px 26px rgba(242, 193, 78, 0.22);
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.spin-btn:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 2px 0 var(--gold-deep), 0 6px 14px rgba(242, 193, 78, 0.2); }
.spin-btn:disabled { opacity: 0.55; cursor: default; }
.spin-btn.is-lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding-inline: 20px;
  font-size: 26px;
  letter-spacing: 0.08em;
  line-height: 1;
}
.btn-main { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; }
.btn-sub {
  display: block;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Very short screens (e.g. the original iPhone SE): keep the main button
   pinned to the bottom so it's always reachable, and slim down the reels. */
@media (max-height: 620px) {
  :root { --reel-h: 54px; }
  .dock-action {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding-block: 8px calc(8px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to bottom, transparent, var(--night) 35%);
  }
  .spin-btn { min-height: 52px; }
}

/* ---------- Finished player ---------- */

.finale { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.finale-ovr { display: flex; flex-direction: column; align-items: center; }
.finale-num { font-family: var(--font-display); font-weight: 900; font-size: 92px; line-height: 0.85; font-variant-numeric: tabular-nums; }
.finale-label { font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.finale-text { margin: 0; color: var(--muted); }
.finale-text strong { color: var(--chalk); }

/* ---------- Header: Home button and play-style tag (games started from the Home Screen) ---------- */
.home-btn { flex: none; align-self: center; width: 36px; height: 36px; padding: 0; display: inline-grid; place-items: center; border: 1px solid var(--chalk-dim); border-radius: 10px; background: var(--slot-bg); cursor: pointer; }
.home-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--chalk); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.header:has(.home-btn) { align-items: center; }
.header:has(.home-btn) .brand span { display: none; } /* with the Home button, "Project" is dropped to fit phones */
.brand-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.style-tag { align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chalk); opacity: 0.75; }
.link-btn { border: 0; background: none; min-height: 44px; padding: 6px 12px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Home Screen ---------- */
.app[data-screen="home"] { gap: 18px; padding-block: 22px 24px; }
.home-top { text-align: center; }
.home-kicker, .home-section-title { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.home-project { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 16px; border: 1px solid var(--gold-deep); border-radius: 18px; background: linear-gradient(180deg, rgba(242, 193, 78, 0.10), rgba(6, 16, 10, 0.75)); }
.home-title { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 0.95; text-transform: uppercase; color: var(--gold); text-wrap: balance; }
.home-title span { display: block; font-size: 16px; font-weight: 600; letter-spacing: 0.24em; color: var(--muted); }
.home-tagline { margin: 0; color: var(--chalk); opacity: 0.85; }
.style-list { display: grid; gap: 10px; }
.style-card { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name go" "summary summary"; gap: 4px 12px; align-items: center; width: 100%; min-height: 64px; padding: 14px 16px; text-align: left; border: 1px solid var(--chalk-dim); border-radius: 14px; background: var(--slot-bg); cursor: pointer; transition: border-color 120ms ease, transform 80ms ease; }
.style-card:hover { border-color: var(--gold); }
.style-card:active { transform: translateY(1px); }
.style-name { grid-area: name; font-family: var(--font-display); font-weight: 900; font-size: 28px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--chalk); }
.style-go { grid-area: go; font-weight: 700; font-size: 14px; color: var(--gold); white-space: nowrap; }
.style-summary { grid-area: summary; font-size: 14px; color: var(--muted); }
.home-soon { display: flex; flex-direction: column; gap: 10px; }
.locked-card { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 14px 16px; text-align: left; border: 1px dashed var(--chalk-dim); border-radius: 14px; background: var(--chalk-faint); color: var(--muted); cursor: not-allowed; }
.locked-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.locked-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--chalk); opacity: 0.6; }
.locked-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; background: rgba(237, 242, 232, 0.08); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.lock { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.locked-tagline { font-size: 14px; }
.locked-notice { font-size: 13px; font-weight: 600; color: var(--gold); }
.locked-notice:empty { display: none; }
.locked-card.is-noticed { border-color: var(--gold-deep); }

.data-note { margin: 0; text-align: center; font-size: 11px; color: var(--muted); opacity: 0.8; }

/* ---------- After the build: era spin, club, season, Golden Boot (js/ui/season.js) ---------- */
.finale-kicker, .season-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.finale-role { margin: -4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--chalk); }

.season-stage { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.season-title { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 0.95; text-transform: uppercase; color: var(--chalk); text-wrap: balance; }
.season-title.is-winner { color: var(--gold); }
.reel-label { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.reels.one { grid-template-columns: 1fr; }
.era-reel .reel-short { font-size: 34px; letter-spacing: 0.04em; }

.era-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: stretch; }
.era-block { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 14px; border: 2px solid var(--gold); border-radius: 14px; background: linear-gradient(180deg, #2a230c, #3d3212 50%, #2a230c); }
.era-big { font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1; color: var(--gold); white-space: nowrap; }

.challenge-card, .challenge-result { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1px dashed var(--gold-deep); border-radius: 14px; background: var(--slot-bg); min-width: 0; }
.challenge-kicker { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.challenge-names { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.05; text-transform: uppercase; color: var(--chalk); overflow-wrap: anywhere; }
.challenge-names .dot { color: var(--muted); }
.challenge-goals { font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 1; text-transform: uppercase; color: var(--gold); }
.challenge-cta { font-size: 12px; font-weight: 700; color: var(--muted); }

.club-list { display: grid; gap: 10px; }
.club-card { display: grid; gap: 2px; width: 100%; padding: 12px 14px; text-align: left; border: 1px solid var(--chalk-dim); border-radius: 14px; background: var(--slot-bg); color: var(--chalk); cursor: pointer; transition: border-color 120ms ease; }
.club-card:hover { border-color: var(--gold); }
.club-card.is-selected { border: 2px solid var(--gold); background: linear-gradient(180deg, #2a230c, #3d3212 50%, #2a230c); }
.club-name { font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 1; text-transform: uppercase; }
.club-status { font-size: 13px; font-weight: 700; color: var(--gold); }
.club-hint { font-size: 13px; color: var(--muted); }
.club-mates { font-size: 13px; color: var(--chalk); opacity: 0.85; }

.view-buttons { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.season-stage .spin-btn.is-lock { font-size: clamp(20px, 6.4vw, 26px); }
.view-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ghost-btn { min-height: 48px; padding: 0 10px; white-space: nowrap; border: 1px solid var(--chalk-dim); border-radius: 999px; background: var(--slot-bg); color: var(--chalk); font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.ghost-btn:hover:not(:disabled) { border-color: var(--gold); }
.ghost-btn:disabled { opacity: 0.45; cursor: default; }
.view-note { display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }

.scoreboard { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 14px; border: 1px solid var(--gold-deep); border-radius: 14px; background: rgba(10, 23, 16, 0.96); }
.sb-club { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.sb-goals { grid-row: span 2; align-self: center; font-size: 13px; color: var(--muted); text-align: right; }
.sb-goals strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 0.9; color: var(--gold); }
.sb-md { font-size: 13px; color: var(--chalk); }
.sb-race, .sb-challenge { grid-column: 1 / -1; font-size: 13px; color: var(--chalk); }
.sb-challenge { color: var(--muted); }
.sb-challenge strong { color: var(--gold); }

.md-feed { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.md-card { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--chalk-faint); border-radius: 12px; background: var(--slot-bg); }
.md-card.is-latest { border-color: var(--chalk-dim); animation: md-in 280ms ease-out; }
.md-card.has-goal { border-left: 3px solid var(--gold); }
.md-day { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.md-score { font-size: 16px; color: var(--chalk); }
.md-score strong { font-family: var(--font-display); font-weight: 900; font-size: 20px; padding: 0 4px; }
.md-goal { font-weight: 700; color: var(--gold); }
.md-none { font-size: 14px; color: var(--muted); }
.md-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.md-tag { padding: 1px 8px; border-radius: 999px; background: var(--gold); color: var(--night); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.gb-headline { margin: -6px 0 0; font-size: 16px; font-weight: 700; color: var(--chalk); }
.gb-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.gb-table th { padding: 4px 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: left; }
.gb-table td { padding: 7px 6px; border-top: 1px solid var(--chalk-faint); color: var(--chalk); }
.gb-table th:nth-child(n+4), .gb-table td:nth-child(n+4) { text-align: right; }
.gb-table .t-name { font-weight: 700; overflow-wrap: anywhere; }
.gb-table .t-club { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; max-width: 7.5em; }
.gb-table .t-goals { font-family: var(--font-display); font-weight: 900; font-size: 18px; }
.gb-table tr.is-you td { background: rgba(242, 193, 78, 0.16); color: var(--gold); }
.gb-table tr.is-you .t-club { color: var(--gold); }
.gb-table tr.gap td { text-align: center; color: var(--muted); }

.your-season { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--chalk-dim); border-radius: 14px; background: var(--slot-bg); }
.ys-row { display: flex; align-items: baseline; gap: 8px; }
.ys-big { font-family: var(--font-display); font-weight: 900; font-size: 36px; line-height: 1; color: var(--gold); }
.ys-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-right: 12px; }
.ys-line { margin: 0; font-size: 14px; color: var(--chalk); }
.challenge-result .cr-row { display: flex; justify-content: space-between; font-size: 16px; color: var(--chalk); }
.challenge-result .cr-row strong { font-family: var(--font-display); font-size: 22px; }
.cr-verdict { margin-top: 4px; font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.challenge-result.is-beaten { border-style: solid; border-color: var(--gold); }
.challenge-result.is-beaten .cr-verdict { color: var(--gold); }

@media (max-width: 360px) {
  .era-row { grid-template-columns: 1fr; }
  .ghost-btn { font-size: 15px; letter-spacing: 0.02em; padding: 0 6px; }
  .view-row { gap: 8px; }
  .season-title { font-size: 34px; }
}
@keyframes md-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Rating colours */
.tier-elite { color: var(--tier-elite); }
.tier-great { color: var(--tier-great); }
.tier-ok { color: var(--tier-ok); }
.tier-poor { color: var(--tier-poor); }
.slot.is-pending .slot-value { color: var(--night); }

/* ---------- Animations ---------- */

@keyframes slot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 193, 78, 0); }
  50% { box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.22); }
}
@keyframes slot-pop {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(242, 193, 78, 0.7); }
  60% { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(242, 193, 78, 0); }
  100% { transform: none; }
}
@keyframes part-glow {
  0% { filter: drop-shadow(0 0 0 rgba(242, 193, 78, 0)); }
  30% { filter: drop-shadow(0 0 12px rgba(242, 193, 78, 0.95)); }
  100% { filter: drop-shadow(0 0 0 rgba(242, 193, 78, 0)); }
}
@keyframes reel-clear {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 0.45; transform: none; }
}
@keyframes reel-thunk {
  0% { transform: translateY(0); }
  40% { transform: translateY(3px); border-color: var(--gold); }
  100% { transform: none; }
}

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

/* ---------- Wildcards (Home Screen: Wildcards ON) ---------- */
.wild-setting { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px dashed var(--chalk-dim); border-radius: 14px; background: var(--chalk-faint); }
.wild-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wild-summary { margin: 0; font-size: 13px; color: var(--muted); }
.toggle { display: inline-flex; padding: 3px; border: 1px solid var(--chalk-dim); border-radius: 999px; background: var(--slot-bg); }
.toggle-opt { min-width: 58px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.toggle-opt.is-active { background: var(--gold); color: var(--night); }

/* A wildcard in the reels: clearly not a footballer */
.reel.is-wildcard { border: 2px solid #9fd3ff; background: linear-gradient(160deg, #0d2a3d, #16435e 55%, #0d2a3d); box-shadow: 0 0 0 3px rgba(159, 211, 255, 0.15), 0 0 18px rgba(159, 211, 255, 0.35); animation: wild-glow 1.6s ease-in-out infinite; }
.reel.is-wildcard.is-selected { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.3); }
.reel-item.is-wild { gap: 1px; }
.reel-item.is-wild .reel-short { font-size: 19px; color: #e6f5ff; white-space: nowrap; letter-spacing: 0.02em; }
.wild-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #9fd3ff; }
.is-wild-btn { background: linear-gradient(180deg, #cfeaff, #9fd3ff 45%, #5fa9d6); box-shadow: 0 6px 0 #2f6e93, 0 12px 26px rgba(159, 211, 255, 0.25); }
.next-names li.is-wild { color: #9fd3ff; }

/* The stored Reroll: an extra choice, deliberately small */
.stored-reroll { align-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 4px 14px; border: 1px solid #9fd3ff; border-radius: 999px; background: rgba(13, 42, 61, 0.9); color: #e6f5ff; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.stored-reroll.is-selected { border-color: var(--gold); background: #3d3212; }
.stored-sub { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #9fd3ff; }
.stored-note { margin: 0; text-align: center; font-size: 12px; font-weight: 700; color: #9fd3ff; }

/* Transfer: choosing which locked slot to give up */
.slot.is-transferable { cursor: pointer; border-style: solid; border-color: #9fd3ff; }
.slot.is-pending-out { border-color: var(--tier-poor); background: rgba(240, 143, 120, 0.18); }

@keyframes wild-glow { 50% { box-shadow: 0 0 0 3px rgba(159, 211, 255, 0.25), 0 0 26px rgba(159, 211, 255, 0.55); } }

/* ---------- Achievements ---------- */
.ach-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 14px 16px; text-align: left; border: 1px solid var(--gold-deep); border-radius: 14px; background: var(--slot-bg); cursor: pointer; transition: border-color 120ms ease, transform 80ms ease; }
.ach-card:hover { border-color: var(--gold); }
.ach-card:active { transform: translateY(1px); }
.ach-card-icon { font-size: 28px; line-height: 1; }
.ach-card .style-go { grid-area: auto; }
.ach-card-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ach-card-count { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--chalk); }
.ach-card-count strong { color: var(--gold); }
.ach-bar { display: block; height: 6px; border-radius: 999px; background: var(--chalk-faint); overflow: hidden; }
.ach-bar span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }

.ach-page { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ach-page .season-kicker { margin: 0; }
.ach-summary { margin: -4px 0 0; font-size: 15px; color: var(--muted); }
.ach-summary strong { color: var(--gold); }
.ach-group { display: flex; flex-direction: column; gap: 8px; }
.ach-group-title { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chalk); }
.ach-group-title span { color: var(--muted); letter-spacing: 0.06em; }
.ach-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ach-row { display: grid; grid-template-columns: auto auto 1fr; align-items: start; gap: 10px; padding: 10px 12px; border: 1px solid var(--chalk-faint); border-radius: 12px; background: var(--slot-bg); }
.ach-row.is-unlocked { border-color: var(--gold-deep); background: linear-gradient(90deg, rgba(242, 193, 78, 0.12), var(--slot-bg)); }
.ach-row:not(.is-unlocked) .ach-icon { filter: grayscale(1); opacity: 0.55; }
.ach-row.is-secret { border-style: dashed; }
.ach-state, .ach-icon { font-size: 18px; line-height: 1.3; }
.ach-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ach-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.1; letter-spacing: 0.03em; text-transform: uppercase; color: var(--chalk); overflow-wrap: anywhere; }
.ach-row.is-unlocked .ach-name { color: var(--gold); }
.ach-desc { font-size: 14px; color: var(--chalk); opacity: 0.85; }
.ach-row.is-secret .ach-desc { letter-spacing: 0.3em; color: var(--muted); }
.ach-diff { font-size: 12px; font-weight: 600; color: var(--muted); }
.ach-tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(237, 242, 232, 0.1); font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; vertical-align: middle; color: var(--muted); }
.ach-note { margin: 4px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.ach-page .link-btn { align-self: center; }

/* About & Legal: the Home Screen disclaimer and its page (same look as the Achievements page) */
.home-legal { margin-top: 4px; padding: 0 4px; }
.home-legal p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); text-align: center; overflow-wrap: break-word; }
.legal-link { display: inline; padding: 2px 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--chalk); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.legal-link:hover, .legal-link:focus-visible { color: var(--gold); }
.about-page { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.about-page .season-kicker { margin: 0; }
.about-page .season-title { overflow-wrap: break-word; }
.about-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--chalk-faint); border-radius: 14px; background: var(--slot-bg); min-width: 0; }
.about-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--chalk); overflow-wrap: break-word; }
.about-contact { color: var(--muted) !important; }
.about-contact a { color: var(--gold); font-weight: 700; overflow-wrap: anywhere; }
.about-page .link-btn { align-self: center; }

/* Achievement notification: slides in at the top, never blocks the game */
.toast-host { position: fixed; top: max(10px, env(safe-area-inset-top)); left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding-inline: 12px; pointer-events: none; }
.ach-toast { pointer-events: auto; cursor: pointer; display: flex; align-items: center; gap: 12px; width: min(100%, 420px); padding: 10px 14px; border: 1px solid var(--gold); border-radius: 14px; background: linear-gradient(180deg, #2b2410, #151208); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(242, 193, 78, 0.18); animation: toast-in 360ms cubic-bezier(.2, .9, .3, 1.2) both; }
.ach-toast.is-leaving { animation: toast-out 350ms ease-in both; }
.ach-toast-icon { font-size: 30px; line-height: 1; }
.ach-toast-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ach-toast-kicker { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.ach-toast-name { font-family: var(--font-display); font-weight: 900; font-size: 22px; line-height: 1; text-transform: uppercase; color: var(--chalk); overflow-wrap: anywhere; }
.ach-toast-desc { font-size: 13px; color: var(--chalk); opacity: 0.85; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-120%) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-120%); } }

/* ---------- Golden Boot celebration (only for a Golden Boot win) ---------- */
.celebration { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; overflow: hidden; padding: 24px 16px max(24px, env(safe-area-inset-bottom)); background: radial-gradient(ellipse 80% 55% at 50% 38%, rgba(242, 193, 78, 0.28), transparent 70%), radial-gradient(ellipse 120% 60% at 50% 110%, rgba(15, 37, 25, 0.95), transparent), #040a06; animation: cel-in 380ms ease-out both; }
.cel-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; width: min(100%, 420px); text-align: center; }
.cel-boot { width: min(150px, 38vw); height: auto; filter: drop-shadow(0 0 24px rgba(242, 193, 78, 0.55)); animation: cel-boot 900ms cubic-bezier(.2, .9, .3, 1.25) both 150ms; }
.cel-kicker { margin: 4px 0 0; font-size: 14px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); animation: cel-rise 500ms ease-out both 450ms; }
.cel-title { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 13vw, 64px); line-height: 0.95; text-transform: uppercase; color: var(--chalk); text-shadow: 0 0 24px rgba(242, 193, 78, 0.35); animation: cel-rise 500ms ease-out both 600ms; }
.cel-goals { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 11vw, 52px); line-height: 1; text-transform: uppercase; color: var(--gold); animation: cel-rise 500ms ease-out both 750ms; }
.cel-sub { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--chalk); animation: cel-rise 500ms ease-out both 850ms; overflow-wrap: anywhere; }
.cel-line { margin: 0 0 10px; font-size: 14px; color: var(--muted); animation: cel-rise 500ms ease-out both 950ms; }
.cel-content .spin-btn { width: 100%; animation: cel-rise 400ms ease-out both 500ms; }
.cel-lights { position: absolute; inset: 0; pointer-events: none; }
.cel-beam { position: absolute; top: -20%; width: 45%; height: 140%; background: linear-gradient(180deg, rgba(255, 250, 225, 0.22), rgba(255, 250, 225, 0) 75%); filter: blur(6px); transform-origin: 50% 0; }
.cel-beam.is-left { left: -8%; transform: rotate(-24deg); animation: cel-sweep-l 3.2s ease-in-out infinite alternate; }
.cel-beam.is-right { right: -8%; transform: rotate(24deg); animation: cel-sweep-r 3.2s ease-in-out infinite alternate; }
.cel-confetti { position: absolute; inset: 0; pointer-events: none; }
.cel-confetti i { position: absolute; top: -12px; width: 8px; height: 13px; border-radius: 2px; opacity: 0; animation: cel-fall var(--t) linear var(--d) infinite; }
.cel-confetti i:nth-child(3n) { width: 6px; height: 6px; border-radius: 50%; }
.cel-fireworks { position: absolute; inset: 0; pointer-events: none; }
.cel-burst { position: absolute; width: 6px; height: 6px; border-radius: 50%; opacity: 0; color: var(--gold); box-shadow: 0 -34px 0 currentColor, 24px -24px 0 #f7d67a, 34px 0 0 currentColor, 24px 24px 0 #edf2e8, 0 34px 0 currentColor, -24px 24px 0 #f7d67a, -34px 0 0 currentColor, -24px -24px 0 #edf2e8; animation: cel-burst 2.4s ease-out var(--d) infinite; }
.behind-celebration { display: contents; }
@keyframes cel-in { from { opacity: 0; } }
@keyframes cel-boot { from { opacity: 0; transform: translateY(30px) scale(0.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes cel-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes cel-sweep-l { to { transform: rotate(-10deg); } }
@keyframes cel-sweep-r { to { transform: rotate(10deg); } }
@keyframes cel-fall { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0.9; transform: translate(var(--x), 105vh) rotate(540deg); } }
@keyframes cel-burst { 0% { opacity: 0; transform: scale(0.2); } 12% { opacity: 1; } 60% { opacity: 0; transform: scale(1.6); } 100% { opacity: 0; transform: scale(1.6); } }

@media (prefers-reduced-motion: reduce) {
  .ach-toast, .ach-toast.is-leaving, .celebration, .cel-boot, .cel-kicker, .cel-title, .cel-goals, .cel-sub, .cel-line, .cel-content .spin-btn, .cel-beam { animation: none !important; }
  .cel-confetti, .cel-fireworks { display: none; }
}

/* ---------- 40GOALS: Home structure (UK / Europe / GOAT) ---------- */
.home-brand { margin: 0 0 4px; font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 0.9; letter-spacing: 0.02em; text-transform: uppercase; color: var(--gold); }
.home-brand span { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; letter-spacing: 0.34em; color: var(--chalk); opacity: 0.85; }
.region-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.live-badge { padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--night); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.locked-styles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.locked-style { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px dashed var(--chalk-dim); border-radius: 10px; font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--chalk); opacity: 0.7; }
.locked-style-note { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }

/* ---------- Share your result ---------- */
.share { display: flex; flex-direction: column; gap: 8px; }
.share-toggle { width: 100%; }
.share-toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }
.share-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; border: 1px solid var(--gold-deep); border-radius: 14px; background: var(--slot-bg); }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 10px; border: 1px solid var(--chalk-dim); border-radius: 12px; background: rgba(6, 16, 10, 0.9); color: var(--chalk); font-family: var(--font-body); font-size: 14px; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; }
.share-btn:hover { border-color: var(--gold); }
.share-btn.is-friends { grid-column: 1 / -1; background: var(--gold); border-color: var(--gold); color: var(--night); font-size: 16px; }
.fb-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: #1877f2; color: #fff; font-family: Arial, sans-serif; font-weight: 700; font-size: 14px; line-height: 1; }
.share-note { grid-column: 1 / -1; margin: 0; font-size: 13px; font-weight: 600; text-align: center; color: var(--gold); }
.share-note:empty { display: none; }
.share-manual { grid-column: 1 / -1; width: 100%; padding: 8px; border: 1px solid var(--chalk-dim); border-radius: 10px; background: var(--night); color: var(--chalk); font: 13px/1.4 var(--font-body); resize: none; }
@media (max-width: 359px) { .share-panel { grid-template-columns: 1fr; } }

/* The celebration can scroll when the share panel is open on a short screen */
.celebration { display: flex; overflow-y: auto; }
.cel-content { margin: auto; }
.celebration .share { width: 100%; }
.home-top .home-kicker { margin-top: 10px; }

/* ---------- Information pages (How to Play, FAQ, About & Legal, Privacy: plain HTML written by
   `npm run build:public`) and the information links on the Home Screen ---------- */
.info-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 10px; font-size: 13px; }
.info-links a, .info-nav a, .info-foot a { color: var(--chalk); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.info-links a:hover, .info-nav a:hover, .info-foot a:hover, .info-page a:hover { color: var(--gold); }
.info-fallback { padding: 24px 4px; text-align: center; }
.info-fallback p { color: var(--muted); font-size: 15px; line-height: 1.5; }
noscript { display: block; max-width: 480px; margin: 0 auto; padding: 0 16px 24px; color: var(--muted); font-size: 14px; text-align: center; }
noscript a { color: var(--chalk); }

.info-wrap { max-width: 680px; margin: 0 auto; padding: 14px 16px 32px; display: flex; flex-direction: column; gap: 14px; }
.info-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.info-brand { font-family: var(--font-display); font-weight: 900; font-size: 30px; letter-spacing: 0.02em; color: var(--gold); text-decoration: none; }
.info-play { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 700; font-size: 14px; text-decoration: none; }
.info-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.info-nav a[aria-current="page"] { color: var(--gold); text-decoration: none; }
.info-page { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.info-kicker { margin: 4px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.info-page h1 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 1; text-transform: uppercase; overflow-wrap: break-word; }
.info-page p, .info-page li { margin: 0; font-size: 16px; line-height: 1.6; color: var(--chalk); overflow-wrap: break-word; }
.info-page a { color: var(--gold); font-weight: 700; overflow-wrap: anywhere; }
.info-section { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--chalk-faint); border-radius: 14px; background: var(--slot-bg); }
.info-section h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--gold); }
.info-section ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.info-cta { margin-top: 6px !important; text-align: center; }
.info-button { display: inline-block; padding: 12px 26px; border-radius: 999px; background: var(--gold); color: var(--night) !important; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.info-foot { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--chalk-faint); }
.info-foot p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
