/* spark.css – dezente Jelly-Animation für eine einzelne Bubble */
.spark-bubble {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: radial-gradient(110% 110% at 10% 10%, rgba(34,211,238,.75), rgba(99,102,241,.75));
  box-shadow: 0 0 30px rgba(99,102,241,.35);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  animation: spark-float 16s ease-in-out infinite;
  transition: transform .4s ease;
  z-index: 40;
}
.spark-bubble:hover { transform: scale(1.05); }

.spark-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  border-radius: 9999px;
  font-size: 10px;
  padding: 2px 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

@keyframes spark-float {
  0%   { transform: translate3d(0,0,0) scale(1); }
  25%  { transform: translate3d(1px,-8px,0) scale(1.02); }
  50%  { transform: translate3d(-2px,-16px,0) scale(1.04); }
  75%  { transform: translate3d(2px,-8px,0) scale(1.02); }
  100% { transform: translate3d(0,0,0) scale(1); }
}

.spark-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
}
@media (min-width: 640px) {
  .spark-overlay { align-items: center; }
}
.spark-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  border: 1px solid rgba(255,255,255,.45);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
@media (prefers-color-scheme: dark) {
  .spark-card { background: rgba(2,6,23,.9); color: #e5e7eb; border-color: rgba(255,255,255,.2); }
}
.spark-actions { display:flex; gap: 8px; margin-top: 12px; }
.spark-btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
.spark-btn.primary { background:#4f46e5; color:#fff; }
.spark-btn.primary:hover { background:#4338ca; }
.spark-btn.ghost { background: transparent; border:1px solid rgba(148,163,184,.6); }
.spark-type { font-size: 11px; text-transform: uppercase; opacity:.7; margin-bottom:4px; }
.spark-title { font-size: 18px; font-weight: 600; margin: 4px 0 8px; }
.spark-teaser { font-size: 14px; line-height: 1.45; }
