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

.container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(1rem, 3vw, 2rem);
  text-align: center;
}

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

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

#canvas-area {
  width: 100%;
  min-height: 0;
}

h1 {
  color: #ff7a18;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
}

#desc {
  margin: 0;
  line-height: 1.6;
}

.game-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #14072b;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.game-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.touch-controls button {
  position: absolute;
  border: none;
  border-radius: 16px;
  background: rgba(255, 122, 24, 0.85);
  color: #1a0f2e;
  font: bold 1.1rem sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.touch-controls .hold {
  bottom: 16px;
  width: 84px;
  height: 84px;
  font-size: 1.8rem;
}

.touch-controls [data-control="left"] { left: 16px; }
.touch-controls [data-control="right"] { left: 112px; }
.touch-controls .jump { right: 16px; width: 110px; }
.touch-controls .boost { right: 136px; width: 110px; font-size: 1.1rem; }

.touch-controls .restart {
  top: 12px;
  right: 12px;
  padding: 8px 14px;
  font-size: 0.9rem;
  touch-action: manipulation;
}
