/* ===== Pregame Shootout ===== */
/* Page-scoped styles. Pairs with /styles.css site shell. */

:root {
  --sh-pitch: #0a6e3c;
  --sh-pitch-deep: #054a27;
  --sh-line: rgba(255, 255, 255, 0.55);
  --sh-net: rgba(255, 255, 255, 0.18);
  --sh-true: #0a8a4f;
  --sh-true-hover: #066c3d;
  --sh-false: #d4332c;
  --sh-false-hover: #b32820;
  --sh-warn: #f5c842;
  --sh-card: #ffffff;
  --sh-card-fg: #14241b;
  --sh-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.shootout-body { background: var(--bg); }

.shootout-main {
  padding-top: 16px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: calc(100vh - 220px);
}

/* ===== Game arena (fills the space, fixed aspect on mobile) ===== */
.game-root {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  min-height: 600px;
  background: linear-gradient(180deg, var(--sh-pitch) 0%, var(--sh-pitch-deep) 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sh-shadow);
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
/* Chooser + result screens are taller than the gameplay arena (especially on
   mobile when the streak panel + 2 CTAs + 3 rule lines stack). For those modes
   we let the arena grow with content and re-enable scroll; the in-game absolute
   positioning that the tile-fall animation depends on stays untouched. */
.game-root.is-chooser,
.game-root.is-result {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
  user-select: text;
  -webkit-user-select: text;
  /* Flex so the inner .screen can fill the arena height — without this, the
     screen sits at its natural content height, leaving empty pitch below it
     when the content is shorter than the arena min-height. justify-content
     on .screen-start then distributes the content top-to-bottom evenly. */
  display: flex;
  flex-direction: column;
}
.game-root.is-chooser .screen,
.game-root.is-result .screen {
  position: relative;
  inset: auto;
  flex: 1 0 auto;
  height: auto;
}
/* Dim the pitch markings (center circle + halfway line) on chooser screen
   so they don't compete with the copy. Full intensity during gameplay where
   the markings reinforce the on-pitch feel. */
.game-root.is-chooser::before,
.game-root.is-chooser::after { opacity: 0.4; }
/* Start screen uses the same arena size as gameplay so Play doesn't trigger a resize jolt. */
.game-root::before {
  /* center circle + halfway line */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 58px, rgba(255,255,255,0.18) 59px, rgba(255,255,255,0.18) 60px, transparent 61px),
    linear-gradient(180deg, transparent 49.7%, rgba(255,255,255,0.18) 49.7%, rgba(255,255,255,0.18) 50.3%, transparent 50.3%);
  pointer-events: none;
}
.game-root::after {
  /* faint stripes */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,0.02) 0,
    rgba(255,255,255,0.02) 36px,
    rgba(0,0,0,0.03) 36px,
    rgba(0,0,0,0.03) 72px
  );
  pointer-events: none;
}

/* ===== Screens (rendered into #game-root) ===== */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  z-index: 1;
}

