:root{
  --bg:#FFF8EE;--ink:#1B1530;--muted:#6B6580;--card:#FFFFFF;
  --orange:#FF6B35;--mint:#1FB89A;--pink:#FF4F8B;--blue:#2F8CFF;--yellow:#FFC93C;
  --line:rgba(27,21,48,.08);--soft:#F0EBE3;
  --disp:'Baloo Bhaijaan 2','IBM Plex Sans Arabic',Tahoma,sans-serif;
  --body:'IBM Plex Sans Arabic',Tahoma,sans-serif;
}
*{box-sizing:border-box}
html{background:var(--bg);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.7;min-height:100vh;overflow-x:hidden}
button,input,textarea,select{font:inherit;color:inherit}
a{color:inherit}
.app [hidden],[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);opacity:0}

/* خلفية مرحة على الشاشات العريضة */
.deco{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.deco i{position:absolute;border-radius:50%;opacity:.5}
@media (max-width:760px){.deco{display:none}}

.app{position:relative;z-index:1;max-width:480px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;padding:16px 18px calc(24px + env(safe-area-inset-bottom))}
.app.hide{visibility:hidden}

/* الرأس */
.top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none}
.brand svg{width:46px;height:32px;display:block}
.brand b{font-family:var(--disp);font-weight:800;font-size:23px;line-height:1}
.topr{display:flex;align-items:center;gap:8px}
.chip{display:inline-flex;align-items:center;gap:6px;background:var(--card);border-radius:999px;padding:6px 12px;font-weight:700;font-size:14px;box-shadow:0 1px 0 var(--line)}
.chip svg{width:16px;height:16px}

