.member-profile-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 90, 24, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 34, 34, 0.12), transparent 30%),
    #070707;
  color: #f4f1ea;
}

.profile-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.profile-hero {
  margin-bottom: 22px;
}

.profile-banner {
  height: 205px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.placeholder-banner,
.placeholder-cover,
.placeholder-avatar,
.placeholder-thumb {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 90, 24, 0.18), rgba(255, 255, 255, 0.045)),
    rgba(12, 12, 12, 0.95);
  border: 1px dashed rgba(255, 122, 47, 0.45);
}

.placeholder-banner span,
.placeholder-cover span,
.placeholder-avatar span {
  color: #ff7a2f;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder-banner p {
  margin: 8px 0 0;
  color: rgba(244, 241, 234, 0.66);
  font-size: 0.9rem;
}

.profile-info-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin: -36px 22px 0;
  padding: 18px;
  border-radius: 22px;
  background: rgba(12, 12, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 2;
}

.profile-avatar {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid rgba(255, 90, 24, 0.8);
  box-shadow: 0 0 36px rgba(255, 90, 24, 0.28);
  background: #111;
  font-size: 0.72rem;
}

.profile-kicker {
  margin: 0 0 6px;
  color: #ff7a2f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.profile-identity h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.profile-handle {
  margin: 7px 0 12px;
  color: rgba(244, 241, 234, 0.7);
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-stats span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(244, 241, 234, 0.86);
  font-size: 0.84rem;
  font-weight: 700;
}

.profile-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.profile-main {
  display: grid;
  gap: 16px;
}

.profile-main .card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(9, 9, 9, 0.86);
}

.profile-main h2 {
  margin-top: 0;
}

.featured-track-card {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 175px;
  background:
    linear-gradient(100deg, rgba(255, 90, 24, 0.2), rgba(120, 24, 12, 0.16), rgba(0, 0, 0, 0.45)),
    rgba(10, 10, 10, 0.9) !important;
}

.featured-cover {
  width: 145px;
  height: 120px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.featured-track-info h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.featured-track-info p {
  color: rgba(244, 241, 234, 0.72);
}

.track-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading a {
  color: #ff7a2f;
  text-decoration: none;
  font-weight: 800;
}

.song-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.song-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px;
  min-height: 74px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.song-thumb {
  width: 54px;
  height: 54px;
  border-radius: 12px;
}

.song-row h3,
.playlist-card h3 {
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.song-row p,
.playlist-card p {
  margin: 0;
  color: rgba(244, 241, 234, 0.62);
  font-size: 0.8rem;
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.playlist-card {
  padding: 12px;
  min-height: 150px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.playlist-thumb {
  width: 100%;
  height: 95px;
  border-radius: 16px;
  margin-bottom: 10px;
}

.profile-about {
  max-width: 760px;
  margin: 8px auto 0;
  text-align: center;
  padding: 24px;
}

.profile-about h2 {
  margin-bottom: 10px;
}

.profile-about p:last-child {
  margin: 0;
  color: rgba(244, 241, 234, 0.72);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .profile-info-card,
  .featured-track-card,
  .song-list,
  .playlist-grid {
    grid-template-columns: 1fr;
  }

  .profile-actions {
    justify-content: flex-start;
  }

  .featured-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .playlist-thumb {
    height: 130px;
  }
}
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.playlist-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  min-height: 124px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.playlist-thumb {
  width: 96px;
  height: 96px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  margin-bottom: 0;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .playlist-grid {
    grid-template-columns: 1fr;
  }

  .playlist-card {
    grid-template-columns: 82px 1fr;
  }

  .playlist-thumb {
    width: 82px;
    height: 82px;
  }
}

/* EDIT PROFILE MODAL */
.edit-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.edit-profile-modal.is-open {
  display: block;
}

.edit-profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.edit-profile-panel {
  position: relative;
  width: min(560px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  margin: 18px auto;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    #151515;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.edit-profile-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 24px 12px;
  position: relative;
}

.edit-profile-header h2 {
  margin: 0;
  font-size: 1.45rem;
}

.edit-profile-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.07);
  color: #f4f1ea;
  font-size: 1.8rem;
  cursor: pointer;
}

.edit-profile-body {
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  padding: 12px 28px 24px;
  display: grid;
  gap: 14px;
}

.edit-label {
  font-weight: 800;
  color: #f4f1ea;
  margin-top: 8px;
}

.edit-upload-box {
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed rgba(255, 122, 47, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 90, 24, 0.18), rgba(255, 255, 255, 0.045)),
    rgba(10, 10, 10, 0.95);
}

.banner-upload {
  height: 170px;
}

.edit-upload-box span {
  color: #ff7a2f;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.edit-upload-box p {
  margin: 8px 0 0;
  color: rgba(244, 241, 234, 0.64);
  font-size: 0.85rem;
}

.edit-avatar-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.edit-avatar-preview {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 22px;
  border: 2px solid rgba(255, 90, 24, 0.8);
  background:
    linear-gradient(135deg, rgba(255, 90, 24, 0.18), rgba(255, 255, 255, 0.045)),
    rgba(10, 10, 10, 0.95);
  color: #ff7a2f;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.edit-input,
.edit-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.065);
  color: #f4f1ea;
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
}

.edit-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.edit-input:focus,
.edit-textarea:focus {
  border-color: rgba(255, 122, 47, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.1);
}

.edit-genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edit-genre-tags span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 241, 234, 0.9);
  font-weight: 700;
  font-size: 0.86rem;
}

