@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(../media/dm-sans-latin-ext-wght-normal.0x9ccydb91kkt.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(../media/dm-sans-latin-wght-normal.0fpdy-lufm69d.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/fraunces-vietnamese-wght-normal.27mjgerpp-p8q.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/fraunces-latin-ext-wght-normal.0w34jt9rgyj5v.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/fraunces-latin-wght-normal.2on4lsczlu6gv.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Tajawal;font-style:normal;font-display:swap;font-weight:700;src:url(../media/tajawal-arabic-700-normal.1evzl8mzd3v8t.woff2)format("woff2"),url(../media/tajawal-arabic-700-normal.2zh-2ezctdfii.woff)format("woff");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Tajawal;font-style:normal;font-display:swap;font-weight:700;src:url(../media/tajawal-latin-700-normal.2kdx17a60l6hw.woff2)format("woff2"),url(../media/tajawal-latin-700-normal.1p-xsbj62i337.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--ink:#193d36;--muted:#63766b;--deep:#15594e;--teal:#207567;--cream:#fcf8ee;--paper:#fffdf7;--line:#e5dfce;--coral:#d87863;--coral-ink:#a74836;--violet:#766197;--emerald-soft:#e6f1eb;--gold:#d5b975;--on-emerald:#fff8e7;--on-emerald-muted:#d8e8d9;--jewel-card:linear-gradient(155deg, #207567, #124d43);--deck-atmosphere:radial-gradient(ellipse at 20% 40%, #d878630c, transparent 55%), radial-gradient(ellipse at 80% 55%, #7661970b, transparent 55%);--success:#e5f3e6;--success-ink:#215b3c;--error:#fff0ec;--error-ink:#8b5046}*{box-sizing:border-box}html{min-width:320px}body{background:var(--cream);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:DM Sans Variable,Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a{color:inherit}::selection{color:var(--deep);background:#dcefe1}.game-shell{grid-template-columns:minmax(0,49%) minmax(0,51%);min-height:100svh;display:grid}.game-panel{background:var(--cream);z-index:1;flex-direction:column;min-width:0;min-height:100svh;padding:27px clamp(32px,5.25vw,86px) 22px;display:flex;position:relative}.game-header{justify-content:space-between;align-items:center;gap:18px;min-height:40px;display:flex}.game-header .brand{direction:ltr;margin-inline-end:auto}.back-link{color:var(--teal);cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:8px 0;font-size:11px;font-weight:800}.back-link:hover{text-underline-offset:3px;text-decoration:underline}.back-link:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.language-switch{color:var(--deep);cursor:pointer;background:0 0;border:1px solid #d7e2d8;border-radius:100px;min-width:49px;height:32px;padding:0 9px;font-size:11px;font-weight:800}.language-switch:hover{background:#edf5e9}.language-switch:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.brand{white-space:nowrap;letter-spacing:-.065em;align-items:center;gap:9px;font-size:20px;font-weight:760;line-height:1;display:inline-flex}.brand-symbol{background:var(--deep);color:#fff8df;border-radius:10px;place-items:center;width:31px;height:31px;font-size:22px;font-weight:400;display:grid;transform:rotate(-8deg);box-shadow:0 4px 8px #083a3c1f}.brand-deen{color:var(--teal);font-weight:430}.brand-light{color:#fff;text-shadow:0 2px 8px #0003}.brand-light .brand-symbol{color:var(--deep);background:#fffdf5}.brand-light .brand-deen{color:#e9f5e8}.mode-name{color:var(--teal);white-space:nowrap;border:1px solid #d7e2d8;border-radius:100px;margin-left:auto;padding:8px 13px;font-size:11px;font-weight:800;display:none}.progress-count{color:var(--deep);letter-spacing:.02em;white-space:nowrap;font-size:14px;font-weight:800}.progress-count span{color:#a2b0a7;font-weight:550}.progress-track{gap:5px;width:100%;margin-top:22px;display:flex}.progress-step{background:#dfe6da;border-radius:4px;flex:1;height:3px}.progress-step.is-active{background:var(--teal)}.question-content{width:min(100%,590px);margin:auto 0;padding:35px 0 18px;animation:.42s cubic-bezier(.2,.75,.25,1) both question-in}.eyebrow{color:var(--teal);text-transform:uppercase;letter-spacing:.17em;margin:0 0 13px;font-size:10px;font-weight:850}.question-content h1,.finished-view h1{letter-spacing:-.045em;margin:0;font-family:Fraunces Variable,Georgia,serif;font-size:clamp(38px,4vw,56px);font-weight:560;line-height:1.13}.question-content h1{max-width:570px}.verse-content{margin:28px 0 25px}.arabic-text{letter-spacing:0;color:var(--deep);text-align:right;margin:0;font-family:Tajawal,sans-serif;font-size:clamp(22px,2.3vw,31px);font-weight:700;line-height:1.52}.verse-content blockquote{color:#3b5559;letter-spacing:-.015em;margin:0;font-family:Fraunces Variable,Georgia,serif;font-size:clamp(19px,2vw,25px);font-weight:460;line-height:1.4}.mixed-prompt{color:#3b5559;margin:0;font-family:Fraunces Variable,Georgia,serif;font-size:clamp(20px,2.1vw,27px);line-height:1.4}.answer-section{gap:9px;display:grid}.choice{background:var(--paper);text-align:left;width:100%;min-height:58px;color:var(--ink);cursor:pointer;border:1px solid #e4e9df;border-radius:13px;align-items:center;gap:15px;padding:8px 16px;font-size:14px;font-weight:740;transition:transform .18s,border-color .18s,background .18s;display:flex;box-shadow:0 2px 6px #16403b06}.choice:not(:disabled):hover{background:#f7fbf4;border-color:#89b0a2}.choice:focus-visible,.next-button:focus-visible,.primary-button:focus-visible,.answer-reveal a:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.choice:disabled{cursor:default}.choice-letter{color:#477468;background:#edf3ea;border-radius:8px;flex:none;place-items:center;width:30px;height:30px;font-size:10px;font-weight:850;display:grid}.choice-mark{margin-inline-start:auto;font-size:20px;font-weight:500}.game-panel[dir=rtl]{font-family:Tajawal,sans-serif}.game-panel[dir=rtl] .question-content h1,.game-panel[dir=rtl] .finished-view h1{letter-spacing:0;font-family:Tajawal,sans-serif;font-weight:700;line-height:1.35}.game-panel[dir=rtl] .eyebrow{text-transform:none;letter-spacing:0}.game-panel[dir=rtl] .choice{text-align:right}.game-panel[dir=rtl] .next-button,.game-panel[dir=rtl] .primary-button{padding-inline:21px 17px}.game-panel[dir=rtl] .next-button span{transform:scaleX(-1)}.mode-hub{color:#203744;background:radial-gradient(circle at 50% -30%,#fff 0,#fbf9f5 50%,#f4f2ef 100%);min-height:100svh;padding:clamp(22px,3.2vw,46px)}.mode-hub[dir=rtl]{font-family:Tajawal,sans-serif}.hub-header{justify-content:space-between;align-items:flex-end;gap:30px;max-width:1560px;margin:0 auto 27px;display:flex}.hub-wordmark{color:#8b9ba3;letter-spacing:.36em;margin:0 0 7px;font-size:10px;font-weight:850}.hub-header h1{letter-spacing:-.045em;margin:0;font-family:Fraunces Variable,Georgia,serif;font-size:clamp(32px,3.1vw,48px);font-weight:440;line-height:1.13}.mode-hub[dir=rtl] .hub-header h1{letter-spacing:0;font-family:Tajawal,sans-serif;font-weight:700}.hub-actions{align-items:center;gap:18px;padding-bottom:4px;display:flex}.hub-actions p{color:#8295a0;letter-spacing:.15em;white-space:nowrap;margin:0;font-size:11px;font-weight:700}.mode-hub[dir=rtl] .hub-actions p{letter-spacing:0}.mode-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;max-width:1560px;margin:0 auto;display:grid}.mode-card{--card-tint:#dcefe7;--card-accent:#3d9984;text-align:start;min-width:0;min-height:370px;color:inherit;cursor:pointer;background:#ffffffc7;border:1px solid #e8ebe9;border-radius:17px;flex-direction:column;padding:16px;transition:transform .22s,box-shadow .22s,border-color .22s;display:flex;box-shadow:0 7px 23px #17323f0b,0 1px 2px #17323f0a}.mode-card:hover{border-color:#c6ddd4;transform:translateY(-4px);box-shadow:0 16px 32px #17323f17}.mode-card:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.mode-card-peach{--card-tint:#fae8de;--card-accent:#b87052}.mode-card-blue{--card-tint:#e3ebf9;--card-accent:#4279bd}.mode-card-silver{--card-tint:#e9edf0;--card-accent:#5b7485}.mode-card-lilac{--card-tint:#efe5f2;--card-accent:#8f69a2}.mode-card-sand{--card-tint:#f7ecde;--card-accent:#b58a51}.mode-card-lavender{--card-tint:#ebe6f6;--card-accent:#7365a5}.mode-card-teal{--card-tint:#dff0ed;--card-accent:#3c8b84}.mode-card-head{align-items:center;gap:12px;min-height:54px;margin-bottom:12px;display:flex}.mode-icon{background:var(--card-tint);width:42px;height:42px;color:var(--card-accent);border-radius:50%;flex:none;place-items:center;font-size:23px;font-weight:800;display:grid}.mode-card-heading{flex-direction:column;gap:3px;min-width:0;display:flex}.mode-card-heading strong{font-size:14px;font-weight:840;line-height:1.1}.mode-card-heading small{color:#657b86;font-size:10px;font-weight:550;line-height:1.35}.mode-arrow{color:#9bacad;align-self:flex-start;margin-inline-start:auto;font-size:17px}.mode-art,.mode-verse-preview,.mode-order-preview{background:var(--card-tint);border-radius:11px;width:100%;height:145px;position:relative;overflow:hidden}.mode-art img{object-fit:cover;object-position:center 36%;transition:transform .35s}.mode-card:hover .mode-art img{transform:scale(1.04)}.mode-verse-preview{text-align:center;color:#254a4b;place-items:center;padding:20px;font-family:Fraunces Variable,Georgia,serif;font-size:21px;line-height:1.36;display:grid}.mode-hub[dir=rtl] .mode-verse-preview{font-family:Tajawal,sans-serif;font-size:24px;font-weight:700}.mode-order-preview{background:linear-gradient(135deg,#edf6f2,#d9ebe7);grid-template-columns:repeat(4,1fr);place-items:center;gap:7px;padding:17px;display:grid}.mode-order-preview span{aspect-ratio:1;width:100%;max-width:55px;color:var(--card-accent);background:#fff;border-radius:12px;place-items:center;font-size:16px;font-weight:850;display:grid;box-shadow:0 5px 12px #1a515214}.mode-order-preview span:nth-child(2){transform:translateY(15px)}.mode-order-preview span:nth-child(3){transform:translateY(-10px)}.mode-prompt{text-align:center;flex:1;place-items:center;min-height:48px;margin:9px 2px;font-size:11px;font-weight:760;line-height:1.4;display:grid}.mode-choice-preview{grid-template-columns:1fr 1fr;gap:5px;display:grid}.mode-choice-preview span{text-align:center;background:#f6f8f7;border:1px solid #e8eceb;border-radius:7px;place-items:center;min-height:28px;padding:4px 6px;font-size:10px;font-weight:750;line-height:1.15;display:grid}.mode-hub[dir=rtl] .mode-choice-preview span{font-size:11px}.mode-order-invite{text-align:center;color:var(--card-accent);margin:8px 0 0;font-size:11px;font-weight:800}.hub-footer{color:#9aabb2;letter-spacing:.15em;justify-content:space-between;max-width:1560px;margin:22px auto 0;font-size:9px;font-weight:750;display:flex}.mode-hub[dir=rtl] .hub-footer{letter-spacing:0}.order-instruction{color:var(--muted);margin:0 0 12px;font-size:12px}.order-slots{grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:12px;display:grid}.order-slots span{min-height:64px;color:var(--deep);text-align:center;background:#e9f4ed;border:1px solid #cbded6;border-radius:10px;place-items:center;padding:7px;font-size:11px;font-weight:800;display:grid}.order-options{gap:7px;display:grid}.order-options button{border:1px solid var(--line);background:var(--paper);min-height:44px;color:var(--ink);text-align:start;cursor:pointer;border-radius:10px;padding:8px 13px;font-size:12px;font-weight:700}.order-options button:hover:not(:disabled){border-color:var(--teal)}.order-options button:disabled{opacity:.42;cursor:default}.order-reset{color:var(--teal);cursor:pointer;background:0 0;border:0;padding:8px 0 0;font-size:11px;font-weight:800;text-decoration:underline}.choice-correct{background:var(--success);color:var(--success-ink);border-color:#aed5b3}.choice-correct .choice-letter{color:var(--success-ink);background:#cee7d1}.choice-wrong{background:var(--error);color:var(--error-ink);border-color:#eccbc4}.choice-wrong .choice-letter{color:var(--error-ink);background:#f8dcd5}.answer-hint{color:#a0aaa3;margin:0;font-size:11px}.answer-reveal{justify-content:space-between;align-items:center;gap:18px;animation:.25s both reveal-in;display:flex}.reveal-status{color:var(--deep);margin:0 0 4px;font-size:13px;font-weight:850}.reveal-explanation{max-width:420px;color:var(--muted);margin:0;font-size:11px;line-height:1.45}.answer-reveal a{color:var(--teal);text-underline-offset:2px;margin-top:5px;font-size:10px;font-weight:800;display:inline-block}.next-button,.primary-button{background:var(--deep);color:#fffdf7;cursor:pointer;border:0;border-radius:100px;flex:none;justify-content:center;align-items:center;gap:22px;min-height:45px;padding:0 17px 0 21px;font-size:12px;font-weight:850;transition:background .18s,transform .18s;display:inline-flex}.next-button:hover,.primary-button:hover{background:#1b6668;transform:none}.next-button span,.primary-button span{font-size:19px;font-weight:400;line-height:1}.scene-panel{isolation:isolate;background:#173c4e;height:100svh;position:sticky;top:0;overflow:hidden}.scene-image-wrap{position:absolute;inset:0;overflow:hidden}.scene-image{object-fit:cover;object-position:center top;transform-origin:top;animation:.6s both scene-in;transform:scale(1.28)}.scene-shade{pointer-events:none;background:linear-gradient(#041f3061,#0000 30% 68%,#041f3040);position:absolute;inset:0}.scene-corner{color:#ecf6f0;position:absolute;top:31px;left:35px}.scene-index{color:#fff;letter-spacing:.12em;text-shadow:0 1px 5px #0003;font-size:11px;font-weight:750;position:absolute;bottom:34px;right:36px}.scene-index span{opacity:.6;margin:0 5px}.finished-view{width:min(100%,540px);margin:auto 0;padding:40px 0 100px;animation:.4s both question-in}.finished-star{color:#c8a75f;margin-bottom:35px;font-size:44px;display:block}.finished-view h1{font-size:clamp(49px,5vw,70px)}.finished-view h1 em{color:var(--teal);font-weight:460}.finished-view>p:not(.eyebrow){max-width:390px;color:var(--muted);margin:24px 0 30px;font-size:16px;line-height:1.6}@keyframes question-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes reveal-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes scene-in{0%{opacity:.65;transform:scale(1.31)}to{opacity:1;transform:scale(1.28)}}@media (max-width:1050px) and (min-width:761px){.game-shell{grid-template-columns:54% 46%}.game-panel{padding-inline:32px}.mode-name{display:none}.scene-image{transform:scale(1.55)}@keyframes scene-in{0%{opacity:.65;transform:scale(1.58)}to{opacity:1;transform:scale(1.55)}}}@media (max-width:1100px){.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-card{min-height:355px}}@media (max-width:760px){.hub-header{align-items:flex-start;gap:15px}.hub-header h1{max-width:500px}.hub-actions p{display:none}.mode-hub{padding:20px}.game-shell{flex-direction:column;display:flex}.scene-panel{flex:none;order:0;height:clamp(225px,30svh,310px);position:relative}.scene-image{object-position:center 34%;animation:.55s both mobile-scene-in;transform:none}.scene-shade{background:linear-gradient(#06293991,#0000 58%,#06293938)}.scene-corner{top:19px;left:20px}.scene-corner .brand{font-size:18px;display:inline-flex}.scene-index{bottom:41px;right:22px}.game-panel{border-radius:23px 23px 0 0;order:1;min-height:calc(70svh + 22px);margin-top:-22px;padding:16px 20px 17px}.game-header{min-height:25px}.game-header .brand,.mode-name{display:none}.game-header{gap:12px}.back-link{margin-inline-end:auto}.progress-count{font-size:13px}.progress-track{margin-top:13px}.question-content{margin:0;padding:25px 0 8px}.eyebrow{margin-bottom:8px;font-size:9px}.question-content h1{font-size:clamp(31px,8.6vw,42px)}.verse-content{margin:15px 0 17px}.arabic-text{font-size:clamp(20px,5.9vw,28px);line-height:1.45}.verse-content blockquote{font-size:clamp(18px,5vw,22px);line-height:1.35}.mixed-prompt{font-size:clamp(18px,5vw,22px)}.answer-section{gap:7px}.choice{border-radius:11px;gap:12px;min-height:49px;padding:7px 11px;font-size:13px}.choice-letter{width:27px;height:27px}.answer-bottom{min-height:83px;padding-top:13px}.answer-reveal{align-items:flex-end}.reveal-explanation{font-size:10px}.next-button{gap:10px;min-height:39px;padding:0 12px 0 15px}.finished-view{margin:auto 0;padding:45px 0 90px}}@media (max-width:600px){.mode-grid{grid-template-columns:1fr;gap:12px}.mode-card{min-height:330px}.mode-art,.mode-verse-preview,.mode-order-preview{height:135px}.hub-header h1{font-size:clamp(29px,8vw,39px)}.hub-wordmark{font-size:9px}.order-slots span{min-height:53px;font-size:9px}}@media (max-width:390px){.game-panel{padding-inline:17px}.scene-corner{left:17px}.answer-reveal{flex-direction:column;align-items:flex-start;gap:10px}.answer-bottom{min-height:135px}}:root{--ease-settle:cubic-bezier(.2,.8,.2,1);--round-direction:1}.game-panel[dir=rtl]{--round-direction:-1}.question-content{margin:35px 0 0;padding-top:0;animation:none}.question-content h1{letter-spacing:-.025em;font-family:DM Sans Variable,sans-serif;font-size:21px;font-weight:700;line-height:1.35}.question-content .eyebrow{margin-bottom:8px;font-size:11px}.round-body{animation:round-enter .26s var(--ease-settle) both;outline:none}.round-body.is-leaving{pointer-events:none;animation:80ms cubic-bezier(.4,0,1,1) both round-exit}.verse-content{align-items:center;min-height:120px;margin:13px 0 20px;display:flex}.verse-content blockquote,.mixed-prompt{font-size:clamp(25px,2.25vw,33px);line-height:1.45}.arabic-text{font-size:clamp(26px,2.4vw,35px);line-height:1.65}.choice{min-height:59px;font-size:16px;transition:background .3s,border-color .3s,box-shadow .11s;box-shadow:0 3px #dce4db,0 5px 10px #163b3405}.choice:not(:disabled):hover,.game-panel[dir=rtl] .choice:not(:disabled):hover{transform:translateY(-2px)}.choice:not(:disabled):active,.game-panel[dir=rtl] .choice:not(:disabled):active{transform:none;box-shadow:0 0 #dce4db}.choice-correct{box-shadow:0 3px #bed9c2}.choice-wrong{box-shadow:0 3px #e9cfc8}.choice-mark{flex:none}.choice-mark path{stroke-dasharray:32;stroke-dashoffset:32px;animation:.3s ease-out forwards mark-draw}.answer-bottom{min-height:180px;padding-top:23px}.answer-reveal{animation:reveal-in .2s var(--ease-settle) both;align-items:flex-start;gap:20px}.reveal-status{margin-bottom:7px;font-size:15px}.reveal-explanation{font-size:14px;line-height:1.6}.answer-reveal a{margin-top:8px;font-size:12px}.answer-hint{color:#72857b;font-size:12px}.next-button{min-height:45px;font-size:13px}.next-button:active,.primary-button:active,.mode-card:active{transform:scale(.98)}.next-button:disabled{cursor:default}.progress-step{height:4px;transition:background .2s;position:relative;overflow:hidden}.progress-step:after{content:"";background:var(--teal);transform-origin:0;transition:transform .32s var(--ease-settle);position:absolute;inset:0;transform:scaleX(0)}.game-panel[dir=rtl] .progress-step:after{transform-origin:100%}.progress-step.is-current{background:#a7c8ba}.progress-step.is-complete:after{transform:scaleX(1)}.scene-image{animation:.35s ease-out both scene-reveal}.finished-view{padding:35px 0}.finished-view h1{font-size:clamp(30px,3vw,42px);line-height:1.25}.finished-view h1:focus{outline:none}.finished-star{animation:reward-settle .5s var(--ease-settle) both;margin-bottom:18px}.finished-view .summary-score{align-items:baseline;gap:15px;margin:23px 0;font-size:14px;display:flex}.summary-score strong{color:var(--deep);font-size:42px}.summary-score strong span{color:var(--muted);font-size:22px}.summary-review h2{margin:0 0 12px;font-size:15px}.summary-review ul{margin:0;padding:0;list-style:none}.summary-review li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:11px 0;font-size:14px;display:flex}.summary-review a{color:var(--teal);white-space:nowrap;font-size:12px}.summary-actions{align-items:center;gap:22px;margin-top:28px;display:flex}.order-slots span{transition:background .18s}.order-options button{box-shadow:0 2px 0 var(--line);font-size:14px;transition:transform .1s,opacity .18s}.order-options button:active:not(:disabled){transform:none}.order-options button:focus-visible,.order-reset:focus-visible{outline:2px solid var(--teal);outline-offset:3px}@keyframes round-enter{0%{opacity:0;transform:translateX(calc(18px * var(--round-direction)))}to{opacity:1;transform:translate(0)}}@keyframes round-exit{to{opacity:0;transform:translateX(calc(-12px * var(--round-direction)))}}@keyframes answer-settle{0%{transform:scale(.99)}65%{transform:scale(1.007)}to{transform:scale(1)}}@keyframes answer-nudge{0%,to{transform:translate(0)}35%{transform:translate(-3px)}70%{transform:translate(2px)}}@keyframes mark-draw{to{stroke-dashoffset:0}}@keyframes scene-reveal{0%{opacity:.6}to{opacity:1}}@keyframes reward-settle{0%{opacity:0;transform:scale(.7)rotate(-15deg)}to{opacity:1;transform:scale(1)rotate(0)}}@media (max-width:760px){.question-content{margin:23px 0 0;padding:0}.question-content h1{font-size:18px}.verse-content{min-height:105px;margin:8px 0 18px}.verse-content blockquote,.mixed-prompt{font-size:24px}.arabic-text{font-size:27px}.choice{min-height:54px;font-size:15px}.answer-reveal{flex-direction:column;align-items:stretch;gap:14px}.reveal-explanation{font-size:14px}.next-button{align-self:flex-end;min-width:112px}.answer-bottom{min-height:190px;padding-top:20px}.scene-panel{height:clamp(190px,26svh,260px)}.finished-view{padding:30px 0 60px}.finished-view h1{font-size:32px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.scene-image.scene-image-clean{object-position:center;transform:none}.scene-buffer,.scene-current{width:100%;height:100%;transition:opacity .18s;animation:none;position:absolute;inset:0}.scene-current{z-index:1}html[data-page-hidden] *,html[data-page-hidden] :before,html[data-page-hidden] :after{animation-play-state:paused!important}.answer-above{min-height:125px;margin:0 0 20px}.answer-above .answer-reveal{animation:none}.answer-above .reveal-status{min-height:1.6em}.choice-correct:not(:disabled):hover{background:var(--success);border-color:#aed5b3}.choice-wrong:not(:disabled):hover{background:var(--error);border-color:#eccbc4}.game-header{grid-template-columns:auto 1fr auto auto;display:grid}.game-header .brand{direction:inherit;justify-self:start;margin:0;display:inline-flex}.game-header .back-link{justify-self:end}.scene-corner .brand{display:none}@media (max-width:760px){.game-header{gap:10px}.game-header .brand{font-size:16px}.game-header .brand-symbol{width:25px;height:25px;font-size:18px}.game-panel{min-height:calc(82svh + 18px);margin-top:-18px;padding:12px 18px 24px}.game-header{gap:8px;min-height:44px}.game-header .back-link,.game-header .language-switch{justify-content:center;align-items:center;min-width:44px;min-height:44px;margin:0;display:inline-flex}.game-header .back-link{font-size:14px}.scene-index{display:none}.game-panel .progress-track{border-radius:4px;height:3px;margin:10px 0 0;display:block;overflow:hidden}.progress-track .progress-step{display:none}.question-content{margin:16px 0 0;padding:0}.question-content h1{margin-bottom:8px;font-size:22px}.question-stage{align-items:center;min-height:130px;margin:0 0 16px;display:grid}.question-stage>.verse-content,.question-stage>.answer-above{grid-area:1/1;min-height:0;margin:0}.question-stage.is-answered>.verse-content{visibility:hidden}.question-stage .arabic-text,.question-stage .mixed-prompt,.question-stage blockquote{margin:0;font-size:21px;line-height:1.55}.question-stage .reveal-explanation{font-size:14px;line-height:1.55}.question-stage .reveal-status{min-height:2.8em;margin:0 0 5px;font-size:14px}.question-stage .answer-reveal a{align-items:center;min-height:32px;margin-top:2px;display:inline-flex}.choice{min-height:52px;font-size:14px}.order-instruction{margin:0 0 8px;font-size:12px}.order-slots{margin-bottom:10px}.order-slots span{height:54px;min-height:54px;padding:5px;font-size:10px;overflow:auto}.order-options{gap:7px}.order-options button{min-height:46px;padding:8px 10px;font-size:13px}.order-reset{min-height:44px}.scene-panel{height:40svh}.game-panel{min-height:calc(60svh + 18px)}.question-stage{align-items:start}.question-stage>.verse-content{align-items:flex-start;padding-top:4px}.question-stage>.answer-above{align-self:start;padding-top:4px}.question-content h1{margin-bottom:4px}}.reveal-status.result-wrong{color:#ad342e}.reveal-status.result-correct{color:var(--success-ink)}.order-slots.result-wrong span,.order-options button.result-wrong{color:#962f29;background:#ffe3df;border-color:#d9857d}.order-slots.result-correct span,.order-options button.result-correct{background:var(--success);color:var(--success-ink);border-color:#aed5b3}.choice-wrong,.choice-wrong:not(:disabled):hover{color:#962f29;background:#ffe3df;border-color:#d9857d}.scene-photo-layer{opacity:0;transition:opacity .45s;position:absolute;inset:0;overflow:hidden}.scene-photo-layer.is-ready{opacity:1}.scene-photo-layer .scene-drifting{width:100%;height:100%;animation:scene-gentle-drift var(--drift-time,22s) ease-in-out infinite alternate;transform-origin:50%;object-position:center;position:absolute;inset:0;transform:scale(1.06)}@keyframes scene-gentle-drift{0%{transform:scale(1.06) translate(var(--drift-x),var(--drift-y))}50%{transform:scale(1.08)translate(0)}to{transform:scale(1.06) translate(var(--drift-end-x),var(--drift-end-y))}}@media (prefers-reduced-motion:reduce){.scene-photo-layer{transition:none}.scene-photo-layer .scene-drifting{animation:none;transform:none}}.answer-above .answer-reveal{opacity:0;transition:opacity .28s}.question-stage.is-answered .answer-reveal{opacity:1}.order-slots span,.order-options button{transition:background .3s,border-color .3s,color .3s,opacity .25s}.choice.choice-correct,.choice.choice-wrong,.order-options button.result-correct,.order-options button.result-wrong{isolation:isolate;background:var(--paper);position:relative;overflow:hidden}.choice.choice-correct:before,.choice.choice-wrong:before,.order-options button.result-correct:before,.order-options button.result-wrong:before{content:"";z-index:-1;background:var(--answer-fill);transform-origin:0;pointer-events:none;animation:.3s cubic-bezier(.22,1,.36,1) both answer-color-fill;position:absolute;inset:0}.choice-correct,.order-options button.result-correct{--answer-fill:var(--success)}.choice-wrong,.order-options button.result-wrong{--answer-fill:#ffe3df}.game-panel[dir=rtl] .choice:before,.game-panel[dir=rtl] .order-options button:before{transform-origin:100%}.choice.choice-correct:not(:disabled):hover,.choice.choice-wrong:not(:disabled):hover{background:var(--paper)}@keyframes answer-color-fill{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@media (prefers-reduced-motion:reduce){.choice.choice-correct:before,.choice.choice-wrong:before,.order-options button.result-correct:before,.order-options button.result-wrong:before{animation:none;transform:none}}.round-body{position:relative}.answer-confetti{inset-inline-start:50%;pointer-events:none;z-index:5;width:0;height:0;position:absolute;top:45%}.answer-confetti i{opacity:0;border-radius:2px;width:5px;height:9px;animation:.8s cubic-bezier(.18,.65,.35,1) both correct-confetti;position:absolute}@keyframes correct-confetti{0%{opacity:0;transform:translate(0)rotate(0)scale(.4)}15%{opacity:1}65%{opacity:1;transform:translate(var(--confetti-x),var(--confetti-y)) rotate(var(--confetti-turn)) scale(1)}to{opacity:0;transform:translate(var(--confetti-x),calc(var(--confetti-y) + 35px)) rotate(var(--confetti-turn)) scale(.7)}}@media (prefers-reduced-motion:reduce){.answer-confetti{display:none}}.choice.choice-correct,.order-options button.result-correct{overflow:visible}.choice:before,.order-options button:before{border-radius:inherit}.choice .answer-confetti,.order-options button .answer-confetti{top:50%;inset-inline-start:50%}.game-panel .progress-track{background:0 0;height:4px;display:flex;overflow:hidden}.progress-track .progress-step{min-width:0;display:block}.progress-track[data-dense]{gap:1px}.progress-step.is-wrong:after{background:#c95a50}.progress-step.is-correct:after{background:var(--teal)}
