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

html,
body {
  width: 100%;
  height: 100%;
  background: #f7f7f7;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  overflow: hidden;
}

.hidden {
  display: none;
}

.icon {
  display: none;
}

#offline-resources {
  display: none;
}

.interstitial-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  background: #f7f7f7;
}

.arcade-mode,
.arcade-mode .runner-container,
.arcade-mode .runner-canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.arcade-mode .interstitial-wrapper {
  min-height: 100vh;
}

.arcade-mode .runner-container {
  position: relative;
  left: auto;
  right: auto;
  margin: 0;
  transform: none;
}

.runner-container {
  position: relative;
  width: 600px;
  max-width: 100%;
  height: 150px;
  overflow: hidden;
}

.runner-canvas {
  display: block;
  width: 600px;
  max-width: 100%;
  height: 150px;
}

.controller {
  background: rgba(247, 247, 247, 0.1);
  height: 100vh;
  left: 0;
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: 1;
}
