.xhh-login-intro {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #03070b;
  color: white;
  opacity: 1;
  transition: opacity 260ms ease, background-color 450ms ease;
}
.xhh-login-intro::backdrop { background: #03070b; transition: opacity 260ms ease; }
.xhh-login-intro.is-brand { background: #fefefe; color: #19304a; }
.xhh-login-intro.is-exiting, .xhh-login-intro.is-exiting::backdrop { opacity: 0; }
.xhh-login-intro__video, .xhh-login-intro__start, .xhh-login-intro__end {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.xhh-login-intro__end { display: none; }
.xhh-login-intro__video { visibility: hidden; }
.xhh-login-intro__start { pointer-events: none; }
.xhh-login-intro.has-video-frame .xhh-login-intro__video { visibility: visible; }
.xhh-login-intro.has-video-frame .xhh-login-intro__start { visibility: hidden; }
.xhh-login-intro.is-finished .xhh-login-intro__end { display: block; }
.xhh-login-intro.is-finished .xhh-login-intro__video { visibility: hidden; }
.xhh-login-intro__controls {
  position: absolute;
  inset: max(20px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) auto auto;
  display: flex;
  gap: 12px;
}
.xhh-login-intro button {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 24px;
  color: inherit;
  background: rgb(12 21 33 / 55%);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.xhh-login-intro button:hover { background: rgb(42 59 81 / 85%); }
.xhh-login-intro button:focus-visible { outline: 2px solid #50c7f7; outline-offset: 4px; }
.xhh-login-intro.is-brand button {
  background: rgb(255 255 255 / 88%);
  border-color: rgb(24 50 79 / 18%);
}
.xhh-login-intro__status {
  position: absolute;
  left: 50%;
  bottom: max(7vh, 24px);
  transform: translateX(-50%);
  width: min(90vw, 430px);
  text-align: center;
  font-size: 14px;
  color: #e5edf5;
  text-shadow: 0 1px 8px #03070b;
}
.xhh-login-intro.is-brand .xhh-login-intro__status { color: #52657c; text-shadow: none; }
.xhh-login-intro__status p { margin: 10px 0 14px; }
.xhh-login-intro__spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #dce7ef;
  border-top-color: #2877b4;
  border-radius: 50%;
  animation: xhh-intro-spin 850ms linear infinite;
}
.xhh-login-intro.has-load-error .xhh-login-intro__spinner { display: none; }
.xhh-login-intro [hidden] { display: none !important; }
@keyframes xhh-intro-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .xhh-login-intro__controls { top: max(16px, env(safe-area-inset-top)); right: 16px; gap: 8px; }
  .xhh-login-intro button { padding: 9px 14px; }
  .xhh-login-intro__status { bottom: 16vh; }
}
@media (prefers-reduced-motion: reduce) {
  .xhh-login-intro, .xhh-login-intro::backdrop { transition: none; }
  .xhh-login-intro__spinner { animation: none; }
}
