.jw-playlist-page {
  background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 280px);
  margin-top: 0;
  padding-bottom: 56px;
}

.jw-playlist-page__hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #2958a0 0%, #2f63ad 58%, #3674c0 100%);
  color: #fff;
  margin-top: 0;
}

.jw-playlist-page__hero-inner {
  position: relative;
  z-index: 1;
  padding: 32px 0;
}

.jw-playlist-page__hero-copy {
  max-width: 760px;
}

.jw-playlist-page__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.jw-playlist-page__title {
  margin: 0;
  color: #fff;
  font-size: 44px;
  line-height: 1.05;
}

.jw-playlist-page__intro {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.jw-playlist-page__body {
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.jw-playlist-page__content {
  margin: 0;
  padding: 0;
}

.jw-playlist-page__content-copy {
  margin: 0 auto 20px;
  padding: 30px 30px 0;
}

.jw-playlist-page__player-shell {
  padding: 24px 24px 28px;
  background: #fff;
  border-radius: 18px;
}

.jw-playlist-page__player-frame {
  overflow: hidden;
  border-radius: 16px;
  background: #041725;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  max-width: 80%;
  margin: auto;
}

.jw-playlist-page__player-meta {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f5f9fc;
}

.jw-playlist-page__player-description {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #526779;
}

.jw-playlist-page__nav-section {
  display: block;
  margin-top: 28px;
  padding: 0 30px;
}

.jw-playlist-page__nav-shell {
  width: 100%;
  display: block;
}

.jw-playlist-page__nav-grid {
  display: flex;
  gap: 16px;
  min-height: 350px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  align-items: stretch;
  padding-bottom: 26px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.jw-playlist-page__nav-item,
button.jw-playlist-page__nav-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  flex: 0 0 340px;
  min-height: 350px;
  padding: 0;
  text-align: left;
  background: #f5f9fc;
  border: 1px solid #d7e5ef;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  scroll-snap-align: start;
}

.jw-playlist-page__nav-item:hover,
.jw-playlist-page__nav-item:focus {
  border-color: #8bbbd8;
  outline: none;
}

.jw-playlist-page__nav-item.is-active {
  border-color: #0070b2;
  background: #fff;
}

.jw-playlist-page__nav-thumb {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: 240px;
  min-height: 240px;
  background-color: #dfeaf2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.jw-playlist-page__nav-text {
  display: block;
  flex: 1 0 auto;
  padding: 18px 18px 20px;
  color: #0c395c;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
}

.jw-playlist-page__empty-state {
  padding: 28px 32px;
  background: #fff;
  border-radius: 18px;
  border: 1px dashed #b5ccdb;
  color: #526779;
}

.jw-playlist-page__empty-state h2 {
  margin: 0 0 10px;
  color: #0c395c;
}

.jw-playlist-page__error {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff1f1;
  color: #9b1c1c;
  font-weight: 600;
}

@media screen and (max-width: 960px) {
  .jw-playlist-page__title {
    font-size: 36px;
  }
}

@media screen and (max-width: 640px) {
  .jw-playlist-page__hero-inner {
    padding: 24px 0 20px;
  }

  .jw-playlist-page__nav-section {
    padding: 0 22px;
  }

  .jw-playlist-page__content-copy,
  .jw-playlist-page__player-shell,
  .jw-playlist-page__empty-state {
    padding: 22px;
  }

  .jw-playlist-page__title {
    font-size: 30px;
  }

  .jw-playlist-page__nav-item {
    flex-basis: 280px;
    min-height: 320px;
  }

  .jw-playlist-page__nav-thumb {
    height: 210px;
    min-height: 210px;
  }
}
