html, body {
  width: 100%;
  height: 100%;
  width: 100dvw;
  height: 100dvh;
  overflow: hidden;
  background: #060b16;
}

#app,
.view {
  width: 100dvw;
  height: 100dvh;
}


#starfield {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#ufoFlyer {
  position: absolute;
  left: 0;
  top: 0;
  width: min(128px, 19vw);
  height: auto;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  filter: blur(0.2px) brightness(1) drop-shadow(0 0 10px rgba(106, 244, 246, 0.55));
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  animation: ufoGlow 4.2s ease-in-out infinite;
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 42px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.switch .slider::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  top: 2px;
  border-radius: 50%;
  background: #e7f5ff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease;
}

.switch input:checked + .slider {
  background: rgba(120, 255, 246, 0.22);
  border-color: rgba(120, 255, 246, 0.55);
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.switch input:focus-visible + .slider {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

@keyframes ufoGlow {
  0% {
    filter: blur(0.2px) brightness(0.95) drop-shadow(0 0 8px rgba(106, 244, 246, 0.35));
  }
  50% {
    filter: blur(0.2px) brightness(1.35) drop-shadow(0 0 18px rgba(106, 244, 246, 0.7));
  }
  100% {
    filter: blur(0.2px) brightness(1) drop-shadow(0 0 12px rgba(106, 244, 246, 0.5));
  }
}
