/* Scoped so About/Legal keep their own panel fill. */
.donate-screen .static-page-content { background: transparent; }


.donate-row {
  display: flex; flex-direction: row;
  align-items: center;
  gap: 16px;
  margin: 28px auto 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  /* Hug content; max-width:100% prevents overflow on narrow viewports. */
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}
.donate-row + .donate-row {
  margin-top: 12px;
}

.donate-row-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
}
.donate-logo {
  height: 24px;
  width: auto;
  display: block;
}
/* Border keeps the pill edge visible when its bg nearly matches the card. */
.donate-logo-paypal,
.donate-logo-revolut {
  border-radius: 6px;
  padding: 6px 12px;
  height: 36px;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
}
.donate-logo-paypal  { background: #ffffff; }
.donate-logo-revolut { background: #191c1f; }
.donate-row-buttons {
  display: flex; flex-wrap: wrap; gap: 12px;
}

@media (max-width: 640px) {
  /* Stacked rows have the full card width to spend, so the tiles share it instead of hugging their text. */
  .donate-row { flex-direction: column; align-items: stretch; padding: 12px 14px; gap: 10px; width: 100%; }
  .donate-row-logo { min-width: 0; align-self: stretch; }
  .donate-row-buttons { justify-content: stretch; gap: 8px; }
  .donate-row-buttons > .btn { flex: 1 1 0; min-width: 0; padding-inline: 8px; }
  .donate-row-buttons > .btn:last-child { flex: 1 0 100%; }
}
