/* ════════════════════════════════════════════════════════════
   TEAM SELECTOR (Session 6 — Phase 2) — shown when 2+ teams
   exist on boot, or when Squad/Game-Day "Switch Team" is tapped.
   Card layout uses an .active variant for the currently active
   team, dashed cards for the bottom "Add Another / Load Existing"
   actions. The overlay element styling is inline on the markup;
   only the per-card rules live here.
   ════════════════════════════════════════════════════════════ */
#teamSelectorOverlay .ts-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: rgba(255,92,26,0.12);
}
#teamSelectorOverlay .ts-card:active { transform: scale(0.99); }
#teamSelectorOverlay .ts-card.active {
  border-color: var(--orange);
  background: rgba(255,92,26,0.04);
}

#teamSelectorOverlay .ts-initial {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,92,26,0.12);
  border: 1px solid rgba(255,92,26,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--orange);
  letter-spacing: -0.5px;
}
#teamSelectorOverlay .ts-details {
  flex: 1;
  min-width: 0;
}
#teamSelectorOverlay .ts-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#teamSelectorOverlay .ts-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#teamSelectorOverlay .ts-code {
  font-size: 10px;
  color: var(--muted);
  opacity: 0.6;
  margin-top: 2px;
  letter-spacing: 1px;
}

/* Dashed bottom cards — same height feel as team cards but
   transparent + dashed border to read as "add / restore". */
#teamSelectorOverlay .ts-dashed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: transparent;
  border: 1px dashed var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s;
  -webkit-tap-highlight-color: rgba(255,92,26,0.12);
}
#teamSelectorOverlay .ts-dashed:active { border-color: var(--orange); }
#teamSelectorOverlay .ts-dashed-plus {
  font-size: 24px;
  color: var(--muted);
  line-height: 1;
}
#teamSelectorOverlay .ts-dashed-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   WELCOME SCREEN (Session 4) — first-ever-open splash. JS shows
   it from maybeShowOnboarding() when localStorage has no team
   and ck_onboarding_complete is unset. After Get Started → hides
   and shows #howItWorksScreen. After "I already have a team
   code" → hides and shows #recoveryOverlay.

   z-index 800 per spec — nothing else overlaps in this state
   (no roleSplash/onboarding shown until welcome is dismissed).
   ════════════════════════════════════════════════════════════ */
#welcomeScreen {
  display: none;
  position: fixed; inset: 0;
  z-index: 800;
  background: #0B0B0B;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  padding-top: max(32px, env(safe-area-inset-top, 0px));
  padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
#welcomeScreen.visible,
#welcomeScreen[style*="display:flex"] { display: flex; }

#welcomeScreen .ws-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-style: italic;
  font-size: 44px; color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  text-align: center;
}
#welcomeScreen .ws-logo-accent { color: var(--orange); }

#welcomeScreen .ws-tagline {
  font-size: 13px; color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}

#welcomeScreen .ws-hero {
  font-size: 52px; line-height: 1;
  margin-bottom: 32px;
  text-align: center;
}

/* Value-prop rows — max-width so they sit nicely on tablets too. */
#welcomeScreen .ws-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  text-align: left;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}
#welcomeScreen .ws-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,92,26,0.1);
  border: 1px solid rgba(255,92,26,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
#welcomeScreen .ws-row-text { flex: 1; min-width: 0; }
#welcomeScreen .ws-row-title {
  font-size: 13px; font-weight: 700;
  color: var(--white);
}
#welcomeScreen .ws-row-sub {
  font-size: 11px; color: var(--muted);
  line-height: 1.4; margin-top: 2px;
}

/* Primary CTA — orange gradient, matches the rest of the app's
   primary buttons but fixed at the bottom of the value-prop list. */
#welcomeScreen .ws-cta {
  display: block;
  width: 100%; max-width: 420px;
  margin-top: 24px;
  background: linear-gradient(180deg, var(--orange) 0%, #E54A0F 100%);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 16px;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
}
#welcomeScreen .ws-cta:active { transform: scale(0.99); }

#welcomeScreen .ws-text-link {
  display: inline-block;
  font-size: 12px; color: var(--muted);
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 12px;
  user-select: none;
}

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS (Session 4) — three swipeable cards shown after
   welcome's "Get Started", before player entry. JS owns the
   card swap (showHiCard) + dot indicator + touch swipe.

   z-index 800 same as welcome — they're never both visible.
   ════════════════════════════════════════════════════════════ */
