:root {
  color-scheme: dark;
}

body {
  background: #071827;
}

.quest-entry {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  color: #f4fbff;
  text-align: center;
  background: rgba(5, 19, 32, 0.78);
  backdrop-filter: blur(8px);
}

.quest-entry.hidden {
  display: none;
}

.quest-entry h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: 0;
}

.quest-platform,
.quest-note,
.quest-entry > p {
  margin: 0;
}

.quest-platform {
  color: #5ce7ff;
  font-size: 14px;
  font-weight: 700;
}

.quest-note {
  max-width: 440px;
  color: rgba(234, 248, 255, 0.68);
  font-size: 13px;
}

.quest-mark {
  width: 72px;
  height: 72px;
  border: 5px solid #5ce7ff;
  border-right-color: #ffd45c;
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(92, 231, 255, 0.45);
}

#questStatus {
  min-height: 24px;
  color: rgba(244, 251, 255, 0.82);
}

#questEnter {
  min-width: min(420px, calc(100vw - 40px));
  min-height: 64px;
  margin: 12px 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: #04141d;
  background: #76ecff;
  font: 800 17px/1 "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
}

#questEnter:disabled {
  color: rgba(244, 251, 255, 0.62);
  background: rgba(88, 112, 128, 0.7);
  cursor: default;
}

body.quest-build #ui,
body.quest-build #start,
body.quest-build #settingsPanel,
body.quest-build #pauseOverlay,
body.quest-build #tutorialHud,
body.quest-build #tutorialCompleteOverlay,
body.quest-build #speedLines,
body.quest-build #beatFlash,
body.quest-build #comboFlash,
body.quest-build #debugHud,
body.quest-build #movementDebugHud,
body.quest-build #clearanceDebugHud,
body.quest-build #gravityDebugHud {
  display: none !important;
}

body.quest-build #loading {
  z-index: 20010;
}
