@font-face{font-family:Kufi Journey;src:url(../fonts/NotoKufiArabic-Regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Kufi Journey;src:url(../fonts/NotoKufiArabic-SemiBold.ttf) format("truetype");font-weight:600 900;font-display:swap}@font-face{font-family:Naskh Jeem;src:url(../fonts/NotoNaskhArabic-SemiBold.ttf) format("truetype");font-weight:600 900;font-display:swap}:root{font-family:Kufi Journey,Tahoma,Arial,sans-serif;color:#283f35;background:#c5dfcf;font-synthesis:none;--ink:#283f35;--forest:#356e58;--forest-dark:#285443;--paper:#fff8e9;--paper-deep:#f4e6c9;--coral:#df887c;--gold:#e7b75f;--sage:#8db89a;--shadow:0 18px 55px rgba(41,67,51,.22)}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;width:100%;height:100%;overflow:hidden}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible{outline:3px solid #f7c969;outline-offset:3px}#game-root{position:fixed;inset:0;min-height:100dvh;isolation:isolate}#game-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;background:linear-gradient(#c5dfcf,#a8c8a0)}.paper-grain{position:absolute;inset:0;pointer-events:none;z-index:1;opacity:.055;background-image:repeating-radial-gradient(circle at 20% 30%,#294d3b 0 1px,transparent 1px 5px);background-size:9px 11px;mix-blend-mode:multiply}.primary-button,.secondary-button{border:0;min-height:54px;border-radius:18px;padding:12px 24px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:700;font-size:16px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.primary-button{background:var(--forest);color:#fffaf0;box-shadow:0 7px #244d3e,0 12px 24px #244d3e3b}.primary-button:hover{background:#407d63;transform:translateY(-2px);box-shadow:0 9px #244d3e,0 15px 28px #244d3e40}.primary-button:active{transform:translateY(4px);box-shadow:0 3px #244d3e}.primary-button.compact{min-height:48px;padding:10px 20px;box-shadow:0 5px #244d3e}.secondary-button{background:#f2dfb9;color:var(--forest-dark);border:2px solid #d5b983}.secondary-button:hover{background:#f8e9c9;transform:translateY(-2px)}.round-button{width:48px;height:48px;border-radius:16px;border:1px solid rgba(76,102,75,.18);background:#fff8e9f0;color:var(--forest-dark);display:inline-flex;align-items:center;justify-content:center;box-shadow:0 5px 15px #2f473521;transition:transform .16s ease,background .16s ease}.round-button:hover{background:#fffdf5;transform:translateY(-2px)}.round-button:active{transform:translateY(1px)}.text-button{border:0;background:transparent;color:var(--forest-dark);min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600}.text-button:hover{text-decoration:underline}.luma-sprite{transform-origin:50% 100%}.luma-sprite>img{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 100%;pointer-events:none;-webkit-user-select:none;user-select:none}.luma-sprite>.luma-motion-still{display:none}.motion-reduced .luma-sprite>.luma-motion-animated{display:none}.motion-reduced .luma-sprite>.luma-motion-still{display:block}@media(prefers-reduced-motion:reduce){.luma-sprite>.luma-motion-animated{display:none}.luma-sprite>.luma-motion-still{display:block}}.motion-reduced .luma-sprite,.motion-reduced .victory-rays{animation:none!important}.title-screen{position:absolute;inset:0;z-index:10;display:flex;align-items:center;padding:5vh 7vw;background:linear-gradient(90deg,#355a4108 35%,#fff8e53d 75%,#fff8e580);pointer-events:none}.title-screen>*{pointer-events:auto}.title-card{position:relative;width:min(520px,48vw);padding:34px 38px 30px;background:#fff8e9f5;border:2px solid rgba(255,255,255,.6);border-radius:36px 36px 36px 10px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.title-card:after{content:"";position:absolute;width:70px;height:28px;background:#e7b75f8c;top:-13px;right:42px;transform:rotate(-3deg);border-radius:3px}.brand-mark{display:inline-flex;align-items:center;gap:8px;color:var(--forest);font-size:14px;font-weight:700;background:#dce9d3;padding:7px 12px;border-radius:12px}.title-kicker{margin:24px 0 2px;color:#91683d;font-size:13px;font-weight:600}.title-card h1{margin:0;color:var(--forest-dark);font-size:clamp(42px,5.2vw,72px);line-height:1.45;letter-spacing:-2px}.title-card h1 span{color:var(--coral);font-size:1.18em}.title-copy{font-size:15px;line-height:2;margin:4px 0 18px;max-width:43ch;color:#40594b}.title-features{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:24px}.title-features span{display:flex;align-items:center;gap:6px;font-size:12px;background:#f2e7ce;padding:7px 10px;border-radius:10px;color:#5e694e}.title-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.title-note{font-size:11px;color:#657567;margin:20px 0 0}.title-character{position:absolute;left:7vw;bottom:-2vh;width:min(35vw,450px);aspect-ratio:1;max-height:82vh;filter:drop-shadow(0 24px 20px rgba(42,70,49,.22));animation:character-arrive .7s cubic-bezier(.2,.85,.25,1) both}.title-character.luma-sprite--idle{animation:character-arrive .7s cubic-bezier(.2,.85,.25,1) both}.title-character-name{position:absolute;left:10vw;bottom:5vh;background:#fff4d9;padding:8px 18px;border-radius:14px;transform:rotate(3deg);box-shadow:0 7px 18px #3551372e;font-size:11px;text-align:center;color:#6f6651}.title-character-name span{display:block;font-size:20px;color:var(--forest);font-weight:700}@keyframes character-arrive{0%{opacity:0;transform:translateY(25px) rotate(-2deg)}to{opacity:1;transform:translateY(0) rotate(0)}}.game-hud{position:absolute;z-index:20;top:0;left:0;right:0;padding:calc(14px + env(safe-area-inset-top)) 18px 0;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.game-hud>*{pointer-events:auto}.hud-journey{display:flex;align-items:center;gap:18px;background:#fff8e9f0;border:1px solid rgba(255,255,255,.6);border-radius:21px;padding:9px 14px;box-shadow:0 8px 24px #2d4a3329;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.hud-brand{display:flex;align-items:center;gap:9px;min-width:150px}.mini-brand{display:flex;width:36px;height:36px;border-radius:12px;background:#d9e7cc;align-items:center;justify-content:center;color:var(--forest)}.hud-brand strong,.hud-brand small{display:block}.hud-brand strong{font-size:13px}.hud-brand small{font-size:9px;color:#6b7969;margin-top:2px}.progress-track{display:flex;direction:rtl;gap:6px;align-items:center}.progress-track>span{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e7ddc7;color:#879080;font-size:10px;border:2px solid transparent}.progress-track>span.current{background:#f4c773;color:#654b28;border-color:#fff2ce;box-shadow:0 0 0 3px #e7b75f2e}.progress-track>span.done{background:var(--forest);color:#fff8e9}.hud-actions{display:flex;gap:8px;direction:rtl}.journey-prompt{position:absolute;z-index:15;bottom:calc(22px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;background:#fff8e9f5;padding:11px 16px;border-radius:19px;box-shadow:0 10px 28px #2c442f33;min-width:310px;pointer-events:none}.prompt-icon{width:43px;height:43px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#d8e6cf;color:var(--forest)}.journey-prompt small,.journey-prompt strong{display:block}.journey-prompt small{font-size:9px;color:#74816e}.journey-prompt strong{font-size:12px;margin-top:3px;white-space:nowrap}.route-icons{display:flex;gap:5px;color:#699074;margin-right:auto}.emotion-dock{position:absolute;z-index:16;left:16px;top:50%;transform:translateY(-50%);width:104px;max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain;background:#fff8e9f0;border:1px solid rgba(255,255,255,.7);border-radius:22px;padding:9px;box-shadow:0 10px 28px #2c442f2e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);scrollbar-width:thin}.emotion-dock-title{display:flex;align-items:center;justify-content:center;gap:5px;color:var(--forest);font-size:10px;font-weight:700;padding:2px 0 8px}.emotion-buttons{display:grid;gap:6px}.emotion-button{width:100%;min-height:58px;border:2px solid transparent;border-radius:15px;background:#f1e7d3;color:var(--forest-dark);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px 4px 5px;transition:transform .16s ease,background .16s ease,border-color .16s ease;box-shadow:0 2px #dfd2b9}.emotion-button:hover{background:#fff8e9;transform:translate(2px)}.emotion-button:active{transform:translateY(2px)}.emotion-button.active{background:#dce9d3;border-color:#6f9f7c;box-shadow:0 0 0 2px #6f9f7c29}.emotion-button img{width:45px;height:40px;object-fit:contain;object-position:50% 100%;pointer-events:none;-webkit-user-select:none;user-select:none}.emotion-button span{display:block;font-size:9px;font-weight:700;line-height:1.3;margin-top:2px}.toast{position:absolute;z-index:40;bottom:110px;left:50%;transform:translate(-50%);border:0;background:#344f41;color:#fff8e9;padding:12px 16px;border-radius:14px;display:flex;gap:12px;align-items:center;box-shadow:var(--shadow);font-size:12px}.celebration-banner{position:absolute;z-index:25;left:50%;bottom:calc(26px + env(safe-area-inset-bottom));transform:translate(-50%);width:min(520px,calc(100% - 32px));display:flex;align-items:center;justify-content:center;gap:13px;padding:13px 18px;background:#fff8e1f5;border:2px solid #f3cc73;border-radius:22px;box-shadow:0 12px 36px #394d2e3d;pointer-events:none;animation:celebration-pop .35s cubic-bezier(.2,.9,.25,1.25) both}.celebration-icon{width:48px;height:48px;border-radius:16px;background:#f4cf78;color:#8a642a;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.celebration-banner strong,.celebration-banner div>span{display:block}.celebration-banner strong{color:var(--forest-dark);font-size:16px}.celebration-banner div>span{color:#6e745c;font-size:11px;line-height:1.8;margin-top:2px}@keyframes celebration-pop{0%{opacity:0;transform:translate(-50%,18px) scale(.92)}to{opacity:1;transform:translate(-50%) scale(1)}}.activity-backdrop{position:absolute;inset:0;z-index:30;background:#273e2f47;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:flex-end;justify-content:center;padding:90px 18px 20px}.activity-panel{width:min(720px,100%);max-height:calc(100dvh - 110px);overflow-y:auto;background:var(--paper);border:2px solid rgba(255,255,255,.7);border-radius:30px 30px 24px 24px;padding:18px 24px 20px;box-shadow:0 24px 70px #20382952;animation:panel-in .24s ease-out both}@keyframes panel-in{0%{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.activity-topline{display:flex;align-items:center;justify-content:space-between}.activity-topline .round-button{width:40px;height:40px;box-shadow:none;background:#efe5d2}.skill-pill{display:flex;align-items:center;gap:6px;background:#e7d9b9;color:#745b35;border-radius:10px;padding:6px 10px;font-size:10px;font-weight:600}.character-speech{display:grid;grid-template-columns:64px 1fr 48px;gap:13px;align-items:center;margin:5px 0 14px}.character-speech>.luma-mini{width:64px;height:64px;background-color:#d9e6cd;border-radius:50%;border:3px solid #fff;box-shadow:0 4px 12px #344c3129;overflow:hidden}.character-speech span{font-size:9px;color:#987049}.character-speech h2{font-size:clamp(17px,2.3vw,23px);line-height:1.75;margin:1px 0 0;color:var(--forest-dark)}.answer-grid{display:grid;gap:12px;direction:rtl}.picture-grid{grid-template-columns:repeat(2,1fr);max-width:520px;margin:auto}.letter-grid{grid-template-columns:repeat(3,1fr);max-width:540px;margin:auto}.sequence-grid{grid-template-columns:repeat(4,1fr);max-width:560px;margin:auto}.answer-card{position:relative;border:2px solid #dfd3b9;background:#fffcf3;border-radius:20px;min-height:104px;color:var(--ink);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;transition:transform .17s ease,border-color .17s ease,background .17s ease,box-shadow .17s ease;box-shadow:0 4px #e6d8bc}.answer-card:hover:not(:disabled){transform:translateY(-3px);border-color:#8aae88;box-shadow:0 7px #d9cbaa;background:#fffef9}.answer-card:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px #e6d8bc}.answer-card:disabled:not(.used){opacity:.78}.answer-art{height:62px;display:flex;align-items:center;color:#b87559}.answer-label{font-size:21px;font-weight:600;line-height:1.6}.letter-grid .answer-card{min-height:115px}.letter-grid .answer-label,.sequence-grid .answer-label{font-size:50px;line-height:1.35}.sequence-grid .answer-card{min-height:86px}.answer-card.revealed{border-color:#5e9b70;background:#e2f0d9;box-shadow:0 4px #9ab78b;color:#285c3b;opacity:1}.answer-card.used{opacity:.28;transform:scale(.95)}.answer-check{position:absolute;top:8px;left:8px;background:#4f9264;color:#fff;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center}.word-slots{display:flex;justify-content:center;gap:10px;margin:0 0 15px;direction:rtl}.word-slots span{width:64px;height:60px;border-radius:15px;border:2px dashed #c7b994;background:#f2e7cf;display:flex;align-items:center;justify-content:center;font-size:34px;color:#a6987a}.word-slots span.filled{border-style:solid;border-color:#7aa487;background:#e6efd9;color:#305a43}.feedback{display:flex;gap:10px;align-items:flex-start;border-radius:15px;padding:10px 13px;margin-top:14px;font-size:12px;line-height:1.9}.feedback svg{flex:0 0 auto;margin-top:3px}.feedback p{margin:0}.feedback.wrong{background:#fff0ce;color:#765222}.feedback.correct{background:#e2f0d9;color:#315e3e}.feedback.help{background:#e5ecee;color:#385b61}.activity-footer{display:flex;justify-content:center;align-items:center;min-height:46px;margin-top:8px}.activity-footer>p{font-size:10px;color:#77806d;margin:8px 0 0}.activity-footer>.success-note{color:#3f7450;font-size:12px;font-weight:600}.help-button{border:0;background:#ecd59f;color:#664d29;min-height:44px;padding:8px 16px;border-radius:13px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.help-button:hover{background:#f4e2b6}.modal-backdrop,.victory-screen{position:absolute;inset:0;z-index:50;background:#23392b73;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px}.pause-panel{position:relative;width:min(410px,100%);background:var(--paper);border-radius:30px;padding:30px;text-align:center;box-shadow:var(--shadow)}.pause-leaf{width:64px;height:64px;border-radius:22px;background:#dbe8cf;color:var(--forest);display:flex;align-items:center;justify-content:center;margin:-62px auto 15px;transform:rotate(-5deg);border:5px solid rgba(255,248,233,.7)}.pause-panel>p{font-size:11px;color:#8b7654;margin:0}.pause-panel h2{font-size:26px;margin:4px 0 22px}.pause-panel>.primary-button{width:100%}.settings-row{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.settings-row button{min-height:56px;border:1px solid #dfd2b7;background:#f4ead6;color:#425b4b;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px}.settings-row button:hover{background:#eadfc6}.pause-links{display:flex;justify-content:space-between;border-top:1px solid #e5d9c0;padding-top:12px}.pause-links button{border:0;background:transparent;color:#607061;min-height:44px;display:flex;align-items:center;gap:6px;font-size:11px}.victory-screen{background:#27493475;overflow:hidden}.victory-rays{position:absolute;width:900px;height:900px;background:repeating-conic-gradient(rgba(255,239,170,.16) 0 10deg,transparent 10deg 22deg);animation:slow-turn 35s linear infinite}@keyframes slow-turn{to{transform:rotate(360deg)}}.victory-panel{position:relative;width:min(450px,100%);max-height:95dvh;overflow-y:auto;background:var(--paper);border-radius:36px;padding:95px 32px 24px;text-align:center;box-shadow:0 25px 90px #1a342559}.victory-panel>.victory-luma{position:absolute;width:120px;height:120px;top:3px;left:50%;transform:translate(-50%);filter:drop-shadow(0 10px 10px rgba(44,74,48,.2))}.victory-stars{display:flex;justify-content:center;gap:12px;color:#dba83f;margin-bottom:5px}.victory-stars svg:nth-child(2){width:34px;height:34px;transform:translateY(-8px)}.victory-panel>p{margin:3px 0;color:#7d745b;font-size:12px}.victory-panel h2{font-size:43px;color:var(--coral);margin:0;line-height:1.4}.letter-medal{width:82px;height:82px;border-radius:50%;background:#dfe9cb;border:5px solid #f0c877;box-shadow:0 0 0 5px #fff3d3;display:flex;align-items:center;justify-content:center;font-size:48px;color:var(--forest);margin:12px auto}.victory-panel>.victory-copy{font-size:12px;line-height:2;max-width:37ch;margin:12px auto;color:#4f6353}.mastery-line{display:flex;align-items:center;justify-content:center;gap:7px;background:#e5efd9;color:#436147;border-radius:12px;padding:10px;font-size:10px;margin:15px 0}.victory-panel>.primary-button{width:100%}.victory-panel>.text-button{margin-top:10px}@media(max-width:760px){.emotion-dock{left:7px;width:68px;padding:6px;border-radius:18px;max-height:calc(100dvh - 132px)}.emotion-dock-title{font-size:8px;gap:3px;padding-bottom:6px}.emotion-dock-title svg{width:13px;height:13px}.emotion-buttons{gap:5px}.emotion-button{min-height:52px;border-radius:12px;padding:3px 2px 4px}.emotion-button img{width:37px;height:33px}.emotion-button span{font-size:8px}.title-screen{align-items:flex-start;justify-content:center;padding:calc(5vh + env(safe-area-inset-top)) 16px 16px;background:#dfebcf26}.title-card{width:min(100%,480px);padding:25px 23px 22px;border-radius:28px 28px 28px 8px;margin-top:5vh}.title-card h1{font-size:46px}.title-copy{font-size:13px;line-height:1.9;max-width:34ch}.title-character{width:210px;left:-25px;bottom:-20px;opacity:.28;max-height:55vh;filter:drop-shadow(0 15px 15px rgba(42,70,49,.18))}.title-character-name{display:none}.title-actions{position:relative;z-index:2}.title-actions .primary-button{flex:1}.title-note{font-size:9px}.game-hud{padding:calc(8px + env(safe-area-inset-top)) 8px 0;gap:6px}.hud-journey{padding:7px 9px;gap:8px;border-radius:17px;flex:1;justify-content:space-between;max-width:calc(100% - 106px)}.hud-brand{min-width:0}.mini-brand{width:30px;height:30px}.hud-brand strong{font-size:11px}.hud-brand small{font-size:8px;max-width:95px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress-track{gap:3px}.progress-track>span{width:22px;height:22px;font-size:8px}.hud-actions{gap:5px}.hud-actions .round-button{width:44px;height:44px;border-radius:14px}.hud-actions .round-button:first-child{display:none}.journey-prompt{bottom:calc(12px + env(safe-area-inset-bottom));min-width:0;width:calc(100% - 24px);padding:9px 12px}.journey-prompt strong{font-size:10px;white-space:normal}.celebration-banner{bottom:calc(14px + env(safe-area-inset-bottom));padding:10px 12px;gap:9px}.celebration-icon{width:42px;height:42px}.celebration-banner strong{font-size:13px}.celebration-banner div>span{font-size:9px}.activity-backdrop{padding:68px 0 0;align-items:flex-end}.activity-panel{border-radius:25px 25px 0 0;padding:12px 14px calc(14px + env(safe-area-inset-bottom));max-height:calc(100dvh - 68px);border-bottom:0}.character-speech{grid-template-columns:52px 1fr 44px;gap:9px;margin-bottom:10px}.character-speech>.luma-mini{width:52px;height:52px}.character-speech h2{font-size:16px;line-height:1.65}.character-speech .round-button{width:42px;height:42px}.answer-grid{gap:8px}.answer-card{min-height:90px;border-radius:16px}.answer-art{height:48px}.answer-art svg{width:46px;height:46px}.answer-label{font-size:18px}.letter-grid .answer-card{min-height:92px}.letter-grid .answer-label,.sequence-grid .answer-label{font-size:39px}.sequence-grid .answer-card{min-height:70px}.word-slots{margin-bottom:10px}.word-slots span{width:52px;height:48px;font-size:29px}.feedback{font-size:10px;padding:8px 10px;margin-top:10px}.activity-footer{min-height:40px;margin-top:3px}.victory-panel{padding:82px 22px 20px}}@media(max-width:390px){.hud-brand small{display:none}.hud-brand{min-width:35px}.hud-journey{max-width:calc(100% - 100px)}.title-features span{font-size:10px}.title-card{margin-top:2vh}.title-card h1{font-size:40px}.title-copy{font-size:12px}.title-kicker{margin-top:17px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.story-luma{position:relative;pointer-events:none;-webkit-user-select:none;user-select:none;filter:drop-shadow(0 18px 15px rgba(43,66,48,.18))}.story-luma>img{position:absolute;left:50%;bottom:var(--portrait-bottom);width:var(--portrait-width);height:var(--portrait-height);max-width:none;object-fit:contain;transform:translate(-50%) scale(var(--portrait-scale,1));transform-origin:50% 100%;pointer-events:none;-webkit-user-select:none;user-select:none}.story-luma>.luma-motion-still{display:none}.motion-reduced .story-luma>.luma-motion-animated{display:none}.motion-reduced .story-companion>img{animation:none}.motion-reduced .story-luma>.luma-motion-still{display:block}@media(prefers-reduced-motion:reduce){.story-luma>.luma-motion-animated{display:none}.story-luma>.luma-motion-still{display:block}}.story-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#8b6840;font-size:12px;font-weight:700}.welcome-screen{position:absolute;inset:0;z-index:10;background:linear-gradient(90deg,#355a4105,#fff8e538);pointer-events:none}.welcome-screen>*{pointer-events:auto}.welcome-card{position:absolute;top:50%;right:6vw;transform:translateY(-50%);width:min(540px,48vw);padding:32px 38px;background:#fff8e9f5;border:2px solid rgba(255,255,255,.7);border-radius:36px 36px 12px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.welcome-card .brand-mark{margin-bottom:20px}.welcome-card h1{margin:5px 0 10px;color:var(--forest-dark);font-size:clamp(42px,5vw,68px);line-height:1.3;letter-spacing:-2px}.welcome-card h1 span{color:var(--coral)}.welcome-copy{min-height:62px;margin:0 0 20px;color:#465d4e;font-size:15px;line-height:2.05}.welcome-start{width:100%;font-size:17px}.welcome-speaking{min-height:58px;display:flex;align-items:center;justify-content:center;gap:12px;background:#eee3cb;border-radius:17px;color:var(--forest);font-size:13px;font-weight:700}.welcome-speaking button{border:0;background:#fff8e9;color:var(--forest);border-radius:10px;padding:7px 10px;display:flex;align-items:center;gap:5px;font-size:11px}.voice-bars{display:flex;align-items:center;gap:3px;height:23px;direction:ltr}.voice-bars i{width:4px;height:14px;background:#669175;border-radius:5px;animation:voice-bar .8s ease-in-out infinite alternate}.voice-bars i:nth-child(2){height:23px;animation-delay:.18s}.voice-bars i:nth-child(3){animation-delay:.36s}@keyframes voice-bar{to{height:5px}}.welcome-features{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.welcome-features span{display:flex;align-items:center;gap:5px;background:#efe5cf;padding:7px 9px;border-radius:10px;font-size:10px;color:#61705d}.welcome-luma{--portrait-scale:2;position:absolute;left:4vw;bottom:-10px;width:min(39vw,520px);height:82vh;animation:character-arrive .65s ease-out both}.welcome-name{position:absolute;left:11vw;bottom:4vh;padding:9px 22px;background:#fff4d9;border-radius:15px;box-shadow:0 8px 22px #3551372e;text-align:center;transform:rotate(2deg)}.welcome-name strong,.welcome-name span{display:block}.welcome-name strong{font-size:22px;color:var(--forest)}.welcome-name span{font-size:10px;color:#746b55}.stage-screen{position:absolute;inset:0;z-index:12;padding:6vh 7vw;background:linear-gradient(120deg,#fff8e9e0,#fff8e959 60%,#fff8e90d);overflow:hidden}.stage-heading{position:relative;z-index:2;max-width:620px;margin-bottom:25px}.stage-heading h1{font-size:clamp(30px,4vw,48px);color:var(--forest-dark);margin:16px 0 8px}.stage-heading p{font-size:13px;line-height:2;color:#576b59;margin:0;max-width:60ch}.stage-card{position:relative;z-index:2;width:min(650px,58vw);min-height:210px;border:3px solid rgba(255,255,255,.75);border-radius:30px;background:#fff8e9f5;box-shadow:0 15px 45px #2a453033;display:grid;grid-template-columns:120px 1fr;grid-template-rows:1fr auto;gap:10px 20px;text-align:right;padding:25px;color:var(--ink);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.stage-card:hover:not(:disabled){transform:translateY(-4px);border-color:#e7bd68;box-shadow:0 20px 50px #2a45303d}.stage-card.selected{border-color:#65a276;background:#f4f8e7;box-shadow:0 0 0 5px #65a2762b,0 18px 48px #2a453038}.stage-card:disabled{opacity:.88}.stage-number{position:absolute;top:16px;right:18px;background:#e9ddc3;color:#775f3d;border-radius:9px;padding:5px 9px;font-size:10px;font-weight:700}.stage-letter{grid-row:1/3;width:110px;height:140px;align-self:center;border-radius:27px;background:#d8e8cc;color:var(--forest);display:flex;align-items:center;justify-content:center;font-size:92px;font-weight:700;line-height:1;box-shadow:inset 0 -7px #356e5814}.stage-jamool{position:relative;overflow:hidden;background:#eadfc4}.stage-jamool>img{width:118%;height:118%;max-width:none;object-fit:contain;filter:drop-shadow(0 7px 5px rgba(74,66,41,.18))}.stage-jamool>small{position:absolute;top:7px;right:9px;width:29px;height:29px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#fff8e9e6;color:var(--forest);font-size:21px;font-weight:800;box-shadow:0 2px 7px #3e4b301f}.stage-info{align-self:end;padding-top:25px}.stage-info strong,.stage-info small{display:block}.stage-info strong{font-size:29px;color:var(--forest-dark)}.stage-info small{font-size:12px;line-height:1.9;color:#6b7865;margin-top:7px}.stage-confirm{display:flex;align-items:center;gap:7px;color:#8a6b3f;font-size:11px;font-weight:700}.selected .stage-confirm{color:#3e7d52}.stage-luma{--portrait-scale:2;position:absolute;left:4vw;bottom:-10px;width:min(39vw,520px);height:82vh}.stage-audio-controls{position:absolute;left:24px;top:22px;display:flex;gap:8px;direction:rtl}.story-hud{position:absolute;z-index:30;top:0;left:0;right:0;padding:calc(13px + env(safe-area-inset-top)) 16px 0;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.story-hud>*{pointer-events:auto}.story-hud-title{display:flex;align-items:center;gap:9px;background:#fff8e9f2;border:1px solid rgba(255,255,255,.7);padding:8px 12px;border-radius:18px;box-shadow:0 7px 20px #2d4a3326}.story-hud-title strong,.story-hud-title small{display:block}.story-hud-title strong{font-size:13px}.story-hud-title small{font-size:9px;color:#70806c;margin-top:2px}.story-progress{display:flex;direction:rtl;gap:6px;background:#fff8e9f0;padding:7px 10px;border-radius:18px;box-shadow:0 7px 20px #2d4a3321}.story-progress>span{position:relative;width:52px;height:39px;border-radius:12px;background:#e9dfc9;color:#879080;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;padding-bottom:12px}.story-progress small{position:absolute;bottom:3px;font-size:8px;font-weight:600}.story-progress>span.current{background:#f2c66f;color:#674d29}.story-progress>span.done{background:#5f9270;color:#fff}.vn-dialogue{position:absolute;z-index:28;left:50%;right:auto;width:min(1236px,calc(100% - 44px));bottom:calc(16px + env(safe-area-inset-bottom));height:290px;display:flex;align-items:flex-end;justify-content:center;direction:ltr;pointer-events:none;transform:translate(-50%);transform-origin:50% 100%}.vn-dialogue>*{pointer-events:auto}.vn-luma{--portrait-scale:2;width:420px;height:560px;flex:0 0 420px;margin-left:-70px;z-index:2;transform:translateY(48px)}.vn-luma.story-luma-joy{transform:translateY(135px)}@media(min-width:701px){.vn-luma.story-luma-joy{transform:translateY(225px)}}.vn-bubble{position:relative;direction:rtl;flex:1;max-width:900px;min-height:164px;margin-bottom:9px;padding:20px 26px 15px;background:#fff9ebf7;border:3px solid rgba(255,255,255,.82);border-radius:28px 28px 28px 8px;box-shadow:0 16px 45px #273e2e40;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.vn-bubble:before{content:"";position:absolute;left:-17px;bottom:28px;border-width:12px 18px 12px 0;border-style:solid;border-color:transparent rgba(255,249,235,.97) transparent transparent}.vn-speaker{display:flex;align-items:center;gap:10px}.vn-speaker span{background:#dce9d3;color:var(--forest);padding:4px 11px;border-radius:9px;font-size:12px;font-weight:800}.vn-speaker i{font-style:normal;color:#93836b;font-size:9px}.vn-bubble>p{font-size:clamp(15px,1.65vw,20px);line-height:2;margin:9px 0 8px;color:#2f4b3b;font-weight:600}.vn-voice-actions{display:flex;gap:8px;direction:rtl}.vn-voice-actions button{border:0;background:#eee4d0;color:#596a55;border-radius:10px;padding:5px 10px;display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700}.vn-voice-actions button:hover{background:#e1d2b5}.vn-dialogue.compact{height:220px;left:50%;right:auto;width:calc(100% - 32px);bottom:12px}.vn-dialogue.compact .vn-luma{width:300px;height:420px;flex-basis:300px;margin-left:-45px}.vn-dialogue.compact .vn-bubble{min-height:125px;padding:13px 20px 10px}.vn-dialogue.compact .vn-bubble>p{font-size:14px;line-height:1.9;margin:6px 0}.vn-dialogue.compact .vn-voice-actions{position:absolute;left:16px;bottom:10px}.story-companion{position:relative;width:420px;height:650px;flex:0 0 420px;align-self:flex-end;pointer-events:none;-webkit-user-select:none;user-select:none;z-index:3}.story-companion>img{position:absolute;left:50%;bottom:30px;max-width:none;object-fit:contain;transform-origin:50% 100%;filter:drop-shadow(0 17px 13px rgba(42,63,43,.22));animation:companion-breathe 3.2s ease-in-out infinite}.story-companion-najoud>img{width:261px;height:650px}.story-companion-jamool>img{width:420px;height:650px}.story-companion>span{position:absolute;bottom:0;left:50%;transform:translate(-50%);min-width:82px;padding:6px 13px;border-radius:12px;background:#fff4d9;color:#6f5738;box-shadow:0 6px 16px #30452e2e;text-align:center;font-size:13px;font-weight:800}.vn-dialogue.has-companion .vn-bubble{max-width:720px}@keyframes companion-breathe{0%,to{transform:translate(-50%) scale(1)}50%{transform:translate(-50%) scale(.994,1.018)}}.question-panel{position:absolute;z-index:27;top:100px;left:50%;transform:translate(-50%);width:min(480px,calc(100% - 32px));padding:17px 24px 20px;background:#fff9ebf7;border:3px solid rgba(255,255,255,.8);border-radius:28px;box-shadow:0 16px 45px #273e2e38;text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.question-meta{display:flex;justify-content:space-between;align-items:center;color:#8a7759;font-size:9px}.question-meta span:last-child{display:flex;align-items:center;gap:4px;color:#4d7b5d;font-weight:700}.question-panel h2{font-size:56px;line-height:1.5;margin:2px 0 0;color:var(--forest-dark);letter-spacing:1px}.question-panel h2 span{display:inline}.question-panel h2 mark{background:#f6cf6f;color:#a64e3f;border-radius:8px;padding:0 5px;box-shadow:0 0 0 3px #f6cf6f40}.question-panel>p{font-size:13px;color:#63725f;margin:0 0 13px}.question-actions{display:grid;grid-template-columns:1fr 1fr;gap:13px;direction:rtl}.question-actions button{min-height:82px;border:0;border-radius:20px;color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px;font-weight:800;transition:transform .16s ease,box-shadow .16s ease}.question-actions button:disabled{opacity:.6}.question-actions button:not(:disabled):hover{transform:translateY(-3px)}.answer-yes{background:#4f9a68;box-shadow:0 6px #347549}.answer-no{background:#d86e68;box-shadow:0 6px #a74d4b}.question-feedback{margin-top:13px;padding:7px 10px;border-radius:10px;background:#fff0ce;color:#7a5a29;font-size:10px}.question-feedback.help{background:#e5ecee;color:#385b61}.searching-badge{position:absolute;z-index:32;left:50%;top:48%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;background:#fff8e2f5;color:var(--forest);padding:14px 22px;border-radius:18px;box-shadow:var(--shadow);font-size:14px;font-weight:800;pointer-events:none}.tracing-backdrop{position:absolute;inset:0;z-index:34;background:#263d2e66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;grid-template-columns:minmax(480px,680px) 420px;align-items:center;justify-content:center;gap:15px;padding:85px 22px 18px}.tracing-panel{position:relative;width:100%;max-height:calc(100dvh - 105px);overflow:auto;background:var(--paper);border:3px solid rgba(255,255,255,.75);border-radius:30px;padding:18px 24px 14px;box-shadow:0 22px 65px #1e342752}.tracing-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.tracing-header h2{font-size:23px;color:var(--forest-dark);margin:3px 0 0}.tracing-rounds{display:flex;direction:rtl;gap:5px}.tracing-rounds>span{width:30px;height:30px;border-radius:50%;background:#e7ddc8;color:#8d8979;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800}.tracing-rounds>span.current{background:#f1c56e;color:#6e522d;box-shadow:0 0 0 3px #f7e4b6}.tracing-rounds>span.done{background:#609370;color:#fff}.tracing-locks{display:flex;justify-content:center;gap:9px;margin:12px 0 5px}.tracing-locks>span{display:flex;align-items:center;gap:5px;padding:5px 9px;border-radius:10px;background:#e9dfca;color:#8a795e;font-size:9px}.tracing-locks>span.unlocked{background:#dcebd3;color:#3e7550}.trace-reference{display:grid;grid-template-columns:auto 80px 1fr;align-items:center;gap:13px;background:#f0e5cd;border-radius:18px;padding:5px 15px;min-height:73px}.trace-reference small{color:#8d795a;font-size:10px}.trace-reference strong{font-family:Naskh Jeem,Kufi Journey,serif;font-size:72px;line-height:1.1;color:var(--forest);text-align:center}.trace-reference>span{font-size:10px;line-height:1.8;color:#746d58}.trace-surface{display:block;width:min(100%,430px);height:min(42vh,350px);margin:8px auto 0;touch-action:none;cursor:crosshair;border-radius:24px;background-color:#fffdf6;background-image:radial-gradient(#e2d8c3 1.3px,transparent 1.3px);background-size:22px 22px;border:2px dashed #d6c6a6}.trace-guide{fill:none;stroke:#b4a488;stroke-width:13;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 17;pointer-events:none}.unguided .trace-guide{opacity:0}.trace-start{fill:#64a477;stroke:#fff;stroke-width:4;pointer-events:none}.trace-dot-guide{fill:#b4a488;pointer-events:none}.awaiting-dot .trace-dot-guide{fill:#df887c;stroke:#fff;stroke-width:3}.trace-dot-target-ring{fill:none;stroke:#df887c;stroke-width:3;stroke-dasharray:4 5;pointer-events:none}.trace-dot-placed{fill:#438d83;stroke:#fff;stroke-width:3;pointer-events:none}.trace-drawing{fill:none;stroke:#438d83;stroke-width:11;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;filter:drop-shadow(0 2px 1px rgba(41,88,76,.16))}.trace-help{text-align:center;font-size:11px;line-height:1.7;min-height:19px;color:#6c735f;margin:7px 0 0}.awaiting-dot~.trace-help{color:#855842;font-weight:700}.tracing-dialogue{min-width:0;height:100%;position:relative}.tracing-dialogue .vn-dialogue{position:relative;inset:auto;width:100%;height:100%;min-height:560px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;transform:none}.tracing-dialogue .vn-luma{width:360px;height:400px;flex:0 0 400px;margin:0 auto -8px;transform:translateY(170px)}.tracing-dialogue .vn-bubble{position:relative;z-index:3;flex:0 0 auto;width:100%;min-height:155px;margin:0;padding:15px 17px}.tracing-dialogue .vn-bubble:before{display:none}.tracing-dialogue .vn-bubble>p{font-size:13px;line-height:1.85}.tracing-dialogue .vn-voice-actions{position:static}.tracing-dialogue .vn-speaker i{display:none}.story-complete{position:absolute;inset:0;z-index:45;background:#efe6c7b3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:25px;overflow:hidden}.complete-panel{position:relative;width:min(590px,60vw);padding:34px 38px;background:var(--paper);border:3px solid white;border-radius:34px;text-align:center;box-shadow:var(--shadow)}.complete-icon{width:82px;height:82px;border-radius:26px;background:#dce9d3;color:var(--forest);display:flex;align-items:center;justify-content:center;margin:-76px auto 17px;border:6px solid rgba(255,248,233,.8);transform:rotate(-4deg)}.complete-panel h2{font-size:34px;color:var(--forest-dark);margin:8px 0}.complete-panel>p{font-size:13px;line-height:2;color:#61705d}.complete-word{display:flex;align-items:center;gap:18px;background:#eee3ca;border-radius:18px;padding:9px 18px;margin:18px 0;color:var(--forest);font-size:55px;font-weight:800}.complete-word span{font-size:11px;line-height:2;color:#6e715d;font-weight:600}.complete-panel>.primary-button{width:100%}.complete-panel>.text-button{margin-top:12px}.complete-luma{--portrait-scale:2;width:420px;height:560px;flex:0 0 420px;margin-left:48px;transform:translateY(300px)}.animation-gallery-open{width:100%;min-height:43px;margin-top:10px;border:1px solid #d9cba9;border-radius:14px;background:#f4ead5;color:var(--forest);display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:800;transition:background .18s ease,transform .18s ease}.animation-gallery-open:hover{background:#eadcbb;transform:translateY(-1px)}.animation-gallery{position:absolute;inset:0;z-index:80;display:flex;flex-direction:column;align-items:center;padding:18px 24px 16px;background:radial-gradient(circle at 50% 44%,#fffdf0f7,#efe5c7fa 70%);overflow:hidden;isolation:isolate}.animation-gallery-header{position:relative;z-index:5;width:min(1100px,100%);display:flex;align-items:center;justify-content:space-between;gap:20px;direction:rtl}.animation-gallery-header h2{margin:4px 0 0;color:var(--forest-dark);font-size:25px}.animation-gallery-header .round-button{flex:0 0 48px;background:#fff9eb;color:var(--forest)}.animation-gallery-stage{position:relative;flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}.gallery-spotlight{position:absolute;left:50%;bottom:8%;width:min(580px,80vw);height:min(470px,55vh);transform:translate(-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(255,255,255,.9),rgba(255,248,222,.25) 58%,transparent 72%);z-index:-1}.gallery-luma{--portrait-scale:1.5;width:min(540px,88vw);height:100%;flex:0 0 auto;transform:translateY(15px);z-index:2}.gallery-current-name{position:absolute;left:50%;bottom:5px;transform:translate(-50%);padding:7px 20px;border-radius:14px;background:#fff4d9;color:var(--forest);box-shadow:0 7px 20px #35513724;font-size:16px;font-weight:800;z-index:3}.animation-gallery-controls{position:relative;z-index:5;width:min(1100px,100%);display:flex;flex-direction:column;align-items:center;gap:9px}.animation-gallery-buttons{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;direction:rtl}.animation-gallery-buttons button{min-width:80px;min-height:41px;padding:8px 15px;border:2px solid transparent;border-radius:13px;background:#fff9eb;color:#5c6c58;box-shadow:0 4px 12px #3d493014;font-size:12px;font-weight:800;transition:transform .16s ease,background .16s ease,border-color .16s ease}.animation-gallery-buttons button:hover{transform:translateY(-2px);background:#f5e8c9}.animation-gallery-buttons button.active{background:#dce9d3;border-color:#72a17d;color:#315f42}.gallery-replay{border:0;background:transparent;color:#6e674f;display:flex;align-items:center;gap:6px;padding:5px 10px;font-size:11px;font-weight:700}@media(max-width:700px)and (orientation:portrait){.animation-gallery-open{min-height:42px;margin-top:8px;font-size:11px}.welcome-features{margin-top:9px}.animation-gallery{padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom))}.animation-gallery-header h2{font-size:18px}.animation-gallery-header .story-eyebrow{font-size:10px}.animation-gallery-header .round-button{width:43px;height:43px;flex-basis:43px}.gallery-luma{--portrait-scale:1.25;width:100%;transform:translateY(4px)}.gallery-current-name{bottom:8px;font-size:13px;padding:6px 16px}.animation-gallery-controls{gap:5px}.animation-gallery-buttons{gap:6px;max-height:154px;overflow:auto;padding:2px}.animation-gallery-buttons button{min-width:68px;min-height:38px;padding:6px 10px;font-size:11px}.gallery-replay{font-size:10px;padding:3px 8px}}@media(min-width:701px)and (max-width:1000px)and (orientation:portrait){.gallery-luma{--portrait-scale:1.5}.animation-gallery-buttons button{min-width:84px}}@media(max-height:700px)and (orientation:landscape){.animation-gallery{padding:9px 18px 8px}.animation-gallery-header h2{font-size:18px}.animation-gallery-header .story-eyebrow{font-size:9px}.animation-gallery-header .round-button{width:40px;height:40px;flex-basis:40px}.gallery-luma{--portrait-scale:.82;transform:translateY(0)}.gallery-current-name{bottom:0;font-size:11px;padding:4px 13px}.animation-gallery-controls{gap:2px}.animation-gallery-buttons{gap:5px;flex-wrap:nowrap;max-width:100%;overflow-x:auto;padding:2px 3px;justify-content:flex-start}.animation-gallery-buttons button{min-width:68px;min-height:34px;padding:5px 9px;font-size:10px;flex:0 0 auto}.gallery-replay{font-size:9px;padding:2px 7px}}@media(max-width:900px){.welcome-card{right:4vw;width:54vw;padding:26px}.welcome-luma{left:1vw;width:41vw}.welcome-name{left:8vw}.stage-card{width:63vw;grid-template-columns:95px 1fr}.stage-letter{width:90px;height:120px;font-size:75px}.stage-luma{left:1vw;width:41vw}.tracing-backdrop{grid-template-columns:minmax(450px,650px) 300px;padding-left:12px;padding-right:12px}.tracing-dialogue .vn-luma{width:300px}.tracing-dialogue .vn-bubble>p{font-size:11px}.story-progress>span{width:40px}.story-hud-title small{display:none}}@media(max-width:700px){.welcome-screen{background:linear-gradient(0deg,#fff8e9a6,#fff8e90d)}.welcome-card{top:calc(14px + env(safe-area-inset-top));right:14px;left:14px;transform:none;width:auto;padding:20px 22px;border-radius:27px}.welcome-card .brand-mark{margin-bottom:9px}.welcome-card h1{font-size:37px;line-height:1.25;margin:3px 0 7px}.welcome-card h1 br{display:none}.welcome-card h1 span{margin-right:8px}.welcome-copy{font-size:12px;line-height:1.9;min-height:46px;margin-bottom:13px}.welcome-start{min-height:49px;font-size:14px}.welcome-features{margin-top:12px;gap:5px}.welcome-features span{font-size:8px;padding:5px 7px}.welcome-luma{--portrait-scale:1.45;left:50%;bottom:0;transform:translate(-50%);transform-origin:50% 100%;width:320px;height:48vh;animation:none}.welcome-name{left:18px;bottom:18px;padding:6px 13px}.welcome-name strong{font-size:17px}.stage-screen{padding:25px 16px 180px;background:#fff8e9b8}.stage-heading{margin-bottom:17px}.stage-heading h1{font-size:29px;margin:12px 0 5px}.stage-heading p{font-size:11px}.stage-card{width:100%;min-height:172px;padding:18px;grid-template-columns:78px 1fr;gap:8px 13px;border-radius:24px}.stage-letter{width:75px;height:112px;font-size:65px}.stage-info strong{font-size:22px}.stage-info small{font-size:10px}.stage-number{top:10px;right:12px}.stage-luma{--portrait-scale:1.45;left:50%;bottom:0;transform:translate(-50%);transform-origin:50% 100%;width:320px;height:48vh;opacity:.9}.stage-audio-controls{left:12px;top:12px;bottom:auto;z-index:3}.story-hud{padding:calc(8px + env(safe-area-inset-top)) 8px 0}.story-hud-title{padding:6px 8px;border-radius:14px}.story-hud-title .mini-brand{width:30px;height:30px}.story-hud-title strong{font-size:10px}.story-hud .round-button{width:40px;height:40px;border-radius:13px}.hud-actions{gap:5px}.story-progress{position:absolute;top:calc(61px + env(safe-area-inset-top));left:50%;transform:translate(-50%);padding:4px 7px;gap:4px}.story-progress>span{height:29px;width:45px;padding-bottom:0}.story-progress small{display:none}.vn-dialogue{left:50%;right:auto;width:calc(100% - 16px);bottom:calc(8px + env(safe-area-inset-bottom));height:205px}.vn-luma{--portrait-scale:1.45;width:115px;height:200px;flex-basis:115px;margin-left:-15px}.vn-bubble{min-height:145px;padding:14px 16px 11px;border-radius:22px 22px 22px 7px}.vn-bubble>p{font-size:13px;line-height:1.85;margin:6px 0}.vn-speaker span{font-size:10px}.vn-speaker i{display:none}.vn-voice-actions button{font-size:8px;padding:4px 7px}.dialogue-companion{position:absolute;right:-3px;bottom:150px;width:300px;height:420px;z-index:1}.story-companion-najoud>img{width:161px;height:400px}.story-companion-jamool>img{width:259px;height:400px}.story-companion>span{font-size:10px;min-width:65px;padding:4px 9px}.vn-dialogue.compact{height:180px;bottom:6px}.vn-dialogue.compact .vn-luma{display:block;width:115px;height:200px;flex:0 0 115px;margin-left:-15px}.vn-dialogue.compact .vn-bubble{min-height:140px;padding:10px 14px}.vn-dialogue.compact .vn-bubble>p{font-size:11px;line-height:1.75;padding-left:0}.vn-dialogue.compact .vn-voice-actions{position:static;flex-direction:row;justify-content:flex-start;gap:5px;margin-top:4px}.question-panel{top:105px;padding:12px 16px 15px;border-radius:22px;width:calc(100% - 24px)}.question-panel h2{font-size:43px}.question-panel>p{font-size:11px;margin-bottom:10px}.question-actions button{min-height:66px;font-size:12px;border-radius:16px;gap:6px}.question-actions svg{width:29px}.question-meta{font-size:8px}.tracing-backdrop{display:flex;flex-direction:column;padding:95px 8px 8px;gap:6px;justify-content:flex-start}.tracing-panel{max-height:calc(100dvh - 100px);padding:12px 13px 10px;border-radius:22px;overflow:auto}.tracing-header h2{font-size:17px}.tracing-header .story-eyebrow{font-size:9px}.tracing-rounds>span{width:25px;height:25px}.tracing-locks{margin:8px 0 4px}.trace-reference{min-height:56px;grid-template-columns:auto 55px 1fr;padding:3px 10px;gap:8px}.trace-reference strong{font-size:49px}.trace-reference>span{font-size:8px}.trace-surface{height:min(36vh,290px);margin-top:5px}.trace-help{font-size:8px}.tracing-dialogue{display:none}.story-complete{display:block;padding:360px 15px 25px;overflow-y:auto;overflow-x:hidden}.complete-panel{position:relative;z-index:2;width:calc(100vw - 30px);padding:28px 20px 20px}.complete-panel h2{font-size:27px}.complete-luma{--portrait-scale:1.45;display:block;position:absolute;top:15px;left:50%;width:320px;height:390px;margin:0;z-index:1;transform:translate(-50%) translateY(255px)}.complete-word{font-size:45px;gap:10px}.complete-word span{font-size:9px}.complete-icon{margin-top:-68px}.searching-badge{font-size:11px;white-space:nowrap}}@media(max-height:700px)and (min-width:701px){.vn-dialogue{height:220px}.vn-luma{width:190px;height:215px;flex-basis:190px}.vn-bubble{min-height:135px}.vn-bubble>p{font-size:15px}.welcome-card{padding-top:22px;padding-bottom:22px}.welcome-card h1{font-size:45px}.welcome-features{margin-top:12px}.question-panel{top:82px;padding-top:10px;padding-bottom:12px}.question-panel h2{font-size:43px}.question-actions button{min-height:65px}}.round-button.active{background:#dce9d3;color:#356c4b;box-shadow:inset 0 0 0 2px #49845b3d,0 4px 12px #2d4a331f}.tracing-dialogue .vn-dialogue{transform:none}@media(min-width:701px)and (max-width:1000px)and (orientation:portrait){.vn-dialogue{width:calc(100% - 32px)}.vn-luma{width:240px;height:400px;flex-basis:240px;margin-left:-38px}.vn-luma.story-luma-joy{transform:translateY(110px)}.vn-bubble{min-height:155px;padding:18px 22px 13px}.dialogue-companion{position:absolute;right:0;bottom:160px;width:300px;height:500px;z-index:1}.story-companion-najoud>img{width:201px;height:500px}.story-companion-jamool>img{width:323px;height:500px}.tracing-backdrop{display:flex;flex-direction:column;justify-content:flex-start;gap:8px;padding:100px 16px 16px}.tracing-panel{width:min(680px,100%);max-height:calc(100dvh - 116px);padding:18px 24px 14px}.tracing-dialogue{display:none}.trace-surface{height:min(43vh,380px)}.complete-panel{width:min(460px,55vw)}.complete-luma{--portrait-scale:1.45;width:240px;height:400px;flex-basis:240px;margin-left:52px;transform:translateY(230px)}}@media(max-height:700px)and (orientation:landscape){.welcome-screen,.stage-screen{inset:50% auto auto 50%;width:1280px;height:720px;transform:translate(-50%,-50%) scale(var(--short-screen-scale,1));transform-origin:50% 50%;overflow:hidden}.welcome-card{top:50%;right:6vw;left:auto;transform:translateY(-50%);width:540px;padding:32px 38px;border-radius:36px 36px 12px}.welcome-card .brand-mark{margin-bottom:20px}.welcome-card h1{font-size:68px;line-height:1.3;margin:5px 0 10px}.welcome-card h1 br{display:initial}.welcome-copy{min-height:62px;margin:0 0 20px;font-size:15px;line-height:2.05}.welcome-start{font-size:17px}.welcome-features{display:flex;gap:8px;margin-top:20px}.welcome-features span{font-size:10px;padding:7px 9px}.welcome-luma{--portrait-scale:2;left:4vw;bottom:-10px;transform:none;width:499px;height:590px;animation:character-arrive .65s ease-out both}.welcome-name{left:11vw;bottom:4vh;padding:9px 22px}.welcome-name strong{font-size:22px}.stage-screen{padding:43px 90px;background:linear-gradient(120deg,#fff8e9e0,#fff8e959 60%,#fff8e90d)}.stage-heading{max-width:620px;margin-bottom:25px}.stage-heading h1{font-size:48px;margin:16px 0 8px}.stage-heading p{font-size:13px}.stage-card{width:650px;min-height:210px;padding:25px;grid-template-columns:120px 1fr;gap:10px 20px;border-radius:30px}.stage-letter{width:110px;height:140px;font-size:92px}.stage-info strong{font-size:29px}.stage-info small{font-size:12px}.stage-number{top:16px;right:18px}.stage-luma{--portrait-scale:2;left:4vw;bottom:-10px;transform:none;width:499px;height:590px;opacity:1}.stage-audio-controls{left:24px;top:22px;bottom:auto}.story-hud{left:50%;right:auto;top:0;width:1280px;padding:13px 16px 0;transform:translate(-50%) scale(var(--short-screen-scale,1));transform-origin:50% 0}.story-hud-title{padding:8px 12px;border-radius:18px}.story-hud-title .mini-brand{width:36px;height:36px}.story-hud-title strong{font-size:13px}.story-hud-title small{display:block}.story-hud .round-button{width:46px;height:46px;border-radius:16px}.hud-actions{gap:8px}.story-progress{position:static;transform:none;padding:7px 10px;gap:6px}.story-progress>span{width:52px;height:39px;padding-bottom:12px}.story-progress small{display:block}.vn-dialogue{left:50%;right:auto;width:1236px;height:290px;bottom:16px;transform:translate(-50%) scale(var(--short-screen-scale,1));transform-origin:50% 100%}.vn-luma{--portrait-scale:2;width:420px;height:560px;flex:0 0 420px;margin-left:-70px;transform:translateY(48px)}.vn-luma.story-luma-joy{transform:translateY(225px)}.vn-bubble{min-height:164px;margin-bottom:9px;padding:20px 26px 15px;border-radius:28px 28px 28px 8px}.vn-bubble>p{font-size:20px;line-height:2;margin:9px 0 8px}.vn-speaker span{font-size:12px}.vn-speaker i{display:inline}.vn-voice-actions button{font-size:10px;padding:5px 10px}.dialogue-companion{position:relative;right:auto;bottom:auto;width:420px;height:650px;flex:0 0 420px;z-index:3}.story-companion-najoud>img{width:261px;height:650px}.story-companion-jamool>img{width:420px;height:650px}.story-companion>span{font-size:13px;min-width:82px;padding:6px 13px}.vn-dialogue.compact{left:50%;right:auto;width:1204px;height:220px;bottom:12px}.vn-dialogue.compact .vn-luma{width:300px;height:420px;flex:0 0 300px;margin-left:-45px}.vn-dialogue.compact .vn-bubble{min-height:125px;padding:13px 20px 10px}.vn-dialogue.compact .vn-bubble>p{font-size:14px;line-height:1.9;margin:6px 0}.vn-dialogue.compact .vn-voice-actions{position:absolute;left:16px;bottom:10px;flex-direction:row;margin-top:0}.question-panel{top:82px;width:480px;padding:10px 24px 12px;transform:translate(-50%) scale(var(--short-screen-scale,1));transform-origin:50% 0}.question-panel h2{font-size:43px}.question-panel>p{font-size:13px}.question-actions button{min-height:65px;font-size:15px}.question-meta{font-size:9px}.tracing-backdrop{inset:50% auto auto 50%;display:grid;grid-template-columns:minmax(480px,680px) 420px;align-items:center;justify-content:center;gap:15px;width:1280px;height:720px;padding:85px 22px 18px;transform:translate(-50%,-50%) scale(var(--short-screen-scale,1));transform-origin:50% 50%;overflow:hidden}.tracing-panel{width:100%;max-height:615px;padding:18px 24px 14px;border-radius:30px;overflow:auto}.tracing-header h2{font-size:23px}.tracing-header .story-eyebrow{font-size:12px}.tracing-rounds>span{width:30px;height:30px}.tracing-locks{margin:12px 0 5px}.trace-reference{min-height:73px;grid-template-columns:auto 80px 1fr;padding:5px 15px;gap:13px}.trace-reference strong{font-size:72px}.trace-reference>span{font-size:10px}.trace-surface{height:350px;margin-top:8px}.trace-help{font-size:11px}.tracing-dialogue{display:block}.tracing-dialogue .vn-dialogue{width:100%;height:100%;min-height:560px;transform:none}.tracing-dialogue .vn-luma{width:360px;height:400px;flex:0 0 400px;margin:0 auto -8px;transform:translateY(170px)}.tracing-dialogue .vn-bubble{min-height:155px;margin:0;padding:15px 17px}.tracing-dialogue .vn-bubble>p{font-size:13px;line-height:1.85}.tracing-dialogue .vn-voice-actions{position:static}.tracing-dialogue .vn-speaker i{display:none}.story-complete{inset:50% auto auto 50%;width:1280px;height:720px;transform:translate(-50%,-50%) scale(var(--short-screen-scale,1));transform-origin:50% 50%}.complete-panel{width:590px;padding:34px 38px}.complete-luma{--portrait-scale:2;display:block;width:420px;height:560px;flex:0 0 420px;margin-left:48px;transform:translateY(300px)}.complete-panel h2{font-size:34px}.complete-word{font-size:55px}}@media(min-width:1001px){.vn-luma,.vn-dialogue.compact .vn-luma{margin-left:48px}.welcome-luma,.stage-luma{bottom:-40px}}@media(min-width:701px)and (max-width:1000px)and (orientation:portrait){.vn-luma,.vn-dialogue.compact .vn-luma{margin-left:52px}}@media(max-width:700px)and (orientation:portrait){.vn-luma,.vn-dialogue.compact .vn-luma{margin-left:35px}}@media(max-height:700px)and (orientation:landscape){.welcome-luma,.stage-luma{bottom:-40px}.vn-luma,.vn-dialogue.compact .vn-luma{margin-left:48px}.tracing-dialogue .vn-luma{margin:0 auto -8px}}.vn-bubble{z-index:3}@media(min-width:701px)and (max-width:1000px)and (orientation:portrait){.welcome-luma,.stage-luma{--portrait-scale:1.45;bottom:0}.stage-card{width:58vw}.vn-luma,.vn-dialogue.compact .vn-luma{margin-left:67px}}@media(max-width:700px)and (orientation:portrait){.vn-luma,.vn-dialogue.compact .vn-luma{margin-left:50px}}@media(min-width:701px)and (max-width:1000px)and (orientation:portrait){.vn-luma>img{transform:translate(calc(-50% + 18px)) scale(var(--portrait-scale,1))}}@media(max-width:700px)and (orientation:portrait){.vn-luma>img{transform:translate(calc(-50% + 32px)) scale(var(--portrait-scale,1))}}
