.modal__content.upgrade-note__content {
  width: min(92vw, 32rem);
  max-width: min(92vw, 32rem);
  padding: 2.25rem 2.25rem 2.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f3f5ff 100%);
  border-radius: 1.5rem;
  box-shadow: 0 12px 35px rgba(65, 70, 125, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .modal__content.upgrade-note__content {
    width: min(85vw, 34rem);
    max-width: min(85vw, 34rem);
    padding: 2.5rem 2.4rem 2.75rem;
  }
}

.upgrade-note__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  color: #1f2937;
}

.upgrade-note__copy h3,
.upgrade-note__copy .modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  color: #1e1b3a;
}

.upgrade-note__copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  letter-spacing: 0.15px;
}

.upgrade-note__copy .upgrade-note__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.upgrade-note__copy .upgrade-note__item span:last-child {
  flex: 1;
}

.upgrade-note__hint {
  font-size: 0.95rem;
  color: #4b5563;
}

.upgrade-note__copy ol,
.upgrade-note__copy ul {
  margin: 0;
  padding-left: 1.35rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.upgrade-note__copy li + li {
  margin-top: 0.35rem;
}

.upgrade-note__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(0.15rem);
}

.upgrade-note__actions,
.modal-buttons.upgrade-note__actions {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.upgrade-note__actions .btn-modal-ok {
  background: linear-gradient(90deg, #7c3aed, #4f46e5);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.upgrade-note__actions .btn-modal-ok:hover,
.upgrade-note__actions .btn-modal-ok:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.55);
}

.upgrade-note__actions .btn-modal-ok:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.55);
  outline-offset: 3px;
}

.upgrade-note__actions .btn,
.upgrade-note__actions .btn.btn-ghost {
  font-weight: 600;
}

.upgrade-note__actions .btn.btn-ghost {
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
}

.upgrade-note__content .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
  font-weight: 600;
  font-size: 0.9rem;
}

@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.pulse {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(124, 58, 237, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
  }
  100% {
    box-shadow: 0 0 0 rgba(124, 58, 237, 0.3);
  }
}

[data-theme="dark"] .modal__content.upgrade-note__content {
  background: linear-gradient(135deg, #141728 0%, #1f2540 100%);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.65);
}

[data-theme="dark"] .upgrade-note__copy {
  color: #e2e8f0;
}

[data-theme="dark"] .upgrade-note__copy h3,
[data-theme="dark"] .upgrade-note__copy .modal-title {
  color: #f8fafc;
}

[data-theme="dark"] .upgrade-note__copy p,
[data-theme="dark"] .upgrade-note__copy ol,
[data-theme="dark"] .upgrade-note__copy ul {
  color: #e2e8f0;
}

[data-theme="dark"] .upgrade-note__hint {
  color: #cbd5f5;
}

[data-theme="dark"] .upgrade-note__actions .btn-modal-ok {
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.45);
}
