* {
  box-sizing: border-box;
}

:root {
  --bg: #031a2f;
  --bg2: #062b4d;

  --card: #0a3559;
  --card2: #0c426d;

  --blue: #1597ff;
  --blue2: #0879dc;

  --white: #ffffff;
  --soft: #a9c2d7;

  --border:
    rgba(255,255,255,.10);

  --danger: #ff5364;

  --shadow:
    0 16px 40px rgba(0,0,0,.22);
}


html,
body {
  margin: 0;

  min-height: 100%;

  background:
    linear-gradient(
      180deg,
      #042542 0%,
      #03182b 100%
    );

  color: var(--white);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}


button,
input {
  font: inherit;
}


button {
  cursor: pointer;
}


.music-app {
  width: 100%;
  min-height: 100vh;
}


.music-header {
  position: sticky;
  top: 0;
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding:
    calc(14px + env(safe-area-inset-top))
    18px
    14px;

  background:
    rgba(3,26,47,.94);

  backdrop-filter: blur(16px);

  border-bottom:
    1px solid var(--border);
}


.music-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}


.music-logo {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  font-size: 27px;
  font-weight: 900;

  background:
    linear-gradient(
      135deg,
      #ff5364,
      #e72253
    );

  box-shadow:
    0 10px 24px rgba(231,34,83,.25);
}


.music-brand h1 {
  margin: 0;

  font-size: 20px;
}


.music-brand small {
  display: block;

  margin-top: 2px;

  color: var(--soft);
}


.header-button {
  position: relative;

  width: 45px;
  height: 45px;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: var(--card);

  color: white;

  font-size: 22px;
}


.playlist-count {
  position: absolute;
  top: -4px;
  right: -4px;

  min-width: 19px;
  height: 19px;

  display: grid;
  place-items: center;

  padding: 0 5px;

  border-radius: 20px;

  background: var(--blue);

  color: white;

  font-size: 10px;
  font-weight: 800;
}


.search-section {
  padding: 16px;
}


.search-box {
  display: flex;
  align-items: center;
  gap: 10px;

  max-width: 850px;
  margin: auto;
  padding: 7px;

  border: 2px solid #1597ff;
  border-radius: 18px;

  background: #d9efff;

  box-shadow:
    0 0 0 2px rgba(21,151,255,.15),
    0 0 14px rgba(21,151,255,.45);
}


.search-box > span {
  margin-left: 10px;

  font-size: 24px;

  color: #06213a;
}


.search-box input {
  flex: 1;

  min-width: 0;

  padding: 12px 5px;

  border: 0;
  outline: 0;

  background: transparent;

 color: #06213a;

  font-size: 16px;
}


.search-box input::placeholder {
  color: #294b66;
  opacity: 1;
}


.search-box button {
  border: 0;

  padding: 11px 17px;

  border-radius: 12px;

  background: var(--blue);

  color: white;

  font-weight: 800;
}


.player-section {
  max-width: 850px;

  margin: 0 auto 18px;

  padding: 0 16px 16px;
}


.video-wrap {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 20px;

  background: #000;

  box-shadow: var(--shadow);
}


.video-wrap iframe {
  width: 100%;
  height: 100%;
}
/* =========================================
   AUDIUS CUSTOM CONTROLS
========================================= */

#audiusPlayer {
  display: none !important;
}

.audius-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;

  display: flex;
  align-items: center;
  gap: 10px;

  z-index: 50;
  color: #ffffff;
}

.audius-controls[hidden] {
  display: none !important;
}

#audiusPlayPause {
  width: 46px;
  height: 46px;
  min-width: 46px;

  display: grid;
  place-items: center;

  padding: 0;
  border: 0;
  border-radius: 50%;

  background: #1597ff;
  color: #ffffff;

  font-size: 17px;
  font-weight: 900;

  box-shadow:
    0 5px 18px rgba(21, 151, 255, .35);
}

#audiusCurrentTime,
#audiusDuration {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

#audiusProgress {
  flex: 1;
  min-width: 50px;
  accent-color: #1597ff;
}

.audius-volume-icon {
  font-size: 17px;
}

#audiusVolume {
  width: 85px;
  accent-color: #1597ff;
}

@media (max-width: 600px) {

  .audius-controls {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 6px;
  }

  #audiusPlayPause {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  #audiusCurrentTime,
  #audiusDuration {
    font-size: 10px;
  }

  #audiusVolume {
    width: 55px;
  }

}

.now-playing-info {
  position: relative;
  padding: 16px 4px 10px;
}


.now-playing-info small,
.section-heading small,
.drawer-header small {
  color: var(--blue);

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .08em;
}


.now-playing-info h2 {
  margin: 5px 0 3px;

  font-size: 22px;
}


.now-playing-info p {
  margin: 0;

  color: var(--soft);
}


.player-actions {
  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap: 8px;

  margin-top: 8px;
}


.player-actions button {
  min-width: 0;

  border:
    1px solid var(--border);

  border-radius: 14px;

  padding: 10px 5px;

  background: var(--card);

  color: white;

  font-size: 18px;
}


.player-actions button span {
  display: block;

  margin-top: 4px;

  color: var(--soft);

  font-size: 10px;
}


.player-actions button.active {
  color: #ff5a72;
}

/* =========================================
   SEND BUTTON - PRIMARY MUSIC ACTION
========================================= */

#sendSongButton {
  transition:
    background .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

#sendSongButton.send-ready {
  background: #1597ff !important;
  border-color: #6fc4ff !important;
  color: #ffffff !important;

  box-shadow:
    0 0 0 2px rgba(21,151,255,.18),
    0 0 16px rgba(21,151,255,.50);
}

#sendSongButton.send-ready span {
  color: #ffffff !important;
}

#sendSongButton.send-ready:hover {
  transform: translateY(-1px);
}
/* SEND BUTTON — READY PULSE */

#sendSongButton.send-ready {
  animation:
    sendButtonPulse 1.6s ease-in-out infinite;
}

@keyframes sendButtonPulse {

  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(21,151,255,.15),
      0 0 8px rgba(21,151,255,.35);
  }

  50% {
    box-shadow:
      0 0 0 3px rgba(21,151,255,.28),
      0 0 22px rgba(21,151,255,.90);
  }

}
.autoplay-control {
  display: flex;
  align-items: center;

  margin-top: 12px;

  padding: 14px;

  border:
    1px solid var(--border);

  border-radius: 16px;

  background: var(--card);
}


.autoplay-control > div {
  flex: 1;
}


.autoplay-control strong {
  display: block;
}


.autoplay-control small {
  display: block;

  margin-top: 3px;

  color: var(--soft);
}


.autoplay-control input {
  position: absolute;

  opacity: 0;
}


.switch {
  position: relative;

  width: 48px;
  height: 27px;

  border-radius: 30px;

  background: #547087;

  transition: .2s;
}


.switch::after {
  content: "";

  position: absolute;

  top: 3px;
  left: 3px;

  width: 21px;
  height: 21px;

  border-radius: 50%;

  background: white;

  transition: .2s;
}


.autoplay-control
input:checked + .switch {
  background: var(--blue);
}


.autoplay-control
input:checked + .switch::after {
  transform:
    translateX(21px);
}

/* =========================================
   AUTOPLAY + UP NEXT
========================================= */

.autoplay-next-card {
  margin-top: 12px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: 16px;

  background: var(--card);
}


.autoplay-next-card .autoplay-control {
  margin: 0;

  padding: 10px 12px;

  border: 0;
  border-radius: 0;

  min-height: 42px;

  justify-content: space-between;
}


.autoplay-next-card .autoplay-control strong {
  font-size: 14px;
}


.up-next-row {
  width: 100%;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 8px 12px;

  border: 0;
  border-top:
    1px solid var(--border);

  background: transparent;

  color: white;

  text-align: left;
}


.up-next-thumbnail {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  object-fit: cover;

  border-radius: 8px;

  background: #031a2f;
}


.up-next-info {
  flex: 1;

  min-width: 0;

  display: flex;
  align-items: center;
  gap: 5px;

  overflow: hidden;
}


.up-next-info strong {
  flex: 0 0 auto;

  color: var(--blue);

  font-size: 12px;
}


.up-next-info span {
  overflow: hidden;

  color: white;

  font-size: 12px;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.up-next-arrow {
  flex: 0 0 auto;

  color: var(--soft);

  font-size: 22px;
  line-height: 1;
}
.music-tabs {
  position: sticky;
  top: 75px;
  z-index: 15;

  display: flex;
  gap: 8px;

  padding: 10px 16px;

  background:
    rgba(3,24,43,.96);

  border-top:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);
}


.music-tab {
  flex: 1;

  max-width: 180px;

  padding: 10px;

  border:
    1px solid var(--border);

  border-radius: 20px;

  background: transparent;

  color: var(--soft);

  font-weight: 800;
}


.music-tab.active {
  background: var(--blue);

  color: white;

  border-color: var(--blue);
}


.music-content {
  max-width: 850px;

  margin: auto;

  padding: 18px 16px 80px;
}


.view {
  display: none;
}


.view.active {
  display: block;
}


.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 14px;
}


.section-heading h2 {
  margin: 4px 0 0;
}


.text-button {
  border: 0;

  background: transparent;

  color: var(--blue);

  font-weight: 800;
}


.empty-state {
  padding: 55px 20px;

  text-align: center;

  color: var(--soft);
}


.empty-icon {
  width: 72px;
  height: 72px;

  display: grid;
  place-items: center;

  margin: auto;

  border-radius: 50%;

  background: var(--card);

  color: var(--blue);

  font-size: 38px;
}


.empty-state h3 {
  margin-bottom: 5px;

  color: white;
}


.empty-state p {
  max-width: 360px;

  margin: auto;

  line-height: 1.5;
}


.song-list {
  display: grid;
  gap: 10px;
}


.song-card {
  display: grid;

 grid-template-columns:
  110px minmax(0,1fr) auto auto;

  align-items: center;

  gap: 12px;

  padding: 9px;

  border:
    1px solid var(--border);

  border-radius: 16px;

  background:
    rgba(10,53,89,.88);
}


.song-thumb {
  position: relative;

  width: 110px;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 11px;

  background: #000;

  cursor: pointer;
}


.song-thumb img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


.play-overlay {
  position: absolute;

  inset: 0;

  display: grid;
  place-items: center;

  background:
    rgba(0,0,0,.18);

  color: white;

  font-size: 24px;
}


.song-info {
  min-width: 0;

  cursor: pointer;
}


