/* Compact bank-transfer details using the shared neutral design. */
.donation-body { margin: 0; min-height: 100svh; background: var(--page-bg); color: var(--page-text); font-family: 'Outfit-Regular', sans-serif; }
.donation-header { border-bottom: 1px solid light-dark(#20212414, #ffffff12); }
.donation-header-inner { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(100%, 1120px); min-height: 64px; margin: 0 auto; padding: calc(12px + env(safe-area-inset-top)) 28px 12px; }
.donation-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 7px; text-decoration: none; }
.donation-brand img { display: block; object-fit: contain; }
.donation-header-actions { display: flex; align-items: center; gap: 16px; }
.donation-header .donation-theme-toggle { 
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: light-dark(#303030, #f5f5f5);
  background: light-dark(transparent, transparent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.donation-header .donation-theme-toggle:hover { background: light-dark(#20212408, #ffffff08); }
.donation-header .donation-theme-toggle svg { width: 18px; height: 18px; }
.donation-back { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: var(--page-text); font-size: 12px; line-height: 20px; text-decoration: none; }
.donation-back:hover { text-decoration: underline; }
.donation-back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.donation-header :is(a, button):focus-visible { outline: 2px solid #f16f01; outline-offset: 3px; }

.donation-page {
  --donation-text: light-dark(#202124, #e8eaed);
  --donation-muted: light-dark(#626872, #a3a7af);
  --donation-surface: light-dark(#ffffff, #202124);
  --donation-border: light-dark(#2021241c, #ffffff16);
  --donation-hover: light-dark(#20212405, #ffffff05);
  box-sizing: border-box;
  width: min(100%, 872px);
  margin: 0 auto;
  padding: 32px 28px calc(28px + env(safe-area-inset-bottom));
  color: var(--donation-text);
  font-size: 13px;
  line-height: 1.6;
}
.donation-page *,
.donation-page *::before,
.donation-page *::after { box-sizing: border-box; }
.donation-page :is(h1, h2, h3, p, dl, dd) { margin: 0; }
.donation-page svg { flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.donation-heading h1 { font-size: 28px; line-height: 1.3; font-family: 'Outfit-Bold'; letter-spacing: -0.6px; }
.donation-heading > p { margin-top: 6px; color: var(--donation-muted); font-size: 14px; }
.donation-transfer { margin-top: 28px; }
.donation-section-heading h2,
.donation-support h2 { font-size: 16px; line-height: 24px; font-family: 'Outfit-Bold'; }
.donation-section-heading p { margin-top: 2px; color: var(--donation-muted); font-size: 12px; }
.donation-accounts { margin-top: 12px; border: 1px solid var(--donation-border); border-radius: 8px; background: var(--donation-surface); }
.donation-account { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 18px 20px; }
.donation-account + .donation-account { border-top: 1px solid var(--donation-border); }
.donation-account-bank { min-width: 0; }
.donation-account-bank h3 { font-size: 14px; font-weight: 500; line-height: 21px; }
.donation-account-bank p { margin-top: 3px; color: var(--donation-muted); font-size: 12px; line-height: 19px; }
.donation-account-number { min-width: 0; }
.donation-account-number dt { color: var(--donation-muted); font-size: 11px; line-height: 18px; }
.donation-account-number dd { margin-top: 3px; line-height: 24px; }
.donation-account-number code { font-family: 'Outfit-Regular', sans-serif; font-size: 17px; font-weight: 500; letter-spacing: 0.025em; font-variant-numeric: tabular-nums; user-select: all; }
.donation-copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 98px; min-height: 36px; padding: 7px 10px; border: 1px solid var(--donation-border); border-radius: 5px; background: transparent; color: var(--donation-text); font: inherit; font-size: 12px; line-height: 20px; cursor: pointer; }
.donation-copy-button:hover { background: var(--donation-hover); }
.donation-copy-button:disabled { opacity: 0.6; cursor: wait; }
.donation-copy-button svg { width: 15px; height: 15px; }
.donation-page .donation-copy-status { min-height: 19px; margin-top: 8px; color: var(--donation-muted); font-size: 12px; line-height: 19px; }
.donation-copy-status[data-state="error"] { color: light-dark(#a03225, #e5a69e); }

.donation-support { margin-top: 22px; }
.donation-support p { margin-top: 8px; color: var(--donation-muted); font-size: 13px; line-height: 21px; }
.donation-about { margin-top: 20px; border-top: 1px solid var(--donation-border); border-bottom: 1px solid var(--donation-border); }
.donation-about summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 2px; color: var(--donation-muted); font-size: 12px; list-style: none; cursor: pointer; }
.donation-about summary::-webkit-details-marker { display: none; }
.donation-about summary::marker { content: ''; }
.donation-about summary:hover { color: var(--donation-text); }
.donation-about summary svg { width: 14px; height: 14px; }
.donation-about[open] summary svg { transform: rotate(180deg); }
.donation-about > div { padding-bottom: 16px; }
.donation-about p { color: var(--donation-muted); font-size: 13px; line-height: 21px; }
.donation-about p + p { margin-top: 8px; }
.donation-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.donation-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--donation-text); font-size: 12px; text-decoration: none; }
.donation-footer a:hover { text-decoration: underline; }
.donation-footer p { color: var(--donation-muted); font-size: 11px; line-height: 18px; }
.donation-page :is(a, button, summary):focus-visible { outline: 2px solid #f16f01; outline-offset: 3px; }
.donation-page :is(button, summary) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

@media (max-width: 600px) {
  .donation-header-inner { padding-left: 18px; padding-right: 18px; min-height: 56px; }
  .donation-header-actions { gap: 8px; }
  .donation-header .donation-theme-toggle { width: 40px; height: 40px; }
  .donation-back { min-height: 44px; font-size: 11px; }
  .donation-page { padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); }
  .donation-heading h1 { font-size: 25px; }
  .donation-heading > p { font-size: 13px; }
  .donation-transfer { margin-top: 24px; }
  .donation-account { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 16px; }
  .donation-account-bank { grid-column: 1 / -1; }
  .donation-account-number code { font-size: 16px; letter-spacing: 0; }
  .donation-copy-button { min-width: 88px; min-height: 44px; }
  .donation-support { margin-top: 18px; }
  .donation-footer { align-items: flex-start; flex-direction: column; gap: 6px; }
  .donation-footer a { min-height: 44px; }
}
@media (max-width: 360px) {
  .donation-header-inner { gap: 8px; padding-left: 16px; padding-right: 16px; }
  .donation-brand img:last-child { width: 104px; height: auto; }
  .donation-header-actions { gap: 4px; }
  .donation-back { font-size: 10px; gap: 2px; }
  .donation-account { padding: 14px; gap: 10px; }
  .donation-copy-button { min-width: 76px; padding-left: 8px; padding-right: 8px; }
  .donation-account-number code { font-size: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  .donation-copy-button { transition: background-color 120ms ease; }
}
