
.reply-mask,
.del-mask,
.confirm-mask,
.help-mask,
.user-info-mask {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.reply-mask.show,
.del-mask.show,
.confirm-mask.show,
.help-mask.show,
.user-info-mask.show {
  opacity: 1;
}

@keyframes mhpMaskIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes mhpPopIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.login-mask,
.pop-mask,
.popup-mask {
  animation: mhpMaskIn 0.2s ease both;
}
.login-pop,
.pop-box,
.popup-mask .popup {
  animation: mhpPopIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mhpMaskOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes mhpPopOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(10px); }
}
.mhp-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  animation: mhpMaskIn 0.2s ease both;
}
.mhp-pop {
  width: 100%;
  max-width: 340px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 8px 24px rgba(100, 145, 200, 0.14);
  animation: mhpPopIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mhp-mask.closing {
  animation: mhpMaskOut 0.18s ease both;
}
.mhp-mask.closing .mhp-pop {
  animation: mhpPopOut 0.18s ease both;
}
.mhp-pop-title {
  margin-bottom: 12px;
  color: #4a78a8;
  font-size: 17px;
  font-weight: 600;
}
.mhp-pop-msg {
  margin-bottom: 20px;
  color: #4a78a8;
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-line;
  word-break: break-word;
}
.mhp-pop-code {
  margin: -8px 0 20px;
  padding: 10px;
  border-radius: 12px;
  background: #f0f7ff;
  color: #2b5496;
  font-size: 16px;
  letter-spacing: 1px;
  user-select: all;
  word-break: break-all;
}
.mhp-pop-btns {
  display: flex;
  gap: 10px;
}
.mhp-btn {
  flex: 1;
  border: none;
  border-radius: 14px;
  padding: 11px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.mhp-btn-cancel {
  background: #e7eff8;
  color: #4a78a8;
}
.mhp-btn-ok {
  background: #6b9dc8;
  color: #ffffff;
}
.mhp-btn-ok:hover {
  background: #5482b3;
}
.mhp-btn-ok.danger {
  background: #e26464;
}
.mhp-btn-ok.danger:hover {
  background: #c95b5b;
}
.mhp-btn:disabled {
  background: #b8c8d8;
  color: #ffffff;
  cursor: not-allowed;
}
.mhp-form-item {
  margin-bottom: 12px;
  text-align: left;
}
.mhp-form-item label {
  display: block;
  margin-bottom: 6px;
  color: #4a78a8;
  font-size: 13px;
}
.mhp-form-item input {
  width: 100%;
  border: 1px solid #d8e7f7;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mhp-form-item input:focus {
  border-color: #6b9dc8;
  box-shadow: 0 0 0 3px rgba(107, 157, 200, 0.15);
}
.mhp-form-error {
  min-height: 20px;
  margin-bottom: 10px;
  color: #c95b5b;
  font-size: 13px;
  text-align: left;
}

.no-enter-anim > * {
  animation: none !important;
  opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
