:root {
  --gold: #C99A46;
  --gold-light: #F5D77F;
  --gold-deep: #A87C2E;
  --wine: #4A1620;
  --wine-deep: #170B0D;
  --brick: #A8452E;
  --ink: #100608;
  --cream: #F2EBDD;
  --glass-bg: rgba(23, 11, 13, 0.65);
  --glass-border: rgba(201, 154, 70, 0.28);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  color: var(--cream);
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  background: #12080A;
  padding: 24px 16px;
}

/* CARRUSEL DE VIDEOS DE FONDO */
.bg-video-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background: #0d080a;
}

.bg-video-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.bg-video-container video.active { opacity: 1; }

#bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(36,14,14,0.10), rgba(16,7,8,0.72) 70%),
    linear-gradient(180deg, rgba(16,7,8,0.38), rgba(16,7,8,0.78));
  transition: opacity 0.8s ease;
}

/* NOMBRE DE LA RADIO */
.brand {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
  pointer-events: none;
  width: 92%;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand h1 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(28px, 6.5vw, 48px);
  margin: 0;
  letter-spacing: 3px;
  line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(180deg, #E5C378 0%, #C99A46 60%, #8A621C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.8));
}

.brand h1 span.amp {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5D77F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 6px;
  font-size: 1.05em;
}

.brand h1 span.sub-music { 
  font-family: 'Cinzel', serif;
  font-weight: 700;
  display: block;
  font-size: 0.48em;
  letter-spacing: 14px;
  margin-top: 6px;
  color: var(--gold-light);
  -webkit-text-fill-color: initial;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* CONTENEDOR PRINCIPAL */
.main-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 95px;
  width: 100%;
  max-width: 700px;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.player-layout-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* TARJETA DEL REPRODUCTOR CENTRAL */
.card {
  position: relative;
  z-index: 10;
  width: 330px;
  height: 330px;
  padding: 22px 20px;
  border-radius: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex: none;
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8a8a7a;
}

.status-dot.live {
  background: #ff5a5a;
  animation: pulse-dot 1.6s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(255,90,90,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255,90,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,90,90,0); }
}

.icon-action-btn {
  background: none;
  border: none;
  color: var(--gold);
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.icon-action-btn:hover { opacity: 1; transform: scale(1.1); }

/* MODAL DE COMPARTIR */
.share-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 6, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.share-modal-overlay.open { opacity: 1; pointer-events: auto; }

.share-modal {
  width: min(90vw, 290px);
  padding: 22px;
  border-radius: 24px;
  background: var(--wine-deep);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.share-modal-overlay.open .share-modal { transform: scale(1); }

.share-modal-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.share-options {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 16px;
}

.share-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.share-option-btn:hover { transform: translateY(-3px); }

.share-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 154, 70, 0.12);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.share-icon-circle svg { width: 20px; height: 20px; fill: currentColor; }

.close-modal-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--cream);
  opacity: 0.5;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: opacity 0.2s ease;
}

.close-modal-btn:hover { opacity: 1; }

.share-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: rgba(23, 11, 13, 0.95);
  border: 1px solid var(--gold);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 300;
  text-align: center;
  max-width: 90vw;
}

.share-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* MEDALLÓN PRINCIPAL */
.play-wrap {
  position: relative;
  width: 165px;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.logo-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.logo-ring.spin { 
  animation: logo-rotate 90s linear infinite; 
}

@keyframes logo-rotate { 
  to { transform: rotate(360deg); } 
}

.album-cover-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-center-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
}

#playBtn {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}

#playBtn:active { 
  transform: scale(0.96); 
}

.play-badge {
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wine-deep);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  pointer-events: none;
  z-index: 5;
}

.play-badge svg { 
  width: 14px; 
  height: 14px; 
}

