.rm-mask {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 8, 12, 0.66);
  backdrop-filter: blur(2px);
}

.rm-card {
  width: 88%;
  max-width: 360px;
  max-height: 86%;
  overflow-y: auto;
  padding: 16px 14px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1d2a24, #121b17);
  border: 1px solid rgba(244, 210, 122, 0.42);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.rm-card__title {
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffe9a8;
}
.rm-card__sub {
  text-align: center;
  font-size: 11px;
  color: #aebcb3;
  margin: 4px 0 12px;
}

.rm-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  justify-items: center;
}

.rm-empty {
  text-align: center;
  padding: 24px 0;
  color: #aebcb3;
  font-size: 13px;
}

.rm-close {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #3a2708;
  background: linear-gradient(180deg, #ffe7a6, #d89a2a);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.rm-close:active {
  transform: translateY(1px);
}
