
.fm320-compact-status,
.fm320-compact-status * {
  box-sizing: border-box;
}

.fm320-compact-status {
  --fm320-pink: #e60155;
  --fm320-blue: #0059e7;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, .95fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid #e3e8ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(25, 40, 60, .05);
  color: #151b23;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.fm320-compact-main {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.fm320-compact-cover {
  position: relative;
  width: 116px;
  height: 116px;
}

.fm320-compact-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2e7ed;
}

.fm320-compact-live {
  position: absolute;
  left: 7px;
  bottom: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--fm320-pink);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .04em;
}

.fm320-compact-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fm320-pink);
}

.fm320-compact-track {
  min-width: 0;
}

.fm320-compact-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--fm320-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
}

.fm320-compact-track h3 {
  margin: 0;
  overflow: hidden;
  color: #151b23;
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fm320-compact-track p {
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--fm320-pink);
  font-size: .92rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fm320-compact-progress-meta {
  margin-top: 17px;
  color: #77818d;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.fm320-compact-progress {
  height: 4px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf2;
}

.fm320-compact-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--fm320-pink), var(--fm320-blue));
  transition: width .8s linear;
}

.fm320-compact-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: center;
}

.fm320-compact-stats > div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  background: #fafbfd;
}

.fm320-compact-stats span {
  display: block;
  color: #7b8590;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.fm320-compact-stats strong {
  display: block;
  margin-top: 4px;
  color: #1a2028;
  font-size: .94rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.fm320-compact-stats .status-value.online {
  color: #15966e;
}

.fm320-compact-stats .status-value.offline {
  color: #c8414e;
}

@media (max-width: 850px) {
  .fm320-compact-status {
    grid-template-columns: 1fr;
  }

  .fm320-compact-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .fm320-compact-status {
    padding: 13px;
  }

  .fm320-compact-main {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
  }

  .fm320-compact-cover {
    width: 82px;
    height: 82px;
  }

  .fm320-compact-track h3 {
    font-size: 1.08rem;
  }

  .fm320-compact-progress-meta {
    margin-top: 10px;
  }

  .fm320-compact-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* v1.4.1 – adaptive Darstellung je nach ausgewählten Elementor-Daten */
.fm320-compact-status[data-has-stats="0"] {
  grid-template-columns: 1fr;
}

.fm320-compact-status[data-has-cover="0"] .fm320-compact-main {
  grid-template-columns: 1fr;
}

.fm320-compact-onair-standalone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff2f6;
  color: #e60155;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .05em;
}

.fm320-compact-onair-standalone i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e60155;
}

.fm320-compact-stats {
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
}

@media (max-width: 850px) {
  .fm320-compact-stats {
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  }
}


/* =========================================================
   v1.5.0 – Professional Compact Homepage Design
   ========================================================= */
.fm320-compact-status {
  --fm320-pink: #e60155;
  --fm320-blue: #0059e7;
  --fm320-ink: #111318;
  --fm320-muted: #7a8490;
  --fm320-line: #e7ebf0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fm320-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(230,1,85,.045), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(0,89,231,.045), transparent 34%),
    #fff;
  box-shadow: 0 14px 36px rgba(17,24,39,.06);
}

.fm320-compact-status::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--fm320-pink), var(--fm320-blue));
  opacity: .9;
}

.fm320-compact-cover img {
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(17,24,39,.09);
}

.fm320-compact-live {
  border: 1px solid rgba(230,1,85,.13);
  background: rgba(255,255,255,.96);
}

.fm320-compact-kicker {
  letter-spacing: .075em;
}

.fm320-compact-track h3 {
  color: var(--fm320-ink);
  letter-spacing: -.035em;
}

.fm320-compact-track p {
  color: var(--fm320-pink);
}

.fm320-compact-progress > span {
  background: linear-gradient(90deg, var(--fm320-pink), var(--fm320-blue));
}

.fm320-compact-stats > div {
  border: 1px solid var(--fm320-line);
  border-radius: 10px;
  background: rgba(250,251,253,.92);
  transition: background .18s ease, border-color .18s ease;
}

.fm320-compact-stats > div:hover {
  background: #fff;
  border-color: #dce2e9;
}

.fm320-compact-stats span {
  color: var(--fm320-muted);
  font-weight: 700;
}

.fm320-compact-stats strong {
  color: var(--fm320-ink);
}


/* =========================================================
   v1.5.1 – Homepage Compact Bar
   ========================================================= */

.fm320-compact-status {
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, .75fr);
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(17,24,39,.04);
}

.fm320-compact-status::before {
  left: 16px;
  right: 16px;
  height: 2px;
}

.fm320-compact-main {
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
}

.fm320-compact-cover {
  width: 86px;
  height: 86px;
}

.fm320-compact-cover img {
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(17,24,39,.07);
}

.fm320-compact-live {
  left: 5px;
  bottom: 5px;
  padding: 3px 6px;
  font-size: 8px;
}

.fm320-compact-live i {
  width: 5px;
  height: 5px;
}

.fm320-compact-kicker {
  margin-bottom: 3px;
  font-size: 8px;
}

.fm320-compact-track h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.08;
}

.fm320-compact-track p {
  margin-top: 4px;
  font-size: .78rem;
}

.fm320-compact-progress-meta {
  margin-top: 10px;
  font-size: 9px;
}

.fm320-compact-progress {
  height: 3px;
  margin-top: 5px;
}

.fm320-compact-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.fm320-compact-stats > div {
  padding: 8px 9px;
  border-radius: 8px;
}

.fm320-compact-stats span {
  font-size: 8px;
}

.fm320-compact-stats strong {
  margin-top: 2px;
  font-size: .78rem;
  line-height: 1.15;
}

.fm320-compact-status[data-has-stats="0"],
.fm320-compact-status[data-has-cover="0"] {
  padding-top: 12px;
  padding-bottom: 12px;
}

.fm320-compact-status[data-has-cover="0"] .fm320-compact-track h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

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

  .fm320-compact-stats {
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  }
}

@media (max-width: 620px) {
  .fm320-compact-status {
    padding: 11px 12px;
    border-radius: 12px;
  }

  .fm320-compact-main {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 11px;
  }

  .fm320-compact-cover {
    width: 68px;
    height: 68px;
  }

  .fm320-compact-track h3 {
    font-size: 1rem;
  }

  .fm320-compact-track p {
    font-size: .72rem;
  }

  .fm320-compact-progress-meta {
    margin-top: 7px;
  }

  .fm320-compact-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fm320-compact-stats > div {
    padding: 7px 8px;
  }
}


/* v1.5.3 – nur 320 FM Startseiten-Leiste */
.elementor-widget-fm320_stream_status_homebar .fm320-compact-status {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 0;
  padding-right: 0;
}

.elementor-widget-fm320_stream_status_homebar .fm320-compact-status::before {
  display: none !important;
  content: none !important;
}

.elementor-widget-fm320_stream_status_homebar .fm320-compact-stats > div {
  background: rgba(255,255,255,.74);
}

.fm320-homebar-status-link {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: -2px;
}

.fm320-homebar-status-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0059e7;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease;
}

