.treasure-scene{--rider-size:170px}.treasure-scene .magic-rider{left:auto;right:6px;bottom:6px}.magic-scene.treasure-scene.is-magic-playing .magic-rider{animation:treasure-open 6.4s linear 1 both}.magic-scene.treasure-scene.is-magic-playing .magic-riding-sheet{animation:magic-gallop 6.4s steps(1,end) 1 both}.treasure-scene.is-treasure-open .magic-riding-sheet{translate:-75% -50%}.treasure-scene .magic-riding-sheet{transition:none!important;mix-blend-mode:normal!important}.treasure-scene .magic-scene-controls{background:#fff6d6;border-color:#e2bd50}.treasure-scene.magic-catalog-card{--rider-size:115px}.treasure-scene.magic-catalog-card .magic-rider{bottom:36px}.treasure-scene.magic-catalog-card>.magic-scene-controls{margin:0 12px 14px}@keyframes treasure-open{0%,100%{translate:0 0}}@media(max-width:600px){.treasure-scene{--rider-size:135px}.treasure-scene.magic-catalog-card{--rider-size:115px}}@media(max-width:360px){.treasure-scene{--rider-size:115px}.treasure-scene.magic-catalog-card{--rider-size:100px}}@media(prefers-reduced-motion:reduce){.treasure-scene .magic-riding-sheet{translate:-75% -50%}}

/* Equal photo stage for both Schatzwelt views; preserve each complete photo. */
.treasure-scene.model-gallery .gallery-frame{width:100%;aspect-ratio:800/579;max-height:420px}.treasure-scene.model-gallery .gallery-frame>img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important}@media(max-width:760px){.treasure-scene.model-gallery .gallery-frame{max-height:320px}}

/* The wide second photograph fills the same stage by cropping its sides. */
.treasure-scene.model-gallery .gallery-frame[data-gallery-panel="2"]>img{object-fit:cover!important;object-position:50% 50%!important}

.treasure-scene .gallery-frame[data-gallery-panel="3"]{display:none}.treasure-scene:has(input[value="3"]:checked) .gallery-frame[data-gallery-panel]{display:none}.treasure-scene:has(input[value="3"]:checked) .gallery-frame[data-gallery-panel="3"]{display:flex}
