:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  background: #111820;
}
* {
  box-sizing: border-box;
}
html,
body,
#player {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
body {
  background: radial-gradient(
    circle at 80% 15%,
    #1e6757,
    #173044 42%,
    #111820 78%
  );
}
.hidden {
  display: none !important;
}
.setup {
  width: min(720px, 88vw);
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.setup img {
  width: min(330px, 65vw);
  margin-bottom: 42px;
}
.setup > span {
  color: #c8f500;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.setup h1 {
  margin: 16px 0 8px;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.04em;
}
.setup p {
  margin: 0;
  color: #c0cbd2;
  font-size: clamp(16px, 2vw, 24px);
}
#pairing-code {
  margin: 36px 0 12px;
  padding: 22px 30px;
  border: 1px solid #79989b;
  border-radius: 16px;
  font-size: clamp(34px, 6vw, 68px);
  letter-spacing: 0.2em;
  background: rgba(255, 255, 255, 0.06);
}
.setup small {
  color: #aab8c0;
}
.setup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.setup button {
  padding: 13px 18px;
  border: 0;
  border-radius: 10px;
  background: #c8f500;
  color: #101820;
  font-weight: 800;
  cursor: pointer;
}
.setup button.secondary {
  border: 1px solid #79989b;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.stage {
  position: fixed;
  inset: 0;
  background: #000;
}
.stage img,
.stage video,
.stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.stage .cover {
  object-fit: cover;
}
.stage .contain {
  object-fit: contain;
}
.stage .fade {
  animation: fade-in 0.55s ease both;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.notice {
  position: fixed;
  right: 18px;
  bottom: 14px;
  z-index: 5;
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.58);
  color: #d6e0e5;
  font-size: 11px;
}
@media (orientation: portrait) {
  .setup {
    width: 82vw;
  }
}
