*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none !important;
}

html {
  direction: rtl;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  touch-action: manipulation;
}

body {
  margin: 0;
  min-height: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
  touch-action: manipulation;
}

html.is-drawing-letters,
body.is-drawing-letters {
  overflow: hidden !important;
  touch-action: none !important;
  overscroll-behavior: none !important;
}

h1,
h2,
h3,
p {
  margin: 0;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
  pointer-events: none;
}

button,
a,
[role='button'],
.nav-item,
.game-letter,
.chip,
.stage-chip,
.about-member,
.about-section {
  font-family: inherit;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-touch-callout: none !important;
}

button:focus,
button:focus-visible,
a:focus,
a:focus-visible {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
