/* RENDZE — Homepage playlist section (holo/white/black K-pop label style) */
.playlist-sec {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.pl-head {
  margin-bottom: clamp(24px, 3.5vw, 40px);
}
.pl-sub {
  margin-top: -6px;
}
.pl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 920px;
}
.pl-row {
  position: relative;
  border-radius: 20px;
  background: rgba(12, 15, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), background-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.pl-row:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(16, 20, 34, 0.88);
}
.pl-row.active,
.pl-row.is-active {
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(16, 20, 34, 0.95), rgba(10, 12, 22, 0.95)) padding-box,
    linear-gradient(110deg, #ffffff 0%, #c8f4ff 28%, #d8c8ff 58%, #ffffff 100%) border-box;
  box-shadow:
    0 0 28px -6px rgba(200, 244, 255, 0.38),
    0 12px 36px -16px rgba(216, 200, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.pl-row-main {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
}
.pl-cover {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: #06070c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}
.pl-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pl-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pl-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.25;
}
.pl-now {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #06070c;
  background: linear-gradient(90deg, #ffffff 0%, #c8f4ff 50%, #e4d4ff 100%);
}
.pl-row.is-playing .pl-now {
  display: inline-flex;
}
.pl-artist {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(243, 245, 251, 0.72);
  line-height: 1.35;
}
.pl-yt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.pl-yt:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateY(-1px);
}
.pl-dur {
  font-family: "Unbounded", var(--body);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(243, 245, 251, 0.78);
  white-space: nowrap;
}
.pl-btn {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#0b0e1a, #0b0e1a) padding-box,
    linear-gradient(135deg, #ffffff 0%, #9beeff 35%, #d6b8ff 70%, #ffffff 100%) border-box;
  box-shadow: 0 0 18px -4px rgba(180, 235, 255, 0.45);
  transition: transform 0.22s var(--spring), box-shadow 0.22s var(--ease);
  flex-shrink: 0;
}
.pl-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 24px -2px rgba(210, 240, 255, 0.75);
}
.pl-btn:active {
  transform: scale(0.96);
}
.pl-btn .pl-ic-play {
  display: block;
  transform: translateX(1px);
}
.pl-btn .pl-ic-pause {
  display: none;
}
.pl-btn[aria-pressed="true"] .pl-ic-play,
.pl-row.is-playing .pl-btn .pl-ic-play {
  display: none;
}
.pl-btn[aria-pressed="true"] .pl-ic-pause,
.pl-row.is-playing .pl-btn .pl-ic-pause {
  display: block;
}
.pl-progress {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, height 0.18s;
}
.pl-row.active .pl-progress,
.pl-row.is-active .pl-progress {
  opacity: 1;
  pointer-events: auto;
  height: 5px;
}
.pl-bar {
  display: block;
  height: 100%;
  width: var(--pl-pct, 0%);
  background: linear-gradient(90deg, #ffffff 0%, #9beeff 45%, #d6b8ff 85%, #ffffff 100%);
  box-shadow: 0 0 12px rgba(180, 235, 255, 0.75);
  pointer-events: none;
}
.pl-seek {
  position: absolute;
  inset: -6px 0;
  width: 100%;
  height: calc(100% + 12px);
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.pl-seek:focus-visible {
  opacity: 0.35;
  outline: 1px solid #fff;
}

@media (max-width: 640px) {
  .pl-row-main {
    grid-template-columns: 56px minmax(0, 1fr) auto 44px;
    gap: 8px 10px;
    padding: 12px;
  }
  .pl-cover {
    grid-column: 1;
    grid-row: 1;
  }
  .pl-meta {
    grid-column: 2;
    grid-row: 1;
  }
  .pl-dur {
    grid-column: 3;
    grid-row: 1;
    font-size: 12px;
  }
  .pl-btn {
    grid-column: 4;
    grid-row: 1;
  }
  .pl-yt {
    grid-column: 2 / 5;
    grid-row: 2;
    justify-self: start;
    padding: 4px 10px;
    font-size: 11px;
    margin-top: -2px;
  }
  .pl-artist {
    font-size: 11.5px;
    letter-spacing: 0.03em;
  }
}
