:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: oklch(0 0 none);
  color: oklch(0.9 0.005 250);
}

* { box-sizing: border-box; }

body {
  display: grid;
  place-items: center;
  min-block-size: 100svh;
  margin: 0;
}

.scene {
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  inline-size: 100vw;
  block-size: 100svh;
}

.scene > * { grid-area: 1 / 1; }

.earth {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  min-inline-size: 0;
  min-block-size: 0;
  touch-action: none;
  cursor: grab;
}

.earth:active { cursor: grabbing; }

.earth:focus-visible {
  outline: 2px solid oklch(0.87 0.08 220);
  outline-offset: -4px;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: clip;
  clip-path: inset(50%);
  white-space: nowrap;
}

.error {
  max-inline-size: 28ch;
  margin: 1rem;
  text-align: center;
  line-height: 1.5;
}

[hidden] { display: none; }
