#homeV2PageBody {
  --home-v2-primary: #1769e0;
  --home-v2-primary-soft: #edf5ff;
  --home-v2-text: #0f172a;
  --home-v2-muted: #526078;
  --home-v2-border: #d9e0ea;
  --home-v2-surface: #ffffff;
  --home-v2-surface-soft: #f7f9fc;
  --home-v2-success: #16803c;
  --home-v2-warning: #b85e00;
  --home-v2-danger: #c52c38;
  --home-v2-radius: 18px;
  --home-v2-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  background: #f6f8fc;
  color: var(--home-v2-text);
  overflow-x: hidden;
}

#homeV2PageBody #appCapsule {
  min-height: 100dvh;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  background: #f6f8fc;
  overflow-x: clip;
}

#homeV2PageBody .home-v2-shell {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 0 16px 24px;
}

#homeV2PageBody .home-v2-header {
  min-width: 0;
  margin-bottom: 24px;
}

#homeV2PageBody .home-v2-topbar {
  min-width: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#homeV2PageBody .home-v2-identity { min-width: 0; }

#homeV2PageBody .home-v2-logo {
  width: 168px;
  height: 30px;
  display: block;
  object-fit: cover;
  object-position: left center;
  margin: 0;
}

#homeV2PageBody .home-v2-greeting {
  margin: 0;
  color: var(--home-v2-text);
  font-size: clamp(1.65rem, 7vw, 2.1rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}

#homeV2PageBody .home-v2-identity p {
  margin: 6px 0 0;
  color: var(--home-v2-muted);
  font-size: 1rem;
  line-height: 1.4;
}

#homeV2PageBody .home-v2-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-top: 4px;
}

#homeV2PageBody .home-v2-icon-button,
#homeV2PageBody .home-v2-avatar-link {
  position: relative;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--home-v2-text);
  text-decoration: none;
  touch-action: manipulation;
  transition: background-color 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

#homeV2PageBody .home-v2-icon-button { background: var(--home-v2-surface-soft); }
#homeV2PageBody button.home-v2-icon-button { padding: 0; border: 0; }
#homeV2PageBody .home-v2-icon-button ion-icon { font-size: 27px; }

#homeV2PageBody .home-v2-avatar-link {
  border: 2px solid var(--home-v2-primary);
  overflow: hidden;
  background: var(--home-v2-surface-soft);
}

#homeV2PageBody .home-v2-avatar-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#homeV2PageBody .home-v2-notification-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--home-v2-danger);
  color: #ffffff;
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1;
}

#homeV2PageBody .home-v2-context {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 140px;
  padding: 16px;
  border: 1px solid var(--home-v2-border);
  border-radius: var(--home-v2-radius);
  display: grid;
  grid-template-columns: minmax(76px, max-content) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  background: var(--home-v2-surface);
  color: var(--home-v2-text);
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.025);
  touch-action: manipulation;
}

#homeV2PageBody .home-v2-trial-countdown {
  min-height: 52px;
  margin-top: 18px;
  margin-bottom: 28px;
  padding: 10px 14px;
  border-radius: 14px;
  display: none;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(135deg, #0d2b62 0%, #1454c6 58%, #1e74fd 100%);
  font-size: .82rem;
}
#homeV2PageBody .home-v2-trial-countdown.is-visible { display: flex; }
#homeV2PageBody .home-v2-trial-countdown-icon { flex: 0 0 auto; font-size: 23px; }
#homeV2PageBody .home-v2-trial-countdown span { min-width: 0; flex: 1 1 auto; line-height: 1.35; }
#homeV2PageBody .home-v2-trial-countdown strong { font-weight: 850; }
#homeV2PageBody .home-v2-trial-countdown > a { flex: 0 0 auto; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }

#homeV2PageBody .home-v2-context-icon,
#homeV2PageBody .home-v2-shortcut-icon,
#homeV2PageBody .home-v2-coach-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-v2-primary);
  background: var(--home-v2-primary-soft);
}

#homeV2PageBody .home-v2-context-icon {
  display: none;
  width: 56px;
  height: 56px;
  justify-self: center;
  border-radius: 50%;
}

#homeV2PageBody .home-v2-context-icon ion-icon { font-size: 30px; }
#homeV2PageBody .home-v2-context-copy { min-width: 0; display: flex; flex-direction: column; align-items: stretch; }

#homeV2PageBody .home-v2-context-copy > strong,
#homeV2PageBody .home-v2-context-copy > span {
  display: block;
  overflow-wrap: anywhere;
}

#homeV2PageBody .home-v2-context-league {
  color: var(--home-v2-text);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
}

#homeV2PageBody .home-v2-context-season {
  margin-top: 3px;
  color: var(--home-v2-muted);
  font-size: .8rem;
  line-height: 1.4;
}

#homeV2PageBody .home-v2-context-division {
  margin-top: 8px;
  color: var(--home-v2-text);
  font-size: .84rem;
  line-height: 1.4;
  font-weight: 600;
}

#homeV2PageBody .home-v2-context-standing {
  min-width: 0;
  min-height: 92px;
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  background: var(--home-v2-primary-soft);
}

#homeV2PageBody .home-v2-context-rank-label {
  color: var(--home-v2-muted);
  font-size: .75rem;
  line-height: 1.3;
  text-align: center;
  font-weight: 600;
}

#homeV2PageBody .home-v2-context-rank {
  color: var(--home-v2-primary);
  white-space: nowrap;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

