/* Sunny Town – global page styles. Fonts are bundled (OFL), nothing is fetched from the net. */
@font-face {
  font-family: 'Lilita One';
  src: url('./assets/fonts/LilitaOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Nunito';
  src: url('./assets/fonts/Nunito.ttf') format('truetype');
  font-weight: 200 1000;
  font-style: normal;
  font-display: block;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #3b8fd9;
  touch-action: none;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Nunito', Arial, sans-serif;
}

#game {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #3b8fd9;
}

#game canvas {
  display: block;
  touch-action: none;
  image-rendering: auto;
}

/* Hidden probe: the UI scene reads env(safe-area-inset-*) from this element's computed padding. */
#safe-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  visibility: hidden;
  pointer-events: none;
  padding-top: env(safe-area-inset-top, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
}
