/* Lantern Path: the evening sky fills the space between the top bar and the controls. */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem 0;
}

.play-area {
  position: relative;
  flex: 1;
  min-height: 320px;
  margin-top: 0.5rem;
  border: 3px solid var(--panel-border);
  border-radius: 20px;
  overflow: hidden;
  background: #26314F;
}

:root[data-theme="contrast"] .play-area {
  background: #000000;
}

.play-area canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}

.start-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1rem;
  background: rgba(15, 20, 35, 0.6);
  text-align: center;
}

.start-overlay[hidden] {
  display: none;
}

.start-text {
  margin: 0;
  max-width: 36rem;
  color: #FFFFFF;
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 600;
}

.start-overlay .activity-btn {
  min-height: 60px;
  font-size: 1.15rem;
}

.controls {
  display: flex;
  justify-content: center;
  padding: 1rem 0 0.25rem;
}
