/* One shared lamp effect for the chosen preview and the real pipe exits. */
.scope-lamp-scene .label{font-family:var(--body,RedHat),sans-serif;font-weight:750;paint-order:stroke;stroke:#123b32;stroke-width:4px;stroke-linejoin:round}
.scope-lamp-scene [data-order="0"]{--i:0}.scope-lamp-scene [data-order="1"]{--i:1}.scope-lamp-scene [data-order="2"]{--i:2}.scope-lamp-scene [data-order="3"]{--i:3}.scope-lamp-scene [data-order="4"]{--i:4}
svg.scope-lamp-scene .lamp-pool,svg.scope-lamp-scene .light-beam,svg.scope-lamp-scene .reticle{opacity:.12;animation:scope-lamp-find 15s linear infinite;animation-delay:calc(var(--i)*3s)}
svg.scope-lamp-scene .reticle{opacity:.4;filter:drop-shadow(0 0 4px #fff0b0)}
.scope-lamp-scene .scene-link{cursor:pointer}.scope-lamp-scene .scene-link:hover .reticle,.scope-lamp-scene .scene-link:focus-visible .reticle{opacity:1;animation:none;stroke:#fff;stroke-width:5}
.scope-exits.scope-exits--lamp{display:block;margin-top:8px;padding:0;background:none}
.scope-exits--lamp .scope-lamp-scene{display:block;width:100%;height:auto;max-height:52svh;overflow:hidden}
.scope-exits.scope-exits--lamp a{display:initial;min-height:0;padding:0;background:none;border:0;border-radius:0;transform:none}
.scope-exits--lamp a::before,.scope-exits--lamp a::after{content:none}
@keyframes scope-lamp-find{0%,16%{opacity:1}20%,100%{opacity:.12}}
@media(prefers-reduced-motion:reduce){svg.scope-lamp-scene .lamp-pool{opacity:.8;animation:none}svg.scope-lamp-scene .light-beam{opacity:.35;animation:none}svg.scope-lamp-scene .reticle{opacity:.9;animation:none}}

.scope-lamp-scene .light-beam,.scope-lamp-scene .water-streak{pointer-events:none}

/* The live exits belong to the existing main pipe, with no inset scene or panel. */
.scope .scope-end,html.js .scope .scope-end{background:transparent;border:0;box-shadow:none;border-radius:0;width:100%;max-width:1000px;margin-inline:auto;padding:8px 10px 0;text-shadow:0 2px 3px #082c2c,0 0 8px #082c2c}
.scope-end .scope-top{justify-content:center}
.scope .scope-end h3{color:#fff4d5;text-align:center;font-family:var(--display);font-size:clamp(28px,calc(5 * min(1vw, 19.2px)),40px)}
.scope-end>.scope-ft{display:none}
.scope-end>.scope-top+p{text-align:center;color:#fff4db;font-size:clamp(16px,calc(2 * min(1vw, 19.2px)),20px);max-width:42ch;margin:5px auto 0}
.scope-end .scope-exits--lamp{margin-top:0}
.pipe-destinations{position:relative;width:100%;height:clamp(330px,47svh,470px);isolation:isolate}
.scope-exits.scope-exits--lamp .pipe-destination{position:absolute;left:var(--x);top:var(--y);display:flex;align-items:center;justify-content:center;width:46%;max-width:300px;min-height:54px;padding:6px 1px;transform:translate(-50%,-50%);border:0;border-radius:0;background:none;color:#cfe9f2;font:italic 900 clamp(22px,calc(3.3 * min(1vw, 19.2px)),32px)/1.04 var(--display);text-align:center;text-transform:uppercase;letter-spacing:.015em;touch-action:manipulation;isolation:isolate;outline-offset:4px}
.scope-exits--lamp .pipe-destination span{position:relative;z-index:1;display:block;text-shadow:0 2px 0 #075489,1px 0 2px #082e30,-1px 0 2px #082e30,0 3px 5px #082e30;animation:pipe-name-light 15s linear infinite;animation-delay:calc(var(--i)*3s)}
.scope-exits.scope-exits--lamp .pipe-destination--left{transform:translate(-50%,-50%) perspective(500px) rotateY(16deg) rotate(-7deg)}
.scope-exits.scope-exits--lamp .pipe-destination--right{transform:translate(-50%,-50%) perspective(500px) rotateY(-16deg) rotate(7deg)}
.scope-exits.scope-exits--lamp .pipe-destination--floor{transform:translate(-50%,-50%) perspective(400px) rotateX(26deg)}
.scope-exits--lamp .pipe-destination::before{content:'';display:block;position:absolute;inset:-55% -24%;width:auto;height:auto;border:0;border-radius:50%;background:radial-gradient(ellipse,#fff1bc 0%,#fbdc92aa 24%,#f9d99a55 47%,#ffe5a300 72%);z-index:-1;pointer-events:none;opacity:.06;animation:pipe-pool-light 15s linear infinite;animation-delay:calc(var(--i)*3s);mix-blend-mode:screen}
.scope-exits--lamp .pipe-destination::after{content:none}
.scope-exits.scope-exits--lamp .pipe-destination:hover,.scope-exits.scope-exits--lamp .pipe-destination:focus-visible{background:none;color:#fff5d5}
.scope-exits--lamp .pipe-destination:hover span,.scope-exits--lamp .pipe-destination:focus-visible span{animation:none;color:#fff5d5;filter:drop-shadow(0 0 3px #ffdda0)}
.scope-exits--lamp .pipe-destination:hover::before,.scope-exits--lamp .pipe-destination:focus-visible::before{animation:none;opacity:1}
@keyframes pipe-pool-light{0%,16%{opacity:.92}20%,96%{opacity:.06}100%{opacity:.92}}
@keyframes pipe-name-light{0%,16%{color:#fff6d5;filter:drop-shadow(0 0 3px #ffda99)}20%,96%{color:#cfe9f2;filter:none}100%{color:#fff6d5;filter:drop-shadow(0 0 3px #ffda99)}}
@media(prefers-reduced-motion:reduce){.scope-end .pipe-destination span,.scope-end .pipe-destination::before{animation:none}.scope-end .pipe-destination::before{opacity:.35}.scope-end .pipe-destinations{height:370px}.scope-end{grid-column:1/-1}}
@media(prefers-reduced-motion:no-preference){html.js .scope .scope-end{bottom:var(--park)}}
@media(max-width:360px){.scope-exits.scope-exits--lamp .pipe-destination{font-size:20px}.scope .scope-end{padding-inline:0}}

.pipe-destinations [data-order="0"]{--i:0;--x:26%;--y:12%}.pipe-destinations [data-order="1"]{--i:1;--x:72%;--y:31%}.pipe-destinations [data-order="2"]{--i:2;--x:25%;--y:48%}.pipe-destinations [data-order="3"]{--i:3;--x:73%;--y:67%}.pipe-destinations [data-order="4"]{--i:4;--x:50%;--y:88%}

.pipe-destinations{overflow:clip}.scope-exits.scope-exits--lamp .pipe-destination[data-order="1"]{width:54%;max-width:340px;font-size:clamp(18px,calc(5 * min(1vw, 19.2px)),30px)}
@media(max-width:760px){.scope-exits.scope-exits--lamp .pipe-destination{font-size:20px}}
