/* NEMAZING payment UI v2 — readable text on all site theme versions.
   Loaded AFTER the v848 theme styles and scoped to the donate page only. */
html body.donate-clean-page .nm50-donate .nmz-account-check{display:block!important;min-height:19px!important;margin:12px 0 0!important;font-size:13px!important;line-height:1.5!important;color:#59677e!important;opacity:1!important;-webkit-text-fill-color:#59677e!important}
html body.donate-clean-page .nm50-donate .nmz-account-check[data-state="ok"]{color:#166534!important;-webkit-text-fill-color:#166534!important}
html body.donate-clean-page .nm50-donate .nmz-account-check[data-state="error"]{color:#b91c1c!important;-webkit-text-fill-color:#b91c1c!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-methods{display:grid!important;gap:10px!important;min-width:0!important;margin:5px 0 0!important;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-methods legend{display:block!important;padding:0!important;margin:0 0 9px!important;color:#202a38!important;-webkit-text-fill-color:#202a38!important;font-size:14px!important;font-weight:750!important;opacity:1!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-methods .nmz-method{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:12px!important;margin:0!important;border:1px solid #dce3ed!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;cursor:pointer!important;opacity:1!important;min-width:0!important;min-height:64px!important;white-space:normal!important;text-decoration:none!important;color:#1d2838!important;-webkit-text-fill-color:#1d2838!important;transition:background .15s,border-color .15s!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-methods .nmz-method:has(input:checked){border-color:#ffa113!important;background:#fffbf5!important;box-shadow:0 0 0 1px rgba(255,161,19,.13)!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-methods .nmz-method:focus-within{outline:2px solid #ffb340!important;outline-offset:2px!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-method input[type="radio"]{appearance:auto!important;-webkit-appearance:radio!important;display:block!important;visibility:visible!important;position:static!important;opacity:1!important;flex:0 0 17px!important;width:17px!important;height:17px!important;min-width:17px!important;margin:0!important;padding:0!important;accent-color:#fe9900!important;pointer-events:auto!important;transform:none!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-method-icon{display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:10px!important;background:#eef0f6!important;color:#273246!important;-webkit-text-fill-color:#273246!important;font-size:21px!important;font-weight:800!important;opacity:1!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-method-icon.nmz-star{background:#fff3d5!important;color:#b77900!important;-webkit-text-fill-color:#b77900!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-method-copy{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important;flex:1!important;opacity:1!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-method-copy b{display:block!important;color:#1b2433!important;-webkit-text-fill-color:#1b2433!important;font-size:14px!important;font-weight:750!important;line-height:1.3!important;opacity:1!important;visibility:visible!important;background:none!important;text-shadow:none!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-method-copy small{display:block!important;color:#667388!important;-webkit-text-fill-color:#667388!important;font-size:12px!important;font-weight:500!important;line-height:1.4!important;opacity:1!important;visibility:visible!important;background:none!important;text-shadow:none!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-stars-note{display:block!important;margin:0!important;color:#586980!important;-webkit-text-fill-color:#586980!important;font-size:12px!important;line-height:1.5!important;opacity:1!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-stars-note[hidden]{display:none!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary #payment-form-status{display:block!important;font-size:12px!important;line-height:1.5!important;color:#4b5c72!important;-webkit-text-fill-color:#4b5c72!important;opacity:1!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary #payment-form-status:empty{display:none!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary #payment-form-status.error{color:#b91c1c!important;-webkit-text-fill-color:#b91c1c!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary #payment-form-status.success{color:#166534!important;-webkit-text-fill-color:#166534!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary #nmz-telegram-reopen{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:8px 12px!important;border-radius:10px!important;border:1px solid #ffe8c5!important;background:#fffbf4!important;color:#dd7a00!important;-webkit-text-fill-color:#dd7a00!important;font-size:13px!important;font-weight:700!important;text-decoration:none!important;opacity:1!important}
html body.donate-clean-page .nm50-donate .nm50-donate-summary #nmz-telegram-reopen[hidden]{display:none!important}
@media(max-width:460px){html body.donate-clean-page .nm50-donate .nm50-donate-summary .nmz-methods .nmz-method{gap:8px!important;padding:10px!important}}

/* Explicit contrast for inputs and labels if the global theme forces white text. */
html body.donate-clean-page .nm50-donate .nm50-donate-block .nm50-field>span{color:#192337!important;-webkit-text-fill-color:#192337!important;opacity:1!important}
html body.donate-clean-page .nm50-donate .nm50-donate-block .nm50-field input.input{background:#fafbfe!important;border:1px solid #dfe4ed!important;color:#192337!important;-webkit-text-fill-color:#192337!important;opacity:1!important}
html body.donate-clean-page .nm50-donate .nm50-donate-block .nm50-field input.input::placeholder{color:#8893a4!important;-webkit-text-fill-color:#8893a4!important;opacity:1!important}
html body.donate-clean-page .nm50-donate .nm50-donate-block .nm50-consent span{color:#536174!important;-webkit-text-fill-color:#536174!important;opacity:1!important}

/* V3 checkout contrast guarantee.
   Critical: legacy nm830 dynamic restyler must be prevented with data-nm830-skip
   on the .nm50-donate element in donate.html. */
html body.donate-clean-page section.nm50-donate,
html body.donate-clean-page section.nm50-donate .nm50-donate-main,
html body.donate-clean-page section.nm50-donate .nm50-donate-block,
html body.donate-clean-page section.nm50-donate .nm50-donate-summary {
  color:#182234!important;
  -webkit-text-fill-color:#182234!important;
}
html body.donate-clean-page section.nm50-donate .nm50-donate-block,
html body.donate-clean-page section.nm50-donate .nm50-donate-summary{
  background:#fff!important;
  background-image:none!important;
}
html body.donate-clean-page section.nm50-donate :is(
  .nm50-donate-block-head h2, .nm50-field>span, .nm50-summary-title strong,
  .nm50-summary-list strong, .nm50-summary-total strong, .nm50-donate-head h1,
  .nm50-presets button, .nm50-presets button b, .nm50-summary-title,
  .nmz-methods legend, .nmz-method-copy b, .nm50-summary-list,
  .nm50-credit, .nm50-credit strong
){color:#182234!important;-webkit-text-fill-color:#182234!important;text-shadow:none!important;opacity:1!important}
html body.donate-clean-page section.nm50-donate :is(
  .nm50-donate-block-head p, .nm50-field input::placeholder,
  .nm50-donate-head p, .nm50-summary-title span,
  .nm50-summary-list span, .nm50-summary-total span,
  .nm50-consent span, .nm50-summary-title small,
  .nmz-method-copy small, .nmz-stars-note
){color:#596779!important;-webkit-text-fill-color:#596779!important;opacity:1!important}
html body.donate-clean-page section.nm50-donate :is(input#nickname,input#email,input#amount){
  color:#172333!important;-webkit-text-fill-color:#172333!important;
  background-color:#f9fafc!important;
  opacity:1!important;
}
html body.donate-clean-page section.nm50-donate :is(input#nickname,input#email,input#amount)::placeholder{
  color:#8290a2!important;-webkit-text-fill-color:#8290a2!important;opacity:1!important;
}
html body.donate-clean-page section.nm50-donate .nmz-methods .nmz-method,
html body.donate-clean-page section.nm50-donate .nmz-methods .nmz-method .nmz-method-copy{
  background-color:#fff!important; color:#172333!important; -webkit-text-fill-color:#172333!important;
}
html body.donate-clean-page section.nm50-donate .nmz-methods .nmz-method:has(input:checked){
  background-color:#fff7ed!important;border-color:#f39b45!important;
}
html body.donate-clean-page section.nm50-donate .nmz-methods .nmz-method .nmz-method-copy b{
  color:#172333!important;-webkit-text-fill-color:#172333!important;
}
html body.donate-clean-page section.nm50-donate .nmz-methods .nmz-method .nmz-method-copy small{
  color:#657384!important;-webkit-text-fill-color:#657384!important;
}
html body.donate-clean-page section.nm50-donate .nm50-donate-submit,
html body.donate-clean-page section.nm50-donate .nm50-donate-submit span{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body.donate-clean-page section.nm50-donate .nm50-donate-step{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body.donate-clean-page section.nm50-donate .nmz-account-check[data-state="ok"],
html body.donate-clean-page section.nm50-donate .payment-form-status.success{
  color:#166534!important;-webkit-text-fill-color:#166534!important;
}
html body.donate-clean-page section.nm50-donate .nmz-account-check[data-state="error"],
html body.donate-clean-page section.nm50-donate .payment-form-status.error{
  color:#b91c1c!important;-webkit-text-fill-color:#b91c1c!important;
}
/* Bring legacy dark mode on this single page back to the same light payment cards. */
html.nm-dark body.donate-clean-page section.nm50-donate .nmz-methods .nmz-method,
html.nm-dark body.donate-clean-page section.nm50-donate .nm50-donate-block,
html.nm-dark body.donate-clean-page section.nm50-donate .nm50-donate-summary{
  background:#fff!important;color:#182234!important;-webkit-text-fill-color:#182234!important;
}
