@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&family=Noto+Kufi+Arabic:wght@400;500;600;700&display=swap');
:root{--indigo:#5b4b8a;--indigo-dark:#3f336d;--lavender:#ece8fb;--pink:#f6a6b2;--yellow:#f7c95e;--turq:#2b9c9c;--ink:#302b45;--muted:#736e85;--cream:#fffaf2;--white:#fff;--line:#eee9f4;--shadow:0 18px 50px rgba(78,57,123,.11)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'Noto Kufi Arabic',Tahoma,sans-serif;font-size:15px}button,a{font:inherit}button{cursor:pointer;border:0}a{text-decoration:none;color:inherit}.page-shell{max-width:1440px;margin:auto;min-height:100vh;overflow:hidden;position:relative;padding:0 5.5vw}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(91,75,138,.09);position:relative;z-index:4}.brand{display:flex;align-items:center;gap:11px;color:var(--indigo);font-size:16px}.brand-mark{display:grid;place-items:center;background:var(--indigo);color:#fff;width:40px;height:40px;border-radius:13px 13px 13px 4px;box-shadow:5px 6px 0 #d9d1ef;font-size:21px}.brand strong,.brand small{display:block;line-height:1.25}.brand strong{font-weight:700}.brand small{font-size:10px;color:var(--muted);letter-spacing:1px}.topbar-actions{display:flex;align-items:center;gap:15px}.mini-progress{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}.mini-progress strong{color:var(--indigo);font-size:13px}.icon-button{width:38px;height:38px;border-radius:12px;background:#f2effa;color:var(--indigo)}.teacher-button{background:transparent;color:var(--indigo);font-size:11px;border:1px solid #ded7ef;padding:10px 15px;border-radius:12px}.teacher-button span{font-size:16px;margin-right:5px}.hero-section{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;min-height:515px;padding:48px 2.5vw 20px}.hero-copy{max-width:600px}.eyebrow{color:var(--turq);font-size:11px;letter-spacing:.5px;margin:0 0 13px;font-weight:700}.eyebrow span{color:var(--pink);margin-left:5px}.hero-copy h1{font-size:clamp(47px,5.5vw,76px);line-height:1.1;margin:0;color:var(--indigo-dark);font-weight:700;letter-spacing:-2px}.hero-copy h1 em{font-style:normal;color:var(--pink);position:relative}.hero-copy h1 em:after{content:'';position:absolute;right:2px;bottom:-7px;width:96%;height:9px;background:#fbdce1;z-index:-1;border-radius:80%}.hero-description{color:var(--muted);font-size:15px;line-height:2;margin:23px 0;max-width:480px}.hero-actions{display:flex;align-items:center;gap:23px}.primary-button{background:var(--indigo);color:#fff;border-radius:14px;padding:14px 20px;box-shadow:0 9px 0 #d9d1ef;transition:.2s;font-size:13px}.primary-button:hover{transform:translateY(-3px);box-shadow:0 12px 0 #d9d1ef}.primary-button span{font-size:19px;margin-right:10px}.text-link{background:transparent;color:var(--indigo);font-size:12px;font-weight:700}.text-link span{font-size:18px;margin-right:8px}.hero-note{display:flex;align-items:center;gap:9px;color:#aaa2b7;font-size:10px;margin-top:38px}.note-icon{color:var(--yellow);font-size:18px}.hero-art-wrap{position:relative;min-height:390px;display:grid;place-items:center}.art-card{width:min(620px,96%);aspect-ratio:16/9;border-radius:32px;background:linear-gradient(145deg,#e9e4f9,#faf5ed);position:relative;display:grid;place-items:center;box-shadow:20px 24px 0 rgba(246,166,178,.23),var(--shadow);overflow:hidden}.art-card:before{content:'';position:absolute;inset:12px;border:2px dashed rgba(91,75,138,.15);border-radius:24px;z-index:2;pointer-events:none}.art-card img{position:relative;width:100%;height:100%;object-fit:contain;z-index:1}.art-card .hero-main-image{background:#fff4fb}.art-caption{position:absolute;bottom:18px;right:50%;transform:translateX(50%);z-index:3;background:#fff;padding:9px 15px;border-radius:20px;color:var(--indigo);font-size:10px;box-shadow:0 6px 18px rgba(91,75,138,.14);white-space:nowrap}.status-dot{display:inline-block;width:7px;height:7px;background:#73cc7a;border-radius:50%;margin-left:5px}.orbit{position:absolute;border:1px solid rgba(91,75,138,.15);border-radius:50%;width:480px;height:270px;transform:rotate(-26deg)}.orbit-b{width:380px;height:320px;transform:rotate(34deg);border-color:rgba(246,166,178,.38)}.floating-badge{position:absolute;background:#fff;border-radius:15px;box-shadow:0 12px 24px rgba(63,51,109,.12);z-index:3}.badge-star{top:40px;right:9%;color:#e3a929;font-size:24px;padding:8px 11px}.badge-star small{display:block;color:var(--muted);font-size:9px}.badge-pencil{left:3%;top:112px;background:var(--pink);color:#fff;font-size:24px;padding:9px 12px;transform:rotate(-12deg)}.badge-bubble{left:9%;bottom:65px;background:var(--turq);color:#fff;font-size:25px;width:45px;height:45px;display:grid;place-items:center;transform:rotate(12deg)}.sparkle{position:absolute;color:#f2bf4a;font-size:19px}.sparkle-one{top:150px;right:4%}.sparkle-two{top:480px;left:2%;color:var(--pink)}.sparkle-three{top:580px;right:47%;color:var(--turq)}.stats-strip{display:flex;gap:0;background:#fff;border:1px solid var(--line);border-radius:21px;padding:18px 27px;box-shadow:0 10px 30px rgba(91,75,138,.05);margin:15px 2.5vw 80px}.stat-item{flex:1;display:flex;align-items:center;gap:13px;border-left:1px solid var(--line);padding:3px 25px}.stat-item:last-child{border-left:0}.stat-item strong,.stat-item small{display:block}.stat-item strong{color:var(--indigo);font-size:21px}.stat-item small{font-size:10px;color:var(--muted);margin-top:2px}.stat-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;font-size:22px}.stat-icon.purple{background:#eeeafa;color:var(--indigo)}.stat-icon.yellow{background:#fff4cc;color:#dda91f}.badge-medal{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e2f4ed;color:var(--turq);font-size:20px}.lab-section{padding:0 2.5vw 70px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:27px}.section-heading h2{margin:0;font-size:29px;color:var(--indigo-dark)}.section-heading h2 span{color:var(--yellow);font-size:22px}.outline-button{background:#fff;border:1px solid #dcd5ed;border-radius:12px;color:var(--indigo);padding:11px 15px;font-size:11px}.outline-button span{font-size:16px;margin-right:7px}.skill-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:30px}.skill-tab{background:#fff;border:1px solid var(--line);border-radius:25px;color:var(--muted);padding:10px 14px;font-size:11px}.skill-tab span{color:#aaa;margin-right:7px}.skill-tab.active,.skill-tab:hover{background:var(--indigo);border-color:var(--indigo);color:#fff}.skill-tab.active span{color:#dcd5ef}.question-layout{display:grid;grid-template-columns:220px 1fr;gap:24px;align-items:start}.mentor-card{background:var(--indigo);color:#fff;border-radius:23px;padding:20px;position:sticky;top:20px;overflow:hidden}.mentor-card:after{content:'✦';position:absolute;left:-10px;bottom:-30px;font-size:100px;color:rgba(255,255,255,.07)}.mentor-avatar{width:46px;height:46px;background:var(--yellow);color:var(--indigo);border-radius:50% 50% 50% 8px;display:grid;place-items:center;font-size:25px;margin-bottom:22px}.mentor-label{font-size:10px;color:#dcd5ef}.mentor-card h3{font-size:17px;line-height:1.7;margin:10px 0}.mentor-card>p:not(.mentor-label){font-size:11px;line-height:1.9;color:#e8e4f5}.mentor-stars{color:var(--yellow);letter-spacing:5px;margin-top:23px}.question-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.question-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:20px;min-height:205px;position:relative;transition:.2s;display:flex;flex-direction:column;justify-content:space-between}.question-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#ddd5f1}.card-top{display:flex;justify-content:space-between;align-items:center}.skill-label{font-size:10px;font-weight:700;color:var(--turq);background:#eaf7f4;padding:6px 9px;border-radius:9px}.card-number{font-size:11px;color:#bbb5c7}.question-card h3{font-size:15px;color:var(--indigo);margin:15px 0 8px}.question-card p{font-size:12px;line-height:1.9;color:var(--muted);margin:0}.card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:17px}.source{font-size:9px;color:#aaa}.card-button{border:0;background:#f5f1fc;color:var(--indigo);border-radius:10px;padding:8px 11px;font-size:10px}.card-button.done{background:#e5f6ee;color:#2d956f}.quick-section{margin:0 2.5vw 70px;border-radius:25px;background:linear-gradient(100deg,#f9dce1,#eee9fb);padding:30px 45px;display:flex;align-items:center;gap:23px;position:relative;overflow:hidden}.quick-section h2{font-size:23px;color:var(--indigo-dark);margin:0 0 7px}.quick-section p{margin:0;font-size:11px;color:var(--muted)}.quick-section .primary-button{margin-right:auto}.quick-orb{width:60px;height:60px;border-radius:50%;background:#fff;color:var(--yellow);display:grid;place-items:center;font-size:30px;box-shadow:0 6px 0 rgba(91,75,138,.08)}footer{border-top:1px solid var(--line);padding:23px 2.5vw 30px;display:flex;justify-content:space-between;color:#aaa2b7;font-size:10px}.question-dialog{border:0;border-radius:25px;padding:28px;width:min(560px,calc(100% - 25px));background:#fff;box-shadow:0 30px 100px rgba(47,38,83,.3);color:var(--ink)}.question-dialog::backdrop{background:rgba(51,40,83,.35);backdrop-filter:blur(4px)}.dialog-close{position:absolute;left:20px;top:17px;background:#f4f0fa;color:var(--indigo);width:30px;height:30px;border-radius:50%;font-size:20px}.dialog-top{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--turq);font-weight:700}.dialog-spark{color:var(--yellow);font-size:21px}.question-dialog h2{color:var(--indigo);font-size:23px;margin:17px 0 10px}.question-dialog>p{font-size:15px;line-height:2;color:var(--muted);margin:0 0 22px}.voice-panel{display:flex;align-items:center;gap:13px;background:#faf7fe;border:1px solid #eee8f9;padding:15px;border-radius:17px}.voice-orb{display:grid;place-items:center;background:#f6dce0;color:#c55d75;width:44px;height:44px;border-radius:50%;font-size:21px}.voice-panel strong,.voice-panel span{display:block}.voice-panel strong{font-size:12px;color:var(--indigo)}.voice-panel span{font-size:9px;color:#9f98a9;margin-top:4px}.record-button{margin-right:auto;width:44px;height:44px;border-radius:50%;background:var(--pink);color:#fff;font-size:18px;box-shadow:0 5px 0 #ecc3ca}.record-button.recording{background:#dc6577;animation:pulse 1s infinite}.dialog-actions{display:flex;align-items:center;gap:17px;margin-top:22px}.toast{position:fixed;bottom:25px;right:50%;transform:translateX(50%) translateY(20px);background:var(--indigo-dark);color:#fff;padding:12px 19px;border-radius:14px;font-size:11px;opacity:0;pointer-events:none;transition:.3s;z-index:20}.toast.show{opacity:1;transform:translateX(50%) translateY(0)}@keyframes pulse{50%{transform:scale(1.1);box-shadow:0 0 0 10px rgba(220,101,119,.13)}}@media(max-width:850px){.page-shell{padding:0 20px}.topbar{height:75px}.mini-progress{display:none}.hero-section{grid-template-columns:1fr;gap:12px;padding-top:36px}.hero-copy{max-width:100%;text-align:center}.hero-copy h1{font-size:54px}.hero-description{margin:18px auto}.hero-actions{justify-content:center}.hero-note{justify-content:center;margin-top:24px}.hero-art-wrap{min-height:315px}.art-card{width:min(370px,85%)}.orbit{width:380px;height:230px}.stats-strip{margin:15px 0 60px;padding:12px 8px}.stat-item{padding:3px 10px;gap:8px}.stat-item strong{font-size:17px}.stat-item small{font-size:8px}.stat-icon,.badge-medal{width:32px;height:32px;font-size:16px}.lab-section{padding:0 0 55px}.question-layout{grid-template-columns:1fr}.mentor-card{position:relative;display:flex;align-items:center;gap:15px;padding:15px}.mentor-avatar{margin:0;width:38px;height:38px;flex:none}.mentor-card h3{font-size:14px;margin:0}.mentor-card p:not(.mentor-label),.mentor-stars{display:none}.mentor-label{position:absolute;top:10px;left:15px}.question-grid{grid-template-columns:1fr}.quick-section{margin:0 0 55px;padding:25px 22px;flex-wrap:wrap}.quick-section .primary-button{margin-right:0}footer{padding:20px 0;gap:10px;flex-wrap:wrap}.teacher-button{padding:8px 10px;font-size:10px}.brand-mark{width:35px;height:35px}}

/* خريطة التعلم والمكتبة */
.learning-map,.stories-section,.spelling-section,.games-section{padding:0 2.5vw 76px}.level-pills,.story-levels{display:flex;gap:8px}.level-pill,.story-filter{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:20px;padding:9px 13px;font-size:10px}.level-pill.active,.story-filter.active,.story-filter:hover{background:var(--turq);border-color:var(--turq);color:#fff}.path-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.path-card{background:#fff;border:1px solid var(--line);border-radius:19px;display:flex;align-items:center;gap:13px;padding:17px;text-decoration:none;transition:.2s}.path-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.path-icon{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;font-size:23px;background:#f1edfb}.spelling-path .path-icon{background:#fff1d0}.games-path .path-icon{background:#e4f5ef}.path-card strong,.path-card small{display:block}.path-card strong{font-size:13px;color:var(--indigo)}.path-card small{font-size:9px;color:var(--muted);line-height:1.7;margin-top:4px}.path-card b{margin-right:auto;background:#f7f3fc;color:var(--indigo);border-radius:12px;padding:7px;font-size:9px;white-space:nowrap}.section-intro{font-size:11px;color:var(--muted);margin:9px 0 0;line-height:1.8}.story-progress{background:#fff;border:1px solid var(--line);border-radius:15px;padding:10px 17px;text-align:center}.story-progress strong,.story-progress small{display:block}.story-progress strong{font-size:19px;color:var(--indigo)}.story-progress small{font-size:9px;color:var(--muted)}.story-levels{margin:0 0 20px}.letter-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:11px}.letter-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:13px 9px;text-align:center;cursor:pointer;transition:.2s;position:relative}.letter-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d7cbee}.letter-card.read{background:#f2fbf7;border-color:#cfeee0}.letter-card .letter{width:43px;height:43px;margin:0 auto 7px;border-radius:50% 50% 50% 8px;display:grid;place-items:center;background:#eeeafa;color:var(--indigo);font-size:24px;font-weight:700}.letter-card:nth-child(3n) .letter{background:#fff0d4;color:#d09521}.letter-card:nth-child(3n+1) .letter{background:#fbe3e8;color:#bf647a}.letter-card strong{display:block;color:var(--indigo);font-size:11px}.letter-card small{display:block;color:var(--muted);font-size:8px;margin-top:4px}.read-mark{position:absolute;top:7px;left:8px;color:#42a875;font-size:12px}.spelling-section{background:#f7f3fc;margin:0 -5.5vw;padding-right:calc(5.5vw + 2.5vw);padding-left:calc(5.5vw + 2.5vw);padding-top:58px}.lab-stamp{border:1px dashed var(--pink);border-radius:20px;color:#c86b7e;padding:10px 13px;font-size:10px;background:#fff7f8}.spelling-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.spell-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:19px;min-height:270px;position:relative}.activity-number{position:absolute;left:15px;top:13px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f3effb;color:var(--indigo);font-size:10px}.spell-emoji{font-size:30px;display:block;margin-bottom:9px}.spell-card h3{font-size:15px;color:var(--indigo);margin:0 0 8px}.spell-card p{font-size:10px;color:var(--muted);line-height:1.8;min-height:37px}.word-challenge,.stretch-word{background:#fff8e5;border-radius:14px;padding:13px;text-align:center;color:var(--indigo);margin:14px 0;font-size:23px}.word-challenge span{margin-right:15px}.choice-row,.segmented-word,.letter-blocks{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.choice-row button,.segmented-word button,.letter-blocks button{background:#f4f0fb;color:var(--indigo);border:1px solid #e8e1f4;border-radius:10px;padding:8px 10px;font-size:11px}.choice-row button:hover,.segmented-word button:hover,.letter-blocks button:hover{background:var(--indigo);color:#fff}.stretch-word{font-size:21px;color:var(--turq);letter-spacing:5px}.segmented-word{margin:27px 0}.segmented-word button{font-size:21px;padding:10px 15px}.letter-blocks{margin:18px 0 10px}.letter-blocks button.selected{background:var(--pink);color:#fff}.formed-word{text-align:center;color:var(--indigo);font-size:23px;min-height:35px}.activity-feedback{display:block;text-align:center;min-height:17px;color:#43a475;font-size:10px;margin-top:10px}.games-section{padding-top:16px}.game-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.game-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;display:flex;align-items:center;gap:14px}.game-art{width:65px;height:65px;display:grid;place-items:center;border-radius:19px;background:#e9e4f9;font-size:35px}.game-card:nth-child(2) .game-art{background:#fff1d1}.game-card:nth-child(3) .game-art{background:#e0f4ee}.game-card h3{font-size:14px;color:var(--indigo);margin:0 0 5px}.game-card p{font-size:10px;color:var(--muted);margin:0 0 10px}.game-button{background:#f4f0fb;color:var(--indigo);border-radius:10px;padding:8px 12px;font-size:10px}.teacher-tools{margin:0 2.5vw 76px;background:linear-gradient(100deg,#e9f5f1,#f8e6ea);border-radius:24px;padding:26px 32px;display:flex;justify-content:space-between;gap:20px;align-items:center}.teacher-tools h2{margin:0;color:var(--indigo);font-size:23px}.teacher-tools p:not(.eyebrow){color:var(--muted);font-size:11px;line-height:1.8;max-width:500px}.upload-box{background:#fff;border:1px dashed #c9ddd8;border-radius:17px;padding:17px;min-width:285px}.upload-button{display:inline-block;background:var(--indigo);color:#fff;border-radius:11px;padding:10px 14px;font-size:11px;cursor:pointer}.upload-box input,.teacher-dialog input{display:none}.upload-box>small{display:block;font-size:8px;color:#aaa;margin-top:8px}.worksheet-list,.teacher-file-list{margin-top:10px}.empty-list{color:#aaa;font-size:9px}.file-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 0;border-top:1px solid var(--line);font-size:9px;color:var(--muted)}.file-row button{background:#fbe5e8;color:#b45a70;border-radius:7px;padding:4px 7px;font-size:9px}.story-dialog,.game-dialog,.teacher-dialog{border:0;border-radius:25px;padding:28px;width:min(650px,calc(100% - 25px));background:#fff;box-shadow:0 30px 100px rgba(47,38,83,.3);color:var(--ink)}.story-dialog::backdrop,.game-dialog::backdrop,.teacher-dialog::backdrop{background:rgba(51,40,83,.35);backdrop-filter:blur(4px)}.story-dialog-head{display:flex;align-items:center;gap:14px}.story-letter-big{width:64px;height:64px;border-radius:22px 22px 22px 5px;display:grid;place-items:center;background:#fbe3e8;color:#bd6379;font-size:36px;font-weight:700}.story-dialog h2,.game-dialog h2,.teacher-dialog h2{color:var(--indigo);font-size:23px;margin:8px 0}.story-reader{background:#fff9eb;border-radius:17px;padding:18px;margin:20px 0;color:#5e5570;line-height:2.1;font-size:15px;min-height:100px}.story-tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);padding-bottom:10px}.story-tab{background:transparent;color:var(--muted);padding:8px;font-size:10px}.story-tab.active{color:var(--indigo);font-weight:700;border-bottom:2px solid var(--pink)}#storyActivity{padding:17px 0;min-height:95px;color:var(--muted);font-size:12px;line-height:2}.story-choices{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.story-choices button,.game-board button{background:#f4f0fb;color:var(--indigo);border-radius:10px;padding:9px 13px;font-size:11px}.story-choices button:hover,.game-board button:hover{background:var(--indigo);color:#fff}.story-done{font-size:11px}.game-board{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:20px 0}.game-board button{font-size:22px;min-width:52px}.game-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:15px;margin-top:10px}.game-dialog-actions .outline-button{font-size:10px}.game-dialog-actions .text-link{font-size:10px}.teacher-dialog p:not(.eyebrow){color:var(--muted);font-size:11px;line-height:1.9}.teacher-dialog{min-height:300px}.teacher-file-list{max-height:230px;overflow:auto;margin-top:20px}
@media(max-width:850px){.learning-map,.stories-section,.spelling-section,.games-section{padding-left:0;padding-right:0}.spelling-section{margin:0 -20px;padding-left:20px;padding-right:20px}.path-cards,.spelling-grid,.game-cards{grid-template-columns:1fr}.letter-grid{grid-template-columns:repeat(4,1fr)}.section-heading{align-items:start;gap:12px}.section-heading h2{font-size:23px}.story-progress{padding:8px 10px}.teacher-tools{margin:0 0 55px;padding:22px 18px;display:block}.upload-box{margin-top:17px;min-width:0}.story-dialog,.game-dialog,.teacher-dialog{padding:23px}.story-reader{font-size:13px}.level-pills{display:none}}

.story-page-illustration{font-size:58px;text-align:center;background:#f1edfb;border-radius:18px;padding:12px;margin-bottom:8px}.story-page-number{font-size:9px;color:var(--turq);text-align:center;font-weight:700}.story-reader p{margin:8px 0 0}.story-page-controls{display:flex;justify-content:space-between;gap:10px;margin-top:14px}.story-page-controls button{font-size:10px;padding:8px 12px}.story-question-label{display:inline-block;background:#f4f0fb;color:var(--indigo);border-radius:12px;padding:6px 10px;font-size:9px;margin-bottom:10px}.question-pager{display:flex;justify-content:center;gap:5px;flex-wrap:wrap;margin:4px 0 16px}.question-pager button{width:25px;height:25px;border-radius:50%;background:#f3effb;color:var(--indigo);font-size:9px}.question-pager button.active{background:var(--turq);color:#fff}

/* حكايات بصوتي */
.story-nav{display:flex;gap:8px;justify-content:flex-start;padding:14px 0 4px}.story-nav a{background:#f7f3fc;color:var(--indigo);border-radius:11px;padding:9px 15px;font-size:10px}.story-nav a.active,.story-nav a:hover{background:#fff;border:1px solid #e1daf0}.hero-copy h1{max-width:560px}.hero-copy h1 em{color:var(--yellow)}.external-library{margin-top:34px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px}.external-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.external-heading h3{margin:0;color:var(--indigo);font-size:18px}.external-heading p{font-size:10px;color:var(--muted);margin:5px 0 0}.library-mark{font-size:34px}.external-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.external-card{display:flex;gap:11px;align-items:flex-start;background:#faf8fe;border-radius:16px;padding:13px}.external-art{display:grid;place-items:center;width:47px;height:47px;background:#e9e4f9;border-radius:14px;font-size:27px;flex:none}.external-card h4{font-size:12px;color:var(--indigo);margin:6px 0}.external-card p{font-size:9px;line-height:1.8;color:var(--muted);margin:0 0 7px}.external-card .game-button{font-size:9px}.recordings-section{margin:0 2.5vw 35px;border-radius:22px;padding:20px 27px;background:#f2eefb;display:flex;align-items:center;gap:15px}.recordings-section h2{font-size:20px;color:var(--indigo);margin:0}.recordings-section p{font-size:10px;color:var(--muted);margin:4px 0 0}.recording-count{margin-right:auto;background:#fff;color:var(--indigo);border-radius:13px;padding:10px 14px;font-size:10px}.story-reader{font-size:20px;line-height:2.35;min-height:290px;padding:18px 22px}.story-page-illustration{height:145px;display:grid;place-items:center;font-size:68px;overflow:hidden}.story-page-illustration img{width:100%;height:100%;object-fit:cover;border-radius:14px}.story-record-panel{display:flex;align-items:center;gap:12px;background:#faf7fe;border:1px solid #eee8f9;padding:12px 14px;border-radius:15px;margin-bottom:16px}.story-record-panel strong,.story-record-panel span{display:block}.story-record-panel strong{color:var(--indigo);font-size:11px}.story-record-panel span{color:var(--muted);font-size:9px;margin-top:3px}.story-record-panel .record-button{margin-right:auto}.story-record-panel .record-button.recording{background:#dc6577;animation:pulse 1s infinite}.missing-letter-practice{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px}.missing-letter-practice>div{background:#faf7fe;border-radius:13px;padding:11px;text-align:center}.missing-letter-practice span,.missing-letter-practice b{display:block;font-size:23px;color:var(--indigo);margin-bottom:5px}.missing-letter-practice button{background:#fff;border:1px solid var(--line);border-radius:8px;color:var(--indigo);padding:5px 9px;margin:2px;font-weight:700}.missing-letter-practice small{display:block;color:var(--muted);font-size:8px;margin-top:6px}.story-dialog{max-width:700px}
@media(max-width:850px){.story-nav{overflow:auto;white-space:nowrap}.story-nav a{padding:8px 11px}.external-grid{grid-template-columns:1fr}.recordings-section{margin:0 0 25px;padding:17px;flex-wrap:wrap}.recording-count{margin-right:0}.story-reader{font-size:18px;min-height:280px;line-height:2.2}.missing-letter-practice{grid-template-columns:1fr}.external-library{padding:15px}}
.target-letter{color:#d05d78;background:#fde3e8;border-radius:5px;padding:0 2px;font-weight:800;text-decoration:none}.story-reader p{font-size:inherit;line-height:2.05;margin:8px 0}.story-reader{direction:rtl;text-align:right}.story-level-badge{display:inline-block}
.target-word{color:#c65d78;background:#fde8ed;border-radius:7px;padding:0 3px;font-weight:700;white-space:normal}.story-page-illustration:empty{display:none}.teacher-editor{display:grid;gap:11px;background:#faf7fe;border:1px solid var(--line);border-radius:17px;padding:15px;margin:15px 0}.teacher-editor label{display:grid;gap:6px;color:var(--indigo);font-size:10px;font-weight:700}.teacher-editor input,.teacher-editor select,.teacher-editor textarea{border:1px solid #e5def1;border-radius:10px;background:#fff;color:var(--ink);padding:9px;font:inherit;font-size:11px;resize:vertical}.teacher-editor textarea{line-height:1.9}.teacher-editor .primary-button{font-size:10px;padding:10px}.teacher-editor-hint{color:var(--muted);font-size:9px;line-height:1.8}.teacher-dialog hr{border:0;border-top:1px solid var(--line);margin:18px 0}.teacher-dialog h3{color:var(--indigo);font-size:15px;margin:0 0 10px}
.story-reader,#storyReader{font-family:'Noto Naskh Arabic','Noto Kufi Arabic',serif;font-weight:500;line-height:2.15}


/* حَدَائِقُ الْقِرَاءَةِ */
.enrichment-banner{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 22px;border-radius:22px;background:linear-gradient(135deg,#fff5d8,#e8f7ee);border:1px solid #ead8a4;color:#3c5543;box-shadow:0 10px 24px rgba(60,85,67,.08)}
.enrichment-banner strong{font-family:'Noto Naskh Arabic',serif;font-size:1.35rem;color:#b67828}.enrichment-banner span{font-weight:700}.enrichment-banner b{color:#b67828}.external-card.read{border-color:#72bd91;background:#f3fbf5}.external-card small{display:block;color:#7b867e;margin:8px 0}

/* المرحلة الأولى: ملفات الطالبات */
.profile-chip{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px 9px;color:var(--indigo);cursor:pointer;box-shadow:0 5px 14px rgba(47,38,83,.05)}
.profile-chip:hover{border-color:#c8b9e8;transform:translateY(-1px)}
.profile-chip-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#f8e5eb;color:#bd6379;font-size:18px}.profile-chip strong,.profile-chip small{display:block;text-align:right}.profile-chip strong{font-size:10px}.profile-chip small{font-size:8px;color:var(--muted);margin-top:2px}
.student-profile-bar{margin:12px 2.5vw 0;padding:15px 20px;border:1px solid #e7def3;border-radius:20px;background:linear-gradient(100deg,#fbf8ff,#f2faf7);display:flex;justify-content:space-between;align-items:center;gap:18px}.profile-welcome{display:flex;align-items:center;gap:12px}.profile-spark{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:#e9e4f9;color:var(--indigo);font-size:22px}.profile-welcome h2{font-size:17px;color:var(--indigo);margin:0}.profile-welcome p:not(.eyebrow){font-size:10px;color:var(--muted);margin:3px 0 0}.student-profile-bar .outline-button{font-size:10px;white-space:nowrap}
.student-login-dialog{border:0;border-radius:26px;padding:28px;width:min(420px,calc(100% - 28px));background:#fff;color:var(--ink);box-shadow:0 30px 100px rgba(47,38,83,.3)}.student-login-dialog::backdrop{background:rgba(51,40,83,.42);backdrop-filter:blur(5px)}.student-login-dialog .login-mark{width:56px;height:56px;display:grid;place-items:center;border-radius:19px 19px 19px 5px;background:#f8e5eb;color:#bd6379;font-size:30px;margin-bottom:13px}.student-login-dialog h2{color:var(--indigo);font-size:24px;margin:4px 0 8px}.login-intro{color:var(--muted);font-size:11px;line-height:1.9;margin:0 0 18px}.student-login-dialog label{display:grid;gap:6px;color:var(--indigo);font-size:10px;font-weight:700;margin-top:11px}.student-login-dialog select,.student-login-dialog input{border:1px solid #e5def1;border-radius:11px;background:#fff;color:var(--ink);padding:10px;font:inherit;font-size:11px;outline:0}.student-login-dialog select:focus,.student-login-dialog input:focus{border-color:var(--turq);box-shadow:0 0 0 3px rgba(81,176,166,.12)}.login-hint{background:#fff8e5;color:#89713d;border-radius:11px;padding:8px 10px;font-size:9px;line-height:1.8}.login-error{min-height:17px;color:#c66b7d;font-size:10px;margin:6px 0;text-align:center}.login-submit{width:100%;justify-content:center;margin-top:4px}.login-later{display:block;width:100%;text-align:center;margin-top:12px;font-size:10px}
@media(max-width:850px){.topbar-actions{gap:6px}.profile-chip{padding:5px}.profile-chip small{display:none}.profile-chip-icon{width:26px;height:26px}.student-profile-bar{margin:10px 0 0;padding:13px 14px;align-items:flex-start}.profile-welcome h2{font-size:15px}.profile-welcome p:not(.eyebrow){font-size:9px}.student-profile-bar .outline-button{padding:8px;font-size:9px}}

.credentials-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;font-size:10px}.credentials-table th,.credentials-table td{padding:9px 7px;border-bottom:1px solid var(--line);text-align:right}.credentials-table th{background:#f4f0fb;color:var(--indigo)}.credentials-table td{color:var(--muted)}.credentials-table .outline-button{font-size:9px;padding:5px 8px}.teacher-student-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.teacher-dialog input:not([type=file]){display:block;width:100%;border:1px solid #e5def1;border-radius:10px;background:#fff;color:var(--ink);padding:9px;font:inherit;font-size:11px}.teacher-dialog input:not([type=file]):focus{border-color:var(--turq);outline:0;box-shadow:0 0 0 3px rgba(81,176,166,.12)}
@media print{body>*{display:none!important}#teacherDialog[open]{display:block!important;position:static!important;max-width:none!important;width:100%!important;box-shadow:none!important}#teacherDialog .dialog-close,#teacherDialog #teacherLoginPanel,#teacherDialog #teacherLogoutButton,#teacherDialog .teacher-editor,#teacherDialog hr,#teacherDialog #teacherFileList{display:none!important}.credentials-table{font-size:12px}}

.teacher-dashboard{margin:1.5rem 0;padding:1rem;border:1px solid rgba(139,92,156,.18);border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(253,242,249,.78))}.dashboard-heading,.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.dashboard-live{font-size:.75rem;color:#6e4c7e;background:#f6e6f4;padding:.45rem .7rem;border-radius:999px}.teacher-stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem;margin:1rem 0}.teacher-stats-grid article,.student-detail-stats article{padding:.8rem;border-radius:16px;background:#fff;border:1px solid rgba(139,92,156,.12)}.teacher-stats-grid span,.student-detail-stats span{display:block;font-size:.72rem;color:#806b88}.teacher-stats-grid strong{display:block;font-size:1.45rem;color:#6b477d;margin-top:.25rem}.teacher-dashboard-tools{display:grid;grid-template-columns:2fr 1fr;gap:.8rem;align-items:end}.teacher-dashboard-tools label,.teacher-student-detail>label{display:flex;flex-direction:column;gap:.35rem}.teacher-dashboard-tools input,.teacher-dashboard-tools select,.teacher-student-detail input,.teacher-student-detail textarea{border:1px solid #ead7e8;border-radius:12px;padding:.7rem;font:inherit;background:#fff}.teacher-student-detail{margin-top:1rem;padding:1rem;border-radius:18px;background:#fff;border:1px solid #ead7e8}.teacher-student-detail h4{margin:.1rem 0;font-size:1.2rem}.student-detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem;margin:1rem 0}.student-detail-stats strong{display:block;color:#6b477d;margin-top:.25rem}.checkbox-line{display:flex!important;flex-direction:row!important;align-items:center;margin:.8rem 0}.teacher-student-detail h5{margin:1rem 0 .5rem}.teacher-dashboard .credentials-table button{white-space:nowrap}@media(max-width:700px){.teacher-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-dashboard-tools,.student-detail-stats{grid-template-columns:1fr 1fr}.dashboard-heading,.detail-heading{align-items:flex-start;flex-direction:column}}
.teacher-recordings-lab{margin:1.5rem 0;padding:1.25rem;border:1px solid rgba(130,92,150,.16);border-radius:24px;background:rgba(255,255,255,.7)}
.recording-row{display:grid;gap:.65rem;padding:1rem 0;border-bottom:1px solid rgba(130,92,150,.12)}
.recording-row audio{width:100%;max-width:520px}.recording-meta{display:flex;gap:.7rem;flex-wrap:wrap;align-items:center}.recording-row textarea{width:100%;max-width:520px;min-height:3.5rem}.recording-row select{padding:.45rem;border-radius:10px}
.learning-map-section{margin:1.5rem 0;padding:1.4rem;border-radius:28px;background:linear-gradient(135deg,#fff8fb,#f1f7f6);border:1px solid rgba(139,92,156,.14)}
.learning-total{padding:.7rem 1rem;border-radius:999px;background:#fff;color:#765080;font-weight:800}.learning-map-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.8rem}.skill-progress-card{padding:1rem;border-radius:18px;background:#fff;border:1px solid rgba(139,92,156,.12)}.skill-progress-card h3{font-size:1rem;margin:.2rem 0}.skill-progress-card small{color:#7d687f}.skill-meter{height:9px;border-radius:99px;background:#f0e4ef;overflow:hidden;margin:.7rem 0}.skill-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ef9ebd,#7ccbc5)}.student-achievements,.student-recommendations,.student-recent{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}.achievement-pill,.recommendation-pill{padding:.6rem .8rem;border-radius:14px;background:#fff}.recommendation-pill{border:1px dashed #ce9ec5}
@media(max-width:700px){.learning-map-section{padding:1rem}.learning-map-grid{grid-template-columns:1fr 1fr}}
.teacher-analytics-panel{margin-top:1rem;padding:1rem;border:1px solid #ead7e8;border-radius:20px;background:#fff}.analytics-skill-row{display:grid;grid-template-columns:1.3fr 1fr 80px;gap:.8rem;align-items:center;padding:.7rem 0;border-bottom:1px solid #f1e8f1}.class-manager{margin-top:1rem}.class-edit-box{margin-top:1rem;padding:1rem;border-radius:18px;background:#fffdf0;border:1px dashed #e7c66e}.class-edit-box h4{margin:0 0 .7rem;color:#6b477d}.class-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;margin:.3rem 0}.class-actions{display:flex;gap:.35rem;flex-wrap:wrap}.danger-button{border:1px solid #d98d9d;background:#fff1f4;color:#a6455e;border-radius:10px;padding:.5rem .75rem;font:inherit;cursor:pointer}.danger-button:hover{background:#a6455e;color:#fff}.student-create-box{margin-top:1rem;padding:1rem;border-radius:18px;background:linear-gradient(135deg,#fff8fb,#f0faf8);border:1px dashed #d9b9d7}.student-create-box h4{margin:0 0 .7rem;color:#6b477d}.student-create-box .teacher-dashboard-tools{grid-template-columns:repeat(5,minmax(0,1fr))}.student-create-box small{display:block;margin-top:.6rem}.class-pill{display:inline-flex;gap:.45rem;padding:.55rem .75rem;margin:.3rem;border-radius:999px;background:#f8eef8}@media(max-width:700px){.analytics-skill-row{grid-template-columns:1fr}.student-create-box .teacher-dashboard-tools{grid-template-columns:1fr 1fr}}
.compact-upload{display:inline-flex!important;cursor:pointer}.consent-box{margin:1rem 0;padding:1rem;border-radius:16px;background:#fff8fb;border:1px solid #ead7e8}.consent-box label{display:flex;flex-direction:column;gap:.3rem;margin:.5rem 0}.consent-box textarea,.consent-box input{border:1px solid #ead7e8;border-radius:10px;padding:.6rem;font:inherit}.consent-box .checkbox-line{flex-direction:row!important}

.author-credit{margin:.8rem 0 0;color:#765080;font-weight:800;font-size:.9rem}.teacher-panel-intro{margin:.5rem 0 1rem;color:#806b88;line-height:1.8}.teacher-control-nav{display:flex;gap:.5rem;flex-wrap:wrap;margin:0 0 1.2rem;padding:.7rem;border-radius:16px;background:#faf4fb;border:1px solid #ead7e8}.teacher-control-nav a{color:#69467b;text-decoration:none;font-weight:800;padding:.55rem .75rem;border-radius:999px;background:#fff}.teacher-control-nav a:hover{background:#f5e6f3}.teacher-save-status{display:block;color:#43a475;font-weight:700;margin-top:.55rem}

/* المكتبة الرقمية التفاعلية */
.story-book-meta{display:block;color:var(--muted);font-size:9px;margin-top:4px}.story-book-toolbar{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0 10px}.book-tool{background:#f7f3fc;border:1px solid #e4dcef;color:var(--indigo);border-radius:11px;padding:8px 10px;font-size:9px;transition:.2s}.book-tool:hover,.book-tool:focus{background:var(--indigo);color:#fff;transform:translateY(-2px)}.story-reader{position:relative;overflow:hidden;transform-origin:right center;backface-visibility:hidden}.page-flip-next{animation:bookFlipNext .42s ease both}.page-flip-prev{animation:bookFlipPrev .42s ease both}@keyframes bookFlipNext{0%{opacity:.4;transform:rotateY(-12deg) translateX(9px)}100%{opacity:1;transform:rotateY(0) translateX(0)}}@keyframes bookFlipPrev{0%{opacity:.4;transform:rotateY(12deg) translateX(-9px)}100%{opacity:1;transform:rotateY(0) translateX(0)}}.book-cover-art{min-height:132px;border-radius:18px;background:linear-gradient(135deg,#5b4b8a,#8f70ad 54%,#f6a6b2);color:#fff;display:flex;align-items:center;justify-content:center;gap:18px;box-shadow:inset 0 0 0 5px rgba(255,255,255,.18);position:relative;overflow:hidden}.book-cover-art:after{content:'✦  ✧  ✦';position:absolute;inset:auto 15px 10px;color:#ffe8a9;letter-spacing:13px;font-size:15px}.book-cover-art span{font-size:64px;filter:drop-shadow(0 5px 4px rgba(47,38,83,.2))}.book-cover-art b{font-size:68px;font-family:'Noto Naskh Arabic',serif;color:#ffe8a9}.story-cover-copy{text-align:center;padding:10px 8px}.story-cover-copy span{font-size:9px;color:var(--turq);font-weight:700}.story-cover-copy h3{font-family:'Noto Naskh Arabic',serif;color:var(--indigo);font-size:27px;margin:5px 0}.story-cover-copy p{font-size:12px!important;line-height:1.9!important;color:var(--muted);margin:0!important}.story-art-button{border:0;background:transparent;font-size:68px;line-height:1;cursor:pointer;filter:drop-shadow(0 8px 6px rgba(91,75,138,.12));transition:.2s}.story-art-button:hover,.story-art-button:focus{transform:scale(1.1)}#storyReader p{cursor:pointer;border-radius:8px;padding:3px 5px;transition:.18s}#storyReader p:hover,#storyReader p:focus{background:#fff0d4}.story-page-dots{display:flex;justify-content:center;gap:5px;margin-top:12px}.story-page-dots button{width:24px;height:24px;border-radius:50%;background:#eeeafa;color:var(--indigo);font-size:9px}.story-page-dots button.active{background:var(--turq);color:#fff;transform:scale(1.12)}
@media(max-width:700px){.story-book-toolbar{display:grid;grid-template-columns:1fr 1fr}.book-tool{min-height:38px;font-size:8px;padding:7px 5px}.story-dialog{max-height:calc(100dvh - 20px);overflow:auto}.story-dialog-head{padding-left:25px}.story-reader{font-size:18px;min-height:300px}.book-cover-art{min-height:125px}.story-cover-copy h3{font-size:23px}.story-page-controls{position:sticky;bottom:0;background:#fff9eb;padding-top:8px}.story-page-dots{padding-bottom:2px}}

/* دليل الواجهة السريع */
.quick-guide-section{margin:18px 2.5vw 34px;padding:28px;border:1px solid #eadcf1;border-radius:30px;background:linear-gradient(135deg,#fff8fb 0%,#f7fbff 52%,#fff9ed 100%);box-shadow:0 16px 34px rgba(91,75,138,.08)}
.quick-guide-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.quick-guide-heading h2{margin:0;color:var(--indigo-dark);font-size:clamp(24px,3vw,38px)}.quick-guide-heading p:not(.eyebrow){margin:8px 0 0;color:var(--muted);font-size:13px}.quick-guide-star{display:grid;place-items:center;width:52px;height:52px;border-radius:18px;background:#fff2b9;color:#d39c20;font-size:28px;box-shadow:0 8px 0 #f7df8a;transform:rotate(8deg)}
.quick-guide-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:22px}.guide-card{display:flex;align-items:center;gap:10px;min-height:86px;padding:13px;border-radius:20px;text-decoration:none;border:1px solid rgba(91,75,138,.1);transition:transform .2s,box-shadow .2s}.guide-card:hover,.guide-card:focus-visible{transform:translateY(-4px);box-shadow:0 12px 22px rgba(91,75,138,.13);outline:none}.guide-card span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:5px}.guide-card strong{font-size:12px;color:var(--indigo-dark)}.guide-card small{font-size:10px;line-height:1.55;color:var(--muted)}.guide-card b{font-size:18px;color:var(--indigo)}.guide-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:14px;background:#fff;font-size:22px;box-shadow:0 5px 12px rgba(91,75,138,.1)}.guide-student{background:#fceaf2}.guide-teacher{background:#e9f8f4}.guide-stories{background:#eeeafd}.guide-spelling{background:#fff3c9}.guide-library{background:#f5e8fc}.guide-recordings{background:#e4f4fb}.guide-progress{background:#fff0d9}.guide-help{background:#eaf7ef}
.guide-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.guide-steps article{display:flex;gap:10px;padding:15px;border-radius:18px;background:rgba(255,255,255,.8);border:1px dashed #dac9e2}.guide-steps article>span{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--indigo);color:#fff;font-weight:700}.guide-steps strong{display:block;color:var(--indigo-dark);font-size:12px}.guide-steps p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.7}.family-note{margin:18px 0 0;padding:13px 16px;border-radius:16px;background:#fff;color:#6b5878;font-size:11px;line-height:1.9;border-right:5px solid #f2a6b2}
@media(max-width:900px){.quick-guide-links{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.quick-guide-section{margin-inline:14px;padding:18px}.quick-guide-heading{gap:10px}.quick-guide-star{width:42px;height:42px;font-size:22px}.quick-guide-links,.guide-steps{grid-template-columns:1fr}.guide-card{min-height:76px}.guide-card strong{font-size:11px}}

/* منطقة ألعاب الحروف والتحديات */
.interactive-zone{margin:0 2.5vw 34px;padding:29px;border-radius:30px;background:linear-gradient(135deg,#f1edff,#fff7e5 55%,#eaf9f5);border:1px solid #e3d9ef;box-shadow:0 16px 34px rgba(91,75,138,.08)}
.interactive-zone-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.interactive-zone-head h2{margin:0;color:var(--indigo-dark);font-size:clamp(23px,3vw,37px)}.interactive-zone-head p:not(.eyebrow){margin:8px 0 0;color:var(--muted);font-size:13px}.interactive-zone-badge{padding:9px 13px;border-radius:999px;background:#fff;color:#7a5b91;font-size:10px;white-space:nowrap;box-shadow:0 5px 0 #e8d9ee}
.interactive-launchers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:22px}.interactive-launch{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:174px;padding:16px;border-radius:21px;text-decoration:none;border:1px solid rgba(91,75,138,.12);transition:transform .2s,box-shadow .2s}.interactive-launch:hover,.interactive-launch:focus-visible{transform:translateY(-5px);box-shadow:0 14px 24px rgba(91,75,138,.14);outline:none}.interactive-launch>span{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:#fff;font-size:25px;box-shadow:0 5px 11px rgba(91,75,138,.1)}.interactive-launch strong{color:var(--indigo-dark);font-size:13px}.interactive-launch small{color:var(--muted);font-size:10px;line-height:1.7;min-height:36px}.interactive-launch b{margin-top:auto;color:var(--indigo);font-size:10px}.interactive-letter{background:#fbe9f0}.interactive-madd{background:#fff2d4}.interactive-words{background:#e3f5ed}.interactive-thinking{background:#e7e3fa}.interactive-spelling{background:#eaf4fb}.interactive-zone-tip{display:flex;align-items:center;gap:12px;margin-top:18px;padding:13px 16px;border-radius:17px;background:rgba(255,255,255,.75);border-right:5px solid #f1c84b}.interactive-zone-tip>span{font-size:25px}.interactive-zone-tip p{margin:0;color:#6d5a79;font-size:11px;line-height:1.9}.interactive-zone-tip strong{color:var(--indigo)}
@media(max-width:1000px){.interactive-launchers{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.interactive-zone{margin-inline:14px;padding:19px}.interactive-zone-head{flex-direction:column}.interactive-launchers{grid-template-columns:1fr 1fr;gap:9px}.interactive-launch{min-height:155px;padding:12px}.interactive-launch strong{font-size:11px}.interactive-launch small{font-size:9px}.interactive-zone-badge{font-size:9px}}
@media(max-width:420px){.interactive-launchers{grid-template-columns:1fr}}
.game-library-heading{margin:30px 0 14px}.game-library-heading h3{margin:4px 0;color:var(--indigo);font-size:19px}.game-library-grid{grid-template-columns:repeat(3,1fr)}.game-library-card{align-items:flex-start;min-height:145px}.game-library-card .game-art{flex:none}.game-library-card p{line-height:1.7;min-height:42px}.game-library-card:nth-child(3n+1) .game-art{background:#fbe3e8}.game-library-card:nth-child(3n+2) .game-art{background:#fff1d1}.game-library-card:nth-child(3n) .game-art{background:#e0f4ee}@media(max-width:850px){.game-library-grid{grid-template-columns:1fr}}
.spelling-levels{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 20px}.spelling-level{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:18px;padding:8px 11px;font-size:10px}.spelling-level.active,.spelling-level:hover{background:var(--turq);border-color:var(--turq);color:#fff}.speak-button,.reset-word-button,.retry-activity{border:1px solid #d8cceb;background:#f7f2fd;color:var(--indigo);border-radius:10px;padding:8px 11px;font-size:10px;margin:5px 0;cursor:pointer}.speak-button:hover,.reset-word-button:hover,.retry-activity:hover{background:var(--indigo);color:#fff}.retry-activity{display:block;margin:8px auto 0}.spell-card[hidden]{display:none}
