.fans-page,
.fan-profile,
.playlist-page {
  padding: 28px 36px 80px;
  max-width: 1180px;
}

.fans-page a,
.fan-profile a,
.playlist-page a {
  color: inherit;
}

.fans-hero,
.playlist-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 32px 36px;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #000;
  color: #fff;
}

.fans-hero__k,
.playlist-hero__k {
  margin-bottom: 8px;
  color: var(--fc-volt);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fans-hero h1,
.playlist-hero h1 {
  max-width: 820px;
  margin: 0 0 8px;
  font-family: var(--fc-font-display);
  font-size: 68px;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.fans-hero p,
.playlist-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.fans-hero__stat {
  min-width: 112px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-align: right;
}

.fans-hero__stat span,
.playlist-now span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--fc-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fans-hero__stat b {
  display: block;
  margin-top: 4px;
  color: var(--fc-volt);
  font-family: var(--fc-font-display);
  font-size: 36px;
  line-height: 1;
}

.fans-list,
.playlist-grid {
  margin-top: 24px;
}

.fans-section-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 14px;
}

.fans-section-hd h2 {
  margin: 0;
  font-family: var(--fc-font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.fan-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fff;
}

.fan-card + .fan-card {
  margin-top: 10px;
}

.fan-card__mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--team-primary) 0 33%, var(--team-secondary) 33% 66%, var(--team-tertiary) 66%);
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 0 0 4px #fff, 0 1px 8px rgba(0, 0, 0, 0.16);
}

.fan-card__mark span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #000;
  font-family: var(--fc-font-display);
  font-size: 24px;
  font-weight: 700;
}

