/* 20261025p5. Layout layer. Does not set .hero-title font-size or line-height.
   Hero size stays LOCK 20261025p6hero1. */

/* Single-name athletes: check stays on the name line (Pullsmastr). */
html body .lb-row .lb-card-name:not(.lb-card-name--stacked) .lb-card-name-line-primary,
html body .lb-row .name-primary-row:not(:has(.name-last)) {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  white-space: nowrap !important;
  max-width: 100% !important;
}
html body .lb-row .lb-name-check,
html body .lb-row .name-primary-row:not(:has(.name-last)) > .name-stack {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  white-space: nowrap !important;
  min-width: 0 !important;
}
html body .lb-row .lb-card-name:not(.lb-card-name--stacked) .verified-badge,
html body .lb-row .name-primary-row:not(:has(.name-last)) > .verified-badge {
  flex: 0 0 auto !important;
  display: inline-flex !important;
}
html body .lb-card--icons-under .lb-card-name:not(.lb-card-name--stacked) .lb-card-name-line-icons .verified-badge {
  display: inline-flex !important;
}

/* No lightning PR marks on board rows. */
html body .lb-row .pr-badge,
html body .lb-row .pr-badge-inline,
html body .lb-mobile-card .pr-badge,
html body .lb-mobile-card .pr-badge-inline,
html body .name-cell .pr-badge,
html body .name-cell .pr-badge-inline {
  display: none !important;
}

/* Finger numerals never split. */
.wdhc-numeral,
.pickboard__board,
.video-submission-hangtype,
.lb-hang-label,
.hang-type-label {
  overflow-wrap: normal;
}

/* Recent toolbar: hang-type filter and Watch Reels Feed share one row. */
html body #wdhc-recent #wdhc-recent-tools.wdhc-recent-tools {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 10px !important;
  width: min(100%, 680px) !important;
  max-width: 680px !important;
  margin: 10px auto 14px !important;
  box-sizing: border-box !important;
  order: 2 !important;
  flex: 1 1 100% !important;
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  justify-self: center !important;
}
html body #wdhc-recent #wdhc-recent-tools .recent-hang-sort,
html body #wdhc-recent #wdhc-recent-tools .wdhc-open-reels-row {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: stretch !important;
  order: 0 !important;
}
html body #wdhc-recent #wdhc-recent-tools #recent-hang-sort,
html body #wdhc-recent #wdhc-recent-tools .wdhc-open-reels-btn {
  width: 100% !important;
  max-width: none !important;
  min-height: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  font-size: 13px !important;
  letter-spacing: 0.03em !important;
}
html body #wdhc-recent #wdhc-recent-tools .wdhc-open-reels-btn {
  padding: 0 12px !important;
}
html body #wdhc-recent #wdhc-recent-tools .wdhc-open-reels-btn__text {
  white-space: nowrap !important;
  font-size: 13px !important;
  letter-spacing: 0.03em !important;
}
@media (max-width: 420px) {
  html body #wdhc-recent #wdhc-recent-tools.wdhc-recent-tools {
    gap: 8px !important;
    width: 100% !important;
  }
  html body #wdhc-recent #wdhc-recent-tools #recent-hang-sort,
  html body #wdhc-recent #wdhc-recent-tools .wdhc-open-reels-btn,
  html body #wdhc-recent #wdhc-recent-tools .wdhc-open-reels-btn__text {
    font-size: 11px !important;
    letter-spacing: 0 !important;
  }
  html body #wdhc-recent #wdhc-recent-tools #recent-hang-sort {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  html body #wdhc-recent #wdhc-recent-tools .wdhc-open-reels-btn {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}
