* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body,
#app {
  min-height: 100%;
}

html {
  background: #f8fafc;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8fafc;
  color: #171717;
  min-height: 100vh;
  min-height: 100dvh;
}

button,
input,
textarea {
  font: inherit;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(142, 142, 147, 0.35);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

::selection {
  background: rgba(42, 171, 238, 0.22);
}

html.dark {
  background:
    radial-gradient(circle at 20% 10%, rgba(42, 171, 238, 0.08), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(52, 199, 89, 0.06), transparent 40%),
    #0e0e10;
}

html.dark body {
  background:
    radial-gradient(circle at 20% 10%, rgba(42, 171, 238, 0.08), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(52, 199, 89, 0.06), transparent 40%),
    #0e0e10;
  color: #ffffff;
}

.bg-app-shell {
  position: relative;
  background: #f8fafc;
}

html.dark .bg-app-shell {
  background: transparent;
}

html.dark .bg-app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 2px 2px;
  opacity: 0.35;
}
