/* ============================================================
   omok (오목) STYLES
   ============================================================ */

#omok-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  user-select: none;
}

/* Canvas board */
#omok-canvas {
  display: block;
  width: min(480px, 94vw);
  height: min(480px, 94vw);
  cursor: crosshair;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}

/* Controls */
#omok-controls {
  width: min(480px, 94vw);
  margin-top: 14px;
}

#game-status {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 12px;
  background: #fdf6e3;
  border: 1px solid #c8a050;
  border-radius: 6px;
  margin-bottom: 12px;
  color: #4a3000;
}

.ctrl-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.ctrl-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
  display: block;
  text-align: center;
}

.ctrl-group { text-align: center; }

/* Buttons */
.gm-btn {
  padding: 7px 16px;
  border: 1px solid #c8a050;
  border-radius: 5px;
  background: #fdf6e3;
  cursor: pointer;
  font-size: 14px;
  color: #4a3000;
  transition: background 0.15s, border-color 0.15s;
}
.gm-btn:hover { background: #f0dea0; }
.gm-btn.active {
  background: #7a4f1e;
  color: #fff;
  border-color: #7a4f1e;
}

.diff-btn, .stone-btn { min-width: 70px; }

.new-game-btn {
  background: #7a4f1e;
  color: #fff;
  border-color: #7a4f1e;
  font-weight: bold;
  padding: 8px 28px;
}
.new-game-btn:hover { background: #5c3a12; }

/* Stone color buttons */
#stone-1 { font-size: 15px; }
#stone-2 { font-size: 15px; }

/* Hint text */
.hint-text {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-top: 4px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 520px) {
  #omok-canvas { width: 94vw; height: 94vw; }
  #omok-controls { width: 94vw; }
}
