:root {
  --main-pl-bg: #000000d1;
  --pl-bg-buttom: #101010;
  --pl-bg-info: #101010;
}
.ct-container-full
{  background-image:  linear-gradient(rgba(0,0,0,64%), rgba(0,0,0,0)), 
    url('https://backdigit.com/wp-content/uploads/2025/06/wp5203206-4k-bob-marley-desktop-wallpapers.jpg');
  background-size: cover;background-attachment: fixed;}
[data-prefix="single_page"] [class*="ct-container"] > article[class*="post"]
{background: transparent;}

span.ct-module-title
{color: white;}
.ct-icon-container svg
{fill: white;}

#radio-player-block {
  width:700px; max-width:100%; min-width:270px;
  background:var(--main-pl-bg); border-radius:20px;
  box-shadow:0 0 20px #090b11;
  padding:8px 8px 8px 8px;
  display:flex; flex-direction:column; justify-content:space-between;
  color:#e0e6f0; font-family:'Segoe UI', Verdana, Geneva, Tahoma, sans-serif;
  position:relative;
}
#radio-select-row {display:flex;align-items:center;justify-content:flex-start;position:relative;gap:4px;}
#radio-select {
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  background:var(--pl-bg-buttom);color:#fff;border:none;font-size:16px;border-radius:8px;padding-right:38px;
  min-width:160px;max-width:480px;cursor:pointer;width:100%;
  font-family: inherit;
}
#radio-select optgroup {
  color: #39ff14 !important;
  font-weight: bold !important;
  background: var(--pl-bg-buttom);
  font-family: inherit;
}
#radio-select option {
  color: #fff;
  background: var(--pl-bg-buttom);
  font-weight: normal;
  font-family: inherit;
}
#radio-select optgroup[label] {
  color: #39ff14 !important;
  font-weight: bold !important;
  background: var(--pl-bg-buttom);
  font-family: inherit;
}
#radio-select-row button {transition:background .14s;}
#play-btn {
  width:45px;height:45px;border-radius:50%;border:none;
  background:#101010;
  color:#fff;font-size:1.24em;display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 8px #0a0a0a;min-width:45px;min-height:45px; margin-right:0; padding:0;
  position: relative;
}
#play-icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 auto;
}
#play-icon-svg svg {
  display: block;
  margin: 0 auto;
  width: 30px;
  height: 30px;
  vertical-align: middle;
}
#radio-name {font-size:23px;font-weight:bold;color:#6be2fb;display:block;text-align:center;}
@media (max-width: 460px) {#radio-name {font-size:16px;}}
#radio-genre {font-size:22px;color:#39ff14;font-weight:bold;margin-top:3px;text-align:center;}
@media (max-width: 460px) {#radio-genre {font-size:22px;}}
.eq-preset-btn {padding: 3px 15px; font-size: 1em; border-radius: 7px; border: none; background: var(--pl-bg-buttom); color: #eee; cursor: pointer; transition: background .14s, color .14s, box-shadow .13s; margin:0;margin-bottom:2px;box-shadow: 0 1px 4px #191c24a3;min-width: 82px;font-family: inherit;font-weight: 500;white-space: nowrap;}
.eq-preset-btn.selected {background: linear-gradient(90deg, #6be2fb 60%, #f3b960 100%) !important; color: #181c24 !important; font-weight: bold !important; border: 1.5px solid #6be2fb !important; box-shadow: 0 0 8px #6be2fb99; outline: none !important; text-shadow: 0 1px 4px #c5fafb44; letter-spacing: 0.5px; filter: brightness(1.03);}
#eq-preset-bar-outer {width: 100%; max-width: 100%; margin-bottom: 24px; position:relative;}
#eq-preset-bar-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  max-width: 480px;
  min-width: 0;
  margin: 0 auto;
  padding-bottom: 0;
  box-sizing: border-box;
  display: block;
  position: relative;
  min-height: 48px;
  cursor: grab;
}
#eq-preset-bar-scroll::-webkit-scrollbar {display: none;}
#eq-preset-bar {display: flex;align-items: center;gap: 10px;width: max-content;flex-wrap: nowrap;min-width: 100%;}
#eq-scroll-indicator {height:4px; background:rgba(107,226,251,0.13); border-radius:2px; margin-top:7px; margin-bottom:0; position:relative; width:100%;}
#eq-scroll-thumb {height:100%; background:linear-gradient(90deg,#6be2fb,#f3b960); border-radius:2px; width:35%; left:0; position:absolute; transition:left .18s,width .18s; min-width:32px; opacity:0.9;}
.spectrum-style-btn.selected {background: linear-gradient(90deg, #6be2fb 60%, #f3b960 100%) !important; color: #181c24 !important; font-weight: bold !important;}
#player-spectrum-row {display:flex; align-items:center; justify-content:center; margin-top:0; margin-bottom:8px;}
#player-spectrum-row canvas {background:black; border-radius:12px; box-shadow:0 0 10px #12131a; flex:1; min-width:160px; max-width:100%;}
.eq-tooltip {
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  background: #242424;
  color: #fff;
  padding: 1px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  box-shadow: 0 2px 2px #0007;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s, top .18s;
  z-index: 22;
  border: 1px solid #fff;
  text-shadow: none;
  letter-spacing: 0.1px;
  user-select: none;
}
.eq-tooltip.visible {
  opacity: 1;
  top: -52px;
}
@media (max-width: 900px) {
  .eq-tooltip { display: none !important; }
}
#mic-btn svg {fill: white;}
#mic-btn {
  background: var(--pl-bg-buttom);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6be2fb;
  margin-left: 5px;
  font-size: 1.45em;
  cursor: pointer;
  transition: background 0.16s, color 0.18s, box-shadow 0.17s;
  box-shadow: 0 1px 5px #191c24a3;
  position: relative;
  outline: none;
}
#mic-btn.active, #mic-btn.listening {
  background: #6be2fb;
  color: #181c24;
  box-shadow: 0 0 12px #6be2fb99;
}
#mic-btn:disabled {
  background: #444;
  color: #bbb;
  cursor: not-allowed;
  opacity: 0.7;
}
#mic-status-msg {
  position: absolute;
  left: 50%;
  top: 2.2em;
  transform: translateX(-50%);
  background: #232836e0;
  color: #fff;
  padding: 7px 15px 7px 13px;
  border-radius: 8px;
  font-size: 0.96em;
  z-index: 50;
  white-space: nowrap;
  display: none;
  border: 1.5px solid #6be2fb;
  text-align: center;
  box-shadow: 0 2px 8px #000c;
  min-width: 180px;
}
#mic-status-msg.active { display: block; }
#mic-status-msg.error { color: #f3b960; border-color: #f3b960; background: #23201e; }
#mic-status-msg span.bold { font-weight: bold; color: #6be2fb; }
#mic-btn svg {
  display: block;
  width: 23px;
  height: 23px;
}
@media (max-width: 600px) {
  #eq-preset-bar-outer {margin-bottom: 18px;}
  #eq-preset-bar-scroll {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    overflow-x: auto !important;
    padding-bottom: 0;
    margin-bottom: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-right: 18vw !important;
  }
  #eq-preset-bar {
    width: max-content;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    padding-bottom: 2px;
    min-width: 100%;
  }
  .eq-preset-btn {
    flex: 0 0 auto !important;
    min-width: 88px !important;
    max-width: none;
    font-size: 15px !important;
    margin-bottom: 2px !important;
  }
  #eq-preset-bar > .eq-preset-btn:last-child {
    margin-right: 0 !important;
  }
}
/* Effetto glow + onde animate microfono quando attivo/ascolta */
#mic-btn.listening::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: radial-gradient(rgba(107,226,251,0.12) 60%, rgba(107,226,251,0.02) 100%);
  z-index: 1;
  pointer-events: none;
  animation: mic-glow-pulse 1.2s infinite;
  box-shadow: 0 0 20px 8px #6be2fb55;
}

