.donate-page {
  --donate-gradient: linear-gradient(120deg, var(--brand-600), var(--pink-500) 58%, var(--amber-500));
  display: flex;
  flex-direction: column;
  gap: 76px;
}

.donate-page button,
.donate-page input,
.donate-page textarea {
  font-family: inherit;
}

.donate-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.donate-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: 36px;
  min-height: 520px;
  overflow: hidden;
  padding: 64px clamp(24px, 6vw, 70px);
  border: 1px solid color-mix(in srgb, var(--brand-500) 18%, var(--gray-200));
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.96)),
    var(--gray-50);
  box-shadow: var(--shadow-sm);
}

.donate-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.donate-glow-one {
  top: -180px;
  right: -130px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
}

.donate-glow-two {
  bottom: -210px;
  left: -100px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.16), transparent 70%);
}

.donate-hero-copy {
  position: relative;
  z-index: 2;
}

.donate-kicker,
.donate-eyebrow {
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 800;
}

.donate-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 4px 13px;
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.78);
}

.donate-kicker svg {
  width: 17px;
  height: 17px;
  color: var(--pink-500);
  fill: color-mix(in srgb, var(--pink-500) 12%, transparent);
}

.donate-hero h1 {
  max-width: 620px;
  margin-top: 18px;
  color: var(--gray-900);
  font-size: clamp(34px, 5vw, 55px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.donate-hero h1 span {
  background: var(--donate-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.donate-hero-copy > p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--gray-600);
  font-size: 16px;
  line-height: 2;
}

.donate-metaphor-note {
  display: block;
  margin-top: 8px;
  color: var(--gray-700);
  font-size: 13px;
}

.donate-metaphor-note strong {
  color: var(--brand-700);
}

.donate-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.donate-primary-action svg {
  width: 19px;
  height: 19px;
  margin-left: 7px;
  fill: rgba(255, 255, 255, 0.16);
}

.donate-trust-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px !important;
  color: var(--gray-500) !important;
  font-size: 13px !important;
}

.donate-trust-note svg {
  width: 17px;
  height: 17px;
  color: var(--brand-600);
}

.donate-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.donate-heart-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 210px;
  padding: 28px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 25px 65px rgba(79, 70, 229, 0.2);
  backdrop-filter: blur(14px);
  transform: rotate(-2deg);
}

.donate-heart-card svg {
  width: 98px;
  height: 98px;
  border-radius: 28px;
  filter: drop-shadow(0 12px 24px rgba(79, 70, 229, 0.22));
  stroke: none;
}

.donate-heart-card span {
  color: var(--gray-800);
  font-size: 13px;
  font-weight: 800;
}

.donate-orbit {
  position: absolute;
  border: 1px dashed color-mix(in srgb, var(--brand-500) 32%, transparent);
  border-radius: 50%;
}

.donate-orbit-one {
  width: 280px;
  height: 280px;
}

.donate-orbit-two {
  width: 350px;
  height: 350px;
  opacity: 0.45;
}

.donate-spark {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--pink-500);
}

.spark-one { top: 22px; right: 32px; font-size: 26px; }
.spark-two { bottom: 32px; left: 12px; color: var(--amber-500); font-size: 20px; }
.spark-three { top: 54px; left: 18px; color: var(--brand-500); font-size: 10px; }

.donate-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.donate-section-head h2,
.donate-centered-head h2 {
  margin-top: 4px;
  color: var(--gray-900);
  font-size: clamp(24px, 4vw, 31px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.donate-updated {
  color: var(--gray-500);
  font-size: 12px;
}

.donate-api-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--gray-600);
  font-size: 13px;
}

.donate-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  gap: 18px;
}

.donate-goal-card,
.donate-stat-card,
.donate-spend-card,
.donate-message-card,
.donate-faq-grid details {
  border: 1px solid var(--gray-200);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.donate-goal-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.donate-goal-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-50) 72%, transparent), transparent 58%);
  pointer-events: none;
}

