/* ===== 数字並べ ===== */

.nor-hint {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin: 4px 0;
}

.nor-stage {
  width: 100%;
  max-width: 400px;
  background: var(--card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  box-sizing: border-box;
  margin: 6px 0;
}

.nor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.nor-num-btn {
  width: 68px;
  height: 68px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  background: rgba(139, 92, 246, 0.25);
  border: 2px solid rgba(139, 92, 246, 0.5);
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s, opacity 0.15s;
  user-select: none;
  -webkit-user-select: none;
}

.nor-num-btn:active {
  transform: scale(0.9);
}

.nor-num-btn.nor-correct {
  background: rgba(16, 185, 129, 0.35);
  border-color: #10b981;
  color: #10b981;
  pointer-events: none;
}

.nor-num-btn.nor-wrong {
  animation: norWrong 0.4s ease both;
}

@keyframes norWrong {
  0%   { background: rgba(244, 63, 94, 0.4); border-color: #f43f5e; }
  100% { background: rgba(139, 92, 246, 0.25); border-color: rgba(139,92,246,0.5); }
}

.nor-num-btn.nor-pop {
  animation: norPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes norPop {
  0%   { transform: scale(0); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