@keyframes mic-glow-pulse {
  0%   { box-shadow: 0 0 16px 2px #6be2fb66; opacity: 1;}
  50%  { box-shadow: 0 0 32px 8px #6be2fbcc; opacity: 0.85;}
  100% { box-shadow: 0 0 16px 2px #6be2fb66; opacity: 1;}
}

/* Cerchi concentrici ondeggianti */
#mic-btn.listening .mic-waves {
  display: block;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  z-index: 0;
}
.mic-wave {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 2px solid #6be2fb;
  opacity: 0.18;
  animation: mic-wave-anim 1.6s linear infinite;
  z-index: 0;
}
.mic-wave.wave2 { animation-delay: .5s;}
.mic-wave.wave3 { animation-delay: 1s;}
@keyframes mic-wave-anim {
  0%   { width: 33px; height: 33px; opacity: 0.21; border-width:2.5px;}
  50%  { opacity: 0.12; }
  100% { width: 74px; height: 74px; opacity: 0; border-width:2px;}
}
#keep-awake-btn {
  background: var(--pl-bg-buttom);
  border: none;
  border-radius: 7px;
  padding: 7px 17px 7px 15px;
  color: #6be2fb;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s;
  margin-left: 6px;
  box-shadow: 0 1px 4px #191c24a3;
  font-family: inherit;
  font-weight: 500;
  display: flex; align-items: center; gap: 7px;
  position: relative;
}
#keep-awake-btn.active {
  background: linear-gradient(90deg, #6be2fb 60%, #f3b960 100%) !important;
  color: #181c24 !important;
  font-weight: bold;
  box-shadow: 0 0 8px #6be2fb99;
  outline: none;
  text-shadow: 0 1px 4px #c5fafb44;
  letter-spacing: 0.2px;
  filter: brightness(1.03);
}
#keep-awake-status {
  position: absolute;
  left: 50%;
  top: -38px;
  transform: translateX(-50%);
  background: #232836e0;
  color: #fff;
  padding: 7px 15px 7px 13px;
  border-radius: 8px;
  font-size: 0.98em;
  z-index: 90;
  white-space: nowrap;
  display: none;
  border: 1.5px solid #6be2fb;
  text-align: center;
  box-shadow: 0 2px 8px #000c;
  min-width: 170px;
  font-weight: 500;
}
#keep-awake-status.active { display: block; }
#spectrum-style-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-direction: row !important; /* Forza sempre in riga */
  flex-wrap: wrap;
}
/* Se nel CSS responsive c'è qualcosa che li mette in colonna, annullalo */
@media (max-width: 650px) {
  #spectrum-style-bar {
    flex-direction: row !important;
    gap: 7px !important;
    width: 100%;
    flex-wrap: wrap;
  }
  #spectrum-style-bar .spectrum-style-btn {
    min-width: 88px !important;
    margin-bottom: 2px !important;
    flex: 0 0 auto !important;
    max-width: none;
    font-size: 15px !important;
  }
  #keep-awake-btn {
    
    justify-content: center;
  }
}
/* Pulsante sleep timer: stile identico a standby e responsive */
#standby-sleep-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  margin-top: 0;
}
#standby-sleep-row button {
  background: var(--pl-bg-buttom);
  border: none;
  border-radius: 7px;
  padding: 7px 17px 7px 15px;
  color: #6be2fb;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s;
  box-shadow: 0 1px 4px #191c24a3;
  font-family: inherit;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
}
#standby-sleep-row button.active {
  background: linear-gradient(90deg, #6be2fb 60%, #f3b960 100%) !important;
  color: #181c24 !important;
  font-weight: bold;
  box-shadow: 0 0 8px #6be2fb99;
  outline: none;
  text-shadow: 0 1px 4px #c5fafb44;
  letter-spacing: 0.2px;
  filter: brightness(1.03);
}
#standby-sleep-row svg {
  min-width: 21px;
  min-height: 21px;
}
@media (max-width: 650px) {
  #standby-sleep-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-bottom: 8px;
  }
  #standby-sleep-row button {
    min-width: 96px;
    font-size: 15px;
    margin-bottom: 2px;
    flex: 0 0 auto;
    max-width: none;
  }
}
#info-play-row {
  margin-top: 10px; margin-bottom: 8px;
  display: flex; justify-content: flex-start; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
