/* cloud-traum · Countdown „Wolke 7“ */
.cd #cdEdit > .about { margin-bottom: 16px; }
#cdEdit[hidden], #cdView[hidden], .cd__qr[hidden] { display: none; }
.cd__grid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 900px) { .cd__grid { grid-template-columns: 1fr 1fr; } }
.cd__box { padding: clamp(16px, 3vw, 24px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cd__motifs label { min-width: 120px; }
.cd__go { align-self: flex-start; }
.cd__msg { margin: 0; font-weight: 600; color: var(--c-coral); }
.cd__msg:empty { display: none; }
.cd__previewwrap { min-width: 0; }
.cd__card { --a: #6D4AD1; --b: #A78BFA; position: relative; overflow: hidden; border-radius: 20px; padding: clamp(20px, 4vw, 36px) clamp(16px, 3vw, 28px); text-align: center; color: #fff;
  background: linear-gradient(145deg, var(--a), var(--b)); box-shadow: 0 10px 30px rgba(40, 20, 90, .18); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cd__card[data-motif='urlaub'] { --a: #0E7490; --b: #F59E0B; }
.cd__card[data-motif='party'] { --a: #BE185D; --b: #7C3AED; }
.cd__card[data-motif='herz'] { --a: #BE123C; --b: #FB7185; }
.cd__card[data-motif='musik'] { --a: #1E1B4B; --b: #7C3AED; }
.cd__card[data-motif='torte'] { --a: #DB2777; --b: #F59E0B; }
.cd__emoji { font-size: clamp(2.6rem, 8vw, 4rem); line-height: 1; }
.cd__title { margin: 0; font-family: var(--f-head); font-size: clamp(1.4rem, 4vw, 2.2rem); line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.cd__nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 2vw, 14px); width: 100%; max-width: 560px; margin: 8px 0; }
.cd__num { background: rgba(255, 255, 255, .16); border-radius: 14px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; }
.cd__n { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.6rem, 6vw, 3rem); font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd__u { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.cd__when, .cd__extra, .cd__tz { margin: 0; }
.cd__when { opacity: .92; }
.cd__extra { font-weight: 700; font-size: 1.05rem; }
.cd__extra:empty { display: none; }
.cd__tz { font-size: 13px; opacity: .8; }
.cd__card.is-done .cd__nums { opacity: .55; }
.cd__card.is-done .cd__extra { font-size: clamp(1.4rem, 4vw, 2rem); }
.cd__card--big { min-height: 360px; justify-content: center; }
.cd__card--big:fullscreen { border-radius: 0; min-height: 100vh; font-size: 1.4em; }
.cd__card--big:fullscreen .cd__nums { max-width: 900px; }
.cd__card--big:fullscreen .cd__n { font-size: clamp(3rem, 10vw, 7rem); }
.cd__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.cd__qr canvas { width: 200px; height: 200px; border-radius: 10px; border: 1px solid var(--c-line); background: #fff; }
.cd__conf { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: cd-fall linear forwards; pointer-events: none; }
@keyframes cd-fall { to { transform: translateY(460px) rotate(540deg); opacity: 0; } }
