* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: #111;
  color: #eee;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}
.layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 12px;
}
.side {
  width: 140px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.side h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
  color: #aaa;
}
.key-hint { font-weight: normal; }
.stats div {
  display: flex;
  justify-content: space-between;
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 6px 8px;
  margin-bottom: 6px;
  font-size: 14px;
}
.board-wrap {
  position: relative;
}
#board {
  background: #000;
  border: 2px solid #333;
  border-radius: 6px;
  display: block;
}
#hold, #next {
  background: #000;
  border: 1px solid #333;
  border-radius: 6px;
}
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 6px;
  font-size: 28px;
  font-weight: 700;
}
.overlay-sub {
  font-size: 14px;
  font-weight: 400;
  color: #ccc;
  margin-top: 8px;
}
.hidden { display: none; }
.help { font-size: 12px; color: #aaa; }
.help p { margin: 4px 0; }
