.ok-museum{background:#fffaf3;border:1px solid #e8ddcd;border-radius:24px;overflow:hidden;color:#153e3b}.ok-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px}.ok-heading h2{margin:12px 0 4px}.ok-heading p{margin:0}.ok-stations{display:flex;gap:8px;padding:0 24px;flex-wrap:wrap}.ok-stations button,.ok-targets button{font:inherit;min-height:48px;background:white;border:1px solid #b5c8bf;border-radius:12px;padding:12px 18px;color:#174d47;cursor:pointer}.ok-stations [aria-pressed=true]{background:#075653;color:white}.ok-progress{display:flex;align-items:center;gap:14px;padding:18px 24px}.ok-progress progress{accent-color:#075653;flex:1;min-width:0;height:12px}.ok-scene{position:relative;height:300px;overflow:hidden}.ok-scene img{width:100%;height:100%;object-fit:cover;object-position:center 60%}.ok-scene small{position:absolute;bottom:8px;left:12px;background:#fffc;padding:4px 10px;border-radius:8px}.ok-work{padding:24px;text-align:center}.ok-work details{text-align:right}.ok-work summary{cursor:pointer}.ok-card{display:block;margin:18px auto;padding:20px 26px;max-width:100%;font-weight:700;font-family:inherit;font-size:21px;border:2px solid #bc7951;background:#fff0dc;border-radius:16px;color:#51361e;cursor:grab;touch-action:none}.ok-card small{display:block;font-size:13px;font-weight:400;margin-top:8px}.ok-card[aria-pressed=true]{outline:3px solid #0b7265;outline-offset:3px}.ok-targets{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:800px;margin:auto}.ok-targets button{border-style:dashed;min-height:70px}.ok-targets button:disabled,.ok-card:disabled{opacity:.8;cursor:default}.ok-feedback{min-height:28px;font-weight:700;margin:20px 0}.ok-hint{background:#e5f1e9;border-radius:12px;padding:14px}.ok-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.ok-museum button:focus-visible{outline:3px solid #147c75;outline-offset:3px}@media(max-width:600px){.ok-heading{display:block;padding:18px}.ok-heading>button{margin-top:12px}.ok-stations{padding:0 16px;display:grid;grid-template-columns:1fr;width:100%}.ok-scene{height:175px}.ok-work{padding:16px}.ok-targets{grid-template-columns:1fr}.ok-targets button{min-height:48px}.ok-card{font-size:18px}.ok-progress{padding:16px}}

/* Museum motion: finite sequences, with pause/replay and reduced-motion support. */
.ok-motion-scene{position:relative;isolation:isolate;min-height:420px;overflow:hidden;background:#142e32;color:#fff5df}.ok-scene-sky{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 70% 25%,#dca76e55,transparent 44%),linear-gradient(165deg,#18383c 4%,#546461 48%,#d0a373 77%,#be8956)}.ok-sun{position:absolute;width:90px;height:90px;top:48px;left:18%;border-radius:50%;background:#ffe4a8;box-shadow:0 0 70px #ffd8a977;opacity:.7}.ok-dune{position:absolute;width:120%;height:155px;bottom:-45px;left:-10%;border-radius:50% 70% 0 0;background:#a67852;transform:rotate(-5deg)}.ok-dune-back{bottom:-10px;left:14%;background:#c99968;transform:rotate(8deg)}.ok-scene-copy{position:relative;z-index:3;padding:30px 34px;width:38%;text-shadow:0 2px 14px #172d32}.ok-scene-copy>span{color:#efd3a4;font-size:12px;letter-spacing:.5px}.ok-scene-copy h3{font-size:32px;color:#fff3d9;margin:16px 0 10px;line-height:1.45}.ok-scene-copy p{color:#f5e8d7;line-height:1.9;max-width:290px;margin:0}.ok-stage-model{position:absolute;inset:0 26% 34px 0;pointer-events:none}.ok-monument{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 15px 18px #382b2522)}.ok-stone-layer{animation:ok-build 1.1s cubic-bezier(.18,.8,.25,1) both;animation-delay:var(--delay);transform-box:fill-box;transform-origin:center}.ok-door{animation:ok-door-in .8s both;animation-delay:var(--delay)}.ok-scene-toolbar{position:absolute;bottom:0;inset-inline:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;background:#132d31d9;z-index:4;backdrop-filter:blur(10px)}.ok-scene-toolbar small{font-size:10px;color:#e3d6c5}.ok-scene-toolbar>div{display:flex;gap:8px}.ok-scene-toolbar button{font:inherit;font-size:12px;border:1px solid #d1bb9355;border-radius:9px;background:#ffffff10;color:#fff6e4;padding:8px 12px;min-height:40px;cursor:pointer}.ok-scene-toolbar button:hover{background:#ffffff25}.ok-royal{position:absolute!important;width:50%!important;height:92%!important;object-fit:contain!important;bottom:12px;left:24%;z-index:2;filter:drop-shadow(14px 18px 12px #152a2b70);transform-origin:50% 95%;animation:ok-royal-enter 2.5s cubic-bezier(.16,.8,.2,1) both}.ok-royal-plinth{position:absolute;bottom:0;left:27%;width:43%;height:22px;border-radius:50%;background:#9b754b;box-shadow:0 12px 0 #694e35,0 20px 22px #17292780}.ok-royal-halo{position:absolute;inset:8% 15% 0;border:1px solid #ecd3a438;border-radius:50% 50% 0 0;background:radial-gradient(ellipse,#e4c38944,transparent 70%)}.ok-motion-king .ok-scene-copy{width:40%}.ok-trade-scene{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 68%;mask-image:linear-gradient(90deg,#000 70%,transparent);animation:ok-voyage 5s ease-out both}.ok-motion-trade .ok-stage-model{inset:0 24% 44px 0}.ok-motion-scene.is-paused *{animation-play-state:paused!important}.ok-motion-scene.is-solved{box-shadow:inset 0 0 0 2px #d9bb77}.ok-museum .ok-work{background:linear-gradient(#fffdf8,#faf5eb)}.ok-museum .ok-card{box-shadow:0 7px 0 #e1c4a6,0 15px 25px #76522c12;border-color:#c89562;transition:box-shadow .2s}.ok-museum .ok-card[aria-pressed=true]{box-shadow:0 4px 0 #b8c9bb,0 15px 25px #76522c12}.ok-museum .ok-targets button{background:#fffefb;border-color:#abc2b6}.ok-museum .ok-targets button:hover:not(:disabled){background:#eef5ef;border-style:solid}.ok-museum .ok-heading h2{font-size:25px}
@keyframes ok-build{from{opacity:0;transform:translate(0,-75px)}65%{opacity:1}to{opacity:1;transform:translate(0,0)}}@keyframes ok-door-in{from{opacity:0}to{opacity:1}}@keyframes ok-royal-enter{from{opacity:0;transform:translateX(-90px) scale(.9) rotate(-3deg)}to{opacity:1;transform:translateX(0) scale(1) rotate(0)}}@keyframes ok-voyage{from{opacity:.4;transform:translateX(-25px) scale(1.08)}to{opacity:1;transform:translateX(0) scale(1)}}
@media(max-width:700px){.ok-motion-scene{min-height:480px}.ok-scene-copy,.ok-motion-king .ok-scene-copy{width:100%;padding:20px 22px}.ok-scene-copy h3{font-size:25px;margin:8px 0}.ok-scene-copy p{font-size:13px;max-width:100%}.ok-stage-model{inset:135px -40px 65px}.ok-motion-king .ok-stage-model{inset:135px 0 65px}.ok-motion-trade .ok-stage-model{inset:165px 0 65px}.ok-trade-scene{mask-image:linear-gradient(0deg,#000 75%,transparent)}.ok-scene-toolbar{display:block;text-align:center;padding:8px}.ok-scene-toolbar>div{justify-content:center;margin-top:5px}.ok-scene-toolbar small{font-size:9px}.ok-sun{top:150px;width:55px;height:55px;left:12%}.ok-royal{height:100%!important;width:62%!important;left:19%;bottom:0}.ok-museum .ok-heading h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.ok-motion-scene *{animation:none!important;transition:none!important}.ok-scene-toolbar>div{display:none}.ok-museum .ok-card{transition:none}}

.ok-motion-scene{overflow:clip}
.ok-build-controls{margin-top:18px;text-shadow:none}.ok-build-controls button{font:700 15px inherit;font-family:inherit;font-size:15px;background:#f0d3a0;color:#213f3e;border:1px solid #ffe8bd;border-radius:12px;padding:11px 20px;min-height:46px;cursor:pointer;box-shadow:0 4px 0 #997446}.ok-build-controls button:hover{background:#ffe6bc}.ok-build-controls p{font-size:12px;margin-top:10px;line-height:1.7;color:#fff0d5}.ok-motion-scene .is-unbuilt{visibility:hidden;animation:none!important}.ok-motion-scene.is-building .ok-stone-layer,.ok-motion-scene.is-building .ok-door{animation:none;opacity:1;transform:none}.ok-motion-scene.is-building .ok-stone-layer.is-new-layer{animation:ok-build .7s cubic-bezier(.18,.8,.25,1) both;animation-delay:0s}.ok-scene-toolbar button[hidden]{display:none!important}@media(max-width:700px){.ok-motion-scene:has(.ok-build-controls){min-height:560px}.ok-motion-scene:has(.ok-build-controls) .ok-stage-model{top:205px}.ok-build-controls{margin-top:12px}.ok-build-controls p{font-size:11px;max-width:100%}}@media(prefers-reduced-motion:reduce){.ok-motion-scene.is-building .ok-stone-layer.is-new-layer{animation:none!important}}