/* شريط تحدي اليوم */
.daily-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--yellow);border-radius:22px;padding:14px 16px;text-decoration:none;color:var(--ink);margin-bottom:14px;transition:transform .15s}
.daily-bar:active{transform:scale(.98)}
.daily-bar b{font-size:16px;display:block;margin-bottom:6px}
.pips{display:flex;gap:5px}
.pips span{width:22px;height:8px;border-radius:4px;background:rgba(27,21,48,.2)}
.pips span.on{background:var(--ink)}
.pill{background:var(--ink);color:#fff;font-weight:700;font-size:14px;border-radius:999px;padding:10px 16px;white-space:nowrap}

/* بطاقة السؤال */
.stage{flex:1;display:flex;flex-direction:column;position:relative;min-height:520px}
.qcard{flex:1;border-radius:32px;padding:26px 22px;display:flex;flex-direction:column;gap:18px;position:relative;overflow:hidden;color:#fff;background:var(--orange);transition:transform .35s cubic-bezier(.2,.8,.3,1),opacity .35s}
.qcard.dark-text{color:var(--ink)}
.qcard .blob1{position:absolute;left:-40px;top:-40px;width:170px;height:170px;border-radius:50%;background:rgba(255,255,255,.14)}
.qcard .blob2{position:absolute;left:36px;bottom:170px;width:70px;height:70px;border-radius:50%;background:rgba(255,201,60,.35)}
.qcard>*{position:relative}
.qcard .tag{align-self:flex-start;background:rgba(255,255,255,.24);border-radius:999px;padding:6px 14px;font-size:13px;font-weight:600}
.qcard.dark-text .tag{background:rgba(27,21,48,.1)}
.qcard h2{margin:0;font-family:var(--disp);font-weight:800;font-size:clamp(25px,7.6vw,33px);line-height:1.3}
.opts{margin-top:auto;display:flex;flex-direction:column;gap:12px}
.opt{border:0;background:#fff;color:var(--ink);border-radius:20px;padding:17px 18px;font-weight:700;font-size:19px;line-height:1.4;cursor:pointer;text-align:center;transition:transform .12s,background .2s,color .2s,opacity .2s;min-height:60px}
.opt:hover{transform:translateY(-2px)}
.opt:active{transform:scale(.97)}
.opt[disabled]{cursor:default;transform:none}
.opt.right{background:var(--mint);color:#fff}
.opt.wrong{background:var(--pink);color:#fff}
.opt.dim{opacity:.55}
.hint{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:14px;padding:12px 0 2px;border:0;background:none;width:100%;cursor:pointer}
.hint svg{width:16px;height:16px}
.out-up{transform:translateY(-110%) rotate(-4deg);opacity:0}
.in-down{transform:translateY(40px);opacity:0}

/* بطاقة الجواب */
.acard{border-radius:32px;padding:24px 22px;color:#fff;display:flex;flex-direction:column;gap:12px;position:relative;overflow:hidden;animation:pop .45s cubic-bezier(.2,.8,.3,1.2)}
.acard.ok{background:var(--mint)}.acard.no{background:var(--pink)}
.acard .blob1{position:absolute;left:-30px;top:-30px;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.14)}
.acard>*{position:relative}
.verdict{display:flex;align-items:center;gap:10px;font-family:var(--disp);font-weight:800;font-size:28px;line-height:1.2}
.verdict i{width:44px;height:44px;border-radius:50%;background:#fff;display:grid;place-items:center;flex-shrink:0}
.verdict i svg{width:24px;height:24px}
.big{font-family:var(--disp);font-weight:800;font-size:clamp(30px,9vw,42px);line-height:1.15}
.acard p{margin:0;font-size:17px;line-height:1.85}
.more{background:rgba(255,255,255,.18);border-radius:18px;padding:14px 16px;font-size:16px;line-height:1.9;white-space:pre-line;animation:fade .3s}
.stat{background:var(--card);border-radius:24px;padding:16px 18px;display:flex;flex-direction:column;gap:10px;margin-top:14px}
.stat .row{display:flex;justify-content:space-between;font-size:15px;font-weight:600}
.bar{height:12px;border-radius:6px;background:var(--soft);overflow:hidden}
.bar i{display:block;height:100%;border-radius:6px;width:0;transition:width .8s cubic-bezier(.2,.8,.3,1)}
.src{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:var(--muted);padding:12px 4px 0;line-height:1.7}
.src svg{width:16px;height:16px;flex-shrink:0;margin-top:3px}
.src a{color:var(--muted)}
.credit{font-size:13px;color:var(--muted);padding:4px 4px 0}
.actions{margin-top:auto;padding-top:16px;display:flex;flex-direction:column;gap:12px}
.btn{border:0;border-radius:20px;padding:17px;font-weight:700;font-size:18px;cursor:pointer;text-align:center;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;transition:transform .12s}
.btn:active{transform:scale(.98)}
.btn.dark{background:var(--ink);color:#fff}
.btn.line{background:transparent;border:2px solid var(--ink);color:var(--ink)}
.btn svg{width:20px;height:20px}
.btn[disabled]{opacity:.6;cursor:default}

/* التحدي */
.dhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.back{width:44px;height:44px;border-radius:50%;background:var(--card);display:grid;place-items:center;box-shadow:0 1px 0 var(--line);text-decoration:none}
.back svg{width:20px;height:20px}
.dhead b{font-size:15px}
.dprog{display:flex;gap:6px;margin-bottom:14px}
.dprog span{flex:1;height:8px;border-radius:4px;background:rgba(27,21,48,.12)}
.dprog span.r{background:var(--mint)}.dprog span.w{background:var(--pink)}.dprog span.c{background:var(--ink)}
.rcard{background:var(--blue);color:#fff;border-radius:32px;padding:26px 22px;display:flex;flex-direction:column;align-items:center;gap:14px;position:relative;overflow:hidden;animation:pop .5s cubic-bezier(.2,.8,.3,1.2)}
.rcard .blob1{position:absolute;right:-36px;bottom:-36px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.12)}
.rcard>*{position:relative}
.rcard small{font-size:16px;font-weight:600;opacity:.9}
.score{font-family:var(--disp);font-weight:800;font-size:64px;line-height:1}
.marks{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.marks span{width:40px;height:40px;border-radius:12px;background:var(--mint);animation:pop .4s backwards}
.marks span.x{background:var(--pink)}
.cmp{background:var(--card);border-radius:24px;padding:18px;display:flex;flex-direction:column;gap:14px;margin-top:14px}
.cmp .row{display:flex;justify-content:space-between;gap:10px;font-size:15px;font-weight:600}
.city{display:flex;gap:8px}
.city select{flex:1;min-height:48px;border-radius:14px;border:1.5px solid var(--soft);background:#fff;padding:0 12px}
.city button{border:0;border-radius:14px;background:var(--ink);color:#fff;font-weight:700;padding:0 18px;cursor:pointer;min-height:48px}
.streak{display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:600;padding-top:14px}
.streak svg{width:18px;height:18px}
.next{text-align:center;font-size:14px;color:var(--muted)}
.next b{color:var(--ink)}
.share-menu{display:flex;gap:10px}
.share-menu .btn{flex:1;font-size:16px;padding:14px;min-height:50px}
.toast{position:fixed;bottom:calc(96px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;border-radius:16px;padding:12px 20px;font-weight:600;z-index:60;animation:fade .25s}

/* الصفحات */
.page h1{font-family:var(--disp);font-weight:800;font-size:32px;line-height:1.3;margin:6px 0 10px}
.page .lead{color:var(--muted);margin:0 0 18px}
.prose{background:var(--card);border-radius:26px;padding:22px 20px;white-space:pre-line;line-height:2;font-size:16px}
.form{display:flex;flex-direction:column;gap:14px;background:var(--card);border-radius:26px;padding:20px}
.form label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}
.form input,.form textarea{border:1.5px solid var(--soft);border-radius:14px;padding:12px 14px;background:#fff;min-height:48px;font-weight:400;font-size:16px;outline:none}
.form textarea{min-height:110px;resize:vertical;line-height:1.8}
.form input:focus,.form textarea:focus{border-color:var(--ink)}
.msg{font-weight:600;font-size:15px;min-height:1em}
.empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;background:var(--card);border-radius:32px;padding:30px}
.empty svg{width:120px;height:80px}
.empty p{margin:0;font-size:18px;font-weight:600}

/* التذييل */
.foot{margin-top:28px;display:flex;flex-direction:column;gap:14px}
.news{background:var(--ink);color:#fff;border-radius:26px;padding:20px}
.news b{font-family:var(--disp);font-size:21px;display:block;line-height:1.3}
.news p{margin:6px 0 14px;font-size:14px;opacity:.85}
.news form{display:flex;gap:8px}
.news input{flex:1;min-width:0;border:0;border-radius:14px;padding:0 14px;min-height:50px;color:var(--ink);font-size:16px}
.news button{border:0;border-radius:14px;background:var(--yellow);color:var(--ink);font-weight:700;padding:0 18px;cursor:pointer}
.news .msg{margin-top:10px;font-size:14px}
.links{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:center;font-size:14px}
.links a{text-decoration:none;color:var(--muted)}
.links a:hover{color:var(--ink)}
.rights{text-align:center;font-size:12px;color:var(--muted)}

/* المشاركة والنوافذ */
.sheet{position:fixed;inset:0;z-index:70;background:rgba(27,21,48,.45);display:flex;align-items:flex-end;justify-content:center;animation:fade .2s}
.sheet-box{width:100%;max-width:480px;background:var(--bg);border-radius:28px 28px 0 0;padding:22px 18px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px;animation:up .3s cubic-bezier(.2,.8,.3,1)}
.sheet-box>b{font-family:var(--disp);font-size:22px;text-align:center}
.sheet-in{border:1.5px solid var(--soft);border-radius:14px;padding:12px 14px;min-height:50px;font-size:17px;background:#fff;outline:none}
.share-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sh{border:0;border-radius:18px;padding:14px;min-height:56px;font-weight:700;font-size:16px;color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;cursor:pointer;text-align:center}
.sh.story{grid-column:1/-1;background:var(--pink)}
.sh.wa{background:#1FA855}.sh.sc{background:#FFE600;color:#111}.sh.xx{background:#111}.sh.tg{background:#229ED9}
.sh.cp,.sh.more2{background:var(--card);color:var(--ink);box-shadow:0 1px 0 var(--line)}
.row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.row2 .btn{font-size:16px;padding:14px;min-height:52px}
.glist{display:flex;flex-direction:column;gap:10px}
.gitem{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--card);border-radius:20px;padding:16px 18px;text-decoration:none}
.gitem b{font-size:18px}.gitem span{color:var(--muted);font-size:14px}
.board{background:var(--card);border-radius:24px;padding:14px 16px;margin-top:14px}
.board h3{margin:0 0 6px;font-family:var(--disp);font-size:20px}

/* ===== النسخة الثالثة ===== */
.app.with-tabs{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
.tabbar{position:fixed;z-index:40;left:50%;transform:translateX(-50%);bottom:calc(10px + env(safe-area-inset-bottom));width:calc(100% - 24px);max-width:456px;display:flex;justify-content:space-around;background:var(--card);border-radius:24px;padding:6px 4px;box-shadow:0 8px 28px rgba(27,21,48,.14)}
.tabbar a{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:68px;min-height:52px;justify-content:center;text-decoration:none;color:var(--muted);font-size:12px;font-weight:600}
.tabbar a span{display:flex;padding:4px 16px;border-radius:999px}
.tabbar a svg{width:22px;height:22px}
.tabbar a.on{color:var(--ink);font-weight:700}
.tabbar a.on span{background:var(--yellow)}
.spin{width:38px;height:38px;border-radius:50%;border:4px solid var(--soft);border-top-color:var(--orange);animation:rot .8s linear infinite}
@keyframes rot{to{transform:rotate(360deg)}}
.muted{color:var(--muted)}.small{font-size:13px}.center{text-align:center;align-self:center}
.link{border:0;background:none;padding:10px 6px;color:var(--muted);font-weight:600;font-size:15px;cursor:pointer;text-decoration:none;display:inline-block}
.link.danger{color:var(--pink)}
.btn.sm{min-height:46px;padding:10px 18px;font-size:15px;border-radius:999px;width:auto}
.btn.orange{background:var(--orange);color:#fff;border-radius:22px;font-size:19px;font-weight:800}
.btn.mint{background:var(--mint);color:#fff}
.hello{font-family:var(--disp);font-weight:800;font-size:26px;line-height:1.25;margin:0 0 12px}
.hcard{display:flex;flex-direction:column;gap:10px;border-radius:26px;padding:16px 18px;margin-bottom:14px;text-decoration:none;color:var(--ink);position:relative;overflow:hidden}
.hcard>*{position:relative}
.hcard.yellow{background:var(--yellow)}
.hcard.white{background:var(--card);box-shadow:0 1px 0 var(--line)}
.hcard.orange{background:var(--orange);color:#fff}
.hcard.row{flex-direction:row;align-items:center;justify-content:space-between}
.hcard.row small{display:block;font-size:14px;opacity:.92}
.hcard b{font-size:17px;font-weight:800}
.hcard p{margin:0}
.hcard .b1{position:absolute;left:-36px;top:-36px;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.25)}
.hrow{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mini{font-size:13px;font-weight:600;background:rgba(27,21,48,.1);border-radius:999px;padding:4px 10px;white-space:nowrap}
.sub{font-size:14px;color:#3A3350}
.hscore{display:flex;align-items:baseline;justify-content:space-between}
.hscore b{font-family:var(--disp);font-size:28px}
.pipsbar{display:flex;gap:6px}
.pipsbar span{flex:1;height:10px;border-radius:5px;background:rgba(27,21,48,.18)}
.pipsbar span.on{background:var(--ink)}.pipsbar span.r{background:var(--mint)}.pipsbar span.w{background:var(--pink)}
.more-link{color:var(--blue);font-weight:700;font-size:14px;text-decoration:none;padding:6px 0}
.gmini{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);background:var(--bg);border-radius:16px;padding:10px 12px}
.gmini i,.gcard i{width:40px;height:40px;border-radius:13px;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:800;flex-shrink:0}
.gmini span{flex:1;display:flex;flex-direction:column;min-width:0}
.gmini b{font-size:15px}.gmini small{font-size:13px;color:var(--muted)}
.gmini em{font-style:normal;font-family:var(--disp);font-weight:800;background:var(--ink);color:#fff;border-radius:10px;padding:2px 10px}
.circ{width:46px;height:46px;border-radius:50%;background:#fff;display:grid;place-items:center;flex-shrink:0;color:var(--orange)}
.circ svg{width:20px;height:20px}
.savebar{display:flex;align-items:center;gap:12px;border:2px dashed rgba(27,21,48,.25);border-radius:20px;padding:12px 14px;text-decoration:none;color:var(--ink);font-size:14px;line-height:1.6;margin-bottom:14px}
.savebar svg{width:22px;height:22px;flex-shrink:0}
/* المقدمة */
.onb{flex:1;display:flex;flex-direction:column;gap:20px;min-height:calc(100vh - 40px)}
.onb-top{display:flex;align-items:center;justify-content:space-between;min-height:44px}
.onb-top svg{width:52px;height:36px}
.onb-hero{flex:1;min-height:300px;border-radius:36px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:24px}
.onb-hero .b1{position:absolute;right:-50px;top:-50px;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.25)}
.onb-hero .b2{position:absolute;left:-30px;bottom:-30px;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.15)}
.onb-hero>div{position:relative}
.onb-art1{display:flex;flex-direction:column;align-items:center;gap:16px}
.onb-art1 .sq{display:flex;gap:10px}
.onb-art1 .sq span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center}
.onb-art1 .sq svg{width:22px;height:22px}
.onb-art1 .ok{background:var(--mint)}.onb-art1 .no{background:var(--pink)}.onb-art1 .em{background:#fff;border:3px dashed var(--ink)}
.onb-art1 .five{font-family:var(--disp);font-weight:800;font-size:96px;line-height:1}
.pilltag{background:var(--ink);color:#fff;border-radius:999px;padding:8px 18px;font-weight:700;font-size:15px}
.onb-art2{width:100%;background:#fff;border-radius:26px;padding:20px;display:flex;flex-direction:column;gap:12px;transform:rotate(-3deg);box-shadow:0 18px 40px rgba(27,21,48,.22)}
.onb-art2 .vd{display:flex;align-items:center;gap:8px;color:var(--mint);font-weight:800}
.onb-art2 .vd svg{width:22px;height:22px}
.onb-art2 .ln{height:9px;border-radius:5px;background:var(--soft);width:100%}
.onb-art2 .srcp{display:flex;align-items:center;gap:8px;background:var(--bg);border-radius:14px;padding:10px 12px;font-size:13px;font-weight:600;color:var(--muted)}
.onb-art2 .srcp svg{width:18px;height:18px;color:var(--blue)}
.onb-art3{width:100%;background:#fff;border-radius:24px;padding:14px;display:flex;flex-direction:column;gap:8px;box-shadow:0 18px 40px rgba(27,21,48,.2)}
.onb-art3 .r{display:flex;align-items:center;gap:10px;border-radius:14px;padding:10px 12px;background:var(--bg)}
.onb-art3 .r.gold{background:var(--yellow)}.onb-art3 .r.me{background:#fff;border:2px solid var(--ink)}
.onb-art3 .r i{width:34px;height:34px;border-radius:50%;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:700}
.onb-art3 .r span{flex:1;height:8px;border-radius:4px;background:rgba(27,21,48,.12)}
.onb-txt h1{font-family:var(--disp);font-weight:800;font-size:34px;line-height:1.2;margin:0 0 8px}
.onb-txt p{margin:0;font-size:17px;line-height:1.8;color:#4A4460}
.onb-foot{display:flex;align-items:center;justify-content:space-between}
.onb-end{display:flex;flex-direction:column;gap:10px}
.dots{display:flex;gap:6px;justify-content:center}
.dots span{width:8px;height:8px;border-radius:4px;background:rgba(27,21,48,.2)}
.dots span.on{width:26px;background:var(--ink)}
/* الشلل */
.phead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 14px}
.phead h1{font-family:var(--disp);font-weight:800;font-size:30px;margin:0}
.gcard{display:flex;align-items:center;gap:12px;background:var(--card);border-radius:24px;padding:16px;text-decoration:none;color:var(--ink);margin-bottom:12px;box-shadow:0 1px 0 var(--line)}
.gcard.first{background:var(--orange);color:#fff}
.gcard span{flex:1;display:flex;flex-direction:column;min-width:0}
.gcard b{font-size:18px;font-weight:800}.gcard small{font-size:13px;opacity:.85}
.gcard em{font-style:normal;text-align:center;font-family:var(--disp);font-weight:800;font-size:22px;line-height:1.1;background:#fff;color:var(--ink);border-radius:16px;padding:6px 12px}
.gcard em small{display:block;font-family:var(--body);font-size:11px;font-weight:600;color:var(--muted)}
.gcard:not(.first) em{background:var(--bg)}
.inrow{display:flex;gap:8px}
.inrow input{flex:1;min-width:0;border:2px solid var(--ink);border-radius:16px;padding:12px 14px;font-size:16px;background:#fff}
.inrow button{border:0;border-radius:16px;background:var(--ink);color:#fff;font-weight:700;padding:0 18px;cursor:pointer;min-height:50px}
.gtitle h1{font-family:var(--disp);font-weight:800;font-size:32px;line-height:1.15;margin:0}
.gtitle p{margin:2px 0 12px;font-size:14px}
.gtools{display:flex;justify-content:flex-start;margin-bottom:12px}
.seg{display:flex;background:var(--card);border-radius:999px;padding:4px;margin-bottom:12px}
.seg button{flex:1;border:0;background:transparent;color:var(--muted);border-radius:999px;padding:11px;font-weight:700;font-size:15px;cursor:pointer;min-height:44px}
.seg button.on{background:var(--ink);color:#fff}
.lboard{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.lrow{display:flex;align-items:center;gap:10px;background:var(--card);border-radius:18px;padding:10px 12px}
.lrow.gold{background:var(--yellow)}
.lrow.me{border:2px solid var(--ink)}
.lrow .rk{font-family:var(--disp);font-weight:800;font-size:20px;width:22px;text-align:center;flex-shrink:0}
.lrow .av{width:36px;height:36px;border-radius:50%;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:700;flex-shrink:0}
.lrow .nm{flex:1;font-weight:700;min-width:0}.lrow .nm small{color:var(--muted);font-weight:500}
.lrow b{font-weight:800;min-width:34px;text-align:left}
.sqs{display:flex;gap:3px}.sqs i{width:10px;height:10px;border-radius:3px}.sqs i.r{background:var(--mint)}.sqs i.w{background:var(--pink)}
.wait small{color:var(--muted);font-weight:600}
.chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.chips span{background:var(--soft);border-radius:999px;padding:6px 12px;font-size:14px;font-weight:600}
.chips .btn{margin-right:auto}
/* ملفي */
.mehead{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.avbig{width:56px;height:56px;border-radius:18px;background:var(--ink);color:var(--yellow);display:grid;place-items:center;font-style:normal;font-family:var(--disp);font-weight:800;font-size:26px;flex-shrink:0}
.mehead span{display:flex;flex-direction:column}
.mehead b{font-family:var(--disp);font-weight:800;font-size:24px;line-height:1.2}
.mehead small{color:var(--muted);font-size:13px}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.tile{background:var(--card);border-radius:22px;padding:12px 14px}
.tile small{display:block;font-size:13px;font-weight:600;color:var(--muted)}
.tile b{font-family:var(--disp);font-weight:800;font-size:28px;line-height:1.3}
.tile.orange{background:var(--orange);color:#fff}.tile.blue{background:var(--blue);color:#fff}
.tile.orange small,.tile.blue small{color:rgba(255,255,255,.92)}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.cal .wd{font-size:11px;text-align:center;color:var(--muted);font-weight:700}
.cal .d{aspect-ratio:1;border-radius:7px;background:var(--soft)}
.cal .d.l1{background:#FFE7A3}.cal .d.l2{background:var(--yellow)}.cal .d.l3{background:#7FD9C5}.cal .d.l4{background:var(--mint)}
.cal .d.today{outline:2px solid var(--ink);outline-offset:1px}
.cal .d.future{background:transparent;border:2px dashed rgba(27,21,48,.12)}
.cbar{display:flex;align-items:center;gap:10px;font-size:14px}
.cbar span{width:110px;font-weight:600}
.cbar i{flex:1;height:10px;border-radius:5px;background:var(--soft);overflow:hidden;display:flex}
.cbar em{border-radius:5px}
.cbar b{width:40px;font-size:14px}
.fl{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:14px}
.fl input,.fl select{border:2px solid var(--soft);border-radius:14px;padding:12px 14px;min-height:50px;background:#fff;font-size:16px;font-weight:400;outline:none}
.fl input:focus,.fl select:focus{border-color:var(--ink)}
.mlinks{display:flex;flex-direction:column}
.mlinks a{display:flex;align-items:center;justify-content:space-between;min-height:48px;text-decoration:none;font-weight:600;border-bottom:1px solid var(--line)}
.mlinks a:last-child{border-bottom:0}
.mlinks svg{width:18px;height:18px;color:var(--muted)}
/* التسجيل */
.save h1{margin-top:0}
.perks{gap:12px}
.perks div{display:flex;align-items:center;gap:10px;font-weight:600;font-size:15px}
.perks i{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;flex-shrink:0}
.perks i svg{width:16px;height:16px;stroke:#fff}
.perks i.orange{background:var(--orange)}.perks i.mint{background:var(--mint)}.perks i.blue{background:var(--blue)}
.stack{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}
.chk{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600}
.chk input{width:22px;height:22px}
.codein{text-align:center;font-family:var(--disp);font-size:30px!important;letter-spacing:12px;font-weight:800!important}
.lead.center{text-align:center;margin:16px 0}
@keyframes up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@keyframes pop{from{transform:scale(.9);opacity:0}to{transform:none;opacity:1}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* التسجيل والدخول: خانات كبيرة وواضحة تناسب كل الأعمار */
.auth{max-width:440px;margin:0 auto;padding-top:18px}
.authlogo{display:flex;justify-content:center;margin-bottom:6px}
.authlogo svg{width:96px;height:64px}
.auth h1{text-align:center;font-size:28px}
.auth .lead{text-align:center}
.auth .fl{font-size:16px}
.auth .fl input{min-height:56px;font-size:18px}
.pw{position:relative;display:block}
.pw input{width:100%;box-sizing:border-box;padding-left:84px}
.pwbtn{position:absolute;left:8px;top:50%;transform:translateY(-50%);border:0;background:var(--soft);color:var(--ink);font:inherit;font-size:14px;font-weight:700;border-radius:10px;padding:8px 12px;cursor:pointer}
.hint{font-weight:400;font-size:13px;color:var(--muted)}
.auth .btn{width:100%;min-height:56px;font-size:18px}
.auth > .btn.line{margin-top:14px}
.authlinks{display:flex;justify-content:center;gap:18px;margin-top:18px;font-size:14px}
.authlinks a{color:var(--muted)}
.sheet-box.stack{display:flex;flex-direction:column;gap:12px}
.auth .hint{text-align:right;display:block}
/* ===== المستويات والنقاط والنار والترحيب ===== */
.greet{animation:greetIn .7s cubic-bezier(.2,.8,.3,1) both}
@keyframes greetIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.lvbar{background:var(--card);border-radius:22px;padding:12px 16px 10px;margin-bottom:14px;box-shadow:0 1px 0 var(--line)}
.lvtop{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.lvchip{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px}
.lvchip i{width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-style:normal;font-family:var(--disp);font-weight:800;font-size:14px}
.lvpts{font-family:var(--disp);font-weight:800;font-size:15px}
.xp{height:10px;background:var(--soft);border-radius:999px;overflow:hidden}
.xp i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--orange),var(--yellow));border-radius:999px;transition:width .9s cubic-bezier(.2,.8,.3,1)}
.lvbar small{display:block;color:var(--muted);font-size:12.5px;font-weight:600;margin-top:6px}
.hnote{display:flex;align-items:center;gap:8px;background:var(--blue);color:#fff;border-radius:18px;padding:10px 14px;margin-bottom:14px;font-weight:600;font-size:14px}
.hnote svg{width:20px;height:20px;flex:none}
.qhead{display:flex;align-items:center;justify-content:space-between;gap:10px}
.qhead .tag{align-self:auto}
.qtimer{position:relative;width:44px;height:44px;flex:none;color:inherit}
.qtimer svg{width:44px;height:44px;transform:rotate(-90deg)}
.qtimer circle{fill:none;stroke-width:5}
.qtimer .tr0{stroke:currentColor;opacity:.22}
.qtimer .tr1{stroke:currentColor;stroke-linecap:round;transition:stroke-dashoffset .2s linear}
.qtimer b{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--disp);font-weight:800;font-size:16px}
.qtimer.late b{animation:tick 1s ease-in-out infinite}
.qtimer.done{opacity:.45}
@keyframes tick{50%{transform:scale(1.18)}}
.qcard .burst{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%) scale(.4);font-family:var(--disp);font-weight:800;font-size:60px;color:#fff;text-shadow:0 5px 0 var(--ink);opacity:0;pointer-events:none;direction:ltr;z-index:3}
.qcard .burst.go{animation:burst 1.2s cubic-bezier(.2,.8,.3,1) forwards}
@keyframes burst{0%{opacity:0;transform:translate(-50%,-30%) scale(.4)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}60%{opacity:1;transform:translate(-50%,-62%) scale(1)}100%{opacity:0;transform:translate(-50%,-115%) scale(.9)}}
.pts{background:var(--card);border-radius:22px;padding:12px 16px;margin:12px 0 0;box-shadow:0 1px 0 var(--line)}
.pts small{display:block;font-weight:700;font-size:13px;color:var(--muted);margin-bottom:4px}
.prow{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px dashed var(--line);font-weight:600;font-size:14.5px}
.prow b{font-family:var(--disp);font-weight:800;font-size:17px;unicode-bidi:isolate}
.prow.hot b{color:var(--orange)}
.ptot{display:flex;justify-content:flex-end;margin-top:8px}
.ptot b{background:var(--ink);color:var(--yellow);border-radius:14px;padding:4px 14px;font-family:var(--disp);font-weight:800;font-size:22px;unicode-bidi:isolate}
.pts.no{font-weight:600;font-size:14px;color:var(--muted);text-align:center}
.streak.pts-day svg,.streak.shield svg{color:var(--blue)}
.lvup{position:fixed;inset:0;z-index:200;background:var(--blue);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 22px calc(24px + env(safe-area-inset-bottom));overflow:hidden;animation:fadeIn .3s both}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.lvup .lvring{width:170px;height:170px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 0 0 12px rgba(255,255,255,.18),0 0 0 26px rgba(255,255,255,.08);animation:pop 1.1s cubic-bezier(.2,1.4,.3,1) both;position:relative;z-index:1}
.lvup .lvring svg{width:116px}
@keyframes pop{0%{transform:scale(.2) rotate(-25deg);opacity:0}100%{transform:none;opacity:1}}
.lvup small{margin-top:28px;font-size:15px;font-weight:700;opacity:.92;position:relative}
.lvup h2{font-family:var(--disp);font-weight:800;font-size:46px;line-height:1.15;margin:4px 0 0;animation:rise .8s .3s both;position:relative}
.lvup p{font-size:17px;line-height:1.7;margin:10px 0 0;max-width:340px;animation:rise .8s .45s both;position:relative}
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.lvacts{display:flex;gap:10px;width:100%;max-width:420px;margin-top:40px;position:relative}
.lvacts .btn{flex:1}
.btn.yellow{background:var(--yellow);color:var(--ink)}
.btn.white{background:#fff;color:var(--ink)}
.conf{position:absolute;inset:0;pointer-events:none}
.conf i{position:absolute;top:-24px;width:10px;height:16px;border-radius:3px;animation:fall linear infinite}
@keyframes fall{to{transform:translateY(110vh) rotate(540deg)}}
.melv{flex-direction:row;align-items:center;gap:14px}
.mering{position:relative;width:86px;height:86px;flex:none}
.mering svg{width:86px;height:86px;transform:rotate(-90deg)}
.mering circle{fill:none;stroke-width:9}
.mering .r0{stroke:var(--soft)}
.mering .r1{stroke:var(--blue);stroke-linecap:round}
.mering b{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--disp);font-weight:800;font-size:26px}
.melv h3{font-family:var(--disp);font-weight:800;font-size:24px;line-height:1.2;margin:0}
.melv p{margin:4px 0 0;font-size:13px}
.hcard.dark{background:var(--ink);color:#fff}
.meweek .shl{display:flex;align-items:center;gap:5px;background:rgba(255,255,255,.12);border-radius:999px;padding:4px 10px;font-size:12.5px;font-weight:700}
.meweek .shl svg{width:15px;height:15px}
.wdays{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.wday{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10.5px;opacity:.9}
.wday i{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.12);display:grid;place-items:center}
.wday i svg{width:16px;height:16px}
.wday.on i{background:var(--orange)}
.wday.on i svg{stroke:#fff}
.wday.shield i{background:var(--blue);color:#fff}
.wday.today i{background:transparent;border:2px dashed var(--yellow)}
.wday.future{opacity:.45}
.meweek small{opacity:.8;font-size:12.5px;line-height:1.7}
.ladder{gap:4px}
.lstep{display:flex;align-items:center;gap:10px;padding:6px 0;font-weight:600;font-size:14px}
.lstep i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:800;color:#fff;background:var(--mint);flex:none}
.lstep span{flex:1;display:flex;flex-direction:column}
.lstep span small{font-weight:500;color:var(--muted);font-size:12px}
.lstep em{font-style:normal;color:var(--muted);font-size:12.5px}
.lstep.done{opacity:.55}
.lstep.cur{background:var(--soft);border-radius:14px;padding:7px 10px;margin:0 -10px}
.lstep.cur i{background:var(--blue)}
.lstep.lock i{background:#D9D2C6}
.sndrow{flex-direction:row;align-items:center;justify-content:space-between;font-weight:700;cursor:pointer}
.sndrow input{width:22px;height:22px;accent-color:var(--mint)}
/* المساعدات */
.helpers{display:flex;gap:8px;margin:12px 0 0}
.hbtn{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;letter-spacing:-.2px;background:var(--card);border:0;border-radius:16px;padding:11px 4px;font:inherit;font-weight:700;font-size:12.5px;color:var(--ink);box-shadow:0 1px 0 var(--line);cursor:pointer}
.hbtn i{display:grid;width:20px;height:20px;color:var(--blue)}.hbtn i svg{width:20px;height:20px}
.hbtn b{min-width:20px;height:20px;border-radius:10px;background:var(--blue);color:#fff;font-size:12px;display:grid;place-items:center;padding:0 5px}
.hbtn.empty{opacity:.45}.hbtn.empty b{background:#BDB5A8}
.hbtn.used{opacity:.55;cursor:default}.hbtn.used b{background:var(--mint)}
.opt.gone{opacity:.18;text-decoration:line-through;pointer-events:none}
.opt{position:relative}
.cpct{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:12px;font-weight:700}
.cpct em{display:block;height:6px;border-radius:3px;background:currentColor;opacity:.5;min-width:2px;transition:width .5s}
.qcard.armed{box-shadow:0 0 0 4px var(--blue)}
/* تنبيه الإنجاز */
.achtoast{position:fixed;top:calc(16px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;gap:12px;align-items:center;background:var(--ink);color:#fff;border-radius:20px;padding:12px 18px;z-index:70;min-width:260px;max-width:calc(100% - 32px);animation:achin .45s cubic-bezier(.2,1.4,.4,1)}
.achtoast i{width:42px;height:42px;border-radius:50%;background:var(--yellow);color:var(--ink);display:grid;place-items:center;flex:none}.achtoast i svg{width:26px;height:26px}
.achtoast span{display:flex;flex-direction:column}.achtoast small{opacity:.7;font-size:12px}.achtoast b{font-size:16px}.achtoast em{font-style:normal;font-size:12.5px;opacity:.8}
.achtoast.out{opacity:0;transform:translate(-50%,-20px);transition:.35s}
@keyframes achin{from{opacity:0;transform:translate(-50%,-30px) scale(.9)}to{opacity:1;transform:translate(-50%,0)}}
/* ملفي: المساعدات والإتقان والإنجازات */
.hgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0}
.hgrid span{display:flex;flex-direction:column;align-items:center;gap:4px;background:var(--soft);border-radius:16px;padding:10px 4px;font-size:12.5px;font-weight:600}
.hgrid i{color:var(--blue);display:grid}.hgrid i svg{width:22px;height:22px}.hgrid em{font-style:normal}.hgrid b{font-size:18px}
.memast{gap:10px}
.mrow{display:flex;flex-direction:column;gap:5px}
.mtop{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:14px}
.mtop em{font-style:normal;font-size:12.5px;background:var(--yellow);border-radius:10px;padding:2px 8px}
.mtop small{color:var(--muted)}
.msegs{display:flex;gap:4px}.msegs i{flex:1;height:9px;border-radius:5px;background:var(--soft);overflow:hidden;display:flex}.msegs em{display:block;height:100%;border-radius:5px}
.agrid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.ach{display:flex;flex-direction:column;gap:3px;background:var(--soft);border-radius:16px;padding:10px 12px;font-size:13px}
.ach i{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#E3DCD0;color:#9A9184}.ach i svg{width:20px;height:20px}
.ach.done i{background:var(--yellow);color:var(--ink)}
.ach>b{font-size:14px}.ach>small{color:var(--muted);font-size:12px;line-height:1.4}
.ach:not(.done)>b{color:var(--muted)}
.apr{display:block;height:5px;border-radius:3px;background:#E3DCD0;overflow:hidden;margin-top:4px}.apr em{display:block;height:100%;background:var(--blue)}
.meach .ach.more{display:none}.meach.open .ach.more{display:flex}
/* دوري الأسبوع */
.hcard.blue{background:var(--blue);color:#fff}.hcard.blue .circ{color:var(--blue)}
.vscard small{opacity:.85}
.lgcard .hrow b{display:flex;align-items:center;gap:6px}.lgcard .hrow b svg{width:18px;height:18px;color:var(--orange)}
.lgcard .fwd{display:grid;color:var(--muted)}.lgcard .fwd svg{width:18px;height:18px}
.lgline{display:flex;align-items:center;gap:12px}
.lgline em{font-style:normal;font-family:var(--disp);font-weight:800;font-size:30px;min-width:52px;height:52px;border-radius:16px;background:var(--yellow);display:grid;place-items:center;padding:0 8px}
.lgline span{display:flex;flex-direction:column;gap:2px}.lgline small{color:var(--muted);font-size:13px}
.lgend{display:flex;align-items:center;gap:6px;color:var(--muted);font-weight:600;font-size:14px;margin:0 0 10px}.lgend svg{width:17px;height:17px}
.lgsep{text-align:center;color:var(--muted);font-weight:800;letter-spacing:4px}
.medal{display:inline-grid;vertical-align:-3px;margin-inline-start:5px;color:var(--orange)}.medal svg{width:16px;height:16px}
.lrow.gold .medal{color:var(--ink)}
.lglast{margin-top:12px;gap:8px}.lglast>b{display:flex;align-items:center;gap:6px}.lglast>b svg{width:18px;height:18px;color:var(--orange)}
.lwin{display:flex;align-items:center;gap:10px;font-weight:600;font-size:14.5px}
.lwin em{font-style:normal;width:28px;height:28px;border-radius:50%;background:var(--yellow);display:grid;place-items:center;font-weight:800;font-size:13px;flex:none}.lwin em svg{width:15px;height:15px}
.lwin span{flex:1}.lwin small{color:var(--muted)}
.gwk{font-size:13.5px;margin:0 0 8px}
.wksum{align-items:center;text-align:center}
.wkmed{width:72px;height:72px;border-radius:50%;background:var(--soft);display:grid;place-items:center;color:var(--ink)}.wkmed svg{width:38px;height:38px}
.wkmed.win{background:var(--yellow);animation:achin .5s cubic-bezier(.2,1.4,.4,1)}
.wksum p{margin:0}.wksum .big{font-weight:700;font-size:17px}.wksum .win{color:var(--orange);font-weight:700}
.medl span{display:flex;align-items:center;gap:8px}.medl svg{width:20px;height:20px;color:var(--blue)}.medl .fwd{display:grid;color:var(--muted)}
/* التحدي المباشر */
.vsbox{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:26px 18px;background:var(--card);border-radius:28px;margin-top:8px}
.vsbox h1{font-family:var(--disp);font-size:28px;margin:0}.vsbox p{margin:0;color:var(--muted);line-height:1.7}
.vsbox .btn{width:100%}
.vsic{width:76px;height:76px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center}.vsic svg{width:40px;height:40px}
.vswait{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--muted);font-size:14.5px}
.pulse{width:12px;height:12px;border-radius:50%;background:var(--mint);animation:pulse 1.2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(46,196,160,.6)}100%{box-shadow:0 0 0 14px rgba(46,196,160,0)}}
.vshead{display:flex;align-items:stretch;gap:8px;margin:0 0 12px}
.vsp{flex:1;background:var(--card);border-radius:18px;padding:8px 12px;display:flex;flex-direction:column;gap:2px;min-width:0;box-shadow:0 1px 0 var(--line)}
.vsp.me{background:var(--ink);color:#fff}
.vsp b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vsp em{font-style:normal;font-family:var(--disp);font-weight:800;font-size:26px;line-height:1.1}
.vsp small{font-size:11.5px;color:var(--mint);font-weight:700;min-height:14px}
.vsmid{align-self:center;font-size:12px;font-weight:700;color:var(--muted);text-align:center;width:58px}
.vsd{display:flex;gap:3px}.vsd i{flex:1;height:5px;border-radius:3px;background:rgba(127,127,127,.25);max-width:22px}
.vsd i.r{background:var(--mint)}.vsd i.w{background:var(--pink)}.vsd i.on{background:var(--yellow)}
.opt.picked{outline:3px solid var(--ink);outline-offset:-3px}
.vsnote{text-align:center;font-weight:600;color:var(--muted);margin-top:12px;min-height:22px}
.vscount{display:flex;flex-direction:column;align-items:center;gap:6px;padding:60px 0}
.vscount small{font-weight:700;color:var(--muted);font-size:16px}
.vscount b{font-family:var(--disp);font-size:110px;line-height:1;animation:achin .4s}
.vsend{position:relative;overflow:hidden;background:var(--blue);color:#fff;border-radius:28px;padding:28px 18px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.vsend.win{background:var(--mint)}.vsend.lose{background:var(--pink)}
.vsend .vsic{background:#fff;color:var(--ink)}
.vsend h1{font-family:var(--disp);font-size:32px;margin:0}
.vsfin{display:flex;gap:10px;width:100%}.vsfin>div{flex:1;background:rgba(255,255,255,.18);border-radius:18px;padding:10px;display:flex;flex-direction:column;gap:4px;align-items:center}
.vsfin small{font-weight:600;opacity:.9}.vsfin b{font-family:var(--disp);font-size:34px;line-height:1.1}.vsfin .vsd{width:100%;justify-content:center}
.vsfin .vsd i{background:rgba(255,255,255,.3)}.vsfin .vsd i.r{background:#fff}.vsfin .vsd i.w{background:var(--ink)}
.vsre{display:flex;flex-direction:column;gap:10px;align-items:stretch;text-align:center}
.vsqn{text-align:center;font-size:13px;font-weight:700;color:var(--muted);margin:-4px 0 10px}
/* الإبلاغ والحظر والمدن */
.lrow.tap,.chips span[data-act="who"],[data-act="who"]{cursor:pointer}
.repl{display:flex;flex-direction:column;gap:10px}
.blkrow{padding:6px 0}.blkrow span{font-weight:600}
.link.small{font-size:13px;color:var(--muted);margin-top:6px}
.terms-line{display:block;text-align:center;font-size:13px;color:var(--muted);text-decoration:underline;margin-top:2px}
.cchips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.cchips button{border:1.5px solid var(--ink);background:#fff;color:var(--ink);border-radius:999px;padding:9px 16px;font:inherit;font-weight:700;font-size:15px;cursor:pointer;min-height:44px}
.cchips button:active{background:var(--ink);color:#fff}
/* داخل تطبيق الآيفون */
html.native .app{padding-top:calc(16px + env(safe-area-inset-top))}
html.native{-webkit-tap-highlight-color:transparent}
