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

html, body {
  height: 100%;
  overscroll-behavior: none;
  overflow: hidden;
  background: var(--bg-primary) url('../assets/backgrounds/game-bg.jpg') center center / cover no-repeat fixed;
  color: var(--text-primary);
  font-family: var(--font-primary);
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding-top: max(var(--safe-top), 8px);
  padding-bottom: max(var(--safe-bottom), 16px);
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
