.memoryage-logo { width: 44px; height: 44px; }

.memoryage-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* ✅ 기본: 초록 버튼(숫자 선명) */
.mab {
  width: 100%;
  padding: 18px 0;
  font-weight: 800;
  font-size: 1.55rem;
  border-radius: 16px;
  border: 2px solid rgba(0,0,0,0.08);
  background: #1f9d55;        /* green */
  color: #ffffff;              /* white number (high contrast) */
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  transition: transform 80ms ease, filter 80ms ease, box-shadow 80ms ease;
}

.mab:disabled {
  opacity: 0.75;
  filter: saturate(0.85);
  cursor: not-allowed;
}

/* ✅ 점등(반짝): 빨강 */
.mab.lit {
  background: #dc3545;         /* red */
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.25);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* 클릭 피드백(유저 누름) */
.mab.pressed {
  transform: translateY(1px);
  filter: brightness(0.96);
}

.sequence-view {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,0.08);
}

.seq-item {
  display: inline-block;
  min-width: 26px;
  text-align: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  margin: 2px 0;
  font-weight: 800;
}

.seq-item.fail {
  background: #ffe3e3;
  border-color: rgba(220,53,69,0.35);
}

.sep {
  margin: 0 6px;
  color: rgba(0,0,0,0.35);
}

.leaderboard {
  padding-left: 18px;
  margin: 0;
}

.leaderboard li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.leaderboard .name { font-weight: 700; }