#howItWorksScreen {
  display: none;
  position: fixed; inset: 0;
  z-index: 800;
  background: #0B0B0B;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  padding-top: max(32px, env(safe-area-inset-top, 0px));
  padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
}
#howItWorksScreen.visible,
#howItWorksScreen[style*="display:flex"] { display: flex; }

#howItWorksScreen .hi-skip {
  position: absolute;
  top: max(16px, env(safe-area-inset-top, 0px));
  right: 16px;
  font-size: 12px; color: var(--muted);
  cursor: pointer; user-select: none;
  padding: 8px;
}

#howItWorksScreen .hi-cards {
  width: 100%; max-width: 480px;
  position: relative;
  overflow: hidden;
}

#howItWorksScreen .hi-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

#howItWorksScreen .hi-back {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer; user-select: none;
  padding: 4px 8px;
  text-decoration: none;
}
#howItWorksScreen .hi-back:hover { color: var(--orange); }

#howItWorksScreen .hi-illust {
  height: 140px;
  background: #0F0F0F;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

#howItWorksScreen .hi-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-style: italic;
  font-size: 22px; color: var(--white);
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}

#howItWorksScreen .hi-body {
  font-size: 13px; color: var(--sub);
  line-height: 1.5;
  margin: 0 0 20px;
}

#howItWorksScreen .hi-cta {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, var(--orange) 0%, #E54A0F 100%);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 15px;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: auto;
}
#howItWorksScreen .hi-cta:active { transform: scale(0.99); }

/* Dot indicator — 3 dots, JS toggles .active for the current card. */
#howItWorksScreen .hi-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
#howItWorksScreen .hi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.5;
  transition: opacity 0.15s, background 0.15s;
}
#howItWorksScreen .hi-dot.active {
  background: var(--orange);
  opacity: 1;
}

/* ════════════════════════════════════════════════════════════
   ROLE SPLASH — first-run dual-role choice. Shown on gameday.html
   when no role flag is set and no team data exists. Markup mirrors
   #onboarding (full-screen overlay, dark bg) so the boot sequence
   feels coherent.
   ════════════════════════════════════════════════════════════ */
#roleSplash {
  display: none;
  position: fixed; inset: 0;
  z-index: 10001;       /* above #onboarding (10000) */
  background: var(--dark);
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
#roleSplash.visible { display: flex; }

#roleSplash .rs-header { padding: 14px 20px 6px; }
#roleSplash .rs-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 22px;
  color: var(--white); letter-spacing: 0.5px;
}
#roleSplash .rs-logo .rs-logo-accent { color: var(--orange); }

#roleSplash .rs-body {
  flex: 1; display: flex; flex-direction: column;
  padding: 20px;
  max-width: 480px; margin: 0 auto; width: 100%;
}
#roleSplash .rs-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 30px;
  color: var(--white); letter-spacing: -0.3px;
  margin-bottom: 4px;
}
#roleSplash .rs-subtitle {
  font-size: 13px; color: var(--muted);
  margin-bottom: 28px;
}

/* Cards stack vertically on phones, comfortable thumb targets. */
#roleSplash .rs-card {
  display: flex; align-items: flex-start; gap: 14px;
  width: 100%; text-align: left;
  padding: 20px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  margin-bottom: 12px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
#roleSplash .rs-card:active {
  border-color: var(--orange);
  background: rgba(255,92,26,0.06);
  transform: scale(0.99);
}
#roleSplash .rs-card-icon {
  font-size: 32px; line-height: 1; flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,92,26,0.08);
  border: 1px solid rgba(255,92,26,0.2);
  border-radius: 12px;
}
#roleSplash .rs-card-text { flex: 1; min-width: 0; }
#roleSplash .rs-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 20px;
  color: var(--white); margin-bottom: 4px;
  letter-spacing: -0.2px;
}
#roleSplash .rs-card-desc {
  font-size: 13px; color: var(--muted); line-height: 1.4;
}

#roleSplash .rs-foot {
  font-size: 11px; color: var(--muted); text-align: center;
  margin-top: 8px;
}

/* "Already have a team?" recovery escape hatch — small text link
   that sits between the role cards and the foot note. Sets role to
   coach implicitly (only coaches save teams) and routes to the
   team-code recovery overlay. */
#roleSplash .rs-recover {
  font-size: 12px; color: var(--muted); text-align: center;
  margin-top: 16px;
  text-decoration: underline;
  cursor: pointer;
  user-select: none;
}
#roleSplash .rs-recover:active { color: var(--orange); }

