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

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  padding: var(--statusbar-h) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  overscroll-behavior: none;
  background: transparent;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--statusbar-h);
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(108, 195, 240, 0.35) 30%, rgba(108, 195, 240, 0.35) 64%, var(--amber) 70%, transparent 74%) bottom / 100% 1px no-repeat,
    linear-gradient(180deg, var(--bg-deep), rgba(6, 8, 10, 0.86));
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(130% 95% at 50% 0%, var(--bg-top) 0%, var(--bg) 48%, var(--bg-deep) 100%);
}

#app {
  height: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

button:disabled {
  cursor: default;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