.song-info strong {
  display: block;

  overflow: hidden;

  color: white;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.song-info small {
  display: block;

  margin-top: 5px;

  overflow: hidden;

  color: var(--soft);

  text-overflow: ellipsis;
  white-space: nowrap;
}


.song-add {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 0;

  border-radius: 50%;

  background: var(--blue);

  color: white;

  font-size: 27px;

  line-height: 1;
}


.song-add.added {
  background: #14875a;

  font-size: 18px;
}

.song-repeat {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: var(--card);
  color: white;

  font-size: 19px;
  line-height: 1;
}

.song-repeat.active {
  background: #14875a;
  border-color: #14875a;
}
.drawer-backdrop {
  position: fixed;

  inset: 0;

  z-index: 90;

  background:
    rgba(0,0,0,.56);
}


.playlist-drawer {
  position: fixed;

  top: 0;
  right: 0;
  bottom: 0;

  z-index: 100;

  width: min(430px, 94vw);

  padding:
    calc(18px + env(safe-area-inset-top))
    16px
    calc(20px + env(safe-area-inset-bottom));

  overflow-y: auto;

  background: #041f37;

  box-shadow:
    -20px 0 50px rgba(0,0,0,.35);

  transform:
    translateX(105%);

  transition:
    transform .25s ease;
}


.playlist-drawer.open {
  transform:
    translateX(0);
}


.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.drawer-header h2 {
  margin: 4px 0 0;
}


.close-button {
  width: 42px;
  height: 42px;

  border:
    1px solid var(--border);

  border-radius: 50%;

  background: var(--card);

  color: white;

  font-size: 28px;
}


.playlist-tools {
  display: grid;
  gap: 9px;

  margin: 20px 0;
}


.primary-button,
.secondary-button {
  padding: 13px;

  border-radius: 13px;

  font-weight: 800;
}


.primary-button {
  border: 0;

  background: var(--blue);

  color: white;
}


.secondary-button {
  border:
    1px solid var(--border);

  background: var(--card);

  color: white;
}


.playlist-empty {
  padding: 50px 15px;

  text-align: center;

  color: var(--soft);
}


.playlist-empty > div {
  font-size: 45px;
}


.playlist-empty h3 {
  color: white;
}


.playlist-list {
  display: grid;
  gap: 9px;
}


.playlist-item {
  display: grid;

  grid-template-columns:
    76px minmax(0,1fr) auto;

  gap: 10px;

  align-items: center;

  padding: 8px;

  border-radius: 13px;

  background: var(--card);
}


.playlist-item img {
  width: 76px;

  aspect-ratio: 16 / 9;

  object-fit: cover;

  border-radius: 8px;
}


.playlist-item-info {
  min-width: 0;
}


.playlist-item strong,
.playlist-item small {
  display: block;

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.playlist-item small {
  margin-top: 3px;

  color: var(--soft);
}


.remove-song {
  width: 35px;
  height: 35px;

  border: 0;

  border-radius: 50%;

  background:
    rgba(255,83,100,.15);

  color: var(--danger);

  font-size: 20px;
}


.music-toast {
  position: fixed;

  left: 50%;
  bottom:
    calc(20px + env(safe-area-inset-bottom));

  z-index: 200;

  max-width: calc(100vw - 30px);

  padding: 11px 17px;

  border-radius: 30px;

  background: white;

  color: #06213a;

  font-weight: 800;

  box-shadow: var(--shadow);

  opacity: 0;

  pointer-events: none;

  transform:
    translate(-50%, 20px);

  transition: .2s;
}


.music-toast.show {
  opacity: 1;

  transform:
    translate(-50%, 0);
}


@media (max-width: 600px) {

  .music-header {
    padding-left: 13px;
    padding-right: 13px;
  }


  .music-brand h1 {
    font-size: 17px;
  }


  .music-brand small {
    font-size: 10px;
  }


    .search-section {
    padding: 10px 12px;
  }

  .search-box {
    gap: 4px;
    padding: 5px 6px;
    border-radius: 16px;
  }

  .search-box > span {
    margin-left: 5px;
    font-size: 18px;
    flex: 0 0 auto;
  }

  .search-box input {
    min-width: 0;
    padding: 9px 2px;
    font-size: 13px;
  }

  .search-box input::placeholder {
    font-size: 13px;
  }

  .search-box button {
    flex: 0 0 auto;
    padding: 9px 11px;
    font-size: 12px;
    border-radius: 11px;
  }


  .music-tabs {
    top: 72px;

    padding:
      8px 12px;
  }


  .music-content {
    padding-left: 11px;
    padding-right: 11px;
  }


  .song-card {
    grid-template-columns:
      92px minmax(0,1fr) 40px;

    gap: 9px;
  }


  .song-thumb {
    width: 92px;
  }


  .song-info strong {
    font-size: 13px;
  }


  .song-info small {
    font-size: 11px;
  }


  .song-add {
    width: 38px;
    height: 38px;
  }


 .player-actions {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

.player-actions button {
  min-width: 0;
  padding: 8px 2px;
  font-size: 15px;
}

.player-actions button span {
  font-size: 9px;
}

}
/* =========================================
   CUSTOM MUSIC COLORS
========================================= */

/* BACKGROUND */

body.custom-music-theme,
body.custom-music-theme .music-app,
body.custom-music-theme .music-header,
body.custom-music-theme .music-tabs,
body.custom-music-theme .search-section,
body.custom-music-theme .music-content {
  background:
    var(
      --music-custom-background,
      #ffffff
    ) !important;
}


/* =========================================
   CUSTOM BUTTON COLOR
========================================= */

body.custom-music-theme
.search-box button,

body.custom-music-theme
.player-actions button,

body.custom-music-theme
.music-tab.active,

body.custom-music-theme
.primary-button,

body.custom-music-theme
.header-button {
  background:
    var(
      --music-custom-button,
      #126dff
    ) !important;
}
/* =========================================
   MOBILE - SMALLER ADD (+) BUTTON
========================================= */

@media (max-width: 600px) {

  .song-card {
  grid-template-columns:
 92px minmax(0, 1fr) auto auto auto !important;
  }

  .song-add {
    width: 32px !important;
    height: 32px !important;

    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;

    padding: 0 !important;

    display: grid !important;
    place-items: center !important;

    border-radius: 50% !important;

    font-size: 20px !important;
    line-height: 1 !important;
  }

}
/* =========================================
   SEARCH RESULTS NOTICE
========================================= */

.search-result-notice {
  max-width: 850px;
  margin: 10px auto 0;
  padding: 10px 14px;

  border: 1px solid #1597ff;
  border-radius: 12px;

  background: rgba(21, 151, 255, 0.12);

  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.search-result-notice[hidden] {
  display: none !important;
}
/* =========================================
   MUSIC SEARCH SPINNER
========================================= */

.music-search-loader {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;
  z-index: 9999;
}

.music-search-loader[hidden] {
  display: none !important;
}

.music-search-spinner {
  width: 42px;
  height: 42px;

  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: #1597ff;
  border-radius: 50%;

  animation: musicSearchSpin 0.7s linear infinite;
}

@keyframes musicSearchSpin {
  to {
    transform: rotate(360deg);
  }
}
/* KEEP SEARCH SPINNER ABOVE ACTIVE PLAYER */
.music-search-loader {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none !important;
}

.music-search-loader[hidden] {
  display: none !important;
}
/* =========================================
   SEND SONG POPUP
========================================= */

.send-song-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 2000;
}

.send-song-modal {
  position: fixed;
  inset: 0;
  z-index: 2001;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 18px;

  pointer-events: none;
  opacity: 0;

  transition: opacity 0.2s ease;
}

.send-song-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.send-song-panel {
  width: min(100%, 440px);

  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;

  padding: 20px;

  box-shadow:
    0 24px 70px
    rgba(0, 0, 0, 0.45);
}

.send-song-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;
  margin-bottom: 18px;
}

.send-song-header h2 {
  margin: 0;
  font-size: 20px;
}
.send-song-heading-text small {
  display: block;
  margin-top: 4px;

  color: var(--soft);
  font-size: 12px;
  font-weight: 600;
}
#closeSendSongButton {
  width: 36px;
  height: 36px;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: transparent;
  color: white;

  font-size: 22px;
  line-height: 1;

  cursor: pointer;
}

.send-song-current {
  display: flex;
  align-items: center;

  gap: 12px;

  padding: 10px;
  margin-bottom: 18px;

  border: 1px solid var(--border);
  border-radius: 14px;
}

.send-song-current img {
  width: 70px;
  height: 50px;

  object-fit: cover;
  border-radius: 9px;
}

.send-song-current div {
  min-width: 0;
}

.send-song-current strong,
.send-song-current small {
  display: block;
}

.send-song-current strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-song-current small {
  margin-top: 4px;
  color: var(--soft);
}

.send-song-panel label {
  display: block;

  margin-bottom: 7px;

  font-size: 13px;
  font-weight: 700;
}
#sendSongTo,
#sendSongFrom {
  box-sizing: border-box;
  width: 100%;

  padding: 12px;
  margin-bottom: 14px;

  border: 1px solid var(--border);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.06);
  color: white;

  font: inherit;
}

#sendSongTo::placeholder {
  color: var(--soft);
}
#sendSongNote {
  box-sizing: border-box;

  width: 100%;
  min-height: 100px;

  resize: vertical;

  padding: 12px;

  border: 1px solid var(--border);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.06);
  color: white;

  font: inherit;
}
#sendSongNote::placeholder {
  color: var(--soft);
}
#sendSongTo:focus,
#sendSongNote:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(21, 151, 255, 0.15);
}
.send-song-emojis {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 9px;

  overflow-x: auto;
  flex-wrap: nowrap;

  scrollbar-width: none;
}

.send-song-emojis::-webkit-scrollbar {
  display: none;
}

.send-song-emojis button {
  flex: 0 0 38px;

  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;

  padding: 0 !important;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50% !important;

  background: rgba(255,255,255,.10);

  font-size: 19px;
  line-height: 1;
}

.send-song-count {
  margin-top: 5px;

  text-align: right;

  color: var(--soft);
  font-size: 11px;
}

.send-song-submit {
  width: 100%;

  margin-top: 14px;
  padding: 13px;

  border: 0;
  border-radius: 14px;

  background: #2563eb;
  color: white;

  font-weight: 800;
  font-size: 15px;

  cursor: pointer;
}

.send-song-submit:active {
  transform: scale(0.98);
}
/* MOBILE */

@media (max-width: 600px) {

  .send-song-modal {
    align-items: flex-end;
    padding: 0;
  }

  .send-song-panel {
    width: 100%;

    border-radius:
      22px 22px 0 0;

    padding:
      18px 16px
      calc(18px + env(safe-area-inset-bottom));
  }

}
/* =========================================
   MUSIC VIBE THEME SLIDER
========================================= */

.send-song-theme-button {
  margin-top: 10px;
  padding: 7px 12px;

  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;

  background: rgba(255,255,255,.08);
  color: #ffffff;

  font-size: 12px;
  font-weight: 800;
}

.send-song-theme-picker {
  width: 100%;
  margin-top: 8px;
}

.send-song-theme-picker[hidden] {
  display: none !important;
}

.send-song-theme-slider {
  display: flex;
  gap: 6px;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 3px 1px 7px;

  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}



.send-song-theme-slider::-webkit-scrollbar {
  display: none;
}

.vibe-theme-option {
  flex: 0 0 82px;

  padding: 5px;

  border: 2px solid transparent;
  border-radius: 11px;

  background: rgba(255,255,255,.06);
  color: #ffffff;

  scroll-snap-align: start;
}
/* DESKTOP - FIT ALL 5 THEMES */

@media (min-width: 601px) {

  .vibe-theme-option {
    flex: 1 1 0;
    min-width: 0;
  }

}
.vibe-theme-option.active {
  border-color: #1597ff;
  background: rgba(21,151,255,.15);
}

.vibe-theme-preview {
  width: 100%;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;

  font-size: 20px;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.14);
}