.fm320-homebar-status-link a::after {
  content: "→";
  font-size: 12px;
  line-height: 1;
}

.fm320-homebar-status-link a:hover {
  color: #e60155;
}

@media (max-width: 620px) {
  .fm320-homebar-status-link {
    justify-content: flex-start;
    margin-top: 3px;
  }
}


/* =========================================================
   v1.6.0 – komplett rekonstruierte 320 FM Startseiten-Leiste
   ========================================================= */

.elementor-widget-fm320_stream_status_homebar .fm320-homebar {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, .8fr);
  gap: 22px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.fm320-homebar-now {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.fm320-homebar-cover {
  position: relative;
  width: 104px;
  height: 104px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #eef2f6;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(17,24,39,.08);
}

.fm320-homebar-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .22s ease, filter .22s ease;
}

.fm320-homebar-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(11,16,24,.34);
  color: #fff;
  font-size: 28px;
  opacity: 0;
  transform: scale(.94);
  transition: opacity .2s ease, transform .2s ease;
}

.fm320-homebar-cover:hover img,
.fm320-homebar-cover:focus-visible img {
  transform: scale(1.035);
  filter: brightness(.82);
}

.fm320-homebar-cover:hover .fm320-homebar-play,
.fm320-homebar-cover:focus-visible .fm320-homebar-play {
  opacity: 1;
  transform: scale(1);
}

.fm320-homebar-copy {
  min-width: 0;
}

.fm320-homebar-onair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: #e60155;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .07em;
}

.fm320-homebar-onair i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e60155;
  box-shadow: 0 0 0 4px rgba(230,1,85,.08);
}

.fm320-homebar-copy h3 {
  margin: 0;
  overflow: hidden;
  color: #111318;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fm320-homebar-copy p {
  margin: 5px 0 0;
  overflow: hidden;
  color: #0059e7;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fm320-homebar-progress-meta {
  margin-top: 12px;
  color: #7b8490;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.fm320-homebar-progress {
  height: 3px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf2;
}

.fm320-homebar-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e60155, #0059e7);
  transition: width .8s linear;
}

.fm320-homebar-side {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 9px;
}

.fm320-homebar-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 7px;
}

.fm320-homebar-kpi {
  padding: 8px 10px;
  border: 1px solid #e7ebf0;
  border-radius: 9px;
  background: rgba(255,255,255,.7);
}

.fm320-homebar-kpi span,
.fm320-homebar-quality-label {
  display: block;
  color: #7b8490;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.fm320-homebar-kpi strong {
  display: block;
  margin-top: 3px;
  color: #151b23;
  font-size: .82rem;
}