#homeV2PageBody .home-v2-context-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#homeV2PageBody .home-v2-context-actions > a {
  flex: 1 1 120px;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--home-v2-border);
  border-radius: 10px;
  color: var(--home-v2-muted);
  background: var(--home-v2-surface);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}
#homeV2PageBody .home-v2-context-actions > .home-v2-context-ranking {
  border-color: transparent;
  color: var(--home-v2-primary);
  background: var(--home-v2-primary-soft);
}
#homeV2PageBody .home-v2-context-actions > a:hover { border-color: var(--home-v2-primary); color: var(--home-v2-primary); }
#homeV2PageBody .home-v2-context-actions > a:focus-visible {
  /* Override MobileKit's global outline reset only for these actions. */
  outline: 3px solid var(--home-v2-primary) !important;
  outline-offset: 3px;
}
#homeV2PageBody .home-v2-context-actions > a:active { opacity: .72; }
#homeV2PageBody .home-v2-context-actions ion-icon { flex: 0 0 auto; font-size: 16px; }
#homeV2PageBody .home-v2-context.is-empty .home-v2-context-standing,
#homeV2PageBody .home-v2-context.is-empty .home-v2-context-season,
#homeV2PageBody .home-v2-context.is-empty .home-v2-context-season-summary { display: none; }
#homeV2PageBody .home-v2-context.is-empty .home-v2-context-icon { display: inline-flex; }
#homeV2PageBody .home-v2-context.is-empty .home-v2-context-division { color: var(--home-v2-muted); font-weight: 400; }

#homeV2PageBody .home-v2-context:not(.is-empty) {
  border-color: rgba(240, 194, 96, .66);
  background: linear-gradient(135deg, #0f3559 0%, #163f5c 54%, #102f4d 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 53, 89, .16);
}

#homeV2PageBody .home-v2-context:not(.is-empty)::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -168px;
  right: -32px;
  width: 236px;
  height: 236px;
  border: 2px solid rgba(244, 201, 111, .7);
  border-radius: 50%;
  pointer-events: none;
}

#homeV2PageBody .home-v2-context:not(.is-empty)::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -32px;
  bottom: -56px;
  width: 150px;
  height: 150px;
  border: 24px solid rgba(255, 255, 255, .035);
  border-radius: 36px;
  transform: rotate(34deg);
  pointer-events: none;
}

#homeV2PageBody .home-v2-context > * { position: relative; z-index: 1; }
#homeV2PageBody .home-v2-context:not(.is-empty) .home-v2-context-standing {
  border: 2px solid rgba(244, 201, 111, .9);
  background: rgba(5, 24, 43, .2);
}
#homeV2PageBody .home-v2-context:not(.is-empty) .home-v2-context-rank-label,
#homeV2PageBody .home-v2-context:not(.is-empty) .home-v2-context-season { color: rgba(255, 255, 255, .76); }
#homeV2PageBody .home-v2-context:not(.is-empty) .home-v2-context-rank { color: #ffffff; }
#homeV2PageBody .home-v2-context:not(.is-empty) .home-v2-context-league { color: #ffffff; }
#homeV2PageBody .home-v2-context:not(.is-empty) .home-v2-context-division {
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(244, 201, 111, .45);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, .07);
}
#homeV2PageBody .home-v2-context:not(.is-empty) .home-v2-context-actions > a {
  border-color: rgba(255, 255, 255, .22);
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
}
#homeV2PageBody .home-v2-context:not(.is-empty) .home-v2-context-actions > .home-v2-context-ranking {
  border-color: rgba(244, 201, 111, .7);
  background: rgba(244, 201, 111, .12);
}
#homeV2PageBody .home-v2-context:not(.is-empty) .home-v2-context-actions > a:hover {
  border-color: #f4c96f;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
}

#homeV2PageBody .home-v2-context-season-summary {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

#homeV2PageBody .home-v2-context-season-title {
  display: block;
  margin-bottom: 5px;
  color: #f4c96f;
  font-size: .72rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#homeV2PageBody .home-v2-context .home-v2-metrics {
  min-height: 72px;
  padding: 4px 0 0;
  border: 0;
  border-radius: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: transparent;
}

#homeV2PageBody .home-v2-context .home-v2-metrics > div + div { border-left-color: rgba(255, 255, 255, .18); }
#homeV2PageBody .home-v2-context .home-v2-metrics strong { color: #ffffff; }
#homeV2PageBody .home-v2-context .home-v2-metrics span { color: rgba(255, 255, 255, .78); }

#homeV2PageBody .home-v2-draw-alert {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px 12px;
}

#homeV2PageBody .home-v2-draw-alert.is-warning {
  border-color: #f4c56a;
  background: #fff8e8;
  color: #7a3e00;
}

#homeV2PageBody .home-v2-draw-alert.is-suspended {
  border-color: #efadb3;
  background: #fff1f2;
  color: #8d1d29;
}

#homeV2PageBody .home-v2-draw-alert-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .72);
}

#homeV2PageBody .home-v2-draw-alert-icon ion-icon { font-size: 24px; }
#homeV2PageBody .home-v2-draw-alert-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#homeV2PageBody .home-v2-draw-alert-copy strong { font-size: .94rem; line-height: 1.25; font-weight: 850; }
#homeV2PageBody .home-v2-draw-alert-copy > span { font-size: .8rem; line-height: 1.45; }

#homeV2PageBody .home-v2-draw-alert > a {
  grid-column: 2;
  min-height: 44px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: currentColor;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

