@import "tailwindcss";

@layer base {
  html, body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  }
}

/* Prevent scrollbars and rubber-banding on game screen */
html.no-scroll,
body.no-scroll,
.no-scroll {
  overflow: hidden !important;
  height: 100% !important;
  max-height: 100dvh !important;
  overscroll-behavior: none !important;
  touch-action: manipulation;
  -webkit-overflow-scrolling: auto;
}

/* Hide scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom color input aesthetic */
input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 0.5rem;
}
