/* LOCK 20261112polish1 (Milo 11/12 P2 polish): athlete portal. Do not remove. */
/* Leaderboard: full list in the page, no short inner scroll box that cut rows at #9 */
#section-leaderboard #portalLbList { max-height: none !important; overflow: visible !important; }
/* Sign-in card notes: no one-word last lines */
body.portal-landing p { text-wrap: pretty; }
/* Overview badge strip scrolls sideways: show that it scrolls (edge fade + thin gold scrollbar + snap), and wrap long names */
.overview-ach-strip { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent 100%); scroll-snap-type: x proximity; scrollbar-width: thin !important; scrollbar-color: rgba(212, 175, 55, 0.5) transparent; padding-bottom: 8px !important; }
.overview-ach-strip::-webkit-scrollbar { display: block !important; height: 4px !important; }
.overview-ach-strip::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.5); border-radius: 4px; }
.overview-ach-strip > * { scroll-snap-align: start; }
.overview-ach-strip .overview-ach-item-name { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: break-word; text-align: center; line-height: 1.2; }
/* Your Gym: one Browse button when the empty-state card already has "Browse all gyms" */
#section-your-gym:has(#yourGymEmptyCard:not([hidden])) .portal-page-header > a[href$="gyms.html"] { display: none !important; }
/* Sign-in: invalid field outline + Ask bubble kept off the sign-in copy on phones */
.portal-landing .signin-input[aria-invalid="true"] { border-color: #E87820 !important; box-shadow: 0 0 0 2px rgba(232, 120, 32, 0.28) !important; }

/* 20261122p1: signed-in portal drawer, 820px sidebar/nav separation, progress card growth, bottom-nav clearance */
html body.dashboard-page #section-progress .progress-charts-grid .progress-hang-type-card.chart-container,
html body.dashboard-page #section-progress .progress-charts-grid .progress-best-by-type.chart-container {
  height: auto !important;
  min-height: 360px;
  overflow: visible !important;
}
.featured-other-hangs__pts {
  font-family: Rajdhani, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #e8e0c8;
  line-height: 1.1;
}
@media (max-width: 699px) {
  html body.dashboard-page .dashboard-sidebar {
    top: calc(var(--mobile-header-height, 56px) + env(safe-area-inset-top, 0px)) !important;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    height: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
  }
  html body.dashboard-page .dashboard-sidebar .sidebar-inner {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  html body.dashboard-page .dashboard-sidebar .sidebar-nav {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }
  html body.dashboard-page .dashboard-sidebar .sidebar-footer {
    flex: 0 0 auto !important;
    margin-top: auto !important;
  }
  html body.dashboard-page .dashboard-content {
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
    scroll-padding-bottom: 112px !important;
  }
  html body.dashboard-page .content-section.active {
    padding-bottom: 24px !important;
  }
}
@media (min-width: 700px) {
  html body.dashboard-page .portal-bottom-nav,
  html body.dashboard-page .portal-mobile-sticky {
    display: none !important;
  }
  html body.dashboard-page .dashboard-content {
    padding-bottom: 48px !important;
  }
}
@media (min-width: 700px) and (max-width: 1100px) {
  html body.dashboard-page .dashboard-sidebar {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }
  html body.dashboard-page .dashboard-sidebar .sidebar-inner {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  html body.dashboard-page .dashboard-sidebar .sidebar-nav {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }
  html body.dashboard-page .dashboard-sidebar .sidebar-collapse-toggle {
    display: none !important;
  }
  html body.dashboard-page .dashboard-sidebar .sidebar-brand-link {
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  html body.dashboard-page .dashboard-sidebar .sidebar-brand-logo {
    height: 30px !important;
    width: auto !important;
    max-width: 68px !important;
  }
  html body.dashboard-page .dashboard-sidebar .sidebar-brand-text {
    display: flex !important;
    min-width: 0 !important;
  }
  html body.dashboard-page .dashboard-sidebar .sidebar-brand-sub {
    font-size: 0.66rem !important;
    letter-spacing: 0.75px !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }
}
@media (max-width: 699px) {
  body.portal-landing .hero { padding: 24px 16px 56px; }
  body.portal-landing .eyebrow { margin-bottom: 10px; }
  body.portal-landing .hero h1 { margin-bottom: 10px; }
  body.portal-landing .hero-lead-intro { margin-bottom: 12px; }
  body.portal-landing .hero-lead-list { padding-right: 52px; }
  body.portal-landing .signin-card { padding: 20px 18px 18px; }
  body.portal-landing .signin-card-header { margin-bottom: 14px; }
  body.portal-landing .signin-form { gap: 11px; margin-bottom: 10px; }
  body.portal-landing .signin-first-hang { margin-top: 10px; }
  body.portal-landing .signin-fine-print { margin-top: 10px; }
  body.portal-landing #wdhcChatWidget { right: 10px !important; bottom: 10px !important; transform: scale(0.88); transform-origin: 100% 100%; }
  body.portal-landing .signin-card .signin-note, body.portal-landing .signin-card .signin-fine-print, body.portal-landing .signin-card .signin-first-hang { padding-right: 10px; }
  body.portal-landing footer.wdhc-site-footer { padding-bottom: 76px !important; }
}
@media (min-width: 700px) and (max-width: 1100px) {
  body.portal-landing .hero-dashboard-full .dashboard-preview,
  body.portal-landing .features,
  body.portal-landing .portal-faq {
    max-width: calc(100vw - 128px);
    margin-left: auto;
    margin-right: auto;
  }
}

/* 20261125oti54: hide PR Timeline share-card links when wdhc-athlete-card-off is active; style Around You tier pills */
body.wdhc-athlete-card-off #wdhcPrTimeline .prt-share:not(.prt-compare),
body.wdhc-athlete-card-off #wdhcPrTimeline .prt-month {
  display: none !important;
}
.overview-around-you__tier {
  margin-left: 6px;
  font-size: 9.5px !important;
  padding: 1px 6px !important;
  vertical-align: middle;
  line-height: 1.35 !important;
}
.overview-around-you__name-cell {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
