:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #090b0f;
  color: #f4f6fb;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 15%, rgb(116 199 236 / 15%), transparent 35%),
    #090b0f;
}

#xr-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

main {
  position: relative;
  z-index: 1;
  width: min(34rem, calc(100% - 2rem));
  margin: max(2rem, env(safe-area-inset-top)) auto max(2rem, env(safe-area-inset-bottom));
  padding: clamp(1.25rem, 5vw, 2rem);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 1.25rem;
  background: rgb(9 11 15 / 88%);
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 35%);
  backdrop-filter: blur(1rem);
}

.eyebrow {
  margin: 0;
  color: #74c7ec;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin-block: 0.5rem 1.25rem;
  font-size: clamp(2.4rem, 12vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

#status {
  margin-bottom: 0.35rem;
  color: #f4f6fb;
  font-size: 1.15rem;
  font-weight: 700;
}

#detail {
  min-height: 3em;
  margin-top: 0;
  color: #bac2de;
  line-height: 1.5;
}

.actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

button {
  min-height: 3.25rem;
  padding: 0.8rem 1.2rem;
  border: 0;
  border-radius: 0.8rem;
  background: #74c7ec;
  color: #081015;
  font: inherit;
  font-weight: 800;
}

button.secondary {
  background: #313244;
  color: #f4f6fb;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

[hidden] {
  display: none !important;
}