.donate-goal-card > * {
  position: relative;
}

.donate-goal-card.is-zero {
  border-color: color-mix(in srgb, var(--brand-500) 24%, var(--gray-200));
}

.donate-goal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.donate-goal-label {
  display: block;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 700;
}

.donate-goal-top strong {
  display: block;
  margin-top: 6px;
  color: var(--gray-900);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
}

.donate-goal-top strong small {
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 600;
}

.donate-percent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 14px;
  font-weight: 800;
}

.donate-progress {
  position: relative;
  height: 12px;
  margin-top: 25px;
  overflow: visible;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  box-shadow: inset 0 0 0 1px var(--gray-200);
}

.donate-progress span {
  display: block;
  width: var(--donate-progress);
  height: 100%;
  border-radius: inherit;
  background: var(--donate-gradient);
  transition: width 0.35s ease;
}

.donate-progress i {
  position: absolute;
  top: 50%;
  right: 2px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-600);
  font-size: 10px;
  font-style: normal;
  box-shadow: var(--shadow-sm);
  transform: translateY(-50%);
}

.donate-goal-card > p {
  margin: 18px 0 0;
  color: var(--gray-500);
  font-size: 13.5px;
}

.donate-goal-card > p strong {
  color: var(--gray-700);
}

.donate-stat-stack {
  display: grid;
  gap: 12px;
}

.donate-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
}

.donate-stat-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-600);
}

.donate-stat-icon-people {
  background: #fdf2f8;
  color: var(--pink-500);
}

.donate-stat-icon svg {
  width: 23px;
  height: 23px;
}

.donate-stat-card div {
  min-width: 0;
}

.donate-stat-card div > span {
  display: block;
  color: var(--gray-500);
  font-size: 12px;
}

.donate-stat-card strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--gray-900);
  font-size: 18px;
  font-weight: 800;
}

.donate-stat-card small {
  display: block;
  margin-top: 2px;
  color: var(--brand-700);
  font-size: 11px;
}

.donate-centered-head {
  max-width: 650px;
  margin: 0 auto 28px;
  text-align: center;
}

.donate-centered-head > p {
  margin: 8px 0 0;
  color: var(--gray-500);
  font-size: 14px;
}

.donate-spend-section {
  scroll-margin-top: 110px;
}

.donate-spend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.donate-spend-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.donate-spend-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.donate-spend-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--brand-50), #fdf2f8);
  color: var(--brand-600);
}

.donate-spend-icon svg {
  width: 25px;
  height: 25px;
}

.donate-spend-card h3 {
  margin-top: 16px;
  color: var(--gray-900);
  font-size: 17px;
}

.donate-spend-card p {
  margin: 8px 0 0;
  color: var(--gray-500);
  font-size: 13.5px;
  line-height: 1.9;
}

.donate-fun-section {
  padding: 36px;
  border: 1px solid var(--gray-200);
  border-radius: 26px;
  background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--brand-50) 60%, #fff));
}

.donate-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.donate-tier-card {
  display: flex;
  min-width: 0;
  min-height: 154px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 17px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--gray-900);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.donate-tier-card:hover,
.donate-tier-card:focus-visible {
  border-color: var(--brand-300, var(--brand-200));
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.donate-tier-card > span {
  font-size: 30px;
}

.donate-tier-card strong {
  font-size: 14px;
  font-weight: 800;
}

.donate-tier-card small {
  color: var(--gray-500);
  font-size: 11.5px;
  line-height: 1.7;
}

.donate-tier-disclaimer {
  margin: 14px 0 0;
  color: var(--gray-500);
  font-size: 11.5px;
  text-align: center;
}

.donate-message-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.donate-message-card {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.donate-supporter-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.donate-supporter-head > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 800;
}

.donate-supporter-head div {
  display: flex;
  flex-direction: column;
}

.donate-supporter-head strong {
  color: var(--gray-800);
  font-size: 13.5px;
}

.donate-supporter-head small,
.donate-message-card > small {
  color: var(--gray-400);
  font-size: 10.5px;
}

.donate-message-card p {
  margin: 14px 0 8px;
  color: var(--gray-600);
  font-size: 13.5px;
  line-height: 1.9;
}

.donate-empty-community {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 26px;
  border: 1px dashed color-mix(in srgb, var(--brand-500) 34%, var(--gray-300));
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--brand-50) 55%, #fff));
}