.vibe-theme-option small {
  display: block;

  margin-top: 5px;

  overflow: hidden;

  font-size: 9px;
  font-weight: 700;

  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* THEME SAMPLE COLORS */

.theme-blue {
  background:
    linear-gradient(
      135deg,
      #1597ff,
      #073d68
    );
}

.theme-love {
  background:
    linear-gradient(
      135deg,
      #ff416c,
      #8b1238
    );
}

.theme-birthday {
  background:
    linear-gradient(
      135deg,
      #7c3aed,
      #ec4899,
      #f59e0b
    );
}

.theme-celebration {
  background:
    linear-gradient(
      135deg,
      #00b894,
      #0984e3,
      #6c5ce7
    );
}

.theme-dark {
  background:
    linear-gradient(
      135deg,
      #202938,
      #05080d
    );
}


/* MOBILE - KEEP PREVIEWS SMALL */

@media (max-width: 600px) {

  .send-song-theme-slider {
    gap: 6px;
  }

  .vibe-theme-option {
    flex-basis: 70px;
    padding: 4px;
  }

  .vibe-theme-preview {
    height: 38px;
    font-size: 17px;
  }

  .vibe-theme-option small {
    font-size: 8px;
  }

}
/* =========================================
   ABOUT ARTIST BUTTON - FORCED POSITION
========================================= */

.now-playing-info {
  position: relative !important;
  overflow: visible !important;
}

/* Do not let title row control button position */
.now-playing-title-row {
  position: static !important;
  display: block !important;
  width: 100% !important;
}

/* Keep title normal */
#nowPlayingTitle {
  display: block !important;
  width: auto !important;
 max-width: calc(100% - 70px) !important;
}

/* FORCE BUTTON TO RIGHT SIDE */
#artistInfoButton {
  position: absolute !important;

  top: 38px !important;
  right: -58px !important;

  left: auto !important;
  bottom: auto !important;

  transform: none !important;

  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  visibility: visible !important;
  opacity: 1 !important;

  border: 2px solid #1597ff !important;
  border-radius: 13px !important;

  background: #073d68 !important;

  box-shadow:
    0 0 0 1px rgba(21,151,255,.20),
    0 6px 18px rgba(0,0,0,.30) !important;

  cursor: pointer !important;
  z-index: 9999 !important;
}

/* SPEECH BUBBLE */
#artistInfoButton .artist-chat-icon {
  position: relative !important;

  display: block !important;

  width: 17px !important;
  height: 13px !important;

  border: 2px solid #ffffff !important;
  border-radius: 6px !important;

  box-sizing: border-box !important;
}

#artistInfoButton .artist-chat-icon::after {
  content: "" !important;

  position: absolute !important;

  left: 2px !important;
  bottom: -5px !important;

  width: 6px !important;
  height: 6px !important;

  border-left: 2px solid #ffffff !important;
  border-bottom: 2px solid #ffffff !important;

  transform: skewY(-35deg) !important;
}


/* MOBILE - KEEP BUTTON INSIDE SCREEN */
@media (max-width: 600px) {

  .now-playing-info {
    padding-right: 52px !important;
  }

  #artistInfoButton {
    top: 35px !important;
    right: 4px !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

}
@media (max-width: 600px) {

  .now-playing-info {
    padding-right: 52px !important;
  }

  #artistInfoButton {
    top: 35px !important;
    right: 4px !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

}

/* =========================================
   ABOUT THE ARTIST PANEL
   ADD NEW CODE HERE
========================================= */
/* =========================================
   ABOUT THE ARTIST PANEL
========================================= */

.artist-info-backdrop {
  position: fixed;
  inset: 0;

  background: rgba(0, 10, 24, 0.55);

  z-index: 99998;
}

.artist-info-backdrop[hidden] {
  display: none !important;
}


/* PANEL */

.artist-info-panel {
  position: fixed;

  top: 50%;
  right: 24px;

  width: min(390px, calc(100vw - 32px));
  max-height: 80vh;

  transform:
    translateY(-50%)
    translateX(120%);

  background:
    linear-gradient(
      180deg,
      #062c4b 0%,
      #031d34 100%
    );

  border: 1px solid #1597ff;
  border-radius: 18px;

  box-shadow:
    0 18px 50px
    rgba(0, 0, 0, 0.45);

  color: #ffffff;

  overflow: hidden;

  opacity: 0;
  visibility: hidden;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;

  z-index: 99999;
}


/* OPEN PANEL */

.artist-info-panel.open {
  transform:
    translateY(-50%)
    translateX(0);

  opacity: 1;
  visibility: visible;
}


/* HEADER */

.artist-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 20px;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.12);
}

.artist-info-header small {
  display: block;

  margin-bottom: 3px;

  color: #1597ff;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.artist-info-header h2 {
  margin: 0;

  color: #ffffff;

  font-size: 21px;
}


/* CLOSE BUTTON */

#closeArtistInfoButton {
  width: 36px;
  height: 36px;

  padding: 0;

  display: grid;
  place-items: center;

  background:
    rgba(255, 255, 255, 0.08);

  border:
    1px solid
    rgba(255, 255, 255, 0.16);

  border-radius: 50%;

  color: #ffffff;

  font-size: 24px;
  line-height: 1;

  cursor: pointer;
}


/* CONTENT */

.artist-info-content {
  padding: 20px;

  overflow-y: auto;

  max-height:
    calc(80vh - 78px);
}

.artist-info-content h3 {
  margin: 0 0 12px;

  color: #ffffff;

  font-size: 24px;
}

.artist-info-content p {
  margin: 0;

  color: #d9e8f5;

  font-size: 15px;
  line-height: 1.65;
}


/* LOADING */

.artist-info-loading {
  padding: 20px 0;

  color: #8dccff;

  font-weight: 700;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .artist-info-panel {
    top: auto;

    right: 10px;
    bottom: 10px;
    left: 10px;

    width: auto;
    max-height: 75vh;

    transform:
      translateY(110%);
  }

  .artist-info-panel.open {
    transform:
      translateY(0);

    opacity: 1;
    visibility: visible;
  }

}

/* FORCE ARTIST BUTTON CLICKABLE */

#artistInfoButton {
  pointer-events: auto !important;
  touch-action: manipulation !important;
  z-index: 9999 !important;
}
.now-playing-info {
  position: relative !important;
  z-index: 50 !important;
}

.now-playing-title-row {
  pointer-events: auto !important;
}
/* =========================================
   ABOUT ARTIST - FINAL PANEL DESIGN
========================================= */

#artistInfoPanel {
  width: min(390px, calc(100vw - 30px)) !important;
  height: auto !important;
  min-height: 230px !important;
  max-height: 75vh !important;

  padding: 0 !important;

  background: linear-gradient(
    180deg,
    #073d68 0%,
    #031d34 100%
  ) !important;

  border: 1px solid #1597ff !important;
  border-radius: 18px !important;

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55) !important;

  overflow: hidden !important;

  color: #ffffff !important;
}

#artistInfoPanel .artist-info-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  padding: 16px 18px !important;

  border-bottom:
    1px solid rgba(255,255,255,.12) !important;
}

#artistInfoPanel .artist-info-content {
  padding: 20px !important;
}

#artistInfoPanel h2,
#artistInfoPanel h3 {
  color: #ffffff !important;
}

#artistInfoPanel p {
  color: #d9e8f5 !important;
}

#closeArtistInfoButton {
  width: 36px !important;
  height: 36px !important;

  display: grid !important;
  place-items: center !important;

  padding: 0 !important;

  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 50% !important;

  background: rgba(255,255,255,.10) !important;
  color: #ffffff !important;

  font-size: 22px !important;

  cursor: pointer !important;
}

/* =========================================
   ABOUT ARTIST - OPEN POSITION
========================================= */

#artistInfoPanel.open {
  position: fixed !important;

  top: 50% !important;
  right: 20px !important;
  bottom: auto !important;
  left: auto !important;

  transform: translateY(-50%) !important;

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;

  z-index: 100000 !important;
}

#artistInfoBackdrop {
  z-index: 99999 !important;
}

@media (max-width: 600px) {

  #artistInfoPanel.open {
    top: auto !important;
    right: 10px !important;
    bottom: 10px !important;
    left: 10px !important;

    transform: none !important;
  }

}
/* ABOUT ARTIST IMAGE */

#artistInfoImage {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 150px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  margin-bottom: 14px !important;
}
/* =========================================
   MOBILE - LONG NOW PLAYING TITLE FIX
========================================= */

@media (max-width: 600px) {

  .now-playing-info {
    padding-right: 4px !important;
  }

  .now-playing-title-row {
position: static !important;
    display: block !important;
    width: 100% !important;
    padding-right: 44px !important;
    box-sizing: border-box !important;
  }

  #nowPlayingTitle {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;

    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  #artistInfoButton {
  top: -18px !important;
  right: -2px !important;
}

}
/* =========================================
   MUSIC LOGIN / APPS BUTTON
========================================= */

#musicLoginButton {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 50% !important;
  font-size: 19px !important;
}
/* Make Login / Apps icon easy to see */

#musicLoginButton {
  width: 44px !important;
  height: 44px !important;

  background: #1597ff !important;
  border: 2px solid #6fc4ff !important;
  border-radius: 50% !important;

  color: #ffffff !important;
  font-size: 21px !important;

  box-shadow:
    0 0 0 3px rgba(21, 151, 255, 0.15),
    0 0 14px rgba(21, 151, 255, 0.45) !important;
}
/* =========================================
   MOBILE - COMPACT SEND MUSIC VIBES POPUP
========================================= */

@media (max-width: 600px) {

  .send-song-modal {
    align-items: center !important;
    padding: 12px !important;
  }

  .send-song-panel {
    width: 100% !important;
    max-width: 390px !important;
    max-height: calc(100dvh - 100px) !important;

    overflow-y: auto !important;

    padding: 14px !important;

    border-radius: 18px !important;
  }

  .send-song-header {
    margin-bottom: 10px !important;
  }

  .send-song-current {
    margin-bottom: 12px !important;
    padding: 8px !important;
  }

  .send-song-current img {
    width: 58px !important;
    height: 42px !important;
  }

  #sendSongTo {
    padding: 10px !important;
    margin-bottom: 10px !important;
  }

  #sendSongNote {
    min-height: 72px !important;
    height: 72px !important;
  }

  .send-song-emojis {
    margin-top: 7px !important;
  }

  .send-song-submit {
    margin-top: 10px !important;
    padding: 11px !important;
  }
}
/* =========================================
   MUSIC VIBE CARD TITLE
========================================= */

#sendSongCardTitle {
  box-sizing: border-box;
  width: 100%;

  padding: 11px 12px;
  margin-bottom: 8px;

  border: 1px solid var(--border);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;

  font: inherit;
}

#sendSongCardTitle::placeholder {
  color: var(--soft);
}

#sendSongCardTitle:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(21, 151, 255, 0.15);
}

@media (max-width: 600px) {

  #sendSongCardTitle {
    padding: 10px;
    font-size: 14px;
  }

}
/* =========================================
   RELATED ARTIST SHUFFLE
========================================= */

.autoplay-next-card {
  position: relative;
}

.related-shuffle-button {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);

  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;

  background: rgba(255,255,255,.08);
  color: #fff;

  font: inherit;
  font-size: 11px;
  font-weight: 700;

  cursor: pointer;
  white-space: nowrap;
  z-index: 5;
}

