:root {
  color-scheme: light dark;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  --paper: #eff2f5;
  --reflection: rgba(183, 214, 226, 0.17);
  --violet: rgba(204, 196, 233, 0.15);
  --halo: #ffffff;
  --middle: #f6f7f9;
  --ink: #202436;
  --accent: #464e85;
  color: var(--ink);
  background: var(--paper);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #02050b;
    --reflection: rgba(24, 96, 118, 0.16);
    --violet: rgba(66, 46, 128, 0.14);
    --halo: #0b1622;
    --middle: #060b14;
    --ink: #f4f0e8;
    --accent: #a8afdd;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--air, 1);
  background:
    radial-gradient(ellipse at 13% 68%, var(--reflection), transparent 55%),
    radial-gradient(ellipse at 88% 21%, var(--violet), transparent 49%),
    radial-gradient(
      ellipse at 53% 48%,
      var(--halo),
      var(--middle) 39%,
      var(--paper) 76%
    );
}
#surface,
#field,
#medium {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
#surface {
  touch-action: pinch-zoom;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#surface:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -4px;
}
#medium {
  pointer-events: none;
}
.assistive {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
