.donate-page { max-width: 760px; text-align: center; }
.donate-header { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 20px; }
.donate-header .brand { justify-content: center; }
.donate-header .brand-icon { width: 70px; height: 70px; flex-basis: 70px; }
.donate-header .brand h1 { font-size: 28px; white-space: normal; }
.back-button { border: 1px solid var(--line); border-radius: 6px; background: #1e2b23; color: var(--text); padding: 9px 12px; font-size: 13px; font-weight: 750; text-decoration: none; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.back-button:hover { border-color: var(--mint); background: #263b2e; color: var(--mint); }
.donate-card { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 24px; box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.donate-card h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.donate-intro { max-width: 620px; margin: 14px auto 24px; color: var(--muted); line-height: 1.55; }
.donate-content { display: flex; flex-direction: column; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.donate-content h3 { margin: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: 0; text-transform: uppercase; }
.donate-qr, .donate-details { width: min(100%, 430px); }
.donate-qr img { display: block; width: min(100%, 280px); margin: 0 auto; border: 1px solid var(--line); border-radius: 8px; }
.donate-content p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.donate-url { display: block; color: var(--mint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; text-decoration: none; }
.donate-url:hover { color: #dcffef; text-decoration: underline; }
.donate-details { min-width: 0; }
.thanks-card { margin-top: 16px; text-align: left; scroll-margin-top: 20px; }
.thanks-card > h2 { margin-bottom: 14px; text-align: center; }
.thanks-card:focus { outline: 2px solid var(--mint); outline-offset: 3px; }
.thanks-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 7px; }
.thanks-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.thanks-table th, .thanks-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.thanks-table th { background: #1b2921; color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: .02em; }
.thanks-table .donation-total-cell { text-align: left; }
.thanks-table .donation-total-cell > div { display: flex; justify-content: space-between; align-items: center; }
.thanks-table .donation-total-value { color: var(--sun); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.thanks-table tr:last-child td { border-bottom: 0; }
.thanks-table tbody tr { transition: background .18s ease; }
.thanks-table tbody tr:hover { background: #213127; }
.thanks-table th:last-child, .thanks-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.donation-amount { color: var(--sun); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 750; }
.incognito { color: var(--muted); }
.thanks-empty { color: var(--muted); text-align: center !important; }

@media (max-width: 600px) {
  .donate-header { align-items: flex-start; margin-bottom: 14px; }
  .donate-header .brand { gap: 10px; }
  .donate-header .brand-icon { width: 54px; height: 54px; flex-basis: 54px; }
  .donate-header .brand h1 { font-size: 23px; }
  .back-button { flex: 0 0 auto; }
  .donate-card { padding: 18px; }
  .donate-card h2 { font-size: 20px; }
  .donate-qr img { width: min(100%, 300px); }
  .thanks-table th, .thanks-table td { padding: 12px 10px; }
}
