@font-face {
  font-family: "BUUGS SF Rounded";
  src: url("TemplateData/SF-Pro-Rounded-Semibold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --page-bg: #f6f4ef;
  --page-bg-2: #efede7;
  --text: #101010;
  --muted: rgba(16, 16, 16, 0.7);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: radial-gradient(circle at top, #fbfaf7 0%, var(--page-bg) 58%, var(--page-bg-2) 100%);
  color: var(--text);
  font-family: "BUUGS SF Rounded", "SF Pro Rounded", "Arial Rounded MT Bold", Arial, sans-serif;
}

body {
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#page {
  position: relative;
  width: 100%;
  height: 100%;
}

#unity-shell {
  position: absolute;
  inset: 0;
}

#unity-canvas {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
}

#loading-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 250, 247, 0.72);
  transition: opacity 160ms ease;
  pointer-events: none;
}

#loading-cover.is-hidden {
  opacity: 0;
  pointer-events: none;
}

#loading-bar {
  width: min(240px, 56vw);
  height: 8px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.08);
  overflow: hidden;
}

#loading-fill {
  width: 0;
  height: 100%;
  background: #111111;
  transition: width 120ms linear;
}
