:root {
  color-scheme: dark;
  --black: #000;
  --white: #fff;
  --muted: rgba(255, 255, 255, 0.64);
  --line: rgba(255, 255, 255, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  background: var(--black);
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--white);
  font-family: HelveticaNeue, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 400;
}

button,
input {
  font: inherit;
}

.brand {
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

/* Hidden on the public site; elements stay in the DOM so app.js defaults still apply. */
.nav-actions {
  display: none;
}

.site-footer {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 16px 18px;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 5;
}

.site-footer .brand {
  pointer-events: auto;
}

.location {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
}

.icon-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  transition: background 160ms ease, border-color 160ms ease;
  width: 34px;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.48);
  outline: none;
}

.icon-button.is-active {
  background: var(--white);
  color: var(--black);
}

.icon-button:disabled {
  cursor: wait;
  opacity: 0.5;
}

.icon-button svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 17px;
}

.speed-control,
.size-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 7px;
  height: 34px;
  padding: 0 10px;
}

.speed-control input,
.size-control input {
  accent-color: var(--white);
  height: 18px;
  width: 84px;
}

.range-icon {
  fill: none;
  flex: 0 0 auto;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 15px;
}

.hero {
  background: var(--black);
  height: 100dvh;
  overflow: hidden;
  position: relative;
  width: 100vw;
}

#globeCanvas {
  display: block;
  height: 100%;
  touch-action: none;
  width: 100%;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 620px) {
  .icon-button {
    height: 32px;
    width: 32px;
  }

  .speed-control,
  .size-control {
    padding: 0 8px;
  }

  .speed-control input,
  .size-control input {
    width: 50px;
  }

  .range-icon {
    display: none;
  }

  .site-footer {
    padding: 12px;
  }
}
