/* Fine-tuned spacing for the two list screens. */
#listsPage,
#listContentPage {
  padding-top: calc(24px + env(safe-area-inset-top));
}

.list-page-header,
.list-content-header {
  margin-bottom: 22px;
}

.list-page-header h2 + p,
.list-content-copy h2 + p {
  margin-top: 1px;
  line-height: 1.6;
}

#listProjectsGrid > .detail-loading {
  grid-column: 1 / -1;
  width: 100%;
  min-height: calc(100vh - 190px);
  min-height: calc(100dvh - 190px);
  margin: 0;
  place-self: stretch;
}

#listsCollection > .detail-loading {
  min-height: calc(100vh - 150px);
  min-height: calc(100dvh - 150px);
  align-content: center;
}

#projectDetail > .detail-loading {
  min-height: calc(100vh - 150px);
  min-height: calc(100dvh - 150px);
  align-content: center;
}

#listProjectsGrid > .detail-loading,
#favoritesGrid > .favorites-loading {
  align-content: center;
  justify-content: center;
  text-align: center;
}

#favoritesGrid > .favorites-loading {
  grid-column: 1 / -1;
  min-height: calc(100vh - 250px);
  min-height: calc(100dvh - 250px);
  margin: 0;
}

#weeklyList > .schedule-loading {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: calc(100vh - 190px);
  min-height: calc(100dvh - 190px);
  padding: 0;
  text-align: center;
}

#weeklyList > .schedule-loading::before {
  content: '';
  width: 22px;
  height: 22px;
  border: 2px solid rgba(185, 165, 255, .2);
  border-top-color: #b9a5ff;
  border-radius: 50%;
  animation: loading-spin .8s linear infinite;
}

.episode-loading { align-content: center; justify-content: center; text-align: center; }