.play-wrap .ring-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(201,154,70,0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.play-wrap .ring-pulse.on { animation: ring-out 2.2s ease-out infinite; }

@keyframes ring-out {
  0% { transform: scale(0.92); opacity: 0.55; }
  100% { transform: scale(1.25); opacity: 0; }
}

.volume-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.mute-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--cream);
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.mute-btn:hover { opacity: 1; transform: scale(1.08); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(252, 235, 221, 0.22);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid var(--cream);
}

/* TARJETA SONANDO AHORA */
.np-card {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 12px 20px;
  border-radius: 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.np-header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.np-cover-wrap {
  position: relative;
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px;
  overflow: visible;
  flex: none;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  cursor: pointer;
}

.np-cover-art {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: cover;
  border-radius: 11px;
  transition: opacity 0.3s ease;
}

/* BURBUJA POPUP DESPLEGABLE A UN COSTADO */
.album-pop-card {
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  width: 165px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(23, 11, 13, 0.96);
  border: 1px solid var(--gold);
  box-shadow: 0 15px 35px rgba(0,0,0,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transform: translateY(-50%) translateX(-8px) scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.album-pop-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -5px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: rgba(23, 11, 13, 0.96);
  border-left: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.pop-img-wrap {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(201, 154, 70, 0.3);
}

.pop-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
}

.pop-text-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  padding: 2px 4px;
}

.pop-album-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.25;
}

.pop-artist-name {
  font-size: 10px;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.8;
  line-height: 1.2;
}

.np-cover-wrap:hover .album-pop-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0) scale(1);
}

.np-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  overflow: hidden;
  text-align: left;
}

.np-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  margin-bottom: 2px;
}

.np-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.np-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold);
  padding: 8px;
  display: flex;
  align-items: center;
  flex: none;
  -webkit-tap-highlight-color: transparent;
}

.np-chevron { transition: transform 0.35s ease; }
.np-toggle.active .np-chevron { transform: rotate(180deg); }

/* DESPLEGABLE INFERIOR */
.recent-expandable {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 154, 70, 0.2);
}

.np-card.open .recent-expandable {
  display: block;
  animation: expand-down 0.35s ease forwards;
}

@keyframes expand-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.recent-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  margin-bottom: 12px;
  text-align: left;
}

.cc_recenttracks_list {
  font-size: 13px;
  color: var(--cream);
  opacity: 0.95;
  text-align: left !important;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 4px !important;
}

.cc_recenttracks_list::-webkit-scrollbar { width: 4px; }
.cc_recenttracks_list::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.cc_recenttracks_list::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* REESTRUCTURACIÓN PROPIA DE CADA ITEM RECIENTE */
.recent-item-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(201, 154, 70, 0.15) !important;
  width: 100% !important;
}

.recent-item-row:last-child {
  border-bottom: none !important;
}

.recent-thumb {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  flex: none !important;
  border: 1px solid rgba(201, 154, 70, 0.3) !important;
  display: block !important;
  background: rgba(0,0,0,0.4);
}

.recent-item-text {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  flex: 1 !important;
}

.recent-item-title {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-item-artist {
  color: rgba(242, 235, 221, 0.65) !important;
  font-weight: 500 !important;
  font-size: 11.5px !important;
  margin-top: 1px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ELIMINAR BASURA NATIVA DE CENTOVA CAST */
.cc_recenttracks_list a,
.cc_recenttracks_list .cc_buy,
.cc_recenttracks_list span[class*="buy"],
.cc_recenttracks_list img:not(.recent-thumb) {
  display: none !important;
  visibility: hidden !important;
}

.cc_recenttracks_list ul,
.cc_recenttracks_list ol,
.cc_recenttracks_list table,
.cc_recenttracks_list tbody {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  border: none !important;
}

.cc_recenttracks_list hr { display: none !important; }

/* TARJETAS DEL CLIMA */
.weather-card {
  width: 165px;
  height: 330px;
  padding: 16px 12px 10px;
  border-radius: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 12px 35px rgba(0,0,0,0.38);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 10;
  overflow: hidden;
  flex: none;
}

.weather-top-half {
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding-bottom: 6px;
}

.weather-city-name {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  font-family: 'Cinzel', serif;
}

.weather-status-text {
  font-size: 11.5px;
  opacity: 0.85;
  line-height: 1.2;
}

.weather-center-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.weather-current-temp {
  font-size: 36px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.weather-main-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex: none;
}

.weather-main-icon svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }

.weather-bottom-half {
  height: 50%;
  border-top: 1px solid rgba(201, 154, 70, 0.18);
  padding-top: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.weather-slide {
  position: absolute;
  inset: 8px 0 16px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(6px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.weather-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.weather-slide-title {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Cinzel', serif;
}

.weather-tom-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 12px;
}

.weather-tom-status {
  display: flex;
  align-items: center;
  gap: 4px;
}

.weather-sm-icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}
.weather-sm-icon svg { width: 100%; height: 100%; }

.weather-week-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 10.5px;
  opacity: 0.92;
}

.weather-week-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 4px;
}