/* ════════════════════════════════════════════════════════════
   RECOVERY OVERLAY (Session 3) — full-screen, 5 internal screens
   shown one-at-a-time. Replaces the old #teamCodeRecover overlay.
   z-index 10003 sits above #roleSplash (10001) and #onboarding
   (10000) so the coach can launch recovery from either surface.
   ════════════════════════════════════════════════════════════ */
#recoveryOverlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 10003;
  background: #0B0B0B;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-y: auto;
}
#recoveryOverlay.visible { display: flex; }

/* One section per step. JS toggles display via showRecStep(). */
#recoveryOverlay .rec-step {
  flex: 1;
  flex-direction: column;
  width: 100%;
}
#recoveryOverlay .rec-step[style*="display:flex"],
#recoveryOverlay .rec-step:not([style*="display:none"]) {
  display: flex;
}

#recoveryOverlay .rec-header {
  padding: 14px 20px 6px;
  display: flex; align-items: center; gap: 10px;
  min-height: 36px;
}
#recoveryOverlay .rec-back {
  background: transparent; border: none; color: var(--muted);
  font-size: 14px; cursor: pointer; padding: 4px 8px;
  font-family: inherit;
}
#recoveryOverlay .rec-back:hover { color: var(--orange); }
#recoveryOverlay .rec-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 22px;
  color: var(--white); letter-spacing: 0.5px;
  margin-left: auto;
}
#recoveryOverlay .rec-logo-accent { color: var(--orange); }

#recoveryOverlay .rec-body {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 20px;
  max-width: 480px; margin: 0 auto; width: 100%;
  box-sizing: border-box;
}
#recoveryOverlay .rec-body-centred {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Headings */
#recoveryOverlay .rec-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 24px;
  color: var(--white); margin: 0 0 6px;
}
#recoveryOverlay .rec-title-md {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 22px;
  color: var(--white); margin: 0 0 8px;
}
#recoveryOverlay .rec-centred { text-align: center; }
#recoveryOverlay .rec-subtitle {
  font-size: 12px; color: var(--muted);
  margin-bottom: 20px; line-height: 1.5;
}

/* Step 1 — code input (mirrors the old tcr-input dimensions). */
#recoveryOverlay .rec-code-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 36px;
  letter-spacing: 10px;
  color: var(--orange);
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.15s;
}
#recoveryOverlay .rec-code-input:focus { border-color: var(--orange); }
#recoveryOverlay .rec-code-input.has-error {
  border-color: var(--red);
  animation: rec-shake 0.3s ease;
}
@keyframes rec-shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}

#recoveryOverlay .rec-error,
#pinGate .rec-error {
  color: var(--red);
  font-size: 12px;
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
  min-height: 16px;
}

/* Buttons */
#recoveryOverlay .rec-primary-btn {
  display: block; width: 100%;
  margin-top: 16px;
  background: var(--mid);
  color: var(--muted);
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 16px;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: not-allowed;
  transition: background 0.15s, color 0.15s;
  -webkit-appearance: none;
}
#recoveryOverlay .rec-primary-btn:not(:disabled) {
  background: var(--orange); color: var(--white);
  cursor: pointer;
}
#recoveryOverlay .rec-primary-btn:disabled {
  background: var(--mid); color: var(--muted);
  cursor: not-allowed;
}
#recoveryOverlay .rec-secondary-btn {
  display: block; width: 100%;
  margin-top: 8px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer;
}

/* Step 1 — forgot-team-code path. Sits below the primary
   "Find My Team" button: a thin "or" divider, then a title +
   email input + secondary button. After a successful send the
   block hides and #recForgotConfirm shows the same-shape
   "Check your email" confirmation. */
#recoveryOverlay .rec-or-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
#recoveryOverlay .rec-or-divider > div {
  flex: 1; height: 1px; background: var(--border);
}
#recoveryOverlay .rec-or-divider > span {
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1px;
}
#recoveryOverlay .rec-forgot-title {
  font-size: 13px; font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
/* Section labels for the Step 1 reorder — small uppercase
   eyebrows above the email / team-code blocks. */
#recoveryOverlay .rec-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
#recoveryOverlay .rec-section-label.rec-section-primary {
  color: var(--orange);
}
#recoveryOverlay #recForgotBlock .rec-secondary-btn {
  margin-top: 0;
}
#recoveryOverlay .rec-forgot-confirm-title {
  font-size: 16px; font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
#recoveryOverlay .rec-forgot-confirm-body {
  font-size: 12px; color: var(--muted);
  line-height: 1.5;
}

