html,body{ height:100%; }
body{
  background-size: cover; background-position: center;
  background-attachment: fixed; background-repeat: no-repeat;
  color:#fff; min-height:100dvh;
}
body::before{
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.80));
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

#clockContainer{
  position: fixed; top: 14px; right: 16px; z-index: 1030;
  background: rgba(13,17,23,.78); border: 1px solid rgba(255,255,255,.15);
  padding: 8px 12px; border-radius: 12px; font-weight: 700; letter-spacing:.3px;
  box-shadow: 0 4px 12px rgba(0,0,0,.28); font-variant-numeric: tabular-nums;
  transition: none;
}

#menuBtn{
  position: fixed; top: 12px; left: 14px; z-index: 1031; width:46px; height:46px;
  border-radius:12px; border: 2px solid #fff;
  background: rgba(13,17,23,.78); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 14px rgba(0,0,0,.30);
  transition: none;
}
#menuIcon{ font-size: 18px; }
@media (min-width: 992px){ #menuBtn{ display:none; } }

#menuContainer.offcanvas-start{
  width:80vw; max-width:420px; background:#0f1624; color:#fff;
  border-right:1px solid rgba(255,255,255,.12);
}
.offcanvas{
  transition: transform .18s ease-out !important;
  will-change: transform;
}
#menuContainer .offcanvas-body{
  display:flex; flex-direction:column; justify-content:space-between;
  height:100%; padding-bottom:86px;
}
#menuContainer .offcanvas-header .btn-close{
  filter: invert(1); opacity: .95;
}
#menuContainer .offcanvas-header .btn-close.close-rounded{
  border:2px solid var(--primary-color); border-radius:12px;
  width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center;
  padding:0; box-shadow:0 4px 12px rgba(0,0,0,.30);
}

#menuTop{ text-align:center; }
#logoRadio{
  width:110px;
  height:110px;
  object-fit:contain;
  border-radius:20px;
  border:2px solid var(--primary-color);
  box-shadow:0 6px 14px rgba(0,0,0,.30);
  background:#000;
  padding:2px;
}

.btn-red{
  border: 2px solid var(--primary-color);
  background: rgba(255,255,255,.06);
  color:#fff; border-radius:14px; padding:12px 14px; text-align:left;
  transition: background-color .12s ease-out, border-color .12s ease-out;
}
.btn-red i{
  width:22px; margin-right:8px; opacity:.9;
}
.btn-red:hover{
  background: var(--primary-color);
}

#player{
  max-width: 980px; margin:140px auto 140px auto;
  padding:0 14px; position:relative; z-index:1;
  opacity:1; transform:none; animation:none;
}

#tvButton{
  display:block; width:100%; border:2px solid var(--primary-color);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 78%, #000 22%), #000);
  color:#fff; border-radius:14px; padding:12px 16px; font-weight:700; letter-spacing:.2px;
  box-shadow: 0 6px 16px rgba(0,0,0,.30);
  transition: background-color .12s ease-out, box-shadow .12s ease-out;
}
#tvButton i{ margin-right:8px; }
#tvButton:hover,#tvButton:focus-visible{
  box-shadow:0 8px 20px rgba(0,0,0,.38);
  outline:none;
}
#tvButton:active{
  filter: brightness(1.05);
}

#mobileBar{
  position:fixed; left:0; right:0; bottom:0; z-index:1032;
  display:none; flex-direction:column; align-items:center; gap:10px;
  padding:12px 14px; background: rgba(0,0,0,.60);
  border-top:1px solid rgba(255,255,255,.18); text-align:center;
}
#installRow{ width:100%; display:flex; justify-content:center; }
#install-button-footer{
  background: var(--primary-color); color: white; border: none;
  border-radius: 10px; font-weight: 700; padding:8px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.30);
  transition: background-color .12s ease-out;
}
#install-button-footer:hover{
  background-color: #ff7e7e;
}
#mobileSocial{
  display:flex; gap:12px; justify-content:center; align-items:center;
}
#mobileSocial .social-icon{
  width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center;
  border:2px solid var(--primary-color); border-radius:50%;
  color:#fff; text-decoration:none; background: rgba(255,255,255,.08);
  transition: background-color .12s ease-out;
}
#mobileSocial .social-icon:hover{
  background: rgba(255,255,255,.18);
}
#mobileDev{ font-size:.85rem; color:#cfd6e2; }
@media (max-width: 991.98px){ #mobileBar{ display:flex; } }

#desktopSocial{
  position: fixed; right: 18px; bottom: 18px; z-index:1031;
  display:none; gap:12px;
}
#desktopSocial .social-icon{
  width:48px; height:48px; display:inline-flex; align-items:center; justify-content:center;
  border:2px solid var(--primary-color); border-radius:50%;
  color:#fff; text-decoration:none; background: rgba(0,0,0,.3);
  box-shadow:0 4px 12px rgba(0,0,0,.30);
  transition: background-color .12s ease-out;
}
#desktopSocial .social-icon:hover{
  background: rgba(0,0,0,.5);
}
#footerCopy{
  position: fixed; left: 18px; bottom: 18px; z-index:1031;
  display:none; background: rgba(13,17,23,.78);
  border:1px solid rgba(255,255,255,.15);
  padding:8px 12px; border-radius:12px; font-size:.9rem;
  box-shadow:0 4px 12px rgba(0,0,0,.30);
}
@media (min-width: 992px){
  #desktopSocial, #footerCopy{ display:flex; }
  #footerCopy{ display:block; }
}