.fm320-homebar-kpi .status-value.online { color: #15966e; }
.fm320-homebar-kpi .status-value.offline { color: #d44b5b; }

.fm320-homebar-quality-block {
  padding-top: 1px;
}

.fm320-homebar-quality-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
}

.fm320-homebar-quality-item {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #e4e9ef;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
}

.fm320-homebar-quality-meta {
  padding: 5px 8px;
  color: #28313b;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.fm320-homebar-pls {
  padding: 5px 7px;
  border-left: 1px solid #e4e9ef;
  color: #0059e7;
  font-size: 8px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: .03em;
}

.fm320-homebar-pls:hover {
  background: #f2f6fd;
  color: #e60155;
}

.fm320-homebar-quality-loading {
  color: #89929c;
  font-size: 9px;
}

.fm320-homebar-status-link-new {
  justify-self: end;
  color: #0059e7;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

.fm320-homebar-status-link-new::after {
  content: " →";
}

.fm320-homebar-status-link-new:hover {
  color: #e60155;
}

@media (max-width: 880px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fm320-homebar-side {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .fm320-homebar-quality-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .fm320-homebar-now {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .fm320-homebar-cover {
    width: 76px;
    height: 76px;
    border-radius: 9px;
  }

  .fm320-homebar-play {
    font-size: 22px;
  }

  .fm320-homebar-copy h3 {
    font-size: 1rem;
  }

  .fm320-homebar-copy p {
    font-size: .72rem;
  }

  .fm320-homebar-side {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fm320-homebar-kpis {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .fm320-homebar-status-link-new {
    justify-self: start;
  }
}


/* =========================================================
   v1.6.1 – 320 FM Startseiten-Leiste / Professional Direct Stream
   ========================================================= */

.elementor-widget-fm320_stream_status_homebar .fm320-homebar {
  --fm320-pink: #e60155;
  --fm320-blue: #0059e7;
  --fm320-ink: #111318;
  --fm320-muted: #7b8490;
  --fm320-line: #e7ebf0;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, .75fr);
  gap: 28px;
  width: 100%;
  align-items: center;
  padding: 22px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.fm320-homebar-now {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-width: 0;
}

.fm320-homebar-cover {
  position: relative;
  width: 138px;
  height: 138px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #eef2f6;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(17,24,39,.10);
}

.fm320-homebar-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}

.fm320-homebar-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(230,1,85,.14), rgba(0,89,231,.22));
  opacity: 0;
  transition: opacity .22s ease;
}

.fm320-homebar-play-circle {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding-left: 4px;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: rgba(13,18,26,.54);
  color: #fff;
  font-size: 23px;
  line-height: 1;
  box-shadow:
    0 8px 24px rgba(0,0,0,.22),
    0 0 0 8px rgba(255,255,255,.10);
  transform: scale(.82);
  transition: transform .25s ease, background .25s ease;
}

.fm320-homebar-cover:hover img,
.fm320-homebar-cover:focus-visible img {
  transform: scale(1.05);
  filter: brightness(.68);
}

.fm320-homebar-cover:hover .fm320-homebar-play,
.fm320-homebar-cover:focus-visible .fm320-homebar-play {
  opacity: 1;
}

.fm320-homebar-cover:hover .fm320-homebar-play-circle,
.fm320-homebar-cover:focus-visible .fm320-homebar-play-circle {
  transform: scale(1);
  background: linear-gradient(135deg, rgba(230,1,85,.88), rgba(0,89,231,.88));
}

.fm320-homebar-copy {
  min-width: 0;
}

.fm320-homebar-onair {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--fm320-pink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.fm320-homebar-onair i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fm320-pink);
  box-shadow: 0 0 0 5px rgba(230,1,85,.08);
}

.fm320-homebar-copy h3 {
  margin: 0;
  overflow: hidden;
  color: var(--fm320-ink);
  font-size: clamp(1.35rem, 2.25vw, 2rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fm320-homebar-copy p {
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--fm320-blue);
  font-size: .92rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fm320-homebar-progress-meta {
  margin-top: 17px;
  color: var(--fm320-muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.fm320-homebar-progress {
  height: 4px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf2;
}

.fm320-homebar-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--fm320-pink), var(--fm320-blue));
  transition: width .8s linear;
}

.fm320-homebar-side {
  min-width: 0;
  display: grid;
  gap: 13px;
  align-content: center;
}

.fm320-homebar-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 9px;
}

.fm320-homebar-kpi {
  padding: 11px 12px;
  border: 1px solid var(--fm320-line);
  border-radius: 11px;
  background: rgba(255,255,255,.72);
}

.fm320-homebar-kpi span,
.fm320-direct-streams-label {
  display: block;
  color: var(--fm320-muted);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.fm320-homebar-kpi strong {
  display: block;
  margin-top: 4px;
  color: var(--fm320-ink);
  font-size: .9rem;
  line-height: 1.2;
}

.fm320-homebar-kpi .status-value.online {
  color: #15966e;
}

.fm320-homebar-kpi .status-value.offline {
  color: #d44b5b;
}

.fm320-direct-streams {
  min-width: 0;
}

.fm320-direct-streams-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 9px;
  margin-top: 7px;
}

.fm320-direct-stream {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--fm320-line);
  border-radius: 11px;
  background: #fff;
  color: var(--fm320-ink);
  text-decoration: none;
  box-shadow: 0 4px 13px rgba(17,24,39,.035);
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    color .18s ease;
}

.fm320-direct-stream:hover {
  transform: translateY(-1px);
  border-color: #d9e0e8;
  box-shadow: 0 8px 18px rgba(17,24,39,.06);
}

.fm320-direct-stream-name {
  font-size: .78rem;
  font-weight: 900;
}

.fm320-direct-stream-quality {
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.fm320-direct-stream-hq .fm320-direct-stream-name {
  color: var(--fm320-pink);
}

.fm320-direct-stream-hq .fm320-direct-stream-quality {
  background: rgba(230,1,85,.075);
  color: var(--fm320-pink);
}

.fm320-direct-stream-mobile .fm320-direct-stream-name {
  color: var(--fm320-blue);
}

.fm320-direct-stream-mobile .fm320-direct-stream-quality {
  background: rgba(0,89,231,.075);
  color: var(--fm320-blue);
}

/* Tablet */
@media (max-width: 900px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fm320-homebar-side {
    grid-template-columns: minmax(0, .6fr) minmax(0, 1fr);
    gap: 14px;
    align-items: end;
  }

  .fm320-direct-streams {
    min-width: 0;
  }
}

/* Mobile: bewusst vollständig einspaltig */
@media (max-width: 620px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
    display: block;
    padding: 14px 0;
  }

  .fm320-homebar-now {
    display: block;
  }

  .fm320-homebar-cover {
    width: min(100%, 260px);
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 18px;
  }

  .fm320-homebar-copy {
    margin-top: 18px;
    text-align: center;
  }

  .fm320-homebar-onair {
    justify-content: center;
  }

  .fm320-homebar-copy h3 {
    white-space: normal;
    font-size: 1.35rem;
  }

  .fm320-homebar-copy p {
    white-space: normal;
    font-size: .86rem;
  }

  .fm320-homebar-progress-meta {
    margin-top: 14px;
  }

  .fm320-homebar-side {
    display: block;
    margin-top: 20px;
  }

  .fm320-homebar-kpis {
    grid-template-columns: 1fr;
  }

  .fm320-homebar-kpi {
    margin-bottom: 8px;
    text-align: center;
  }

  .fm320-direct-streams {
    margin-top: 15px;
  }

  .fm320-direct-streams-label {
    text-align: center;
  }

  .fm320-direct-streams-list {
    grid-template-columns: 1fr;
  }

  .fm320-direct-stream {
    padding: 12px 14px;
  }

  .fm320-homebar-play-circle {
    width: 68px;
    height: 68px;
    font-size: 25px;
  }
}


/* =========================================================
   v1.6.2 – Elementor Responsive Fix
   Desktop / Tablet / Mobile sauber getrennt
   ========================================================= */

/* DESKTOP: Elementor kann einen relativ schmalen Content-Container haben.
   Deshalb bleibt die Startseiten-Leiste bis 767px immer zweispaltig. */
@media (min-width: 768px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr) !important;
    gap: 24px !important;
    align-items: center !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-now {
    display: grid !important;
    grid-template-columns: 138px minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: center !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover {
    width: 138px !important;
    height: 138px !important;
    margin: 0 !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-copy {
    margin-top: 0 !important;
    text-align: left !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-onair {
    justify-content: flex-start !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-side {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 13px !important;
    margin-top: 0 !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-direct-streams-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* TABLET: noch zweispaltig, aber kompakter.
   Elementor Standard Tablet liegt typischerweise zwischen 768 und 1024 px. */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr) !important;
    gap: 18px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-now {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover {
    width: 112px !important;
    height: 112px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-copy h3 {
    font-size: 1.25rem !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-direct-stream {
    padding: 9px 10px !important;
  }
}

/* MOBILE: erst unter 768px bewusst einspaltig. */
@media (max-width: 767px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
    padding: 14px 0 !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-now {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
    align-items: center !important;
  }

  /* Cover wirklich mittig, unabhängig von Elementor-Wrappern */
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover {
    display: block !important;
    width: min(260px, 82vw) !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 18px !important;
    flex: 0 0 auto !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-copy {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-onair {
    justify-content: center !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-copy h3,
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-copy p {
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-progress-meta {
    text-align: center !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-progress {
    width: 100% !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-side {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-top: 20px !important;
    gap: 12px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-kpis {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-kpi {
    width: 100% !important;
    text-align: center !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-direct-streams {
    width: 100% !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-direct-streams-label {
    text-align: center !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-direct-streams-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-direct-stream {
    width: 100% !important;
    padding: 12px 14px !important;
  }
}


/* =========================================================
   v1.6.3 – Cover +15 px / eleganter Direct-Stream Hover
   ========================================================= */

/* Desktop: 138 -> 153 px */
@media (min-width: 1025px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-now {
    grid-template-columns: 153px minmax(0, 1fr) !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover {
    width: 153px !important;
    height: 153px !important;
  }
}

/* Tablet: 112 -> 127 px */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
    padding-top: 21px !important;
    padding-bottom: 21px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-now {
    grid-template-columns: 127px minmax(0, 1fr) !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover {
    width: 127px !important;
    height: 127px !important;
  }
}

/* Mobile: bisher max. 260 px -> 275 px */
@media (max-width: 767px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover {
    width: min(275px, 86vw) !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
}

/* Direkt-Streams: eleganter, klarer Hover */
.fm320-direct-stream {
  position: relative;
  overflow: hidden;
  transition:
    transform .20s ease,
    box-shadow .20s ease,
    border-color .20s ease,
    background .20s ease;
}

.fm320-direct-stream::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .20s ease;
}

.fm320-direct-stream-hq::before {
  background: linear-gradient(135deg, rgba(230,1,85,.055), rgba(230,1,85,.015));
}

.fm320-direct-stream-mobile::before {
  background: linear-gradient(135deg, rgba(0,89,231,.055), rgba(0,89,231,.015));
}

.fm320-direct-stream:hover {
  transform: translateY(-3px);
  border-color: #d4dce6;
  box-shadow:
    0 10px 22px rgba(17,24,39,.085),
    0 2px 6px rgba(17,24,39,.035);
  background: #fff;
}

.fm320-direct-stream:hover::before {
  opacity: 1;
}

.fm320-direct-stream-hq:hover {
  border-color: rgba(230,1,85,.22);
}

.fm320-direct-stream-mobile:hover {
  border-color: rgba(0,89,231,.22);
}

.fm320-direct-stream:hover .fm320-direct-stream-name {
  transform: translateX(1px);
}

.fm320-direct-stream-name {
  position: relative;
  z-index: 1;
  transition: transform .20s ease;
}

.fm320-direct-stream-quality {
  position: relative;
  z-index: 1;
}


/* =========================================================
   v1.6.5 – 210px Cover + dynamische Titelgröße
   ========================================================= */

/* Desktop */
@media (min-width: 1025px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
    min-height: 250px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    grid-template-columns: minmax(0, 1.75fr) minmax(320px, .72fr) !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-now {
    grid-template-columns: 210px minmax(0, 1fr) !important;
    gap: 26px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover {
    width: 210px !important;
    height: 210px !important;
    min-width: 210px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-copy h3 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 34px;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

/* Tablet bleibt proportional kompakter */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
    min-height: 200px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-now {
    grid-template-columns: 165px minmax(0, 1fr) !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover {
    width: 165px !important;
    height: 165px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-copy h3 {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

/* Mobil: Cover weiterhin sauber zentriert und maximal 210px */
@media (max-width: 767px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover {
    width: min(210px, 78vw) !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-copy h3 {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}


/* =========================================================
   v2.0.0 – Finalisierung
   ========================================================= */

/* Elementor-Editor und Frontend sollen identische Breakpoints verwenden. */
.elementor-editor-active .elementor-widget-fm320_stream_status_homebar .fm320-homebar {
  width: 100%;
}

/* Stabilisiert lange Titel während AJAX-Updates. */
.elementor-widget-fm320_stream_status_homebar .fm320-homebar-copy h3 {
  min-width: 0;
  max-width: 100%;
}

/* Fokuszustände für Tastaturbedienung. */
.elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover:focus-visible,
.elementor-widget-fm320_stream_status_homebar .fm320-direct-stream:focus-visible {
  outline: 2px solid #0059e7;
  outline-offset: 3px;
}

/* Saubere mobile Zentrierung auch bei Elementor-Innencontainern. */
@media (max-width: 767px) {
  .elementor-widget-fm320_stream_status_homebar .elementor-widget-container {
    width: 100%;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover {
    align-self: center !important;
  }
}


/* =========================================================
   v2.0.1 – Mobile Startseiten-Leiste reduziert
   Unter 768px nur Now Playing / Cover / Titel / Artist /
   Fortschritt. Hörer, Status und Direkt-Streams ausblenden.
   ========================================================= */
@media (max-width: 767px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-side {
    display: none !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-now {
    width: 100% !important;
    margin: 0 auto !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-homebar-cover {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* =========================================================
   v2.1.0 – Vorschau "Als Nächstes" aus 320.fm/schedule/
   ========================================================= */

.elementor-widget-fm320_stream_status_homebar .fm320-next-show {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 4px;
  padding-top: 15px;
  border-top: 1px solid #e7ebf0;
}

.elementor-widget-fm320_stream_status_homebar .fm320-next-show[hidden] {
  display: none !important;
}

.fm320-next-show-label {
  margin-bottom: 7px;
  color: #0059e7;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .09em;
}

.fm320-next-show-info {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e7ebf0;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(230,1,85,.022), rgba(0,89,231,.025)),
    rgba(255,255,255,.78);
}

.fm320-next-show-time {
  padding-right: 16px;
  border-right: 1px solid #e7ebf0;
}

.fm320-next-show-time span,
.fm320-next-show-copy span {
  display: block;
  color: #7b8490;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.fm320-next-show-time strong {
  display: block;
  margin-top: 3px;
  color: #e60155;
  font-size: .95rem;
}

.fm320-next-show-copy {
  min-width: 0;
}

.fm320-next-show-copy strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #111318;
  font-size: .95rem;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fm320-next-show-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid rgba(0,89,231,.16);
  border-radius: 999px;
  background: rgba(0,89,231,.055);
  color: #0059e7;
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform .18s ease,
    border-color .18s ease,
    color .18s ease,
    background .18s ease;
}

.fm320-next-show-link::after {
  content: "→";
}

.fm320-next-show-link:hover {
  transform: translateY(-1px);
  border-color: rgba(230,1,85,.22);
  background: rgba(230,1,85,.05);
  color: #e60155;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .fm320-next-show-info {
    grid-template-columns: 112px minmax(0,1fr) auto;
    gap: 13px;
  }
}

/* Mobile: Vorschau bleibt sichtbar, aber sauber einspaltig. */
@media (max-width: 767px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-next-show {
    width: 100%;
    margin-top: 18px;
    padding-top: 14px;
    text-align: center;
  }

  .fm320-next-show-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
    text-align: center;
  }

  .fm320-next-show-time {
    padding-right: 0;
    padding-bottom: 10px;
    border-right: 0;
    border-bottom: 1px solid #e7ebf0;
  }

  .fm320-next-show-copy strong {
    white-space: normal;
  }

  .fm320-next-show-link {
    justify-self: center;
    margin-top: 2px;
  }
}


/* =========================================================
   v2.1.1 – Upcoming Show mit Cover / angepasste Typografie
   ========================================================= */

.fm320-next-show-label {
  margin-bottom: 9px;
  font-size: 9px;
  letter-spacing: .11em;
}

.fm320-next-show-info {
  grid-template-columns: 76px 135px minmax(0, 1fr) auto;
  gap: 17px;
  padding: 13px 16px;
}

.fm320-next-show-cover-link {
  display: block;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 10px;
  background: #eef2f6;
  box-shadow: 0 5px 14px rgba(17,24,39,.07);
}

.fm320-next-show-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.fm320-next-show-cover-link:hover .fm320-next-show-cover {
  transform: scale(1.035);
}

.fm320-next-show-time span,
.fm320-next-show-copy span {
  font-size: 9px;
}

.fm320-next-show-time strong {
  margin-top: 4px;
  font-size: 1.05rem;
}

.fm320-next-show-copy strong {
  margin-top: 4px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.fm320-next-show-link {
  padding: 8px 12px;
  font-size: 10px;
}

/* Typografie der Startseiten-Leiste leicht näher am 320-FM-Webauftritt */
.elementor-widget-fm320_stream_status_homebar .fm320-homebar-copy p {
  font-size: .96rem;
}

.elementor-widget-fm320_stream_status_homebar .fm320-homebar-kpi strong {
  font-size: .95rem;
}

.elementor-widget-fm320_stream_status_homebar .fm320-direct-stream-name {
  font-size: .82rem;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .fm320-next-show-info {
    grid-template-columns: 66px 118px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .fm320-next-show-cover-link {
    width: 66px;
    height: 66px;
  }

  .fm320-next-show-copy strong {
    font-size: .98rem;
  }
}

@media (max-width: 767px) {
  .fm320-next-show-info {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 15px;
  }

  .fm320-next-show-cover-link {
    width: 132px;
    height: 132px;
    margin: 0 auto;
  }

  .fm320-next-show-label {
    font-size: 9px;
  }

  .fm320-next-show-time strong {
    font-size: 1rem;
  }

  .fm320-next-show-copy strong {
    font-size: 1.05rem;
  }
}


/* =========================================================
   v2.1.3 – Upcoming Show Countdown
   ========================================================= */
.fm320-next-show-countdown {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid #edf0f4;
}

.fm320-next-show-countdown span {
  display: block;
  color: #7b8490;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.fm320-next-show-countdown strong {
  display: block;
  margin-top: 3px;
  color: #0059e7;
  font-size: .82rem;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

@media (max-width: 767px) {
  .fm320-next-show-countdown {
    margin-top: 8px;
    padding-top: 8px;
  }

  .fm320-next-show-countdown strong {
    font-size: .9rem;
  }
}


/* =========================================================
   v3.0.0 – AJAX Navigation Stability
   ========================================================= */
[data-fm320-status] {
  contain: layout style;
}

.elementor-widget-fm320_stream_status_homebar [data-fm320-status],
.elementor-widget-fm320_stream_status_compact [data-fm320-status],
.elementor-widget-fm320_stream_status [data-fm320-status] {
  visibility: visible !important;
}

/* Prevent AJAX-transition wrappers from inheriting opacity/transform. */
.fm320-homebar,
.fm320-compact-status,
.fm320-status-root {
  opacity: 1;
}


/* =========================================================
   v3.0.3 – Upcoming Show Typography +5px
   ========================================================= */

/* Überschrift UPCOMING SHOW: 9px -> 14px */
.elementor-widget-fm320_stream_status_homebar .fm320-next-show-label {
  font-size: 14px !important;
  line-height: 1.25 !important;
  letter-spacing: .09em !important;
  margin-bottom: 11px !important;
}

/* Wochentag / "Nächste Radioshow" / "Start in": mind. +5px */
.elementor-widget-fm320_stream_status_homebar .fm320-next-show-time > span,
.elementor-widget-fm320_stream_status_homebar .fm320-next-show-copy > span,
.elementor-widget-fm320_stream_status_homebar .fm320-next-show-countdown > span {
  font-size: 14px !important;
  line-height: 1.25 !important;
}

/* Uhrzeit */
.elementor-widget-fm320_stream_status_homebar .fm320-next-show-time > strong {
  font-size: 22px !important;
  line-height: 1.15 !important;
  margin-top: 5px !important;
}

/* Showtitel */
.elementor-widget-fm320_stream_status_homebar .fm320-next-show-copy > strong {
  font-size: 22px !important;
  line-height: 1.22 !important;
  margin-top: 5px !important;
}

/* Countdown */
.elementor-widget-fm320_stream_status_homebar .fm320-next-show-countdown > strong {
  font-size: 18px !important;
  line-height: 1.15 !important;
  margin-top: 4px !important;
}

/* Direkter Link */
.elementor-widget-fm320_stream_status_homebar .fm320-next-show-link {
  font-size: 15px !important;
  line-height: 1.2 !important;
  padding: 10px 14px !important;
}

/* Mehr Raum für die größere Typografie */
.elementor-widget-fm320_stream_status_homebar .fm320-next-show-info {
  min-height: 104px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

@media (max-width: 767px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-next-show-label {
    font-size: 14px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-next-show-time > span,
  .elementor-widget-fm320_stream_status_homebar .fm320-next-show-copy > span,
  .elementor-widget-fm320_stream_status_homebar .fm320-next-show-countdown > span {
    font-size: 13px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-next-show-time > strong,
  .elementor-widget-fm320_stream_status_homebar .fm320-next-show-copy > strong {
    font-size: 20px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-next-show-countdown > strong {
    font-size: 17px !important;
  }

  .elementor-widget-fm320_stream_status_homebar .fm320-next-show-link {
    font-size: 14px !important;
  }
}


/* =========================================================
   v3.1.0 – Recently Played unter Upcoming Show
   ========================================================= */

.elementor-widget-fm320_stream_status_homebar .fm320-recent-tracks-home {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 14px;
}

.fm320-recent-tracks-heading {
  margin-bottom: 9px;
  color: #0059e7;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: .09em;
}

.fm320-recent-tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
}

.fm320-recent-track-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 68px;
  padding: 11px 13px;
  border: 1px solid #e7ebf0;
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(230,1,85,.018), rgba(0,89,231,.022)),
    rgba(255,255,255,.80);
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.fm320-recent-track-card:hover {
  transform: translateY(-1px);
  border-color: #dce3eb;
  box-shadow: 0 6px 16px rgba(17,24,39,.045);
}

.fm320-recent-track-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(230,1,85,.08), rgba(0,89,231,.08));
  color: #e60155;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.fm320-recent-track-copy {
  min-width: 0;
}

.fm320-recent-track-copy strong {
  display: block;
  overflow: hidden;
  color: #111318;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fm320-recent-track-copy span {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #68737f;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fm320-recent-track-relative {
  color: #0059e7;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fm320-recent-track-placeholder {
  grid-column: 1 / -1;
  padding: 12px;
  color: #7b8490;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 767px) {
  .elementor-widget-fm320_stream_status_homebar .fm320-recent-tracks-home {
    margin-top: 16px;
  }

  .fm320-recent-tracks-heading {
    text-align: center;
  }

  .fm320-recent-tracks-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fm320-recent-track-card {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 66px;
  }

  .fm320-recent-track-relative {
    grid-column: 2;
    margin-top: -2px;
    font-size: 12px;
  }

  .fm320-recent-track-copy strong {
    font-size: 14px;
  }

  .fm320-recent-track-copy span {
    font-size: 12px;
  }
}


/* =========================================================
   v3.1.1 – Recently Played mit 60x60 Cover
   ========================================================= */

.fm320-recent-tracks-grid {
  gap: 10px 14px !important;
}

.fm320-recent-track-card {
  grid-template-columns: 60px minmax(0, 1fr) auto !important;
  gap: 13px !important;
  min-height: 84px !important;
  padding: 11px 13px !important;
}

.fm320-recent-track-cover {
  display: block;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px;
  border-radius: 9px;
  object-fit: cover;
  background: #eef2f6;
  box-shadow: 0 3px 10px rgba(17,24,39,.07);
}

.fm320-recent-track-copy strong {
  font-size: 16px !important;
  line-height: 1.25 !important;
}

.fm320-recent-track-copy span {
  margin-top: 4px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

.fm320-recent-track-relative {
  padding-left: 8px;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

/* Die alte laufende Nummer wird in v3.1.1 durch das Cover ersetzt. */
.fm320-recent-track-number {
  display: none !important;
}

@media (max-width: 767px) {
  .fm320-recent-track-card {
    grid-template-columns: 60px minmax(0, 1fr) !important;
    gap: 12px !important;
    min-height: 84px !important;
    padding: 11px !important;
  }

  .fm320-recent-track-cover {
    grid-row: 1 / span 2;
  }

  .fm320-recent-track-copy strong {
    font-size: 15px !important;
    white-space: normal !important;
  }

  .fm320-recent-track-copy span {
    font-size: 13px !important;
  }

  .fm320-recent-track-relative {
    grid-column: 2 !important;
    padding-left: 0;
    margin-top: -4px !important;
    font-size: 12px !important;
  }
}


/* =========================================================
   v3.1.3 – Recently Played / eleganter 3D-Hover
   ========================================================= */

.fm320-recent-tracks-grid {
  perspective: 1100px;
}

.fm320-recent-track-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform-style: preserve-3d;
  transform:
    perspective(1100px)
    translate3d(0, 0, 0)
    rotateX(0deg)
    rotateY(0deg);
  box-shadow:
    0 2px 5px rgba(17,24,39,.025),
    0 7px 18px rgba(17,24,39,.035);
  transition:
    transform .28s cubic-bezier(.2,.8,.2,1),
    box-shadow .28s cubic-bezier(.2,.8,.2,1),
    border-color .25s ease,
    background .25s ease;
  will-change: transform;
}

.fm320-recent-track-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,.42) 0%,
      rgba(255,255,255,.10) 24%,
      rgba(230,1,85,.035) 52%,
      rgba(0,89,231,.045) 100%
    );
  transform: translate3d(-12%, 0, 0);
  transition:
    opacity .28s ease,
    transform .38s cubic-bezier(.2,.8,.2,1);
}

.fm320-recent-track-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, #e60155, #0059e7);
  transform: scaleX(.55);
  transform-origin: center;
  transition:
    opacity .25s ease,
    transform .28s cubic-bezier(.2,.8,.2,1);
}

.fm320-recent-track-card > * {
  position: relative;
  z-index: 1;
}

.fm320-recent-track-card:hover {
  z-index: 3;
  transform:
    perspective(1100px)
    translate3d(0, -6px, 14px)
    rotateX(1.6deg)
    rotateY(-1.2deg);
  border-color: rgba(0,89,231,.20);
  background:
    linear-gradient(
      135deg,
      rgba(230,1,85,.025),
      rgba(0,89,231,.035)
    ),
    rgba(255,255,255,.98);
  box-shadow:
    0 4px 8px rgba(17,24,39,.035),
    0 14px 28px rgba(17,24,39,.10),
    0 24px 42px rgba(17,24,39,.075);
}

.fm320-recent-track-card:hover::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.fm320-recent-track-card:hover::after {
  opacity: .8;
  transform: scaleX(1);
}

.fm320-recent-track-card:hover .fm320-recent-track-cover {
  transform: translateZ(10px) scale(1.045);
  box-shadow:
    0 7px 16px rgba(17,24,39,.13),
    0 2px 5px rgba(17,24,39,.06);
}

.fm320-recent-track-card:hover .fm320-recent-track-copy {
  transform: translateZ(7px);
}

.fm320-recent-track-card:hover .fm320-recent-track-relative {
  transform: translateZ(6px);
  color: #e60155;
}

.fm320-recent-track-cover,
.fm320-recent-track-copy,
.fm320-recent-track-relative {
  transition:
    transform .28s cubic-bezier(.2,.8,.2,1),
    box-shadow .28s ease,
    color .22s ease;
}

/* Tastaturfokus entspricht optisch dem Hover. */
.fm320-recent-track-card:focus-within {
  border-color: rgba(0,89,231,.22);
  box-shadow:
    0 4px 8px rgba(17,24,39,.035),
    0 14px 28px rgba(17,24,39,.09);
}

/* Touch-Geräte: keine künstliche 3D-Neigung nach Tap. */
@media (hover: none), (pointer: coarse) {
  .fm320-recent-track-card:hover {
    transform: none;
    box-shadow:
      0 2px 5px rgba(17,24,39,.025),
      0 7px 18px rgba(17,24,39,.035);
  }

  .fm320-recent-track-card:hover .fm320-recent-track-cover,
  .fm320-recent-track-card:hover .fm320-recent-track-copy,
  .fm320-recent-track-card:hover .fm320-recent-track-relative {
    transform: none;
  }
}

/* Reduced Motion respektieren. */
@media (prefers-reduced-motion: reduce) {
  .fm320-recent-track-card,
  .fm320-recent-track-card::before,
  .fm320-recent-track-card::after,
  .fm320-recent-track-cover,
  .fm320-recent-track-copy,
  .fm320-recent-track-relative {
    transition: none !important;
  }

  .fm320-recent-track-card:hover {
    transform: none !important;
  }
}


/* =========================================================
   v4.0.0 – Production normalization
   ========================================================= */
.fm320-recent-track-card,
.fm320-next-show,
.fm320-homebar {
  box-sizing: border-box;
}

.fm320-recent-track-cover {
  flex: 0 0 60px;
  aspect-ratio: 1 / 1;
}

@media (prefers-reduced-motion: reduce) {
  [data-fm320-status] *,
  [data-fm320-status] *::before,
  [data-fm320-status] *::after {
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   v4.0.1 – Recently Played CTA
   ========================================================= */

.fm320-recent-tracks-more {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 15px;
}

.fm320-recent-tracks-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 19px;
  border: 1px solid rgba(0,89,231,.16);
  border-radius: 10px;
  background: #fff;
  color: #111318;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow:
    0 3px 8px rgba(17,24,39,.035),
    0 8px 20px rgba(17,24,39,.035);
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    box-shadow .22s ease,
    border-color .22s ease,
    color .22s ease;
}

.fm320-recent-tracks-button span {
  color: #0059e7;
  font-size: 18px;
  line-height: 1;
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    color .22s ease;
}

.fm320-recent-tracks-button:hover,
.fm320-recent-tracks-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(230,1,85,.28);
  color: #e60155;
  box-shadow:
    0 5px 12px rgba(17,24,39,.055),
    0 12px 26px rgba(17,24,39,.075);
}

.fm320-recent-tracks-button:hover span,
.fm320-recent-tracks-button:focus-visible span {
  color: #e60155;
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .fm320-recent-tracks-more {
    margin-top: 13px;
  }

  .fm320-recent-tracks-button {
    min-height: 44px;
    padding: 11px 18px;
    font-size: 14px;
  }
}


/* =========================================================
   v4.0.2 – Recently Played Hover refined / no wobble
   ========================================================= */

/*
 * Wichtig: Die Karte selbst bleibt geometrisch an exakt derselben Position.
 * Dadurch kann der Mauszeiger beim Hover nicht ständig die Hover-Zone
 * verlassen und erneut betreten.
 */
.fm320-recent-track-card {
  transform: none !important;
  transform-style: flat !important;
  perspective: none !important;
  will-change: box-shadow, border-color, background;
  border-width: 1px !important;
  transition:
    box-shadow .24s cubic-bezier(.2,.8,.2,1),
    border-color .22s ease,
    background .22s ease !important;
}

/* Kein translate / rotate / scale auf der Kartenfläche. */
.fm320-recent-track-card:hover,
.fm320-recent-track-card:focus-within {
  transform: none !important;
  border-color: rgba(0,89,231,.22) !important;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.98) 0%,
      rgba(248,250,253,.98) 62%,
      rgba(245,248,252,.98) 100%
    ) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.85) inset,
    0 0 0 1px rgba(0,89,231,.035),
    0 8px 20px rgba(17,24,39,.07),
    0 18px 38px rgba(17,24,39,.08) !important;
}

/* Dezenter Lichtreflex ohne Layout-Verschiebung. */
.fm320-recent-track-card::before {
  opacity: 0 !important;
  transform: none !important;
  background:
    linear-gradient(
      115deg,
      rgba(255,255,255,.46) 0%,
      rgba(255,255,255,.10) 28%,
      rgba(230,1,85,.025) 58%,
      rgba(0,89,231,.035) 100%
    ) !important;
  transition: opacity .24s ease !important;
}

.fm320-recent-track-card:hover::before,
.fm320-recent-track-card:focus-within::before {
  opacity: .78 !important;
}

/* Untere CI-Linie bleibt statisch, nur Opacity ändert sich. */
.fm320-recent-track-card::after {
  left: 14px !important;
  right: 14px !important;
  bottom: 0 !important;
  height: 2px !important;
  transform: none !important;
  opacity: 0 !important;
  transition: opacity .22s ease !important;
}

.fm320-recent-track-card:hover::after,
.fm320-recent-track-card:focus-within::after {
  opacity: .72 !important;
}

/*
 * Nur innere Elemente bekommen minimale Tiefenwirkung.
 * Kein translateZ, da das zusammen mit transform-style/perspective je nach
 * Browser zu optischem Zittern führen kann.
 */
.fm320-recent-track-cover {
  transform: none !important;
  transition:
    box-shadow .24s ease,
    filter .24s ease !important;
}

.fm320-recent-track-card:hover .fm320-recent-track-cover,
.fm320-recent-track-card:focus-within .fm320-recent-track-cover {
  transform: none !important;
  filter: saturate(1.04) contrast(1.015);
  box-shadow:
    0 5px 12px rgba(17,24,39,.10),
    0 10px 22px rgba(17,24,39,.08) !important;
}

.fm320-recent-track-copy,
.fm320-recent-track-relative {
  transform: none !important;
}

.fm320-recent-track-card:hover .fm320-recent-track-copy,
.fm320-recent-track-card:focus-within .fm320-recent-track-copy {
  transform: none !important;
}

.fm320-recent-track-card:hover .fm320-recent-track-relative,
.fm320-recent-track-card:focus-within .fm320-recent-track-relative {
  transform: none !important;
  color: #e60155 !important;
}

/* Etwas hochwertigere Typografie beim Hover, ohne Größenänderung. */
.fm320-recent-track-copy strong {
  transition: color .22s ease !important;
}

.fm320-recent-track-card:hover .fm320-recent-track-copy strong,
.fm320-recent-track-card:focus-within .fm320-recent-track-copy strong {
  color: #0c1118 !important;
}

/* Touch: identisch ruhig, ohne festhängenden Hover-Effekt. */
@media (hover: none), (pointer: coarse) {
  .fm320-recent-track-card:hover {
    border-color: #e7ebf0 !important;
    background:
      linear-gradient(135deg, rgba(230,1,85,.018), rgba(0,89,231,.022)),
      rgba(255,255,255,.80) !important;
    box-shadow:
      0 2px 5px rgba(17,24,39,.025),
      0 7px 18px rgba(17,24,39,.035) !important;
  }

  .fm320-recent-track-card:hover::before,
  .fm320-recent-track-card:hover::after {
    opacity: 0 !important;
  }

  .fm320-recent-track-card:hover .fm320-recent-track-cover {
    filter: none !important;
    box-shadow: 0 3px 10px rgba(17,24,39,.07) !important;
  }

  .fm320-recent-track-card:hover .fm320-recent-track-relative {
    color: #0059e7 !important;
  }
}

/* =========================================================
   v4.0.2 – CTA hover refinement
   ========================================================= */

.fm320-recent-tracks-button {
  transform: none !important;
  border-width: 1px !important;
  transition:
    box-shadow .22s ease,
    border-color .22s ease,
    color .22s ease,
    background .22s ease !important;
}

.fm320-recent-tracks-button:hover,
.fm320-recent-tracks-button:focus-visible {
  transform: none !important;
  border-color: rgba(0,89,231,.24) !important;
  color: #0059e7 !important;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fbfcfe 100%
    ) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 6px 16px rgba(17,24,39,.065),
    0 12px 28px rgba(17,24,39,.055) !important;
}

.fm320-recent-tracks-button:hover span,
.fm320-recent-tracks-button:focus-visible span {
  transform: translateX(2px) !important;
  color: #e60155 !important;
}


/* =========================================================
   v4.0.3 – Recently Played CTA visibility
   ========================================================= */
.fm320-recent-tracks-more {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  width: 100% !important;
  margin: 18px 0 2px !important;
  text-align: center;
}

.fm320-recent-tracks-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 170px;
  min-height: 44px;
  padding: 11px 20px !important;
  border: 1px solid rgba(0,89,231,.20) !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: #111318 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.95) inset,
    0 5px 14px rgba(17,24,39,.055),
    0 10px 24px rgba(17,24,39,.035) !important;
  transform: none !important;
}

.fm320-recent-tracks-button:hover,
.fm320-recent-tracks-button:focus-visible {
  transform: none !important;
  border-color: rgba(230,1,85,.28) !important;
  background:
    linear-gradient(180deg, #fff 0%, #fafbfd 100%) !important;
  color: #e60155 !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.95) inset,
    0 7px 18px rgba(17,24,39,.075),
    0 14px 30px rgba(17,24,39,.055) !important;
}

.fm320-recent-tracks-button span {
  color: #0059e7 !important;
  font-size: 18px !important;
  transition: color .2s ease, transform .2s ease;
}

.fm320-recent-tracks-button:hover span,
.fm320-recent-tracks-button:focus-visible span {
  color: #e60155 !important;
  transform: translateX(2px) !important;
}

@media (max-width: 767px) {
  .fm320-recent-tracks-more {
    margin-top: 15px !important;
  }

  .fm320-recent-tracks-button {
    min-width: 180px;
    min-height: 46px;
  }
}


/* =========================================================
   v4.0.4 – Popup Player field under Direct-Stream
   ========================================================= */

.fm320-popup-player-field {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #e4e9ef;
  border-radius: 11px;
  background:
    linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  color: #111318;
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 2px 6px rgba(17,24,39,.03),
    0 7px 18px rgba(17,24,39,.035);
  transition:
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease;
}

.fm320-popup-player-field:hover,
.fm320-popup-player-field:focus-visible {
  border-color: rgba(0,89,231,.24);
  background:
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.95) inset,
    0 7px 18px rgba(17,24,39,.07),
    0 13px 28px rgba(17,24,39,.055);
}

.fm320-popup-player-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding-left: 2px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #e60155 0%, #0059e7 100%);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  box-shadow:
    0 5px 12px rgba(0,89,231,.12),
    0 4px 10px rgba(230,1,85,.10);
}

.fm320-popup-player-copy {
  min-width: 0;
}

.fm320-popup-player-label {
  display: block;
  color: #7b8490;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.fm320-popup-player-copy strong {
  display: block;
  margin-top: 3px;
  color: #111318;
  font-size: .82rem;
  line-height: 1.2;
}

.fm320-popup-player-size {
  color: #0059e7;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .fm320-popup-player-field {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .fm320-popup-player-size {
    grid-column: 2;
    margin-top: -4px;
  }
}


/* =========================================================
   v4.0.5 – Direct Stream: 3 equal columns
   ========================================================= */

.fm320-direct-streams-list-three {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.fm320-direct-stream-popup {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.fm320-direct-stream-popup .fm320-direct-stream-name {
  color: #6a2bd8;
}

.fm320-direct-stream-popup .fm320-direct-stream-quality {
  background: rgba(106,43,216,.075);
  color: #6a2bd8;
}

.fm320-direct-stream-popup:hover,
.fm320-direct-stream-popup:focus-visible {
  border-color: rgba(106,43,216,.24);
}

@media (min-width: 768px) and (max-width: 1024px) {
  .fm320-direct-streams-list-three {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .fm320-direct-streams-list-three .fm320-direct-stream {
    padding: 9px 9px !important;
  }

  .fm320-direct-streams-list-three .fm320-direct-stream-name {
    font-size: .74rem !important;
  }

  .fm320-direct-streams-list-three .fm320-direct-stream-quality {
    font-size: 7px !important;
  }
}

/* Mobile remains clean and single-column. */
@media (max-width: 767px) {
  .fm320-direct-streams-list-three {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   v4.0.6 – Popup-Player exakt wie HQ / Mobile
   ========================================================= */

.fm320-direct-stream-popup {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #e4e9ef !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: #111318 !important;
  font: inherit !important;
  line-height: inherit !important;
  text-align: left !important;
  text-decoration: none !important;
  box-shadow: 0 4px 13px rgba(17,24,39,.035) !important;
  cursor: pointer;
}

/* exakt dieselbe Kartenhöhe und Innenverteilung */
.fm320-direct-streams-list-three .fm320-direct-stream {
  min-height: 42px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 9px !important;
}

/* Popup übernimmt exakt denselben Hover-Mechanismus */
.fm320-direct-stream-popup:hover,
.fm320-direct-stream-popup:focus-visible {
  transform: translateY(-1px) !important;
  border-color: rgba(106,43,216,.24) !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(17,24,39,.06) !important;
}

/* Nur die Akzentfarbe unterscheidet den Player */
.fm320-direct-stream-popup .fm320-direct-stream-name {
  color: #6a2bd8 !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
}

.fm320-direct-stream-popup .fm320-direct-stream-quality {
  padding: 3px 6px !important;
  border-radius: 999px !important;
  background: rgba(106,43,216,.075) !important;
  color: #6a2bd8 !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .fm320-direct-stream-popup {
    padding: 9px 9px !important;
  }

  .fm320-direct-stream-popup .fm320-direct-stream-name {
    font-size: .74rem !important;
  }

  .fm320-direct-stream-popup .fm320-direct-stream-quality {
    font-size: 7px !important;
  }
}


/* =========================================================
   v4.0.7 – PopUp-Player ohne Dimensionsangabe
   ========================================================= */
.fm320-direct-stream-popup {
  justify-content: center !important;
  text-align: center !important;
}

.fm320-direct-stream-popup .fm320-direct-stream-name {
  width: 100%;
  text-align: center;
}


/* =========================================================
   v4.0.8 – PopUp full-column + premium Recently Played CTA
   ========================================================= */

/* PopUp-Player füllt seine komplette dritte Grid-Spalte aus. */
.fm320-direct-streams-list-three {
  align-items: stretch !important;
}

.fm320-direct-streams-list-three .fm320-direct-stream {
  width: 100% !important;
  height: 100% !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
}

.fm320-direct-stream-popup {
  display: flex !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.fm320-direct-stream-popup .fm320-direct-stream-name {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

/* Recently Played CTA: ruhiger, hochwertiger Glas-/CI-Look. */
.fm320-recent-tracks-more {
  margin-top: 20px !important;
}

.fm320-recent-tracks-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 205px !important;
  min-height: 46px !important;
  padding: 12px 22px !important;
  border: 1px solid rgba(0,89,231,.15) !important;
  border-radius: 12px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,250,253,.98) 100%) !important;
  color: #161b22 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: .01em;
  box-shadow:
    0 1px 0 rgba(255,255,255,.95) inset,
    0 1px 2px rgba(17,24,39,.025),
    0 7px 18px rgba(17,24,39,.055),
    0 16px 32px rgba(17,24,39,.035) !important;
  transform: none !important;
  transition:
    border-color .24s ease,
    color .24s ease,
    box-shadow .24s ease,
    background .24s ease !important;
}

.fm320-recent-tracks-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(
      110deg,
      rgba(230,1,85,.045) 0%,
      rgba(255,255,255,.10) 48%,
      rgba(0,89,231,.055) 100%
    );
  transition: opacity .24s ease;
}

.fm320-recent-tracks-button::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  opacity: .42;
  background: linear-gradient(90deg, #e60155 0%, #0059e7 100%);
  transition: opacity .24s ease;
}

.fm320-recent-tracks-button:hover,
.fm320-recent-tracks-button:focus-visible {
  transform: none !important;
  border-color: rgba(0,89,231,.24) !important;
  color: #0059e7 !important;
  background:
    linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.98) inset,
    0 2px 4px rgba(17,24,39,.025),
    0 10px 24px rgba(17,24,39,.075),
    0 20px 38px rgba(17,24,39,.055) !important;
}

.fm320-recent-tracks-button:hover::before,
.fm320-recent-tracks-button:focus-visible::before {
  opacity: 1;
}

.fm320-recent-tracks-button:hover::after,
.fm320-recent-tracks-button:focus-visible::after {
  opacity: .9;
}

.fm320-recent-tracks-button span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-left: 2px;
  color: #0059e7 !important;
  font-size: 18px !important;
  line-height: 1;
  transition: color .22s ease, transform .22s ease;
}

.fm320-recent-tracks-button:hover span,
.fm320-recent-tracks-button:focus-visible span {
  color: #e60155 !important;
  transform: translateX(3px) !important;
}

@media (max-width: 767px) {
  .fm320-recent-tracks-button {
    width: min(100%, 260px) !important;
    min-width: 0 !important;
  }
}


/* =========================================================
   v5.0.0 – Production hardening
   ========================================================= */
.fm320-direct-streams-list-three,
.fm320-recent-tracks-grid,
.fm320-next-show-info {
  min-width: 0;
}

.fm320-direct-stream,
.fm320-recent-track-card,
.fm320-recent-tracks-button {
  box-sizing: border-box;
}

.fm320-homebar-cover img,
.fm320-next-show-cover,
.fm320-recent-track-cover {
  max-width: 100%;
}

[data-fm320-status] a:focus-visible,
[data-fm320-status] button:focus-visible {
  outline: 2px solid #0059e7;
  outline-offset: 3px;
}

.fm320-direct-stream,
.fm320-recent-tracks-button,
.fm320-next-show-link {
  text-decoration: none !important;
}
