.teknoir-live {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) clamp(14px, 3vw, 36px) 80px;
  color: #fff;
  box-sizing: border-box;
}

.teknoir-live *, .teknoir-live *::before, .teknoir-live *::after {
  box-sizing: border-box;
}

.teknoir-live__intro {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 750px;
}

.teknoir-live__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #03dac6;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
  font-size: .76rem;
}

.teknoir-live__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4081;
  box-shadow: 0 0 12px #ff4081;
}

.teknoir-live__title {
  margin: 12px 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.12;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 0 24px rgba(3,218,198,.24);
}

.teknoir-live__description {
  margin: 0;
  color: #d6d2eb;
  font-weight: 400;
  line-height: 1.65;
}

.teknoir-live__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 350px);
  gap: 22px;
  align-items: stretch;
}

.teknoir-live__panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(3,218,198,.32);
  border-radius: 18px;
  background: rgba(13,12,38,.74);
  box-shadow: 0 12px 40px rgba(0,0,0,.26), 0 0 20px rgba(247,0,255,.06);
}

.teknoir-live__panel-head {
  min-height: 66px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.teknoir-live__panel-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.teknoir-live__tag {
  color: #03dac6;
  border: 1px solid rgba(3,218,198,.35);
  border-radius: 99px;
  padding: 5px 10px;
  font-size: .72rem;
  font-weight: 700;
}

.teknoir-live__video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #080716;
}

.teknoir-live__video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.teknoir-live__chat-frame {
  height: clamp(430px, 48vw, 650px);
  background: #0b0b1b;
}

.teknoir-live__chat-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.teknoir-live__panel-foot {
  padding: 14px 20px;
  color: #c9c6df;
  font-size: .88rem;
}

.teknoir-live__external {
  color: #03dac6;
  text-decoration: none;
  font-weight: 700;
}

.teknoir-live__external:hover, .teknoir-live__external:focus-visible {
  color: #ff4081;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .teknoir-live__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .teknoir-live__chat-frame {
    height: 500px;
  }
}

@media (max-width: 480px) {
  .teknoir-live {
    padding: 28px 12px 48px;
  }
}

@media (max-width: 480px) {
  .teknoir-live__grid {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .teknoir-live__panel {
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .teknoir-live__panel-head {
    padding: 14px;
    min-height: 58px;
  }
}

@media (max-width: 480px) {
  .teknoir-live__panel-foot {
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .teknoir-live__chat-frame {
    height: min(70vh, 560px);
    min-height: 380px;
  }
}

.owncast-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.owncast-video-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.owncast-video-card {
  overflow: hidden;
}

.owncast-video-card .owncast-video-wrapper {
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .owncast-video-wrapper {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .owncast-video-wrapper iframe {
    width: 100%;
    height: 100%;
  }
}

.teknoir-live__grid > .teknoir-live__panel:first-child {
  display: flex;
  flex-direction: column;
  height: fit-content;
  min-height: 0;
}

.teknoir-live__video-frame {
  position: relative;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  flex: none;
}

.teknoir-live__video-frame iframe {
  display: block;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}

.teknoir-live__grid > .teknoir-live__panel:last-child {
  display: flex;
  flex-direction: column;
  min-height: 650px;
}

.teknoir-live__chat-frame {
  flex: 1;
  min-height: 0;
}

.teknoir-live__chat-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.teknoir-live__grid > .teknoir-live__panel:first-child {
  display: flex;
  flex-direction: column;
  height: fit-content;
  min-height: 0;
}

.teknoir-live__video-frame {
  position: relative;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  flex: none;
}

.teknoir-live__video-frame iframe {
  display: block;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}

.teknoir-live__grid > .teknoir-live__panel:last-child {
  display: flex;
  flex-direction: column;
  min-height: 650px;
}

.teknoir-live__chat-frame {
  flex: 1;
  min-height: 0;
}

.teknoir-live__chat-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .teknoir-live__grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .teknoir-live__grid > .teknoir-live__panel:last-child {
    min-height: 450px;
  }
}

