.draw-picker { margin-top:0; }
.draw-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:0 0 30px; }
.draw-facts div { display:flex; flex-direction:column; padding:20px 22px; background:#fff; box-shadow:0 10px 35px #32171a15; border-bottom:4px solid var(--gold); }
.draw-facts strong { color:var(--wine); font-size:30px; line-height:1.1; }
.draw-facts span { margin-top:6px; font:700 13px Arial,sans-serif; color:var(--muted); }
.draw-state { margin-bottom:30px; padding:24px; background:#fff; border-left:6px solid var(--gold); box-shadow:0 10px 35px #32171a12; }
.draw-state.released { display:flex; gap:16px; align-items:flex-start; border-left-color:#4f8a55; }
.draw-state.released p { margin:0; }
.draw-warning { padding:12px 14px; background:#f4ead5; border-left:4px solid var(--gold); font-size:15px; }
.draw-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.draw-actions form { margin:0; }
.draw-heading { font-size:30px; margin:10px 0 18px; }
.draw-heading small { font:400 16px Arial,sans-serif; color:var(--muted); }
.draw-table td { vertical-align:top; }
.draw-table td form { margin:6px 0 0; }
.draw-table .draw-arrow { color:var(--gold); font-size:24px; font-weight:bold; padding-left:0; padding-right:0; }
.draw-table .repeat-row { background:#fffaf0; }
.export-link { margin-left:auto; }

.wichtel-card { margin:30px 0; padding:28px 30px; background:var(--wine); color:#fff; box-shadow:var(--shadow); border-radius:4px; }
.wichtel-card .eyebrow { margin-bottom:10px; }
.wichtel-card h2 { font-size:clamp(28px,4vw,40px); margin-bottom:6px; color:#fff; }
.wichtel-card a { color:#f2c55d; }
.wichtel-card address { margin:16px 0; padding:16px 18px; background:#fff; color:var(--ink); font-style:normal; font-size:18px; line-height:1.5; border-left:5px solid var(--gold); }
.wichtel-card p:last-child { margin-bottom:0; }
.wichtel-waiting { margin:30px 0; padding:22px 24px; background:#f4ead5; border-left:6px solid var(--gold); }
.wichtel-waiting h2 { font-size:26px; margin-bottom:8px; }
.wichtel-waiting p:last-child { margin-bottom:0; }
.package-status-note { padding:10px 14px; background:#f4ead5; font-size:15px; }
.locked-field { opacity:.7; }

@media (max-width:800px) {
  .draw-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .draw-state.released { flex-direction:column; }
}
.hp-field { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.participant-extra { margin-top:50px; padding-top:30px; border-top:2px solid #eadfd1; }
.participant-extra h2 { font-size:28px; margin:30px 0 10px; }
.blacklist { list-style:none; padding:0; margin:15px 0; }
.blacklist li { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px 14px; background:#fff; border-left:4px solid var(--wine); margin-bottom:8px; box-shadow:0 4px 15px #32171a10; }
.blacklist li form { margin:0; }
.blacklist-form { margin-top:15px; }
.draw-table select { max-width:230px; margin:6px 0 0; padding:6px; font-size:13px; }
.manual-badge { background:#e4dcf2; color:#4a3277; }
.draw-issues { margin:12px 0; padding-left:20px; }
.admin-flags { display:grid; gap:14px; margin:10px 0 20px; }
.admin-flags .check { display:flex; gap:12px; align-items:flex-start; padding:14px 16px; background:#fff; box-shadow:0 4px 15px #32171a10; }
.admin-flags .check input { margin-top:5px; }
.error-text { color:#9c2531; }
.admin-badge { background:#dce8f5; color:#24476b; }
.test-banner { padding:12px clamp(20px,6vw,90px); background:#2e5b8a; color:#fff; font:14px Arial,sans-serif; }
.test-banner a { color:#f2c55d; margin-left:8px; }
.mail-text { white-space:pre-wrap; padding:18px; background:#fff; border:1px solid #eadfd1; font:15px/1.6 Georgia,serif; max-height:420px; overflow:auto; }
.pending-mails { border-left-color:#2e5b8a; }
.names-toggle { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:20px 0 0; padding:10px 14px; background:#fff; box-shadow:0 4px 15px #32171a10; font:14px Arial,sans-serif; }
.names-toggle button { margin:0; }
.masked { letter-spacing:.15em; color:var(--muted); }
.conflict-box.conflict { border-left-color:#9c2531; }
.conflict-table { min-width:0; width:auto; margin:8px 0; border-collapse:collapse; font:14px Arial,sans-serif; }
.conflict-table th, .conflict-table td { padding:6px 14px 6px 0; text-align:left; }
.conflict-table thead th { color:var(--muted); font-weight:400; }
.conflict-row td, .conflict-row th { color:#9c2531; }
.dashboard-conflict { margin:0 0 30px; }
small.field-hint { color:var(--muted); }
.conflict-box small { color:var(--muted); }
.conflict-box small .error-text, .conflict-box .error-text { color:#9c2531; }
.conflict-table, .conflict-table tr { background:none; }
.conflict-table th, .conflict-table td { background:none; color:var(--ink); text-transform:none; letter-spacing:0; font:14px Arial,sans-serif; border:0; border-bottom:1px solid #eadfd1; }
.conflict-table tbody th { font-weight:700; }
.conflict-table thead th { color:var(--muted); font-size:12px; }
.conflict-table .conflict-row th, .conflict-table .conflict-row td { color:#9c2531; }
.test-overview { border-left-color:#2e5b8a; margin-bottom:30px; }
.review-box { border-left-color:#9c2531; background:#fdf1f2; }
.draw-table .review-row { background:#fdf1f2; box-shadow:inset 4px 0 0 #9c2531; }
.inline-form { display:inline-block; margin:6px 0 0 !important; }
.danger-link { background:#9c2531; color:#fff; }
.dropout-people label, .dropout-roles label { display:flex; gap:10px; align-items:flex-start; padding:12px 14px; background:#fff; margin-bottom:8px; box-shadow:0 4px 15px #32171a10; }
.dropout-people input, .dropout-roles input { margin-top:5px; }
.dropout-people small, .dropout-roles small { color:var(--muted); font-size:13px; line-height:1.4; }
.successor-box { border-left-color:#4f8a55; }
.successor-box form { margin-top:12px; }
.successor-pick { display:block; margin-top:10px; font:700 13px Arial,sans-serif; }
.successor-pick select { display:block; margin-top:4px; max-width:100%; }
.address-box { border-left-color:#d6a43a; }
.address-choice .address-fields { margin-top:10px; }
.address-choice .address-fields[hidden], [data-packstation-option][hidden] { display:none; }
.lock-box { border-left-color:#2e5b8a; }
.lock-box .button { margin-top:6px; }
.lock-wrap { border:0; padding:0; margin:0; min-width:0; opacity:.75; }
.address-choice .choices small { color:var(--muted); }
.link-button { background:none !important; border:0 !important; color:var(--muted) !important; text-decoration:underline; padding:2px 0 !important; font:12px Arial,sans-serif !important; text-transform:none !important; letter-spacing:0 !important; box-shadow:none !important; cursor:pointer; }
.withdraw-badge { display:inline-block; margin-top:6px; text-decoration:none; }
.withdraw-section { margin-top:40px; padding-top:20px; border-top:2px solid #eadfd1; }
.withdraw-section summary { cursor:pointer; color:var(--muted); font:14px Arial,sans-serif; }
.withdraw-section form { margin-top:14px; }
.withdraw-box { border-left-color:#9c2531; }
#versand details { margin:6px 0 12px; }
.identity-badge { display:inline-block; margin-top:6px; cursor:help; }
.conflict-table th, .conflict-table td { white-space:nowrap; }

/* Listen mit Aktionen (Einladungen, Abmeldewünsche, Ausschlüsse): auf schmalen Bildschirmen umbrechen statt überlaufen */
.blacklist li { flex-wrap:wrap; }
.blacklist li > span:first-child { flex:1 1 220px; min-width:0; overflow-wrap:anywhere; }
.blacklist .row-actions { display:flex; flex-wrap:wrap; gap:8px; }
.blacklist .row-actions form { margin:0; }
/* Nachrücker-Auswahl beim Ausscheiden: untereinander statt nebeneinander (sonst auf dem Handy zu schmal) */
label.successor-pick { display:flex !important; flex-direction:column; align-items:stretch; gap:4px; }
label.successor-pick select { width:100%; margin-top:2px; }
label.successor-pick small { display:block; font-weight:400; }
/* Schalter Wichtelvorstellung (Testmodus-Seite) */
.profile-mode { display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 6px; }
.profile-mode button.active, .profile-mode button[disabled] { box-shadow:0 0 0 3px var(--ink) inset; }
/* Wichtelvorstellung des Wichtels auf der Karte „Du beschenkst …“ */
.receiver-profile { margin-top:22px; padding:18px 20px; background:#5e0711; border:1px solid #f2c55d66; border-radius:4px; }
.receiver-profile h3 { margin:0 0 12px; color:#f2c55d; font-size:22px; }
.receiver-profile dl { margin:0; display:grid; grid-template-columns:max-content 1fr; gap:10px 18px; }
.receiver-profile dt { font:700 12px/1.9 Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; color:#f2c55d; }
.receiver-profile dd { margin:0; line-height:1.45; }
.receiver-colors { display:flex; flex-wrap:wrap; gap:8px; }
.receiver-swatch { width:30px; height:30px; border-radius:50%; border:2px solid #fff; display:inline-block; }
.receiver-empty { margin:0; }
@media (max-width:600px) { .receiver-profile dl { grid-template-columns:1fr; gap:2px; } .receiver-profile dd { margin-bottom:10px; } }
