.kenken-container {
  display: flex;
  gap: 20px;
  margin: 20px auto;
  justify-content: center;
}

.kenken-grid {
  border-collapse: collapse;
}

.kenken-grid td {
  width: 60px;
  height: 60px;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  cursor: pointer;
  border: 1px solid #a5a5a5;
  position: relative;
}

.cell-value {
  font-size: 20px;
  line-height: 60px;
}

.cage-label {
  position: absolute;
  top: 2px;
  left: 2px;
  font-size: 12px;
  font-weight: bold;
  color: #444;
  pointer-events: none;
}

.cage-top    { border-top: 3px solid #000 !important; }
.cage-bottom { border-bottom: 3px solid #000 !important; }
.cage-left   { border-left: 3px solid #000 !important; }
.cage-right  { border-right: 3px solid #000 !important; }

.picker {
  display: none;
  flex-direction: column;
  gap: 5px;
}
.picker div {
  width: 40px;
  height: 40px;
  background: #542b0b;
  color: #e9ddbc;
  border: 2px solid #472409;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}
.picker div:hover {
  background: #301906;
}

.buttons { margin-top: 15px; text-align: center; }
.buttons button { margin: 5px; padding: 6px 12px; }
