body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background-color: #0b0b16;
  color: #f5f5ff;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 0.5rem;
  text-align: center;
}

.welcome {
  width: min(100%, 48rem);
  flex: 0 0 auto;
}

.workshop-welcome,
.workshop-theme {
  margin: 0 0 0.25rem;
  color: #a5b4fc;
  font-size: 1rem;
}

#canvas-area {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}

h1 {
  color: #ffd84d;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  margin: 0 0 0.2rem;
  letter-spacing: 0.04em;
}

#desc {
  margin: 0;
  line-height: 1.3;
  color: #c7d2fe;
  font-size: 0.95rem;
}

#game-stage {
  position: absolute;
  inset: 0;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
  border-radius: 8px;
}

#game-stage:focus-visible {
  box-shadow: 0 0 0 3px #ffd84d;
}

#game-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