.fan-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.fan-card__name {
  color: #000;
  font-family: var(--fc-font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.fan-card__name:hover {
  color: var(--fc-bubblegum);
}

.fan-card__meta,
.pg-rrow__meta,
.followed-team em {
  margin-top: 5px;
  color: rgba(0, 0, 0, 0.55);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fan-card__count {
  min-width: 82px;
  text-align: right;
}

.fan-card__count b {
  position: relative;
  display: block;
  padding-bottom: 7px;
  color: #171717;
  font-family: var(--fc-font-display);
  font-size: 30px;
  line-height: 1;
}

.fan-card__count b::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26px;
  height: 3px;
  background: var(--team-primary-safe);
  content: "";
}

.fan-card__count span {
  color: rgba(0, 0, 0, 0.48);
  font-family: var(--fc-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fan-card__chants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.fan-card__chants a,
.fan-card__chants span {
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 4px;
  background: #f3f1eb;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.fan-card__chants a:hover {
  background: var(--team-secondary);
}

.pf-hero {
  position: relative;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid #ececea;
  border-radius: 8px;
}

.pf-hero__cover {
  height: 154px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%),
    repeating-linear-gradient(
      135deg,
      var(--team-primary) 0 32px,
      var(--team-secondary) 32px 64px,
      var(--team-tertiary) 64px 96px
    );
}

.pf-hero__body {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-top: -54px;
  padding: 0 32px 24px;
  background: #fff;
}

.pf-avatar {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border-radius: 50%;
  background: #000;
  color: #fff;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 0 0 4px var(--team-secondary-safe),
    0 0 0 10px #fff;
  font-family: var(--fc-font-display);
  font-size: 56px;
  font-weight: 700;
}

.pf-id {
  padding-bottom: 6px;
  min-width: 0;
}

.pf-id__rank-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 5px;
  color: rgba(0, 0, 0, 0.55);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pf-id__rank-row a {
  text-decoration: none;
}

.pf-id__rank-row a:hover {
  color: var(--fc-bubblegum);
}

.pf-id__name {
  margin: 0;
  font-family: var(--fc-font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.pf-actions {
  padding-bottom: 6px;
}

.pf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #ececea;
}

.pf-stats__cell {
  padding: 16px 32px;
  border-right: 1px solid #ececea;
}

.pf-stats__cell:last-child {
  border-right: 0;
}

.pf-stats__l {
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--fc-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pf-stats__v {
  position: relative;
  margin-top: 3px;
  padding-bottom: 7px;
  color: #171717;
  font-family: var(--fc-font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  overflow-wrap: anywhere;
}

.pf-stats__v::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--team-primary-safe);
  content: "";
}

.pf-stats__team {
  font-size: 22px;
}

.pf-grid,
.playlist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.pf-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
  border-bottom: 1px solid #ececea;
}

.pf-tab {
  margin-bottom: -1px;
  padding: 12px 0;
  border-bottom: 3px solid var(--fc-bubblegum);
  color: #000;
  font-family: var(--fc-font-display);
  font-size: 15px;
  font-weight: 700;
}

.pf-tab .ct {
  margin-left: 5px;
  font-family: var(--fc-font-mono);
  font-size: 11px;
  opacity: 0.55;
}

.fan-ranked-list {
  overflow: hidden;
}

.fan-lyrics-link {
  color: rgba(0, 0, 0, 0.42);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.fan-empty {
  margin: 0;
  padding: 20px;
  color: rgba(0, 0, 0, 0.62);
}

.pf-side-card {
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fff;
}

.pf-side-card h2 {
  margin: 0 0 10px;
  color: var(--fc-bubblegum);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.followed-team {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

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

.followed-team__stripe {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, var(--team-primary) 0 33%, var(--team-secondary) 33% 66%, var(--team-tertiary) 66%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.fan-side-link {
  font-weight: 700;
  text-decoration: none;
}

.fan-side-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f1eb;
  text-decoration: none;
}

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

.fan-side-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fan-side-row b {
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--fc-font-mono);
  font-size: 11px;
}

.playlist-hero {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(90deg, var(--team-primary), #000);
}

.playlist-now {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 12px;
  align-items: center;
  min-width: 280px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.playlist-now a {
  color: #fff;
  font-family: var(--fc-font-display);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.playlist-lyrics {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fff;
}

.playlist-lyrics h2 {
  margin: 0 0 14px;
  font-family: var(--fc-font-display);
  font-size: 24px;
  line-height: 1.1;
}

.playlist-lyrics div {
  color: rgba(0, 0, 0, 0.76);
  font-size: 16px;
  line-height: 1.58;
}

.list-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.list-pagination a,
.list-pagination span {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #ececea;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-family: var(--fc-font-mono);
  font-size: 12px;
  text-decoration: none;
}

.list-pagination span {
  border-color: #000;
  background: #000;
  color: #fff;
}

.list-pagination a:hover {
  border-color: var(--fc-bubblegum);
  color: var(--fc-bubblegum);
}

@media (max-width: 900px) {
  .fans-page,
  .fan-profile,
  .playlist-page {
    padding: 20px 18px 72px;
  }

  .fans-hero,
  .playlist-hero,
  .pf-hero__body,
  .pf-grid,
  .playlist-grid {
    grid-template-columns: 1fr;
  }

  .fans-hero h1,
  .playlist-hero h1 {
    font-size: 44px;
  }

  .pf-hero__body {
    gap: 14px;
  }

  .pf-actions {
    padding-bottom: 0;
  }

  .pf-stats {
    grid-template-columns: 1fr;
  }

  .pf-stats__cell {
    border-right: 0;
    border-bottom: 1px solid #ececea;
  }

  .pf-stats__cell:last-child {
    border-bottom: 0;
  }

  .fan-card {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 14px;
  }

  .fan-card__mark {
    width: 54px;
    height: 54px;
  }

  .fan-card__mark span {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .fan-card__top {
    flex-direction: column;
    gap: 8px;
  }

  .fan-card__count {
    text-align: left;
  }

  .pg-rrow {
    grid-template-columns: 28px 48px minmax(0, 1fr) 34px;
  }

  .pg-rrow__plays,
  .pg-rrow__dur {
    display: none;
  }
}
