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

:root {
  --bg:        #000000;
  --bg-2:      #0a0a0a;
  --bg-3:      #141414;
  --bg-4:      #1c1c1e;
  --border:    #1f1f1f;
  --border-2:  #2a2a2a;
  --text:      #ffffff;
  --text-2:    #8e8e93;
  --text-3:    #3a3a3c;
  --accent:    #0a84ff;
  --accent-2:  #0066cc;
  --green:     #30d158;
  --yellow:    #ffd60a;
  --red:       #ff453a;
  --font:      -apple-system, 'SF Pro Display', 'Helvetica Neue', system-ui, sans-serif;
  --mono:      'SF Mono', 'JetBrains Mono', 'Courier New', monospace;
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
}

html {
  height: 100%;
  background: var(--bg);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

::selection {
  background: var(--accent-2);
  color: var(--text);
}

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

::-webkit-scrollbar { width: 0; height: 0; }

input, textarea {
  font-family: var(--font);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
