/* Shared decorative overlay: never captures input or changes document dimensions. */
.wedding-petals { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 10; }
.wedding-petal { position: absolute; top: -24px; left: var(--petal-left); width: var(--petal-size); height: calc(var(--petal-size) * .65); border-radius: 85% 10% 80% 15%; background: var(--petal-color); opacity: 0; animation: wedding-petal-fall var(--petal-duration) var(--petal-delay) linear infinite; }
.wedding-petals.is-paused .wedding-petal { animation-play-state: paused; }
#petals-toggle { position: fixed; right: var(--space-3); bottom: var(--space-3); z-index: 11; width: auto; margin: 0; min-height: 32px; padding: var(--space-1) var(--space-3); border: 1px solid var(--color-border-default); border-radius: var(--radius-control); background: var(--color-bg-surface); color: var(--color-text-secondary); font-family: var(--font-family-body); font-size: var(--font-size-xs); line-height: var(--line-height-body); box-shadow: var(--shadow-raised); cursor: pointer; }
#petals-toggle[hidden] { display: none; }
#petals-toggle:focus-visible { outline: 2px solid var(--color-action-primary); outline-offset: 3px; }
@keyframes wedding-petal-fall {
    0% { transform: translate3d(0, -24px, 0) rotate(0deg); opacity: 0; }
    10% { opacity: .55; }
    35% { transform: translate3d(28px, 35vh, 0) rotate(110deg); }
    65% { transform: translate3d(-20px, 65vh, 0) rotate(220deg); }
    90% { opacity: .45; }
    100% { transform: translate3d(var(--petal-drift), calc(100vh + 48px), 0) rotate(340deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .wedding-petals, #petals-toggle { display: none; }
    .wedding-petal { animation: none; }
}
