/* RadioBoom dual custom theme: works with built-in Light/Dark switch */

html,
body {
  min-height: 100%;
}

/* LIGHT MODE */
body:has(.v-theme--light),
.v-theme--light,
.v-theme--light .v-application,
.v-theme--light .v-application__wrap {
  background:
    radial-gradient(circle at 15% 10%, rgba(56,189,248,.18), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(129,140,248,.16), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 45%, #ffffff 100%) !important;
  color: #0f172a !important;
}

.v-theme--light {
  --v-theme-primary: 14, 165, 233 !important;
  --v-theme-secondary: 99, 102, 241 !important;
  --v-theme-surface: 255, 255, 255 !important;
  --v-theme-background: 248, 251, 255 !important;
  --v-theme-on-surface: 15, 23, 42 !important;
  --v-theme-on-background: 15, 23, 42 !important;
}

.v-theme--light .v-card,
.v-theme--light .v-sheet,
.v-theme--light .v-list {
  background: rgba(255,255,255,.88) !important;
  color: #0f172a !important;
  border: 1px solid rgba(14,165,233,.16) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 55px rgba(15,23,42,.10) !important;
  backdrop-filter: blur(16px);
}

.v-theme--light .v-card-subtitle,
.v-theme--light .v-list-item-subtitle {
  color: rgba(15,23,42,.62) !important;
}

/* DARK MODE */
body:has(.v-theme--dark),
.v-theme--dark,
.v-theme--dark .v-application,
.v-theme--dark .v-application__wrap {
  background:
    radial-gradient(circle at 15% 10%, rgba(56,189,248,.28), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(139,92,246,.28), transparent 34%),
    radial-gradient(circle at 50% 90%, rgba(236,72,153,.16), transparent 36%),
    linear-gradient(135deg, #050711 0%, #0b1020 48%, #020617 100%) !important;
  color: #ffffff !important;
}

.v-theme--dark {
  --v-theme-primary: 56, 189, 248 !important;
  --v-theme-secondary: 139, 92, 246 !important;
  --v-theme-surface: 12, 18, 34 !important;
  --v-theme-background: 5, 7, 17 !important;
  --v-theme-on-surface: 255, 255, 255 !important;
  --v-theme-on-background: 255, 255, 255 !important;
}

.v-theme--dark .v-card,
.v-theme--dark .v-sheet,
.v-theme--dark .v-list {
  background: rgba(12,18,34,.82) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.36) !important;
  backdrop-filter: blur(18px);
}

.v-theme--dark .v-card-subtitle,
.v-theme--dark .v-list-item-subtitle {
  color: rgba(255,255,255,.72) !important;
}

/* BOTH MODES */
.v-btn {
  border-radius: 999px !important;
}

.v-theme--light .v-btn--variant-elevated,
.v-theme--light .v-btn--variant-flat {
  background: linear-gradient(135deg, #0ea5e9, #6366f1) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(14,165,233,.18) !important;
}

.v-theme--dark .v-btn--variant-elevated,
.v-theme--dark .v-btn--variant-flat {
  background: linear-gradient(135deg, #38bdf8, #8b5cf6) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(56,189,248,.22) !important;
}

.v-img,
.player-image {
  border-radius: 20px !important;
}

.v-theme--light .v-img,
.v-theme--light .player-image {
  box-shadow: 0 16px 42px rgba(15,23,42,.14) !important;
}

.v-theme--dark .v-img,
.v-theme--dark .player-image {
  box-shadow: 0 20px 50px rgba(0,0,0,.42) !important;
}

/* Bottom podcast player */
.v-theme--light #podcastPlayer .v-card.player-wrapper {
  background: rgba(255,255,255,.94) !important;
  color: #0f172a !important;
  border-top: 1px solid rgba(14,165,233,.16) !important;
  box-shadow: 0 -14px 45px rgba(15,23,42,.12) !important;
  backdrop-filter: blur(18px);
}

.v-theme--dark #podcastPlayer .v-card.player-wrapper {
  background: rgba(3,7,18,.94) !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 -20px 70px rgba(0,0,0,.45) !important;
  backdrop-filter: blur(22px);
}

.v-theme--light #podcastPlayer .player-title-line-1 {
  color: #0f172a !important;
}

