.floating-gallery{isolation:isolate;background:#082952}
.gallery-stage{position:absolute;inset:160px 0 150px;z-index:3;touch-action:none;cursor:grab}
.gallery-stage canvas{display:block;width:100%;height:100%;touch-action:none}
.gallery-label{position:absolute;width:300px;min-height:108px;padding:12px 14px;border:1px solid #9ce6ff88;border-radius:21px;background:linear-gradient(145deg,#1d5d8ce8,#092a4eea);box-shadow:0 8px 24px #02193099,inset 0 1px 0 #d5f7ff55;color:#effaff;touch-action:none;will-change:transform}
.gallery-label strong{display:block;font-size:34px;font-weight:500;letter-spacing:3px}
.gallery-label small{display:block;margin-top:6px;font-size:19px;color:#adddf5;letter-spacing:1px}
.gallery-label[aria-current=true]{border-color:#d6faff;box-shadow:0 0 28px #79d9ff66,inset 0 1px 0 #e3faffaa;background:linear-gradient(145deg,#286f9cf2,#10416af5)}
.gallery-label:hover,.gallery-label:focus-visible{outline:3px solid #c4f7ff;outline-offset:4px;filter:brightness(1.15)}
.gallery-fallback-art{display:none}
.gallery-controls{position:absolute;left:50%;bottom:55px;transform:translateX(-50%);z-index:7;display:flex;gap:12px;padding:7px 14px;border:1px solid #9cddff88;border-radius:46px;background:#082b4ee8;box-shadow:0 6px 26px #00173388}
.gallery-controls button{height:68px;min-width:68px;padding:0 18px;border-radius:36px;background:none;color:#ddf5ff;font-size:42px}
.gallery-controls button:nth-child(2){font-size:28px;min-width:260px}
.gallery-controls button:disabled{opacity:.35}
.gallery-controls button:hover:not(:disabled),.gallery-controls button:focus-visible{background:#29628b}
.gallery-hint{position:absolute;left:50%;bottom:13px;transform:translateX(-50%);margin:0;white-space:nowrap;font-size:24px;letter-spacing:2px;color:#cfefff;text-shadow:0 2px 8px #052342;z-index:7}
.gallery-opening .gallery-label,.gallery-opening .gallery-controls,.gallery-opening .gallery-hint{visibility:hidden}
.floating-gallery>[data-art="graphic-title"]{pointer-events:none;z-index:5;transition:opacity .3s}
.floating-gallery.gallery-opening>[data-art="graphic-title"]{opacity:0}
.floating-gallery>.graphic-mascot{pointer-events:none;left:10px!important;top:745px!important;width:300px!important;height:300px!important;z-index:4}
.floating-gallery>.nav-back{z-index:8}
.floating-gallery>[data-art="directory-stars"]{z-index:8}
.floating-gallery .graphic-streak img{animation:gallery-flow 9s ease-in-out infinite}
.floating-gallery .graphic-spark img{animation:gallery-flare 5s ease-in-out infinite}
.floating-gallery.gallery-motion-paused .graphic-world *{animation-play-state:paused!important}
@keyframes gallery-flow{0%,100%{transform:translate(-55px,35px);opacity:.45}50%{transform:translate(65px,-40px);opacity:1}}
@keyframes gallery-flare{0%,100%{transform:scale(.85);opacity:.45}50%{transform:scale(1.25);opacity:1}}
.gallery-fallback .gallery-stage{display:flex;gap:22px;padding:30px;align-items:center;justify-content:center}
.gallery-fallback .gallery-stage canvas{display:none}
.gallery-fallback .gallery-label{position:relative;left:auto!important;top:auto!important;transform:none!important;width:22%;padding:10px;background:#0d365f}
.gallery-fallback .gallery-fallback-art{display:block;width:100%;height:500px;object-fit:contain}
@media(prefers-reduced-motion:reduce){.floating-gallery .graphic-world img{animation:none!important}.floating-gallery>[data-art="graphic-title"]{transition:none}}
@media(max-height:500px){.gallery-label{min-height:78px}.gallery-label small{display:none}}
