/* 거꾸로 숫자 기억 테스트 전용. 판 모양은 memory.css(.mem-*, .nm-*)를 같이 쓰고, 한 자리씩 보여 주는 부분만 여기 둔다. */
.bd-show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.bd-digit {
  display: grid;
  place-items: center;
  width: clamp(130px, 40vw, 190px);
  height: clamp(150px, 46vw, 210px);
  margin: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  font-size: clamp(5rem, 26vw, 8rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bd-digit.ready {
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  opacity: 0.85;
}
.bd-digit.blank {
  background: rgba(255, 255, 255, 0.08);
}
.bd-digit.flash {
  animation: bd-flash 0.18s ease-out;
}
@keyframes bd-flash {
  from {
    transform: scale(0.86);
    opacity: 0.4;
  }
}
.bd-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
}
.bd-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.bd-dots span.on {
  background: #fff;
}
.bd-hint {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.9;
  text-align: center;
}
.bd-count {
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.9;
  font-variant-numeric: tabular-nums;
}
.bd-vs {
  margin: 18px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
}
.bd-vs a {
  color: var(--brand);
  font-weight: 800;
  white-space: nowrap;
}
.bd-shown {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .bd-digit.flash {
    animation: none;
  }
}