#radio-info-centro {
  flex: none;
  min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  text-align: left;
  margin-left: 0;
  margin-right: 16px;
  max-width: 52vw;
}
#stream-status-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 98px;
  max-width: 200px;
  padding: 8px 13px 8px 13px;
  border-radius: 9px;
  color: #6be2fb;
  font-size: 1.01em;
  line-height: 1.25;
  font-family: inherit;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 1px 4px #191c24a3;
  word-break: break-word;
}
#stream-bitrate {font-weight:bold; color:#f3b960;}
#stream-status {font-weight:bold; color:#6be2fb;}
@media (max-width: 700px) {
  #info-play-row { gap: 5px; }
  #radio-info-centro { max-width: 66vw; }
  #stream-status-info { min-width: 70px; max-width: 99vw; font-size: 0.98em; padding:7px 7px;margin-left: auto;margin-right: auto;}
}
@media (max-width: 460px) {
  #info-play-row {
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 5px;
  }
  #play-btn {
    margin-bottom: 0;
  }
  #radio-info-centro {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    max-width: 100vw;
    width: auto;
    font-size: 0.99em;
    padding: 0;
  }
  #stream-status-info {
    align-items: flex-start !important;
    max-width: 100vw;
    margin-left: auto;
    margin-right: auto;
    padding: 4px 5px;
    font-size: 0.96em;
    margin-top: 6px;
  }
}
#cast-button:hover {
  background: yellow;
  border-radius: 50%;
}
.ambient-mode {
  background: #0a0a0e !important;
  transition: background 0.7s;
}
.ambient-active #ambient-fractal-canvas {
  display: block;
  pointer-events: auto;
}
#ambient-fractal-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 10000;
  pointer-events: none;
  display: none;
  background: #000; /* Nero puro */
}
#alarm-screen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  color: #fff;
  text-align: center;
}
#alarm-screen .alarm-clock-box {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
}
#alarm-time {
  font-size: 5em;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: #6be2fb;
  text-shadow: 0 0 16px #6be2fb80, 0 1px 4px #fff3;
  margin-bottom: 34px;  /* <--- aumentato */
  display: block;
}
#alarm-date {
  font-size: 2em;
  margin-bottom: 1.5em;   /* <--- aumentato */
  color: #f3b960;
  text-shadow: 0 0 8px #f3b96044;
  display: block;
}
#alarm-radio-label {
  font-size: 1.15em;
  color: #fff;
  margin-bottom: 2em;
  opacity: 0.85;
}
#alarm-cancel-btn {
  background: #101010;
  color: #6be2fb;
  border: 2px solid #6be2fb;
  border-radius: 20px;
  font-size: 1.2em;
  padding: 18px 44px;
  margin-top: 2.5em;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 16px #6be2fb11;
  transition: background 0.15s, color 0.15s;
}
#alarm-cancel-btn:hover {
  background: #181c24;
  color: #f3b960;
  border-color: #f3b960;
}
@media (max-width: 600px) {
  #alarm-time { font-size: 2.6em; }
  #alarm-date { font-size: 1.2em; }
  #alarm-cancel-btn { font-size: 1em; padding: 13px 26px; }
}
#alarm-logo-fade {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  overflow: visible;
}

