/* Gamdle — UI styles (extracted from Pimi_UI/sports.css "=== GAMDLE ===" section).
   Load AFTER styles.css and sports.css; these rules add the gamdle-* components
   and the score-mode accumulator overrides on top of the shared sportsbook classes.
   EDIT THIS FILE to restyle the Gamdle UI. */

/* === GAMDLE STANDALONE HARNESS === */
/* Gamdle's own site navbar: Pimi logo (hover-animated) + wordmark + attribution */
.gamdle-navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 clamp(18px, 2.5vw, 48px);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
}
.gamdle-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  border-radius: 8px;
}
.gamdle-brand:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 4px; }
.gamdle-brand .sb-logo.pimi-mark {
  width: 30px;
  height: 30px;
  background: var(--brand-grad);
  color: #fff;
  border-radius: 24%;
  box-shadow: 0 8px 22px rgba(8, 145, 178, 0.16);
}
.gamdle-brand .sb-logo.pimi-mark .pimi-mark-svg {
  width: 66%;
  height: 66%;
  transform-origin: center;
  transform: rotate(0deg);
  transition: transform 700ms cubic-bezier(.2, .8, .2, 1);
}
.gamdle-brand:hover .sb-logo.pimi-mark .pimi-mark-svg { transform: rotate(360deg); }
.gamdle-brand-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.18s ease;
}
.gamdle-brand:hover .gamdle-brand-name { color: var(--accent); }
.gamdle-brand-by {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding-left: 14px;
  border-left: 1px solid var(--border-2);
  transition: color 0.18s ease;
}
.gamdle-brand-by:hover { color: var(--text); }