/* HUD row: scoreline + quit, top of game-root during gameplay */
.sh-hud-row {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
.sh-scoreline {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  text-transform: uppercase;
  pointer-events: none;
}
.sh-quit-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.15s ease, transform 0.1s ease;
}
.sh-quit-btn:hover { background: rgba(0, 0, 0, 0.5); }
.sh-quit-btn:active { transform: scale(0.94); }
.sh-quit-glyph { display: block; line-height: 1; }
.sh-side {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.sh-side-label { opacity: 0.78; font-size: 0.78rem; letter-spacing: 0.12em; }
.sh-side-pips { display: flex; gap: 3px; }
.sh-pip {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-block;
  transition: background 0.3s ease, transform 0.25s ease;
}
.sh-pip.pip-goal { background: var(--sh-warn); transform: scale(1.1); }
.sh-pip.pip-saved { background: var(--sh-false); opacity: 0.7; }
.sh-pip.pip-sd {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
}
.sh-pip.pip-sd.pip-goal { border-color: var(--sh-warn); background: var(--sh-warn); }
.sh-pip.pip-sd.pip-saved { border-color: var(--sh-false); background: var(--sh-false); opacity: 0.7; }
.sh-kick-counter {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.75rem;
  /* Tightened from 0.16em -> 0.08em — same reason as the breakaway eyebrow:
     wide spacing made the counter text blur on mobile, especially with the
     tier label appended. Smaller spacing keeps the line readable as one
     unit ("KICK 1 OF 5 · 🔥 HEATING UP" reads cleanly). */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  z-index: 3;
  pointer-events: none;
  font-weight: 700;
}
/* Streak-tier label appended to kick-counter when streak >= 3. Subtle warm-
   yellow tint so it visually pairs with the heating-up chip on start/result
   screens and reads as "your streak status, in-game". Inherits the counter's
   opacity so it sits at the same chrome weight as "KICK X OF 5". */
.sh-kick-counter-tier {
  color: var(--sh-warn);
}

/* ===== Start screen ===== */
.screen-start {
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
  gap: 0;
  padding-top: 18px;
  padding-bottom: 18px;
}
.sh-start-hero {
  font-size: clamp(72px, 22vw, 96px);
  line-height: 1;
  text-align: center;
  margin: 0 auto -6px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
  user-select: none;
  -webkit-user-select: none;
}
.sh-mode-btns {
  margin-top: auto;
}
.sh-start-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.78;
  font-weight: 700;
}
.sh-start-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0;
  font-weight: 400;
  white-space: pre-line;
}
.sh-start-sub {
  font-size: 0.98rem;
  opacity: 0.86;
  max-width: 28ch;
  line-height: 1.4;
  margin: 0 0 4px;
}
.sh-start-rules {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 2px 0 2px;
}
.sh-rule-line {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.92;
}
.sh-rule-line strong {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--sh-warn);
}
.sh-play-wrap {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sh-play-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  background: var(--sh-warn);
  color: #1a1a1a;
  padding: 18px 22px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-height: 56px;
  text-align: center;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
}
.sh-play-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); }
.sh-play-btn:active { transform: translateY(0); }
.sh-play-btn-main {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sh-play-btn-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
}

/* Streak panel on start screen */
.sh-streak-panel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  letter-spacing: 0.01em;
}
.sh-streak-panel.is-live {
  background: rgba(245, 200, 66, 0.18);
  border: 1px solid rgba(245, 200, 66, 0.45);
  color: var(--sh-warn);
  font-weight: 700;
  font-size: 0.95rem;
}
.sh-streak-flame { font-size: 1.1em; line-height: 1; }
.sh-streak-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.sh-streak-num-small {
  font-weight: 800;
  color: var(--sh-warn);
  font-size: 0.95rem;
}
.sh-streak-label { font-weight: 600; }

/* ===== Your-kick screen ===== */
.screen-your-kick {
  align-items: center;
  justify-content: space-between;
  padding-top: 90px;
  padding-bottom: 20px;
}
.sh-claim-card {
  width: 100%;
  max-width: 360px;
  /* Hardcoded color values in addition to the CSS-var route — defends against
     in-app browsers (notably WhatsApp's iOS WebView) that have shown CSS
     variable resolution quirks, leaving the card empty-looking. The var still
     wins where supported; the literal is the safety net. */
  background: #ffffff;
  background: var(--sh-card);
  color: #14241b;
  color: var(--sh-card-fg);
  border-radius: 18px;
  padding: 26px 22px;
  margin-top: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  position: relative;
  animation: sh-card-in 250ms ease-out;
  touch-action: none;
}
/* Force visible color on text children too — same defense in case a parent
   color inheritance chain breaks somewhere down the WebView pipeline. */
