/* Cube Unfold — 3D cube reference, pick the matching net */

.cube-unfold-game .cu-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.15fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .cube-unfold-game .cu-layout {
    grid-template-columns: 1fr;
  }
}

.cube-unfold-game .cu-reference,
.cube-unfold-game .cu-answers-panel {
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  min-width: 0;
}

.cube-unfold-game .cu-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

.cube-unfold-game .cu-reference h3,
.cube-unfold-game .cu-answers-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.cube-unfold-game .cu-lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.cube-unfold-game .cu-answers-title {
  margin-bottom: 14px;
}

.cube-unfold-game .cu-hint {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
  line-height: 1.45;
}

.cube-unfold-game button.cu-net-option {
  height: auto;
  min-height: 0;
  width: 100%;
  margin: 0;
  padding: 12px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: #fff;
  color: #111827;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.cube-unfold-game button.cu-net-option:hover:not(:disabled):not(.is-correct):not(.is-wrong) {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}

.cube-unfold-game button.cu-net-option:disabled {
  cursor: default;
  opacity: 1;
}

.cube-unfold-game .cu-net-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cube-unfold-game button.cu-net-option.is-correct {
  border-color: #16a34a;
  background: #dcfce7;
  color: #111827;
}

.cube-unfold-game button.cu-net-option.is-wrong {
  border-color: #dc2626;
  background: #fee2e2;
  color: #111827;
  animation: cube-shake 0.35s ease;
}

#cuTotalTimer.is-low {
  color: #dc2626;
}

.graph-line.cubeUnfold {
  stroke: #d97706;
}

.graph-area.cubeUnfold {
  fill: #d97706;
}

.graph-dot.cubeUnfold {
  stroke: #d97706;
}
