html {
  margin: 0;
  padding: 0;
  font-family: 'Libre Franklin', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

body {
  margin: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

body.fade-in {
  opacity: 1;
}

#CookiebotWidget {
  display: none
}

#CybotCookiebotDialogPoweredbyLink>img#CybotCookiebotDialogPoweredbyImage {
  display: none !important
}

#CybotCookiebotDialogPoweredbyLink {
  display: inline-block !important;
  width: 150px !important;
  height: 50px !important;
  background: url('/assets/branding/logo-black.svg') no-repeat center center !important;
  background-size: contain !important
}

.CybotCookiebotDialogBodyButton,
.CybotCookiebotDialogBodyButtonAccept,
.CybotCookiebotDialogBodyButtonDecline,
.CybotCookiebotDialogBodyButtonManage {
  background-color: #000 !important;
  color: #fff !important;
  border: 3px solid #000 !important
}

.CybotCookiebotDialogBodyButton:focus,
.CybotCookiebotDialogBodyButtonAccept:focus,
.CybotCookiebotDialogBodyButtonDecline:focus,
.CybotCookiebotDialogBodyButtonManage:focus,
#CybotCookiebotDialogNav a:focus,
#CybotCookiebotDialogNavDeclaration:focus,
#CybotCookiebotDialogNavDetails:focus,
#CybotCookiebotDialogNavImpressum:focus,
#CybotCookiebotDialogNavPrivacy:focus,
#CybotCookiebotDialog a:focus {
  outline: none;
  box-shadow: none
}

#CybotCookiebotDialogNav a,
#CybotCookiebotDialogNavDeclaration,
#CybotCookiebotDialogNavDetails,
#CybotCookiebotDialogNavImpressum,
#CybotCookiebotDialogNavPrivacy {
  color: #000 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #000 !important
}

#CybotCookiebotDialogNav a:hover,
#CybotCookiebotDialogNavDeclaration:hover,
#CybotCookiebotDialogNavDetails:hover,
#CybotCookiebotDialogNavImpressum:hover,
#CybotCookiebotDialogNavPrivacy:hover {
  color: #555 !important
}

#CybotCookiebotDialogNav .CybotCookiebotDialogActive {
  color: #000 !important;
  border-bottom: 3px solid #000 !important
}

#CybotCookiebotDialog a,
#CybotCookiebotDialog a:visited,
#CybotCookiebotDialog a:active {
  color: #000 !important;
  text-decoration: none !important
}

#CybotCookiebotDialog a:hover {
  color: #555 !important
}

input[type="checkbox"].CybotCookiebotDialogBodyLevelButton,
input[type="checkbox"].CybotCookiebotDialogBodyLevelConsentCheckbox {
  accent-color: #000 !important;
  border: 1px solid #000 !important
}

.CybotCookiebotDialogBodyLevelButtonSlider {
  background: #000 !important
}

.CybotCookiebotDialogBodyLevelButtonDescription {
  color: #000 !important;
  font-weight: 400 !important
}

.CybotCookiebotDialogBodyLevelButtonDescription strong {
  color: #000 !important;
  font-weight: 700 !important
}

.CybotCookiebotDialogDetailBodyContentCookieContainerButton {
  color: #000 !important;
  background: none !important;
  border: none !important;
  text-align: left !important;
}

.CybotCookiebotDialogDetailBodyContentCookieContainerButton label,
.CybotCookiebotDialogDetailBulkConsentCount {
  color: #000 !important
}

.CybotCookiebotDialogDetailBodyContentCookieContainerButton:hover {
  color: #555 !important
}

.CybotCookiebotDialogDetailBodyContentCookieContainerButton[aria-expanded="true"] {
  color: #000 !important
}

.hidden {
  display: none !important;
}

#snow-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999999;
}

.background-section {
  background-image: url('/assets/backgrounds/wallpaper.svg');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  height: 480px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0
}

.hidden {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s ease-in-out
}

.visible {
  visibility: visible;
  opacity: 1
}

li {
  list-style-type: none;
  padding: 0;
  margin: 0
}