.related-shuffle-button.active {
  background: #1597ff;
  border-color: #1597ff;
}

/* STANDALONE MUSIC MENU â€” MATCH FIMITECH APP */

.standalone-music-menu {
  position: absolute;
  top: 72px;
  left: 105px;
  width: 220px;
  box-sizing: border-box;
  padding: 14px;
  background: #061c32;
  border: 1px solid #14558a;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  color: #ffffff;
}

.standalone-music-menu[hidden] {
  display: none !important;
}

.standalone-music-menu strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 4px;
}

.standalone-music-menu p {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.4;
  color: #c4d6e8;
}

.standalone-music-menu button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  box-sizing: border-box;
  padding: 8px 10px;
  margin-top: 7px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #f5f8fc;
  color: #12324a;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.standalone-music-menu button:nth-of-type(2) {
  background: #1976e9;
  color: #ffffff;
}

.standalone-music-menu button:nth-of-type(4) {
  background: #16a5f5;
  color: #ffffff;
}

.standalone-music-menu button:hover {
  filter: brightness(1.08);
}

@media (max-width: 480px) {
  .standalone-music-menu {
    left: 8px;
    width: 220px;
    max-width: calc(100vw - 16px);
  }
}

/* STANDALONE MUSIC SETTINGS PANEL */

#standaloneMusicSettingsPanel {
  position: absolute;
  top: 72px;
  left: 105px;
  width: 220px;
  box-sizing: border-box;
  padding: 14px;
  background: #061c32;
  color: #ffffff;
  border: 1px solid #14558a;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 10000;
}

#standaloneMusicSettingsPanel[hidden] {
  display: none !important;
}

#standaloneMusicSettingsPanel .music-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
}

#standaloneMusicSettingsPanel .music-settings-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0;
  font-size: 11px;
}

#standaloneMusicSettingsPanel input[type="color"] {
  width: 38px;
  height: 28px;
  padding: 2px;
  border: 1px solid #14558a;
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
}

#standaloneMusicSettingsPanel .music-settings-close {
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #173c59;
  color: #ffffff;
  cursor: pointer;
}

#standaloneMusicSettingsPanel .music-settings-reset {
  width: 100%;
  margin-top: 8px;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  background: #1976e9;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 480px) {
  #standaloneMusicSettingsPanel {
    left: 8px;
    width: 220px;
    max-width: calc(100vw - 16px);
  }
}
/* =========================================
   FIMITECH MUSIC MAIN MENU BUTTON
========================================= */

#musicAppMenuButton {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #1597ff !important;
  border: 2px solid #6fc4ff !important;
  border-radius: 50% !important;

  color: #ffffff !important;
  font-size: 21px !important;

  box-shadow:
    0 0 0 3px rgba(21, 151, 255, 0.15),
    0 0 14px rgba(21, 151, 255, 0.45) !important;
}
/* =========================================
   FIMITECH MUSIC MAIN MENU BUTTON
========================================= */

#musicAppMenuButton {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  
 margin-right: 8px !important; 

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;

  border: 2px solid #1597ff !important;
  border-radius: 50% !important;

  background: #062b4d !important;
  color: #ffffff !important;

  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  box-shadow:
    0 0 0 3px rgba(21, 151, 255, 0.15),
    0 0 14px rgba(21, 151, 255, 0.45) !important;
}
/* =========================================
   MUSIC MENU - ALIGN UNDER MENU BUTTON
========================================= */

#standaloneMusicMenu {
  position: fixed !important;
  top: 72px !important;
  right: 18px !important;
  left: auto !important;
}
/* =========================================
   KEEP MUSIC TABS ON TOP
========================================= */

.music-tabs {
  position: sticky !important;
  top: 75px !important;
  z-index: 100 !important;
}
#artistInfoPanel {
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y !important;
}
html:has(#artistInfoPanel.open),
body:has(#artistInfoPanel.open) {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}


#artistInfoPanel.open {
  touch-action: pan-y !important;
  overscroll-behavior: contain !important;
}
/* FAVORITES REMOVE BUTTON */

.song-favorite-remove {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;

  display: grid !important;
  place-items: center !important;

  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 50% !important;

  background: #14875a !important;
  color: #ffffff !important;

  font-size: 17px !important;
  line-height: 1 !important;
}
/* MATCH SEND MUSIC VIBES FORM TO BLAZIN STATION */

.send-song-panel input,
.send-song-panel textarea {
  background: #d8efff !important;
  color: #08233a !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}

.send-song-panel input::placeholder,
.send-song-panel textarea::placeholder {
  color: #60798c !important;
  opacity: 1 !important;
}
/* =========================================
   ARTIST INFO - VIEW LYRICS BUTTON
========================================= */

.artist-info-actions {
  margin-top: 14px;
  width: 100%;
}

.artist-lyrics-button {
  width: 100%;
  min-height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 16px;

  background: #0a416d;
  border: 1px solid #1597ff;
  border-radius: 10px;

  color: #ffffff;
  font-size: 14px;
  font-weight: 700;

  cursor: pointer;
}

.artist-lyrics-button:hover {
  background: #0d568e;
}
/* =========================================
   ARTIST PANEL - SONG LYRICS VIEW
========================================= */

.artist-lyrics-view {
  width: 100%;
  color: #ffffff;
}

.artist-lyrics-view[hidden] {
  display: none !important;
}


/* SONG HEADER */

.artist-lyrics-song {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 14px;
  padding-bottom: 14px;

  border-bottom:
    1px solid rgba(255,255,255,.12);
}

#artistLyricsImage {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;

  object-fit: cover;

  border-radius: 10px;

  background: #031a2f;
}

.artist-lyrics-song > div {
  min-width: 0;
}

#artistLyricsTitle {
  margin: 0 0 4px !important;

  overflow: hidden;

  color: #ffffff !important;

  font-size: 18px !important;
  line-height: 1.25;

  text-overflow: ellipsis;
  white-space: nowrap;
}

#artistLyricsArtist {
  display: block;

  overflow: hidden;

  color: #a9c2d7;

  font-size: 13px;

  text-overflow: ellipsis;
  white-space: nowrap;
}


/* LYRICS AREA */

.artist-lyrics-content {
  width: 100%;
  max-height: 330px;

  overflow-y: auto;

  padding: 14px;

  border:
    1px solid rgba(255,255,255,.12);

  border-radius: 12px;

  background:
    rgba(0,0,0,.16);

  color: #d9e8f5;

  font-size: 15px;
  line-height: 1.7;

  white-space: pre-wrap;

  scrollbar-width: thin;
}


/* BACK BUTTON */

.artist-lyrics-back {
  width: 100%;

  margin-top: 14px;
  padding: 11px 14px;

  border: 1px solid #1597ff;
  border-radius: 11px;

  background: #0a416d;

  color: #ffffff;

  font-size: 14px;
  font-weight: 800;

  cursor: pointer;
}

.artist-lyrics-back:hover {
  background: #0d568e;
}


/* MOBILE */

@media (max-width: 600px) {

  .artist-lyrics-content {
    max-height: 42vh;
    font-size: 14px;
  }

  #artistLyricsImage {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  #artistLyricsTitle {
    font-size: 16px !important;
  }

}
/* =========================================
   SEARCH CARD - PLAY BUTTON
========================================= */

.song-card-play {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin-left: auto;

  border: 1px solid #1597ff;
  border-radius: 50%;

  background: #0a416d;
  color: #ffffff;

  font-size: 11px;
  line-height: 1;

  cursor: pointer;
  flex-shrink: 0;
}

.song-card-play:hover {
  background: #0d568e;
}


/* MOBILE - KEEP BUTTON SMALL */

@media (max-width: 600px) {

  .song-card-play {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;

    padding: 0 !important;
    margin-left: 6px;

    font-size: 9px !important;
    flex: 0 0 26px;
  }

}
/* =========================================
   SEARCH CARD - CLOUD BUTTON
========================================= */

.song-card-cloud {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin-left: 6px;

  border: 1px solid #1597ff;
  border-radius: 50%;

  background: #0a416d;
  color: #ffffff;

  font-size: 13px;
  line-height: 1;

  cursor: pointer;
  flex: 0 0 30px;
}

.song-card-cloud:hover {
  background: #0d568e;
}


/* SONG IS ALREADY A FAVORITE */

.song-card-cloud.is-favorite {
  background: #1597ff;
  border-color: #1597ff;
  color: #ffffff;
}


/* MOBILE */

@media (max-width: 600px) {

  .song-card-cloud {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;

    padding: 0 !important;
    margin-left: 5px;

    font-size: 11px !important;
    flex: 0 0 26px;
  }

}
/* =========================================
   SEND MUSIC VIBES - MESSAGE EMOJI PICKER
========================================= */

.send-song-panel {
  position: relative;
}

/* Emoji button beside/inside message area */

.send-message-emoji-wrap {
  position: relative;
  margin-top: -46px;
  margin-bottom: 12px;
  display: flex;
  justify-content: flex-end;
  padding-right: 10px;
  pointer-events: none;
}

.send-message-emoji-button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 65, 109, 0.12);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

/* Slide-up picker */

.send-message-emoji-picker {
  position: absolute;
  right: 0;
  bottom: 42px;
  width: min(290px, calc(100vw - 60px));
  padding: 12px;
  border-radius: 16px;

  background: #07375d;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 35px rgba(0,0,0,.32);

  z-index: 100;
  pointer-events: auto;
}

.send-message-emoji-picker[hidden] {
  display: none;
}

.send-message-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
}

.send-message-emoji-grid button {
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 21px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.send-message-emoji-grid button:hover {
  background: rgba(255,255,255,.10);
}

/* Mobile */

@media (max-width: 600px) {

  .send-message-emoji-picker {
    right: -2px;
    width: min(270px, calc(100vw - 48px));
  }

  .send-message-emoji-grid {
    grid-template-columns: repeat(8, 1fr);
  }

  .send-message-emoji-grid button {
    font-size: 20px;
  }
}
/* =========================================
   SEND VIBE - CHANGE IMAGE BUTTON
========================================= */

.send-song-image-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 10px;
}

.send-song-image-button {
  appearance: none;
  -webkit-appearance: none;

  min-height: 34px;
  padding: 7px 12px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;

  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;

  font: inherit;
  font-size: 12px;
  font-weight: 600;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  cursor: pointer;
}

.send-song-image-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.send-song-image-button:active {
  transform: scale(0.98);
}

.send-song-image-reset {
  appearance: none;
  -webkit-appearance: none;

  min-height: 34px;
  padding: 7px 10px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;

  background: transparent;
  color: rgba(255, 255, 255, 0.8);

  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.send-song-image-reset[hidden] {
  display: none !important;
}
/* =========================================
   SEND MUSIC VIBES - CUSTOMIZE CARD BUTTON
========================================= */

.send-song-customize-button {
  width: 100%;
  min-height: 48px;
  margin: 10px 0 8px;
  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  border: 1px solid rgba(21, 151, 255, 0.35);
  border-radius: 12px;

  background: #0a416d;
  color: #ffffff;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;
}

.send-song-customize-button span {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.send-song-customize-button:hover {
  background: #0c4d80;
}

.send-song-customize-button:active {
  transform: scale(0.99);
}
/* =========================================
   SEND MUSIC VIBES - CUSTOMIZE SLIDE PANEL
========================================= */

.send-song-panel {
  position: relative;
  overflow: hidden;
}

/* customization panel */
.send-song-customize-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 50;

  max-height: 78%;
  overflow-y: auto;
  overscroll-behavior: contain;

  padding: 16px;

  background: #0a416d;

  border-top: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px 18px 0 0;

  box-shadow:
    0 -12px 35px rgba(0,0,0,0.35);

  animation: vibeCustomizeUp 0.22s ease-out;
}

.send-song-customize-panel[hidden] {
  display: none !important;
}


/* HEADER */

.send-song-customize-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 14px;
}

