.hero-cover {
  grid-row: 3;
  display: grid;
  width: var(--hero-cover-size, min(100%, 430px));
  height: var(--hero-cover-size, min(100%, 430px));
  max-width: 100%;
  max-height: 430px;
  min-height: 0;
  aspect-ratio: 1;
  margin: 0 auto;
  align-self: end;
  place-items: center;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  animation: coverLand 360ms cubic-bezier(.2,.8,.2,1);
}

.hero-cover__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-cover__star {
  display: none;
  width: 58%;
  height: 58%;
  color: #e3dac9;
}

.hero-cover__star path {
  fill: currentColor;
}

.hero-cover.is-favorites-placeholder {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.hero-cover.is-favorites-placeholder .hero-cover__image {
  display: none;
}

.hero-cover.is-favorites-placeholder .hero-cover__star {
  display: block;
}

@keyframes coverLand {
  from {
    opacity: 0.25;
    transform: scale(0.78) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.panel-top h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3vw, 2.8rem);
  line-height: 1;
}

.hero-details {
  grid-row: 4;
  display: grid;
  width: min(100%, 430px);
  margin: 12px auto 0;
  align-self: start;
  gap: 10px;
  padding: 16px 0 0;
  color: var(--muted);
  text-align: left;
  border-top: 1px solid var(--line);
}

.hero-details .full-player__copy {
  width: 100%;
  min-width: 0;
}

.hero-details__divider {
  display: none;
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.hero-details .full-player__title {
  justify-content: flex-start;
  overflow: hidden;
  margin: 2px 0;
  font-size: clamp(0.88rem, 2.4vw, 1rem);
}

.hero-details .full-player__title-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.hero-details .full-player__title-text {
  display: block;
  width: max-content;
  min-width: 100%;
  overflow: visible;
  white-space: nowrap;
  will-change: transform;
}

.hero-details .full-player__episode,
.hero-details .full-player__title-text {
  font-weight: 600;
}

.hero-details__stats {
  display: grid;
  grid-template-columns: minmax(7.5rem, 1.35fr) minmax(5.5rem, 1fr);
  column-gap: 20px;
  width: 100%;
  margin-top: 4px;
}

.hero-details__stat {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  padding: 0;
  text-align: left;
}

.hero-details__stat--duration {
  min-width: 0;
}

.hero-details__stat--favorite {
  min-width: 0;
  justify-self: start;
}

button.hero-details__stat {
  width: 100%;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
}

button.hero-details__stat:focus-visible {
  border-radius: 6px;
  outline: 1px solid rgba(255, 255, 255, 0.42);
  outline-offset: 2px;
}

.hero-details__stat--favorite[aria-pressed="true"] .hero-details__stat-icon svg path {
  fill: currentColor;
}

.hero-details__stat[hidden] {
  display: none;
}

.hero-details__stat-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-details__stat-icon svg {
  width: 20px;
  height: 20px;
}

.hero-details__stat-value {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.hero-details__stat--duration .hero-details__stat-value {
  min-width: 5.5ch;
}

.hero-details__stat--favorite .hero-details__stat-value {
  min-width: 5ch;
}

@media (min-width: 561px) {
  .hero-details__stat-value {
    flex: 1 1 auto;
  }

  .hero-details__stat--duration .hero-details__stat-value {
    min-width: 6.5ch;
  }

  .hero-details__stat--favorite .hero-details__stat-value {
    min-width: 5ch;
  }
}