#alarm-logo-fade .site-branding {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 90vw;
  min-width: 0;
  opacity: 0.22;
  transition: opacity 3.7s;
  will-change: opacity;
  pointer-events: none;
  overflow: visible;
}

#alarm-logo-fade .site-branding *,
#alarm-logo-fade .custom-logo-link,
#alarm-logo-fade .site-title {
  font-family: 'Roboto Slab', Sans-Serif !important;
  font-size: 30px !important;
  line-height: 1.1;
  color: #fff !important;
  text-shadow: 0 2px 14px #000a;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: center;
}

#alarm-logo-fade img {
  max-height: 60px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 600px) {
  #alarm-logo-fade .site-branding {
    max-width: 96vw;
  }
  #alarm-logo-fade .site-branding *,
  #alarm-logo-fade .custom-logo-link,
  #alarm-logo-fade .site-title {
    font-size: 20px !important;
  }
  #alarm-logo-fade img {
    max-width: 90vw;
    max-height: 40px;
  }
}
#ambient-fractal-canvas { will-change: transform,opacity; touch-action: none; }
#latest-post-title {
  min-height: 80px;
  max-height: 80px;
  height: 80px;
  line-height: 1.25em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  word-break: break-word;
  white-space: normal;
  width: 100%;
  box-sizing: border-box;
  margin: 18px auto 0 auto;
  text-align: center;
  max-width: 95%;
  font-size: 17px;
  font-weight: bold;
  color: #fff !important;
  transition: opacity 0.6s, transform 0.6s;
  will-change: opacity, transform;
}
#latest-post-title.fade-out {
  opacity: 0;
}
#latest-post-title.fade-in {
  opacity: 1;
}
#latest-post-title.zoom-out {
  opacity: 0;
  transform: scale(0.85);
}
#latest-post-title.zoom-in {
  opacity: 1;
  transform: scale(1.08);
}
#latest-post-title a {
  color: #fff !important;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  word-break: break-word;
  white-space: normal;
}