/* Petals sit above the photograph/video and below the title and navigation. */
.hero-frame.has-sakura-petals{isolation:isolate}
.sakura-petals{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;user-select:none;contain:layout paint}
.sakura-petals[hidden]{display:none!important}
.sakura-petal-fall{position:absolute;top:-32px;bottom:-32px;left:var(--petal-left);width:var(--petal-size);opacity:0;animation:sakura-petal-fall calc(var(--petal-duration) * var(--wind-fall,1)) calc(var(--petal-delay) * var(--wind-fall,1)) linear infinite;pointer-events:none}
.sakura-petal-leaf{display:block;width:100%;height:auto;overflow:visible;color:var(--petal-color);fill:currentColor;stroke:#ffeaf2;stroke-width:.35;transform-origin:50% 30%;animation:sakura-petal-sway calc(var(--petal-sway) * var(--wind-sway,1)) var(--petal-delay) ease-in-out infinite alternate}
.sakura-petals[data-paused="true"] .sakura-petal-fall,.sakura-petals[data-paused="true"] .sakura-petal-leaf{animation-play-state:paused}
@keyframes sakura-petal-fall{
 0%{transform:translate3d(0,0,0);opacity:0}
 8%,88%{opacity:var(--petal-opacity)}
 100%{transform:translate3d(calc(var(--petal-drift) * var(--wind-drift,1)),100%,0);opacity:0}
}
@keyframes sakura-petal-sway{
 0%{transform:translateX(calc(-12px * var(--wind-flutter,1))) rotate(-35deg) rotateY(0deg)}
 50%{transform:translateX(calc(8px * var(--wind-flutter,1))) rotate(12deg) rotateY(48deg)}
 100%{transform:translateX(calc(18px * var(--wind-flutter,1))) rotate(55deg) rotateY(135deg)}
}
.hero-controls .sakura-petals-toggle{border-color:#e9b7ce;color:#a23b66}
.hero-controls .sakura-petals-toggle:disabled{cursor:default;opacity:.65}
.hero-controls .sakura-petals-toggle:focus-visible{outline:3px solid #a23b66;outline-offset:3px}
@media(max-width:700px){
 .sakura-petal-fall:nth-child(n+13){display:none}
 .sakura-petal-fall{width:calc(var(--petal-size) * .8)}
}
@media(prefers-reduced-motion:reduce){.sakura-petals{display:none!important}.sakura-petal-fall,.sakura-petal-leaf{animation:none}}
@media(forced-colors:active){.sakura-petals{display:none}}
.sakura-wind-info{flex-basis:100%;display:flex;justify-content:center;gap:5px 12px;flex-wrap:wrap;font-size:14px;line-height:1.5;color:#715967}
.sakura-wind-info[hidden],.sakura-wind-info a[hidden]{display:none}
.sakura-wind-info a{font-size:12px;color:#856675;text-underline-offset:3px}

/* Subpages: a light, non-interactive layer across the viewport. */
.sakura-petals.sakura-petals--page{position:fixed;inset:0;z-index:5;pointer-events:none}
@media print{.sakura-petals{display:none!important}}