@media (max-width: 768px) {
  #wdhc-recent .video-submissions-lead,
  #wdhc-recent .sort-tabs,
  #wdhc-recent .lb-tab-strip {
    display: none !important;
  }
}
/* 601-900: header is a row. Keep the title and season side by side, and the two controls on their own line. */
@media (min-width: 601px) and (max-width: 900px) {
  html body #wdhc-recent .video-submissions-head {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px 16px !important;
    width: 100% !important;
  }
  html body #wdhc-recent .video-submissions-head__titles {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    flex: 1 1 260px !important;
    width: auto !important;
    min-width: 0 !important;
    order: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero {
    flex: 1 1 280px !important;
    width: auto !important;
    max-width: none !important;
    min-width: 240px !important;
    order: 2 !important;
    margin: 0 !important;
  }
  html body #wdhc-recent #wdhc-recent-tools.wdhc-recent-tools {
    flex: 1 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 3 !important;
    margin: 4px 0 12px !important;
  }
}

/* Monthly challenge snippet: larger month, challenge titles, and names. */
@media (min-width: 901px) {
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__kicker {
    font-size: 0.86rem !important;
    letter-spacing: 0.12em !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__title {
    font-size: 1.9rem !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-clock__label {
    font-size: 0.86rem !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-clock__value {
    font-size: 2.05rem !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-clock__sep {
    font-size: 1.65rem !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-clock__unit-inline {
    font-size: 0.86rem !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__winner {
    font-size: 1.05rem !important;
    padding: 5px 10px !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__winner-label {
    font-size: 0.95rem !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__winner-name,
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__winner-metric {
    font-size: 1.18rem !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__winner-name {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__inner--bar {
    overflow: visible !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    padding: 14px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__bar-left {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    width: auto !important;
    max-width: none !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__bar-main {
    flex: 1 1 12rem !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__winners--bar {
    flex-wrap: wrap !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__winner {
    max-width: 100% !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-clock--inline {
    gap: 4px !important;
  }
  html body #wdhc-recent.video-submissions-section--lead .video-submissions-head {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 58%) !important;
  }
}
@media (max-width: 900px) {
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__kicker {
    font-size: 0.9rem !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__title {
    font-size: clamp(1.7rem, 6.4vw, 2rem) !important;
    line-height: 1.08 !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-clock--inline .wdhc-season-clock__value {
    font-size: clamp(1.85rem, 8vw, 2.25rem) !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-clock__unit-inline {
    font-size: 0.8rem !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__winner-label {
    font-size: 0.9rem !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__winner-name,
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__winner-metric {
    font-size: 1.24rem !important;
  }
  html body #wdhc-recent .wdhc-season-strip--hero .wdhc-season-strip__winner-name {
    white-space: nowrap !important;
  }
}

/* Live Hang Feed eyebrow. Quiet glass pill. The live dot is the only motion. */
html body header #wdhc-hero-feed-pill.wdhc-hero-feed-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 16px !important;
  padding: 7px 14px 7px 8px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 96, 96, 0.5) !important;
  background: rgba(12, 6, 6, 0.78) !important;
  background-image: linear-gradient(180deg, rgba(255, 72, 72, 0.2), rgba(90, 8, 8, 0.12)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 18px rgba(0, 0, 0, 0.28) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: Oswald, 'Arial Narrow', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
  cursor: pointer !important;
}
html body header #wdhc-hero-feed-pill.wdhc-hero-feed-pill::before,
html body header #wdhc-hero-feed-pill.wdhc-hero-feed-pill::after {
  display: none !important;
  content: none !important;
  animation: none !important;
}
html body header #wdhc-hero-feed-pill.wdhc-hero-feed-pill:hover,
html body header #wdhc-hero-feed-pill.wdhc-hero-feed-pill:focus-visible {
  transform: translateY(-1px) !important;
  border-color: rgba(255, 140, 140, 0.85) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 22px rgba(180, 20, 20, 0.28) !important;
  outline: none !important;
  animation: none !important;
}
html body header #wdhc-hero-feed-pill .wdhc-hero-feed-pill__dot,
html body header #wdhc-hero-feed-pill .wdhc-hero-feed-pill__chev {
  display: none !important;
}
html body header #wdhc-hero-feed-pill .wdhc-hero-feed-pill__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 0 0 1px !important;
  border-radius: 50% !important;
  background: #e11d2e !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 9px !important;
  line-height: 1 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}
html body header #wdhc-hero-feed-pill .wdhc-hero-feed-pill__text {
  font-family: Oswald, 'Arial Narrow', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  line-height: 1 !important;
}
@media (max-width: 768px) {
  html body header #wdhc-hero-feed-pill.wdhc-hero-feed-pill {
    margin-bottom: 10px !important;
    padding: 6px 12px 6px 7px !important;
  }
  html body header #wdhc-hero-feed-pill .wdhc-hero-feed-pill__text {
    font-size: 12px !important;
    letter-spacing: 0.08em !important;
  }
}

/* Category list stays above the island. */
#pickboard-boards {
  scroll-margin-top: calc(var(--wdhc-nav-h, 64px) + 12px);
  scroll-margin-bottom: calc(var(--wdhc-island-h, 72px) + env(safe-area-inset-bottom, 0px) + 12px);
  padding-bottom: 8px;
}
.pickboard__boards-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  #pick-a-board,
  #pickboard-boards,
  .pickboard {
    padding-bottom: calc(var(--wdhc-island-h, 64px) + env(safe-area-inset-bottom, 0px) + 12px);
  }
}

/* Full board shows the hang-type grid. Home still hides Gym at phone width. */
@media (max-width: 900px) {
  body.full-leaderboard-page .lb-gym-filter,
  body.full-leaderboard-page .lb-filter-group.lb-gym-filter,
  body.full-leaderboard-page .lb-gym-row--with-search {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
}

/* Desktop island. Submit still goes to /submit. Folds stay phone-only. */
@media (min-width: 769px) {
  #wdhc-island {
    display: flex !important;
    position: fixed !important;
    z-index: 420 !important;
    left: 50% !important;
    right: auto !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    transform: translateX(-50%) !important;
    align-items: stretch !important;
    gap: 4px !important;
    width: max-content !important;
    max-width: calc(100vw - 220px) !important;
    height: 74px !important;
    margin: 0 !important;
    padding: 7px !important;
    box-sizing: border-box !important;
    background: #0b0b0b !important;
    color: #f4f4f4 !important;
    border: 1px solid rgba(212, 175, 55, 0.72) !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
  }
  #wdhc-island .wdhc-island__btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 88px !important;
    max-width: 108px !important;
    height: 60px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    letter-spacing: 0.04em !important;
    color: #f4f4f4 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 999px !important;
  }
  #wdhc-island .wdhc-island__btn svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #d4af37 !important;
    fill: none !important;
  }
  #wdhc-island .wdhc-island__btn.is-active {
    background: rgba(212, 175, 55, 0.16) !important;
    color: #f0d78c !important;
  }
  html body:has(#wdhc-island):not(.wdhc-form-page):not(.page-submit) {
    padding-bottom: calc(var(--wdhc-island-h, 98px) + env(safe-area-inset-bottom, 0px) + 16px) !important;
  }
  .wdhc-chat,
  body:has(.mobile-submit-bar):not(.wdhc-form-page):not(.page-submit) .wdhc-chat {
    left: 16px !important;
    right: auto !important;
    bottom: calc(var(--wdhc-island-h, 98px) + 18px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 430 !important;
  }
}

/* Ask WDHC must not sit on the Recent title. */
@media (min-width: 1100px) {
  #wdhc-recent .video-submissions-head,
  #wdhc-recent .video-submissions-title-row {
    position: relative;
    z-index: 2;
    padding-left: 0;
  }
  #wdhc-recent .video-submissions-title {
    position: relative;
    z-index: 3;
  }
  .wdhc-season-strip__inner--bar {
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 16px !important;
  }
  .wdhc-season-strip__title,
  .wdhc-season-strip__kicker {
    white-space: normal !important;
  }
  .wdhc-season-strip__bar-clock {
    position: static !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }
}

/* Phone section rhythm. Hero size is untouched (no .hero-title size or line-height). */
@media (max-width: 768px) {
  html body .content-grid {
    row-gap: 0 !important;
  }
  html body .content-grid > .main-column,
  html body .content-grid > .sidebar-column,
  html body .content-grid > .home-lower-band,
  html body .content-grid > .video-submissions-section,
  html body .content-grid > #hang-type-boards {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  html body .sidebar-column > .sidebar-card,
  html body .sidebar-column > .grip-calc-card,
  html body .sidebar-column > .icon-legend-card,
  html body .home-lower-band > section,
  html body .home-lower-band > .cta-section,
  html body #home-challenges-winners,
  html body #home-rules,
  html body .gyms-promo-section,
  html body .portal-promo-section--athlete,
  html body .wdhc-friend-share--home,
  html body .cta-section--full-grid,
  html body #past-winners,
  html body .past-winners {
    margin-top: 36px !important;
    margin-bottom: 0 !important;
  }
  html body .sidebar-card,
  html body .icon-legend-card,
  html body .grip-calc-card,
  html body #home-challenges-winners,
  html body .home-lower-band > section,
  html body #home-rules {
    border-top: 1px solid rgba(212, 175, 55, 0.38);
    padding-top: 18px;
  }
  html body .wdhc-fold {
    margin-top: 36px !important;
    margin-bottom: 0 !important;
  }
  html body .wdhc-fold:not(.is-open):not(.is-measuring) {
    max-height: 228px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
  }
  html body .wdhc-fold:not(.is-open)::after {
    height: 92px !important;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0) 0%, #050505 46%, #050505 100%) !important;
  }
  html body .wdhc-fold > .wdhc-fold__toggle {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html body .wdhc-fold:not(.is-open) > .wdhc-fold__toggle {
    bottom: 16px !important;
  }
  /* Beat later home/pickboard phone margins (two classes, or a grid child). Recent stays open and unspaced. */
  html body .content-grid > #home-challenges-winners.home-challenges-winners,
  html body .content-grid > #home-rules,
  html body .content-grid > .gyms-promo-section,
  html body .content-grid > .portal-promo-section.portal-promo-section--athlete,
  html body .content-grid > .cta-section.cta-section--full-grid,
  html body .content-grid > .wdhc-friend-share.wdhc-friend-share--home,
  html body .home-lower-band > .wdhc-friend-share.wdhc-friend-share--home,
  html body .home-lower-band > section,
  html body .sidebar-column > .sidebar-card,
  html body .sidebar-column > .grip-calc-card,
  html body .sidebar-column > .icon-legend-card,
  html body .wdhc-fold:not(#wdhc-recent) {
    margin-top: 36px !important;
    margin-bottom: 0 !important;
  }
  /* Past Winners stays fully open (ui-locks max-height). Keep Show more in the flow, under the months. */
  html body #home-challenges-winners.wdhc-fold:not(.is-open) > .wdhc-fold__toggle {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: block !important;
    margin: 14px auto 0 !important;
  }
  html body #home-challenges-winners.wdhc-fold::after {
    display: none !important;
  }
}

/* Full-board hang list. home-pickboard.css is home-only because it moves the side rail.
   These rules restore the same chip buttons on /leaderboard-full, including Weighted. */
html body.full-leaderboard-page .pickboard__tiles {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
@media (min-width: 560px) {
  html body.full-leaderboard-page .pickboard__tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1100px) {
  html body.full-leaderboard-page .pickboard__tiles {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  }
}
html body.full-leaderboard-page .pickboard__tile {
  appearance: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  min-height: 92px !important;
  padding: 10px 8px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  background: #12100c !important;
  color: #f4f4f4 !important;
  cursor: pointer !important;
}
html body.full-leaderboard-page .pickboard__tile.is-active {
  border-color: #f0d78c !important;
  background: #1c1810 !important;
}
html body.full-leaderboard-page .pickboard__name {
  font-family: Oswald, sans-serif !important;
  font-size: 14px !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  color: #e8e8e8 !important;
  text-align: center !important;
}
html body.full-leaderboard-page .pickboard__count {
  font-family: Rajdhani, sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #8d8d8d !important;
}
html body.full-leaderboard-page #pickboard-boards {
  margin: 12px 0 8px !important;
}
html body.full-leaderboard-page .pickboard__boards-label {
  margin: 0 0 8px !important;
  font-family: Oswald, sans-serif !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #f0d78c !important;
}
html body.full-leaderboard-page #pickboard-boards .pickboard__boardlist {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  max-height: none !important;
  overflow: visible !important;
}
html body.full-leaderboard-page #pickboard-boards .pickboard__board {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  background: #12100c !important;
  color: #f4f4f4 !important;
  font-family: Rajdhani, "Source Sans 3", sans-serif !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  text-decoration: none !important;
  white-space: normal !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
