body {
  background: #fff;
  color: #000;
}

.team-page {
  padding: 28px 36px 80px;
  max-width: 1180px;
}

.team-page a {
  color: inherit;
}

.team-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 32px 36px 28px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(90deg, var(--team-primary) 0%, var(--team-primary) 62%, #111 100%);
  isolation: isolate;
}

.team-hero--visual {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .50) 0%, rgba(10, 10, 10, 0) 26%, rgba(10, 10, 10, 0) 54%, rgba(10, 10, 10, .72) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, .22) 44%, rgba(10, 10, 10, 0) 68%),
    var(--team-hero-image) center / cover no-repeat,
    #0a0a0a;
}

.team-hero--visual .team-hero__stripes {
  display: none;
}

.team-hero__stripes {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.34;
  pointer-events: none;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 28px,
    rgba(255, 255, 255, 0.08) 28px 56px
  );
}

.team-hero__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.76);
  text-transform: uppercase;
}

.team-crumbs a,
.team-crumbs span {
  color: inherit;
  text-decoration: none;
}

.team-crumbs a:hover,
.team-crumbs .here {
  color: var(--team-secondary);
}

.team-crumbs .sep {
  margin: 0 8px;
  opacity: 0.42;
}

.team-hero__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.team-hero__body > div:nth-child(2) {
  container-type: inline-size;
  min-width: 0;
}

.team-mark {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  width: 132px;
  height: 132px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 0 0 4px #fff;
}

.team-mark span:nth-child(1) {
  background: var(--team-tertiary);
}

.team-mark span:nth-child(2) {
  background: var(--team-secondary);
}

.team-mark span:nth-child(3) {
  background: var(--team-primary);
}

.team-mark--visual {
  display: block;
  background: #111;
}

