* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
  color: #eee;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

#app {
  text-align: center;
}

h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
  color: #00d4ff;
}

.board-wrap {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
}

#board {
  border: 2px solid #444;
  background: #0f0f23;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 140px;
}

.panel-block {
  background: #16213e;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.6rem 1rem;
}

.panel-block h2 {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.panel-block p {
  margin: 0;
  font-size: 1.4rem;
  font-weight: bold;
  color: #00d4ff;
}

#status {
  font-size: 0.8rem;
  font-weight: normal;
  color: #bbb;
  line-height: 1.4;
}

#next {
  background: #0f0f23;
  display: block;
  margin: 0 auto;
}

#restart {
  margin-top: 1rem;
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 6px;
  background: #00d4ff;
  color: #0f0f23;
  font-weight: bold;
  cursor: pointer;
}

#restart:hover {
  background: #33ddff;
}
