/* CREST Guided Tour — Certification Test styles */

/* ── Root + rail ─────────────────────────────────────────────────────────── */

.ct-root {
  position: fixed; inset: 0;
  background: linear-gradient(165deg, #0a1220 0%, #0f1923 25%, #132640 50%, #0f1923 75%, #0b1018 100%);
  color: #fff;
  font-family: var(--tw-body), sans-serif;
  display: flex;
  z-index: 200;
  overflow: hidden;
}
.ct-root::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 1200px 600px at 20% -20%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(ellipse 900px 500px at 100% 110%, rgba(212, 160, 23,0.08), transparent 60%);
  pointer-events: none;
}
.ct-rail {
  width: 200px;
  flex: 0 0 200px;
  background: rgba(10, 14, 22, 0.7);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 28px 20px;
  display: flex; flex-direction: column;
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 1;
}
.ct-rail-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em;
  color: #fff;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.ct-rail-logo { width: 28px; height: 28px; object-fit: contain; }

.ct-rail-steps { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ct-rail-step {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #5C6B82;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  transition: all 0.2s ease;
}
.ct-rail-dot {
  width: 22px; height: 22px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 10px; font-weight: 700;
}
.ct-rail-step.done { color: #94A3B8; }
.ct-rail-step.done .ct-rail-dot { background: #22C55E; border-color: #22C55E; color: #fff; }
.ct-rail-step.active {
  background: rgba(59,130,246,0.10);
  color: #fff;
}
.ct-rail-step.active .ct-rail-dot {
  background: #D4A017; border-color: #D4A017; color: #060810;
  box-shadow: 0 0 0 4px rgba(212, 160, 23,0.18);
}
.ct-rail-exit {
  background: transparent; border: 1px solid rgba(255,255,255,0.10);
  color: #94A3B8;
  padding: 9px 12px; border-radius: 999px;
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.12em;
  margin-top: 16px;
  cursor: pointer;
}
.ct-rail-exit:hover { color: #fff; border-color: #fff; }

.ct-stage {
  flex: 1; min-width: 0;
  position: relative;
  overflow: hidden;
  display: flex;
}

/* ── Shared form/intro chrome ────────────────────────────────────────────── */

.ct-accent { color: #D4A017; }
.ct-stage-eye {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  color: #3B82F6;
  margin-bottom: 12px;
}
.ct-stage-title {
  font-size: 36px; font-weight: 300; letter-spacing: -0.5px;
  line-height: 1.05;
  margin: 0 0 8px 0;
}
.ct-stage-sub {
  font-size: 14px; color: #94A3B8; line-height: 1.5;
  margin: 0 0 28px 0;
  max-width: 520px;
}
.ct-stage-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #2563EB;
  color: #fff; border: 0;
  padding: 14px 22px;
  border-radius: 10px;
  font: 700 12px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  cursor: pointer;
  box-shadow: 0 12px 28px -14px rgba(59,130,246,0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ct-stage-cta:hover { transform: translateY(-1px); background: #3B82F6; box-shadow: 0 16px 32px -14px rgba(59,130,246,0.6); }

/* Hot CTA — used when squad is ready to start innings. Stronger pulse + gold */
.ct-stage-cta-hot {
  background: #D4A017 !important;
  color: #060810 !important;
  box-shadow: 0 12px 28px -12px rgba(212, 160, 23,0.6) !important;
  animation: ctCtaHotPulse 2.4s ease-in-out infinite;
}
.ct-stage-cta-hot:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -12px rgba(212, 160, 23,0.7) !important;
}
@keyframes ctCtaHotPulse {
  0%, 100% { box-shadow: 0 12px 28px -12px rgba(212, 160, 23,0.55); }
  50%      { box-shadow: 0 14px 34px -10px rgba(212, 160, 23,0.75); }
}

/* ── Intro ───────────────────────────────────────────────────────────────── */

.ct-intro {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  overflow-y: auto;
}
.ct-intro-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 64px; align-items: center;
  max-width: 1100px; width: 100%;
}
.ct-intro-eyebrow {
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #D4A017;
  margin-bottom: 24px;
}
.ct-intro-title {
  font-size: 56px; font-weight: 900; letter-spacing: -2px;
  line-height: 1.0;
  margin: 0 0 24px 0;
}
.ct-intro-body {
  font-size: 16px; line-height: 1.65;
  color: #94A3B8;
  margin: 0 0 24px 0;
}
.ct-intro-body b { color: #fff; font-weight: 700; }
.ct-intro-list {
  list-style: none; padding: 0; margin: 0 0 32px 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; color: #CBD5E1;
}
.ct-intro-list li { display: flex; align-items: center; gap: 10px; }
.ct-intro-check {
  width: 18px; height: 18px; border-radius: 999px;
  background: rgba(34,197,94,0.18); color: #4ADE80;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.ct-intro-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #D4A017, #D97706);
  color: #060810; border: 0;
  padding: 16px 28px;
  border-radius: 10px;
  font: 800 13px var(--tw-body), sans-serif; letter-spacing: 0.16em;
  cursor: pointer;
  box-shadow: 0 20px 40px -12px rgba(212, 160, 23,0.55), 0 0 0 1px rgba(212, 160, 23,0.4);
  transition: transform 0.15s ease;
}
.ct-intro-cta:hover { transform: translateY(-1px); }
.ct-intro-meta { margin-top: 12px; font-size: 11px; color: #5C6B82; letter-spacing: 0.12em; font-weight: 600; }

.ct-intro-cert {
  background: linear-gradient(160deg, #111827 0%, #0a0e16 100%);
  border: 1px solid rgba(212, 160, 23,0.25);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(212, 160, 23,0.20);
}
.ct-intro-cert::before, .ct-intro-cert::after {
  content: ''; position: absolute; inset: 8px;
  border: 1px solid rgba(212, 160, 23,0.10); border-radius: 10px;
  pointer-events: none;
}
.ct-intro-cert-eye {
  font: 700 9px var(--tw-body), sans-serif; letter-spacing: 0.24em;
  color: #D4A017; margin-bottom: 24px;
}
.ct-intro-cert-lock {
  display: inline-flex; padding: 16px; border-radius: 999px;
  background: rgba(212, 160, 23,0.10);
  margin-bottom: 16px;
}
.ct-intro-cert-lab {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.2em;
  color: #475569; margin-bottom: 16px;
}
.ct-intro-cert-name {
  font: 700 22px var(--tw-body), sans-serif;
  color: #2A3548;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.ct-intro-cert-sub {
  font: 600 10px var(--tw-body), sans-serif; letter-spacing: 0.2em;
  color: #5C6B82;
}

/* ── Setup ───────────────────────────────────────────────────────────────── */

.ct-setup, .ct-squads {
  width: 100%; height: 100%;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 40px;
  overflow-y: auto;
  position: relative;
}
.ct-setup-card, .ct-squads-card {
  background: #0c1019;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 760px; width: 100%;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.ct-squads-card { max-width: 1040px; }
.ct-setup-card-wide { max-width: 1180px; }
.ct-squads-card-wide { max-width: 1280px; padding: 22px 28px; }

/* Two-column Setup layout */
.ct-setup-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 8px;
}
.ct-setup-col { display: flex; flex-direction: column; }
.ct-setup-col-eye {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.22em;
  color: #D4A017; text-transform: uppercase;
  padding-bottom: 10px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(212, 160, 23,0.18);
}
@media (max-width: 900px) {
  .ct-setup-grid { grid-template-columns: 1fr; gap: 8px; }
}

.ct-req-inline { vertical-align: middle; margin: 0 2px; }
.ct-field-tight { margin-bottom: 8px; }

/* Match-type radio cards */
.ct-radio-stack { display: flex; flex-direction: column; gap: 6px; }
.ct-radio-card {
  display: grid; grid-template-columns: 18px 1fr auto;
  align-items: center; gap: 12px;
  background: #0a0e16;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  color: inherit; text-align: left;
  transition: all 0.15s ease;
}
.ct-radio-card:hover { border-color: rgba(255,255,255,0.18); }
.ct-radio-dot {
  width: 14px; height: 14px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.20);
  position: relative;
}
.ct-radio-card.selected {
  background: rgba(212, 160, 23,0.10);
  border-color: #D4A017;
  box-shadow: 0 8px 20px -8px rgba(212, 160, 23,0.35);
}
.ct-radio-card.selected .ct-radio-dot {
  border-color: #D4A017;
}
.ct-radio-card.selected .ct-radio-dot::after {
  content: '';
  position: absolute; inset: 2px;
  border-radius: 999px;
  background: #D4A017;
}
.ct-radio-meta { display: flex; flex-direction: column; gap: 2px; }
.ct-radio-name { font: 700 14px var(--tw-body), sans-serif; color: #fff; }
.ct-radio-sub  { font: 500 11px var(--tw-body), sans-serif; color: #6B7A92; }
.ct-radio-tag  {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.12em;
  color: #94A3B8; text-transform: uppercase;
  background: rgba(255,255,255,0.04);
  padding: 4px 8px; border-radius: 4px;
}
.ct-radio-card.selected .ct-radio-tag { color: #D4A017; background: rgba(212, 160, 23,0.12); }

/* Overs stepper */
.ct-stepper {
  display: grid; grid-template-columns: 36px 1fr 36px;
  align-items: stretch;
  background: #0a0e16;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}
.ct-stepper-btn {
  background: transparent; border: 0;
  color: #94A3B8;
  font: 800 18px var(--tw-body), sans-serif;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ct-stepper-btn:hover { color: #fff; background: rgba(255,255,255,0.04); }
.ct-stepper-input {
  background: transparent; border: 0;
  color: #fff;
  font: 800 18px var(--tw-body), sans-serif;
  text-align: center;
  padding: 8px 0;
  width: 100%;
  -moz-appearance: textfield;
}
.ct-stepper-input::-webkit-outer-spin-button,
.ct-stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ct-stepper-input:focus { outline: none; background: rgba(59,130,246,0.06); }

.ct-seg-wrap { flex-wrap: wrap; }
.ct-seg-btn.disabled { opacity: 0.35; cursor: default; }

.ct-field-test {
  border-color: rgba(212, 160, 23,0.30);
  color: #D4A017;
}
.ct-field-test b { color: #D4A017; letter-spacing: 0.08em; }

/* Back button — both inline (top-left of card) and floating (scoring/post) */
.ct-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.10);
  color: #94A3B8;
  padding: 9px 14px;
  border-radius: 999px;
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.15s ease;
  position: absolute;
  top: 24px; left: 24px;
  z-index: 5;
}
.ct-back:hover { color: #fff; border-color: rgba(255,255,255,0.30); background: rgba(255,255,255,0.04); }
.ct-back-inline {
  position: static;
  margin-bottom: 14px;
  padding: 6px 10px;
  font-size: 10px;
}
.ct-back-floating {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 50;
  background: rgba(12,16,25,0.92);
  backdrop-filter: blur(8px);
}

/* Fields ────────────────────────────────────────────────────────────── */
.ct-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.ct-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.ct-field-row .ct-field { margin: 0; }

.ct-field-lab {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #94A3B8;
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  white-space: nowrap;
}
.ct-req {
  background: rgba(212, 160, 23,0.16); color: #D4A017;
  font: 700 9px var(--tw-body), sans-serif; letter-spacing: 0.12em;
  padding: 2px 6px; border-radius: 3px;
  text-transform: lowercase;
}
.ct-field-hint { font-size: 11px; color: #5C6B82; }
.ct-field-err  { font-size: 12px; color: #FCA5A5; font-weight: 600; }

.ct-field-fixed {
  display: flex; align-items: center; gap: 12px;
  background: #0a0e16;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 16px;
}
.ct-field-fixed-name { font: 700 15px var(--tw-body), sans-serif; }
.ct-field-fixed-sub  { font-size: 11px; color: #5C6B82; }
.ct-field-fixed-sm {
  background: #0a0e16; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 10px 14px;
  font: 600 14px var(--tw-body), sans-serif; color: #CBD5E1;
}

/* Chips (opposition picker) */
.ct-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.ct-chips.invalid { border-color: rgba(239,68,68,0.30); }
.ct-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1F293A;
  border: 1px solid rgba(255,255,255,0.06);
  color: #fff;
  padding: 9px 14px 9px 9px;
  border-radius: 999px;
  font: 700 12px var(--tw-body), sans-serif; letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ct-chip:hover { border-color: rgba(255,255,255,0.20); transform: translateY(-1px); }
.ct-chip.selected {
  background: rgba(212, 160, 23,0.16);
  border-color: #D4A017;
  color: #FCD34D;
  box-shadow: 0 8px 20px -8px rgba(212, 160, 23,0.40);
}
.ct-chip-logo {
  width: 24px; height: 24px; border-radius: 999px;
  background: linear-gradient(135deg, #5C3A1F, #2C1F0E);
  color: #FCD34D;
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 11px var(--tw-body), sans-serif;
}
.ct-chip.selected .ct-chip-logo { background: #D4A017; color: #060810; }

/* Select */
.ct-select {
  background: #0a0e16;
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font: 600 14px var(--tw-body), sans-serif;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #94A3B8 50%), linear-gradient(135deg, #94A3B8 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.ct-select.invalid { border-color: rgba(239,68,68,0.40); }
.ct-select:focus { outline: 0; border-color: #D4A017; }

/* ── Focus pulse: draw the eye to a field that still needs a choice ───── */
/* Big targets: opposition chip-group + venue select while empty. */
.ct-focus-pulse {
  border-color: rgba(212, 160, 23,0.55) !important;
  animation: ctFocusPulse 1.8s ease-in-out infinite;
}
@keyframes ctFocusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23,0.40), 0 0 18px -4px rgba(212, 160, 23,0.30); }
  50%      { box-shadow: 0 0 0 5px rgba(212, 160, 23,0), 0 0 26px -2px rgba(212, 160, 23,0.45); }
}
/* Small targets: the C / WK pick buttons until a choice is locked. */
.ct-focus-pulse-sm {
  border-color: rgba(212, 160, 23,0.65) !important;
  color: #D4A017 !important;
  animation: ctFocusPulseSm 1.6s ease-in-out infinite;
}
.ct-focus-pulse-sm.wk {
  border-color: rgba(59,130,246,0.70) !important;
  color: #93C5FD !important;
  animation-name: ctFocusPulseSmWk;
}
@keyframes ctFocusPulseSm {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23,0.50); }
  50%      { box-shadow: 0 0 0 4px rgba(212, 160, 23,0); }
}
@keyframes ctFocusPulseSmWk {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.55); }
  50%      { box-shadow: 0 0 0 4px rgba(59,130,246,0); }
}
@media (prefers-reduced-motion: reduce) {
  .ct-focus-pulse, .ct-focus-pulse-sm { animation: none; }
}

/* Flash a control on demand (checklist "?" hint). */
.ct-hint-flash {
  animation: ctHintFlash 1.8s ease-out;
  border-color: rgba(212, 160, 23,0.70) !important;
}
@keyframes ctHintFlash {
  0%   { box-shadow: 0 0 0 0 rgba(212, 160, 23,0.60); }
  100% { box-shadow: 0 0 0 16px rgba(212, 160, 23,0); }
}

/* Segmented control */
.ct-seg {
  display: inline-flex; gap: 2px;
  background: #0a0e16;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 3px;
}
.ct-seg-btn {
  background: transparent; border: 0;
  color: #94A3B8;
  padding: 8px 14px;
  border-radius: 7px;
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.10em;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ct-seg-btn:hover { color: #fff; }
.ct-seg-btn.active {
  background: #D4A017; color: #060810;
  box-shadow: 0 4px 12px -2px rgba(212, 160, 23,0.30);
}

/* Setup footer */
.ct-setup-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ct-setup-summary { font-size: 13px; color: #94A3B8; }
.ct-setup-summary b { color: #fff; font-weight: 700; }
.ct-setup-summary-incomplete { color: #D4A017; font-weight: 600; }

.ct-stage-cta.disabled, .ct-stage-cta:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
}

/* ── Squads (interactive editor) ─────────────────────────────────────── */

.ct-squads-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 12px;
  flex-wrap: wrap;
}
.ct-squads-head-left { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ct-squads-head-left .ct-back-inline { margin-bottom: 8px; }
.ct-squads-head-left .ct-stage-eye { margin-bottom: 4px; white-space: nowrap; }
.ct-stage-title-sm { font-size: 22px; margin: 0; white-space: nowrap; }
.ct-stage-sub-inline { margin: 0; font-size: 12px; max-width: 420px; line-height: 1.4; }
.ct-c-mark { color: #D4A017; font-weight: 800; }
.ct-wk-mark { color: #3B82F6; font-weight: 800; }
.ct-squad-ready { color: #22C55E; font-weight: 700; letter-spacing: 0.10em; }
.ct-squad-req { color: #94A3B8; display: inline-flex; align-items: center; gap: 6px; }

.ct-squads-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}
.ct-squad {
  background: #0a0e16;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ct-squad.needs-cwk {
  border-color: rgba(212, 160, 23,0.30);
  box-shadow: inset 0 0 0 1px rgba(212, 160, 23,0.06);
}
.ct-squad.is-ready {
  border-color: rgba(34,197,94,0.30);
  box-shadow: inset 0 0 0 1px rgba(34,197,94,0.06);
}
.ct-squad-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 6px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ct-squad-head-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ct-squad-head-name { font: 800 13px var(--tw-body), sans-serif; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-squad-head-sub  { font: 600 10px var(--tw-body), sans-serif; letter-spacing: 0.10em; color: #5C6B82; display: flex; align-items: center; gap: 6px; }
.ct-squad-head-sub .ct-req { letter-spacing: 0.12em; }

.ct-squad-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-squad-list-2col {
  display: flex; flex-direction: column; gap: 2px;
}
.ct-squad-list li {
  display: grid; grid-template-columns: 22px 1fr auto;
  align-items: center; gap: 8px;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 4px;
  transition: background 0.15s ease;
  min-width: 0;
}
.ct-squad-list li.is-c  { background: rgba(212, 160, 23,0.16); box-shadow: inset 3px 0 0 #D4A017; }
.ct-squad-list li.is-wk { background: rgba(59,130,246,0.16); box-shadow: inset 3px 0 0 #3B82F6; }
.ct-squad-list li.is-c.is-wk {
  background: linear-gradient(90deg, rgba(212, 160, 23,0.16), rgba(59,130,246,0.16));
  box-shadow: inset 3px 0 0 #D4A017, inset -3px 0 0 #3B82F6;
}
.ct-squad-num  { font: 700 10px ui-monospace, monospace; color: #5C6B82; }
.ct-squad-name { font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-squad-role { display: none; }
.ct-squad-actions { display: inline-flex; gap: 3px; }
.ct-squad-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  color: #5C6B82;
  font: 800 9px var(--tw-body), sans-serif; letter-spacing: 0.08em;
  width: 22px; height: 18px;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}
.ct-squad-btn:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
.ct-squad-btn.active {
  background: #D4A017; color: #060810; border-color: #D4A017;
}
.ct-squad-btn-wk.active { background: #3B82F6; color: #fff; border-color: #3B82F6; }

.ct-squad-todo {
  font-size: 11px; color: #D4A017;
  margin-top: 10px;
  padding: 8px 10px;
  background: rgba(212, 160, 23,0.08);
  border: 1px dashed rgba(212, 160, 23,0.30);
  border-radius: 6px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.ct-squad-todo b { color: #FCD34D; }

/* Toss block */
.ct-toss-block {
  background: #0a0e16;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
}
.ct-toss-block.ct-toss-inline {
  display: flex; align-items: center;
  gap: 18px; flex-wrap: wrap;
  padding: 10px 16px;
}
.ct-toss-eye {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #D4A017;
}
.ct-toss-block:not(.ct-toss-inline) .ct-toss-eye { margin-bottom: 10px; }
.ct-toss-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.ct-toss-q { display: flex; align-items: center; gap: 10px; }
.ct-toss-q > span { font-size: 12px; color: #94A3B8; white-space: nowrap; }
.ct-toss-summary {
  font-size: 12px; color: #CBD5E1;
}
.ct-toss-block:not(.ct-toss-inline) .ct-toss-summary {
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.ct-toss-block.ct-toss-inline .ct-toss-summary {
  margin-left: auto;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.ct-toss-summary b { color: #FCD34D; font-weight: 800; }

.ct-team-chip {
  width: 28px; height: 28px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 13px var(--tw-body), sans-serif;
  color: #fff;
}
.ct-team-chip-a { background: linear-gradient(135deg, #1E3A5F, #0B1424); border: 1px solid rgba(59,130,246,0.35); color: #93C5FD; }
.ct-team-chip-b { background: linear-gradient(135deg, #5C3A1F, #2C1F0E); border: 1px solid rgba(212, 160, 23,0.35); color: #FCD34D; }

/* Make the rail steps clickable when navigable back */
.ct-rail-step {
  background: transparent; border: 0;
  text-align: left;
  width: 100%;
  cursor: not-allowed;
  font-family: inherit;
}
.ct-rail-step.clickable {
  cursor: pointer;
}
.ct-rail-step.clickable:hover {
  background: rgba(255,255,255,0.04);
  color: #fff;
}
.ct-rail-step.clickable:hover .ct-rail-dot {
  border-color: #D4A017;
  color: #D4A017;
}

/* ── Scoring (clone of MockScorebookFn / mc-scorebook) ──────────────────── */

.ct-sb {
  width: 100%; height: 100%;
  background: #0A0E14;
  position: relative;
  font-family: var(--tw-body), sans-serif;
  overflow: hidden;
}

/* Two-column grid: main scoreboard left, checklist HUD right */
.ct-sb-grid {
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
}
.ct-sb-main {
  display: flex; flex-direction: column;
  min-width: 0;
  border-right: 1px solid #1F293A;
}

/* ── Drill Checklist (right rail) ──────────────────────────────────── */
.ct-checklist {
  display: flex; flex-direction: column;
  min-height: 0;
  background: linear-gradient(180deg, #0c1019 0%, #080b13 100%);
  padding: 18px 18px 16px;
  overflow-y: auto;
  position: relative;
}
.ct-checklist::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 160, 23,0.45), transparent);
}

.ct-checklist-head { margin-bottom: 14px; }
.ct-checklist-eye {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.20em;
  color: #D4A017; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 8px;
}
.ct-checklist-eye::before {
  content: '★'; font-size: 11px;
}
.ct-checklist-title {
  font: 300 22px var(--tw-body), sans-serif; letter-spacing: -0.3px;
  color: #fff; line-height: 1.1;
  margin-bottom: 4px;
}
.ct-checklist-sub {
  font-size: 11.5px; color: #6B7A92; line-height: 1.5;
}

/* Progress block */
.ct-checklist-progress {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: rgba(212, 160, 23,0.04);
  border: 1px solid rgba(212, 160, 23,0.14);
  border-radius: 10px;
}
.ct-checklist-progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}
.ct-checklist-progress-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #3B82F6 0%, #D4A017 100%);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(212, 160, 23,0.40);
}
.ct-checklist-progress-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: #94A3B8;
}
.ct-checklist-progress-row b {
  font-size: 14px; color: #fff; font-weight: 800;
}
.ct-checklist-status {
  font: 800 9px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase;
}
.ct-checklist-status.pending { background: rgba(148,163,184,0.08); color: #94A3B8; }
.ct-checklist-status.ready   { background: rgba(34,197,94,0.14); color: #4ADE80; }
.ct-checklist-status.gold {
  background: rgba(212, 160, 23,0.18); color: #D4A017;
  animation: ctCheckGoldPulse 2s ease-in-out infinite;
}
@keyframes ctCheckGoldPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23,0.40); }
  50% { box-shadow: 0 0 0 4px rgba(212, 160, 23,0); }
}

/* List */
.ct-checklist-list {
  list-style: none; padding: 0; margin: 0 0 14px 0;
  display: flex; flex-direction: column; gap: 4px;
  flex: 1; min-height: 0;
}
.ct-checklist-item {
  display: grid; grid-template-columns: 22px 1fr auto;
  align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.ct-checklist-item:hover { border-color: rgba(255,255,255,0.10); background: rgba(255,255,255,0.03); }

.ct-checklist-tick {
  width: 22px; height: 22px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: #6B7A92;
  font: 800 12px var(--tw-body), sans-serif;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ct-checklist-label {
  color: #CBD5E1;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.ct-checklist-hint {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.10);
  color: #6B7A92;
  width: 22px; height: 22px;
  border-radius: 999px;
  font: 700 11px var(--tw-body), sans-serif;
  cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
}
.ct-checklist-hint:hover {
  color: #D4A017; border-color: #D4A017;
  background: rgba(212, 160, 23,0.10);
}

/* Done state */
.ct-checklist-item.done {
  background: rgba(34,197,94,0.06);
  border-color: rgba(34,197,94,0.22);
}
.ct-checklist-item.done .ct-checklist-tick {
  background: #22C55E;
  border-color: #22C55E;
  color: #060810;
  box-shadow: 0 0 12px rgba(34,197,94,0.35);
}
.ct-checklist-item.done .ct-checklist-label {
  color: #94A3B8;
  text-decoration: line-through;
  text-decoration-color: rgba(148,163,184,0.40);
}

/* Hinting state (when user asked for a flash) */
.ct-checklist-item.hinting {
  border-color: #D4A017;
  background: rgba(212, 160, 23,0.10);
  animation: ctCheckHint 1.8s ease-out;
}
.ct-checklist-item.hinting .ct-checklist-tick {
  background: rgba(212, 160, 23,0.20);
  border-color: #D4A017;
  color: #D4A017;
}
@keyframes ctCheckHint {
  0%   { box-shadow: 0 0 0 0 rgba(212, 160, 23,0.55); }
  100% { box-shadow: 0 0 0 14px rgba(212, 160, 23,0); }
}

/* Footer */
.ct-checklist-foot {
  flex: 0 0 auto;
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ct-checklist-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  font: 800 11px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0; cursor: pointer;
  transition: all 0.15s ease;
}
.ct-checklist-cta-locked {
  background: rgba(255,255,255,0.03);
  color: #6B7A92;
  border: 1px dashed rgba(255,255,255,0.10);
  cursor: not-allowed;
}
.ct-checklist-cta:not(.ct-checklist-cta-locked):not(.ct-checklist-cta-gold) {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(59,130,246,0.55);
}
.ct-checklist-cta-gold {
  background: linear-gradient(135deg, #D4A017, #D97706) !important;
  color: #060810 !important;
  box-shadow:
    0 0 0 1px rgba(212, 160, 23,0.40),
    0 12px 30px -10px rgba(212, 160, 23,0.65) !important;
  animation: ctCheckCtaPulse 2.4s ease-in-out infinite;
}
@keyframes ctCheckCtaPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(212, 160, 23,0.40), 0 12px 30px -10px rgba(212, 160, 23,0.65); }
  50%      { box-shadow: 0 0 0 1px rgba(212, 160, 23,0.65), 0 16px 36px -10px rgba(212, 160, 23,0.80); }
}
.ct-checklist-cta:not(.ct-checklist-cta-locked):hover { transform: translateY(-1px); }

.ct-checklist-exit {
  background: transparent; border: 0;
  color: #6B7A92;
  font: 600 11px var(--tw-body), sans-serif;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 2px;
  align-self: center;
}
.ct-checklist-exit:hover { color: #CBD5E1; }

.ct-sb-status {
  flex: 0 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px 8px;
  font-size: 11px; font-weight: 700;
  color: #fff;
}
.ct-sb-status-mid { font-size: 10px; letter-spacing: 0.20em; color: #8293A8; }
.ct-sb-status-right { font-family: ui-monospace, ui-monospace, monospace; font-size: 10px; color: #94A3B8; }
.ct-sb-back {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: #CBD5E1;
  padding: 4px 10px;
  border-radius: 999px;
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ct-sb-back:hover { color: #fff; border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); }

.ct-sb-tabs-wrap {
  position: relative;
  flex: 0 0 auto;
  border-bottom: 1px solid #1F293A;
}
.ct-sb-tabs {
  display: flex; gap: 6px;
  padding: 2px 12px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ct-sb-tabs::-webkit-scrollbar { display: none; }
.ct-sb-tabs-fade-l, .ct-sb-tabs-fade-r {
  position: absolute; top: 0; bottom: 1px;
  width: 24px; pointer-events: none;
}
.ct-sb-tabs-fade-l { left: 0;  background: linear-gradient(90deg, #0A0E14, transparent); }
.ct-sb-tabs-fade-r { right: 0; background: linear-gradient(-90deg, #0A0E14, transparent); }
.ct-sb-tab {
  background: transparent; border: 0;
  color: #8293A8;
  padding: 8px 14px;
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.12em;
  white-space: nowrap;
  border-radius: 5px;
  cursor: pointer;
  flex: 0 0 auto;
  transition: color 0.15s ease;
}
.ct-sb-tab:hover { color: #fff; }
.ct-sb-tab.active {
  color: #fff;
  background: rgba(59,130,246,0.18);
  box-shadow: inset 0 -2px 0 #3B82F6;
}

.ct-sb-body {
  flex: 1 1 auto;
  padding: 16px 20px 20px;
  display: flex; flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
}

/* Header — exact clone of mc-score-header, scaled up */
.ct-sb-head {
  position: relative;
  background: linear-gradient(135deg, #1F293A, #0d131e);
  border-radius: 12px;
  padding: 16px 22px;
}
.ct-sb-team {
  font-size: 14px; letter-spacing: 0.18em; color: #94A3B8;
  font-weight: 700;
}
.ct-sb-runs {
  font-size: 56px; font-weight: 900; line-height: 1;
  margin: 4px 0;
  letter-spacing: -1.5px;
}
.ct-sb-runs span { font-size: 30px; color: #94A3B8; font-weight: 600; letter-spacing: 0; }
.ct-sb-overs { font-size: 13px; color: #8293A8; font-weight: 600; }

.ct-sb-pbar {
  position: absolute; right: 18px; top: 18px; bottom: 18px;
  width: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.ct-sb-pfill {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, #D4A017 0%, #3B82F6 100%);
  border-radius: 999px;
  transition: height 0.4s ease;
  animation: ctPulseFill 2s ease-in-out infinite alternate;
}
@keyframes ctPulseFill {
  from { opacity: 0.7; }
  to   { opacity: 1; box-shadow: 0 0 12px #3B82F6; }
}

/* Batters — exact clone of mc-batter-row, scaled up */
.ct-sb-batters { display: flex; flex-direction: column; gap: 5px; }
.ct-sb-brow {
  display: flex; justify-content: space-between; align-items: center;
  background: #111827;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
}
.ct-sb-bname { font-weight: 700; }
.ct-sb-bstat { color: #94A3B8; font-size: 13px; }
.ct-sb-bstat b { color: #fff; font-weight: 800; font-size: 16px; }
.ct-sb-bstat i { font-style: normal; opacity: 0.7; margin: 0 2px; }

/* Bowler row */
.ct-sb-bowler {
  display: grid; grid-template-columns: 100px 1fr auto;
  align-items: center; gap: 12px;
  background: #111827;
  border-radius: 8px;
  padding: 10px 16px;
}
.ct-sb-blab {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #5C6B82;
}
.ct-sb-bowler .ct-sb-bname { font-size: 14px; }
.ct-sb-bowler .ct-sb-bstat { font-size: 13px; font-weight: 700; }

/* Over strip — clone of mc-over-strip with bigger balls */
.ct-sb-over {
  display: flex; gap: 6px; align-items: center;
  padding: 8px 14px;
  background: #111827;
  border-radius: 8px;
  min-height: 44px;
}
.ct-sb-over-lab {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #5C6B82;
  margin-right: 4px;
}
.ct-sb-over-empty { font-size: 11px; color: #5C6B82; font-style: italic; }
.ct-sb-ball {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font: 800 13px var(--tw-body), sans-serif;
}
.ct-sb-ball-dot   { background: #1F293A; color: #8293A8; }
.ct-sb-ball-run   { background: rgba(59,130,246,0.18); color: #93C5FD; }
.ct-sb-ball-four  { background: #3B82F6; color: #fff; }
.ct-sb-ball-six   { background: #D4A017; color: #060810; }
.ct-sb-ball-w     { background: #EF4444; color: #fff; }
.ct-sb-ball-extra { background: #2C1F0E; color: #FCD34D; font-size: 10px; border: 1px dashed rgba(212, 160, 23,0.4); }

/* Toolbar — slim row above the keypad */
.ct-sb-toolbar {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 4px;
}
.ct-sb-tool {
  background: #1F293A;
  border: 1px solid transparent;
  color: #94A3B8;
  border-radius: 8px;
  padding: 9px 6px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer;
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  transition: all 0.15s ease;
}
.ct-sb-tool:hover { color: #fff; border-color: rgba(255,255,255,0.10); }
.ct-sb-tool-icon { font-size: 14px; line-height: 1; }

/* Keypad — clone of mc-keypad, scaled up */
.ct-sb-keypad {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  margin-top: 4px;
}
.ct-sb-keypad-shake { animation: ctShake 0.4s; }
@keyframes ctShake { 0%,100%{transform:translateX(0);} 20%{transform:translateX(-4px);} 60%{transform:translateX(4px);} }
.ct-sb-key {
  background: #1F293A;
  border: 0; color: #fff;
  padding: 18px 0;
  border-radius: 10px;
  font: 800 22px var(--tw-body), sans-serif;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.ct-sb-key:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(59,130,246,0.4); }
.ct-sb-key-boundary { background: rgba(59,130,246,0.18); color: #93C5FD; }
.ct-sb-key-w { background: #EF4444; color: #fff; }
.ct-sb-key-extra { background: #0A0E14; color: #FCD34D; font-size: 14px; letter-spacing: 0.04em; border: 1px solid rgba(255,255,255,0.04); }
/* Repeat-last-delivery control */
.ct-sb-key-repeat {
  background: rgba(148,163,184,0.14);
  color: #CBD5E1;
  border: 1px solid rgba(255,255,255,0.07);
  letter-spacing: 0.02em;
}
.ct-sb-key-repeat:hover { background: rgba(148,163,184,0.22); color: #fff; }
/* CS spans two columns so the bottom row fills the 7-col grid cleanly */
.ct-sb-key-cs { grid-column: span 2; }

/* ── Pending-extras state — Wd/Nb/B/Lb signals waiting for runs ─────── */
.ct-sb-pending {
  display: flex; align-items: center; gap: 10px;
  margin: 8px 0 0;
  padding: 8px 12px;
  background: linear-gradient(90deg, rgba(212, 160, 23,0.16) 0%, rgba(212, 160, 23,0.04) 100%);
  border: 1px solid rgba(212, 160, 23,0.40);
  border-radius: 8px;
  font-size: 12px; color: #FCD34D;
  animation: ctPendingIn 0.2s ease-out;
}
@keyframes ctPendingIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ct-sb-pending-sig {
  display: inline-flex; align-items: center; justify-content: center;
  background: #D4A017; color: #060810;
  font: 800 13px var(--tw-body), sans-serif; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 4px;
  min-width: 36px;
}
.ct-sb-pending-body { flex: 1; color: #FDE68A; }
.ct-sb-pending-body b { color: #fff; font-weight: 800; }
.ct-sb-pending-hint { color: rgba(253, 230, 138, 0.65); font-weight: 500; }
.ct-sb-pending-cancel {
  background: transparent; border: 0;
  color: #FDE68A;
  font: 800 14px var(--tw-body), sans-serif;
  cursor: pointer; padding: 2px 8px; border-radius: 4px;
  transition: all 0.15s ease;
}
.ct-sb-pending-cancel:hover { background: rgba(212, 160, 23,0.20); color: #fff; }

/* Keypad highlights number row as the runs picker when pending */
.ct-sb-keypad.is-runs-mode .ct-sb-key-runs-mode {
  background: rgba(212, 160, 23,0.10);
  border-color: rgba(212, 160, 23,0.40);
  color: #FCD34D;
  box-shadow: 0 0 0 1px rgba(212, 160, 23,0.20), 0 4px 16px -4px rgba(212, 160, 23,0.25);
}
.ct-sb-keypad.is-runs-mode .ct-sb-key-runs-mode:hover {
  background: #D4A017; color: #060810; border-color: #D4A017;
}
.ct-sb-key-pending {
  background: #D4A017 !important;
  color: #060810 !important;
  border-color: #D4A017 !important;
  box-shadow:
    0 0 0 2px rgba(212, 160, 23,0.45),
    0 8px 24px -6px rgba(212, 160, 23,0.55) !important;
  animation: ctPendingPulse 1.6s ease-in-out infinite;
}
@keyframes ctPendingPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(212, 160, 23,0.45), 0 8px 24px -6px rgba(212, 160, 23,0.55); }
  50%      { box-shadow: 0 0 0 4px rgba(212, 160, 23,0.20), 0 8px 24px -6px rgba(212, 160, 23,0.75); }
}

/* ── Inline tag-delivery modal — wagon wheel + ball analysis overlay ── */
.ct-sb-tag-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: ctTagFade 0.18s ease-out;
}
@keyframes ctTagFade { from { opacity: 0; } to { opacity: 1; } }
.ct-sb-tag-pane {
  background: #0a0e16;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  width: 100%;
  max-width: 1100px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.80);
  animation: ctTagIn 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes ctTagIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ct-sb-tag-head {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; z-index: 1;
}
.ct-sb-tag-eye {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #D4A017;
  text-transform: uppercase;
}
.ct-sb-tag-tabs { display: flex; gap: 6px; margin-left: auto; }
.ct-sb-tag-tab {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.10);
  color: #6B7A92;
  padding: 6px 12px;
  border-radius: 8px;
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ct-sb-tag-tab:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
.ct-sb-tag-tab.is-active {
  background: rgba(59,130,246,0.10);
  border-color: rgba(59,130,246,0.45);
  color: #fff;
}
.ct-sb-tag-tab.is-done {
  border-color: rgba(34,197,94,0.35);
  color: #22C55E;
}
.ct-sb-tag-tab.is-active.is-done {
  background: rgba(34,197,94,0.10);
  border-color: rgba(34,197,94,0.55);
  color: #22C55E;
}
.ct-sb-tag-tab-num {
  font: 800 10px ui-monospace, monospace;
  color: #5C6B82;
  background: rgba(255,255,255,0.04);
  padding: 2px 6px; border-radius: 3px;
}
.ct-sb-tag-tab.is-done .ct-sb-tag-tab-num { color: #22C55E; background: rgba(34,197,94,0.14); }
.ct-sb-tag-tab.is-active .ct-sb-tag-tab-num { color: #FCD34D; background: rgba(212, 160, 23,0.14); }
.ct-sb-tag-tab-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 999px;
  background: #22C55E; color: #060810;
  font: 800 10px var(--tw-body), sans-serif;
}
.ct-sb-tag-skip {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.10);
  color: #6B7A92;
  padding: 6px 10px;
  border-radius: 8px;
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ct-sb-tag-skip:hover { color: #fff; border-color: rgba(239,68,68,0.40); background: rgba(239,68,68,0.10); }

/* Inside the modal, the BallAnalysisCard / WagonWheelCard re-uses its own
   chrome — drop its outer border so it nests cleanly. */
.ct-sb-tag-pane .bt-card {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ct-sb-tag-pane .bt-card-head { background: transparent; border-bottom-color: rgba(255,255,255,0.04); }

/* CS key — special CrestSmart button with heartbeat pulse when an event is queued */
.ct-sb-key-cs {
  background: linear-gradient(135deg, rgba(212, 160, 23,0.18), rgba(212, 160, 23,0.06));
  color: #D4A017;
  border: 1px solid rgba(212, 160, 23,0.40);
  position: relative;
  font: 800 15px var(--tw-body), sans-serif; letter-spacing: 0.10em;
}
.ct-sb-key-cs .ct-sb-cs-mark {
  background: linear-gradient(135deg, #D4A017, #D97706);
  color: #060810;
  padding: 4px 8px;
  border-radius: 5px;
  font: 900 13px var(--tw-body), sans-serif; letter-spacing: 0.08em;
}
.ct-sb-key-cs.pulsing {
  animation: ctCSPulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(212, 160, 23,0.50);
}
@keyframes ctCSPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23,0.45); border-color: rgba(212, 160, 23,0.40); }
  50%      { box-shadow: 0 0 0 10px rgba(212, 160, 23,0); border-color: rgba(212, 160, 23,0.80); }
}
.ct-sb-cs-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #EF4444;
  box-shadow: 0 0 8px rgba(239,68,68,0.7);
}

/* CrestPulse 5-tier ladder (per CREST_PULSE.md spec) */
.ct-pulse-ladder {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin: 12px 0;
}
.ct-pulse-tick {
  font: 700 8px var(--tw-body), sans-serif; letter-spacing: 0.10em;
  color: #5C6B82;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.ct-pulse-tick.on {
  color: #060810; background: #D4A017; border-color: #D4A017;
  box-shadow: 0 4px 12px -4px rgba(212, 160, 23,0.40);
}
.ct-pulse-tier.tier-warming-up { color: #5C6B82; }
.ct-pulse-tier.tier-dormant   { color: #5C6B82; }
.ct-pulse-tier.tier-waking    { color: #94A3B8; }
.ct-pulse-tier.tier-alive     { color: #4ADE80; }
.ct-pulse-tier.tier-roaring   { color: #FCD34D; }
.ct-pulse-tier.tier-unleashed { color: #D4A017; }
.ct-pulse-warming {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.ct-pulse-warming span {
  width: 6px; height: 6px; border-radius: 999px;
  background: #5C6B82; opacity: 0.55;
}

/* CrestSmart carousel */
.ct-smart-stage {
  min-height: 220px;
  display: flex; align-items: stretch;
}
.ct-smart-card {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.ct-smart-card-eye {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #D4A017;
}
.ct-smart-2col {
  display: grid; grid-template-columns: auto 1fr;
  gap: 16px; align-items: center;
}
.ct-smart-avatar {
  width: 56px; height: 56px; border-radius: 999px;
  background: linear-gradient(135deg, #1E3A5F, #0B1424);
  color: #93C5FD;
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 18px var(--tw-body), sans-serif;
  border: 2px solid #D4A017;
}
.ct-smart-avatar.bowl {
  background: linear-gradient(135deg, #14532D, #052e16);
  color: #4ADE80;
}
.ct-smart-pager {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
  gap: 16px;
}
.ct-smart-pager-btn {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 999px;
  font-size: 16px; line-height: 1;
  cursor: pointer;
}
.ct-smart-pager-btn:hover { background: rgba(255,255,255,0.08); border-color: #D4A017; }
.ct-smart-pager-dots { display: flex; gap: 6px; }
.ct-smart-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.20);
}
.ct-smart-dot.on { background: #D4A017; width: 18px; border-radius: 3px; }

/* Toast — tiny tap-rejected nudge */
.ct-sb-toast {
  position: absolute;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  background: rgba(2,4,10,0.92);
  border: 1px solid rgba(212, 160, 23,0.35);
  color: #fff;
  font: 600 13px var(--tw-body), sans-serif;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.5);
  animation: ctToast 1.8s ease-out forwards;
  z-index: 230;
  pointer-events: none;
}
@keyframes ctToast {
  0%   { opacity: 0; transform: translate(-50%, 8px); }
  15%  { opacity: 1; transform: translate(-50%, 0); }
  85%  { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -4px); }
}

/* ── Coach overlay ───────────────────────────────────────────────────────── */

.ct-coach {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 250;
}
.ct-coach-mask { position: absolute; inset: 0; }
.ct-coach-vignette {
  position: absolute; inset: 0;
  pointer-events: none;
}
.ct-coach-ring {
  position: absolute;
  border: 2px solid #D4A017;
  border-radius: 14px;
  box-shadow: 0 0 0 4px rgba(212, 160, 23,0.18), 0 0 30px rgba(212, 160, 23,0.4);
  pointer-events: none;
  animation: ctRingPulse 1.6s ease-in-out infinite;
}
@keyframes ctRingPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(212, 160, 23,0.18), 0 0 30px rgba(212, 160, 23,0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(212, 160, 23,0.10), 0 0 40px rgba(212, 160, 23,0.6); }
}
.ct-coach-finger {
  position: absolute;
  width: 22px; height: 22px;
  animation: ctFingerBob 1.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctFingerBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.ct-coach-tip {
  position: fixed;
  background: #0c1019;
  border: 1px solid rgba(212, 160, 23,0.35);
  border-radius: 12px;
  padding: 12px 16px;
  max-width: 320px;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.7), 0 0 0 1px rgba(212, 160, 23,0.10);
  pointer-events: auto;
  z-index: 260;
}
.ct-tip-top    { transform: translate(-50%, -100%); }
.ct-tip-bottom { transform: translate(-50%, 0); }
.ct-tip-left   { transform: translate(-100%, -50%); }
.ct-tip-right  { transform: translate(0, -50%); }

.ct-tip-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ct-tip-step {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #D4A017;
}
.ct-tip-skip {
  background: transparent; border: 0; color: #5C6B82;
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  cursor: pointer;
}
.ct-tip-skip:hover { color: #fff; }
.ct-tip-body {
  font-size: 14px; font-weight: 600; line-height: 1.4;
  color: #fff;
}
.ct-tip-sub {
  font-size: 12px; color: #94A3B8; line-height: 1.4;
  margin-top: 6px;
}

/* ── Modals ──────────────────────────────────────────────────────────────── */

.ct-modal-back {
  position: fixed; inset: 0;
  background: rgba(2, 4, 10, 0.65);
  display: flex; align-items: center; justify-content: center;
  z-index: 220;
  backdrop-filter: blur(8px);
  padding: 24px;
}
.ct-modal {
  background: #0c1019;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  max-width: 480px; width: 100%;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7);
  overflow: hidden;
  position: relative;
}
.ct-modal::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #D4A017 30%, #D4A017 70%, transparent);
}
.ct-modal-head { padding: 20px 24px 8px; }
.ct-modal-eye {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #D4A017;
  margin-bottom: 4px;
}
.ct-modal-title {
  font: 700 22px var(--tw-body), sans-serif;
  letter-spacing: -0.5px;
}
.ct-modal-body { padding: 16px 24px 20px; }
.ct-modal-foot {
  padding: 14px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: flex-end;
}
.ct-modal-cta {
  background: #D4A017;
  color: #060810; border: 0;
  padding: 11px 22px;
  border-radius: 8px;
  font: 800 11px var(--tw-body), sans-serif; letter-spacing: 0.16em;
  cursor: pointer;
  box-shadow: 0 12px 24px -10px rgba(212, 160, 23,0.5);
}

/* Pulse modal */
.ct-pulse-grid { display: grid; grid-template-columns: 80px 1fr; gap: 20px; }
.ct-pulse-bar {
  position: relative;
  width: 24px; height: 220px;
  background: #060810; border-radius: 999px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  justify-self: center;
}
.ct-pulse-fill {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, #D4A017 0%, #EF4444 50%, #3B82F6 100%);
  transition: height 0.5s ease;
}
.ct-pulse-marks {
  position: absolute; right: 32px; top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  font: 600 8px var(--tw-body), sans-serif; letter-spacing: 0.12em;
  color: #5C6B82;
}
.ct-pulse-info { padding-left: 20px; }
.ct-pulse-name { font: 800 18px var(--tw-body), sans-serif; letter-spacing: 0.02em; }
.ct-pulse-tier {
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #D4A017;
  margin: 4px 0 12px;
}
.ct-pulse-tag {
  font-size: 13px; font-style: italic; color: #CBD5E1; line-height: 1.5;
  margin-bottom: 14px;
}
.ct-pulse-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ct-pulse-stats > div {
  background: rgba(255,255,255,0.03); border-radius: 8px; padding: 8px 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.ct-pulse-stats span { font: 700 9px var(--tw-body), sans-serif; letter-spacing: 0.14em; color: #5C6B82; }
.ct-pulse-stats b { font-size: 16px; }

/* Smart modal */
.ct-smart-eye { font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.16em; color: #D4A017; margin-bottom: 12px; }
.ct-smart-hero {
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}
.ct-smart-big { font: 900 48px var(--tw-body), sans-serif; letter-spacing: -2px; color: #D4A017; line-height: 1; }
.ct-smart-sub { font-size: 13px; color: #94A3B8; }
.ct-smart-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ct-smart-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
}
.ct-smart-row span { color: #94A3B8; }
.ct-smart-row b { font-weight: 700; }
.ct-smart-note {
  font-size: 11px; color: #5C6B82; line-height: 1.5;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Bowler modal */
.ct-bowler-list { display: flex; flex-direction: column; gap: 6px; }
.ct-bowler-row {
  display: grid; grid-template-columns: 32px 1fr auto;
  align-items: center; gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  color: #fff;
  font: 600 13px var(--tw-body), sans-serif;
  text-align: left;
}
.ct-bowler-row:hover:not(:disabled) {
  border-color: #D4A017;
  background: rgba(212, 160, 23,0.08);
}
.ct-bowler-row:disabled { opacity: 0.4; cursor: not-allowed; }
.ct-bowler-mark {
  width: 32px; height: 32px; border-radius: 999px;
  background: linear-gradient(135deg, #5C3A1F, #2C1F0E);
  color: #FCD34D;
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 12px var(--tw-body), sans-serif;
}
.ct-bowler-stats { font-size: 11px; color: #94A3B8; font-weight: 600; }
.ct-bowler-stats i { color: #5C6B82; font-style: normal; }

/* Wicket modal */
.ct-wicket-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ct-wicket-tile {
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.20);
  color: #fff; border-radius: 10px;
  padding: 18px 12px;
  cursor: pointer;
  font: 700 12px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  text-align: center;
}
.ct-wicket-tile:hover { background: rgba(239,68,68,0.18); border-color: #EF4444; }

/* Extras modal — Wd / Nb / B / Lb additional-runs picker */
.ct-extras { display: flex; flex-direction: column; gap: 16px; }
.ct-extras-body { font-size: 13px; color: #94A3B8; line-height: 1.5; }
.ct-extras-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.ct-extras-tile {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  padding: 14px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-family: var(--tw-body), sans-serif;
  transition: all 0.15s ease;
}
.ct-extras-tile:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.25); }

.ct-extras-tile-gold { background: rgba(212, 160, 23,0.08); border-color: rgba(212, 160, 23,0.30); }
.ct-extras-tile-gold:hover { background: rgba(212, 160, 23,0.18); border-color: #D4A017; box-shadow: 0 8px 20px -8px rgba(212, 160, 23,0.40); }
.ct-extras-tile-blue { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.30); }
.ct-extras-tile-blue:hover { background: rgba(59,130,246,0.18); border-color: #3B82F6; box-shadow: 0 8px 20px -8px rgba(59,130,246,0.40); }

.ct-extras-signal {
  font: 800 11px var(--tw-body), sans-serif; letter-spacing: 0.10em;
  color: #D4A017;
  text-transform: uppercase;
}
.ct-extras-tile-blue .ct-extras-signal { color: #93C5FD; }
.ct-extras-plus { font: 700 11px var(--tw-body), sans-serif; color: #5C6B82; line-height: 1; }
.ct-extras-runs {
  font: 800 28px var(--tw-body), sans-serif;
  line-height: 1; letter-spacing: -1px;
  color: #fff;
}
.ct-extras-default {
  position: absolute;
  bottom: -7px; left: 50%; transform: translateX(-50%);
  font: 800 8px var(--tw-body), sans-serif; letter-spacing: 0.16em;
  background: #D4A017; color: #060810;
  padding: 2px 6px; border-radius: 3px;
  white-space: nowrap;
}
.ct-extras-tile-blue .ct-extras-default { background: #3B82F6; color: #fff; }
.ct-extras-tile.is-default {
  box-shadow:
    0 0 0 1px rgba(212, 160, 23,0.35),
    0 12px 28px -10px rgba(212, 160, 23,0.45);
}
.ct-extras-tile-blue.is-default {
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.40),
    0 12px 28px -10px rgba(59,130,246,0.45);
}
.ct-extras-foot {
  font-size: 12px; color: #6B7A92;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}
.ct-extras-foot b { color: #FCD34D; font-weight: 700; }

@media (max-width: 720px) {
  .ct-extras-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Drinks modal */
.ct-drinks { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 0; }
.ct-drinks-body { font-size: 13px; color: #94A3B8; line-height: 1.5; text-align: center; }

/* ── Innings complete overlay ────────────────────────────────────────────── */

.ct-innings-done {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, #0a0e16 0%, #060810 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  animation: ctFade 0.4s ease-out;
}
@keyframes ctFade { from {opacity:0;} to {opacity:1;} }
.ct-innings-card {
  text-align: center;
  padding: 48px 64px;
  background: #0c1019;
  border: 1px solid rgba(212, 160, 23,0.25);
  border-radius: 16px;
  box-shadow: 0 40px 80px -20px rgba(212, 160, 23,0.30);
}
.ct-innings-eye {
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.24em;
  color: #D4A017; margin-bottom: 12px;
}
.ct-innings-score {
  font: 900 96px var(--tw-body), sans-serif; letter-spacing: -4px;
  line-height: 1;
  background: linear-gradient(135deg, #3B82F6, #D4A017);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ct-innings-score span { font-size: 48px; }
.ct-innings-meta { font-size: 16px; color: #CBD5E1; font-weight: 600; margin-top: 8px; }
.ct-innings-sub { font-size: 12px; color: #5C6B82; margin-top: 16px; letter-spacing: 0.12em; }

/* ── Post-match ──────────────────────────────────────────────────────────── */

.ct-postmatch {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: 20px 32px;
  gap: 12px;
  overflow: hidden;
}
.ct-pm-tabs {
  display: flex; gap: 4px;
  background: #0c1019;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 4px;
  overflow-x: auto;
}
.ct-pm-tab {
  background: transparent; border: 0; color: #94A3B8;
  padding: 9px 14px;
  border-radius: 8px;
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.15s ease;
}
.ct-pm-tab:hover { color: #fff; }
.ct-pm-tab.active { background: #D4A017; color: #060810; }
.ct-pm-tab.done { color: #4ADE80; }
.ct-pm-tick { font-size: 10px; }

.ct-pm-body {
  flex: 1; min-height: 0;
  background: #0c1019;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px;
  overflow-y: auto;
}

/* Summary */
.ct-pm-summary { display: flex; flex-direction: column; gap: 16px; }
.ct-pm-card {
  background: linear-gradient(135deg, rgba(59,130,246,0.10), rgba(212, 160, 23,0.05));
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 12px;
  padding: 16px 20px;
}
.ct-pm-eye {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #4ADE80; margin-bottom: 8px;
}
.ct-pm-result { font: 700 22px var(--tw-body), sans-serif; }
.ct-pm-result b { color: #D4A017; }
.ct-pm-meta { font-size: 12px; color: #94A3B8; margin-top: 4px; }
.ct-pm-stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.ct-pm-stat {
  background: #0a0e16; border: 1px solid rgba(255,255,255,0.06); border-radius: 10px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.ct-pm-stat span { font: 700 9px var(--tw-body), sans-serif; letter-spacing: 0.16em; color: #5C6B82; }
.ct-pm-stat b { font-size: 22px; font-weight: 900; }

.ct-pm-bat-table {
  background: #0a0e16; border: 1px solid rgba(255,255,255,0.06); border-radius: 10px;
  overflow: hidden;
}
.ct-pm-table-head {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #5C6B82;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ct-pm-table-row {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ct-pm-table-row:last-child { border: 0; }
.ct-pm-name { font-weight: 600; }
.ct-pm-how { font-size: 11px; color: #94A3B8; }
.ct-pm-r b { font-size: 15px; font-weight: 800; }

/* Viz panels */
.ct-pm-viz { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.ct-pm-viz-head {
  font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #D4A017;
}
.ct-elite-tag {
  background: rgba(212, 160, 23,0.18); color: #D4A017;
  padding: 2px 6px; border-radius: 4px;
  font: 700 9px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  margin-left: 8px;
}
.ct-pm-leg {
  display: flex; gap: 16px; font-size: 11px; color: #94A3B8;
  flex-wrap: wrap;
}
.ct-pm-leg span { display: inline-flex; align-items: center; gap: 6px; }
.ct-pm-leg i { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.ct-pulse-tier-tag {
  background: rgba(212, 160, 23,0.15); color: #FCD34D;
  padding: 2px 8px; border-radius: 4px;
  font: 700 9px var(--tw-body), sans-serif; letter-spacing: 0.14em;
}

.ct-hawkeye {
  position: relative;
  width: 220px; height: 280px;
  border-radius: 110px / 30px;
  background: radial-gradient(ellipse at center, #14532D 0%, #052e16 80%);
  border: 2px solid rgba(255,255,255,0.10);
  margin: 0 auto;
}
/* Same turf texture the V3 PitchMap / Hawk-Eye panels paint
   (assets/stats/real_pitch_topdown.png), not a flat tan fill. */
.ct-hawkeye .ct-pitch {
  position: absolute; left: 50%; top: 50%;
  width: 26px; height: 140px;
  transform: translate(-50%, -50%);
  background: #C9A55A url('assets/screens/pitch-texture.jpg') center / cover no-repeat;
  border-radius: 4px;
  opacity: 0.95;
}
.ct-he-dot {
  position: absolute; width: 8px; height: 8px; border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px currentColor;
}
.ct-he-d { background: #475569; }
.ct-he-4 { background: #3B82F6; color: #3B82F6; }
.ct-he-6 { background: #D4A017; color: #D4A017; width: 10px; height: 10px; }
.ct-he-w { background: #EF4444; color: #EF4444; width: 10px; height: 10px; }

.ct-wagon-large {
  position: relative;
  width: 300px; height: 300px;
  margin: 0 auto;
}
/* Grass + sector lines come from the V3 app asset (field_wagon_wheel.jpg), so
   the post-match wheel matches the tagging wheel and the real product. The
   dark wash keeps the coloured tracers readable over the turf. */
.ct-wagon-ring {
  position: absolute; inset: 0;
  border: 2px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background:
    linear-gradient(rgba(6,8,16,0.38), rgba(6,8,16,0.38)),
    url('assets/screens/field-wagon-wheel.jpg') center / cover no-repeat;
}
/* The asset draws its own pitch strip. */
.ct-wagon-pitch { display: none; }
.ct-wagon-line {
  position: absolute;
  left: 150px; top: 150px;
  width: var(--len); height: 2px;
  background: linear-gradient(90deg, transparent, var(--c));
  transform-origin: 0 50%;
  transform: rotate(var(--ang));
  opacity: 0.8;
}
.ct-wagon-line::after {
  content: ''; position: absolute; right: -2px; top: 50%;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--c);
  transform: translateY(-50%);
  box-shadow: 0 0 8px var(--c);
}

.ct-pulse-chart { width: 100%; max-width: 600px; height: 200px; }
.ct-pm-pred { display: flex; flex-direction: column; gap: 8px; max-width: 600px; }
.ct-pm-pred-row { display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; gap: 12px; }
.ct-pm-pred-team { font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.14em; }
.ct-pm-pred-bar { height: 8px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.ct-pm-pred-bar > div { height: 100%; transition: width 0.4s; }
.ct-pm-pred-row b { text-align: right; font-weight: 800; font-size: 14px; }

/* Report */
.ct-pm-report { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ct-pm-report-doc {
  width: 100%; max-width: 380px;
  background: #f0f1f3;
  color: #1F293A;
  padding: 24px 28px;
  border-radius: 6px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6);
  aspect-ratio: 1 / 1.414;
}
.ct-pm-report-head {
  display: flex; justify-content: space-between;
  font: 700 9px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  color: #3B82F6;
  padding-bottom: 8px; margin-bottom: 12px;
  border-bottom: 2px solid #3B82F6;
}
.ct-pm-report-title { font: 800 16px var(--tw-body), sans-serif; margin-bottom: 14px; }
.ct-pm-report-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: #1F293A; color: #fff;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 16px;
}
.ct-pm-report-stats > div { display: flex; flex-direction: column; }
.ct-pm-report-stats span { font: 700 8px var(--tw-body), sans-serif; letter-spacing: 0.14em; color: #94A3B8; }
.ct-pm-report-stats b { font-size: 16px; font-weight: 900; }
.ct-pm-report-lines { display: flex; flex-direction: column; gap: 6px; }
.ct-pm-report-line { height: 6px; background: #cbd5e1; border-radius: 3px; }
.ct-pm-report-foot {
  font: 600 8px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  color: #94A3B8;
  margin-top: 14px;
}
.ct-pm-dl {
  display: inline-flex; align-items: center; gap: 8px;
  background: #3B82F6; color: #fff; border: 0;
  padding: 10px 18px;
  border-radius: 8px;
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  cursor: pointer;
}

/* Flex cards */
.ct-pm-flex { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.ct-pm-flex-head { font: 700 10px var(--tw-body), sans-serif; letter-spacing: 0.18em; color: #D4A017; }
.ct-pm-flex-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  flex: 1; min-height: 0;
}
.ct-flex-tile {
  position: relative;
  border-radius: 10px;
  padding: 14px;
  aspect-ratio: 4 / 5;
  display: flex; flex-direction: column;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.ct-flex-tile:hover { transform: translateY(-2px); }
.ct-flex-eye {
  font: 700 8px var(--tw-body), sans-serif; letter-spacing: 0.16em;
  opacity: 0.7;
  margin-bottom: 8px;
}
.ct-flex-big { font: 900 24px var(--tw-body), sans-serif; letter-spacing: -1px; }
.ct-flex-sub { font: 700 12px var(--tw-body), sans-serif; letter-spacing: 0.06em; margin-top: 4px; }
.ct-flex-name { font: 700 16px var(--tw-body), sans-serif; margin: 4px 0; }
.ct-flex-name b { font-weight: 900; }
.ct-flex-hero { font: 900 36px var(--tw-body), sans-serif; letter-spacing: -1px; margin: 8px 0; }
.ct-flex-hero span { font-size: 14px; font-weight: 700; }
.ct-flex-score { font: 700 11px var(--tw-body), sans-serif; margin-top: 4px; opacity: 0.7; }
.ct-flex-tag {
  margin-top: auto;
  font: 700 8px var(--tw-body), sans-serif; letter-spacing: 0.16em;
  background: rgba(0,0,0,0.30);
  padding: 4px 8px; border-radius: 999px;
  display: inline-block; align-self: center;
}
.ct-flex-winner {
  background: linear-gradient(160deg, #14532D, #052e16);
  color: #fff;
  border: 1px solid rgba(34,197,94,0.30);
}
.ct-flex-potm {
  background: linear-gradient(160deg, #1F293A, #060810);
  color: #fff;
  border: 1px solid rgba(212, 160, 23,0.30);
}
.ct-flex-photo {
  width: 44px; height: 44px; border-radius: 999px;
  background: linear-gradient(135deg, #1E3A5F, #0B1424);
  color: #93C5FD;
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 14px var(--tw-body), sans-serif;
  margin: 0 auto 6px;
  border: 2px solid #D4A017;
}
.ct-flex-scorecard {
  background: #f0f1f3;
  color: #1F293A;
  border: 1px solid rgba(0,0,0,0.05);
}
.ct-flex-scorecard-rows {
  font: 700 13px var(--tw-body), sans-serif;
  display: flex; flex-direction: column; gap: 4px;
  margin: 12px 0;
}
.ct-flex-scorecard-rows b { font-weight: 900; }
.ct-flex-result {
  font-size: 9px; letter-spacing: 0.12em;
  background: #3B82F6; color: #fff;
  padding: 4px 8px; border-radius: 4px;
  margin-top: 6px;
}
.ct-flex-spell {
  background: linear-gradient(160deg, #1F4068, #0F1F35);
  color: #fff;
  border: 1px solid rgba(59,130,246,0.30);
}

.ct-pm-generate {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #D4A017, #D97706);
  color: #060810; border: 0;
  padding: 14px 24px;
  border-radius: 10px;
  font: 800 13px var(--tw-body), sans-serif; letter-spacing: 0.16em;
  cursor: pointer;
  box-shadow: 0 20px 40px -12px rgba(212, 160, 23,0.55), 0 0 0 1px rgba(212, 160, 23,0.4);
}

/* ── Certificate ─────────────────────────────────────────────────────────── */

.ct-certificate-wrap {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center;
  padding: 40px;
  gap: 20px;
  overflow-y: auto;
  position: relative;
}
.ct-confetti {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ct-confetti-piece {
  position: absolute;
  top: -10px;
  animation: ctConfetti 2.4s ease-out forwards;
  border-radius: 2px;
}
@keyframes ctConfetti {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(640px) rotate(720deg); opacity: 0; }
}

.ct-cert-title {
  text-align: center;
  margin-bottom: 4px;
}
.ct-cert-eye {
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.24em;
  color: #4ADE80;
  margin-bottom: 8px;
}
.ct-cert-title h1 {
  font: 900 38px var(--tw-body), sans-serif; letter-spacing: -1.5px;
  margin: 0;
  line-height: 1.05;
}
.ct-cert-title p {
  font-size: 14px; color: #94A3B8;
  margin: 8px 0 0;
}

.ct-cert {
  width: 100%; max-width: 720px;
  background: linear-gradient(165deg, #f7f1de 0%, #f0e6c8 100%);
  color: #1F293A;
  border-radius: 8px;
  padding: 48px 56px;
  position: relative;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7), 0 0 0 4px rgba(212, 160, 23,0.20);
  font-family: var(--tw-body), sans-serif;
}
.ct-cert::before, .ct-cert::after {
  content: ''; position: absolute; inset: 14px;
  border: 2px solid #B8924A;
  border-radius: 4px;
  pointer-events: none;
}
.ct-cert::after {
  inset: 18px;
  border: 1px solid #D4A862;
}
.ct-cert-corner {
  position: absolute; width: 38px; height: 38px;
  border: 0 solid #B8924A;
  z-index: 2;
}
.ct-cert-corner-tl { top: 14px; left: 14px; border-top-width: 4px; border-left-width: 4px; border-radius: 4px 0 0 0; }
.ct-cert-corner-tr { top: 14px; right: 14px; border-top-width: 4px; border-right-width: 4px; border-radius: 0 4px 0 0; }
.ct-cert-corner-bl { bottom: 14px; left: 14px; border-bottom-width: 4px; border-left-width: 4px; border-radius: 0 0 0 4px; }
.ct-cert-corner-br { bottom: 14px; right: 14px; border-bottom-width: 4px; border-right-width: 4px; border-radius: 0 0 4px 0; }

.ct-cert-head {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  margin-bottom: 28px;
  position: relative;
}
.ct-cert-logo {
  width: 56px; height: 56px; object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(184,146,74,0.40));
}
.ct-cert-head-text { text-align: left; }
.ct-cert-head-brand {
  font: 900 26px var(--tw-body), sans-serif; letter-spacing: 0.04em;
  color: #1F293A;
}
.ct-cert-head-sub {
  font: 700 9px var(--tw-body), sans-serif; letter-spacing: 0.24em;
  color: #B8924A;
}

.ct-cert-eye-line {
  text-align: center;
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.28em;
  color: #B8924A;
  margin-bottom: 32px;
}
.ct-cert-line-1 {
  text-align: center;
  font-size: 14px; color: #5C6B82;
  font-style: italic;
}
.ct-cert-name-wrap {
  text-align: center;
  margin: 8px 0 24px;
}
.ct-cert-name-input {
  background: transparent; border: 0; outline: none;
  font: 700 36px var(--tw-body), sans-serif;
  color: #1F293A;
  text-align: center;
  width: 100%;
  letter-spacing: 0.04em;
}
.ct-cert-name-input::placeholder { color: #B8924A; opacity: 0.5; }
.ct-cert-name-rule {
  height: 1px; background: #B8924A;
  width: 80%; margin: 4px auto 0;
}

.ct-cert-body {
  text-align: center;
  font-size: 13px; line-height: 1.7;
  color: #1F293A;
  margin-bottom: 28px;
}

.ct-cert-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(184,146,74,0.30);
  border-bottom: 1px solid rgba(184,146,74,0.30);
  margin-bottom: 28px;
}
.ct-cert-stats > div { text-align: center; }
.ct-cert-stats span {
  display: block;
  font: 700 8px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #B8924A;
  margin-bottom: 4px;
}
.ct-cert-stats b { font: 900 20px var(--tw-body), sans-serif; color: #1F293A; }

.ct-cert-foot {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.ct-cert-foot-col {
  display: flex; flex-direction: column; gap: 4px;
}
.ct-cert-foot-col:last-child { text-align: right; align-items: flex-end; }
.ct-cert-foot-lab {
  font: 700 9px var(--tw-body), sans-serif; letter-spacing: 0.18em;
  color: #B8924A;
}
.ct-cert-foot-val {
  font: 700 13px var(--tw-body), sans-serif;
  color: #1F293A;
}
.ct-cert-seal {
  position: relative;
  display: inline-flex;
  filter: drop-shadow(0 4px 12px rgba(184,146,74,0.40));
}

.ct-cert-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.ct-share {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.14em;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  color: #fff;
  transition: transform 0.15s ease;
}
.ct-share:hover { transform: translateY(-1px); }
.ct-share-x  { background: #000000; }
.ct-share-li { background: #0A66C2; }
.ct-share-wa { background: #25D366; color: #fff; }
.ct-share-dl { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.10); }

.ct-cert-after {
  display: flex; gap: 16px; align-items: center;
  margin-top: 8px;
}
.ct-cert-restart, .ct-cert-exit {
  background: transparent; border: 1px solid rgba(255,255,255,0.10);
  color: #94A3B8;
  padding: 9px 16px;
  border-radius: 999px;
  font: 700 11px var(--tw-body), sans-serif; letter-spacing: 0.12em;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.ct-cert-restart:hover, .ct-cert-exit:hover { color: #fff; border-color: #fff; }

/* ── Pitch (intel reuse) ─────────────────────────────────────────────────── */
.ct-pitch { /* used by hawkeye */ }

/* ── Print: hide everything except the certificate ───────────────────────── */
@media print {
  body * { visibility: hidden !important; }
  .ct-cert, .ct-cert * { visibility: visible !important; }
  .ct-cert {
    position: absolute; left: 0; top: 0;
    width: 100%; box-shadow: none !important;
  }
}

/* ── Responsive squeeze ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ct-rail { width: 64px; flex: 0 0 64px; padding: 16px 8px; }
  .ct-rail-brand span, .ct-rail-step .ct-rail-label, .ct-rail-exit { display: none; }
  .ct-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .ct-intro-title { font-size: 36px; }
  .ct-squads-grid { grid-template-columns: 1fr; }
  .ct-pm-flex-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-pm-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-cert-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile portrait — stop the fixed paddings + 96px score from overflowing
   the ~326px phone stage (rail-collapsed). ───────────────────────────────── */
@media (max-width: 600px) {
  .ct-innings-card { padding: 22px 16px; }
  .ct-innings-score { font-size: clamp(48px, 17vw, 96px); }
  .ct-innings-score span { font-size: 0.5em; }
  .ct-setup, .ct-squads { padding: 18px 14px; }
  .ct-intro { padding: 24px 16px; }
  .ct-rail { width: 56px; flex: 0 0 56px; padding: 14px 6px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Certification-drill mobile-portrait fixes (appended last → win the cascade).
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  /* Live scoring: stack the checklist HUD below the scorebook + let the screen
     scroll, instead of the fixed 320px rail crushing the board to ~14px. */
  .ct-sb { height: 100%; overflow-y: auto; }
  .ct-sb-grid { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; }
  .ct-sb-main { border-right: 0; border-bottom: 1px solid #1F293A; }
  .ct-checklist { overflow: visible; }
  .ct-sb-keypad { gap: 4px; }
  .ct-sb-key { min-height: 46px; padding: 12px 0; }
  /* Tag-delivery modal header: wrap so the tabs drop below the eyebrow. */
  .ct-sb-tag-head { flex-wrap: wrap; gap: 10px; }
  .ct-sb-tag-tabs { margin-left: 0; width: 100%; }
  .ct-sb-tag-tab { flex: 1; }
}

@media (max-width: 600px) {
  /* Certificate — had no mobile handling; was overflowing horizontally. */
  .ct-certificate-wrap { padding: 18px 12px; }
  .ct-cert { padding: 26px 18px; }
  .ct-cert-title h1 { font-size: clamp(24px, 8vw, 32px); letter-spacing: -0.5px; }
  .ct-cert-name-input { font-size: clamp(22px, 8vw, 34px); }
  .ct-cert-body { font-size: 12.5px; }
  .ct-cert-body br { display: none; }              /* let the body reflow */
  .ct-cert-foot { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .ct-cert-foot-col:last-child { text-align: center; align-items: center; }

  /* Setup / squads forms — collapse the 2-up rows + segmented control. */
  .ct-setup-card, .ct-squads-card { padding: 18px 16px; }
  .ct-field-row { grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; }
  .ct-field-lab { white-space: normal; }
  .ct-seg { flex-wrap: wrap; }
  .ct-seg > * { flex: 1 1 auto; }
  .ct-stage-title-sm { white-space: normal; font-size: 19px; }
  .ct-setup-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .ct-setup-foot .ct-stage-cta { width: 100%; justify-content: center; }

  /* Rail — restore a reachable Exit as an icon-only ✕, and fit the step dot. */
  .ct-rail-exit {
    display: flex; align-items: center; justify-content: center;
    font-size: 0; padding: 10px 0; margin-top: 14px;
  }
  .ct-rail-exit::before { content: '✕'; font-size: 15px; letter-spacing: 0; }
  .ct-rail-step { padding: 10px 6px; }
}

/* ── Editorial-keynote reskin: display font (Saira Condensed) on drill titles,
   to match the main tour. Body/labels stay Inter. ─────────────────────────── */
.ct-intro-title,
.ct-stage-title,
.ct-cert-title h1,
.ct-flex-big,
.ct-flex-winner,
.ct-flex-result,
.ct-smart-big,
.ct-modal-title,
.ct-squad-num,
.ct-pm-result {
  font-family: var(--tw-display), sans-serif;
}