.team-mark__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-hero__name {
  max-width: 760px;
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--fc-font-display);
  font-size: clamp(40px, 8cqw, 76px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.team-hero__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--fc-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-hero__sub b {
  color: var(--team-secondary);
}

.team-hero__sub a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.team-hero__sub a:hover {
  color: var(--team-secondary);
}

.team-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.btn-play-all,
.btn-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 999px;
  font-family: var(--fc-font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-play-all {
  border: 0;
  padding: 14px 22px;
  color: var(--team-primary);
  background: var(--team-secondary);
}

.btn-play-all:hover {
  background: #fff;
}

.btn-follow {
  border: 1.5px solid rgba(255, 255, 255, 0.62);
  padding: 10px 18px;
  color: #fff;
  background: transparent;
}

.btn-follow:hover {
  color: var(--team-primary);
  background: #fff;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 18px;
  padding: 20px 24px;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fff;
}

.stat-strip__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-strip__label {
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--fc-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.stat-strip__value {
  color: #171717;
  font-family: var(--fc-font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.stat-strip__cell:nth-child(3) .stat-strip__value,
.stat-strip__cell:nth-child(4) .stat-strip__value {
  color: #171717;
}

.stat-strip__cell:nth-child(5) .stat-strip__value {
  color: #171717;
}

.team-section {
  margin-top: 36px;
}

.team-section--flush {
  margin-top: 0;
}

.team-section__hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.team-section__hd h2 {
  margin: 0;
  font-family: var(--fc-font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.team-section__hd p {
  margin: 5px 0 0;
  color: rgba(0, 0, 0, 0.56);
  font-size: 13px;
  line-height: 1.4;
}

.team-more {
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--fc-bubblegum);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

/* FAN-581 (A11Y-M07): white text on bubblegum was 2.57:1, fails AA 4.5:1 —
   ink reaches 8.16:1. */
.team-more:hover {
  color: var(--fc-black);
  background: var(--fc-bubblegum);
}

.team-rail-row {
  align-items: flex-end;
  margin: 0 0 16px;
}

.team-rail-row h2 {
  margin: 0;
  color: var(--fc-black);
  font-family: var(--fc-font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.team-rail-row p {
  margin: 5px 0 0;
  color: rgba(0, 0, 0, 0.56);
  font-size: 13px;
  line-height: 1.4;
}

.team-rail-row--flush {
  margin-top: 0;
}

.team-mini-card {
  overflow: hidden;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fff;
}

.team-mini-card img,
.team-ranked-row__cover img,
.team-album img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  /* FAN-581 (A11Y-M07): white icon on bubblegum was 2.57:1, fails even the
     3:1 icon floor — ink reaches 8.16:1. */
  color: var(--fc-black);
  background: var(--fc-bubblegum);
  cursor: pointer;
}

.team-play:hover {
  background: #000;
  color: #fff;
}

.team-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.team-mini-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.team-mini-card img {
  width: 72px;
  height: 72px;
  border-radius: 6px;
}

.team-mini-card a {
  display: block;
  color: #000;
  font-family: var(--fc-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.team-mini-card a:hover {
  color: var(--fc-bubblegum);
}

.team-mini-card span {
  display: block;
  margin-top: 5px;
  color: rgba(0, 0, 0, 0.55);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.team-hot-section {
  color: var(--fc-black);
}

.team-hot-section .team-more {
  color: var(--fc-bubblegum);
}

/* FAN-581 (A11Y-M07): white text on bubblegum was 2.57:1, fails AA 4.5:1 —
   ink reaches 8.16:1. */
.team-hot-section .team-more:hover {
  color: var(--fc-black);
  background: var(--fc-bubblegum);
}

.team-hot-tile .fc-tile__title {
  color: var(--fc-black);
  text-decoration: none;
}

.team-hot-tile .fc-tile__title:hover {
  color: var(--fc-bubblegum);
}

.team-genre-link,
.team-side-row__genre em {
  text-decoration: underline;
  text-decoration-color: rgba(214, 0, 98, 0.38);
  text-underline-offset: 2px;
}

/* FAN-581 (A11Y-M07): white text on bubblegum was 2.57:1, fails AA 4.5:1 —
   ink reaches 8.16:1. */
.team-genre-link:hover,
.team-side-row__genre:hover em {
  color: var(--fc-black);
  background: var(--fc-bubblegum);
  text-decoration-color: var(--fc-black);
}

.team-genre-link {
  color: inherit;
}

.fc-tile__sub.team-genre-link {
  display: inline-block;
}

.team-hot-section .fc-tile {
  grid-template-columns: 36px 96px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 14px 18px;
}

.team-hot-section .fc-tile__cover {
  width: 96px;
  height: 96px;
  border-radius: 6px;
}

.team-hot-tile__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

/* FAN-581 (A11Y-M07): white icon on bubblegum was 2.57:1, fails even the
   3:1 icon floor — ink reaches 8.16:1. */
.team-hot-tile .fc-tile__play {
  width: 48px;
  height: 48px;
  color: var(--fc-black);
  background: var(--fc-bubblegum);
}

.team-spotify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.team-spotify-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 188px;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--team-primary);
  text-decoration: none;
  transition: transform var(--fc-t-fast), box-shadow var(--fc-t-fast);
}

.team-spotify-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.team-spotify-card__title {
  margin: 0;
  font-family: var(--fc-font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.team-spotify-card--secondary {
  color: var(--team-primary);
  background: var(--team-secondary);
}

/* FAN-581 (A11Y-M07): white text on bubblegum was 2.57:1, fails AA even
   at this card's 24px/700 large-text floor (needs 3:1) — ink reaches
   8.16:1 (mirrors --volt below). */
.team-spotify-card--bubblegum {
  color: var(--fc-black);
  background: var(--fc-bubblegum);
}

.team-spotify-card--volt {
  color: #000;
  background: var(--fc-volt);
}

.team-spotify-card--orange {
  color: #fff;
  background: var(--fc-orange);
}

.team-spotify-card--electric {
  color: #fff;
  background: var(--fc-electric);
}

.team-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 36px;
}

#songbook {
  padding: 4px 0 12px;
}

#songbook .team-section__hd {
  margin-bottom: 8px;
}

.team-aside {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.team-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 22px;
}

.team-filter-tab {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(0, 0, 0, 0.7);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #f3f1eb;
  transition: background var(--fc-t-fast), color var(--fc-t-fast);
}

/* FAN-581 (A11Y-M07): white text on bubblegum was 2.57:1, fails AA 4.5:1 —
   ink reaches 8.16:1. */
.team-filter-tab:hover {
  color: var(--fc-black);
  background: var(--fc-bubblegum);
}

.team-filter-tab.active {
  color: #fff;
  background: #000;
}

.team-filter-tab b {
  margin-left: 6px;
  font-family: var(--fc-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.team-ranked-list {
  overflow: hidden;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fff;
}

.team-ranked-row {
  display: grid;
  grid-template-columns: 42px 60px minmax(0, 1fr) 60px 52px;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #f3f1eb;
  content-visibility: auto;
  contain-intrinsic-size: auto 88px;
}

.team-ranked-row:last-child {
  border-bottom: 0;
}

.team-ranked-row:hover {
  background: #faf9f5;
}

.team-ranked-row__rank {
  color: rgba(0, 0, 0, 0.42);
  font-family: var(--fc-font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.team-ranked-row__cover {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--team-primary);
}

.team-ranked-row__title {
  display: -webkit-box;
  color: #000;
  font-family: var(--fc-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  overflow: hidden;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.team-ranked-row__title:hover {
  color: var(--fc-bubblegum);
}

.team-ranked-row__meta,
.team-ranked-row__plays,
.team-ranked-row__duration,
.team-ranked-row__lyrics {
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.team-ranked-row__meta {
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-ranked-row__plays,
.team-ranked-row__duration,
.team-ranked-row__lyrics {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.team-ranked-row > .team-play {
  justify-self: end;
}

.team-side-card {
  overflow: hidden;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fff;
}

.team-side-card__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px 6px;
}

.team-side-card__hd h3 {
  margin: 0;
  color: var(--fc-bubblegum);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-side-card__body {
  padding: 8px 18px 18px;
}

.team-side-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f3f1eb;
  color: #000;
  text-decoration: none;
}

.team-side-row:last-child {
  border-bottom: 0;
}

.team-side-row:hover b {
  color: var(--fc-bubblegum);
}

.team-side-row__rank {
  color: rgba(0, 0, 0, 0.4);
  font-family: var(--fc-font-mono);
  font-size: 11px;
}

.team-side-row__title,
.team-side-row__genre {
  color: inherit;
  text-decoration: none;
}

.team-side-row__title:hover b {
  color: var(--fc-bubblegum);
}

.team-side-row b {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.team-side-row em {
  display: block;
  margin-top: 3px;
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--fc-font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.05em;
}

.team-copy {
  color: rgba(0, 0, 0, 0.78);
  font-size: 13px;
  line-height: 1.52;
}

.team-copy p {
  margin: 0 0 10px;
}

.team-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #d8d6d0;
}

.team-facts div,
.team-facts dt,
.team-facts dd {
  margin: 0;
}

.team-facts dt {
  margin-bottom: 3px;
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--fc-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-facts a,
.team-blog a,
.team-album a {
  color: var(--fc-bubblegum);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.team-album {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.team-album img {
  width: 82px;
  height: 82px;
  border-radius: 6px;
}

.team-album b,
.team-album span,
.team-album a {
  display: block;
}

.team-album b {
  font-family: var(--fc-font-display);
  font-size: 16px;
  line-height: 1.15;
}

.team-album span {
  margin: 4px 0;
  color: rgba(0, 0, 0, 0.55);
  font-family: var(--fc-font-mono);
  font-size: 11px;
}

.team-blog p {
  margin: 8px 0 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.team-empty {
  margin: 0;
  color: rgba(0, 0, 0, 0.65);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .team-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .team-page {
    padding: 22px 18px 64px;
  }

  /* Match the -24px full-bleed to the narrower 18px page padding so the
     section stays inside the container. */
  .team-hot-section {
    margin-inline: -18px;
  }

  .team-hero,
  .stat-strip {
    padding: 22px;
  }

  .team-hero__body,
  .team-main-grid {
    grid-template-columns: 1fr;
  }

  .team-hero__cta,
  .team-aside {
    align-items: stretch;
    position: static;
  }

  .team-mark {
    width: 96px;
    height: 96px;
  }

  .team-hero__name {
    font-size: clamp(32px, 9.5cqw, 58px);
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 700px) {
  .team-hero__top,
  .team-rail-row,
  .team-section__hd {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-card-grid,
  .team-spotify-grid {
    grid-template-columns: 1fr;
  }

  .team-hot-tile {
    grid-template-columns: 28px 56px minmax(0, 1fr) 40px;
  }

  .team-hot-tile .fc-tile__cover {
    width: 56px;
    height: 56px;
  }

  .team-hot-tile__meta {
    display: none;
  }

  .team-hot-tile .fc-tile__rt {
    display: grid;
    place-items: center;
    gap: 0;
  }

  .team-hot-tile .fc-tile__play {
    width: 40px;
    height: 40px;
  }

  .team-ranked-row {
    grid-template-columns: 34px 52px minmax(0, 1fr) 44px;
    gap: 10px;
    padding: 11px 14px;
  }

  .team-ranked-row__cover {
    width: 52px;
    height: 52px;
  }

  .team-ranked-row__duration {
    display: none;
  }

  .team-ranked-row__plays {
    display: none;
  }

  .team-facts {
    grid-template-columns: 1fr;
  }

  .team-hero__name {
    font-size: clamp(28px, 9.5cqw, 44px);
  }
}

@media (max-width: 640px) {
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
  }

  .stat-strip__cell {
    gap: 2px;
    min-width: 0;
  }

  .stat-strip__label {
    font-size: 9px;
    letter-spacing: 0.07em;
  }

  .stat-strip__value {
    font-size: 22px;
  }
}

/* EC-2: compact e-card entry point under the share row. */
.team-card-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--fc-rule-strong);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 16px 0;
}

.team-card-prompt__text { font-weight: 600; }
