@font-face {
  font-family: "Inter";
  src: local("Inter"), local("Inter Regular");
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #fff;
  color: #000;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
main {
  width: 100%;
  max-width: 1100px;
  box-sizing: border-box;
  padding: 12px;
}
h1 {
  font-size: 2em;
  margin: 0 0 12px;
}
p {
  margin: 6px 0;
}
#title-card {
  position: relative;
  aspect-ratio: 2559 / 1599;
  min-height: 360px;
}
#title-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  user-select: none;
  -webkit-user-select: none;
}
#title-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#title-text p {
  max-width: 560px;
  font-size: 1.1em;
}
#title-text button {
  margin-top: 16px;
  font: inherit;
  padding: 4px 24px;
}
#stage {
  width: 100%;
  overflow: hidden;
}
#game-image {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  transform-origin: 0 0;
  transition: transform 0.2s ease-out;
  user-select: none;
  -webkit-user-select: none;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='11' fill='none' stroke='red' stroke-width='2'/%3E%3Cpath d='M16 0v32M0 16h32' stroke='red'/%3E%3Ccircle cx='16' cy='16' r='1.5' fill='red'/%3E%3C/svg%3E") 16 16, crosshair;
}
#game-image.reloading {
  cursor: not-allowed;
}
progress {
  width: 200px;
  vertical-align: middle;
}
#message {
  min-height: 1.4em;
}
#end-text {
  font-size: 1.5em;
}
#confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}