body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background-color: #f3f4f6;
  color: #1a202c;
  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: #4b5563;
  font-size: 1rem;
}

#canvas-area {
  position: fixed;
  inset: 0;
}

.container:has(#canvas-area) {
  padding: 0;
  min-height: 0;
  gap: 0;
}

body:has(#canvas-area) {
  overflow: hidden;
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.pad {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.pad-group {
  display: flex;
  gap: 12px;
}

.pad button {
  pointer-events: auto;
  width: 72px;
  height: 72px;
  border: none;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 28px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

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

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