.pb-player-profile-lab {
  --pb-lab-brand: var(--secondary, #202a25);
  --pb-lab-soft: var(--secondary-light, #d3ded9);
  --pb-lab-card: var(--white, #fff);
  --pb-lab-focus: var(--action, #ff9900);
}

.pb-profile-lab-bar {
  position: sticky;
  inset-block-start: var(--wp-admin--admin-bar--height, 32px);
  z-index: 9998;
  inline-size: 100%;
  margin: 0;
  padding: 8px clamp(12px, 2vw, 24px);
  color: #fff;
  background: var(--pb-lab-brand);
  border-block-end: 1.5px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 28px rgba(17, 28, 23, 0.18);
  font-family: "Roboto Condensed", Roboto, sans-serif;
}

.pb-profile-lab-bar__inner {
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  max-inline-size: 1366px;
  margin-inline: auto;
}

.pb-profile-lab-bar__identity {
  display: grid;
  gap: 2px;
  line-height: 1.15;
}

.pb-profile-lab-bar__identity strong {
  font-family: Oswald, "Roboto Condensed", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.pb-profile-lab-bar__identity span,
.pb-profile-lab-bar__fixture small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.pb-profile-lab-bar__fixtures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pb-profile-lab-bar__fixture,
.pb-profile-lab-bar__exit {
  min-block-size: 44px;
  border-radius: 8px;
  text-decoration: none;
}

.pb-profile-lab-bar__fixture {
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 6px 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.pb-profile-lab-bar__fixture:hover,
.pb-profile-lab-bar__fixture:focus-visible,
.pb-profile-lab-bar__fixture.is-active {
  color: var(--pb-lab-brand);
  background: var(--pb-lab-card);
}

.pb-profile-lab-bar__fixture.is-active small {
  color: #61707b;
}

.pb-profile-lab-bar__exit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--pb-lab-brand);
  background: var(--pb-lab-soft);
  font-weight: 700;
  white-space: nowrap;
}

.pb-profile-lab-bar a:focus-visible {
  outline: 2px solid var(--pb-lab-focus);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .pb-profile-lab-bar {
    position: relative;
    inset-block-start: auto;
  }

  .pb-profile-lab-bar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .pb-profile-lab-bar__fixtures {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .pb-profile-lab-bar__identity span,
  .pb-profile-lab-bar__fixture small {
    display: none;
  }

  .pb-profile-lab-bar__fixtures {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .pb-profile-lab-bar__fixture {
    flex: 0 0 auto;
    min-inline-size: 132px;
  }

  .pb-profile-lab-bar__exit {
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pb-profile-lab-bar *,
  .pb-profile-lab-bar *::before,
  .pb-profile-lab-bar *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Stage 9: premium player-rating table, isolated to the profile lab. */
.pb-player-profile-rating-panel {
  container: player-profile-rating / inline-size;
}

body.pb-player-profile-lab .pb-player-profile-rating-card {
  inline-size: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--white, #fff);
  border: 1px solid rgba(32, 42, 37, 0.10);
  border-block-end: 1.5px solid rgba(32, 42, 37, 0.22);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 28, 23, 0.10);
}

body.pb-player-profile-lab table.pb-player-profile-rating-table {
  inline-size: 100% !important;
  min-inline-size: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed;
  color: var(--secondary, #202a25);
  background: var(--white, #fff);
}

body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-skill > td {
  block-size: auto;
  padding: 10px 8px !important;
  vertical-align: middle;
  border: 0 !important;
  border-block-end: 1px solid rgba(32, 42, 37, 0.09) !important;
  background-color: var(--white, #fff) !important;
  background-image: none !important;
  transition: background-color 160ms ease;
}

body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-skill:nth-child(even) > td {
  background-color: #e9efec !important;
  background-color: color-mix(in srgb, var(--secondary-light, #d3ded9) 58%, white) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-skill:hover > td {
    color: var(--pb-table-text, #17232d) !important;
    background-color: #e1eae6 !important;
    background-color: color-mix(in srgb, var(--secondary-light, #d3ded9) 84%, white) !important;
    box-shadow:
      inset 0 1px 0 rgba(32, 42, 37, 0.16),
      inset 0 -1px 0 rgba(32, 42, 37, 0.16);
  }

  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-skill:hover > td:first-child {
    box-shadow:
      inset 3px 0 0 var(--action, #ff9900),
      inset 0 1px 0 rgba(32, 42, 37, 0.16),
      inset 0 -1px 0 rgba(32, 42, 37, 0.16);
  }

  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-skill:hover .ranking-scale-bar {
    border-color: rgba(32, 42, 37, 0.26);
    box-shadow:
      inset 0 1px 2px rgba(17, 28, 23, 0.15),
      0 0 0 1px rgba(255, 255, 255, 0.55);
  }
}

body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-icon {
  inline-size: 54px;
  min-inline-size: 54px;
  text-align: center;
}

body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-icon {
  display: block;
  inline-size: 28px !important;
  block-size: 28px !important;
  margin-inline: auto;
  padding: 0;
  object-fit: contain;
  opacity: 1;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: contrast(1.08) drop-shadow(0 1px 0 rgba(32, 42, 37, 0.28)) drop-shadow(0 2px 3px rgba(77, 102, 89, 0.18)) !important;
}

body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-indicator {
  inline-size: 185px;
  padding-inline-start: 10px !important;
  color: var(--secondary, #202a25) !important;
  font: 600 15px/1.2 Oswald, "Roboto Condensed", sans-serif !important;
  letter-spacing: 0.025em;
  text-align: start !important;
  text-transform: uppercase;
}

body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-scale {
  padding-inline: clamp(10px, 1.8vw, 24px) !important;
}

body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-scale-bar {
  position: relative;
  inline-size: 100%;
  block-size: 16px !important;
  overflow: hidden;
  background: var(--secondary-light, #d3ded9) !important;
  border: 1px solid rgba(32, 42, 37, 0.09);
  border-radius: 4px !important;
  box-shadow: inset 0 1px 2px rgba(17, 28, 23, 0.10);
}

body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-scale-fill {
  block-size: 100% !important;
  background-color: var(--secondary, #202a25) !important;
  background-image: linear-gradient(90deg, var(--secondary-semi-dark, #4d6659), var(--secondary, #202a25)) !important;
  border-radius: 3px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-value {
  inline-size: 70px;
  color: var(--secondary, #202a25) !important;
  font: 600 19px/1 Oswald, "Roboto Condensed", sans-serif !important;
  font-variant-numeric: tabular-nums;
  text-align: center !important;
}

body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-star {
  inline-size: 40px;
  min-inline-size: 40px;
  padding-inline: 4px !important;
  text-align: center !important;
}

body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-star .dashicons {
  inline-size: 24px;
  block-size: 24px;
  color: #f2c94c;
  font-size: 24px;
  line-height: 24px;
  filter: drop-shadow(0 2px 3px rgba(119, 84, 0, 0.18));
}

body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-star .star-red {
  color: #c83232;
}

body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td {
  block-size: 88px;
  padding: 14px 16px !important;
  color: #fff !important;
  border: 0 !important;
  border-block-start: 3px solid #f2c94c !important;
  background-color: var(--secondary, #202a25) !important;
  background-image: linear-gradient(105deg, var(--secondary, #202a25) 0%, #2c3c34 62%, var(--secondary, #202a25) 100%) !important;
  vertical-align: middle;
}

body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td:first-child {
  font: 700 20px/1.1 Oswald, "Roboto Condensed", sans-serif !important;
  letter-spacing: 0.035em;
  text-align: end !important;
  text-transform: uppercase;
}

body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td:last-child {
  color: #fff !important;
  font: 700 clamp(30px, 3.2cqi, 42px)/1 Oswald, "Roboto Condensed", sans-serif !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.015em;
  text-align: end !important;
}

@container player-profile-rating (max-width: 620px) {
  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-icon {
    inline-size: 52px;
    min-inline-size: 52px;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-icon {
    inline-size: 28px !important;
    block-size: 28px !important;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-indicator {
    inline-size: 176px;
    padding-inline-start: 6px !important;
    font-size: 14px !important;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-scale {
    padding-inline: 8px !important;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-value {
    inline-size: 52px;
    font-size: 17px !important;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-star {
    inline-size: 38px;
    min-inline-size: 38px;
  }

  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td {
    block-size: 72px;
  }

  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td:last-child {
    font-size: 34px !important;
  }
}

@container player-profile-rating (max-width: 423.5px) {
  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-skill > td {
    block-size: auto;
    padding-block: 10px !important;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-icon {
    inline-size: 44px;
    min-inline-size: 44px;
    padding-inline: 5px !important;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-icon {
    inline-size: 28px !important;
    block-size: 28px !important;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-indicator {
    inline-size: auto;
    padding-inline-start: 4px !important;
    font-size: clamp(12px, 3.55cqi, 14px) !important;
    letter-spacing: 0.015em;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-scale {
    inline-size: 0;
    padding-inline: 0 !important;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-scale-bar {
    display: none;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-value {
    inline-size: 40px;
    padding-inline: 4px !important;
    font-size: 17px !important;
  }

  body.pb-player-profile-lab .pb-player-profile-rating-table .ranking-col-star {
    inline-size: 32px;
    min-inline-size: 32px;
    padding-inline: 3px !important;
  }

  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td {
    block-size: 68px;
    padding: 12px !important;
  }

  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td:first-child {
    font-size: clamp(15px, 4.3cqi, 18px) !important;
  }

  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td:last-child {
    font-size: clamp(28px, 8cqi, 34px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-skill > td {
    transition: none;
  }

  .pb-profile-lab-hero__face .brxe-lzgrzb::after {
    animation: none;
  }
}

/* Stage 1: approved ranking card face as the player profile hero. */
.pb-player-profile-lab .probasket-player-profile-h1 {
  position: absolute !important;
  inline-size: 1px !important;
  block-size: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pb-player-profile-lab__breadcrumbs {
  position: relative;
  z-index: 1;
  inline-size: 100%;
  background: var(--pb-lab-soft) !important;
}

.pb-profile-lab-hero,
.pb-profile-lab-hero__renderer,
.pb-profile-lab-hero__card,
.pb-profile-lab-hero__face {
  box-sizing: border-box;
  inline-size: 100%;
  min-inline-size: 0;
}

.pb-profile-lab-hero {
  display: grid;
  margin: 0;
  padding: 0 0 16px;
  background: var(--pb-lab-soft);
}

.pb-profile-lab-hero__renderer {
  container: rating-header / inline-size;
  margin: 0 !important;
}

.pb-profile-lab-hero__card {
  display: block;
  margin: 0;
}

.pb-profile-lab-hero__face {
  cursor: default !important;
}

.pb-profile-lab-hero__face > .pb-player-profile-lab__hero-card {
  margin-inline: auto;
}

.pb-profile-lab-hero__face .brxe-cibump {
  display: none !important;
}

.pb-player-profile-lab .pb-player-profile-context-row[hidden],
.pb-player-profile-lab .pb-player-profile-context-row [hidden] {
  display: none !important;
}

.pb-profile-lab-hero--no-rating .pb-profile-lab-hero__face .brxe-qzcujg {
  grid-template-columns: minmax(0, 1fr);
}

.pb-profile-lab-hero--no-rating .pb-profile-lab-hero__face .brxe-dkuayg {
  display: none !important;
}

.pb-player-profile-lab-ranking-off #brxe-nzosie .brxe-qzcujg {
  grid-template-columns: minmax(0, 1fr) !important;
}

.pb-player-profile-lab-ranking-off #brxe-nzosie .brxe-dkuayg {
  display: none !important;
}

.pb-profile-lab-hero__face .pb-player-card-favorite {
  z-index: 4;
}

.pb-profile-lab-hero__face .brxe-lzgrzb {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.pb-profile-lab-hero__face .brxe-lzgrzb > * {
  position: relative;
  z-index: 1;
}

.pb-profile-lab-hero__face .brxe-lzgrzb::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.26) 50%, transparent 75%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%);
  animation: pb-player-profile-disclosure-sweep 4s ease-in-out infinite;
}

.pb-player-profile-actions {
  position: absolute;
  inset-inline-end: 16px;
  inset-block-end: 16px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  z-index: 25;
}

.pb-player-profile-actions #brxe-fvp001 {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
}

.pb-player-profile-actions .pb-player-profile-share {
  inset-block: auto calc(100% + 10px);
  inset-inline: auto 0;
}

.pb-player-profile-actions .pb-team-action,
.pb-player-profile-actions #brxe-fvp001,
.pb-player-profile-actions #brxe-fvp001 .pb-favorite-control,
.pb-player-profile-actions #brxe-fvp001 .pb-favorite-button {
  inline-size: 44px;
  min-inline-size: 44px;
  block-size: 44px;
  min-block-size: 44px;
}

.pb-player-profile-actions .pb-team-action:focus-visible,
.pb-player-profile-actions #brxe-fvp001 .pb-favorite-button:focus-visible,
.pb-player-profile-share :focus-visible {
  outline: 2px solid var(--pb-lab-focus);
  outline-offset: 2px;
}

.pb-profile-lab-hero__face .pb-favorite-button:focus-visible {
  outline: 2px solid var(--pb-lab-focus);
  outline-offset: 2px;
}

/* Stage 4: stable first paint, canonical section heading and a History-style table trial. */
.pb-player-profile-lab #brxe-sreahc {
  gap: 0 !important;
}

.pb-player-profile-lab #brxe-qnucch > .x-tabs_list,
.pb-player-profile-lab #brxe-qnucch .pb-player-profile-legacy-section-heading,
.pb-player-profile-lab #brxe-qnucch .x-tabs_panel-content .brxe-hyxgot {
  display: none !important;
}

.pb-player-profile-no-tabs #brxe-qnucch {
  display: none !important;
}

.pb-player-profile-menu {
  inline-size: 100%;
  margin-block: 0 var(--pb-nav-content-gap, clamp(24px, 2.5cqi, 32px));
}

.pb-player-profile-section-heading {
  inline-size: 100%;
  margin: 0 0 var(--pb-heading-content-gap, clamp(10px, 1cqi, 12px)) !important;
}

.pb-player-profile-section-heading > * {
  margin-block: 0;
}

.pb-player-profile-section-heading__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  inline-size: 100%;
}

.pb-player-profile-section-heading__row .pb-component-heading__title {
  min-inline-size: 0;
  margin: 0;
}

.pb-player-profile-section-heading__filter-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  min-inline-size: 112px;
  min-block-size: 44px;
  padding: 8px 14px;
  overflow: hidden;
  color: #202a25;
  background: var(--action, #ff9900);
  border: 0;
  border-block-end: 1.5px solid rgba(32, 42, 37, 0.4);
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(17, 28, 23, 0.2);
  font: 600 14px/1 Oswald, "Roboto Condensed", sans-serif;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.pb-player-profile-section-heading__filter-toggle[hidden] {
  display: none !important;
}

.pb-player-profile-section-heading__filter-toggle svg,
.pb-player-profile-section-heading__filter-toggle span {
  position: relative;
  z-index: 1;
}

.pb-player-profile-section-heading__filter-toggle svg {
  inline-size: 18px;
  block-size: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.pb-player-profile-section-heading__filter-toggle::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.34) 50%, transparent 75%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%);
  animation: pb-player-profile-disclosure-sweep 4s ease-in-out infinite;
}

.pb-player-profile-section-heading__filter-toggle:hover,
.pb-player-profile-section-heading__filter-toggle.is-active {
  background: #e88b00;
}

.pb-player-profile-section-heading__filter-toggle:focus-visible {
  outline: 2px solid var(--pb-lab-focus, #ff9900);
  outline-offset: 2px;
}

.pb-player-profile-lab #brxe-qnucch .x-tabs_panel-content {
  padding-block-start: 0 !important;
}

.pb-player-profile-menu button.pb-section-menu__link,
.pb-player-profile-menu button.pb-section-menu__sheet-link {
  appearance: none;
  cursor: pointer;
}

.pb-player-profile-menu .pb-section-menu__sheet-link > span:first-child {
  min-inline-size: 0;
}

.pb-player-profile-menu .pb-section-menu__sheet-grid > li,
.pb-player-profile-menu button.pb-section-menu__sheet-link {
  inline-size: 100%;
  min-inline-size: 0;
}

.pb-player-profile-menu button.pb-section-menu__sheet-link {
  block-size: 100%;
}

.pb-player-profile-lab-show-achievements .x-tabs_content > .x-tabs_content-item {
  display: none !important;
}

.pb-profile-lab-achievements-panel[hidden] {
  display: none !important;
}

.pb-profile-lab-achievements-panel {
  display: block;
  inline-size: 100%;
  min-inline-size: 0;
  container-type: inline-size;
}

.pb-profile-lab-achievements-frame {
  inline-size: 100%;
  min-inline-size: 0;
  overflow: hidden;
  background: var(--pb-surface-card, #fff);
  border-block-end: var(--pb-border-lower, 1.5px solid rgba(44, 62, 80, 0.28));
  border-radius: var(--pb-radius-card, 8px);
  box-shadow: var(--pb-shadow-card, 0 7px 24px rgba(35, 53, 64, 0.08));
}

.pb-profile-lab-achievements-table {
  inline-size: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: var(--pb-color-title, #202a25);
  font: 400 15px/1.35 "Roboto Condensed", Roboto, sans-serif;
}

.pb-profile-lab-achievements-table th,
.pb-profile-lab-achievements-table td {
  block-size: 72px;
  padding: 10px 14px;
  border: 0;
  border-block-end: 1px solid rgba(153, 178, 166, 0.52);
  background: var(--pb-surface-card, #fff);
  text-align: start;
  vertical-align: middle;
}

.pb-profile-lab-achievements-table thead th {
  block-size: 52px;
  padding-block: 8px;
  color: #fff;
  background: var(--secondary, #202a25);
  font: 600 13px/1.2 Oswald, "Roboto Condensed", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pb-profile-lab-achievements-table tbody tr:nth-child(even) > * {
  background: #f5f7f6;
}

.pb-profile-lab-achievements-table tbody tr:hover > * {
  background: #edf2ef;
}

.pb-profile-lab-achievements-table tbody tr:last-child > * {
  border-block-end: 0;
}

.pb-profile-lab-achievements-table .pb-profile-achievement-col--icon {
  inline-size: 82px;
  padding-inline: 14px 8px;
  text-align: center;
}

.pb-profile-lab-achievements-table .pb-profile-achievement-col--title {
  inline-size: 38%;
}

.pb-profile-lab-achievements-table .pb-profile-achievement-col--tournament {
  inline-size: 24%;
}

.pb-profile-lab-achievements-table tbody .pb-profile-achievement-col--title {
  color: var(--secondary, #202a25);
  font: 600 16px/1.2 Oswald, "Roboto Condensed", sans-serif;
  text-transform: uppercase;
}

.pb-profile-lab-achievements-table tbody .pb-profile-achievement-col--tournament {
  color: #52625a;
  font-weight: 600;
}

.pb-profile-achievement-tournament {
  display: flex;
  align-items: center;
  gap: 10px;
  min-inline-size: 0;
}

.pb-profile-achievement-tournament-name {
  flex: 1 1 auto;
  min-inline-size: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-profile-achievement-count {
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 38px;
  min-block-size: 30px;
  padding: 5px 8px;
  overflow: hidden;
  color: var(--white, #fff);
  background: var(--secondary, #202a25);
  border: 1px solid rgba(32, 42, 37, 0.24);
  border-radius: 999px;
  box-shadow: inset 0 -2px var(--action, #f90), 0 3px 10px rgba(32, 42, 37, 0.09);
  font: 600 13px/1 Oswald, "Roboto Condensed", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pb-profile-achievement-icon,
.pb-profile-achievement-tournament-logo {
  display: grid;
  place-items: center;
  inline-size: 52px;
  block-size: 52px;
  padding: 5px;
  overflow: hidden;
  color: var(--secondary, #202a25);
  background: var(--white, #fff);
  border: 1px solid rgba(32, 42, 37, 0.12);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(32, 42, 37, 0.06);
}

.pb-profile-achievement-icon {
  margin-inline: auto;
}

.pb-profile-achievement-tournament-logo {
  flex: 0 0 52px;
}

.pb-profile-achievement-icon img,
.pb-profile-achievement-icon svg,
.pb-profile-achievement-tournament-logo img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  transition: transform 180ms ease, filter 180ms ease;
}

.pb-profile-achievement-icon img,
.pb-profile-achievement-tournament-logo img {
  filter: drop-shadow(0 1px 1px rgba(32, 42, 37, 0.16));
}

.pb-profile-achievement-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pb-profile-lab-achievements-table tbody tr:hover .pb-profile-achievement-icon img,
.pb-profile-lab-achievements-table tbody tr:hover .pb-profile-achievement-icon svg,
.pb-profile-lab-achievements-table tbody tr:hover .pb-profile-achievement-tournament-logo img {
  filter: drop-shadow(0 2px 3px rgba(32, 42, 37, 0.2));
  transform: translateY(-1px) scale(1.035);
}

.pb-profile-achievement-seasons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  inline-size: 100%;
}

.pb-profile-achievement-season {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 30px;
  padding: 5px 9px;
  color: var(--secondary, #202a25);
  background: var(--secondary-light, #d3ded9);
  border: 1px solid rgba(32, 42, 37, 0.14);
  border-radius: 999px;
  font: 600 12px/1.15 Oswald, "Roboto Condensed", sans-serif;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

a.pb-profile-achievement-season:is(:hover, :focus-visible) {
  color: var(--secondary, #202a25);
  background: #fff4e5;
  border-color: var(--action, #f90);
  transform: translateY(-1px);
}

a.pb-profile-achievement-season:focus-visible {
  outline: 2px solid var(--action, #f90);
  outline-offset: 2px;
}

.pb-profile-lab-achievements-empty {
  display: grid;
  justify-items: center;
  gap: var(--pb-heading-content-gap, 12px);
  inline-size: 100%;
  padding: clamp(20px, 3cqi, 32px);
  color: var(--pb-color-text, #17232d);
  background: var(--pb-surface-card, #fff);
  border: var(--pb-border-lower, 1.5px solid rgba(44, 62, 80, 0.28));
  border-radius: var(--pb-radius-card, 8px);
  box-shadow: var(--pb-shadow-card, 0 10px 28px rgba(32, 42, 37, 0.07));
  text-align: center;
}

.pb-profile-lab-achievements-empty > svg {
  inline-size: 48px;
  block-size: 48px;
  fill: none;
  stroke: var(--secondary, #202a25);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pb-profile-lab-achievements-empty h3,
.pb-profile-lab-achievements-empty p {
  margin: 0;
}

.pb-profile-lab-achievements-empty h3 {
  color: var(--pb-color-title, #202a25);
  font-family: Oswald, "Roboto Condensed", sans-serif;
  font-size: clamp(1.5rem, 3cqi, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.pb-profile-lab-achievements-empty p {
  max-inline-size: 54ch;
  color: var(--pb-color-muted, #61707b);
  font: 400 15px/1.45 "Roboto Condensed", Roboto, sans-serif;
}

@container (max-width: 751px) {
  .pb-profile-lab-achievements-frame {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .pb-profile-lab-achievements-table,
  .pb-profile-lab-achievements-table tbody {
    display: block;
    inline-size: 100%;
  }

  .pb-profile-lab-achievements-table thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .pb-profile-lab-achievements-table tbody {
    display: grid;
    gap: 10px;
  }

  .pb-profile-lab-achievements-table tbody tr {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    overflow: hidden;
    background: var(--white, #fff);
    border-block-end: var(--pb-border-lower, 1.5px solid rgba(44, 62, 80, 0.28));
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(35, 53, 64, 0.045);
  }

  .pb-profile-lab-achievements-table tbody tr > * {
    inline-size: auto !important;
    block-size: auto;
    min-inline-size: 0;
    padding: 10px 12px;
    background: var(--white, #fff) !important;
    border: 0;
  }

  .pb-profile-lab-achievements-table tbody .pb-profile-achievement-col--icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    padding: 10px;
    border-inline-end: 1px solid rgba(153, 178, 166, 0.52);
  }

  .pb-profile-lab-achievements-table tbody .pb-profile-achievement-col--title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    padding-block-end: 3px;
  }

  .pb-profile-lab-achievements-table tbody .pb-profile-achievement-col--tournament {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    padding-block: 4px 8px;
    color: #52625a;
    font-size: 13px;
  }

  .pb-profile-achievement-tournament {
    inline-size: 100%;
  }

  .pb-profile-lab-achievements-table tbody .pb-profile-achievement-col--tournament::before {
    content: none;
  }

  .pb-profile-lab-achievements-table tbody .pb-profile-achievement-col--seasons {
    grid-column: 1 / -1;
    grid-row: 3;
    padding: 10px 12px 12px;
    background: #f5f7f6 !important;
    border-block-start: 1px solid rgba(153, 178, 166, 0.52);
  }

  .pb-profile-lab-achievements-table tbody .pb-profile-achievement-col--seasons::before {
    content: attr(data-label);
    display: block;
    margin-block-end: 7px;
    color: #52625a;
    font: 600 10px/1.1 "Roboto Condensed", Roboto, sans-serif;
    letter-spacing: 0.045em;
    text-transform: uppercase;
  }

  .pb-profile-lab-achievements-table tbody tr:hover > * {
    background: var(--white, #fff) !important;
  }

  .pb-profile-lab-achievements-table tbody tr:hover > .pb-profile-achievement-col--seasons {
    background: #f5f7f6 !important;
  }
}

@container (max-width: 390px) {
  .pb-profile-lab-achievements-table tbody tr {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .pb-profile-achievement-icon,
  .pb-profile-achievement-tournament-logo {
    inline-size: 46px;
    block-size: 46px;
  }

  .pb-profile-achievement-tournament-logo {
    flex-basis: 46px;
  }

  .pb-profile-achievement-count {
    min-inline-size: 36px;
    min-block-size: 28px;
    padding-inline: 7px;
    font-size: 12px;
  }

  .pb-profile-lab-achievements-table tbody .pb-profile-achievement-col--title {
    padding-inline: 10px;
    font-size: 14px;
  }

  .pb-profile-lab-achievements-table tbody .pb-profile-achievement-col--tournament {
    padding-inline: 10px;
    font-size: 12px;
  }
}

/* Approved table component for standard and specialized FIBA statistics tables. */
.pb-player-profile-tournament-table {
  display: grid !important;
  gap: 0 !important;
  inline-size: 100%;
  min-inline-size: 0;
  overflow: visible;
  border-radius: 8px;
  box-shadow: 0 7px 24px rgba(35, 53, 64, 0.08);
}

body.pb-player-profile-lab .pb-player-profile-tournament-table > h3.pb-player-profile-tournament-heading {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-block-size: 64px;
  margin: 0 !important;
  padding: 8px 12px !important;
  color: #fff !important;
  background: #202a25 !important;
  border: 0 !important;
  border-block-end: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 8px 8px 0 0 !important;
  font: 600 clamp(20px, 2.1cqi, 26px)/1.05 Oswald, "Roboto Condensed", sans-serif !important;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.pb-player-profile-tournament-heading__logo {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  inline-size: 48px;
  block-size: 48px;
  padding: 6px;
  border: 1px solid rgba(32, 42, 37, 0.12);
  border-radius: 7px;
  background: #fff;
}

.pb-player-profile-tournament-heading__logo img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.pb-player-profile-tournament-heading__link {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 12px;
  min-inline-size: 0;
  color: inherit !important;
  text-decoration: none !important;
}

a.pb-player-profile-tournament-heading__link .pb-player-profile-tournament-heading__title {
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a.pb-player-profile-tournament-heading__link:is(:hover, :focus-visible) .pb-player-profile-tournament-heading__title {
  color: #f2c94c;
  text-decoration-color: currentColor;
}

a.pb-player-profile-tournament-heading__link:focus-visible {
  outline: 2px solid var(--action, #ff9900);
  outline-offset: 3px;
  border-radius: 5px;
}

.pb-player-profile-tournament-heading__title {
  min-inline-size: 0;
  text-wrap: balance;
}

.pb-player-profile-tournament-heading__toggle {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-inline-size: 112px;
  min-block-size: 44px;
  margin-inline-start: auto;
  padding: 8px 14px;
  border: 0;
  border-block-end: 1.5px solid rgba(32, 42, 37, 0.4);
  border-radius: 8px;
  color: #202a25;
  background: var(--action, #ff9900);
  box-shadow: 0 5px 14px rgba(17, 28, 23, 0.2);
  font: 600 14px/1 Oswald, "Roboto Condensed", sans-serif;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.pb-player-profile-tournament-heading__toggle::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.32) 50%, transparent 75%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%);
  animation: pb-player-profile-disclosure-sweep 4s ease-in-out infinite;
}

@keyframes pb-player-profile-disclosure-sweep {
  0% { transform: translateX(-110%); opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30%, 100% { transform: translateX(110%); opacity: 0; }
}

.pb-player-profile-tournament-heading__toggle:hover {
  background: #e88b00;
}

.pb-player-profile-tournament-heading__toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.pb-player-profile-stat-row--collapsed {
  display: none !important;
}

.pb-player-profile-stat-row--filtered,
.pb-player-profile-stat-section--filtered,
.pb-player-profile-stat-group--filtered {
  display: none !important;
}

.pb-player-profile-career-filters {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  inline-size: 100%;
  margin: 0 0 24px;
  padding: 30px 12px 20px;
  background: var(--secondary-light, #d3ded9);
  border: 0;
  border-block-end: 1.5px solid var(--secondary-semi-light, #99b2a6);
  border-radius: 8px;
}

.pb-player-profile-career-stack {
  container: pb-career-stack / inline-size;
}

.pb-player-profile-career-filters__field {
  display: grid;
  gap: 6px;
  min-inline-size: 0;
  margin: 0;
}

.pb-player-profile-career-filters__label {
  color: #17232d;
  font: 600 0.84rem/1.4 "Roboto Condensed", Roboto, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pb-player-profile-career-filters__control {
  position: relative;
  display: block;
  min-inline-size: 0;
}

.pb-player-profile-career-filters__control::after {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 17px;
  inline-size: 0;
  block-size: 0;
  border-inline: 5px solid transparent;
  border-block-start: 6px solid #17231f;
  content: "";
  pointer-events: none;
  transform: translateY(-25%);
}

.pb-player-profile-career-filters__select {
  display: block;
  inline-size: 100%;
  min-block-size: 57px;
  margin: 0;
  padding: 12px 42px 12px 12px;
  appearance: none;
  color: #17231f;
  background: #fff;
  border: 0;
  border-block-end: 1.5px solid var(--secondary-semi-light, #99b2a6);
  border-radius: 8px;
  font: 600 15px/1.15 Oswald, "Roboto Condensed", sans-serif;
  text-transform: uppercase;
}

.pb-player-profile-career-filters__select option {
  font-family: Oswald, "Roboto Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.pb-player-profile-career-filters__select:focus-visible {
  outline: 2px solid var(--action, #ff9900);
  outline-offset: 2px;
}

.pb-player-profile-tournament-heading__toggle[hidden] {
  display: none !important;
}

.pb-player-profile-career-filters__status {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@container pb-career-stack (min-width: 420px) {
  .pb-player-profile-career-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pb-player-profile-career-filters__field:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@container pb-career-stack (min-width: 720px) {
  .pb-player-profile-career-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pb-player-profile-career-filters__field:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 419.99px) {
  .pb-player-profile-career-filters {
    margin-block-end: 16px;
    padding: 20px 12px 16px;
  }
}

@media (max-width: 751.5px) {
  .pb-player-profile-section-heading__filter-toggle:not([hidden]) {
    display: inline-flex;
  }

  .pb-player-profile-career-filters--mobile-collapsible:not(.is-mobile-open) {
    display: none;
  }
}

.pb-player-profile-stat-table__wrapper {
  inline-size: 100%;
  min-inline-size: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: none !important;
}

.pb-player-profile-stat-table__scroll {
  position: relative;
  max-inline-size: 100%;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border-block-end: 1.5px solid var(--secondary-semi-light, #99b2a6);
  border-radius: 0 0 8px 8px !important;
  background: #fff;
  scrollbar-gutter: auto;
}

.pb-player-profile-stat-table {
  --pb-profile-season-w: 68px;
  --pb-profile-team-w: 120px;
  --pb-profile-metric-w: 72px;
  --pb-profile-metric-total: 936px;
  --secondary-light: #f5f7f6;
  inline-size: 100% !important;
  min-inline-size: calc(var(--pb-profile-season-w) + var(--pb-profile-team-w) + var(--pb-profile-metric-total)) !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  color: #202a25 !important;
  font: 400 15px/1.35 "Roboto Condensed", Roboto, sans-serif !important;
}

.pb-player-profile-stat-table.pb-player-profile-stat-table--fiba {
  --pb-profile-tournament-w: 176px;
  --pb-profile-metric-w: 60px;
  min-inline-size: calc(var(--pb-profile-season-w) + var(--pb-profile-team-w) + var(--pb-profile-tournament-w) + var(--pb-profile-metric-total)) !important;
}

.pb-player-profile-stat-table th,
.pb-player-profile-stat-table td {
  box-sizing: border-box !important;
  block-size: 64px !important;
  padding: 8px 12px !important;
  border: 0 !important;
  border-block-end: 1px solid rgba(153, 178, 166, 0.52) !important;
  background: #fff !important;
  color: #202a25 !important;
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

.pb-player-profile-stat-table tbody td {
  font: 400 15px/1.35 "Roboto Condensed", Roboto, sans-serif !important;
}

.pb-player-profile-stat-table thead th {
  position: relative;
  z-index: 4;
  block-size: 48px !important;
  background: #202a25 !important;
  color: #fff !important;
  font: 600 13px/1.2 Oswald, "Roboto Condensed", sans-serif !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.pb-player-profile-lab table.pb-player-profile-stat-table tbody > tr.pb-player-profile-stat-data-row:nth-child(even) > :is(th, td) {
  background-color: #f5f7f6 !important;
  background-image: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body.pb-player-profile-lab table.pb-player-profile-stat-table tbody > tr.pb-player-profile-stat-data-row:hover > :is(th, td) {
    background-color: #edf2ef !important;
    background-image: none !important;
  }
}

.pb-player-profile-stat-table tbody tr:last-child > * {
  border-block-end: 0 !important;
}

.pb-player-profile-stat-table :is(th, td):nth-child(1) {
  position: sticky !important;
  inset-inline-start: 0;
  inline-size: var(--pb-profile-season-w) !important;
  min-inline-size: var(--pb-profile-season-w) !important;
  max-inline-size: var(--pb-profile-season-w) !important;
  font-variant-numeric: tabular-nums;
}

.pb-player-profile-stat-table tbody :is(th, td):nth-child(1) {
  font: 500 15px/1.2 Oswald, "Roboto Condensed", sans-serif !important;
}

.pb-player-profile-stat-table :is(th, td):nth-child(2) {
  position: sticky !important;
  inset-inline-start: var(--pb-profile-season-w);
  inline-size: var(--pb-profile-team-w) !important;
  min-inline-size: var(--pb-profile-team-w) !important;
  max-inline-size: var(--pb-profile-team-w) !important;
  text-align: start !important;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 12px 0 15px -15px rgba(32, 42, 37, 0.7);
}

.pb-player-profile-stat-table tbody :is(th, td):nth-child(2) {
  font: 600 15px/1.15 Oswald, "Roboto Condensed", sans-serif !important;
}

.pb-player-profile-stat-team-link {
  display: block;
  inline-size: 100%;
  min-inline-size: 0;
  overflow: hidden;
  color: inherit !important;
  text-decoration-line: underline !important;
  text-decoration-color: rgba(32, 42, 37, 0.22) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.pb-player-profile-stat-team-link:is(:hover, :focus-visible) {
  color: #b94c00 !important;
  text-decoration-color: currentColor !important;
}

.pb-player-profile-stat-team-link:focus-visible {
  outline: 2px solid var(--action, #ff9900);
  outline-offset: 2px;
  border-radius: 3px;
}

body.pb-player-profile-lab table.pb-player-profile-stat-table--fiba :is(th, td).pb-player-profile-stat-col--tournament {
  inline-size: var(--pb-profile-tournament-w) !important;
  min-inline-size: var(--pb-profile-tournament-w) !important;
  max-inline-size: var(--pb-profile-tournament-w) !important;
  text-align: start !important;
  white-space: normal !important;
  overflow: hidden;
}

body.pb-player-profile-lab table.pb-player-profile-stat-table--fiba tbody td.pb-player-profile-stat-col--tournament {
  font: 600 14px/1.12 Oswald, "Roboto Condensed", sans-serif !important;
  text-transform: uppercase;
}

.pb-player-profile-fiba-tournament__label,
.pb-player-profile-fiba-tournament__detail {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-player-profile-fiba-tournament__detail {
  margin-block-start: 3px;
  color: #617068;
  font: 500 12px/1.1 "Roboto Condensed", Roboto, sans-serif !important;
  letter-spacing: 0.01em;
  text-transform: none;
}

.pb-player-profile-fiba-sort {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  inline-size: 100%;
  min-block-size: 32px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.pb-player-profile-fiba-sort__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 18px;
  margin-inline-start: 6px;
  color: #f2c94c;
  font-size: 15px;
  line-height: 1;
}

.pb-player-profile-fiba-sort:focus-visible {
  outline: 2px solid var(--action, #ff9900);
  outline-offset: 3px;
  border-radius: 3px;
}

.pb-player-profile-stat-table tbody :is(th, td):nth-child(-n + 2) {
  z-index: 2;
}

.pb-player-profile-stat-table thead :is(th, td):nth-child(-n + 2) {
  z-index: 6;
  background: #202a25 !important;
}

body.pb-player-profile-lab table.pb-player-profile-stat-table tbody > tr.pb-player-profile-stat-data-row:nth-child(even) > :is(th, td):nth-child(-n + 2) {
  background-color: #f5f7f6 !important;
  background-image: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body.pb-player-profile-lab table.pb-player-profile-stat-table tbody > tr.pb-player-profile-stat-data-row:hover > :is(th, td):nth-child(-n + 2) {
    background-color: #edf2ef !important;
    background-image: none !important;
  }
}

.pb-player-profile-stat-table tbody .pb-player-profile-stat-col--numeric,
.pb-player-profile-stat-table tbody td:nth-child(n + 3) {
  inline-size: var(--pb-profile-metric-w) !important;
  min-inline-size: var(--pb-profile-metric-w) !important;
  max-inline-size: var(--pb-profile-metric-w) !important;
  font: 500 15px/1.2 Oswald, "Roboto Condensed", sans-serif !important;
  font-variant-numeric: tabular-nums;
}

.pb-player-profile-stat-table thead th.pb-player-profile-stat-col--points {
  color: #f2c94c !important;
}

.pb-player-profile-stat-table tbody td.pb-player-profile-stat-col--points {
  color: #d35400 !important;
  font-weight: 700 !important;
}

.pb-player-profile-stat-table td[data-pb-shot-detail] {
  cursor: help;
}

.pb-player-profile-shot-tooltip {
  position: fixed;
  z-index: 2147483000;
  max-inline-size: calc(100vw - 16px);
  padding: 7px 10px;
  color: #fff;
  background: var(--secondary, #202a25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(17, 28, 23, 0.24);
  font: 600 14px/1.15 Oswald, "Roboto Condensed", sans-serif;
  letter-spacing: 0.025em;
  white-space: nowrap;
  pointer-events: none;
}

.pb-player-profile-shot-tooltip[hidden] {
  display: none !important;
}

.pb-player-profile-stat-table td[data-pb-shot-detail]:focus-visible {
  box-shadow: inset 0 0 0 2px var(--action, #ff9900);
}

.pb-player-profile-stat-table :is(th, td).pb-player-profile-stat-col--numeric,
.pb-player-profile-stat-table :is(th, td):nth-child(n + 3) {
  inline-size: var(--pb-profile-metric-w) !important;
  min-inline-size: var(--pb-profile-metric-w) !important;
  max-inline-size: var(--pb-profile-metric-w) !important;
}

body.pb-player-profile-lab table.pb-player-profile-stat-table .totals-row > :is(th, td) {
  border-block-start: 1px solid var(--secondary-semi-light, #99b2a6) !important;
  background-color: #d3ded9 !important;
  background-image: none !important;
  color: #202a25 !important;
  font: 600 14px/1.2 Oswald, "Roboto Condensed", sans-serif !important;
  font-variant-numeric: tabular-nums;
}

body.pb-player-profile-lab table.pb-player-profile-stat-table .totals-row > :is(th, td).pb-player-profile-stat-col--points {
  color: #d35400 !important;
}

.pb-player-profile-stat-table .totals-row > * :is(strong, span) {
  font: inherit !important;
}

body.pb-player-profile-lab table.pb-player-profile-stat-table .totals-row:hover > :is(th, td) {
  background-color: #d3ded9 !important;
  background-image: none !important;
}

.pb-player-profile-stat-table .totals-row > .pb-player-profile-stat-total-label {
  position: sticky !important;
  z-index: 3;
  inset-inline-start: 0 !important;
  inline-size: calc(var(--pb-profile-season-w) + var(--pb-profile-team-w)) !important;
  min-inline-size: calc(var(--pb-profile-season-w) + var(--pb-profile-team-w)) !important;
  max-inline-size: calc(var(--pb-profile-season-w) + var(--pb-profile-team-w)) !important;
  padding-inline: 12px !important;
  font: 600 14px/1.2 Oswald, "Roboto Condensed", sans-serif !important;
  text-align: end !important;
  text-transform: uppercase;
  box-shadow: 12px 0 15px -15px rgba(32, 42, 37, 0.7);
}

.pb-player-profile-stat-table .totals-row > .pb-player-profile-stat-col--numeric {
  position: static !important;
  inset-inline-start: auto !important;
  inline-size: var(--pb-profile-metric-w) !important;
  min-inline-size: var(--pb-profile-metric-w) !important;
  max-inline-size: var(--pb-profile-metric-w) !important;
  font: 600 14px/1.2 Oswald, "Roboto Condensed", sans-serif !important;
  text-align: center !important;
  text-transform: none;
}

@media (max-width: 991px) {
  .pb-player-profile-stat-table {
    --pb-profile-season-w: 60px;
    --pb-profile-team-w: 112px;
    inline-size: 100% !important;
    min-inline-size: calc(var(--pb-profile-season-w) + var(--pb-profile-team-w) + var(--pb-profile-metric-total)) !important;
    font-size: 14px !important;
  }

  .pb-player-profile-stat-table th,
  .pb-player-profile-stat-table td {
    padding-inline: 8px !important;
  }

  .pb-player-profile-stat-table tbody .pb-player-profile-stat-col--numeric,
  .pb-player-profile-stat-table tbody td:nth-child(n + 3) {
    inline-size: var(--pb-profile-metric-w) !important;
    min-inline-size: var(--pb-profile-metric-w) !important;
    max-inline-size: var(--pb-profile-metric-w) !important;
    font-size: 14px !important;
  }

  .pb-player-profile-stat-table .totals-row > .pb-player-profile-stat-col--numeric {
    font-size: 14px !important;
  }

  .pb-player-profile-stat-table.pb-player-profile-stat-table--fiba {
    --pb-profile-tournament-w: 172px;
    --pb-profile-metric-w: 64px;
    min-inline-size: calc(var(--pb-profile-season-w) + var(--pb-profile-team-w) + var(--pb-profile-tournament-w) + var(--pb-profile-metric-total)) !important;
  }
}

@media (max-width: 439.99px) {
  .pb-player-profile-stat-table {
    --pb-profile-team-w: 108px;
  }


  .pb-player-profile-stat-table.pb-player-profile-stat-table--fiba {
    --pb-profile-tournament-w: 160px;
  }
}

/* Stage 10: editorial player media library, isolated to the profile lab. */
body.pb-player-profile-lab .pb-player-profile-video-panel {
  container: player-profile-video / inline-size;
  inline-size: 100%;
}

body.pb-player-profile-lab .pb-player-profile-video-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)) !important;
  align-items: stretch !important;
  gap: 16px !important;
  inline-size: 100% !important;
  margin: 0 !important;
  padding: 0 0 2px !important;
  list-style: none !important;
}

body.pb-player-profile-lab .pb-player-video-card {
  position: relative !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  min-inline-size: 0 !important;
  min-block-size: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #17232d !important;
  background: var(--pb-lab-card) !important;
  border: 1px solid rgba(32, 42, 37, 0.12) !important;
  border-block-end: 1.5px solid var(--pb-lab-brand) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 22px rgba(17, 28, 23, 0.08) !important;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease !important;
}

body.pb-player-profile-lab .pb-player-video-card__media {
  position: relative !important;
  z-index: 1;
  display: block !important;
  grid-row: 1 !important;
  inline-size: 100% !important;
  aspect-ratio: 16 / 9;
  min-block-size: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--pb-lab-brand) !important;
}

body.pb-player-profile-lab .pb-player-video-card__figure {
  display: block !important;
  inline-size: 100% !important;
  block-size: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.pb-player-profile-lab .pb-player-video-card__image {
  display: block !important;
  inline-size: 100% !important;
  block-size: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  transform: scale(1.001);
  transition: transform 240ms ease, filter 240ms ease !important;
}

body.pb-player-profile-lab .pb-player-video-card__media > .brxe-nxdqmq {
  display: none !important;
}

body.pb-player-profile-lab .pb-player-video-card__body {
  position: static !important;
  z-index: 2;
  display: block !important;
  grid-row: 2 !important;
  inline-size: 100% !important;
  min-inline-size: 0 !important;
  min-block-size: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  transform: none !important;
}

body.pb-player-profile-lab .pb-player-video-card__copy {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 5px !important;
  block-size: 100% !important;
  min-block-size: 126px !important;
  margin: 0 !important;
  padding: 12px 14px 14px !important;
  color: #17232d !important;
  background: var(--pb-lab-card) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

body.pb-player-profile-lab .pb-player-video-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-inline-size: 0;
}

body.pb-player-profile-lab .pb-player-video-card__type {
  position: absolute !important;
  inset-block-start: 10px !important;
  inset-inline-start: 10px !important;
  z-index: 4;
  display: block !important;
  max-inline-size: calc(100% - 78px) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  transform: none !important;
}

body.pb-player-profile-lab .pb-player-video-card__type > div,
body.pb-player-profile-lab .pb-player-video-card__type p {
  margin: 0 !important;
}

body.pb-player-profile-lab .pb-player-video-card__type a {
  display: inline-flex !important;
  align-items: center;
  min-block-size: 34px;
  max-inline-size: 100%;
  padding: 5px 9px;
  overflow: hidden;
  color: #fff !important;
  background: var(--pb-lab-brand) !important;
  border-radius: 6px;
  font-family: "Roboto Condensed", Roboto, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.025em;
  text-decoration: none !important;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body.pb-player-profile-lab .pb-player-video-card__date {
  display: none !important;
}

body.pb-player-profile-lab .pb-player-video-card__context {
  position: relative;
  z-index: 0;
  order: 3;
  margin: 1px 0 0 !important;
  color: #617069;
  font-family: "Roboto Condensed", Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

body.pb-player-profile-lab .pb-player-video-card__context[hidden] {
  display: none !important;
}

body.pb-player-profile-lab .pb-player-video-card__category,
body.pb-player-profile-lab .pb-player-video-card__category p {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.pb-player-profile-lab .pb-player-video-card__category {
  position: relative !important;
  z-index: 3;
  order: 1;
}

body.pb-player-profile-lab .pb-player-video-card__category a {
  color: #3f6354 !important;
  font-family: "Roboto Condensed", Roboto, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

body.pb-player-profile-lab .pb-player-video-card__category a:hover,
body.pb-player-profile-lab .pb-player-video-card__category a:focus-visible {
  color: var(--pb-lab-focus) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

body.pb-player-profile-lab .pb-player-video-card__title {
  position: static !important;
  display: -webkit-box !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #17232d !important;
  font-family: Oswald, "Roboto Condensed", sans-serif !important;
  font-size: clamp(18px, 1.55vw, 21px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  order: 2;
}

body.pb-player-profile-lab .pb-player-video-card__title a {
  position: static !important;
  color: inherit !important;
  text-decoration: none !important;
}

body.pb-player-profile-lab .pb-player-video-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 0 0 8px 8px;
}

body.pb-player-profile-lab .pb-player-video-card__title a:focus-visible {
  outline: none;
}

body.pb-player-profile-lab .pb-player-video-card__title a:focus-visible::after {
  outline: 3px solid var(--pb-lab-focus);
  outline-offset: -4px;
}

body.pb-player-profile-lab .pb-player-video-card__play,
body.pb-player-profile-lab .pb-player-video-card__favorite {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 48px;
  min-inline-size: 48px;
  block-size: 48px;
  min-block-size: 48px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

body.pb-player-profile-lab .pb-player-video-card__play {
  inset-block-start: 50%;
  inset-inline-start: 50%;
  color: var(--pb-lab-focus) !important;
  background: rgba(32, 42, 37, 0.52) !important;
  border: 1.5px solid rgba(255, 153, 0, 0.94);
  box-shadow: 0 8px 24px rgba(17, 28, 23, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-decoration: none !important;
  transform: translate(-50%, -50%);
}

body.pb-player-profile-lab .pb-player-video-card__favorite {
  inset-block-start: 10px;
  inset-inline-end: 10px;
  color: #fff;
  background: rgba(32, 42, 37, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 5px 16px rgba(17, 28, 23, 0.22);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

body.pb-player-profile-lab .pb-player-video-card__play svg,
body.pb-player-profile-lab .pb-player-video-card__favorite svg {
  inline-size: 24px;
  block-size: 24px;
}

body.pb-player-profile-lab .pb-player-video-card__play path {
  fill: currentColor;
}

body.pb-player-profile-lab .pb-player-video-card__favorite path {
  fill: transparent;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body.pb-player-profile-lab .pb-player-video-card__favorite.is-active {
  color: var(--pb-lab-focus);
  background: #fff;
  border-color: #fff;
}

body.pb-player-profile-lab .pb-player-video-card__favorite.is-active path {
  fill: currentColor;
}

body.pb-player-profile-lab .pb-player-video-card__favorite:disabled {
  cursor: wait;
  opacity: 0.64;
}

body.pb-player-profile-lab .pb-player-video-card__play:focus-visible,
body.pb-player-profile-lab .pb-player-video-card__favorite:focus-visible,
body.pb-player-profile-lab .pb-player-video-slider-controls__button:focus-visible {
  outline: 3px solid var(--pb-lab-focus);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  body.pb-player-profile-lab .pb-player-video-card:hover {
    border-color: rgba(32, 42, 37, 0.24) !important;
    box-shadow: 0 12px 28px rgba(17, 28, 23, 0.13) !important;
    transform: translateY(-1px);
  }

  body.pb-player-profile-lab .pb-player-video-card:hover .pb-player-video-card__image {
    filter: saturate(1.04) contrast(1.02);
    transform: scale(1.025);
  }

  body.pb-player-profile-lab .pb-player-video-card__play:hover {
    color: var(--pb-lab-brand) !important;
    background: var(--pb-lab-focus) !important;
    border-color: var(--pb-lab-focus);
    transform: translate(-50%, -50%) scale(1.06);
  }

  body.pb-player-profile-lab .pb-player-video-card:hover .pb-player-video-card__play {
    color: var(--pb-lab-brand) !important;
    background: var(--pb-lab-focus) !important;
    border-color: var(--pb-lab-focus);
  }

  body.pb-player-profile-lab .pb-player-video-card__favorite:not(:disabled):hover {
    color: var(--pb-lab-brand);
    background: #fff;
  }

  body.pb-player-profile-lab .pb-player-video-card__favorite.is-active:not(:disabled):hover {
    color: var(--pb-lab-focus);
  }
}

body.pb-player-profile-lab .pb-player-video-card__play:focus-visible {
  color: var(--pb-lab-brand) !important;
  background: var(--pb-lab-focus) !important;
  border-color: var(--pb-lab-focus);
}

body.pb-player-profile-lab .pb-player-video-slider-controls {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 10px;
}

body.pb-player-profile-lab .pb-player-profile-section-heading__row > .pb-player-video-slider-controls {
  flex: 0 0 auto;
  inline-size: auto;
  margin: 0 !important;
}

body.pb-player-profile-lab .pb-player-video-slider-controls[hidden] {
  display: none !important;
}

body.pb-player-profile-lab .pb-player-video-slider-controls__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  min-inline-size: 44px;
  block-size: 44px;
  min-block-size: 44px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: var(--pb-lab-brand);
  border: 1px solid var(--pb-lab-brand);
  border-radius: 8px;
  cursor: pointer;
}

body.pb-player-profile-lab .pb-player-video-slider-controls__button svg {
  inline-size: 22px;
  block-size: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

body.pb-player-profile-lab .pb-player-video-slider-controls__button:disabled {
  color: #718078;
  background: var(--pb-lab-soft);
  border-color: rgba(32, 42, 37, 0.1);
  cursor: default;
  opacity: 0.66;
}

@media (max-width: 900px) {
  body.pb-player-profile-lab .pb-player-video-slider-controls {
    display: flex;
  }

  body.pb-player-profile-lab .pb-player-profile-video-grid {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    padding-block-end: 8px !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: 0;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  body.pb-player-profile-lab .pb-player-profile-video-grid::-webkit-scrollbar {
    display: none;
  }

  body.pb-player-profile-lab .pb-player-profile-video-grid > .pb-video-card {
    flex: 0 0 min(360px, calc((100% - 12px) / 2)) !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 580px) {
  body.pb-player-profile-lab .pb-player-video-slider-controls {
    margin-block-end: 8px;
  }

  body.pb-player-profile-lab .pb-player-profile-video-grid > .pb-video-card {
    flex-basis: min(88%, 340px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.pb-player-profile-lab .pb-player-profile-video-grid {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Stage 9.4: resilient rating total and permanent methodology action. */
.pb-player-profile-section-heading__rating-method {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  min-block-size: 44px;
  max-inline-size: 100%;
  padding: 8px 14px;
  overflow: hidden;
  color: var(--secondary, #202a25);
  background: var(--action, #ff9900);
  border: 0;
  border-block-end: 1.5px solid rgba(32, 42, 37, 0.4);
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(17, 28, 23, 0.2);
  font: 600 14px/1 Oswald, "Roboto Condensed", sans-serif;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.pb-player-profile-section-heading__rating-method[hidden] {
  display: none !important;
}

.pb-player-profile-section-heading__rating-method > * {
  position: relative;
  z-index: 1;
}

.pb-player-profile-section-heading__rating-method svg {
  inline-size: 18px;
  block-size: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pb-player-profile-section-heading__rating-method::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.34) 50%, transparent 75%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%);
  animation: pb-player-profile-disclosure-sweep 4s ease-in-out infinite;
}

.pb-player-profile-section-heading__rating-method:hover {
  color: var(--secondary, #202a25);
  background: #e88b00;
}

.pb-player-profile-section-heading__rating-method:focus-visible {
  outline: 2px solid var(--pb-lab-focus, #ff9900);
  outline-offset: 2px;
}

body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total {
  display: table-row !important;
}

body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td.pb-player-profile-rating-total__cell {
  position: relative;
  display: table-cell !important;
  block-size: clamp(68px, 7cqi, 88px);
  padding: 12px 16px !important;
  overflow: hidden;
  isolation: isolate;
  font: inherit !important;
}

.pb-player-profile-rating-total__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 3cqi, 28px);
  inline-size: 100%;
  min-inline-size: 0;
}

.pb-player-profile-rating-total__label {
  min-inline-size: 0;
  color: #fff;
  font: 700 clamp(16px, 2.2cqi, 20px)/1.1 Oswald, "Roboto Condensed", sans-serif;
  letter-spacing: 0.035em;
  text-align: end;
  text-transform: uppercase;
}

.pb-player-profile-rating-total__value {
  min-inline-size: max-content;
  color: #fff;
  font: 700 clamp(30px, 6.5cqi, 42px)/1 Oswald, "Roboto Condensed", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.015em;
  text-align: end;
  white-space: nowrap;
}

@container player-profile-rating (max-width: 423.5px) {
  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td.pb-player-profile-rating-total__cell {
    padding-inline: clamp(10px, 3.75cqi, 14px) !important;
  }

  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td.pb-player-profile-rating-total__cell::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.20) 50%, transparent 75%);
    content: "";
    opacity: 0;
    pointer-events: none;
    transform: translateX(-110%);
    animation: pb-player-profile-disclosure-sweep 4s ease-in-out infinite;
  }

  .pb-player-profile-rating-total__content {
    gap: clamp(8px, 2.5cqi, 12px);
  }

  .pb-player-profile-rating-total__label {
    font-size: clamp(14px, 4.45cqi, 18px);
    letter-spacing: 0.025em;
  }

  .pb-player-profile-rating-total__value {
    font-size: clamp(28px, 9cqi, 34px);
  }
}

@media (max-width: 423.5px) {
  .pb-player-profile-section-heading__row {
    gap: 8px;
  }

  .pb-player-profile-section-heading__rating-method {
    gap: 6px;
    min-inline-size: 0;
    padding-inline: clamp(9px, 3vw, 12px);
    font-size: clamp(11px, 3.25vw, 13px);
    letter-spacing: 0.02em;
  }

  .pb-player-profile-section-heading__rating-method svg {
    inline-size: 16px;
    block-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pb-player-profile-section-heading__rating-method::after,
  body.pb-player-profile-lab table.pb-player-profile-rating-table tbody > tr.pb-player-profile-rating-total > td.pb-player-profile-rating-total__cell::after {
    animation: none;
  }
}

@media (max-width: 620px) {
  .pb-player-profile-tournament-heading {
    min-block-size: 56px;
    gap: 10px;
    padding: 7px 10px !important;
    font-size: 19px !important;
  }

  .pb-player-profile-tournament-heading__logo {
    flex-basis: 42px;
    inline-size: 42px;
    block-size: 42px;
    padding: 5px;
  }

  .pb-player-profile-tournament-heading__link {
    gap: 10px;
  }
}

@media (max-width: 359.98px) {
  body.pb-player-profile-lab .pb-player-profile-tournament-table > h3.pb-player-profile-tournament-heading {
    gap: 7px;
    padding-inline: 7px !important;
  }

  .pb-player-profile-tournament-heading__logo {
    flex-basis: 40px;
    inline-size: 40px;
    block-size: 40px;
  }

  .pb-player-profile-tournament-heading__link {
    gap: 7px;
  }

  .pb-player-profile-tournament-heading__title {
    min-inline-size: 0;
    font-size: clamp(14px, 4.25vw, 16px);
    line-height: 1.05;
    letter-spacing: 0.015em;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .pb-player-profile-tournament-heading__toggle {
    min-inline-size: 76px;
    min-block-size: 44px;
    padding-inline: 6px;
    font-size: 11px;
    letter-spacing: 0.015em;
  }

  .pb-player-profile-tournament-table--disclosure .pb-player-profile-tournament-heading__title {
    font-size: clamp(12px, 4vw, 14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pb-player-profile-tournament-heading__toggle {
    transition: none;
  }

  .pb-player-profile-tournament-heading__toggle::after {
    animation: none;
  }

  .pb-player-profile-section-heading__filter-toggle::after {
    animation: none;
  }
}

.pb-profile-lab-achievements-placeholder p {
  max-inline-size: 68ch;
  color: var(--pb-color-muted, #61707b);
  font-family: "Roboto Condensed", Roboto, sans-serif;
  font-size: clamp(0.95rem, 1.5cqi, 1.05rem);
  line-height: 1.45;
}

@media (max-width: 478px) {
  .pb-profile-lab-hero__face > .pb-player-profile-lab__hero-card {
    padding-block-start: 0;
  }
}

/* Preserve the complete tablet card until the intentional compact breakpoint. */
@media (min-width: 752px) and (max-width: 767.99px) {
  .pb-profile-lab-hero__face.pb-rating-refined {
    --pb-refine-padding: 16px;
  }

  .pb-profile-lab-hero__face .brxe-onylvs {
    display: grid !important;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr) !important;
    max-inline-size: 640px !important;
    padding: 0 12px 0 0 !important;
    background: var(--pb-lab-soft) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
  }

  .pb-profile-lab-hero__face .brxe-mmdpya {
    display: flex !important;
  }

  .pb-profile-lab-hero__face .brxe-yysqcx {
    min-block-size: 300px !important;
    border: 0 !important;
    border-inline-end: 1px solid var(--white, #fff) !important;
    border-radius: 8px 0 0 8px !important;
  }

  .pb-profile-lab-hero__face .brxe-kyqlhd,
  .pb-profile-lab-hero__face .brxe-ojhuml,
  .pb-profile-lab-hero__face .brxe-xzdzej {
    display: none !important;
  }

  .pb-profile-lab-hero__face .brxe-kixiba,
  .pb-profile-lab-hero__face .brxe-ywrqrt {
    display: block !important;
    line-height: var(--pb-refine-identity-row) !important;
  }

  .pb-profile-lab-hero__face .brxe-rkkjpx {
    padding: var(--pb-refine-identity-inset) 12px 12px !important;
  }
}

@container rating-header (min-width: 423.51px) and (max-width: 751.5px) {
  .pb-profile-lab-hero__face .brxe-xzdzej {
    display: none !important;
  }

  .pb-profile-lab-hero__face .brxe-kixiba,
  .pb-profile-lab-hero__face .brxe-ywrqrt {
    display: block !important;
  }
}

@container rating-header (max-width: 423.5px) {
  .pb-profile-lab-hero__face .brxe-dkuayg,
  .pb-profile-lab-hero__face .brxe-kixiba,
  .pb-profile-lab-hero__face .brxe-ywrqrt,
  .pb-profile-lab-hero__face .brxe-xzdzej {
    display: none !important;
  }

  .pb-player-profile-actions {
    inset-block: 6px auto;
    inset-inline: auto 6px;
    flex-direction: column;
    gap: 8px;
  }

  .pb-player-profile-actions .pb-player-profile-share {
    inset-block: 0 auto;
    inset-inline: auto calc(100% + 8px);
    inline-size: min(280px, calc(100vw - 96px));
  }
}

@media (max-width: 439.99px) {
  .pb-profile-lab-hero {
    padding-block-end: 0;
  }

  .pb-player-profile-lab-tabs-ready #brxe-wyjggh {
    padding-block-start: 8px !important;
  }

  .pb-player-profile-actions .pb-team-action,
  .pb-player-profile-actions #brxe-fvp001,
  .pb-player-profile-actions #brxe-fvp001 .pb-favorite-control,
  .pb-player-profile-actions #brxe-fvp001 .pb-favorite-button {
    inline-size: 40px;
    min-inline-size: 40px;
    block-size: 40px;
    min-block-size: 40px;
  }
}