.send-song-customize-header strong {
  color: #fff;
  font-size: 16px;
}

#closeSendSongCustomize {
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;

  background: rgba(255,255,255,0.06);
  color: #fff;

  font-size: 20px;
  line-height: 1;

  cursor: pointer;
}


/* SLIDE UP */

@keyframes vibeCustomizeUp {

  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }

}
/* Lower Shuffle button slightly */
#shuffleBtn,
.shuffle-btn,
.shuffle-button {
    transform: translateY(3px);
}
/* =========================================
   MUSIC INSIDE RADIO FRAME
   Prevent nested outer scrollbar
========================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 0;
}

.music-app {
  min-height: 100%;
}
/* =========================================
   MUSIC INSIDE RADIO
   Single normal page scroll
========================================= */

html {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  overflow-x: hidden;
}

.music-app {
  min-height: 100vh;
}
/* =========================================
   CARD CUSTOMIZATION - CLEAN PANEL
========================================= */

.send-song-customize-panel {
  width: 100%;
  margin-top: 12px;
  padding: 12px;

  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;

 background: #124d7a !important;
}

/* Header */
.send-song-customize-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;
  margin-bottom: 10px;
}

.send-song-customize-header strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

/* ALL MAIN CUSTOMIZATION BUTTONS */
.send-song-image-button,
.send-song-image-reset,
.send-song-theme-button {
  width: 100% !important;
  min-height: 40px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  gap: 8px;

  margin: 0 0 8px !important;
  padding: 9px 12px !important;

  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 11px !important;

  background: rgba(255,255,255,.08) !important;
  color: #ffffff !important;

  font-size: 12px !important;
  font-weight: 800 !important;

  text-align: left;
}

/* CLOSE X */
#closeSendSongCustomize {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;

  display: grid !important;
  place-items: center !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 50% !important;

  background: rgba(255,255,255,.08) !important;
  color: #ffffff !important;

  font-size: 18px !important;
  line-height: 1 !important;
}

/* CARD TITLE LABEL */
.send-song-customize-panel label {
  display: block;

  margin: 4px 0 6px;

  color: #ffffff;

  font-size: 12px;
  font-weight: 700;
}

/* CARD TITLE FIELD */
.send-song-customize-panel #sendSongCardTitle {
  width: 100%;
  height: 40px;

  margin: 0;
  padding: 9px 11px;

  border: 1px solid rgba(255,255,255,.16);
  border-radius: 11px;

  background: #d9efff;
  color: #06213a;
}

.send-song-customize-panel #sendSongCardTitle::placeholder {
  color: #587086;
}

/* MOBILE */
@media (max-width: 600px) {

  .send-song-customize-panel {
    margin-top: 9px;
    padding: 10px;
    border-radius: 14px;
  }

  .send-song-image-button,
  .send-song-image-reset,
  .send-song-theme-button,
  .send-song-customize-panel #sendSongCardTitle {
    min-height: 38px !important;
  }
}
/* =========================================
   MUSIC VIBE CARD CHOICES
========================================= */

.vibe-card-choice {
  width: 100%;
  margin: 14px 0 16px;
}

.vibe-card-choice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.vibe-card-choice-header strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}


/* CARD ROW */

.vibe-card-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}


/* INDIVIDUAL CARD */

.vibe-card-option {
  position: relative;

  min-width: 0;
  min-height: 70px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 2px;

  padding: 7px 3px;

  border: 1px solid rgba(255,255,255,.14);
  border-radius: 11px;

  background: rgba(255,255,255,.055);
  color: #ffffff;

  cursor: pointer;

  transition:
    border-color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.vibe-card-option span {
  font-size: 20px;
  line-height: 1;
}

.vibe-card-option small {
  width: 100%;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: #ffffff;

  font-size: 10px;
  font-weight: 800;

  text-align: center;
}

.vibe-card-option b {
  color: rgba(255,255,255,.68);

  font-size: 9px;
  font-weight: 700;
}


/* SELECTED CARD */

.vibe-card-option.active {
  border: 2px solid #8b5cf6;

  background:
    rgba(139,92,246,.16);

  box-shadow:
    0 0 0 2px rgba(139,92,246,.08);
}

.vibe-card-option.active::after {
  content: "âœ“";

  position: absolute;
  top: 4px;
  right: 5px;

  width: 15px;
  height: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #8b5cf6;
  color: #ffffff;

  font-size: 9px;
  font-weight: 900;
}


/* PRESS EFFECT */

.vibe-card-option:active {
  transform: scale(.97);
}


/* MOBILE */

@media (max-width: 520px) {

  .vibe-card-options {
    gap: 4px;
  }

  .vibe-card-option {
    min-height: 66px;
    padding: 6px 2px;
    border-radius: 9px;
  }

  .vibe-card-option span {
    font-size: 18px;
  }

  .vibe-card-option small {
    font-size: 9px;
  }

  .vibe-card-option b {
    font-size: 8px;
  }

}
/* =========================================
   MUSIC VIBE MINI PREVIEW
========================================= */

.vibe-mini-preview {
  width: 100%;
  margin: 8px 0 10px;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 8px;
}


/* MINI CARD */

.vibe-mini-card {
  width: 52px;
  height: 60px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 4px;

  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;

  background:
    linear-gradient(
      145deg,
      #123d68,
      #071d35
    );

  color: #ffffff;

  box-shadow:
    0 5px 14px rgba(0,0,0,.22);
}

.vibe-mini-icon {
  font-size: 20px;
  line-height: 1;
}

.vibe-mini-card small {
  max-width: 46px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 9px;
  font-weight: 800;

  text-align: center;
}


/* PREVIEW BUTTON */

.vibe-preview-button {
  min-height: 32px;

  padding: 6px 11px;

  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;

  background: rgba(255,255,255,.07);
  color: #ffffff;

  font-size: 11px;
  font-weight: 800;

  cursor: pointer;
}

.vibe-preview-button:active {
  transform: scale(.97);
}


/* MOBILE */

@media (max-width: 520px) {

  .vibe-mini-preview {
    margin: 6px 0 8px;
    gap: 6px;
  }

  .vibe-mini-card {
    width: 48px;
    height: 54px;
  }

  .vibe-mini-icon {
    font-size: 18px;
  }

  .vibe-preview-button {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 10px;
  }

}
/* =========================================
   MUSIC VIBE FULL CARD PREVIEW
========================================= */

.vibe-full-preview-backdrop {
  position: fixed;
  inset: 0;

  background: rgba(0, 10, 24, .72);
  backdrop-filter: blur(4px);

  z-index: 12000;
}


/* PREVIEW PANEL */

.vibe-full-preview {
  position: fixed;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  width: min(92vw, 430px);
  max-height: none;

overflow-y: visible;

  padding: 16px;

  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;

  background: #0a3559;
  color: #ffffff;

  box-shadow:
    0 20px 55px rgba(0,0,0,.45);

  z-index: 12001;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
}


/* OPEN STATE */

.vibe-full-preview.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform:
    translate(-50%, -50%)
    scale(1);
}


/* HEADER */

.vibe-full-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 12px;
}

.vibe-full-preview-header > div {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.vibe-full-preview-header strong {
  font-size: 17px;
  font-weight: 900;
}

.vibe-full-preview-header small {
  color: rgba(255,255,255,.7);

  font-size: 12px;
  font-weight: 700;
}


/* CLOSE */

.vibe-full-preview-close {
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;

  background: rgba(255,255,255,.06);
  color: #ffffff;

  font-size: 20px;

  cursor: pointer;
}


/* =========================================
   ACTUAL VIBE CARD
========================================= */

.vibe-full-card {
  width: 100%;

  padding: 13px;

  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      #13558a,
      #082743
    );

  box-shadow:
    0 12px 30px rgba(0,0,0,.28);

  text-align: center;
}


/* MUSIC VIBES LABEL */

.vibe-full-card-label {
  margin-bottom: 10px;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .7px;
}


/* SONG ARTWORK */

.vibe-full-card img {
  display: block;

  width: 100%;
  aspect-ratio: 16 / 9;

  object-fit: cover;

  margin-bottom: 10px;

  border-radius: 12px;

  background: rgba(0,0,0,.25);
}


/* SONG */

.vibe-full-song-title {
  display: block;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 15px;
  font-weight: 900;
}

.vibe-full-song-artist {
  display: block;

  margin-top: 3px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: rgba(255,255,255,.72);

  font-size: 11px;
}


/* MESSAGE */

.vibe-full-message {
  margin-top: 11px;
  padding: 10px 11px;

  border-radius: 12px;

  background: rgba(255,255,255,.10);

  font-size: 12px;
  line-height: 1.4;

  text-align: left;
}


/* =========================================
   WHAT'S INCLUDED
========================================= */

.vibe-full-preview-info {
  margin-top: 13px;
  padding: 11px 12px;

  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;

  background: rgba(255,255,255,.05);
}

.vibe-full-preview-info strong {
  display: block;

  margin-bottom: 4px;

  font-size: 12px;
  font-weight: 900;
}

.vibe-full-preview-info p {
  margin: 0;

  color: rgba(255,255,255,.75);

  font-size: 11px;
  line-height: 1.4;
}


/* USE CARD BUTTON */

.vibe-full-preview-use {
  width: 100%;
  min-height: 42px;

  margin-top: 12px;

  border: 0;
  border-radius: 11px;

  background: #2563eb;
  color: #ffffff;

  font-size: 13px;
  font-weight: 900;

  cursor: pointer;
}


/* PAYMENT NOTE */

.vibe-full-preview-note {
  display: block;

  margin-top: 8px;

  color: rgba(255,255,255,.58);

  font-size: 9px;

  text-align: center;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 520px) {

  .vibe-full-preview {
    width: calc(100vw - 24px);

    max-height: calc(100vh - 30px);

    padding: 13px;

    border-radius: 16px;
  }

  .vibe-full-card {
    padding: 10px;
  }

  .vibe-full-card img {
    margin-bottom: 8px;
  }

}
/* =========================================
   MUSIC VIBE CARD â€” FREE
========================================= */

.vibe-full-card.vibe-card-free {
  padding: 0;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f5f1e8 100%
    );

  color: #101827;
}


/* MUSIC VIBES LABEL */

.vibe-full-card.vibe-card-free
.vibe-full-card-label {

  margin: 0;
  padding: 11px 14px;

  background:
    linear-gradient(
      135deg,
      #071d35,
      #123d68
    );

  color: #ffffff;

  font-size: 11px;
  font-weight: 900;
  text-align: left;
  letter-spacing: .6px;
}


/* SONG ARTWORK */

.vibe-full-card.vibe-card-free img {

  width: 100%;
  aspect-ratio: 16 / 10;

  margin: 0 0 14px;

  border-radius: 0;

  object-fit: cover;
}