.sh-claim-text { color: #14241b; }
.sh-claim-card.is-swiping {
  animation: none;
  transition: transform 0.12s ease;
}
.sh-claim-card.swipe-true {
  animation: sh-swipe-right 280ms ease-in forwards;
}
.sh-claim-card.swipe-false {
  animation: sh-swipe-left 280ms ease-in forwards;
}
@keyframes sh-card-in {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sh-swipe-right {
  from { transform: translateX(0) rotate(0); opacity: 1; }
  to   { transform: translateX(360px) rotate(14deg); opacity: 0; }
}
@keyframes sh-swipe-left {
  from { transform: translateX(0) rotate(0); opacity: 1; }
  to   { transform: translateX(-360px) rotate(-14deg); opacity: 0; }
}
.sh-claim-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.sh-claim-text {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 4px 0;
}
.sh-claim-hint {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.sh-timer {
  width: 100%;
  max-width: 340px;
  height: 5px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  overflow: hidden;
  margin: 6px auto 4px;
}
.sh-timer-bar {
  height: 100%;
  width: 100%;
  background: var(--sh-warn);
  transform-origin: left;
  transition: transform 100ms linear, background 0.2s ease;
}
.sh-timer-bar.is-urgent { background: var(--sh-false); }

.sh-tf-row {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 360px;
}
.sh-tf-btn {
  flex: 1;
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 16px 0;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-height: 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
  transition: transform 0.1s ease;
}
.sh-tf-btn:active { transform: translateY(1px); }
.sh-tf-false { background: var(--sh-false); }
.sh-tf-false:hover { background: var(--sh-false-hover); }
.sh-tf-true { background: var(--sh-true); }
.sh-tf-true:hover { background: var(--sh-true-hover); }
.sh-tf-glyph { font-size: 1.4rem; line-height: 1; }

/* ===== Their-kick (breakaway) screen ===== */
.screen-their-kick {
  align-items: stretch;
  justify-content: center;
  /* Bumped from 90 -> 108 so the eyebrow (.sh-bk-category) clears the
     kick-counter (.sh-kick-counter at top: 56px) with comfortable gap,
     even on narrow mobile viewports where wide-letter-spacing text
     blurred word boundaries when the two lines were near each other. */
  padding-top: 108px;
  padding-bottom: 20px;
}
.sh-bk-category {
  text-align: center;
  font-size: 0.78rem;
  /* Reduced letter-spacing 0.16em -> 0.06em. Wide spacing made words like
     "Their kick · Spot the odd one out" read as individual characters on
     mobile, where iPhone-class viewports + the wide spacing caused users
     to perceive the text as jumbled / merged with the kick-counter above. */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
  font-weight: 700;
  margin-bottom: 4px;
}
.sh-bk-cat-line {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5.5vw, 1.85rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 18px;
  padding: 0 6px;
}
.sh-bk-cat-line .sh-bk-defend {
  display: inline-block;
  background: var(--sh-warn);
  color: #6b4f00;
  padding: 2px 10px;
  border-radius: 4px;
  margin-right: 8px;
  font-size: 0.78em;
  letter-spacing: 0.12em;
}

.sh-bk-track {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  margin-bottom: 8px;
  min-height: 380px;
}
.sh-bk-goalpost {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(96%, 360px);
  height: 110px;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 -2px 8px rgba(0, 0, 0, 0.25));
}
.sh-bk-goal-line {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 110px;
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
  z-index: 1;
}
.sh-bk-goal-line::before {
  content: "GOAL LINE";
  position: absolute;
  top: -18px;
  right: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  opacity: 0.6;
  white-space: nowrap;
}
.sh-bk-row {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -110%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(66%, 230px);
  z-index: 2;
}
.sh-bk-row.is-running {
  animation: sh-bk-fall 15000ms linear forwards;
}
.sh-bk-row.is-paused {
  animation-play-state: paused !important;
}
@keyframes sh-bk-fall {
  /* Drop in (~3.3s), pause centered above the goal-line (5s), drop out (~6.75s).
     Pause percentages tuned so the fall speed before and after the pause is equal. */
  0%   { transform: translate(-50%, -110%); }
  22%  { transform: translate(-50%, 40px); }
  55%  { transform: translate(-50%, 40px); }
  100% { transform: translate(-50%, calc(100% + 380px)); }
}
.sh-bk-tile {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  background: var(--sh-card);
  color: var(--sh-card-fg);
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.22), inset 0 -2px 0 rgba(0,0,0,0.06);
  transition: transform 0.1s ease, background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  line-height: 1.15;
}
.sh-bk-tile-glyph {
  font-size: 0.95em;
  line-height: 1;
  flex-shrink: 0;
  transform: translateY(-0.5px);
}
.sh-bk-tile-name {
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.15;
  text-align: left;
}
.sh-bk-tile:active { transform: scale(0.97); }
.sh-bk-tile.tile-correct {
  background: var(--sh-true);
  color: #fff;
  outline: 3px solid #fff;
}
.sh-bk-tile.tile-wrong {
  background: var(--sh-false);
  color: #fff;
}

/* ===== Reveal flash (green when player got it right, red when wrong) ===== */
.sh-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  animation: sh-flash 400ms ease-out forwards;
  color: #fff;
}
.sh-reveal-correct { background: rgba(10, 138, 79, 0.95); }
.sh-reveal-wrong   { background: rgba(212, 51, 44, 0.94); }
.sh-reveal-word {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 13vw, 4.6rem);
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 0.95;
  text-align: center;
  padding: 0 16px;
  max-width: 100%;
}
.sh-reveal-explain {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  padding: 0 28px;
  line-height: 1.4;
  max-width: 360px;
  opacity: 0.92;
}
.sh-reveal-skip-hint {
  position: absolute;
  /* Pulled away from the absolute bottom + made larger/more opaque after
     iPhone testing: on mobile Safari the URL bar can eat the bottom 18px,
     making the affordance invisible. The hint is now hard to miss. */
  bottom: max(28px, env(safe-area-inset-bottom, 18px));
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.9;
}
@keyframes sh-flash {
  0%   { opacity: 0; transform: scale(0.94); }
  18%  { opacity: 1; transform: scale(1); }
  82%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0.95; transform: scale(1); }
}

