/* Dual-language caption overlays + language menu hint for host video. */

#app.lango-host .host-video-captions {
  display: grid;
  gap: 4px;
}

#app.lango-host .host-video-caption-line.is-secondary {
  font-size: 0.82em;
  font-weight: 700;
  opacity: 0.92;
}

#app.lango-host .host-video-captions.is-dual {
  padding-top: 10px;
  padding-bottom: 10px;
}

#app.lango-host .host-video-lang-menu {
  min-width: 120px;
}

#app.lango-host .host-video-lang-hint {
  margin: 0 0 2px;
  padding: 0 4px 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

#app.lango-host .course-intro-modal {
  position: fixed;
  inset: 0;
  z-index: 146;
  display: grid;
  place-items: center;
  padding: 24px;
}

#app.lango-host .course-intro-modal[hidden] {
  display: none !important;
}

#app.lango-host .course-intro-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 159, 67, 0.24), transparent 44%),
    rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#app.lango-host .course-intro-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 32px));
  padding: 28px 24px 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 159, 67, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 237, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.72) inset,
    0 24px 48px rgba(15, 23, 42, 0.22);
  text-align: center;
}

#app.lango-host .course-intro-modal__title {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

#app.lango-host .course-intro-modal__body {
  margin: 0 0 20px;
  color: #475569;
  line-height: 1.45;
}

#app.lango-host .course-intro-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

#app.lango-host .host-video-screen.is-course-intro #btn-host-video-next-exercise {
  display: none !important;
}

#app.lango-host .host-video-screen.is-course-intro #btn-host-intro-continue {
  display: inline-flex;
}