/* SONG TITLE */

.vibe-full-card.vibe-card-free
.vibe-full-song-title {

  padding: 0 16px;

  color: #101010;

  font-size: 18px;
  font-weight: 900;

  text-align: center;
}


/* ARTIST */

.vibe-full-card.vibe-card-free
.vibe-full-song-artist {

  margin-top: 3px;
  padding: 0 16px;

  color: #374151;

  font-size: 12px;
  font-weight: 600;

  text-align: center;
}


/* MESSAGE */

.vibe-full-card.vibe-card-free
.vibe-full-message {

  margin: 15px 14px 14px;
  padding: 12px 13px;

  border:
    1px solid
    rgba(15,23,42,.12);

  border-radius: 12px;

  background:
    rgba(255,255,255,.55);

  color: #172033;

  font-size: 12px;
  line-height: 1.45;

  text-align: left;
}


/* SMALL FIMITECH FOOTER */

.vibe-full-card.vibe-card-free::after {

  content: "Sent with ðŸŽµ FIMITECH";

  display: block;

  padding: 0 14px 12px;

  color: #334155;

  font-size: 9px;
  font-weight: 700;

  text-align: right;
}
/* =========================================
   FREE VIBE â€” MOCKUP PROPORTIONS
========================================= */

.vibe-full-card.vibe-card-free {
  max-width: 310px;
  margin-left: auto;
  margin-right: auto;
}


/* TALLER ARTWORK LIKE MOCKUP */

.vibe-full-card.vibe-card-free img {
  width: 100%;
  height: 230px;
  aspect-ratio: auto;
  object-fit: cover;
}


/* MORE ROOM BELOW IMAGE */

.vibe-full-card.vibe-card-free
.vibe-full-song-title {
  margin-top: 4px;
  font-size: 20px;
}


.vibe-full-card.vibe-card-free
.vibe-full-song-artist {
  margin-top: 4px;
  font-size: 13px;
}


/* MESSAGE BOX */

.vibe-full-card.vibe-card-free
.vibe-full-message {
  min-height: 64px;
  margin-top: 16px;
  margin-bottom: 14px;
}


/* MOBILE */

@media (max-width: 520px) {

  .vibe-full-card.vibe-card-free {
    max-width: 300px;
  }

  .vibe-full-card.vibe-card-free img {
    height: 210px;
  }

}
/* =========================================
   SMALL MOBILE â€” COMPACT VIBE CARD
========================================= */

@media (max-width: 520px) {

  .vibe-full-card.vibe-card-free {
    max-width: 270px;
  }

  .vibe-full-card.vibe-card-free img {
    height: 165px;
  }

  .vibe-full-card.vibe-card-free
  .vibe-full-song-title {
    font-size: 16px;
  }

  .vibe-full-card.vibe-card-free
  .vibe-full-song-artist {
    font-size: 11px;
  }

  .vibe-full-card.vibe-card-free
  .vibe-full-message {
    min-height: 48px;
    margin: 10px 10px 9px;
    padding: 9px 10px;
    font-size: 11px;
  }

}


/* VERY SMALL PHONES */

@media (max-width: 380px) {

  .vibe-full-card.vibe-card-free {
    max-width: 245px;
  }

  .vibe-full-card.vibe-card-free img {
    height: 140px;
  }

}
/* =========================================
   FREE MUSIC VIBE â€” LIVE OVERLAY
========================================= */

.vibe-card-free .vibe-free-template {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
}

.vibe-card-free .vibe-free-background {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

/* LIVE SONG â€” ABOVE PLAY BUTTON */

.vibe-card-free .vibe-free-song-info {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 52%;

  z-index: 2;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,.9);
}

