/* Scan4Me – gemeinsames Stylesheet (Gäste-Ansicht und Dashboard) */

:root {
  --ink: #f0eee2;
  --surface: #fdfdf8;
  --surface-2: #e9f0e0;
  --line: #d9dcc6;
  --text: #24352b;
  --muted: #6e7d6e;
  --green: #2e7a57;
  --green-soft: #3c9a6f;
  --berry: #b23a63;
  --star: #eab230;
  --radius: 18px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* Muss vor allen display-Regeln stehen: sonst gewinnt z. B. .gift-cover{display:block}
   gegen das eingebaute [hidden] und verdeckte Elemente bleiben sichtbar. */
[hidden] { display: none !important; }

html { color-scheme: light; }

body {
  background: var(--ink);
  background-image: linear-gradient(180deg, #e4eddb 0, var(--ink) 320px);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 440px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.wrap.wide { max-width: 900px; }

/* ------------------------------------------- Palm & Berry: tropischer Look */
/* Nur auf der Gäste-Ansicht (body.guest). Blätter liegen fest im Hintergrund,
   der Beeren-Zweig sitzt im Kopf, die Açaí-Tropfen laufen über die Kartenkante. */

body.guest {
  background-image:
    radial-gradient(circle at 12% 9%,  rgba(233, 132, 170, 0.55) 0 3px,   transparent 4px),
    radial-gradient(circle at 19% 15%, rgba(233, 132, 170, 0.40) 0 2px,   transparent 3px),
    radial-gradient(circle at 7% 20%,  rgba(233, 132, 170, 0.45) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 88% 11%, rgba(233, 132, 170, 0.45) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 93% 19%, rgba(233, 132, 170, 0.35) 0 2px,   transparent 3px),
    linear-gradient(180deg, #e4eddb 0, var(--ink) 320px);
}
body.guest .wrap { position: relative; z-index: 1; }
body.guest::before,
body.guest::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.10;
}
body.guest::before {
  left: -58px; top: -26px; width: 230px; height: 294px;
  background-image: url("/img/monstera.svg");
  transform: rotate(-22deg);
}
body.guest::after {
  right: -64px; bottom: -36px; width: 290px; height: 290px;
  background-image: url("/img/palm.svg");
}
.sprig { display: block; width: 78px; height: 39px; margin: 0 auto 4px; }
.card.drip { position: relative; overflow: hidden; padding-top: 46px; }
.card.drip::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 28px;
  background: url("/img/drip.svg") center / 100% 100% no-repeat;
}

/* ---------------------------------------------------------------- Kopf */

.brand { text-align: center; padding: 10px 0 26px; }
.brand .eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.brand .resto {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 31px;
  color: var(--text);
  text-wrap: balance;
}
.rule {
  width: 64px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green) 60%, var(--berry) 60%);
  margin: 16px auto 0;
}

/* --------------------------------------------------------------- Karten */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 3px 16px rgba(46, 90, 66, 0.07);
}
.card + .card { margin-top: 16px; }

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 6px;
  text-wrap: balance;
}
.sub { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }

/* -------------------------------------------------------------- Formular */

label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field { margin-bottom: 16px; }

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea {
  width: 100%;
  background: #fbfaf3;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s;
}
input:focus, textarea:focus { border-color: var(--green); }
textarea { min-height: 110px; resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--green);
  color: #fdfdf8;
  border: none;
  border-radius: 99px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn:hover { background: var(--green-soft); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.ghost {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--line);
  font-weight: 500;
}
.btn.ghost:hover { border-color: var(--green); background: transparent; }
.btn.small { width: auto; font-size: 14px; padding: 10px 18px; }

.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
.star:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green-soft);
  outline-offset: 2px;
}

.error { color: var(--berry); font-size: 14px; margin-top: 10px; display: none; }
.error.show { display: block; }
.success { color: var(--green); font-size: 14px; margin-top: 10px; display: none; }
.success.show { display: block; }

/* --------------------------------------------------------------- Sterne */

.stars { display: flex; justify-content: center; gap: 10px; padding: 14px 0 6px; }
.star {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  color: var(--line);
  padding: 4px;
  transition: color 0.12s, transform 0.12s;
}
.star.on { color: var(--star); text-shadow: 0 0 18px rgba(234, 178, 48, 0.35); }
.star:hover { transform: scale(1.12); }
.star-caption {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  min-height: 22px;
  margin-bottom: 14px;
}

/* -------------------------------------------------------------- Geschenk */

