/* ============================================================
   ÖFFENTLICHE SPENDENSEITE – baut auf streamplan-public.css auf
   ============================================================ */

.dnp-in {
  max-width: 620px;
}

.dnp-test {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(244, 184, 96, 0.12);
  border: 1px solid rgba(244, 184, 96, 0.45);
  color: #ffd9a0;
  font-size: 14px;
  text-align: center;
}

.dnp-test code {
  font-family: var(--mono);
}

.dnp-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.dnp-card h2 {
  margin: 0;
  font-size: 22px;
}

.dnp-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.dnp-login {
  text-align: center;
  align-items: center;
}

.dnp-twitch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #9146ff;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.dnp-twitch:hover {
  background: #7d2ff0;
}

.dnp-twitch svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.dnp-who {
  color: var(--muted);
  font-size: 14px;
}

.dnp-who b {
  color: var(--text);
}

.dnp-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0 0 0 6px;
  color: var(--accent-2);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.dnp-presets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
}

.dnp-preset {
  appearance: none;
  padding: 14px 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.dnp-preset:hover {
  border-color: rgba(145, 70, 255, 0.6);
}

.dnp-preset.on {
  background: rgba(145, 70, 255, 0.22);
  border-color: #9146ff;
}

.dnp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dnp-field > span {
  font-weight: 700;
  font-size: 14px;
}

.dnp-field em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

.dnp-field small {
  color: var(--muted);
  font-size: 12.5px;
}

.dnp-amount {
  display: flex;
  align-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.dnp-amount:focus-within,
.dnp-field textarea:focus {
  border-color: #9146ff;
}

.dnp-amount input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  outline: none;
}

.dnp-amount em {
  padding: 0 14px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.dnp-field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  resize: vertical;
  outline: none;
}

.dnp-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  cursor: pointer;
}

.dnp-check input {
  margin-top: 3px;
  accent-color: #9146ff;
}

.dnp-check small {
  color: var(--muted);
}

.dnp-error {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(242, 122, 110, 0.12);
  border: 1px solid rgba(242, 122, 110, 0.4);
  color: #ffb3aa !important;
  font-weight: 600;
}

.dnp-pay {
  appearance: none;
  padding: 15px 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #9146ff, #b57bff);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.dnp-pay:hover {
  filter: brightness(1.08);
}

.dnp-pay:disabled {
  opacity: 0.6;
  cursor: wait;
}

.dnp-pay-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dnp-pay.is-paypal {
  background: #ffc439;
  color: #111;
}

.dnp-legal {
  font-size: 12.5px;
  text-align: center;
}

.dnp-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  text-align: center;
}

.dnp-msg span {
  color: var(--muted);
  font-size: 14px;
}

.dnp-msg.ok {
  background: rgba(111, 220, 170, 0.1);
  border-color: rgba(111, 220, 170, 0.4);
}

.dnp-goal {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.dnp-goal-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.dnp-goal-head span {
  color: var(--muted);
  font-family: var(--mono);
}

.dnp-goal-bar {
  height: 12px;
  border-radius: 999px;
  background: var(--panel);
  overflow: hidden;
}

.dnp-goal-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9146ff, #c9b0ff);
}

/* Zuletzt unterstützt von – bewusst zurückhaltend */
.dnp-recent {
  padding: 4px 6px 0;
}

.dnp-recent-title {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dnp-recent-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dnp-recent-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.dnp-recent-list li:first-child {
  border-top: 0;
}

.dnp-recent-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.dnp-recent-list li.is-anon .dnp-recent-name {
  color: var(--muted);
  font-weight: 600;
  font-style: italic;
}

.dnp-recent-amount {
  color: #b99cff;
  font-family: var(--mono);
  font-size: 13px;
}

.dnp-recent-list time {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