.hidden-until-loaded {
  visibility: hidden;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  width: 93%;
  margin: auto;
  margin-bottom: 40px;
  gap: 0px;
  margin-top: 20px
}

.left-column,
.right-column {
  flex: 1
}

.left-column {
  display: flex;
  flex-direction: column;
  gap: 0px
}

.right-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 0px
}

.logo-container {
  margin: 0px;
  z-index: 1
}

.logo {
  max-width: 80%;
  width: 100%;
  height: auto;
  margin-right: 30px;
  margin-bottom: 15%
}

.live-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: end;
  max-width: 90%;
  z-index: 1
}

#listen-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 18px;
  border: none;
  border-radius: 50px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 1000;
  overflow: hidden;
  box-shadow: rgba(240, 46, 170, 0.4) 0px 5px, rgba(240, 46, 170, 0.3) 0px 10px, rgba(240, 46, 170, 0.2) 0px 15px, rgba(240, 46, 170, 0.1) 0px 20px, rgba(240, 46, 170, 0.05) 0px 25px
}

#listen-button span {
  font-size: 24px;
  margin-left: 5px
}

#listen-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: rgba(202, 202, 202, 1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: pulse-ripple 1.5s linear infinite;
  animation-fill-mode: both;
  will-change: transform, opacity;
}

@keyframes pulse-ripple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

#listen-play-icon {
  width: 18px;
  height: auto;
  margin-right: 10px
}

.live-album-art-container {
  position: relative;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto
}

#live-album-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  display: block;
}

.live-album-art-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 30%);
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  z-index: 2
}

@keyframes popup {
  0% {
    transform: scale(0.1);
    opacity: 0
  }

  50% {
    transform: scale(1);
    opacity: 1
  }

  100% {
    transform: scale(1);
    opacity: 1
  }
}

.album-popup {
  animation: popup 0.4s ease-in-out
}

.live-indicator {
  display: inline-flex;
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(51, 51, 51, 0.85);
  color: #FFFFFF;
  line-height: 1.5;
  padding: 2px 8px;
  padding-top: 3px !important;
  border-radius: 5px;
  font-size: 12px;
  text-transform: uppercase;
  z-index: 4;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4)
}

.live-dot {
  width: 16px !important;
  height: 16px !important;
  vertical-align: middle !important;
  margin-right: 1px !important;
  box-shadow: none !important;
  margin-right: 3px !important
}

#eq-visualization {
  position: absolute;
  top: 13px;
  right: 10px;
  display: flex;
  gap: 2px;
  z-index: 4;
  transform: scaleY(-1);
  overflow: hidden;
  height: 15px
}

#eq-visualization span {
  display: block;
  width: 2px;
  height: 100%;
  background: #FFFFFF;
  animation: eq 0.7s infinite linear;
  position: relative;
  bottom: 0
}

#eq-visualization span:nth-child(2) {
  animation-delay: -0.4s
}

#eq-visualization span:nth-child(3) {
  animation-delay: -0.3s
}

#eq-visualization span:nth-child(4) {
  animation-delay: -0.2s
}

#eq-visualization span:nth-child(5) {
  animation-delay: -0.1s
}

@keyframes eq {
  0% {
    height: 5px;
    bottom: 0
  }

  50% {
    height: 15px;
    bottom: 0
  }

  100% {
    height: 5px;
    bottom: 0
  }
}

#progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 100%;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 3;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden
}

#progress-bar {
  height: 100%;
  max-width: 100%;
  background-color: #ff00fb;
  transition: width 0.2s ease
}

.song-info-live {
  width: 90%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  left: 0;
  bottom: 65px;
  line-height: 1.5;
  z-index: 999
}

.title-artist-wrapper {
  display: block;
  max-width: 500px;
  margin: 0 auto
}

.title-line,
.artist-line {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box
}

.title-line {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8)
}

.artist-line {
  font-size: 12px;
  font-weight: 400;
  color: #ccc;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8)
}

.weather-container {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

#weather-section-title {
  font-weight: 100;
  font-size: 30px;
  text-align: left;
  margin-bottom: 10px;
  color: #777
}

