*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;background:#19336c;color:#fff;font-family:"Noto Sans Arabic","Noto Naskh Arabic",system-ui,"Segoe UI",Tahoma,sans-serif;-webkit-text-size-adjust:100%}
#home{max-width:560px;margin:0 auto;position:relative;padding-bottom:70px;overflow-x:hidden}
.hero{position:relative;height:397px;background:linear-gradient(#1f6a8a,#2a7d9f)}
.logout{position:fixed;z-index:20;left:9px;top:9px;height:38px;padding:0 14px;border:0;border-radius:999px;background:#f4c84b;color:#14224a;font:inherit;font-weight:800;font-size:16px;box-shadow:0 3px 8px #0004}
.coins{position:fixed;z-index:20;right:9px;top:14px;height:27px;min-width:47px;padding:0 9px;border-radius:999px;background:#f4c84b;color:#14224a;display:flex;align-items:center;gap:5px;font-weight:800;font-size:14px;direction:rtl}
.coin{display:inline-block;width:15px;height:15px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#ffe58a,#d9a526);border:1px solid #b9851a}
.teacher{position:absolute;left:50%;top:29px;width:96px;height:96px;margin-left:-48px;border-radius:50%;background:linear-gradient(135deg,#d8b24a,#4a3fa8);padding:3px}
.tp{width:100%;height:100%;border-radius:50%;border:3px solid #fff;background:#2a7d9f}
.tname{position:absolute;left:0;right:0;top:128px;text-align:center;font-size:19px;font-weight:800}
.pen{position:absolute;left:22px;top:263px}
.pc{width:55px;height:55px;margin-left:9px;border-radius:50%;border:3px solid #9aa3b5;background:#2a7d9f}
.wel{margin-top:16px;display:flex;gap:7px;white-space:nowrap;font-size:16px;direction:rtl}.wel b{font-weight:800}.wel .en{font-family:system-ui,Arial,sans-serif;font-size:15px}
.lgo{position:absolute;right:11px;top:272px;width:90px;text-align:center}
.lc{width:63px;height:63px;margin:0 auto 22px;border-radius:50%;border:3px solid #f4c84b;background:#2a7d9f}
.lgo small{display:block;font:700 7.5px system-ui,Arial,sans-serif;white-space:nowrap}
.body{padding:0 22px}
.hint{margin:13px 13px 0;height:26px;line-height:25px;padding:0 10px;border:1px solid #4565a6;border-radius:10px;background:#1f3b78;color:#8fa6d6;font-size:12px;text-align:right}
h2{margin:36px 0 0;font-size:22px;font-weight:800;color:#f4c84b;text-align:right}
.gbox{margin:16px 0 0;border:2px solid #f4c84b;border-radius:12px;background:#34487d;padding:10px 14px;font-size:17px;font-weight:800;line-height:1.6;text-align:right}
.row{display:flex;gap:10px;overflow-x:auto;margin:40px 0 0;padding-bottom:6px;direction:rtl;scrollbar-width:thin;scrollbar-color:#7b87a3 transparent}
.row::-webkit-scrollbar{height:4px}.row::-webkit-scrollbar-thumb{background:#7b87a3;border-radius:3px}
.pc2{flex:0 0 85px;height:132px;border:1px solid #3d5290;border-radius:16px;background:#27427f;text-align:center;padding-top:19px}
.pc2 small{display:block;font-size:11px;color:#cfd9f2;font-weight:700}.pc2 b{display:block;font-size:24px;color:#f4c84b;line-height:1.35}.pc2 strong{display:block;font-size:14px;line-height:1.2}.pc2 u{display:block;text-decoration:none;font-size:13px;color:#b9c6e6;margin-top:4px}
hr{border:0;border-top:1px solid #34508a;margin:36px 2px 0}
.sbtn{width:164px;margin:25px auto 0;border:1px solid #3d5290;border-radius:15px;background:#243f7c;padding:15px 14px 14px;text-align:center;font-size:17px;font-weight:700;line-height:1.5}
.wbtn{margin:9px 0 0;height:55px;line-height:53px;border:1px solid #3d5290;border-radius:15px;background:#243f7c;text-align:center;font-size:17px;font-weight:700}
.wbtn.first{margin-top:50px}
.h2b{margin-top:70px;font-weight:700}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:44px;padding-bottom:20px}
.lc2{position:relative;height:155px;border-radius:22px;background:#1b3470;border:2px solid #2c4580;overflow:hidden;padding:7px 11px;text-align:right}
.locked .lc2.open{} 
.lc2 .band{position:absolute;left:0;right:0;top:0;height:7px;border-radius:0}
.g .band{background:#3cb371}.b .band{background:#3b9bd0}.y .band{background:#e2b33a}.o .band{background:#e8764f}.p .band{background:#7e5bd1}.s .band{background:#8591a5}
.lc2 em{position:absolute;left:12px;top:14px;font-style:normal;font-size:11px;font-weight:800;color:#36c06f}
.lc2:not(.g) em{color:#9bb0d6}
.bd{display:flex;align-items:center;justify-content:center;width:45px;height:45px;margin:17px 0 0;border-radius:50%;background:#dfe3ea;border:3px solid #b9c0cf;color:#14224a;font:800 20px system-ui,Arial,sans-serif;float:right;clear:both}
.lc2 p{clear:both;margin:6px 0 0;font-size:13px;color:#b8c4e2;text-align:right}
.go,.lkb,.soon{display:block;width:fit-content;margin:9px 0 0 auto;padding:0 10px;height:30px;line-height:30px;border-radius:8px;font-size:13px;font-weight:800}
.go{background:#f4c84b;color:#14224a}
.lkb,.soon{border:1px solid #4a5f99;color:#f4c84b;background:transparent}
/* all-open state (screenshots 1-2): gold border + Dروس */
body:not(.locked) .lc2.open{border-color:#f4c84b}body:not(.locked) .lk{display:none}
/* locked state (screenshot 3) */
body.locked .lc2.open:not(.act) .go{display:none}body.locked .lc2.open:not(.act){border-color:#2c4580}body.locked .lc2.act{border-color:#f4c84b}
body.locked .lc2.p .go,body.locked .lc2.p{}
.lk{display:none}body.locked .lk{display:block}
body.locked .lkb{margin-top:9px}
.lks{display:flex;align-items:center;justify-content:center;width:33px;height:33px;margin:10px 0 0 auto;border-radius:9px;background:#dfe3ea}
.pr{display:flex;align-items:center;justify-content:center;gap:5px;width:fit-content;margin:10px 0 0 auto;font-size:12px;font-weight:800;color:#8fa0c8;height:28px;padding:0 8px;border-radius:9px}
.pr.gold{background:#f4c84b;color:#14224a}
.fab{position:fixed;z-index:20;right:18px;bottom:17px;width:35px;height:35px;border-radius:50%;border:0;background:#f2f4f8;color:#2461a8;font:800 20px system-ui,Arial,sans-serif;box-shadow:0 2px 8px #0005}
.ad{position:fixed;left:0;right:0;bottom:0;height:40px;display:none;align-items:center;justify-content:center;background:#19336c;border-top:1px dashed #5a73ad;color:#aab8dd;font-size:12px;z-index:15}
.lc2{height:auto;min-height:155px;padding-bottom:12px}
body.locked .lc2{min-height:225px}body.locked .lc2.p,body.locked .lc2.s{min-height:150px}
.tp{overflow:hidden}.tp img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.coin{position:relative;width:20px;height:20px;box-sizing:border-box;border:2px solid #a8730f;background:radial-gradient(circle at 35% 30%,#fff1a8,#e8b52e 60%,#c58d14);box-shadow:inset 0 0 0 2px #f7d56a,0 1px 2px rgba(0,0,0,.35);flex:none}
.coin::after{content:"$";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:900 12px/1 Arial,sans-serif;color:#8a5a08;text-shadow:0 1px 0 #ffe9a0;direction:ltr}
.coins{height:30px}
.coins .cn{font-size:16px;font-weight:800;line-height:1;font-family:Arial,sans-serif;color:#14224a}

#sv{display:none;background:#132a5c;min-height:100vh;padding-bottom:40px;direction:rtl}
body.sv #sv{display:block}body.sv main,body.sv .logout,body.sv .coins,body.sv .fab,body.sv .ad{display:none!important}
body.sv{background:#132a5c}
.vid{height:192px;background:linear-gradient(180deg,#2a3f6e,#1b2d58);position:relative;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.4)}
.play{width:67px;height:47px;border-radius:14px;background:#e62117;display:flex;align-items:center;justify-content:center}
.back{display:block;width:124px;height:48px;line-height:44px;box-sizing:border-box;margin:26px 8px 0 auto;border:2px solid #f4c84b;border-radius:24px;background:#0f1e45;color:#f4c84b;font-weight:800;font-size:16px;text-align:center}
.tabs{display:flex;gap:6px;margin:23px 9px 0;direction:rtl}
.tabs span{flex:1;height:60px;border-radius:14px;background:#233f7d;border:1px solid #34509a;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:21px;font-weight:800;color:#f4c84b}
.tabs span.on{background:#c9a53f;color:#14224a;border-color:#c9a53f}
.tabs span.dim{opacity:.55}.tabs small{font-size:11px;color:#9fb0d8;font-weight:600}
.tr{margin:11px 18px 0;height:44px;line-height:44px;border-radius:14px;background:#2a4580;border:1px solid #3d5290;text-align:center;color:#d6def3;font-size:15px}
.nav{display:flex;justify-content:space-between;margin:34px 18px 0;direction:rtl}
.nav .nx,.nav .pv{width:64px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800}
.nav .nx{background:#c9a53f;color:#14224a}.nav .pv{background:#1f3a73;color:#6f86bd}.nav .ct{flex:1}
.ttl{margin:26px 18px 0;height:26px;width:55%;border-radius:8px;background:#3b4f80;opacity:.5}
.ttl2{margin:14px 18px 0 auto;height:14px;width:25%;border-radius:7px;background:#3b4f80;opacity:.4;margin-left:auto;margin-right:18px}
.scard{margin:24px 18px 0;height:190px;border:2px solid #c9a53f;border-radius:18px;background:#2b4a85;position:relative;box-shadow:4px 4px 0 #c9a53f}
.num{position:absolute;top:14px;right:14px;width:30px;height:30px;border-radius:50%;background:#f4c84b}
.lc{overflow:hidden;background:#fff}.lc img{width:100%;height:100%;object-fit:cover;display:block}

.pvx{display:none;background:#132a5c;min-height:100vh;direction:rtl}
body[data-pv="A1"] #pv-A1,body[data-pv="A2"] #pv-A2,body[data-pv="B1"] #pv-B1{display:block}body.pv main,body.pv .logout,body.pv .coins,body.pv .fab,body.pv .ad{display:none!important}body.pv{background:#132a5c}
.phd{height:85px;background:#2b3f6e;color:#d9ae36;font-weight:800;font-size:22px;line-height:85px;padding-right:15px;box-sizing:border-box}
.pth{position:relative;width:360px;margin:0 auto;direction:ltr}.pth>svg{position:absolute;left:0;top:0}
.nd{position:absolute;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#2e4580;color:#e8edf8;font-weight:800}
.nd.nl b{display:none}
.nd.on{background:#d9ae36;color:#14224a;font-size:26px;box-shadow:0 0 0 7px rgba(255,255,255,.2)}
.nd.t{background:#243a70}
.nd.nl::after{content:attr(data-n)}

.nd.nl{flex-direction:column-reverse;gap:1px;font-size:20px;color:#b9c6e6}.nd.nl b{display:block;font-weight:800;line-height:1}.nd.nl svg{opacity:.9}
.nd.f{width:68px;height:68px;border:3px solid #d9ae36}
.nd.t{background:#27407a;box-shadow:inset 0 0 0 2px #35509a}.stars{position:absolute;top:60px;left:0;right:0;display:flex;justify-content:center;gap:2px;opacity:.9}.stars svg{display:block}
.nd.f{width:56px;height:56px;border:0;box-shadow:inset 0 0 0 2px #d9ae36}
.nd .stars{position:absolute;top:60px;left:-10px;width:76px;display:flex;justify-content:center;align-items:center;gap:3px;font-style:normal}.nd .stars svg{flex:none;width:16px;height:16px}

.nd{width:60px;height:60px;font-size:21px}.nd.on{font-size:28px;box-shadow:0 0 0 8px rgba(255,255,255,.2)}
.nd.f{width:60px;height:60px}.nd .stars{top:64px}.nd .stars svg{width:17px;height:17px}.nd.nl b{line-height:1}