#homeV2PageBody .home-v2-draw-alert > a ion-icon { font-size: 17px; }
#homeV2PageBody .home-v2-draw-alert > a:focus-visible { outline: 3px solid rgba(23, 105, 224, .28); outline-offset: 2px; }

#homeV2PageBody .home-v2-onboarding {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--home-v2-primary) 34%, white);
  border-radius: var(--home-v2-radius);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: var(--home-v2-primary-soft);
}

#homeV2PageBody .home-v2-onboarding.d-none { display: none; }
#homeV2PageBody .home-v2-onboarding-icon,
#homeV2PageBody .home-v2-featured-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-v2-primary);
  background: var(--home-v2-surface);
  font-size: 27px;
}

#homeV2PageBody .home-v2-onboarding-copy { min-width: 0; }
#homeV2PageBody .home-v2-eyebrow { color: var(--home-v2-primary); font-size: .69rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
#homeV2PageBody .home-v2-onboarding h2 { margin: 3px 0 4px; color: var(--home-v2-text); font-size: 1.08rem; font-weight: 850; }
#homeV2PageBody .home-v2-onboarding p { margin: 0; color: var(--home-v2-muted); font-size: .83rem; line-height: 1.4; }
#homeV2PageBody .home-v2-onboarding > a {
  min-height: 46px;
  padding: 0 15px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  background: var(--home-v2-primary);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

#homeV2PageBody .home-v2-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#homeV2PageBody .home-v2-section-heading .home-v2-section-title { margin-bottom: 12px; }
#homeV2PageBody .home-v2-section-heading > a { min-height: 44px; display: inline-flex; align-items: center; color: var(--home-v2-primary); font-size: .82rem; font-weight: 750; text-decoration: none; }
#homeV2PageBody .home-v2-featured-trial { margin: -7px 0 12px; color: var(--home-v2-muted); font-size: .76rem; }
#homeV2PageBody .home-v2-featured-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
#homeV2PageBody .home-v2-featured-card,
#homeV2PageBody .home-v2-featured-empty {
  min-width: 0;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--home-v2-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  color: var(--home-v2-text);
  background: var(--home-v2-surface);
  text-decoration: none;
}
#homeV2PageBody .home-v2-featured-card {
  width: 100%;
  padding: 20px;
  gap: 20px;
  border: 1px solid #204e91;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(120deg, #0d2b62, #12438c);
  box-shadow: 0 8px 20px rgba(13, 43, 98, .12);
}
#homeV2PageBody .home-v2-featured-main { min-width: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 14px; color: #fff; text-decoration: none; }
#homeV2PageBody .home-v2-featured-main:hover { color: #fff; }
#homeV2PageBody .home-v2-featured-avatar,
#homeV2PageBody .home-v2-featured-avatar img { width: 120px; height: 120px; display: block; border-radius: 16px; }
#homeV2PageBody .home-v2-featured-avatar { overflow: hidden; background: #fff; }
#homeV2PageBody .home-v2-featured-avatar img { object-fit: contain; padding: 5px; }
#homeV2PageBody .home-v2-featured-copy { min-width: 0; }
#homeV2PageBody .home-v2-featured-sport { display: inline-flex; max-width: 100%; overflow-wrap: anywhere; margin-bottom: 8px; padding: 3px 9px; border-radius: 6px; color: #e0edff; background: rgba(255,255,255,.12); font-size: .75rem; line-height: 1.4; font-weight: 650; }
#homeV2PageBody .home-v2-featured-card strong,
#homeV2PageBody .home-v2-featured-card small { display: block; overflow-wrap: anywhere; }
#homeV2PageBody .home-v2-featured-card strong { color: #fff; font-size: 1.2rem; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
#homeV2PageBody .home-v2-featured-card small { margin-top: 6px; color: #d6e4fa; font-size: .82rem; line-height: 1.5; }
#homeV2PageBody .home-v2-featured-footer { min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: flex-end; }
#homeV2PageBody .home-v2-featured-cta { width: 100%; min-height: 46px; padding: 10px 16px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #0d2b62; background: #fff; font-size: .9rem; font-weight: 800; text-decoration: none; }
#homeV2PageBody .home-v2-featured-cta ion-icon { flex: 0 0 auto; font-size: 18px; }
#homeV2PageBody .home-v2-featured-cta:hover { color: #0d2b62; background: #e7f0ff; }
#homeV2PageBody .home-v2-featured-cta:active { background: #d6e4fa; }
#homeV2PageBody .home-v2-featured-card a:focus-visible { outline: 3px solid #fff !important; outline-offset: 4px; }
#homeV2PageBody .home-v2-featured-closed { width: 100%; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); color: #d6e4fa; font-size: .82rem; line-height: 1.4; font-weight: 600; }
#homeV2PageBody .home-v2-featured-empty { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; color: var(--home-v2-primary); font-size: .82rem; font-weight: 750; }

@media (min-width: 700px) {
  #homeV2PageBody .home-v2-featured-card { display: grid; grid-template-columns: minmax(0, 1fr) 180px; padding: 24px; gap: 24px; }
  #homeV2PageBody .home-v2-featured-main { gap: 18px; }
  #homeV2PageBody .home-v2-featured-footer { align-self: center; }
  #homeV2PageBody .home-v2-featured-closed { padding-top: 0; border-top: 0; text-align: right; }
}

#homeV2PageBody .home-v2-section { margin-top: 32px; }

#homeV2PageBody .home-v2-section-title {
  margin: 0 0 12px;
  color: var(--home-v2-text);
  font-size: 1.14rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.02em;
}