.weather-info {
  display: flex;
  flex-direction: column;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: left;
  margin: 5px;
  line-height: 1.3;
}

.weather-temp {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-top: 5px;
}

.weather-city {
  font-size: 12px;
  color: #777;
  text-align: center;
}

.weather-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 40px;
}

.weather-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}

.weather-box img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.news-container {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px
}

#news-section-title {
  font-weight: 100;
  font-size: 30px;
  text-align: left;
  margin-bottom: 10px;
  color: #777
}

.news-text table,
#news-modal-text table {
  width: 100%;
  border-collapse: collapse;
}

.news-text td, .news-text th,
#news-modal-text td, #news-modal-text th {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 8px;
  vertical-align: top;
}

.news-list .news-text {
  display: none
}

.news-list .news-date {
  display: none
}

.news-list {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
  margin-top: 0px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 100%;
  margin-bottom: 0px
}

.news-list li {
  position: relative;
  margin-left: 0;
  padding-left: 0
}

.news-album-art {
  position: relative;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px
}

.news-album-art img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px
}

.news-imageCredit {
  font-size: 10px;
  color: #777
}

.news-imageCredit-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #000;
  color: #fff;
  padding: 3px 5px;
  font-size: 10px;
  border-top-right-radius: 10px;
  opacity: 0.8;
  z-index: 2;
  text-align: center
}

.news-info {
  line-height: 1.3;
  text-align: left;
  margin: 5px
}

.news-title {
  margin-top: 10px;
  padding-top: 0px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  display: block;
  cursor: pointer
}

.news-text {
  font-size: 12px;
  color: #777;
  display: block
}

.news-subtitle {
  font-size: 12px;
  color: #777;
  display: block
}

.news-item {
  position: relative;
  margin-left: 0;
  padding-left: 0
}

.news-info {
  line-height: 1.3;
  text-align: left;
  margin: 5px
}

.news-title {
  padding-top: 0;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  display: block;
  margin-bottom: 3px
}

.news-subtitle {
  font-size: 12px;
  color: #777;
  display: block
}

.news-date {
  font-size: 12px;
  color: #777;
  margin-bottom: 5px
}

#news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 10000
}

#news-modal:not(.hidden) {
  display: flex
}

.news-modal-content {
  position: relative;
  background: #fff;
  border-radius: 10px;
  max-width: 1200px;
  width: 90%;
  box-sizing: border-box
}

.news-modal-content-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
}

.news-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  cursor: pointer;
  color: #333;
  z-index: 10001
}

.news-modal-image {
  position: relative;
  flex: 0 0 auto;
  max-width: 40%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.news-modal-image img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 0 0 10px;
}

.news-modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  margin: 20px 20px 0px 0
}

.news-modal-info .news-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0px;
  color: #333 !important
}

.news-modal-info .news-text {
  font-size: 14px;
  line-height: 1.5;
  color: #777
}

.read-more {
  font-size: 12px;
  text-decoration: none;
  color: #777
}

.read-more:hover {
  text-decoration: underline
}

.banner-wrapper {
  max-width: 1200px;
  width: 95%;
  margin: 0px auto 0px;
  box-sizing: border-box;
}

.banner {
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  transition: background-image 0.5s ease;
  margin-top: 10px;
  margin-bottom: 10px;
}

.played-container {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px
}

.played-songs {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
  margin-top: 0px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  max-width: 100%
}

.played-songs li {
  position: relative;
  margin-left: 0;
  padding-left: 0
}

.played-songs li img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  aspect-ratio: 1 / 1
}

.played-album-art {
  position: relative;
  width: 100%;
  height: auto;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

#played-songs-title {
  font-weight: 100;
  font-size: 30px;
  text-align: left;
  margin-bottom: 10px;
  color: #777
}

.played-info {
  line-height: 1.3;
  text-align: left;
  margin: 5px
}

.played-title {
  padding-top: 0px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  display: block;
  margin-bottom: 3px
}

.played-artist {
  font-size: 12px;
  color: #777;
  display: block
}

