/* Spenden */
.dn-head-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.dn-head-stats span { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .88rem; color: var(--muted); }
.dn-head-stats strong { color: var(--text); }
.dn-hero { margin-bottom: 22px; }
.dn-intro { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.6; }
.dn-intro:last-child { margin-bottom: 0; }
.dn-goal-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 8px; font-weight: 600; }
.dn-goal-top strong { color: #ff6b9a; font-size: 1.1rem; }
.dn-bar { height: 14px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; border: 1px solid var(--border); }
.dn-bar span { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg, #ff2d6f, #ff8a3d); box-shadow: 0 0 16px rgba(255, 45, 111, .55); transition: width .6s ease; }
.dn-goal-sub { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.dn-goal-sub strong { color: var(--text); }
.dn-goal-sm .dn-goal-top { font-size: .85rem; }
.dn-goal-sm .dn-bar { height: 10px; }
.dn-goal-sm .dn-goal-sub { font-size: .82rem; }
.dn-ok { color: var(--success); }

.dn-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 22px; }
@media (max-width: 860px) { .dn-grid { grid-template-columns: minmax(0, 1fr); } }
.dn-form .form-label { display: block; font-weight: 600; margin-bottom: 8px; }
.dn-amounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-bottom: 18px; }
.dn-amt { position: relative; cursor: pointer; }
.dn-amt > input { position: absolute; opacity: 0; pointer-events: none; }
.dn-amt > span { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 52px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--border-strong, var(--border)); background: var(--surface); font-weight: 800; font-size: 1.15rem; transition: border-color .15s, box-shadow .15s, transform .15s; }
.dn-amt:hover > span { transform: translateY(-1px); border-color: color-mix(in srgb, #ff2d6f 50%, transparent); }
.dn-amt > input:checked + span { border-color: #ff2d6f; background: color-mix(in srgb, #ff2d6f 14%, var(--surface)); box-shadow: 0 0 0 1px #ff2d6f, 0 0 20px rgba(255, 45, 111, .3); }
.dn-amt > input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.dn-amt-custom { grid-column: span 2; }
.dn-amt-custom > span { font-size: 1rem; font-weight: 700; }
.dn-amt-custom input[type=text] { width: 100%; min-width: 0; border: 0; background: transparent; padding: 4px 0; font-weight: 700; font-size: 1rem; text-align: right; box-shadow: none; }
.dn-amt-custom input[type=text]:focus { outline: none; box-shadow: none; }
.dn-as { margin: 0 0 14px; color: var(--muted); }
.dn-form .check { margin: 2px 0 16px; }
.dn-paypal-btn { background: #ffc439; color: #111 !important; border: 0; font-weight: 700; box-shadow: 0 6px 22px rgba(255, 196, 57, .3); }
.dn-paypal-btn:hover { background: #f2b52a; color: #111; filter: none; }
.dn-paypal-btn b { color: #003087; font-weight: 900; font-style: italic; }
.dn-paypal-btn i { color: #009cde; font-weight: 900; }
.dn-note { margin: 10px 0 0; text-align: center; }

.dn-top { list-style: none; margin: 0; padding: 0; }
.dn-top li { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid var(--border); min-width: 0; }
.dn-top li:last-child { border-bottom: 0; }
.dn-top-1 { background: linear-gradient(90deg, rgba(255, 196, 57, .12), transparent 70%); border-radius: 10px; }
.dn-top-2 { background: linear-gradient(90deg, rgba(200, 210, 225, .09), transparent 70%); border-radius: 10px; }
.dn-top-3 { background: linear-gradient(90deg, rgba(205, 127, 50, .1), transparent 70%); border-radius: 10px; }
.dn-medal { width: 30px; flex: none; text-align: center; font-size: 1.35rem; line-height: 1; }
.dn-rank-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.07); font-size: .8rem; font-weight: 800; color: var(--muted); }
.dn-top-name { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.dn-top-name > a, .dn-top-name > .dn-guest { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.dn-top-sum { flex: none; color: #ffc439; font-size: 1rem; }
.dn-top-sm li { padding: 6px 2px; gap: 8px; font-size: .88rem; }
.dn-top-sm .dn-medal { width: 22px; font-size: 1.05rem; }
.dn-top-sm .dn-top-sum { font-size: .88rem; }
.dn-guest { color: var(--text); }
.dn-anon { color: var(--muted); font-style: italic; }
.dn-guest-av { --gc: #6b6f80; }

.dn-recent-list { list-style: none; margin: 0; padding: 0; }
.dn-recent-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.dn-recent-list li:last-child { border-bottom: 0; }
.dn-recent-body { flex: 1; min-width: 0; }
.dn-recent-sum { color: #ffc439; font-weight: 700; }
.dn-msg { margin: 4px 0 0; padding: 6px 10px; border-radius: 0 10px 10px 10px; background: rgba(255,255,255,.05); font-size: .9rem; overflow-wrap: anywhere; display: inline-block; }
.dn-when { flex: none; white-space: nowrap; }

.dn-redirect { max-width: 560px; margin: 30px auto; text-align: center; padding: 36px 28px; }
.dn-redirect h1 { margin: 6px 0 10px; }
.dn-redirect-ico { font-size: 3rem; line-height: 1; animation: dn-beat 1.2s ease-in-out infinite; }
@keyframes dn-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.15); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .dn-redirect-ico { animation: none; } }
.dn-redirect .dn-paypal-btn { margin: 10px 0 8px; }

.dn-side .dn-goal { margin-bottom: 4px; }
.dn-side-label { margin: 12px 0 2px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.dn-profile { display: flex; gap: 12px; align-items: flex-start; border-color: rgba(255, 45, 111, .35) !important; }
.dn-profile-badge { font-size: 1.8rem; line-height: 1; filter: drop-shadow(0 0 10px rgba(255, 45, 111, .6)); }
.dn-profile-rank { display: inline-block; margin-top: 6px; font-size: .85rem; font-weight: 700; color: #ffc439; }

/* Admin */
.dn-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.dn-row-hidden td { opacity: .55; }
.tag.dn-st-completed { background: color-mix(in srgb, var(--success) 20%, transparent); color: var(--success); }
.tag.dn-st-pending { background: rgba(255, 196, 57, .15); color: #ffc439; }
.tag.dn-st-refunded { background: rgba(255, 80, 80, .15); color: #ff7a7a; }
@media (max-width: 760px) { .dn-hide-sm { display: none; } }
.dn-form .check { align-items: flex-start; margin-right: 0; } .dn-form .check input { flex: none; margin-top: 2px; }

/* 1.1.0: Spende von Hand */
.dn-add-btn { order: 9; margin-left: auto; }
.dn-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dn-admin-add { margin-top: 8px; }