.prize-box { text-align: center; padding: 8px 0 4px; }
.prize-box .big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--green);
  margin: 10px 0 4px;
  text-wrap: balance;
}
.voucher {
  margin: 18px auto 6px;
  max-width: 300px;
  border: 1.5px dashed var(--berry);
  border-radius: 14px;
  padding: 18px 16px;
  background: var(--surface-2);
}
.v-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.v-prize {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
}
.code-chip {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.14em;
  color: var(--green);
  background: #fbfaf3;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 18px;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.code-chip.redeemed { color: var(--muted); text-decoration: line-through; }
.v-prize.drawing { color: var(--muted); font-style: italic; animation: pulse 0.9s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .v-prize.drawing { animation: none; } }
.prize-note { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.masked { color: var(--muted); }

.notice {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.notice strong { color: var(--text); }
.tpl {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #fbfaf3;
}
.tpl-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tpl-kind { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tpl-subject { font-weight: 700; }
.tpl-body { white-space: pre-wrap; font-family: inherit; font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.hint { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Google-Bitte und verdecktes Geschenk */
/* Reihenfolge: nach 4-5 Sternen steht die Google-Bitte oben und das verdeckte
   Geschenk darunter (.ask-first). Nach 1-3 Sternen umgekehrt. Die Trennlinie
   wandert mit, damit die Karte in beiden Faellen sauber gegliedert bleibt. */
#stepDone { display: flex; flex-direction: column; }
.done-top { order: 0; }
.gift-block { order: 1; position: relative; }
.google-ask { order: 2; }
#stepDone.ask-first .google-ask { order: 1; }
#stepDone.ask-first .gift-block { order: 2; }

.gift-secured {
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
  margin-top: 10px;
  text-wrap: balance;
}

.google-ask {
  text-align: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  animation: askIn 0.45s ease both;
}
/* Steht die Bitte oben, braucht sie keine Trennlinie - die bekommt das Geschenk. */
#stepDone.ask-first .google-ask {
  margin-top: 0; padding-top: 0; border-top: none; animation: none;
}
#stepDone.ask-first .gift-block {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
}
.google-ask .btn { text-decoration: none; }
@keyframes askIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* Danke-Kopf mit den Sternen, die der Gast gerade vergeben hat */
.done-top { text-align: center; margin-bottom: 18px; }
.done-top .big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  text-wrap: balance;
}
.star-echo {
  margin-top: 6px;
  font-size: 22px;
  letter-spacing: 0.16em;
  color: var(--star);
  line-height: 1;
}

/* Verdecktes Geschenk - ein Tipp deckt auf. Reine Vorfreude, keine Bedingung. */
.gift-cover {
  display: block;
  width: 100%;
  border: 1.5px dashed var(--berry);
  background: linear-gradient(160deg, #fdf3f7 0%, var(--surface-2) 100%);
  border-radius: 16px;
  padding: 26px 18px;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  animation: giftBreathe 2.4s ease-in-out infinite;
}
.gift-cover:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(178, 58, 99, 0.14); }
.gift-cover:active { transform: scale(0.985); }
.gift-cover:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.gc-emoji { display: block; font-size: 40px; line-height: 1; }
.gc-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
  margin-top: 10px;
}
.gc-hint {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--berry);
  margin-top: 8px;
}
@keyframes giftBreathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(178, 58, 99, 0.16); }
  50%      { box-shadow: 0 0 0 7px rgba(178, 58, 99, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .gift-cover, .google-ask { animation: none; }
}
.google-ask[hidden] { display: none; }
.google-ask .big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--green);
  margin: 8px 0 10px;
  text-wrap: balance;
}
.google-ask .ask-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 6px;
  text-wrap: balance;
}
.google-ask .ask-note {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 14px;
}

/* ---------------------------------------------------------- Einwilligung */

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 18px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}
.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--green);
  flex-shrink: 0;
  cursor: pointer;
}
.consent label {
  all: unset;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}
.consent strong { color: var(--text); font-weight: 700; }
.consent a, .modal-body a { color: var(--green); }

/* ---------------------------------------------------------------- Modal */

.overlay[hidden] { display: none; }
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 45, 34, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 12px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 { margin: 0; }
.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.modal-close:hover { color: var(--green); }
.modal-body { padding: 18px 22px 24px; overflow-y: auto; font-size: 14.5px; }
.modal-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--green);
  margin: 18px 0 6px;
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 10px; color: var(--muted); }
.modal-body p strong { color: var(--text); font-weight: 700; }
.modal-body .law { font-size: 12.5px; opacity: 0.8; }