/* ===== Halftime + Sudden Death banner ===== */
.sh-banner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.78);
  animation: sh-banner-in 800ms ease-out forwards;
}
.sh-banner-word {
  font-family: var(--font-display);
  font-size: clamp(3rem, 13vw, 5rem);
  letter-spacing: 0.1em;
  color: var(--sh-warn);
  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}
.sh-banner-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-top: 6px;
  text-align: center;
  color: #fff;
}
@keyframes sh-banner-in {
  0%   { opacity: 0; transform: scale(0.92); }
  18%  { opacity: 1; transform: scale(1); }
  82%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* ===== Result screen ===== */
.screen-result {
  align-items: center;
  justify-content: flex-start;
  padding-top: 64px;
  text-align: center;
  gap: 14px;
  overflow-y: auto;
}
.sh-result-hero {
  font-size: clamp(56px, 18vw, 80px);
  line-height: 1;
  text-align: center;
  margin: 0 auto -4px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
  user-select: none;
  -webkit-user-select: none;
}
.sh-result-verdict {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8.5vw, 3.4rem);
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
}
.sh-result-verdict.is-win { color: var(--sh-warn); }
.sh-result-verdict.is-loss { color: #fff; opacity: 0.88; }
.sh-result-score {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3rem);
  letter-spacing: 0.04em;
  font-weight: 400;
  margin: 0;
}
.sh-result-grid {
  background: rgba(0,0,0,0.32);
  padding: 14px 18px;
  border-radius: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin: 6px 0 10px;
}