.played-time {
  font-size: 10px;
  color: #777;
  display: block;
  margin-top: 0px
}

.played-time-overlay {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #000000;
  color: #FFFFFF;
  padding: 3px 5px;
  font-size: 10px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  opacity: 0.8;
  z-index: 2
}

.schedule-container {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px
}

.schedule-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0
}

.schedule-item {
  position: relative;
  overflow: hidden
}

.schedule-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  aspect-ratio: 1 / 1
}

.schedule-info {
  line-height: 1.3;
  padding: 5px;
  color: #777
}

#schedule-title {
  font-weight: 100;
  font-size: 30px;
  text-align: left;
  margin-bottom: 10px;
  color: #777
}

.schedule-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 3px
}

.schedule-host {
  font-size: 12px;
  color: #777
}

.schedule-time {
  font-size: 12px;
  color: #777
}

.now-next-container {
  display: contents;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 95%;
  width: 100%;
  margin: 60px
}

.current-program {
  display: flex;
  align-items: center;
  z-index: 1
}

.current-program-info {
  position: relative;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 20px
}

.on-air-indicator {
  position: relative;
  display: inline-flex;
  margin-bottom: 5px;
  background-color: rgba(51, 51, 51, 0.85);
  color: #FFFFFF;
  line-height: 1.5;
  padding: 2px 8px;
  padding-top: 3px;
  border-radius: 5px;
  font-size: 12px;
  text-transform: uppercase;
  z-index: 4;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  text-align: left
}

.social-icons {
  display: flex;
  margin: 0px;
  padding: 0px;
  filter: invert(1);
  gap: 5px
}

.social-icons img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  box-shadow: none;
  margin-top: 5px;
  border-radius: 0
}

.current-program-social {
  display: flex;
  gap: 0px;
  margin-top: 5px;
  align-items: left
}

.next-program {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 2.5%
}

#current-program-name {
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8)
}

#current-host-name {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8)
}

#current-time {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8)
}

.next-program-info {
  display: inline-flex;
  gap: 10px;
  font-size: 16px;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.status {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8)
}

.program-image-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 10px;
  overflow: hidden;
  width: 45%;
  height: auto;
  flex-shrink: 0;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8)
}

#current-host-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block
}

#program-progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 2;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden
}

#program-progress-bar {
  height: 100%;
  width: 0%;
  background-color: #580082;
  transition: width 0.2s ease
}

#next-program-name,
#next-host-name,
#next-time {
  font-size: 14px;
  color: #777
}

#next-time {
  font-size: 14px;
  color: #777;
  white-space: nowrap;
  margin-left: 4px
}

.footer {
  background-color: #f2f2f2;
  padding-top: 55px;
  padding-bottom: 120px;
  next-protext-align: center;
  font-family: 'Arial', sans-serif;
  color: #333;
  width: 100%;
  box-sizing: border-box;
  margin-top: 100px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px
}

.footer-logo {
  max-width: 315px;
  width: 100%
}

.footer-links {
  list-style: none;
  padding: 30px;
  margin: 10px 0;
  display: flex;
  gap: 30px;
  justify-content: center
}

.footer-links li {
  display: inline
}

.footer-links a {
  text-decoration: none;
  color: #333;
  font-size: 14px
}

.footer-links a:hover {
  text-decoration: underline
}

.footer-copyright {
  font-size: 14px;
  color: #777
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: center
}

.footer-social-icons .social-icon {
  width: 30px;
  height: auto;
  transition: opacity 0.3s;
  margin-bottom: 20px
}

.footer-social-icons .social-icon:hover {
  opacity: 0.7
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0
  }

  to {
    transform: translate(-50%, 0);
    opacity: 0.9
  }
}

.internet-radio-badge {
  width: auto;
  height: auto
}