.edit-profile-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px 28px 24px;
  background: rgba(18, 18, 18, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 620px) {
  .edit-profile-footer {
    grid-template-columns: 1fr;
  }

  .edit-avatar-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* PLAYABLE SONG ROWS */
.playable-song-row {
  grid-template-columns: 54px 1fr auto;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.playable-song-row:hover,
.playable-song-row.is-playing {
  border-color: rgba(255, 122, 47, 0.52);
  background: rgba(255, 122, 47, 0.09);
}

.playable-song-row.is-playing {
  box-shadow: 0 0 24px rgba(255, 90, 24, 0.12);
}

.song-play-btn {
  border: 1px solid rgba(255, 122, 47, 0.45);
  background: rgba(255, 122, 47, 0.12);
  color: #f4f1ea;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}

.song-play-btn:hover {
  background: rgba(255, 122, 47, 0.2);
}

@media (max-width: 700px) {
  .playable-song-row {
    grid-template-columns: 54px 1fr;
  }

  .song-play-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* SECTION LINK BUTTON */
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #ff7a2f;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  padding: 6px 0;
}

.section-link:hover {
  color: #ff9b5c;
}

/* PROFILE SOCIAL LINKS */
.profile-socials {
  max-width: 760px;
  margin: 8px auto 0;
  text-align: center;
  padding: 22px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social-links a {
  color: #f4f1ea;
  text-decoration: none;
  font-weight: 900;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 47, 0.35);
  background: rgba(255, 122, 47, 0.1);
}

.social-links a:hover {
  background: rgba(255, 122, 47, 0.2);
}

/* PROFILE SOCIAL LINKS */
.profile-socials {
  max-width: 760px;
  margin: 8px auto 0;
  text-align: center;
  padding: 18px 22px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4f1ea;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 47, 0.35);
  background: rgba(255, 122, 47, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  background: rgba(255, 122, 47, 0.2);
  border-color: rgba(255, 122, 47, 0.6);
  transform: translateY(-2px);
}

.social-links a svg {
  width: 22px;
  height: 22px;
  display: block;
}
/* FINAL SOCIAL ICON FIX */
.profile-socials {
  max-width: 760px;
  margin: 8px auto 0;
  text-align: center;
  padding: 18px 22px;
}

.social-links {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.social-links a {
  width: 46px !important;
  height: 46px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #f4f1ea;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 47, 0.35);
  background: rgba(255, 122, 47, 0.1);
}

.social-links a svg {
  width: 23px !important;
  height: 23px !important;
  display: block !important;
}

.social-links a:hover {
  background: rgba(255, 122, 47, 0.2);
  border-color: rgba(255, 122, 47, 0.6);
}

$cssPath = "assets/members/profile.css"
$css = Get-Content $cssPath -Raw

$css = [regex]::Replace(
  $css,
  "(?s)\r?\n?/\* PROFILE NAV BUTTONS \*/.*?/\* END PROFILE NAV BUTTONS \*/\r?\n?",
  ""
)

$cssPatch = @'

'@

Set-Content $cssPath ($css.TrimEnd() + "`r`n" + $cssPatch + "`r`n")

/* MEMBER TOP NAV */
.member-top-nav {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 14px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.member-top-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.member-top-links a,
.member-top-links button {
  height: 36px;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 24, 0.38);
  background: rgba(255, 122, 24, 0.10);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.member-top-links a:hover,
.member-top-links button:hover {
  border-color: rgba(255, 122, 24, 0.85);
  background: rgba(255, 122, 24, 0.22);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .member-top-nav {
    justify-content: center;
  }

  .member-top-links {
    width: 100%;
    justify-content: center;
  }

  .member-top-links a,
  .member-top-links button {
    flex: 1 1 42%;
  }
}
/* END MEMBER TOP NAV */

/* FEATURED PICKER MODAL */
.featured-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.featured-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.featured-picker-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(720px, 86vh);
  overflow: auto;
  border: 1px solid rgba(255, 122, 24, 0.32);
  border-radius: 22px;
  background: rgba(10, 10, 14, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
  padding: 22px;
}

.featured-picker-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.featured-picker-header h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
}

.featured-picker-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 24, 0.35);
  background: rgba(255, 122, 24, 0.10);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.featured-picker-list {
  display: grid;
  gap: 10px;
}

.featured-picker-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.featured-picker-row:hover {
  border-color: rgba(255, 122, 24, 0.58);
  background: rgba(255, 122, 24, 0.12);
}

.featured-picker-row strong {
  display: block;
  font-size: 0.98rem;
}

.featured-picker-row small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.featured-picker-row em {
  flex: 0 0 auto;
  font-style: normal;
  font-weight: 900;
  color: #ff7a18;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.featured-picker-empty {
  color: rgba(255, 255, 255, 0.7);
}
/* END FEATURED PICKER MODAL */

/* CREATE PLAYLIST MODAL */
.create-playlist-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.create-playlist-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
}

.create-playlist-panel {
  position: relative;
  width: min(560px, 100%);
  border: 1px solid rgba(255, 122, 24, 0.34);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(18, 18, 22, 0.98), rgba(34, 13, 4, 0.96));
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.62);
  padding: 24px;
}