.weather-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.weather-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(242, 235, 221, 0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}

.weather-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* BARRA FLOTANTE MODO MINIMALISTA */
.zen-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: min(90vw, 440px);
  padding: 12px 20px;
  border-radius: 50px;
  background: rgba(16, 7, 8, 0.75);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.zen-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  color: var(--wine-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
  transition: transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.zen-play-btn:active { transform: scale(0.92); }
.zen-play-btn svg { width: 16px; height: 16px; fill: currentColor; }

.zen-info { flex: 1; overflow: hidden; display: flex; flex-direction: column; }

.zen-brand-title {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
}

.zen-song-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zen-exit-btn {
  background: none;
  border: none;
  color: var(--cream);
  opacity: 0.6;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.zen-exit-btn:hover { opacity: 1; transform: scale(1.1); }

/* ESTADO ZEN ACTIVADO */
body.zen-active .main-container,
body.zen-active .weather-card {
  opacity: 0 !important;
  transform: translateY(-20px) !important;
  pointer-events: none !important;
}

/*body.zen-active .brand.fade-out {
  opacity: 0;
  transform: translateX(-50%) translateY(-15px);
}*/

body.zen-active #bg-overlay { background: rgba(10, 4, 6, 0.15); }

body.zen-active .zen-bar {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (pointer: coarse) { .volume-row { display: none; } }

@media (max-width: 400px) {
  .card { padding: 24px 18px 20px; }
  .play-wrap, #playBtn { width: 155px; height: 155px; }
  .main-container { margin-top: 85px; }
}

/* ADAPTACIÓN MOBILE LIMPIA Y BURBUJA POPUP AJUSTADA */
@media (max-width: 899px) {
  body { padding: 12px 8px; }

  .brand {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 12px;
    width: 100%;
  }

  .main-container {
    margin-top: 0;
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .player-layout-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .card,
  .np-card {
    width: 100% !important;
    max-width: 340px !important;
  }

  .weather-card.mdp,
  .weather-card.bsas {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 340px !important;
    height: 140px !important;
    flex-direction: row !important;
    padding: 12px 14px !important;
  }

  .weather-top-half {
    width: 50% !important;
    height: 100% !important;
    border-bottom: none !important;
    border-right: 1px solid rgba(201, 154, 70, 0.18) !important;
    padding-bottom: 0 !important;
    padding-right: 8px !important;
  }

  .weather-bottom-half {
    width: 50% !important;
    height: 100% !important;
    border-top: none !important;
    padding-top: 0 !important;
    padding-left: 8px !important;
  }

  .album-pop-card {
    top: auto;
    bottom: calc(100% + 10px);
    left: 0;
    transform: translateY(8px) scale(0.92);
  }

  .album-pop-card::before {
    top: auto;
    bottom: -5px;
    left: 20px;
    border-left: none;
    border-top: none;
    border-right: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
  }

  .np-cover-wrap:hover .album-pop-card {
    transform: translateY(0) scale(1);
  }
}