.modal-content{
  background:#0f1624; color:#fff;
  border:1px solid rgba(255,255,255,.12); border-radius:14px;
}
.placeholder{ background:#1c2333; }
.btn-close.btn-close-white.close-rounded{ filter: invert(1); }
.btn-close.btn-close-white.close-rounded:focus{ box-shadow:none; }

.modal.fade .modal-dialog{
  transition: transform .18s ease-out, opacity .18s ease-out !important;
  will-change: transform, opacity;
}
.modal-backdrop.show{
  opacity: .6;
  transition: opacity .18s ease-out !important;
}

.empty-msg{
  color:#f5f5f5;
  font-weight:500;
  font-size:0.95rem;
}

#modalChatEnVivo .modal-dialog{
  width: min(980px, 96vw);
}

#modalChatEnVivo .modal-content{
  overflow: hidden; 
}

#modalChatEnVivo .modal-body{
  padding: 0 !important;
  overflow: hidden !important;
  height: min(78dvh, 720px);
}

@media (max-width: 575.98px){
  #modalChatEnVivo .modal-dialog{
    margin: 12px auto !important;
  }

  #modalChatEnVivo .modal-body{
    height: 82dvh;
  }
}

#modalChatEnVivoIframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  -webkit-overflow-scrolling: touch;
}

#chatFloatBtn{
  position: fixed;
  right: 18px;
  bottom: 160px;
  z-index: 1035;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 52px;

  border-radius: 18px;
  border: 2px solid var(--primary-color);
  background: rgba(13,17,23,.78);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;

  box-shadow: 0 10px 18px rgba(0,0,0,.35);
  text-decoration: none;
  transition: transform .12s ease-out, background-color .12s ease-out;
}

#chatFloatBtn i{
  font-size: 22px;
}

#chatFloatBtn:hover{
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}

#chatFloatBtn:active{
  transform: translateY(0);
}

#chatFloatBtn .chat-text{
  white-space: nowrap;
}

@media (max-width: 991.98px){
  #chatFloatBtn{
    bottom: 190px;
  }
}

@media (max-width: 575.98px){
  .modal-fullscreen-sm-down .modal-dialog{
    width: calc(100% - 24px) !important;
    margin: 12px auto !important;
    padding: 0 !important;
  }

  .modal-fullscreen-sm-down .modal-content{
    height: calc(100dvh - 24px);
    border-radius: 18px;
    border: 2px solid var(--primary-color);
    overflow: hidden;
  }
}

.dj-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

@media (min-width: 576px){
  .dj-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 992px){
  .dj-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.dj-card{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.dj-photo{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.dj-photo--empty{
  background: rgba(255,255,255,.06);
}

.dj-overlay{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0));
}

.dj-name{
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}

.dj-social{
  display: flex;
  gap: 8px;
}

.dj-ico{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(13,17,23,.55);
}

.dj-ico:hover{
  border-color: var(--primary-color);
}

.dj-social--corner{
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.dj-namebar{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0));
  text-align: center;
}

.dj-name{
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sch-wrap{ }

.sch-tabs{
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
  flex-wrap: nowrap;
}

.sch-tabs .nav-link{
  font-size: .78rem;
  padding: 8px 10px;
  font-weight: 800;
  letter-spacing: .2px;
  white-space: nowrap;
  border-radius: 999px;
  color: #fff;
  background: transparent;
}

.sch-tabs .nav-link.active{
  background: #fff;
  color: #000;
}

.sch-content{
  margin-top: 12px;
}

.sch-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 576px){
  .sch-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 992px){
  .sch-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}

.sch-card{
  border-radius: 16px;
  padding: 14px;
  background: rgba(13,17,23,.55);
  border: 1px solid rgba(255,255,255,.10);
}

.sch-time{
  display: inline-block;
  font-weight: 900;
  font-size: .85rem;
  padding: 6px 10px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--primary-color) 28%, rgba(255,255,255,.08));
  border: 1px solid color-mix(in srgb, var(--primary-color) 55%, rgba(255,255,255,.12));
  margin-bottom: 10px;
}

.sch-title{
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
}

.sch-sub{
  margin-top: 6px;
  font-size: .9rem;
  color: rgba(255,255,255,.70);
}

.sch-tab-short{ display:none; }
.sch-tab-full{ display:inline; }

@media (max-width: 575.98px){
  .sch-tabs .nav-link .sch-tab-full{ display:none; }
  .sch-tabs .nav-link .sch-tab-short{ display:inline; }
  .sch-tabs .nav-link.active .sch-tab-short{ display:none; }
  .sch-tabs .nav-link.active .sch-tab-full{ display:inline; }
}

.sch-empty{
  padding: 18px 10px;
  text-align: center;
  color: rgba(255,255,255,.75);
}






/* ===== Share bar ===== */
.share-bar{
  position: fixed;
  top: 84px;            /* más espacio debajo de la hora */
  right: 18px;          /* separa del borde derecho */
  z-index: 9999;
  display: flex;
  flex-direction: column;  /* uno debajo de otro */
  gap: 10px;               /* espacio entre iconos */
  padding: 10px;
  border-radius: 16px;
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.share-btn{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .12s ease, filter .12s ease;
}

.share-btn i{ font-size: 20px; }

/* Colores por red (fondo sólido real) */
.share-native{ background: #6c757d; }   /* gris */
.share-wsp   { background: #25D366; }   /* WhatsApp */
.share-fb    { background: #1877F2; }   /* Facebook */
.share-x     { background: #111111; }   /* X */
.share-tg    { background: #229ED9; }   /* Telegram */
.share-copy  { background: #4b5563; }   /* copiar (gris oscuro) */

/* Hover */
.share-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* Responsive: en móvil que no estorbe */
@media (max-width: 576px){
  .share-bar{
    top: 74px;
    right: 12px;
    padding: 8px;
    gap: 8px;
    border-radius: 14px;
  }
  .share-btn{
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .share-btn i{ font-size: 19px; }
}