#homeV2PageBody .home-v2-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#homeV2PageBody .home-v2-shortcuts > a {
  min-width: 0;
  min-height: 86px;
  padding: 14px 12px;
  border: 1px solid var(--home-v2-border);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 9px;
  background: var(--home-v2-surface);
  color: var(--home-v2-text);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

#homeV2PageBody .home-v2-shortcut-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

#homeV2PageBody .home-v2-shortcut-icon ion-icon { font-size: 25px; }
#homeV2PageBody .home-v2-shortcuts strong { font-size: 0.91rem; line-height: 1.25; font-weight: 750; }
#homeV2PageBody .home-v2-chevron { justify-self: end; color: #758196; font-size: 19px; }

@media (max-width: 479.98px) {
  #homeV2PageBody .home-v2-logo { width: 136px; height: auto; }
  #homeV2PageBody .home-v2-header-actions { gap: 6px; }
  #homeV2PageBody .home-v2-icon-button,
  #homeV2PageBody .home-v2-avatar-link { width: 44px; height: 44px; }
  #homeV2PageBody .home-v2-shortcuts > a { grid-template-columns: 42px minmax(0, 1fr); }
  #homeV2PageBody .home-v2-shortcuts .home-v2-chevron { display: none; }
}

#homeV2PageBody .home-v2-next-card {
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--home-v2-border);
  border-radius: var(--home-v2-radius);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: var(--home-v2-surface);
}

#homeV2PageBody .home-v2-next-card.is-loading { opacity: 0.68; }

#homeV2PageBody .home-v2-next-avatar,
#homeV2PageBody .home-v2-next-avatar img {
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 50%;
}

#homeV2PageBody .home-v2-next-avatar {
  padding: 2px;
  border: 2px solid var(--home-v2-warning);
  background: var(--home-v2-surface-soft);
}

#homeV2PageBody .home-v2-next-avatar img { object-fit: cover; }
#homeV2PageBody .home-v2-next-copy { min-width: 0; }

#homeV2PageBody .home-v2-next-copy > strong,
#homeV2PageBody .home-v2-next-copy > span { display: block; }

#homeV2PageBody .home-v2-next-copy > strong {
  color: var(--home-v2-text);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 800;
  overflow-wrap: anywhere;
}

#homeV2PageBody .home-v2-next-copy > span:not(.home-v2-next-status) {
  margin-top: 3px;
  color: var(--home-v2-muted);
  font-size: 0.85rem;
}

#homeV2PageBody .home-v2-next-status {
  margin-top: 5px;
  color: var(--home-v2-warning);
  font-size: 0.78rem;
  font-weight: 750;
}

#homeV2PageBody .home-v2-next-status i {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}

#homeV2PageBody .home-v2-next-action,
#homeV2PageBody .home-v2-coach-card > a {
  min-height: 48px;
  padding: 0 15px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
  touch-action: manipulation;
}

#homeV2PageBody .home-v2-next-action { background: var(--home-v2-primary); color: #ffffff; }
#homeV2PageBody .home-v2-next-action ion-icon,
#homeV2PageBody .home-v2-coach-card > a ion-icon { font-size: 18px; }

#homeV2PageBody .home-v2-next-card.is-empty {
  min-height: 72px;
  grid-template-columns: 42px minmax(0, 1fr);
  border-style: dashed;
  background: var(--home-v2-surface-soft);
}

#homeV2PageBody .home-v2-next-card.is-empty .home-v2-next-avatar {
  width: 42px;
  height: 42px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf7ef;
  color: var(--home-v2-success);
}

#homeV2PageBody .home-v2-next-card.is-empty .home-v2-next-avatar img { display: none; }
#homeV2PageBody .home-v2-next-card.is-empty .home-v2-next-avatar::before { content: "✓"; font-size: 1.25rem; font-weight: 900; }
#homeV2PageBody .home-v2-next-card.is-empty .home-v2-next-status,
#homeV2PageBody .home-v2-next-card.is-empty .home-v2-next-action { display: none; }

#homeV2PageBody .home-v2-pending-note {
  min-height: 44px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  color: var(--home-v2-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

#homeV2PageBody #homeRecentGamesSection {
  margin: 26px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#homeV2PageBody #homeRecentGamesSection .recent-games-subtitle,
#homeV2PageBody #homeRecentGamesSection .recent-games-legend { display: none; }
#homeV2PageBody #homeRecentGamesSection .recent-games-header { align-items: center; margin-bottom: 12px; }
#homeV2PageBody #homeRecentGamesSection .recent-games-title { font-size: 1.14rem; font-weight: 800; }
#homeV2PageBody #homeRecentGamesSection .recent-games-view-all { min-height: 44px; font-size: 0.86rem; }
#homeV2PageBody #homeRecentGamesSection .recent-games-nav { display: flex; gap: 6px; }
#homeV2PageBody #homeRecentGamesSection .recent-games-nav button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--home-v2-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-v2-primary);
  background: var(--home-v2-surface);
}
#homeV2PageBody #homeRecentGamesSection .recent-games-nav button:disabled { color: var(--home-v2-muted); opacity: .38; }
#homeV2PageBody #homeRecentGamesSection .recent-games-scroll-hint {
  min-height: 28px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--home-v2-muted);
  font-size: .7rem;
  font-weight: 700;
}
#homeV2PageBody #homeRecentGamesSection .recent-games-scroll-hint:not(.d-none) { display: none; }

