:root { --bg: #291069; --card: #ffffff; --ink: #1d1430; --muted: #6b6580; --accent: #7c3aed; --accent2: #a78bfa; --line: #ede9fe; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; background: var(--bg); color: var(--ink); min-height: 100vh; }
.wrap { max-width: 480px; margin: 0 auto; padding: 20px 14px 40px; }
.card { background: var(--card); border-radius: 22px; padding: 28px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.35); text-align: center; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: #f5f3ff; color: #5b21b6; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; margin-bottom: 10px; }
.logo-row img { width: 112px; height: 112px; object-fit: contain; border-radius: 50%; background: #291069; padding: 6px; margin: 6px auto; display: block; box-shadow: 0 0 0 2px rgba(41,16,105,.18), 0 8px 24px rgba(0,0,0,.25); }
h1 { font-size: 26px; margin: 8px 0 2px; }
.tagline { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
h2 { font-size: 21px; margin: 14px 0 6px; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.5; }
.mission { background: #faf9ff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 14px; line-height: 1.5; }
.label { display: block; text-align: left; font-size: 13px; font-weight: 700; margin: 16px 0 8px; }
.amounts { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.amounts button { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 0; font-weight: 800; font-size: 15px; cursor: pointer; }
.amounts button.active { border-color: var(--accent); background: #f5f3ff; color: #5b21b6; }
.custom-row { display: flex; gap: 8px; margin-top: 8px; }
input, select, textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 12px; font-size: 15px; font-family: inherit; }
textarea { resize: vertical; }
.donate-btn { width: 100%; margin-top: 16px; background: #16a34a; color: #fff; border: 0; border-radius: 14px; padding: 16px; font-size: 17px; font-weight: 800; cursor: pointer; }
.donate-btn:hover { filter: brightness(1.05); }
.secure-note { font-size: 13px; color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 10px 12px; margin-top: 12px; font-weight: 600; }
.optional { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; text-align: left; }
.optional summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted); }
.optional input { margin-top: 8px; }
.optional textarea { margin-top: 8px; }
.how { margin-top: 16px; font-size: 13px; color: var(--muted); }
.how .dot { margin: 0 6px; }
.mission { margin: 10px 0 4px; }
h1 { font-size: 24px; }
.trust { display: grid; grid-template-columns: 1fr; gap: 8px; text-align: left; margin-top: 14px; }
.trust div { background: #faf9ff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.trust strong { display: block; font-size: 13px; }
.trust span { color: var(--muted); }
.after { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; padding: 14px; margin-top: 14px; }
.hidden { display: none; }
.ghost-btn { background: #fff; border: 2px solid #16a34a; color: #15803d; border-radius: 12px; padding: 12px; font-weight: 800; width: 100%; cursor: pointer; }
.confirm-msg { font-size: 13px; color: #15803d; font-weight: 700; }
.steps { text-align: left; font-size: 14px; color: var(--muted); padding-left: 20px; }
.steps strong, .steps b { color: var(--ink); }
.supporters { list-style: none; padding: 0; margin: 0; text-align: left; }
.supporters li { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: 14px; }
.supporters small { color: var(--muted); display: block; }
.footer { font-size: 12px; color: var(--muted); margin-top: 18px; }
/* admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.admin-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.admin-bar button, .admin-bar a { border: 2px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none; color: var(--ink); }
.tabs { display: flex; gap: 8px; margin: 12px 0; }
.tabs button { flex: 1; border-radius: 10px; border: 2px solid var(--line); padding: 10px; font-weight: 800; cursor: pointer; background: #fff; }
.tabs button.active { background: var(--bg); color: #fff; border-color: var(--bg); }