/* Streak status line on result screen */
.sh-streak-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin: 0 0 4px;
}
.sh-streak-line.is-live {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(245, 200, 66, 0.2);
  border: 1px solid rgba(245, 200, 66, 0.55);
  color: var(--sh-warn);
  padding: 12px 18px;
  border-radius: 14px;
}
.sh-streak-line.is-ended {
  background: rgba(212, 51, 44, 0.18);
  border: 1px solid rgba(212, 51, 44, 0.5);
  color: rgba(255, 200, 195, 1);
}
/* Per-streak narrative (e.g. "🔥 Three. The deck just shifted.") */
.sh-streak-narrative {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 1.25;
  text-align: center;
}
/* Bare stat under the narrative (e.g. "3 wins in a row · Heating up") */
.sh-streak-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.88;
  letter-spacing: 0.02em;
}
.sh-streak-stat-text { white-space: nowrap; }
/* Tier chip ("Heating up" / "Hot pile" / "Boss mode") — appears on streak >=3.
   Reused on the start-screen streak panel and the result-screen streak line. */
.sh-streak-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  white-space: nowrap;
}
.sh-streak-panel.is-live .sh-streak-chip {
  margin-left: 8px;
}
/* "N more to unlock [tier]" carrot — sits below the streak stat on the
   result screen. Subtle (smaller, slightly faded) so it informs without
   competing with the narrative + stat. */
.sh-streak-next {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.78;
  letter-spacing: 0.01em;
  margin-top: 2px;
  text-align: center;
}
.sh-result-grid .grid-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.sh-result-grid .grid-label { font-size: 0.78rem; opacity: 0.72; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-body); }
.sh-result-stats {
  display: flex;
  gap: 22px;
  font-size: 0.85rem;
  opacity: 0.86;
  flex-wrap: wrap;
  justify-content: center;
}
.sh-result-stats strong { color: var(--sh-warn); font-weight: 800; letter-spacing: 0.04em; }
.sh-result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin-top: 8px;
}
.sh-rematch {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  background: var(--sh-warn);
  color: #1a1a1a;
  padding: 18px 22px;
  border-radius: 14px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  min-height: 56px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
  transition: transform 0.1s ease;
}
.sh-rematch:active { transform: translateY(1px); }
.sh-rematch.is-disabled { opacity: 0.55; cursor: not-allowed; background: rgba(255,255,255,0.18); color: #fff; }
.sh-share {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
  font-family: inherit;
  transition: background 0.15s ease;
}
.sh-share:hover { background: rgba(255,255,255,0.16); }
.sh-share.is-copied { background: var(--sh-true); border-color: var(--sh-true); }

.sh-result-crosslinks {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  opacity: 0.78;
}
.sh-result-crosslinks a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
  padding-bottom: 1px;
}
.sh-result-crosslinks a:hover { opacity: 1; border-bottom-style: solid; }

.sh-daily-notice {
  margin-top: 14px;
  font-size: 0.82rem;
  opacity: 0.78;
  max-width: 32ch;
  line-height: 1.4;
}

/* ===== Mobile sizing ===== */
@media (max-width: 540px) {
  .shootout-main { padding-left: 14px; padding-right: 14px; }
  .game-root { min-height: 620px; border-radius: 14px; }
  .sh-bk-track { min-height: 360px; }
  /* Chooser screen: tighten so both Play CTAs land above the Safari URL bar
     on iPhone 13 Pro-class viewports without forcing scroll. */
  .screen-start { padding-top: 12px; padding-bottom: 12px; }
  .sh-start-hero { font-size: clamp(56px, 16vw, 80px); margin-bottom: -2px; }
  .sh-start-rules { gap: 2px; }
}
@media (max-height: 700px) {
  .game-root { min-height: 520px; }
  .screen-your-kick { padding-top: 80px; }
  .sh-claim-card { padding: 20px 18px; }
  .sh-claim-text { font-size: 1.05rem; }
}

/* iOS notch safety */
@supports (padding: max(0px)) {
  .shootout-main { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
}
