:root{color:#54391f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#eaf8ff;font-family:Tahoma,Arial,sans-serif}*{box-sizing:border-box}html{min-width:320px;min-height:100%}body{direction:rtl;min-width:320px;min-height:100vh;margin:0}button{font-family:inherit}button:focus-visible{outline-offset:4px;outline:3px solid #ffb52e}#root{width:100%;min-height:100vh}.threshold10-room{--lock-gold:#f5d88c;--lock-gold-bright:#fff1bd;--lock-violet:#a995e8;--lock-teal:#79f0cf;isolation:isolate;box-sizing:border-box;color:#fff;text-align:center;background:radial-gradient(at 50% 36%,#5e428b7a,#0000 48%),radial-gradient(at 50% 100%,#194d644d,#0000 52%),linear-gradient(145deg,#17162f 0%,#11172c 48%,#211638 100%);border:1px solid #e1c7ff38;border-radius:24px;width:100%;min-height:500px;padding:clamp(14px,2.5vw,24px) 10px 22px;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff1f,0 18px 45px #05071452}.threshold10-room:before,.threshold10-room:after{content:"";pointer-events:none;z-index:-1;border-radius:50%;position:absolute}.threshold10-room:before{aspect-ratio:1;border:1px solid #dcbeff14;width:min(75vw,560px);top:90px;left:50%;transform:translate(-50%);box-shadow:0 0 0 22px #dcbeff05,0 0 0 48px #dcbeff04}.threshold10-room:after{border:1px solid #ffe2a91a;border-radius:18px;inset:8px}.threshold10-header{width:min(100%,650px);margin:0 auto 16px;padding:2px 8px 5px;position:relative}.threshold10-header:before,.threshold10-header:after{content:"✧";color:#ffe09fcc;text-shadow:0 0 12px #ffcd6ebf;font-size:18px;position:absolute;top:15px}.threshold10-header:before{right:7%}.threshold10-header:after{left:7%}.threshold10-header h2{color:#fff0bd;letter-spacing:.2px;text-shadow:0 2px #674b32,0 0 12px #ffcf70a6,0 0 28px #bc8eff59;margin:5px 0 7px;font-size:clamp(24px,5.4vw,36px);font-weight:900}.threshold10-header p{color:#e5dcff;text-shadow:0 1px 4px #000000b3;margin:0;font-size:clamp(13px,3.2vw,16px);line-height:1.7}.threshold10-gate{isolation:isolate;aspect-ratio:4/3;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border:1px solid #ffe1a780;border-radius:20px;width:min(100%,720px);margin:0 auto;position:relative;overflow:hidden;box-shadow:0 0 0 4px #1a1330e0,0 0 0 5px #e9c67d59,0 12px 30px #0000006b,0 0 28px #ae86ff4d}.threshold10-gate:before{content:"";z-index:0;pointer-events:none;background:linear-gradient(#0c0c1f1f,#0000 28% 70%,#0a0c1d33);position:absolute;inset:0}.threshold10-gate:after{content:"";z-index:0;pointer-events:none;border:1px solid #ffe8ba38;border-radius:14px;position:absolute;inset:7px}.threshold10-lock-layout{z-index:1;grid-template-rows:repeat(4,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));place-items:center;gap:3px;display:grid;position:absolute;inset:5% 5.5%}.magic-lock{aspect-ratio:1;color:#fff0c3;cursor:pointer;-webkit-tap-highlight-color:transparent;background:radial-gradient(circle at 32% 22%,#ffffff6b,#0000 24%),radial-gradient(circle at 38% 28%,#76649d 0%,#3d315f 52%,#1c1938 100%);border:2px solid #d8b96e;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:clamp(46px,10.5vw,76px);padding:4px;transition:transform .18s,filter .18s,box-shadow .18s;display:flex;position:relative;box-shadow:inset 0 2px 4px #ffffff47,inset 0 -5px 9px #0000006b,0 0 0 3px #18122bd1,0 0 13px #ffd7829e}.magic-lock:before{content:"";pointer-events:none;border:1px solid #ffefbe61;border-radius:50%;position:absolute;inset:4px}.magic-lock:hover:not(:disabled){filter:brightness(1.13);transform:translateY(-2px)scale(1.045);box-shadow:inset 0 2px 4px #ffffff4d,inset 0 -5px 9px #00000059,0 0 0 3px #18122bd1,0 0 21px #ffe291e6}.magic-lock:active:not(:disabled){transform:scale(.94)}.magic-lock:focus-visible,.final-magic-lock:focus-visible{outline-offset:5px;outline:3px solid #fff6c9}.magic-lock-symbol{color:#ffedb0;text-shadow:0 0 5px #fff2c2,0 0 12px #ffc55ae6;font-size:clamp(16px,3.9vw,26px);font-weight:800;line-height:1}.magic-lock-body{filter:drop-shadow(0 2px 2px #000000a6);font-size:clamp(14px,3.2vw,22px);line-height:1}.lock-position-1{grid-area:1/1}.lock-position-2{grid-area:1/2}.lock-position-3{grid-area:1/3}.lock-position-4{grid-area:2/1}.lock-position-5{grid-area:2/3}.lock-position-6{grid-area:3/1}.lock-position-7{grid-area:3/3}.lock-position-8{grid-area:4/1}.lock-position-9{grid-area:4/3}.magic-lock.is-open{color:#e2fff4;background:radial-gradient(circle at 32% 22%,#ffffff80,#0000 24%),radial-gradient(circle at 38% 28%,#68cdb0 0%,#286e69 56%,#153c4a 100%);border-color:#9dffda;box-shadow:inset 0 2px 4px #ffffff4d,inset 0 -5px 9px #0000004d,0 0 0 3px #113036d9,0 0 18px #67ffccdb}.magic-lock.is-open .magic-lock-symbol{color:#d7ffed;text-shadow:0 0 8px #8affd1,0 0 15px #68ffd0e6}.magic-lock-check{color:#073c2b;background:linear-gradient(145deg,#b7ffdf,#49d69b);border:2px solid #e2fff3;border-radius:50%;place-items:center;width:21px;height:21px;font-size:13px;font-weight:900;line-height:1;display:grid;position:absolute;top:-5px;left:-5px;box-shadow:0 2px 7px #00000073,0 0 10px #6fffc2bf}.final-magic-lock{z-index:2;background:radial-gradient(circle at 35% 23%,#ffffff59,#0000 22%),radial-gradient(circle,#9b7549 0%,#58406f 62%,#261d42 100%);border:4px solid #f0d184;grid-area:2/2/4/3;gap:5px;width:clamp(82px,20vw,142px);box-shadow:inset 0 2px 7px #ffffff42,inset 0 -8px 14px #00000073,0 0 0 5px #1c132fe0,0 0 20px #ffdc85e6,0 0 42px #bf8eff85}.final-magic-lock:before{border:1px solid #ffefbe8c;inset:5px}.final-lock-title{color:#fff0b9;text-shadow:0 1px 3px #000c,0 0 8px #ffd2698c;font-size:clamp(11px,2.8vw,15px);font-weight:900}.final-magic-lock .magic-lock-symbol{font-size:clamp(25px,6vw,40px)}.final-magic-lock .magic-lock-body{font-size:clamp(17px,4vw,26px)}.final-lock-status{color:#fff4d8;text-shadow:0 1px 3px #000000e6;max-width:100%;font-size:clamp(8px,2.1vw,11px);font-weight:700;line-height:1.4}.final-magic-lock.is-sealed{opacity:.9;cursor:not-allowed;filter:saturate(.72)}.final-magic-lock.is-available{background:radial-gradient(circle at 35% 23%,#ffffff7a,#0000 22%),radial-gradient(circle,#d6a84e 0%,#79548c 64%,#35234e 100%);border-color:#fff4b7;animation:1.9s ease-in-out infinite alternate finalLockGlow;box-shadow:inset 0 2px 7px #ffffff57,inset 0 -8px 14px #00000057,0 0 0 5px #1c132fe0,0 0 27px #ffe88ffa,0 0 52px #ffb249b8}.final-magic-lock.is-completed{cursor:default;opacity:1;filter:none;background:radial-gradient(circle,#52bd91,#17644f 78%);border-color:#baffd9;box-shadow:0 0 0 5px #144135d9,0 0 26px #75ffc2e6}.threshold10-progress{color:#ffedb9;background:linear-gradient(120deg,#362b53c7,#193343b8);border:1px solid #efd39740;border-radius:15px;width:min(100%,470px);margin:20px auto 0;padding:10px 14px 12px;font-size:15px;font-weight:800;box-shadow:inset 0 1px #ffffff14,0 5px 16px #0000002e}.threshold10-progress-track{background:#080c1cb8;border:1px solid #ffffff2e;border-radius:99px;width:100%;height:9px;margin-top:8px;overflow:hidden;box-shadow:inset 0 2px 4px #00000080}.threshold10-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#4bd7ae,#b9f5b7 55%,#ffe39a);height:100%;transition:width .35s;box-shadow:0 0 12px #71ffcbbf}@keyframes finalLockGlow{0%{filter:brightness()}to{filter:brightness(1.2)}}@media (width<=420px){.threshold10-room{border-radius:18px;padding-inline:6px}.threshold10-header{margin-bottom:12px}.threshold10-header:before{right:1%}.threshold10-header:after{left:1%}.threshold10-gate{border-radius:14px}.threshold10-lock-layout{inset-inline:4%}.magic-lock{border-width:1.5px;width:clamp(40px,11.3vw,52px)}.magic-lock-check{width:18px;height:18px;font-size:11px}.final-magic-lock{border-width:3px;width:clamp(74px,21vw,92px)}.final-lock-title{font-size:10px}.final-lock-status{font-size:8px}}@media (width<=340px){.threshold10-lock-layout{inset-inline:2%}.magic-lock{width:39px}.final-magic-lock{width:72px}}@media (prefers-reduced-motion:reduce){.magic-lock,.threshold10-progress-fill{transition:none}.final-magic-lock.is-available{animation:none}}.threshold10-room:before{animation:5.5s ease-in-out infinite roomMagicPulse}.threshold10-header:before,.threshold10-header:after{animation:2.4s ease-in-out infinite headerStarTwinkle}.threshold10-header:after{animation-delay:1.1s}.threshold10-gate:before{background:linear-gradient(112deg,#fff0 28%,#bfe1ff0a 40%,#ffefb93d 49%,#bedcff0f 57%,#fff0 69%) 0 0/230% 100%,linear-gradient(#0c0c1f1f,#0000 28% 70%,#0a0c1d33) 0 0/100% 100%;animation:8s ease-in-out infinite gateLightSweep}.magic-lock{animation:3.8s ease-in-out infinite lockGentleFloat;translate:0}.lock-position-2{animation-delay:-.7s}.lock-position-3{animation-delay:-1.4s}.lock-position-4{animation-delay:-2.1s}.lock-position-5{animation-delay:-.35s}.lock-position-6{animation-delay:-1.75s}.lock-position-7{animation-delay:-.95s}.lock-position-8{animation-delay:-2.45s}.lock-position-9{animation-delay:-1.15s}.magic-lock:after{content:"";z-index:0;pointer-events:none;opacity:0;background:linear-gradient(135deg,#0000 28%,#ffffff6b 48%,#0000 65%) 150% 150%/230% 230%;border-radius:50%;animation:5.2s ease-in-out infinite lockShimmer;position:absolute;inset:8px}.magic-lock-symbol,.magic-lock-body,.final-lock-title,.final-lock-status{z-index:1;position:relative}.magic-lock-check{z-index:2;position:absolute}.magic-lock-symbol{animation:3s ease-in-out infinite symbolTwinkle}.magic-lock.is-open{animation-duration:3.1s}.magic-lock.is-open:after{opacity:.7;animation-duration:3.8s}.final-magic-lock{animation:3.2s ease-in-out infinite finalLockFloat;translate:0}.final-magic-lock .magic-lock-symbol{animation:2.8s ease-in-out infinite finalSymbolSparkle}.final-magic-lock.is-available{animation:1.9s ease-in-out infinite alternate finalLockGlow,3.2s ease-in-out infinite finalLockFloat}.final-magic-lock.is-available:after{opacity:.85;animation-duration:2.8s}.threshold10-progress-fill{background-size:200% 100%;animation:3s linear infinite progressMagicFlow}@keyframes roomMagicPulse{0%,to{opacity:.45;scale:1}50%{opacity:.9;scale:1.045}}@keyframes headerStarTwinkle{0%,to{opacity:.45;scale:.8}50%{opacity:1;scale:1.25}}@keyframes gateLightSweep{0%,12%{background-position:150% 0,0 0}72%,to{background-position:-80% 0,0 0}}@keyframes lockGentleFloat{0%,to{translate:0}50%{translate:0 -4px}}@keyframes lockShimmer{0%,62%{opacity:0;background-position:150% 150%}74%{opacity:.55}90%,to{opacity:0;background-position:-50% -50%}}@keyframes symbolTwinkle{0%,to{filter:brightness()}50%{filter:brightness(1.35)drop-shadow(0 0 5px #ffeeaecc)}}@keyframes finalSymbolSparkle{0%,to{filter:brightness();transform:scale(1)rotate(0)}50%{filter:brightness(1.5)drop-shadow(0 0 9px #fff0a8);transform:scale(1.12)rotate(12deg)}}@keyframes progressMagicFlow{0%{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion:reduce){.threshold10-room:before,.threshold10-header:before,.threshold10-header:after,.threshold10-gate:before,.magic-lock,.magic-lock:after,.magic-lock-symbol,.final-magic-lock,.final-magic-lock .magic-lock-symbol,.threshold10-progress-fill{translate:none;animation:none!important}}.final-word-challenge{box-sizing:border-box;color:#fff;text-align:center;background:linear-gradient(145deg,#30204f,#171b3d);border-radius:22px;width:100%;max-width:650px;margin:auto;padding:22px 15px}.final-word-challenge h2{color:#ffe5a0;text-shadow:0 0 12px #e6ae48;margin:14px 0;font-size:clamp(24px,5vw,34px)}.final-instruction{color:#e8dcff;font-size:16px;line-height:1.8}.final-exit-button,.final-error button{color:#fff;cursor:pointer;background:#493665;border:1px solid #d5b86c;border-radius:20px;padding:9px 18px}.final-exit-button{margin:0 auto 12px;display:block}.final-question-count{color:#ffe6a0;margin:24px 0 15px;font-weight:700}.final-audio-area{margin:22px auto}.final-listen-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#7955a2,#49336d);border:2px solid #f4d17a;border-radius:18px;min-width:190px;padding:16px 22px;font-size:19px;font-weight:700;box-shadow:0 0 17px #a77bda}.final-options{grid-template-columns:1fr;gap:12px;width:min(100%,390px);margin:25px auto;display:grid}.final-word-option{color:#fff2c7;cursor:pointer;background:#3b315e;border:2px solid #d7bd7a;border-radius:15px;min-height:58px;font-size:23px;font-weight:700;transition:transform .15s,background .15s}.final-word-option:active:not(:disabled){transform:scale(.97)}.final-word-option:disabled{opacity:.75;cursor:default}.final-feedback{color:#a9ffd2;min-height:30px;margin:18px 0;font-size:18px;font-weight:700}.final-error{color:#ffe6b0;border:1px solid #d7bd7a;border-radius:15px;margin:25px auto;padding:15px;line-height:1.8}@media (width>=500px){.final-options{grid-template-columns:1fr 1fr}.final-word-option:last-child{grid-column:1/-1}}@media (prefers-reduced-motion:reduce){.final-word-option{transition:none}}.final-complete{color:#fff2c7;background:#523f70b8;border:1px solid #d7bd7a;border-radius:18px;margin:28px auto 8px;padding:22px 16px;line-height:1.9}.final-complete-symbol{color:#ffe6a0;font-size:48px;line-height:1.2}.final-complete h3{color:#ffe6a0;margin:12px 0;font-size:22px}.final-complete p{margin:8px 0 18px}.final-complete button{color:#fff;min-height:46px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#7955a2,#49336d);border:1px solid #f4d17a;border-radius:14px;padding:9px 20px;font-weight:700}.final-next-button{color:#39250f;cursor:pointer;background:linear-gradient(135deg,#f7d36e,#c58a2b);border:2px solid #fffc;border-radius:16px;width:min(90%,320px);margin:18px auto 8px;padding:13px 20px;font-size:18px;font-weight:900;display:block;box-shadow:0 5px #80551f,0 8px 16px #0003}.final-next-button:active{transform:translateY(3px);box-shadow:0 2px #80551f}.threshold10-ending{isolation:isolate;color:#fff8e8;text-align:center;background:radial-gradient(at 50% 0,#59418c 0%,#211b48 48%,#10142e 100%);border:1px solid #f5d3857a;border-radius:26px;width:min(100%,980px);margin:18px auto 30px;padding:clamp(16px,3vw,30px);animation:.7s both ending-panel-in;position:relative;overflow:hidden;box-shadow:0 18px 48px #08091f59,inset 0 0 34px #ffdb8414}.threshold10-ending:before,.threshold10-ending:after{content:"";z-index:-1;filter:blur(35px);opacity:.25;pointer-events:none;border-radius:50%;width:240px;height:240px;position:absolute}.threshold10-ending:before{background:#f3bd54;animation:7s ease-in-out infinite alternate ending-orb-drift;top:15%;right:-130px}.threshold10-ending:after{background:#70c9e9;animation:8s ease-in-out infinite alternate-reverse ending-orb-drift;bottom:8%;left:-130px}.ending-sparkles{z-index:-1;pointer-events:none;position:absolute;inset:0;overflow:hidden}.ending-sparkles span{color:#ffe7a2;text-shadow:0 0 12px #ffe7a2;animation:2.4s ease-in-out infinite ending-twinkle;position:absolute}.ending-sparkles span:first-child{font-size:23px;top:13%;right:8%}.ending-sparkles span:nth-child(2){font-size:17px;animation-delay:.7s;top:34%;right:3%}.ending-sparkles span:nth-child(3){font-size:20px;animation-delay:1.1s;top:18%;left:9%}.ending-sparkles span:nth-child(4){font-size:25px;animation-delay:.3s;top:55%;left:4%}.ending-sparkles span:nth-child(5){font-size:18px;animation-delay:1.5s;bottom:12%;right:12%}.ending-header{margin-bottom:16px}.ending-chapter{color:#ffe6a8;background:#ffffff14;border:1px solid #ffe2a073;border-radius:999px;padding:6px 14px;font-size:.9rem;display:inline-block}.ending-header h2{color:#ffe7ad;text-shadow:0 3px 16px #ffcb5e4d;margin:12px 0 5px;font-size:clamp(1.6rem,5vw,2.5rem)}.ending-header p{color:#d8d0f0;margin:0;font-size:.95rem}.ending-image-frame{background:#0003;border:3px solid #ffde97c7;border-radius:20px;width:100%;max-width:850px;margin:0 auto;animation:.8s cubic-bezier(.2,.8,.2,1) both ending-image-in;position:relative;overflow:hidden;box-shadow:0 0 0 5px #ffde9717,0 12px 32px #0000004d}.ending-image-frame img{object-fit:contain;width:100%;height:auto;max-height:min(58vh,600px);display:block}.ending-image-glow{pointer-events:none;background:linear-gradient(115deg,#0000 30%,#ffffff2b 48%,#0000 64%);animation:4.5s ease-in-out 1s infinite ending-image-shimmer;position:absolute;inset:0;transform:translate(-120%)}.ending-description{color:#fff8e8;max-width:760px;margin:17px auto;font-size:clamp(1rem,2.6vw,1.2rem);line-height:1.9}.ending-dots{justify-content:center;gap:10px;margin:18px 0;display:flex}.ending-dots span{background:#ffffff47;border-radius:50%;width:10px;height:10px;transition:transform .3s,background .3s,box-shadow .3s}.ending-dots span.is-active{background:#ffdf8a;transform:scale(1.45);box-shadow:0 0 12px #ffdf8a}.ending-dots span.is-done{background:#8fe2b2}.ending-actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.ending-actions button{min-height:48px;font:inherit;cursor:pointer;border:0;border-radius:14px;padding:11px 22px;font-weight:800;transition:transform .2s,filter .2s}.ending-actions button:active{transform:scale(.97)}.ending-listen-button{color:#fff;background:#ffffff21;border:1px solid #ffffff4d!important}.ending-next-button{color:#39234f;background:linear-gradient(135deg,#ffe9a8,#f3bd62);box-shadow:0 5px #a66b35,0 9px 20px #00000038}.ending-next-button:hover,.ending-listen-button:hover{filter:brightness(1.08);transform:translateY(-2px)}.ending-actions button:focus-visible{outline-offset:4px;outline:3px solid #fff}@keyframes ending-panel-in{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes ending-image-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes ending-image-shimmer{0%,55%{transform:translate(-120%)}80%,to{transform:translate(120%)}}@keyframes ending-twinkle{0%,to{opacity:.3;transform:scale(.75)rotate(0)}50%{opacity:1;transform:scale(1.2)rotate(18deg)}}@keyframes ending-orb-drift{0%{transform:translateY(-10px)}to{transform:translate(20px,18px)}}@media (width<=560px){.threshold10-ending{border-radius:19px;margin:10px auto 20px;padding:14px 11px 18px}.ending-image-frame{border-radius:14px}.ending-actions{flex-direction:column}.ending-actions button{width:100%}}@media (prefers-reduced-motion:reduce){.threshold10-ending,.threshold10-ending:before,.threshold10-ending:after,.ending-sparkles span,.ending-image-frame,.ending-image-glow{animation:none!important}.ending-dots span,.ending-actions button{transition:none}}.game{background:#8ed8ff;justify-content:center;align-items:center;width:100%;height:100dvh;min-height:100dvh;margin:0;padding:0;display:flex;overflow:hidden}.home-scene{width:100%;max-width:none;height:100%;box-shadow:none;background:#8ed8ff;border-radius:0;position:relative;overflow:hidden}.home-image{object-fit:cover;object-position:center center;width:100%;height:100%;display:block;position:absolute;inset:0}.top-controls{top:max(2.5%, env(safe-area-inset-top));z-index:2;direction:ltr;justify-content:space-between;align-items:center;display:flex;position:absolute;left:3%;right:3%}.stars,.settings-button{background:#fff8df;border:3px solid #fff;border-radius:18px;padding:7px 15px;font-size:clamp(16px,3vw,25px);font-weight:700;box-shadow:0 3px #50321433}.stars{color:#805018}.settings-button{cursor:pointer;background:#fff}.start-button{left:50%;bottom:max(8%, calc(env(safe-area-inset-bottom) + 3%));color:#fff;cursor:pointer;text-shadow:0 2px 2px #267b24;z-index:2;background:linear-gradient(#65d94c,#29a92d);border:4px solid #fff;border-radius:22px;min-width:190px;padding:13px 32px;font-size:clamp(20px,4vw,30px);font-weight:900;position:absolute;transform:translate(-50%);box-shadow:0 6px #197c25,0 8px 16px #0003}.start-button:active{transform:translate(-50%,4px);box-shadow:0 2px #197c25}.settings-panel,.message-panel{color:#65421f;text-align:center;z-index:5;background:#fff8df;border:5px solid #fff;border-radius:24px;width:min(85%,360px);max-height:85%;padding:25px;position:absolute;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 8px 30px #0005}.settings-panel h2{margin:8px 0 12px}.settings-panel p,.message-panel p{line-height:1.8}.settings-panel button:not(.close-button),.message-panel button{color:#fff;cursor:pointer;background:#35b943;border:0;border-radius:12px;margin-top:12px;padding:9px 25px;font-size:18px;font-weight:700}.close-button{color:#8c4c31;cursor:pointer;background:0 0;border:0;font-size:22px;position:absolute;top:8px;left:10px}@media (width<=600px){.start-button{border-width:3px;border-radius:15px;min-width:135px;padding:8px 18px}.stars,.settings-button{border-width:2px;padding:4px 9px}}@media (height<=550px){.start-button{padding:7px 18px;font-size:18px;bottom:5%}.top-controls{top:2%}}.map-scene{direction:rtl;background:radial-gradient(at 15% 20%,#b9e99b 0 12%,#0000 13%),radial-gradient(at 90% 45%,#a9df91 0 16%,#0000 17%),linear-gradient(#8bd7f6,#c8edac 38%,#8fd18a 100%);position:absolute;inset:0;overflow:hidden}.map-header{top:max(12px, env(safe-area-inset-top));z-index:4;justify-content:space-between;align-items:center;gap:8px;display:flex;position:absolute;left:3%;right:3%}.map-back,.map-settings,.map-stars{color:#704a25;background:#fff8df;border:3px solid #fff;border-radius:16px;padding:8px 12px;font-size:clamp(14px,3vw,20px);font-weight:900;box-shadow:0 4px #0002}.map-back,.map-settings{cursor:pointer}.map-heading{text-align:center;z-index:2;color:#704521;text-shadow:0 2px #fff;position:absolute;top:10%;left:0;right:0}.map-heading h1{margin:0;font-size:clamp(23px,5vw,34px);font-weight:1000}.map-heading p{margin:5px 0;font-size:clamp(13px,3vw,17px);font-weight:700}.map-path,.winding-road{width:100%;height:100%;position:absolute;inset:0}.level-node{cursor:pointer;z-index:2;border:5px solid #fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:1px;width:clamp(66px,19vw,88px);height:clamp(66px,19vw,88px);display:flex;position:absolute;box-shadow:0 6px #0003,0 8px 15px #0002}.level-open{background:linear-gradient(#fff47b,#ffbd32);border-color:#fff;animation:2s ease-in-out infinite level-glow}.level-locked{filter:saturate(.7);background:linear-gradient(#d8e0e3,#9eafb4);border-color:#f5f5f5}.level-icon{color:#75431c;font-size:clamp(24px,6vw,34px);font-weight:1000;line-height:1.1}.level-number{color:#67401e;font-size:12px;font-weight:900}.level-name{white-space:nowrap;color:#65421f;background:#fff8df;border:2px solid #fff;border-radius:12px;margin-top:7px;padding:5px 9px;font-size:clamp(11px,2.8vw,14px);font-weight:900;position:absolute;top:100%;box-shadow:0 3px 5px #0002}.level-1{top:82%;left:39%}.level-2{top:63%;left:13%}.level-3{top:44%;left:62%}.level-4{top:25%;left:17%}.level-5{top:12%;left:63%}.map-decoration{z-index:1;-webkit-user-select:none;user-select:none;pointer-events:none;filter:drop-shadow(0 3px 2px #0002);position:absolute}.tree{font-size:clamp(30px,8vw,52px)}.tree-one{top:43%;left:3%}.tree-two{top:69%;right:5%}.tree-three{top:25%;right:4%}.tree-four{top:10%;left:5%}.flower{font-size:25px}.flower-one{top:52%;left:28%}.flower-two{top:31%;right:25%}.flower-three{top:76%;left:12%}.castle{font-size:clamp(42px,12vw,65px);top:3%;right:7%}@keyframes level-glow{0%,to{transform:scale(1)}50%{transform:scale(1.07)}}@media (height<=650px){.map-heading{top:8%}.level-1{top:80%}.level-2{top:61%}.level-3{top:42%}.level-4{top:23%}.level-5{top:11%}}@media (prefers-reduced-motion:reduce){.level-open{animation:none}}.letter-selection-scene{box-sizing:border-box;direction:rtl;background:linear-gradient(#e3f5ff,#fff5d9);width:100%;height:100%;min-height:100%;padding:18px 16px 24px;position:relative;overflow:hidden auto}.selection-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.selection-back{color:#38516b;cursor:pointer;background:#fff;border:none;border-radius:14px;padding:10px 14px;font-size:15px;font-weight:700;box-shadow:0 3px 8px #00000015}.selection-count{color:#38516b;background:#fff;border-radius:14px;padding:10px 13px;font-size:14px;font-weight:700}.selection-heading{text-align:center;margin:22px 0 18px}.selection-heading h1{color:#315b88;margin:0 0 8px;font-size:29px}.selection-heading p{color:#526779;margin:0;font-size:15px;line-height:1.7}.letter-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-width:540px;margin:0 auto;display:grid}.letter-choice{aspect-ratio:1;color:#315b88;cursor:pointer;background:#fff;border:3px solid #d7e5f0;border-radius:17px;min-width:0;font-size:29px;font-weight:700;transition:transform .15s,background .15s;position:relative;box-shadow:0 4px 7px #00000012}.letter-choice:active{transform:scale(.94)}.letter-choice.letter-selected{color:#197b43;background:#d8f7d9;border-color:#35b968}.letter-choice small{color:#159447;font-size:15px;position:absolute;top:3px;left:7px}.selection-footer{text-align:center;max-width:540px;margin:22px auto 0}.selection-footer p{color:#526779;font-size:14px;line-height:1.7}.begin-adventure-button{color:#fff;cursor:pointer;background:#28b76b;border:none;border-radius:18px;width:100%;max-width:350px;padding:15px 18px;font-size:18px;font-weight:700;box-shadow:0 5px #18894c}.begin-adventure-button:active{transform:translateY(3px);box-shadow:0 2px #18894c}@media (width<=380px){.letter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.letter-choice{border-radius:14px;font-size:26px}.selection-heading h1{font-size:25px}}.adventure-scene{box-sizing:border-box;width:100%;height:100%;min-height:100%;padding:max(16px, env(safe-area-inset-top)) 16px 28px;color:#38516b;direction:rtl;background:linear-gradient(#dff4ff,#fff4d8 65%,#e4f6d9);position:relative;overflow:hidden auto}.adventure-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.adventure-back,.threshold-counter{color:#38516b;background:#fff;border:2px solid #fff;border-radius:14px;padding:9px 12px;font-size:clamp(12px,3vw,16px);font-weight:900;box-shadow:0 3px 8px #00000012}.adventure-back{cursor:pointer}.adventure-progress{background:#d4e2e9;border-radius:20px;width:100%;height:12px;margin:15px 0 20px;overflow:hidden}.adventure-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#40cf78,#20a95c);height:100%;transition:width .3s}.story-intro{text-align:center;background:linear-gradient(145deg,#fff9e9,#fff);border:3px solid #fff;border-radius:24px;max-width:560px;margin:0 auto 20px;padding:18px 15px;box-shadow:0 5px 14px #00000010}.story-character{background:#e4f4ff;border-radius:50%;justify-content:center;align-items:center;width:76px;height:76px;margin:0 auto 10px;font-size:43px;display:flex}.story-intro h1{color:#315b88;margin:5px 0 10px;font-size:clamp(22px,5vw,30px)}.story-intro p{color:#526779;margin:0;font-size:16px;font-weight:700;line-height:1.8}.adventure-letters{background:#ffffffd9;border:3px solid #fff;border-radius:22px;max-width:560px;margin:0 auto 20px;padding:17px 13px;box-shadow:0 4px 12px #00000010}.adventure-letters h2{color:#315b88;text-align:center;margin:0 0 13px;font-size:18px}.adventure-letter-grid{flex-wrap:wrap;justify-content:center;gap:9px;display:flex}.adventure-letter{border:3px solid;border-radius:14px;justify-content:center;align-items:center;width:48px;height:48px;font-size:27px;font-weight:900;display:flex;box-shadow:0 3px 5px #00000012}.known-letter{color:#197b43;background:#dff8e5;border-color:#67c98a}.new-letters-heading{margin-top:22px!important}.new-letter{color:#a66a13;background:#fff1c9;border-color:#e9b84f}.all-letters-known{color:#23834d;text-align:center;margin:10px 0 0;font-weight:700}.adventure-placeholder{text-align:center;background:#f4fbff;border:3px dashed #b7d6e8;border-radius:22px;max-width:560px;margin:0 auto 18px;padding:22px 15px}.placeholder-icon{font-size:42px}.adventure-placeholder h2{color:#315b88;margin:8px 0;font-size:21px}.adventure-placeholder p{color:#526779;margin:0;font-size:14px;line-height:1.8}.new-adventure-button{color:#fff;cursor:pointer;background:#28b76b;border:0;border-radius:17px;width:100%;max-width:350px;margin:15px auto 0;padding:14px 18px;font-size:18px;font-weight:900;display:block;box-shadow:0 5px #18894c}.new-adventure-button:active{transform:translateY(3px);box-shadow:0 2px #18894c}@media (width<=380px){.adventure-scene{padding-left:11px;padding-right:11px}.adventure-letter{width:42px;height:42px;font-size:24px}.story-intro{padding:14px 10px}}@media (height<=550px){.story-character{width:55px;height:55px;font-size:32px}.story-intro{padding:10px}}.words-ready{font-weight:900;color:#21834c!important;margin-top:12px!important}.words-error{font-weight:700;color:#b34436!important;margin-top:12px!important}.challenge-card{box-sizing:border-box;text-align:center;background:#fff;border:3px solid #fff;border-radius:24px;width:100%;max-width:560px;margin:0 auto 20px;padding:18px 15px 22px;box-shadow:0 5px 15px #00000012}.challenge-top{color:#315b88;justify-content:space-between;align-items:center;gap:8px;font-size:14px;font-weight:900;display:flex}.question-progress-track{background:#dce8ed;border-radius:20px;width:100%;height:15px;margin:14px 0 23px;overflow:hidden;box-shadow:inset 0 2px 3px #00000010}.question-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#42d47c,#20a95c);height:100%;transition:width .35s}.question-instruction{color:#315b88;margin:12px 0 16px;font-size:clamp(18px,4.5vw,23px);font-weight:900;line-height:1.7}.listen-question-button{color:#315b88;cursor:pointer;background:#edf8ff;border:2px solid #b9d9ee;border-radius:16px;justify-content:center;align-items:center;gap:10px;width:100%;max-width:280px;margin:0 auto 22px;padding:12px;font-size:16px;font-weight:900;display:flex}.listen-question-button span{font-size:23px}.answer-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;max-width:350px;margin:0 auto;display:grid}.answer-option{color:#315b88;cursor:pointer;background:#f0f9ff;border:3px solid #b8d9ed;border-radius:20px;min-width:0;min-height:85px;font-family:inherit;font-size:48px;font-weight:900;transition:transform .15s,background .15s;box-shadow:0 4px #c6dce9}.answer-option:active{transform:translateY(3px);box-shadow:0 1px #c6dce9}.answer-option:disabled{cursor:default;opacity:1}.answer-option.answer-correct{color:#168046;background:#dcf8e5;border-color:#54c77c;box-shadow:0 4px #a4ddb5}.answer-feedback{border-radius:15px;margin:20px auto 12px;padding:13px 10px;font-size:16px;font-weight:900;line-height:1.7}.wrong-feedback{color:#a76a16;background:#fff2df}.correct-feedback{color:#188047;background:#e2f8e8}.next-question-button{color:#fff;cursor:pointer;background:#28b76b;border:0;border-radius:16px;width:100%;max-width:320px;margin:15px auto 0;padding:14px;font-family:inherit;font-size:18px;font-weight:900;display:block;box-shadow:0 5px #18894c}.next-question-button:active{transform:translateY(3px);box-shadow:0 2px #18894c}.challenge-complete{text-align:center;padding:15px 5px}.complete-character{margin-bottom:10px;font-size:65px}.challenge-complete h2{color:#21834c;margin:8px 0;font-size:27px}.challenge-complete p{color:#526779;font-size:16px;font-weight:700;line-height:1.9}.completed-progress{color:#188047;background:#e2f8e8;border-radius:15px;margin:18px auto;padding:12px;font-weight:900}.word-library-status{color:#627b8d;text-align:center;max-width:560px;margin:0 auto;font-size:13px}@media (width<=380px){.challenge-card{padding:14px 10px 18px}.answer-options{gap:10px}.answer-option{min-height:72px;font-size:42px}.challenge-top{font-size:12px}}.story-narration-controls{flex-direction:column;align-items:center;gap:12px;width:100%;margin-top:18px;display:flex}.story-narration-button,.start-challenge-button{cursor:pointer;border:0;border-radius:16px;width:min(100%,320px);min-height:48px;padding:12px 18px;font-family:inherit;font-size:16px;font-weight:700}.story-narration-button{color:#23415f;background:#e8f2ff}.start-challenge-button{color:#fff;background:#239b61;box-shadow:0 4px #167346}.story-narration-button:disabled,.start-challenge-button:disabled{opacity:.5;cursor:not-allowed}.story-status{text-align:center;color:#456078;min-height:24px;font-size:14px;font-weight:700}.start-challenge-button:not(:disabled):active{transform:translateY(3px);box-shadow:0 1px #167346}.visual-letter-card{color:#263b65;background:#fff;border:5px solid #f5c84c;border-radius:28px;justify-content:center;align-items:center;width:150px;height:150px;margin:22px auto;font-size:90px;font-weight:800;display:flex;box-shadow:0 7px #0000001f}.story-scene-visual{justify-content:center;align-items:center;width:100%;margin:14px auto 18px;display:flex;overflow:hidden}.story-scene-image{object-fit:contain;border-radius:20px;width:auto;max-width:100%;height:auto;max-height:230px;display:block;box-shadow:0 5px 16px #00000029}.hidden-search-scene{isolation:isolate;position:relative;overflow:hidden}.hidden-letters-layer{z-index:3;pointer-events:none;position:absolute;inset:0}.hidden-letter-button{color:#25466c;cursor:pointer;pointer-events:auto;background:#fff9dcf5;border:3px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:clamp(42px,11vw,62px);height:clamp(42px,11vw,62px);font-size:clamp(25px,7vw,38px);font-weight:800;transition:transform .2s,background .2s;animation:.35s both hidden-letter-appear;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 4px 12px #00000059}.hidden-letter-button:active{transform:translate(-50%,-50%)scale(.9)}.hidden-letter-button:disabled{cursor:default;opacity:.85}.hidden-letter-button.hidden-letter-found{color:#fff;background:#39c878;border-color:#fff;transform:translate(-50%,-50%)scale(1.2);box-shadow:0 0 0 8px #39c8784d,0 4px 16px #0000004d}@keyframes hidden-letter-appear{0%{opacity:0;scale:.5}to{opacity:1;scale:1}}.skip-threshold-button{color:#fff;cursor:pointer;white-space:nowrap;background:#ff9800;border:none;border-radius:12px;padding:9px 12px;font-family:inherit;font-size:13px;font-weight:700}.skip-threshold-button:active{transform:scale(.96)}.shape-match-game{flex-direction:column;gap:14px;width:100%;display:flex}.shape-match-instruction{text-align:center;color:#62452f;padding:8px;font-size:18px;font-weight:700}.shape-target-card{background:#fff5d9;border:3px solid #e9b94f;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:145px;padding:12px;display:flex}.shape-target-caption{color:#765c39;font-size:14px}.shape-target-letter{color:#713f9b;font-size:62px;line-height:1.5}.shape-form-label{color:#765c39;font-size:13px}.shape-options-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.shape-option-button{color:#294c78;cursor:pointer;background:#eef7ff;border:3px solid #b7d8f5;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:105px;font-family:inherit;display:flex}.shape-option-button strong{font-size:43px;line-height:1.5}.shape-option-button small{font-size:12px}.shape-option-button:disabled{opacity:.75;cursor:default}.shape-option-button.shape-option-correct{color:#236b38;background:#d9f7df;border-color:#45ae62}@media (width<=360px){.shape-target-letter{font-size:52px}.shape-option-button strong{font-size:36px}}.missing-letter-game{flex-direction:column;gap:14px;width:100%;display:flex}.missing-letter-instruction{text-align:center;color:#62452f;padding:8px;font-size:18px;font-weight:700}.missing-word-card{background:#fff5d9;border:3px solid #e9b94f;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:145px;padding:18px 12px;display:flex}.missing-word-display{color:#713f9b;direction:rtl;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;font-size:48px;font-weight:700;display:flex}.missing-word-letter{text-align:center;min-width:34px}.missing-letter-slot{color:#d17b00;background:#fff0bd;border:3px dashed #e39b24;border-radius:12px;justify-content:center;align-items:center;min-width:48px;min-height:58px;padding:0 5px;display:inline-flex}.missing-letter-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.missing-letter-option{color:#294c78;cursor:pointer;background:#eef7ff;border:3px solid #b7d8f5;border-radius:18px;min-height:82px;font-family:inherit;font-size:38px;font-weight:700}.missing-letter-option:disabled{opacity:.75;cursor:default}.missing-letter-option.missing-letter-correct{color:#236b38;background:#d9f7df;border-color:#45ae62}@media (width<=360px){.missing-word-display{font-size:39px}.missing-letter-option{font-size:34px}}.word-bridge-game{flex-direction:column;align-items:center;gap:13px;width:100%;display:flex}.word-bridge-progress{color:#76512e;background:#fff3d5;border:2px solid #e9bd60;border-radius:30px;padding:7px 18px;font-size:14px;font-weight:700}.word-bridge-instruction{text-align:center;color:#62452f;margin:0;font-size:17px;font-weight:700}.word-bridge-sound{color:#245b88;cursor:pointer;background:#e4f3ff;border:2px solid #91c9f0;border-radius:16px;padding:10px 18px;font-family:inherit;font-size:15px;font-weight:700}.word-bridge-scene{isolation:isolate;background:#b8e4ed;border:3px solid #d5b77d;border-radius:20px;width:100%;position:relative;overflow:hidden;box-shadow:0 5px 12px #4b371e38}.word-bridge-background{object-fit:contain;width:100%;height:auto;display:block}.word-bridge-stones{z-index:2;pointer-events:none;position:absolute;inset:0}.word-bridge-stone{aspect-ratio:1;color:#513c2b;cursor:pointer;pointer-events:auto;z-index:2;background:radial-gradient(at 30% 23%,#e6dfcc 0%,#0000 25%),radial-gradient(at 72% 75%,#817663 0%,#0000 35%),linear-gradient(145deg,#c9bea7,#9d927e 55%,#766b5b);border:3px solid #77634c;border-radius:38% 48% 35% 45%;justify-content:center;align-items:center;width:clamp(43px,12vw,68px);padding:0;font-family:inherit;font-size:clamp(23px,7vw,35px);font-weight:900;transition:opacity .2s,transform .2s,filter .2s;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:inset 2px 3px 5px #ffffff8c,inset -3px -4px 6px #32231440,0 5px 7px #00000059}.word-bridge-stone:nth-child(2n){border-radius:48% 35% 46% 38%}.word-bridge-stone:nth-child(3n){border-radius:34% 48% 40% 50%}.word-bridge-stone span{text-shadow:0 1px 1px #ffffffb3}.word-bridge-stone:active:not(:disabled){transform:translate(-50%,-50%)scale(.9)}.word-bridge-stone:disabled{cursor:default}.word-bridge-stone.used{opacity:0;pointer-events:none;transform:translate(-50%,-50%)scale(.3)}.word-bridge-answer-overlay{z-index:4;background:#fff8def0;border:2px solid #d9ae54;border-radius:15px;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;max-width:96%;padding:7px 10px;display:flex;position:absolute;top:8px;left:50%;transform:translate(-50%);box-shadow:0 3px 8px #0003}.word-bridge-fixed-letter,.word-bridge-slot{border-radius:9px;justify-content:center;align-items:center;min-width:34px;height:40px;font-size:25px;font-weight:700;display:flex}.word-bridge-fixed-letter{color:#326b3d;background:#dff2d6;border:2px solid #9bc58b}.word-bridge-slot{color:#a36b12;background:#fff0bd;border:2px dashed #d89a29}.word-bridge-slot.filled{color:#245b36;background:#d7f4d9;border:2px solid #65b875}.word-bridge-scene-success{z-index:5;color:#795018;text-align:center;background:#fff7d2f5;border:3px solid #e9bd48;border-radius:18px;width:max-content;max-width:90%;padding:10px 16px;font-size:17px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 4px 12px #00000040}.word-bridge-label{text-align:center;color:#76512e;margin:0;font-size:14px;font-weight:700}.word-bridge-feedback{text-align:center;color:#a34c27;background:#fff0df;border:2px solid #efb17b;border-radius:14px;width:100%;margin:0;padding:10px 14px;font-weight:700}.word-bridge-feedback.success{color:#236b38;background:#e2f8e5;border-color:#83c991}.word-bridge-actions{flex-wrap:wrap;justify-content:center;gap:10px;width:100%;display:flex}.word-bridge-actions button{color:#75512e;cursor:pointer;background:#fff2d8;border:2px solid #e3bd78;border-radius:13px;padding:9px 15px;font-family:inherit;font-weight:700}.word-bridge-next{color:#fff;cursor:pointer;background:linear-gradient(135deg,#48b96a,#278b4b);border:none;border-radius:16px;width:100%;padding:13px;font-family:inherit;font-size:17px;font-weight:700;box-shadow:0 4px #1c6d39}.word-bridge-next:active{transform:translateY(3px);box-shadow:0 1px #1c6d39}@media (width<=360px){.word-bridge-answer-overlay{gap:3px;padding:5px}.word-bridge-fixed-letter,.word-bridge-slot{min-width:27px;height:34px;font-size:21px}.word-bridge-stone{width:43px;font-size:23px}}.threshold-seven{box-sizing:border-box;isolation:isolate;direction:rtl;background-color:#b99b70;background-position:50%;background-repeat:no-repeat;background-size:cover;border:3px solid #d8bd83;border-radius:24px;width:100%;max-width:560px;margin:0 auto 20px;padding:14px;position:relative;overflow:hidden;box-shadow:0 6px 16px #0003}.threshold-seven:before{content:"";z-index:-1;background:#23190e52;position:absolute;inset:0}.threshold-seven-content{z-index:1;box-sizing:border-box;flex-direction:column;align-items:center;gap:13px;width:100%;display:flex;position:relative}.threshold-seven-top{flex-direction:column;gap:9px;width:100%;display:flex}.threshold-seven-counter{color:#70451f;background:#fff7df;border:2px solid #fff;border-radius:20px;align-self:center;padding:7px 16px;font-size:15px;font-weight:900;box-shadow:0 3px 7px #0003}.threshold-seven-progress{box-sizing:border-box;background:#e5d6b9;border:2px solid #fff;border-radius:20px;width:100%;height:12px;overflow:hidden}.threshold-seven-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#65df79,#20a653);height:100%;transition:width .3s}.threshold-seven-instruction{box-sizing:border-box;color:#62421f;text-align:center;background:#fff9e2f5;border:2px solid #fff;border-radius:17px;flex-direction:column;align-items:center;gap:9px;width:100%;padding:11px 10px;font-size:clamp(17px,4.5vw,21px);font-weight:900;line-height:1.6;display:flex;box-shadow:0 3px 8px #0003}.threshold-seven-listen{color:#24577c;cursor:pointer;background:#eaf8ff;border:2px solid #a8d8ed;border-radius:13px;padding:9px 17px;font-family:inherit;font-size:14px;font-weight:900}.threshold-seven-listen:active{transform:scale(.96)}.threshold-seven-slots{box-sizing:border-box;background:#fff7daf5;border:2px solid #e5c77e;border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;width:100%;min-height:65px;padding:10px 7px;display:flex;box-shadow:0 4px 10px #0003}.threshold-seven-slot{color:#68451f;box-sizing:border-box;background:#fffdf4;border:2px dashed #b78a43;border-radius:10px;justify-content:center;align-items:center;width:clamp(35px,9vw,49px);height:clamp(43px,11vw,55px);font-size:clamp(25px,6vw,34px);font-weight:900;display:flex}.threshold-seven-slot.active{background:#fff0b8;border:3px solid #e6a52c;animation:1.1s ease-in-out infinite threshold-seven-pulse;box-shadow:0 0 0 3px #ffbe3740}.threshold-seven-slot.filled{color:#197443;background:#dcf6df;border:2px solid #55b976;animation:none}@keyframes threshold-seven-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}.threshold-seven-feedback{text-align:center;justify-content:center;align-items:center;width:100%;min-height:34px;font-size:16px;font-weight:900;display:flex}.threshold-seven-feedback .wrong-message{color:#a44c23;background:#fff0d9;border-radius:13px;padding:7px 15px}.threshold-seven-feedback .correct-message{color:#197b43;background:#e0f8df;border-radius:13px;padding:7px 15px}.threshold-seven-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;width:100%;display:grid}.threshold-seven-letter{aspect-ratio:1;color:#68421e;cursor:pointer;background:linear-gradient(#fffdf2,#f5e4bc);border:3px solid #fff;border-radius:16px;justify-content:center;align-items:center;min-width:0;font-family:inherit;font-size:clamp(25px,7vw,36px);font-weight:900;transition:transform .15s,opacity .15s;display:flex;box-shadow:0 4px #9d7950,0 5px 8px #0003}.threshold-seven-letter:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px #9d7950}.threshold-seven-letter:disabled{opacity:.35;cursor:default;box-shadow:none}.threshold-seven-error,.threshold-seven-loading{box-sizing:border-box;color:#70451f;text-align:center;background:#fff8e6;border:3px solid #fff;border-radius:20px;width:100%;max-width:560px;margin:15px auto;padding:20px;font-size:16px;font-weight:700;line-height:1.8;box-shadow:0 4px 12px #0002}.threshold-seven-error button{color:#fff;cursor:pointer;background:#e69a30;border:none;border-radius:13px;margin:12px auto 0;padding:11px 22px;font-family:inherit;font-size:16px;font-weight:700;display:block}.threshold-seven-loading{background:#fff8e6}@media (width<=380px){.threshold-seven{border-radius:18px;padding:10px}.threshold-seven-content{gap:10px}.threshold-seven-options{gap:7px}.threshold-seven-letter{border-radius:12px;font-size:27px}.threshold-seven-slots{gap:5px}}@media (height<=650px){.threshold-seven{padding:9px}.threshold-seven-content{gap:8px}.threshold-seven-instruction{gap:5px;padding:7px}.threshold-seven-slots{min-height:53px;padding:6px}.threshold-seven-slot{height:43px}}@media (prefers-reduced-motion:reduce){.threshold-seven-slot.active{animation:none}.threshold-seven-progress-fill{transition:none}}.threshold-eight{box-sizing:border-box;direction:rtl;background:linear-gradient(145deg,#31271ff0,#4b392af0);border:3px solid #d8bd83;border-radius:24px;width:100%;max-width:560px;margin:0 auto 20px;padding:14px;overflow:hidden;box-shadow:0 6px 16px #0003}.threshold-eight-content{flex-direction:column;align-items:center;gap:13px;width:100%;display:flex}.threshold-eight-top{flex-direction:column;gap:9px;width:100%;display:flex}.threshold-eight-counter{color:#70451f;background:#fff7df;border:2px solid #f5d88d;border-radius:20px;align-self:center;padding:7px 16px;font-size:15px;font-weight:900}.threshold-eight-progress{box-sizing:border-box;background:#e5d6b9;border:2px solid #fff;border-radius:20px;width:100%;height:12px;overflow:hidden}.threshold-eight-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#65df79,#20a653);height:100%;transition:width .3s}.threshold-eight-instruction{box-sizing:border-box;color:#62421f;text-align:center;background:#fff9e6;border:2px solid #f5d88d;border-radius:17px;flex-direction:column;align-items:center;gap:9px;width:100%;padding:12px 10px;font-size:clamp(17px,4.5vw,21px);font-weight:900;line-height:1.7;display:flex}.threshold-eight-listen{color:#24577c;cursor:pointer;background:#eaf8ff;border:2px solid #a8d8ed;border-radius:13px;padding:9px 17px;font-family:inherit;font-size:14px;font-weight:900}.threshold-eight-word{box-sizing:border-box;background:#fff7da;border:2px solid #e5c77e;border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;width:100%;min-height:75px;padding:12px 7px;display:flex;box-shadow:0 4px 10px #0003}.threshold-eight-visible-letter,.threshold-eight-hidden-letter{border-radius:11px;justify-content:center;align-items:center;min-width:clamp(35px,9vw,48px);height:clamp(45px,11vw,58px);font-size:clamp(27px,7vw,38px);font-weight:900;display:flex}.threshold-eight-visible-letter{color:#28633c;background:#e3f5df;border:2px solid #a8cfae}.threshold-eight-hidden-letter{color:#a66a13;background:#fff0b8;border:3px dashed #d99b32;box-shadow:0 0 0 3px #ffbe3733}.threshold-eight-feedback{text-align:center;justify-content:center;align-items:center;width:100%;min-height:35px;font-size:16px;font-weight:900;display:flex}.threshold-eight-feedback .wrong-message{color:#a44c23;background:#fff0d9;border-radius:13px;padding:7px 15px}.threshold-eight-feedback .correct-message{color:#197b43;background:#e0f8df;border-radius:13px;padding:7px 15px}.threshold-eight-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;max-width:350px;display:grid}.threshold-eight-letter{aspect-ratio:1;color:#68421e;cursor:pointer;background:linear-gradient(#fffdf2,#f5e4bc);border:3px solid #fff;border-radius:17px;justify-content:center;align-items:center;min-width:0;font-family:inherit;font-size:clamp(30px,8vw,42px);font-weight:900;display:flex;box-shadow:0 4px #9d7950,0 5px 8px #0003}.threshold-eight-letter:disabled{opacity:.6;cursor:default}.threshold-eight-message{box-sizing:border-box;color:#70451f;text-align:center;background:#fff8e5;border:2px solid #d9b96f;border-radius:17px;width:100%;padding:13px}.threshold-eight-message h3{color:#875a22;margin:0 0 10px;font-size:18px}.threshold-eight-message-parts{flex-wrap:wrap;justify-content:center;gap:7px;min-height:40px;font-size:16px;font-weight:900;line-height:1.9;display:flex}.threshold-eight-message-parts>span:not(.threshold-eight-message-placeholder){color:#28633c;background:#e6f4dc;border-radius:8px;padding:3px 7px;animation:.4s both threshold-eight-reveal}.threshold-eight-message-placeholder{color:#9a8666;font-size:14px}.threshold-eight-message-progress{color:#866b43;margin-top:10px;font-size:13px;font-weight:700}.threshold-eight-loading,.threshold-eight-error{box-sizing:border-box;color:#70451f;text-align:center;background:#fff8e6;border:3px solid #e4c989;border-radius:20px;width:100%;max-width:560px;margin:15px auto;padding:20px;font-size:16px;font-weight:700;line-height:1.8;box-shadow:0 4px 12px #0002}@keyframes threshold-eight-reveal{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (width<=380px){.threshold-eight{border-radius:18px;padding:10px}.threshold-eight-content{gap:10px}.threshold-eight-options{gap:7px}.threshold-eight-letter{border-radius:13px}.threshold-eight-word{gap:5px}}@media (prefers-reduced-motion:reduce){.threshold-eight-progress-fill,.threshold-eight-message-parts>span{transition:none;animation:none}}.threshold-nine{box-sizing:border-box;width:100%;max-width:760px;margin:0 auto;padding:12px}.threshold-nine-heading{text-align:center;margin-bottom:16px}.threshold-nine-heading h2{color:#80501c;margin:0 0 8px;font-size:clamp(21px,5vw,29px)}.threshold-nine-heading p{color:#594b3b;margin:0;line-height:1.8}.threshold-nine-message{color:#72501b;text-align:center;background:#fff5d9;border-radius:14px;margin:16px 0;padding:18px;line-height:1.8}.threshold-nine-error{color:#a43b2e;background:#fff0ed}.threshold-nine-progress{text-align:center;color:#68491e;margin:12px 0;font-weight:700}.threshold-nine-progress-track{background:#e8dfce;border-radius:20px;height:10px;margin-top:8px;overflow:hidden}.threshold-nine-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#e5a83b,#55a66b);height:100%;transition:width .35s}.threshold-nine-picture{isolation:isolate;border-radius:16px;width:100%;max-width:540px;margin:16px auto;line-height:0;position:relative;overflow:hidden}.threshold-nine-shield-image{width:100%;height:auto;display:block}.threshold-nine-grid{z-index:2;grid-template-columns:repeat(var(--grid-columns), minmax(0, 1fr));grid-template-rows:repeat(var(--grid-rows), minmax(0, 1fr));box-sizing:border-box;gap:3px;width:81%;height:57%;line-height:1;display:grid;position:absolute;top:5%;left:16%}.threshold-nine-cell{box-sizing:border-box;color:#553514;background:#fff4cff7;border:1px solid #a87832;border-radius:3px;justify-content:center;align-items:center;min-width:0;min-height:0;font-size:clamp(10px,2.8vw,19px);font-weight:900;transition:background .25s,opacity .25s,border-color .25s;display:flex;box-shadow:0 1px 3px #0003}.threshold-nine-cell-revealed,.threshold-nine-cell-correct{border:2px solid #16803c;color:#14532d!important;text-shadow:none!important;opacity:1!important;box-shadow:none!important;background:#b9f2c7!important;font-size:clamp(20px,3.5vw,32px)!important;font-weight:900!important}.threshold-nine-cell-hidden{visibility:hidden;box-shadow:none;background:0 0;border-color:#0000}.threshold-nine-cell-active:not(.threshold-nine-cell-revealed):not(.threshold-nine-cell-hidden){background:#f5ce68;border-color:#fff1a8}.threshold-nine-picture-keyboard{z-index:4;box-sizing:border-box;background:#fffaf0f2;border:2px solid #e2c58ef2;border-radius:14px;width:63%;max-width:340px;padding:9px;line-height:normal;position:absolute;bottom:3%;right:3%}.threshold-nine-keyboard{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;display:grid}.threshold-nine-keyboard button{color:#553714;cursor:pointer;background:#f8e6bd;border:2px solid #bd914b;border-radius:10px;min-width:0;height:clamp(40px,9vw,54px);padding:2px;font-size:clamp(19px,5vw,26px);font-weight:700;line-height:1}.threshold-nine-keyboard button:disabled{opacity:.45;cursor:default}.threshold-nine-word-list{text-align:center;margin:18px 0}.threshold-nine-word-list h3{color:#68451e;margin:0 0 12px}.threshold-nine-word-buttons{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.threshold-nine-word-button{color:#65451e;min-width:88px;font:inherit;cursor:pointer;background:#fff7e5;border:2px solid #d5a34d;border-radius:12px;padding:10px 14px;font-weight:700}.threshold-nine-word-active{background:#f3d17d;border-color:#9b671e}.threshold-nine-word-solved{color:#376b36;cursor:default;background:#dff1d9;border-color:#78a96d}.threshold-nine-finished{text-align:center;color:#67451d;background:#fff4d7;border-radius:16px;margin:18px 0;padding:20px}.threshold-nine-finished>div{font-size:42px}.threshold-nine-finished h2{margin:10px 0}.threshold-nine-finished p{line-height:1.8}@media (width<=420px){.threshold-nine{padding:8px}.threshold-nine-grid{gap:2px}.threshold-nine-cell{border-radius:2px;font-size:11px}.threshold-nine-picture-keyboard{width:63%;padding:6px;bottom:3%;right:2%}.threshold-nine-keyboard{gap:5px}.threshold-nine-keyboard button{border-radius:8px;height:39px}}@media (prefers-reduced-motion:reduce){.threshold-nine-progress-fill,.threshold-nine-cell{transition:none}}.threshold-nine-cell{font-size:clamp(18px,3vw,30px);font-weight:900}.lock-play-toolbar{box-sizing:border-box;color:#fff7dc;background:linear-gradient(120deg,#282044,#49366b);border:2px solid #e9d18d;border-radius:20px;justify-content:space-between;align-items:center;gap:14px;width:min(100%,760px);margin:10px auto 18px;padding:13px 15px;display:flex;box-shadow:0 5px 16px #17102d30}.lock-play-toolbar-copy{text-align:right;min-width:0}.lock-play-title{flex-wrap:wrap;align-items:center;gap:7px 12px;display:flex}.lock-play-title span{color:#e9d9ff;font-size:13px;font-weight:700}.lock-play-title strong{color:#ffe39a;font-size:clamp(16px,3.8vw,20px)}.lock-play-toolbar p{color:#f1eafa;margin:5px 0 0;font-size:13px;line-height:1.5}.lock-play-exit-button{color:#39284f;cursor:pointer;background:linear-gradient(135deg,#fff0c3,#e5bd69);border:1px solid #f1d78e;border-radius:14px;flex:none;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:9px 14px;font-family:inherit;font-size:14px;font-weight:900;display:inline-flex;box-shadow:0 3px #a77c38}.lock-play-exit-button:active{transform:translateY(2px);box-shadow:0 1px #a77c38}.threshold10-intro{background:linear-gradient(145deg,#fff4d5 0%,#f5edff 55%,#fffaf0 100%);border-color:#e8d39a;box-shadow:0 8px 24px #25163d24,inset 0 0 0 2px #ffffffa8}.threshold10-intro h1{color:#563779;text-shadow:0 1px #fff}.threshold10-intro p{color:#514264}.threshold10-intro .story-narration-button{color:#39284f;background:#eee3ff;border:1px solid #c9b1e9}.threshold10-intro .start-challenge-button{background:linear-gradient(135deg,#7451a0,#49316d);box-shadow:0 4px #33214f}@media (width<=480px){.lock-play-toolbar{flex-direction:column;align-items:stretch;gap:10px;padding:12px}.lock-play-exit-button{width:100%}}.adventure-scene.lock-scene{isolation:isolate;background:radial-gradient(ellipse at 12% 18%, color-mix(in srgb, var(--lock-glow) 28%, transparent), transparent 42%), radial-gradient(ellipse at 88% 78%, color-mix(in srgb, var(--lock-glow) 22%, transparent), transparent 40%), linear-gradient(155deg, var(--lock-bg-a), var(--lock-bg-b));color:var(--lock-ink);position:relative}.adventure-scene.lock-scene:before{content:"";z-index:0;pointer-events:none;opacity:.62;background:radial-gradient(circle at 18% 26%, #ffffff4d 0 2px, transparent 3px), radial-gradient(circle at 72% 18%, color-mix(in srgb, var(--lock-glow) 55%, transparent) 0 3px, transparent 4px), radial-gradient(circle at 82% 66%, #ffffff38 0 2px, transparent 3px), radial-gradient(circle at 28% 82%, color-mix(in srgb, var(--lock-glow) 45%, transparent) 0 4px, transparent 5px);background-size:190px 180px,260px 230px,220px 210px,310px 280px;animation:20s ease-in-out infinite alternate lock-room-magic-drift;position:absolute;inset:-18%}.adventure-scene.lock-scene:after{content:var(--lock-symbol);z-index:0;color:var(--lock-glow);opacity:.13;pointer-events:none;text-shadow:0 0 28px var(--lock-glow);font-size:clamp(100px,24vw,230px);line-height:1;animation:7s ease-in-out infinite lock-rune-float;position:absolute;bottom:2%;right:3%}.adventure-scene.lock-scene>*{z-index:1;position:relative}.adventure-scene.lock-scene .lock-play-toolbar{border-color:var(--lock-border);background:linear-gradient(125deg, var(--lock-deep), var(--lock-toolbar));color:#fff;box-shadow:0 7px 20px #00000047, 0 0 20px color-mix(in srgb, var(--lock-glow) 30%, transparent)}.adventure-scene.lock-scene .lock-play-title span,.adventure-scene.lock-scene .lock-play-toolbar p{color:#ffffffe0}.adventure-scene.lock-scene .lock-play-title strong{color:var(--lock-highlight);text-shadow:0 0 12px color-mix(in srgb, var(--lock-glow) 60%, transparent)}.adventure-scene.lock-scene .lock-play-exit-button{border-color:var(--lock-border);background:linear-gradient(135deg, var(--lock-panel), var(--lock-soft));color:var(--lock-deep);box-shadow:0 3px 0 color-mix(in srgb, var(--lock-deep) 65%, black)}.adventure-scene.lock-scene .challenge-card,.adventure-scene.lock-scene .threshold-nine{border:3px solid var(--lock-border);background:linear-gradient(145deg, var(--lock-panel), var(--lock-soft));color:var(--lock-ink);box-shadow:0 8px 22px #0000003d, inset 0 0 0 2px #ffffff59, 0 0 22px color-mix(in srgb, var(--lock-glow) 20%, transparent);border-radius:25px}.adventure-scene.lock-scene .challenge-top,.adventure-scene.lock-scene .question-instruction,.adventure-scene.lock-scene .shape-match-instruction,.adventure-scene.lock-scene .missing-letter-instruction,.adventure-scene.lock-scene .threshold-nine-heading h2,.adventure-scene.lock-scene .threshold-nine-heading p{color:var(--lock-ink)}.adventure-scene.lock-scene .question-progress-track,.adventure-scene.lock-scene .threshold-nine-progress-track{background:color-mix(in srgb, var(--lock-deep) 15%, white);border-color:var(--lock-border)}.adventure-scene.lock-scene .question-progress-fill,.adventure-scene.lock-scene .threshold-nine-progress-fill{background:linear-gradient(90deg, var(--lock-glow), var(--lock-button))}.adventure-scene.lock-scene .listen-question-button,.adventure-scene.lock-scene .threshold-eight-listen,.adventure-scene.lock-scene .threshold-seven-listen{border-color:var(--lock-border);background:var(--lock-soft);color:var(--lock-ink);box-shadow:0 3px 8px #0000001f}.adventure-scene.lock-scene .answer-option,.adventure-scene.lock-scene .shape-option-button,.adventure-scene.lock-scene .missing-letter-option,.adventure-scene.lock-scene .threshold-seven-letter,.adventure-scene.lock-scene .threshold-eight-letter,.adventure-scene.lock-scene .threshold-nine-keyboard button,.adventure-scene.lock-scene .threshold-nine-word-button{border-color:var(--lock-border);background:linear-gradient(145deg, var(--lock-panel), var(--lock-soft));color:var(--lock-ink);box-shadow:0 4px 0 color-mix(in srgb, var(--lock-deep) 38%, transparent), 0 5px 10px #0000001f}.adventure-scene.lock-scene .shape-target-card,.adventure-scene.lock-scene .missing-word-card,.adventure-scene.lock-scene .threshold-eight-word,.adventure-scene.lock-scene .threshold-seven-slots,.adventure-scene.lock-scene .threshold-nine-message,.adventure-scene.lock-scene .threshold-nine-finished{border-color:var(--lock-border);background:color-mix(in srgb, var(--lock-panel) 88%, white);color:var(--lock-ink);box-shadow:0 4px 12px #0000001f}.adventure-scene.lock-scene .shape-target-letter,.adventure-scene.lock-scene .missing-word-display,.adventure-scene.lock-scene .threshold-eight-word,.adventure-scene.lock-scene .threshold-nine-word-list h3{color:var(--lock-ink)}.adventure-scene.lock-scene .next-question-button,.adventure-scene.lock-scene .word-bridge-next,.adventure-scene.lock-scene .threshold-seven-error button{background:linear-gradient(135deg, var(--lock-button), var(--lock-deep));color:#fff;box-shadow:0 4px 0 color-mix(in srgb, var(--lock-deep) 78%, black)}.adventure-scene.lock-scene .word-bridge-scene{border-color:var(--lock-border);box-shadow:0 7px 18px #00000047, 0 0 18px color-mix(in srgb, var(--lock-glow) 30%, transparent)}.adventure-scene.lock-scene .word-bridge-stone{border-color:var(--lock-border);background:radial-gradient(ellipse at 30% 23%, #ffffffc7 0%, transparent 25%), radial-gradient(ellipse at 72% 75%, color-mix(in srgb, var(--lock-deep) 45%, transparent) 0%, transparent 38%), linear-gradient(145deg, var(--lock-panel), var(--lock-button) 58%, var(--lock-deep));color:var(--lock-ink)}.adventure-scene.lock-scene .word-bridge-answer-overlay,.adventure-scene.lock-scene .word-bridge-scene-success{border-color:var(--lock-border);background:color-mix(in srgb, var(--lock-panel) 92%, white);color:var(--lock-ink)}.adventure-scene.lock-scene .threshold-seven{border-color:var(--lock-border);box-shadow:0 8px 22px #00000047, 0 0 22px color-mix(in srgb, var(--lock-glow) 24%, transparent)}.adventure-scene.lock-scene .threshold-seven:before{background:linear-gradient(135deg, color-mix(in srgb, var(--lock-deep) 58%, transparent), color-mix(in srgb, var(--lock-button) 32%, transparent))}.adventure-scene.lock-scene .threshold-eight{border-color:var(--lock-border);background:linear-gradient(145deg, var(--lock-deep), var(--lock-toolbar));box-shadow:0 8px 22px #0000004d, 0 0 24px color-mix(in srgb, var(--lock-glow) 25%, transparent)}.adventure-scene.lock-scene .threshold-eight-counter,.adventure-scene.lock-scene .threshold-eight-instruction,.adventure-scene.lock-scene .threshold-eight-word{border-color:var(--lock-border);background:var(--lock-panel);color:var(--lock-ink)}.adventure-scene.lock-scene .threshold-eight-visible-letter{border-color:var(--lock-border);background:var(--lock-soft);color:var(--lock-ink)}.adventure-scene.lock-scene .threshold-eight-hidden-letter{border-color:var(--lock-glow);background:color-mix(in srgb, var(--lock-glow) 24%, white);color:var(--lock-deep)}.adventure-scene.lock-scene .threshold-nine-cell{border-color:var(--lock-border);background:color-mix(in srgb, var(--lock-panel) 90%, white);color:var(--lock-ink)}.adventure-scene.lock-scene .threshold-nine-word-active{background:var(--lock-soft);border-color:var(--lock-glow)}.adventure-scene.lock-scene-1{--lock-bg-a:#102b43;--lock-bg-b:#24546b;--lock-deep:#10263c;--lock-toolbar:#285b72;--lock-panel:#e7f7ff;--lock-soft:#ccecff;--lock-ink:#173b58;--lock-border:#8bd6ee;--lock-glow:#8ce8ff;--lock-button:#3aa9c9;--lock-highlight:#c8f5ff;--lock-symbol:"☾"}.adventure-scene.lock-scene-2{--lock-bg-a:#145b83;--lock-bg-b:#70c6d8;--lock-deep:#124568;--lock-toolbar:#237fa5;--lock-panel:#f0fcff;--lock-soft:#d2f4fb;--lock-ink:#174b69;--lock-border:#9be5ed;--lock-glow:#b3f5ff;--lock-button:#279bb8;--lock-highlight:#d8fbff;--lock-symbol:"✦"}.adventure-scene.lock-scene-3{--lock-bg-a:#153b32;--lock-bg-b:#54764a;--lock-deep:#18382e;--lock-toolbar:#3c6845;--lock-panel:#f1f8df;--lock-soft:#dcefc0;--lock-ink:#315333;--lock-border:#c4d98b;--lock-glow:#d9f47e;--lock-button:#6f9c42;--lock-highlight:#edffb1;--lock-symbol:"♨"}.adventure-scene.lock-scene-4{--lock-bg-a:#49321f;--lock-bg-b:#a4773c;--lock-deep:#4b321c;--lock-toolbar:#79552d;--lock-panel:#fff4d9;--lock-soft:#f3dfad;--lock-ink:#69451f;--lock-border:#e9c36f;--lock-glow:#ffe08a;--lock-button:#c28a35;--lock-highlight:#fff0bd;--lock-symbol:"❧"}.adventure-scene.lock-scene-5{--lock-bg-a:#35244e;--lock-bg-b:#78558e;--lock-deep:#342246;--lock-toolbar:#65477d;--lock-panel:#fff2e5;--lock-soft:#f1ddf5;--lock-ink:#573c68;--lock-border:#d8a9e2;--lock-glow:#f0b8ff;--lock-button:#a56cba;--lock-highlight:#f9d5ff;--lock-symbol:"◇"}.adventure-scene.lock-scene-6{--lock-bg-a:#103e4a;--lock-bg-b:#368b91;--lock-deep:#103943;--lock-toolbar:#216b75;--lock-panel:#e7fbf8;--lock-soft:#c5eee9;--lock-ink:#174f55;--lock-border:#82d9d0;--lock-glow:#8effe8;--lock-button:#279d91;--lock-highlight:#c4fff4;--lock-symbol:"🌀"}.adventure-scene.lock-scene-7{--lock-bg-a:#28244f;--lock-bg-b:#625a91;--lock-deep:#272344;--lock-toolbar:#514a7c;--lock-panel:#f5f0ff;--lock-soft:#e1d9ff;--lock-ink:#423b72;--lock-border:#bdb0f2;--lock-glow:#d5c7ff;--lock-button:#796bc1;--lock-highlight:#e9dfff;--lock-symbol:"❋"}.adventure-scene.lock-scene-8{--lock-bg-a:#481f29;--lock-bg-b:#9b4937;--lock-deep:#451d27;--lock-toolbar:#78382f;--lock-panel:#fff0df;--lock-soft:#f8d7bd;--lock-ink:#713326;--lock-border:#f0a46f;--lock-glow:#ffb36e;--lock-button:#cf633d;--lock-highlight:#ffd2a4;--lock-symbol:"❀"}.adventure-scene.lock-scene-9{--lock-bg-a:#1d2f55;--lock-bg-b:#526d9a;--lock-deep:#1b2b4c;--lock-toolbar:#354f7e;--lock-panel:#eef4ff;--lock-soft:#d5e2fa;--lock-ink:#2b426d;--lock-border:#a9c4ed;--lock-glow:#a9d5ff;--lock-button:#557ebc;--lock-highlight:#d8eaff;--lock-symbol:"♜"}@keyframes lock-room-magic-drift{0%{transform:translate(-1%,-1%)rotate(0)}to{transform:translate(1.5%,1%)rotate(3deg)}}@keyframes lock-rune-float{0%,to{transform:translateY(0)rotate(-5deg)scale(.96)}50%{transform:translateY(-13px)rotate(5deg)scale(1.04)}}@media (prefers-reduced-motion:reduce){.adventure-scene.lock-scene:before,.adventure-scene.lock-scene:after{animation:none!important}}@media (width<=480px){.adventure-scene.lock-scene:after{opacity:.09;bottom:5%;right:-3%}}.parent-report-button{left:3%;bottom:max(2%, env(safe-area-inset-bottom));z-index:3;color:#5b3a18;background:linear-gradient(135deg,#fff4c7,#f4d47d);border:2px solid #fff;border-radius:14px;padding:9px 14px;font-weight:900;position:absolute;box-shadow:0 4px #9c6b2e,0 6px 14px #0003}.settings-toggle-row,.settings-range-row{text-align:right;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;font-weight:800;display:flex}.settings-range-row{grid-template-columns:1fr;display:grid}.settings-range-row input{accent-color:#299b48;width:100%}.settings-toggle-row input{accent-color:#299b48;width:22px;height:22px}.journey-report-overlay{z-index:40;background:#0d1827c2;justify-content:center;align-items:center;padding:14px;display:flex;position:fixed;inset:0}.journey-report-panel{color:#263b55;text-align:center;background:linear-gradient(145deg,#fff9e8,#e9f4ff);border:4px solid #e7c77c;border-radius:24px;width:min(94vw,560px);max-height:90vh;padding:26px 18px 18px;position:relative;overflow-y:auto;box-shadow:0 18px 55px #0006}.journey-report-panel h2{color:#4b356e;margin:8px 28px}.journey-report-summary{background:#fff1c8;border:2px solid #d4b86e;border-radius:18px;gap:6px;margin:16px 0;padding:16px 12px;display:grid}.journey-report-summary strong{color:#287a45;font-size:38px}.journey-report-summary span{font-size:19px;font-weight:900}.journey-report-summary small{line-height:1.7}.journey-report-list{text-align:right;gap:7px;margin:14px 0;display:grid}.journey-report-row{background:#fff;border:1px solid #c8d4e4;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.journey-report-row strong{white-space:nowrap;color:#3b5272}.journey-report-row span{text-align:left;font-size:13px}.journey-report-panel>button:not(.close-button){color:#fff;background:#299b48;border:0;border-radius:13px;margin-top:10px;padding:10px 28px;font-weight:900}.adventure-scene.lock-scene .threshold-nine-cell-active:not(.threshold-nine-cell-revealed):not(.threshold-nine-cell-hidden){z-index:2;animation:1.1s ease-in-out infinite alternate threshold-nine-path-pulse;position:relative;color:#54330b!important;background:linear-gradient(145deg,#fff3a6,#f4b942)!important;border:3px solid #fff3a6!important;box-shadow:0 0 0 3px #fff4ae73,0 0 18px #ffe36b,inset 0 0 12px #fff8d6!important}.threshold-nine-cell-shattering{z-index:5;pointer-events:none;animation:.72s ease-in forwards threshold-nine-shatter;background:linear-gradient(45deg,#0000 46%,#fffffff2 47% 49%,#0000 50%),linear-gradient(-38deg,#0000 45%,#ffffffd9 46% 48%,#0000 49%),linear-gradient(145deg,#fff4a8,#d99b37)!important}@keyframes threshold-nine-path-pulse{0%{filter:brightness();transform:scale(.98)}to{filter:brightness(1.18);transform:scale(1.07)}}@keyframes threshold-nine-shatter{0%{opacity:1;clip-path:inset(0 round 5px);transform:rotate(0)scale(1)}25%{transform:rotate(-3deg)scale(1.08)}55%{opacity:.88;clip-path:polygon(0 0,100% 0,85% 40%,100% 100%,0 100%,15% 60%);transform:rotate(7deg)scale(.88)translateY(3px)}to{opacity:0;filter:blur(3px);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);transform:rotate(18deg)scale(.25)translateY(18px)}}@media (prefers-reduced-motion:reduce){.adventure-scene.lock-scene .threshold-nine-cell-active,.threshold-nine-cell-shattering{animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=480px){.journey-report-row{flex-direction:column;align-items:flex-start;gap:4px}.journey-report-row span{text-align:right}}.adventure-scene.lock-scene .threshold-nine-cell-shattering{background:linear-gradient(45deg,#0000 46%,#fffffffa 47% 49%,#0000 50%),linear-gradient(-38deg,#0000 45%,#ffffffe6 46% 48%,#0000 49%),linear-gradient(145deg,#fff4a8,#d99b37)!important;border-color:#fff4b0!important;animation:.72s ease-in forwards threshold-nine-shatter!important}