/* Only used by the standalone preview wrapper (gamdle-standalone.jsx). */
.gamdle-standalone-body,
.gamdle-standalone-body #root { height: 100%; }
.gamdle-standalone-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.gamdle-standalone-shell > .main { height: auto; flex: 1 1 auto; min-height: 0; }
.gamdle-standalone-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  border-top: 1px solid var(--border, #1e1e27);
  background: var(--surface, #0e0e12);
  font: 500 12px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted, #7a7a85);
}
.gamdle-standalone-footer a { color: var(--muted, #7a7a85); text-decoration: none; }
.gamdle-standalone-footer a:hover { color: var(--text, #e8e8ec); }

/* === GAMDLE === */
.gamdle-page {
  min-height: calc(100vh - 60px);
}
.gamdle-hero {
  background:
    radial-gradient(80% 130% at 88% 0%, rgba(16, 185, 129, 0.13), transparent 62%),
    radial-gradient(90% 130% at 0% 0%, rgba(37, 99, 235, 0.1), transparent 58%),
    var(--bg);
}
.gamdle-kicker { color: #059669; }
.gamdle-kicker i {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14), 0 0 18px rgba(16, 185, 129, 0.35);
}
/* Home hero: tighter so the league cards sit higher in view */
.gamdle-home .gamdle-hero { padding: 20px clamp(18px, 2.5vw, 48px) 18px; margin-bottom: 16px; gap: 0; }
.gamdle-home .gamdle-hero-copy { margin-top: 7px; }
.gamdle-hero-copy {
  max-width: 620px;
  margin: 9px 0 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}
.gamdle-status-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  min-width: 300px;
  padding: 12px 13px;
  border: 1px solid var(--border-2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gamdle-lives {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.gamdle-life {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}
.gamdle-life.active {
  border-color: rgba(220, 38, 38, 0.2);
  background: var(--down);
  box-shadow: 0 0 0 4px var(--down-dim), 0 0 18px rgba(220, 38, 38, 0.18);
}
.gamdle-life.spent {
  opacity: 0.34;
  transform: scale(0.82);
}
.gamdle-lives.hit .gamdle-life.active:last-of-type {
  animation: gamdle-life-hit .48s cubic-bezier(.2,.8,.2,1);
}
.gamdle-status-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.gamdle-status-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.gamdle-status-main b {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}
.gamdle-new-round {
  padding: 8px 11px;
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.gamdle-new-round:hover {
  transform: translateY(-1px);
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.5);
}
.gamdle-scoreboard {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gamdle-payout-stat .sports-stat-v {
  font-family: var(--serif);
  font-size: 18px;
  color: #047857;
}
.gamdle-message {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 10px 13px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.4;
}
.gamdle-message.danger {
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.07);
  color: #991b1b;
}
.gamdle-message.success {
  border-color: rgba(22, 163, 74, 0.32);
  background: rgba(22, 163, 74, 0.08);
  color: #166534;
}
.gamdle-section-head {
  padding-left: clamp(18px, 2.5vw, 48px);
  padding-right: clamp(18px, 2.5vw, 48px);
}
.gamdle-comp .sp-comp-head {
  background:
    linear-gradient(90deg, rgba(16, 185, 129, 0.08), transparent 58%),
    var(--surface);
}
.gamdle-row {
  cursor: default;
}
.gamdle-row.won {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.09), var(--surface) 46%);
}
.gamdle-row.missed {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.08), var(--surface) 46%);
  animation: gamdle-row-shake .34s cubic-bezier(.36,.07,.19,.97);
}
.gamdle-row:hover {
  background: var(--surface);
}
.gamdle-row.won:hover {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.11), var(--surface-2) 46%);
}
.gamdle-row.missed:hover {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.1), var(--surface-2) 46%);
}
.gamdle-score-blank {
  margin-left: auto;
  min-width: 20px;
  text-align: center;
  font-family: var(--mono);
  color: var(--dim);
}
.gamdle-options .sp-dot {
  background: currentColor;
  opacity: 0.55;
}
.gamdle-option {
  min-height: 54px;
  justify-content: center;
  overflow: hidden;
}
.gamdle-option:not(:disabled):hover {
  transform: translateY(-2px) scale(1.01);
}
.gamdle-hidden-odds {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: transparent;
  text-shadow: 0 0 8px rgba(24, 24, 27, 0.26);
}
.gamdle-hidden-odds::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 42%, rgba(255,255,255,.9), rgba(255,255,255,0) 32%),
    radial-gradient(circle at 62% 58%, rgba(37,99,235,.35), rgba(37,99,235,0) 46%),
    radial-gradient(circle at 50% 50%, rgba(24,24,27,.16), rgba(24,24,27,.04) 62%, rgba(24,24,27,0) 100%);
  filter: blur(4px);
  opacity: 0.86;
  transform: translate(-50%, -50%);
  animation: gamdle-odds-sparkle 2.3s ease-in-out infinite alternate;
}
.gamdle-hidden-odds::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    -10px -2px 8px rgba(255,255,255,.5),
    9px 3px 7px rgba(37,99,235,.22);
  opacity: 0.7;
  transform: translate(-50%, -50%);
  animation: gamdle-odds-twinkle 1.9s ease-in-out infinite alternate;
}
.gamdle-option.selected {
  animation: gamdle-pick-pop .34s cubic-bezier(.2,.8,.2,1);
}
.gamdle-option.wrong {
  border-color: rgba(220, 38, 38, 0.55);
  background: rgba(220, 38, 38, 0.09);
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.16);
}
.gamdle-option.winner {
  border-color: rgba(22, 163, 74, 0.55);
  background: rgba(22, 163, 74, 0.11);
}
.gamdle-option.wrong.winner {
  border-color: rgba(220, 38, 38, 0.55);
  background: rgba(220, 38, 38, 0.09);
}
.gamdle-wrong-pill {
  background: rgba(220, 38, 38, 0.12);
  color: #991b1b;
}
.gamdle-row-result {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gamdle-row-result.won { color: var(--up); }
.gamdle-row-result.lost { color: var(--down); }
.gamdle-page.slip-pulse .sp-acc-hero.win {
  animation: gamdle-slip-glow .62s cubic-bezier(.2,.8,.2,1);
}
.gamdle-page .sp-acc-side-leg {
  animation: gamdle-leg-in .32s cubic-bezier(.2,.8,.2,1);
}
@keyframes gamdle-life-hit {
  0% { transform: scale(1); filter: saturate(1); }
  35% { transform: scale(1.36); filter: saturate(1.4); }
  100% { transform: scale(1); filter: saturate(1); }
}
@keyframes gamdle-row-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
@keyframes gamdle-odds-sparkle {
  from { opacity: .7; filter: blur(5px); transform: translate(-50%, -50%) scale(.96); }
  to { opacity: .95; filter: blur(3px); transform: translate(-50%, -50%) scale(1.05); }
}
@keyframes gamdle-odds-twinkle {
  from { opacity: .42; transform: translate(-50%, -50%) scale(.86); }
  to { opacity: .85; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes gamdle-pick-pop {
  0% { transform: scale(.96); }
  55% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
@keyframes gamdle-slip-glow {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.0); transform: scale(.992); }
  45% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.12); transform: scale(1.01); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.0); transform: scale(1); }
}
@keyframes gamdle-leg-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================================
   GAMDLE REDESIGN ADDITIONS
   - sticky always-visible lives + score HUD (with shake on loss)
   - engaging how-to-play hero
   - accumulator in "score mode" (total odds is the score; stake fixed £10)
   - Wordle-style end-of-round modal
   ========================================================================== */