#homeV2PageBody .home-v2-metrics {
  min-height: 98px;
  padding: 16px 8px;
  border: 1px solid var(--home-v2-border);
  border-radius: var(--home-v2-radius);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--home-v2-surface);
}

#homeV2PageBody .home-v2-metrics > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#homeV2PageBody .home-v2-metrics > div + div { border-left: 1px solid var(--home-v2-border); }

#homeV2PageBody .home-v2-metrics strong {
  color: var(--home-v2-primary);
  font-size: clamp(1.25rem, 6vw, 1.75rem);
  line-height: 1.15;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

#homeV2PageBody .home-v2-metrics span {
  margin-top: 5px;
  color: var(--home-v2-text);
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 650;
}

#homeV2PageBody .home-v2-achievements-card,
#homeV2PageBody .home-v2-coach-card {
  padding: 16px;
  border: 1px solid var(--home-v2-border);
  border-radius: var(--home-v2-radius);
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--home-v2-surface);
  color: var(--home-v2-text);
  text-decoration: none;
}

#homeV2PageBody .home-v2-coach-card {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background: linear-gradient(135deg, #0d2b62 0%, #1454c6 58%, #1e74fd 100%);
  color: #fff;
}
#homeV2PageBody .home-v2-coach-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -74px;
  bottom: -96px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255,255,255,.06), 0 0 0 44px rgba(255,255,255,.04);
  pointer-events: none;
}
#homeV2PageBody .home-v2-coach-card .home-v2-coach-icon,
#homeV2PageBody .home-v2-coach-card .home-v2-coach-copy,
#homeV2PageBody .home-v2-coach-card > a { position: relative; z-index: 1; }
#homeV2PageBody .home-v2-coach-card .home-v2-coach-icon { color: #fff; background: rgba(255,255,255,.16); }
#homeV2PageBody .home-v2-coach-card .home-v2-coach-copy h2,
#homeV2PageBody .home-v2-coach-card .home-v2-coach-copy p { color: #fff; }
#homeV2PageBody .home-v2-coach-card .home-v2-coach-copy p { opacity: .88; }
#homeV2PageBody .home-v2-coach-card > a {
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.72);
}
#homeV2PageBody .home-v2-coach-card > a:hover,
#homeV2PageBody .home-v2-coach-card > a:focus-visible { color: var(--home-v2-primary); background: #fff; }

#homeV2PageBody .home-v2-player-status {
  min-height: 78px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--home-v2-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--home-v2-text);
  background: var(--home-v2-surface-soft);
}
#homeV2PageBody .home-v2-player-status-copy,
#homeV2PageBody .home-v2-player-status-controls { min-width: 0; }
#homeV2PageBody .home-v2-player-status-copy { flex: 1 1 auto; }
#homeV2PageBody .home-v2-player-status.d-none { display: none; }
#homeV2PageBody .home-v2-player-status small {
  display: block;
  color: var(--home-v2-muted);
  font-size: .72rem;
  font-weight: 700;
}
#homeV2PageBody .home-v2-player-status-badge {
  min-height: 30px;
  margin-top: 5px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .86rem;
}
#homeV2PageBody .home-v2-player-status-badge ion-icon { font-size: 16px; }
#homeV2PageBody .home-v2-player-status-badge.is-active { color: #166534; background: #dcfce7; }
#homeV2PageBody .home-v2-player-status-badge.is-licensed { color: #92400e; background: #fef3c7; }
#homeV2PageBody .home-v2-player-status-badge strong { margin: 0; color: inherit; font-size: inherit; }
#homeV2PageBody .home-v2-player-status-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}
#homeV2PageBody .home-v2-player-status-select {
  min-height: 40px;
  max-width: 130px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--home-v2-border);
  border-radius: 10px;
  color: var(--home-v2-text);
  background: var(--home-v2-surface);
  font-size: .78rem;
  font-weight: 700;
}
#homeV2PageBody .home-v2-player-status-action {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--home-v2-primary);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--home-v2-primary);
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
#homeV2PageBody .home-v2-player-status-action:disabled { opacity: .6; cursor: wait; }
#homeV2PageBody .home-v2-player-status-message {
  flex: 0 0 100%;
  margin: 3px 0 0;
  color: var(--home-v2-muted);
  font-size: .72rem;
}
#homeV2PageBody .home-v2-player-status-message.is-success { color: var(--home-v2-success); }
#homeV2PageBody .home-v2-player-status-message.is-error { color: #b91c1c; }
#homeV2PageBody .home-v2-player-status.is-licensed { border-color: #f4d58a; }
#homeV2PageBody .home-v2-player-status.is-active { border-color: #b7e5c4; }
#homeV2PageBody .home-v2-player-status.d-none { display: none; }
#homeV2PageBody .home-v2-player-status small,
#homeV2PageBody .home-v2-player-status strong { display: block; }
#homeV2PageBody .home-v2-player-status strong { margin-top: 2px; color: var(--home-v2-success); font-size: .9rem; }
#homeV2PageBody .home-v2-player-status.is-licensed strong { color: var(--home-v2-warning); }
#homeV2PageBody .home-v2-player-status-action ion-icon { font-size: 17px; }
#homeV2PageBody .home-v2-player-status-action:hover,
#homeV2PageBody .home-v2-player-status-action:focus-visible { color: #fff; background: #1d4ed8; }
#homeV2PageBody .home-v2-player-status-action:focus-visible,
#homeV2PageBody .home-v2-player-status-select:focus-visible { outline: 3px solid rgba(36, 118, 255, .35); outline-offset: 2px; }

