:root {
  --board-bg: #dcb35c;
  --line-color: #3a2a15;
  --stone-black: #1a1a1a;
  --stone-black-highlight: #4d4d4d;
  --accent: #7a2e2e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0f0f;
  color: #eee;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

main {
  text-align: center;
  padding: 2rem;
}

h1 {
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.prompt {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.board {
  position: relative;
  width: min(80vw, 480px);
  height: min(80vw, 480px);
  margin: 0 auto;
  background: var(--board-bg);
  border: 2px solid var(--line-color);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.line {
  position: absolute;
  background: var(--line-color);
}

.line.horizontal {
  height: 1px;
}

.line.vertical {
  width: 1px;
}

.point {
  position: absolute;
  width: 12%;
  height: 12%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.point .hit-area {
  width: 100%;
  height: 100%;
}

.stone {
  width: 88%;
  height: 88%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--stone-black-highlight), var(--stone-black) 70%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.status {
  min-height: 1.5em;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.status.solved {
  color: #6bd47a;
  font-weight: bold;
}
