
:root{--navy:var(--palette-teal);--teal:var(--palette-teal);--teal2:var(--palette-teal);--teal-light:var(--palette-mint);--cream:var(--palette-cream);--mint:var(--palette-mint);--ink:var(--palette-teal);--muted:var(--palette-muted);--line:var(--palette-mint);--white:var(--palette-white);--gold:var(--palette-border);--shadow:0 18px 45px rgba(13,89,99,.07);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:"Noto Sans Arabic","Tajawal",Tahoma,Arial,sans-serif;font-size:15px;line-height:1.8}button,input,a{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid var(--palette-border);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.42}a{color:var(--teal)}.wrap{width:min(1180px,calc(100% - 38px));margin:auto}.topbar{background:var(--white);border-bottom:1px solid var(--line)}.topbar .wrap{display:flex;justify-content:space-between;align-items:center;min-height:79px;gap:12px}.brand{display:flex;align-items:center;gap:11px;font-weight:800;color:var(--navy);font-size:16px}.mark{background:var(--teal);color:white;border-radius:15px;width:41px;height:41px;display:grid;place-items:center}.header-side{display:flex;gap:9px;align-items:center}.pill{font-size:12px;font-weight:700;border-radius:50px;padding:3px 11px;background:var(--palette-mint);color:var(--palette-teal);white-space:nowrap}.pill.warn{background:var(--palette-gold-soft);color:var(--palette-gold-ink)}.hero{padding:41px 0 26px;display:grid;grid-template-columns:1.25fr .75fr;gap:35px;align-items:center}.eyebrow{color:var(--teal);font-weight:800;font-size:12px;letter-spacing:.05em}.hero h1{font-size:clamp(29px,3.5vw,47px);line-height:1.5;margin:5px 0 9px;font-weight:850;color:var(--navy)}.hero p{color:var(--muted);max-width:620px;font-size:15px;margin:0 0 22px}.hero-illustration{height:226px;border-radius:27px;background:radial-gradient(circle at 20% 80%,var(--palette-mint),transparent 50%),radial-gradient(circle at 80% 20%,var(--palette-mint),transparent 45%),var(--palette-mint);position:relative;overflow:hidden;border:1px solid var(--palette-mint)}.sample-center{position:absolute;top:24px;right:50%;transform:translateX(50%);background:var(--palette-teal);color:var(--palette-white);border-radius:16px;min-width:160px;padding:12px 18px;text-align:center;font-weight:750;box-shadow:0 6px 12px #0D596322}.sample-center:after{content:"";position:absolute;right:50%;top:100%;height:34px;width:2px;background:var(--palette-border)}.sample-lines{position:absolute;top:113px;left:14%;right:14%;height:20px;border:2px solid var(--palette-border);border-bottom:none;border-radius:12px 12px 0 0}.sample-leaf{position:absolute;bottom:23px;width:38%;height:72px;border-radius:17px;background:white;border:1px solid var(--palette-line);display:flex;align-items:center;justify-content:center;gap:9px;color:var(--palette-teal);font-weight:750;box-shadow:0 6px 18px #0D596320}.sample-leaf.one{right:7%}.sample-leaf.two{left:7%}.sample-bullet{width:27px;height:27px;border-radius:50%;background:var(--palette-mint);display:grid;place-items:center}.metric-row{display:flex;gap:10px;flex-wrap:wrap}.metric{padding:9px 14px;min-width:115px;background:white;border:1px solid var(--line);border-radius:14px;display:flex;gap:8px;align-items:center}.metric strong{font-weight:900;font-size:21px;color:var(--teal);line-height:1.2}.metric span{font-size:12px;color:var(--muted)}.notice{background:var(--palette-gold-soft);border:1px solid var(--palette-gold-soft);padding:12px 16px;border-radius:14px;font-size:12px;color:var(--palette-gold-ink);margin:0 0 27px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.section-heading h2{font-size:22px;line-height:1.4;margin:0;color:var(--navy)}.section-heading p{font-size:13px;color:var(--muted);margin:1px 0 0}.toolbar{background:white;border:1px solid var(--line);border-radius:19px;padding:16px;display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:17px}.search-wrap{display:flex;align-items:center;gap:8px;background:var(--palette-cream);border:1px solid var(--palette-mint);border-radius:13px;padding:9px 12px;flex:1;min-width:160px;max-width:390px}.search-wrap input{border:0;outline:0;background:transparent;width:100%;color:var(--navy);font-size:13px}.search-wrap input::placeholder{color:var(--palette-muted)}.filters{display:flex;flex-wrap:wrap;gap:7px}.filter{border:1px solid var(--palette-mint);border-radius:40px;background:white;padding:6px 13px;font-size:12px;color:var(--palette-muted);font-weight:700}.filter.active{color:white;background:var(--teal);border-color:var(--teal)}.result-info{font-size:12px;color:var(--muted);margin:0 0 12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:15px;margin-bottom:18px}.item{border:1px solid var(--palette-mint);background:white;border-radius:20px;overflow:hidden;box-shadow:var(--shadow);transition:border-color .2s ease,box-shadow .2s ease}.item.open{border-color:var(--palette-line);box-shadow:0 18px 45px rgba(13,89,99,.12)}.item.same-surah{border-color:var(--accent-border,var(--palette-mint))}.item.same-surah.open{border-color:var(--accent,var(--palette-teal));box-shadow:0 18px 45px rgba(13,89,99,.12)}.item.same-surah .parent-btn{background:linear-gradient(180deg,var(--accent-soft,var(--palette-cream)),var(--palette-white) 72%)}.item.same-surah .type-chip{background:var(--accent-soft,var(--palette-mint));color:var(--accent-dark,var(--palette-teal));border:1px solid var(--accent-border,var(--palette-mint))}.item.same-surah .item-icon{background:var(--accent-soft,var(--palette-cream));color:var(--accent-dark,var(--palette-teal));border-color:var(--accent-border,var(--palette-line))}.item.same-surah .tree{background:linear-gradient(180deg,var(--accent-soft,var(--palette-cream)),var(--palette-white) 24%)}.item.same-surah .tree-note{background:var(--accent-soft,var(--palette-mint));border:1px solid var(--accent-border,var(--palette-mint))}.item.same-surah .exact-label{background:var(--accent-soft,var(--palette-mint));color:var(--accent-dark,var(--palette-teal));border:1px solid var(--accent-border,var(--palette-mint))}.item.same-surah .stem{background:var(--accent,var(--palette-border))}.item.same-surah .branch{border-color:var(--accent-border,var(--palette-mint));background:linear-gradient(180deg,var(--accent-soft,var(--palette-white)),var(--palette-white) 86%)}.item.same-surah .branch:before{background:var(--accent,var(--palette-border))}.item.same-surah .read-action{color:var(--accent-dark,var(--palette-teal));border-color:var(--accent-border,var(--palette-mint))}.item.same-surah .read-action.done{background:var(--accent-soft,var(--palette-mint));border-color:var(--accent-border,var(--palette-line));color:var(--accent-dark,var(--palette-teal))}.item.same-surah .quiz-start,.item.same-surah .check-btn{background:var(--accent-dark,var(--palette-teal))}.item.same-surah .next-btn{background:var(--accent-soft,var(--palette-mint));color:var(--accent-dark,var(--palette-teal))}.item.same-surah .quiz{background:var(--accent-soft,var(--palette-mint));border-color:var(--accent-border,var(--palette-line))}.item.same-surah .choice.selected{border-color:var(--accent-dark,var(--palette-teal));background:var(--accent-soft,var(--palette-mint));color:var(--accent-dark,var(--palette-teal))}.parent-btn{padding:19px 18px;border:none;background:none;text-align:right;display:block;width:100%;color:inherit}.parent-top{display:flex;justify-content:space-between;align-items:center;gap:7px}.mini{font-size:11px;color:var(--palette-muted);font-weight:750}.type-chip{border-radius:20px;padding:2px 9px;background:var(--mint);color:var(--palette-teal);font-size:11px;font-weight:700}.type-chip.near{background:var(--palette-gold-soft);color:var(--palette-gold-ink)}.item-title{display:flex;align-items:center;justify-content:space-between;margin:16px 0 6px}.item-title strong{font-size:24px;color:var(--navy);line-height:1.7}.item-icon{height:41px;width:41px;border:1px solid var(--palette-line);border-radius:12px;color:var(--teal);display:grid;place-items:center;font-size:21px}.item-desc{display:flex;gap:15px;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.viewed-status{color:var(--palette-teal);font-weight:800}.tree{padding:16px 16px 20px;background:linear-gradient(var(--palette-cream),var(--palette-white));border-top:1px solid var(--line)}.tree-note{font-size:11px;line-height:1.75;color:var(--palette-muted);background:var(--palette-mint);padding:8px 11px;border-radius:10px;margin-bottom:14px}.exact-label{background:var(--palette-mint);color:var(--palette-teal);padding:7px 10px;border-radius:9px;font-size:12px;margin-bottom:12px}.stem{margin:0 auto;width:2px;height:17px;background:var(--palette-border)}.branches{position:relative;display:flex;flex-direction:column;gap:12px}.branch{position:relative;border:1px solid var(--palette-mint);background:var(--palette-white);border-radius:13px;padding:14px 14px 11px}.branch:before{position:absolute;content:"";height:100%;width:3px;background:var(--palette-border);right:0;top:0;border-radius:0 13px 13px 0}.branch-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--palette-muted);font-weight:750}.branch a{font-size:11px;color:var(--palette-teal);text-decoration:none}.verse{font-family:"KFGQPC Uthmanic Script HAFS","Amiri Quran","Noto Naskh Arabic","Traditional Arabic",serif;font-size:clamp(22px,2.4vw,29px);line-height:2.5;text-align:center;direction:rtl;unicode-bidi:plaintext;white-space:normal;overflow-wrap:anywhere;color:var(--palette-teal);padding:8px 4px 7px}.read-action{border:1px solid var(--palette-mint);background:var(--palette-cream);color:var(--palette-teal);border-radius:9px;padding:3px 11px;font-size:12px;font-weight:750}.read-action.done{background:var(--palette-mint);border-color:var(--palette-line)}.branch-footer{display:flex;align-items:center;justify-content:space-between;gap:6px}.quiz-start{width:100%;background:var(--teal);border:none;border-radius:11px;padding:10px 15px;color:var(--palette-white);font-size:13px;font-weight:850;margin-top:13px}.quiz{background:var(--palette-mint);border:1px solid var(--palette-line);border-radius:14px;padding:15px;margin-top:12px}.quiz-top{display:flex;justify-content:space-between;gap:9px;font-size:11px;color:var(--palette-muted);font-weight:800}.question{font-size:14px;color:var(--navy);font-weight:800;margin:10px 0 6px}.quiz-verse{background:white;border:1px solid var(--palette-mint);border-radius:10px;padding:10px;margin:8px 0;font-size:25px;line-height:2.2}.choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.choice{border:1px solid var(--palette-line);background:white;padding:8px 10px;border-radius:9px;color:var(--ink);font-size:12px}.choice.selected{border-color:var(--palette-teal);background:var(--palette-mint);color:var(--palette-teal);font-weight:800}.check-btn,.next-btn{background:var(--teal);color:white;padding:8px 15px;border:none;border-radius:9px;font-size:12px;font-weight:750}.next-btn{background:var(--palette-mint);color:var(--palette-teal)}.quiz-actions{display:flex;gap:7px;flex-wrap:wrap}.feedback{margin-top:9px;font-size:12px;border:1px solid var(--palette-line);border-radius:9px;padding:9px 11px;background:white}.feedback.good{color:var(--palette-success-ink);border-color:var(--palette-line)}.feedback.try{color:var(--palette-gold-ink);border-color:var(--palette-gold-soft);background:var(--palette-gold-soft)}.empty{grid-column:1/-1;text-align:center;padding:40px;background:white;border-radius:17px;color:var(--muted);border:1px solid var(--line)}.progress-wrap{background:var(--palette-mint);border:1px solid var(--line);border-radius:15px;padding:13px 17px;display:flex;align-items:center;gap:12px;margin:12px 0 30px}.bar{flex:1;max-width:400px;height:8px;border-radius:20px;overflow:hidden;background:var(--palette-mint);direction:ltr}.fill{height:100%;background:linear-gradient(90deg,var(--palette-teal),var(--palette-teal));width:0;transition:width .2s}.progress-wrap span{font-size:12px;color:var(--palette-muted)}.reset{background:none;border:0;color:var(--palette-muted);text-decoration:underline;font-size:11px;margin-right:auto}.footer{border-top:1px solid var(--palette-mint);padding:21px 0 29px;color:var(--palette-muted);font-size:12px}.footer .wrap{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.footer a{font-size:12px}.hidden{display:none!important}
@media(max-width:880px){.hero{grid-template-columns:1fr;gap:17px}.hero-illustration{height:155px}.sample-center{top:13px;padding:7px 12px}.sample-center:after{height:20px}.sample-lines{top:82px}.sample-leaf{bottom:15px;height:50px}.toolbar{flex-wrap:wrap}.search-wrap{max-width:none;flex-basis:100%}}
@media(max-width:650px){body{font-size:13px}.wrap{width:calc(100% - 26px)}.topbar .wrap{min-height:62px}.brand{font-size:13px}.pill{font-size:10px}.hero{padding-top:23px}.hero h1{font-size:29px}.hero p{font-size:13px}.hero-illustration{display:none}.metric{flex:1;min-width:100px}.grid{grid-template-columns:1fr}.section-heading h2{font-size:20px}.toolbar{padding:12px}.item-title strong{font-size:22px}.verse{font-size:27px}.footer .wrap{display:block}.filters{width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

body{background:linear-gradient(180deg,var(--palette-cream),var(--palette-cream) 290px)}
.topbar{position:sticky;top:0;z-index:20;backdrop-filter:blur(10px);background:rgba(255,255,255,.94)}
.hero{padding-bottom:34px}.hero h1{letter-spacing:-.035em}
.metric{box-shadow:0 6px 20px rgba(13,89,99,.035)}
.filter{display:flex;align-items:center;gap:6px;white-space:nowrap}
.filter .count{opacity:.8;font-size:10px}
.item{scroll-margin-top:100px}
.item-title strong{font-size:23px}
.item[data-category="word_exact"] .item-icon{background:var(--palette-mint)}
.item[data-category="word_near"] .item-icon{background:var(--palette-gold-soft);border-color:var(--palette-gold-soft)}
.item[data-category="phrase_exact"] .item-icon{background:var(--palette-mint);border-color:var(--palette-mint)}
.item[data-category="phrase_near"] .item-icon{background:var(--palette-cream);border-color:var(--palette-mint)}
.tree-top{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;margin:0 0 9px}
.audit-tag{display:inline-flex;background:var(--palette-gold-soft);border:1px solid var(--palette-gold-soft);color:var(--palette-gold-ink);font-size:10px;font-weight:750;border-radius:30px;padding:3px 9px}
.text-tools{display:flex;justify-content:space-between;gap:7px;align-items:center;margin:12px 0}
.text-tools .annotation{font-size:11px;color:var(--palette-muted)}
.highlight-button{background:white;border:1px solid var(--palette-border);border-radius:8px;color:var(--palette-teal);font-weight:750;font-size:11px;padding:5px 10px}
.verse mark{background:var(--palette-gold-soft);color:inherit;border-radius:5px;padding:0 2px}
.section-note{margin:0 0 17px;padding:12px 16px;border-radius:14px;background:var(--palette-mint);border:1px solid var(--palette-mint);font-size:12px;color:var(--palette-muted)}
.section-note b{color:var(--palette-teal)}
.result-info{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.quiz-hint{font-size:11px;color:var(--palette-muted);margin:4px 0 10px}
.quiz .choice{position:relative;text-align:center}
.quiz .choice.selected:before{content:'✓ ';font-weight:bold}
.layout-note{color:var(--palette-muted);font-size:11px}
.scroll-top{display:inline-flex;align-items:center;gap:8px;color:var(--palette-teal);background:white;border:1px solid var(--palette-mint);padding:5px 12px;border-radius:999px;font-size:11px;font-weight:750;text-decoration:none}
@media(max-width:650px){.topbar{position:static}.hero{padding-bottom:23px}.item{scroll-margin-top:15px}.quiz .choices{grid-template-columns:1fr}.filter{font-size:11px;padding:6px 10px}.progress-wrap{flex-wrap:wrap}.progress-wrap .bar{flex-basis:48%}.section-heading{align-items:start}.section-heading .pill{display:none}.hero h1{font-size:28px}}

.scope-tabs{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:10px 0 14px;padding:7px;background:var(--palette-mint);border-radius:16px;border:1px solid var(--palette-mint)}
.scope{border:1px solid transparent;border-radius:11px;padding:12px 15px;color:var(--palette-teal);background:transparent;cursor:pointer;font-size:13px;font-weight:750;flex:1;min-width:150px}
.scope.active{background:var(--palette-white);color:var(--palette-teal);border-color:var(--palette-line);box-shadow:0 3px 12px #0D59630d}
.scope span{display:inline-flex;margin-right:7px;border-radius:50px;padding:2px 7px;background:var(--palette-mint);color:var(--palette-teal);font-size:11px}
.short-words{background:var(--palette-gold-soft);border:1px solid var(--palette-gold-soft);border-radius:12px;padding:11px 16px;margin:0 0 12px;font-size:12px;color:var(--palette-muted)}
.short-words input{vertical-align:middle;accent-color:var(--palette-teal);margin-left:8px}
.scope-flag{padding:2px 9px;border-radius:20px;background:var(--palette-gold-soft);color:var(--palette-gold-ink);font-weight:760;font-size:10px}
@media(max-width:650px){.scope-tabs{gap:5px}.scope{min-width:90px;flex:1;padding:11px 4px;font-size:11px}.scope span{font-size:9px;margin:0 2px}}

/* Simplified learner view */
.hero{grid-template-columns:minmax(0,1fr);padding:29px 0 20px;gap:0}
.hero h1{font-size:clamp(27px,3.2vw,38px);margin:0 0 8px}
.hero p{margin-bottom:16px}
.parent-top{justify-content:flex-start}
.tree{padding-top:14px}
.branch-footer{justify-content:flex-end}
.text-tools{margin-bottom:12px}
@media(max-width:650px){.hero{padding:20px 0 18px}.hero h1{font-size:28px}}

.kids-splash{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;align-items:start;margin:-2px 0 26px}.intro-panel,.fun-panel,.surah-panel,.how-panel{background:linear-gradient(180deg,var(--palette-white),var(--palette-cream));border:1px solid var(--palette-mint);border-radius:24px;box-shadow:var(--shadow)}
.intro-panel{padding:20px 20px 16px;background:linear-gradient(180deg,var(--palette-error-soft),var(--palette-cream))}
.intro-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:99px;background:var(--palette-cream);color:var(--palette-teal);font-size:12px;font-weight:800;margin-bottom:10px}
.intro-panel h3,.surah-panel h3,.how-panel h3{margin:0 0 8px;font-size:20px;color:var(--navy)}
.intro-panel p,.how-panel p{margin:0 0 10px;color:var(--palette-muted);font-size:14px}
.highlight-line{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.bubble{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:var(--palette-cream);border:1px solid var(--palette-mint);color:var(--palette-teal);font-size:12px;font-weight:800}
.fun-panel{padding:18px;background:linear-gradient(180deg,var(--palette-cream),var(--palette-gold-soft))}
.fun-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fun-card{background:white;border:1px solid var(--palette-mint);border-radius:20px;padding:14px 10px;text-align:center;box-shadow:0 6px 16px rgba(13,89,99,.05)}.fun-emoji{font-size:26px;display:block;line-height:1;margin-bottom:8px}.fun-card strong{display:block;color:var(--navy);font-size:14px;margin-bottom:4px}.fun-card span{display:block;color:var(--palette-muted);font-size:12px;line-height:1.6}
.hero{padding:28px 0 12px;display:grid;grid-template-columns:1fr .92fr;gap:28px;align-items:center}.hero p{max-width:700px}.hero-illustration{height:245px;border-radius:28px;background:radial-gradient(circle at 15% 25%,var(--palette-gold-soft),transparent 20%),radial-gradient(circle at 82% 24%,var(--palette-mint),transparent 20%),radial-gradient(circle at 50% 86%,var(--palette-mint),transparent 24%),linear-gradient(145deg,var(--palette-cream),var(--palette-cream) 55%,var(--palette-cream));border:1px solid var(--palette-mint);position:relative;overflow:hidden}.hero-orbit{position:absolute;border-radius:50%;display:grid;place-items:center;background:white;border:1px solid var(--palette-mint);box-shadow:0 10px 24px rgba(13,89,99,.08);font-size:24px}.orbit-a{width:58px;height:58px;top:20px;right:22px}.orbit-b{width:54px;height:54px;top:80px;left:24px}.orbit-c{width:52px;height:52px;bottom:24px;right:40px}.book-spot{position:absolute;inset:auto 50% 28px auto;transform:translateX(50%);width:215px;height:118px;background:white;border:1px solid var(--palette-mint);border-radius:24px;box-shadow:0 16px 32px rgba(13,89,99,.10)}.book-spot:before,.book-spot:after{content:'';position:absolute;top:18px;bottom:18px;width:43%;background:linear-gradient(180deg,var(--palette-cream),var(--palette-cream));border-radius:16px;border:1px solid var(--palette-mint)}.book-spot:before{right:14px}.book-spot:after{left:14px}.book-spine{position:absolute;top:10px;bottom:10px;right:50%;width:2px;background:var(--palette-line);transform:translateX(50%)}.book-label{position:absolute;top:18px;right:50%;transform:translateX(50%);background:linear-gradient(135deg,var(--palette-teal),var(--palette-teal));color:var(--palette-white);padding:10px 18px;border-radius:16px;font-weight:800;font-size:15px;box-shadow:0 10px 20px rgba(13,89,99,.18)}.book-mini{position:absolute;bottom:18px;right:24px;left:24px;display:flex;justify-content:space-between;gap:10px}.book-mini span{background:var(--palette-cream);border:1px solid var(--palette-mint);border-radius:14px;padding:8px 10px;font-size:12px;color:var(--palette-teal);font-weight:800;flex:1;text-align:center}
.surah-panel{padding:18px 18px 14px;margin-bottom:16px;background:linear-gradient(180deg,var(--palette-white),var(--palette-cream))}.surah-strip{display:flex;gap:8px;overflow:auto;padding:2px 0 6px;scrollbar-width:thin}.surah-strip::-webkit-scrollbar{height:8px}.surah-strip::-webkit-scrollbar-thumb{background:var(--palette-mint);border-radius:20px}.surah-chip{white-space:nowrap;background:white;border:1px solid var(--palette-mint);border-radius:999px;padding:8px 12px;color:var(--palette-teal);font-size:13px;font-weight:800;box-shadow:0 4px 12px rgba(13,89,99,.04)}
.how-panel{padding:18px;margin-bottom:18px;background:linear-gradient(180deg,var(--palette-gold-soft),var(--palette-white))}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.step{background:white;border:1px solid var(--palette-mint);border-radius:20px;padding:14px 12px;position:relative}.step-no{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--palette-border),var(--palette-error-soft));color:var(--palette-gold-ink);font-weight:900;margin-bottom:8px}.step strong{display:block;color:var(--navy);font-size:14px;margin-bottom:4px}.step span{display:block;color:var(--palette-muted);font-size:12px;line-height:1.7}
.kid-tip{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;background:var(--palette-cream);border:1px solid var(--palette-mint);color:var(--palette-teal);font-size:13px;margin-top:10px}
.section-heading h2{font-size:24px}
.topbar{background:linear-gradient(90deg,var(--palette-white),var(--palette-cream) 45%,var(--palette-gold-soft))}.mark{background:linear-gradient(135deg,var(--palette-teal),var(--palette-teal))}
.scope{border-radius:16px}.scope.active{background:linear-gradient(135deg,var(--palette-teal),var(--palette-teal))}
.filter.active{background:linear-gradient(135deg,var(--palette-border),var(--palette-teal));border-color:transparent}
.quiz-start,.check-btn{background:linear-gradient(135deg,var(--palette-teal),var(--palette-teal))}
.item-icon{background:var(--palette-cream)}
@media(max-width:980px){.kids-splash,.hero{grid-template-columns:1fr}.fun-grid,.steps{grid-template-columns:1fr 1fr}.hero-illustration{height:210px}}
@media(max-width:650px){.intro-panel,.fun-panel,.surah-panel,.how-panel{border-radius:18px}.fun-grid,.steps{grid-template-columns:1fr}.hero-illustration{height:188px}.book-spot{width:180px;height:100px}.book-label{font-size:13px;padding:8px 14px}.surah-chip{font-size:12px;padding:7px 10px}.highlight-line{gap:8px}}


/* Modern Islamic learner interface: solid, confident colors, no gradients */
:root{--navy:var(--palette-teal);--teal:var(--palette-teal);--teal2:var(--palette-teal);--cream:var(--palette-mint);--mint:var(--palette-mint);--ink:var(--palette-teal);--muted:var(--palette-muted);--line:var(--palette-mint);--gold:var(--palette-gold);--shadow:0 7px 22px rgba(13,89,99,.075)}
body{background:var(--palette-mint);color:var(--palette-teal);font-family:'Noto Sans Arabic','Tajawal',Tahoma,Arial,sans-serif}
.topbar{background:var(--palette-white)!important;border-bottom:2px solid var(--palette-mint)}.mark{background:var(--palette-teal)!important;background-image:none!important;border-radius:13px}
.wrap{width:min(1160px,calc(100% - 34px))}
.welcome{margin:30px 0 20px;display:grid;grid-template-columns:1.15fr .85fr;gap:22px;background:var(--palette-white);border:1px solid var(--palette-mint);border-radius:26px;padding:30px;box-shadow:var(--shadow)}
.kicker{display:inline-block;background:var(--palette-cream);color:var(--palette-teal);padding:6px 12px;border-radius:999px;font-size:12px;font-weight:900}
.welcome h1{font-size:clamp(30px,3.3vw,45px);margin:14px 0 9px;line-height:1.55;color:var(--palette-teal)}.welcome h1 em{font-style:normal;color:var(--palette-teal)}.welcome p{font-size:15px;line-height:2;color:var(--palette-muted);max-width:630px;margin:0 0 20px}
.welcome-actions{display:flex;flex-wrap:wrap;gap:10px}.welcome-actions a{font-size:13px;font-weight:900;padding:10px 17px;border-radius:13px;text-decoration:none}.primary-link{background:var(--palette-teal);color:var(--palette-white)}.secondary-link{background:var(--palette-mint);color:var(--palette-teal);border:1px solid var(--palette-mint)}
.welcome-visual{height:265px;position:relative;overflow:hidden;border-radius:23px;background:var(--palette-mint);border:2px solid var(--palette-line)}.welcome-visual:before{content:'';width:250px;height:250px;border-radius:50%;position:absolute;left:-100px;bottom:-100px;background:var(--palette-line)}.welcome-visual:after{content:'';width:180px;height:180px;border-radius:38px;position:absolute;right:-80px;top:-85px;background:var(--palette-line);transform:rotate(22deg)}.islamic-star{position:absolute;color:var(--palette-gold);font-size:43px;font-weight:bold;z-index:2}.star-one{top:15px;left:42px}.star-two{bottom:8px;right:24px;color:var(--palette-teal)}.moon-icon{position:absolute;top:22px;right:30px;font-size:49px;color:var(--palette-teal);z-index:2}.learning-symbol{position:absolute;inset:auto 34px 41px 34px;border-radius:20px;border:2px solid var(--palette-line);background:white;padding:21px 16px;text-align:center;z-index:3;box-shadow:0 7px 16px #0D596314}.symbol-icon{font-size:43px;line-height:1.3}.symbol-title{font-size:16px;font-weight:900;color:var(--palette-teal);margin-top:6px}.dots{position:absolute;bottom:12px;left:24px;color:var(--palette-teal);font-size:13px;letter-spacing:4px}
.surah-guide{background:var(--palette-white);border:1px solid var(--palette-mint);border-radius:24px;padding:23px;margin:0 0 18px;box-shadow:var(--shadow)}.guide-intro{display:flex;gap:14px;align-items:center;margin-bottom:16px}.guide-icon{height:50px;width:50px;border-radius:16px;display:grid;place-items:center;background:var(--palette-mint);font-size:27px;flex:none}.guide-intro h2{font-size:21px;margin:0 0 3px;color:var(--palette-teal)}.guide-intro p{color:var(--palette-muted);font-size:13px;margin:0}
.surah-disclosure{border-radius:16px;border:2px solid var(--palette-mint);overflow:hidden}.surah-disclosure summary{cursor:pointer;background:var(--palette-cream);list-style:none;padding:14px 18px;color:var(--palette-teal);font-size:14px;font-weight:900;display:flex;align-items:center;justify-content:space-between}.surah-disclosure summary::-webkit-details-marker{display:none}.surah-disclosure[open] summary{border-bottom:1px solid var(--palette-mint)}.open-arrow{transition:transform .2s;font-size:24px;line-height:1}.surah-disclosure[open] .open-arrow{transform:rotate(180deg)}.surah-gallery{padding:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;background:var(--palette-cream)}.surah-station{border:1px solid var(--palette-mint);border-radius:18px;padding:13px;background:var(--palette-white)}.station-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.station-title strong{font-size:13px;color:var(--palette-teal)}.station-title small{font-size:11px;color:var(--palette-muted)}.surah-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.surah-tile{border:2px solid var(--palette-mint);background:var(--palette-cream);color:var(--palette-teal);padding:9px;border-radius:13px;text-align:right;display:flex;align-items:center;gap:9px;min-height:47px;transition:transform .12s,border-color .12s}.surah-tile:hover{transform:translateY(-1px);border-color:var(--palette-border)}.surah-tile.active{border-color:var(--palette-teal);background:var(--palette-mint)}.surah-number{min-width:30px;height:29px;background:var(--palette-mint);border-radius:9px;display:grid;place-items:center;color:var(--palette-teal);font-weight:900;font-size:12px}.surah-name{font-weight:900;font-size:13px;flex:1}.tile-arrow{font-size:14px;color:var(--palette-teal)}.surah-gallery-footer{padding:0 20px 18px;background:var(--palette-cream)}.clear-surah{border:1px solid var(--palette-line);background:var(--palette-mint);color:var(--palette-teal);border-radius:10px;padding:8px 16px;font-size:12px;font-weight:800}
.about-similarities{border:1px solid var(--palette-mint);background:var(--palette-white);border-radius:24px;padding:23px;margin-bottom:20px;box-shadow:var(--shadow)}.about-main{display:flex;align-items:flex-start;gap:15px}.about-icon{height:55px;width:55px;display:grid;place-items:center;flex:none;border-radius:17px;background:var(--palette-gold-soft);font-size:26px}.about-main h2{margin:0 0 3px;color:var(--palette-teal);font-size:22px}.about-main p{margin:0;color:var(--palette-muted);font-size:14px;line-height:2}.quick-steps{margin-top:19px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.quick-step{background:var(--palette-cream);border:1px solid var(--palette-mint);border-radius:16px;padding:12px;display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;gap:0 9px;align-items:center}.step-icon{grid-row:span 2;width:35px;height:35px;border-radius:11px;display:grid;place-items:center;font-weight:900}.step-icon.lavender{background:var(--palette-teal);color:var(--palette-white)}.step-icon.coral{background:var(--palette-error-ink);color:var(--palette-white)}.step-icon.teal{background:var(--palette-teal);color:var(--palette-white)}.quick-step strong{color:var(--palette-teal);font-size:14px}.quick-step>span:last-child{font-size:12px;color:var(--palette-muted);line-height:1.6}
.notice{background:var(--palette-gold-soft);border-color:var(--palette-line);color:var(--palette-gold-ink);border-radius:14px}.section-heading h2{color:var(--palette-teal)}.section-heading p{color:var(--palette-muted)}
.scope-tabs{background:var(--palette-white)}.scope.active,.filter.active{background:var(--palette-teal)!important;background-image:none!important;color:var(--palette-white)!important;border-color:var(--palette-teal)!important}.scope{border-radius:12px!important}.filter{border-radius:11px!important}
.item{box-shadow:0 5px 13px #0D596310!important;border-radius:18px!important}.item.same-surah,.item.same-surah.open{border:2px solid var(--accent)!important;box-shadow:0 5px 15px #0D596319!important}.item.same-surah .parent-btn{background:var(--accent-soft)!important;background-image:none!important;border-top:5px solid var(--accent)!important}.item.same-surah .item-title strong{color:var(--accent-dark)!important}.item.same-surah .item-icon{border:2px solid var(--accent)!important;background:var(--palette-white)!important;color:var(--accent-dark)!important}.item.same-surah .type-chip{color:white!important;background:var(--accent)!important;border:0!important}.item.same-surah .tree{background:var(--palette-white)!important;background-image:none!important}.item.same-surah .branch{background:var(--accent-soft)!important;background-image:none!important;border:2px solid var(--accent)!important;border-radius:15px}.item.same-surah .branch:before{display:none!important}
.branch.colorful-branch{border:2px solid var(--branch-border)!important;border-right:6px solid var(--branch-color)!important;background:var(--branch-soft)!important;background-image:none!important}.branch.colorful-branch .branch-head span{background:var(--branch-color);color:white;padding:3px 10px;border-radius:9px;font-size:12px}.branch.colorful-branch .branch-head a{color:var(--branch-dark);font-weight:900}
.quiz-start,.check-btn{background:var(--palette-teal)!important;background-image:none!important}.item.same-surah .quiz-start,.item.same-surah .check-btn{background:var(--accent-dark)!important}.progress-wrap{background:var(--palette-white)!important}.hero-illustration,.metric-row,.kids-splash,.fun-panel,.intro-panel{display:none!important}
@media(max-width:900px){.welcome{grid-template-columns:1fr}.welcome-visual{height:195px}.surah-gallery{grid-template-columns:1fr}}
@media(max-width:650px){body{background:var(--palette-mint)}.welcome{padding:20px;margin-top:14px;border-radius:19px}.welcome h1{font-size:30px}.welcome p{font-size:14px}.welcome-visual{height:175px}.learning-symbol{inset:auto 40px 18px 40px;padding:12px}.symbol-icon{font-size:30px}.moon-icon{font-size:35px}.surah-guide,.about-similarities{padding:16px;border-radius:19px}.surah-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.surah-gallery{padding:11px}.station-title{display:block}.station-title small{display:block}.quick-steps{grid-template-columns:1fr}.welcome-actions a{flex:1;text-align:center}.scope{padding:8px 9px!important}}


/* Journey update: semantic station route replaces unrelated artwork. */
.welcome{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);align-items:stretch;gap:24px}
.welcome-copy{align-self:center}
.welcome p{max-width:560px}
.journey-board{background:var(--palette-cream);border:1px solid var(--palette-mint);border-radius:24px;padding:19px 18px 15px;min-width:0;display:flex;flex-direction:column;justify-content:center;position:relative}
.journey-board:before{content:'';position:absolute;inset:0;border:1px solid transparent;border-radius:24px;pointer-events:none}
.journey-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}
.journey-heading-title{display:flex;gap:10px;align-items:center}
.train-symbol{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:15px;background:var(--palette-teal);color:white}
.journey-heading-title strong{display:block;color:var(--palette-teal);font-size:17px;line-height:1.55}
.journey-heading-title span:not(.train-symbol){display:block;color:var(--palette-muted);font-size:11px}
.journey-line-label{white-space:nowrap;font-size:10px;font-weight:900;color:var(--palette-muted);background:white;border:1px solid var(--palette-mint);border-radius:100px;padding:4px 9px}
.journey-stops{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;position:relative}
.journey-stops:before{content:'';position:absolute;top:21px;right:15%;left:15%;height:4px;background:var(--palette-line);z-index:0;border-radius:20px}
.journey-stop{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:flex-start;gap:6px;text-align:center;background:white;border:1px solid var(--palette-mint);border-radius:18px;padding:15px 9px 13px;color:var(--palette-teal);text-decoration:none;min-height:172px;transition:transform .15s,box-shadow .15s,border-color .15s;box-shadow:0 5px 13px #0D59630b;z-index:1}
.journey-stop:hover,.journey-stop:focus-visible{transform:translateY(-3px);border-color:var(--palette-border);box-shadow:0 8px 21px #0D59631b}
.stop-marker{font-size:13px;font-weight:950;display:grid;place-items:center;width:32px;height:32px;border-radius:100px;color:white;margin:-31px auto 3px;border:3px solid var(--palette-cream);position:relative;z-index:2}
.stop-discover .stop-marker{background:var(--palette-teal)}.stop-notice .stop-marker{background:var(--palette-teal)}.stop-check .stop-marker{background:var(--palette-error-ink)}
.stop-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;margin-top:10px}
.stop-discover .stop-icon{background:var(--palette-mint);color:var(--palette-teal)}
.stop-notice .stop-icon{background:var(--palette-mint);color:var(--palette-teal)}
.stop-check .stop-icon{background:var(--palette-error-soft);color:var(--palette-error-ink)}
.journey-stop strong{font-size:12px;font-weight:900;line-height:1.6;color:var(--palette-teal)}
.journey-stop small{font-size:10px;line-height:1.65;color:var(--palette-muted);display:block;max-width:145px}
.journey-footer{font-size:11px;color:var(--palette-muted);font-weight:700;display:flex;align-items:center;gap:7px;margin-top:14px}
.journey-footer-dot{width:8px;height:8px;border-radius:50%;background:var(--palette-teal);flex:none}
.guide-icon{background:var(--palette-mint);color:var(--palette-teal)}
@media(max-width:1000px){.welcome{grid-template-columns:1fr}.journey-board{min-height:260px}.journey-heading{margin-bottom:28px}}
@media(max-width:650px){.welcome{padding:18px;gap:18px}.journey-board{padding:14px 11px 12px;border-radius:17px;min-height:0}.journey-heading{margin-bottom:24px}.journey-heading-title strong{font-size:15px}.journey-line-label{display:none}.train-symbol{height:44px;width:44px}.journey-stops{gap:6px}.journey-stop{padding:12px 3px 9px;min-height:160px;border-radius:12px}.journey-stop strong{font-size:11px}.journey-stop small{font-size:9px;padding:0 2px}.stop-icon{width:40px;height:40px;margin-top:8px}.stop-icon svg{width:23px;height:23px}.stop-marker{width:29px;height:29px;margin-top:-26px}.journey-stops:before{top:19px}.journey-footer{font-size:10px;margin-top:10px}}
@media(max-width:390px){.journey-stops{grid-template-columns:1fr;gap:10px}.journey-stops:before{height:auto;width:3px;right:17px;left:auto;top:10%;bottom:10%}.journey-stop{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;min-height:70px;text-align:right;padding:10px 48px 10px 7px;gap:1px 7px;align-items:center}.stop-marker{position:absolute;top:50%;right:-14px;margin:0;transform:translateY(-50%)}.stop-icon{grid-row:span 2;margin:0;width:34px;height:34px}.journey-stop strong,.journey-stop small{max-width:none}}
@media(prefers-reduced-motion:reduce){.journey-stop{transition:none}}

/* Juz Amma educational introduction / Quran artwork. No Qur'anic text changes. */
.welcome{grid-template-columns:minmax(0,1.14fr) minmax(300px,.86fr);align-items:center;gap:26px;background:var(--palette-white)}
.welcome-copy{min-width:0}.welcome-copy>p{max-width:650px;margin-bottom:17px;line-height:2}
.welcome-quran-art{margin:0;border-radius:23px;overflow:hidden;border:1px solid var(--palette-line);background:var(--palette-gold-soft);min-height:275px;display:flex;flex-direction:column;justify-content:center;align-items:center;box-shadow:0 10px 24px #73531E13}
.welcome-quran-art img{width:100%;height:245px;display:block;object-fit:cover;object-position:center}
.welcome-quran-art figcaption{background:var(--palette-cream);border-top:1px solid var(--palette-mint);color:var(--palette-teal);width:100%;text-align:center;padding:9px 12px;font-weight:900;font-size:14px;letter-spacing:0}
.learning-goals{border:1px solid var(--palette-mint);background:var(--palette-cream);border-radius:18px;padding:14px;margin-bottom:17px}
.learning-goals h2{margin:0 0 9px;font-size:17px;color:var(--palette-teal)}.goal-list{display:grid;gap:8px}.goal{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.8;color:var(--palette-teal)}
.goal-number{flex:none;width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:var(--palette-teal);color:white;font-size:14px;font-weight:900}.goal:nth-child(2) .goal-number{background:var(--palette-teal)}.goal:nth-child(3) .goal-number{background:var(--palette-gold)}
.welcome-actions{gap:9px}.welcome-actions button{font-size:13px;font-weight:900;padding:10px 17px;border-radius:13px;cursor:pointer}.secondary-link{color:var(--palette-teal);background:var(--palette-mint);border:1px solid var(--palette-mint);text-decoration:none}.secondary-link:hover{background:var(--palette-mint)}
.surah-guide{padding:25px}.guide-intro{margin-bottom:13px;align-items:start}.guide-intro p{font-size:14px;line-height:2;color:var(--palette-muted)}
.juz-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:14px 0}.fact{display:grid;gap:2px;justify-items:center;text-align:center;border:1px solid var(--palette-mint);background:var(--palette-cream);border-radius:15px;padding:13px 7px;min-height:110px}.fact:nth-child(2){background:var(--palette-gold-soft);border-color:var(--palette-gold-soft)}.fact:nth-child(3){background:var(--palette-cream);border-color:var(--palette-mint)}.fact:nth-child(4){background:var(--palette-mint);border-color:var(--palette-line)}.fact-icon{font-size:23px}.fact-label{font-size:12px;color:var(--palette-muted);font-weight:700}.fact strong{font-size:17px;color:var(--palette-teal);line-height:1.4}
.juz-nature{margin:14px 0 5px;color:var(--palette-teal);font-size:13px;line-height:1.9}.count-footnote{font-size:11px;color:var(--palette-muted);line-height:1.7;margin:1px 0 15px}.surah-list-heading{margin:14px 0 9px;color:var(--palette-teal);font-size:18px}.surah-disclosure summary{background:var(--palette-mint);color:var(--palette-teal);font-size:14px;padding:16px 18px;border-radius:12px}
.about-main p{max-width:980px}.about-quiz-note{margin-top:7px!important;font-weight:800;color:var(--palette-teal)!important}
@media(max-width:1000px){.welcome{grid-template-columns:1fr}.welcome-quran-art{max-width:580px;width:100%;margin-inline:auto}.juz-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.welcome-quran-art{min-height:0}.welcome-quran-art img{height:185px}.learning-goals{padding:12px}.learning-goals h2{font-size:16px}.goal{font-size:12px}.juz-facts{gap:8px}.fact{min-height:102px;padding:10px 4px}.fact strong{font-size:14px}.welcome-actions button{flex:1}.surah-guide{padding:17px}}

/* Student-facing discovery experience — October 2026 revision */
.explore-heading-body{flex:1;min-width:0;max-width:1080px}
.explore-heading{align-items:flex-start;gap:18px;margin:27px 0 22px}
.explore-title-row{display:flex;align-items:flex-start;gap:14px;margin:0 0 10px}
.explore-lens{background:linear-gradient(180deg,var(--palette-gold-soft) 0%,var(--palette-gold-soft) 100%);color:var(--palette-error-ink);border:1px solid var(--palette-gold-soft);width:66px;height:66px;flex:0 0 66px;border-radius:22px;display:flex;align-items:center;justify-content:center;gap:4px;box-shadow:0 8px 18px rgba(191,74,49,.11)}
.explore-lens .qmark{display:inline-flex;align-items:center;justify-content:center;width:14px;height:34px;font-size:24px;font-weight:900;line-height:1;color:var(--palette-error-ink);transform:translateY(-1px)}
.explore-lens .qmark:nth-child(2){font-size:29px;color:var(--palette-teal);transform:translateY(2px)}
.explore-lens .qmark:nth-child(3){font-size:22px;color:var(--palette-teal);transform:translateY(-4px)}
.explore-title-row h2{font-size:clamp(23px,2.6vw,33px);line-height:1.4;margin:0;color:var(--palette-teal)}
.explore-instructions{font-size:15px!important;line-height:2.15!important;max-width:980px;color:var(--palette-muted)!important;margin:0!important}
.explore-instructions strong{color:var(--palette-teal);font-weight:850}
.surah-gallery.single-gallery{display:block;padding:20px;background:var(--palette-cream)}
.surah-gallery.single-gallery .all-surahs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.surah-gallery.single-gallery .surah-tile{min-width:0;width:100%;height:100%}
.surah-gallery.single-gallery .surah-tile:hover{border-color:var(--palette-teal);transform:translateY(-1px)}
@media(max-width:980px){.surah-gallery.single-gallery .all-surahs{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.explore-title-row{gap:10px}.explore-lens{width:56px;height:56px;flex-basis:56px;border-radius:18px}.explore-lens .qmark{font-size:20px}.explore-lens .qmark:nth-child(2){font-size:24px}.explore-title-row h2{font-size:22px}.explore-instructions{font-size:13px!important;line-height:2!important}.explore-heading{display:flex;flex-direction:column}.surah-gallery.single-gallery{padding:12px}.surah-gallery.single-gallery .all-surahs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}


/* Review release: column-major surah list; reader proceeds downward 78,79,80… */
.surah-gallery.single-gallery .all-surahs{display:block!important;column-count:5;column-gap:12px;direction:rtl}
.surah-gallery.single-gallery .all-surahs .surah-tile{display:flex!important;width:100%;height:auto;min-height:50px;break-inside:avoid;page-break-inside:avoid;column-break-inside:avoid;margin:0 0 10px;box-sizing:border-box}
/* Inviting challenge instructions in one clearly delineated panel */
.explore-intro-panel{position:relative;isolation:isolate;overflow:hidden;border:2px solid var(--palette-mint);background:linear-gradient(135deg,var(--palette-cream) 0%,var(--palette-cream) 54%,var(--palette-cream) 100%);border-radius:30px;padding:30px 34px 26px;margin:23px 0 19px;box-shadow:0 14px 32px rgba(13,89,99,.08)}
.explore-intro-panel::before{content:'';position:absolute;left:-64px;top:-74px;width:250px;height:250px;border:28px solid rgba(13,89,99,.08);border-radius:50%;z-index:-1;pointer-events:none}
.explore-intro-panel::after{content:'؟ ؟ ؟';position:absolute;left:34px;bottom:18px;color:rgba(13,89,99,.12);font-weight:900;font-size:48px;letter-spacing:2px;z-index:-1;pointer-events:none}
.explore-heading-top{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:10px}
.explore-heading-top .explore-title-row{margin:0}.explore-heading-top h2{margin:0!important}
.explore-body{padding:0 73px 0 0;max-width:1100px}
.explore-body p{margin:8px 0 0;color:var(--palette-teal);font-size:15px;line-height:2.1}
.explore-body strong{color:var(--palette-teal);font-weight:850}
.explore-body .explore-hook{font-weight:800;color:var(--palette-teal);font-size:17px;margin:1px 0 11px}
.explore-body .explore-callout{margin-top:18px;background:var(--palette-white);border-right:5px solid var(--palette-teal);border-radius:12px;padding:12px 17px;box-shadow:0 4px 12px rgba(13,89,99,.04)}
.explore-body .small-star{color:var(--palette-gold);margin-left:7px;font-size:20px}
/* Surah themes: solid hues, not gradients. 2 different surahs never have the same color. */
.item.same-surah{border:2px solid var(--accent)!important;box-shadow:0 8px 24px rgba(13,89,99,.08)}
.item.same-surah .parent-btn{background:var(--accent-soft)!important;background-image:none!important;border-right:8px solid var(--accent)!important}
.item.same-surah .parent-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.item.same-surah .surah-ident{display:inline-flex;align-items:center;gap:5px;border-radius:8px;background:var(--accent)!important;color:var(--accent-ink)!important;padding:3px 12px;font-size:12px;font-weight:850;white-space:nowrap}
.item.same-surah .item-icon{background:var(--accent)!important;color:var(--accent-ink)!important;border-color:var(--accent)!important}
.item.same-surah .tree{background:var(--accent-soft)!important;background-image:none!important}
.item.same-surah .branch.colorful-branch{background:var(--accent-soft)!important;background-image:none!important;border:2px solid var(--accent)!important;border-right:7px solid var(--accent)!important}
.item.same-surah .branch.colorful-branch .branch-head span{background:var(--accent)!important;color:var(--accent-ink)!important}
.item.same-surah .quiz-start,.item.same-surah .check-btn{background:var(--accent)!important;color:var(--accent-ink)!important}
/* All verse cards get a contrast-safe label from the same assigned surah hue. */
.branch.colorful-branch .branch-head span{color:var(--branch-ink)!important}
@media(max-width:1000px){.surah-gallery.single-gallery .all-surahs{column-count:4}.explore-body{padding-right:0}}
@media(max-width:740px){.surah-gallery.single-gallery .all-surahs{column-count:3}.explore-intro-panel{padding:22px 22px 20px}}
@media(max-width:560px){.surah-gallery.single-gallery .all-surahs{column-count:2}.explore-intro-panel{padding:18px 16px;border-radius:20px}.explore-heading-top{flex-wrap:wrap}.explore-title-row h2{font-size:23px!important}.explore-body p{font-size:13px;line-height:1.95}.explore-body .explore-hook{font-size:15px}.explore-body .explore-callout{padding:9px 11px}.explore-lens{width:46px;height:46px;flex-basis:46px}}


.module-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.module-nav{text-decoration:none!important;color:var(--palette-teal);font-size:12px;font-weight:800;padding:8px 12px;background:var(--palette-cream);border:1px solid var(--palette-mint);border-radius:12px;white-space:nowrap}.module-nav.active{color:white!important;background:var(--palette-teal);border-color:var(--palette-teal)}.module-nav.challenge{background:var(--palette-gold-soft);color:var(--palette-gold-ink);border-color:var(--palette-line)}.module-next{position:relative;overflow:hidden;margin:18px 0 34px;border-radius:32px;background:linear-gradient(135deg,var(--palette-teal) 0%,var(--palette-teal) 48%,var(--palette-teal) 100%);color:white;padding:30px 28px;display:flex;align-items:center;gap:22px;box-shadow:0 18px 40px rgba(13,89,99,.18)}.module-next:before{content:'';position:absolute;inset:auto auto -42px -32px;width:180px;height:180px;background:radial-gradient(circle,#FFFFFF26,transparent 68%)}.module-next:after{content:'';position:absolute;top:-40px;left:-28px;width:170px;height:170px;background:radial-gradient(circle,#FFFFFF55 0%,transparent 64%)}.module-next-content{position:relative;z-index:1;flex:1}.module-next-icon{position:relative;z-index:1;width:92px;height:92px;border-radius:28px;display:grid;place-items:center;flex-shrink:0;background:linear-gradient(180deg,#FFFFFF22,#FFFFFF12);border:1px solid #FFFFFF40;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}.module-next-icon svg{width:56px;height:56px;display:block}.next-tag{display:inline-block;margin-bottom:6px;font-size:13px;color:var(--palette-mint);font-weight:800}.module-next h2{color:white;font-size:30px;line-height:1.25;margin:2px 0 8px}.module-next p{color:var(--palette-mint);font-size:15px;margin:0;line-height:2;max-width:900px}.module-next-button{position:relative;z-index:1;color:var(--palette-teal);background:white;border-radius:16px;padding:13px 20px;white-space:nowrap;text-decoration:none;font-weight:900;font-size:14px;box-shadow:0 10px 20px rgba(0,0,0,.08)}.module-next-button:hover{background:var(--palette-gold-soft)}
@media(max-width:760px){.module-next{flex-direction:column;align-items:stretch;gap:14px;padding:22px 18px}.module-next-icon{width:64px;height:64px;border-radius:20px}.module-next-icon svg{width:40px;height:40px}.module-next-button{text-align:center}.module-next h2{font-size:22px}.module-next p{font-size:14px;line-height:1.9}.topbar .wrap{flex-wrap:wrap;padding:12px 0}.module-links{width:100%}.module-nav{flex:1;text-align:center;font-size:11px;white-space:normal;padding:7px 9px}.header-side{width:100%;justify-content:space-between;flex-wrap:wrap}}

/* One-file, two-module routing; the original learning views and locked data remain intact. */
#module-two-view[hidden],#module-one-view[hidden]{display:none!important}
#module-two-view{background:var(--palette-mint);min-height:calc(100vh - 70px);width:100%;overflow:hidden}
#embedded-challenge{display:block;border:0;width:100%;height:700px;background:var(--palette-mint);overflow:hidden}
.module-nav.challenge.active,.module-nav.active{background:var(--palette-teal)!important;color:var(--palette-white)!important;border-color:var(--palette-teal)!important}
.module-nav:not(.active){background:var(--palette-cream)!important;color:var(--palette-teal)!important;border-color:var(--palette-mint)!important}
@media(max-width:650px){#module-two-view{min-height:calc(100vh - 115px)}}

/* Modern accessible header — all Qur'anic data and game logic preserved. */
.topbar.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.95);border-bottom:1px solid var(--palette-mint);box-shadow:0 9px 28px rgba(13,89,99,.055);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.site-header .site-header-inner{width:min(1320px,calc(100% - 42px));min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:11px 0}
.site-header .site-brand{display:flex;align-items:center;gap:12px;min-width:0;white-space:nowrap;font-size:17px;line-height:1.55;font-weight:900;letter-spacing:0;color:var(--palette-teal)}
.site-header .site-mark{width:53px;height:53px;flex:0 0 53px;display:grid;place-items:center;border-radius:17px;background:var(--palette-teal);box-shadow:0 6px 17px rgba(13,89,99,.20);color:var(--palette-white)}
.site-header .site-brand-emphasis{color:var(--palette-teal)}
.site-header .header-side{display:flex;align-items:center;flex:0 1 auto;min-width:0}
.site-header .module-links{display:flex;gap:5px;align-items:stretch;flex-wrap:nowrap;padding:5px;border-radius:18px;border:1px solid var(--palette-mint);background:var(--palette-cream);box-shadow:inset 0 1px 2px rgba(13,89,99,.035)}
.site-header .module-nav{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:9px 15px;border:1px solid transparent;border-radius:13px;font-size:12.5px;font-weight:850;white-space:nowrap;line-height:1.65;text-decoration:none!important;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease}
.site-header .module-nav svg{display:block;flex:0 0 19px}
.site-header .module-nav.active{background:var(--palette-teal)!important;color:white!important;border-color:var(--palette-teal)!important;box-shadow:0 4px 10px rgba(13,89,99,.13)}
.site-header .module-nav:not(.active){background:transparent!important;color:var(--palette-teal)!important;border-color:transparent!important}
.site-header .module-nav:not(.active):hover{background:var(--palette-mint)!important;color:var(--palette-teal)!important}
.site-header .module-nav:focus-visible{outline:3px solid var(--palette-border);outline-offset:3px}
@media (max-width:1050px){.site-header .site-header-inner{width:calc(100% - 30px);gap:11px}.site-header .site-brand{font-size:14px;gap:9px}.site-header .site-mark{width:46px;height:46px;flex-basis:46px;border-radius:14px}.site-header .site-mark svg{width:34px;height:34px}.site-header .module-nav{padding:8px 11px;font-size:11.5px;gap:7px}}
@media (max-width:760px){.topbar.site-header{position:sticky;top:0}.site-header .site-header-inner{width:calc(100% - 24px);padding:9px 0;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:8px}.site-header .site-brand{font-size:15px;line-height:1.4}.site-header .site-mark{width:40px;height:40px;flex-basis:40px;border-radius:13px}.site-header .site-mark svg{width:31px;height:31px}.site-header .header-side,.site-header .module-links{width:100%}.site-header .module-links{gap:4px;padding:4px;border-radius:14px}.site-header .module-nav{flex:1;white-space:normal;line-height:1.55;text-align:center;font-size:11px;padding:7px 5px;min-height:42px;gap:5px;border-radius:10px}.site-header .module-nav svg{width:17px;height:17px;flex-basis:17px}.site-header .site-brand-title{white-space:normal}}
@media (max-width:370px){.site-header .module-nav{font-size:10px;padding:6px 4px}.site-header .module-nav svg{display:none}}
@media (prefers-reduced-motion:reduce){.site-header .module-nav{transition:none}}


/* Chosen homepage option 3: real-life styled closed green Qur'an photograph. */
.welcome{background:var(--palette-gold-soft);border:1px solid var(--palette-mint);box-shadow:0 14px 35px rgba(13,89,99,.08)}
.welcome-quran-art{background:var(--palette-gold-soft);border:1px solid var(--palette-gold-soft);border-radius:24px;box-shadow:0 14px 30px rgba(56,51,31,.11);align-self:stretch}
.welcome-quran-art img{height:100%;min-height:310px;max-height:460px;flex:1;object-fit:cover;object-position:center 48%}
.welcome-quran-art figcaption{background:var(--palette-gold-soft);border-top:1px solid var(--palette-mint);color:var(--palette-teal)}
@media(max-width:1000px){.welcome-quran-art{max-width:700px;min-height:270px}.welcome-quran-art img{height:280px;min-height:260px;max-height:330px}}
@media(max-width:650px){.welcome{padding:16px}.welcome-quran-art{min-height:0}.welcome-quran-art img{height:240px;min-height:240px;max-height:240px}.welcome-quran-art figcaption{font-size:12px}}

/* Mobile: show the selected photograph immediately after the homepage title. */
@media(max-width:650px){
 .welcome{display:grid;grid-template-columns:1fr;gap:14px}
 .welcome-copy{display:contents}
 .welcome-copy>.kicker{grid-row:1;justify-self:start;margin-bottom:0}
 .welcome-copy>h1{grid-row:2;margin:0}
 .welcome-quran-art{grid-row:3;margin:0;max-width:none;width:100%}
 .welcome-quran-art img{height:205px;min-height:205px;max-height:205px;object-position:center 48%}
 .welcome-copy>p{grid-row:4;margin:0}
 .welcome-copy>.learning-goals{grid-row:5;margin:0}
 .welcome-copy>.welcome-actions{grid-row:6;margin-top:0}
}

/* Phase 1 instructional upgrade: teacher-guided cognitive scaffold */
.guided-lesson{margin:22px 0 24px;padding:24px;border:1px solid var(--palette-line);border-radius:25px;background:linear-gradient(145deg,var(--palette-cream),var(--palette-cream));box-shadow:0 14px 32px #0D59630d}
.guided-title-line{display:flex;justify-content:space-between;align-items:center;gap:16px}
.guided-title-line h3{margin:5px 0 7px;color:var(--palette-teal);font-size:clamp(21px,2.2vw,29px)}
.guided-title-line p{margin:0;color:var(--palette-teal);line-height:1.9;font-size:15px}
.guided-eyebrow{font-size:12px;font-weight:900;color:var(--palette-teal)}
.guided-mark{flex-shrink:0;display:grid;place-items:center;border-radius:18px;background:var(--palette-mint);border:1px solid var(--palette-line);width:64px;height:64px}
.guided-mark svg{width:45px;height:45px}
.guided-progress{display:flex;gap:12px;align-items:center;margin:18px 0;color:var(--palette-teal);font-size:13px;font-weight:800}
.guided-progress-track{flex:1;height:9px;background:var(--palette-mint);overflow:hidden;border-radius:20px}
#guidedProgress{height:100%;width:20%;background:var(--palette-teal);border-radius:20px;transition:width .2s}
.guided-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:16px 0}
.guided-ayah{padding:18px;border:1px solid var(--palette-mint);background:var(--palette-white);border-radius:17px;min-width:0}
.guided-ayah-head{font-weight:900;color:var(--palette-teal);margin-bottom:12px;font-size:14px}
.guided-ayah-text{font-family:'KFGQPC Uthmanic Script HAFS','Amiri Quran','Noto Naskh Arabic','Traditional Arabic',serif;text-align:center;line-height:2.4;font-size:clamp(20px,2vw,26px);color:var(--palette-teal);overflow-wrap:anywhere}
.guided-ayah-text mark{background:var(--palette-gold-soft);color:var(--palette-gold-ink);border-radius:8px;padding:2px 3px;border-bottom:2px solid var(--palette-border)}
.guided-instruction{font-weight:800;color:var(--palette-teal);font-size:17px;line-height:1.85;margin:13px 0 7px}
.guided-subtle{font-size:14px;color:var(--palette-muted);line-height:1.8}
.guided-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.guided-btn{cursor:pointer;border-radius:13px;padding:11px 16px;border:1px solid var(--palette-teal);color:var(--palette-white);background:var(--palette-teal);font-weight:900;font:inherit;min-height:45px}
.guided-btn.subtle{background:var(--palette-white);color:var(--palette-teal);border-color:var(--palette-line)}
.guided-options{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.guided-option{font:inherit;cursor:pointer;min-height:46px;padding:8px 17px;background:var(--palette-white);border-radius:12px;border:1.5px solid var(--palette-mint);font-weight:800;color:var(--palette-teal)}
.guided-option.selected{background:var(--palette-mint);border-color:var(--palette-teal)}
.guided-feedback{margin-top:12px;padding:13px 15px;background:var(--palette-cream);border-radius:12px;border:1px solid var(--palette-line);font-size:14px;line-height:1.8}
.guided-feedback.try{background:var(--palette-gold-soft);border-color:var(--palette-line)}
.guided-complete{margin-top:15px;padding:14px;background:var(--palette-white);border:1px solid var(--palette-mint);border-radius:14px;color:var(--palette-teal)}
.guide-divider{height:1px;background:var(--palette-mint);margin:18px 0}
.inside-recall-answer{background:var(--palette-mint);border:1px solid var(--palette-line);padding:12px 16px;border-radius:12px;margin-top:12px;font-weight:800;color:var(--palette-teal);text-align:center;line-height:2}
@media(max-width:700px){.guided-lesson{padding:17px 13px}.guided-comparison{grid-template-columns:1fr}.guided-mark{width:52px;height:52px}.guided-title-line p{font-size:14px}.guided-ayah{padding:13px}.guided-actions>*{flex:1}}


/* Approved illustrated game landing with fully functional click-through and How to Play section */
#module-two-view{background:linear-gradient(180deg,var(--palette-cream) 0%,var(--palette-cream) 58%,var(--palette-cream) 100%);min-height:calc(100vh - 80px);padding:26px 24px 50px}
.game-landing,.game-playing{width:min(1250px,100%);margin:0 auto}
.game-banner{position:relative;overflow:hidden;width:100%;border-radius:24px;box-shadow:0 14px 40px rgba(13,89,99,.12);line-height:0;border:1px solid var(--palette-mint)}
.game-banner-image{width:100%;height:auto;display:block}
.game-banner-click{position:absolute;left:38.0%;top:74%;height:20%;width:25%;background:transparent;border:0;border-radius:90px;cursor:pointer;transition:box-shadow .2s,transform .2s}
.game-banner-click:hover{box-shadow:0 0 0 5px rgba(255,255,255,.55),0 0 28px rgba(13,89,99,.35);transform:scale(1.025)}
.game-banner-click:focus-visible{outline:5px solid var(--palette-teal);outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.game-mobile-banner{display:none}
.game-instructions{margin-top:16px;border-radius:23px;background:var(--palette-white);border:1px solid var(--palette-mint);box-shadow:0 15px 37px rgba(13,89,99,.065);padding:27px 24px 22px;color:var(--palette-teal)}
.game-instructions-intro{text-align:center}
.game-instructions-intro h2{font-size:clamp(23px,2.7vw,34px);line-height:1.5;color:var(--palette-teal);margin:0 0 4px;font-weight:900}
.game-instructions-intro p{font-size:15px;color:var(--palette-muted);line-height:1.8;margin:0 auto 15px;max-width:850px}
.game-instructions-intro h3{font-size:clamp(18px,2vw,23px);line-height:1.6;color:var(--palette-teal);margin:12px auto 17px;font-weight:900}
.game-instruction-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.game-how-card{position:relative;min-height:159px;border:1.5px solid var(--palette-mint);background:var(--palette-white);border-radius:19px;padding:20px 22px 17px;box-shadow:0 3px 12px #0D596308}
.game-how-card h4{margin:0 0 8px;font-size:18px;color:var(--palette-teal);font-weight:900;line-height:1.6;padding-left:27px;padding-right:41px}
.game-how-card p{font-size:14px;line-height:1.85;margin:0;color:var(--palette-muted)}
.game-how-icon{position:absolute;right:17px;top:15px;display:block;font-size:27px;line-height:1.4}
.game-how-num{position:absolute;left:15px;top:16px;display:grid;place-items:center;border-radius:50%;width:31px;height:31px;background:var(--palette-cream);color:var(--palette-teal);font-weight:900}
.game-how-footer{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:14px;background:var(--palette-cream);border:1px solid var(--palette-mint);border-radius:16px;padding:15px 20px}
.game-how-footer p{display:none;margin:0;color:var(--palette-teal);font-size:14px;line-height:1.9}
.game-launch-bottom,.game-start-mobile{flex-shrink:0;background:linear-gradient(110deg,var(--palette-teal),var(--palette-teal));border:0;color:white;font-weight:900;cursor:pointer;border-radius:22px;padding:12px 24px;box-shadow:0 7px 17px rgba(13,89,99,.22);font-size:17px}
.game-launch-bottom:hover,.game-start-mobile:hover{filter:brightness(1.08)}
.game-player-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;background:var(--palette-white);border:1px solid var(--palette-mint);border-radius:18px;padding:12px 18px;margin-bottom:15px}
.game-player-toolbar strong{display:block;font-size:18px;color:var(--palette-teal)}
.game-player-toolbar span{display:block;font-size:12px;color:var(--palette-muted)}
.game-player-toolbar button{border:1px solid var(--palette-mint);background:var(--palette-cream);border-radius:13px;color:var(--palette-teal);padding:10px 16px;cursor:pointer;font-weight:800}
#embedded-challenge{width:100%;border:0;display:block;height:700px;background:var(--palette-mint);border-radius:20px}
.game-playing[hidden],.game-landing[hidden]{display:none!important}
.site-header .module-nav.challenge.active{background:linear-gradient(120deg,var(--palette-teal),var(--palette-border))!important;border-color:var(--palette-teal)!important;color:white!important}
@media(max-width:750px){
 #module-two-view{padding:15px 13px 35px}
 .game-banner{display:none}
 .game-mobile-banner{display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:23px;padding:15px 15px 24px;background:linear-gradient(160deg,var(--palette-mint),var(--palette-cream) 52%,var(--palette-mint));border:1px solid var(--palette-mint);box-shadow:0 14px 30px #0D596326}
 .game-mobile-banner img{display:block;width:100%;height:180px;object-fit:cover;object-position:center 45%;border-radius:17px;mask-image:linear-gradient(black 88%,transparent 100%)}
 .game-mobile-banner h1{color:var(--palette-teal);font-size:clamp(25px,6vw,33px);font-weight:900;line-height:1.5;margin:10px 0 15px}
 .game-start-mobile{width:min(300px,100%);min-height:53px}
 .game-instructions{padding:19px 15px;margin-top:15px}
 .game-instruction-cards{grid-template-columns:1fr;gap:10px}
 .game-how-card{min-height:0;padding:17px 18px}
 .game-how-footer{flex-direction:column;align-items:stretch;padding:15px}
 .game-launch-bottom{width:100%}
 .game-player-toolbar{flex-direction:column;align-items:stretch}
 .game-player-toolbar button{width:100%}
}
@media(min-width:751px) and (max-width:1000px){.game-how-card{padding:17px 15px}.game-how-card h4{font-size:16px;padding-left:24px}.game-how-card p{font-size:13px}}


/* Approved Quran-photo learning-section treatment: intentionally scoped to Module 1 only. */
.explore-intro-panel{
  position:relative;isolation:isolate;overflow:hidden;
  min-height:510px;
  padding:38px 40px 30px;
  border:2px solid var(--palette-mint);
  border-radius:32px;
  background:linear-gradient(112deg,var(--palette-cream) 0%,var(--palette-cream) 51%,var(--palette-cream) 100%);
  box-shadow:0 17px 40px rgba(13,89,99,.10);
}
.explore-intro-panel::before{
  content:'';position:absolute;z-index:-1;pointer-events:none;
  left:0;top:0;bottom:0;width:59%;height:auto;border:0;border-radius:0;
  background-image:
    linear-gradient(to right,rgba(13,89,99,.30) 0%,rgba(13,89,99,.34) 50%,rgba(13,89,99,.87) 88%,var(--palette-cream) 100%),
    url(./illustration-7480b9b8c29b.webp);
  background-size:cover,auto 108%;
  background-position:center,left center;
  background-repeat:no-repeat;
}
.explore-intro-panel::after{display:none}
.explore-heading-top{width:100%;margin-bottom:10px;align-items:flex-start;gap:10px}
.explore-heading-top .explore-title-row{
  width:60%;margin:0 0 0 auto;display:flex;align-items:center;
  gap:14px;
}
.explore-intro-panel .explore-title-row h2{
  font-size:clamp(28px,3.2vw,43px);line-height:1.5;
  font-weight:900;color:var(--palette-teal);letter-spacing:0;
}
.explore-intro-panel .explore-lens{
  background:linear-gradient(160deg,var(--palette-gold-soft),var(--palette-gold-soft));color:var(--palette-error-ink);
  border:1px solid var(--palette-gold-soft);box-shadow:0 8px 20px #E9B77213;
  width:58px;height:58px;flex:0 0 58px;border-radius:19px;
}
.explore-body{max-width:none;width:60%;margin:0 0 0 auto;padding:0}
.explore-body p{font-size:15px;line-height:2.1;color:var(--palette-teal);margin:13px 0 0}
.explore-body strong{color:var(--palette-teal);font-weight:900}
.explore-body .explore-hook{color:var(--palette-teal);font-size:18px;font-weight:900;line-height:2;margin:12px 0 16px}
.explore-body .explore-callout{
  position:relative;width:158%;max-width:none;margin:27px 0 0;
  padding:21px 23px 21px 115px;
  border:1px solid var(--palette-mint);border-right:5px solid var(--palette-teal);
  border-radius:20px;background:rgba(255,255,255,.95);
  box-shadow:0 9px 24px rgba(13,89,99,.10);
  font-size:16px;line-height:2.15;min-height:100px;
}
.explore-body .explore-callout::after{
  content:'📖';position:absolute;left:21px;top:50%;transform:translateY(-50%);
  width:64px;height:64px;border-radius:20px;
  background:linear-gradient(145deg,var(--palette-cream),var(--palette-cream));
  display:grid;place-items:center;font-size:33px;
}
.explore-body .small-star{color:var(--palette-gold);font-size:23px}
@media(max-width:900px){
  .explore-intro-panel{min-height:0;padding:27px 25px 25px}
  .explore-intro-panel::before{width:56%}
  .explore-heading-top .explore-title-row{width:67%}
  .explore-body{width:67%}
  .explore-body .explore-callout{width:142%;padding-left:85px}
  .explore-body .explore-callout::after{width:52px;height:52px;font-size:27px;left:13px}
  .explore-body p{font-size:14px;line-height:2}
}
@media(max-width:650px){
  .explore-intro-panel{padding:0 18px 20px;border-radius:23px}
  .explore-intro-panel::before{
    top:0;left:0;width:100%;height:174px;bottom:auto;
    background-image:linear-gradient(to bottom,rgba(13,89,99,.28) 0%,rgba(13,89,99,.34) 63%,var(--palette-cream) 100%),url(./illustration-7480b9b8c29b.webp);
    background-size:cover,cover;background-position:center,center 19%;
  }
  .explore-heading-top{padding-top:183px;display:flex;flex-direction:column-reverse;align-items:stretch;gap:8px;margin-bottom:9px}
  .explore-heading-top .explore-title-row{width:100%;gap:10px;align-items:center;margin:0}
  .explore-intro-panel .explore-title-row h2{font-size:clamp(22px,6vw,28px)!important;line-height:1.6}
  .explore-intro-panel .explore-lens{width:48px;height:48px;flex-basis:48px;border-radius:16px}
  .explore-intro-panel .scroll-top{position:absolute;top:15px;left:14px;z-index:1;background:rgba(255,255,255,.92)}
  .explore-body{width:100%;margin:0;padding:0}
  .explore-body .explore-hook{font-size:16px;line-height:2;margin:6px 0 9px}
  .explore-body p{font-size:13px;line-height:2;margin:10px 0 0}
  .explore-body .explore-callout{width:100%;margin:16px 0 0;padding:13px 14px 13px 15px;font-size:13px;min-height:0}
  .explore-body .explore-callout::after{display:none}
  .explore-body .small-star{font-size:18px}
}


/* Concise entry, guided learning first. */
.welcome{padding:20px 24px;gap:20px;margin-bottom:14px}.welcome h1{font-size:clamp(26px,3vw,37px);margin:8px 0}.welcome p{font-size:15px;line-height:1.8;margin:8px 0}.welcome-quran-art{min-height:0}.welcome-quran-art img{height:185px;min-height:185px;max-height:185px}.learning-outcome{font-weight:800;color:var(--palette-teal)!important}.guided-lesson{scroll-margin-top:110px;margin-top:14px}.lesson-steps{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.lesson-steps span{border:1px solid var(--palette-line);padding:6px 12px;border-radius:99px;background:var(--palette-white);color:var(--palette-teal);font-size:13px}.lesson-steps .current{color:var(--palette-white);background:var(--palette-teal);border-color:var(--palette-teal)}.teach-note{border-right:4px solid var(--palette-teal);border-radius:12px;background:var(--palette-mint);padding:14px 17px;color:var(--palette-teal);line-height:1.9;margin:13px 0}.teach-note p{margin:6px 0;font-size:14px}.quran-fragment{font-family:'Amiri Quran','Traditional Arabic',serif;font-size:21px;font-weight:700;color:var(--palette-teal)}.surah-guide summary{cursor:pointer;font-weight:800;color:var(--palette-teal)}.surah-guide[open] summary{margin-bottom:18px}.explore-intro-panel{min-height:0!important;padding:20px!important;background:var(--palette-cream)!important}.explore-intro-panel::before{display:none}.explore-title-row h2{font-size:24px!important}@media(max-width:650px){.welcome-copy{display:contents}.welcome-copy>.learning-outcome{grid-row:5}.welcome-quran-art{grid-row:7!important}.welcome-quran-art img{height:120px;min-height:120px;max-height:120px}.welcome-copy>.welcome-actions{grid-row:6}.welcome{gap:8px}.guided-lesson{scroll-margin-top:150px}}


/* Module 1 transition uses the existing Module 2 game-banner artwork. */
.module-one-game-banner{margin:22px 0 34px}
.module-one-banner-art{position:relative;overflow:hidden;width:100%;border-radius:24px;box-shadow:0 14px 40px rgba(13,89,99,.12);line-height:0;border:1px solid var(--palette-mint)}
.module-one-banner-art .game-banner-image{width:100%;height:auto;display:block}
.module-one-banner-link{position:absolute;left:38%;top:74%;height:20%;width:25%;border-radius:90px;transition:box-shadow .2s,transform .2s}
.module-one-banner-link:hover{box-shadow:0 0 0 5px rgba(255,255,255,.55),0 0 28px rgba(13,89,99,.35);transform:scale(1.025)}
.module-one-banner-link:focus-visible{outline:5px solid var(--palette-teal);outline-offset:3px}
.module-one-banner-mobile{display:none}
@media(max-width:760px){.module-one-game-banner{padding:12px 12px 20px;background:linear-gradient(160deg,var(--palette-mint),var(--palette-cream) 52%,var(--palette-mint));border:1px solid var(--palette-mint);border-radius:23px}.module-one-banner-art{border-radius:16px;box-shadow:none}.module-one-banner-mobile{display:block;text-align:center}.module-one-banner-mobile h2{font-size:clamp(22px,6vw,30px);color:var(--palette-teal);line-height:1.5;margin:14px 0}.module-one-banner-mobile a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;background:linear-gradient(110deg,var(--palette-teal),var(--palette-teal));color:white;font-size:17px;font-weight:900;text-decoration:none;border-radius:22px;box-shadow:0 7px 17px rgba(13,89,99,.22)}.module-one-banner-mobile a:focus-visible{outline:3px solid var(--palette-teal);outline-offset:4px}}
@media(prefers-reduced-motion:reduce){.module-one-banner-link{transition:none}}


/* Remove generated canvas margins through layout, preserving the banner artwork. */
.game-banner-image{aspect-ratio:1521/381;object-fit:cover;object-position:center}


/* Locked learning-journey design; live Arabic text and responsive geometry. */
#explore .explore-intro-panel{padding:40px 32px 42px!important;min-height:330px!important;border:2px solid var(--palette-mint);border-radius:32px;background:var(--palette-cream)!important;box-shadow:0 16px 38px rgba(13,89,99,.08);position:relative;overflow:hidden;isolation:isolate}
#explore .explore-intro-panel::before,#explore .explore-intro-panel::after{display:none!important;content:none!important}
#explore .journey-waves{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
#explore .explore-heading-top{padding:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}
#explore .explore-heading-top .explore-title-row{width:auto;flex:1;display:flex;align-items:center;gap:12px;margin:0;min-width:0}
#explore .explore-title-row h2{font-size:clamp(26px,3.1vw,40px)!important;line-height:1.65;color:var(--palette-teal);font-weight:900;margin:0!important}
#explore .explore-lens{width:140px;height:140px;flex:0 0 140px;background:none;border:none;border-radius:0;box-shadow:none;display:block}
#explore .journey-icon{display:block;width:100%;height:100%;overflow:visible}
#explore .scroll-top{position:static;flex:none;align-self:flex-start;margin-top:0;background:var(--palette-cream);color:var(--palette-teal);border:1px solid var(--palette-mint);border-radius:999px;padding:10px 18px;font-size:13px;font-weight:800;box-shadow:0 3px 5px rgba(13,89,99,.05);white-space:nowrap}
#explore .scroll-top:hover{background:var(--palette-mint);border-color:var(--palette-line)}
#explore .explore-body{width:100%;max-width:none;margin:0;padding:0;position:relative}
#explore .explore-body p{color:var(--palette-teal);font-size:clamp(15px,1.6vw,19px);line-height:2.05;margin:0;max-width:1000px;margin-right:0;margin-left:auto}
@media(max-width:900px){#explore .explore-intro-panel{padding:28px 24px 32px!important;min-height:285px!important}#explore .explore-heading-top{gap:14px}#explore .explore-title-row h2{font-size:29px!important}#explore .explore-lens{width:108px;height:108px;flex-basis:108px}#explore .scroll-top{font-size:11px;padding:9px 12px}}
@media(max-width:650px){#explore .explore-intro-panel{padding:20px 18px 28px!important;border-radius:24px;min-height:0!important}#explore .explore-heading-top{flex-direction:column-reverse;align-items:stretch;gap:18px;margin-bottom:18px}#explore .scroll-top{position:static;align-self:flex-end;margin:0;font-size:11px;padding:7px 12px}#explore .explore-heading-top .explore-title-row{width:100%;gap:6px}#explore .explore-title-row h2{font-size:clamp(22px,5.5vw,29px)!important;line-height:1.65}#explore .explore-lens{width:82px;height:82px;flex-basis:82px}#explore .explore-body p{font-size:14px;line-height:2.1}#explore .journey-waves{opacity:.65}}


/* Module 1 verse actions: stable action labels with descriptive icons. */
#module-one-view .verse-action-icon{width:19px;height:19px;flex:0 0 19px;display:block}
#module-one-view .listen-action,#module-one-view .read-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.7;min-height:36px}
#module-one-view .listen-action{padding:4px 8px;border-radius:8px;text-decoration:none;white-space:nowrap}
#module-one-view .listen-action:hover{background:rgba(255,255,255,.7);text-decoration:underline;text-underline-offset:4px}
@media(max-width:400px){#module-one-view .branch-head{flex-wrap:wrap;gap:6px}#module-one-view .listen-action{padding-right:0}}

/* Shared colour system: navy text, teal actions, violet play, soft surfaces. */
:root{--navy:var(--palette-teal);--ink:var(--palette-teal);--teal:var(--palette-teal);--teal2:var(--palette-teal);--teal-light:var(--palette-mint);--mint:var(--palette-mint);--cream:var(--palette-cream);--muted:var(--palette-muted);--line:var(--palette-mint);--gold:var(--palette-border);--shadow:0 10px 28px rgba(13,89,99,.06);--play:var(--palette-teal);--play-soft:var(--palette-mint)}
body{background:var(--palette-cream);color:var(--palette-teal)}
.site-header .module-nav.active,.site-header .module-nav.challenge.active{background:var(--palette-teal)!important;border-color:var(--palette-teal)!important;color:var(--palette-white)!important;box-shadow:0 3px 10px rgba(13,89,99,.12)}
.site-header .module-nav:not(.active){color:var(--palette-muted)!important;background:transparent!important}
.site-header .module-nav:not(.active):hover{background:var(--palette-mint)!important;color:var(--palette-success-ink)!important}
#module-one-view .welcome{background:var(--palette-white);border-color:var(--palette-mint);box-shadow:var(--shadow)}
#module-one-view .welcome h1,#module-one-view .guided-title-line h3{color:var(--palette-teal)}
#module-one-view .learning-outcome{color:var(--palette-teal)!important}
#module-one-view .primary-link,#module-one-view .guided-btn:not(.subtle),#module-one-view .quiz-start,#module-one-view .check-btn{background:var(--palette-teal)!important;background-image:none!important;color:var(--palette-white)!important;border-color:var(--palette-teal)!important}
#module-one-view .secondary-link{background:var(--palette-mint);color:var(--palette-teal);border-color:var(--palette-mint)}
#module-one-view .guided-btn.subtle,#module-one-view .next-btn{background:var(--palette-white);color:var(--palette-teal);border-color:var(--palette-mint)}
#module-one-view .guided-lesson{background:var(--palette-white);border-color:var(--palette-mint);box-shadow:var(--shadow)}
#module-one-view .guided-mark{background:var(--palette-mint);border-color:var(--palette-line)}
#module-one-view .guided-progress-track{background:var(--palette-mint)}
#module-one-view #guidedProgress{background:var(--palette-teal);background-image:none}
#module-one-view .lesson-steps span{color:var(--palette-muted);border-color:var(--palette-mint)}
#module-one-view .lesson-steps .current{background:var(--palette-teal);border-color:var(--palette-teal);color:var(--palette-white)}
#module-one-view .guided-ayah{background:var(--palette-white)!important;border-width:1px;border-style:solid;border-right-width:4px}
#module-one-view .guided-ayah-text,#module-one-view .verse{color:var(--palette-teal)}
#module-one-view .guided-option{color:var(--palette-teal);border-color:var(--palette-mint)}
#module-one-view .guided-option.selected,#module-one-view .choice.selected{background:var(--palette-mint);border-color:var(--palette-teal);color:var(--palette-success-ink)}
#module-one-view .guided-feedback,#module-one-view .feedback.good{background:var(--palette-mint);border-color:var(--palette-line);color:var(--palette-success-ink)}
#module-one-view .guided-feedback.try,#module-one-view .feedback.try{background:var(--palette-gold-soft);border-color:var(--palette-line);color:var(--palette-gold-ink)}
#module-one-view .scope-tabs,#module-one-view .toolbar{background:var(--palette-white);border-color:var(--palette-mint)}
#module-one-view .scope.active,#module-one-view .filter.active{background:var(--palette-teal)!important;background-image:none!important;border-color:var(--palette-teal)!important;color:var(--palette-white)!important}
#module-one-view .scope:not(.active),#module-one-view .filter:not(.active){color:var(--palette-muted)}
#module-one-view .search-wrap{background:var(--palette-cream);border-color:var(--palette-mint)}
#module-one-view .search-wrap input::placeholder{color:var(--palette-muted)}
#module-one-view .item,#module-one-view .item.same-surah,#module-one-view .item.same-surah.open{background:var(--palette-white);border:1px solid var(--palette-mint)!important;box-shadow:0 5px 16px rgba(13,89,99,.045)!important}
#module-one-view .item.open{border-color:var(--palette-border)!important}
#module-one-view .item.same-surah .parent-btn{background:var(--palette-white)!important;background-image:none!important;border-top:0!important;border-right:4px solid var(--accent)!important}
#module-one-view .item-title strong,#module-one-view .item.same-surah .item-title strong{color:var(--palette-teal)!important}
#module-one-view .type-chip{background:var(--palette-mint);color:var(--palette-success-ink)}
#module-one-view .type-chip.near{background:var(--palette-mint);color:var(--palette-teal)}
#module-one-view .item-icon{background:var(--palette-cream)!important;border-color:var(--palette-mint)!important;color:var(--palette-teal)!important}
#module-one-view .item.same-surah .item-icon{background:var(--palette-white)!important;border:1px solid var(--palette-mint)!important;color:var(--accent-dark)!important}
#module-one-view .tree,#module-one-view .item.same-surah .tree{background:var(--palette-white)!important;background-image:none!important}
#module-one-view .branch.colorful-branch,#module-one-view .item.same-surah .branch.colorful-branch{background:var(--palette-white)!important;background-image:none!important;border:1px solid var(--palette-mint)!important;border-right:4px solid var(--branch-color)!important}
#module-one-view .item.same-surah .branch.colorful-branch{border-right-color:var(--accent)!important}
#module-one-view .read-action{background:var(--palette-white);border-color:var(--palette-mint);color:var(--palette-teal)}
#module-one-view .read-action.done{background:var(--palette-mint);border-color:var(--palette-line);color:var(--palette-success-ink)}
#module-one-view .highlight-button{background:var(--palette-white);border-color:var(--palette-mint);color:var(--palette-teal)}
#module-one-view .highlight-button[aria-pressed=true]{background:var(--palette-mint);border-color:var(--palette-line);color:var(--palette-teal)}
#module-one-view .quiz{background:var(--palette-cream)!important;border-color:var(--palette-mint)!important}
#module-one-view .progress-wrap{background:var(--palette-white);border-color:var(--palette-mint)}
#module-one-view .bar{background:var(--palette-mint)}
#module-one-view .fill{background:var(--palette-teal);background-image:none}
#module-two-view .game-instructions-intro h2,#module-two-view .game-instructions-intro h3,#module-two-view .game-how-card h4,#module-two-view .game-player-toolbar strong{color:var(--palette-teal)}
#module-two-view .game-how-card{background:var(--palette-white);border-color:var(--palette-mint);box-shadow:0 5px 16px rgba(13,89,99,.045)}
#module-two-view .game-how-card p,#module-two-view .game-player-toolbar span{color:var(--palette-muted)}
#module-two-view .game-how-num{background:var(--palette-mint);color:var(--palette-teal)}
#module-two-view .game-launch-bottom,#module-two-view .game-start-mobile{background:var(--palette-teal);background-image:none;box-shadow:0 5px 14px rgba(13,89,99,.16)}
#module-one-view .module-one-banner-mobile a{background:var(--palette-teal);background-image:none;box-shadow:0 5px 14px rgba(13,89,99,.16)}
#module-two-view .game-player-toolbar{background:var(--palette-white);border-color:var(--palette-mint)}
#module-two-view .game-player-toolbar button{background:var(--palette-white);color:var(--palette-teal);border-color:var(--palette-mint)}

/* Correct banner lettering is rendered from vector text; the artwork is retained. */
#module-one-view .welcome-quran-art{background:var(--palette-mint);border-color:var(--palette-line);box-shadow:0 10px 26px rgba(13,89,99,.07)}
#module-one-view .welcome-quran-art figcaption{background:var(--palette-cream);border-color:var(--palette-mint);color:var(--palette-teal)}
#module-two-view .game-how-icon svg{display:block;width:32px;height:32px;color:var(--palette-teal)}


/* Larger touch targets; keep browser scrolling and pinch zoom available. */
button,.listen-action,.module-nav,.guided-btn,summary{
 min-height:48px!important;min-width:48px;touch-action:manipulation;
}
button,.listen-action,.module-nav,.guided-btn{ -webkit-tap-highlight-color:rgba(13,89,99,.18) }
button:not(:disabled):active{filter:brightness(.94)}
.listen-action{display:inline-flex;align-items:center;justify-content:center}
.filters,.scope-tabs,.choices,.guided-options{gap:10px!important}
.branch-head{flex-wrap:wrap}
@media(max-width:650px){.site-header .module-nav{min-width:0}}
