/* v2.6 motion art direction: vivid yet cinematic */
.ep-scene{display:block;overflow:hidden;filter:saturate(1.22) contrast(1.07)}
.ep-scene .ep-cloud-0{animation:ep-cloud-left 12s ease-in-out infinite alternate}
.ep-scene .ep-cloud-1{animation:ep-cloud-right 9s ease-in-out infinite alternate}
.ep-scene .ep-cloud-2{animation:ep-cloud-left 8s ease-in-out infinite alternate-reverse}
.ep-scene .ep-light{animation:ep-glow 4.6s ease-in-out infinite alternate;transform-origin:552px 160px}
.ep-scene .ep-wave-strip{animation:ep-wave var(--wave-duration,4s) ease-in-out var(--wave-delay,0s) infinite alternate}
.ep-scene .ep-water-sparkles .ep-spark{animation:ep-sparkle var(--spark-duration,2s) ease-in-out var(--spark-delay,0s) infinite alternate}
.ep-scene .ep-boat{animation:ep-boat-peace 3.3s ease-in-out infinite;transform-origin:center center;transform-box:fill-box}
.ep-scene .ep-spray{animation:ep-spray-up 3s ease-in-out infinite alternate}
.ep-storm .ep-rain{animation:ep-rainfall .75s linear var(--rain-delay,0s) infinite}
.ep-storm .ep-lightning{animation:ep-thunder 5.1s steps(1,end) infinite;opacity:0}
.ep-storm .ep-lightning-2{animation-delay:-2.7s}
.ep-scene.ep-storm .ep-flash-overlay{animation:ep-flash 5.1s steps(1,end) infinite}
.ep-scene.ep-storm .ep-boat{animation:ep-boat-storm 2.2s ease-in-out infinite;transform-origin:center center;transform-box:fill-box}
@keyframes ep-cloud-left{from{translate:-50px 0}to{translate:100px 4px}}
@keyframes ep-cloud-right{from{translate:34px 0}to{translate:-70px -7px}}
@keyframes ep-glow{from{opacity:.7;scale:.95}to{opacity:1;scale:1.12}}
@keyframes ep-wave{0%{transform:translate3d(-36px,-3px,0)}100%{transform:translate3d(34px,6px,0)}}
@keyframes ep-sparkle{0%{opacity:.10;translate:-8px 8px}100%{opacity:.85;translate:11px -9px}}
@keyframes ep-boat-peace{0%,100%{transform:translateY(2px) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}
@keyframes ep-boat-storm{0%,100%{transform:translateY(6px) rotate(-7deg)}35%{transform:translateY(-22px) rotate(9deg)}65%{transform:translateY(12px) rotate(-3deg)}}
@keyframes ep-spray-up{0%{opacity:.3;translate:0 8px}100%{opacity:1;translate:0 -9px}}
@keyframes ep-rainfall{0%{translate:25px -70px;opacity:0}20%{opacity:.6}100%{translate:-65px 100px;opacity:0}}
@keyframes ep-thunder{0%,78%,82%,87%,100%{opacity:0}79%,81%,85%{opacity:.94}}
@keyframes ep-flash{0%,78%,80%,81%,85%,100%{opacity:0}79%,83%{opacity:.22}}
@keyframes ep-camera{0%{transform:scale(1.02) translateX(0)}45%{transform:scale(1.12) translateX(-1.8%)}100%{transform:scale(1.2) translateX(1.5%)}}
.cine .cine-fallback{position:absolute;inset:0}
.cine .cine-fallback .ep-scene{width:100%;height:100%}
.cine:not(.is-playing) .ep-scene *{animation-play-state:paused!important}
.cine.is-playing .cine-fallback>.ep-scene{animation:ep-camera 24s ease-in-out forwards}
.cine.is-storm{background:#180c3d}
.cine.is-storm .cine-shader{background:linear-gradient(180deg,rgba(4,5,30,.55),transparent 26%,rgba(10,4,33,.06) 45%,rgba(3,10,25,.82))}
.cine .cine-top strong{color:#ffeed2;background:#1e164f88;border:1px solid #e8c8ff8a}
.cine .cine-progress{accent-color:#ffbb75}
.cine .cine-controls button[aria-pressed=true]{background:#ffd3a3;border-color:#ffd3a3;color:#251842}
.ad-feature .ep-scene{animation:ep-feature-breathe 12s ease-in-out infinite alternate}
.ad-feature .ep-boat{animation-duration:4s}
@keyframes ep-feature-breathe{from{transform:scale(1.01)}to{transform:scale(1.09) translateY(-4px)}}
@media(max-width:440px){.cine .cine-controls{gap:5px;flex-wrap:wrap}.cine .cine-controls .cine-toggle{flex:1 1 auto;min-width:0}.cine .cine-controls .cine-time{margin-right:auto}}
@media(prefers-reduced-motion:reduce){.ep-scene *, .cine.is-playing .cine-fallback>.ep-scene,.ad-feature .ep-scene{animation:none!important;transition:none!important}}

/* mobile cinematic canvas must leave room for captions and controls */
@media(max-width:600px){.cine{min-height:326px;aspect-ratio:1.3}.cine .cine-captions{bottom:140px;left:17px;right:17px;font-size:13px}.cine .cine-bottom{bottom:9px}.cine .cine-controls{gap:6px}.cine .cine-controls .cine-toggle{padding:8px 9px}.cine .cine-main{width:58px;height:58px}}
@media(max-width:355px){.cine{min-height:345px}.cine .cine-captions{bottom:147px}}
