:root {
  color-scheme: dark;
  --gb-black: #08060d;
  --gb-gold: #f5b82e;
  --gb-pink: #ec168c;
  --gb-violet: #8b5cf6;
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
}

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

html,
body {
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  position: fixed;
  inset: 0;
  font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  background: #08060d;
}

#app {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  height: -webkit-fill-available;
  overflow: hidden;
  background: #08060d;
  margin: 0;
  padding: 0;
}

#app canvas {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

#rotate-tip {
  display: none;
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 50;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(8, 6, 13, 0.82);
  color: #f5f5f7;
  font-size: 13px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#rotate-tip.show-soft {
  display: block;
  opacity: 1;
}

#safe-probe {
  position: fixed;
  visibility: hidden;
  pointer-events: none;
}
