/* Independent layers: page, poster, transparent fireworks, close controls. */
.bhfe-popup{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;box-sizing:border-box;background:rgba(34,36,35,.22);pointer-events:none}
.bhfe-popup .bhfe-card{position:relative;pointer-events:auto;max-width:calc(100vw - 36px);max-height:calc(100dvh - 36px);border-radius:16px;box-shadow:0 18px 60px #2224}
.bhfe-poster,.bhfe-poster picture{display:block;margin:0;line-height:0}
.bhfe-poster img{display:block;width:auto;height:auto;max-width:calc(100vw - 36px);max-height:calc(100dvh - 36px);object-fit:contain;border-radius:16px}
.bhfe-copy{background:#fffdf8;border:1px solid #e3cf9c;color:#4e5150;box-sizing:border-box;border-radius:16px;padding:clamp(24px,5vw,60px);max-width:540px;text-align:center;font-family:inherit}
.bhfe-copy h2{font-size:clamp(28px,5vw,48px);line-height:1.15;margin:20px 0}.bhfe-copy p{line-height:1.7}.bhfe-copy small{letter-spacing:.15em;color:#9b7017}
.bhfe-theme-dark .bhfe-copy{background:#343735;color:white}.bhfe-theme-gold .bhfe-copy{background:#fff1c9}
.bhfe-close,.bhfe-stop{position:fixed;z-index:10003;pointer-events:auto;cursor:pointer;background:#4e5150;color:white;border:2px solid #fff;border-radius:50%;width:42px;height:42px;font:26px/1 Arial}
.bhfe-close{position:absolute;right:10px;top:10px}.bhfe-stop{right:20px;bottom:20px;width:auto;height:auto;padding:11px 16px;border-radius:24px;font:13px/1.3 Arial}
.bhfe-banner{position:relative;margin:14px auto;max-width:1000px}.bhfe-banner .bhfe-poster img{max-height:300px;margin:auto}
.bhfe-preview-label{position:fixed;left:8px;bottom:8px;z-index:10004;background:#fff8dd;color:#4e5150;padding:10px 14px;border:1px solid #c39732;border-radius:6px;font:12px/1.4 Arial;max-width:calc(100vw - 32px);pointer-events:none}
.lp-festival-effect{position:fixed;inset:0;z-index:10001;pointer-events:none!important;overflow:hidden;contain:layout paint}
.lp-festival-effect *{pointer-events:none!important}.lp-fireworks-canvas{display:block;width:100%;height:100%}
.lp-festival-effect i{position:absolute;left:var(--x);top:-20px;width:var(--size);height:calc(var(--size)*.55);background:var(--color);border-radius:2px;animation:bhfe-fall var(--duration) linear var(--delay) infinite}
.lp-effect-sparkles i,.lp-effect-soft i{top:var(--y);width:4px;height:4px;border-radius:50%;animation:bhfe-twinkle var(--duration) ease-in-out var(--delay) infinite}
.lp-effect-petals i{border-radius:70% 20%}
@keyframes bhfe-fall{from{transform:translate3d(0,-30px,0) rotate(0);opacity:0}10%{opacity:.9}to{transform:translate3d(var(--drift),110vh,0) rotate(var(--spin));opacity:.3}}
@keyframes bhfe-twinkle{0%,100%{opacity:.2;transform:scale(.6)}50%{opacity:.9;transform:scale(1.2)}}
@media(max-width:700px){.bhfe-popup{padding:10px}.bhfe-popup .bhfe-card,.bhfe-poster img{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.bhfe-stop{right:10px;bottom:10px}.bhfe-close{right:6px;top:6px}}
@media(prefers-reduced-motion:reduce){.lp-festival-effect{display:none!important}.lp-festival-effect *{animation:none!important}}
