.tnj-live-root {
  margin: 0;
  background: #000;
  color: #fff;
  overflow: hidden;
}

.tnj-live-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tnj-live-app {
  background: #000;
  color: #fff;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tnj-live-top {
  align-items: center;
  background: #070707;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex: 0 0 auto;
  gap: 0.9rem;
  padding: 0.55rem 0.9rem;
  padding-top: max(0.55rem, env(safe-area-inset-top, 0px));
}

.tnj-live-brandline {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.4rem;
}

.tnj-live-home {
  align-items: center;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  height: 1.15rem;
  justify-content: center;
  width: 1.15rem;
}

.tnj-live-home svg {
  fill: currentColor;
  height: 0.95rem;
  width: 0.95rem;
}

.tnj-live-home:hover,
.tnj-live-home:focus-visible {
  color: #d63939;
  outline: 1px solid #d63939;
  outline-offset: 3px;
}

.tnj-live-brand {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0;
  white-space: nowrap;
}

.tnj-live-brand span {
  color: #d63939;
}

.tnj-live-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
}

.tnj-live-source {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 0.4rem;
  line-height: 1;
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
}

.tnj-live-source.is-active {
  background: rgba(214, 57, 57, 0.16);
  border-color: #d63939;
  box-shadow: inset 0 0 0 1px rgba(214, 57, 57, 0.45);
  color: #fff;
}

.tnj-live-source:focus-visible {
  outline: 2px solid #d63939;
  outline-offset: 2px;
}

.tnj-live-source-dot {
  background: #d63939;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(214, 57, 57, 0.25);
  display: inline-block;
  height: 0.45rem;
  width: 0.45rem;
}

.tnj-live-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
}

.tnj-live-player {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.tnj-live-stage {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  position: relative;
}

.tnj-live-stage iframe,
.tnj-live-stage mux-player,
.tnj-live-stage video {
  background: #000;
  border: 0;
  display: block;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  width: 100%;
}

.tnj-live-embed,
.tnj-live-offair {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  position: relative;
}

.tnj-live-stage > .tnj-live-embed {
  padding: 0.7rem 0.75rem 0;
}

.tnj-live-stage .tnj-live-embed > iframe {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

.tnj-live-offair {
  padding: 1.25rem 1.25rem 0;
}

.tnj-live-offair .tnj-live-embed {
  margin-top: 0;
  padding: 0;
}

.tnj-live-kicker {
  color: #d63939;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.4rem;
}

.tnj-live-offair h2,
.tnj-live-message h2,
.tnj-live-gate h2,
.tnj-live-audio h2,
.tnj-live-upgrade h2 {
  font-size: 1.35rem;
  font-weight: 750;
  margin: 0 0 0.45rem;
}

.tnj-live-offair p,
.tnj-live-gate p,
.tnj-live-audio p,
.tnj-live-upgrade p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 0.75rem;
}

.tnj-live-badge {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0 0 0.45rem;
  padding: 0.32rem 0.55rem;
  position: static;
}

.tnj-live-badge-live {
  border-color: #d63939;
  color: #fff;
}

.tnj-live-message,
.tnj-live-gate,
.tnj-live-audio {
  align-items: flex-start;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  max-width: 38rem;
  padding: 1.5rem;
  width: 100%;
}

.tnj-live-audio audio {
  height: auto;
  width: 100%;
}

.tnj-live-audio-prompt {
  color: #fff;
  font-weight: 700;
}

.tnj-live-gate-actions,
.tnj-live-upgrade {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tnj-live-btn {
  background: #d63939;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  min-height: 2.6rem;
  padding: 0.55rem 1rem;
  text-decoration: none;
}

.tnj-live-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.tnj-live-show-link {
  align-self: flex-start;
  flex: 0 0 auto;
  margin: 0 0 0.85rem;
}

.tnj-live-chat {
  background: #050505;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex: 0 0 380px;
  flex-direction: column;
  min-height: 0;
  width: 380px;
}

.tnj-live-chat-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.55rem 0.8rem;
}

.tnj-live-chat iframe {
  border: 0;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

@media (max-width: 991.98px) {
  .tnj-live-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .tnj-live-brandline {
    width: 100%;
  }

  .tnj-live-root {
    overflow: auto;
  }

  .tnj-live-app {
    height: auto;
    min-height: 100dvh;
  }

  .tnj-live-body {
    flex-direction: column;
  }

  .tnj-live-stage {
    aspect-ratio: auto;
    flex: 0 0 auto;
    min-height: 12rem;
    width: 100%;
  }

  .tnj-live-embed {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
  }

  .tnj-live-stage iframe,
  .tnj-live-stage mux-player {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 12rem;
  }

  .tnj-live-offair,
  .tnj-live-gate,
  .tnj-live-message,
  .tnj-live-audio {
    min-height: 16rem;
  }

  .tnj-live-chat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
    height: 70dvh;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .tnj-live-sources {
    display: grid;
    gap: 0.28rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .tnj-live-source {
    font-size: 0.72rem;
    gap: 0.2rem;
    justify-content: center;
    min-width: 0;
    padding: 0.4rem 0.15rem;
    text-align: center;
    white-space: nowrap;
    width: 100%;
  }
}

.tnj-live-embed-youtube {
  align-self: center;
  flex: 0 0 auto;
  height: auto;
  max-height: none;
  width: 100%;
}

.tnj-live-youtube {
  aspect-ratio: 16 / 9;
  background: #000;
  margin-inline: auto;
  max-width: min(100%, calc((100dvh - 7.5rem) * 16 / 9));
  position: relative;
  width: 100%;
}

.tnj-live-offair .tnj-live-youtube {
  max-width: min(100%, calc((100dvh - 14rem) * 16 / 9));
}

.tnj-live-stage .tnj-live-youtube > iframe {
  aspect-ratio: auto;
  display: block;
  flex: none;
  height: 100%;
  inset: 0;
  min-height: 0;
  position: absolute;
  width: 100%;
}