.donate-empty-visual {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 22px;
  background: #fff;
  color: var(--brand-600);
  box-shadow: var(--shadow-sm);
}

.donate-empty-visual svg {
  width: 52px;
  height: 52px;
}

.donate-empty-visual span {
  position: absolute;
  top: -9px;
  left: -7px;
  color: var(--amber-500);
  font-size: 20px;
}

.donate-empty-community strong {
  color: var(--gray-900);
  font-size: 16px;
}

.donate-empty-community p {
  margin: 4px 0 0;
  color: var(--gray-500);
  font-size: 13px;
}

.donate-top-supporters {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--gray-900);
  color: #fff;
}

.donate-top-supporters h3 {
  font-size: 15px;
}

.donate-top-supporters > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.donate-top-supporters span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.07);
}

.donate-top-supporters b {
  font-size: 12px;
}

.donate-top-supporters small {
  color: var(--gray-300);
  font-size: 10px;
}

.donate-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.donate-faq-grid details {
  padding: 18px;
  border-radius: var(--radius-md);
}

.donate-faq-grid summary {
  min-height: 28px;
  color: var(--gray-800);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.donate-faq-grid p {
  margin: 10px 0 0;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.9;
}

.donate-closing {
  position: relative;
  overflow: hidden;
  padding: 52px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--gray-900), #1e1b4b);
  color: #fff;
  text-align: center;
}

.donate-closing::after {
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.14);
  content: "";
  filter: blur(16px);
}

.donate-closing > * {
  position: relative;
  z-index: 1;
}

.donate-closing > span {
  display: grid;
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.1);
  color: #f9a8d4;
  font-size: 23px;
}

.donate-closing h2 {
  font-size: clamp(24px, 4vw, 31px);
}

.donate-closing p {
  margin: 9px auto 20px;
  color: var(--gray-300);
  font-size: 14px;
}

.donate-closing .btn {
  background: #fff;
  color: var(--gray-900);
}

body.donate-modal-open {
  overflow: hidden;
}

.donate-modal[hidden] {
  display: none;
}

.donate-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.donate-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
}

.donate-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
  outline: none;
  overscroll-behavior: contain;
}

.donate-dialog-close {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 13px;
  background: #fff;
  color: var(--gray-600);
  cursor: pointer;
}

.donate-dialog-close svg {
  width: 20px;
  height: 20px;
}

.donate-dialog-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 50px;
}

.donate-dialog-icon {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--brand-600), var(--pink-500));
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.22);
}

.donate-dialog-head div > span {
  color: var(--gray-500);
  font-size: 11.5px;
}

.donate-dialog-head h2 {
  font-size: 22px;
}

.donate-form {
  margin-top: 24px;
}

.donate-form fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.donate-form legend,
.donate-field label {
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 800;
}

.donate-field label small {
  color: var(--gray-400);
  font-weight: 500;
}

.donate-amount-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.donate-amount-options button {
  min-height: 44px;
  padding: 7px 6px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  color: var(--gray-600);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.donate-amount-options button:hover,
.donate-amount-options button.is-selected {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-700);
}

.donate-field {
  margin-top: 17px;
}

.donate-custom-amount-wrap {
  position: relative;
  margin-top: 7px;
}

.donate-custom-amount-wrap input {
  padding-left: 70px;
  direction: ltr;
  text-align: right;
}

