/* first youtube stream css setup, the aspect ratio 16/9 keeps it responsive
.live-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; 
  background: #000;
}

.live-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #d32f2f;
  color: #ffffff;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 10;
}


@keyframes blink {
  50% { opacity: 0; }
}

.live-badge {
  animation: blink 1.2s infinite;
}





@media (max-width: 399px) {
  .live-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .live-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
}

@media (max-width: 768px) {
  .live-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
}
*/

/* LAYOUT */
.live-section {
  display: flex;
  gap: 15px;
  width: 100%;
}

/* VIDEO */
.live-wrapper {
  position: relative;
  flex: 3;
  aspect-ratio: 16 / 9;
  background: #000;
}

.live-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* CHAT */
.chat-wrapper {
  flex: 1;
  height: auto;
}

.chat-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* BADGES */
.live-badge,
.offline-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 10;
}

.live-badge {
  background: #d32f2f;
  color: #fff;
  animation: blink 1.2s infinite;
}

.offline-badge {
  background: #555;
  color: #fff;
  display: none;
}

/* COUNTDOWN */
.countdown {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 8px 12px;
  font-size: 18px;
  border-radius: 4px;
  z-index: 10;
}

/* BLINK */
@keyframes blink {
  50% { opacity: 0; }
}

/* MOBILE 
@media (max-width: 480px) {
  .live-section {
    flex-direction: column;
  }
  .chat-wrapper {
    height: 400px;
    display: none;
  }  
}


@media (max-width: 768px) {
  .live-section {
    flex-direction: column;
  }
  .chat-wrapper {
    height: 400px;
    display: none;
  }
  
}
*/