/* NodoPin voluntary support: isolated premium surfaces, theme-aware. */
.np-support-dialog {
  width: min(94vw, 700px);
  max-width: 700px;
  max-height: min(92dvh, 820px);
  padding: 0;
  overflow: auto;
  border: 1px solid #34566e;
  border-radius: 28px;
  color: #edf7ff;
  background: #102234;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .52);
}
.np-support-dialog::backdrop {
  background: rgba(3, 10, 19, .76);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
.np-support-dialog[open] { animation: npSupportIn .22s ease-out both; }
@keyframes npSupportIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.np-support-dialog-inner {
  position: relative;
  padding: clamp(24px, 5vw, 42px);
  text-align: center;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(54, 171, 207, .19), transparent 43%),
    radial-gradient(ellipse at 100% 100%, rgba(103, 90, 238, .16), transparent 45%),
    #102234;
}
.np-support-dialog-logo {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  padding: 9px;
  object-fit: contain;
  border: 1px solid rgba(135, 201, 228, .24);
  border-radius: 21px;
  background: rgba(255,255,255,.07);
}
.np-support-kicker {
  margin: 0 0 9px !important;
  color: #7fe2e4 !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: .19em;
}
.np-support-title {
  margin: 0 auto 13px !important;
  max-width: 560px;
  color: #f2f8ff !important;
  font-size: clamp(28px, 5vw, 40px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.045em !important;
}
.np-support-copy {
  max-width: 560px;
  margin: 0 auto 22px !important;
  color: #b6cbd9 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.np-support-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  max-width: 540px;
  margin: 0 auto 22px;
}
.np-support-amounts span {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 8px 5px;
  border: 1px solid rgba(144, 192, 220, .27);
  border-radius: 12px;
  background: rgba(255,255,255,.065);
  color: #eaf7ff;
  font-size: 13px;
  font-weight: 750;
}
.np-support-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto;
}
.np-support-actions .primary,
.np-support-actions .quiet {
  display: flex;
  width: 100%;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  text-decoration: none;
  white-space: normal;
}
.np-support-actions .primary { color: #082b39; }
.np-support-actions .quiet { color: #d9edf8; }
.np-support-foot {
  max-width: 540px;
  margin: 17px auto 0 !important;
  color: #8faabb !important;
  font-size: 11px !important;
  line-height: 1.6 !important;
}
.np-support-settings {
  position: relative;
  overflow: hidden;
  border-color: #34576e;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(61, 164, 205, .12), transparent 46%),
    #162b3b;
}
.np-support-settings-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}
.np-support-settings-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
  padding: 6px;
  border: 1px solid rgba(133, 194, 220, .25);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
}
.np-support-settings h3 { margin: 0 0 5px !important; }
.np-support-settings .help { line-height: 1.6; }
.np-support-settings .np-support-amounts { margin: 12px 0 14px; }
.np-support-settings .np-support-amounts span { min-height: 36px; font-size: 12px; }
.np-support-settings .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
html[data-np-theme="light"] .np-support-dialog {
  border-color: #c6dce9;
  color: #17384e;
  background: #f7fbff;
  box-shadow: 0 25px 90px rgba(17, 49, 73, .28);
}
html[data-np-theme="light"] .np-support-dialog-inner {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(70, 180, 205, .16), transparent 43%),
    radial-gradient(ellipse at 100% 100%, rgba(115, 122, 236, .11), transparent 45%),
    #f7fbff;
}
html[data-np-theme="light"] .np-support-title { color: #17384e !important; }
html[data-np-theme="light"] .np-support-copy { color: #526f82 !important; }
html[data-np-theme="light"] .np-support-amounts span {
  border-color: #c8dce8;
  background: rgba(255,255,255,.82);
  color: #234a61;
}
html[data-np-theme="light"] .np-support-actions .quiet {
  border-color: #bfd5e2;
  background: #edf5fa;
  color: #254b61;
}
html[data-np-theme="light"] .np-support-foot { color: #5d7889 !important; }
html[data-np-theme="light"] .np-support-settings {
  border-color: #c4dce8;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(61, 164, 205, .12), transparent 46%),
    #f7fbff;
}
html[data-np-theme="light"] .np-support-settings-logo {
  border-color: #c5dce8;
  background: #edf6fb;
}
@media (max-width: 520px) {
  .np-support-dialog { width: calc(100vw - 20px); border-radius: 22px; }
  .np-support-dialog-inner { padding: 23px 17px; }
  .np-support-amounts { gap: 6px; }
  .np-support-amounts span { min-height: 40px; font-size: 11px; }
  .np-support-settings-head { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .np-support-dialog[open] { animation: none; }
}