#homeV2PageBody .home-v2-achievements-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 14px;
  min-height: 122px;
  margin: 0;
  padding: 8px 12px 8px 8px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 26px;
  color: #111827;
  background:
    radial-gradient(circle at 96% 10%, rgba(96, 165, 250, .14), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #fbfdff 58%, #f3f7ff 100%);
  box-shadow: 0 12px 30px rgba(37, 99, 235, .08);
  text-decoration: none;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#homeV2PageBody .home-v2-achievements-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -52px;
  z-index: -1;
  width: 130px;
  height: 130px;
  border: 24px solid rgba(37, 99, 235, .035);
  border-radius: 50%;
}

#homeV2PageBody .home-v2-achievements-card:hover,
#homeV2PageBody .home-v2-achievements-card:focus-visible {
  color: #111827;
  border-color: rgba(37, 99, 235, .28);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, .13);
}

#homeV2PageBody .home-v2-achievements-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .24);
  outline-offset: 3px;
}

@keyframes homeV2AchievementsIconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .10), inset 0 1px 0 rgba(255, 255, 255, .8); }
  50% { box-shadow: 0 0 0 7px rgba(37, 99, 235, .055), inset 0 1px 0 rgba(255, 255, 255, .8); }
}

@keyframes homeV2AchievementsTrophyFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-3px) rotate(2deg); }
}

@keyframes homeV2AchievementsShimmer {
  0%, 68% { transform: translateX(-150%) skewX(-18deg); opacity: 0; }
  76% { opacity: .72; }
  100% { transform: translateX(260%) skewX(-18deg); opacity: 0; }
}

#homeV2PageBody .home-v2-achievements-card.is-loaded .home-v2-achievements-icon {
  animation: homeV2AchievementsIconPulse 3.8s ease-in-out infinite;
}

#homeV2PageBody .home-v2-achievements-card.is-loaded .home-v2-achievements-icon ion-icon {
  animation: homeV2AchievementsTrophyFloat 3.2s ease-in-out infinite;
}

#homeV2PageBody .home-v2-achievements-card.is-loaded .home-v2-achievements-visual::after {
  animation: homeV2AchievementsShimmer 5.2s ease-in-out infinite;
}

#homeV2PageBody .home-v2-achievements-visual {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 104px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 21px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .92), transparent 28%),
    linear-gradient(145deg, #e8f1ff 0%, #bfd6ff 100%);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .05), 0 8px 18px rgba(37, 99, 235, .12);
}

#homeV2PageBody .home-v2-achievements-visual::before {
  content: "";
  position: absolute;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(37, 99, 235, .10);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .24);
}

#homeV2PageBody .home-v2-achievements-visual::after {
  content: "";
  position: absolute;
  top: -18px;
  bottom: -18px;
  left: 0;
  width: 24px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
  pointer-events: none;
}

#homeV2PageBody .home-v2-achievements-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 19px;
  color: #2563eb;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(5px);
}

#homeV2PageBody .home-v2-achievements-icon ion-icon {
  font-size: 34px;
  filter: drop-shadow(0 4px 5px rgba(37, 99, 235, .22));
}

#homeV2PageBody .home-v2-achievements-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

#homeV2PageBody .home-v2-achievements-title {
  overflow: hidden;
  color: #111827;
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#homeV2PageBody .home-v2-achievements-summary {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 5px;
  color: #64748b;
}

#homeV2PageBody .home-v2-achievements-earned {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
}

#homeV2PageBody .home-v2-achievements-text {
  overflow: hidden;
  font-size: .79rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#homeV2PageBody .home-v2-achievements-card .home-v2-progress {
  position: relative;
  width: 100%;
  height: 6px;
  margin-top: 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ecf7;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .08);
}

#homeV2PageBody .home-v2-achievements-card .home-v2-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb 0%, #4f8cff 72%, #74a9ff 100%);
  box-shadow: 0 0 9px rgba(37, 99, 235, .32);
  transition: width .65s cubic-bezier(.22, 1, .36, 1);
}

#homeV2PageBody .home-v2-achievements-next {
  overflow: hidden;
  color: #64748b;
  font-size: .72rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#homeV2PageBody .home-v2-achievements-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #dbe7fb;
  border-radius: 50%;
  color: #2563eb;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 5px 14px rgba(37, 99, 235, .10);
  transition: transform .2s ease, background-color .2s ease;
}

#homeV2PageBody .home-v2-achievements-arrow { font-size: 1.25rem; }

#homeV2PageBody .home-v2-achievements-card:hover .home-v2-achievements-action,
#homeV2PageBody .home-v2-achievements-card:focus-visible .home-v2-achievements-action {
  background: #ffffff;
  transform: translateX(3px);
}

#homeV2PageBody .home-v2-achievements-card .placeholder {
  display: inline-block;
  height: 10px;
  border-radius: 6px;
  background-color: rgba(37, 99, 235, .13);
}

#homeV2PageBody .home-v2-achievements-card .home-v2-achievements-title .placeholder { width: 132px; }
#homeV2PageBody .home-v2-achievements-card .home-v2-achievements-earned .placeholder { width: 24px; }
#homeV2PageBody .home-v2-achievements-card .home-v2-achievements-text .placeholder { width: 110px; }
#homeV2PageBody .home-v2-achievements-card .home-v2-achievements-next .placeholder { width: 124px; }

