/* 電球の温度を引き継ぐ小さな光。写真の領域のみ、装飾は操作を受け取らない。 */
.light-effects{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2;contain:layout paint}
.light-mote,.light-star{position:absolute;left:var(--x);top:var(--y);display:block;pointer-events:none;opacity:0}
.light-mote{width:var(--size);height:var(--size);border-radius:50%;background:#fff5d5;box-shadow:0 0 6px 2px #f4cf8799,0 0 15px 4px #dfb56344;animation:forest-mote var(--duration) var(--delay) ease-in-out infinite;will-change:transform,opacity}
.light-star{width:18px;height:18px;filter:drop-shadow(0 0 5px #ffe2a3);animation:forest-star 9s var(--delay) ease-in-out infinite}
.light-star:before,.light-star:after{content:"";position:absolute;left:50%;top:50%;background:linear-gradient(transparent,#fff9e8 45%,#fff9e8 55%,transparent);transform:translate(-50%,-50%);border-radius:50%}
.light-star:before{width:2px;height:22px}.light-star:after{width:22px;height:2px;background:linear-gradient(90deg,transparent,#fff9e8 45%,#fff9e8 55%,transparent)}
.light-star.title-spark{width:24px;height:24px;filter:drop-shadow(0 0 6px #ffe2a3) drop-shadow(0 0 12px #eac37a99);animation:title-twinkle 4.8s var(--delay) ease-in-out infinite}
.title-spark:before{height:32px;width:2px}.title-spark:after{width:32px;height:2px}
@keyframes title-twinkle{0%,100%{opacity:.12;transform:scale(.45) rotate(0)}23%{opacity:1;transform:scale(1.15) rotate(8deg)}43%{opacity:.18;transform:scale(.55) rotate(14deg)}65%{opacity:.85;transform:scale(.9) rotate(20deg)}84%{opacity:.14;transform:scale(.4) rotate(26deg)}}
.art:not(.lights-visible) .light-effects *,.tab-hidden .light-effects *{animation-play-state:paused}
.hero-action .btn,.closing-action .btn{position:relative;overflow:hidden}
.hero-action .btn:after,.closing-action .btn:after{content:"";position:absolute;inset:-60% auto -60% -55%;width:24%;transform:translateX(0) rotate(22deg);background:linear-gradient(90deg,#fff9ed00,#fff9ed55,#fff9ed00);opacity:0;pointer-events:none;animation:champagne-sheen 9s 2s ease-in-out infinite}
.closing-action .btn:after{animation-delay:5s}
@keyframes forest-mote{0%,100%{opacity:0;transform:translate3d(0,8px,0) scale(.65)}24%{opacity:.65}54%{opacity:.2;transform:translate3d(5px,-8px,0) scale(1)}76%{opacity:.8}95%{opacity:0;transform:translate3d(-3px,-23px,0) scale(.7)}}
@keyframes forest-star{0%,37%,67%,100%{opacity:0;transform:scale(.35) rotate(0)}47%{opacity:.9;transform:scale(1) rotate(12deg)}54%{opacity:.18;transform:scale(.65) rotate(20deg)}59%{opacity:.65;transform:scale(.85) rotate(25deg)}}
@keyframes champagne-sheen{0%,68%,100%{opacity:0;left:-55%}73%{opacity:.65}87%{opacity:0;left:135%}}
.motion-paused .light-effects,.tab-hidden .light-effects{visibility:hidden}
.motion-paused .hero-action .btn:after,.motion-paused .closing-action .btn:after{display:none}
@media(max-width:480px){.light-mote{box-shadow:0 0 5px 1px #f4cf8799,0 0 10px 2px #dfb56344}.light-star{width:14px;height:14px}}
@media(max-width:480px){.light-star.title-spark{width:18px;height:18px}.title-spark:before{height:25px}.title-spark:after{width:25px}}
@media(prefers-reduced-motion:reduce){.light-effects,.hero-action .btn:after,.closing-action .btn:after{display:none!important}}