html body.full-leaderboard-page #pickboard-boards .pickboard__board.is-active,
html body.full-leaderboard-page #pickboard-boards .pickboard__board:hover,
html body.full-leaderboard-page #pickboard-boards .pickboard__board:focus-visible {
  background: #f0d78c !important;
  color: #111 !important;
  border-color: #f0d78c !important;
}

/* Like and comment counts share one size on the index cards and the reel rail. */
.wdhc-card-like-count,
.wdhc-reel-like-count,
.wdhc-card-comment-count,
.wdhc-reel-action__label[data-comment-count-for] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2em;
  font-family: Oswald, 'Arial Narrow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #f4f4f4;
  background: transparent;
  border: 0;
  padding: 0 2px;
  cursor: pointer;
}
.wdhc-card-like-count,
.wdhc-card-comment-count {
  margin-left: 4px;
}
.wdhc-likers {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.wdhc-likers[hidden] { display: none !important; }
.wdhc-likers__sheet {
  width: min(480px, 100%);
  max-height: 70vh;
  overflow: auto;
  background: #111;
  color: #f4f4f4;
  border-radius: 16px 16px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.wdhc-likers__sheet h2 {
  margin: 0 0 10px;
  font-family: Oswald, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}
.wdhc-likers__sheet a { color: #d4af37; }
.wdhc-likers__sheet li { margin: 8px 0; }
.wdhc-likers__close {
  float: right;
  background: transparent;
  color: #f4f4f4;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
}

/* PWA back + safe areas. */
.wdhc-pwa-back {
  position: fixed;
  z-index: 460;
  top: calc(70px + env(safe-area-inset-top, 0px));
  left: calc(8px + env(safe-area-inset-left, 0px));
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  background: #0b0b0b;
  color: #f4f4f4;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.wdhc-pwa-back[hidden] { display: none !important; }
@media (display-mode: standalone) {
  body {
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: calc(var(--wdhc-island-h, 64px) + env(safe-area-inset-bottom, 0px) + 12px);
  }
  nav.wdhc-site-nav,
  header nav {
    padding-top: env(safe-area-inset-top, 0px);
  }
}

/* Athlete profile video grid. */
.wdhc-ath-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.wdhc-ath-grid video,
.wdhc-ath-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #111;
  border-radius: 10px;
  display: block;
}
.wdhc-ath-ig {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 8px 0 0;
  padding: 0 14px;
  border-radius: 999px;
  background: #a8791a;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
}
.wdhc-ath-card {
  margin: 0;
}
.wdhc-ath-card figcaption {
  font-size: 13px;
  margin-top: 4px;
}

/* Submit form spacing. Does not change field order or the Phase 6 draft behavior. */
body.page-submit .form-group,
body.wdhc-form-page .form-group,
#submissionForm .form-group {
  margin-bottom: 14px;
}
body.page-submit .form-section,
#submissionForm .form-section {
  margin-bottom: 18px;
}
@media (max-width: 430px) {
  body.page-submit .form-group input,
  body.page-submit .form-group select,
  body.page-submit .form-group textarea,
  #submissionForm .form-group input,
  #submissionForm .form-group select,
  #submissionForm .form-group textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