@media (max-width: 359.98px) {
  #homeV2PageBody .home-v2-achievements-card {
    grid-template-columns: 80px minmax(0, 1fr) 30px;
    gap: 10px;
    min-height: 114px;
    padding-right: 10px;
  }

  #homeV2PageBody .home-v2-achievements-visual { min-height: 98px; }
  #homeV2PageBody .home-v2-achievements-title { font-size: .98rem; }
  #homeV2PageBody .home-v2-achievements-earned { font-size: 1.08rem; }
  #homeV2PageBody .home-v2-achievements-action { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  #homeV2PageBody .home-v2-achievements-card,
  #homeV2PageBody .home-v2-achievements-visual::after,
  #homeV2PageBody .home-v2-achievements-card .home-v2-achievements-icon,
  #homeV2PageBody .home-v2-achievements-card .home-v2-achievements-icon ion-icon,
  #homeV2PageBody .home-v2-achievements-card .home-v2-progress > span,
  #homeV2PageBody .home-v2-achievements-arrow {
    animation: none;
    transition: none;
  }
}

#homeV2PageBody .home-v2-coach-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
}

#homeV2PageBody .home-v2-coach-icon ion-icon { font-size: 28px; }

#homeV2PageBody .home-v2-progress {
  height: 8px;
  margin-top: 11px;
  border-radius: 999px;
  display: block;
  overflow: hidden;
  background: #e7ebf1;
}

#homeV2PageBody .home-v2-progress > span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--home-v2-primary);
}

#homeV2PageBody .home-v2-coach-card {
  padding: 22px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(160px, auto);
  gap: 18px;
  border-color: #abcaf5;
  border-color: color-mix(in srgb, var(--home-v2-primary) 35%, white);
}
#homeV2PageBody .home-v2-coach-copy { min-width: 0; flex: 1 1 auto; }
#homeV2PageBody .home-v2-coach-copy h2 { margin: 0; color: var(--home-v2-text); font-size: 1.28rem; line-height: 1.2; font-weight: 850; }
#homeV2PageBody .home-v2-coach-copy p { max-width: 36ch; margin: 8px 0 0; color: var(--home-v2-muted); font-size: 1rem; line-height: 1.45; overflow-wrap: anywhere; }

#homeV2PageBody .home-v2-coach-card > a {
  flex: 0 0 auto;
  min-width: 160px;
  min-height: 56px;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--home-v2-primary);
  background: #ffffff;
  color: var(--home-v2-primary);
}

#homeV2PageBody .home-v2-sponsored-label {
  margin: 28px 0 7px;
  color: var(--home-v2-muted);
  font-size: 0.75rem;
  font-weight: 650;
}

#homeV2PageBody .home-banners-section { margin: 0; }

#homeV2PageBody .home-v2-bottom-nav { padding-bottom: env(safe-area-inset-bottom); }
#homeV2PageBody .home-v2-bottom-nav .item { min-width: 0; min-height: 60px; touch-action: manipulation; }
#homeV2PageBody .home-v2-bottom-nav .item strong { font-size: 9px; }
#homeV2PageBody .home-v2-bottom-nav .item.active ion-icon,
#homeV2PageBody .home-v2-bottom-nav .item.active strong { color: var(--home-v2-primary); }

#homeV2PageBody a:focus-visible,
#homeV2PageBody button:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.42);
  outline-offset: 3px;
}

#homeV2PageBody .home-v2-shortcuts > a:hover,
#homeV2PageBody .home-v2-achievements-card:hover { border-color: var(--home-v2-primary); }

#homeV2PageBody .home-v2-icon-button:active,
#homeV2PageBody .home-v2-avatar-link:active,
#homeV2PageBody .home-v2-shortcuts > a:active,
#homeV2PageBody .home-v2-next-action:active,
#homeV2PageBody .home-v2-achievements-card:active,
#homeV2PageBody .home-v2-coach-card > a:active { opacity: 0.72; }

@media (max-width: 359.98px) {
  #homeV2PageBody .home-v2-shell { padding-right: 12px; padding-left: 12px; }
  #homeV2PageBody .home-v2-logo { width: 124px; height: auto; }
  #homeV2PageBody .home-v2-header-actions { gap: 6px; }
  #homeV2PageBody .home-v2-icon-button,
  #homeV2PageBody .home-v2-avatar-link { width: 42px; height: 42px; }
  #homeV2PageBody .home-v2-onboarding { grid-template-columns: 44px minmax(0, 1fr); }
  #homeV2PageBody .home-v2-onboarding-icon { width: 44px; height: 44px; }
  #homeV2PageBody .home-v2-onboarding > a { grid-column: 1 / -1; width: 100%; }
  #homeV2PageBody .home-v2-shortcuts > a { padding-right: 8px; padding-left: 8px; grid-template-columns: 38px minmax(0, 1fr); gap: 6px; }
  #homeV2PageBody .home-v2-shortcut-icon { width: 38px; height: 38px; }
  #homeV2PageBody .home-v2-shortcuts strong { font-size: 0.82rem; }
  #homeV2PageBody .home-v2-context { padding: 14px; gap: 10px; }
  #homeV2PageBody .home-v2-context-icon { width: 48px; height: 48px; }
  #homeV2PageBody .home-v2-next-card { grid-template-columns: 56px minmax(0, 1fr); }
  #homeV2PageBody .home-v2-next-avatar,
  #homeV2PageBody .home-v2-next-avatar img { width: 56px; height: 56px; }
  #homeV2PageBody .home-v2-next-action { grid-column: 1 / -1; width: 100%; }
  #homeV2PageBody .home-v2-metrics { padding-right: 2px; padding-left: 2px; }
  #homeV2PageBody .home-v2-metrics span { font-size: 0.66rem; }
  #homeV2PageBody .home-v2-coach-card { grid-template-columns: 52px minmax(0, 1fr); align-items: start; padding: 18px; gap: 14px; }
  #homeV2PageBody .home-v2-coach-icon { width: 52px; height: 52px; }
  #homeV2PageBody .home-v2-coach-card > a { grid-column: 1 / -1; width: 100%; min-width: 0; }
}