.player-bar {
  position: fixed;
  bottom: 10px;
  left: 50%;
  width: 95%;
  max-width: 1200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  background-color: rgba(51, 51, 51, 0.95);
  border-radius: 10px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate(-50%, 40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  z-index: 1000;
  overflow: visible;
}

.player-bar.fade-in {
  opacity: 1;
  transform: translate(-50%, 0);
}

.player-bar .left-group,
.player-bar .right-group {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 0%;
  overflow: hidden
}

.player-bar .middle-group {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2
}

.player-bar .left-group {
  flex: 1 1 0%
}

.player-bar .right-group {
  justify-content: flex-end
}

.current-album-art {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  margin-top: 4px;
  margin-left: 10px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  flex-shrink: 0
}

.song-info {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  padding-right: 100px
}

.song-info .song-title,
.song-info .song-artist {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.5
}

.song-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8)
}

.song-artist {
  font-size: 12px;
  color: #ccc;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8)
}

#play-button-player,
#hd-toggle,
#volume-container {
  flex-shrink: 0
}

#hd-toggle img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  vertical-align: bottom;
  padding-left: 7px
}

#hd-toggle {
  position: relative;
  display: inline-block;
}

.hd-message {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.hd-message::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8) transparent;
}

.hd-message.show {
  opacity: 1;
}

#play-button-player {
  width: 60px;
  height: 60px;
  border-radius: 50px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center
}

#play-button-player img {
  width: 25px;
  height: 25px;
  object-fit: contain
}

#volume-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

#volume-slider-container {
  position: absolute;
  top: 50%;
  left: calc(100% + 6px);
  transform: translateY(-50%);
  height: 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 10px;
}

#volume-container.show-slider #volume-slider-container {
  opacity: 1;
  pointer-events: auto;
}

#volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 1px;
  background-color: #ff00fb;
  cursor: pointer;
  border-radius: 10px;
}

#volume-slider::-moz-range-thumb,
#volume-slider::-webkit-slider-thumb {
  background: #fff;
  width: 15px;
  height: 15px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -5px;
}

#volume-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  background: #888;
  border-radius: 5px;
}

#volume-icon {
  width: 25px;
  height: 25px;
  cursor: pointer;
  filter: brightness(0) invert(1);
}

#program-on-air {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  padding-left: 100px;
  margin-right: 10px
}

#program-on-air .program-name,
#program-on-air .program-host,
#program-on-air .program-time {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.5
}

.program-name {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8)
}

.program-host,
.program-time {
  font-size: 12px;
  color: #ccc;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8)
}

#program-image-player {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  margin-top: 4px;
  margin-right: 10px
}

#mode-toggle {
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease
}

.copyright-text {
  font-size: 14px;
  margin-top: 30px
}

@keyframes scroll-text {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(0);
  }

  /* paus */
  70% {
    transform: translateX(calc(-1 * var(--scroll-distance)));
  }

  100% {
    transform: translateX(0);
  }
}

body {
  counter-reset: midnight 0
}

:root {
  counter-reset: midnight 0
}

*:before,
*:after {
  counter-reset: midnight 0
}

*[data-midnight="true"] span {
  content: "00: 00"
}

.visning-overpy-proxy.shifted.midnight-txt--mid::showtimes= {}

html.dark-mode,
body.dark-mode {
  margin: 0;
  background-color: #222
}

body.dark-mode .footer {
  background-color: #444
}

body.dark-mode a {
  color: #999
}

body.dark-mode #next-program-name {
  color: #999
}

body.dark-mode .weather-temp {
  color: #fff
}

body.dark-mode .weather-city {
  color: #999
}

body.dark-mode .weather-box {
  background-color: #444
}

body.dark-mode #news-section-title {
  color: #999
}

body.dark-mode .news-title {
  color: #fff
}

body.dark-mode #schedule-title {
  color: #999
}

body.dark-mode .schedule-host {
  color: #999
}

body.dark-mode #weather-section-title {
  color: #999
}

body.dark-mode .schedule-time {
  color: #999
}

body.dark-mode #played-songs-title {
  color: #999
}

body.dark-mode .played-artist {
  color: #999
}

body.dark-mode .played-title {
  color: #fff
}

body.dark-mode .schedule-title {
  color: #fff
}

body.dark-mode .footer-links {
  color: #999
}