.donate-custom-amount-wrap > span {
  position: absolute;
  top: 50%;
  left: 13px;
  color: var(--gray-400);
  font-size: 11px;
  transform: translateY(-50%);
  pointer-events: none;
}

.donate-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.donate-field-label-row > span {
  color: var(--gray-400);
  font-size: 10px;
}

.donate-field textarea {
  margin-top: 7px;
}

.donate-field-error {
  min-height: 20px;
  margin: 3px 0 0;
  color: var(--danger-600);
  font-size: 11px;
}

.donate-field.has-error input,
.donate-field.has-error textarea {
  border-color: var(--danger-500);
  background: #fef2f2;
}

.donate-tier-message {
  margin-top: 3px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #fffbeb;
  color: #92400e;
  font-size: 11.5px;
  text-align: center;
}

.donate-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding: 12px 14px;
  border-radius: 13px;
  background: var(--gray-50);
}

.donate-summary > span {
  color: var(--gray-500);
  font-size: 12px;
}

.donate-summary strong {
  color: var(--gray-900);
  font-size: 14px;
}

.donate-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
}

.donate-submit-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--gray-500);
  font-size: 11px;
}

.donate-submit-note svg {
  width: 15px;
  height: 15px;
  color: var(--brand-600);
}

.donate-page :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-500) 30%, transparent);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .donate-page {
    gap: 62px;
  }

  .donate-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 52px 40px;
  }

  .donate-hero-copy {
    text-align: center;
  }

  .donate-kicker,
  .donate-hero-actions,
  .donate-trust-note {
    justify-content: center;
  }

  .donate-hero h1,
  .donate-hero-copy > p {
    margin-inline: auto;
  }

  .donate-hero-visual {
    min-height: 250px;
  }

  .donate-orbit-one { width: 230px; height: 230px; }
  .donate-orbit-two { width: 285px; height: 285px; }

  .donate-live-grid {
    grid-template-columns: 1fr;
  }

  .donate-stat-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donate-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .donate-page {
    gap: 50px;
  }

  .donate-hero {
    gap: 20px;
    padding: 38px 18px 28px;
    border-radius: var(--radius-lg);
  }

  .donate-hero h1 {
    font-size: clamp(30px, 10vw, 39px);
  }

  .donate-hero-copy > p {
    font-size: 14px;
    line-height: 1.95;
  }

  .donate-hero-actions {
    flex-direction: column;
  }

  .donate-hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .donate-hero-visual {
    min-height: 210px;
    transform: scale(0.86);
  }

  .donate-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .donate-api-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .donate-goal-card {
    padding: 20px;
  }

  .donate-goal-top strong small {
    display: block;
    margin-top: 2px;
  }

  .donate-stat-stack,
  .donate-spend-grid,
  .donate-message-grid,
  .donate-faq-grid {
    grid-template-columns: 1fr;
  }

  .donate-spend-card:hover,
  .donate-tier-card:hover {
    transform: none;
  }

  .donate-fun-section {
    padding: 26px 15px;
    border-radius: var(--radius-lg);
  }

  .donate-tier-grid {
    gap: 8px;
  }

  .donate-tier-card {
    min-height: 142px;
    padding-inline: 8px;
  }

  .donate-empty-community {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 22px 18px;
    text-align: center;
  }

  .donate-empty-community .btn {
    width: 100%;
  }

  .donate-closing {
    padding: 40px 18px;
    border-radius: var(--radius-lg);
  }

  .donate-modal {
    align-items: end;
    padding: 0;
  }

  .donate-dialog {
    width: 100%;
    max-height: min(90dvh, 760px);
    padding: 24px 16px calc(18px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }

  .donate-dialog-close {
    top: 13px;
    left: 13px;
  }

  .donate-dialog-head {
    padding-left: 48px;
  }

  .donate-amount-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .donate-kicker {
    font-size: 11.5px;
  }

  .donate-stat-card {
    padding: 16px;
  }

  .donate-tier-card strong {
    font-size: 12.5px;
  }
}

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