*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #05060c;
  color: #c8d0e0;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
}

#globe-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  outline: none;
}

#hud {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.hud-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.hud-hint {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  opacity: 0.55;
}

#loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  background: #05060c;
  transition: opacity 0.4s ease;
}

#loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}

#credits {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: min(22rem, 90vw);
  font-size: 0.68rem;
  line-height: 1.45;
  text-align: right;
  opacity: 0.5;
  pointer-events: auto;
}

#credits a {
  color: inherit;
  text-decoration: none;
}

#credits a:hover {
  opacity: 1;
  text-decoration: underline;
}
