:root {
  color-scheme: dark;
  background: #000;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.media-video,
.media-image {
  object-fit: contain;
}

.media[hidden] {
  display: none;
}

.status-screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 6vh 7vw;
  text-align: center;
  background: #05070a;
  color: #fff;
}

.status-screen[hidden] {
  display: none;
}

.status-screen h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: 0;
}

.status-screen p {
  margin: 0;
  color: #d6dde7;
  font-size: clamp(24px, 3.2vw, 48px);
  line-height: 1.2;
}

.status-screen #status-detail {
  color: #8090a4;
  font-size: clamp(18px, 2vw, 30px);
}

.status-screen #status-subtitle {
  color: #d6dde7;
  font-size: clamp(24px, 3.2vw, 48px);
}

.status-screen #status-label {
  margin-top: 28px;
  color: #8090a4;
  font-size: clamp(18px, 2vw, 30px);
}

.status-screen p[hidden] {
  display: none;
}

.pairing-code {
  margin-top: 0;
  color: #fff;
  font-size: clamp(86px, 13vw, 190px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}

.start-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  border: 0;
  background: #05070a;
  color: #fff;
  font: 700 clamp(28px, 5vw, 72px) Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.start-overlay[hidden] {
  display: none;
}