.v-theme--light #podcastPlayer .player-title-line-2 {
  color: #0284c7 !important;
}

.v-theme--dark #podcastPlayer .player-title-line-1 {
  color: #ffffff !important;
}

.v-theme--dark #podcastPlayer .player-title-line-2 {
  color: #38bdf8 !important;
}

@media (max-width: 700px) {
  .v-card,
  .v-sheet,
  .v-list {
    border-radius: 18px !important;
  }

  #podcastPlayer .v-card.player-wrapper {
    border-radius: 20px 20px 0 0 !important;
  }
}

/* === RADIOBOOM PLAYER V3 START === */

/* Реальный нижний Vue-плеер */
#podcastPlayer,
.bottom_player.player-wrapper {
  border: 0 !important;
}

#podcastPlayer .player-wrapper,
#podcastPlayer .bottom_player,
.bottom_player.player-wrapper {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-height: 84px !important;
  border-radius: 30px !important;
  padding: 13px 18px !important;
  overflow: hidden !important;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease !important;
}

#podcastPlayer .player-wrapper:hover,
#podcastPlayer .bottom_player:hover,
.bottom_player.player-wrapper:hover {
  transform: translateY(-2px) !important;
}

#podcastPlayer .player-image,
.bottom_player.player-wrapper .player-image {
  border-radius: 20px !important;
  width: 62px !important;
  height: 62px !important;
  object-fit: cover !important;
}

#podcastPlayer .player-title-line-1,
.bottom_player.player-wrapper .player-title-line-1 {
  font-weight: 900 !important;
  font-size: .95rem !important;
  letter-spacing: .01em !important;
}

#podcastPlayer .player-title-line-2,
.bottom_player.player-wrapper .player-title-line-2 {
  font-weight: 700 !important;
  font-size: .8rem !important;
}

#podcastPlayer .control-btn,
.bottom_player.player-wrapper .control-btn {
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

#podcastPlayer .control-btn:hover,
.bottom_player.player-wrapper .control-btn:hover {
  transform: translateY(-1px) scale(1.04) !important;
}

#podcastPlayer .control-btn-lg,
.bottom_player.player-wrapper .control-btn-lg {
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
}

/* Встроенный Streaming Center player */
#sc-player {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 20px auto !important;
  border-radius: 34px !important;
  overflow: hidden !important;
}

#sc-player .player,
#sc-player .player-container,
#sc-player .controls-container,
#sc-player .image-container,
#sc-player .history-container,
#sc-player .share-container {
  border-radius: 28px !important;
}

#sc-player .controls-container,
#sc-player .image-container {
  backdrop-filter: blur(22px) !important;
}

#sc-player .play-button,
#sc-player .play-button-container {
  border-radius: 999px !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

#sc-player .play-button:hover,
#sc-player .play-button-container:hover {
  transform: scale(1.04) !important;
}

#sc-player .progress-wrapper,
#sc-player .progress-bar,
#sc-player .slider,
#sc-player .vue-slider-rail,
#sc-player .vue-slider-process {
  border-radius: 999px !important;
}

/* LIGHT MODE */
.v-theme--light #podcastPlayer .player-wrapper,
.v-theme--light #podcastPlayer .bottom_player,
.v-theme--light .bottom_player.player-wrapper,
body:has(.v-theme--light) #podcastPlayer .player-wrapper,
body:has(.v-theme--light) .bottom_player.player-wrapper {
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(232,246,255,.94)) !important;
  color: #0f172a !important;
  border: 1px solid rgba(14,165,233,.24) !important;
  box-shadow: 0 -10px 34px rgba(15,23,42,.08), 0 18px 55px rgba(14,165,233,.16) !important;
  backdrop-filter: blur(24px) !important;
}

