.archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 480px);
  gap: 48px;
  align-items: end;
  min-height: 430px;
  padding: 78px 0 48px;
}

.archive-hero h1 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 7.5rem;
  font-weight: 500;
  line-height: 0.82;
}

.archive-hero p {
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
}

.archive-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
}

.archive-tools input {
  width: min(440px, 100%);
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  padding: 9px 10px;
}

.archive-tools p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.beat-list {
  border-bottom: 1px solid var(--rule);
}

.beat-row {
  display: grid;
  grid-template-columns: 58px minmax(150px, 0.4fr) minmax(240px, 1fr) 64px;
  min-height: 82px;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--rule);
  padding: 10px 0;
}

.home-beats .beat-row:first-child {
  border-top: 0;
}

.beat-row--compact {
  grid-template-columns: 58px minmax(150px, 0.4fr) minmax(220px, 1fr);
}

.beat-row.is-playing {
  color: var(--red);
}

.play-control {
  min-height: 34px;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
}

.play-control:hover,
.beat-row.is-playing .play-control {
  border-color: var(--red);
  color: var(--red);
}

.beat-details {
  min-width: 0;
}

.beat-details h3 {
  margin-bottom: 4px;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.beat-details p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.waveform {
  width: 100%;
  height: 46px;
}

.beat-inquiry {
  font-size: 0.76rem;
  font-weight: 800;
  text-align: right;
}

.load-more {
  width: 100%;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  padding: 15px;
  font-weight: 800;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 90px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.collection-grid .drumkit-item,
.collection-grid .vst-item {
  min-width: 0;
  background: var(--paper);
  padding: 12px;
}

.collection-grid .drumkit-item span {
  padding-bottom: 0;
}

.collection-grid--vsts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-grid--vsts .vst-item {
  min-height: 230px;
}

.collection-grid--vsts .vst-item img {
  height: 170px;
}

@media (max-width: 920px) {
  .archive-hero {
    grid-template-columns: 1fr;
    min-height: 380px;
  }

  .archive-hero h1 {
    font-size: 5.5rem;
  }

  .collection-grid,
  .collection-grid--vsts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .archive-hero h1 {
    font-size: 4rem;
  }

  .archive-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .beat-row,
  .beat-row--compact {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .waveform,
  .beat-inquiry {
    grid-column: 1 / -1;
  }

  .beat-inquiry {
    text-align: left;
  }

  .collection-grid,
  .collection-grid--vsts {
    grid-template-columns: 1fr;
  }
}
