/* The square overlay follows the square image even in the mobile landscape card. */
.stage-motion{position:absolute;left:0;top:50%;width:100%;aspect-ratio:1;transform:translateY(-50%);pointer-events:none;isolation:isolate}
.stage-motion,.stage-motion *{pointer-events:none}
.entry-number{z-index:2}
.entry-alocasia{--orbit-speed:26s;--orbit-phase:-4s;--stage-color:#65f1ff}
.entry-begonia{--orbit-speed:30s;--orbit-phase:-13s;--stage-color:#ff8fcf}
.entry-caladium{--orbit-speed:34s;--orbit-phase:-23s;--stage-color:#ffe478}
.orbit-plane{position:absolute;left:50%;top:76%;width:78%;aspect-ratio:1;transform:translate(-50%,-50%) rotate(-7deg) scaleY(.23);opacity:.88}
.orbit-plane-secondary{top:91%;width:92%;transform:translate(-50%,-50%) rotate(3deg) scaleY(.21);opacity:.65}
.orbit-spin{width:100%;height:100%;overflow:visible;animation:halo-orbit var(--orbit-speed,28s) linear infinite;animation-delay:var(--orbit-phase,0s);filter:drop-shadow(0 0 2px #54dfe9)}
.orbit-plane-secondary .orbit-spin{animation-direction:reverse;animation-duration:42s}
.orbit-track,.orbit-segments,.orbit-inner{fill:none}
.orbit-track{stroke:#84f6ff;stroke-width:.6;opacity:.38}
.orbit-segments{stroke:#8df7ff;stroke-width:2;stroke-linecap:round;stroke-dasharray:42 24 3 31 70 50 4 48 24 70 3 100}
.orbit-inner{stroke:var(--stage-color);stroke-width:1;stroke-dasharray:18 42 65 180;opacity:.8}
.orbit-beacon{fill:#eaffff;filter:drop-shadow(0 0 4px #70efff)}
.orbit-beacon-pink{fill:var(--stage-color)}
.orbit-tick{fill:none;stroke:#bbfbff;stroke-width:1.2}
.stage-aura{position:absolute;inset:59% 4% 0;background:radial-gradient(ellipse at 50% 70%,#59ebed26,transparent 65%);mix-blend-mode:screen;animation:stage-breathe 9s ease-in-out infinite}
.stage-spotlight{position:absolute;top:0;left:19%;width:62%;height:93%;background:linear-gradient(180deg,#9ceeff18,transparent 72%);clip-path:polygon(46% 0,54% 0,100% 100%,0 100%);mix-blend-mode:screen;transform-origin:50% 0;animation:stage-light 16s ease-in-out infinite alternate}
.stage-sparks{position:absolute;inset:0;overflow:hidden}
.stage-spark{position:absolute;top:84%;left:15%;width:2px;height:2px;border-radius:50%;background:#d0ffff;box-shadow:0 0 7px 1px #58e7ef8c;animation:stage-rise 10s linear infinite;opacity:0}
.spark-2{left:83%;animation-delay:-3s;animation-duration:12s}.spark-3{left:26%;animation-delay:-7s;animation-duration:14s}.spark-4{left:72%;animation-delay:-4s;animation-duration:11s}.spark-5{left:47%;animation-delay:-9s;animation-duration:13s}.spark-6{left:8%;animation-delay:-6s;animation-duration:12s}.spark-7{left:93%;animation-delay:-2s;animation-duration:15s}
.entry-begonia .stage-spark{background:#ffb8de;box-shadow:0 0 6px #ff8ac9}.entry-caladium .stage-spark{background:#fff0a6;box-shadow:0 0 6px #ffda61}
.hero-portals .entry-card{animation-duration:1.2s}
.hero-portals .entry-card:nth-child(2){animation-delay:.22s}.hero-portals .entry-card:nth-child(3){animation-delay:.44s}
.hero-motion-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px}
.hero-motion-footer .hero-cover-note{margin:0;flex:1}
.motion-toggle{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;min-height:40px;padding:8px 12px;border:1px solid var(--line);background:#0b171b;color:var(--cyan);font-size:11px;line-height:1.5;cursor:pointer}
.motion-toggle:hover{border-color:var(--cyan);background:#14272c}.motion-toggle>span:first-child{font-size:14px;min-width:12px}.motion-toggle:disabled{cursor:default;opacity:.7}
.hero-portals[data-motion-active=false] .stage-motion *{animation-play-state:paused!important}
@keyframes halo-orbit{to{transform:rotate(360deg)}}
@keyframes stage-breathe{0%,100%{opacity:.35}50%{opacity:.9}}
@keyframes stage-light{from{transform:rotate(-7deg);opacity:.4}to{transform:rotate(7deg);opacity:.8}}
@keyframes stage-rise{0%{transform:translate3d(0,0,0);opacity:0}15%{opacity:.7}80%{opacity:.3}100%{transform:translate3d(8px,-160px,0);opacity:0}}
@media(max-width:760px){.hero-motion-footer{align-items:flex-start;gap:12px;flex-wrap:wrap}.hero-motion-footer .hero-cover-note{flex-basis:190px}.motion-toggle{font-size:10px;min-height:40px;padding:8px 10px}.stage-spark{width:1.5px;height:1.5px}.orbit-segments{stroke-width:2.3}.stage-spotlight{opacity:.4}.stage-motion{max-height:100%}}
@media(prefers-reduced-motion:reduce){.stage-motion *{animation:none!important}.stage-sparks,.stage-spotlight,.stage-aura{display:none}.orbit-plane{opacity:.35}.hero-portals .entry-card{animation:none;transition:none}}