.vibe-card-free .vibe-full-song-title {
  display: block;
  padding: 0;

  overflow: hidden;

  color: #ffffff;
  font-size: 16px;
  font-weight: 900;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.vibe-card-free .vibe-full-song-artist {
  display: block;
  margin-top: 2px;
  padding: 0;

  overflow: hidden;

  color: #e5efff;
  font-size: 11px;
  font-weight: 700;

  text-overflow: ellipsis;
  white-space: nowrap;
}

/* LIVE MESSAGE */

.vibe-card-free .vibe-full-message {
  position: absolute;

  left: 10%;
  right: 10%;
  bottom: 8%;

  z-index: 2;

  margin: 0;
  padding: 8px 10px;

  overflow: hidden;

  background: transparent;
  border: 0;

  color: #ffffff;
  font-size: 11px;
  line-height: 1.35;
  text-align: left;

  text-shadow: 0 1px 5px rgba(0,0,0,.9);
}

/* SMALL MOBILE */

@media (max-width: 380px) {

  .vibe-card-free .vibe-free-template {
    max-width: 245px;
  }

  .vibe-card-free .vibe-full-song-title {
    font-size: 14px;
  }

  .vibe-card-free .vibe-full-song-artist,
  .vibe-card-free .vibe-full-message {
    font-size: 10px;
  }

}
/* =========================================
   FREE VIBE â€” SONG POSITION
========================================= */

.vibe-card-free .vibe-free-song-info {
  position: absolute;

  left: 8%;
  right: 8%;

  /* Song info directly above play button */
  top: 49%;

  z-index: 5;

  text-align: center;
  pointer-events: none;
}

.vibe-card-free .vibe-full-song-title {
  display: block;

  overflow: hidden;

  color: #ffffff !important;

  font-size: 16px !important;
  font-weight: 900;

  line-height: 1.15;

  white-space: nowrap;
  text-overflow: ellipsis;

  text-shadow:
    0 2px 6px rgba(0,0,0,.95);
}

.vibe-card-free .vibe-full-song-artist {
  display: block;

  margin-top: 3px !important;

  overflow: hidden;

  color: rgba(255,255,255,.88) !important;

  font-size: 11px !important;
  font-weight: 700;

  white-space: nowrap;
  text-overflow: ellipsis;

  text-shadow:
    0 2px 6px rgba(0,0,0,.95);
}
/* =========================================
   FREE VIBE â€” SONG TITLE / ARTIST POSITION
========================================= */

.vibe-card-free .vibe-free-song-info {
  position: absolute;

  left: 10%;
  right: 10%;

  /* Place title above the play button */
  top: 55%;

  z-index: 10;

  text-align: center;
  pointer-events: none;

  transform: translateY(-100%);
}

.vibe-card-free .vibe-full-song-title {
  display: block;

  margin: 0;
  padding: 0;

  overflow: hidden;

  color: #ffffff !important;

  font-size: 15px !important;
  font-weight: 900;
  line-height: 1.15;

  white-space: nowrap;
  text-overflow: ellipsis;

  text-shadow:
    0 2px 5px #000000,
    0 1px 10px rgba(0,0,0,.9);
}

.vibe-card-free .vibe-full-song-artist {
  display: block;

  margin: 3px 0 0 !important;
  padding: 0;

  overflow: hidden;

  color: #ffffff !important;

  font-size: 10px !important;
  font-weight: 700;
  line-height: 1.1;

  white-space: nowrap;
  text-overflow: ellipsis;

  text-shadow:
    0 2px 5px #000000,
    0 1px 10px rgba(0,0,0,.9);
}
/* =========================================
   FREE VIBE â€” MOCKUP CARD SHAPE
========================================= */

.vibe-full-card.vibe-card-free {
  width: 100%;
  max-width: 290px;

  margin: 0 auto;
  padding: 0 !important;

  overflow: hidden;

  background: transparent !important;
  border: 0 !important;
  border-radius: 22px !important;
  box-shadow:
    0 12px 35px rgba(0,0,0,.38);
}

.vibe-full-card.vibe-card-free .vibe-free-template {
  position: relative;

  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;

  overflow: hidden;

  border-radius: 22px;
}

/* MAKE THE IMAGE THE CARD */

.vibe-full-card.vibe-card-free .vibe-free-background {
  display: block;

  width: 100% !important;
  height: auto !important;

  margin: 0;
  padding: 0;

  object-fit: contain;

  border: 0;
  border-radius: 22px;
}

/* REMOVE OLD GENERATED FREE FOOTER */

.vibe-full-card.vibe-card-free::after {
  content: none !important;
  display: none !important;
}
/* =========================================
   FREE VIBE â€” LIVE PLAY BUTTON
========================================= */

.vibe-card-free .vibe-free-play {
  position: absolute;

  left: 50%;
  top: 63%;

  transform: translate(-50%, -50%);

  width: 48px;
  height: 48px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;

  cursor: pointer;
  z-index: 20;
}
/* FREE VIBE â€” HIDE LIVE MESSAGE OVERLAY FOR NOW */

.vibe-card-free .vibe-full-message {
  display: none !important;
}
/* =========================================
   PREMIUM VIBE â€” SONG TITLE / ARTIST
========================================= */

.vibe-premium-template {
  position: relative;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
}

.vibe-premium-background {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.vibe-premium-song-info {
  position: absolute;

  left: 10%;
  right: 10%;
  top: 62%;

  z-index: 10;

  text-align: center;
  color: #ffffff;

  pointer-events: none;
}

.vibe-premium-song-title {
  display: block;

  overflow: hidden;

  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;

  white-space: nowrap;
  text-overflow: ellipsis;

  text-shadow:
    0 2px 5px #000000,
    0 1px 10px rgba(0,0,0,.9);
}

.vibe-premium-song-artist {
  display: block;
  margin-top: 3px;

  overflow: hidden;

  color: #ffffff;
  font-size: 10px;
  font-weight: 700;

  white-space: nowrap;
  text-overflow: ellipsis;

  text-shadow:
    0 2px 5px #000000,
    0 1px 10px rgba(0,0,0,.9);
}
/* PREMIUM VIBE â€” FORCE SONG INFO OVER CARD */

.vibe-full-card .vibe-premium-template {
  position: relative !important;
  display: block;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
}

.vibe-full-card .vibe-premium-song-info {
  position: absolute !important;

  left: 8% !important;
  right: 8% !important;
 top: 42% !important;

  margin: 0 !important;
  padding: 0 !important;

  z-index: 50 !important;

  text-align: center;
  pointer-events: none;
}
/* =========================================
   PREMIUM VIBE â€” SHOW FULL CARD IMAGE
========================================= */

.vibe-full-card.vibe-card-premium {
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  padding: 0 !important;

  overflow: visible !important;

  background: transparent !important;
  border: 0 !important;
}

.vibe-full-card.vibe-card-premium
.vibe-premium-template {
  position: relative !important;

  width: 100% !important;
  max-width: 290px !important;

  height: auto !important;
  max-height: none !important;

  margin: 0 auto !important;

  overflow: visible !important;
}

.vibe-full-card.vibe-card-premium
.vibe-premium-background {
  display: block !important;

  width: 100% !important;
  height: auto !important;
  max-height: none !important;

  aspect-ratio: auto !important;
  object-fit: contain !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 22px !important;
}
  /* =========================================
   BIRTHDAY / LOVE / CUSTOM â€” FULL CARD IMAGE
========================================= */

/* HIDDEN MEANS HIDDEN */
.vibe-birthday-template[hidden],
.vibe-love-template[hidden],
.vibe-custom-template[hidden] {
  display: none !important;
}


/* ACTIVE TEMPLATE CONTAINER */
.vibe-full-card.vibe-card-birthday
.vibe-birthday-template,

.vibe-full-card.vibe-card-love
.vibe-love-template,

.vibe-full-card.vibe-card-custom
.vibe-custom-template {
  position: relative !important;

  display: block !important;

  width: 100% !important;
  max-width: 290px !important;

  height: auto !important;
  max-height: none !important;

  margin: 0 auto !important;
  padding: 0 !important;

  overflow: visible !important;

  border-radius: 22px !important;
}


/* FULL IMAGE â€” NEVER CROP */
.vibe-full-card.vibe-card-birthday
.vibe-birthday-background,

.vibe-full-card.vibe-card-love
.vibe-love-background,

.vibe-full-card.vibe-card-custom
.vibe-custom-background {
  display: block !important;

  width: 100% !important;
  height: auto !important;

  max-width: 100% !important;
  max-height: none !important;

  aspect-ratio: auto !important;

  object-fit: contain !important;
  object-position: center !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 22px !important;
}


/* OUTER CARD */
.vibe-full-card.vibe-card-birthday,
.vibe-full-card.vibe-card-love,
.vibe-full-card.vibe-card-custom {
  width: 100% !important;
  max-width: 290px !important;

  height: auto !important;
  max-height: none !important;

  margin: 0 auto !important;
  padding: 0 !important;

  overflow: visible !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* =========================================
   DYNAMIC SONG + ARTIST
========================================= */

.vibe-birthday-song-info,
.vibe-love-song-info,
.vibe-custom-song-info {
  position: absolute !important;

  left: 8% !important;
  right: 8% !important;

  top: 59% !important;

  z-index: 50 !important;

  margin: 0 !important;
  padding: 0 !important;

  text-align: center !important;

  color: #ffffff !important;

  pointer-events: none !important;
}


.vibe-birthday-song-title,
.vibe-love-song-title,
.vibe-custom-song-title {
  display: block !important;

  overflow: hidden !important;

  color: #ffffff !important;

  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;

  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}


.vibe-birthday-song-artist,
.vibe-love-song-artist,
.vibe-custom-song-artist {
  display: block !important;

  margin-top: 3px !important;

  overflow: hidden !important;

  color: rgba(255,255,255,.92) !important;

  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;

  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
/* =========================================
   FIX VIBE TEMPLATE VISIBILITY
========================================= */

.vibe-classic-template[hidden],
.vibe-free-template[hidden],
.vibe-premium-template[hidden],
.vibe-birthday-template[hidden],
.vibe-love-template[hidden],
.vibe-custom-template[hidden] {
  display: none !important;
}
/* =========================================
   BIRTHDAY SONG TITLE POSITION
========================================= */

.vibe-birthday-song-info {
  top: 54% !important;
}
/* LOVE SONG TITLE POSITION */

.vibe-love-song-info {
  top: 54% !important;
}
/* CUSTOM DESIGN SONG TITLE POSITION */

.vibe-custom-song-info {
  top: 54% !important;
}
/* =========================================
   MOBILE - COMPACT VIBE PREVIEW
========================================= */

@media (max-width: 520px) {

  .vibe-full-preview {
    top: 8px !important;
    bottom: 8px !important;
    left: 50% !important;

    width: calc(100vw - 24px) !important;
    max-height: none !important;

    transform: translateX(-50%) !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    padding: 10px !important;

    border-radius: 16px !important;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .vibe-full-preview.open {
    transform: translateX(-50%) !important;
  }

  /* Keep header + X visible while scrolling */
  .vibe-full-preview-header {
    position: sticky !important;
    top: -10px !important;
    z-index: 100 !important;

    margin: -10px -10px 8px !important;
    padding: 10px !important;

    background: #0a3559 !important;
  }

  /* Smaller Free card */
  .vibe-full-card.vibe-card-free {
    width: 220px !important;
    max-width: 220px !important;
    margin: 0 auto !important;
  }

}
/* =========================================
   MUSIC VIBE CARD SELECTOR - SECTIONS
========================================= */

.vibe-card-choice {
  width: 100%;
  margin-top: 14px;
}


/* SECTION HEADERS */

.vibe-card-section-header {
  width: 100%;

  display: flex;
  align-items: center;

  gap: 10px;

  margin: 14px 0 10px;
}

.vibe-card-section-icon {
  flex: 0 0 auto;

  font-size: 27px;
  line-height: 1;
}

.vibe-card-section-header > div {
  flex: 0 1 auto;
  min-width: 0;
}

.vibe-card-section-header strong {
  display: block;

  color: #ffffff;

  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.vibe-card-section-header small {
  display: block;

  margin-top: 3px;

  color: rgba(255,255,255,.82);

  font-size: 12px;
  line-height: 1.25;
}


/* LINE AFTER SECTION TITLE */

.vibe-card-section-header::after {
  content: "";

  flex: 1;

  min-width: 20px;
  height: 2px;

  margin-left: 4px;

  background: rgba(255,255,255,.38);

  border-radius: 999px;
}


/* PREMIUM TITLE */

.vibe-card-section-premium {
  margin-top: 18px;
}

.vibe-card-section-premium strong {
  color: #ffd400;
}

.vibe-card-section-premium::after {
  background: #ffd400;
}


/* =========================================
   CLASSIC CARDS
========================================= */

.vibe-card-options-classic {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 112px));

  gap: 10px;

  justify-content: start;
}


/* =========================================
   PREMIUM CARDS
========================================= */

.vibe-card-options-premium {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 10px;

  width: 100%;
}


/* =========================================
   CARD BUTTONS
========================================= */

.vibe-card-choice .vibe-card-option {
  min-width: 0;
  min-height: 96px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 3px;

  padding: 10px 7px;

  border: 1px solid rgba(73,177,255,.65);
  border-radius: 14px;

  background: rgba(4,48,84,.72);

  color: #ffffff;

  cursor: pointer;

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.vibe-card-choice .vibe-card-option > span {
  font-size: 30px;
  line-height: 1;
}

.vibe-card-choice .vibe-card-option > small {
  color: #ffffff;

  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.vibe-card-choice .vibe-card-option > b {
  color: rgba(255,255,255,.82);

  font-size: 12px;
  font-weight: 500;
}


/* SELECTED CARD */

.vibe-card-choice .vibe-card-option.active {
  border-color: #b43cff;

  box-shadow:
    0 0 0 2px rgba(180,60,255,.30),
    0 0 16px rgba(180,60,255,.42);

  background:
    linear-gradient(
      180deg,
      rgba(89,45,166,.45),
      rgba(4,48,84,.82)
    );
}


/* SMALL CHECKMARK */

.vibe-card-choice .vibe-card-option.active {
  position: relative;
}

.vibe-card-choice .vibe-card-option.active::after {
  content: "✓";

  position: absolute;

  top: -7px;
  right: -7px;

  width: 24px;
  height: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #9747ff;
  color: #ffffff;

  font-size: 14px;
  font-weight: 900;

  box-shadow: 0 3px 10px rgba(0,0,0,.30);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .vibe-card-section-header {
    gap: 8px;
  }

  .vibe-card-section-icon {
    font-size: 23px;
  }

  .vibe-card-section-header strong {
    font-size: 15px;
  }

  .vibe-card-section-header small {
    font-size: 11px;
  }


  /* TWO FREE CARDS */

  .vibe-card-options-classic {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    width: 100%;
  }


  /* PREMIUM = 2 x 2 */

  .vibe-card-options-premium {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 8px;
  }


  .vibe-card-choice .vibe-card-option {
    min-height: 82px;
    padding: 8px 5px;
  }

  .vibe-card-choice .vibe-card-option > span {
    font-size: 27px;
  }

}
/* =========================================
   FIMITECH MUSIC FEEDBACK
========================================= */

.music-feedback-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120000;

  background: rgba(0, 10, 24, 0.65);
  backdrop-filter: blur(3px);
}

.music-feedback-backdrop[hidden] {
  display: none !important;
}


/* MODAL */

.music-feedback-modal {
  position: fixed;
  inset: 0;

  z-index: 120001;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 18px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.music-feedback-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* WHITE FEEDBACK CARD */

.music-feedback-panel {
  width: min(100%, 430px);
  max-height: calc(100dvh - 36px);

  overflow-y: auto;

  padding: 20px;

  border: 1px solid #c8e4f7;
  border-radius: 20px;

  background: #ffffff;
  color: #06213a;

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42);
}


/* HEADER */

.music-feedback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-bottom: 8px;
}

.music-feedback-header small {
  display: block;

  margin-bottom: 3px;

  color: #1597ff;

  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.music-feedback-header h2 {
  margin: 0;

  color: #06213a;

  font-size: 21px;
}


/* CLOSE */

#closeMusicFeedback {
  width: 36px;
  height: 36px;
  min-width: 36px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid #c8dbea;
  border-radius: 50%;

  background: #eef8ff;
  color: #06213a;

  font-size: 23px;
  line-height: 1;
}


/* INTRO */

.music-feedback-intro {
  margin: 0 0 18px;

  color: #557086;

  font-size: 14px;
  line-height: 1.45;
}


/* LABELS */

.music-feedback-panel label {
  display: block;

  margin: 0 0 6px;

  color: #06213a;

  font-size: 13px;
  font-weight: 800;
}


/* FORM FIELDS */

#musicFeedbackType,
#musicFeedbackMessage,
#musicFeedbackEmail {
  box-sizing: border-box;

  width: 100%;

  margin: 0 0 14px;
  padding: 12px;

  border: 1px solid #b9d2e5;
  border-radius: 12px;

  outline: none;

  background: #f5fbff;
  color: #06213a;

  font: inherit;
}

#musicFeedbackMessage {
  min-height: 115px;

  resize: vertical;
}

#musicFeedbackMessage::placeholder,
#musicFeedbackEmail::placeholder {
  color: #7891a5;
}

#musicFeedbackType:focus,
#musicFeedbackMessage:focus,
#musicFeedbackEmail:focus {
  border-color: #1597ff;

  box-shadow:
    0 0 0 3px rgba(21, 151, 255, 0.12);
}


/* SEND BUTTON */

.music-feedback-submit {
  width: 100%;

  padding: 13px 16px;

  border: 0;
  border-radius: 13px;

  background: #1597ff;
  color: #ffffff;

  font-size: 15px;
  font-weight: 900;

  box-shadow:
    0 7px 18px rgba(21, 151, 255, 0.25);
}

.music-feedback-submit:active {
  transform: scale(0.98);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .music-feedback-modal {
    padding: 12px;
  }

  .music-feedback-panel {
    width: 100%;
    max-width: 390px;

    max-height: calc(100dvh - 24px);

    padding: 16px;

    border-radius: 18px;
  }

  .music-feedback-header h2 {
    font-size: 19px;
  }

  .music-feedback-intro {
    margin-bottom: 14px;
    font-size: 13px;
  }

  #musicFeedbackType,
  #musicFeedbackMessage,
  #musicFeedbackEmail {
    padding: 10px;
    margin-bottom: 11px;

    font-size: 14px;
  }

  #musicFeedbackMessage {
    min-height: 90px;
  }

  .music-feedback-submit {
    padding: 11px;
  }
}
/* =========================================
   SEND MUSIC VIBES — DESKTOP MODAL FIX
========================================= */

