html, body {
  height: 100%;
  margin: 0;
  overflow: hidden; /
}

body {
  display: flex;
  justify-content: center; 
  align-items: center; 
  background: #fff;
}

.live-banner {
  width: min(92vw, 1200px);
  max-height: 100vh; 
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.nl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #d9d9d9;
}

.nl-logo {
  height: clamp(18px, 2vw, 28px);
  width: auto;
  object-fit: contain;
  display: block;
}

.nl-video {
  aspect-ratio: 16/9;
  width: 100%;
  min-height: 200px;
  max-height: calc(100vh - 50px); 
  position: relative;
}

.nl-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.live-indicator {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff0000;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 10;
}

@supports not (aspect-ratio: 16/9) {
  .nl-video {
    position: relative;
    padding-top: 56.25%;
  }
  .nl-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}


@media (max-width: 600px) {
  body {
    align-items: flex-start; 
    padding-top: 20px; 
  }
  .nl-header {
    padding: 8px 10px;
    gap: 8px;
  }
  .nl-logo {
    height: clamp(16px, 4vw, 24px);
  }
  .live-banner {
    width: 95vw; 
    max-height: calc(100vh - 20px); 
  }
  .nl-video {
    max-height: calc(100vh - 70px); 
  }
}