/* Cricket Legends: page shell + HUD. Everything is scoped under body.cl / .cl-* so nothing leaks into the site. */
:root {
  --cl-ink: #f4f1e8;
  --cl-dim: #b9c3cf;
  --cl-panel: rgba(9, 22, 38, 0.86);
  --cl-panel-solid: #0d1b2a;
  --cl-line: rgba(255, 255, 255, 0.14);
  --cl-gold: #f6c945;
  --cl-good: #58d68d;
  --cl-bad: #ff6b5b;
  --cl-focus: #8fd3ff;
  --cl-font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cl-display: "Fredoka", "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body.cl { margin: 0; height: 100%; background: var(--cl-panel-solid); color: var(--cl-ink); font-family: var(--cl-font); }
body.cl { overflow: hidden; overscroll-behavior: none; }
.cl a.back {
  position: fixed; top: max(10px, env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); z-index: 30;
  color: var(--cl-ink); text-decoration: none; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--cl-panel); border: 1px solid var(--cl-line);
}
.cl a.back:hover { background: #17304a; }
.cl :focus-visible { outline: 3px solid var(--cl-focus); outline-offset: 2px; }
.cl-root { position: fixed; inset: 0; }
.cl-stage {
  position: absolute; inset: 0; overflow: hidden;
  /* poster shown before the 3D scene loads: sky, stands and a green field */
  background:
    radial-gradient(ellipse 70% 30% at 50% 78%, #4a9a42 0 60%, transparent 61%),
    linear-gradient(#8fbbe3 0 46%, #2c3440 46% 58%, #3f8a3a 58% 100%);
}
.cl-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
body:not(.cl-playing) .cl-stage canvas { visibility: hidden; }

/* ---------- title ---------- */
.cl-title {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 80px); overflow: auto; padding: 26px 26px 20px; border-radius: 22px;
  background: var(--cl-panel); border: 1px solid var(--cl-line); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); text-align: center;
}
body.cl-playing .cl-title { display: none; }
.cl-badge { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: rgba(246, 201, 69, 0.16); color: var(--cl-gold); font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.cl-title h1 { margin: 0; font-family: var(--cl-display); font-size: clamp(32px, 7vw, 48px); line-height: 1.02; letter-spacing: -0.01em; }
.cl-title h1 span { display: block; color: var(--cl-gold); font-size: 0.56em; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.cl-lede { color: var(--cl-dim); font-size: 17px; line-height: 1.45; margin: 14px auto 18px; max-width: 44ch; }
.cl-attack { border: 1px solid var(--cl-line); border-radius: 14px; margin: 0 auto 16px; padding: 8px 12px 10px; max-width: 420px; text-align: left; }
.cl-attack legend { padding: 0 6px; font-weight: 800; color: var(--cl-gold); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.cl-attack label { display: flex; align-items: center; gap: 10px; padding: 6px 4px; cursor: pointer; color: var(--cl-dim); font-weight: 700; }
.cl-attack label b { color: var(--cl-ink); margin-right: 6px; }
.cl-attack input { width: 18px; height: 18px; accent-color: var(--cl-gold); flex: none; }
.cl-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: center; }
.cl-check { display: inline-flex; gap: 8px; align-items: center; color: var(--cl-dim); font-weight: 700; cursor: pointer; }
.cl-check input { width: 20px; height: 20px; accent-color: var(--cl-gold); }
.cl-status { min-height: 1.4em; margin: 12px 0 4px; color: var(--cl-gold); font-weight: 700; }
.cl-help { text-align: left; margin-top: 8px; color: var(--cl-dim); font-size: 15px; }
.cl-help summary { cursor: pointer; font-weight: 800; color: var(--cl-ink); padding: 6px 0; }
.cl-help table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 14px; }
.cl-help caption { text-align: left; font-weight: 700; color: var(--cl-ink); padding-bottom: 4px; }
.cl-help th, .cl-help td { text-align: left; padding: 5px 6px; border-top: 1px solid var(--cl-line); vertical-align: top; }
.cl kbd { display: inline-block; min-width: 1.6em; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); border: 1px solid var(--cl-line); font: 700 12px/1.5 var(--cl-font); color: var(--cl-ink); text-align: center; }
.cl-noscript { position: absolute; inset: auto 0 40% 0; text-align: center; font-weight: 800; }

/* ---------- buttons ---------- */
.cl-btn {
  font: 800 18px var(--cl-font); color: var(--cl-ink); background: rgba(255, 255, 255, 0.1); border: 1px solid var(--cl-line);
  padding: 12px 26px; border-radius: 14px; cursor: pointer; min-height: 48px;
}
.cl-btn:hover { background: rgba(255, 255, 255, 0.18); }
.cl-btn-primary { background: var(--cl-gold); color: #1b1606; border-color: transparent; font-size: 20px; padding: 13px 44px; }
.cl-btn-primary:hover { background: #ffd95e; }
.cl-btn:disabled { opacity: 0.6; cursor: progress; }

/* ---------- HUD ---------- */
.cl-hud { position: absolute; inset: 0; pointer-events: none; font-variant-numeric: tabular-nums; }
.cl-hud button, .cl-hud .cl-overlay { pointer-events: auto; }
.cl-score {
  position: absolute; top: max(54px, calc(env(safe-area-inset-top) + 48px)); left: max(12px, env(safe-area-inset-left));
  min-width: 200px; padding: 10px 14px; border-radius: 14px; background: var(--cl-panel); border: 1px solid var(--cl-line);
}
.cl-target { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cl-gold); }
.cl-line { display: flex; align-items: baseline; gap: 10px; }
.cl-runs { font: 700 34px/1.1 var(--cl-display); }
.cl-ov-wrap { color: var(--cl-dim); font-weight: 800; }
.cl-need { font-weight: 700; font-size: 14px; color: var(--cl-ink); }
.cl-batters { font-size: 13px; font-weight: 700; color: var(--cl-dim); margin-top: 2px; }
.cl-chips { display: flex; gap: 5px; list-style: none; margin: 8px 0 0; padding: 0; min-height: 26px; }
.cl-chip { min-width: 26px; height: 26px; padding: 0 5px; border-radius: 13px; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: rgba(255, 255, 255, 0.12); }
.cl-chip.is-b { background: var(--cl-good); color: #08210f; }
.cl-chip.is-w { background: var(--cl-bad); color: #2a0703; }
.cl-chip.is-x { background: rgba(246, 201, 69, 0.3); }
.cl-delivery {
  position: absolute; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; gap: 8px; align-items: center;
}
.cl-delivery span:not(:empty) { padding: 5px 11px; border-radius: 999px; background: var(--cl-panel); border: 1px solid var(--cl-line); font-weight: 800; font-size: 14px; white-space: nowrap; }
.cl-speed { color: var(--cl-ink); }
.cl-bowler { color: var(--cl-dim); }
.cl-note { color: #9fe3b8; }
.cl-length { color: var(--cl-gold); }
.cl-freehit { color: #08210f !important; background: var(--cl-good) !important; }
.cl-tools { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); display: flex; gap: 8px; }
.cl-icon-btn { font: 800 14px var(--cl-font); color: var(--cl-ink); background: var(--cl-panel); border: 1px solid var(--cl-line); border-radius: 999px; padding: 8px 14px; cursor: pointer; min-height: 40px; }
.cl-icon-btn[aria-pressed="true"] { color: var(--cl-gold); }

.cl-callout { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%) scale(0.9); text-align: center; opacity: 0; transition: opacity 0.18s, transform 0.18s; text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55); }
.cl-callout.is-shown { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cl-call-big { font: 700 clamp(40px, 9vw, 84px)/1 var(--cl-display); letter-spacing: 0.02em; }
.cl-call-small { font-weight: 800; font-size: 18px; margin-top: 4px; }
.cl-callout.is-good .cl-call-big { color: var(--cl-gold); }
.cl-callout.is-bad .cl-call-big { color: var(--cl-bad); }

.cl-timing { position: absolute; left: 50%; bottom: 190px; transform: translateX(-50%); width: min(360px, 80vw); text-align: center; opacity: 0; transition: opacity 0.2s; }
.cl-timing.is-shown { opacity: 1; }
.cl-timing-bar { position: relative; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--cl-bad), #f2a541 30%, rgba(255,255,255,0.25) 50%, #f2a541 70%, var(--cl-bad)); }
.cl-timing-zone { position: absolute; left: 50%; top: -3px; bottom: -3px; transform: translateX(-50%); border: 2px solid var(--cl-good); border-radius: 6px; }
.cl-timing-mark { position: absolute; top: -6px; width: 6px; height: 22px; margin-left: -3px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 2px #000; transition: left 0.15s; }
.cl-timing-label { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--cl-panel); font-weight: 800; font-size: 14px; }

.cl-call { position: absolute; left: 50%; bottom: 250px; transform: translateX(-50%); display: grid; gap: 6px; justify-items: center; pointer-events: auto; }
.cl-call[hidden] { display: none; }
.cl-call-btn {
  display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 16px; border: 2px solid transparent; cursor: pointer;
  font: 800 16px var(--cl-font); color: #1b1606; background: var(--cl-gold); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  touch-action: manipulation; animation: cl-pulse 0.6s ease-in-out infinite alternate;
}
.cl-call-word { font: 700 26px/1 var(--cl-display); letter-spacing: 0.03em; }
.cl-call-risk { text-transform: capitalize; }
.cl-call-btn kbd { background: rgba(0, 0, 0, 0.15); color: #1b1606; border-color: rgba(0, 0, 0, 0.2); }
.cl-call.is-risky .cl-call-btn { background: #ff8a6b; }
.cl-call.is-fifty-fifty .cl-call-btn { background: #ffc35e; }
.cl-call.is-good-chance .cl-call-btn { background: var(--cl-good); }
.cl-call-track { width: 180px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.cl-call-bar { display: block; height: 100%; background: #fff; }
@keyframes cl-pulse { to { transform: scale(1.05); } }
.cl-pad {
  position: absolute; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(3, 84px); gap: 7px;
}
.cl-shot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px;
  font: 800 14px var(--cl-font); color: var(--cl-ink); background: var(--cl-panel); border: 1px solid var(--cl-line); border-radius: 12px;
  cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.cl-shot kbd { font-size: 11px; padding: 0 5px; }
.cl-shot:hover { background: #17304a; }
.cl-shot.is-hit { background: var(--cl-gold); color: #1b1606; }
.cl-loft.is-on { background: rgba(246, 201, 69, 0.28); border-color: var(--cl-gold); }
.cl-shot[data-shot="sweep"] { grid-column: 3; grid-row: 4; }
.cl-loft { grid-column: 1 / span 2; grid-row: 4; }

.cl-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cl-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5, 12, 20, 0.55); padding: 16px; }
.cl-overlay[hidden] { display: none; }
.cl-panel { width: min(440px, 100%); padding: 24px; border-radius: 20px; background: var(--cl-panel-solid); border: 1px solid var(--cl-line); text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.cl-overlay-title { margin: 0 0 8px; font: 700 30px var(--cl-display); }
.cl-panel p { margin: 6px 0; color: var(--cl-dim); font-weight: 700; }
.cl-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }

/* phones: the shot pad spans the bottom, the timing meter sits above it */
@media (max-width: 640px) {
  .cl-pad { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .cl-shot { min-height: 54px; }
  .cl-shot kbd { display: none; }
  .cl-timing { bottom: 220px; }
  .cl-score { min-width: 0; padding: 8px 11px; }
  .cl-runs { font-size: 28px; }
  .cl-call { bottom: 268px; }
  .cl-delivery { top: calc(max(54px, env(safe-area-inset-top) + 48px) + 4px); left: auto; right: max(10px, env(safe-area-inset-right)); transform: none; flex-direction: column; align-items: flex-end; gap: 6px; }
  .cl-score { max-width: calc(100% - 140px); }
  /* clear the site's "More" and "Sign in" buttons, which float over the bottom corners on narrow screens */
  .cl-title { top: calc(50% - 10px); max-height: calc(100% - 140px); }
}
@media (max-height: 520px) and (orientation: landscape) {
  .cl-pad { grid-template-columns: repeat(3, 72px); gap: 5px; }
  .cl-shot { min-height: 42px; }
  .cl-timing { bottom: 150px; }
  .cl-score { top: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .cl-callout, .cl-timing, .cl-timing-mark { transition: none; }
  .cl-call-btn { animation: none; }
}

/* ---------- Stage 4: dialogs, scorecard, aim, replay, large text ---------- */
.cl-dialog { z-index: 40; }
body:not(.cl-playing) .cl-dialog { position: fixed; }
.cl-panel { max-height: calc(100% - 24px); overflow: auto; }
.cl-panel-wide { width: min(760px, 100%); text-align: left; }
.cl-panel-wide .cl-overlay-title { text-align: center; }
.cl-settings { width: min(520px, 100%); text-align: left; }
.cl-settings .cl-overlay-title { text-align: center; }
.cl-settings fieldset { border: 1px solid var(--cl-line); border-radius: 12px; margin: 0 0 12px; padding: 6px 12px 10px; }
.cl-settings legend { padding: 0 6px; font-weight: 800; color: var(--cl-gold); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.cl-set-row { display: flex; align-items: center; gap: 10px; padding: 7px 2px; color: var(--cl-ink); font-weight: 700; cursor: pointer; min-height: 40px; }
.cl-set-row small { display: block; color: var(--cl-dim); font-weight: 600; font-size: 12px; }
.cl-set-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--cl-gold); flex: none; }
.cl-set-range span { flex: 0 0 9.5em; }
.cl-set-range input { flex: 1; accent-color: var(--cl-gold); min-width: 80px; }
.cl-set-range output { flex: 0 0 3em; text-align: right; color: var(--cl-dim); font-variant-numeric: tabular-nums; }
.cl-set-select { justify-content: space-between; }
.cl-set-select select { font: 700 14px var(--cl-font); color: var(--cl-ink); background: #12263b; border: 1px solid var(--cl-line); border-radius: 8px; padding: 6px 8px; max-width: 62%; }

.cl-card { font-size: 14px; }
.cl-card-table { width: 100%; border-collapse: collapse; margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.cl-card-table caption { text-align: left; font-weight: 800; color: var(--cl-gold); text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; padding-bottom: 4px; }
.cl-card-table th, .cl-card-table td { padding: 6px 6px; border-top: 1px solid var(--cl-line); text-align: left; color: var(--cl-ink); font-weight: 700; }
.cl-card-table thead th { color: var(--cl-dim); font-size: 12px; border-top: 0; }
.cl-card-table .num { text-align: right; }
.cl-card-table tbody th { font-weight: 800; }
.cl-card-table td:nth-child(2) { color: var(--cl-dim); font-weight: 600; }
.cl-card-total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin: 6px 0; color: var(--cl-dim); font-weight: 700; }
.cl-card-total strong { color: var(--cl-ink); }
.cl-card-note { color: var(--cl-dim); font-weight: 600; margin: 4px 0; }
.cl-card-overs { list-style: none; padding: 0; margin: 10px 0 0; }
.cl-card-overs li { display: grid; grid-template-columns: 5em 1fr auto auto; gap: 10px; padding: 5px 0; border-top: 1px solid var(--cl-line); align-items: center; }
.cl-card-over-no { color: var(--cl-gold); font-weight: 800; }
.cl-card-chips { font-family: ui-monospace, monospace; letter-spacing: 0.04em; }

.cl-aim { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.cl-aim-btn { font: 800 12px var(--cl-font); color: var(--cl-dim); background: var(--cl-panel); border: 1px solid var(--cl-line); border-radius: 9px; min-height: 30px; cursor: pointer; touch-action: manipulation; }
.cl-aim-btn[aria-pressed="true"] { color: #1b1606; background: var(--cl-gold); border-color: transparent; }

.cl-replay { position: absolute; top: 58px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(200, 16, 46, 0.9); color: #fff; font-weight: 700; font-size: 13px; }
.cl-replay strong { letter-spacing: 0.12em; }
.cl-replaying .cl-pad, .cl-replaying .cl-timing, .cl-replaying .cl-call { visibility: hidden; }
.cl-swipe-hint { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: min(360px, 86vw); padding: 10px 14px; border-radius: 14px; background: var(--cl-panel); border: 1px solid var(--cl-line); text-align: center; font-weight: 700; color: var(--cl-ink); }

/* larger text for everything in the HUD and dialogs */
.cl-hud.cl-large { font-size: 118%; }
.cl-large .cl-need, .cl-large .cl-batters, .cl-large .cl-shot, .cl-large .cl-timing-label, .cl-large .cl-delivery span:not(:empty) { font-size: 17px; }
.cl-large .cl-runs { font-size: 40px; }
.cl-large .cl-call-small { font-size: 22px; }

@media (max-width: 640px) {
  .cl-card { font-size: 13px; }
  .cl-card-table th, .cl-card-table td { padding: 5px 3px; }
  .cl-card-overs li { grid-template-columns: 4.2em 1fr auto; }
  .cl-card-overs li span:nth-child(2) { display: none; }
  .cl-set-range span { flex-basis: 7.5em; }
  .cl-tools .cl-icon-btn { padding: 7px 10px; font-size: 13px; }
}
/* the hidden attribute must win over the display rules above */
.cl-replay[hidden], .cl-swipe-hint[hidden], .cl-aim[hidden] { display: none; }
.cl-settings fieldset { min-width: 0; }
.cl-set-select select { min-width: 0; max-width: 58%; }
.cl-set-range input { min-width: 50px; }
@media (max-width: 640px) {
  .cl-replay { top: auto; bottom: 236px; flex-direction: column; gap: 0; text-align: center; }
  .cl-note { max-width: 46vw; white-space: normal !important; text-align: right; }
}

/* ---------- Stage 5: modes menu, leaderboards, achievements, practice ---------- */
.cl-cue { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); padding: 8px 18px; border-radius: 999px; font: 700 26px var(--cl-display); color: #08210f; background: var(--cl-good); opacity: 0; pointer-events: none; }
.cl-cue.is-on { animation: cl-cue 0.45s ease-out; }
@keyframes cl-cue { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
@media (prefers-reduced-motion: reduce) { .cl-cue.is-on { animation: cl-cue-still 0.45s linear; } @keyframes cl-cue-still { 0%, 90% { opacity: 1; } 100% { opacity: 0; } } }
.cl-board-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 4px 0 8px; }
.cl-tab { font: 800 14px var(--cl-font); color: var(--cl-dim); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--cl-line); border-radius: 999px; padding: 8px 14px; cursor: pointer; min-height: 40px; }
.cl-tab[aria-pressed="true"] { color: #1b1606; background: var(--cl-gold); border-color: transparent; }
.cl-card-table tr.is-me th, .cl-card-table tr.is-me td { color: var(--cl-gold); }
.cl-submit { color: var(--cl-gold) !important; }
.cl-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 16px; text-align: left; }
.cl-mode { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--cl-line); background: rgba(255, 255, 255, 0.06); color: var(--cl-ink); cursor: pointer; font: inherit; text-align: left; min-height: 84px; }
.cl-mode:hover { background: rgba(255, 255, 255, 0.12); }
.cl-mode-name { font: 700 18px var(--cl-display); }
.cl-mode-blurb { color: var(--cl-dim); font-size: 13px; font-weight: 600; line-height: 1.3; }
.cl-mode-stat { color: var(--cl-gold); font-size: 13px; font-weight: 800; min-height: 1em; }
.cl-mode-quick { border-color: rgba(246, 201, 69, 0.55); }
.cl-menu-tools { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; }
.cl-ach-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cl-ach { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--cl-line); background: rgba(255, 255, 255, 0.04); }
.cl-ach strong { display: block; }
.cl-ach span { color: var(--cl-dim); font-size: 13px; font-weight: 600; }
/* locked reads as an outline, not faded text (fading took the descriptions below WCAG contrast) */
.cl-ach.is-locked { border-style: dashed; background: transparent; }
.cl-ach.is-locked strong { color: var(--cl-dim); }
.cl-ach.is-locked strong::before { content: "Locked: "; color: var(--cl-dim); font-weight: 700; }
.cl-ach.is-done { border-color: rgba(88, 214, 141, 0.6); }
.cl-career { color: var(--cl-dim); font-weight: 700; text-align: center; margin: 8px 0 0; }
.cl-practice-form { display: grid; gap: 10px; text-align: left; }
@media (max-width: 640px) {
  .cl-modes { grid-template-columns: 1fr; }
  .cl-mode { min-height: 0; }
  .cl-ach-list { grid-template-columns: 1fr; }
}
/* the site-wide account widget and "More" drawer (tools/inject-page-content.js) sit over the shot pad and HUD: hide
   them while an innings is on, as Goalstorm does */
body.cl-playing .fp-widget, body.cl-playing .fp-more { display: none !important; }