.create-playlist-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.create-playlist-header h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
}

.create-playlist-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 24, 0.35);
  background: rgba(255, 122, 24, 0.10);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.create-playlist-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.create-playlist-actions button {
  min-width: 132px;
}
/* END CREATE PLAYLIST MODAL */



.playlist-detail {
  margin-top: 16px;
}

.playlist-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.playlist-detail-songs .song-row {
  display: grid;
  grid-template-columns: 54px 1fr minmax(260px, 420px);
  align-items: center;
  gap: 14px;
}

.playlist-audio-player {
  width: 100%;
  max-width: 420px;
}

.playlist-no-audio {
  opacity: 0.7;
  font-size: 13px;
}


/* Playlist detail player override */
.playlist-detail-songs .song-row {
  display: grid !important;
  grid-template-columns: 56px minmax(180px, 280px) 1fr !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 92px;
}

.playlist-detail-songs .song-row > div:nth-child(2) {
  min-width: 0;
}

.playlist-audio-player {
  width: 100% !important;
  max-width: none !important;
  height: 42px;
  border-radius: 999px;
  background: #0b0b0b;
  filter: invert(1) hue-rotate(180deg);
}

.playlist-audio-player::-webkit-media-controls-panel {
  background-color: #f4f4f4;
}

.playlist-no-audio {
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255, 106, 43, 0.35);
  border-radius: 999px;
  color: #f4f4f4;
  background: rgba(255, 106, 43, 0.08);
}


/* Playlist custom no-download player */
.playlist-detail-songs .song-row {
  display: grid !important;
  grid-template-columns: 56px minmax(180px, 280px) 1fr !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 92px;
}

.playlist-playbar {
  width: 100% !important;
  max-width: none !important;
  min-height: 44px;
  display: grid !important;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 18px !important;
  border: 1px solid rgba(255, 106, 43, 0.45) !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(255, 106, 43, 0.18), rgba(20, 20, 20, 0.95)) !important;
  color: #fff !important;
  text-align: left;
  cursor: pointer;
}

.playlist-playbar:hover {
  border-color: rgba(255, 106, 43, 0.8) !important;
  box-shadow: 0 0 18px rgba(255, 106, 43, 0.18);
}

.playlist-play-icon {
  font-size: 13px;
  color: #ff6a2b;
}

.playlist-play-label {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.playlist-play-line {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 106, 43, 0.9), rgba(255, 255, 255, 0.18));
}


/* Playlist progress bar */
.playlist-playbar {
  grid-template-columns: 74px 92px 1fr !important;
}

.playlist-play-time {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.88;
  white-space: nowrap;
}

.playlist-play-track {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.playlist-play-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6a2b, #ffffff);
}


/* Playlist delete action */
.playlist-row-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.playlist-delete-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 106, 43, 0.55);
  border-radius: 999px;
  background: rgba(255, 106, 43, 0.08);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.playlist-delete-btn:hover {
  border-color: rgba(255, 106, 43, 0.95);
  background: rgba(255, 106, 43, 0.18);
}


/* Playlist card actions */
.playlist-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.playlist-card-actions .secondary-btn {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.playlist-card-actions .playlist-delete-btn {
  border-color: rgba(255, 106, 43, 0.65);
}

/* MEMBER TOP NAV POLISH */
.member-top-nav {
  display: flex;
  justify-content: center;
  margin: 18px 0 26px;
}

.member-top-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.member-top-links a,
.member-top-links button {
  padding: 10px 18px;
  border: 1px solid rgba(255, 106, 42, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 106, 42, 0.14);
}

.member-top-links a:hover,
.member-top-links button:hover {
  background: linear-gradient(135deg, #ff6a2a, #d92f24);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 26px rgba(255, 106, 42, 0.32);
}

/* MEMBER TOP NAV FINAL POSITION + BUTTON STYLE */
.member-top-nav {
  justify-content: flex-end !important;
  max-width: 1180px;
  margin: 22px auto 18px !important;
  padding: 0 28px;
}

.member-top-links {
  gap: 12px !important;
}

.member-top-links a,
.member-top-links button {
  min-width: 118px;
  padding: 11px 18px !important;
  border: 1px solid rgba(255, 106, 42, 0.75) !important;
  background: linear-gradient(135deg, #ff6a2a, #d92f24) !important;
  color: #ffffff !important;
  text-align: center;
  line-height: 1;
  box-shadow: 0 0 22px rgba(255, 106, 42, 0.22) !important;
}

.member-top-links a:hover,
.member-top-links button:hover {
  background: linear-gradient(135deg, #ff7a3a, #ff3b3b) !important;
  transform: translateY(-1px);
}
