/* ============================================================
   Naive 风格弹窗 · 与囍事台酒红/香槟金视觉协调
   ============================================================ */
.nv-mask {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 7, 12, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.nv-mask.show {
  opacity: 1;
  pointer-events: auto;
}
.nv-dialog {
  width: min(430px, 100%);
  max-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(196, 154, 91, 0.32);
  background: linear-gradient(165deg, #FFFDF8 0%, #F8EFE4 100%);
  box-shadow: 0 26px 76px rgba(15, 4, 8, 0.4), 0 2px 8px rgba(15, 4, 8, 0.12);
  transform: translateY(10px) scale(0.97);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.nv-mask.show .nv-dialog {
  transform: translateY(0) scale(1);
}
.nv-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 24px 0;
}
.nv-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}
.nv-icon.is-warning {
  color: #9A6A1E;
  background: rgba(196, 154, 91, 0.16);
  border: 1px solid rgba(196, 154, 91, 0.38);
}
.nv-icon.is-danger {
  color: #B23A48;
  background: rgba(178, 58, 72, 0.1);
  border: 1px solid rgba(178, 58, 72, 0.3);
}
.nv-icon.is-success {
  color: #2F7A4A;
  background: rgba(47, 122, 74, 0.1);
  border: 1px solid rgba(47, 122, 74, 0.26);
}
.nv-icon.is-info {
  color: #8B2635;
  background: rgba(139, 38, 53, 0.08);
  border: 1px solid rgba(139, 38, 53, 0.22);
}
.nv-copy {
  flex: 1;
  min-width: 0;
  max-height: 44vh;
  overflow-y: auto;
  padding-top: 2px;
}
.nv-title {
  margin: 0;
  color: #2E1A20;
  font-family: var(--font-display, "Songti SC", "STSong", serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.nv-content {
  margin: 8px 0 0;
  color: #7A5560;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.nv-body {
  overflow-y: auto;
  padding: 0 24px 4px 66px;
}
.nv-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 24px 22px;
}
.nv-btn {
  min-width: 78px;
  height: 34px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.nv-btn-cancel {
  color: #7A5560;
  border-color: rgba(139, 38, 53, 0.14);
  background: transparent;
}
.nv-btn-cancel:hover {
  background: rgba(139, 38, 53, 0.05);
  border-color: rgba(139, 38, 53, 0.25);
}
.nv-btn-confirm {
  color: #FFF7E8;
  background: linear-gradient(145deg, #9B3041, #6B1C28);
  box-shadow: 0 5px 14px rgba(139, 38, 53, 0.2);
}
.nv-btn-confirm:hover {
  background: linear-gradient(145deg, #A83A4C, #7A2230);
}
.nv-btn-danger {
  background: linear-gradient(145deg, #B94A57, #8F2635);
}
.nv-btn-danger:hover {
  background: linear-gradient(145deg, #C85865, #9E3040);
}
.nv-btn:focus-visible {
  outline: 2px solid rgba(196, 154, 91, 0.75);
  outline-offset: 2px;
}
@media (max-width: 520px) {
  .nv-mask {
    padding: 16px;
  }
  .nv-head {
    padding: 20px 18px 0;
  }
  .nv-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  .nv-actions {
    padding: 18px;
  }
}