@media (min-width: 360px) and (max-width: 699.98px) {
  #homeV2PageBody .home-v2-coach-card { grid-template-columns: 52px minmax(0, 1fr); align-items: start; padding: 18px; gap: 14px; }
  #homeV2PageBody .home-v2-coach-icon { width: 52px; height: 52px; }
  #homeV2PageBody .home-v2-coach-card > a { grid-column: 1 / -1; width: 100%; min-width: 0; }
  #homeV2PageBody .home-v2-onboarding { grid-template-columns: 52px minmax(0, 1fr); }
  #homeV2PageBody .home-v2-onboarding > a { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 699.98px) {
  #homeV2PageBody .home-v2-next-card {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
  }
  #homeV2PageBody .home-v2-next-copy { min-width: 0; }
  #homeV2PageBody .home-v2-next-action {
    grid-column: 1 / -1;
    width: 100%;
  }
  #homeV2PageBody .home-v2-onboarding { grid-template-columns: 52px minmax(0, 1fr); align-items: start; }
  #homeV2PageBody .home-v2-onboarding-copy { min-width: 0; }
  #homeV2PageBody .home-v2-onboarding > a { grid-column: 1 / -1; width: 100%; }
  #homeV2PageBody .home-v2-player-status { align-items: flex-start; flex-wrap: wrap; }
  #homeV2PageBody .home-v2-player-status-copy,
  #homeV2PageBody .home-v2-player-status-controls { width: 100%; }
  #homeV2PageBody .home-v2-player-status-controls { justify-content: stretch; }
  #homeV2PageBody .home-v2-player-status-select,
  #homeV2PageBody .home-v2-player-status-action { flex: 1 1 0; max-width: none; }
  #homeV2PageBody .home-v2-player-status-message { margin-top: 0; }
  #homeV2PageBody #homeRecentGamesSection .recent-games-nav { display: none; }
  #homeV2PageBody #homeRecentGamesSection .recent-games-scroll-hint:not(.d-none) { display: flex; }
}

@media (min-width: 700px) {
  #homeV2PageBody #appCapsule { padding-top: max(28px, env(safe-area-inset-top)); }
  #homeV2PageBody .home-v2-shell { padding-right: 28px; padding-left: 28px; }
  #homeV2PageBody .home-v2-section { margin-top: 40px; }
  #homeV2PageBody .home-v2-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  #homeV2PageBody .home-v2-shortcuts > a { min-height: 96px; }
  #homeV2PageBody .home-v2-coach-card { grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; }
  #homeV2PageBody .home-v2-coach-copy { align-self: center; display: flex; flex-direction: column; justify-content: center; }
  #homeV2PageBody .home-v2-coach-copy p { max-width: 48ch; }
  #homeV2PageBody .home-v2-coach-card > a { align-self: center; justify-self: end; width: max-content; }
}

@media (prefers-reduced-motion: reduce) {
  #homeV2PageBody *,
  #homeV2PageBody *::before,
  #homeV2PageBody *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

#homeV2PageBody.dark-mode-active {
  --home-v2-primary: #6aa7ff;
  --home-v2-primary-soft: #14243b;
  --home-v2-text: #f5f7fb;
  --home-v2-muted: #c0cad8;
  --home-v2-border: #354156;
  --home-v2-surface: #171c26;
  --home-v2-surface-soft: #111620;
  --home-v2-success: #69d78d;
  --home-v2-warning: #ffbd66;
  --home-v2-danger: #ff7a86;
  background: #0d1119;
}

#homeV2PageBody.dark-mode-active #appCapsule { background: #0d1119; }
#homeV2PageBody.dark-mode-active .home-v2-notification-badge { border-color: #0d1119; }
#homeV2PageBody.dark-mode-active .home-v2-progress { background: #313a4b; }
#homeV2PageBody.dark-mode-active .home-v2-coach-card > a { background: transparent; }
#homeV2PageBody.dark-mode-active .home-v2-next-card.is-empty .home-v2-next-avatar { background: #173021; }
#homeV2PageBody.dark-mode-active .home-v2-draw-alert.is-warning { border-color: #70542a; background: #2b2112; color: #ffd089; }
#homeV2PageBody.dark-mode-active .home-v2-draw-alert.is-suspended { border-color: #71343c; background: #30171b; color: #ffadb5; }
#homeV2PageBody.dark-mode-active .home-v2-draw-alert-icon { background: rgba(255, 255, 255, .07); }
#homeV2PageBody.dark-mode-active #homeRecentGamesSection .recent-game-name,
#homeV2PageBody.dark-mode-active #homeRecentGamesSection .recent-games-title,
#homeV2PageBody.dark-mode-active #homeRecentGamesSection .recent-games-state strong { color: var(--home-v2-text); }
#homeV2PageBody.dark-mode-active #homeRecentGamesSection .recent-games-state { border-color: var(--home-v2-border); background: var(--home-v2-surface-soft); color: var(--home-v2-muted); }