body.dark-mode .footer-social-icons {
  filter: invert(1)
}

body.dark-mode .copyright-text {
  color: #999
}

.footer-logo{
  content: url("/assets/branding/logo-black.svg");
}

body.dark-mode .footer-logo{
  content: url("/assets/branding/logo-white.svg");
}

@keyframes scroll-text {
  0% {
    transform: translateX(0);
  }

  40% {
    transform: translateX(0);
  }

  /* paus */
  60% {
    transform: translateX(calc(-1 * var(--scroll-distance)));
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 1260px) {
  .background-section {
    height: calc(38vw);
  }
}

@media (max-width: 992px) {
  .player-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    width: 97%;
  }

  .player-bar .right-group {
    display: none;
  }

  .player-bar .left-group {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .live-container {
    align-items: center;
    max-width: 100%;
  }

  .song-info {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    /* maskar scroll */
    margin-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
  }

  .player-bar .song-info #player-title,
  .player-bar .song-info #player-artist,
  .player-bar .song-info .song-title,
  .player-bar .song-info .song-artist {
    max-width: none !important;
    width: max-content !important;
    display: inline-block !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
    will-change: transform;
  }

  .player-bar .song-info .song-title,
  .player-bar .song-info .song-artist,
  #player-title,
  #player-artist {
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    display: inline-block;
    will-change: transform;
  }

  .player-bar .middle-group {
    position: static;
    transform: none;
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .player-bar .song-info {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 90%,
        rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 90%,
        rgba(0, 0, 0, 0) 100%);
  }

  #play-button-player,
  #hd-toggle {
    flex-shrink: 0;
  }

  .hd-message {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
  }

  .volume-icon {
    display: none;
  }

  #volume-slider {
    display: none;
  }

  .container {
    display: grid;
    grid-template-areas: "logo""live""now";
    place-items: center;
    margin-bottom: -10px;
  }

  .background-section {
    height: 640px;
  }

  .right-column {
    grid-area: live;
    margin-left: 5px;
    margin-right: 5px;
  }

  .left-column {
    display: contents;
  }

  .logo-container {
    grid-area: logo;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

  .logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-right: 0px;
    margin-bottom: 0px;
  }

  .live-container {
    width: 100%;
  }

  .now-next-container {
    grid-area: now;
    width: 95%;
  }

  .program-image-wrapper {
    width: 120px;
  }

  .current-program {
    font-size: 14px;
    flex-direction: row-reverse;
    margin: 30px auto 0px;
    width: 98%;
  }

  .current-program img {
    width: auto;
    height: 125px;
    box-shadow: none;
    margin-top: 0px;
  }

  .current-program-info {
    color: #333;
    width: 100%;
    margin-left: 0px;
  }

  #current-program-name {
    font-weight: 700;
    text-shadow: none;
    margin-bottom: 3px;
  }

  #current-host-name {
    font-size: 12px;
    color: #777;
    text-shadow: none;
  }

  #current-time {
    font-size: 12px;
    color: #777;
    text-shadow: none;
  }

  #tab-banner:first-child {
    margin-top: 40px;
  }

  .social-icons {
    padding: 0px;
    filter: brightness(0) saturate(100%);
    margin-top: 5px;
  }

  .social-icons img {
    height: 24px;
    width: 24px;
  }

  #next-program-name {
    display: none;
  }

  .played-songs,
  .news-list,
  .schedule-list,
  .weather-list {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    display: flex;
    padding: 0;
    margin: 0 auto;
    white-space: nowrap;
    gap: 10px;
    list-style: none;
  }

  .played-songs::-webkit-scrollbar,
  .news-list::-webkit-scrollbar,
  .schedule-list::-webkit-scrollbar,
  .weather-list::-webkit-scrollbar {
    display: none;
  }

  .played-songs::-webkit-scrollbar-track,
  .news-list::-webkit-scrollbar-track,
  .schedule-list::-webkit-scrollbar-track,
  .weather-list::-webkit-scrollbar-track {
    background: transparent;
  }

  .played-songs::-webkit-scrollbar-thumb,
  .news-list::-webkit-scrollbar-thumb,
  .schedule-list::-webkit-scrollbar-thumb,
  .weather-list::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
  }

  .news-list::before,
  .played-songs::before,
  .schedule-list::before,
  .weather-list::before {
    content: "";
    flex: 0 0 10px;
  }

  .news-list::after,
  .played-songs::after,
  .schedule-list::after,
  .weather-list::after {
    content: "";
    flex: 0 0 10px;
  }

  .news-container,
  .played-container,
  .schedule-container,
  .weather-container {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    box-sizing: border-box;
  }

  #news-section-title,
  #played-songs-title,
  #schedule-title,
  #weather-section-title {
    font-size: 24px;
    margin-left: 20px;
  }

  .news-list li,
  .played-songs li,
  .schedule-item,
  .weather-list li {
    flex: 0 0 auto;
    width: 150px;
  }

  .weather-list {
    flex-wrap: nowrap;
    margin-bottom: 30px;
  }

  .weather-box {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    color: #333;
  }

  .weather-box img {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }

  .news-album-art,
  .played-album-art,
  .schedule-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .news-info,
  .played-info,
  .schedule-info {
    display: flex;
    flex-direction: column;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
  }

  .news-title,
  .played-title,
  .schedule-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-align: left;
    margin-top: 5px;
  }

  .news-text,
  .played-time,
  .schedule-host,
  .schedule-time {
    font-size: 12px;
    color: #777;
    text-align: left;
  }

  /* =========================
     NEWS MODAL (FIX)
     Bilden låst, texten scrollar
     ========================= */

  .news-modal-content {
    max-height: 80vh;
    overflow: hidden;
    box-sizing: border-box;
  }

  .news-modal-content-flex {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 80vh;    /* <-- FIX: måste vara fast höjd */
    min-height: 0;   /* <-- FIX: krävs för scroll i flex-child */
  }

  .news-modal-image {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    flex: 0 0 auto;  /* <-- FIX: bilden rör sig inte */
  }

  .news-modal-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .news-modal-info {
    flex: 1 1 auto;   /* <-- FIX: tar resten */
    min-height: 0;    /* <-- FIX: annars funkar inte overflow-y */
    margin: 0;
    padding: 20px;
    overflow-y: auto; /* <-- FIX: scroll här */
    text-align: left;
  }

  /* ========================= */

  .footer {
    padding: 20px;
    text-align: center;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 90px;
  }

  .footer-logo {
    margin-bottom: 15px;
    margin-top: 20px;
  }

  #mode-toggle {
    margin-top: 10px;
  }

  .footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links li {
    text-align: center;
  }

  .footer-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
  }

  .footer-links a:hover {
    text-decoration: underline;
  }

  .footer-social-icons {
    color: #777;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .footer-social-icons img {
    width: 20px;
    height: auto;
    transition: opacity 0.3s;
  }

  .footer-copyright {
    font-size: 12px;
    color: #777;
    margin-top: 0px;
    padding: 0px;
  }

  .footer-social-icons .social-icon {
    margin-bottom: 0px;
  }

  .copyright-text {
    margin-top: 10px;
  }

  body.dark-mode .current-program-info {
    color: #fff;
  }

  body.dark-mode #current-program-name {
    color: #fff;
  }

  body.dark-mode #current-host-name,
  body.dark-mode #current-time {
    color: #999 !important;
  }

  body.dark-mode .current-program-social {
    filter: invert(1);
  }

  body.dark-mode .social-icons {
    filter: invert(1);
  }
}

@media (max-width: 632px) {
  .banner-wrapper {
    width: 100%;
    margin: 0px auto 0px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .banner {
    border-radius: 10px;
    margin-top: 15px;
  }

  .background-section {
    height: clamp(320px, 104.43vw, 660px);
  }

  .logo {
    width: clamp(160px, 75.95vw, 480px);
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .current-program {
    width: 97%;
  }

  .footer-logo {
    width: clamp(160px, 75.95vw, 480px);
  }

  .player-bar {
    width: 96%;
  }
}