/* ------------------------------------------------------------ Dashboard */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.stat .lbl {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.pill.hi { background: rgba(46, 122, 87, 0.12); color: var(--green); }
.pill.lo { background: rgba(178, 58, 99, 0.12); color: var(--berry); }
.pill.neutral { background: rgba(110, 125, 110, 0.12); color: var(--muted); }

.fb { font-style: italic; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 160px; text-transform: uppercase; letter-spacing: 0.12em; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.topbar .who { font-size: 13.5px; color: var(--muted); }
select {
  background: #fbfaf3;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 9px 12px;
}

/* ---------------------------------------------------------------- Rest */

footer {
  margin-top: auto;
  padding-top: 34px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
  cursor: pointer;
}
footer a:hover { color: var(--green); }
.powered {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10.5px;
  margin-top: 6px;
  opacity: 0.7;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--text);
  color: #fdfdf8;
  border-radius: 99px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 60;
}
.toast.show { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ------------------------------------------- Hilfsklassen statt Inline-Styles */
/* Die CSP erlaubt keine style-Attribute im Markup – alles liegt hier. */

.emoji-lg { font-size: 34px; }
.emoji-xl { font-size: 38px; }
.v-label-gap { margin-top: 14px; }
.v-prize-gap { margin-bottom: 10px; }
.code-green { color: var(--green); }
.venue-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Schwebende Beeren im Hintergrund. Reine CSS-Animation auf transform und
   opacity – die laufen im Compositor, kosten also kaum Rechenzeit und
   blockieren nichts. Die Hülle bewegt sich senkrecht, das innere <i>
   pendelt seitlich; zwei Ebenen, damit sich die Transforms nicht
   gegenseitig überschreiben. */
.berries{
  position:fixed; inset:0; z-index:0;
  overflow:hidden; pointer-events:none;
}
.b{
  position:absolute; bottom:-40px;
  animation-name:berryRise;
  animation-timing-function:linear;
  animation-iteration-count:infinite;
  will-change:transform;
}
.b i{
  display:block; width:100%; height:100%;
  border-radius:50%;
  background-color:var(--c);
  background-image:radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), rgba(255,255,255,0) 45%);
  animation-name:berrySway;
  animation-timing-function:ease-in-out;
  animation-iteration-count:infinite;
  animation-direction:alternate;
}
@keyframes berryRise{
  0%   { transform:translate3d(0,0,0) scale(.85); opacity:0; }
  10%  { opacity:var(--o); }
  90%  { opacity:var(--o); }
  100% { transform:translate3d(var(--dx),-108vh,0) scale(1.08); opacity:0; }
}
@keyframes berrySway{
  from { transform:translateX(-9px); }
  to   { transform:translateX(9px); }
}

/* Kleiner Beeren-Regen beim Aufdecken des Geschenks. */
.pop{
  position:absolute; left:50%; top:44%;
  width:0; height:0; pointer-events:none; z-index:2;
}
.pop span{
  position:absolute; border-radius:50%; opacity:0;
  background-image:radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), rgba(255,255,255,0) 45%);
}
.pop.go span{ animation:berryPop .95s cubic-bezier(.18,.7,.3,1) both; }
@keyframes berryPop{
  0%   { transform:translate3d(0,0,0) scale(.3); opacity:0; }
  18%  { opacity:1; }
  100% { transform:translate3d(var(--px),var(--py),0) scale(1) rotate(var(--pr)); opacity:0; }
}

/* Im Admin-Bereich stört die Spielerei – dort bleibt es ruhig. */
body.in-admin .berries{ display:none; }

@media (prefers-reduced-motion: reduce){
  .berries{ display:none; }
  .pop.go span{ animation:none; }
}