.v-theme--light #podcastPlayer .player-title-line-1,
.v-theme--light .bottom_player.player-wrapper .player-title-line-1,
body:has(.v-theme--light) #podcastPlayer .player-title-line-1,
body:has(.v-theme--light) .bottom_player.player-wrapper .player-title-line-1 {
  color: #0f172a !important;
}

.v-theme--light #podcastPlayer .player-title-line-2,
.v-theme--light .bottom_player.player-wrapper .player-title-line-2,
body:has(.v-theme--light) #podcastPlayer .player-title-line-2,
body:has(.v-theme--light) .bottom_player.player-wrapper .player-title-line-2 {
  color: #0284c7 !important;
}

.v-theme--light #podcastPlayer .control-btn,
.v-theme--light .bottom_player.player-wrapper .control-btn,
body:has(.v-theme--light) #podcastPlayer .control-btn,
body:has(.v-theme--light) .bottom_player.player-wrapper .control-btn {
  background: rgba(255,255,255,.82) !important;
  color: #0f172a !important;
  border-color: rgba(14,165,233,.22) !important;
  box-shadow: 0 9px 24px rgba(15,23,42,.09) !important;
}

.v-theme--light #podcastPlayer .control-btn-lg,
.v-theme--light .bottom_player.player-wrapper .control-btn-lg,
body:has(.v-theme--light) #podcastPlayer .control-btn-lg,
body:has(.v-theme--light) .bottom_player.player-wrapper .control-btn-lg {
  background: linear-gradient(135deg, #0ea5e9, #6366f1) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(14,165,233,.32) !important;
}

.v-theme--light #sc-player,
body:has(.v-theme--light) #sc-player {
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(232,246,255,.94)) !important;
  border: 1px solid rgba(14,165,233,.24) !important;
  box-shadow: 0 20px 60px rgba(14,165,233,.16) !important;
}

.v-theme--light #sc-player .controls-container,
body:has(.v-theme--light) #sc-player .controls-container {
  background: rgba(255,255,255,.88) !important;
  background-color: rgba(255,255,255,.88) !important;
}

.v-theme--light #sc-player .image-container,
body:has(.v-theme--light) #sc-player .image-container {
  background: linear-gradient(135deg, rgba(224,242,254,.92), rgba(255,255,255,.80)) !important;
}

.v-theme--light #sc-player .play-button,
.v-theme--light #sc-player .play-button-container,
body:has(.v-theme--light) #sc-player .play-button,
body:has(.v-theme--light) #sc-player .play-button-container {
  background: linear-gradient(135deg, #0ea5e9, #6366f1) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 40px rgba(14,165,233,.32) !important;
}

.v-theme--light #sc-player .progress-bar,
.v-theme--light #sc-player .vue-slider-process,
body:has(.v-theme--light) #sc-player .progress-bar,
body:has(.v-theme--light) #sc-player .vue-slider-process {
  background: linear-gradient(90deg, #0ea5e9, #6366f1) !important;
}

/* DARK MODE */
.v-theme--dark #podcastPlayer .player-wrapper,
.v-theme--dark #podcastPlayer .bottom_player,
.v-theme--dark .bottom_player.player-wrapper,
body:has(.v-theme--dark) #podcastPlayer .player-wrapper,
body:has(.v-theme--dark) .bottom_player.player-wrapper {
  background: radial-gradient(circle at 10% 0%, rgba(56,189,248,.22), transparent 36%), radial-gradient(circle at 90% 10%, rgba(139,92,246,.25), transparent 35%), linear-gradient(135deg, rgba(3,7,18,.98), rgba(15,23,42,.96)) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 -16px 55px rgba(0,0,0,.44), 0 0 52px rgba(56,189,248,.16) !important;
  backdrop-filter: blur(26px) !important;
}