/* --- sticky lives + score HUD --- */
.gamdle-hud {
  position: sticky;
  top: 60px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px clamp(18px, 2.5vw, 48px);
  background: rgba(246, 246, 248, 0.86);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.gamdle-hud .gamdle-lives { gap: 6px; }
.gamdle-hud-lives-txt {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
}
.gamdle-hud-lives-txt b { font-family: var(--serif); color: var(--text); font-size: 13px; }
.gamdle-hud-sep { width: 1px; height: 26px; background: var(--border); }
.gamdle-hud-stat { display: flex; flex-direction: column; gap: 1px; }
.gamdle-hud-k {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--dim); white-space: nowrap;
}
.gamdle-hud-stat b { font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1; color: var(--text); }
.gamdle-hud-score b { color: #047857; font-size: 18px; }
.gamdle-hud-spacer { flex: 1; }
.gamdle-hud .gamdle-new-round { margin: 0; }
/* shake the whole life cluster when one is lost */
.gamdle-lives.hit { animation: gamdle-lives-shake 0.5s cubic-bezier(.36,.07,.19,.97); }
@keyframes gamdle-lives-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

/* --- engaging how-to-play steps in hero --- */
.gamdle-howto { display: flex; flex-direction: column; gap: 8px; align-self: center; }
.gamdle-howto-step {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 13px 8px 8px; border-radius: 11px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12px; color: var(--text-2); white-space: nowrap;
}
.gamdle-howto-step .n {
  width: 20px; height: 20px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 6px; background: rgba(16,185,129,0.14); color: #047857;
  font-family: var(--serif); font-weight: 700; font-size: 11px;
}
.gamdle-howto-step b { color: var(--text); font-weight: 600; }

/* --- Gamdle home: sport picker (uses .exchange-card chrome + hover) --- */
.gamdle-home-wrap { padding: 0 clamp(18px, 2.5vw, 48px); }
.gamdle-home-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}
.gamdle-sport-card {
  --sport: #10b981;
  min-height: 234px;
  gap: 16px;
}
/* sport-coloured top bar, logo plate and CTA */
.gamdle-sport-card::before { background: linear-gradient(90deg, var(--sport), color-mix(in srgb, var(--sport) 30%, transparent)); }
.gamdle-sport-card .exchange-logo {
  width: 56px; height: 56px; padding: 0; border-radius: 14px;
  color: var(--sport);
  background: color-mix(in srgb, var(--sport) 13%, transparent);
  border-color: color-mix(in srgb, var(--sport) 26%, transparent);
}
.gamdle-sport-card .exchange-access.live {
  color: #059669;
  border-color: color-mix(in srgb, #10b981 32%, transparent);
}
.gamdle-sport-card .exchange-access.live i { background: #10b981; }
.gamdle-sport-card .exchange-cta { margin-top: auto; color: var(--sport); }
/* league crest inside the logo plate */
.gamdle-league-abbr {
  font: 800 17px/1 "Space Grotesk", system-ui, sans-serif;
  letter-spacing: .01em;
  color: inherit;
}
.gamdle-sport-card.has-logo .exchange-logo { background: #fff; border-color: var(--border-2); }
.gamdle-sport-card .gamdle-league-img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
/* coming-soon: muted plate, dot and no hover lift */
.gamdle-sport-card.soon { opacity: 0.74; cursor: default; }
.gamdle-sport-card.soon .exchange-logo { color: var(--muted); background: var(--bg); border-color: var(--border-2); }
.gamdle-sport-card.soon .exchange-access i { background: var(--dim); }
.gamdle-sport-card.soon .exchange-cta { color: var(--dim); }
.gamdle-sport-card.soon .exchange-cta i { display: none; }
.gamdle-sport-card.soon:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.gamdle-sport-card.soon:hover::before { transform: scaleX(0); }

/* revealed odds on a winning card (matches "hidden until your pick lands") */
.gamdle-revealed-odds {
  font-family: var(--serif); font-weight: 700; font-size: 15px; color: #047857;
  letter-spacing: 0.01em; animation: gamdle-odds-reveal 0.4s cubic-bezier(.2,.8,.2,1);
}
@keyframes gamdle-odds-reveal {
  0% { opacity: 0; filter: blur(6px); transform: scale(.8); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}

/* --- accumulator hero: score mode (total odds = score) --- */
.sp-acc-hero.score-mode .sp-acc-hero-score {
  margin-top: 6px;
  display: flex; align-items: baseline; gap: 3px;
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em;
  color: #047857; font-size: 40px; line-height: 1;
}
.sp-acc-hero.score-mode .sp-acc-hero-score .x { font-size: 22px; color: #10b981; }
.sp-acc-hero.score-mode .sp-acc-hero-score .dash { color: var(--dim); }
.sp-acc-hero-payback { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.sp-acc-hero-payback b { font-family: var(--serif); color: var(--up); font-weight: 600; font-size: 14px; }

/* --- fixed-stake display (replaces input + chips on Gamdle) --- */
.sp-acc-stake-fixed { display: flex; align-items: center; justify-content: space-between; }
.sp-acc-fixed-amt {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--text);
}
.sp-acc-fixed-amt i {
  font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: #047857; background: rgba(16,185,129,0.14);
  padding: 3px 7px; border-radius: 999px;
}

/* --- end-of-round modal --- */
.gamdle-end-scrim {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 24px;
  background: rgba(15, 23, 42, 0.5);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  animation: gamdle-end-fade 0.25s ease;
}
@keyframes gamdle-end-fade { from { opacity: 0; } to { opacity: 1; } }
.gamdle-end-modal {
  width: 100%; max-width: 420px; border-radius: 20px; overflow: hidden;
  background: var(--surface); box-shadow: 0 40px 90px -30px rgba(8,12,24,0.6);
  animation: gamdle-end-in 0.42s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes gamdle-end-in { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
.gamdle-end-top {
  position: relative; padding: 28px 26px 24px; text-align: center; color: #fff;
  background: linear-gradient(165deg, #1f2937 0%, #111827 100%);
}
.gamdle-end-top.win { background: linear-gradient(165deg, #0b5132 0%, #073e26 100%); }
.gamdle-end-x {
  position: absolute; top: 12px; right: 14px; color: rgba(255,255,255,0.7);
  font-size: 22px; line-height: 1; background: none; border: none; cursor: pointer;
}
.gamdle-end-x:hover { color: #fff; }
.gamdle-end-verdict { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.gamdle-end-title { margin: 8px 0 0; font-family: var(--serif); font-weight: 700; font-size: 25px; letter-spacing: -0.02em; }
.gamdle-end-score { margin-top: 16px; display: flex; align-items: baseline; justify-content: center; gap: 4px; font-family: var(--serif); font-weight: 700; font-size: 56px; line-height: 0.9; letter-spacing: -0.03em; }
.gamdle-end-score .x { font-size: 28px; color: #4ade80; }
.gamdle-end-top.win .gamdle-end-score .x { color: #7dffb0; }
.gamdle-end-score-lbl { margin-top: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.gamdle-end-body { padding: 20px 26px 24px; }
.gamdle-end-grid { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 20px; }
.gamdle-end-sq { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 11px; color: #fff; animation: gamdle-sq-pop 0.3s ease backwards; }
.gamdle-end-sq.won { background: var(--up); }
.gamdle-end-sq.miss { background: var(--down); }
.gamdle-end-sq.skip { background: var(--border-2, #e2e3e8); color: var(--muted); }
@keyframes gamdle-sq-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.gamdle-end-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.gamdle-end-stats div { text-align: center; padding: 12px 6px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); }
.gamdle-end-stats b { display: block; font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--text); letter-spacing: -0.01em; }
.gamdle-end-stats b.gamdle-end-payout { color: var(--up); }
.gamdle-end-stats span { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.gamdle-end-actions { display: flex; gap: 10px; }
.gamdle-end-btn { flex: 1; padding: 13px; border-radius: 12px; text-align: center; font-size: 13px; font-weight: 600; cursor: pointer; transition: transform 0.12s, background 0.15s; border: 1px solid transparent; }
.gamdle-end-btn:active { transform: scale(0.98); }
.gamdle-end-btn.primary { background: #111827; color: #fff; }
.gamdle-end-btn.primary:hover { background: #1f2937; }
.gamdle-end-btn.ghost { background: var(--bg); color: var(--text); border-color: var(--border); }
.gamdle-end-btn.ghost:hover { border-color: var(--border-3, #c9ccd4); }

@media (max-width: 760px) {
  .gamdle-hud { flex-wrap: wrap; gap: 10px 14px; }
  .gamdle-howto { display: none; }
}

@media (max-width: 880px) {
  .fx-lineup-cols { grid-template-columns: 1fr; }
  .fx-head-name { font-size: 19px; }
  .fx-pdot-name { display: none; }
  .fx-pdot { width: 34px; }
  .fx-odds-layout { grid-template-columns: 1fr; }
  .fx-mkt-list { max-height: 280px; }
}
