.list-page {
  max-width: 1220px;
}

.list-page a {
  color: inherit;
}

.list-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 34px 36px;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #faf9f5;
}

.list-hero--top {
  border-top: 6px solid var(--fc-bubblegum);
}

.list-hero--cotd {
  border-top: 6px solid var(--fc-electric);
}

.list-hero__eyebrow,
.list-feature__eyebrow {
  color: rgba(0, 0, 0, 0.55);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.list-hero h1 {
  max-width: 980px;
  margin: 8px 0 10px;
  font-family: var(--fc-font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 0.95;
}

.list-hero p {
  max-width: 58ch;
  margin: 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 16px;
  line-height: 1.45;
}

.list-hero__stat {
  display: grid;
  min-width: 118px;
  padding: 16px;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.list-hero__stat span {
  color: rgba(0, 0, 0, 0.55);
  font-family: var(--fc-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.list-hero__stat b {
  margin-top: 4px;
  color: var(--fc-bubblegum);
  font-family: var(--fc-font-display);
  font-size: 40px;
  line-height: 1;
}

.list-feature {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fff;
}

.list-feature__art {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1;
  background: var(--fc-electric);
}

.list-feature__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-feature h2 {
  margin: 4px 0 4px;
  font-family: var(--fc-font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.05;
}

.list-feature p {
  margin: 0;
  color: rgba(0, 0, 0, 0.62);
}

.list-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.top-table {
  overflow: hidden;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fff;
}

.top-table__head,
.top-table__row {
  display: grid;
  grid-template-columns: 54px minmax(260px, 1.5fr) minmax(160px, 0.8fr) 46px;
  gap: 12px;
  align-items: center;
  padding: 12px 22px;
  font-family: var(--fc-font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.top-table__head {
  border-bottom: 1px solid #ececea;
  background: #faf9f5;
  color: rgba(0, 0, 0, 0.52);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-table__head > *,
.top-table__row > * {
  text-align: center;
}

.top-table__head > :nth-child(2),
.top-table__row > :nth-child(2),
.top-table__head > :nth-child(3),
.top-table__row > :nth-child(3) {
  text-align: left;
}

.top-table__row {
  border-bottom: 1px solid #f3f1eb;
  color: rgba(0, 0, 0, 0.68);
}

.top-table__row:last-of-type {
  border-bottom: 0;
}

.top-table__row:hover {
  background: #faf9f5;
}

.top-table__rank {
  color: rgba(0, 0, 0, 0.45);
}

.top-table__chant {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.top-table__chant-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.top-table__chant-name {
  overflow: hidden;
  color: #000;
  font-family: var(--fc-font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-table__chant-name:hover,
.top-table__team a:hover {
  color: var(--fc-bubblegum);
}

.top-table__chant-meta {
  margin-top: 3px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-table__team a,
.top-table__lyrics {
  text-decoration: none;
}

/* FAN-581 (A11Y-M07): white icon on bubblegum was 2.57:1, fails even the
   3:1 icon floor — ink reaches 8.16:1. */
.top-table .pg-rrow__play {
  margin: 0 auto;
  background: var(--fc-bubblegum);
  color: var(--fc-black);
}

.top-table .pg-rrow__play:hover {
  background: #000;
  color: #fff;
}

.list-empty {
  margin: 0;
  padding: 28px 22px;
  color: rgba(0, 0, 0, 0.58);
}

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

.list-pagination a,
.list-pagination span {
  min-width: 36px;
  padding: 9px 11px;
  border: 1px solid #ececea;
  border-radius: 6px;
  background: #fff;
  font-family: var(--fc-font-mono);
  font-size: 11px;
  text-align: center;
  text-decoration: none;
}

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

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

.cotd-feature {
  border-top: 4px solid var(--fc-electric);
}

.cotd-feature__desc {
  max-width: 64ch;
  margin-top: 10px;
  line-height: 1.5;
}

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

.cotd-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 90px 46px;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #f3f1eb;
}

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

.cotd-row:hover {
  background: #faf9f5;
}

.cotd-row__date {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--fc-font-mono);
  text-transform: uppercase;
}

.cotd-row__date span {
  color: var(--fc-electric);
  font-family: var(--fc-font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.cotd-row__date b {
  color: rgba(0, 0, 0, 0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cotd-row__main {
  min-width: 0;
}

.cotd-row__title {
  display: block;
  overflow: hidden;
  color: #000;
  font-family: var(--fc-font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cotd-row__title:hover,
.cotd-row__meta a:hover {
  color: var(--fc-electric);
}

.cotd-row__main span,
.cotd-row__meta {
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cotd-row__meta a {
  color: inherit;
  text-decoration: none;
}

.cotd-row__play .pg-rrow__play {
  margin-left: auto;
}

@media (max-width: 980px) {
  .list-hero,
  .list-feature {
    grid-template-columns: 1fr;
  }

  .list-hero__stat {
    justify-self: start;
  }

  .top-table {
    overflow-x: auto;
  }

  .top-table__head,
  .top-table__row {
    min-width: 680px;
  }

  .cotd-row {
    grid-template-columns: 82px minmax(0, 1fr) 46px;
  }

  .cotd-row__meta {
    display: none;
  }
}

@media (max-width: 700px) {
  .top-table { overflow: visible; }
  .top-table__head { display: none; }
  .top-table__row {
    min-width: 0;
    grid-template-columns: 32px minmax(0, 1fr) 48px;
    gap: 8px 10px;
    padding: 14px;
  }
  .top-table__rank { grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 6px; }
  .top-table__chant { grid-column: 2; grid-row: 1; }
  .top-table__team { grid-column: 2; grid-row: 2; font-size: 11px; text-align: left !important; }
  .top-table__team::before { content: attr(data-label) ": "; color: rgba(0,0,0,.48); }
  .top-table__row > :nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
  .top-table .pg-rrow__play { width: 44px; height: 44px; }
}

@media (max-width: 640px) {
  .list-page {
    padding-inline: 18px;
  }

  .list-hero {
    padding: 26px 22px;
  }

  .list-hero h1 {
    font-size: 42px;
  }

  .list-feature {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 14px;
  }

  .list-feature h2 {
    font-size: 24px;
  }

  .cotd-row {
    grid-template-columns: 1fr 38px;
  }

  .cotd-row__date {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
  }
}