.v-theme--dark #podcastPlayer .player-title-line-1,
.v-theme--dark .bottom_player.player-wrapper .player-title-line-1,
body:has(.v-theme--dark) #podcastPlayer .player-title-line-1,
body:has(.v-theme--dark) .bottom_player.player-wrapper .player-title-line-1 {
  color: #ffffff !important;
  text-shadow: 0 0 18px rgba(56,189,248,.22) !important;
}

.v-theme--dark #podcastPlayer .player-title-line-2,
.v-theme--dark .bottom_player.player-wrapper .player-title-line-2,
body:has(.v-theme--dark) #podcastPlayer .player-title-line-2,
body:has(.v-theme--dark) .bottom_player.player-wrapper .player-title-line-2 {
  color: #7dd3fc !important;
}

.v-theme--dark #podcastPlayer .control-btn,
.v-theme--dark .bottom_player.player-wrapper .control-btn,
body:has(.v-theme--dark) #podcastPlayer .control-btn,
body:has(.v-theme--dark) .bottom_player.player-wrapper .control-btn {
  background: rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.95) !important;
  border-color: rgba(255,255,255,.14) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.27) !important;
}

.v-theme--dark #podcastPlayer .control-btn-lg,
.v-theme--dark .bottom_player.player-wrapper .control-btn-lg,
body:has(.v-theme--dark) #podcastPlayer .control-btn-lg,
body:has(.v-theme--dark) .bottom_player.player-wrapper .control-btn-lg {
  background: linear-gradient(135deg, #38bdf8, #8b5cf6) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 36px rgba(56,189,248,.27), 0 0 30px rgba(139,92,246,.24) !important;
}

.v-theme--dark #sc-player,
body:has(.v-theme--dark) #sc-player {
  background: radial-gradient(circle at 10% 0%, rgba(56,189,248,.20), transparent 36%), radial-gradient(circle at 90% 10%, rgba(139,92,246,.24), transparent 34%), linear-gradient(135deg, rgba(3,7,18,.98), rgba(15,23,42,.96)) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.42), 0 0 52px rgba(56,189,248,.16) !important;
}

.v-theme--dark #sc-player .controls-container,
body:has(.v-theme--dark) #sc-player .controls-container {
  background: rgba(3,7,18,.78) !important;
  background-color: rgba(3,7,18,.78) !important;
}

.v-theme--dark #sc-player .image-container,
body:has(.v-theme--dark) #sc-player .image-container {
  background: linear-gradient(135deg, rgba(15,23,42,.96), rgba(30,41,59,.82)) !important;
}

.v-theme--dark #sc-player .play-button,
.v-theme--dark #sc-player .play-button-container,
body:has(.v-theme--dark) #sc-player .play-button,
body:has(.v-theme--dark) #sc-player .play-button-container {
  background: linear-gradient(135deg, #38bdf8, #8b5cf6) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 46px rgba(56,189,248,.28), 0 0 32px rgba(139,92,246,.24) !important;
}

.v-theme--dark #sc-player .progress-bar,
.v-theme--dark #sc-player .vue-slider-process,
body:has(.v-theme--dark) #sc-player .progress-bar,
body:has(.v-theme--dark) #sc-player .vue-slider-process {
  background: linear-gradient(90deg, #38bdf8, #8b5cf6, #ec4899) !important;
}

/* Mobile */
@media (max-width: 700px) {
  #podcastPlayer .player-wrapper,
  #podcastPlayer .bottom_player,
  .bottom_player.player-wrapper {
    max-width: 100% !important;
    min-height: 92px !important;
    border-radius: 22px 22px 0 0 !important;
    padding: 10px 12px !important;
  }

  #podcastPlayer .control-btn-lg,
  .bottom_player.player-wrapper .control-btn-lg {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
  }

  #sc-player {
    border-radius: 24px !important;
    margin: 14px auto !important;
  }
}

/* === RADIOBOOM PLAYER V3 END === */
