/* Three creative studios, with a large stable stage and compact native scan controls. */
.world-studio{gap:10px;min-height:0}.world-studio .scan-prompt{flex:none;margin:0;font-size:clamp(17px,2.2vw,25px)}.world-studio__body{display:grid;grid-template-columns:minmax(0,1fr) 272px;gap:14px;min-height:0;flex:1}.world-scene{position:relative;isolation:isolate;overflow:hidden;min-height:180px;border:3px solid #71909a;border-radius:22px;background:#15243b;box-shadow:0 10px 30px #20374b25}.world-scene__art{position:absolute;inset:0;width:100%;height:100%;z-index:3}.world-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;overflow:auto;min-height:0;padding:6px;scroll-padding:8px}.world-controls .kunst-knopf{min-width:0;min-height:96px;padding:8px 5px;gap:5px;border:2px solid #d4dde3;border-radius:15px;background:#fff;color:#30475a}.world-controls .kunst-knopf svg{width:25px;height:25px}.world-controls .scan-card__label{font-size:15px;line-height:1.25}.world-controls .kunst-knopf:disabled{opacity:1;border-style:dashed;background:#f1f4f6;color:#4f6374}.world-controls .kunst-knopf.scan-focus,.world-places .kunst-knopf.scan-focus{outline-offset:-4px;transform:none}.world-count{flex:none;text-align:center;margin:0;color:#607586;font-size:13px;line-height:1.5}.world-places{position:absolute;inset:0;z-index:20;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px;pointer-events:none}.world-places:empty{display:none}.world-places .kunst-knopf{pointer-events:auto;align-self:end;min-height:96px;border:2px dashed #fff8;border-radius:18px;background:#16314bde;color:#fff;margin-bottom:10px}.world-places .kunst-knopf svg{width:24px;height:24px}.world-places .scan-card__label{font-size:clamp(15px,2vw,22px)}.world-touch{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;cursor:pointer}.world-touch:focus-visible{outline:6px solid #f0a123;outline-offset:-7px;border-radius:18px}.world-studio--simple .world-studio__body{display:flex}.world-studio--simple .world-scene{flex:1}.world-scene__effect{position:absolute;inset:0;overflow:hidden;pointer-events:none}.world-effect-bit{position:absolute;top:8%;width:10px;height:23px;background:linear-gradient(#e3faff,#87d3e8);border-radius:80% 80% 65% 65%;opacity:0;animation:world-water 1.2s linear infinite}.world-studio--light .world-effect-bit{top:20%;width:130px;height:130px;border:2px solid #e6cda0;border-radius:50%;background:none;animation:world-pulse 2s ease-out infinite}.world-object{transform-box:fill-box;transform-origin:center;}.world-object--fresh{animation:world-arrive .45s ease-out both}.world-studio--light .world-object{animation:world-glow 6s ease-in-out .5s infinite}.world-scene--active .world-object--flower{filter:brightness(1.12)}
@keyframes world-arrive{from{opacity:0}to{opacity:1}}@keyframes world-water{0%{transform:translateY(0);opacity:0}15%{opacity:.8}90%{opacity:.8}100%{transform:translateY(45vh);opacity:0}}@keyframes world-pulse{from{scale:.3;opacity:.7}to{scale:3;opacity:0}}@keyframes world-glow{50%{opacity:.65}}
[data-world-paused=true] .world-object,[data-world-paused=true] .world-effect-bit{animation-play-state:paused!important}[data-world-motion=off] .world-object,[data-world-motion=off] .world-effect-bit{animation:none!important}[data-world-motion=off] .world-effect-bit{opacity:.75;top:35%}[data-activity-backgrounds=off] .world-layer{background-image:none!important}[data-activity-backgrounds=off] .world-layer img,[data-activity-backgrounds=off] .world-layer svg,[data-activity-backgrounds=off] .world-butterflies,[data-activity-backgrounds=off] .world-twinkle,[data-activity-backgrounds=off] .world-river__glint{display:none}[data-theme=cvi] .world-scene{border-color:#fff}[data-theme=cvi] .world-controls .kunst-knopf{background:#000;color:#fff;border-color:#fff}
@media(max-width:700px){.world-studio__body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(180px,1fr) 212px;gap:8px}.world-controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.world-controls .kunst-knopf{min-height:96px;padding:6px 3px}.world-controls .scan-card__label{font-size:12px}.world-controls .kunst-knopf svg{width:21px;height:21px}.world-studio{gap:7px}.world-scene{border-radius:16px}.world-places{gap:4px;padding:7px}.world-places .kunst-knopf{min-height:96px;padding:7px 4px}.world-studio--simple .world-studio__body{display:flex}.world-count{font-size:12px}}
@media(max-height:600px) and (min-width:701px){.world-studio__body{grid-template-columns:minmax(0,1fr) 272px}.world-controls .kunst-knopf{min-height:96px;padding:5px}.world-controls .kunst-knopf svg{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.world-object,.world-effect-bit{animation:none!important}.world-effect-bit{opacity:.75;top:35%}}

.world-places--nine{grid-template-rows:repeat(3,minmax(0,1fr))}.world-places--nine .kunst-knopf{align-self:stretch;margin:0;min-height:96px;background:#17374cd9}.world-places--nine .scan-card__label{font-size:clamp(13px,1.7vw,21px)}

/* Etappe E 30.10.2026 – gemalte Tiefe: Himmel, Ferne, Objekte nach Tiefe, Vordergrund.
   Leichte Parallaxe nur mit Bewegung; Pause und Ruhe frieren alles ein. */
.world-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}.world-layer--sky{z-index:1;inset:-2% -3%;background:#1b2d44 center/cover no-repeat;animation:world-pan 70s ease-in-out infinite alternate}.world-layer--far{z-index:2;animation:world-pan-far 70s ease-in-out infinite alternate}.world-layer--front{z-index:4;inset:0 -3%;animation:world-pan-front 70s ease-in-out infinite alternate}
@keyframes world-pan{from{transform:translateX(-1%)}to{transform:translateX(1%)}}@keyframes world-pan-far{from{transform:translateX(-.6%)}to{transform:translateX(.6%)}}@keyframes world-pan-front{from{transform:translateX(1.6%)}to{transform:translateX(-1.6%)}}
.world-object{position:absolute;pointer-events:none;transform-origin:50% 100%}.world-object>svg,.world-flower{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible}.world-flower svg{width:100%;height:100%;display:block}.world-flower__head{position:absolute;left:-4%;top:-2%;width:108%;height:auto;filter:drop-shadow(0 3px 3px #2a40261f)}
.world-object--flower .world-flower,.world-object--grasses>svg{transform-origin:50% 100%;animation:world-sway 6s ease-in-out infinite alternate}.world-object--tree>svg{transform-origin:50% 100%;animation:world-sway-tree 9s ease-in-out infinite alternate}@keyframes world-sway{from{transform:rotate(-1.8deg)}to{transform:rotate(1.8deg)}}@keyframes world-sway-tree{from{transform:skewX(-.8deg)}to{transform:skewX(.8deg)}}
.world-object--fresh{animation:world-grow .55s cubic-bezier(.2,.9,.3,1.25) both}@keyframes world-grow{from{transform:scale(.3,.1);opacity:0}to{transform:none;opacity:1}}
.world-cloud{position:absolute;width:15%;max-width:190px;opacity:.92;left:-20%;animation:world-cloud 75s linear infinite}.world-cloud--0{top:7%}.world-cloud--1{top:16%;width:11%;opacity:.8}.world-cloud--2{top:4%;width:9%;opacity:.7}@keyframes world-cloud{from{left:-20%}to{left:110%}}
/* Garten */
.world-scene[data-world=garden]{background:#a9cfa0}.world-far-bushes{position:absolute;left:0;right:0;bottom:37%;height:22%;background:url('../assets/img/welten/garten-buesche.webp') 50% 100%/auto 100% repeat-x}.world-front-grass{position:absolute;left:0;bottom:-1%;width:100%;height:18%;object-fit:cover;object-position:50% 0}
.world-scene[data-world=garden] .world-object[data-depth="0"]{filter:saturate(.82) brightness(1.04)}.world-object--grasses,.world-object--tree,.world-object--flower{filter:drop-shadow(0 4px 3px #23402b2b)}
.world-butterflies{position:absolute;inset:0;z-index:5;pointer-events:none}.world-butterfly{position:absolute;width:clamp(26px,4.5%,58px);left:24%;top:32%;animation:world-flutter 13s ease-in-out infinite}.world-butterfly--1{left:66%;top:42%;width:clamp(22px,3.6%,46px);animation-duration:17s}.world-scene--active .world-butterfly{animation-duration:6s}
@keyframes world-flutter{0%{transform:translate(0,0) scaleX(1)}25%{transform:translate(9vw,-6vh) scaleX(.55)}50%{transform:translate(15vw,2vh) scaleX(1)}75%{transform:translate(5vw,7vh) scaleX(.6)}100%{transform:translate(0,0) scaleX(1)}}
.world-scene[data-world=garden] .world-effect-bit{z-index:6}
/* Stadt */
.world-scene[data-world=skyline] .world-layer--sky{background:linear-gradient(#8fc0dc,#cfe2e6 55%,#f2dcc0)}.world-scene[data-world=skyline][data-time=night] .world-layer--sky{background:#14203a center/cover no-repeat}
.world-sun{position:absolute;top:10%;right:15%;width:7%;aspect-ratio:1;border-radius:50%;background:radial-gradient(#fff7d8 30%,#ffd98a 55%,#ffd98a00 72%);transform:scale(1.8)}.world-moon{position:absolute;top:9%;right:13%;width:6%;max-width:80px;display:none;filter:drop-shadow(0 0 18px #fff3c8aa)}
[data-time=night] .world-sun,[data-time=night] .world-cloud{display:none}[data-time=night] .world-moon{display:block}
.world-far-city{position:absolute;left:0;bottom:41%;width:100%;height:21%}.world-far-city__back{fill:#8fa6b6;opacity:.7}.world-far-city__light{fill:#f7d38a;opacity:0}[data-time=night] .world-far-city__back{fill:#24334b;opacity:1}[data-time=night] .world-far-city__light{opacity:.85}
.world-river{position:absolute;left:0;right:0;bottom:27%;height:15%;background:linear-gradient(#7aa6b8,#5b8ba1);box-shadow:inset 0 3px 0 #d8e6e4aa}[data-time=night] .world-river{background:linear-gradient(#22405c,#132a40);box-shadow:inset 0 3px 0 #f7d38a40}
.world-river__glint{position:absolute;width:9%;height:3px;border-radius:3px;background:#f3f8f6b0;animation:world-glint 4s ease-in-out infinite}[data-time=night] .world-river__glint{background:#f7d38a90}@keyframes world-glint{50%{opacity:.25;transform:translateX(12px)}}
.world-scene[data-world=skyline] .world-layer--front{z-index:2}.world-quay{position:absolute;left:0;right:0;bottom:0;height:28%;background:linear-gradient(#b7ab95 0 6px,#8f8574 6px 9px,#b2a690d8 9px,#8b806ee6),url('../stage/bilder/texturen/boden-beton.webp') 0 0/180px repeat,#a69a85}[data-time=night] .world-quay{background:linear-gradient(#59606d 0 6px,#3a404b 6px 9px,#2a3240e0 9px,#1a2029ee),url('../stage/bilder/texturen/boden-beton.webp') 0 0/180px repeat,#343b47}
.world-scene[data-world=skyline] .world-object{filter:drop-shadow(0 5px 4px #1c283533)}.world-scene[data-world=skyline] .world-object[data-depth="0"]{filter:saturate(.75) brightness(1.06);opacity:.94}[data-time=night] .world-object[data-depth="0"]{filter:brightness(.85)}
/* Licht */
.world-scene[data-world=light] .world-layer--sky:after{content:'';position:absolute;inset:0;background:linear-gradient(#0b122600,#0b1226 92%)}.world-twinkle{position:absolute;width:4px;height:4px;border-radius:50%;background:#fff;box-shadow:0 0 8px 2px #cfe1ff;animation:world-twinkle 3.2s ease-in-out infinite}@keyframes world-twinkle{50%{opacity:.2;transform:scale(.6)}}
.world-light-floor{position:absolute;left:5%;right:5%;bottom:-6%;height:30%;border-radius:50%;background:radial-gradient(ellipse at 50% 40%,#8a7cc455,#2a2f5a30 55%,#0000 72%)}
.world-scene[data-world=light] .world-object{mix-blend-mode:screen;animation:world-hover 7s ease-in-out infinite alternate}.world-scene[data-world=light] .world-object>svg{filter:drop-shadow(0 0 10px #ffffff40)}.world-scene[data-world=light] .world-object--fresh{animation:world-grow .55s ease-out both}@keyframes world-hover{from{transform:translateY(-3px)}to{transform:translateY(4px)}}
.world-scene--active[data-world=light] .world-object>svg{filter:drop-shadow(0 0 18px #fff8)}
/* Ruhe, Pause, Kontrast */
[data-world-motion=off] .world-layer,[data-world-motion=off] .world-cloud,[data-world-motion=off] .world-object,[data-world-motion=off] .world-object>svg,[data-world-motion=off] .world-flower,[data-world-motion=off] .world-butterfly,[data-world-motion=off] .world-twinkle,[data-world-motion=off] .world-river__glint{animation:none!important}[data-world-motion=off] .world-cloud--0{left:12%}[data-world-motion=off] .world-cloud--1{left:44%}[data-world-motion=off] .world-cloud--2{left:70%}
[data-world-paused=true] .world-layer,[data-world-paused=true] .world-cloud,[data-world-paused=true] .world-object>svg,[data-world-paused=true] .world-flower,[data-world-paused=true] .world-butterfly,[data-world-paused=true] .world-twinkle,[data-world-paused=true] .world-river__glint{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.world-layer,.world-cloud,.world-object,.world-object>svg,.world-flower,.world-butterfly,.world-twinkle,.world-river__glint{animation:none!important}.world-cloud--0{left:12%}.world-cloud--1{left:44%}.world-cloud--2{left:70%}}
html[data-activity-animations=off] .world-layer,html[data-activity-animations=off] .world-cloud,html[data-activity-animations=off] .world-butterfly{animation:none!important}
[data-theme=cvi] .world-scene{background:#000!important}[data-theme=cvi] .world-layer,[data-theme=cvi] .world-butterflies{display:none}[data-theme=cvi] .world-object{filter:none!important;opacity:1!important}

/* Etappe E 30.10.2026 – Einstiegsszenen: Schatztruhe, Kunst-Leinwand, Ursache-Wirkung, Timing-Ziel.
   Liegt hier, weil worlds.css nach activity-refresh.css und family-ui.css geladen wird. */
.scan-stage.schatz{background:linear-gradient(#0d2a3a30,#0d2a3a55),url('../assets/img/welten/schatz-insel.webp') center/cover}.scan-stage.schatz.schatz--meer{background:linear-gradient(#06304a22,#06304a55),url('../assets/img/aquarium/reef.webp') center bottom/cover}[data-activity-backgrounds=off] .scan-stage.schatz.schatz--meer{background:#e7edf1}[data-theme=cvi] .scan-stage.schatz.schatz--meer{background:#000}.schatz .schatz__kiste{background:#fff8e8f2;border:3px solid #c59a5a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px}
.schatz__truhe{width:min(78%,240px);height:auto;max-height:62%;overflow:visible;filter:drop-shadow(0 6px 4px #3b250f40)}.schatz__nummer{font-size:clamp(14px,1.6vw,20px)!important;font-weight:800;color:#6b4a24}
.truhe-schatten{fill:#2b1a0b;opacity:.22}.truhe-deckel{fill:#9a5f32;stroke:#4f2d14;stroke-width:3}.truhe-koerper{fill:#8a5229;stroke:#4f2d14;stroke-width:3}.truhe-fuge{stroke:#5d3417;stroke-width:2;opacity:.55;fill:none}.truhe-band{stroke:#d7a947;stroke-width:7;fill:none}.truhe-kante{stroke:#d7a947;stroke-width:5}.truhe-schloss{fill:#e8bf5a;stroke:#7a5a1e;stroke-width:2.5}.truhe-loch{fill:#3d2a10}.truhe-loch-strich{stroke:#3d2a10;stroke-width:3}
.truhe-deckel-innen{fill:#6e3f1d;stroke:#4f2d14;stroke-width:3}.truhe-innen{fill:#2e1909}.truhe-glanz{fill:#ffd65a;opacity:.85;filter:blur(3px)}
.schatz__szene{position:relative;display:flex;align-items:flex-end;justify-content:center;width:100%;flex:1;min-height:0}.schatz__szene .schatz__truhe{max-height:70%}.schatz .scan-card__img.schatz__fund{position:absolute;left:50%;bottom:44%;width:auto;max-width:52%;height:58%;max-height:58%;transform:translateX(-50%);animation:schatz-fund .55s cubic-bezier(.2,.9,.3,1.3) both;filter:drop-shadow(0 4px 6px #0004)}
.schatz__truhe--gold+.schatz__fund{filter:drop-shadow(0 0 14px #ffd65a)}@keyframes schatz-fund{from{transform:translate(-50%,40%) scale(.4);opacity:0}to{transform:translateX(-50%);opacity:1}}
[data-activity-backgrounds=off] .scan-stage.schatz{background:#e7edf1}[data-theme=cvi] .scan-stage.schatz{background:#000}[data-theme=cvi] .schatz .schatz__kiste{background:#000;border-color:#fff}[data-theme=cvi] .schatz__nummer{color:#fff}
/* 31.10.2026 Klar-Modus: Aufgabenband und Fortschritt der Schatzsuche nicht mehr Gelb auf Hellgrau; Weltenzaehler Gelb. */
[data-theme=cvi] .schatz .scan-prompt,[data-theme=cvi] .schatz .scan-progress{background:#000;color:#ffe600;border:2px solid #ffe600}[data-theme=cvi] .world-count{color:#ffe600}
.kunst__leinwand--rahmen{border-radius:10px;border:clamp(8px,1.4vw,16px) solid #6b4a2f;box-shadow:inset 0 0 0 3px #c9a46a,inset 0 0 40px #0008,0 10px 24px #1b2a3c40;box-sizing:border-box;background:#0e1a34}
.kunst__hinweis--schild{display:inline-flex;align-items:center;gap:12px;padding:14px 24px;border-radius:99px;background:#0b1430b8;border:2px solid #ffffff55;color:#fff;font-size:clamp(17px,2vw,26px);text-shadow:none;animation:kunst-schild 2.8s ease-in-out infinite}.kunst__hinweis--schild svg{width:30px;height:30px;color:#ffd65a}@keyframes kunst-schild{50%{transform:scale(1.04);border-color:#ffd65aaa}}
.cause-hint{padding:14px 26px;border-radius:99px;background:#0b1430a6;border:2px solid #ffffff55;animation:kunst-schild 2.8s ease-in-out infinite}
[data-theme=cvi] .kunst__leinwand--rahmen{border-color:#fff;box-shadow:none}[data-theme=cvi] .kunst__hinweis--schild,[data-theme=cvi] .cause-hint{background:#000;border-color:#ffdf00}
.core-refresh .timing-guide,.timing-guide{border:0;box-shadow:none;display:block}.timing-guide__halo,.timing-guide__ring,.timing-guide__core{position:absolute;border-radius:50%;pointer-events:none}
.timing-guide__halo{inset:-12%;background:radial-gradient(circle,#ffffff00 52%,#9fd8ff33 62%,#ffffff00 74%);animation:timing-halo 3.2s ease-in-out infinite}.timing-guide__ring{inset:0;border:8px solid #e8f4ffcc;box-shadow:0 0 0 3px #1a335880,0 0 22px #9fd8ff88,inset 0 0 22px #9fd8ff55}.timing-guide__ring:before{content:'';position:absolute;inset:9%;border-radius:50%;border:3px solid #e8f4ff55}.timing-guide__core{inset:34%;background:radial-gradient(circle,#ffffff30,#ffffff00 70%)}
.timing-scene--ready .timing-guide__ring{border-color:#9ff2c4;box-shadow:0 0 0 3px #1a5838a0,0 0 34px #6fe2a7cc,inset 0 0 30px #6fe2a780}.timing-scene--ready .timing-guide__halo{background:radial-gradient(circle,#ffffff00 50%,#7ef0b455 62%,#ffffff00 76%);animation-duration:1s}
@keyframes timing-halo{50%{transform:scale(1.06);opacity:.6}}
[data-theme=cvi] .timing-guide__ring{border-color:#fff;box-shadow:none}[data-theme=cvi] .timing-scene--ready .timing-guide__ring{border-color:#ffdf00}[data-theme=cvi] .timing-guide__halo{display:none}
html[data-activity-animations=off] .timing-guide__halo,html[data-activity-animations=off] .kunst__hinweis--schild,html[data-activity-animations=off] .cause-hint,html[data-activity-animations=off] .schatz__fund{animation:none!important}
@media(prefers-reduced-motion:reduce){.timing-guide__halo,.kunst__hinweis--schild,.cause-hint,.schatz__fund{animation:none!important}}