/* Step 2 — confirm team */
#recoveryOverlay .rec-confirm-q {
  font-size: 13px; color: var(--muted); margin-bottom: 16px;
  text-align: center;
}
#recoveryOverlay .rec-confirm-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-style: italic;
  font-size: 36px; color: var(--orange);
  line-height: 1.1;
  margin-bottom: 8px;
  text-align: center;
}
#recoveryOverlay .rec-confirm-meta {
  font-size: 13px; color: var(--muted);
  margin-bottom: 32px;
  text-align: center;
}

/* Step 3 — verification cards */
#recoveryOverlay .rec-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 10px;
}
#recoveryOverlay .rec-card:last-child { margin-bottom: 0; }
#recoveryOverlay .rec-card-icon {
  font-size: 28px; line-height: 1;
}
#recoveryOverlay .rec-card-title {
  font-size: 15px; font-weight: 800; color: var(--white);
  margin: 8px 0 4px;
}
#recoveryOverlay .rec-card-sub {
  font-size: 12px; color: var(--muted);
  margin-bottom: 12px; line-height: 1.5;
}

#recoveryOverlay .rec-text-input {
  width: 100%; box-sizing: border-box;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.15s;
}
#recoveryOverlay .rec-text-input:focus { border-color: var(--orange); }

#recoveryOverlay .rec-card-error {
  display: none;
  color: var(--red);
  font-size: 11px;
  margin-bottom: 8px;
  line-height: 1.4;
}
#recoveryOverlay .rec-card-error.visible { display: block; }
#recoveryOverlay .rec-card-warning {
  color: var(--amber);
  font-size: 11px;
  margin: 4px 0 8px;
  line-height: 1.4;
}

#recoveryOverlay .rec-card-btn {
  display: block; width: 100%;
  margin-top: 10px;
  background: var(--mid);
  color: var(--muted);
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: not-allowed;
  -webkit-appearance: none;
  transition: background 0.15s, color 0.15s;
}
#recoveryOverlay .rec-card-btn:not(:disabled) {
  background: var(--orange); color: var(--white);
  cursor: pointer;
}

/* PIN row */
#recoveryOverlay .rec-pin-row,
#pinGate .rec-pin-row,
#setupPinModal .rec-pin-row {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 4px;
}
#recoveryOverlay .rec-pin-box,
#pinGate .rec-pin-box,
#setupPinModal .rec-pin-box {
  width: 52px; height: 60px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 900;
  text-align: center;
  color: var(--orange);
  outline: none;
  transition: border-color 0.15s, transform 0.15s;
  -webkit-appearance: none;
}
#recoveryOverlay .rec-pin-box:focus,
#pinGate .rec-pin-box:focus,
#setupPinModal .rec-pin-box:focus { border-color: var(--orange); }
#recoveryOverlay .rec-pin-box.has-error,
#pinGate .rec-pin-box.has-error,
#setupPinModal .rec-pin-box.has-error { border-color: var(--red); }
#recoveryOverlay .rec-pin-row.shake,
#pinGate .rec-pin-row.shake,
#setupPinModal .rec-pin-row.shake { animation: rec-shake 0.3s ease; }

/* Step 4 — sent confirmation */
#recoveryOverlay .rec-big-icon {
  font-size: 48px; line-height: 1;
  margin-bottom: 16px;
}
#recoveryOverlay .rec-sent-line {
  font-size: 13px; color: var(--muted);
  margin: 8px 0 4px;
}
#recoveryOverlay .rec-sent-email {
  font-size: 14px; color: var(--orange);
  font-weight: 800;
}
#recoveryOverlay .rec-sent-foot {
  font-size: 11px; color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}
#recoveryOverlay .rec-text-link {
  display: inline-block;
  font-size: 12px; color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  margin-top: 16px;
}
#recoveryOverlay .rec-text-link + .rec-text-link { margin-top: 12px; }

/* Step 5 — animated tick */
#recoveryOverlay .rec-tick {
  display: block; margin: 20px auto 0;
}
#recoveryOverlay .rec-tick-circle {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: rec-tick-draw 0.6s ease forwards;
}
#recoveryOverlay .rec-tick-check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: rec-tick-draw 0.3s 0.5s ease forwards;
}
@keyframes rec-tick-draw {
  to { stroke-dashoffset: 0; }
}
#recoveryOverlay .rec-success-team {
  font-size: 20px; color: var(--orange);
  font-weight: 800; margin-top: 8px;
}
#recoveryOverlay .rec-success-meta {
  font-size: 13px; color: var(--muted);
  margin-top: 4px;
}