@media (min-width: 769px) {

  /* The popup/card itself */
  .send-song-modal,
  .send-vibe-modal,
  .send-song-panel {
    max-height: calc(100vh - 40px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  /* Keep close button reachable */
  .send-song-modal .close,
  .send-vibe-modal .close,
  .send-song-close,
  .send-vibe-close {
    position: sticky;
    top: 8px;
    z-index: 100;
  }
}
/* =========================================
   FIMITECH MUSIC - RESPONSIVE APP WIDTH
========================================= */

@media (min-width: 901px) {

  .player-section,
  .music-content,
  .search-box,
  .search-result-notice {
    width: min(100%, 1100px) !important;
    max-width: 1100px !important;
  }

}
/* =========================================
   PREMIUM VIBE - MESSAGE
========================================= */

.vibe-full-card.vibe-card-premium
.vibe-premium-message {
  position: absolute !important;

  left: 9% !important;
  right: 9% !important;
  bottom: 16% !important;

  z-index: 60 !important;

  padding: 10px 12px !important;

  background: rgba(5, 5, 5, 0.72) !important;

  border:
    1px solid rgba(255, 204, 76, 0.85) !important;

  border-radius: 12px !important;

  color: #ffffff !important;

  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;

  text-align: center !important;

  box-shadow:
    0 0 12px rgba(255, 190, 50, 0.22) !important;

  pointer-events: none !important;
}
/* =========================================
   PREMIUM VIBE - PLAY BUTTON
========================================= */

.vibe-full-card.vibe-card-premium
.vibe-premium-play {
  position: absolute !important;

  left: 50% !important;
  top: 64% !important;

  width: 48px !important;
  height: 48px !important;

  transform: translate(
    -50%,
    -50%
  ) !important;

  z-index: 70 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;

  cursor: pointer !important;

  appearance: none !important;
  -webkit-appearance: none !important;
}
/* =========================================
   PREMIUM VIBE - PLAYBACK PROGRESS
========================================= */

.vibe-full-card.vibe-card-premium
.vibe-premium-progress {
  position: absolute !important;

  left: 9% !important;
  right: 9% !important;
  top: 70% !important;

  display: flex !important;
  align-items: center !important;
  gap: 7px !important;

  z-index: 70 !important;

  pointer-events: none !important;
}

.vibe-full-card.vibe-card-premium
.vibe-premium-time {
  flex: 0 0 auto !important;

  color: #f6d67a !important;

  font-size: 9px !important;
  font-weight: 700 !important;

  line-height: 1 !important;
}

.vibe-full-card.vibe-card-premium
.vibe-premium-progress-track {
  position: relative !important;

  flex: 1 1 auto !important;

  height: 3px !important;

  overflow: hidden !important;

  background: rgba(255,255,255,.22) !important;

  border-radius: 999px !important;
}

.vibe-full-card.vibe-card-premium
.vibe-premium-progress-fill {
  width: 0%;
  height: 100% !important;

  background: #f6c94c !important;

  border-radius: inherit !important;

  box-shadow:
    0 0 7px rgba(246,201,76,.65) !important;

  transition: width .2s linear !important;
}
/* =========================================
   PREMIUM VIBE - CHECKOUT CHOOSER
========================================= */

.vibe-checkout-chooser {
  width: 100%;
  margin-top: 10px;
  padding: 10px;

  border: 1px solid rgba(255,255,255,.14);
  border-radius: 15px;

  background:
    linear-gradient(
      180deg,
      rgba(21,151,255,.12),
      rgba(255,255,255,.04)
    );
}


/* HEADER */

.vibe-checkout-heading {
  margin-bottom: 8px;
}

.vibe-checkout-heading strong {
  display: block;

  color: #ffffff;

  font-size: 13px;
  font-weight: 900;
}

.vibe-checkout-heading span {
  display: block;

  margin-top: 2px;

  color: #a9c2d7;

  font-size: 10px;
  font-weight: 600;
}


/* OPTION ROW */

.vibe-checkout-option {
  width: 100%;
  min-height: 48px;

  display: flex;
  align-items: center;

  gap: 9px;

  margin-top: 7px;
  padding: 8px 10px;

  border:
    1px solid
    rgba(255,255,255,.13);

  border-radius: 12px;

  background:
    rgba(255,255,255,.07);

  color: #ffffff;

  text-align: left;

  cursor: pointer;

  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease;
}


.vibe-checkout-option:hover {
  background:
    rgba(21,151,255,.16);

  border-color:
    rgba(21,151,255,.65);
}


.vibe-checkout-option:active {
  transform: scale(.985);
}


/* ICON */

.vibe-checkout-option-icon {
  width: 32px;
  height: 32px;

  flex: 0 0 32px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background:
    rgba(21,151,255,.15);

  font-size: 17px;
}


/* TEXT */

.vibe-checkout-option-copy {
  flex: 1;
  min-width: 0;
}

.vibe-checkout-option-copy strong {
  display: block;

  color: #ffffff;

  font-size: 12px;
  font-weight: 850;
}

.vibe-checkout-option-copy small {
  display: block;

  margin-top: 2px;

  overflow: hidden;

  color: #a9c2d7;

  font-size: 9px;
  line-height: 1.25;

  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ARROW */

.vibe-checkout-arrow {
  flex: 0 0 auto;

  color: #6fc4ff;

  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .vibe-checkout-chooser {
    margin-top: 8px;
    padding: 8px;

    border-radius: 13px;
  }

  .vibe-checkout-option {
    min-height: 44px;

    margin-top: 6px;
    padding: 7px 9px;

    border-radius: 10px;
  }

  .vibe-checkout-option-icon {
    width: 29px;
    height: 29px;

    flex-basis: 29px;

    font-size: 15px;
  }

  .vibe-checkout-option-copy strong {
    font-size: 11px;
  }

  .vibe-checkout-option-copy small {
    font-size: 8px;
  }

  .vibe-checkout-arrow {
    font-size: 19px;
  }

}
/* CREATE + CLOSE BUTTONS */

.vibe-full-preview-header
.vibe-full-preview-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;

  gap: 6px;
  margin-left: auto;
}

.vibe-full-preview-create {
  height: 32px;

  padding: 0 10px;

  border:
    1px solid rgba(255,255,255,.18);

  border-radius: 16px;

  background:
    rgba(255,255,255,.08);

  color: #ffffff;

  font-size: 10px;
  font-weight: 800;

  white-space: nowrap;

  cursor: pointer;
}
/* =========================================
   FIMITECH APP - COMPACT VIBE PREVIEW
========================================= */

@media (max-width: 900px) {

  .vibe-full-preview {
    width: min(92vw, 390px);
  }

}
/* =========================================
   DESIGNSPACE CUSTOM TITLE
========================================= */

.vibe-premium-template {
  position: relative;
}

.designspace-title {
  position: absolute;

  top: 7%;
  left: 50%;

  width: 82%;

  transform:
    translateX(-50%);

  z-index: 8;

  color: #ffffff;

  font-size: clamp(
    20px,
    5vw,
    34px
  );

  font-weight: 900;
  line-height: 1.08;

  text-align: center;

  text-shadow:
    0 2px 8px rgba(0,0,0,.75),
    0 0 18px rgba(0,0,0,.45);

  overflow-wrap: anywhere;
}

.designspace-title[hidden] {
  display: none !important;
}

@media (max-width: 600px) {

  .designspace-title {
    top: 6%;
    width: 86%;

    font-size: clamp(
      18px,
      6vw,
      27px
    );
  }

}
/* =========================================
   FINISHED MUSIC VIBE THUMBNAIL
========================================= */

.send-song-vibe-thumbnail {
  position: relative;
  flex: 0 0 72px;

  width: 72px;
  height: 72px;

  overflow: hidden;

  border-radius: 12px;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.send-song-vibe-thumbnail img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.send-song-vibe-badge {
  position: absolute;

  right: 4px;
  bottom: 4px;

  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #071d35;

  font-size: 12px;
}

.send-song-current-info {
  min-width: 0;
  flex: 1;
}
/* =========================================
   MUSIC SEARCH — CLEAR + VOICE
========================================= */

.search-clear-button,
.search-voice-button {
  flex: 0 0 auto;

  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 !important;

  border: 0 !important;
  border-radius: 50% !important;

  cursor: pointer;
}

/* CLEAR X */

.search-clear-button {
  background: transparent !important;
  color: #64748b !important;

  font-size: 19px;
  font-weight: 700;
}

.search-clear-button:hover {
  background: rgba(15, 23, 42, .08) !important;
  color: #0f172a !important;
}

/* MICROPHONE */

.search-voice-button {
  background: #1597ff !important;
  color: #ffffff !important;

  font-size: 17px;

  box-shadow:
    0 2px 8px rgba(21, 151, 255, .30);
}

/* Keep hidden controls truly hidden */

.search-clear-button[hidden] {
  display: none !important;
}
/* =========================================
   SEARCH MIC ICON
========================================= */

.search-mic-icon {
  position: relative;

  width: 9px;
  height: 14px;

  display: block;

  background: #ffffff;
  border-radius: 6px;
  
  font-size: 0;
}

/* microphone cradle */

.search-mic-icon::before {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -5px;

  width: 13px;
  height: 10px;

  transform: translateX(-50%);

  border: 2px solid #ffffff;
  border-top: 0;

  border-radius: 0 0 8px 8px;
}

/* microphone stem */

.search-mic-icon::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -8px;

  width: 2px;
  height: 5px;

  transform: translateX(-50%);

  background: #ffffff;
  border-radius: 2px;
}
/* =========================================
   VOICE SEARCH — LISTENING
========================================= */

.search-voice-button.listening {
  background: #ef4444 !important;

  box-shadow:
    0 0 0 3px rgba(239, 68, 68, .25),
    0 0 18px rgba(239, 68, 68, .75) !important;

  animation:
    searchVoicePulse 1s ease-in-out infinite;
}

@keyframes searchVoicePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }

}
/* =========================================
   DISCOVER MESSAGE ROTATION
   ========================================= */

#discoverEmpty {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

#discoverEmpty.message-changing {
  opacity: 0;
  transform: translateY(6px);
}

#discoverEmptyIcon,
#discoverEmptyTitle,
#discoverEmptyText {
  transition: inherit;
}
/* =========================================
   MUSIC SIDE MENU
========================================= */

.music-menu-panel {
  position: fixed !important;

  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  width: min(330px, 88vw) !important;
  height: 100dvh !important;

  padding:
    calc(20px + env(safe-area-inset-top))
    18px
    calc(20px + env(safe-area-inset-bottom)) !important;

  background:
    linear-gradient(
      180deg,
      #062b4d 0%,
      #031a2f 100%
    ) !important;

  border-left:
    1px solid rgba(255,255,255,.12) !important;

  border-radius: 0 !important;

  box-shadow:
    -20px 0 50px rgba(0,0,0,.45) !important;

  overflow-y: auto !important;

  transform: translateX(105%) !important;

  opacity: 1 !important;
  visibility: visible !important;

  transition:
    transform .28s ease !important;

  z-index: 100001 !important;
}


/* OPEN */

.music-menu-panel.open {
  transform: translateX(0) !important;
}


/* MENU BUTTONS */

.music-menu-panel button,
.music-menu-panel a {
  width: 100%;
}


/* MOBILE */

@media (max-width: 600px) {

  .music-menu-panel {
    width: min(320px, 88vw) !important;
  }

}