.puzzle-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #111827 0%, #020617 100%);
  color: #fff;
  overflow: hidden;
}

.puzzle-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
}

.puzzle-hud {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.puzzle-board-wrap {
  display: grid;
  place-items: center;
  padding: 16px;
}

.puzzle-board {
  width: min(88vw, 360px);
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: #1e293b;
  padding: 10px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.puzzle-tile {
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  color: #fff;
  border: 0;
  user-select: none;
}

.puzzle-tile.empty {
  background: #0f172a;
}

.puzzle-actions {
  padding: 14px;
  display: flex;
  justify-content: center;
}

.puzzle-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
}
