/* Full Global Leaderboard page · larger centered hero + stats strip */

/* Full-width board: no empty right rail / no max-width box */
.full-leaderboard-page main,
.full-leaderboard-page main#main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.full-leaderboard-page .container,
.full-leaderboard-page main > .container,
.full-leaderboard-page main#main > .container {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: clamp(12px, 1.5vw, 20px) !important;
  padding-right: clamp(12px, 1.5vw, 20px) !important;
  box-sizing: border-box !important;
}
.full-leaderboard-page .content-grid {
  grid-template-columns: 1fr !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  gap: 0 !important;
}
.full-leaderboard-page .main-column,
.full-leaderboard-page .main-column-stack {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.full-leaderboard-page .controls,
.full-leaderboard-page .leaderboard,
.full-leaderboard-page .lb-toolbar,
.full-leaderboard-page #leaderboard-body {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* ── Full hero · centered, roomy (not the old compact strip) ── */
.full-leaderboard-page .wdhc-cine-hero,
.full-leaderboard-page header.wdhc-cine-hero {
  margin: 0 !important;
  min-height: clamp(380px, 48vw, 620px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  place-items: center !important;
  text-align: center !important;
}
.full-leaderboard-page .wdhc-cine-hero__media {
  position: absolute !important;
  inset: 0 !important;
}
.full-leaderboard-page .wdhc-cine-hero__inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  min-height: clamp(320px, 42vw, 560px) !important;
  max-width: 64rem !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: clamp(40px, 6vw, 72px) 24px clamp(36px, 5vw, 64px) !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
.full-leaderboard-page .wdhc-cine-hero__copy,
.full-leaderboard-page .wdhc-cine-hero__copy--wide {
  overflow: visible !important;
  width: 100% !important;
  max-width: 54rem !important;
  margin: 0 auto !important;
  padding: 12px 16px 8px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  display: flex !important;
  flex-direction: column !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Red live-style eyebrow */
.full-leaderboard-page .wdhc-cine-hero__pill,
.full-leaderboard-page #lb-page-eyebrow {
  margin: 0 auto 14px !important;
  font-size: clamp(0.78rem, 1.2vw, 0.88rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #ff5555 !important;
  -webkit-text-fill-color: #ff5555 !important;
  border: 1px solid #ef4444 !important;
  background: rgba(204, 0, 0, 0.14) !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.35) !important;
  border-radius: 999px !important;
  padding: 7px 18px !important;
}

.full-leaderboard-page .wdhc-cine-hero__title {
  overflow: visible !important;
  margin: 0 auto 14px !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  font-size: clamp(5.4rem, 9.4vw, 8.6rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0.03em;
  word-break: normal;
  overflow-wrap: normal;
}
.full-leaderboard-page .wdhc-cine-hero__title .wdhc-title-white,
.full-leaderboard-page .wdhc-cine-hero__title .wdhc-gold-text {
  display: inline !important;
  text-align: center !important;
}
/* "Full Global" white · "Leaderboard" gold */
.full-leaderboard-page .wdhc-cine-hero__title .wdhc-title-white {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  filter: none !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.full-leaderboard-page .wdhc-cine-hero__title .wdhc-gold-text {
  padding: 0 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.full-leaderboard-page .wdhc-cine-hero__lead {
  max-width: 46rem;
  margin: 0 auto 22px;
  text-align: center !important;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.5;
  color: #e8e0d0;
}
.full-leaderboard-page .wdhc-cine-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 4px auto 0;
  width: 100%;
}
.full-leaderboard-page .wdhc-cine-hero__cta,
.full-leaderboard-page .wdhc-cine-hero__secondary {
  padding: 13px 24px;
  font-size: 0.98rem;
}
.full-leaderboard-page .wdhc-cine-hero__media {
  opacity: 0.92;
}
.full-leaderboard-page .wdhc-cine-hero__video {
  object-position: center 32%;
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .full-leaderboard-page .wdhc-cine-hero,
  .full-leaderboard-page header.wdhc-cine-hero {
    min-height: clamp(280px, 62vw, 400px) !important;
  }
  .full-leaderboard-page .wdhc-cine-hero__inner {
    min-height: 0 !important;
    padding: 32px 16px 28px !important;
  }
  .full-leaderboard-page .wdhc-cine-hero__title {
    font-size: clamp(2.45rem, 11vw, 3.35rem) !important;
  }
}

/* Stats strip: pull up tight under hero */
.full-leaderboard-page main > .container {
  padding-top: 0;
}
/* Large screens: still full bleed (override home.css container caps) */
@media (min-width: 1400px) {
  .full-leaderboard-page .container,
  .full-leaderboard-page main > .container {
    max-width: none !important;
    width: 100% !important;
  }
}
@media (min-width: 1600px) {
  .full-leaderboard-page .wdhc-cine-hero__title {
    font-size: clamp(6.6rem, 7.6vw, 9.6rem) !important;
  }
}
@media (min-width: 1280px) and (min-height: 720px) and (hover: none) and (pointer: coarse) {
  .full-leaderboard-page .wdhc-cine-hero__title {
    font-size: clamp(6.8rem, 8.6vw, 10.4rem) !important;
  }
}
.full-leaderboard-page .lb-stats-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: -6px 0 14px;
  padding: 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(212, 175, 55, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(22, 18, 10, 0.98) 0%, rgba(8, 8, 10, 0.99) 100%);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(240, 215, 140, 0.08);
}
.full-leaderboard-page .lb-stat {
  text-align: center;
  padding: 12px 8px 10px;
  position: relative;
  min-width: 0;
}
.full-leaderboard-page .lb-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(212, 175, 55, 0.35),
    transparent
  );
}
.full-leaderboard-page .lb-stat-value {
  display: block;
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 700;
  color: #f0d78c;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}
.full-leaderboard-page .lb-stat-label {
  display: block;
  font-family: 'Rajdhani', 'Source Sans 3', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  color: #b8b0a0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.full-leaderboard-page .page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--bronze, #cd7f32);
  text-decoration: none;
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}
.full-leaderboard-page .page-back:hover {
  color: var(--gold, #D4AF37);
}

.lb-scroll-sentinel {
  height: 2px;
  width: 100%;
  pointer-events: none;
}
.lb-scroll-loader {
  text-align: center;
  padding: 16px;
  font-family: 'Rajdhani', 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  color: var(--bronze-dim, #8b5a2b);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.board-tabs {
  flex-wrap: wrap;
  gap: 6px;
}
.board-tabs button {
  font-size: 0.82rem;
  padding: 8px 12px;
}

/* Desktop: show tabs; hide mobile-only selects */
.full-leaderboard-page .lb-select-mobile {
  display: none;
}
.full-leaderboard-page .lb-tabs-desktop {
  display: flex;
}

/* Hang + Gym + search row (desktop compact) */
.full-leaderboard-page .lb-gym-row--with-search {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 12px;
  width: 100%;
}
.full-leaderboard-page .lb-hang-gym-pair {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.full-leaderboard-page .lb-hang-select,
.full-leaderboard-page #hang-type-filter {
  min-width: 7.5rem !important;
  max-width: 9.5rem !important;
  width: auto !important;
}
.full-leaderboard-page .lb-gym-row--with-search .lb-toolbar-search,
.full-leaderboard-page .lb-gym-row--with-search .lb-toolbar-search--inline {
  flex: 0 1 240px;
  min-width: 180px;
  max-width: 280px;
  margin-left: 0 !important;
  margin-right: 0;
  align-self: flex-end;
}
.full-leaderboard-page .lb-gym-row--with-search .search-container {
  width: 100%;
  max-width: 280px;
}
.full-leaderboard-page .lb-toolbar-search {
  margin-left: 0 !important;
}
.full-leaderboard-page .board-tabs {
  display: none !important;
}

/* M27-2 / M27-3 · phone layout */
@media (max-width: 900px) {
  .full-leaderboard-page .lb-tabs-desktop {
    display: none !important;
  }
  .full-leaderboard-page .lb-select-mobile {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 44px !important;
  }
  .full-leaderboard-page .lb-filter-group--division,
  .full-leaderboard-page .lb-filter-group--sort {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    flex: 1 1 calc(50% - 8px);
    min-width: calc(50% - 8px);
  }
  .full-leaderboard-page .lb-toolbar-filters--full {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
  }
  .full-leaderboard-page .lb-gym-row--with-search {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    flex: 1 1 100%;
  }
  .full-leaderboard-page .lb-hang-gym-pair {
    width: 100%;
  }
  .full-leaderboard-page .lb-hang-select,
  .full-leaderboard-page #hang-type-filter,
  .full-leaderboard-page #gym-filter {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 44px !important;
  }
  .full-leaderboard-page .lb-gym-row--with-search .lb-toolbar-search,
  .full-leaderboard-page .lb-gym-row--with-search .lb-toolbar-search--inline {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .full-leaderboard-page .lb-gym-row--with-search .search-container {
    max-width: none;
    width: 100%;
  }
  .full-leaderboard-page .lb-gym-row--with-search .search-input {
    min-height: 44px;
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .full-leaderboard-page .wdhc-cine-hero__inner {
    padding: 28px 16px 24px;
  }
  .full-leaderboard-page .wdhc-cine-hero__title {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }
  .full-leaderboard-page .lb-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 12px;
    margin-top: -4px;
  }
  .full-leaderboard-page .lb-stat {
    padding: 11px 8px 9px;
  }
  .full-leaderboard-page .lb-stat:nth-child(even)::after {
    display: none;
  }
  .full-leaderboard-page .lb-stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .full-leaderboard-page .lb-stat:last-child:nth-child(odd)::after {
    display: none;
  }
}

/* Desktop-only Gender column. Index / mobile keep the 8-col board. */
.full-leaderboard-page .lb-h-gender,
.full-leaderboard-page .lb-col-gender {
  display: none;
}

@media (min-width: 901px) {
  .full-leaderboard-page .lb-header,
  .full-leaderboard-page .lb-row {
    grid-template-columns: 48px 118px minmax(150px, 1.15fr) minmax(72px, 0.5fr) minmax(120px, 0.9fr) minmax(120px, 0.85fr) 100px 86px 88px !important;
  }
  .full-leaderboard-page .lb-h-gender,
  .full-leaderboard-page .lb-col-gender {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
  }
  .full-leaderboard-page .lb-col-gender {
    color: #c8c8c8;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .full-leaderboard-page .lb-h-gender {
    justify-content: center;
  }
  .full-leaderboard-page .lb-row > .watch-col,
  .full-leaderboard-page .lb-row > *:nth-child(8) {
    justify-self: stretch;
    width: auto;
  }
  .full-leaderboard-page .lb-row > .watch-col {
    grid-column: 9;
  }
  .full-leaderboard-page .lb-header > .lb-h-watch {
    grid-column: 9;
    justify-content: center;
  }
}