.b:nth-child(1){left:3.0%;width:6px;height:6px;--dx:-46px;--o:0.24;animation-duration:22s;animation-delay:0s;--c:#5b2a66;}
.b:nth-child(1) i{animation-duration:5s;animation-delay:0s;}
.b:nth-child(2){left:11.9%;width:7px;height:7px;--dx:21px;--o:0.37;animation-duration:32s;animation-delay:-5s;--c:#7a2f6b;}
.b:nth-child(2) i{animation-duration:7s;animation-delay:-1s;}
.b:nth-child(3){left:12.1%;width:8px;height:8px;--dx:-5px;--o:0.28;animation-duration:23s;animation-delay:-10s;--c:#b23a63;}
.b:nth-child(3) i{animation-duration:9s;animation-delay:-2s;}
.b:nth-child(4){left:23.8%;width:9px;height:9px;--dx:-31px;--o:0.41;animation-duration:33s;animation-delay:-15s;--c:#e984aa;}
.b:nth-child(4) i{animation-duration:6s;animation-delay:-3s;}
.b:nth-child(5){left:28.8%;width:10px;height:10px;--dx:36px;--o:0.32;animation-duration:24s;animation-delay:-20s;--c:#6d3a7a;}
.b:nth-child(5) i{animation-duration:8s;animation-delay:-4s;}
.b:nth-child(6){left:31.3%;width:11px;height:11px;--dx:10px;--o:0.45;animation-duration:34s;animation-delay:-25s;--c:#5b2a66;}
.b:nth-child(6) i{animation-duration:5s;animation-delay:-5s;}
.b:nth-child(7){left:43.9%;width:12px;height:12px;--dx:-16px;--o:0.36;animation-duration:25s;animation-delay:-30s;--c:#7a2f6b;}
.b:nth-child(7) i{animation-duration:7s;animation-delay:-6s;}
.b:nth-child(8){left:45.5%;width:13px;height:13px;--dx:-42px;--o:0.27;animation-duration:35s;animation-delay:-35s;--c:#b23a63;}
.b:nth-child(8) i{animation-duration:9s;animation-delay:-7s;}
.b:nth-child(9){left:51.6%;width:14px;height:14px;--dx:25px;--o:0.40;animation-duration:26s;animation-delay:-4s;--c:#e984aa;}
.b:nth-child(9) i{animation-duration:6s;animation-delay:-8s;}
.b:nth-child(10){left:62.8%;width:6px;height:6px;--dx:-1px;--o:0.31;animation-duration:36s;animation-delay:-9s;--c:#6d3a7a;}
.b:nth-child(10) i{animation-duration:8s;animation-delay:-9s;}
.b:nth-child(11){left:62.7%;width:7px;height:7px;--dx:-27px;--o:0.44;animation-duration:27s;animation-delay:-14s;--c:#5b2a66;}
.b:nth-child(11) i{animation-duration:5s;animation-delay:-10s;}
.b:nth-child(12){left:72.5%;width:8px;height:8px;--dx:40px;--o:0.35;animation-duration:37s;animation-delay:-19s;--c:#7a2f6b;}
.b:nth-child(12) i{animation-duration:7s;animation-delay:-11s;}
.b:nth-child(13){left:80.4%;width:9px;height:9px;--dx:14px;--o:0.26;animation-duration:28s;animation-delay:-24s;--c:#b23a63;}
.b:nth-child(13) i{animation-duration:9s;animation-delay:-12s;}
.b:nth-child(14){left:81.0%;width:10px;height:10px;--dx:-12px;--o:0.39;animation-duration:38s;animation-delay:-29s;--c:#e984aa;}
.b:nth-child(14) i{animation-duration:6s;animation-delay:-13s;}
.b:nth-child(15){left:93.2%;width:11px;height:11px;--dx:-38px;--o:0.30;animation-duration:29s;animation-delay:-34s;--c:#6d3a7a;}
.b:nth-child(15) i{animation-duration:8s;animation-delay:-14s;}
.b:nth-child(16){left:97.2%;width:12px;height:12px;--dx:29px;--o:0.43;animation-duration:39s;animation-delay:-3s;--c:#5b2a66;}
.b:nth-child(16) i{animation-duration:5s;animation-delay:-15s;}

.pop span:nth-child(1){width:7px;height:7px;background-color:#5b2a66;--px:-14px;--py:-60px;--pr:-11deg;animation-delay:0.00s;}
.pop span:nth-child(2){width:8px;height:8px;background-color:#7a2f6b;--px:71px;--py:-54px;--pr:47deg;animation-delay:0.08s;}
.pop span:nth-child(3){width:9px;height:9px;background-color:#b23a63;--px:56px;--py:-40px;--pr:49deg;animation-delay:0.05s;}
.pop span:nth-child(4){width:10px;height:10px;background-color:#e984aa;--px:93px;--py:23px;--pr:107deg;animation-delay:0.02s;}
.pop span:nth-child(5){width:11px;height:11px;background-color:#6d3a7a;--px:70px;--py:20px;--pr:109deg;animation-delay:0.10s;}
.pop span:nth-child(6){width:12px;height:12px;background-color:#5b2a66;--px:22px;--py:78px;--pr:167deg;animation-delay:0.07s;}
.pop span:nth-child(7){width:7px;height:7px;background-color:#7a2f6b;--px:14px;--py:60px;--pr:169deg;animation-delay:0.04s;}
.pop span:nth-child(8){width:8px;height:8px;background-color:#b23a63;--px:-71px;--py:54px;--pr:227deg;animation-delay:0.01s;}
.pop span:nth-child(9){width:9px;height:9px;background-color:#e984aa;--px:-56px;--py:40px;--pr:229deg;animation-delay:0.09s;}
.pop span:nth-child(10){width:10px;height:10px;background-color:#6d3a7a;--px:-93px;--py:-23px;--pr:287deg;animation-delay:0.06s;}
.pop span:nth-child(11){width:11px;height:11px;background-color:#5b2a66;--px:-70px;--py:-20px;--pr:289deg;animation-delay:0.03s;}
.pop span:nth-child(12){width:12px;height:12px;background-color:#7a2f6b;--px:-22px;--py:-78px;--pr:347deg;animation-delay:0.00s;}
