:root {
  --songsnap-bg: url("/storage/song-app/webview/background.png");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  background-color: #000;
  background-image: var(--songsnap-bg);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  width: 100%;
  background: linear-gradient(180deg, rgba(20, 40, 20, 0.82) 0%, rgba(10, 20, 10, 0.92) 100%);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.container::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(100, 200, 100, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.logo {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.logo img {
  width: 180px;
  height: 30px;
  display: inline-block;
}

.content {
  display: flex;
  gap: 30px;
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.left-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.album-art-wrapper {
  position: relative;
  width: 288px;
  height: 288px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.album-art-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.album-art-circle--outer {
  width: 288px;
  height: 288px;
  border-radius: 288px;
  border: 20px solid rgba(255, 255, 255, 0);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.02);
  box-sizing: border-box;
}
.album-art-circle--inner {
  width: 248px;
  height: 248px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-sizing: border-box;
}

.album-art-circle-img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 0;
  object-fit: cover;
}

.album-art {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}
.album-art img {
  width: 100%;
  height: 100%;
}
.album-art.is-playing img {
  animation: spin 12s linear infinite;
}

.album-art-img--cover {
  object-fit: cover;
  transform: scale(1.1);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.album-art-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a3a1a 0%, #0d1f0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.album-art-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.artist-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(100, 200, 100, 0.2);
  color: #8fdf8f;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: "Plus Jakarta Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 14.4px */
  margin-bottom: 16px;
  align-self: center;
}
.artist-tag svg {
  width: 14px;
  height: 14px;
}
.artist-tag--clickable {
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.artist-tag--clickable:hover {
  background: rgba(100, 200, 100, 0.35);
}
.artist-tag--clickable:focus {
  outline: 2px solid #8fdf8f;
  outline-offset: 2px;
}
.artist-tag--clickable:focus:not(:focus-visible) {
  outline: none;
}

.song-title {
  color: var(--Text-Primary, #FFF);
  text-align: center;
  font-family: "Plus Jakarta Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 21.6px */
  margin-top: 60px;
  margin-bottom: 6px;
  width: 100%;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  align-self: center;
}

.artist-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(49, 254, 149, 0.15);
  color: var(--Text-Brand, #31FE95);
  font-family: "Plus Jakarta Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  align-self: center;
}

.progress-container {
  width: 100%;
  padding-top: 24px;
  padding-bottom: 24px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: #8fdf8f;
  border-radius: 2px;
  width: 0%;
  position: relative;
  transition: width 0.1s linear;
}
.progress-fill .progress-handle {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.time-display {
  display: flex;
  justify-content: space-between;
  color: var(--Text-Secondary, rgba(255, 255, 255, 0.6));
  font-family: "Plus Jakarta Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 14.4px */
  margin-top: 8px;
}

.controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  align-self: flex-start;
  width: 100%;
  justify-content: center;
}

.control-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
}
.control-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.control-btn svg {
  width: 20px;
  height: 20px;
}

.play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.play-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
.play-btn svg {
  width: 24px;
  height: 24px;
}

.download-btns-wrap {
  display: flex;
  gap: 12px;
  width: 100%;
  align-self: flex-start;
  flex-wrap: wrap;
}
.download-btns-wrap .download-btn {
  flex: 1 0 0;
  min-width: 0;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 15.5px 38px;
  background: var(--Background-BG2, rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  border-radius: 32px;
  text-decoration: none;
  transition: all 0.2s;
  align-self: flex-start;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  width: 100%;
  justify-content: center;
  text-align: center;
  position: relative;
}
.download-btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}
.download-btn.is-loading .download-label {
  opacity: 0.6;
}
.download-btn.is-loading .download-loader {
  display: inline-block;
}
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.4);
}
.download-btn svg {
  width: 16px;
  height: 16px;
}

.download-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 120%;
  white-space: nowrap;
}
.download-label svg {
  flex: 0 0 auto;
}
.download-label .download-label-short {
  display: none;
}

@media (max-width: 1368px) {
  .download-btn {
    padding-left: 12px;
    padding-right: 12px;
  }
  .download-label .download-label-full {
    display: none;
  }
  .download-label .download-label-short {
    display: inline;
  }
}
.download-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.right-panel {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  min-height: 710px;
  max-height: 710px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.lyrics-header {
  display: flex;
  height: 32px;
  padding: 0 38px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--Background-BG2, rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(50px);
  color: #fff;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  margin: 0 auto 16px;
  pointer-events: none;
  user-select: none;
  align-self: center;
}
.lyrics-header svg {
  width: 18px;
  height: 18px;
}

.lyrics-content {
  flex: 1;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  white-space: pre-wrap;
  word-wrap: break-word;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  max-height: 100%;
}
.lyrics-content::-webkit-scrollbar {
  width: 4px;
}
.lyrics-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}
.lyrics-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.lyrics-line {
  display: block;
  padding: 2px 0;
  transition: color 0.2s ease;
  color: var(--Text-Primary, #fff);
  font-family: "Plus Jakarta Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
}
.lyrics-line.active {
  color: #fff;
  font-weight: 600;
}

.lyrics-section {
  display: block;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--Text-Secondary, rgba(255, 255, 255, 0.6));
  font-family: "Plus Jakarta Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
}

.no-lyrics {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  text-align: center;
  padding: 40px 0;
}

.status-pending {
  text-align: center;
  padding: 60px 20px;
}
.status-pending h2 {
  font-size: 20px;
  margin-bottom: 12px;
}
.status-pending p {
  color: rgba(255, 255, 255, 0.6);
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #8fdf8f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: #fca5a5;
}

.user-songs-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.25s;
}
.user-songs-drawer--open {
  visibility: visible;
}
.user-songs-drawer--open .user-songs-drawer__panel {
  pointer-events: auto;
}
.user-songs-drawer__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
  opacity: 0;
}
.user-songs-drawer__panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 85vw);
  max-width: 100%;
  background: linear-gradient(180deg, rgba(20, 40, 20, 0.98) 0%, rgba(10, 20, 10, 0.98) 100%);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.25s ease, width 0.25s ease;
}
.user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed {
  width: 104px;
  min-width: 104px;
}
.user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__header {
  padding: 12px;
  justify-content: center;
}
.user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__user {
  justify-content: center;
}
.user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__user-info {
  display: none;
}
.user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__avatar {
  width: 40px;
  height: 40px;
}
.user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__collapse-icon {
  transform: rotate(180deg);
}
.user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__title-row {
  display: none;
}
.user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__item-info {
  display: none;
}
.user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__item {
  justify-content: center;
}
.user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__item-thumb {
  width: 40px;
  height: 40px;
  margin: 0 auto;
}
.user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__list {
  padding: 8px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.user-songs-drawer--open .user-songs-drawer__panel {
  transform: translateX(0);
}
.user-songs-drawer__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.user-songs-drawer__user {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.user-songs-drawer__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.user-songs-drawer__user-info {
  min-width: 0;
}
.user-songs-drawer__name {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-songs-drawer__count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-top: 2px;
}
.user-songs-drawer__title-row {
  display: flex;
  align-items: center;
  padding: 16px 16px 12px;
  flex-shrink: 0;
}
.user-songs-drawer__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.user-songs-drawer__collapse {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #fff;
  transition: opacity 0.2s;
}
.user-songs-drawer__collapse:hover {
  opacity: 0.9;
}
.user-songs-drawer__collapse-icon {
  display: block;
  width: 28px;
  height: 28px;
  transition: transform 0.25s ease;
}
.user-songs-drawer__list-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.25s ease;
}
.user-songs-drawer__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding: 12px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.user-songs-drawer__list::-webkit-scrollbar {
  width: 6px;
}
.user-songs-drawer__list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}
.user-songs-drawer__list::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
  transition: background 0.2s;
}
.user-songs-drawer__list::-webkit-scrollbar-thumb:hover {
  background: rgba(40, 70, 40, 0.9);
}
.user-songs-drawer__list:hover::-webkit-scrollbar-thumb {
  background: rgba(30, 60, 30, 0.85);
}
.user-songs-drawer__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.user-songs-drawer__item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.user-songs-drawer__item--playing {
  background: rgba(143, 223, 143, 0.2);
  color: #8fdf8f;
}
.user-songs-drawer__item--playing .user-songs-drawer__item-duration {
  color: rgba(143, 223, 143, 0.9);
}
.user-songs-drawer__item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.user-songs-drawer__item-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.user-songs-drawer__item-title {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-songs-drawer__item-duration {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}
.user-songs-drawer__item-stats {
  display: none;
}
.user-songs-drawer__item-stat-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.85;
}
.user-songs-drawer__item-stat-dot {
  margin: 0 2px;
  opacity: 0.6;
}
.user-songs-drawer__loading, .user-songs-drawer__empty {
  padding: 24px 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

@media (min-width: 1024px) {
  body {
    justify-content: flex-start;
    padding-left: 25vw;
  }
  .container {
    width: 100%;
    padding-left: clamp(0.75rem, 2.4410089504vw, 3.75rem);
    padding-right: clamp(1rem, 3.2546786005vw, 5rem);
    margin-left: clamp(1.5rem, 6.1025223759vw, 9.375rem);
    margin-right: clamp(1.25rem, 4.8820179007vw, 7.5rem);
  }
  .user-songs-drawer__panel {
    width: 25vw;
    min-width: 25vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 24px;
  }
  .content {
    flex-direction: column;
  }
  .download-btns-wrap {
    flex-direction: column;
  }
  .download-btns-wrap .download-btn {
    width: 100%;
  }
  .album-art-wrapper {
    width: 240px;
    height: 240px;
  }
  .album-art-circle--outer {
    width: 240px;
    height: 240px;
    border-radius: 240px;
    border-width: 16px;
  }
  .album-art-circle--inner {
    width: 208px;
    height: 208px;
  }
  .album-art {
    width: 180px;
    height: 180px;
  }
  .right-panel {
    min-height: 300px;
    max-height: 360px;
  }
  .user-songs-drawer__panel {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 72px;
    transform: translateY(100%);
    transition: transform 0.3s ease, height 0.3s ease;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
    border-radius: 20px 20px 0 0;
  }
  .user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed {
    width: 100%;
    min-width: 0;
  }
  .user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__list-wrap {
    display: none;
  }
  .user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__header {
    padding: 12px 16px;
    justify-content: flex-start;
  }
  .user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__user-info {
    display: block;
  }
  .user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__user {
    justify-content: flex-start;
  }
  .user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__count {
    display: none;
  }
  .user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__collapse-icon {
    transform: rotate(-90deg);
  }
  .user-songs-drawer__panel.user-songs-drawer__panel--list-collapsed .user-songs-drawer__title-row {
    display: none;
  }
  .user-songs-drawer__panel:not(.user-songs-drawer__panel--list-collapsed) {
    height: 100%;
    top: 0;
    bottom: 0;
    min-height: 100%;
    border-radius: 0;
  }
  .user-songs-drawer__panel:not(.user-songs-drawer__panel--list-collapsed) .user-songs-drawer__collapse-icon {
    transform: rotate(90deg);
  }
  .user-songs-drawer__panel:not(.user-songs-drawer__panel--list-collapsed) .user-songs-drawer__title-row {
    display: flex;
  }
  .user-songs-drawer__panel:not(.user-songs-drawer__panel--list-collapsed) .user-songs-drawer__list-wrap {
    display: flex;
  }
  .user-songs-drawer--open .user-songs-drawer__panel {
    transform: translateY(0);
  }
  .user-songs-drawer__header {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .user-songs-drawer__collapse {
    position: static;
    transform: none;
    order: -1;
    margin-right: 0;
  }
}
audio {
  display: none;
}

/*# sourceMappingURL=player.css.map */
