.chart-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  scroll-margin-top: calc(var(--header-height) + 12px);
}
.chart-entry {
  display: grid;
  grid-template-columns: clamp(105px, 10.7vw, 168px) minmax(0, 1fr) minmax(100px, auto);
  grid-template-areas: "poster copy metric" "poster tags metric";
  grid-template-rows: 1fr auto;
  gap: clamp(14px, 1.1vw, 19px);
  align-items: start;
  padding: clamp(10px, 1vw, 16px);
  border: 1px solid #333136;
  border-radius: 16px;
  background: #18171a;
}
.chart-poster {
  grid-area: poster;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  border-radius: 14px;
}
.chart-poster img {
  grid-area: 1 / 1 / span 2;
  align-self: stretch;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: inherit;
  background: #252327;
}
.chart-position {
  grid-area: 1 / 1;
  place-self: start;
  display: grid;
  justify-items: center;
  min-width: 37px;
  padding: 4px 5px 8px;
  border-radius: 3px 3px 0 0;
  background: #d2ced4;
  color: #161418;
  clip-path: polygon(0 0,100% 0,100% 84%,50% 100%,0 84%);
  font: 700 clamp(18px, 1.55vw, 25px)/1.1 Georgia, serif;
  font-variant-numeric: tabular-nums;
}
.chart-position small { font: 700 10px/1.2 Arial, sans-serif; }
.chart-entry:first-child .chart-position { background: #ffd14e; }
.chart-entry:nth-child(2) .chart-position { background: #d6d9ee; }
.chart-entry:nth-child(3) .chart-position { background: #edc79d; }
.chart-episodes {
  grid-area: 2 / 1;
  place-self: end;
  margin: 3px 5px 6px;
  overflow-wrap: anywhere;
  padding: 2px 5px;
  border-radius: 4px;
  background: #09090bcf;
  color: white;
  font-size: 12px;
}
.chart-copy { grid-area: copy; min-width: 0; }
.chart-tags { grid-area: tags; margin: 0; }
.chart-tags a:hover, .chart-tags a:focus-visible { background: #2c2510; color: var(--listing-gold); }
.chart-copy h2 {
  margin: 0;
  font-size: clamp(15px, 1.13vw, 18px);
  line-height: 1.45;
}
.chart-copy h2 a {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chart-copy a:hover, .chart-copy a:focus-visible { color: var(--listing-gold); }
.chart-metadata {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
  margin: 8px 0 0;
  color: #d1cdd2;
  font-size: 13px;
  line-height: 1.6;
}
.chart-separator { color: #8c878f; }
.chart-score { color: var(--section-accent); white-space: nowrap; }
.chart-summary {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: #d6d2d7;
  font-size: 14px;
  line-height: 1.75;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}
.chart-metric {
  grid-area: metric;
  color: var(--section-accent);
  display: grid;
  justify-items: center;
  align-self: center;
  gap: 7px;
  padding: 14px 0 14px clamp(12px, 1.45vw, 24px);
  border-left: 1px solid #37343a;
  white-space: nowrap;
}
.chart-metric strong { font-size: clamp(20px, 1.7vw, 28px); font-variant-numeric: tabular-nums; }
.chart-metric small { font-size: 13px; }
@media (max-width: 650px) {
  .chart-list { gap: 10px; }
  .chart-entry {
    grid-template-columns: clamp(80px, 23vw, 118px) minmax(0, 1fr);
    grid-template-areas: "poster copy" "poster metric" "tags tags";
    grid-template-rows: 1fr auto auto;
    gap: 7px 12px;
    border-radius: 12px;
  }
  .chart-poster { border-radius: 8px; }
  .chart-position { min-width: 29px; font-size: 17px; }
  .chart-position small { font-size: 9px; }
  .chart-episodes { margin: 3px 3px 4px; font-size: 10px; }
  .chart-copy h2 { font-size: 14px; }
  .chart-metadata { gap: 1px 4px; margin-top: 4px; font-size: 12px; }
  .chart-summary { margin-top: 4px; font-size: 13px; line-height: 1.5; -webkit-line-clamp: 2; }
  .chart-metric { display: flex; flex-wrap: wrap; align-items: baseline; min-width: 0; gap: 2px 6px; padding: 0; border: 0; white-space: normal; }
  .chart-metric strong { font-size: 17px; white-space: nowrap; }
  .chart-metric small { font-size: 11px; }
}
