:root{--n0:#0B1729;--n1:#16354D;--n2:#105762;--n3:#2A4D66;--n4:#3F6580;--n5:#13283C;--n6:#2B6390;--n7:#9FB3C8;--tl:#39C7CF;--tm:#0E8A92}
body:not(.wide){--n0:#061038;--n1:#0C2862;--n2:#134E90;--n3:#23437E;--n4:#3A5C9A;--n5:#0E2256;--n6:#2766C6;--n7:#A9BEDF;--tl:#7CC4FF;--tm:#2F7FD8}
:root{
  --bg:#FFF7EC;--ink:#2A1414;--muted:#6E5A55;--primary:#C8102E;--primary-dark:#8E0A0A;--primary-ink:#fff;
  --accent:#F5B72B;--accent-ink:#4A1A00;--card:#fff;--line:#F1DCC4;--soft:#FDEBD3;
  --good:#1FA971;--good-bg:#E4F7EE;--bad:#E5484D;--bad-bg:#FDEBEC;
  --radius:18px;--font-q:22px;--btn-h:54px;--opt-h:60px;
  --o1:#fff;--o2:#fff;--o3:#fff;--o4:#fff;--o-ink:var(--ink);--o-border:var(--line);
}
[data-theme=kids]{
  --bg:#FFE9D2;--primary:#E3262F;--soft:#FFF3D6;--radius:26px;--font-q:28px;--btn-h:64px;--opt-h:70px;
  --o1:#2F80ED;--o2:#9B51E0;--o3:#F2994A;--o4:#14A89B;--o-ink:#fff;--o-border:transparent;--line:#FAD7B5;
}
[data-theme=uni]{
  --bg:#FAF6F3;--primary:#7A1220;--primary-dark:#560C16;--soft:#F4ECE8;--radius:10px;--font-q:20px;--btn-h:50px;--opt-h:54px;--line:#DADFE2;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body{font-family:'Cairo',system-ui,sans-serif;background:var(--bg);color:var(--ink);min-height:100vh;font-size:16px;line-height:1.55}
[data-theme=kids] body,body[data-theme=kids]{background:linear-gradient(180deg,#FFD9B0 0%,#FFEBD6 40%,#FFF8EC 100%) fixed}
button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit}
button{cursor:pointer}
#app{max-width:480px;margin:0 auto;min-height:100vh;position:relative}
body.wide #app{max-width:980px}
h1,h2,h3,p{margin:0}
.hide{display:none!important}
.muted{color:var(--muted)}
.center{text-align:center}
.row{display:flex;align-items:center;gap:10px}
.between{justify-content:space-between}
.grow{flex:1}
.col{display:flex;flex-direction:column;gap:12px}
.pad{padding:20px 20px 28px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px}
.btn{box-shadow:0 3px 0 var(--primary-dark);display:flex;align-items:center;justify-content:center;gap:8px;min-height:var(--btn-h);padding:0 22px;border-radius:calc(var(--radius) - 2px);border:0;background:var(--primary);color:var(--primary-ink);font-weight:700;font-size:18px;width:100%}
.btn:active{transform:scale(.985)}
.btn.accent{background:var(--accent);color:var(--accent-ink)}
.btn.ghost{background:transparent;color:var(--ink);border:1.5px solid var(--ink)}
.btn.soft{background:var(--soft);color:var(--ink)}
.btn.danger{background:var(--bad);color:#fff}
.btn.sm{min-height:40px;padding:0 14px;font-size:15px;width:auto;border-radius:12px}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.link{background:none;border:0;color:var(--primary);font-weight:600;padding:6px;text-decoration:underline}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-weight:600;font-size:14px;color:var(--muted)}
.input,select.input,textarea.input{width:100%;min-height:50px;padding:10px 14px;border:1.5px solid var(--line);border-radius:14px;background:#fff;outline:0}
.input:focus{border-color:var(--primary)}
.err{background:var(--bad-bg);color:#9b1c20;border-radius:12px;padding:10px 14px;font-size:15px}
.ok{background:var(--good-bg);color:#0b6a43;border-radius:12px;padding:10px 14px;font-size:15px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:999px;background:var(--soft);font-size:13px;font-weight:600}
.chip.good{background:var(--good-bg);color:#0b6a43}.chip.warn{background:#FFF1D6;color:#8a5a00}.chip.bad{background:var(--bad-bg);color:#9b1c20}
.ico{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.brand{display:flex;align-items:center;gap:10px;font-weight:800}
.logo{width:56px;height:56px;display:flex;align-items:center;justify-content:center;position:relative}
.logo svg,.logo img{width:100%;height:100%;display:block;border-radius:22%;box-shadow:0 6px 18px rgba(142,10,10,.28)}
.hero{padding:48px 24px 12px;text-align:center;display:flex;flex-direction:column;align-items:center}
.hero .logo{width:120px;height:120px}
.hero h1{font-size:36px;font-weight:800;line-height:1.2;margin-top:10px}
.hero p{color:var(--muted);margin-top:6px;font-size:17px}
.sub{font-size:14px;color:var(--muted)}
/* code boxes */
.code-wrap{position:relative}
.code-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;direction:ltr}
.code-box{height:56px;border-radius:14px;border:1.5px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800}
.code-box.on{border-color:var(--primary);box-shadow:0 0 0 3px rgba(200,16,46,.18)}
.code-input{position:absolute;inset:0;opacity:0;width:100%;height:100%;font-size:16px;text-transform:uppercase}
/* student home */
.s-head{display:flex;align-items:center;gap:12px;padding:20px 20px 4px}
.avatar{width:52px;height:52px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px;flex:none}
.s-head .who{flex:1;min-width:0}.who b{display:block;font-size:20px;line-height:1.2}
.icon-btn{width:46px;height:46px;border-radius:50%;border:0;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:8px 20px}
.quick button{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:6px;font-weight:700}
.quick svg{width:26px;height:26px;color:var(--primary)}
.comp{margin:10px 20px;border-radius:calc(var(--radius) + 6px);background:var(--card);border:1px solid var(--line);padding:18px;display:flex;flex-direction:column;gap:14px}
.phase{display:flex;align-items:center;justify-content:space-between;gap:10px}
.phase b{font-size:19px}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stat{background:var(--soft);border-radius:var(--radius);padding:12px;text-align:center}
.stat b{display:block;font-size:30px;line-height:1.1}
.stat span{font-size:13px;color:var(--muted)}
/* play */
.play{padding:14px 18px 26px;display:flex;flex-direction:column;gap:14px;min-height:100vh}
.play-top{display:flex;align-items:center;justify-content:space-between}
.dots{display:flex;gap:6px;justify-content:center}
.dot{width:34px;height:8px;border-radius:99px;background:var(--line)}
.dot.done{background:var(--primary)}.dot.cur{background:var(--accent)}
.timer{width:116px;height:116px;margin:0 auto;position:relative}
.timer svg{width:116px;height:116px;transform:rotate(-90deg)}
.timer circle{fill:none;stroke-width:9}
.timer .bg{stroke:var(--line)}
.timer .fg{stroke:var(--accent);stroke-linecap:round}
.timer .num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:800;font-size:38px;line-height:1}
.timer .num small{font-size:13px;font-weight:600;color:var(--muted)}
.qbox{background:var(--card);border:1px solid var(--line);border-radius:calc(var(--radius) + 4px);padding:20px 16px;text-align:center;font-size:var(--font-q);font-weight:800;line-height:1.5;min-height:110px;display:flex;align-items:center;justify-content:center}
.opts{display:flex;flex-direction:column;gap:10px}
.opt{display:flex;align-items:center;gap:12px;min-height:var(--opt-h);padding:8px 14px;border-radius:var(--radius);border:1.5px solid var(--o-border,var(--line));background:#fff;font-weight:700;font-size:20px;text-align:right;width:100%;color:var(--ink)}
.opt .letter{width:34px;height:34px;border-radius:50%;background:var(--soft);display:flex;align-items:center;justify-content:center;font-size:17px;flex:none}
.opt .txt{flex:1}
[data-theme=kids] .opt:nth-child(1){background:var(--o1);color:#fff}
[data-theme=kids] .opt:nth-child(2){background:var(--o2);color:#fff}
[data-theme=kids] .opt:nth-child(3){background:var(--o3);color:#fff}
[data-theme=kids] .opt:nth-child(4){background:var(--o4);color:#fff}
[data-theme=kids] .opt .letter{background:rgba(255,255,255,.3);color:#fff}
[data-theme=kids] .opt{box-shadow:0 5px 0 rgba(0,0,0,.18)}
.opt.good{background:var(--good)!important;color:#fff!important;border-color:var(--good)!important}
.opt.bad{background:var(--bad)!important;color:#fff!important;border-color:var(--bad)!important}
.opt.dim{opacity:.45}
.opt.good .letter,.opt.bad .letter{background:rgba(255,255,255,.3);color:#fff}
.pts-pop{text-align:center;font-weight:800;font-size:22px;min-height:34px}
.pts-pop.good{color:var(--good)}.pts-pop.bad{color:var(--bad)}
.result{padding:40px 20px;display:flex;flex-direction:column;gap:16px;align-items:stretch}
.medal{width:120px;height:120px;border-radius:50%;margin:0 auto;background:radial-gradient(circle at 35% 30%,#FFE08A,#F5A623);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 8px 24px rgba(245,166,35,.45)}
.medal svg{width:64px;height:64px}
.big{font-size:56px;font-weight:800;line-height:1}
.rows .r{display:flex;justify-content:space-between;align-items:center;padding:12px 4px;border-bottom:1px solid var(--line);font-weight:600}
.rows .r:last-child{border-bottom:0}
.up{color:var(--good);font-weight:800}.down{color:var(--bad);font-weight:800}
/* modal */
.modal-back{position:fixed;inset:0;background:rgba(6,16,56,.5);display:flex;align-items:flex-end;justify-content:center;z-index:50}
.modal{background:var(--bg);width:100%;max-width:520px;max-height:88vh;overflow:auto;border-radius:24px 24px 0 0;padding:18px 18px 28px}
@media(min-width:700px){.modal-back{align-items:center}.modal{border-radius:24px}}
.modal h3{font-size:20px;margin-bottom:12px}
.lb .r{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px}
.lb .r.me{background:var(--good-bg);font-weight:800}
.lb .no{width:30px;height:30px;border-radius:50%;background:var(--soft);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;flex:none}
.lb .r:nth-child(1) .no{background:#FFD66B}.lb .r:nth-child(2) .no{background:#D9DEE3}.lb .r:nth-child(3) .no{background:#E9B28A}
.lb .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* teacher */
.t-top{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 6px}
.t-title{font-size:24px;font-weight:800}
.t-body{padding:8px 18px 110px;display:flex;flex-direction:column;gap:14px}
.t-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:980px;background:var(--primary);display:grid;grid-template-columns:repeat(5,1fr);padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;z-index:20}
.t-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;color:#FFDCCF;text-decoration:none;font-size:13px;font-weight:600;padding:6px 2px;border-radius:14px}
.t-nav a.on{background:var(--accent);color:var(--accent-ink)}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.kpi{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:12px 6px;text-align:center}
.kpi b{display:block;font-size:26px;line-height:1.15}.kpi span{font-size:13px;color:var(--muted)}
.alert{background:#FFF1D6;border-radius:var(--radius);padding:12px 14px;display:flex;gap:10px;align-items:center}
.class-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px;text-decoration:none;color:inherit}
.ring{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;flex:none}
.tabs{display:flex;background:var(--soft);border-radius:999px;padding:4px;gap:4px}
.tabs button{flex:1;border:0;background:transparent;padding:9px 6px;border-radius:999px;font-weight:700}
.tabs button.on{background:var(--primary);color:#fff}
.tbl-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
table{border-collapse:collapse;width:100%;font-size:15px}
th,td{padding:10px 12px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
th{background:var(--soft);font-size:13px;color:var(--muted)}
tr:last-child td{border-bottom:0}
td.code{font-family:ui-monospace,Menlo,monospace;font-weight:800;letter-spacing:2px;direction:ltr;text-align:center}
.style-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.style-card{border:2px solid var(--line);background:#fff;border-radius:var(--radius);padding:10px 6px;text-align:center;font-weight:700;font-size:14px}
.style-card.on{border-color:var(--accent);box-shadow:0 0 0 3px rgba(245,166,35,.25)}
.style-card .sw{height:44px;border-radius:10px;margin-bottom:6px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.q-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.q-item .opts-s{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;font-size:14px;color:var(--muted)}
.q-item .opts-s .c{color:#0b6a43;font-weight:700}
.filters{display:flex;gap:8px;flex-wrap:wrap}
.filters select{min-height:42px;padding:6px 10px;border:1.5px solid var(--line);border-radius:12px;background:#fff}
#toast{position:fixed;bottom:96px;left:50%;transform:translateX(-50%) translateY(20px);background:#0E1938;color:#fff;padding:10px 18px;border-radius:999px;opacity:0;pointer-events:none;transition:.25s;z-index:99;max-width:90%;text-align:center}
#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.spin{width:34px;height:34px;border:4px solid var(--line);border-top-color:var(--primary);border-radius:50%;animation:sp .8s linear infinite;margin:60px auto}
@keyframes sp{to{transform:rotate(360deg)}}
#print-area{display:none}
@media print{
  body>*:not(#print-area){display:none!important}
  #print-area{display:block!important;direction:rtl}
  .pcards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
  .pcard{border:1.5px dashed #888;border-radius:10px;padding:12px;text-align:center;page-break-inside:avoid}
  .pcard .pc{font-family:ui-monospace,Menlo,monospace;font-size:26px;font-weight:800;letter-spacing:4px;direction:ltr;margin:6px 0}
}

.btn.soft,.btn.ghost,.btn.danger{box-shadow:none}
.btn.accent{box-shadow:0 3px 0 #C98A0B}
.hero h1{color:var(--primary-dark)}

/* ================= 3D LAYER ================= */
:root{--edge:#E6CDB0;--gold-1:#FFE48A;--gold-2:#F5B72B;--gold-3:#C98A0B}
@keyframes pop3d{0%{transform:scale(1)}40%{transform:scale(1.06)}100%{transform:scale(1)}}
@keyframes shake3d{0%,100%{transform:translateX(0)}20%{transform:translateX(-7px)}40%{transform:translateX(7px)}60%{transform:translateX(-5px)}80%{transform:translateX(4px)}}
@keyframes in3d{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@keyframes glow3d{0%,100%{box-shadow:0 0 0 0 rgba(245,183,43,.55)}50%{box-shadow:0 0 0 10px rgba(245,183,43,0)}}

/* buttons */
.btn{position:relative;background:linear-gradient(180deg,color-mix(in srgb,var(--primary) 78%,#fff) 0%,var(--primary) 55%,var(--primary-dark) 100%);
  box-shadow:0 6px 0 var(--primary-dark),0 10px 18px rgba(120,10,10,.25),inset 0 2px 0 rgba(255,255,255,.35);
  text-shadow:0 2px 0 rgba(0,0,0,.25);transition:transform .08s,box-shadow .08s;margin-bottom:6px}
.btn::after{content:"";position:absolute;inset:3px 10px auto;height:42%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0));pointer-events:none}
.btn:active{transform:translateY(5px);box-shadow:0 1px 0 var(--primary-dark),0 3px 8px rgba(120,10,10,.2),inset 0 2px 0 rgba(255,255,255,.3)}
.btn.accent{background:linear-gradient(180deg,var(--gold-1),var(--gold-2) 60%,#E09A12);color:#4A1A00;text-shadow:0 1px 0 rgba(255,255,255,.5);box-shadow:0 6px 0 var(--gold-3),0 10px 18px rgba(201,138,11,.3),inset 0 2px 0 rgba(255,255,255,.6)}
.btn.accent:active{box-shadow:0 1px 0 var(--gold-3)}
.btn.soft{background:linear-gradient(180deg,#fff,var(--soft));color:var(--ink);text-shadow:none;box-shadow:0 5px 0 var(--edge),0 8px 14px rgba(120,60,10,.12)}
.btn.soft:active{box-shadow:0 1px 0 var(--edge)}
.btn.ghost{background:#fff;text-shadow:none;box-shadow:0 5px 0 var(--edge)}
.btn.danger{background:linear-gradient(180deg,#ff6b6f,#D7263D);box-shadow:0 6px 0 #8E0A0A}
.btn.sm{margin-bottom:4px;box-shadow:0 4px 0 var(--primary-dark),inset 0 2px 0 rgba(255,255,255,.35)}
.btn.sm.soft{box-shadow:0 4px 0 var(--edge)}.btn.sm.accent{box-shadow:0 4px 0 var(--gold-3)}
.btn.sm::after{height:38%}
.btn.soft::after,.btn.ghost::after{display:none}

/* icon buttons */
.icon-btn{background:linear-gradient(180deg,#fff,#FBEFE2);box-shadow:0 4px 0 var(--edge),0 6px 12px rgba(120,60,10,.15);color:var(--primary-dark);transition:transform .08s}
.icon-btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--edge)}

/* cards */
.card,.comp,.class-card,.q-item{box-shadow:0 5px 0 var(--edge),0 10px 22px rgba(120,60,10,.08);border-color:var(--line)}
.comp{animation:in3d .35s ease-out}

/* avatar */
.avatar{background:radial-gradient(circle at 35% 30%,#ff6b6f,var(--primary) 60%,var(--primary-dark));box-shadow:0 4px 0 var(--primary-dark),inset 0 2px 0 rgba(255,255,255,.35);text-shadow:0 2px 0 rgba(0,0,0,.25)}

/* quick tiles with 3D icon badges */
.quick button{background:#fff;border:1px solid var(--line);box-shadow:0 6px 0 var(--edge),0 10px 18px rgba(120,60,10,.1);transition:transform .08s}
.quick button:active{transform:translateY(4px);box-shadow:0 2px 0 var(--edge)}
.quick svg{width:50px;height:50px;padding:11px;border-radius:16px;color:#fff;stroke-width:2.4;
  background:linear-gradient(180deg,#ff5a66,#C8102E 60%,#9C0B1E);box-shadow:0 4px 0 #7A0816,inset 0 2px 0 rgba(255,255,255,.45);filter:drop-shadow(0 2px 2px rgba(0,0,0,.15))}
.quick button:nth-child(2) svg{background:linear-gradient(180deg,var(--gold-1),var(--gold-2) 60%,#E09A12);color:#5A2600;box-shadow:0 4px 0 var(--gold-3),inset 0 2px 0 rgba(255,255,255,.6)}
.quick button:nth-child(3) svg{background:linear-gradient(180deg,#FF9A4D,#F26B1D 60%,#C54E0C);box-shadow:0 4px 0 #8F3608,inset 0 2px 0 rgba(255,255,255,.45)}

/* stats */
.stat{background:linear-gradient(180deg,#fff,var(--soft));box-shadow:0 5px 0 var(--edge),inset 0 2px 0 #fff}
.stat b{color:var(--primary);text-shadow:0 2px 0 rgba(120,10,10,.12)}

/* code boxes */
.code-box{background:linear-gradient(180deg,#fff,#FFF7EC);box-shadow:0 4px 0 var(--edge),inset 0 2px 4px rgba(120,60,10,.06)}
.code-box.on{box-shadow:0 4px 0 var(--primary-dark),0 0 0 3px rgba(200,16,46,.18)}

/* progress dots */
.dot{height:12px;box-shadow:inset 0 2px 3px rgba(0,0,0,.12)}
.dot.done{background:linear-gradient(180deg,#ff5a66,var(--primary));box-shadow:0 3px 0 var(--primary-dark)}
.dot.cur{background:linear-gradient(180deg,var(--gold-1),var(--gold-2));box-shadow:0 3px 0 var(--gold-3);animation:glow3d 1.4s infinite}

/* timer: golden 3D stopwatch */
.timer{width:132px;height:132px;border-radius:50%;
  background:radial-gradient(circle at 50% 45%,#FFFDF6 0 52%,transparent 53%),conic-gradient(from 200deg,var(--gold-1),var(--gold-2),var(--gold-3),var(--gold-2),var(--gold-1));
  box-shadow:0 7px 0 var(--gold-3),0 14px 24px rgba(201,138,11,.35),inset 0 3px 0 rgba(255,255,255,.6)}
.timer::before{content:"";position:absolute;top:-16px;left:50%;transform:translateX(-50%);width:30px;height:16px;border-radius:6px 6px 3px 3px;background:linear-gradient(180deg,var(--gold-1),var(--gold-3));box-shadow:0 2px 0 #9b6a06}
.timer svg{position:absolute;inset:8px;width:116px;height:116px}
.timer .bg{stroke:rgba(201,138,11,.18)}
.timer .fg{stroke:var(--primary);filter:drop-shadow(0 2px 0 var(--primary-dark))}
.timer .num{color:var(--primary-dark);font-size:42px;text-shadow:0 3px 0 color-mix(in srgb,var(--n0) 12%,transparent)}

/* question card */
.qbox{position:relative;background:linear-gradient(180deg,#fff,#FFF8EE);border:2px solid #F3D9B8;
  box-shadow:0 8px 0 var(--edge),0 16px 28px rgba(120,60,10,.12),inset 0 3px 0 #fff;animation:in3d .3s ease-out}
.qbox::before{content:"";position:absolute;top:-2px;left:22%;right:22%;height:6px;border-radius:0 0 8px 8px;background:linear-gradient(90deg,var(--gold-2),var(--gold-1),var(--gold-2))}

/* answer options */
.opt{position:relative;background:linear-gradient(180deg,#fff,#FFF6EA);border:2px solid #F3D9B8;
  box-shadow:0 6px 0 var(--edge),0 10px 18px rgba(120,60,10,.1);transition:transform .08s,box-shadow .08s;margin-bottom:4px;animation:in3d .3s ease-out backwards}
.opt:nth-child(2){animation-delay:.05s}.opt:nth-child(3){animation-delay:.1s}.opt:nth-child(4){animation-delay:.15s}
.opt::after{content:"";position:absolute;inset:3px 14px auto;height:38%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0));pointer-events:none}
.opt:active{transform:translateY(5px);box-shadow:0 1px 0 var(--edge)}
.opt .letter{width:40px;height:40px;font-weight:900;font-size:18px;color:#5A2600;
  background:radial-gradient(circle at 35% 30%,var(--gold-1),var(--gold-2) 60%,#E09A12);box-shadow:0 3px 0 var(--gold-3),inset 0 2px 0 rgba(255,255,255,.6)}
[data-theme=kids] .opt{border-color:transparent;text-shadow:0 2px 0 rgba(0,0,0,.2)}
[data-theme=kids] .opt:nth-child(1){background:linear-gradient(180deg,#5AA0FF,#2F80ED 60%,#1F63C4);box-shadow:0 6px 0 #164A96,0 10px 18px rgba(0,0,0,.15)}
[data-theme=kids] .opt:nth-child(2){background:linear-gradient(180deg,#B57AF0,#9B51E0 60%,#7A35BD);box-shadow:0 6px 0 #5B2590,0 10px 18px rgba(0,0,0,.15)}
[data-theme=kids] .opt:nth-child(3){background:linear-gradient(180deg,#FFB36B,#F2994A 60%,#D97A26);box-shadow:0 6px 0 #A85A15,0 10px 18px rgba(0,0,0,.15)}
[data-theme=kids] .opt:nth-child(4){background:linear-gradient(180deg,#3CCABD,#14A89B 60%,#0E857B);box-shadow:0 6px 0 #0A615A,0 10px 18px rgba(0,0,0,.15)}
[data-theme=kids] .opt .letter{background:rgba(255,255,255,.95);color:var(--ink);box-shadow:0 3px 0 rgba(0,0,0,.18)}
.opt.good{background:linear-gradient(180deg,#4FD394,#1FA971 60%,#168A5B)!important;box-shadow:0 6px 0 #0E6A45,0 0 0 4px rgba(31,169,113,.25)!important;animation:pop3d .35s ease-out!important;text-shadow:0 2px 0 rgba(0,0,0,.2)}
.opt.bad{background:linear-gradient(180deg,#5B4A56,#3E2F3A 60%,#2A1F27)!important;border-color:#2A1F27!important;box-shadow:0 6px 0 #160F14!important;animation:shake3d .4s ease-out!important}
.opt.good .letter,.opt.bad .letter{background:rgba(255,255,255,.9);color:var(--ink)}
.pts-pop.good{color:#168A5B;font-size:26px;text-shadow:0 2px 0 rgba(0,0,0,.08);animation:pop3d .4s}
.pts-pop.bad{color:#3E2F3A}

/* result medal */
.medal{background:radial-gradient(circle at 35% 28%,#FFF4C2,var(--gold-1) 25%,var(--gold-2) 60%,var(--gold-3));
  box-shadow:0 8px 0 #9b6a06,0 18px 30px rgba(201,138,11,.45),inset 0 4px 0 rgba(255,255,255,.6),inset 0 -6px 0 rgba(0,0,0,.08);animation:pop3d .6s ease-out}
.medal svg{color:#fff;filter:drop-shadow(0 3px 0 rgba(120,70,0,.45))}
.big{color:var(--primary);text-shadow:0 4px 0 color-mix(in srgb,var(--n0) 12%,transparent)}

/* leaderboard medals */
.lb .no{box-shadow:0 3px 0 var(--edge),inset 0 2px 0 rgba(255,255,255,.6)}
.lb .r:nth-child(1) .no{background:radial-gradient(circle at 35% 30%,var(--gold-1),var(--gold-2));box-shadow:0 3px 0 var(--gold-3)}
.lb .r:nth-child(2) .no{background:radial-gradient(circle at 35% 30%,#fff,#C9D0D6);box-shadow:0 3px 0 #8F99A3}
.lb .r:nth-child(3) .no{background:radial-gradient(circle at 35% 30%,#F8C9A0,#D98A4E);box-shadow:0 3px 0 #9A5A28}

/* teacher nav */
.t-nav a.on{background:linear-gradient(180deg,var(--gold-1),var(--gold-2));color:#4A1A00;box-shadow:0 4px 0 var(--gold-3),inset 0 2px 0 rgba(255,255,255,.6)}
.tabs button.on{background:linear-gradient(180deg,color-mix(in srgb,var(--primary) 78%,#fff),var(--primary));box-shadow:0 3px 0 var(--primary-dark)}
.kpi{box-shadow:0 5px 0 var(--edge)}
.kpi b{color:var(--primary)}
/* dashboard */
.kpis4{grid-template-columns:repeat(2,1fr)!important}
@media(min-width:700px){.kpis4{grid-template-columns:repeat(4,1fr)!important}}
.kpi{position:relative}
.kpi-ic{width:38px;height:38px;margin:0 auto 4px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(180deg,#ff5a66,#C8102E 60%,#9C0B1E);box-shadow:0 3px 0 #7A0816,inset 0 2px 0 rgba(255,255,255,.4)}
.kpi:nth-child(2) .kpi-ic{background:linear-gradient(180deg,var(--gold-1),var(--gold-2));color:#5A2600;box-shadow:0 3px 0 var(--gold-3)}
.kpi:nth-child(3) .kpi-ic{background:linear-gradient(180deg,#4FD394,#1FA971);box-shadow:0 3px 0 #0E6A45}
.kpi:nth-child(4) .kpi-ic{background:linear-gradient(180deg,#FF9A4D,#F26B1D);box-shadow:0 3px 0 #8F3608}
.card b .ico,.card>b .ico{width:18px;height:18px;vertical-align:-3px;color:var(--primary)}
.dash-link{text-decoration:none;color:inherit;padding:8px 2px;border-top:1px solid var(--line)}
.rank-row{display:flex;gap:12px;align-items:flex-start;text-decoration:none;color:inherit;padding:10px 0;border-top:1px solid var(--line)}
.rank-row .pts{color:var(--primary)}
.rk{width:32px;height:32px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;font-weight:900;background:var(--soft);box-shadow:0 3px 0 var(--edge)}
.rk1{background:radial-gradient(circle at 35% 30%,var(--gold-1),var(--gold-2));box-shadow:0 3px 0 var(--gold-3)}
.rk2{background:radial-gradient(circle at 35% 30%,#fff,#C9D0D6);box-shadow:0 3px 0 #8F99A3}
.rk3{background:radial-gradient(circle at 35% 30%,#F8C9A0,#D98A4E);box-shadow:0 3px 0 #9A5A28}
.bar{height:12px;border-radius:99px;background:var(--soft);box-shadow:inset 0 2px 3px rgba(0,0,0,.08);overflow:hidden;margin:6px 0 4px}
.bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(180deg,#ff5a66,var(--primary));box-shadow:inset 0 -2px 0 rgba(0,0,0,.15)}
.bar.gold i{background:linear-gradient(180deg,var(--gold-1),var(--gold-2))}
/* ===== app feel ===== */
html,body{touch-action:manipulation;-webkit-text-size-adjust:100%;overscroll-behavior:none}
body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,textarea,select,.q-body,.join-box,.big-code{-webkit-user-select:text;user-select:text}
input,textarea,select{font-size:16px!important}
/* back button sits on the right (start in RTL) */
.brand .back-btn{width:42px;height:42px;flex:none}
/* picks (wizard + settings) */
.picks{display:flex;flex-direction:column;gap:10px}
.picks2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pick{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 10px;border-radius:var(--radius);border:2px solid var(--line);background:linear-gradient(180deg,#fff,#FFF7EC);box-shadow:0 5px 0 var(--edge);text-align:center;transition:transform .08s;margin-bottom:4px}
.pick:active{transform:translateY(4px);box-shadow:0 1px 0 var(--edge)}
.pick.wide{flex-direction:row;text-align:right;gap:12px;padding:14px}
.pick b{font-size:16px}.pick small{display:block;color:var(--muted);font-size:13px}
.pick.on{border-color:var(--primary);background:linear-gradient(180deg,#FFF1EE,#FFE1DA);box-shadow:0 5px 0 var(--primary-dark)}
.pick-ic{width:44px;height:44px;border-radius:14px;flex:none;display:flex;align-items:center;justify-content:center;color:var(--primary);background:var(--soft);box-shadow:0 3px 0 var(--edge)}
.pick.on .pick-ic{color:#fff;background:linear-gradient(180deg,#ff5a66,var(--primary));box-shadow:0 3px 0 var(--primary-dark)}
/* wizard */
.w-card{display:flex;flex-direction:column;gap:16px}
.w-prog{display:flex;justify-content:space-between;gap:4px}
.w-st{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;position:relative}
.w-st span{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;background:var(--soft);color:var(--muted);box-shadow:0 3px 0 var(--edge)}
.w-st.cur span{background:linear-gradient(180deg,var(--gold-1),var(--gold-2));color:#4A1A00;box-shadow:0 3px 0 var(--gold-3)}
.w-st.done span{background:linear-gradient(180deg,#ff5a66,var(--primary));color:#fff;box-shadow:0 3px 0 var(--primary-dark)}
.w-st small{font-size:12.5px;color:var(--muted)}
.w-h{font-size:22px;font-weight:800}
.w-nav .btn{flex:1}
/* class accordion */
.cls{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 0 var(--edge);overflow:hidden}
.cls-head{display:flex;align-items:center;gap:12px;width:100%;padding:14px;background:none;border:0;text-align:right}
.cls-head b{font-size:18px}
.chev{display:flex;transition:transform .2s;color:var(--primary)}
.cls.open .chev{transform:rotate(90deg)}
.count{min-width:38px;height:38px;padding:0 8px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:900;color:#fff;background:linear-gradient(180deg,#ff5a66,var(--primary));box-shadow:0 3px 0 var(--primary-dark)}
.cls-body{border-top:1px solid var(--line);padding:12px;display:flex;flex-direction:column;gap:10px;background:#FFFBF5}
.join-row{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--soft);border-radius:12px;padding:8px 10px}
.join-box{background:var(--soft);border-radius:12px;padding:10px;font-size:13px;word-break:break-all;text-align:left}
/* swipe rows */
.sw-list{display:flex;flex-direction:column;gap:8px}
.sw-row{position:relative;border-radius:14px;overflow:hidden;background:#3a2a2a}
.sw-act{position:absolute;inset:0;display:flex;justify-content:flex-end;direction:ltr}
.sw-act{justify-content:flex-start}
.sw-act button{width:72px;border:0;color:#fff;font-size:13px;font-weight:700;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
.sw-act .wa{background:#1FA971}.sw-act .rg{background:#E09A12}.sw-act .del{background:#B3122A}
.sw-main{position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:14px;transition:transform .2s ease}
.sw-main b{font-size:16px}
.sw-n{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;background:var(--soft);flex:none}
.code-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:10px;border:0;background:var(--soft);font-weight:800;letter-spacing:2px;direction:ltr;font-family:ui-monospace,Menlo,monospace;box-shadow:0 3px 0 var(--edge)}
.code-pill .ico{width:18px;height:18px;color:var(--primary)}
.code-pill.shown{background:linear-gradient(180deg,var(--gold-1),var(--gold-2));box-shadow:0 3px 0 var(--gold-3);color:#4A1A00}
.big-code{font-size:44px;font-weight:900;letter-spacing:8px;color:var(--primary);font-family:ui-monospace,Menlo,monospace;padding:10px 0}
/* questions screen */
.badge{display:inline-flex;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:var(--accent);color:#4A1A00;font-size:13px;align-items:center;justify-content:center;margin-inline-start:4px}
.tabs button.on .badge{background:#fff;color:var(--primary)}
.lv-chips{display:flex;gap:8px;overflow-x:auto}
.lv-chips button{border:0;padding:7px 16px;border-radius:99px;background:#fff;font-weight:700;box-shadow:0 3px 0 var(--edge);white-space:nowrap}
.lv-chips button.on{background:linear-gradient(180deg,var(--gold-1),var(--gold-2));box-shadow:0 3px 0 var(--gold-3);color:#4A1A00}
.q-item{cursor:pointer;display:flex;flex-direction:column;gap:8px}
.q-body{font-size:17px;line-height:1.5}
.q-item .opts-s{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;font-size:14px;color:var(--muted)}
.q-item .opts-s .c{color:#0b6a43;font-weight:800}
.chip.lv-easy{background:#E4F7EE;color:#0b6a43}.chip.lv-medium{background:#FFF1D6;color:#8a5a00}.chip.lv-hard{background:#FDE3E5;color:#9b1c20}
.q-ok,.q-no{width:42px;height:42px;border-radius:50%;border:0;display:flex;align-items:center;justify-content:center;color:#fff}
.q-ok{background:linear-gradient(180deg,#4FD394,#1FA971);box-shadow:0 3px 0 #0E6A45}
.q-no{background:linear-gradient(180deg,#8a7a84,#5B4A56);box-shadow:0 3px 0 #2A1F27}
.fab{position:fixed;bottom:calc(96px + env(safe-area-inset-bottom));left:20px;width:60px;height:60px;border-radius:50%;border:0;color:#fff;z-index:25;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,#ff5a66,var(--primary) 60%,var(--primary-dark));box-shadow:0 5px 0 #5c0610,0 10px 20px rgba(120,10,10,.35),inset 0 2px 0 rgba(255,255,255,.35)}
.fab .ico{width:28px;height:28px;stroke-width:2.6}
.fab:active{transform:translateY(4px);box-shadow:0 1px 0 #5c0610}
/* ===== floating glass tab bar (iOS style) ===== */
.t-nav{bottom:calc(12px + env(safe-area-inset-bottom))!important;left:50%!important;transform:translateX(-50%)!important;width:calc(100% - 24px)!important;max-width:560px!important;
  padding:6px!important;border-radius:32px!important;background:rgba(255,255,255,.55)!important;
  -webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);
  border:1px solid rgba(255,255,255,.75);box-shadow:0 10px 30px rgba(60,20,10,.18),inset 0 1px 0 rgba(255,255,255,.8)}
.t-nav a{color:#5a4a46!important;border-radius:26px!important;padding:7px 2px!important;font-size:12px!important;transition:background .2s,color .2s}
.t-nav a .ico{width:24px;height:24px}
.t-nav a.on{background:color-mix(in srgb,var(--primary) 12%,transparent)!important;color:var(--primary)!important;box-shadow:none!important}
.t-nav a.on .ico{stroke-width:2.4}
.t-body{padding-bottom:130px!important}
/* student card */
.st-card{display:flex;flex-direction:column;gap:14px}
.st-top{display:flex;align-items:center;gap:14px}
.st-top b{font-size:20px}
.big-av{width:64px;height:64px;font-size:22px}
.big-pill{align-self:center;font-size:24px;padding:10px 18px;letter-spacing:5px}
.st-card .stats{grid-template-columns:repeat(4,1fr);gap:8px}
.st-card .stat{padding:10px 4px}.st-card .stat b{font-size:22px}.st-card .stat span{font-size:12.5px}
.st-acts{display:flex;flex-direction:column;gap:6px}
.st-acts .row .btn{flex:1}
.sw-main{cursor:pointer}
/* results */
.podium{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;gap:8px;padding:10px 4px 0}
.pd{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;min-width:0}
.pd b{font-size:14px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pd span{font-size:13px;color:var(--primary);font-weight:800}
.pd-medal{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px;color:#4A1A00}
.pd1 .pd-medal{width:60px;height:60px;font-size:24px;background:radial-gradient(circle at 35% 30%,#FFF4C2,var(--gold-1) 30%,var(--gold-2));box-shadow:0 4px 0 var(--gold-3)}
.pd2 .pd-medal{background:radial-gradient(circle at 35% 30%,#fff,#C9D0D6);box-shadow:0 4px 0 #8F99A3}
.pd3 .pd-medal{background:radial-gradient(circle at 35% 30%,#F8C9A0,#D98A4E);box-shadow:0 4px 0 #9A5A28}
.pd-step{width:100%;border-radius:12px 12px 0 0;margin-top:6px;background:linear-gradient(180deg,#ff5a66,var(--primary));box-shadow:inset 0 2px 0 rgba(255,255,255,.35)}
.pd1 .pd-step{height:70px}.pd2 .pd-step{height:48px;opacity:.85}.pd3 .pd-step{height:34px;opacity:.7}
.res-list{display:flex;flex-direction:column;gap:8px}
.res-row{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;box-shadow:0 4px 0 var(--edge);cursor:pointer}
.res-row:active{transform:translateY(3px);box-shadow:0 1px 0 var(--edge)}
.res-row .pts{color:var(--primary)}
.today{width:26px;height:26px;border-radius:50%;flex:none;background:var(--soft);display:flex;align-items:center;justify-content:center;color:#fff}
.today.y{background:linear-gradient(180deg,#4FD394,#1FA971);box-shadow:0 2px 0 #0E6A45}
.today .ico{width:16px;height:16px;stroke-width:3}
/* iOS date inputs: keep inside the card, correct order */
.grid2>*,.field{min-width:0}
input[type=date].input{-webkit-appearance:none;appearance:none;display:block;width:100%;max-width:100%;min-width:0;direction:ltr;text-align:center;line-height:28px}
input[type=date].input::-webkit-date-and-time-value{text-align:center;margin:0}
input[type=date].input::-webkit-calendar-picker-indicator{margin:0}
/* lower floating tab bar */
.t-nav{bottom:max(6px, calc(env(safe-area-inset-bottom) - 20px))!important}
.fab{bottom:calc(max(6px, calc(env(safe-area-inset-bottom) - 20px)) + 84px)!important}
#toast{bottom:calc(max(6px, calc(env(safe-area-inset-bottom) - 20px)) + 84px)}

/* ================= APPLE-STYLE TEACHER UI (body.wide) ================= */
body.wide{--bg:#F5F2EF;--card:#fff;--line:rgba(60,40,30,.12);--muted:#6F6460;--ink:#1C1412;--radius:16px;
  font-family:'Cairo',-apple-system,system-ui,sans-serif;background:var(--bg)!important;letter-spacing:0}
body.wide .t-top{position:sticky;top:0;z-index:30;padding:calc(10px + env(safe-area-inset-top)) 18px 10px;transition:background .2s,box-shadow .2s}
body.wide.scrolled .t-top{background:rgba(245,242,239,.78);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);box-shadow:0 .5px 0 var(--line)}
body.wide .t-title{font-size:32px;font-weight:800;letter-spacing:-.02em;transition:font-size .2s}
body.wide.scrolled .t-title{font-size:19px}
/* v290: header height fixed so shrinking title can't bounce the scroll */
body.wide .t-title{height:44px;line-height:44px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body.wide .brand .logo{display:none}
body.wide .t-body{gap:16px;padding-top:4px}
/* cards: flat inset-grouped */
body.wide .card,body.wide .cls,body.wide .q-item,body.wide .res-row,body.wide .kpi,body.wide .class-card,body.wide .comp{border:0!important;border-radius:var(--radius);box-shadow:0 1px 2px rgba(40,20,10,.05),0 4px 14px rgba(40,20,10,.04)!important}
body.wide .card{padding:16px}
body.wide .card>b:first-child,body.wide .card .row.between>b:first-child{font-size:17px;font-weight:700}
body.wide .sub{color:var(--muted)}
/* buttons: Apple filled / tinted */
body.wide .btn{background:var(--primary);box-shadow:none!important;text-shadow:none;border-radius:14px;font-weight:600;font-size:17px;min-height:50px;margin-bottom:0}
body.wide .btn::after{display:none}
body.wide .btn:active{transform:none;opacity:.7}
body.wide .btn.soft,body.wide .btn.ghost{background:color-mix(in srgb,var(--primary) 9%,transparent);color:var(--primary);border:0}
body.wide .btn.accent{background:var(--gold-2);color:#3A1A00}
body.wide .btn.danger{background:rgba(200,16,46,.09);color:#C8102E}
body.wide .btn.sm{min-height:36px;font-size:15px;border-radius:999px;padding:0 14px}
body.wide .icon-btn{background:rgba(120,100,90,.12);box-shadow:none!important;color:var(--primary);width:38px;height:38px}
body.wide .icon-btn:active{transform:none;opacity:.6}
/* segmented control */
body.wide .tabs{background:rgba(118,98,90,.12);padding:2px;border-radius:10px;gap:0}
body.wide .tabs button{border-radius:8px;font-size:14px;font-weight:600;min-height:32px;color:var(--ink);background:transparent}
body.wide .tabs button.on{background:#fff!important;color:var(--ink)!important;box-shadow:0 3px 8px rgba(0,0,0,.12),0 3px 1px rgba(0,0,0,.04)!important}
body.wide .tabs button.on .badge{background:var(--primary);color:#fff}
/* chips */
body.wide .lv-chips button{box-shadow:none;background:rgba(118,98,90,.12);font-weight:600;font-size:14px;padding:6px 14px}
body.wide .lv-chips button.on{background:var(--primary);color:#fff;box-shadow:none}
body.wide .chip{font-weight:600}
/* inputs: iOS filled fields */
body.wide .input,body.wide select.input,body.wide textarea.input{background:rgba(118,98,90,.08);border:0;border-radius:12px;min-height:46px}
body.wide .input:focus{background:#fff;box-shadow:0 0 0 2px var(--primary)}
body.wide .field label{font-size:13px;font-weight:500;color:var(--muted);text-transform:none}
/* KPIs */
body.wide .kpi{background:#fff;padding:14px 8px}
body.wide .kpi b{font-size:26px;font-weight:700;color:var(--ink)}
body.wide .kpi-ic{width:32px;height:32px;border-radius:9px;box-shadow:none!important}
body.wide .kpi-ic .ico{width:18px;height:18px}
/* lists */
body.wide .dash-link,body.wide .rank-row{border-top:.5px solid var(--line)}
body.wide .rk,body.wide .sw-n{box-shadow:none!important}
body.wide .bar{height:6px;box-shadow:none}
body.wide .bar i{box-shadow:none}
/* class accordion */
body.wide .cls-head{padding:14px 16px}
body.wide .cls-head b{font-size:17px;font-weight:600}
body.wide .count{background:color-mix(in srgb,var(--primary) 10%,transparent);color:var(--primary);box-shadow:none;min-width:34px;height:28px;border-radius:999px;font-size:14px;font-weight:700}
body.wide .cls-body{background:#FBF9F7;border-top:.5px solid var(--line)}
body.wide .sw-list{gap:0;background:#fff;border-radius:12px;overflow:hidden}
body.wide .sw-row{border-radius:0}
body.wide .sw-row+.sw-row .sw-main{border-top:.5px solid var(--line)}
body.wide .sw-main{border:0;border-radius:0;padding:11px 14px}
body.wide .sw-main b{font-size:16px;font-weight:500}
body.wide .code-pill{box-shadow:none;background:rgba(118,98,90,.1);font-size:14px}
body.wide .code-pill.shown{background:rgba(245,183,43,.25);color:#7A4A00}
/* picks */
body.wide .pick{background:#fff;box-shadow:0 1px 2px rgba(40,20,10,.06)!important;border:1.5px solid transparent;margin:0}
body.wide .pick.on{background:color-mix(in srgb,var(--primary) 6%,transparent);border-color:var(--primary)}
body.wide .pick-ic{box-shadow:none!important;border-radius:10px;width:38px;height:38px}
/* wizard steps */
body.wide .w-st span{box-shadow:none!important;width:26px;height:26px;font-size:13px}
/* questions */
body.wide .q-ok,body.wide .q-no{box-shadow:none;width:36px;height:36px}
body.wide .q-ok{background:#1FA971}.body.wide .q-no{background:#8E8E93}
body.wide .q-no{background:#8E8E93}
body.wide .fab{box-shadow:0 8px 20px color-mix(in srgb,var(--primary) 35%,transparent)!important;background:var(--primary)}
/* results */
body.wide .res-row{padding:12px 14px}
body.wide .res-row:active{transform:none;background:#F7F2EE}
body.wide .pd-step{box-shadow:none}
/* sheets */
body.wide .modal{background:#F5F2EF;border-radius:14px 14px 0 0;padding-top:26px;position:relative}
body.wide .modal::before{content:"";position:absolute;top:8px;left:50%;transform:translateX(-50%);width:36px;height:5px;border-radius:3px;background:rgba(60,40,30,.25)}
body.wide .modal-back{background:rgba(0,0,0,.35);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
body.wide .stat{background:#fff;box-shadow:none}
body.wide .stat b{text-shadow:none}
/* tab bar refinement */
body.wide .t-nav a{font-weight:500!important}
/* action sheet (⋯ المزيد) */
.sheet{display:flex;flex-direction:column;gap:10px}
.sheet-t{text-align:center;font-size:13px;color:var(--muted);font-weight:600}
.sheet-list{background:#fff;border-radius:14px;overflow:hidden}
.sheet-i{display:flex;align-items:center;gap:12px;width:100%;padding:15px 16px;border:0;background:#fff;font-size:17px;color:var(--ink);text-align:right}
.sheet-list .sheet-i+.sheet-i{border-top:.5px solid var(--line)}
.sheet-i .ico{color:var(--primary);width:22px;height:22px}
.sheet-i.danger,.sheet-i.danger .ico{color:#D70015}
.sheet-i:active{background:#F2EEEA}
.sheet-sep{height:8px;background:var(--bg)}
.sheet-cancel{justify-content:center;border-radius:14px;font-weight:700;color:var(--primary)}
/* selection mode */
.selmark{display:flex;color:var(--primary);flex:none}
.selmark .ico{width:26px;height:26px}
.cls.picked{box-shadow:0 0 0 2px var(--primary)!important}
.sel-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(max(6px, calc(env(safe-area-inset-bottom) - 20px)) + 84px);width:calc(100% - 24px);max-width:560px;z-index:26;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px 10px;padding:10px 14px;border-radius:22px;text-align:center;
  background:rgba(255,255,255,.75);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);border:1px solid rgba(255,255,255,.8);box-shadow:0 10px 30px rgba(60,20,10,.18)}
.sel-bar .link{text-decoration:none;font-weight:600}
.sel-acts{grid-column:1/-1;display:flex;gap:8px}
.sel-acts .btn{flex:1;width:auto}
/* iOS settings */
.set-profile{display:flex;align-items:center;gap:14px;width:100%;padding:16px;border:0;border-radius:16px;background:#fff;text-align:right;box-shadow:0 1px 2px rgba(40,20,10,.05)}
.set-profile b{font-size:20px;font-weight:700}
.set-profile .avatar{box-shadow:none!important}
.set-h{font-size:13px;color:var(--muted);padding:6px 16px 0;margin-bottom:-8px}
.set-grp{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(40,20,10,.05)}
.set-row{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:8px 14px;border:0;background:#fff;font-size:17px;color:var(--ink);text-align:right;position:relative}
.set-row:active{background:#F2EEEA}
.set-grp .set-row+.set-row::before{content:"";position:absolute;top:0;right:56px;left:16px;height:.5px;background:var(--line)}
.set-ic{width:30px;height:30px;border-radius:8px;flex:none;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:15px}
.set-ic .ico{width:18px;height:18px;stroke-width:2.2}
.set-val{color:var(--muted);font-size:16px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.set-chev{display:flex;color:#C4BAB5;transform:scaleX(-1)}
.set-chev .ico{width:18px;height:18px}
.set-f{font-size:13px;color:var(--muted);padding:0 16px;margin-top:-8px}
.danger-row{color:#D70015;font-weight:600}
/* liquid glass lens on tab bar */
.t-nav{position:fixed}
.t-nav a{position:relative;z-index:1;background:transparent!important}
.t-nav a.on{background:transparent!important}
.t-nav a .ico,.t-nav a span{transition:transform .25s cubic-bezier(.3,1.4,.5,1)}
.t-nav a.on .ico{transform:scale(1.12)}
.t-nav a.hover .ico{transform:scale(1.28)}.t-nav a.hover span{transform:scale(1.08)}
.lens{position:absolute;top:6px;bottom:6px;width:calc((100% - 12px) / 5);right:calc(6px + (100% - 12px) / 5 * var(--i));z-index:0;border-radius:26px;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(255,235,230,.45));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.95),inset 0 -1px 2px color-mix(in srgb,var(--primary) 12%,transparent),0 4px 14px color-mix(in srgb,var(--primary) 18%,transparent),0 0 0 .5px color-mix(in srgb,var(--primary) 15%,transparent);
  transition:right .45s cubic-bezier(.34,1.45,.5,1),transform .25s}
.lens::after{content:"";position:absolute;inset:2px 8px auto;height:40%;border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,0))}
.lens.drag{transition:none;transform:scale(1.18,1.12);box-shadow:inset 0 1px 1px #fff,0 8px 24px color-mix(in srgb,var(--primary) 25%,transparent),0 0 0 .5px color-mix(in srgb,var(--primary) 20%,transparent)}
/* swipe actions: round icons; delete on the right, WhatsApp + new code on the left */
.sw-row,body.wide .sw-row{background:transparent!important;overflow:hidden}
.sw-act{position:absolute;inset:0;display:flex!important;justify-content:space-between!important;align-items:center;direction:rtl;padding:0 8px}
.sw-r,.sw-l{display:flex;gap:10px;align-items:center;height:100%}
.sw-act button,body.wide .sw-act button{width:auto!important;background:none!important;border:0;color:var(--ink);font-size:12.5px;font-weight:600;display:flex;flex-direction:column;align-items:center;gap:3px;padding:0 4px}
.sw-act button i{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 3px 8px rgba(0,0,0,.15)}
.sw-act button i .ico{width:20px;height:20px}
.sw-act .del i{background:#FF3B30}.sw-act .wa i{background:#25D366}.sw-act .rg i{background:#FF9500}
.sw-main{will-change:transform}
.sw-act{padding:0 12px!important}
.sw-main.open{box-shadow:0 0 12px rgba(0,0,0,.08)}
/* profile + avatar cropper */
.av-img{object-fit:cover;padding:0;background:#eee}
.prof{display:flex;flex-direction:column;align-items:center;gap:12px}
.prof-av{position:relative;border:0;background:none;padding:0}
.prof-big{width:110px!important;height:110px!important;font-size:36px!important;box-shadow:none!important}
.prof-cam{position:absolute;bottom:2px;left:2px;width:34px;height:34px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;border:3px solid #F5F2EF}
.prof-cam .ico{width:16px;height:16px}
.prof-in{flex:1;border:0;background:none;font-size:17px!important;text-align:left;outline:0;color:var(--ink);min-width:0}
.crop-wrap{display:flex;justify-content:center;padding:10px 0}
.crop{width:280px;height:280px;border-radius:50%;overflow:hidden;position:relative;background:#222;touch-action:none;box-shadow:0 0 0 4px #fff,0 6px 20px rgba(0,0,0,.2);cursor:grab}
.crop img{position:absolute;top:0;left:0;max-width:none;user-select:none;-webkit-user-drag:none;pointer-events:none}
.crop-z{width:100%;accent-color:var(--primary);margin:6px 0 12px}
/* results — compact iOS list */
.rs-sum{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:16px;padding:14px 4px;box-shadow:0 1px 2px rgba(40,20,10,.05)}
.rs-sum div{display:flex;flex-direction:column;align-items:center;gap:2px;position:relative}
.rs-sum div+div::before{content:"";position:absolute;right:0;top:15%;bottom:15%;width:.5px;background:var(--line)}
.rs-sum b{font-size:22px;font-weight:700;color:var(--ink)}
.rs-sum span{font-size:12.5px;color:var(--muted)}
.rs-empty{display:flex;gap:12px;align-items:center;background:rgba(245,183,43,.14);border-radius:14px;padding:12px 14px;color:#7A4A00}
.rs-empty b{display:block;font-size:15px}.rs-empty small{font-size:13px;opacity:.85}
.rs-search{display:flex;align-items:center;gap:8px;background:rgba(118,98,90,.12);border-radius:12px;padding:0 12px;height:40px;color:var(--muted)}
.rs-search .ico{width:18px;height:18px}
.rs-search input{flex:1;border:0;background:none;outline:0;font-size:16px!important;color:var(--ink);min-width:0}
.rs-seg button{font-size:13px!important}
.rl-grp{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(40,20,10,.05)}
.rl-row{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;border:0;background:#fff;text-align:right;position:relative;color:var(--ink)}
.rl-row:active{background:#F2EEEA}
.rl-grp .rl-row+.rl-row::before{content:"";position:absolute;top:0;right:54px;left:16px;height:.5px;background:var(--line)}
.rl-rk{width:28px;height:28px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:var(--muted)}
.rl-rk.m1{background:radial-gradient(circle at 35% 30%,var(--gold-1),var(--gold-2));color:#4A1A00}
.rl-rk.m2{background:radial-gradient(circle at 35% 30%,#fff,#C9D0D6);color:#333}
.rl-rk.m3{background:radial-gradient(circle at 35% 30%,#F8C9A0,#D98A4E);color:#4A1A00}
.rl-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.rl-txt b{font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rl-txt small{font-size:13px;color:var(--muted)}
.rl-bar{display:block;height:4px;border-radius:2px;background:rgba(118,98,90,.12);overflow:hidden;margin-top:3px}
.rl-bar i{display:block;height:100%;background:var(--primary);border-radius:2px}
.rl-dot{width:8px;height:8px;border-radius:50%;background:#34C759;flex:none}
.rl-pts{font-size:18px;font-weight:700;color:var(--primary);min-width:36px;text-align:left}
.rl-pts.z{color:#C4BAB5;font-weight:500}
.mode-seg button{display:flex;align-items:center;justify-content:center;gap:6px}
.mode-seg .ico{width:16px;height:16px}

/* ================= DARK MODE (teacher) ================= */
body.wide.dark{--bg:#000;--card:#1C1C1E;--ink:#F5F5F7;--muted:#98989F;--line:rgba(255,255,255,.12);--soft:#2C2C2E;--edge:#000;--primary:#FF375F;--primary-dark:#C8102E;color-scheme:dark;background:#000!important;color:var(--ink)}
body.wide.dark .card,body.wide.dark .cls,body.wide.dark .q-item,body.wide.dark .res-row,body.wide.dark .kpi,body.wide.dark .class-card,
body.wide.dark .set-grp,body.wide.dark .set-row,body.wide.dark .set-profile,body.wide.dark .sheet-list,body.wide.dark .sheet-i,body.wide.dark .rl-grp,body.wide.dark .rl-row,
body.wide.dark .rs-sum,body.wide.dark .sw-main,body.wide.dark .sw-list,body.wide.dark .pick,body.wide.dark .stat,body.wide.dark .cls-head{background:#1C1C1E!important;color:var(--ink);box-shadow:none!important}
body.wide.dark .cls-body{background:#151517}
body.wide.dark .set-row:active,body.wide.dark .rl-row:active,body.wide.dark .sheet-i:active{background:#2C2C2E!important}
body.wide.dark .modal{background:#1C1C1E}
body.wide.dark .modal .set-grp,body.wide.dark .modal .set-row,body.wide.dark .modal .sheet-list,body.wide.dark .modal .sheet-i,body.wide.dark .modal .card{background:#2C2C2E!important}
body.wide.dark .sheet-sep{background:#1C1C1E}
body.wide.dark .modal::before{background:rgba(255,255,255,.3)}
body.wide.dark.scrolled .t-top{background:rgba(0,0,0,.72)}
body.wide.dark .input,body.wide.dark select.input,body.wide.dark textarea.input,body.wide.dark .rs-search{background:#1C1C1E;color:var(--ink)}
body.wide.dark .modal .input{background:#3A3A3C}
body.wide.dark .input:focus{background:#2C2C2E}
body.wide.dark .tabs{background:rgba(118,118,128,.24)}
body.wide.dark .tabs button{color:var(--ink)}
body.wide.dark .tabs button.on{background:#636366!important;color:#fff!important}
body.wide.dark .lv-chips button{background:rgba(118,118,128,.24);color:var(--ink)}
body.wide.dark .lv-chips button.on{background:var(--primary);color:#fff}
body.wide.dark .btn.soft,body.wide.dark .btn.ghost,body.wide.dark .btn.danger{background:color-mix(in srgb,var(--primary) 16%,transparent);color:color-mix(in srgb,var(--primary) 78%,#fff)}
body.wide.dark .icon-btn{background:rgba(118,118,128,.24);color:color-mix(in srgb,var(--primary) 78%,#fff)}
body.wide.dark .chip{background:#2C2C2E;color:var(--ink)}
body.wide.dark .count{background:color-mix(in srgb,var(--primary) 20%,transparent);color:color-mix(in srgb,var(--primary) 78%,#fff)}
body.wide.dark .code-pill{background:#2C2C2E;color:var(--ink)}
body.wide.dark .sw-n,body.wide.dark .rk{background:#2C2C2E;color:var(--ink)}
body.wide.dark .sw-act button{color:var(--ink)}
body.wide.dark .bar,body.wide.dark .rl-bar{background:#2C2C2E}
body.wide.dark .rs-empty{background:rgba(255,214,10,.14);color:#FFD60A}
body.wide.dark .alert{background:rgba(255,214,10,.12);color:var(--ink)}
body.wide.dark .set-chev{color:#5A5A5E}
body.wide.dark .prof-cam{border-color:#1C1C1E}
body.wide.dark .t-nav{background:rgba(30,30,32,.62)!important;border-color:rgba(255,255,255,.1);box-shadow:0 10px 30px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.08)}
body.wide.dark .t-nav a{color:#AEAEB2!important}
body.wide.dark .t-nav a.on{color:color-mix(in srgb,var(--primary) 78%,#fff)!important}
body.wide.dark .lens{background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.06));box-shadow:inset 0 1px 1px rgba(255,255,255,.35),0 4px 14px rgba(0,0,0,.4)}
body.wide.dark .sel-bar{background:rgba(30,30,32,.75);border-color:rgba(255,255,255,.1)}
body.wide.dark .err{background:rgba(255,69,58,.18);color:#FF8A80}
body.wide.dark .ok{background:rgba(48,209,88,.18);color:#7CE6A0}
body.wide.dark .pick.on{background:color-mix(in srgb,var(--primary) 14%,transparent)}
body.wide.dark .pick-ic{background:#2C2C2E}
body.wide.dark .w-st span{background:#2C2C2E}
body.wide.dark .join-box,body.wide.dark .join-row{background:#2C2C2E}
body.wide.dark table th,body.wide.dark table td{border-color:var(--line)}
body.wide.dark .q-item .opts-s .c{color:#30D158}
body.wide.dark #toast{background:#3A3A3C}
.lv-chips.wrap{flex-wrap:wrap;overflow:visible}
.paste-btn{align-self:center;display:inline-flex;align-items:center;gap:6px;border:0;background:var(--soft);color:var(--primary);font-weight:700;padding:8px 16px;border-radius:999px;box-shadow:0 3px 0 var(--edge)}
.paste-btn .ico{width:18px;height:18px}
.paste-btn:active{transform:translateY(2px);box-shadow:0 1px 0 var(--edge)}
.code-input{-webkit-user-select:text;user-select:text}
.set-row.radio{min-height:56px}
.tick{display:flex;color:transparent}.tick.on{color:var(--primary)}
.tick .ico{width:22px;height:22px;stroke-width:2.6}

/* ===== unified answer colours + 3 student themes ===== */
/* kids (مرح): one bright colour for all answers, bouncy */
[data-theme=kids] .opt,[data-theme=kids] .opt:nth-child(n){background:linear-gradient(180deg,#5B8CFF,#3B6BF0 60%,#2C55CC)!important;box-shadow:0 6px 0 #1E3E9A,0 10px 18px rgba(30,62,154,.25)!important;color:#fff;border-color:transparent}
[data-theme=kids] .opt:active{box-shadow:0 1px 0 #1E3E9A!important}
/* mid (مرح قليلاً): white 3D cards, gold letters (default look) */
[data-theme=mid] .opt{background:linear-gradient(180deg,#5B8CFF,#3B6BF0 60%,#2C55CC)!important;box-shadow:0 6px 0 #1E3E9A,0 10px 18px rgba(30,62,154,.22)!important;color:#fff;border-color:transparent;text-shadow:0 2px 0 rgba(0,0,0,.2)}
[data-theme=mid] .opt:active{box-shadow:0 1px 0 #1E3E9A!important}
[data-theme=mid] .opt .letter{background:rgba(255,255,255,.95);color:#1E3E9A;box-shadow:0 3px 0 rgba(0,0,0,.18)}
/* uni (هادئ): flat, calm, no bounce */
body[data-theme=uni]{background:#F6F4F2!important}
[data-theme=uni] .opt{background:#3B6BF0!important;color:#fff;border:1.5px solid #2C55CC!important;box-shadow:none!important;animation:none!important;font-weight:600;font-size:18px;text-shadow:none}
[data-theme=uni] .opt::after,[data-theme=uni] .btn::after{display:none}
[data-theme=uni] .opt:active{transform:none;background:#2C55CC!important}
[data-theme=uni] .opt .letter{background:rgba(255,255,255,.22)!important;color:#fff;box-shadow:none!important;width:34px;height:34px;font-size:16px}
[data-theme=uni] .opt.good{background:#E8F7EF!important;border-color:#1FA971!important;color:#0E6A45!important;animation:none!important}
[data-theme=uni] .opt.bad{background:#F3EFF2!important;border-color:#8E7F8A!important;color:#3E2F3A!important;animation:shake3d .3s!important}
[data-theme=uni] .opt.good .letter{background:#1FA971!important;color:#fff}
[data-theme=uni] .opt.bad .letter{background:#8E7F8A!important;color:#fff}
[data-theme=uni] .qbox{background:#fff!important;border:0!important;box-shadow:0 1px 3px rgba(0,0,0,.06)!important;animation:none}
[data-theme=uni] .qbox::before{display:none}
[data-theme=uni] .timer{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08)!important;width:112px;height:112px}
[data-theme=uni] .timer::before{display:none}
[data-theme=uni] .timer svg{inset:0;width:112px;height:112px}
[data-theme=uni] .timer .fg{filter:none}
[data-theme=uni] .timer .num{font-size:36px;text-shadow:none}
[data-theme=uni] .btn{box-shadow:none!important;text-shadow:none;background:var(--primary);margin-bottom:0}
[data-theme=uni] .btn.soft{background:#EFEAE5;color:var(--ink)}
[data-theme=uni] .card,[data-theme=uni] .comp,[data-theme=uni] .stat,[data-theme=uni] .quick button{box-shadow:0 1px 3px rgba(0,0,0,.06)!important}
[data-theme=uni] .quick svg{box-shadow:none!important;filter:none}
[data-theme=uni] .dot.cur{animation:none}
[data-theme=uni] .medal{animation:none}

/* ================= GAME EFFECTS ================= */
#fx{position:fixed;inset:0;pointer-events:none;z-index:200;overflow:hidden}
.fx-p{position:absolute;width:10px;height:10px;border-radius:3px;transform:translate(-50%,-50%);animation:fxp .9s cubic-bezier(.2,.7,.3,1) forwards}
.fx-p.star{clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);width:14px;height:14px;border-radius:0}
@keyframes fxp{0%{opacity:1;transform:translate(-50%,-50%) scale(var(--s)) rotate(0)}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy) + 40px)) scale(.3) rotate(var(--r))}}
.fx-flash{position:absolute;inset:0;animation:fxf .6s ease-out forwards}
.fx-flash.good{background:radial-gradient(circle at 50% 70%,rgba(79,211,148,.35),transparent 60%)}
.fx-flash.bad{box-shadow:inset 0 0 120px 30px rgba(229,72,77,.55)}
.fx-flash.boom{background:radial-gradient(circle,#fff 0%,rgba(255,214,107,.9) 25%,rgba(200,16,46,.5) 55%,transparent 75%);animation-duration:.9s}
@keyframes fxf{from{opacity:1}to{opacity:0}}
.fx-float{position:absolute;transform:translate(-50%,0);font-weight:900;font-size:30px;white-space:nowrap;animation:fxu 1.2s ease-out forwards;text-shadow:0 3px 0 rgba(0,0,0,.15)}
.fx-float.good{color:#168A5B}.fx-float.bad{color:#C8102E;font-size:24px}
@keyframes fxu{0%{opacity:0;transform:translate(-50%,10px) scale(.6)}20%{opacity:1;transform:translate(-50%,-10px) scale(1.15)}100%{opacity:0;transform:translate(-50%,-90px) scale(1)}}
.fx-confetti{position:absolute;inset:0;width:100%;height:100%}
/* timer: last 5 seconds */
.timer{transition:transform .2s}
.timer.hurry .num{color:#C8102E!important}
.timer.beat{animation:beat .45s ease-out}
@keyframes beat{0%{transform:scale(1)}25%{transform:scale(1.14)}50%{transform:scale(.97)}70%{transform:scale(1.06)}100%{transform:scale(1)}}
.timer.last.hurry.beat{animation:beat2 .6s ease-out}
@keyframes beat2{0%{transform:scale(1)}15%{transform:scale(1.22)}30%{transform:scale(1)}45%{transform:scale(1.14)}100%{transform:scale(1)}}
.tfill{position:absolute;inset:14%;border-radius:50%;background:radial-gradient(circle,rgba(255,90,102,.85),rgba(200,16,46,.9));transform:scale(0);transition:transform .15s linear;z-index:0;pointer-events:none}
.timer .num{z-index:1}.timer svg{z-index:1}
.timer.last.hurry .num{color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.3)!important}
.timer.last.hurry .num small{color:#ffe!important}
body.danger::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:150;box-shadow:inset 0 0 90px 20px rgba(200,16,46,.45);animation:vig 1s ease-in-out infinite}
@keyframes vig{0%,100%{opacity:.35}30%{opacity:1}}
.qbox.shake{animation:shake3d .45s!important}
body.quake #app{animation:quake .55s}
@keyframes quake{0%,100%{transform:none}20%{transform:translate(-8px,4px)}40%{transform:translate(7px,-5px)}60%{transform:translate(-5px,3px)}80%{transform:translate(4px,-2px)}}
/* loss: clock grows to centre and explodes */
.fx-bomb{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(20,5,5,.35);animation:fxf2 .3s}
@keyframes fxf2{from{opacity:0}to{opacity:1}}
.fx-clock{width:120px;height:120px;animation:grow 1.3s cubic-bezier(.3,0,.7,1) forwards}
.fx-clock img{width:100%;height:100%;border-radius:24%;box-shadow:0 0 40px rgba(255,90,102,.7)}
@keyframes grow{0%{transform:scale(.4) rotate(0)}60%{transform:scale(1.6) rotate(-6deg)}70%{transform:scale(1.65) rotate(6deg)}80%{transform:scale(1.75) rotate(-8deg)}90%{transform:scale(1.85) rotate(8deg)}100%{transform:scale(2) rotate(0);filter:brightness(1.6)}}
.fx-bomb.boom{background:transparent;transition:background .3s}
.fx-bomb.boom .fx-clock{animation:pop .35s ease-out forwards}
@keyframes pop{to{transform:scale(3.2);opacity:0;filter:brightness(3) blur(4px)}}
/* result screens */
.medal-wrap{position:relative;display:flex;justify-content:center;align-items:center;height:150px}
.medal-wrap .medal{position:relative;z-index:1}
.rays{position:absolute;width:260px;height:260px;border-radius:50%;background:repeating-conic-gradient(rgba(245,183,43,.35) 0 10deg,transparent 10deg 20deg);animation:spin 8s linear infinite;-webkit-mask:radial-gradient(circle,#000 30%,transparent 70%);mask:radial-gradient(circle,#000 30%,transparent 70%)}
@keyframes spin{to{transform:rotate(360deg)}}
.is-win .medal{animation:drop .8s cubic-bezier(.3,1.6,.5,1)}
@keyframes drop{0%{transform:translateY(-200px) scale(.5);opacity:0}100%{transform:none;opacity:1}}
.is-lose .medal{background:radial-gradient(circle at 35% 28%,#d9d2cf,#9a8f8b 60%,#6f6461)!important;box-shadow:0 8px 0 #4c4341!important;animation:fxf2 .5s}
.res-h{font-size:30px;font-weight:900;animation:in3d .5s .2s backwards}
.is-win .res-h{color:var(--primary)}
.stars-row{display:flex;justify-content:center;gap:10px}
.star-s{display:flex;color:#E0D6CC;transform:scale(0);animation:starIn .45s cubic-bezier(.3,1.8,.5,1) forwards}
.star-s .ico{width:40px;height:40px;fill:currentColor;stroke:none}
.star-s.on{color:#F5B72B;filter:drop-shadow(0 3px 0 #C98A0B)}
@keyframes starIn{to{transform:scale(1)}}
[data-theme=uni] .rays{display:none}
@media (prefers-reduced-motion: reduce){.timer.beat,.fx-clock,.star-s,.rays,body.danger::after{animation:none!important}.star-s{transform:none}}
/* student header: avatar on the left opens menu */
.s-head{justify-content:space-between}
.s-head .who{display:flex;flex-direction:column;gap:0}
.av-btn{border:0;cursor:pointer;width:54px;height:54px}
.av-btn:active{transform:translateY(3px)}
.quick.q2{grid-template-columns:1fr 1fr}

/* ===== student dark mode ===== */
body.dark:not(.wide){--bg:var(--n0);--card:var(--n5);--ink:#F5F5F7;--muted:#B8CCD4;--line:rgba(255,255,255,.1);--soft:#1E3A4F;--edge:#08131D;color-scheme:dark;background:var(--n0)!important;color:var(--ink)}
body.dark:not(.wide)[data-theme=kids]{background:linear-gradient(180deg,#2A0F12,#140909) fixed!important}
body.dark:not(.wide) .card,body.dark:not(.wide) .comp,body.dark:not(.wide) .quick button,body.dark:not(.wide) .stat,body.dark:not(.wide) .code-box,body.dark:not(.wide) .icon-btn{background:var(--n5)!important;border-color:var(--line)!important;color:var(--ink)}
body.dark:not(.wide) .qbox{background:linear-gradient(180deg,#1C3548,#142B40)!important;border-color:#2C4A60!important;color:var(--ink)}
body.dark:not(.wide) .timer{background:radial-gradient(circle at 50% 45%,#152C40 0 52%,transparent 53%),conic-gradient(from 200deg,var(--gold-1),var(--gold-2),var(--gold-3),var(--gold-2),var(--gold-1))}
body.dark:not(.wide)[data-theme=uni] .timer{background:var(--n5)}
body.dark:not(.wide) .timer .num{color:#FFE48A}
body.dark:not(.wide) .modal{background:var(--n5);color:var(--ink)}
body.dark:not(.wide) .sheet-list,body.dark:not(.wide) .sheet-i{background:#1E3A4F;color:var(--ink)}
body.dark:not(.wide) .sheet-sep{background:var(--n5)}
body.dark:not(.wide) .tabs{background:rgba(255,255,255,.08)}
body.dark:not(.wide) .tabs button.on{background:#2E5470!important;color:#fff!important}
body.dark:not(.wide) .rows .r{border-color:var(--line)}
body.dark:not(.wide) .lb .r.me{background:rgba(79,211,148,.15)}
body.dark:not(.wide) .btn.soft,body.dark:not(.wide) .btn.ghost{background:#1E3A4F!important;color:var(--ink);border-color:var(--line)!important;box-shadow:0 5px 0 #08131D!important}
body.dark:not(.wide) .hero h1{color:#FF8A95}
body.dark:not(.wide) .paste-btn{background:#1E3A4F;box-shadow:0 3px 0 #08131D}
body.dark:not(.wide) .star-s{color:#2C4A60}

/* answers stay blue on all themes incl. dark; keep result colours */
[data-theme] .opt.good{background:linear-gradient(180deg,#4FD394,#1FA971 60%,#168A5B)!important;color:#fff!important;border-color:#1FA971!important}
[data-theme] .opt.bad{background:linear-gradient(180deg,#5B4A56,#3E2F3A 60%,#2A1F27)!important;color:#fff!important;border-color:#2A1F27!important}
[data-theme=uni] .opt.good .letter,[data-theme=uni] .opt.bad .letter{background:rgba(255,255,255,.9)!important;color:var(--ink)}
/* wrong = red, correct = green */
[data-theme] .opt.bad{background:linear-gradient(180deg,#FF6B6F,#E5484D 60%,#C22E33)!important;box-shadow:0 6px 0 #8F1D21!important;border-color:#C22E33!important;color:#fff!important}
[data-theme=uni] .opt.bad{background:#E5484D!important;box-shadow:none!important}
[data-theme=uni] .opt.good{background:#1FA971!important;box-shadow:none!important}
[data-theme] .opt.good{color:#fff!important}

/* answers: white 3D boxes on all themes */
[data-theme] .opt,[data-theme] .opt:nth-child(n){background:linear-gradient(180deg,#fff,#FFF6EA)!important;color:var(--ink)!important;border:2px solid #F3D9B8!important;text-shadow:none!important;box-shadow:0 6px 0 #E8C9A0,0 10px 18px rgba(0,0,0,.08)!important}
[data-theme] .opt:active{box-shadow:0 1px 0 #E8C9A0!important}
[data-theme] .opt .letter{background:linear-gradient(180deg,#FFE48A,#F5B72B)!important;color:#5A2600!important;box-shadow:0 3px 0 #C98A12!important}
[data-theme=uni] .opt,[data-theme=uni] .opt:nth-child(n){background:#fff!important;border:1.5px solid #E4DED8!important;box-shadow:none!important}
[data-theme=uni] .opt .letter{background:#F1ECE7!important;color:var(--ink)!important;box-shadow:none!important}
body.dark:not(.wide) .opt,body.dark:not(.wide) .opt:nth-child(n){background:linear-gradient(180deg,#1E3A4F,#17304A)!important;border-color:#2C4A60!important;color:var(--ink)!important;box-shadow:0 6px 0 #08131D!important}
[data-theme] .opt.good{background:linear-gradient(180deg,#4FD394,#1FA971 60%,#168A5B)!important;border-color:#168A5B!important;color:#fff!important;box-shadow:0 6px 0 #0E6A45!important}
[data-theme] .opt.bad{background:linear-gradient(180deg,#FF6B6F,#E5484D 60%,#C22E33)!important;border-color:#C22E33!important;color:#fff!important;box-shadow:0 6px 0 #8F1D21!important}
[data-theme=uni] .opt.good,[data-theme=uni] .opt.bad{box-shadow:none!important}
[data-theme] .opt.good .letter,[data-theme] .opt.bad .letter{background:rgba(255,255,255,.92)!important;color:var(--ink)!important;box-shadow:none!important}
/* student report */
.rp{display:flex;flex-direction:column;gap:8px;text-align:right}
.rp h4{margin:12px 0 2px;font-size:16px}
.rp-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.rp-head b{font-size:20px}
.rp-head span{color:#fff;border-radius:999px;padding:4px 12px;font-size:14px;font-weight:700}
.rp-bar{display:grid;grid-template-columns:70px 1fr 78px;align-items:center;gap:8px;font-size:14px}
.rp-bar i{height:10px;border-radius:9px;background:var(--soft,#eee);overflow:hidden;display:block}
.rp-bar i b{display:block;height:100%;background:linear-gradient(90deg,#F5B72B,#1FA971);border-radius:9px}
.rp-bar em{font-style:normal;color:var(--muted);font-size:13px;text-align:left}
.rp-ul{margin:0;padding-inline-start:20px;line-height:1.8;font-size:15px}
.rp-w{background:var(--soft,#f6f2ee);border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.7}

/* classes list – iOS look */
body.wide .cls{border-radius:18px}
body.wide .cls-head{padding:12px 14px;gap:12px;min-height:72px}
.cl-ic{width:46px;height:46px;flex:none;border-radius:13px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px;color:#fff;background:linear-gradient(160deg,hsl(var(--h) 75% 62%),hsl(var(--h) 70% 48%));box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}
.cl-txt b{display:block;font-size:17px;font-weight:700;line-height:1.3}
.cl-meta{display:flex;align-items:center;gap:8px;margin-top:3px;font-size:13px;color:var(--muted)}
.cl-tag{padding:2px 8px;border-radius:999px;background:rgba(120,120,128,.14);font-size:13px;font-weight:600}
.cl-tag.on{background:rgba(52,199,89,.16);color:#1F9D4C}
body.wide .cls-head .chev{color:var(--muted);opacity:.55;transform:rotate(180deg)}
body.wide .cls-head .chev .ico{width:16px;height:16px}
body.wide .cls.open .cls-head .chev{transform:rotate(90deg)}
body.wide .cls-head .count{display:none}
body.wide .cl-add{min-height:48px;font-size:16px;border-radius:14px}
.cl-hint{font-size:13px;opacity:.75}
body.wide.dark .cl-tag{background:rgba(255,255,255,.08)}
body.wide.dark .cl-tag.on{background:rgba(48,209,88,.16);color:#30D158}

/* ================= QUESTION SCREEN v2 (kids / mid / uni) ================= */
body .play.pv{position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;padding:14px 16px 120px;gap:12px;overflow-x:clip}
.pv-bg{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.pv-bg svg{position:absolute}
.pv .play-top{align-items:flex-start;gap:8px}
body .pv .play-top .icon-btn.pv-btn{width:50px;height:50px;flex:none;border-radius:50%;transition:transform .08s}
body .pv .play-top .icon-btn.pv-btn .ico{width:24px;height:24px}
body .pv .play-top .icon-btn.pv-btn:active{transform:translateY(3px)}
.pv-head{display:flex;flex-direction:column;align-items:center;gap:10px;flex:1;min-width:0}
.pv-pill{padding:6px 20px;border-radius:999px;font-size:17px;font-weight:800;white-space:nowrap}
.pv-kind{font-size:13px;font-weight:700;padding:1px 10px;border-radius:999px;margin-top:-4px}
.pv .dots{position:relative;display:flex;gap:22px;align-items:center;justify-content:center}
.pv .dots::before{content:"";position:absolute;left:6px;right:6px;top:50%;height:3px;margin-top:-1.5px;border-radius:3px;background:var(--pv-line)}
.pv .dots .dot{position:relative;width:16px;height:16px;border-radius:50%;background:var(--pv-dot)!important;border:3px solid var(--pv-dot-b);box-shadow:none!important;animation:none}
.pv .dots .dot.done{background:var(--pv-done)!important;border-color:var(--pv-done)}
.pv .dots .dot.cur{width:22px;height:22px;background:#F5B72B!important;border-color:#fff;box-shadow:0 0 0 3px rgba(245,183,43,.35),0 2px 4px rgba(0,0,0,.2)!important}
.pv-clock{position:relative;display:flex;justify-content:center;align-items:center;margin:2px auto 0;width:var(--pv-cw,150px);height:var(--pv-ch,150px)}
body .pv .pv-clock .timer{position:relative;width:var(--pv-ts);height:var(--pv-ts);margin:0;border-radius:50%;background:var(--pv-t-bg)!important;box-shadow:var(--pv-t-sh)!important}
body .pv .pv-clock .timer::before{display:none}
body .pv .pv-clock .timer svg{position:absolute;inset:var(--pv-tp);width:calc(var(--pv-ts) - 2*var(--pv-tp));height:calc(var(--pv-ts) - 2*var(--pv-tp))}
body .pv .pv-clock .timer .bg{stroke:var(--pv-t-track)}
body .pv .pv-clock .timer .fg{stroke:var(--pv-t-arc);filter:none}
body .pv .pv-clock .timer circle{stroke-width:var(--pv-sw,9)}
body .pv .pv-clock .timer .num{color:var(--pv-t-ink)!important;text-shadow:none!important;font-size:var(--pv-tf,44px);font-weight:900}
body .pv .pv-clock .timer .num small{color:var(--pv-t-ink)!important;opacity:.85;font-size:14px;font-weight:700;margin-top:2px}
body .pv .pv-clock .timer.hurry .num{color:#E5484D!important}
body .pv .pv-clock .timer.last.hurry .num,body .pv .pv-clock .timer.last.hurry .num small{color:#fff!important}
.pv-panel{display:flex;flex-direction:column;gap:12px;animation:in3d .35s ease-out}
.pv .pts-pop{min-height:28px;margin:-6px 0 -4px}
.pv .qbox::before,.pv .opt::after{display:none}
body[data-theme] .pv .pv-panel .qbox{min-height:96px;border-radius:26px;padding:18px 16px;font-weight:800;line-height:1.5;animation:none}
body[data-theme] .pv .opts .opt:nth-child(n){position:relative;margin:0;transition:transform .08s,box-shadow .08s;text-shadow:none!important}
body[data-theme] .pv .opts .opt:nth-child(n):active{transform:translateY(4px)}
body[data-theme] .pv .opts .opt .letter{flex:none}

/* ---- kids: playful sky ---- */
.pv-kids{--pv-line:#fff;--pv-dot:#fff;--pv-dot-b:#2C6FD1;--pv-done:#F5B72B;--pv-cw:140px;--pv-ch:170px;--pv-ts:96px;--pv-tp:4px;--pv-sw:10;--pv-tf:34px;
  --pv-t-bg:radial-gradient(circle at 50% 40%,#FFFDF5,#FFF0C9);--pv-t-sh:0 0 0 4px #E09A12,0 4px 0 6px rgba(201,138,11,.35);--pv-t-track:#F8E2A8;--pv-t-arc:#F59E0B;--pv-t-ink:#8A3B00}
.pv-kids .pv-bg{background:linear-gradient(180deg,#2F9BF0 0%,#6EC1FA 42%,#B9E4FF 100%)}
.pv-kids .cl{position:absolute;display:block;width:120px;height:38px;border-radius:40px;background:#fff;opacity:.9}
.pv-kids .cl::before,.pv-kids .cl::after{content:"";position:absolute;background:#fff;border-radius:50%}
.pv-kids .cl::before{width:56px;height:56px;top:-28px;left:18px}.pv-kids .cl::after{width:40px;height:40px;top:-18px;left:62px}
.pv-kids .c1{top:200px;left:-30px}.pv-kids .c2{top:150px;right:-40px;transform:scale(.8)}.pv-kids .c3{top:58%;left:70%;transform:scale(.6);opacity:.6}
.pv-kids .pv-land{left:0;right:0;bottom:0;width:100%;height:120px}
body .pv-kids .play-top .icon-btn.pv-btn{background:radial-gradient(circle at 40% 30%,#FFD86B,#F5A90B 70%)!important;color:#fff!important;box-shadow:0 4px 0 #C26D06,0 6px 12px rgba(0,0,0,.15)!important;border:3px solid #fff}
body .pv-kids .play-top .icon-btn.pv-snd{background:radial-gradient(circle at 40% 30%,#C59BF3,#8E5BD6 70%)!important;box-shadow:0 4px 0 #6A3FB0,0 6px 12px rgba(0,0,0,.15)!important}
.pv-kids .pv-pill{background:linear-gradient(180deg,#2C6FD1,#1F56A8);color:#fff;box-shadow:0 3px 0 #163F7C}
.pv-kids .pv-kind{background:#fff;color:#1F56A8}
.pv-glass{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 6px 6px rgba(150,90,0,.25))}
.pv-star{position:absolute;width:46px;height:46px;fill:#FFD43B;stroke:#E8A50C;stroke-width:1.4;filter:drop-shadow(0 3px 0 rgba(200,130,0,.4));animation:pvTw 2.4s ease-in-out infinite}
.pv-star.s1{top:16px;right:-78px;transform:rotate(-12deg)}
.pv-star.s2{top:92px;left:-80px;animation-delay:1.2s}
@keyframes pvTw{0%,100%{scale:1}50%{scale:1.15}}
body[data-theme=kids] .pv .pv-panel .qbox{background:linear-gradient(180deg,#FFFDF3,#FFF3C8)!important;border:4px solid #F7C948!important;box-shadow:0 6px 0 #E2A92B,0 12px 20px rgba(0,60,120,.15)!important;color:#1E2A4A;font-size:26px;border-radius:36px}
body[data-theme=kids] .pv .opts .opt:nth-child(n){min-height:66px;border-radius:999px;padding:8px 14px;background:linear-gradient(180deg,#FFFEF6,#FFF2C6)!important;border:3px solid #F7C948!important;box-shadow:0 5px 0 #E2A92B,0 9px 16px rgba(0,60,120,.12)!important;color:#1E2A4A!important;font-size:22px;font-weight:800}
body[data-theme=kids] .pv .opts .opt:nth-child(n):active{box-shadow:0 1px 0 #E2A92B!important}
body[data-theme=kids] .pv .opts .opt .letter{width:42px;height:42px;font-size:19px;background:radial-gradient(circle at 35% 30%,#FFE48A,#F5B72B 65%)!important;color:#6A2E00!important;box-shadow:0 3px 0 #C98A12!important}

/* ---- mid: teal, slightly playful ---- */
.pv-mid{--pv-line:rgba(255,255,255,.55);--pv-dot:#A8E3DD;--pv-dot-b:#A8E3DD;--pv-done:#F5B72B;--pv-ts:136px;--pv-tp:6px;--pv-sw:8;--pv-tf:44px;
  --pv-t-bg:radial-gradient(circle at 50% 40%,#0F5F61,#093F41);--pv-t-sh:0 0 0 4px rgba(255,255,255,.92),0 10px 24px rgba(0,0,0,.25);--pv-t-track:rgba(255,255,255,.18);--pv-t-arc:#F5B72B;--pv-t-ink:#fff}
.pv-mid .pv-bg{background:linear-gradient(180deg,#0A5254 0%,#0E6E70 50%,#0C6264 100%)}
.pv-mid .pv-ic{color:rgba(255,255,255,.16);width:84px;top:150px}
.pv-mid .pv-book{left:max(3%,calc(50% - 230px));transform:rotate(-10deg)}
.pv-mid .pv-cup{right:max(4%,calc(50% - 220px));width:64px;transform:rotate(10deg)}
.pv-mid .pv-waves,.pv-uni .pv-waves{left:0;right:0;bottom:0;width:100%;height:110px}
body .pv-mid .play-top .icon-btn.pv-btn{background:transparent!important;border:2.5px solid #fff;color:#fff!important;box-shadow:none!important}
.pv-mid .pv-pill{background:rgba(0,0,0,.22);color:#fff;font-weight:700}
.pv-mid .pv-kind{background:rgba(255,255,255,.18);color:#fff}
.pv-mid .pv-panel{background:#FFFBF4;border-radius:30px;padding:20px 14px 18px;margin:4px -6px 0;box-shadow:0 -2px 0 rgba(255,255,255,.4),0 18px 34px rgba(0,0,0,.22)}
body[data-theme=mid] .pv .pv-panel .qbox{background:transparent!important;border:0!important;box-shadow:none!important;color:#173032;font-size:24px;min-height:80px;padding:6px 8px}
.pv-mid .opts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pv-mid .opts.long{grid-template-columns:1fr}
body[data-theme=mid] .pv .opts .opt:nth-child(n){flex-direction:column;justify-content:center;text-align:center;gap:8px;min-height:106px;padding:12px 10px;border-radius:20px;background:#fff!important;border:2px solid #A9D8D3!important;box-shadow:0 4px 0 #CFE7E4,0 8px 14px rgba(14,110,112,.08)!important;color:#173032!important;font-size:20px;font-weight:800}
body[data-theme=mid] .pv .opts.long .opt:nth-child(n){flex-direction:row;text-align:right;min-height:64px}
body[data-theme=mid] .pv .opts .opt:nth-child(n):active{box-shadow:0 1px 0 #CFE7E4!important}
body[data-theme=mid] .pv .opts .opt .letter{width:38px;height:38px;font-size:17px;background:linear-gradient(180deg,#14898B,#0E6E70)!important;color:#fff!important;box-shadow:0 3px 0 #094B4D!important}

/* ---- uni: calm & clean ---- */
.pv-uni{--pv-line:#C9D3D6;--pv-dot:#C9D3D6;--pv-dot-b:#C9D3D6;--pv-done:#0E4F51;--pv-ts:140px;--pv-tp:6px;--pv-sw:7;--pv-tf:44px;
  --pv-t-bg:#fff;--pv-t-sh:0 2px 14px rgba(14,79,81,.08);--pv-t-track:#D9E6E5;--pv-t-arc:#0E5C5E;--pv-t-ink:#0E4F51}
.pv-uni .dots .dot.cur{background:#0E4F51!important;border-color:#0E4F51;box-shadow:none!important;width:18px;height:18px}
.pv-uni .pv-bg{background:linear-gradient(180deg,#F8F9F9,#F1F3F3)}
.pv-uni .pv-bld{top:120px;right:max(-2%,calc(50% - 250px));width:120px;opacity:.6}
.pv-uni .pv-waves{height:90px}
body .pv-uni .play-top .icon-btn.pv-btn{background:transparent!important;border:0;color:#0E5C5E!important;box-shadow:none!important}
.pv-uni .pv-pill{background:transparent;color:#1B2A2C;font-size:18px;font-weight:700;padding:4px 8px}
.pv-uni .pv-kind{background:#E6EFEE;color:#0E5C5E}
body[data-theme=uni] .pv .pv-panel .qbox{background:transparent!important;border:0!important;box-shadow:none!important;color:#1B2A2C;font-size:23px;min-height:84px}
body[data-theme=uni] .pv .opts .opt:nth-child(n){min-height:58px;border-radius:12px;padding:8px 16px;background:#fff!important;border:1.5px solid #CBD4D7!important;box-shadow:none!important;color:#1B2A2C!important;font-size:19px;font-weight:700;animation:none}
body[data-theme=uni] .pv .opts .opt:nth-child(n):active{transform:none;background:#F2F6F6!important}
body[data-theme=uni] .pv .opts .opt .letter{width:24px;height:24px;font-size:0;background:transparent!important;border:2px solid #8E9DA2;box-shadow:none!important}

/* ---- dark mode ---- */
body.dark .pv-kids .pv-bg{background:linear-gradient(180deg,#0E2256 0%,#1A3D82 55%,#1A3D82 100%)}
body.dark .pv-kids .cl{opacity:.12}
body.dark .pv-kids .pv-land{filter:brightness(.45) saturate(.8)}
body.dark[data-theme=kids] .pv .pv-panel .qbox{background:linear-gradient(180deg,#16336E,#0E2256)!important;color:#FFF4D0}
body.dark[data-theme=kids] .pv .opts .opt:nth-child(n){background:linear-gradient(180deg,#16336E,#0E2256)!important;color:#FFF4D0!important}
body.dark .pv-mid .pv-bg{background:linear-gradient(180deg,#052A2B,#083B3D 60%,#06302F)}
body.dark .pv-mid .pv-waves{filter:brightness(.55)}
body.dark .pv-mid .pv-panel{background:#0F2223;box-shadow:0 18px 34px rgba(0,0,0,.4)}
body.dark[data-theme=mid] .pv .pv-panel .qbox{color:#E8F4F3}
body.dark[data-theme=mid] .pv .opts .opt:nth-child(n){background:#163234!important;border-color:#2C5C5D!important;box-shadow:0 4px 0 #0A1A1B!important;color:#E8F4F3!important}
body.dark .pv-uni{--pv-t-bg:#1A2124;--pv-t-track:#2A3539;--pv-t-arc:#3FB3AE;--pv-t-ink:#E6EEEF;--pv-line:#33403F;--pv-dot:#33403F;--pv-dot-b:#33403F}
body.dark .pv-uni .dots .dot.cur,body.dark .pv-uni .dots .dot.done{background:#3FB3AE!important;border-color:#3FB3AE}
body.dark .pv-uni .pv-bg{background:#101416}
body.dark .pv-uni .pv-bld{opacity:.12}
body.dark .pv-uni .pv-waves{filter:brightness(.6)}
body.dark .pv-uni .pv-pill{color:#E6EEEF}
body.dark .pv-uni .pv-kind{background:#1E2B2C;color:#7FD1CC}
body.dark .pv-uni .play-top .icon-btn.pv-btn{color:#7FD1CC!important}
body.dark[data-theme=uni] .pv .pv-panel .qbox{color:#E6EEEF}
body.dark[data-theme=uni] .pv .opts .opt:nth-child(n){background:#192023!important;border-color:#2E3A3E!important;color:#E6EEEF!important}
body.dark[data-theme=uni] .pv .opts .opt .letter{border-color:#6B7B80}
/* ---- result colours (all themes) ---- */
html body[data-theme] .pv .opts .opt.good:nth-child(n){background:linear-gradient(180deg,#4FD394,#1FA971 60%,#168A5B)!important;border-color:#168A5B!important;color:#fff!important;box-shadow:0 5px 0 #0E6A45!important;animation:pop3d .35s ease-out}
html body[data-theme] .pv .opts .opt.bad:nth-child(n){background:linear-gradient(180deg,#FF6B6F,#E5484D 60%,#C22E33)!important;border-color:#C22E33!important;color:#fff!important;box-shadow:0 5px 0 #8F1D21!important;animation:shake3d .4s ease-out}
html body[data-theme=uni] .pv .opts .opt.good:nth-child(n){background:#1FA971!important;box-shadow:none!important}
html body[data-theme=uni] .pv .opts .opt.bad:nth-child(n){background:#E5484D!important;box-shadow:none!important}
html body[data-theme] .pv .opts .opt.good .letter,html body[data-theme] .pv .opts .opt.bad .letter{background:#fff!important;color:var(--ink)!important;box-shadow:none!important;border-color:#fff}
html body[data-theme=uni] .pv .opts .opt.good .letter,html body[data-theme=uni] .pv .opts .opt.bad .letter{box-shadow:inset 0 0 0 4px currentColor!important}
.pv .opts .opt.dim{opacity:.45}

@media (prefers-reduced-motion: reduce){.pv-star{animation:none}}
.pv .pts-pop.good{color:#1FA971}.pv .pts-pop.bad{color:#E5484D}
.pv-mid .pts-pop.good{color:#1FA971}.pv-kids .pts-pop{text-shadow:0 1px 0 #fff}
html body[data-theme] .pv .opts .opt.good .letter,html body[data-theme] .pv .opts .opt.bad .letter{color:#1B2A2C!important}
/* teacher: profile icon on every screen */
.t-acts{display:flex;align-items:center;gap:8px}
.t-av{border:0;padding:0;background:none;border-radius:50%;flex:none;cursor:pointer}
.t-av .avatar,.t-av .t-av-img{width:38px;height:38px;font-size:14px;box-shadow:none!important;text-shadow:none}
.t-av:active{opacity:.6}
.t-menu .tm-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border:0;text-align:right;color:var(--ink);width:100%}
.t-menu .tm-head .avatar{box-shadow:none!important}
.t-menu .set-ic{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;flex:none}
.t-menu .set-ic .ico{width:18px;height:18px}
.t-menu .tm-seg{padding:0 14px 12px;background:inherit}
body.wide.dark .t-menu .tm-head{background:#1C1C1E}
/* competition settings (iOS grouped) */
.cf{gap:14px}
.cf-hero{display:flex;align-items:center;gap:14px;padding:16px;border-radius:18px;background:linear-gradient(135deg,#C8102E,#E8475A 60%,#F5B72B);color:#fff;box-shadow:0 8px 22px rgba(200,16,46,.22)}
.cf-hero b{font-size:20px;font-weight:800}.cf-hero .sub{color:rgba(255,255,255,.88)!important;font-size:14px}
.cf-hero-ic{width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center;flex:none}
.cf-hero-ic .ico{width:26px;height:26px;color:#fff}
.cf .set-h{margin:4px 0 -6px}
.cf-h{display:flex;align-items:center;justify-content:space-between}
.cf-h em{font-style:normal;opacity:.8}
.cf-h .link{font-size:14px;padding:0;margin-left:2px}
.cf .set-f{margin-top:-6px}
.cf-row{cursor:default}
.cf-row:active{background:inherit!important}
.cf-in{flex:1;border:0;background:transparent;font-size:17px;font-weight:600;color:var(--ink);padding:6px 0;outline:none;min-width:0}
.cf-hint{display:block;font-size:12.5px;color:var(--muted);font-weight:400;margin-top:1px}
.cf-cls b{font-weight:600;font-size:16px}
.cf-chk{width:24px;height:24px;border-radius:50%;border:2px solid #C7C7CC;display:flex;align-items:center;justify-content:center;flex:none;color:transparent;transition:.15s}
.cf-chk .ico{width:14px;height:14px;stroke-width:3}
.cf-cls.on .cf-chk{background:var(--primary);border-color:var(--primary);color:#fff}
.cf-date,.cf-sel{border:0;background:rgba(118,118,128,.12);border-radius:8px;padding:6px 10px;font-size:15px;font-weight:600;color:var(--ink);font-family:inherit;max-width:58%}
.cf-sel{appearance:auto}
.cf-step{display:flex;align-items:center;background:rgba(118,118,128,.12);border-radius:9px;overflow:hidden;flex:none}
.cf-step button{width:36px;height:32px;border:0;background:transparent;font-size:20px;font-weight:600;color:var(--primary);line-height:1}
.cf-step button:active{background:rgba(118,118,128,.2)}
.cf-step input{width:40px;border:0;background:transparent;text-align:center;font-size:16px;font-weight:700;color:var(--ink);-moz-appearance:textfield;font-family:inherit}
.cf-step input::-webkit-inner-spin-button,.cf-step input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cf-tl{padding:10px 14px 12px;position:relative}
.cf-bar2{display:flex;gap:3px;height:28px;border-radius:9px;overflow:hidden}
.cf-bar2 i{display:flex;align-items:center;justify-content:center;font-style:normal;font-size:13px;font-weight:700;color:#fff;min-width:56px;white-space:nowrap;overflow:hidden}
.cf-bar2 .pts{background:linear-gradient(90deg,#F5B72B,#F2994A)}.cf-bar2 .ko{background:linear-gradient(90deg,#C8102E,#9B51E0)}
.cf-dates{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-top:4px}
.cf-bad{color:#D70015;font-size:14px;font-weight:600}
.cf-link .grow{color:var(--primary);font-weight:600}
.cf-col{flex-direction:column;align-items:stretch;gap:8px;padding:12px 14px}
.cf-col .tabs{display:flex}.cf-col .tabs button{flex:1}
.cf-themes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.cf-th{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px 10px;border-radius:16px;border:2px solid transparent;background:#fff;box-shadow:0 1px 2px rgba(40,20,10,.06);color:var(--ink);cursor:pointer}
.cf-th b{font-size:15px;margin-top:6px}.cf-th small{font-size:13px;color:var(--muted)}
.cf-th.on{border-color:var(--primary);box-shadow:0 0 0 3px rgba(200,16,46,.12)}
.cf-ph{width:64px;height:104px;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;position:relative;overflow:hidden;border:2px solid rgba(0,0,0,.08)}
.cf-ph i{display:block}
.cf-ph .t{width:24px;height:24px;border-radius:50%;margin-bottom:2px}
.cf-ph .q{width:100%;height:14px;border-radius:6px;margin-bottom:2px}
.cf-ph .o{width:100%;height:9px;border-radius:5px}
.cf-ph-kids{background:linear-gradient(180deg,#2F9BF0,#B9E4FF)}
.cf-ph-kids::after{content:"";position:absolute;left:0;right:0;bottom:0;height:12px;background:#5DBB46}
.cf-ph-kids .t{background:#FFF0C9;box-shadow:0 0 0 3px #F5B72B}
.cf-ph-kids .q,.cf-ph-kids .o{background:#FFF6D6;box-shadow:0 0 0 1.5px #F7C948}
.cf-ph-mid{background:linear-gradient(180deg,#0A5254,#0E6E70)}
.cf-ph-mid::after{content:"";position:absolute;left:0;right:0;bottom:0;height:10px;background:#F5B72B;border-radius:60% 40% 0 0}
.cf-ph-mid .t{background:#093F41;box-shadow:0 0 0 2px #fff,inset 0 0 0 3px #F5B72B}
.cf-ph-mid .q{background:#FFFBF4}.cf-ph-mid .o{background:#FFFBF4;opacity:.9}
.cf-ph-uni{background:#F6F7F7}
.cf-ph-uni::after{content:"";position:absolute;left:0;bottom:0;width:60%;height:10px;background:#0E6E70;border-radius:0 60% 0 0}
.cf-ph-uni .t{background:#fff;box-shadow:inset 0 0 0 3px #0E5C5E}
.cf-ph-uni .q{background:transparent;height:8px;border-bottom:3px solid #1B2A2C;border-radius:0;width:70%}
.cf-ph-uni .o{background:#fff;box-shadow:0 0 0 1px #CBD4D7}
.cf-qt{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cf-chip{display:flex;align-items:center;gap:8px;padding:11px 12px;border-radius:12px;border:1.5px solid transparent;background:#fff;font-size:15px;font-weight:600;color:var(--ink);box-shadow:0 1px 2px rgba(40,20,10,.06)}
.cf-chip .ico{width:20px;height:20px;color:var(--muted)}
.cf-chip.on{border-color:var(--primary);background:rgba(200,16,46,.06);color:var(--primary)}
.cf-chip.on .ico{color:var(--primary)}
.cf-bar{margin-top:6px}
body.wide.dark .cf-th,body.wide.dark .cf-chip{background:#1C1C1E;color:var(--ink)}
body.wide.dark .cf-chip.on{background:color-mix(in srgb,var(--primary) 14%,transparent);color:color-mix(in srgb,var(--primary) 78%,#fff);border-color:var(--primary)}
body.wide.dark .cf-chip.on .ico{color:color-mix(in srgb,var(--primary) 78%,#fff)}
body.wide.dark .cf-th.on,body.wide.dark .cf-cls.on .cf-chk{border-color:var(--primary)}
body.wide.dark .cf-cls.on .cf-chk{background:var(--primary)}
body.wide.dark .cf-date,body.wide.dark .cf-sel,body.wide.dark .cf-step{background:rgba(118,118,128,.24);color-scheme:dark}
body.wide.dark .cf-step button{color:color-mix(in srgb,var(--primary) 78%,#fff)}
body.wide.dark .cf-in{color:var(--ink)}
.t-menu .set-ic .ico{color:#fff!important;stroke:#fff}

/* ================= STUDENT HOME + RESULT matching question themes ================= */
.sh{position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;padding-bottom:130px;overflow-x:clip}
.sh .pv-bld,.sh .pv-ic,.sh .pv-kids .c3{display:none}
html body .sh .comp,html body .sh .quick button,html body .sh .stat,html body .sh .card{animation:none}
html body .sh .btn::after{display:none}
html body .sh .btn{text-shadow:none!important;border-radius:999px;font-weight:800}
/* kids */
.sh.pv-kids .s-head .who b{color:#fff;text-shadow:0 2px 0 rgba(20,70,140,.35);font-size:24px}
.sh.pv-kids .s-head .sub{color:#EAF6FF!important}
html body .sh.pv-kids .av-btn{background:radial-gradient(circle at 40% 30%,#FFD86B,#F5A90B 70%)!important;box-shadow:0 4px 0 #C26D06!important;border:3px solid #fff;color:#fff}
html body .sh.pv-kids .quick button{background:linear-gradient(180deg,#FFFEF6,#FFF2C6)!important;border:3px solid #F7C948!important;box-shadow:0 5px 0 #E2A92B!important;border-radius:26px;color:#1E2A4A}
html body .sh.pv-kids .quick button:nth-child(1) svg{background:radial-gradient(circle at 40% 30%,#C59BF3,#8E5BD6 70%)!important;box-shadow:0 4px 0 #6A3FB0!important;color:#fff}
html body .sh.pv-kids .comp{background:rgba(255,255,255,.94)!important;border:4px solid #F7C948!important;box-shadow:0 6px 0 #E2A92B,0 14px 24px rgba(0,60,120,.15)!important;border-radius:32px;color:#1E2A4A}
html body .sh.pv-kids .stat{background:#FFF8DC!important;box-shadow:inset 0 0 0 2px #F7E3A0!important;border-radius:20px}
html body .sh.pv-kids .stat b{color:#1F56A8;text-shadow:none}
html body .sh.pv-kids .btn{background:linear-gradient(180deg,#4FD394,#1FA971 60%,#168A5B)!important;color:#fff!important;box-shadow:0 6px 0 #0E6A45!important}
html body .sh.pv-kids .btn.accent{background:linear-gradient(180deg,#FFD86B,#F5A90B)!important;color:#5A2600!important;box-shadow:0 6px 0 #C26D06!important}
html body .sh.pv-kids .btn.ghost{background:#fff!important;color:#1F56A8!important;border:3px solid #6EC1FA!important;box-shadow:0 5px 0 #3A8FD6!important}
html body .sh.pv-kids .btn:disabled{background:#E7E3D6!important;color:#6B6455!important;box-shadow:0 5px 0 #C9C2B0!important}
/* mid */
.sh.pv-mid .s-head .who b{color:#fff;font-size:23px}
.sh.pv-mid .s-head .sub{color:#BFE6E2!important}
html body .sh.pv-mid .av-btn{background:radial-gradient(circle at 40% 30%,#FFE48A,#F5B72B 70%)!important;color:#3A2600;box-shadow:0 0 0 3px rgba(255,255,255,.9)!important;text-shadow:none}
html body .sh.pv-mid .quick button{background:#FFFBF4!important;border:0!important;box-shadow:0 10px 24px rgba(0,0,0,.18)!important;border-radius:22px;color:#173032}
html body .sh.pv-mid .quick button svg{background:linear-gradient(180deg,#14898B,#0E6E70)!important;box-shadow:0 3px 0 #094B4D!important;color:#fff}
html body .sh.pv-mid .quick button:nth-child(2) svg{background:linear-gradient(180deg,#FFE48A,#F5B72B)!important;box-shadow:0 3px 0 #C98A0B!important;color:#3A2600}
html body .sh.pv-mid .comp{background:#FFFBF4!important;border:0!important;box-shadow:0 18px 34px rgba(0,0,0,.22)!important;border-radius:30px;color:#173032}
html body .sh.pv-mid .stat{background:#fff!important;box-shadow:inset 0 0 0 2px #A9D8D3!important;border-radius:18px}
html body .sh.pv-mid .stat b{color:#0E6E70;text-shadow:none}
html body .sh.pv-mid .btn{background:linear-gradient(180deg,#14898B,#0E6E70)!important;color:#fff!important;box-shadow:0 5px 0 #094B4D!important}
html body .sh.pv-mid .btn.accent{background:linear-gradient(180deg,#FFD86B,#F5B72B)!important;color:#3A2600!important;box-shadow:0 5px 0 #C98A0B!important}
html body .sh.pv-mid .btn.ghost{background:#fff!important;color:#0E6E70!important;border:2px solid #A9D8D3!important;box-shadow:0 4px 0 #CFE7E4!important}
html body .sh.pv-mid .btn:disabled{background:#E6EEED!important;color:#5C7071!important;box-shadow:none!important}
/* uni */
.sh.pv-uni .s-head .who b{color:#1B2A2C}
html body .sh.pv-uni .av-btn{background:#0E5C5E!important;color:#fff;box-shadow:none!important;text-shadow:none}
html body .sh.pv-uni .quick button{background:#fff!important;border:1.5px solid #E1E7E8!important;box-shadow:none!important;border-radius:14px;color:#1B2A2C}
html body .sh.pv-uni .quick button svg{background:#E6EFEE!important;box-shadow:none!important;color:#0E5C5E;filter:none}
html body .sh.pv-uni .comp{background:#fff!important;border:1.5px solid #E1E7E8!important;box-shadow:none!important;border-radius:16px;color:#1B2A2C}
html body .sh.pv-uni .stat{background:#F5F8F8!important;box-shadow:none!important;border-radius:12px}
html body .sh.pv-uni .stat b{color:#0E4F51;text-shadow:none}
html body .sh.pv-uni .btn{border-radius:12px;background:#0E5C5E!important;color:#fff!important;box-shadow:none!important}
html body .sh.pv-uni .btn.accent{background:#0E5C5E!important;color:#fff!important}
html body .sh.pv-uni .btn.ghost{background:#fff!important;color:#0E5C5E!important;border:1.5px solid #CBD4D7!important}
html body .sh.pv-uni .btn:disabled{background:#E9EEEF!important;color:#5E6C70!important}
/* result screen bits */
.sh .result{position:relative}
.sh.pv-kids .res-h,.sh.pv-mid .res-h{color:#fff!important;text-shadow:0 2px 0 rgba(0,0,0,.2)}
.sh.pv-kids .result>p.muted,.sh.pv-mid .result>p.muted,.sh.pv-kids .result .center .muted,.sh.pv-mid .result .center .muted{color:rgba(255,255,255,.9)!important}
.sh.pv-kids .big,.sh.pv-mid .big{color:#fff!important;text-shadow:0 4px 0 rgba(0,0,0,.18)!important}
.sh.pv-uni .big{color:#0E4F51!important;text-shadow:none!important}
html body .sh.pv-mid .rows.card,html body .sh.pv-kids .rows.card{background:#FFFBF4!important;color:#173032;border:0!important}
html body .sh.pv-uni .rows.card{background:#fff!important;border:1.5px solid #E1E7E8!important;box-shadow:none!important;color:#1B2A2C}
/* dark */
html body.dark .sh.pv-kids .comp,html body.dark .sh.pv-kids .quick button{background:linear-gradient(180deg,#16336E,#0E2256)!important;color:#FFF4D0}
html body.dark .sh.pv-kids .stat{background:#0E2256!important;box-shadow:inset 0 0 0 2px #3A4580!important}
html body.dark .sh.pv-kids .stat b{color:#FFD86B}
html body.dark .sh.pv-kids .btn.ghost{background:#0E2256!important;color:#BFE4FF!important}
html body.dark .sh.pv-mid .comp,html body.dark .sh.pv-mid .quick button,html body.dark .sh.pv-mid .rows.card{background:#0F2223!important;color:#E8F4F3}
html body.dark .sh.pv-mid .stat{background:#163234!important;box-shadow:inset 0 0 0 2px #2C5C5D!important}
html body.dark .sh.pv-mid .stat b{color:#F5B72B}
html body.dark .sh.pv-mid .btn.ghost{background:#163234!important;color:#A9E3DD!important;border-color:#2C5C5D!important;box-shadow:0 4px 0 #0A1A1B!important}
html body.dark .sh.pv-uni .s-head .who b,html body.dark .sh.pv-uni .big{color:#E6EEEF!important}
html body.dark .sh.pv-uni .comp,html body.dark .sh.pv-uni .quick button,html body.dark .sh.pv-uni .rows.card{background:#192023!important;border-color:#2E3A3E!important;color:#E6EEEF}
html body.dark .sh.pv-uni .stat{background:#111719!important}
html body.dark .sh.pv-uni .stat b{color:#7FD1CC}
html body.dark .sh.pv-uni .quick button svg{background:#1E2B2C!important;color:#7FD1CC}
html body.dark .sh.pv-uni .av-btn{background:#3FB3AE!important;color:#0B1B1C}
html body.dark .sh.pv-uni .btn{background:#3FB3AE!important;color:#0B1B1C!important}
html body.dark .sh.pv-uni .btn.ghost{background:#192023!important;color:#7FD1CC!important;border-color:#2E3A3E!important}
/* answer boxes: no letter / radio badges */
html body[data-theme] .pv .opts .opt .letter{display:none!important}
html body[data-theme] .pv .opts .opt .txt{text-align:center}
html body[data-theme=uni] .pv .opts .opt .txt{text-align:right}
html body[data-theme=mid] .pv .opts .opt:nth-child(n){min-height:84px}
/* theme preview overlay */
.pvw{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;flex-direction:column;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 12px calc(10px + env(safe-area-inset-bottom))}
.pvw-top{display:flex;align-items:center;gap:10px;width:100%;max-width:420px}
.pvw-top .tabs{flex:1;display:flex;background:rgba(255,255,255,.14)!important}
.pvw-top .tabs button{flex:1;color:#fff!important}
.pvw-top .tabs button.on{background:#fff!important;color:#111!important}
.pvw-x{width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.18);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.pvw-x .ico{width:20px;height:20px}
.pvw-phone{flex:1;width:100%;max-width:420px;border-radius:30px;overflow:hidden;border:6px solid #1c1c1e;box-shadow:0 20px 50px rgba(0,0,0,.5);background:#000}
.pvw-phone{position:relative}
.pvw-phone iframe{position:absolute;inset:0;width:1px;min-width:100%;height:1px;min-height:100%;border:0;display:block}
.pvw-f{color:rgba(255,255,255,.75);font-size:13px}
.cf-prev{margin-top:-4px}
/* report PDF */
.rp-acts{gap:10px}.rp-acts .btn{flex:1;margin:0}
.rp-pdf-host{position:fixed;top:0;left:-10000px;width:760px;z-index:-1;pointer-events:none}
.rp-pdf{width:760px;background:#fff;color:#2A1414;padding:28px 34px;font-family:'Cairo',system-ui,sans-serif;font-size:15px;line-height:1.7;--ink:#2A1414;--muted:#6E5A55;--soft:#F6F0EB;--line:#EADFD6}
.rp-pdf-top{display:flex;align-items:center;gap:14px;padding-bottom:14px;margin-bottom:16px;border-bottom:3px solid #C8102E}
.rp-pdf-top img{width:54px;height:54px;border-radius:14px}
.rp-pdf-top b{display:block;font-size:22px;color:#C8102E;line-height:1.2}
.rp-pdf-top span{font-size:15px;color:#6E5A55}
.rp-pdf-top>div:nth-child(2){flex:1}
.rp-pdf-meta{text-align:left;font-size:13px;color:#6E5A55;line-height:1.6}
.rp-pdf .rp{gap:10px}
.rp-pdf .rp h4{font-size:17px;color:#8E0A0A;margin-top:16px;padding-bottom:4px;border-bottom:1px solid #EADFD6;page-break-after:avoid}
.rp-pdf .rp-head b{font-size:26px}
.rp-pdf .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.rp-pdf .stat{background:#FBF6F2!important;box-shadow:none!important;border:1px solid #EADFD6;border-radius:12px;padding:12px;text-align:center}
.rp-pdf .stat b{color:#C8102E!important;text-shadow:none!important;font-size:28px}
.rp-pdf .stat span,.rp-pdf .sub{color:#6E5A55!important}
.rp-pdf .rp-bar{grid-template-columns:110px 1fr 100px;font-size:14px;page-break-inside:avoid}
.rp-pdf .rp-bar i{background:#F1E8E1}
.rp-pdf .rp-ul{font-size:15px}
.rp-pdf .rp-w{background:#FBF6F2;color:#2A1414;page-break-inside:avoid}
.rp-pdf-foot{margin-top:22px;padding-top:10px;border-top:1px solid #EADFD6;font-size:13px;color:#8C7B75;text-align:center}
@media print{#print-area .rp-pdf{width:auto;padding:0}}
.rp-pdf .rp-ul{list-style:none;padding:0;margin:0}
.rp-pdf .rp-ul li{padding-right:16px;position:relative}
.rp-pdf .rp-ul li::before{content:"";position:absolute;right:2px;top:.75em;width:6px;height:6px;border-radius:50%;background:#C8102E}
x-w{display:inline}
/* in-app dialogs */
.dlg-back{position:fixed;inset:0;z-index:400;background:rgba(0,0,0,.38);display:flex;align-items:center;justify-content:center;padding:24px;animation:dlgf .18s ease-out}
.dlg-back.out{opacity:0;transition:opacity .15s}
@keyframes dlgf{from{opacity:0}to{opacity:1}}
.dlg{width:100%;max-width:300px;border-radius:16px;overflow:hidden;background:rgba(250,248,246,.97);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 20px 50px rgba(0,0,0,.3);animation:dlgi .22s cubic-bezier(.3,1.3,.5,1);color:#1C1C1E;direction:rtl}
@keyframes dlgi{from{transform:scale(1.12);opacity:0}to{transform:none;opacity:1}}
.dlg-b{padding:20px 18px 16px;text-align:center;display:flex;flex-direction:column;gap:6px}
.dlg-b b{font-size:17px;font-weight:700}
.dlg-b p{font-size:15px;line-height:1.55;color:#3A3A3C;margin:0}
.dlg-in{margin-top:8px;width:100%;border:1px solid rgba(0,0,0,.14);border-radius:9px;padding:9px 11px;font-size:16px;background:#fff;color:#1C1C1E;font-family:inherit}
.dlg-a{display:flex;border-top:.5px solid rgba(0,0,0,.18)}
.dlg-a button{flex:1;border:0;background:transparent;padding:13px 8px;font-size:17px;font-family:inherit;color:#007AFF;cursor:pointer}
.dlg-a button+button{border-right:.5px solid rgba(0,0,0,.18)}
.dlg-a button.pri{font-weight:700}
.dlg-a button.dng{color:#FF3B30;font-weight:700}
.dlg-a button:disabled{opacity:.35}
.dlg-a button:active{background:rgba(0,0,0,.06)}
body.dark .dlg{background:rgba(44,44,46,.97);color:#fff}
body.dark .dlg-b p{color:#D1D1D6}
body.dark .dlg-in{background:#1C1C1E;color:#fff;border-color:rgba(255,255,255,.15)}
body.dark .dlg-a,body.dark .dlg-a button+button{border-color:rgba(255,255,255,.15)}
body.dark .dlg-a button{color:#0A84FF}
body.dark .dlg-a button.dng{color:#FF453A}
.link.forgot{align-self:flex-start;font-size:14px;margin-top:-4px}
/* student login matches the class theme */
.sl .hero{padding-top:56px}
.sl .hero .logo{width:104px;height:104px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.25))}
.sl.pv-kids .hero h1,.sl.pv-mid .hero h1{color:#fff!important;text-shadow:0 3px 0 rgba(0,0,0,.18)}
.sl.pv-kids .hero p,.sl.pv-mid .hero p{color:rgba(255,255,255,.92)!important}
.sl.pv-uni .hero h1{color:#0E4F51!important}
html body .sl .card{border:0!important;border-radius:26px;padding:20px;box-shadow:0 18px 34px rgba(0,0,0,.18)!important;background:#FFFBF4!important;color:#173032}
html body .sl.pv-kids .card{border:4px solid #F7C948!important;box-shadow:0 6px 0 #E2A92B,0 14px 24px rgba(0,60,120,.15)!important;color:#1E2A4A}
html body .sl.pv-uni .card{background:#fff!important;border:1.5px solid #E1E7E8!important;box-shadow:none!important;border-radius:16px}
html body .sl .code-box{background:#fff!important;border:2px solid #D6E4E2!important;box-shadow:none!important;color:#173032}
html body .sl .code-box.on{border-color:#F5B72B!important;box-shadow:0 0 0 3px rgba(245,183,43,.25)!important}
html body .sl .paste-btn{background:rgba(14,110,112,.1);color:#0E6E70;box-shadow:none}
html body .sl.pv-kids .paste-btn{background:#EAF6FF;color:#1F56A8}
.sl-t{margin-top:4px}
.sl-t .link{font-size:14px;font-weight:600;opacity:.85;color:inherit}
.sl.pv-kids .sl-t .link,.sl.pv-mid .sl-t .link{color:#fff}
.sl.pv-uni .sl-t .link{color:#5E6C70}
html body.dark .sl .card{background:#0F2223!important;color:#E8F4F3}
html body.dark .sl.pv-kids .card{background:#0E2256!important;color:#FFF4D0}
html body.dark .sl.pv-uni .card{background:#192023!important;color:#E6EEEF;border-color:#2E3A3E!important}
html body.dark .sl .code-box{background:#13292A!important;border-color:#2C5C5D!important;color:#fff}
html body.dark .sl.pv-uni .hero h1{color:#E6EEEF!important}
/* result: answer review */
.rv{display:flex;flex-direction:column;gap:8px;background:#fff;border-radius:20px;padding:14px;color:#1B2A2C;box-shadow:0 8px 20px rgba(0,0,0,.1)}
.rv-h{font-size:16px;margin-bottom:2px}
.rv-i{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid #EEF1F1}
.rv-i:first-of-type{border-top:0}
.rv-n{width:26px;height:26px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:14px}
.rv-i.ok .rv-n{background:#1FA971}.rv-i.no .rv-n{background:#E5484D}
.rv-q{font-weight:700;font-size:15px;line-height:1.5}
.rv-a{font-size:14px;margin-top:2px}.rv-a.good{color:#168A5B;font-weight:700}.rv-a.bad{color:#C22E33}
html body.dark .rv{background:#192023;color:#E6EEEF}
html body.dark .rv-i{border-color:#2A3539}
html body.dark .rv-a.good{color:#4FD394}html body.dark .rv-a.bad{color:#FF8A8D}
.sh.pv-kids .rv{border:3px solid #F7C948}
/* student home: streak, gap, next round, phase strip, badges */
.streak{display:inline-flex;align-items:center;gap:2px;padding:1px 9px;border-radius:999px;background:rgba(255,140,0,.16);color:#C25A00;font-weight:800;font-size:13px;margin-inline-start:6px}
.sh.pv-kids .streak,.sh.pv-mid .streak{background:rgba(255,255,255,.22);color:#fff}
.gap-l{text-align:center;font-size:14px;color:inherit;opacity:.85;margin-top:-4px}
.gap-l b{color:#E5484D;font-size:16px}
.next-r{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px;border-radius:16px;background:rgba(14,110,112,.08)}
.next-r span{font-size:14px;opacity:.8}
.next-r b{font-size:30px;font-weight:900;letter-spacing:2px;font-variant-numeric:tabular-nums;direction:ltr}
.sh.pv-kids .next-r{background:#FFF3C8}.sh.pv-kids .next-r b{color:#1F56A8}
.sh.pv-mid .next-r b{color:#0E6E70}.sh.pv-uni .next-r b{color:#0E4F51}
html body.dark .next-r{background:rgba(255,255,255,.06)}html body.dark .sh .next-r b{color:#F5B72B}
.ph-strip{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;opacity:.9;margin-bottom:-2px}
.ph-strip span{padding:3px 10px;border-radius:999px;background:rgba(0,0,0,.05);color:inherit;opacity:.6}
.ph-strip span.done{opacity:.8}
.ph-strip span.cur{opacity:1;background:#F5B72B;color:#3A2600}
.ph-strip i{flex:1;height:2px;background:currentColor;opacity:.15;border-radius:2px}
html body.dark .ph-strip span{background:rgba(255,255,255,.08)}
html body.dark .ph-strip span.cur{background:#F5B72B;color:#3A2600}
.rv-btn .ico{width:18px;height:18px}
.bdg-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px}
.bdg{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;padding:14px 8px;border-radius:16px;background:rgba(0,0,0,.04);filter:grayscale(1);opacity:.55}
.bdg.on{filter:none;opacity:1;background:linear-gradient(180deg,#FFF8DC,#FFEDB0);box-shadow:inset 0 0 0 2px #F7C948}
.bdg-i{font-size:34px;line-height:1.1}
.bdg b{font-size:15px}.bdg small{font-size:12.5px;opacity:.75}
html body.dark .bdg{background:rgba(255,255,255,.06)}
html body.dark .bdg.on{background:linear-gradient(180deg,#3A3014,#2A2410);box-shadow:inset 0 0 0 2px #B88A1E}
#net{position:fixed;top:0;left:0;right:0;z-index:500;background:#E5484D;color:#fff;text-align:center;font-weight:700;font-size:14px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;box-shadow:0 4px 12px rgba(0,0,0,.2)}
input,select,textarea{font-size:16px}
/* question review buttons with labels; FAB clear of the tab bar */
html body .q-ok,html body .q-no{width:auto!important;height:36px!important;border-radius:999px!important;padding:0 14px 0 12px;gap:5px;font-weight:700;font-size:14px;font-family:inherit}
.q-ok .ico,.q-no .ico{width:18px;height:18px}
.q-no{background:#8E8E93!important}
html body .fab{bottom:calc(max(6px, calc(env(safe-area-inset-bottom) - 20px)) + 100px)!important}
html body .t-body{padding-bottom:150px!important}
.cf-pool{display:flex;gap:6px;align-items:flex-start;font-size:13px;line-height:1.6;margin-top:8px;padding:8px 10px;border-radius:10px}
.cf-pool:empty{display:none}
.cf-pool .ico{width:16px;height:16px;flex:none;margin-top:3px}
.cf-pool.ok{background:rgba(52,199,89,.12);color:#1f7a3a}
.cf-pool.low{background:rgba(255,149,0,.14);color:#9a5200}
body.dark .cf-pool.ok{color:#7ee2a0} body.dark .cf-pool.low{color:#ffc069}
.today-row{gap:10px;padding:8px 0;border-top:.5px solid rgba(60,60,67,.18)}
.today-row .dash-link{display:block;padding:0;border:0}
html body .wa-btn{background:#25D366!important;color:#fff!important;flex:none;width:auto}
.seg-g{display:flex}
.seg-g label{flex:1;text-align:center;cursor:pointer;padding:8px 4px;border-radius:9px;font-size:14px}
.seg-g label.on,.seg-g label:has(input:checked){background:var(--card,#fff);box-shadow:0 1px 3px rgba(0,0,0,.12);font-weight:700}
.seg-g input{position:absolute;opacity:0;pointer-events:none}
@media print{
  .pcards{grid-template-columns:repeat(2,1fr)!important}
  .pcard.qr{display:flex;align-items:center;gap:12px;text-align:right}
  .pcard .pq{width:88px;height:88px;flex:none}
  .pcard .pq svg{width:100%;height:100%}
  .pcard.qr .pc{font-size:22px;letter-spacing:3px}
}
/* knockout bracket + honor board */
.ko-wrap{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.ko-me{text-align:center;font-size:15px;padding:10px;border-radius:14px;background:rgba(255,204,0,.16)}
.ko-me.done{background:rgba(52,199,89,.14);font-size:14px}
.ko-br{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 8px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.ko-col{flex:1 0 46%;min-width:150px;display:flex;flex-direction:column;justify-content:space-around;gap:10px;scroll-snap-align:start}
.ko-h{font-weight:800;font-size:14px;text-align:center;display:flex;flex-direction:column}
.ko-h small{font-weight:500;font-size:12px;opacity:.7}
.ko-m{border-radius:12px;overflow:hidden;background:rgba(255,255,255,.75);box-shadow:0 1px 4px rgba(0,0,0,.1)}
body.dark .ko-m{background:rgba(255,255,255,.08)}
.ko-p{display:flex;align-items:center;gap:6px;padding:7px 8px;font-size:13.5px;min-height:34px}
.ko-p+.ko-p{border-top:.5px solid rgba(60,60,67,.2)}
.ko-p .ko-s{width:18px;height:18px;border-radius:50%;background:rgba(120,120,128,.18);font-size:11px;display:grid;place-items:center;flex:none}
.ko-p .ko-n{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ko-p.win{font-weight:800;background:rgba(52,199,89,.14)}
.ko-p.out{opacity:.5;text-decoration:line-through}
.ko-p.me{box-shadow:inset 3px 0 0 #FF9500}
.ko-p.tbd{color:#8E8E93;font-size:12.5px;justify-content:center}
.ko-rule{font-size:12.5px;opacity:.75;text-align:center;margin:0}
.ko-none{font-size:13px}
.honor{border-radius:18px;padding:14px;text-align:center;background:linear-gradient(160deg,rgba(255,214,10,.22),rgba(255,149,0,.12));display:flex;flex-direction:column;gap:10px}
.honor-h{font-weight:800;font-size:16px}
.honor-ch{display:flex;flex-direction:column;align-items:center;font-size:30px;line-height:1.2}
.honor-ch b{font-size:19px}.honor-ch span{font-size:12.5px;opacity:.75}
.honor-l{display:flex;flex-direction:column;gap:6px}
.honor-l div{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.55);border-radius:10px;padding:6px 10px;font-size:14px}
body.dark .honor-l div{background:rgba(255,255,255,.08)}
.honor-l b{flex:1;text-align:right}.honor-l small,.honor-f{font-size:12px;opacity:.7}
.ko-card .ko-br{margin-top:4px}
/* student home: fit one screen without scrolling */
html body .sh:has(.comp){padding-bottom:16px!important;min-height:100dvh}
html body .sh .s-head{padding-top:max(10px,env(safe-area-inset-top))!important;padding-bottom:4px!important}
html body .sh .s-head .who b{font-size:24px!important;line-height:1.25}
html body .sh .s-head .av-btn{width:50px!important;height:50px!important;font-size:22px!important}
html body .sh .quick{margin-top:6px!important;margin-bottom:10px!important;gap:10px!important}
html body .sh .quick button{flex-direction:row!important;justify-content:center;gap:10px!important;min-height:0!important;height:60px!important;padding:8px 12px!important}
html body .sh .quick button .ico{width:34px!important;height:34px!important;padding:7px!important;margin:0!important}
html body .sh .quick button span{font-size:16px!important}
html body .sh .comp{gap:10px!important;padding:14px!important}
html body .sh .comp .phase b{font-size:18px!important}
html body .sh .comp .stats{gap:10px!important}
html body .sh .comp .stat{padding:8px!important;min-height:0!important}
html body .sh .comp .stat b{font-size:28px!important;line-height:1.15}
html body .sh .gap-l{margin:0!important;font-size:13.5px}
html body .sh .next-r{flex-direction:row;justify-content:center;gap:10px;padding:10px 12px}
html body .sh .next-r b{font-size:24px}
html body .sh .comp>.btn{min-height:0!important;height:54px!important;font-size:18px!important}
.s-row2{display:flex;gap:10px}
html body .sh .s-row2 .btn{flex:1;min-height:0!important;height:48px!important;font-size:15.5px!important;padding:0 8px!important;white-space:nowrap}
/* student leaderboard v2 */
html body .modal.lbx-m{padding:0!important;overflow:hidden;max-height:86dvh;display:flex}
.lbx{display:flex;flex-direction:column;width:100%;max-height:86dvh;overflow-y:auto;padding:16px 16px calc(16px + env(safe-area-inset-bottom))}
.lbx-top{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.lbx-top h3{margin:0;font-size:22px}
.lbx-top>span{font-size:13px;opacity:.7;flex:1}
.lbx-x{width:34px;height:34px;border-radius:50%;border:0;background:rgba(120,120,128,.16);color:inherit;display:grid;place-items:center}
.lbx-x .ico{width:18px;height:18px}
.lbx-pod{display:grid;grid-template-columns:1fr 1.15fr 1fr;align-items:end;gap:8px;margin:18px 0 6px}
.lbx-pd{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
.lbx-pd b{font-size:15px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lbx-av{position:relative;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-size:24px;font-weight:900;color:#fff;background:linear-gradient(160deg,#9AA6B2,#6B7785);box-shadow:0 4px 0 rgba(0,0,0,.15)}
.lbx-pd.p1 .lbx-av{width:72px;height:72px;font-size:30px;background:linear-gradient(160deg,#FFD54A,#E6A100)}
.lbx-pd.p2 .lbx-av{background:linear-gradient(160deg,#D6DEE6,#8C99A6)}
.lbx-pd.p3 .lbx-av{background:linear-gradient(160deg,#E7A97A,#B0683A)}
.lbx-crown{position:absolute;top:-22px;font-size:22px}
.lbx-md{position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);width:22px;height:22px;border-radius:50%;background:#fff;color:#333;font-size:12px;display:grid;place-items:center;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.lbx-pts{font-weight:900;font-size:16px;color:#E08A00}
.lbx-step{width:100%;border-radius:12px 12px 4px 4px;background:rgba(245,183,43,.25)}
.lbx-pd.p1 .lbx-step{height:64px;background:linear-gradient(180deg,rgba(255,213,74,.55),rgba(255,213,74,.15))}
.lbx-pd.p2 .lbx-step{height:44px;background:linear-gradient(180deg,rgba(160,175,190,.45),rgba(160,175,190,.12))}
.lbx-pd.p3 .lbx-step{height:30px;background:linear-gradient(180deg,rgba(205,130,80,.4),rgba(205,130,80,.1))}
.lbx-pd.me .lbx-av{outline:3px solid #34C759;outline-offset:2px}
.lbx-list{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.lbx-r{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:14px;background:rgba(255,255,255,.6)}
body.dark .lbx-r{background:rgba(255,255,255,.06)}
.lbx-r.me{background:rgba(52,199,89,.18);box-shadow:inset 0 0 0 1.5px rgba(52,199,89,.6)}
.lbx-no{width:26px;height:26px;border-radius:50%;background:rgba(120,120,128,.16);display:grid;place-items:center;font-weight:800;font-size:13px;flex:none}
.lbx-nm{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;font-size:15px}
.lbx-nm small{opacity:.7}
.lbx-nm i{height:5px;border-radius:5px;background:rgba(120,120,128,.15);overflow:hidden}
.lbx-nm u{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#F5B72B,#FF8A00)}
.lbx-r>b{font-size:16px;font-variant-numeric:tabular-nums}
.lbx-zero{margin-top:12px;padding:10px 12px;border-radius:14px;background:rgba(120,120,128,.1);font-size:13.5px;text-align:center;line-height:1.6}
.lbx-empty{display:flex;flex-direction:column;align-items:center;gap:4px;padding:28px 0 10px;text-align:center}
.lbx-empty span{font-size:44px}.lbx-empty small{opacity:.7}
.lbx-hid{text-align:center;padding:10px;border-radius:14px;background:rgba(120,120,128,.1);display:flex;flex-direction:column;font-weight:700}
.lbx-hid small{font-weight:400;opacity:.7}
a.btn.cp-res{text-decoration:none;justify-content:center}
a.cp-all{text-decoration:none;color:inherit;border-radius:14px;background:var(--card,#fff);margin-top:4px}
body.dark a.cp-all{background:rgba(255,255,255,.06)}
.rs-cls{font-size:14px;font-weight:700;opacity:.7;margin:-4px 2px 2px}
/* question settings v2 */
.qs-intro{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:rgba(47,128,237,.1);font-size:14px;line-height:1.7;margin-bottom:6px}
.qs-intro .ico{width:20px;height:20px;flex:none;margin-top:3px;color:#2F80ED}
body.dark .qs-intro{background:rgba(47,128,237,.18)}
.set-h small{font-weight:400;opacity:.7;font-size:12px}
.qd-row{display:flex;gap:4px;margin-top:6px}
.qd{font-style:normal;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:999px}
.qd.e{background:rgba(52,199,89,.16);color:#1f8a3e}
.qd.m{background:rgba(255,149,0,.16);color:#b86a00}
.qd.h{background:rgba(255,59,48,.14);color:#c4281f}
body.dark .qd.e{color:#6fdc8c}body.dark .qd.m{color:#ffb340}body.dark .qd.h{color:#ff7a70}
.tick.sq{width:24px;height:24px;border-radius:7px;border:2px solid rgba(120,120,128,.4);align-items:center;justify-content:center}
.tick.sq .ico{width:16px;height:16px}
.tick.sq.on{background:var(--primary);border-color:var(--primary);color:#fff}
/* classes page v2 */
.cl-empty{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:28px 16px;border-radius:18px;background:var(--card,#fff)}
.cl-empty>.ico{width:40px;height:40px;color:var(--primary);opacity:.8}
.cl-empty b{font-size:18px}.cl-empty small{opacity:.7;font-size:13.5px;line-height:1.6}
.cl-empty .btn{width:auto;margin-top:6px;padding:0 22px}
.cl-empty.sm{padding:16px 8px;background:transparent}
.cl-empty-acts{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:4px}
.cl-empty-acts .btn{width:auto;margin:0}
body.dark .cl-empty:not(.sm){background:rgba(255,255,255,.06)}
.cl-ring{--p:0;flex:none;width:50px;height:50px;border-radius:50%;display:grid;place-content:center;text-align:center;line-height:1.05;background:radial-gradient(closest-side,var(--card,#fff) 78%,transparent 80% 100%),conic-gradient(#34C759 calc(var(--p)*1%),rgba(120,120,128,.18) 0);margin-inline-start:6px}
body.dark .cl-ring{background:radial-gradient(closest-side,#1c1c1e 78%,transparent 80% 100%),conic-gradient(#34C759 calc(var(--p)*1%),rgba(255,255,255,.12) 0)}
.cl-ring b{font-size:12px;font-weight:800;direction:ltr}.cl-ring small{font-size:9.5px;opacity:.7}
.cl-acts{display:flex;gap:8px;align-items:center}
.cl-acts .btn{width:auto;flex:1}
.cl-alert{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:rgba(255,149,0,.13);font-size:13.5px}
.cl-alert>.ico{width:18px;height:18px;color:#c26a00;flex:none}
.cl-alert .btn{width:auto;flex:none}
.cl-search{display:flex;align-items:center;gap:6px;padding:0 10px;border-radius:10px;background:rgba(120,120,128,.12);height:38px}
.cl-search .ico{width:16px;height:16px;opacity:.6}
.cl-search input{border:0;background:transparent;flex:1;font:inherit;font-size:16px;color:inherit;outline:none;min-width:0}
.cl-sort{margin:0!important}
.sw-row.hide{display:none!important}
.cl-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#34C759;margin-inline-start:6px;vertical-align:middle}
.cl-wa{flex:none;width:36px;height:36px;border-radius:50%;border:0;background:rgba(37,211,102,.14);color:#1a9e4b;display:grid;place-items:center}
.cl-wa .ico{width:17px;height:17px}
.cl-flash{position:relative;display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:14px;background:rgba(52,199,89,.13)}
.cl-flash small{opacity:.8;font-size:13px}
.cl-flash .row{gap:8px;flex-wrap:wrap}.cl-flash .btn{width:auto}
.cl-flash-x{position:absolute;top:8px;left:8px;width:26px;height:26px;border-radius:50%;border:0;background:rgba(0,0,0,.06);color:inherit;display:grid;place-items:center}
.cl-flash-x .ico{width:14px;height:14px}
.cl-arch{margin-top:12px;border-radius:14px;background:var(--card,#fff);padding:4px 12px}
body.dark .cl-arch{background:rgba(255,255,255,.06)}
.cl-arch summary{display:flex;align-items:center;gap:8px;padding:10px 0;font-weight:700;font-size:14px;cursor:pointer;list-style:none;opacity:.8}
.cl-arch summary .ico{width:16px;height:16px}
.cl-arch-r{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:.5px solid rgba(60,60,67,.18)}
.cl-arch-r span{display:flex;flex-direction:column}.cl-arch-r small{opacity:.6;font-size:12px}
.cl-arch-r .btn{width:auto}
/* new class modal */
.nc-row{gap:10px;align-items:flex-end}
.nc-secs{display:flex;gap:4px}
.nc-secs button{width:38px;height:44px;border-radius:10px;border:1.5px solid rgba(120,120,128,.3);background:transparent;color:inherit;font:inherit;font-weight:700;font-size:16px}
.nc-secs button.on{background:var(--primary);border-color:var(--primary);color:#fff}
.nc-m{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.nc-m button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;border-radius:12px;border:1.5px solid rgba(120,120,128,.25);background:transparent;color:inherit;font:inherit;font-size:12.5px;font-weight:700}
.nc-m button .ico{width:20px;height:20px}
.nc-m button.on{border-color:var(--primary);background:rgba(200,16,46,.07);color:var(--primary)}
.paste-info{font-size:13px;min-height:18px}
.paste-info .bad{color:#c4281f}
.as-tabs{display:flex;margin-bottom:4px}.as-tabs button{flex:1}
/* send codes */
.send-list{display:flex;flex-direction:column;gap:6px;max-height:52dvh;overflow-y:auto;margin:6px 0}
.send-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;border:0;background:rgba(120,120,128,.1);color:inherit;font:inherit;text-align:right}
.send-row small{display:block;font-size:12px;opacity:.65}
.send-ic{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#25D366;color:#fff;flex:none}
.send-ic .ico{width:16px;height:16px}
.send-row.sent{opacity:.6}.send-row.sent .send-ic{background:#8E8E93}
/* file preview */
.pv-sum{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.pv-sum span{font-size:12.5px;font-weight:700;padding:3px 10px;border-radius:999px}
.pv-sum .ok{background:rgba(52,199,89,.15);color:#1f8a3e}.pv-sum .dup{background:rgba(255,59,48,.13);color:#c4281f}.pv-sum .nono{background:rgba(255,149,0,.15);color:#a85d00}
.pv-tbl{max-height:46dvh;overflow-y:auto}
.pv-tbl tr.dup td{background:rgba(255,59,48,.08);color:#c4281f}
.pv-tbl tr.nono td:last-child{background:rgba(255,149,0,.1)}
.pv-tbl small{font-size:11px}
/* undo snackbar */
.snack{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom) + 96px);z-index:300;display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:14px;background:#1c1c1e;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.25);font-size:14.5px;max-width:calc(100% - 32px)}
.snack button{border:0;background:transparent;color:#FFD60A;font:inherit;font-weight:800}
/* self-join full screen */
.joinshow{position:fixed;inset:0;z-index:400;background:#fff;color:#111;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center}
.joinshow b{font-size:30px}.joinshow span{font-size:17px;opacity:.7}
.joinshow-qr{width:min(70vw,70vh,380px);aspect-ratio:1}.joinshow-qr svg{width:100%;height:100%}
.joinshow code{font-size:14px;word-break:break-all;opacity:.7}
.joinshow-x{position:absolute;top:calc(env(safe-area-inset-top) + 14px);left:14px;width:42px;height:42px;border-radius:50%;border:0;background:rgba(0,0,0,.07);display:grid;place-items:center}
.cl-meta{flex-wrap:wrap;row-gap:4px}
.cl-tag{white-space:nowrap}
.cl-days{font-size:12px;opacity:.7;white-space:nowrap}

/* ===== questions v2 ===== */
.qb{background:var(--card,#fff);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:7px;border:1px solid var(--line)}
.qb.low{border-color:rgba(255,149,0,.55);background:color-mix(in srgb,#FF9500 7%,var(--card,#fff))}
.qb-h{display:flex;align-items:baseline;gap:6px}.qb-h b{font-size:26px;line-height:1}.qb-h span{font-size:14px;color:var(--muted)}
.qb-h em{font-style:normal;font-weight:800;font-size:13.5px;padding:2px 10px;border-radius:99px;background:rgba(52,199,89,.15);color:#1f8a3e}
.qb.low .qb-h em{background:rgba(255,149,0,.18);color:#a85d00}
.qb-bar{display:flex;height:9px;border-radius:99px;overflow:hidden;background:rgba(120,120,128,.14)}
.qb-bar i,.qb-lg i{display:block}.qb-bar .lv-easy,.qb-lg .lv-easy{background:#34C759}.qb-bar .lv-medium,.qb-lg .lv-medium{background:#FFB020}.qb-bar .lv-hard,.qb-lg .lv-hard{background:#FF453A}
.qb-lg{display:flex;gap:14px;font-size:12.5px;color:var(--muted)}.qb-lg span{display:flex;align-items:center;gap:5px}.qb-lg i{width:9px;height:9px;border-radius:3px}
.qb-n{font-size:13px;color:var(--muted)}
.q-tabs button{font-size:14px;padding:8px 2px}
.q-tools{display:flex;gap:8px;align-items:center}
.q-search{flex:1;display:flex;align-items:center;gap:6px;background:var(--card,#fff);border:1px solid var(--line);border-radius:12px;padding:0 10px;height:42px}
.q-search .ico{width:18px;height:18px;opacity:.55}.q-search input{flex:1;border:0;background:transparent;outline:0;height:100%;min-width:0}
.q-tools .btn.sm{margin:0}
.q-flt{display:grid;grid-template-columns:1fr 1fr;gap:8px}.q-flt select{height:40px;padding:0 10px;font-size:14px}
.q-selbar{position:sticky;top:6px;z-index:6;display:flex;align-items:center;gap:8px;background:var(--card,#fff);border:1px solid var(--line);border-radius:14px;padding:6px 8px;box-shadow:0 6px 18px rgba(0,0,0,.08)}
.q-selbar .btn.sm{margin:0;min-height:36px}.q-selbar .btn[disabled]{opacity:.45}
.q-item.sel{outline:2px solid var(--primary);outline-offset:-2px}
.q-item>.tick.sq{position:absolute;inset-inline-end:12px;top:12px}.q-item{position:relative}
.q-item>.tick.sq~.q-body{padding-inline-end:34px}
.q-item>.tick.sq.on{background:var(--primary);border-color:var(--primary);color:#fff}
.chip.dup{background:rgba(255,149,0,.16);color:#a85d00}
.q-stat{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}.q-stat .ico{width:15px;height:15px}
.q-stat b{font-size:11.5px;padding:1px 8px;border-radius:99px}.qs-hard{background:rgba(255,69,58,.13);color:#c4281f}.qs-easy{background:rgba(52,199,89,.15);color:#1f8a3e}
.q-ro{text-align:center}
.q-empty{display:flex;flex-direction:column;gap:8px;text-align:center;padding:20px 16px}.q-empty b{font-size:18px}
.q-empty-a{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}.q-empty-a .btn{margin:0;font-size:14.5px;min-height:46px}
/* form */
.qf .field>label small{font-weight:500;margin-inline-start:4px}
.qo{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.qo .input{flex:1}
.qo-c{flex:0 0 34px;height:34px;border-radius:50%;border:2px solid rgba(120,120,128,.4);background:transparent;color:transparent;display:flex;align-items:center;justify-content:center;padding:0}
.qo-c .ico{width:18px;height:18px;stroke-width:3}
.qo.on .qo-c{background:#34C759;border-color:#34C759;color:#fff}
.qo.on .input{border-color:#34C759;box-shadow:0 0 0 1px #34C759 inset}
.qf-seg{display:flex;background:rgba(120,120,128,.12);border-radius:11px;padding:3px;gap:2px}
.qf-seg button{flex:1;border:0;background:transparent;padding:8px 4px;border-radius:9px;font-size:14px}
.qf-seg button.on{background:var(--card,#fff);box-shadow:0 1px 3px rgba(0,0,0,.14);font-weight:800}
.q-dupw{color:#a85d00;font-size:12.5px;margin-top:4px;display:block}
.qf .grid2 .btn{margin:0}
/* paste + preview */
.qp-ta{font-size:14.5px;line-height:1.7}
.pv-sum .warn{background:rgba(255,149,0,.15);color:#a85d00}.pv-sum .bad{background:rgba(255,59,48,.13);color:#c4281f}
.qpv-bad{background:rgba(255,59,48,.07);border-radius:12px;padding:8px 10px;font-size:13px;display:flex;flex-direction:column;gap:3px;max-height:150px;overflow:auto;margin-bottom:8px}
.qpv-bad em{font-style:normal;font-weight:800;color:#c4281f;margin-inline-end:4px}.qpv-bad span{color:var(--muted)}
.qpv-list{max-height:240px;overflow:auto;display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.qpv{background:rgba(120,120,128,.08);border-radius:10px;padding:7px 10px;display:flex;flex-direction:column}.qpv b{font-size:14px}.qpv small{color:#1f8a3e;font-size:12.5px}
.qpv.dup{background:rgba(255,149,0,.1)}.qpv.dup small{color:#a85d00}
.chk{display:flex;align-items:center;gap:8px;font-size:14px;margin:4px 0}.chk input{width:18px;height:18px;accent-color:var(--primary)}
body.wide.dark .qb,body.wide.dark .q-search,body.wide.dark .q-selbar{background:#1C1C1E}
/* question images, sharing, OCR */
.qbox.has-img{flex-direction:column;gap:10px}
.qbox .q-img{max-width:100%;max-height:30vh;border-radius:12px;object-fit:contain;background:#fff}
.q-thumb{width:100%;max-height:150px;object-fit:contain;border-radius:10px;background:rgba(120,120,128,.08)}
.q-imgf img{display:block;max-width:100%;max-height:180px;margin:0 auto 8px;border-radius:12px}
.q-imgb{display:flex;gap:8px;justify-content:center}.q-imgb .btn{margin:0}
.q-imgadd{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;border:1.5px dashed rgba(120,120,128,.45);background:transparent;border-radius:12px;padding:12px;color:var(--muted)}
.q-imgadd .ico{width:20px;height:20px}.q-imgadd small{font-weight:400}
.qs-code{font-size:34px;font-weight:900;letter-spacing:6px;text-align:center;direction:ltr;padding:14px;border-radius:14px;background:rgba(120,120,128,.1);margin:6px 0}
.ocr-bar{height:8px;border-radius:99px;background:rgba(120,120,128,.15);overflow:hidden;margin-top:10px}.ocr-bar i{display:block;height:100%;width:3%;background:var(--primary);transition:width .3s}
/* question cards v3: compact, spaced */
.qi-list{display:flex;flex-direction:column;gap:12px}
html body .q-item.qi{padding:14px 14px 12px;gap:10px;border-radius:18px;margin:0}
.qi-top{display:flex;align-items:flex-start;gap:10px}
.qi-top .q-body{flex:1;font-size:16.5px;line-height:1.55;font-weight:800}
html body .qi-top .q-thumb{flex:0 0 58px;width:58px;height:58px;max-height:none;object-fit:cover;border-radius:12px}
.qi-top .tick.sq{flex:0 0 24px;margin-top:2px}
.qi-opts{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.qi-opts span{display:flex;align-items:center;gap:5px;min-width:0;padding:6px 10px;border-radius:10px;background:rgba(120,120,128,.09);font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qi-opts span.c{background:rgba(52,199,89,.14);color:#1a7f37;font-weight:800}
.qi-opts .ico{flex:0 0 15px;width:15px;height:15px;stroke-width:3}
.qi-foot{display:flex;align-items:center;gap:8px;min-height:32px}
.qi-meta{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.qi-meta em{font-style:normal;opacity:.5}
.lvd{width:8px;height:8px;border-radius:50%;display:inline-block}.lvd.lv-easy{background:#34C759}.lvd.lv-medium{background:#FFB020}.lvd.lv-hard{background:#FF453A}
.qi-dup{margin-inline-start:4px;font-size:11.5px;padding:1px 8px;border-radius:99px;background:rgba(255,149,0,.16);color:#a85d00}
.qi-edit{color:var(--muted);opacity:.6;display:flex}.qi-edit .ico{width:18px;height:18px}
html body .qi-foot .q-ok,html body .qi-foot .q-no{height:34px!important;font-size:13.5px;padding:0 12px 0 10px}
html body .qi-foot .btn.sm{min-height:34px;margin:0;font-size:13.5px}
.q-item.qi>.tick.sq{position:static}
body.wide.dark .qi-opts span{background:rgba(255,255,255,.07)}
body.wide.dark .qi-opts span.c{background:rgba(48,209,88,.16);color:#30D158}
body.wide.dark .q-item.qi{border:1px solid rgba(255,255,255,.06)!important}
/* questions by curriculum */
.qf-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.qf-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:start;background:var(--card,#fff);border:1px solid var(--line);border-radius:16px;padding:12px;min-height:112px}
.qf-tile .qf-ic{width:36px;height:36px;border-radius:11px;background:var(--c);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:17px;margin-bottom:6px}
.qf-tile .qf-ic .ico{width:20px;height:20px}
.qf-tile b{font-size:15px;line-height:1.35}.qf-tile small{font-size:12px;color:var(--muted)}
.qf-tile em{position:absolute;top:12px;inset-inline-end:12px;font-style:normal;font-weight:800;font-size:13px;min-width:26px;text-align:center;padding:2px 8px;border-radius:99px;background:color-mix(in srgb,var(--c) 14%,transparent);color:var(--c)}
.qf-tile.empty em{background:rgba(120,120,128,.12);color:var(--muted)}
.qf-tile.add{border-style:dashed;background:transparent}.qf-tile.add .qf-ic{background:rgba(120,120,128,.18);color:var(--muted)}
.q-flat{border:0;background:transparent;color:var(--primary);font-weight:700;padding:10px;width:100%}
.q-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:14px}
.q-crumb button{border:0;background:transparent;color:var(--primary);font-weight:700;padding:4px 0}
.q-crumb i{font-style:normal;color:var(--muted)}.q-crumb b{font-weight:800}
.qs-stages{display:flex;flex-direction:column;gap:10px;margin-bottom:6px}
.qs-stage{background:var(--card,#fff);border:1px solid var(--line);border-radius:16px;padding:12px}
.qs-sh{font-weight:900;font-size:15px;margin-bottom:8px}
.qs-gr{display:flex;flex-wrap:wrap;gap:6px}
.qs-g{display:flex;align-items:center;gap:6px;border:0;border-radius:11px;padding:7px 11px;font-size:13.5px}
.qs-g.on{background:color-mix(in srgb,var(--primary) 10%,transparent);color:var(--ink)}.qs-g.on b{font-weight:800}
.qs-g.on em{font-style:normal;font-weight:800;font-size:12px;padding:0 7px;border-radius:99px;background:var(--primary);color:#fff}
.qs-g.add{background:transparent;border:1px dashed rgba(120,120,128,.4);color:var(--muted)}.qs-g.add .ico{width:14px;height:14px}
.qs-lh{font-weight:800;font-size:14px;color:var(--muted);margin-top:4px}
.q-addhere{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;border:1.5px dashed rgba(120,120,128,.45);background:transparent;border-radius:14px;padding:12px;color:var(--primary);font-weight:800}
body.wide.dark .qf-tile,body.wide.dark .qs-stage{background:#1C1C1E}
/* ===== add students v3 (one button → 4 ways → review → which class) ===== */
html body .cl-add{min-height:54px;font-size:17px;font-weight:800}
.cl-newc{display:flex;justify-content:flex-end;margin:-4px 0 2px}
.link{background:none;border:0;color:var(--primary);font:inherit;font-weight:700;font-size:14px;padding:4px 2px;cursor:pointer}
.aw-sheet{display:flex;flex-direction:column;gap:10px}.aw-sheet h3{margin:0 0 4px;font-size:19px;font-weight:900}
.aw-opt{display:flex;align-items:center;gap:12px;width:100%;text-align:start;border:1px solid var(--line);border-radius:16px;padding:12px;background:var(--bg);font:inherit;color:inherit}
.aw-opt.main{border:2px solid var(--primary);background:var(--card,#fff)}
.aw-oi{width:46px;height:46px;flex:0 0 46px;border-radius:13px;display:grid;place-items:center;font-size:23px;background:var(--soft)}
.aw-opt b{display:block;font-size:16px}.aw-opt small{font-size:13px;color:var(--muted)}
.aw-read{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:10px 0 16px}
.aw-read b{font-size:19px;font-weight:900}.aw-read small{color:var(--muted);font-size:14px}
.aw-paper{width:150px;height:100px;border-radius:8px;background:var(--card,#fff);border:1px solid var(--line);padding:10px;display:flex;flex-direction:column;gap:6px;transform:rotate(-3deg)}
.aw-paper i{display:block;height:6px;border-radius:3px;background:var(--line)}
.aw-ring{--p:3;width:96px;height:96px;border-radius:50%;margin:14px 0 4px;background:conic-gradient(var(--primary) calc(var(--p)*1%),var(--line) 0);display:grid;place-items:center;transition:background .3s}
.aw-ring i{width:78px;height:78px;border-radius:50%;background:var(--card,#fff);display:grid;place-items:center;font-style:normal;font-weight:900;font-size:22px}
.modal.aw-full,.aw-full .modal{max-height:92vh;display:flex;flex-direction:column}
.aw-rev,.aw-pick{display:flex;flex-direction:column;gap:10px;min-height:0;flex:1}
.aw-rh{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.aw-rh h3{margin:0;font-size:18px;font-weight:900}.aw-rh .link{justify-self:start}
.aw-from{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;font-size:13.5px;background:var(--soft);color:var(--primary);font-weight:800;border-radius:99px;padding:3px 12px}
.aw-sum{display:flex;gap:6px;flex-wrap:wrap}.aw-sum span{font-size:12.5px;font-weight:800;border-radius:99px;padding:2px 10px}
.aw-sum .n{background:#E4F7EE;color:#1a7f37}.aw-sum .o{background:rgba(120,120,128,.14);color:var(--muted)}.aw-sum .w{background:#FFF1D6;color:#a85d00}
.aw-list{display:flex;flex-direction:column;gap:7px;overflow:auto;min-height:120px;max-height:52vh;padding:2px}
.aw-nm{display:flex;align-items:center;gap:8px;background:var(--card,#fff);border:1px solid var(--line);border-radius:12px;padding:6px 10px;font-size:15px;min-height:44px}
.aw-nm .aw-in{flex:1;min-width:0;border:0;background:transparent;font:inherit;color:inherit;outline:0;padding:4px 0}
.aw-nm em{font-style:normal;font-size:11.5px;font-weight:800;padding:1px 8px;border-radius:99px;white-space:nowrap}
.aw-nm.warn{border-color:#FF9500}.aw-nm.warn em{background:#FFF1D6;color:#a85d00}
.aw-nm.old{background:rgba(120,120,128,.09);color:var(--muted)}.aw-nm.old em{background:rgba(120,120,128,.16);color:var(--muted)}
.aw-nm.move{border-color:#FF9500}.aw-nm.move em{background:#FFF1D6;color:#a85d00}
.aw-nm.off{opacity:.45}.aw-nm.off .aw-in{text-decoration:line-through}
.aw-x,.aw-mv{border:0;background:transparent;color:var(--muted);font:inherit;font-size:15px;padding:4px 6px;cursor:pointer}
.aw-mv{color:#a85d00;font-weight:800;font-size:13px}
.aw-addline,.cl-add1{display:flex;align-items:center;gap:8px;border:1.5px dashed var(--line);border-radius:12px;padding:6px 10px;color:var(--muted)}
.aw-addline .pl,.cl-add1 .pl{color:var(--primary);font-weight:900;font-size:19px}
.aw-addline input,.cl-add1 input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:15px;color:var(--ink);outline:0;padding:6px 0}
.cl-add1{margin-top:8px}.cl-add1 .btn.sm{margin:0;min-height:36px}
.cl-add1:not(:focus-within):has(input:placeholder-shown) .btn{display:none}
.aw-go{margin-top:auto}
.aw-hint{color:#1a7f37;font-size:13.5px;font-weight:700;margin:0}
.aw-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.aw-pk{border:1.5px solid var(--line);background:var(--card,#fff);border-radius:14px;padding:16px 8px;font:inherit;font-weight:800;font-size:15.5px;color:var(--ink);cursor:pointer}
.aw-pk.on{border:2px solid var(--primary);color:var(--primary);background:var(--soft)}
.aw-pk.new{border-style:dashed;color:var(--muted);font-weight:700}
.aw-conf{background:var(--card,#fff);border:1px solid var(--line);border-radius:14px;padding:12px;text-align:center;font-size:15px;margin-top:auto}
.cl-flash .link{align-self:flex-start}
body.wide.dark .aw-opt{background:#151517}body.wide.dark .aw-opt.main,body.wide.dark .aw-nm,body.wide.dark .aw-pk,body.wide.dark .aw-conf{background:#1C1C1E}
body.wide.dark .aw-sum .n{background:rgba(48,209,88,.16);color:#30D158}body.wide.dark .aw-sum .w,body.wide.dark .aw-nm em{background:rgba(255,159,10,.16);color:#FFB340}
/* new class v3 */
.nc2{display:flex;flex-direction:column;gap:12px}.nc2 h3{margin:0;font-size:19px;font-weight:900}
.nc2-s{display:flex;flex-direction:column;gap:7px}
.nc2-l{font-size:13.5px;font-weight:700;color:var(--muted);display:flex;justify-content:space-between}.nc2-l small{color:#1a7f37;font-weight:700}
.nc2-g4{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.nc2-g3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.nc2-gr{display:grid;grid-template-columns:repeat(var(--n,5),1fr);gap:6px}
.nc2-c{border:1.5px solid var(--line);background:var(--card,#fff);color:var(--ink);border-radius:12px;padding:10px 2px;font:inherit;font-weight:800;font-size:13.5px;cursor:pointer}
.nc2-c.big{padding:13px 2px;font-size:14.5px}
.nc2-c.on{border:2px solid var(--primary);background:var(--soft);color:var(--primary)}
.nc2-name{display:flex;align-items:center;gap:8px;background:var(--card,#fff);border:1px solid var(--line);border-radius:16px;padding:10px 14px;min-height:64px}
.nc2-name small{display:block;color:var(--muted);font-size:12px}.nc2-name b{font-size:22px;font-weight:900}.nc2-name .input{flex:1}
.nc2-pen{width:36px;height:36px;border:0;border-radius:10px;background:var(--soft);color:var(--primary);display:grid;place-items:center;cursor:pointer}.nc2-pen .ico{width:17px;height:17px}
.aw-made{background:#E4F7EE;color:#1a7f37;font-weight:800;border-radius:12px;padding:8px 12px;font-size:14px}
.aw-later{align-self:center;padding:8px}
body.wide.dark .nc2-c,body.wide.dark .nc2-name{background:#1C1C1E}body.wide.dark .aw-made{background:rgba(48,209,88,.16);color:#30D158}

/* ---- questions v3: simplified screen (two tabs, one sentence, one add button, two-line cards) ---- */
.q-tabs2{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:14px;background:rgba(120,120,128,.12)}
.q-tabs2 button{border:0;background:transparent;font:800 15.5px 'Cairo',system-ui,sans-serif;color:var(--muted);padding:9px 4px;border-radius:11px}
.q-tabs2 button.on{background:var(--card,#fff);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.qok{display:flex;align-items:center;gap:10px;width:100%;text-align:start;border:0;border-radius:14px;padding:11px 13px;font:inherit;background:rgba(52,199,89,.13);color:#1a7f37}
.qok b{display:block;font-size:16px;font-weight:800}.qok small{font-size:13px;font-weight:600;opacity:.9}
.qok-d{width:12px;height:12px;border-radius:50%;background:currentColor;flex:0 0 12px}
.qok-c{font-style:normal;font-size:20px;opacity:.7}
.qok.low{background:rgba(255,149,0,.15);color:#a85d00}
body.wide.dark .qok{color:#30D158}body.wide.dark .qok.low{color:#FFB340}
.q-addbig{min-height:54px;font-size:17px;margin:0}
.q-ban{display:flex;align-items:center;gap:8px;width:100%;border:1.5px solid rgba(255,149,0,.6);background:rgba(255,149,0,.1);color:#a85d00;border-radius:12px;padding:9px 12px;font:800 14px 'Cairo',system-ui,sans-serif;text-align:start}
.q-ban u{margin-inline-start:auto}body.wide.dark .q-ban{color:#FFB340}
.q-sp{display:flex;flex-direction:column;gap:8px;background:var(--card,#fff);border:1px solid var(--line);border-radius:16px;padding:12px}
.q-sp .q-search{flex:none;height:48px;border:1.5px solid var(--primary);font-size:16px}
.q-pl{font-size:13px;color:var(--muted);font-weight:700}
.q-pills{display:flex;flex-wrap:wrap;gap:6px}
.q-pills button{border:1.5px solid var(--line);background:var(--card,#fff);color:var(--ink);border-radius:99px;padding:5px 14px;font:800 14px 'Cairo',system-ui,sans-serif}
.q-pills button.on{border:2px solid var(--primary);color:var(--primary);background:var(--soft)}
.icon-btn.on{color:var(--primary)}
.qi-list{gap:9px}
.qi2{display:flex;gap:11px;align-items:flex-start;background:var(--card,#fff);border:1px solid var(--line);border-radius:14px;padding:11px 13px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.qi2>.lvd{width:11px;height:11px;flex:0 0 11px;margin-top:8px}
.qi2>.tick.sq{flex:0 0 24px;margin-top:3px}.qi2>.tick.sq.on{background:var(--primary);border-color:var(--primary);color:#fff}
.qi2.sel{outline:2px solid var(--primary);outline-offset:-2px}
.qi2.open{border:2px solid var(--primary);padding:10px 12px;cursor:default}
.qi2-m{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.qi2-m .q-body{font-size:16px;line-height:1.55;font-weight:700}
.qi2-m .q-thumb{max-height:90px;margin-bottom:2px}
.qi2-a{display:flex;align-items:center;gap:4px;font-size:14.5px;font-weight:800;color:#1a7f37;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qi2-a .ico{width:15px;height:15px;stroke-width:3;flex:0 0 15px}
body.wide.dark .qi2-a{color:#30D158}
.qi2-img{max-width:100%;max-height:200px;object-fit:contain;border-radius:10px;align-self:flex-start}
.qi2-opts{display:flex;flex-direction:column;gap:5px;margin-top:4px}
.qi2-opts span{display:flex;align-items:center;gap:5px;padding:6px 11px;border-radius:10px;background:rgba(120,120,128,.1);font-size:14.5px;color:var(--muted)}
.qi2-opts span.c{background:rgba(52,199,89,.15);color:#1a7f37;font-weight:800}
body.wide.dark .qi2-opts span.c{color:#30D158}
.qi2-opts .ico{width:15px;height:15px;stroke-width:3}
.qi2-meta{font-size:12.5px;color:var(--muted)}
.qi2-acts{display:flex;gap:6px;margin-top:6px}
.qi2-b{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:11px;min-height:40px;font:800 14px 'Cairo',system-ui,sans-serif;background:var(--soft);color:var(--primary)}
.qi2-b .ico{width:16px;height:16px}
.qi2-b.ok{background:#1FA971;color:#fff}
.qi2-b.del{background:rgba(120,120,128,.12);color:var(--muted)}
.qgrp{display:flex;align-items:center;gap:12px;width:100%;text-align:start;background:var(--card,#fff);border:1px solid var(--line);border-radius:16px;padding:12px 13px;font:inherit;color:inherit}
.qgrp-e{width:46px;height:46px;flex:0 0 46px;border-radius:13px;background:var(--soft);display:grid;place-items:center;font-size:24px}
.qgrp b{display:block;font-size:16.5px}.qgrp small{color:var(--muted);font-size:13px}.qgrp i{font-style:normal;color:var(--muted);font-size:20px}
.q-start{margin:4px 0}
.q-more-l{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;padding-top:6px;border-top:1px solid var(--line)}
.q-more-l .link{font-size:13.5px}

/* ready questions by subject/grade/lesson + lesson picking (المناهج) */
.qr-h{font-size:13px;font-weight:800;color:var(--muted);margin:14px 4px 8px}
.qs-g.soon{background:transparent;border:1px dashed rgba(120,120,128,.3);color:var(--muted);opacity:.6;cursor:default;flex-direction:column;align-items:flex-start;gap:0;line-height:1.2}
.qs-g.soon small{font-size:10.5px}
.qr-n{font-size:15px;font-weight:800;color:var(--primary);background:color-mix(in srgb,var(--primary) 10%,transparent)}
.q-lsl{margin-top:10px}
.cf-les{padding:0 14px}
.cf-les:empty{display:none}
.cf-les-h{display:flex;align-items:baseline;justify-content:space-between;padding:10px 0 6px;font-size:15px}
.cf-les-h small{color:var(--muted);font-size:12.5px}
.cf-les-l{display:flex;flex-wrap:wrap;gap:6px;padding-bottom:12px}
.cf-chip.sm{padding:7px 10px;font-size:13.5px;gap:6px;border-color:var(--line)}
.cf-chip.sm .ico{width:14px;height:14px;opacity:0}
.cf-chip.sm.on .ico{opacity:1}
.cf-chip.sm em{font-style:normal;font-size:11.5px;font-weight:800;color:var(--muted)}

/* ---- question form: suggested wrong answers ---- */
.qf .qo input.sug{background:rgba(255,204,0,.12);border-style:dashed}
.qf-sug{align-self:flex-start;border:0;background:var(--soft);color:var(--primary);font:800 14px 'Cairo',system-ui,sans-serif;border-radius:99px;padding:7px 14px;margin-top:2px}
.qf-sugn{font-size:12.5px;color:var(--muted)}

/* ---- my questions: simple subject list + empty state ---- */
.qsubs{display:flex;flex-direction:column;background:var(--card,#fff);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.qsub{display:flex;align-items:center;gap:12px;width:100%;text-align:start;border:0;border-bottom:1px solid var(--line);background:transparent;padding:12px 14px;font:inherit;color:inherit}
.qsub:last-child{border-bottom:0}
.qsub-ic{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:var(--c);color:#fff;display:grid;place-items:center;font-weight:900;font-size:17px}
.qsub-ic .ico{width:20px;height:20px}
.qsub b{display:block;font-size:16.5px}.qsub small{display:block;font-size:12.5px;color:var(--muted)}
.qsub em{font-style:normal;font-weight:800;font-size:15px;color:var(--muted)}.qsub i{font-style:normal;color:var(--muted);font-size:20px}
.qsubs:empty{display:none}
.qsub-l{display:flex;justify-content:space-between;gap:10px}.qsub-l .link{display:flex;align-items:center;gap:4px;font-size:14px;font-weight:800;text-decoration:none}.qsub-l .ico{width:16px;height:16px}
.q-empty2{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:26px 18px;background:var(--card,#fff);border:1px solid var(--line);border-radius:18px}
.q-empty2-ic{font-size:40px}.q-empty2 b{font-size:18px}.q-empty2 p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.7;max-width:30ch}
.q-empty2 .btn{margin-top:6px;width:auto;padding:0 22px}
.qsub-n{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:var(--soft);color:var(--primary);display:grid;place-items:center;font-weight:900;font-size:17px}
.qsub.soon{opacity:.5}.qsub.soon .qsub-n{background:rgba(120,120,128,.12);color:var(--muted)}
.qs-stages .qr-h{margin:6px 4px 0}.qs-stages .qr-h:first-child{margin-top:0}
/* ---- settings v2: push pages, switches, number wheel ---- */
.pg-layer{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:1;--dim:.12}
.pg-layer.over{z-index:19}
.pg-in{position:absolute;top:0;bottom:0;background:var(--bg);overflow:hidden;will-change:transform}
.pg-in .pg-tt{position:absolute!important;top:0;left:0;right:0;z-index:3;background:var(--bg)}
.pg-sc{will-change:transform}
.pg-layer.under::after{content:"";position:absolute;inset:0;background:#000;opacity:var(--dim);transition:opacity .34s}
.pg-layer.under.dim::after{opacity:var(--dim)}
#app.pg-anim>.t-top,#app.pg-anim>.t-body{position:relative;z-index:2;background:var(--bg);will-change:transform}
#app.pg-anim>.t-top{position:sticky}
#app.pg-anim>.t-body{min-height:100vh;box-shadow:0 0 24px rgba(0,0,0,.12)}
html.pg-lock,html.pg-lock body{overflow:hidden;overscroll-behavior:none}
.ios-sw{position:relative;flex:none;width:51px;height:31px;border-radius:31px;background:#E3DEDA;transition:background .2s}
.ios-sw i{position:absolute;top:2px;right:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2),0 0 1px rgba(0,0,0,.2);transition:transform .22s cubic-bezier(.3,.7,.4,1.2)}
.ios-sw.on{background:#34C759}
.ios-sw.on i{transform:translateX(-20px)}
body.wide.dark .ios-sw{background:#39393D}body.wide.dark .ios-sw.on{background:#30D158}
.set-row.dim{opacity:.45}
.set-row .rl-txt{display:flex;flex-direction:column;min-width:0}
.set-row .rl-txt small{font-size:13px;color:var(--muted);line-height:1.35}
.set-row.danger-row{color:#D70015;font-weight:600}
.np-back .modal{padding:0 0 18px}
.np-top{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:.5px solid var(--line)}
.np-top b{font-size:16px}.np-top .link{font-size:16px}.np-ok{font-weight:800}
.np-wheel{position:relative;height:220px;overflow:hidden;margin:8px 0}
.np-band{position:absolute;left:16px;right:16px;top:88px;height:44px;border-radius:10px;background:rgba(120,110,105,.12);pointer-events:none}
.np-list{height:220px;overflow-y:auto;scroll-snap-type:y mandatory;padding:88px 0;box-sizing:border-box;scrollbar-width:none;-webkit-mask-image:linear-gradient(transparent,#000 35%,#000 65%,transparent);mask-image:linear-gradient(transparent,#000 35%,#000 65%,transparent)}
.np-list::-webkit-scrollbar{display:none}
.np-i{height:44px;line-height:44px;text-align:center;font-size:21px;color:var(--muted);scroll-snap-align:start;font-variant-numeric:tabular-nums;transition:color .15s,font-weight .15s}
.np-i.on{color:var(--ink);font-weight:700}
.tb-row{touch-action:pan-y;transition:transform .18s;background:#fff}
.tb-row.drag{transition:none;z-index:3;box-shadow:0 8px 24px rgba(0,0,0,.18);border-radius:12px}
body.wide.dark .tb-row{background:#1C1C1E}
.tb-n{width:26px;height:26px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;flex:none}
.drag-h{display:flex;color:#B8AEA9;padding:10px 4px;touch-action:none;cursor:grab}
.drag-h .ico{width:22px;height:22px}
.tb-list{overflow:visible}
.acc-head{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 0 4px;text-align:center}
.acc-head>b{font-size:22px}
.fs-seg{width:100%}.ac-row{gap:14px;justify-content:center;flex-wrap:wrap;padding:14px}
.ac-dot{width:34px;height:34px;border-radius:50%;border:0;background:var(--c);box-shadow:0 0 0 3px transparent;transition:box-shadow .15s}
.ac-dot.on{box-shadow:0 0 0 3px var(--bg),0 0 0 5px var(--c)}
.entry-c{align-items:center;gap:12px}.entry-qr{width:200px;height:200px;display:flex;align-items:center;justify-content:center}.entry-qr svg{width:100%;height:100%}
.entry-u{font-size:15px;word-break:break-all}
.ex-sel{border:0;background:transparent;font:inherit;color:var(--primary);max-width:60%;text-align:left}
.mt-txt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:1.5}
.msg-s{display:flex;flex-direction:column;gap:12px}.msg-s h3{display:flex;gap:8px;align-items:center;margin:0}
.ms-tpls{display:flex;flex-direction:column;gap:8px;max-height:34vh;overflow:auto}
.ms-tpl{border:1.5px solid var(--line);background:var(--card,#fff);border-radius:12px;padding:10px 12px;text-align:right;font:inherit;font-size:15px;color:var(--ink)}
.ms-tpl.on{border-color:var(--primary);background:rgba(200,16,46,.06)}
.pt-doc{font-family:'Cairo',sans-serif;direction:rtl}.pt{width:100%;border-collapse:collapse;margin-bottom:18px}.pt th,.pt td{border:1px solid #ccc;padding:5px 8px;font-size:12px;text-align:right}.pt th{background:#f3f3f3}
/* student: bell + messages */
.s-bell{position:relative}.s-bell .bdg{position:absolute;top:-4px;left:-4px;min-width:18px;height:18px;border-radius:9px;background:#FF3B30;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 4px}
.s-msgs{display:flex;flex-direction:column;gap:10px}
.s-msg{border-radius:14px;padding:12px 14px;background:var(--soft,#FFF3D6);display:flex;gap:10px;align-items:flex-start}
.s-msg .em{font-size:22px;line-height:1}.s-msg small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.s-msg.new{box-shadow:0 0 0 2px var(--primary)}
.s-hacts{display:flex;gap:8px;align-items:center}.s-bell .ico{width:22px;height:22px}

/* ---- competition setup v2: three questions, the rest folded ---- */
.cf2{gap:14px}
.cf2-head{display:flex;align-items:center;gap:8px;border-bottom:1.5px dashed var(--line);padding-bottom:4px}
.cf2-title{flex:1;min-width:0;border:0;background:transparent;font:900 22px 'Cairo',system-ui,sans-serif;color:var(--ink);outline:0;padding:4px 0}
.cf2-pen{color:var(--muted)}.cf2-pen .ico{width:18px;height:18px}
.cf2-sum{font-size:14px;color:var(--muted);margin-top:-8px}
.cf2-sec{display:flex;flex-direction:column;gap:10px;background:var(--card,#fff);border:1px solid var(--line);border-radius:18px;padding:14px}
.cf2-q{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:900}
.cf2-q span{width:26px;height:26px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:14px}
.cf2-q em{font-style:normal;font-size:13px;font-weight:600;color:var(--muted)}.cf2-q .link{margin-inline-start:auto;font-size:14px}
.cf2-cls{display:flex;flex-wrap:wrap;gap:8px}
.cf2-c{display:flex;align-items:center;gap:6px;border:1.5px solid var(--line);background:var(--bg);color:var(--ink);border-radius:99px;padding:8px 14px;font:800 15px 'Cairo',system-ui,sans-serif}
.cf2-c .ico{width:16px;height:16px;display:none}
.cf2-c small{font-size:11px;color:#a85d00;font-weight:700}
.cf2-c.on{border:2px solid var(--primary);background:var(--soft);color:var(--primary)}.cf2-c.on .ico{display:block}
.cf2-dur{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.cf2-dur button{border:1.5px solid var(--line);background:var(--bg);color:var(--ink);border-radius:14px;padding:13px 4px;font:800 16px 'Cairo',system-ui,sans-serif}
.cf2-dur button.on{border:2px solid var(--primary);background:var(--soft);color:var(--primary)}
.cf2-end{font-size:14px;color:var(--muted)}
.cf2-sec .cf-tl{padding:0}
.cf2-sel{height:48px;font-size:15.5px}
.cf2-sec .cf-pool{margin-top:0}
.cf2-go{min-height:56px;font-size:18px}
.cf2-more{background:var(--card,#fff);border:1px solid var(--line);border-radius:18px;padding:4px 14px}
.cf2-more>summary{list-style:none;cursor:pointer;padding:12px 0;font-weight:800;font-size:15.5px;display:flex;flex-direction:column}
.cf2-more>summary::-webkit-details-marker{display:none}
.cf2-more>summary small{font-weight:600;font-size:12.5px;color:var(--muted)}
.cf2-more[open]>summary{border-bottom:1px solid var(--line);margin-bottom:8px}
.cf2-more .set-h:first-of-type{margin-top:4px}
.cf2-more{padding-bottom:12px}.cf2-more:not([open]){padding-bottom:0}
.cf2-cancel{align-self:center}
body.wide.dark .cf2-c,body.wide.dark .cf2-dur button{background:#000}
.cp-paused{font-size:13px;color:#a85d00;background:rgba(255,149,0,.12);border-radius:10px;padding:8px 10px;line-height:1.6}
body.wide.dark .cp-paused{color:#FFB340}
.cp-past{margin-top:6px}
.cp-past>summary{list-style:none;cursor:pointer;font-weight:800;font-size:15px;color:var(--muted);padding:8px 4px;display:flex;align-items:center;gap:6px}
.cp-past>summary::-webkit-details-marker{display:none}
.cp-past>summary::after{content:"‹";margin-inline-start:auto;transform:rotate(-90deg);transition:transform .2s}
.cp-past[open]>summary::after{transform:rotate(90deg)}
.cp-past>summary em{font-style:normal;font-size:12px;background:rgba(120,120,128,.14);border-radius:99px;padding:0 8px}
a.qsub{text-decoration:none}
/* competition setup: lessons as a tidy list, extra settings in labelled boxes */
.cf2-les{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--bg)}
.cf2-l{display:flex;align-items:center;gap:10px;width:100%;text-align:start;border:0;border-bottom:1px solid var(--line);background:transparent;padding:11px 12px;font:700 15px 'Cairo',system-ui,sans-serif;color:var(--ink)}
.cf2-l:last-child{border-bottom:0}
.cf2-l i{width:22px;height:22px;flex:0 0 22px;border-radius:7px;border:2px solid var(--line);display:grid;place-items:center;color:transparent}
.cf2-l i .ico{width:14px;height:14px;stroke-width:3}
.cf2-l.on i{background:var(--primary);border-color:var(--primary);color:#fff}
.cf2-l em{font-style:normal;font-size:12.5px;font-weight:800;color:var(--muted);background:rgba(120,120,128,.12);border-radius:99px;padding:1px 9px}
.cf2-l.all{font-weight:900}
.cf2-more{order:0}
.cf2-box{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}
.cf2-box:last-of-type{border-bottom:0}
.cf2-bh{font-size:15px;font-weight:900;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.cf2-bh small{font-size:12px;font-weight:600;color:var(--muted)}
.cf2-box .set-grp{box-shadow:none;border:1px solid var(--line)}
.cf2-box .cf-qt{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cf2-box .cf-themes{margin:0}
.cf2-box .cf-prev{align-self:center}
.cf2-more .set-f{margin-top:8px}
body.wide.dark .cf2-les{background:#000}
.cf2-box .tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px}.cf2-box .tabs button{white-space:nowrap}
.cpp-row{display:flex;align-items:center;border-bottom:1px solid var(--line)}.cpp-row:last-child{border-bottom:0}
.cpp-row .qsub{flex:1;min-width:0;border-bottom:0}
.cpp-del{flex:0 0 44px;height:44px;margin-inline-end:6px;border:0;border-radius:12px;background:transparent;color:#FF3B30;display:grid;place-items:center}
.cpp-del:active{background:rgba(255,59,48,.12)}.cpp-del .ico{width:20px;height:20px}
/* ready questions: lesson page */
.les-h{background:var(--card);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:10px;margin-bottom:6px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.les-h h3{margin:0;font-size:20px;font-weight:900}
.les-sum{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:13.5px;color:var(--muted)}
.les-sum b{color:var(--ink,inherit);font-size:15px}.les-sum span{display:flex;align-items:center;gap:5px}
.les-sum .lvd{position:static;width:9px;height:9px;margin:0}
.les-h .btn{width:100%;justify-content:center}
.les-tip{font-size:12.5px;color:var(--muted);text-align:center;margin:4px 0 2px}
.qi2.hid{opacity:.55}.qi2-hid{display:block;font-size:11.5px;font-weight:800;color:#FF3B30;margin-bottom:2px}
/* show in class */
.qsh{position:fixed;inset:0;z-index:300;background:var(--bg);display:flex;flex-direction:column;padding:max(14px,env(safe-area-inset-top)) 18px max(18px,env(safe-area-inset-bottom))}
body.qsh-on{overflow:hidden}
.qsh-top{display:flex;align-items:center;justify-content:space-between;font-size:16px;color:var(--muted)}
.qsh-q{flex:1;display:flex;flex-direction:column;justify-content:center;gap:22px;max-width:900px;width:100%;margin:0 auto;overflow:auto}
.qsh-q h2{font-size:clamp(24px,4.6vw,46px);line-height:1.45;margin:0;text-align:center;font-weight:900}
.qsh-q img{max-height:32vh;max-width:100%;object-fit:contain;border-radius:14px;align-self:center}
.qsh-o{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:600px){.qsh-o{grid-template-columns:1fr}}
.qsh-o div{background:var(--card);border:2px solid var(--line);border-radius:16px;padding:16px;font-size:clamp(17px,2.6vw,28px);font-weight:800;display:flex;align-items:center;gap:12px;transition:all .25s}
.qsh-o em{font-style:normal;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:var(--soft);display:grid;place-items:center;font-size:17px}
.qsh-o .c{background:#E8F7EC;border-color:#34C759;color:#1E7B36}.qsh-o .c em{background:#34C759;color:#fff}
.qsh-o .w{opacity:.45}
body.dark .qsh-o .c{background:rgba(52,199,89,.18);color:#7BE29A}
.qsh-nav{display:flex;gap:10px;max-width:600px;width:100%;margin:0 auto}.qsh-nav .btn{flex:1;justify-content:center}
/* ---- chatgpt-ux: undo countdown bar, busy states ---- */
.snack{overflow:hidden}
.snack button{min-height:44px;min-width:44px}
.snack-bar{position:absolute;left:0;bottom:0;height:3px;width:100%;background:#FFD60A;transform-origin:left;animation:snackBar 5s linear forwards}
@keyframes snackBar{to{transform:scaleX(0)}}
.btn[aria-busy="true"]{opacity:.75;pointer-events:none}
.pts-pop.wait{color:var(--muted,#666)}
.ko-load{display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px;text-align:center}
.spin.sm{width:24px;height:24px;margin:0}
.rs-fail b{color:#B3122A}
/* ---- chatgpt-ux phase 2: accessibility ---- */
:focus-visible{outline:3px solid #1F6FEB!important;outline-offset:2px}
body.dark :focus-visible{outline-color:#6CB6FF!important}
[role="button"][data-act]{cursor:pointer}
.code-input,.code-boxes{direction:ltr}
.icon-btn,.t-av,.cl-wa,.cl-flash-x,.joinshow-x,.qi2-b,.tb-b,.sheet-i,.paste-btn,.sl-t .link{min-height:44px}
.icon-btn,.t-av,.cl-wa,.cl-flash-x,.joinshow-x,.tb-b{min-width:44px}
.btn.sm{min-height:44px}
.tb-mv{display:flex;gap:4px}
.tb-b{border:0;border-radius:10px;background:var(--soft,#eee);color:var(--ink);font-size:14px}
.opt{position:relative}
.opt-mk{margin-inline-start:auto;font-size:22px;font-weight:900;line-height:1;padding-inline-start:8px}
.opt .txt{overflow-wrap:anywhere}
@media (prefers-reduced-motion: reduce){
  *:not(.spin),*:not(.spin)::before,*:not(.spin)::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  body.quake,.qbox.shake,.opt.bad,.opt.good{animation:none!important}
}
.rv>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:800}
.rs-today{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 4px 0}.rs-today .link{min-height:44px}
.nc2-det>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-weight:700}.nc2-det>summary small{font-weight:400}
.aw-to{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 2px;font-size:15px}.aw-to .link{min-height:44px}
.q-addrow{display:flex;gap:8px;align-items:stretch}.q-addrow .q-addbig{flex:1}.q-addrow .btn.soft{flex:none;width:auto;padding-inline:14px}
.qf-det{border-top:1px solid var(--line);padding-top:6px}.qf-det>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-weight:700}.qf-det>summary small{font-weight:400}
.modal{position:relative}.modal-x{position:absolute;top:10px;left:10px;width:44px;height:44px;border:0;border-radius:50%;background:var(--soft,#eee);color:var(--ink);display:flex;align-items:center;justify-content:center;z-index:2}.modal-x svg{width:18px;height:18px}.set-row[disabled]{opacity:.5}
.cl-arch-l{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--muted);text-decoration:none;padding:8px 4px}.cl-arch-l svg:last-child{width:16px;height:16px}
.ms-to{padding:4px 2px 8px;font-size:15px}
.ms-ready>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700;color:var(--primary)}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.w-chips{flex-wrap:wrap;overflow:visible}
.qi2-pk{display:block;color:#168A5B;font-weight:700;font-size:12.5px}
.les-pk{font-size:14px;color:var(--muted);padding:2px 0 6px}.les-pk.some{color:#168A5B;font-weight:700}
.cf-pool .btn.sm{margin-top:8px;width:100%}
/* competition extra settings: iOS rows */
.cf3{padding:0;overflow:hidden;margin-bottom:12px}
.cf3-r{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:10px 16px;border:0;border-bottom:1px solid var(--line);background:transparent;font:inherit;font-size:16px;color:inherit;text-align:start;cursor:pointer}
.cf3-r:last-child{border-bottom:0}.cf3-r.hide{display:none}
.cf3-r small{display:block;font-size:12.5px;color:var(--muted);font-weight:400}
.cf3-r b{font-weight:600;color:var(--muted);font-size:15px;max-width:55%;text-align:end;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cf3-r>i{font-style:normal;color:var(--muted);opacity:.6;font-size:20px}
.cf3-date{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;-webkit-appearance:none;appearance:none}
.cf3-note{padding:0 16px 12px;font-size:13px;color:var(--muted);border-bottom:1px solid var(--line)}
.cf3-note:empty{display:none}
.cf3-o .cf3-ck{width:24px;height:24px;color:var(--primary);visibility:hidden}.cf3-o.on .cf3-ck{visibility:visible}
.cf3-o.on{border-color:var(--primary)}.cf3-o .cf3-ck .ico{width:22px;height:22px}
.qi2{position:relative}
.qi2-x{position:absolute;top:8px;left:8px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center}
.qi2-x svg{width:18px;height:18px}.qi2-x:active{background:var(--soft,#eee)}
.qi2-x.add{color:#168A5B}
.qi2.open .qi2-x{display:none}
/* ready questions: not added = dimmed, below */
.qi2.out{background:transparent;border-style:dashed}
.qi2.out .q-body,.qi2.out .qi2-a,.qi2.out .lvd{opacity:.5}
.qi2-out{display:block;color:var(--muted);font-weight:700;font-size:12.5px}
.qs-lh.in{color:#168A5B;display:flex;align-items:center;gap:6px}.qs-lh.in svg{width:15px;height:15px}
.qs-lh.out{margin-top:18px}
/* ready questions: other subjects collapsed */
.q-other{margin-top:14px}
.q-other>summary{list-style:none;cursor:pointer;padding:12px 4px;font-weight:700;color:var(--muted);display:flex;align-items:center;gap:6px}
.q-other>summary::-webkit-details-marker{display:none}
.q-other>summary::after{content:'‹';margin-inline-start:auto;transform:rotate(-90deg);transition:transform .2s}
.q-other[open]>summary::after{transform:rotate(90deg)}
.q-mysub{display:flex;align-items:center;gap:6px;margin:10px auto 0;background:none;border:0;color:var(--accent,#C8102E);font-weight:700;font-size:14px;min-height:44px}
.q-mysub svg{width:16px;height:16px}
/* avatar gradient follows the chosen app colour (no fixed pink highlight) */
.avatar{background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--primary) 70%,#fff),var(--primary) 60%,var(--primary-dark,var(--primary)))}
/* questions: clear back button instead of breadcrumb */
.q-back{display:flex;margin:2px 0 4px}
.q-back-b{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 16px 0 12px;border:0;border-radius:999px;background:color-mix(in srgb,var(--primary) 10%,transparent);color:var(--primary);font-weight:700;font-size:15px;max-width:100%}
.q-back-b span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.q-back-b svg{width:18px;height:18px;flex:none}
.q-back-b:active{opacity:.6}
.q-here{margin:8px 2px 4px;font-size:22px;font-weight:800}
.q-clear{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:48px;margin-top:22px;border:0;border-radius:14px;background:rgba(255,59,48,.1);color:#FF3B30;font-weight:700;font-size:15px}
.q-clear svg{width:17px;height:17px}
/* lesson rows: add/remove toggle */
.qgrp-w{position:relative}
.qgrp-w .qgrp{padding-left:64px}
.qgrp-tg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:2px solid var(--line);background:transparent;color:var(--primary);display:flex;align-items:center;justify-content:center}
.qgrp-tg svg{width:20px;height:20px}
.qgrp-tg.on{background:#34C759;border-color:#34C759;color:#fff}
.qgrp-w .qgrp>i{display:none}
/* questions folders: swipe left to delete */
.q-swr{margin-bottom:0}
.q-swr .sw-main.qsub{width:100%}
.q-swhint{text-align:center;color:var(--muted);font-size:12.5px;margin:8px 0 0}
.q-swr .sw-main.qsub{background:var(--card,#fff);border-radius:0}
.qs-gr-flat{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:6px}
.q-addrow .btn{white-space:nowrap}
/* ===== redesign phase 1: tab bar with centre ＋ and «انضم», one-card home ===== */
.t-nav a.t-plus{color:var(--primary)!important}
.t-nav a.t-plus .plus-ic{width:54px;height:54px;margin-top:-30px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;box-shadow:0 6px 14px color-mix(in srgb,var(--primary) 40%,transparent),0 0 0 4px var(--bg)}
.t-nav a.t-plus .plus-ic .ico{width:28px;height:28px;stroke-width:2.8}
.t-nav a.t-plus.on .ico,.t-nav a.t-plus.hover .ico{transform:none}
.join-ic{display:grid;grid-template-columns:1fr 1fr;gap:2px;width:22px;height:22px;padding:1px}
.join-ic i{border-radius:3px}.join-ic i:nth-child(1){background:#12A39A}.join-ic i:nth-child(2){background:#E8573F}.join-ic i:nth-child(3){background:#E9A20F}.join-ic i:nth-child(4){background:#7B4FD6}
.hcs{display:flex;flex-direction:column;gap:14px}
.hc{background:var(--card);border-radius:24px;padding:20px 16px 22px;display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:inherit;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.hc:active{transform:scale(.98)}
.hc-t{font-size:20px;font-weight:900;text-align:center}
.hc-c{color:var(--muted);font-size:14px;text-align:center}
.hc-ring{--p:0;width:160px;height:160px;margin-top:8px;border-radius:50%;background:conic-gradient(#1F9D55 calc(var(--p)*1%),var(--line) 0);display:grid;place-items:center}
.hc-ring>div{width:126px;height:126px;border-radius:50%;background:var(--card);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15}
.hc-ring b{font-size:44px;font-weight:900;font-variant-numeric:tabular-nums}.hc-ring small{color:var(--muted);font-size:15px}
.hc-sub{font-size:16px;font-weight:700;color:var(--muted)}
.hc-big{font-size:56px;margin-top:8px}.hc-day{font-size:30px;font-weight:900}
.h-empty{background:var(--card);border-radius:24px;padding:34px 16px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;margin-top:24px}
.h-em{font-size:60px}.h-empty b{font-size:21px;font-weight:900}.h-empty small{color:var(--muted);font-size:15px}
.btn.h-go{min-height:62px;font-size:20px;font-weight:900;border-radius:20px;margin-top:14px;justify-content:center}
.h-more{display:block;text-align:center;margin-top:18px;color:var(--muted);font-size:14px;font-weight:700;text-decoration:none}
.tj{display:flex;flex-direction:column;align-items:center;gap:14px;padding-top:40px;text-align:center}
.tj-em{font-size:60px}.tj h2{margin:0;font-size:28px;font-weight:900}
.tj-in{width:100%;max-width:340px;min-height:64px;border:2px solid var(--line);background:var(--card);border-radius:18px;text-align:center;font:inherit;font-size:30px;font-weight:900;letter-spacing:6px;color:var(--ink)}
.tj-in:focus{outline:none;border-color:var(--primary)}
.btn.tj-go{width:100%;max-width:340px;min-height:60px;font-size:20px;font-weight:900;border-radius:18px;justify-content:center}
/* ===== redesign phase 2: «تحدي جديد» ===== */
.nw{display:flex;flex-direction:column;gap:14px;min-height:calc(100vh - 230px)}
.nw-dots{display:flex;gap:6px;justify-content:center}.nw-dots i{width:9px;height:9px;border-radius:9px;background:var(--line);transition:width .2s}.nw-dots i.on{background:var(--primary);width:24px}
.nw-q{margin:4px 0 2px;text-align:center;font-size:27px;font-weight:900}
.nw-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.nw-tile{border:2px solid transparent;background:var(--card);border-radius:22px;min-height:124px;padding:16px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font:inherit;color:inherit;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.nw-tile b{font-size:18px;font-weight:900}.nw-tile small{color:var(--muted);font-size:13px}
.nw-tile .nw-e{font-size:38px;line-height:1.1}
.nw-tile.on{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--card))}
.nw-tile.busy small{color:#B26A00;font-weight:700}
.nw-tile:active{transform:scale(.97)}
.btn.nw-go{min-height:62px;font-size:20px;font-weight:900;border-radius:20px;justify-content:center;width:100%}
.nw-wa{background:#1FA971!important;box-shadow:0 5px 0 #127245!important}
.link.nw-link{align-self:center;font-weight:800;font-size:15px;color:var(--primary);text-decoration:none;padding:6px}
.nw-col{display:flex;flex-direction:column;gap:14px}
.nw-in{min-height:62px;border:2px solid var(--line);background:var(--card);border-radius:18px;padding:0 16px;font:inherit;font-size:20px;font-weight:800;color:var(--ink);text-align:center}
.nw-in:focus{outline:none;border-color:var(--primary)}
.nw-stg{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.nw-stg label{position:relative}.nw-stg input{position:absolute;opacity:0}
.nw-stg span{display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:16px;background:var(--card);border:2px solid var(--line);font-weight:800}
.nw-stg input:checked+span{border-color:var(--primary);color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--card))}
.nw-days{display:flex;gap:10px}
.nw-days button{flex:1;min-height:76px;border-radius:18px;border:2px solid var(--line);background:var(--card);font:inherit;font-size:20px;font-weight:900;color:inherit}
.nw-days button.on{border-color:var(--primary);color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--card))}
.nw-note{text-align:center;color:var(--muted);margin:0;font-size:15px}
.nw-sp{flex:1}
.nw-ready{background:var(--card);border-radius:24px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:8px}
.nw-ready small{color:var(--muted);font-size:14px}
.nw-code{font-size:50px;font-weight:900;letter-spacing:5px;font-variant-numeric:tabular-nums;line-height:1.1}
.nw-code-xl{font-size:min(16vw,110px);color:#111}
.nw-qr{width:150px;max-width:100%}.nw-qr svg{width:100%;height:auto;display:block;background:#fff;padding:8px;border-radius:12px}
.nw-live{background:var(--card);border-radius:20px;overflow:hidden}
.nw-lh{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line)}
.nw-lh em{font-style:normal;font-weight:900;background:color-mix(in srgb,var(--primary) 12%,transparent);color:var(--primary);border-radius:99px;padding:0 10px}
.nw-lr{display:flex;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--line);font-weight:700}.nw-lr:last-child{border-bottom:0}
.nw-lr span{font-size:12px;font-weight:800;background:#F5A524;color:#3A2600;border-radius:99px;padding:1px 8px}
.nw-wait{color:var(--muted);font-weight:600;justify-content:center}
/* tab bar v88: like the redesign preview (solid card, colour emoji, no lens) */
.t-nav{background:var(--card,#fff)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:0!important;border-radius:26px!important;padding:8px 6px!important;box-shadow:0 6px 24px rgba(0,0,0,.12)!important;align-items:end}
.t-nav .lens{display:none!important}
.t-nav a{font-size:12px!important;font-weight:700!important;color:var(--muted)!important;gap:2px!important;padding:4px 0!important}
.t-nav a.on{color:var(--primary)!important}
.t-nav a.on .ico,.t-nav a.hover .ico{transform:none}
.nav-emo{font-size:22px;line-height:24px;height:24px;display:block}
.t-nav a.on .nav-emo{transform:scale(1.12)}
.t-nav a.t-plus .plus-ic{width:56px;height:56px;margin-top:-28px;box-shadow:0 6px 14px color-mix(in srgb,var(--primary) 35%,transparent)!important}
.t-nav a.t-plus .plus-ic .ico{width:30px;height:30px}
/* phase 3: student join + «مين يلعب؟» */
.who-pick{gap:10px}
.who-b{display:flex;align-items:center;gap:12px;width:100%;border:1px solid var(--line);background:var(--card);border-radius:16px;padding:12px 14px;font:inherit;color:var(--ink);text-align:start;cursor:pointer}
.who-b .av{width:44px;height:44px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:900;font-size:20px;flex:none}
.who-b .grow{flex:1;display:flex;flex-direction:column}.who-b b{font-size:18px}.who-b small{color:var(--muted)}
.who-b:active{transform:scale(.98)}
.jn-h{padding-bottom:6px}.jn-h p{font-size:18px}
.jn-q{font-size:22px;text-align:center}
.jn-names{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:52vh;overflow:auto}
.jn-n{border:1px solid var(--line);background:var(--card);border-radius:14px;padding:14px 8px;font:inherit;font-weight:700;font-size:16px;color:var(--ink);cursor:pointer}
.jn-n.off{opacity:.45;cursor:default}
.jn-name{font-size:30px;font-weight:900;color:var(--primary);margin:4px 0 8px}
.jn-in{font-size:20px!important;text-align:center}
.cl-new{background:color-mix(in srgb,var(--primary) 7%,var(--card));border:1px solid color-mix(in srgb,var(--primary) 25%,transparent);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.cl-new>b small{display:block;font-weight:500;color:var(--muted);font-size:12.5px}
.cl-new-r{display:flex;align-items:center;gap:8px;background:var(--card);border-radius:12px;padding:8px 10px}
.cl-new-r .grow{flex:1;display:flex;flex-direction:column}.cl-new-r small{color:#B25E00;font-size:12px}
.cn-ok,.cn-no{width:40px;height:40px;border-radius:50%;border:0;font-size:20px;font-weight:900;color:#fff;cursor:pointer}
.cn-ok{background:#1FA971}.cn-no{background:#E5484D}
.cn-tag{font-size:11px;font-weight:700;background:var(--primary);color:#fff;border-radius:8px;padding:1px 6px;vertical-align:middle}
.jr-code{font-size:20px;letter-spacing:2px;color:var(--ink);margin-inline-start:4px}
/* phase 4: student home (points) + round */
.sp{display:flex;flex-direction:column;min-height:100dvh}
.sp-pills{display:flex;justify-content:space-between;gap:8px;padding:0 20px;position:relative;z-index:1}
.sp-pill{background:var(--card);color:var(--ink);border-radius:99px;padding:8px 14px;font-weight:800;font-size:15px;display:inline-flex;gap:6px;align-items:center;box-shadow:0 3px 10px rgba(0,0,0,.08)}
.flame{display:inline-block;animation:spfl 1.2s ease-in-out infinite alternate;transform-origin:50% 90%}
@keyframes spfl{to{transform:scale(1.2) rotate(-5deg)}}
.sp-mid{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:16px 20px;position:relative;z-index:1}
.sp-rival{background:var(--card);color:var(--ink);border-radius:18px;padding:12px 16px;text-align:center;font-weight:800;font-size:17px;box-shadow:0 3px 10px rgba(0,0,0,.08)}
.sp-rival b{color:var(--primary)}
.sp-play{width:min(62vw,240px);height:min(62vw,240px);border-radius:50%;border:0;cursor:pointer;background:radial-gradient(circle at 35% 30%,#FFD15C,#F5A524 60%,#D9840B);color:#3A2200;font:inherit;font-size:30px;font-weight:900;display:grid;place-items:center;box-shadow:0 10px 0 #9A5B05,0 0 0 10px rgba(255,255,255,.25);animation:sppulse 1.8s ease-in-out infinite}
.sp-play small{display:block;font-size:14px;font-weight:700}
.sp-play:active{transform:translateY(6px);box-shadow:0 4px 0 #9A5B05}
@keyframes sppulse{50%{box-shadow:0 10px 0 #9A5B05,0 0 0 24px rgba(255,255,255,.08)}}
.sp-sub{font-weight:700;text-align:center;margin:0;background:var(--card);color:var(--ink);border-radius:99px;padding:6px 14px}
.sp-done{display:flex;flex-direction:column;align-items:center;gap:10px;background:var(--card);color:var(--ink);border-radius:24px;padding:24px 20px;width:100%;max-width:360px;text-align:center}
.sp-done>b{font-size:26px}.sp-done .sp-sub{background:var(--soft)}
.sp-emo{font-size:64px;line-height:1}
.s-up{background:#1FA971;color:#fff;border-radius:99px;padding:6px 16px;font-weight:900;font-size:17px;animation:pop3d .5s ease-out;align-self:center}
.sp-low{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;padding:10px 20px calc(24px + env(safe-area-inset-bottom));position:relative;z-index:1}
.sp-low .link{background:var(--card);color:var(--ink);border:0;border-radius:99px;padding:8px 14px;font:inherit;font-weight:700;text-decoration:none;font-size:15px}
.cin{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100dvh}
.cin-n{font-size:140px;font-weight:900;line-height:1;color:var(--primary);position:relative;z-index:1;animation:cinpop .8s ease-out;text-shadow:0 6px 0 rgba(0,0,0,.12)}
.cin-t{font-size:24px;font-weight:900;position:relative;z-index:1;background:var(--card);color:var(--ink);border-radius:99px;padding:6px 18px}
@keyframes cinpop{from{transform:scale(1.7);opacity:0}}
/* fixed colour + shape per option */
html body[data-theme] .pv .opts.kc .opt.oc0:not(.good):not(.bad){background:#E21B3C!important;border-color:#B5132E!important;color:#fff!important;box-shadow:0 5px 0 #8F0F24!important}
html body[data-theme] .pv .opts.kc .opt.oc1:not(.good):not(.bad){background:#1368CE!important;border-color:#0E52A3!important;color:#fff!important;box-shadow:0 5px 0 #0B3F7D!important}
html body[data-theme] .pv .opts.kc .opt.oc2:not(.good):not(.bad){background:#D89E00!important;border-color:#B38300!important;color:#fff!important;box-shadow:0 5px 0 #8A6500!important}
html body[data-theme] .pv .opts.kc .opt.oc3:not(.good):not(.bad){background:#26890C!important;border-color:#1E6E09!important;color:#fff!important;box-shadow:0 5px 0 #165207!important}
html body[data-theme] .pv .opts.kc .opt .letter.shp{display:inline-flex!important;align-items:center;justify-content:center;width:30px;height:30px;flex:none;background:transparent!important;box-shadow:none!important;color:#fff!important;font-size:24px;border:0!important}
html body[data-theme] .pv .opts.kc .opt.good .letter.shp,html body[data-theme] .pv .opts.kc .opt.bad .letter.shp{color:#fff!important}
@media (prefers-reduced-motion:reduce){.flame,.sp-play,.cin-n{animation:none}}
/* phase 5: «أسئلتي» lessons with switches */
.q3-add{width:100%;font-size:19px;padding:16px;margin-bottom:14px}
.q3-tiles{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:10px}
.q3-tiles button{flex:none;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:96px;padding:10px 12px;border-radius:16px;border:1.5px solid var(--line);background:var(--card);color:var(--ink);font:inherit;cursor:pointer}
.q3-tiles button span{font-size:24px}.q3-tiles button small{color:var(--muted)}
.q3-tiles button.on{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--card))}
.q3-h{font-weight:800;font-size:17px;margin:6px 4px 8px}
.q3-list{background:var(--card);border-radius:16px;overflow:hidden;border:1px solid var(--line)}
.q3-row{display:flex;align-items:center;gap:10px;padding:0 14px}
.q3-row+.q3-row{border-top:.5px solid var(--line)}
.q3-l{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:13px 0;background:none;border:0;font:inherit;color:var(--ink);text-align:start;cursor:pointer;min-width:0}
.q3-l b{font-size:16px}.q3-l small{color:var(--muted);font-size:13px}
.q3-sw{width:51px;height:31px;border-radius:99px;border:0;background:#E3DEDA;position:relative;flex:none;cursor:pointer;transition:background .2s}
.q3-sw i{position:absolute;top:2px;right:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2);transition:right .2s}
.q3-sw.on{background:#34C759}.q3-sw.on i{right:22px}
.q3-note{color:var(--muted);font-size:13.5px;margin:8px 6px 0}
.q3-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:20px 6px 10px}
.q3-links .link{font-weight:700;font-size:15px}
.q3-empty{margin:10px 0}
.q3-back{background:none;border:0;color:var(--primary);font:inherit;font-weight:700;padding:4px 2px 10px;cursor:pointer}
body.dark .q3-sw:not(.on),body.wide.dark .q3-sw:not(.on){background:#39393D}
/* fixed brand palette = redesign preview (v93), no colour picker */
body.wide{--bg:#F4EFEA;--card:#FFFFFF;--ink:#231615;--muted:#7A6A66;--line:#E9DFD8;--soft:#F7E9E4;--primary:#C8102E;--primary-dark:#8E0A1E;background:var(--bg)!important}
body.wide.dark{--bg:#161112;--card:#231C1D;--ink:#F6EEEC;--muted:#B5A6A2;--line:#3A2F2F;--soft:#3A2427;--edge:#0A0606;--primary:#C8102E;--primary-dark:#8E0A1E;background:#161112!important}
body.wide.dark .t-nav a.on,body.wide.dark .t-nav a.t-plus{color:#E5404F!important}
/* questions page v93: same look as the preview */
.p3{display:flex;flex-direction:column;gap:14px}
.p3-big{border:0;background:var(--primary);color:#fff;border-radius:20px;min-height:64px;font:inherit;font-size:20px;font-weight:900;width:100%;box-shadow:0 6px 0 color-mix(in srgb,var(--primary) 70%,#000);cursor:pointer}
.p3-big:active{transform:translateY(3px);box-shadow:0 3px 0 color-mix(in srgb,var(--primary) 70%,#000)}
.p3-ghost{border:0;background:transparent;color:var(--primary);font:inherit;font-weight:800;font-size:15px;padding:8px;cursor:pointer}
.p3-ghost.muted{color:var(--muted)}
.p3-h{margin:0;font-weight:800;font-size:15px;color:var(--ink)}
.p3-rows{background:var(--card);border-radius:18px;overflow:hidden}
.p3-row{display:flex;align-items:center;gap:12px;padding:14px 16px;border:0;border-bottom:1px solid var(--line);width:100%;background:transparent;text-align:start;font:inherit;font-size:17px;color:var(--ink);cursor:pointer}
.p3-row:last-child{border-bottom:0}
.p3-row .grow{flex:1;min-width:0}.p3-row small{display:block;color:var(--muted);font-size:13px}
.p3-chev{color:var(--muted);font-size:20px}
.p3-sw{width:51px;height:31px;border-radius:31px;background:var(--line);position:relative;flex:none;transition:background .2s}
.p3-sw::after{content:"";position:absolute;top:2px;right:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2);transition:transform .2s}
.p3-sw.on{background:#34C759}.p3-sw.on::after{transform:translateX(-20px)}
.p3-note{font-size:14px;color:var(--muted);text-align:center;margin:0}
.p3-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.p3-tiles button{border:2px solid transparent;background:var(--card);border-radius:20px;padding:14px 10px;display:flex;flex-direction:column;align-items:center;gap:4px;font:inherit;font-weight:800;font-size:16px;color:var(--ink);cursor:pointer}
.p3-tiles button span{font-size:32px;line-height:1}.p3-tiles button small{font-weight:600;color:var(--muted);font-size:13px}
.p3-tiles button.on{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--card))}
.p3-card{background:var(--card);border-radius:22px;padding:22px 18px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.p3-card small{color:var(--muted)}.p3-emo{font-size:44px}
.p3-add{display:flex;flex-direction:column;gap:12px}
.p3-add h3{margin:0;font-size:24px;font-weight:900}
.p3-sub{margin:0;color:var(--muted);font-size:15px}
.p3-in{width:100%;border:2px solid var(--line);background:var(--card);border-radius:16px;min-height:58px;padding:0 16px;font:inherit;font-size:19px;font-weight:700;color:var(--ink);box-sizing:border-box}
.p3-in:focus{outline:none;border-color:var(--primary)}
.p3-in.ok{border-color:#1F9D55}
.p3-wr{flex:1;border:0;background:transparent;font:inherit;font-size:17px;color:var(--ink);min-width:0;padding:0}
.p3-wr:focus{outline:none}
.p3-spark{color:var(--muted)}
.p3-add .p3-row{cursor:default}
/* questions page v94: one screen — «أسئلتي» tiles on top, bank squares below, sheets from the bottom */
.q4{display:flex;flex-direction:column;gap:14px}
.q4-lbl{display:flex;justify-content:space-between;align-items:baseline;margin:4px 2px -4px}
.q4-lbl b{font-size:19px;font-weight:900}.q4-lbl small{color:var(--muted);font-weight:700;font-size:13px}
.q4-mine{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.q4-mt{background:var(--card);border:2px solid transparent;border-radius:16px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center;min-height:90px;font:inherit;color:var(--ink);cursor:pointer;min-width:0}
.q4-mt .e{font-size:22px;line-height:1}.q4-mt b{font-size:13.5px;font-weight:800;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.q4-mt small{font-size:11.5px;color:var(--muted);font-weight:700}
.q4-mt.self{background:var(--soft)}
.q4-mt.new{border-color:#1F9D55;animation:q4land .6s cubic-bezier(.3,1.5,.5,1)}
@keyframes q4land{from{transform:translateY(60px) scale(.6);opacity:0}}
.q4-days{background:color-mix(in srgb,#1F9D55 14%,var(--card));color:#1F9D55;border-radius:14px;padding:10px 14px;font-weight:800;font-size:15px;text-align:center}
.q4-days.low{background:var(--soft);color:var(--muted)}
.q4-bank{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.q4-st{background:var(--card);border:0;border-radius:20px;padding:18px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font:inherit;font-weight:800;font-size:17px;color:var(--ink);min-height:118px;cursor:pointer}
.q4-st .e{font-size:38px;line-height:1}.q4-st small{font-weight:700;color:var(--muted);font-size:12.5px}
.q4-st.mine{outline:2px solid var(--primary);outline-offset:-2px}
.q4-sh{display:flex;flex-direction:column;gap:12px}
.q4-shh{display:flex;align-items:center;gap:10px}.q4-shh .e{font-size:30px}.q4-shh h3{margin:0;font-size:22px;font-weight:900;flex:1}
.q4-x{width:36px;height:36px;border-radius:50%;border:0;background:var(--card);color:var(--ink);font-size:17px;cursor:pointer;flex:none}
.q4-chips{display:flex;gap:8px;flex-wrap:wrap}
.q4-chips button{flex:1;min-width:80px;border:2px solid var(--line);background:var(--card);border-radius:14px;min-height:46px;font:inherit;font-weight:900;font-size:16px;color:var(--ink);cursor:pointer}
.q4-chips button.on{border-color:var(--primary);background:var(--soft);color:var(--primary)}
.q4-les{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.q4-lt{position:relative;background:var(--card);border:2px solid transparent;border-radius:18px;padding:14px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:96px;text-align:center;font:inherit;color:var(--ink);cursor:pointer}
.q4-lt b{font-size:15px;font-weight:800;line-height:1.35}.q4-lt small{font-size:12.5px;color:var(--muted);font-weight:700}
.q4-lt.added{border-color:#1F9D55;background:color-mix(in srgb,#1F9D55 12%,var(--card))}
.q4-lt.added::after{content:"✓";position:absolute;top:6px;left:8px;width:22px;height:22px;border-radius:50%;background:#1F9D55;color:#fff;font-size:13px;font-weight:900;display:grid;place-items:center}
.q4-q.off .grow{opacity:.45}
.q4-q .grow{font-size:15px}
.q4-del{background:var(--card);color:var(--primary);border:0;border-radius:16px;min-height:52px;font:inherit;font-weight:900;font-size:17px;width:100%;cursor:pointer}
/* «انضم» icon v95: four answer rows in the round's colours */
.join-ic{display:flex!important;flex-direction:column;justify-content:center;gap:2px;width:24px;height:24px;padding:1px 0}
.join-ic i{display:block;height:4px;border-radius:2px;width:100%}
.join-ic i:nth-child(1){background:#E21B3C}.join-ic i:nth-child(2){background:#1368CE}.join-ic i:nth-child(3){background:#D89E00}.join-ic i:nth-child(4){background:#26890C}
.join-ic{width:26px;gap:2.5px}
.join-ic i{height:5px;border-radius:2.5px;position:relative}
.join-ic i::after{display:none}
.q4-all{background:var(--card);color:var(--primary);border:2px dashed var(--primary);border-radius:16px;min-height:52px;font:inherit;font-weight:900;font-size:16px;width:100%;cursor:pointer}
.jn-code{font-size:26px!important;text-align:center;letter-spacing:6px}
/* round v97: answers always 2x2 (two rows of two), shape above the text */
html body[data-theme] .pv .opts.kc,html body[data-theme] .pv .opts.kc.long{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
html body[data-theme] .pv .opts.kc .opt:nth-child(n){flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center!important;gap:6px!important;min-height:112px!important;padding:10px 8px!important;border-radius:18px!important;margin:0!important;width:auto!important}
html body[data-theme] .pv .opts.kc .opt .txt{flex:none!important;font-size:17px!important;line-height:1.35!important;text-align:center!important;overflow-wrap:anywhere}
html body[data-theme] .pv .opts.kc.long .opt .txt{font-size:15px!important}
html body[data-theme] .pv .opts.kc .opt .letter.shp{width:26px;height:26px;font-size:22px}
/* lesson sheet v97: questions as squares, tap to switch on/off */
.q4-qs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.q4-qt{position:relative;background:var(--card);border:2px solid transparent;border-radius:16px;padding:12px 10px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:96px;text-align:center;font:inherit;color:var(--ink);cursor:pointer;opacity:.5;min-width:0}
.q4-qt b{font-size:14px;font-weight:800;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.q4-qt small{font-size:12px;color:var(--muted);font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
.q4-qt.added{opacity:1;border-color:#1F9D55;background:color-mix(in srgb,#1F9D55 12%,var(--card))}
.q4-qt.added::after{content:"✓";position:absolute;top:5px;left:6px;width:20px;height:20px;border-radius:50%;background:#1F9D55;color:#fff;font-size:12px;font-weight:900;display:grid;place-items:center}
/* v98 simple classes: tiles + class page + student sheet */
.cp-newc{width:100%;min-height:58px;font-size:19px;font-weight:900;margin-bottom:14px}
.cp-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cp-tile{background:var(--card);border:0;border-radius:20px;padding:20px 10px;display:flex;flex-direction:column;align-items:center;gap:6px;font:inherit;color:var(--ink);cursor:pointer}
.cp-tile b{font-size:21px;font-weight:900}.cp-tile small{color:var(--muted);font-weight:700;font-size:13.5px}
.cp-tile .cp-pl{color:#1E9E57}
.cp-code{background:var(--card);border-radius:22px;padding:16px;display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:14px}
.cp-code small{color:var(--muted);font-weight:700}
.cp-code b{font-size:42px;font-weight:900;letter-spacing:4px;font-variant-numeric:tabular-nums}
.btn.cp-share{width:100%;background:#C8102E;box-shadow:0 5px 0 #8E0B21;color:#fff;font-size:18px;font-weight:900;min-height:54px}
.cp-list{background:var(--card);border-radius:20px;overflow:hidden}
.cp-row{display:flex;align-items:center;gap:10px;width:100%;padding:13px 14px;border:0;border-bottom:1px solid var(--line);background:none;font:inherit;color:var(--ink);text-align:start;cursor:pointer}
.cp-row b{font-size:16.5px;font-weight:800}
.cp-row.dim .grow,.cp-row.dim .cp-pts{opacity:.4}
.cp-rk{width:30px;height:30px;border-radius:50%;background:var(--soft);display:grid;place-items:center;font-weight:900;font-size:14px;flex:none}
.cp-pts{font-weight:900;font-variant-numeric:tabular-nums}
.cp-ok{font-style:normal;color:#1E9E57;font-size:14px}
.cp-add{margin:0;border:0;border-radius:0;background:none;padding:8px 14px}
.st1{display:flex;flex-direction:column;gap:14px}
.st1-h{display:flex;align-items:center;gap:8px}.st1-h b{flex:1;font-size:22px;font-weight:900}
.st1-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.st1-stats div{background:var(--soft);border-radius:16px;padding:14px 6px;text-align:center}
.st1-stats b{display:block;font-size:28px;font-weight:900}.st1-stats small{color:var(--muted);font-weight:700}
.st1-today{text-align:center;font-weight:800;color:var(--muted)}.st1-today.on{color:#1E9E57}
.st1-nav{display:flex;align-items:center;justify-content:space-between}
.st1-nav .icon-btn{width:48px;height:48px;font-size:26px;font-weight:900;background:var(--soft);border-radius:50%}
.st1-nav .icon-btn[disabled]{opacity:.3}
.st1-nav small{color:var(--muted);font-weight:700}
.st1-h{padding-inline-end:48px}
.btn.cp-share{background:#C8102E!important;background-image:none!important;box-shadow:0 5px 0 #8E0B21!important}
.btn.cp-newc{font-size:19px!important;min-height:60px}
.st1-opts{display:flex;flex-direction:column;gap:10px}
.st1-o{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:0 18px;border:0;border-radius:18px;background:var(--soft);font:inherit;color:var(--ink);text-align:start;cursor:pointer}
.st1-o .e{font-size:26px}.st1-o b{font-size:18px;font-weight:700}
.st1-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.st1-o{flex-direction:column;justify-content:center;gap:6px;min-height:96px;padding:12px;text-align:center}
.st1-o .e{font-size:30px}
:has(> .st1) > .modal-x,.modal:has(.st1) .modal-x{display:none!important}
.st1-h{padding-inline-end:0!important;gap:10px}
.st1-h .icon-btn{width:44px;height:44px;border-radius:50%;background:var(--soft);display:grid;place-items:center;flex:none}
/* v105 first screen: one question, code, one button */
.sl1{gap:14px;text-align:center}
.sl1-q{font-size:24px;font-weight:900}
.btn.sl1-go{min-height:62px;font-size:21px;font-weight:900}
.sl1-h{color:var(--muted);font-weight:700;font-size:14px;opacity:.85}
.sl1-t{font-size:16px;font-weight:800;opacity:.85;padding:14px}.sl1-t b{text-decoration:underline}
.sl .sl1-q{color:#fff}.sl .sl1-h{color:rgba(255,255,255,.75);opacity:1}
/* v106 student bottom bar + tab pages */
.s-nav{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));max-width:520px;margin:0 auto;height:68px;background:#fff;border-radius:22px;display:flex;justify-content:space-around;align-items:center;box-shadow:0 6px 24px rgba(0,0,0,.25);z-index:50}
.s-nav button{background:none;border:0;font:inherit;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:12.5px;font-weight:800;color:#7A6A66;min-width:66px;min-height:56px;justify-content:center;cursor:pointer}
.s-nav .i{font-size:23px;filter:grayscale(1);opacity:.55}
.s-nav button.on{color:#C8102E}.s-nav button.on .i{filter:none;opacity:1}
body.dark .s-nav{background:#231C1D}
.sh:has(~ .s-nav){padding-bottom:calc(100px + env(safe-area-inset-bottom))}
.s-tabpg{min-height:100vh}
.s-pgc{position:relative;z-index:1;padding:22px 16px}
.s-pgc>h3{font-size:24px;font-weight:900;margin-bottom:14px}
.s-tabpg .lbx-x{display:none}
.s-me{background:rgba(255,255,255,.1);border-radius:22px;padding:20px;text-align:center}
.s-me-av{width:72px;height:72px;border-radius:50%;background:#F6B22E;color:#2A1A00;display:grid;place-items:center;font-size:30px;font-weight:900;margin:0 auto 8px}
.s-me b{display:block;font-size:22px;font-weight:900}.s-me small{opacity:.75;font-weight:700}
.btn.s-me-t{width:100%;margin-top:14px;background:#C8102E!important;background-image:none!important;color:#fff;box-shadow:0 5px 0 #8E0A1E!important}
.s-me-o{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.s-me-o button{background:rgba(255,255,255,.1);border:0;border-radius:18px;min-height:92px;color:inherit;font:inherit;font-weight:800;font-size:15px;cursor:pointer}
.s-me-o button i{display:block;font-style:normal;font-size:28px}
.s-me-mode{margin-top:14px;background:rgba(255,255,255,.1);border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:8px}
/* v109 challenge page */
.ch1{display:flex;flex-direction:column;gap:12px}
.ch-sub{color:var(--muted);font-weight:700;margin-top:-6px}
.ch-hero{background:var(--card);border-radius:22px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:8px}
.ch-hero small{color:var(--muted);font-weight:700}
.ch-big b{font-size:48px;font-weight:900;font-variant-numeric:tabular-nums}.ch-big span{font-size:22px;color:var(--muted);font-weight:800}
.ch-bar{width:100%;height:12px;border-radius:9px;background:var(--line);overflow:hidden}.ch-bar i{display:block;height:100%;background:#1E9E57}
.btn.ch-rem{width:100%;min-height:54px;font-size:18px;font-weight:900;background:#1E9E57!important;background-image:none!important;box-shadow:0 5px 0 #146A39!important;color:#fff}
.ch-meta{text-align:center;color:var(--muted);font-weight:700;font-size:14px;margin:0}
.ch-cls{display:block;color:var(--muted);font-size:12px;font-weight:700}
.ch1,.cp1{padding-bottom:110px}
.cp-row .chev{opacity:.4;display:flex}
/* v111 edit student */
.se1{display:flex;flex-direction:column;gap:14px}
.se1-n{width:100%;min-height:62px;border:2px solid var(--line);border-radius:18px;background:var(--card);color:var(--ink);font:inherit;font-size:21px;font-weight:800;padding:0 16px;text-align:center}
.se1-n:focus{outline:none;border-color:var(--primary)}
.se1-g,.se1-c{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.se1-g label,.se1-c label{display:flex;align-items:center;justify-content:center;min-height:58px;border-radius:16px;background:var(--soft);font-weight:800;font-size:17px;cursor:pointer;border:2px solid transparent}
.se1-g label.on,.se1-c label.on{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 14%,transparent)}
.se1-g input,.se1-c input{position:absolute;opacity:0;pointer-events:none}
.se1-l{color:var(--muted);font-weight:800;font-size:14px;margin-bottom:-6px}
.se1-more summary{color:var(--muted);font-weight:800;cursor:pointer;list-style:none;padding:4px 0}
.se1-more summary::-webkit-details-marker{display:none}
.se1-more[open]{display:flex;flex-direction:column;gap:8px}
.btn.se1-save{min-height:58px;font-size:19px;font-weight:900}
/* v112 confirm dialogs match the app (card, Cairo, big buttons) */
.dlg{background:var(--card)!important;color:var(--ink)!important;border-radius:26px!important;padding:22px 18px 18px!important;max-width:340px!important;width:calc(100% - 48px)!important;box-shadow:0 20px 50px rgba(0,0,0,.35)!important;font-family:inherit!important}
.dlg-b{padding:0!important;text-align:center}
.dlg-b b{display:block;font-size:21px;font-weight:900;margin-bottom:6px}
.dlg-b p{color:var(--muted);font-size:15.5px;font-weight:700;line-height:1.6;margin:0}
.dlg-a{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;border:0!important;padding:0!important}
.dlg-a button{min-height:54px;border:0!important;border-radius:16px!important;font:inherit!important;font-size:17px!important;font-weight:900!important;background:var(--soft)!important;color:var(--ink)!important;cursor:pointer}
.dlg-a button.pri{background:var(--primary)!important;color:#fff!important;box-shadow:0 4px 0 #8E0A1E}
.dlg-a button.dng{background:#C8102E!important;color:#fff!important;box-shadow:0 4px 0 #8E0A1E}
.dlg-a button:only-child{grid-column:1/-1}
.dlg-in{border-radius:14px!important;min-height:50px;margin-top:12px}
.se1-ph{min-height:54px;font-size:18px!important;text-align:center}
.btn.se1-save{text-decoration:none!important}
.se1-more[open] summary{margin-bottom:4px}
.se1-more .se1-l{margin:6px 0 0}
.se1-more[open]{gap:10px}
.se1-more summary::after{content:' ‹';display:inline-block;transition:transform .2s}
.se1-more[open] summary::after{transform:rotate(-90deg)}
.se1 .btn,.se1 button{text-decoration:none!important;-webkit-text-decoration:none!important}
.modal:has(.se1){max-height:92vh;overflow-y:auto}
/* v116 edit challenge: one screen + in-form sheets */
.ce1{gap:12px;padding-bottom:120px}
.ce1-n{font-size:22px;font-weight:900;min-height:60px}
.ce1-q{font-size:18px;font-weight:900;margin:6px 2px -4px}
.ce1 .cf2-end{text-align:center}
.ce1-row{display:flex;align-items:center;gap:12px;background:var(--card);border:0;border-radius:18px;padding:14px 16px;width:100%;text-align:start;color:var(--ink);font:inherit;cursor:pointer}
.ce1-row b{display:block;font-size:17px;font-weight:900}.ce1-row small{display:block;color:var(--muted);font-size:13px;font-weight:700}.ce1-row small.low{color:#d97706}
.ce1-e{font-size:26px}.ce1-ch{color:var(--muted);font-size:20px}
.ce1-more{align-self:center;background:none;border:0;color:var(--muted);font:800 15px 'Cairo',system-ui,sans-serif;padding:8px 14px;cursor:pointer}
.ce1-save{margin-top:6px}
.ce1-sh{position:fixed;inset:0;z-index:48;background:rgba(10,10,10,.5);display:none;align-items:flex-end;justify-content:center}
.ce1-sh.on{display:flex;animation:fadeIn .2s}
.ce1-card{background:var(--bg);width:100%;max-width:520px;max-height:86vh;overflow-y:auto;border-radius:26px 26px 0 0;padding:16px 18px calc(22px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}
.ce1-h{display:flex;align-items:center;gap:10px}.ce1-h b{flex:1;font-size:22px;font-weight:900}
.ce1-x{width:38px;height:38px;border-radius:50%;border:0;background:var(--card);color:var(--ink);font-size:17px;cursor:pointer}
.ce1-l{font-weight:900;font-size:15px;margin-bottom:-4px}
.ce1-card .set-grp{margin:0}
@keyframes fadeIn{from{opacity:0}}
/* v118 demo inside an iframe: nothing may overflow, or iOS grows the frame (white strip / dark band) */
html.embed,html.embed body{height:100%;overflow:hidden;max-width:100%}
html.embed #app{height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
html.embed .sh{overflow:hidden;min-height:100%}
/* v120: the whole question fits one screen (no scrolling), on any phone height */
html body .play.pv{height:100vh;height:100dvh;min-height:0!important;overflow:hidden;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
html body .play.pv .pv-panel{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
html body[data-theme] .play.pv .pv-panel .qbox{flex:0 1 auto;min-height:0;overflow:hidden;font-size:clamp(17px,3.1dvh,26px)}
html body[data-theme] .play.pv .opts.kc{flex:1 1 auto;min-height:0;grid-auto-rows:minmax(0,1fr);max-height:300px}
html body[data-theme] .play.pv .opts.kc .opt:nth-child(n){min-height:0!important}
.play.pv.pv-kids,.play.pv.pv-mid,.play.pv.pv-uni{--pv-ts:min(136px,17dvh);--pv-cw:min(150px,19dvh);--pv-ch:min(150px,19dvh);--pv-tf:min(44px,5.5dvh)}
@media (max-height:700px){.play.pv .pv-kind{display:none}.play.pv .play-top{gap:4px}.play.pv{gap:8px!important}}
/* v120 results page */
.rs2-hero{background:linear-gradient(160deg,var(--primary),#7E0A1D);color:#fff;border-radius:24px;padding:18px 18px 16px;display:flex;flex-direction:column;gap:4px;box-shadow:0 8px 24px rgba(200,16,46,.25)}
.rs2-t{font-size:24px;font-weight:900;line-height:1.3}
.rs2-s{font-size:14px;font-weight:700;opacity:.85}
.rs2-win{margin-top:10px;background:rgba(255,255,255,.16);border-radius:16px;padding:10px 14px;display:flex;align-items:center;gap:8px;font-size:17px}
.rs2-win b{flex:1;font-weight:900}.rs2-win span{font-weight:800;opacity:.9}
.rs2-nums{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.rs2-nums div{background:var(--card);border-radius:18px;padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:2px}
.rs2-nums b{font-size:24px;font-weight:900;color:var(--ink)}.rs2-nums span{font-size:12.5px;font-weight:700;color:var(--muted)}
.rs2-list{background:var(--card);border-radius:20px;overflow:hidden;margin-bottom:110px}
.rs2-row{display:flex;align-items:center;gap:12px;width:100%;padding:13px 16px;border:0;background:none;color:var(--ink);font:inherit;text-align:start;cursor:pointer;border-bottom:1px solid var(--line)}
.rs2-row:last-child{border-bottom:0}
.rs2-row b{display:block;font-size:16.5px;font-weight:800}.rs2-row small{display:block;font-size:12.5px;color:var(--muted);font-weight:700}
.rs2-rk{width:30px;text-align:center;font-size:22px;font-weight:900;color:var(--muted);flex:none}
.rs2-row:nth-child(n+4) .rs2-rk{font-size:15px}
.rs2-pts{font-size:19px;font-weight:900;color:var(--primary)}
.rs2-row.z{opacity:.5}.rs2-row.z .rs2-pts{color:var(--muted)}
.st1-o.rs2-again{grid-column:1/-1;background:var(--primary);color:#fff;font-weight:900}
.pw-w{position:relative;display:block}
.pw-w input{padding-left:52px!important;width:100%}
.pw-eye{position:absolute;top:50%;left:6px;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:transparent;font-size:20px;cursor:pointer;opacity:.55;filter:grayscale(1)}
.pw-eye.on{opacity:1;filter:none}
.st1-o.dng{color:#E5484D}
/* v122 first screen (v156: black like the other student screens), with a small «لصق الرمز» */
html body .sh.sl.sl-red{background:#000!important;color:#F5F5F7}
html body .sl.sl-red .code-box{background:#1C1C1E!important;border:2px solid #3A3A3C!important;color:#fff!important}
html body .sl.sl-red .code-box.on{border-color:#C8102E!important;box-shadow:0 0 0 3px rgba(200,16,46,.3)!important}
html body .sl.sl-red .sl1-go{background:#C8102E!important;color:#fff!important;box-shadow:0 5px 0 #8E0B21!important}
html body .sl.sl-red h1{color:#fff!important;text-shadow:0 2px 10px rgba(0,0,0,.25)}
.sl1-p{color:#fff;font-weight:800;font-size:15px;opacity:.9;margin-top:-4px}
html body .sl.sl-red .sl1-t,html body .sl.sl-red .sl1-t b{color:#fff!important}
.ch-warn{background:rgba(229,72,77,.12);border:1.5px solid rgba(229,72,77,.45);border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:6px;text-align:center;margin-bottom:12px}
.ch-warn b{font-size:17px;font-weight:900}.ch-warn small{color:var(--muted);font-weight:700}.ch-warn .btn{margin-top:6px}
/* v125 challenge page: 4 small actions under the hero */
.ch-acts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.ch-a{display:flex;flex-direction:column;align-items:center;gap:3px;background:var(--card);border:0;border-radius:16px;padding:10px 4px;color:var(--ink);font:800 13px 'Cairo',system-ui,sans-serif;cursor:pointer}
.ch-a span{font-size:22px;line-height:1}
.ch-a:active{transform:scale(.96)}
.ch-2{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.ch-b{min-height:48px;border:0;border-radius:16px;background:var(--card);color:var(--ink);font:800 15px 'Cairo',system-ui,sans-serif;cursor:pointer}
.ch-b.end{color:#E5484D}
/* v128 preview: thin bar on top with a big ✕, visible on every screen (also during the round) */
#pv-x{position:fixed;z-index:400;top:0;left:0;right:0;height:calc(48px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0 8px;border:0;background:rgba(10,10,14,.88);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:space-between;font:800 14px 'Cairo',system-ui,sans-serif;cursor:pointer;direction:rtl}
#pv-x span{opacity:.8}
#pv-x b{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:20px}
html.pvmode body{padding-top:calc(48px + env(safe-area-inset-top))}
html.pvmode body .play.pv{height:calc(100dvh - 48px - env(safe-area-inset-top))}
/* v129 questions page: one square per subject */
.q5-lbl{font-size:14px;font-weight:800;color:var(--muted);margin:10px 2px 6px}
.q5-sq{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-bottom:110px}
.q5-sb{background:var(--card);border:2.5px solid transparent;border-radius:22px;padding:16px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:132px;text-align:center;color:var(--ink);font:inherit;cursor:pointer;position:relative}
.q5-sb:active{transform:scale(.97)}
.q5-sb .e{font-size:40px;line-height:1}.q5-sb b{font-size:16px;font-weight:900;line-height:1.3}.q5-sb small{font-size:12.5px;font-weight:800;color:var(--muted)}
.q5-sb.on{border-color:#1F9D55;background:rgba(31,157,85,.12)}.q5-sb.on small{color:#1F9D55}
.q5-sb.on::after{content:"✓";position:absolute;top:8px;left:10px;width:24px;height:24px;border-radius:50%;background:#1F9D55;color:#fff;font-size:14px;font-weight:900;display:grid;place-items:center}
.q5-sb:not(.on){opacity:.6}
body.dark .q5-sb.on small{color:#4ADE80}
/* admin dashboard + support bar */
#adm-bar{position:fixed;z-index:450;top:0;left:0;right:0;min-height:calc(46px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0;background:#2C2C2E;color:#fff;display:flex;align-items:center;gap:6px;font:800 13.5px 'Cairo',system-ui,sans-serif;direction:rtl}
#adm-bar.on{background:#E8590C}
#adm-bar .grow{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}
#adm-bar button{flex:none;min-height:34px;padding:0 12px;border-radius:17px;border:0;background:rgba(255,255,255,.2);color:#fff;font:inherit;cursor:pointer}
html.admmode body{padding-top:calc(46px + env(safe-area-inset-top))}
html.admmode .t-top,html.admmode .topbar{top:calc(46px + env(safe-area-inset-top))}
.ad-k4{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.ad-k{background:var(--card);border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:2px}
.ad-k b{font-size:30px;font-weight:900;line-height:1.2}.ad-k span{font-size:13px;font-weight:800;color:var(--muted)}.ad-k em{font-style:normal;font-size:12.5px;font-weight:800;color:#1FA971}
.ad-segs{display:flex;background:var(--card);border-radius:14px;padding:4px;gap:4px;margin-bottom:12px}
.ad-segs button{flex:1;min-height:38px;border-radius:11px;border:0;background:none;font:800 14px 'Cairo',system-ui,sans-serif;color:var(--muted);cursor:pointer}
.ad-segs button.on{background:var(--primary);color:#fff}
.ad-rows{background:var(--card);border-radius:20px;overflow:hidden;margin-bottom:10px}
.ad-tr{display:flex;align-items:center;gap:12px;padding:12px 16px;border:0;border-bottom:1px solid var(--line);width:100%;text-align:start;background:none;color:var(--ink);font-family:inherit;cursor:pointer}
.ad-tr:last-child{border-bottom:0}
.ad-av{width:38px;height:38px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:900;flex:none}
.ad-tr b{display:block;font-size:15.5px;font-weight:800}.ad-tr small{display:block;color:var(--muted);font-size:12.5px;font-weight:700}
.ad-n{text-align:center;flex:none}.ad-n b{font-size:17px;color:var(--primary)}.ad-n small{font-size:11px}
.ad-dot{width:9px;height:9px;border-radius:50%;background:#1FA971;display:inline-block;margin-inline-start:6px}
.ad-sh{display:flex;flex-direction:column;gap:12px}.ad-sh h3{margin:0}.ad-sh .sub{margin:0}
.ad-st3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ad-st3 div{background:var(--soft);border-radius:16px;padding:10px 4px;text-align:center}.ad-st3 b{display:block;font-size:22px;font-weight:900}.ad-st3 span{font-size:12px;color:var(--muted);font-weight:800}
/* home view switch: big / two / list */
.hv{display:flex;justify-content:flex-end;gap:4px;margin:-4px 0 10px}
.hv button{width:40px;height:34px;border-radius:10px;border:0;background:var(--card);display:grid;place-items:center;cursor:pointer;color:var(--muted)}
.hv button.on{background:var(--ink);color:var(--bg)}
.hv i{display:block;width:16px;height:16px;border:2.5px solid currentColor;border-radius:4px}
.hv .hv-i2{border:0;background:linear-gradient(90deg,currentColor 0 44%,transparent 44% 56%,currentColor 56%) ;border-radius:3px}
.hv .hv-i3{border:0;height:14px;background:repeating-linear-gradient(currentColor 0 3px,transparent 3px 5.5px)}
.hcs.hv-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hv-two .hc{padding:14px 10px 16px;border-radius:20px;gap:4px}
.hv-two .hc-t{font-size:15.5px;line-height:1.35}.hv-two .hc-c{font-size:12px}
.hv-two .hc-ring{width:96px;height:96px;margin-top:4px}.hv-two .hc-ring>div{width:76px;height:76px}
.hv-two .hc-ring b{font-size:28px}.hv-two .hc-ring small{font-size:12px}.hv-two .hc-sub{font-size:13px}
.hv-two .hc-big{font-size:36px;margin-top:4px}.hv-two .hc-day{font-size:18px}
.hcs.hv-list{gap:8px}
.hv-list .hc{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"t m" "c m";align-items:center;column-gap:12px;row-gap:0;padding:12px 16px;border-radius:18px}
.hv-list .hc-t{grid-area:t;font-size:16px;text-align:start}.hv-list .hc-c{grid-area:c;font-size:12.5px;text-align:start}
.hv-list .hc-ring,.hv-list .hc-big{grid-area:m;grid-row:1/3;margin:0}
.hv-list .hc-ring{width:58px;height:58px}.hv-list .hc-ring>div{width:46px;height:46px}.hv-list .hc-ring b{font-size:18px}.hv-list .hc-ring small{font-size:10px}
.hv-list .hc-big{font-size:28px}.hv-list .hc-day{font-size:14px}
.hv-list .hc-sub{display:none}
/* lesson editing (per teacher) */
.q4-ed{min-height:36px;padding:0 14px;border-radius:18px;border:0;background:var(--card);color:var(--ink);font:800 14px 'Cairo',system-ui,sans-serif;cursor:pointer;flex:none}
.q4-ed.on{background:var(--ink);color:var(--bg)}
.q4-pen{position:absolute;top:6px;left:8px;font-size:13px}
.q4-mine{font-size:11px;font-weight:800;color:#C98A0B}
.q4-lt.q4-add{background:none;border:2px dashed var(--line);color:var(--muted)}
.q4-ql{background:var(--card);border-radius:18px;overflow:hidden}
.q4-qr{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);font:inherit;text-align:start;cursor:pointer}
.q4-qr:last-child{border-bottom:0}.q4-qr b{display:block;font-size:14.5px;font-weight:700;line-height:1.5}.q4-qr small{font-size:11.5px;font-weight:800;color:#C98A0B}.q4-qr i{font-style:normal;flex:none}
.q4-addq{width:100%;min-height:50px;border-radius:16px;border:2px dashed var(--line);background:none;color:var(--muted);font:800 15px 'Cairo',system-ui,sans-serif;cursor:pointer}
.q4-qf{display:flex;flex-direction:column;gap:8px}.q4-qf label{font-size:13px;font-weight:800;color:var(--muted)}
.q4-qf textarea{min-height:80px;resize:none}
.q4-op{display:flex;gap:8px;align-items:center}.q4-op .input{flex:1;min-width:0}
.q4-op button{width:36px;height:36px;border-radius:50%;border:2px solid var(--muted);background:none;color:#fff;font-weight:900;flex:none;cursor:pointer}
.q4-op button.ok{background:#1F9D55;border-color:#1F9D55}
.q4-sh .q4-del{min-height:44px;font-size:15px;background:none}
.set-ic.emo{background:none!important;font-size:23px;line-height:1;width:32px;height:32px}
.q5-sb.q5-new{background:none;border:2px dashed var(--line);color:var(--muted)}.q5-sb.q5-new .e{font-size:30px;font-weight:900}
.q4-2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.q5-imp{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;padding:16px;border-radius:18px;border:0;background:var(--card);color:var(--ink);font:inherit;cursor:pointer}
.q5-imp .e{font-size:34px}.q5-imp b{font-size:17px;font-weight:900}.q5-imp small{color:var(--muted);font-weight:700}
/* first-time profile */
#ob{position:fixed;inset:0;z-index:500;background:var(--bg);color:var(--ink);overflow:auto;padding:calc(12px + env(safe-area-inset-top)) max(18px,env(safe-area-inset-left)) calc(20px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-right));font-family:'Cairo',system-ui,sans-serif}
.ob-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px}
.ob-top .nw-dots{margin:0}
.ob-skip{border:0;background:none;color:var(--muted);font:800 15px 'Cairo',system-ui,sans-serif;padding:8px;cursor:pointer}
.ob-b{max-width:520px;margin:18px auto 0;display:flex;flex-direction:column;gap:14px}
.ob-b h2{margin:0;font-size:26px;font-weight:900}.ob-b>p{margin:-8px 0 4px;color:var(--muted);font-weight:700}
.ob-g{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ob-t{position:relative;min-height:84px;border-radius:20px;border:2px solid transparent;background:var(--card);color:var(--ink);font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:10px;cursor:pointer}
.ob-t .e{font-size:28px}.ob-t b{font-size:15.5px;font-weight:800}
.ob-t.on{border-color:#1F9D55;background:color-mix(in srgb,#1F9D55 12%,var(--card))}
.ob-t.on::after{content:"✓";position:absolute;top:6px;left:8px;width:22px;height:22px;border-radius:50%;background:#1F9D55;color:#fff;font-size:13px;font-weight:900;display:grid;place-items:center}
.ob-lbl{font-weight:800;color:var(--muted);font-size:14px}
.ob-in{min-height:52px;font-size:16px}
.p3-big[disabled]{opacity:.45}
.ob-card{display:flex;align-items:center;gap:8px;background:var(--card);border-radius:18px;padding:6px 6px 6px 14px;margin-bottom:12px;border:2px dashed var(--line)}
.ob-card .grow{border:0;background:none;color:var(--ink);font:inherit;text-align:start;padding:8px;display:flex;flex-direction:column;cursor:pointer}
.ob-card b{font-weight:900}.ob-card small{color:var(--muted);font-weight:700}
.ob-cx{width:36px;height:36px;border-radius:50%;border:0;background:var(--soft);color:var(--ink);cursor:pointer;flex:none}
/* account: everything on one page */
.ac-f{background:var(--card);border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:16px;margin-bottom:18px}
.ac-fd{display:flex;flex-direction:column;gap:8px}.ac-fd>label{font-size:13px;font-weight:800;color:var(--muted)}
.ac-f .input{min-height:48px;font-size:16px;background:var(--soft);border-color:transparent}
.ac-g{display:grid;gap:8px}.ac-g.g5{grid-template-columns:repeat(5,minmax(0,1fr))}.ac-g.g4{grid-template-columns:repeat(4,minmax(0,1fr))}.ac-g.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.ac-g.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ac-c{min-height:44px;padding:4px 6px;border-radius:14px;border:2px solid transparent;background:var(--soft);color:var(--ink);font:800 14px 'Cairo',system-ui,sans-serif;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;text-align:center;line-height:1.3}
.ac-g.g2 .ac-c{justify-content:flex-start;padding:4px 12px}
.ac-c span{font-size:18px}
.ac-c.on{border-color:#1F9D55;background:color-mix(in srgb,#1F9D55 14%,var(--soft))}
.ac-note{margin:-4px 0 0;color:var(--muted);font-size:12.5px;font-weight:700}
.ac-sv[disabled]{opacity:.35;box-shadow:none}
.ac-card{width:100%;background:var(--card);border:0;border-radius:20px;padding:6px 14px 12px;color:var(--ink);font:inherit;text-align:start;display:flex;flex-direction:column;cursor:pointer;margin-bottom:18px}
.ac-r{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);align-items:baseline}
.ac-r span{width:64px;flex:none;color:var(--muted);font-weight:800;font-size:13.5px}.ac-r b{font-weight:700;font-size:15px;line-height:1.6}.ac-r i{font-style:normal;color:var(--primary)}
.ac-ed{margin-top:10px;min-height:46px;border-radius:14px;background:var(--soft);display:grid;place-items:center;font-weight:900;color:var(--ink)}
.ac-sh{display:flex;flex-direction:column;gap:12px}.ac-sh .ac-f{background:none;padding:0;margin:0}.ac-sh .q4-shh h3{flex:1}
/* v140: one neutral fill for all account fields/chips/buttons */
.ac-f .input,.ac-c,.ac-ed{background:color-mix(in srgb,var(--ink) 9%,var(--card))!important;border-color:transparent}
.ac-c.on{background:color-mix(in srgb,#1F9D55 18%,var(--card))!important;border-color:#1F9D55}
.ac-f .input:focus{border-color:var(--primary)}
.ac-r i{color:var(--muted)}
/* true/false */
.p3-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:color-mix(in srgb,var(--ink) 8%,var(--card));border-radius:14px;padding:4px}
.p3-seg button{min-height:40px;border:0;border-radius:11px;background:none;color:var(--muted);font:800 14.5px 'Cairo',system-ui,sans-serif;cursor:pointer}
.p3-seg button.on{background:var(--primary);color:#fff}
.p3-add .p3-tf{display:none}.p3-add.tf .p3-tf{display:block}.p3-add.tf .p3-mc{display:none}
.p3-tfb{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px}
.p3-tfb button{min-height:64px;border-radius:18px;border:3px solid transparent;background:color-mix(in srgb,var(--ink) 8%,var(--card));color:var(--ink);font:900 19px 'Cairo',system-ui,sans-serif;cursor:pointer}
.p3-tfb button.t.on{border-color:#1F9D55;background:color-mix(in srgb,#1F9D55 20%,var(--card))}
.p3-tfb button.f.on{border-color:#E5484D;background:color-mix(in srgb,#E5484D 20%,var(--card))}
.opts.tf{grid-template-columns:1fr 1fr!important}
.opts.tf .opt{min-height:clamp(110px,22dvh,190px)}
.opts.tf .opt.oc0{background:#1F9D55!important}.opts.tf .opt.oc1{background:#E5484D!important}
.opts.tf .opt .shp{font-size:30px}.opts.tf .opt .txt{font-size:24px;font-weight:900}
.p3-seg{grid-template-columns:repeat(3,1fr)}
.p3-add .p3-or{display:none}.p3-add.or .p3-or{display:flex;flex-direction:column;gap:8px}.p3-add.or .p3-mc{display:none}
.p3-orr{display:flex;align-items:center;gap:8px}.p3-orr b{width:32px;height:32px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;flex:none;font-weight:900}.p3-orr .p3-in{flex:1;min-width:0}
/* order questions in play */
.ord-hint{text-align:center;font-weight:900;font-size:15px;opacity:.85;margin:-2px 0 6px}
.opts.ord .opt .shp{min-width:34px;min-height:34px;border-radius:50%;background:rgba(255,255,255,.22);display:grid;place-items:center;font-size:20px;font-weight:900}
.opts.ord .opt.picked{outline:4px solid #fff;outline-offset:-4px}
.opts.ord .opt.picked .shp{background:#fff;color:#222}
html body[data-theme] .pv .opts.kc.tf .opt.oc0:not(.good):not(.bad){background:#1F9D55!important;border-color:#167A41!important;box-shadow:0 5px 0 #0F5A30!important}
html body[data-theme] .pv .opts.kc.tf .opt.oc1:not(.good):not(.bad){background:#E5484D!important;border-color:#B5132E!important;box-shadow:0 5px 0 #8F0F24!important}
.p3-seg button{white-space:nowrap;padding:0 6px;font-size:14px}
.q4-qf .q4-tf,.q4-qf .q4-or{display:none}.q4-qf.m1 .q4-tf{display:block}.q4-qf.m2 .q4-or{display:flex;flex-direction:column;gap:8px}.q4-qf.m1 .q4-mc,.q4-qf.m2 .q4-mc{display:none}
.q4-mc{display:flex;flex-direction:column;gap:8px}
/* v143: lesson editor = one neutral fill, compact one-line rows (Khalid) */
.q4-sh .q4-x,.q4-sh .q4-ed,.q4-ql,.q4-qf .input,.q4-qf .p3-seg{background:color-mix(in srgb,var(--ink) 9%,transparent)!important;border-color:transparent}
.q4-qf .input:focus{border-color:var(--primary)}
.q4-op button{border-color:color-mix(in srgb,var(--ink) 25%,transparent)}
.q4-qr{padding:10px 12px;gap:10px}
.q4-qr b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:1.4}
.q4-qr .grow{min-width:0}
.q4-qr em{font-style:normal;flex:none;width:24px;height:24px;border-radius:50%;background:color-mix(in srgb,var(--ink) 12%,transparent);display:grid;place-items:center;font-size:12px;font-weight:800;color:var(--muted)}
.q4-qr small{flex:none}
.cu-rest{display:contents}.cu-rest.hide{display:none}
/* v146 play screen (Khalid): app theme, black + red, time bar, 4 neutral squares, no letters/shapes */
html body .play.pv.pvx{background:#000!important;color:#F5F5F7!important;padding:14px 16px 24px;display:flex;flex-direction:column;gap:12px;height:100dvh;min-height:0}
html body .pv.pvx .pv-btn{background:#1C1C1E!important;color:#F5F5F7!important;border:0!important;box-shadow:none!important}
html body .pv.pvx .pv-pill{background:#1C1C1E!important;color:#F5F5F7!important;box-shadow:none!important;border:0!important}
html body .pv.pvx .pv-kind{background:#2C2C2E!important;color:#98989F!important}
html body .pv.pvx .dots .dot{background:#2C2C2E!important;border:0!important;box-shadow:none!important}
html body .pv.pvx .dots .dot.done{background:#98989F!important}
html body .pv.pvx .dots .dot.cur{background:#C8102E!important}
.pvx-tm{display:flex;flex-direction:column;gap:6px}
.pvx-tm span{align-self:flex-end;font-weight:800;font-size:13px;color:#98989F}.pvx-tm b{color:#F5F5F7;font-size:16px}
.pvx-bar{height:12px;border-radius:6px;background:#2C2C2E;overflow:hidden}
.pvx-bar i{display:block;height:100%;width:100%;background:#C8102E;border-radius:6px}
.pvx-bar i.hurry{background:#FF453A;animation:pvxb .5s ease-in-out infinite alternate}
@keyframes pvxb{to{opacity:.55}}
.pvx-tm.hurry b{color:#FF453A}
html body[data-theme] .pv.pvx .pv-panel,html body .pv.pvx .pv-panel{background:none!important;box-shadow:none!important;margin:0!important;padding:0!important;flex:1;display:flex;flex-direction:column;gap:14px;min-height:0}
html body[data-theme] .pv.pvx .pv-panel .qbox{background:#1C1C1E!important;color:#F5F5F7!important;border:0!important;box-shadow:none!important;border-radius:26px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:24px!important;font-weight:900;padding:20px 16px;min-height:120px}
html body[data-theme] .pv.pvx .opts.kc,html body[data-theme] .pv.pvx .opts.kc.long{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin-top:auto}
html body[data-theme] .pv.pvx .opts.kc .opt:nth-child(n):not(.good):not(.bad){background:#2C2C2E!important;border:0!important;color:#F5F5F7!important;box-shadow:0 5px 0 #141416!important}
html body[data-theme] .pv.pvx .opts.kc .opt:nth-child(n){min-height:112px!important;border-radius:24px!important;border:0!important}
html body[data-theme] .pv.pvx .opts.kc .opt:nth-child(n):active{transform:translateY(3px);box-shadow:0 2px 0 #141416!important}
html body[data-theme] .pv.pvx .opts.kc .opt .txt{font-size:19px!important;font-weight:800}
html body[data-theme] .pv.pvx .opts.kc.long .opt .txt{font-size:16px!important}
html body[data-theme] .pv.pvx .opts .opt.good:nth-child(n){background:#1F9D55!important;color:#fff!important;box-shadow:0 5px 0 #136B38!important}
html body[data-theme] .pv.pvx .opts .opt.bad:nth-child(n){background:#C8102E!important;color:#fff!important;box-shadow:0 5px 0 #7A0A1C!important}
html body[data-theme] .pv.pvx .opts.kc.tf .opt.oc0 .letter.shp{color:#1F9D55!important}
html body[data-theme] .pv.pvx .opts.kc.tf .opt.oc1 .letter.shp{color:#FF453A!important}
html body[data-theme] .pv.pvx .opts.kc.tf .opt.good .letter.shp,html body[data-theme] .pv.pvx .opts.kc.tf .opt.bad .letter.shp{color:#fff!important}
html body[data-theme] .pv.pvx .opts.ord .opt.picked:not(.good):not(.bad){background:#3A3A3C!important;box-shadow:0 5px 0 #C8102E!important}
html body[data-theme] .pv.pvx .opts.ord .letter.shp{color:#fff!important;background:#C8102E!important;border-radius:50%}
html body[data-theme] .pv.pvx .ord-hint{color:#98989F!important}
html body .pv.pvx .pv-panel{position:relative}
html body .pv.pvx .pts-pop{position:absolute;left:0;right:0;top:50%;min-height:0;margin:0;z-index:3;pointer-events:none;font-size:26px;font-weight:900}
html body .pv.pvx .pts-pop.good{color:#30D158}html body .pv.pvx .pts-pop.bad{color:#FF453A}
html body[data-theme] .pv.pvx .pv-panel .qbox{flex:1 1 0;min-height:100px;overflow:auto}
html body[data-theme] .pv.pvx .opts.kc{flex:none;grid-auto-rows:minmax(104px,auto)}
html body[data-theme] .pv.pvx .opts.kc .opt:nth-child(n){min-height:104px!important}
html body[data-theme] .pv.pvx .opts.ord .letter.shp{background:transparent!important}
html body[data-theme] .pv.pvx .opts.ord .opt.picked .letter.shp{background:#C8102E!important}
html body[data-theme] .pv.pvx .opts.ord .opt:not(.picked):not(.good):not(.bad) .letter.shp{display:none!important}
html body .pv.pvx .pv-head{gap:6px}
html body .play.pv.pvx{padding-top:max(14px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}
html.pvmode body .play.pv.pvx{height:calc(100dvh - 48px - env(safe-area-inset-top));padding-top:10px}
/* v147: student screens in app theme (black + red), one look for all ages */
html body:not(.wide)[data-theme]{--bg:#000;--card:#1C1C1E;--ink:#F5F5F7;--muted:#98989F;--line:rgba(255,255,255,.12);--soft:#2C2C2E;--primary:#C8102E;--primary-dark:#8E0A0A;--accent:#C8102E;--accent-ink:#fff;color-scheme:dark;background:#000!important;color:#F5F5F7}
html body:not(.wide) .sh.pvx .s-hacts .av-btn{background:#1C1C1E!important;color:#F5F5F7!important;border:0!important;box-shadow:none!important;width:46px!important;height:46px!important}
html body:not(.wide) .sh.pvx .s-hacts .av-btn svg{width:22px;height:22px}
html body:not(.wide) .sh.pvx .comp,html body:not(.wide) .sh.pvx .rows.card,html body:not(.wide) .sh.pvx .card{background:#1C1C1E!important;color:#F5F5F7!important;border:0!important}
html body:not(.wide) .sh.pvx .btn.ghost{background:#2C2C2E!important;color:#F5F5F7!important;border:0!important;box-shadow:none!important}
html body:not(.wide) .sh.pvx .sp-play{background:#C8102E!important;color:#fff!important;box-shadow:0 10px 0 #7A0A1C,0 0 0 14px rgba(200,16,46,.14)!important}
html body:not(.wide) .sh.pvx .sp-play:active{box-shadow:0 4px 0 #7A0A1C,0 0 0 14px rgba(200,16,46,.14)!important}
html body:not(.wide) .sh.pvx .bdg{background:#1C1C1E!important;border-color:transparent!important}
html body:not(.wide) .sh.pvx .bdg.on{background:color-mix(in srgb,#C8102E 16%,#1C1C1E)!important;border:2px solid #C8102E!important}
html body:not(.wide) .sh.pvx .s-me-av{background:#C8102E!important;color:#fff!important}
html body:not(.wide) .modal{background:#1C1C1E!important;color:#F5F5F7}
.s-prof{display:flex;flex-direction:column;gap:12px}.s-prof h3{margin:0}
.sp-rows{background:#2C2C2E;border-radius:18px;overflow:hidden}
.sp-rows .r{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;border-bottom:1px solid rgba(255,255,255,.08)}.sp-rows .r:last-child{border-bottom:0}
.sp-rows .r span{color:#98989F;font-weight:700}.sp-rows .r b{font-weight:800}
.s-prof .code-pill{background:#1C1C1E!important;box-shadow:none!important}
html body:not(.wide) .modal .btn.soft{background:#2C2C2E!important;color:#F5F5F7!important;box-shadow:none!important;border:0!important}
/* v150 answer review (Khalid ❤ preview): mistakes first, correct folded */
.rv2-h{font-weight:900;font-size:17px;margin:8px 4px 0;display:flex;align-items:center;gap:8px}.rv2-h span{background:#C8102E;color:#fff;border-radius:12px;min-width:26px;height:26px;display:grid;place-items:center;font-size:14px;padding:0 8px}
.rv2-w{background:#1C1C1E;border-radius:20px;padding:14px 16px;border-inline-start:5px solid #C8102E;margin-top:10px}
.rv2-w p{margin:0 0 10px;font-weight:800;font-size:17px;line-height:1.5;color:#F5F5F7}
.rv2-l{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;font-weight:800;font-size:15.5px}.rv2-l+.rv2-l{margin-top:6px}
.rv2-l i{font-style:normal;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:13px;flex:none;color:#fff}
.rv2-l small{color:#98989F;font-weight:700;margin-inline-start:auto;font-size:12.5px}
.rv2-l.no{background:rgba(200,16,46,.12);color:#FF6B7A}.rv2-l.no i{background:#C8102E}.rv2-l.no b{text-decoration:line-through;text-decoration-thickness:2px}.rv2-l.no b.nt{text-decoration:none}
.rv2-l.ok{background:rgba(31,157,85,.14);color:#4ADE80}.rv2-l.ok i{background:#1F9D55}
.rv2-dr{width:100%;min-height:50px;border-radius:16px;border:0;background:#1C1C1E;color:#F5F5F7;font:800 15.5px Cairo,system-ui,sans-serif;margin-top:12px;cursor:pointer}
.rv2-all{background:#1C1C1E;border-radius:20px;padding:20px;text-align:center;font-weight:900;font-size:19px;color:#F5F5F7}.rv2-all small{display:block;color:#98989F;font-weight:700;font-size:14px}
.rv2-ok{background:#1C1C1E;border-radius:20px;overflow:hidden;margin-top:12px;color:#F5F5F7}
.rv2-ok summary{list-style:none;min-height:54px;padding:0 16px;display:flex;align-items:center;gap:10px;font-weight:800;font-size:16px;cursor:pointer}.rv2-ok summary::-webkit-details-marker{display:none}
.rv2-ok summary i{font-style:normal;width:26px;height:26px;border-radius:50%;background:#1F9D55;color:#fff;display:grid;place-items:center;font-size:14px}
.rv2-ok summary em{font-style:normal;margin-inline-start:auto;color:#98989F;transition:transform .2s}.rv2-ok[open] summary em{transform:rotate(-90deg)}
.rv2-g{padding:10px 16px;border-top:1px solid rgba(255,255,255,.08);font-weight:700;font-size:15px}.rv2-g small{display:block;color:#4ADE80;font-weight:800}
.rv2-done{margin-top:14px}
/* v150: student buttons flat red like the dialog (Khalid), pure black bg */
html:has(body:not(.wide)),html body:not(.wide)[data-theme]{background:#000!important}
html body:not(.wide) .btn:not(.ghost):not(.soft):not(.danger){background:#C8102E!important;color:#fff!important;border:0!important;box-shadow:0 5px 0 #8E0B21!important;border-radius:18px!important}
html body:not(.wide) .btn:not(.ghost):not(.soft):not(.danger):active{transform:translateY(3px);box-shadow:0 2px 0 #8E0B21!important}
html body:not(.wide) .btn::after{display:none!important}
html body:not(.wide) .btn.soft,html body:not(.wide) .btn.ghost{background:#2C2C2E!important;color:#F5F5F7!important;border:0!important;box-shadow:none!important;border-radius:18px!important}
/* v152 student avatar */
html body:not(.wide) .sh.pvx .s-me-av{position:relative;border:0;cursor:pointer;font:inherit;font-weight:900}
html body:not(.wide) .sh.pvx .s-me-av.em{background:#2C2C2E!important;font-size:46px!important;box-shadow:0 0 0 3px #C8102E}
.s-av-ed{position:absolute;bottom:-2px;left:-2px;width:28px;height:28px;border-radius:50%;background:#C8102E;border:3px solid #1C1C1E;display:grid;place-items:center;font-size:12px}
.s-avs{display:flex;flex-direction:column;gap:12px}.s-avs h3{margin:0}
.s-avg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.s-avg button{aspect-ratio:1;min-width:0;border-radius:20px;background:#2C2C2E;border:3px solid transparent;font-size:32px;display:grid;place-items:center;cursor:pointer}
.s-avg button.on{border-color:#C8102E;background:color-mix(in srgb,#C8102E 18%,#2C2C2E)}
.lbx-em{font-size:1.5em;line-height:1}.lbx-ea{font-size:22px;flex:none}
/* v153 prizes */
.nw .pz-row{margin:10px 0 0}
.ce1 .pz-row{margin-top:2px}
.pz-sh .pz-n{color:var(--muted);font-weight:700;font-size:14px;margin:-4px 0 12px}
.pz-f{display:flex;align-items:center;gap:10px;margin-bottom:10px}.pz-f span{font-size:26px}.pz-f .input{flex:1}
.pz-sh .btn{width:100%;margin-top:4px}.pz-del{display:block;margin:10px auto 0;color:var(--muted)}
.sp-prize{display:flex;flex-direction:column;gap:4px;background:#1C1C1E;border:1.5px solid rgba(245,183,43,.45);border-radius:18px;padding:10px 14px;text-align:center;font-weight:800;font-size:15px;color:#F5F5F7}
.sp-prize b{color:#F5B72B}
.rs2-pz{margin-top:8px;display:flex;flex-direction:column;gap:2px;font-size:14px;font-weight:700;opacity:.95}
/* v154 badges with levels */
.bg2-h{display:flex;align-items:baseline;gap:8px;margin:0 4px 14px}.bg2-h b{font-size:28px;font-weight:900}.bg2-h span{color:#98989F;font-weight:800}
.bg2-next{background:linear-gradient(135deg,#C8102E,#8E0B21);color:#fff;border-radius:22px;padding:14px 16px;display:flex;align-items:center;gap:12px;margin-bottom:14px;text-align:start}
.bg2-next .bg2-md{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:28px;flex:none}
.bg2-next b{display:block;font-size:17px;font-weight:900}.bg2-next small{font-weight:700;opacity:.9}
.bg2-nb{height:8px;border-radius:4px;background:rgba(255,255,255,.25);margin-top:6px;overflow:hidden}.bg2-nb i{display:block;height:100%;background:#fff;border-radius:4px}
.bg2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bg2{background:#1C1C1E;color:#F5F5F7;border-radius:22px;padding:14px 12px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;min-height:186px;position:relative;border:2px solid transparent;font:inherit;min-width:0;cursor:pointer}
.bg2 .bg2-md{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;font-size:32px;background:#2C2C2E;margin-bottom:4px;position:relative}
.bg2.off .bg2-md{filter:grayscale(1);opacity:.45}
.bg2 b{font-size:16px;font-weight:900}
.bg2 small{color:#98989F;font-weight:700;font-size:12.5px;line-height:1.4;min-height:35px}
.bg2-bar{width:100%;height:8px;border-radius:4px;background:#2C2C2E;overflow:hidden;margin-top:auto}.bg2-bar i{display:block;height:100%;background:#C8102E;border-radius:4px}
.bg2-cnt{font-size:12.5px;font-weight:800;color:#98989F}
.bg2.on{border-color:#C8102E;background:color-mix(in srgb,#C8102E 10%,#1C1C1E)}
.bg2.on .bg2-md{background:color-mix(in srgb,#C8102E 22%,#2C2C2E)}
.bg2-ok{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:50%;background:#1F9D55;color:#fff;display:grid;place-items:center;font-size:13px;font-weight:900}
.bg2-lv{position:absolute;bottom:-4px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:900;padding:0 7px;border-radius:8px;color:#000;white-space:nowrap;line-height:1.6}
.bg2-lv.br,.bg2-tier i.br,.bg2-steps i.br{background:#D08B4A}.bg2-lv.sv,.bg2-tier i.sv,.bg2-steps i.sv{background:#C9CED6}.bg2-lv.gd,.bg2-tier i.gd,.bg2-steps i.gd{background:#F5B72B}
.bg2-tier{display:flex;gap:4px;justify-content:center;margin-top:2px}.bg2-tier i{width:10px;height:10px;border-radius:50%;background:#3A3A3C}
.bg2-st{color:#98989F;text-align:center;font-weight:700;margin-top:14px}
.bg2-ds{text-align:center}.bg2-ds .bg2-md.big{width:84px;height:84px;border-radius:50%;background:#2C2C2E;display:grid;place-items:center;font-size:44px;margin:0 auto 8px}
.bg2-ds h3{margin:0;font-size:22px}.bg2-ds p{color:#98989F;font-weight:700;margin:4px 0 14px}
.bg2-steps{display:flex;flex-direction:column;gap:8px;text-align:start;margin-bottom:16px}
.bg2-steps div{display:flex;align-items:center;gap:10px;background:#2C2C2E;border-radius:14px;padding:10px 12px;font-weight:800;color:#F5F5F7}
.bg2-steps i{width:14px;height:14px;border-radius:50%;flex:none}.bg2-steps i.rd{background:#C8102E}
.bg2-steps small{margin-inline-start:auto;color:#98989F;font-weight:700}.bg2-steps .done small{color:#4ADE80}
.bg2-win{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;padding:20px;overflow:hidden;color:#F5F5F7}
.bg2-wb{width:100%;max-width:340px;display:flex;flex-direction:column;gap:12px}
.bg2-stk{position:relative;height:330px;margin-top:72px;animation:bg2pop .45s cubic-bezier(.2,1.4,.4,1)}
@keyframes bg2pop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
.bg2-c{position:absolute;left:0;right:0;top:0;transform-origin:50% 0;background:#1C1C1E;border:1px solid #2C2C2E;border-radius:28px;padding:26px 20px 20px;text-align:center;box-shadow:0 10px 30px rgba(0,0,0,.5);cursor:grab;user-select:none;-webkit-user-select:none}
.bg2-c>*{transition:opacity .35s .15s,transform .45s .15s cubic-bezier(.2,1.5,.4,1)}.bg2-c.bk>*{opacity:0;transform:scale(.5)}
.bg2-glow{width:130px;height:130px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;font-size:70px;background:radial-gradient(circle,color-mix(in srgb,#C8102E 45%,#2C2C2E),#2C2C2E 70%);position:relative;animation:bg2sp 2.5s ease-in-out infinite}
@keyframes bg2sp{50%{transform:scale(1.06)}}
.bg2-glow .bg2-lv{bottom:2px;font-size:12px;padding:1px 10px}
.bg2-c small{color:#98989F;font-weight:800;font-size:14px}.bg2-c h3{margin:4px 0 2px;font-size:24px}.bg2-c p{color:#98989F;font-weight:700;margin:0 0 16px}
.bg2-hint{text-align:center;color:#98989F;font-weight:800;font-size:13px;margin-top:18px}
.bg2-dots{display:flex;gap:6px;justify-content:center;min-height:8px}.bg2-dots i{width:8px;height:8px;border-radius:4px;background:#3A3A3C;transition:.2s}.bg2-dots i.on{width:22px;background:#C8102E}
.bg2-two{display:flex;gap:10px}.bg2-two button{flex:1;min-height:52px;border-radius:18px;font:inherit;font-weight:900;font-size:16px;border:0;cursor:pointer}
.bg2-two .g{background:#2C2C2E;color:#F5F5F7}.bg2-two .r{background:#C8102E;color:#fff;box-shadow:0 5px 0 #8E0B21}
.bg2-cf{position:absolute;top:-10px;width:9px;height:14px;border-radius:2px;animation:bg2fall linear forwards}
@keyframes bg2fall{to{transform:translateY(110vh) rotate(720deg)}}
/* v156: first screen black; «أنا معلم؟» pinned at the bottom as a clear button */
html body .sh.sl.sl-red{min-height:100dvh!important;display:flex!important;flex-direction:column!important;box-sizing:border-box}
html body .sh.sl.sl-red>.pad{flex:1 1 auto!important;display:flex!important;flex-direction:column!important}
html body .sl.sl-red .sl-t{margin-top:auto;padding:24px 0 calc(10px + env(safe-area-inset-bottom))}
html body .sl.sl-red .sl1-t{width:100%;min-height:54px;border:0;border-radius:18px;background:#1C1C1E!important;color:#F5F5F7!important;font:inherit;font-weight:800;font-size:16px;opacity:1;cursor:pointer}
html body .sl.sl-red .sl1-t b{color:#fff!important;text-decoration:none}
/* v156: long-press on the code boxes shows the system «Paste» (input stays visible to iOS but its text is transparent) */
html body .sl .code-input{opacity:1!important;color:transparent!important;-webkit-text-fill-color:transparent;caret-color:transparent;background:transparent!important;border:0!important;outline:0;-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
html body .sh.sl.sl-red{padding-bottom:0!important}
html body .sl .code-input:focus,html body .sl .code-input:focus-visible{outline:none!important;box-shadow:none!important}
/* v161 new challenge: pick several subjects */
.nw-lbl{font-weight:900;color:var(--muted);font-size:14px;margin:14px 4px 8px}
.nw-tile.nw-mt{position:relative}
.nw-ck{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:50%;border:2px solid color-mix(in srgb,var(--ink) 25%,transparent);display:grid;place-items:center;font-size:13px;font-weight:900}
.nw-tile.on .nw-ck{background:var(--primary);border-color:var(--primary);color:#fff}
.nw-tile.off{opacity:.45}
.cp-many{display:block;width:100%;margin-top:10px;min-height:48px;border:0;border-radius:16px;background:var(--card);color:var(--ink);font:inherit;font-weight:800;font-size:15px;cursor:pointer}
/* v165-166: teacher tab bar = frosted glass (strong blur so text behind is not readable) */
html body.wide .t-nav{background:rgba(255,255,255,.72)!important;-webkit-backdrop-filter:blur(28px) saturate(180%)!important;backdrop-filter:blur(28px) saturate(180%)!important;box-shadow:0 6px 24px rgba(0,0,0,.18),inset 0 0 0 1px rgba(255,255,255,.5)!important}
html body.wide.dark .t-nav{background:rgba(28,28,30,.7)!important;box-shadow:0 8px 28px rgba(0,0,0,.6),inset 0 0 0 1px rgba(255,255,255,.1),inset 0 1px 0 rgba(255,255,255,.12)!important}
html body.wide .t-body{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
/* v167: bring back the liquid-glass lens under the active tab (hidden since v88) */
html body.wide .t-nav .lens{display:block!important;top:4px;bottom:4px}
html body.wide.dark .t-nav .lens{background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.07))}
/* v168: practice = a real button (Khalid: link looked like text) */
.sp-low .sp-prac{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:340px;min-height:56px;border:1.5px solid #48484A;border-radius:18px;background:#2C2C2E;color:#F5F5F7;font:inherit;font-weight:900;font-size:17px;box-shadow:0 5px 0 #0E0E10;cursor:pointer}
.sp-low .sp-prac span{font-size:22px}
.sp-low .sp-prac:active{transform:translateY(3px);box-shadow:0 2px 0 #0E0E10}
/* v169: answer dots show right/wrong, combo pop, lose = review is the main action */
html body .pv.pvx .dots .dot.done.ok{background:#30D158!important}
html body .pv.pvx .dots .dot.done.no{background:#FF453A!important}
.pts-pop.good.combo{animation:pop3d .45s;letter-spacing:0}
.result.is-lose .rv2-dr{background:#C8102E;color:#fff;box-shadow:0 5px 0 #8E0B21}
/* v171 box + class goal */
.bx{display:inline-block;font-size:72px;line-height:1}
.bx-lock{filter:grayscale(.6) brightness(.8);animation:bxw 3s infinite}
.bx-ready{animation:bxb 1.2s infinite}
.bx-shake{animation:bxs .25s infinite}
.bx-pop{animation:bxp .6s cubic-bezier(.2,1.6,.4,1)}
@keyframes bxw{0%,85%,100%{transform:rotate(0)}89%{transform:rotate(-8deg)}93%{transform:rotate(8deg)}97%{transform:rotate(-4deg)}}
@keyframes bxb{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes bxs{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(10deg)}}
@keyframes bxp{0%{transform:scale(.2)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.bx{animation:none!important}}
.sp-open{width:100%;min-height:54px;border:0;border-radius:16px;background:#C8102E;color:#fff;font:800 18px Cairo,system-ui,sans-serif;box-shadow:0 5px 0 #8E0B21;cursor:pointer}
.bx-note{margin:0;font-size:14px;opacity:.8}
.goal{width:100%;max-width:360px;margin-top:12px;background:#1C1C1E;color:#F5F5F7;border-radius:18px;padding:12px 16px;box-sizing:border-box}
.goal-t{display:flex;justify-content:space-between;align-items:center;font-size:15px}
.goal-t span{opacity:.75;font-weight:700}
.goal-bar{position:relative;height:10px;background:#2C2C2E;border-radius:99px;margin:8px 0 6px;overflow:visible}
.goal-bar i{position:absolute;right:0;top:0;bottom:0;background:#30D158;border-radius:99px;transition:width .8s}
.goal-bar em{position:absolute;top:-3px;bottom:-3px;width:2px;background:#F5B72B;border-radius:2px}
.goal small{opacity:.75;font-size:13px}
.s-avh{margin:14px 0 6px;font-size:15px}
.s-avg button.lk{opacity:.35}
/* v173 admin metrics */
.ad-bars{display:flex;gap:4px;align-items:flex-end;height:90px;margin:12px 0 4px;padding:0 2px}
.ad-bars div{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px}
.ad-bars i{display:block;width:100%;min-height:2px;background:#C8102E;border-radius:4px 4px 0 0}
.ad-bars small{font-size:10px;opacity:.6}
/* v174 week star */
.ch-star{display:flex;gap:12px;align-items:center;width:100%;text-align:start;margin:10px 0;padding:12px 14px;border:0;border-radius:18px;background:linear-gradient(135deg,rgba(245,183,43,.18),rgba(245,183,43,.06));color:inherit;font:inherit;cursor:pointer}
.ch-star-i{font-size:34px}.ch-star b{display:block;font-size:17px}.ch-star small{display:block;opacity:.75;font-size:12.5px}
.wk-star{display:flex;gap:10px;align-items:center;margin-top:10px;background:#1C1C1E;color:#F5F5F7;border-radius:18px;padding:10px 14px;width:100%;max-width:360px;box-sizing:border-box}
.wk-star span{font-size:30px}.wk-star small{display:block;opacity:.7;font-size:12.5px}.wk-star b{font-size:16px}
.wk-star.me{background:linear-gradient(135deg,#7a5a00,#1C1C1E);box-shadow:0 0 0 2px #F5B72B inset}
/* v175 reminder */
.sp-bell{border:0;background:transparent;color:inherit;opacity:.8;font:700 14px Cairo,system-ui,sans-serif;text-decoration:underline;cursor:pointer;padding:4px}
.push-steps{text-align:start;line-height:2;margin:8px 0 16px;padding-inline-start:20px}
/* v176 level */
.sp-lvl{border:0;font:inherit;color:inherit;cursor:pointer}
.lvl-up{font-size:56px;font-weight:900;color:#F5B72B;line-height:1.1}
.lvl-bar{margin:12px 0}
/* v177 reminder time */
.cf3-time{background:transparent;border:0;color:inherit;font:700 16px Cairo,system-ui,sans-serif;direction:ltr;min-width:96px;text-align:end}
/* v179 compact student home after the round (Khalid: practice was hidden below) */
.sp-pills{gap:6px;padding:0 16px}
.sp-pill{white-space:nowrap;font-size:13.5px;padding:7px 11px;gap:4px}
.sp .sp-mid{gap:10px;padding:10px 16px}
.sp-done{padding:16px 16px 12px;gap:8px}
.sp-done>b{font-size:21px;line-height:1.3}
.sp-done .bx{font-size:52px}
.sp-done .sp-emo{font-size:48px}
.sp-done .goal{margin-top:2px;padding:8px 12px;background:#2C2C2E;border-radius:14px;max-width:none}
.sp-done .goal-t{font-size:13.5px;gap:8px}
.sp-done .goal-bar{height:7px;margin:6px 0 2px;background:#1C1C1E}
.sp-bell{font-size:13px}
/* v181 pick students on the challenge page */
.ch-lh{display:flex;justify-content:space-between;align-items:center;margin:14px 4px 6px}
.ch-lh .link{font-weight:800;font-size:15px}
.cp-list.picking .cp-row{cursor:pointer}
.ch-ck{width:24px;height:24px;flex:none;border-radius:50%;border:2px solid var(--line);display:flex;align-items:center;justify-content:center;font-style:normal;font-size:13px;color:transparent}
.cp-row.on .ch-ck{background:#C8102E;border-color:#C8102E;color:#fff}
.cp-list.picking .cp-row.dim{opacity:1}
.ch-sendbar{position:sticky;bottom:calc(84px + env(safe-area-inset-bottom));padding:10px 0;z-index:5}
.ch-sendbar .btn{width:100%;box-shadow:0 6px 20px rgba(0,0,0,.35)}
/* v182 next-round countdown stands out */
.sp-cd{display:flex;flex-direction:column;align-items:center;gap:2px;background:#2C2C2E;border-radius:16px;padding:8px 22px}
.sp-cd small{font-size:12.5px;opacity:.7;font-weight:700}
.sp-cd b{font-size:30px;font-weight:900;color:#F5B72B;direction:ltr;font-variant-numeric:tabular-nums;letter-spacing:1px;line-height:1.15}
/* v183 answer colour stripes, live points, rotating line */
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt{position:relative;overflow:hidden}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt::before{content:"";position:absolute;top:0;bottom:0;right:0;width:7px}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt.oc0::before{background:#FF453A}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt.oc1::before{background:#0A84FF}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt.oc2::before{background:#FFD60A}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt.oc3::before{background:#30D158}
html body[data-theme] .pv.pvx .opts.kc .opt.good::before,html body[data-theme] .pv.pvx .opts.kc .opt.bad::before,html body[data-theme] .pv.pvx .opts.kc .opt.dim::before{opacity:0}
.pv-pts{display:inline-block;margin-top:4px;color:#F5B72B;font-weight:900;font-size:15px;font-variant-numeric:tabular-nums}
.pv-pts.bump{animation:bxp .45s cubic-bezier(.2,1.6,.4,1)}
/* v184 stage tone */
html body[data-stage=p][data-theme] .pv.pvx .pv-panel .qbox{font-size:24px}
html body[data-stage=p][data-theme] .pv.pvx .opts.kc .opt .txt{font-size:20px!important}
html body[data-stage=p][data-theme] .pv.pvx .opts.kc.long .opt .txt{font-size:17px!important}
html body[data-stage=s][data-theme] .pv.pvx .pv-panel .qbox{font-size:20px}
html body[data-stage=s][data-theme] .pv.pvx .opts.kc .opt .txt{font-size:17px!important}
html body[data-stage=s][data-theme] .pv.pvx .opts.kc.long .opt .txt{font-size:15px!important}
/* v185 staged result, avatar in round, level frame */
.result .rs-st2{opacity:0;animation:rsIn .4s ease-out 1.4s forwards}
.result .rs-st3,.result .s-up{opacity:0;animation:rsIn .4s ease-out 2.6s forwards}
@keyframes rsIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.result .rs-st2,.result .rs-st3,.result .s-up{opacity:1;animation:none}}
.pv-av{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#1C1C1E;font-size:20px;margin:4px 6px 0;vertical-align:middle;box-shadow:0 0 0 2px #48484A}
.pv-av.hop{animation:avHop .5s cubic-bezier(.3,1.8,.5,1)}
.pv-av.nope{animation:avNo .4s}
@keyframes avHop{0%,100%{transform:translateY(0)}40%{transform:translateY(-12px) scale(1.15)}}
@keyframes avNo{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.fr-b{box-shadow:0 0 0 3px #B0723A!important}
.fr-s{box-shadow:0 0 0 3px #C7CDD4!important}
.fr-g{box-shadow:0 0 0 3px #F5B72B,0 0 14px rgba(245,183,43,.45)!important}
/* v186 fixes: stars colour in dark, filled from the right; uniform answer dots */
.stars-row{direction:rtl}
body:not(.wide) .star-s.on{color:#F5B72B}
body.dark:not(.wide) .star-s:not(.on){color:#3A3A3C;filter:none}
html body .pv.pvx .dots .dot,html body .pv.pvx .dots .dot.cur,html body .pv.pvx .dots .dot.done{width:14px!important;height:14px!important;border-radius:50%!important;animation:none!important}
html body .pv.pvx .dots .dot.cur:not(.done){box-shadow:0 0 0 3px rgba(200,16,46,.35)!important}
/* v187: clearer text + calmer colours on student screens (badges first) */
body:not(.wide){-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body:not(.wide) .sh{letter-spacing:0}
body:not(.wide) .sh b,body:not(.wide) .sh h1,body:not(.wide) .sh h2,body:not(.wide) .sh h3{font-weight:800}
.bg2-h b{font-weight:800}.bg2-h span{color:#C7C7CC;font-weight:600}
.bg2 b,.bg2-next b{font-weight:800;color:#FFFFFF}
.bg2 small,.bg2-cnt,.bg2-st,.bg2-ds p,.bg2-c small,.bg2-c p,.bg2-hint,.bg2-steps small{color:#C7C7CC!important;font-weight:600}
.bg2 small{font-size:13.5px;line-height:1.5}
.bg2-cnt{font-size:13.5px;font-variant-numeric:tabular-nums}
/* one surface colour for all cards; earned = gold tick only, no red frame/tint */
.bg2,.bg2.on{background:#1C1C1E;border:1px solid #2C2C2E}
.bg2.on .bg2-md{background:#2C2C2E}
.bg2.off .bg2-md{opacity:.6}
.bg2-ok{background:#F5B72B;color:#000}
/* progress = gold everywhere (reward colour); red only for buttons */
.bg2-bar{background:#3A3A3C}.bg2-bar i{background:#F5B72B}
.bg2-next{background:#1C1C1E;border:1px solid #2C2C2E;color:#fff}
.bg2-next .bg2-md{background:#2C2C2E}
.bg2-next small{opacity:1;color:#C7C7CC}
.bg2-nb{background:#3A3A3C}.bg2-nb i{background:#F5B72B}
.bg2-tier i{background:#48484A}
/* bottom bar: neutral dark, readable labels */
body.dark .s-nav,body:not(.wide) .s-nav{background:#1C1C1E;border:1px solid #2C2C2E;box-shadow:0 6px 24px rgba(0,0,0,.6)}
body:not(.wide) .s-nav button{color:#AEAEB2;font-weight:700;font-size:13px}
body:not(.wide) .s-nav .i{opacity:.75}
body:not(.wide) .s-nav button.on{color:#fff}
body:not(.wide) .s-nav button.on .i{opacity:1}
/* v188: generic .ok/.no classes added padding to answered dots */
html body .pv.pvx .dots .dot{padding:0!important;font-size:0!important;flex:none!important;box-sizing:border-box!important}
/* v192: class name is typed directly (no pencil); sheets rise above the iOS keyboard */
.nc2-name{cursor:text}.nc2-name .grow{min-width:0}
.nc2-inp{display:block;width:100%;border:0;background:transparent;padding:2px 0 0;font:inherit;font-size:22px;font-weight:800;color:var(--ink);outline:0}
.nc2-inp::placeholder{color:var(--muted);font-weight:700;font-size:18px}
.nc2-name:focus-within{border-color:var(--primary)}
.modal-back .modal{margin-bottom:var(--kb,0px);max-height:calc(88dvh - var(--kb,0px));transition:margin-bottom .2s}
.nc2-all{display:block;margin:-4px 0 8px auto;font-size:13px;color:var(--muted)}
/* v194: onboarding as a round (same dark play look) */
#ob{background:#000!important;color:#fff;--card:#1C1C1E;--ink:#fff;--muted:#C7C7CC;--soft:#2C2C2E;--line:#2C2C2E}
.obr{gap:12px;margin-top:6px;min-height:calc(100dvh - 40px)}
.obr-top{display:flex;align-items:center;justify-content:space-between}
.obr-pill{background:#1C1C1E;border-radius:999px;padding:6px 16px;font-weight:800;font-size:15px}
.obr-pts{color:#F5B72B;font-weight:800;font-size:17px;font-variant-numeric:tabular-nums}
.obr-dots{display:flex;gap:8px;justify-content:center}.obr-dots i{width:14px;height:14px;border-radius:50%;background:#2C2C2E}.obr-dots i.ok{background:#30D158}.obr-dots i.cur{background:#C8102E;box-shadow:0 0 0 3px rgba(200,16,46,.35)}
.obr-bar{height:10px;border-radius:5px;background:#2C2C2E;overflow:hidden}.obr-bar i{display:block;height:100%;background:#C8102E;border-radius:5px;transition:width .4s}
.obr-q{background:#1C1C1E;border-radius:24px;padding:24px 16px;text-align:center;font-size:24px;font-weight:800;line-height:1.45}
.obr-q small{display:block;font-size:14px;color:#C7C7CC;font-weight:600;margin-top:4px}
#ob .ob-t{background:#2C2C2E;border:0;box-shadow:0 5px 0 #151517;min-height:76px}
#ob .ob-t:active{transform:translateY(3px);box-shadow:0 2px 0 #151517}
#ob .ob-t.on{background:#30D158;color:#00230c;box-shadow:0 5px 0 #1f8a3e}#ob .ob-t.on::after{display:none}
#ob .ob-g.g3{grid-template-columns:repeat(3,1fr)}#ob .ob-g.g4{grid-template-columns:repeat(4,1fr)}
#ob .obr-sec b{font-size:24px}
#ob .btn{background:#C8102E;color:#fff;box-shadow:0 5px 0 #8E0B21;border:0;min-height:56px;font-size:18px;font-weight:800;border-radius:18px}
#ob .btn.soft{background:#1C1C1E;box-shadow:none;font-size:16px}
#ob .btn:disabled{opacity:.35}
.obr-go{margin-top:auto}
.obr-pop{position:fixed;left:50%;top:38%;transform:translate(-50%,-50%);font-size:30px;font-weight:800;color:#F5B72B;pointer-events:none;opacity:0;white-space:nowrap;z-index:2}
.obr-pop.go{animation:obrpop .9s ease-out}
@keyframes obrpop{0%{opacity:0;transform:translate(-50%,-30%) scale(.6)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.1)}100%{opacity:0;transform:translate(-50%,-110%)}}
.obr-hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding-top:8px}
.obr-hero h2{margin:0;font-size:28px}.obr-hero p{margin:0;color:#C7C7CC;font-weight:600}
.obr-stars{font-size:32px}.obr-big{font-size:60px;line-height:1}
.obr-code{font-size:42px;font-weight:800;letter-spacing:6px;color:#F5B72B;background:#1C1C1E;border-radius:20px;padding:8px 22px}
.obr-sum{background:#1C1C1E;border-radius:20px;padding:2px 16px}
.obr-row{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;border-bottom:1px solid #2C2C2E;color:#fff;font:inherit;padding:12px 0;cursor:pointer;text-align:start}
.obr-row:last-child{border:0}.obr-row span{color:#C7C7CC;font-weight:600;width:64px;flex:none}.obr-row b{flex:1;font-weight:800;min-width:0}.obr-row i{font-style:normal;color:#F5B72B;font-size:13px;font-weight:700}
.obr-more{display:flex;flex-direction:column;gap:8px;background:#1C1C1E;border-radius:20px;padding:14px}
.obr-more label{color:#C7C7CC;font-weight:700;font-size:14px}
#ob .ob-in{background:#2C2C2E;border:0;color:#fff}
.obr-more .ob-t{min-height:50px!important}.obr-more .ob-t b{font-size:14px}
@media (prefers-reduced-motion:reduce){.obr-pop.go{animation:none}}
/* v195: multi-select is obvious: a tick box on every tile + count on the button */
.obr-multi{display:inline-block;margin-top:6px;color:#F5B72B;font-weight:800;font-size:15px}
#ob .obr-chk .ob-t{position:relative}
#ob .obr-chk .ob-t::before{content:"";position:absolute;top:8px;right:8px;width:22px;height:22px;border-radius:7px;border:2px solid #636366;box-sizing:border-box}
#ob .obr-chk .ob-t.on::before{content:"✓";border-color:#00230c;background:#00230c;color:#30D158;font-size:14px;font-weight:900;display:grid;place-items:center}
.obr-demo{display:block;margin:0 auto 6px;border:0;background:#2C2C2E;color:#C7C7CC;font:inherit;font-weight:700;font-size:13px;border-radius:999px;padding:4px 12px;cursor:pointer}
.ad-del{display:block;margin:14px auto 0;color:#FF453A;font-weight:700}
.ad-ob{width:100%;margin:0 0 12px}
.s-me-o>button:last-child:nth-child(odd){grid-column:1/-1}
/* v201: phones in landscape → ask to rotate (iOS ignores manifest orientation)  · v500: phones only (560–950px wide): an iPad with the keyboard open is short too and showed this by mistake */
@media (orientation:landscape) and (max-height:500px) and (min-width:560px) and (max-width:950px) and (pointer:coarse){
  body::after{content:"📱\A لف جوالك للوضع العامودي";white-space:pre;position:fixed;inset:0;z-index:99999;background:#000;color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;font:800 22px/1.8 'Cairo',system-ui,sans-serif}
}
/* v202: onboarding round polish: round dots, centred last row, sticky next button */
html body .obr-dots i{padding:0!important;flex:none;border-radius:50%!important;width:14px!important;height:14px!important}
#ob .ob-g{display:flex!important;flex-wrap:wrap;justify-content:center;gap:10px}
#ob .ob-g>.ob-t{flex:0 0 calc(50% - 5px);box-sizing:border-box}
#ob .ob-g.g3>.ob-t{flex-basis:calc(33.333% - 7px)}
#ob .obr-go{position:sticky;bottom:calc(10px + env(safe-area-inset-bottom));z-index:3}
#ob .obr-go:not(.soft){box-shadow:0 5px 0 #8E0B21,0 -10px 24px 10px #000}
.obr{padding-bottom:20px}
/* v203 (Khalid «تمام»): answer colour = rounded inner corner (like the new icon), not a side stripe */
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt{overflow:hidden}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt::before{top:auto!important;bottom:auto;left:auto;right:auto;width:46px!important;height:46px;border-radius:50%}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(1)::before{bottom:-23px;left:-23px}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(2)::before{bottom:-23px;right:-23px}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(3)::before{top:-23px!important;left:-23px}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(4)::before{top:-23px!important;right:-23px}
html body[data-theme] .pv.pvx .opts .opt.good::before,html body[data-theme] .pv.pvx .opts .opt.bad::before{opacity:0}
/* v204: inner corner less rounded so the colour shows as a true quarter circle (was a leaf) */
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(1){border-bottom-left-radius:10px!important}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(2){border-bottom-right-radius:10px!important}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(3){border-top-left-radius:10px!important}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(4){border-top-right-radius:10px!important}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord),html body[data-theme] .pv.pvx .opts.kc.long:not(.tf):not(.ord){gap:6px!important}
/* v207: bigger corner colours */
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt::before{width:64px!important;height:64px!important}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(1)::before{bottom:-32px;left:-32px}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(2)::before{bottom:-32px;right:-32px}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(3)::before{top:-32px!important;left:-32px}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(4)::before{top:-32px!important;right:-32px}
/* v208: 3-2-1 like a start light: 3 red, 2 yellow, 1 green */
html body .cin-n[data-n="3"]{color:#FF453A!important;text-shadow:0 0 40px rgba(255,69,58,.45)}
html body .cin-n[data-n="2"]{color:#FFD60A!important;text-shadow:0 0 40px rgba(255,214,10,.4)}
html body .cin-n[data-n="1"]{color:#30D158!important;text-shadow:0 0 40px rgba(48,209,88,.45)}

/* v210 centred small dialog (push prompt), like iOS system alerts */
.modal-back.mid{align-items:center;padding:24px}
.modal-back.mid .modal{max-width:320px;border-radius:22px;padding:26px 20px 18px;margin-bottom:0;animation:midIn .22s cubic-bezier(.2,.9,.3,1.2)}
.modal-back.mid .modal-x{display:none}
.modal-back.mid .lvl-up{font-size:44px;margin-bottom:4px}
.modal-back.mid .btn{width:100%;margin-top:8px}
@keyframes midIn{from{opacity:0;transform:scale(.88)}to{opacity:1;transform:none}}

/* v211 teacher tab bar: line icons, «تحدي» = answer-squares logo (no label), red count badges */
.t-nav a{position:relative}
.t-nav .nav-ln{width:25px;height:25px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.t-nav a.on .nav-ln{stroke-width:2.3}
.t-nav a.t-sq{justify-content:center}
.t-nav .nav-sq{width:40px;height:40px;display:block;--nsq:#3A3A3C;transition:transform .2s}
body.wide.dark .t-nav .nav-sq{--nsq:#48484A}
.t-nav a.t-sq:active .nav-sq{transform:scale(.9)}
.t-nav .nb{position:absolute;top:0;left:calc(50% - 22px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#FF3B30;color:#fff;font-size:11px;font-style:normal;font-weight:900;line-height:18px;text-align:center;box-shadow:0 0 0 2px rgba(255,255,255,.9);pointer-events:none}
body.wide.dark .t-nav .nb{box-shadow:0 0 0 2px #1C1C1E}
.t-nav .nb[hidden]{display:none}

/* v212 student «الرئيسية» = answer-squares logo */
.s-nav .i .nav-sq{width:28px;height:28px;display:block;--nsq:#48484A}
/* v214: squares centred vertically in the bar, colour corners a bit bigger */
html body .t-nav a.t-sq{align-self:stretch!important;justify-content:center!important;padding:0!important;margin:0!important}
html body .t-nav a.t-sq .nav-sq{width:46px;height:46px}
/* v216 (Khalid): lens also on «تحدي»; squares grey until selected (lens on it), then colours appear */
.t-nav .nav-sq circle{transition:fill .3s}
.t-nav a.t-sq:not(.on):not(.hover) .nav-sq circle{fill:#8E8E93}
body.wide.dark .t-nav a.t-sq:not(.on):not(.hover) .nav-sq circle{fill:#7C7C80}
.t-nav a.t-sq:not(.on):not(.hover) .nav-sq{--nsq:#C7C7CC}
body.wide.dark .t-nav a.t-sq:not(.on):not(.hover) .nav-sq{--nsq:#48484A}
/* v217: student home tab = squares only (no label), same height as icon+label, grey until selected */
html body .s-nav .i.sq{filter:none!important;opacity:1!important}
html body .s-nav .i.sq .nav-sq{width:50px;height:50px}
.s-nav .nav-sq circle{transition:fill .3s}
.s-nav button:not(.on):not(.hover) .nav-sq circle{fill:#7C7C80}
/* v217: student home tab = squares only (no label), same height as icon+label, grey until selected */
html body .s-nav .i.sq{filter:none!important;opacity:1!important}
html body .s-nav .i.sq .nav-sq{width:50px;height:50px}
.s-nav .nav-sq circle{transition:fill .3s}
.s-nav button:not(.on):not(.hover) .nav-sq circle{fill:#7C7C80}
/* v219 (Khalid): iPhone-style liquid-glass lens for teacher + student tab bars.
   Rest: soft flat pill. Moving/pressed: clear glass bubble, bigger than the bar, rainbow rim, magnified icon. */
html body .t-nav .lens,html body .s-nav .lens{display:block!important;position:absolute;top:5px;bottom:5px;--n:5;width:calc((100% - 12px) / var(--n));right:calc(6px + (100% - 12px) / var(--n) * var(--i));z-index:0;border-radius:999px;pointer-events:none;
  background:rgba(120,120,128,.16)!important;box-shadow:none!important;border:0;
  transition:right .5s cubic-bezier(.3,1.35,.45,1),transform .35s cubic-bezier(.3,1.5,.45,1),background .25s,box-shadow .25s!important}
html body.wide.dark .t-nav .lens,html body:not(.wide) .s-nav .lens{background:rgba(255,255,255,.13)!important}
html body .t-nav .lens::after,html body .s-nav .lens::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;opacity:0;transition:opacity .25s;
  background:conic-gradient(from 200deg,rgba(255,255,255,.9),rgba(120,200,255,.8),rgba(255,255,255,.15) 25%,rgba(255,120,200,.7) 40%,rgba(255,255,255,.9) 50%,rgba(255,230,120,.7) 62%,rgba(255,255,255,.15) 75%,rgba(120,255,200,.7) 88%,rgba(255,255,255,.9));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);filter:blur(.4px);height:auto}
html body .t-nav .lens.drag,html body .t-nav .lens.move,html body .s-nav .lens.drag,html body .s-nav .lens.move{
  background:rgba(255,255,255,.07)!important;-webkit-backdrop-filter:blur(1.5px) saturate(190%) brightness(1.12);backdrop-filter:blur(1.5px) saturate(190%) brightness(1.12);
  box-shadow:inset 0 1px 1.5px rgba(255,255,255,.75),inset 0 -2px 6px rgba(255,255,255,.18),inset 0 0 14px rgba(255,255,255,.12),0 10px 28px rgba(0,0,0,.35)!important;
  transform:scale(1.14,1.32)}
html body .t-nav .lens.drag::after,html body .t-nav .lens.move::after,html body .s-nav .lens.drag::after,html body .s-nav .lens.move::after{opacity:.85}
html body .t-nav .lens.live,html body .s-nav .lens.live{transition:transform .35s cubic-bezier(.3,1.5,.45,1),background .25s!important}
/* student bar: equal slots so the lens fits each tab */
html body .s-nav{padding:0 6px;justify-content:stretch;overflow:visible}
html body .s-nav button{flex:1;min-width:0;position:relative;z-index:1;transition:transform .3s cubic-bezier(.3,1.5,.45,1)}
html body .s-nav button.hover .i{transform:scale(1.25);transition:transform .25s cubic-bezier(.3,1.4,.5,1)}
html body .s-nav button .i{transition:transform .25s cubic-bezier(.3,1.4,.5,1)}
html body .t-nav a.hover .nav-sq,html body .t-nav a.hover .nav-ln{transform:scale(1.22);transition:transform .25s cubic-bezier(.3,1.4,.5,1)}
html body .t-nav .nav-ln{transition:transform .25s cubic-bezier(.3,1.4,.5,1)}
/* v220 (Khalid): clearer lens (no frost), bar gives a small springy squish on tab change like iOS */
html body .t-nav .lens.drag,html body .t-nav .lens.move,html body .s-nav .lens.drag,html body .s-nav .lens.move{background:rgba(255,255,255,.015)!important;-webkit-backdrop-filter:saturate(160%) brightness(1.06);backdrop-filter:saturate(160%) brightness(1.06);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.7),inset 0 -1px 3px rgba(255,255,255,.14),0 8px 22px rgba(0,0,0,.28)!important}
html body .t-nav.bump,html body .s-nav.bump{animation:navBump .55s cubic-bezier(.3,1.5,.45,1)}
@keyframes navBump{0%{scale:1}30%{scale:1.035 .95}60%{scale:.99 1.02}100%{scale:1}}
/* v221: lens bubble wider than tall (pill like iOS), not round */
html body .t-nav .lens.drag,html body .t-nav .lens.move,html body .s-nav .lens.drag,html body .s-nav .lens.move{transform:scale(1.32,1.16)}
/* v222 (Khalid): the active colour follows the lens while dragging */
html body .t-nav:has(.lens.drag) a.on:not(.hover){color:var(--muted)!important}
html body.wide.dark .t-nav:has(.lens.drag) a.on:not(.hover){color:#AEAEB2!important}
html body .t-nav:has(.lens.drag) a.hover{color:var(--primary)!important}
html body.wide.dark .t-nav:has(.lens.drag) a.hover{color:#E5404F!important}
html body .t-nav:has(.lens.drag) a.t-sq.on:not(.hover) .nav-sq circle{fill:#7C7C80}
html body .s-nav:has(.lens.drag) button.on:not(.hover){color:#AEAEB2}
html body .s-nav:has(.lens.drag) button.hover{color:#fff}
html body .s-nav:has(.lens.drag) button.on:not(.hover) .nav-sq circle{fill:#7C7C80}
.t-nav a,.s-nav button{transition:color .2s}
/* v224: bar reacts — grows a touch while the finger is on it, springs on tab change */
html body .t-nav,html body .s-nav{transition:scale .35s cubic-bezier(.3,1.5,.45,1)}
html body .t-nav:has(.lens.drag),html body .s-nav:has(.lens.drag){scale:1.025 1.04}
@keyframes navBump{0%{scale:1}25%{scale:1.05 .92}55%{scale:.98 1.04}80%{scale:1.01 .99}100%{scale:1}}
/* v226 (Khalid: too strong): soft, subtle bar reaction */
html body .t-nav,html body .s-nav{transition:scale .45s cubic-bezier(.25,1.2,.4,1)}
html body .t-nav:has(.lens.drag),html body .s-nav:has(.lens.drag){scale:1.008 1.012}
html body .t-nav.bump,html body .s-nav.bump{animation:navBump2 .6s cubic-bezier(.25,.9,.35,1)}
@keyframes navBump2{0%{scale:1}35%{scale:1.012 .985}70%{scale:.997 1.004}100%{scale:1}}
/* v227: teacher glass as clear as the student one (dark rest tint was winning); student emoji icons follow the lens */
html body.wide .t-nav .lens.drag,html body.wide .t-nav .lens.move,html body.wide.dark .t-nav .lens.drag,html body.wide.dark .t-nav .lens.move{background:rgba(0,0,0,.18)!important}
html body .s-nav button .i{transition:filter .2s,opacity .2s,transform .25s cubic-bezier(.3,1.4,.5,1)}
html body .s-nav button.on .i{filter:none!important;opacity:1!important}
html body .s-nav:has(.lens.drag) button.on:not(.hover) .i{filter:grayscale(1)!important;opacity:.6!important}
html body .s-nav:has(.lens.drag) button.hover .i{filter:none!important;opacity:1!important}
html body .s-nav:has(.lens.drag) button.on:not(.hover){color:#AEAEB2!important}
html body .s-nav:has(.lens.drag) button.hover{color:#fff!important}
/* v228 (Khalid, iPhone compare): resting lens = dark pill; slimmer bars */
html body.wide.dark .t-nav .lens:not(.drag):not(.move),html body:not(.wide) .s-nav .lens:not(.drag):not(.move){background:rgba(0,0,0,.55)!important}
html body .t-nav{padding:4px 6px!important}
html body .t-nav a{padding:2px 0!important}
html body .t-nav .nav-ln{width:23px;height:23px}
html body .t-nav a span{font-size:11.5px!important}
html body .t-nav a.t-sq .nav-sq{width:42px;height:42px}
html body .t-nav .lens,html body .s-nav .lens{top:4px;bottom:4px}
html body .s-nav{height:60px}
html body .s-nav button{min-height:50px;font-size:12px}
html body .s-nav .i{font-size:21px}
html body .s-nav .i.sq .nav-sq{width:44px;height:44px}
/* v229 (Khalid): lift both tab bars above the iPhone home bar so swiping the lens doesn't switch apps */
html body .t-nav{bottom:calc(env(safe-area-inset-bottom, 0px) + 12px)!important}
html body .s-nav{bottom:calc(env(safe-area-inset-bottom, 0px) + 12px)!important}
html body.wide .t-body{padding-bottom:calc(130px + env(safe-area-inset-bottom))}
.sh:has(~ .s-nav){padding-bottom:calc(110px + env(safe-area-inset-bottom))}
/* v233 new challenge: lessons row + start/difficulty/knockout rows */
.nw-grp{background:var(--card);border-radius:18px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.nw-grp .ce1-row{width:100%;border-radius:0;margin:0;background:transparent;box-shadow:none}
.nw-grp .ce1-row+.ce1-row{border-top:.5px solid var(--line)}
.nw-v{font-style:normal;color:var(--primary);font-weight:800;font-size:15px;white-space:nowrap}
.nw-ls-h{display:flex;align-items:center;justify-content:space-between;gap:10px}.nw-ls-h h3{margin:0}
.nw-ls-all{border:0;background:var(--soft,#F2F2F7);border-radius:999px;padding:7px 14px;font:inherit;font-weight:800;font-size:14px;color:var(--ink)}
.nw-ls-list{display:flex;flex-direction:column;gap:6px;max-height:52vh;overflow:auto;margin:8px 0 12px}
.nw-ls-r{display:flex;align-items:center;gap:12px;border:0;background:var(--soft,#F2F2F7);border-radius:14px;padding:12px 14px;font:inherit;color:inherit;text-align:right;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.nw-ls-r .grow{font-weight:700;font-size:15.5px}.nw-ls-r small{color:var(--muted);font-weight:700}
.nw-ls-c{width:26px;height:26px;border-radius:50%;border:2px solid #C7C7CC;display:grid;place-items:center;flex:none;color:transparent}
.nw-ls-c .ico{width:15px;height:15px;stroke-width:3}
.nw-ls-r.on .nw-ls-c{background:var(--primary);border-color:var(--primary);color:#fff}
.nw-ls .btn{width:100%}
/* v234 (Khalid): less empty space under the tab bars, still clear of the home bar */
html body .t-nav,html body .s-nav{bottom:max(10px, calc(env(safe-area-inset-bottom, 0px) - 6px))!important}
/* v235: keep «الكل» clear of the sheet's ✕ */
.nw-ls-h{padding-left:52px}
.nw-ls .sub{margin:6px 0 0}
/* v236: lessons row sits right under «موادي» tiles */
.nw-lbl+.nw-tiles+.nw-grp{margin-top:10px;border:2px solid color-mix(in srgb,var(--primary) 35%,transparent)}
/* v241 (Khalid: «الخطوط مو واضحة»): teacher screens — neutral iOS dark palette (no brown/red tints), clearer text weights */
html body.wide.dark{--bg:#000;--card:#1C1C1E;--ink:#F5F5F7;--muted:#C7C7CC;--line:rgba(255,255,255,.12);--soft:#2C2C2E;--edge:#000;background:#000!important}
html body.wide{--muted:#6B5E5A;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
html body.wide .st1-o b,html body.wide .st1-o span:not(.e){font-weight:700}
html body.wide .st1-o{font-weight:700}
html body.wide .modal-x{background:var(--soft)!important;color:var(--ink)!important}
html body.wide small,html body.wide .sub{font-weight:600}
html body.wide.dark .modal{background:#1C1C1E}
/* v242 قواعد اللعب */
.rl-pts{display:flex;flex-direction:column;gap:8px}
.rl-pc{display:flex;align-items:center;gap:12px;background:var(--card);border:2px solid transparent;border-radius:14px;padding:12px 14px;font:inherit;color:var(--ink);text-align:right;width:100%}
.rl-pc .rl-e{font-size:24px;width:32px;text-align:center}.rl-pc .grow{display:flex;flex-direction:column}.rl-pc b{font-size:16px;font-weight:800}.rl-pc small{color:var(--muted);font-weight:600;font-size:13px}
.rl-pc .rl-n{width:24px;height:24px;border-radius:50%;border:2px solid #C7C7CC;flex:none;box-sizing:border-box}
.rl-pc.on{border-color:#C8102E}.rl-pc.on .rl-n{border:7px solid #C8102E}
.rl-more{align-self:center;margin:-6px auto 0;display:block;border:0;background:none;color:#C8102E;font:inherit;font-weight:800;font-size:14px;padding:6px 12px}
.rl2-row{padding:10px 14px;display:flex;flex-direction:column;gap:8px}.rl2-row>span{font-size:16px;font-weight:700}
.set-grp .rl2-row+.rl2-row,.set-grp .rl2-row+.set-row,.set-grp .set-row+.rl2-row{border-top:.5px solid var(--line)}
.rl-sg{display:flex;background:rgba(120,120,128,.14);border-radius:10px;padding:2px}
.rl-sg button{flex:1;border:0;background:none;font:inherit;font-weight:700;font-size:13.5px;padding:7px 4px;border-radius:8px;color:var(--ink)}
.rl-sg button.on{background:var(--card);box-shadow:0 1px 3px rgba(0,0,0,.15)}
body.wide.dark .rl-sg button.on{background:#48484A}
/* v245 select classes on the squares */
.cp-selm .cp-tile{position:relative;border:2px solid transparent}
.cp-selm .cp-tile.picked{border-color:#C8102E}
.cp-ck{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:50%;border:2px solid #8E8E93;display:grid;place-items:center;font-size:14px;font-weight:900;color:#fff;box-sizing:border-box}
.cp-tile.picked .cp-ck{background:#C8102E;border-color:#C8102E}
.xl2-s{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:.5px solid var(--line)}
.xl2-s>b{width:30px;height:30px;border-radius:50%;background:#C8102E;color:#fff;display:grid;place-items:center;font-size:15px;flex:none}
.xl2-s .grow{display:flex;flex-direction:column;font-weight:700;font-size:16px}.xl2-s small{color:var(--muted);font-weight:600;font-size:12.5px}
/* v250 class settings */
.cm2{display:flex;flex-direction:column;gap:14px}
.cm2 .set-grp{background:var(--soft,#2C2C2E)}
.cm2 .set-h{margin-bottom:-8px}
.cm2-name input{width:100%;border:0;background:none;font:inherit;font-size:17px;font-weight:700;color:var(--ink);padding:14px 16px;outline:none}
.cm2-v{color:var(--muted);font-weight:700;letter-spacing:1px}
.cm2 .set-row{width:100%}
.aw-sq .st1-o small{display:block;color:var(--muted);font-weight:600;font-size:12.5px;margin-top:2px}
/* v252 print cards preview */
.pcv{position:fixed;inset:0;z-index:80;background:#F2F2F7;color:#111;overflow:auto;padding:calc(env(safe-area-inset-top) + 10px) 14px calc(env(safe-area-inset-bottom) + 20px)}
.pcv-bar{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#F2F2F7;padding:6px 0 10px;z-index:1}
.pcv-bar b{font-size:17px}.pcv .btn.soft{background:#E5E5EA;color:#111}
.pcv-t{font-size:14px;font-weight:600;color:#3A3A3C;line-height:1.7;margin:0 0 12px}
.pcv-in{background:#fff;border-radius:14px;padding:14px}
.pcv-in .pcards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pcv-in .pcard{border:1px dashed #bbb;border-radius:10px;padding:8px;display:flex;gap:8px;align-items:center;font-size:13px}
.pcv-in .pq svg{width:64px;height:64px}.pcv-in .pc{font-weight:900;letter-spacing:1px;direction:ltr}
/* v253: an odd last square spans the full row (no empty gap) */
.st1-opts>.st1-o:last-child:nth-child(odd){grid-column:1/-1}
/* v255 (Khalid: lens pauses): faster, less spring tail */
html body .t-nav .lens,html body .s-nav .lens{transition:right .3s cubic-bezier(.25,1.12,.4,1),transform .2s cubic-bezier(.3,1.3,.5,1),background .18s,box-shadow .18s!important}
html body .t-nav .lens.live,html body .s-nav .lens.live{transition:transform .2s cubic-bezier(.3,1.3,.5,1),background .18s!important}
.cm2 .set-row.cm2-off{opacity:.35;pointer-events:none}
a.btn,a.btn:visited,a.btn *{text-decoration:none!important}
a.btn:not(.soft):not(.ghost),a.btn.h-go{color:#fff!important;opacity:1!important;-webkit-font-smoothing:antialiased}.btn.h-go{font-weight:800}
/* v260 (Khalid: one look): choice rows look like the ⋯ squares — filled card, no outline unless chosen */
.modal .aw-opt{background:var(--soft,#2C2C2E)!important;border:2px solid transparent!important;border-radius:18px!important;box-shadow:none!important}
.modal .aw-opt.on{border-color:#C8102E!important}
.modal .aw-opt small{color:var(--muted)}
.q5-oth{margin-top:14px}.q5-oth-sq .q5-sb{opacity:.75}
.q5-hint{font-size:13.5px;font-weight:600;color:var(--muted);margin:-4px 2px 10px;line-height:1.6}
.rl2-row{align-items:stretch;text-align:right}.rl2-row>span{text-align:right}
.rl2-row .rl-sg{width:100%}.rl-sg button{white-space:nowrap;font-size:13px;padding:8px 2px}
/* v267: readable soft/danger buttons on dark; no underline on any button */
.btn,.btn *{text-decoration:none!important}
body.wide.dark .btn.soft,body.wide.dark .btn.ghost{background:#2C2C2E!important;color:#F5F5F7!important}
body.wide.dark .btn.danger,body.wide.dark .btn.dng-t{background:#2C2C2E!important;color:#FF453A!important}
/* v269 appearance: font size squares + live sample */
.ap-fs{padding:14px;display:flex;flex-direction:column;gap:12px}
.ap-demo{text-align:center;padding:14px 10px;border-radius:12px;background:var(--soft);transition:font-size .15s;line-height:1.5}
.ap-sq{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ap-sq button{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:84px;border-radius:14px;background:var(--soft);border:2px solid transparent;color:inherit;font:inherit;cursor:pointer}
.ap-sq button b{line-height:1;font-weight:800}
.ap-sq button span{font-size:13px;color:var(--muted);padding-bottom:8px}
.ap-sq button.on{border-color:var(--primary)}
.ap-sq button.on span{color:inherit;font-weight:700}
/* v270 share card */
.sh-btn{margin-top:10px}
.bg2-sh{display:block;width:100%;min-height:48px;margin:0 0 10px;border-radius:18px;border:1px solid #3a3a3c;background:transparent;color:#F5C542;font:inherit;font-weight:800;font-size:16px;cursor:pointer}
.wk-star.me{cursor:pointer}
.sh-mo .sh-img{width:100%;max-width:300px;border-radius:18px;margin:8px auto;display:block;-webkit-touch-callout:default}
.sh-mo .btn{display:block;text-decoration:none;margin-top:8px}
.shl{max-width:420px;margin:0 auto;min-height:100dvh;box-sizing:border-box;padding:40px 20px 30px;display:flex;flex-direction:column;gap:16px;align-items:center;text-align:center;color:#F5F5F7}
.shl-m{font-size:72px;line-height:1}.shl h2{font-size:28px;font-weight:800;margin:0;text-wrap:balance}.shl p{color:#C7C7CC;margin:0;font-size:16px;line-height:1.7}
.shl-st{width:100%;display:flex;flex-direction:column;gap:8px}.shl-st div{background:#1C1C1E;border-radius:14px;padding:12px 14px;display:flex;gap:10px;align-items:center;font-size:15px;text-align:right}.shl-st b{color:#F5C542;font-size:18px;width:22px}
.shl .btn{width:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;text-decoration:none;margin-top:auto}.shl-s{color:#C7C7CC;font-size:14px;text-decoration:none}
/* v270 student report page (dark) */
.rp2-hero{background:#1C1C1E;color:#fff;border-radius:20px;padding:16px;display:flex;flex-direction:column;align-items:center;gap:6px}
.rp2-av{width:64px;height:64px;border-radius:50%;background:#2C2C2E;display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:800}
.rp2-nm{font-size:20px;font-weight:800;text-align:center}
.rp2-pills{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.rp2-pills span{background:#2C2C2E;border-radius:99px;padding:4px 10px;font-size:12.5px;color:#C7C7CC}
.rp2-pills .g{color:#FFD60A}
.rp2-nums{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;width:100%;margin-top:8px}
.rp2-nums.n3{grid-template-columns:repeat(3,1fr);margin-top:0}
.rp2-nums>div{background:#2C2C2E;border-radius:12px;padding:9px 2px;text-align:center}
.rp2-nums b{display:block;font-size:18px;font-weight:800}
.rp2-nums small{font-size:11px;color:#C7C7CC}
.rp2-empty{text-align:center;color:#C7C7CC;padding:10px 6px;line-height:1.7}
.rp2-h{font-size:15px;font-weight:800;margin:18px 4px 8px}
.rp2-card{background:#1C1C1E;border-radius:18px;padding:14px}
.rp2-say{font-size:14.5px;line-height:1.6;margin:0 0 10px}
.rp2-say .up{color:#30D158}.rp2-say .dn{color:#FF9F0A}
.rp2-svg{display:block;width:100%;height:auto}
.rp2-wk{display:flex;justify-content:space-between;font-size:11px;color:#8E8E93;margin-top:4px}
.rp2-les{display:flex;flex-direction:column;gap:8px}
.rp2-l{display:flex;align-items:center;gap:10px;background:#1C1C1E;border-radius:14px;padding:11px 12px;font-size:14.5px}
.rp2-l i{width:12px;height:12px;border-radius:50%;flex:none;background:#3A3A3C}
.rp2-l.k-ok i{background:#30D158}.rp2-l.k-ok b{color:#30D158}
.rp2-l.k-mid i{background:#FF9F0A}.rp2-l.k-mid b{color:#FF9F0A}
.rp2-l.k-bad i{background:#FF453A}.rp2-l.k-bad b{color:#FF453A}
.rp2-l.k-few b{color:#8E8E93;font-weight:600;font-size:12.5px}
.rp2-key{display:flex;gap:12px;justify-content:center;font-size:11.5px;color:#8E8E93;margin-top:8px}
.rp2-key i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-left:4px}
.rp2-key .k-ok{background:#30D158}.rp2-key .k-mid{background:#FF9F0A}.rp2-key .k-bad{background:#FF453A}
.rp2-mis{background:#1C1C1E;border-radius:14px;padding:12px;margin-bottom:8px}
.rp2-mis q{display:block;quotes:none;font-size:14.5px;line-height:1.55;margin-bottom:8px}
.rp2-mis .a{display:flex;flex-wrap:wrap;gap:6px;font-size:13px}
.rp2-mis .w{background:rgba(255,69,58,.14);color:#FF6961;border-radius:8px;padding:3px 9px}
.rp2-mis .c{background:rgba(48,209,88,.14);color:#30D158;border-radius:8px;padding:3px 9px}
.rp2-more{display:block;width:100%;background:none;border:0;color:#C7C7CC;font:inherit;font-size:14px;padding:8px;cursor:pointer}
.rp2-det{background:#1C1C1E;border-radius:18px;margin-top:18px}
.rp2-det summary{list-style:none;padding:14px;font-weight:800;font-size:15px;display:flex;justify-content:space-between;cursor:pointer}
.rp2-det summary::-webkit-details-marker{display:none}
.rp2-det summary span{color:#8E8E93;font-weight:600;font-size:13px}
.rp2-ch{display:flex;justify-content:space-between;gap:10px;padding:10px 14px;border-top:1px solid #2C2C2E;font-size:14px}
.rp2-ch span{color:#C7C7CC;flex:none}.rp2-ch .gone{color:#8E8E93;font-size:12px}
.rp2-bar{position:sticky;bottom:calc(96px + env(safe-area-inset-bottom));margin-top:18px;z-index:5}
.rp2-note{width:100%;margin:4px 0 12px;resize:none;font:inherit}
.rp2-top{display:flex;align-items:center;gap:8px;margin-bottom:12px}.rp2-top h3{margin:0;flex:1;text-align:center;padding-left:40px}
.rp2-chips{display:flex;flex-wrap:wrap;gap:8px}
.rp2-chips span{border-radius:12px;padding:9px 12px;font-size:14px;background:#2C2C2E}
.rp2-chips .k-ok{border:1.5px solid #30D158}.rp2-chips .k-w{border:1.5px solid #FF9F0A}
.rp2-mut{color:#8E8E93;font-size:13.5px;margin:0}
.rp2-prac{width:100%;margin-top:14px}
.rp2-note2{background:#1C1C1E;border-radius:14px;padding:12px;font-size:13.5px;color:#C7C7CC;line-height:1.6;margin-top:18px}
/* v270 PDF page (A4, rendered off screen) */
.rp3{width:794px;min-height:1122px;background:#fff;color:#16161A;font-family:'Cairo',system-ui,sans-serif;font-size:14px;line-height:1.55;display:flex;flex-direction:column}
.rp3-hd{padding:26px 40px 12px;border-bottom:2px solid #C8102E;display:grid;grid-template-columns:1fr auto;gap:2px 16px;align-items:end}
.rp3-ttl{font-size:12.5px;color:#6B6B73}
.rp3-hd h1{margin:0;font-size:22px;font-weight:700;line-height:1.35}
.rp3-br{text-align:left;font-size:12.5px;color:#6B6B73}.rp3-br b{display:block;color:#C8102E;font-size:15px}
.rp3-meta{grid-column:1/-1;display:flex;gap:18px;flex-wrap:wrap;font-size:12.5px;color:#6B6B73}.rp3-meta b{color:#16161A;font-weight:600}
.rp3-bd{padding:24px 40px 0;display:flex;flex-direction:column;gap:20px;flex:1}
.rp3 h2{font-size:16px;margin:0 0 10px;display:flex;align-items:center;gap:8px}
.rp3 h2::before{content:"";width:5px;height:18px;border-radius:3px;background:#C8102E}
.rp3-kpi{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #E4E4E8;border-radius:14px;overflow:hidden}
.rp3-kpi>div{padding:14px 6px;text-align:center;border-inline-start:1px solid #E4E4E8}.rp3-kpi>div:first-child{border-inline-start:0}
.rp3-kpi b{display:block;font-size:26px;font-weight:700;line-height:1.25}.rp3-kpi b small{font-size:14px;color:#6B6B73;font-weight:600}
.rp3-kpi span{color:#6B6B73;font-size:12.5px}.rp3-kpi .k-up b{color:#1E9E5A}
.rp3-two{display:grid;grid-template-columns:1.25fr 1fr;gap:22px}
.rp3-box{border:1px solid #E4E4E8;border-radius:14px;padding:12px 14px}
.rp3-box .rp2-wk{color:#6B6B73}
.rp3-sum{border-radius:14px;padding:12px 14px;background:#F6F6F8;margin-bottom:10px}
.rp3-sum h3{margin:0 0 4px;font-size:14px}.rp3-sum.s h3{color:#1E9E5A}.rp3-sum.w h3{color:#C8102E}
.rp3-sum ul{margin:0;padding-inline-start:18px}
.rp3-mut{color:#6B6B73;margin:0;font-size:13px}
.rp3-les{border:1px solid #E4E4E8;border-radius:14px;overflow:hidden}
.rp3-lr{display:grid;grid-template-columns:170px 1fr 52px 110px;align-items:center;gap:12px;padding:9px 16px;border-top:1px solid #E4E4E8}
.rp3-lr.hd{border-top:0;background:#F6F6F8;color:#6B6B73;font-size:12px;padding-block:6px}
.rp3-lr b{text-align:left}
.rp3-tr{height:9px;border-radius:5px;background:#EEEEF1;overflow:hidden}
.rp3-tr i{display:block;height:100%;border-radius:5px;background:#8E8E93}
.rp3-tr i.k-ok{background:#1E9E5A}.rp3-tr i.k-mid{background:#C77700}.rp3-tr i.k-bad{background:#C8102E}
.rp3-lr em{font-style:normal;font-size:12px;font-weight:700;border-radius:99px;padding:2px 10px;text-align:center;background:#F0F0F2;color:#6B6B73}
.rp3-lr em.k-ok{background:#E3F4EA;color:#1E9E5A}.rp3-lr em.k-mid{background:#FBF0DC;color:#C77700}.rp3-lr em.k-bad{background:#FBE3E7;color:#C8102E}
.rp3-note{border:1px solid #E4E4E8;border-radius:14px;padding:12px 14px;min-height:50px}
.rp3-sig{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:20px}
.rp3-sig div{border-top:1px solid #999;padding-top:6px;color:#6B6B73;font-size:12.5px;text-align:center}
.rp3-ft{margin-top:auto;padding:14px 40px;display:flex;justify-content:space-between;color:#6B6B73;font-size:11.5px;border-top:1px solid #E4E4E8}
.rp3-ft b{color:#C8102E}
.rp-pdf-host:has(.rp3){width:794px}
.rp3-li{padding-inline-start:4px}
/* v272 PDF report v2 (2 A4 pages) */
.rp-pdf-host:has(.rp4){width:794px}
.rp4{width:794px;background:#fff;font-family:'Cairo',system-ui,sans-serif;color:#2B1D12}
.rp4-pg{width:794px;height:1122px;background:#FFFDF8;display:flex;flex-direction:column;overflow:hidden;position:relative}
.rp4-hd{background:linear-gradient(100deg,#9E0B1D,#E0202E);color:#fff;display:flex;align-items:center;gap:16px;padding:0 34px;height:100px;flex:none}
.rp4-hd img{width:56px;height:56px;border-radius:14px}
.rp4-hd h1{margin:0;font-size:26px;font-weight:800;line-height:1.3}
.rp4-hd small{font-size:13.5px;opacity:.9}
.rp4-dt{font-size:13.5px;opacity:.95}
.rp4-bd{padding:22px 34px 0;display:flex;flex-direction:column;gap:14px;flex:1}
.rp4 h2{font-size:17px;font-weight:800;margin:6px 0 -2px;display:flex;align-items:center;gap:8px}
.rp4 h2::before{content:"";width:5px;height:20px;border-radius:3px;background:#C8102E}
.rp4-card{background:#fff;border:1.5px solid #EFE3CC;border-radius:16px;padding:14px 16px}
.rp4-who{display:flex;align-items:center;gap:16px;padding:12px 20px}
.rp4-ini{width:54px;height:54px;border-radius:50%;background:#FBE3E7;color:#C8102E;font-size:26px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none}
.rp4-who .grow{min-width:0}.rp4-who b{font-size:24px;font-weight:800;display:block;line-height:1.35}
.rp4-who small{color:#8A7563;font-size:13px}
.rp4-ring{position:relative;flex:none;display:flex;align-items:center;justify-content:center}
.rp4-ring>span{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.rp4-ring b{display:block;font-size:26px;font-weight:800;line-height:1.2;color:#2B1D12}
.rp4-ring.big b{font-size:24px}
.rp4-ring small{display:block;font-size:11px;color:#8A7563;line-height:1.3}
.rp4-kpi{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.rp4-kpi .rp4-card{text-align:center;padding:14px 6px}
.rp4-kpi b{display:block;font-size:26px;font-weight:800;line-height:1.3}
.rp4-kpi small{color:#8A7563;font-size:12.5px}
.rp4-tops{display:grid;gap:12px}.rp4-tops.n3{grid-template-columns:repeat(3,1fr)}.rp4-tops.n2{grid-template-columns:repeat(2,1fr)}.rp4-tops.n1{grid-template-columns:1fr}
.rp4-top{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.rp4-top .t{font-size:15px;font-weight:800;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rp4-gr{font-size:16px;font-weight:800}
.rp4-top>small{font-size:12px;color:#8A7563}
.rp4 .g{color:#1E8E4E}.rp4 .r{color:#C8102E}
.rp4-two{display:grid;grid-template-columns:1fr 1.25fr;gap:12px}
.rp4-two.one{grid-template-columns:1fr}.rp4-two.eq{grid-template-columns:1fr 1fr}
.rp4-radar{position:relative;width:320px;height:280px;margin:0 auto}
.rp4-rl{position:absolute;font-size:11.5px;font-weight:700;white-space:nowrap;max-width:130px;overflow:hidden;text-overflow:ellipsis}
.rp4-leg{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;font-size:11.5px;color:#5C4A3A;margin-top:8px}
.rp4-leg i{display:inline-block;width:14px;height:5px;border-radius:3px;margin-left:5px;vertical-align:middle}
.rp4-leg i.ln{width:3px;height:12px;background:#2B1D12}
.rp4-bars{display:flex;flex-direction:column;gap:10px;justify-content:center}
.rp4-br{display:grid;grid-template-columns:110px 1fr 40px;align-items:center;gap:10px}.rp4-br .p{font-size:12.5px;text-align:left}
.rp4-br .n{font-size:12.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rp4-br .tr{position:relative;height:16px;border-radius:9px;background:#F4ECDD}
.rp4-br .tr i{position:absolute;right:0;top:0;bottom:0;border-radius:9px}
.rp4-br .tr u{position:absolute;top:-4px;bottom:-4px;width:3px;margin-right:-1.5px;background:#2B1D12;border-radius:2px}
.rp4-ax{display:flex;justify-content:space-between;font-size:10px;color:#8A7563;margin:0 120px 0 50px}
.rp4-chips{display:flex;flex-wrap:wrap;gap:8px;align-content:flex-start}
.rp4-chips span{border-radius:12px;padding:6px 12px;font-size:14px;font-weight:800}
.rp4-chips span.g{background:#E3F4EA}.rp4-chips span.r{background:#FBE3E7}
.rp4-chips small{color:#8A7563}
.rp4-recs{font-size:14px;line-height:1.8}
.rp4-say{margin:0 0 6px;font-size:14px}
.rp4-wr{display:flex;flex-direction:column;gap:7px}
.rp4-wh,.rp4-wrow{display:grid;grid-template-columns:120px 1fr 120px 120px;gap:12px;align-items:center}
.rp4-wh{font-size:12.5px;font-weight:800;color:#8A6A3E;padding:0 16px}
.rp4-wrow{padding:9px 16px;font-size:13px}
.rp4-wrow .l{color:#C8102E;font-weight:800;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rp4-wrow .x{color:#C8102E}
.rp4-wrow .c{color:#1E8E4E;font-weight:800}
.rp4-note{font-size:14px;min-height:44px}
.rp4-sig{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:auto;padding-bottom:16px}
.rp4-sig div{border-top:1px solid #A8957F;padding-top:6px;color:#8A7563;font-size:12.5px;text-align:center}
.rp4-ft{display:flex;justify-content:space-between;padding:12px 34px;border-top:1px solid #EFE3CC;color:#8A7563;font-size:12px;flex:none}
.rp4 .rp2-wk{color:#8A7563}
.t-menu .tm-sq{margin-top:12px}
.st1-o.dng,.st1-o.dng b{color:#FF453A}
/* v274 teacher bell */
.t-bell{position:relative;width:38px;height:38px;border-radius:50%;border:0;background:var(--soft,#2C2C2E);color:inherit;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.t-bell .ico{width:20px;height:20px}
.t-bell-n{position:absolute;top:-3px;left:-3px;background:#C8102E;color:#fff;font-style:normal;font-size:11px;font-weight:800;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid var(--bg,#000);line-height:1}
.t-bell-n[hidden]{display:none}
.nt-sheet{display:flex;flex-direction:column;gap:8px}
.nt-i{display:flex;align-items:center;gap:12px;width:100%;text-align:start;background:var(--soft,#2C2C2E);border:0;border-radius:16px;padding:12px;color:inherit;font:inherit;cursor:pointer}
.nt-i.new{box-shadow:inset -3px 0 0 #C8102E}
.nt-i i{font-style:normal;font-size:22px;width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;flex:none}
.nt-i .grow{min-width:0}
.nt-i b{display:block;font-size:14.5px}
.nt-i small{display:block;color:var(--muted,#C7C7CC);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nt-i em{font-style:normal;background:#C8102E;color:#fff;border-radius:10px;padding:6px 12px;font-size:13px;font-weight:700;flex:none}
.nt-empty{text-align:center;color:var(--muted,#C7C7CC);padding:24px 0}

/* ===== v275 الحلبة (public arena): dial + subject cards + duel ===== */
.ar{position:relative;z-index:1;padding:16px 16px 0;display:flex;flex-direction:column;gap:10px}
.ar-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ar-top .ar-nm{display:block;font-weight:900;font-size:19px;line-height:1.2}
.ar-top small{font-size:12px;color:#98989F}
.ar-on{display:flex;align-items:center;gap:7px;font-size:13px;color:#C7C7CC;background:#1C1C1E;border:1px solid #2C2C2E;border-radius:99px;padding:4px 11px;white-space:nowrap}
.ar-on b{color:#F5F5F7}
.ar-on i,.ar-pill i{width:8px;height:8px;border-radius:50%;background:#30D158;flex:none}
.ar-on i{animation:arpl 1.6s infinite}
@keyframes arpl{0%{box-shadow:0 0 0 0 rgba(48,209,88,.7)}70%{box-shadow:0 0 0 8px rgba(48,209,88,0)}100%{box-shadow:0 0 0 0 rgba(48,209,88,0)}}
.ar-av{display:grid;place-items:center;border-radius:50%;background:#2C2C2E;color:#F5F5F7;font-weight:900;flex:none;width:44px;height:44px;font-size:24px;line-height:1}
.ar-dial{position:relative;width:204px;max-width:100%;aspect-ratio:1;margin:0 auto}
.ar-dial-svg{position:absolute;inset:0;width:100%;height:100%}
.ar-core{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}
.ar-core .ar-av{width:50px;height:50px;font-size:28px;box-shadow:0 0 0 3px #000,0 0 0 5px #2C2C2E}
.ar-lv{font-weight:900;font-size:12px;color:#F5B72B;margin-top:2px;line-height:1.1}.ar-lv b{font-size:17px}
.ar-hand{transform-origin:118px 118px;transition:transform 1.4s cubic-bezier(.3,1.4,.5,1)}
.ar-cur{animation:arbl 1.2s ease-in-out infinite}
@keyframes arbl{50%{opacity:.35}}
.ar-under{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;font-size:13px;color:#C7C7CC}
.ar-under b{color:#F5F5F7}.ar-under .gate{color:#F5B72B}
.ar-deck{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:14px calc(50% - 126px + 16px) 22px;scrollbar-width:none}
.ar-deck::-webkit-scrollbar{display:none}
.ar-card{position:relative;flex:none;width:252px;height:258px;border:0;border-radius:30px;overflow:hidden;cursor:pointer;color:#F5F5F7;font:inherit;text-align:start;padding:0;background:#2C2C2E;scroll-snap-align:center;box-shadow:0 7px 0 #141416,0 0 46px -8px var(--c);transition:transform .12s}
.ar-card:active{transform:translateY(4px);box-shadow:0 3px 0 #141416,0 0 46px -8px var(--c)}
.ar-card::before{content:"";position:absolute;top:0;left:0;width:196px;height:196px;border-radius:0 0 100% 0;background:var(--c)}
.ar-art{position:absolute;inset:0;width:100%;height:100%}
.ar-blk{animation:arfl 3.6s ease-in-out infinite}
.ar-art>g:nth-child(2) .ar-blk{animation-delay:-1.2s}.ar-art>g:nth-child(3) .ar-blk{animation-delay:-2.4s}
@keyframes arfl{50%{transform:translateY(-5px)}}
.ar-pill{position:absolute;top:12px;inset-inline-start:12px;display:flex;align-items:center;gap:6px;background:#1C1C1E;border-radius:99px;padding:3px 10px;font-size:12px;font-weight:700}
.ar-cn{position:absolute;inset-inline-start:16px;bottom:64px;font-weight:900;font-size:32px;line-height:1.1}
.ar-cta{position:absolute;inset:auto 12px 12px 12px;height:44px;border-radius:16px;background:#C8102E;color:#fff;font-weight:900;font-size:19px;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 5px 0 #8E0B21}
.ar-cta svg{width:16px;height:16px}
.ar-dots{display:flex;justify-content:center;gap:6px;margin-top:-10px}
.ar-dots i{width:7px;height:7px;border-radius:50%;background:#3A3A3C;transition:width .2s}
.ar-dots i.on{background:#F5F5F7;width:18px;border-radius:99px}
/* finding an opponent */
.ar-find{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;min-height:100dvh;padding:0 16px!important}
.ar-find h2{margin:0;font-size:22px;font-weight:900}.ar-find p{margin:0;color:#98989F}
.ar-radar{position:relative;width:170px;height:170px;display:grid;place-items:center}
.ar-radar>i{position:absolute;inset:0;border-radius:50%;border:2px solid #2C2C2E}.ar-radar>i:nth-child(2){inset:26px}
.ar-radar .sweep{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,rgba(200,16,46,.55),transparent 28%);animation:arsp 1.2s linear infinite}
@keyframes arsp{to{transform:rotate(360deg)}}
.ar-radar .ar-av{position:relative;width:72px;height:72px;font-size:40px;box-shadow:0 0 0 4px #000}
/* VS */
.ar-vs{position:fixed;inset:0;overflow:hidden;background:#000;color:#fff;z-index:5}
.ar-vs .half{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;gap:4px}
.ar-vs .a{background:linear-gradient(165deg,#E0183A,#8E0B21);clip-path:polygon(0 0,100% 0,100% 43%,0 57%);justify-content:flex-start;padding-top:max(74px,calc(env(safe-area-inset-top) + 50px));animation:arsr .45s cubic-bezier(.2,1.2,.4,1) both}
.ar-vs .b{background:linear-gradient(165deg,#0A84FF,#0B3F7D);clip-path:polygon(0 57%,100% 43%,100% 100%,0 100%);justify-content:flex-end;padding-bottom:max(74px,calc(env(safe-area-inset-bottom) + 60px));animation:arsl .45s .1s cubic-bezier(.2,1.2,.4,1) both}
.ar-vs .half::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(-8deg,transparent 0 26px,rgba(255,255,255,.05) 26px 30px)}
@keyframes arsr{from{transform:translateX(100%)}}
@keyframes arsl{from{transform:translateX(-100%)}}
.ar-vs .ar-av{position:relative;width:112px;height:112px;font-size:60px;background:rgba(0,0,0,.3);box-shadow:0 0 0 5px #fff,0 8px 0 5px rgba(0,0,0,.35);margin-bottom:12px}
.ar-vs .b .ar-av{margin:12px 0 0}
.ar-vs .half b{position:relative;font-weight:900;font-size:26px;line-height:1.2;text-shadow:0 3px 0 rgba(0,0,0,.35)}
.ar-vs .half small{position:relative;font-size:14px;font-weight:700;background:rgba(0,0,0,.35);border-radius:99px;padding:2px 12px;color:#F5B72B}
.ar-vs .mid{position:absolute;top:50%;left:50%;width:112px;height:112px;margin:-56px 0 0 -56px;border-radius:50%;background:#000;display:grid;place-items:center;box-shadow:0 0 0 5px #000;animation:arni .5s .45s cubic-bezier(.2,1.6,.4,1) both}
.ar-vs .mid svg{position:absolute;inset:0;width:100%;height:100%}
#ar-cdr{transition:stroke-dashoffset .8s linear,stroke .2s}
.ar-vs .num{position:relative;font-weight:900;font-size:54px;line-height:1}
.ar-vs .num span{display:block;animation:arni .45s cubic-bezier(.2,1.6,.4,1)}.ar-vs .num .vs{font-size:38px}
@keyframes arni{from{transform:scale(2.4);opacity:0}}
.ar-vs .cap{position:absolute;inset:auto 0 max(22px,env(safe-area-inset-bottom)) 0;margin:0;text-align:center;font-size:14px;color:#DFE6FF}
/* duel: tug of war above the app's normal question screen */
.ar-round{position:relative}
.ar-round .ar-x{position:absolute;top:max(8px,env(safe-area-inset-top));left:8px;width:30px!important;height:30px!important;opacity:.7;z-index:3}
.ar-round .ar-x svg{width:16px;height:16px}
.ar-round .ar-tug{padding-inline-end:38px}
.ar-tug{display:flex;align-items:center;gap:8px;width:100%}
.ar-tug .ar-av{width:40px;height:40px;font-size:22px;position:relative;z-index:1}
.ar-ropew{position:relative;flex:1;display:flex;align-items:center}
.ar-rope{position:relative;flex:1;height:14px;border-radius:99px;overflow:hidden;background:#0A84FF;box-shadow:inset 0 -3px 0 rgba(0,0,0,.3)}
.ar-rope .mine{position:absolute;inset:0 0 0 auto;width:50%;background:#C8102E;transition:width .6s cubic-bezier(.3,1.5,.5,1)}
.ar-ropew .knot{position:absolute;top:50%;width:26px;height:26px;margin:-13px -13px 0 0;right:50%;border-radius:50%;background:#fff;border:4px solid #000;z-index:2;transition:right .6s cubic-bezier(.3,1.5,.5,1)}
.ar-sc{display:flex;justify-content:space-between;width:100%;font-size:13px;color:#C7C7CC;font-weight:700;margin-top:-6px}
.ar-sc b{color:#F5F5F7}
/* result */
.ar-res{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;min-height:100dvh;padding:20px 16px!important}
.ar-res h1{margin:0;font-size:28px;font-weight:900}
.ar-gain{font-weight:900;font-size:64px;line-height:1;color:#F5B72B;font-variant-numeric:tabular-nums}
.ar-gain small{font-size:20px;color:#C7C7CC;font-weight:700}
.ar-rows{width:100%;background:#1C1C1E;border-radius:18px;padding:10px 14px;display:flex;flex-direction:column;gap:4px}
.ar-rows div{display:flex;justify-content:space-between;font-size:15px;color:#C7C7CC}.ar-rows b{color:#F5F5F7}
.ar-lvb{width:100%;display:flex;flex-direction:column;gap:5px}
.ar-lvb .l{display:flex;justify-content:space-between;font-size:13px;color:#C7C7CC}.ar-lvb .l b{color:#F5B72B}
.ar-lvb .segs{display:flex;gap:3px}
.ar-lvb .segs i{flex:1;height:12px;border-radius:3px;background:#2C2C2E}
.ar-lvb .segs i.f{background:#F5B72B;box-shadow:inset 0 -3px 0 #C98A0B}
.ar-lvb .segs i.new{animation:arsg .4s both}
@keyframes arsg{from{transform:scaleY(.2);background:#fff}}
.ar-up{background:#1C1608;border:2px solid #F5B72B;color:#F5B72B;border-radius:14px;padding:8px;font-weight:900;width:100%}
.ar-res .btn{width:100%}
@media (prefers-reduced-motion:reduce){.ar-blk,.ar-cur,.ar-on i,.ar-radar .sweep,.ar-vs .half,.ar-vs .mid,.ar-vs .num span,.ar-lvb .segs i.new{animation:none}}
/* centre tab «الحلبة»: the answer-squares icon keeps its colours and sits a little higher */
html body .s-nav button.s-ar .i.sq .nav-sq{width:48px;height:48px;--nsq:#3A3A3C}
html body .s-nav button.s-ar .nav-sq circle:nth-of-type(1){fill:#0A84FF!important}
html body .s-nav button.s-ar .nav-sq circle:nth-of-type(2){fill:#FF453A!important}
html body .s-nav button.s-ar .nav-sq circle:nth-of-type(3){fill:#30D158!important}
html body .s-nav button.s-ar .nav-sq circle:nth-of-type(4){fill:#FFD60A!important}
html body .s-nav button.s-ar{transform:translateY(-3px)}
/* v275 check-your-email screen */
.cm-mail{align-items:center;text-align:center;gap:10px}
.cm-mail .cm-ic{font-size:52px;line-height:1}
.cm-mail h2{margin:0;font-size:22px;font-weight:800}
.cm-mail p{margin:0}
.cm-em{font-size:16px;background:var(--soft,#2C2C2E);border-radius:12px;padding:8px 14px;word-break:break-all}
.cm-mail .btn{width:100%}
a.btn{text-decoration:none}
/* v279 onboarding: back button, multi classes, codes list */
.obr-back{width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:inherit;font-size:18px;font-weight:800;cursor:pointer;flex:none}
.obr-top .obr-pill{margin-inline-start:0}
.obr-codes{display:flex;flex-direction:column;gap:8px;width:100%}
.obr-cr{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.08);border-radius:14px;padding:10px 12px}
.obr-cr b{flex:1;text-align:start}
.obr-cr span{font-weight:800;letter-spacing:1px}
.obr-cls{width:100%;text-align:start}
.obr-cls>span{display:block;font-size:13px;opacity:.75;margin:4px 4px 8px}
.obr-cls>div{display:flex;flex-wrap:wrap;gap:8px}
.obr-cl{border:0;border-radius:12px;padding:9px 12px;background:rgba(255,255,255,.12);color:inherit;font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.obr-cl i{font-style:normal;opacity:.6;margin-inline-start:4px;font-size:12px}
.obr-cl.add{background:none;border:1.5px dashed rgba(255,255,255,.35)}
.obr-nav{display:flex;gap:10px;width:100%}.obr-nav .obr-go{flex:1;margin:0}.obr-nav .obr-bk{flex:none;width:52px;padding:0;margin:0;font-size:22px;font-weight:800;display:flex;align-items:center;justify-content:center}
/* v286 subjects on one screen: 3 columns, compact */
#ob .obr-sm>.ob-t{min-height:72px;padding:8px 4px;border-radius:16px}
#ob .obr-sm .ob-t .e{font-size:24px}
#ob .obr-sm .ob-t b{font-size:13.5px;line-height:1.3}
#ob .obr-sm.obr-chk .ob-t::before{top:6px;right:6px;width:18px;height:18px;border-radius:6px}
#ob .obr-sm.obr-chk .ob-t.on::before{font-size:12px}
#ob .obr-q{padding:16px 14px;font-size:22px}
#ob .ob-g.g4>.ob-t{flex-basis:calc(25% - 8px)}
#ob .obr-sm.g4>.ob-t{min-height:70px}
#ob .obr-sm.g4 .ob-t .e{font-size:20px}
#ob .obr-sm.g4 .ob-t b{font-size:12px}
/* v288 onboarding: «التالي» pinned at the bottom, same place every step */
#ob .obr-nav{position:fixed;left:0;right:0;bottom:0;z-index:5;padding:12px max(18px,env(safe-area-inset-left)) calc(14px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-right));background:linear-gradient(rgba(0,0,0,0),#000 30%);max-width:560px;margin:0 auto}
#ob .obr{padding-bottom:110px}

/* v289 الحلبة phase 2: drawn characters, «لقبك وشكلك» sheet, reactions */
.ar-av.dr{background:none;overflow:hidden;padding:0}
.ar-av.dr svg{width:100%;height:100%;display:block}
.ar-avb{background:none;border:0;padding:0;border-radius:50%;cursor:pointer;display:grid}
.ar-avw{position:relative;flex:none;display:grid;z-index:2}
.ar-bub{position:absolute;top:calc(100% - 8px);left:50%;margin-left:-21px;width:42px;height:42px;animation:arbub 1.8s ease forwards;pointer-events:none;z-index:6;filter:drop-shadow(0 3px 0 rgba(0,0,0,.45))}
.ar-bub svg{width:100%;height:100%;display:block}
@keyframes arbub{0%{transform:scale(.2);opacity:0}15%{transform:scale(1.3);opacity:1}30%{transform:scale(1)}80%{opacity:1}100%{transform:translateY(12px);opacity:0}}
.ar-emo{display:flex;justify-content:center;align-items:center;gap:6px;flex:none}
.ar-emo button{width:42px;height:42px;border-radius:50%;background:#1C1C1E;border:1px solid #2C2C2E;padding:6px;cursor:pointer;flex:none}
.ar-emo button svg{width:100%;height:100%;display:block}
.ar-emo button:disabled{opacity:.3}
.ar-emo button[data-k]:active{transform:scale(.88)}
.ar-emo .mute{background:none;border-color:transparent;padding:9px}
.ar-emo.off .mute{width:auto;height:auto;border-radius:999px;padding:8px 16px;font:700 13px Cairo,sans-serif;color:#98989F;background:#1C1C1E;border-color:#2C2C2E}
.ar-pf{display:flex;flex-direction:column;gap:14px}
.ar-pf h3{margin:0;text-align:center}
.ar-pfg{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#2C2C2E;border-radius:16px;padding:4px}
.ar-pfg button{border:0;background:none;color:#C7C7CC;font:800 16px Cairo,sans-serif;padding:9px;border-radius:13px;cursor:pointer}
.ar-pfg button.on{background:#F5F5F7;color:#000}
.ar-pfa{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.ar-pfa button{border:0;background:none;padding:0;border-radius:50%;aspect-ratio:1;cursor:pointer;opacity:.45;transition:transform .15s,opacity .15s}
.ar-pfa button svg{width:100%;height:100%;display:block;border-radius:50%}
.ar-pfa button.on{opacity:1;transform:scale(1.06);box-shadow:0 0 0 3px #1C1C1E,0 0 0 6px #F5B72B}
.ar-pfn{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#2C2C2E;border-radius:18px;padding:10px 10px 10px 10px;padding-inline-start:18px}
.ar-pfn b{font-size:22px;font-weight:900;color:#F5F5F7}
.ar-pfn button{display:flex;align-items:center;gap:6px;border:0;background:#1C1C1E;color:#F5F5F7;font:800 14px Cairo,sans-serif;border-radius:14px;padding:6px 12px 6px 12px;cursor:pointer}
.ar-pfn button svg{width:30px;height:30px}
.ar-pfn button:active svg{transform:rotate(90deg)}
.ar-pfh{margin:0;text-align:center;color:#98989F;font-size:13px}

/* v291: student inputs were white text on white (join name form) */
html body:not(.wide)[data-theme] .input,html body:not(.wide)[data-theme] select.input,html body:not(.wide)[data-theme] textarea.input{background:#2C2C2E;color:#F5F5F7;border-color:rgba(255,255,255,.14);caret-color:#C8102E}
html body:not(.wide)[data-theme] .input:focus{border-color:#C8102E}
html body:not(.wide)[data-theme] .input::placeholder{color:#8E8E93}
.jn-hint{color:#FF9F0A;font-size:14px;text-align:center;margin-top:-4px}
/* v294 arena search: seconds counter + cancel */
.ar-fs{font-size:34px;font-weight:900;color:#F5F5F7;font-variant-numeric:tabular-nums;line-height:1}
.ar-fs::after{content:" ث";font-size:15px;color:#98989F}
.ar-find .ar-fx{width:auto;padding-inline:34px;margin-top:10px}
.ar-find .ar-fnow{margin-top:10px}.ar-find .ar-fnow+.ar-fx{margin-top:0}
/* arena live: «مباشر» tag, waiting for the opponent, hidden pills */
.ar-on[hidden],.ar-pill[hidden]{display:none!important}
.ar-live{display:inline-flex;align-items:center;gap:5px;color:#30D158;font-weight:900}
.ar-live i{width:8px;height:8px;border-radius:50%;background:#30D158;box-shadow:0 0 0 4px rgba(48,209,88,.25)}
.ar-wait{justify-content:flex-start}.ar-wait .spin{margin:60px auto 8px}.ar-wait h1{font-size:24px}.ar-wait p{margin:0;color:#98989F;text-align:center}
/* v303 centre tab icon is an image (golden stopwatch) */
img.nav-sq{object-fit:contain;-webkit-user-drag:none;user-select:none;pointer-events:none}
html body .t-nav a.t-sq img.nav-sq{width:42px;height:42px}
html body .s-nav .i.sq img.nav-sq,html body .s-nav button.s-ar .i.sq img.nav-sq{width:42px;height:42px}

/* v305: teacher centre stopwatch dim until active/pressed */
html body .t-nav a.t-sq img.nav-sq{transition:filter .2s,opacity .2s,transform .25s cubic-bezier(.3,1.4,.5,1)}
html body .t-nav a.t-sq:not(.on):not(.hover):not(:active) img.nav-sq{filter:grayscale(1) brightness(1.15);opacity:.55}
html body .t-nav:has(.lens.drag) a.t-sq.on:not(.hover) img.nav-sq{filter:grayscale(1) brightness(1.15);opacity:.55}

/* v306 (Khalid): student bar same style as teacher bar: line icons, active = red */
html body .s-nav .nav-ln{width:23px;height:23px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s cubic-bezier(.3,1.4,.5,1)}
html body .s-nav button{gap:2px;font-size:11.5px!important;font-weight:700;color:#AEAEB2}
html body .s-nav button.on{color:#E5404F!important}
html body .s-nav button.on .nav-ln{stroke-width:2.3}
html body .s-nav button.hover .nav-ln{transform:scale(1.22)}
html body .s-nav:has(.lens.drag) button.on:not(.hover){color:#AEAEB2!important}
html body .s-nav:has(.lens.drag) button.hover{color:#E5404F!important}
html body .s-nav button.s-ar{transform:none}
/* v306: long page titles shrink and never get cut by the screen edge */
html body .t-top .brand{min-width:0;flex:1 1 auto}
html body .t-top .t-title{min-width:0;flex:1 1 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html body.wide .t-title.t-lg{font-size:24px}
html body.wide .t-title.t-xl{font-size:19px}
html body .t-top .t-acts{flex:none}
/* v306: student bar frosted like the teacher bar */
html body:not(.wide) .s-nav{background:rgba(28,28,30,.7)!important;-webkit-backdrop-filter:blur(28px) saturate(180%);backdrop-filter:blur(28px) saturate(180%);border:0!important;box-shadow:0 8px 28px rgba(0,0,0,.6),inset 0 0 0 1px rgba(255,255,255,.1),inset 0 1px 0 rgba(255,255,255,.12)!important;border-radius:26px}
/* v309: delete notifications (one ✕ or «مسح الكل») */
.nt-hd{display:flex;align-items:center;justify-content:space-between;gap:10px}.nt-hd h3{margin:0}
.nt-all{background:none;border:0;color:#E5404F;font:inherit;font-weight:700;font-size:14px;padding:8px 4px;cursor:pointer}
.nt-r{display:flex;align-items:center;gap:6px}.nt-r .nt-i{flex:1;min-width:0}
.nt-x{flex:none;width:36px;height:36px;border-radius:50%;border:0;background:var(--soft,#2C2C2E);color:var(--muted,#C7C7CC);font-size:14px;cursor:pointer}
/* v310 (Khalid): arena home = clear level card + 3 named stages (replaces the dial) */
.ar-me{background:#1C1C1E;border-radius:22px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.ar-me1{display:flex;align-items:center;gap:12px}
.ar-me1 .ar-av{width:60px;height:60px;font-size:34px;box-shadow:0 0 0 3px #1C1C1E,0 0 0 5px #F5B72B}
.ar-me1 h2{margin:0;font-size:25px;font-weight:900;color:#F5B72B;line-height:1.2}
.ar-me1 small{color:#C7C7CC;font-size:13px}
.ar-mbar{height:13px;border-radius:8px;background:#2C2C2E;overflow:hidden}.ar-mbar i{display:block;height:100%;background:#F5B72B;border-radius:8px}
.ar-mrow{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:#C7C7CC}.ar-mrow b{color:#fff}
.ar-stg{display:flex;gap:8px}
.ar-stg>div{flex:1;min-width:0;background:#1C1C1E;border-radius:16px;padding:8px 4px;text-align:center;border:2px solid transparent;color:#8E8E93}
.ar-stg>div.on{border-color:#F5B72B;color:#fff}.ar-stg>div.done{color:#C7C7CC}
.ar-stg .e{display:block;font-size:22px;line-height:1.25}.ar-stg b{display:block;font-size:14px;font-weight:800}.ar-stg small{display:block;font-size:11px}
.ar-stg .here{color:#F5B72B;font-weight:800}

/* v313 شاشة دخول المعلم: ألوان مريحة (أبيض على أسود، الأحمر للزر فقط) */
.ta{min-height:100dvh;background:#000;color:#fff}
.ta .hero h1{color:#fff!important;font-weight:800}
.ta .hero p{color:#C7C7CC!important;font-size:16px}
.ta .card{background:#1C1C1E!important;border:0!important;box-shadow:none!important;color:#fff}
.ta .tabs{background:#2C2C2E!important;border-radius:12px;padding:3px;gap:0}
.ta .tabs button{color:#C7C7CC!important;background:transparent!important;border-radius:10px;font-weight:700;box-shadow:none!important;min-height:40px}
.ta .tabs button.on{background:#48484A!important;color:#fff!important}
.ta .field label{color:#C7C7CC;font-weight:600}
.ta .input{background:#2C2C2E!important;border:1.5px solid #3A3A3C!important;color:#fff!important;border-radius:14px;min-height:52px}
.ta .input::placeholder{color:#8E8E93}
.ta .input:focus{border-color:#8E8E93!important}
.ta .sub{color:#8E8E93}
.ta .link{color:#E5E5EA!important;text-decoration:none!important;font-weight:700;font-size:15px}
.ta .link.forgot{color:#C7C7CC!important;font-size:14px}
.ta .btn{background:#C8102E!important;color:#fff!important;box-shadow:0 5px 0 #8E0B21!important;border:0!important}
.ta .btn.ghost{background:#2C2C2E!important;box-shadow:none!important}
.ta .card,.ta .tabs button.on{background-image:none!important}

/* v315 زر «أنا معلم»: إطار ذهبي واضح على الأسود (خالد اختار) */
html body .sl.sl-red .sl1-t{background:#1C1C1E!important;border:2px solid #F5B72B!important;color:#F5B72B!important;box-shadow:none!important}
html body .sl.sl-red .sl1-t b{color:#F5B72B!important}

/* v322 tie-break list: rounded group, no arrow buttons */
.tb-list{border-radius:14px}
.tb-list .tb-row:first-child{border-radius:14px 14px 0 0}.tb-list .tb-row:last-child{border-radius:0 0 14px 14px}
.tb-row[data-act]{cursor:pointer}
.tb-row .drag-h{color:#8E8E93}

/* v326 level line (secondary/uni) */
.lv-next{width:100%;max-width:300px;margin:2px auto 0}
.lv-next .goal-t{font-size:14px;gap:8px}.lv-next .goal-bar{height:7px;margin:6px 0 2px}

/* v328 flat after-round card (Khalid 👍 preview): no inner boxes */
.sp-done .sp-cd{background:none;padding:2px 0 0;border-radius:0}
.sp-done .sp-cd small{font-size:14px;color:#98989F;opacity:1}
.sp-done .sp-cd b{font-size:34px}
.sp-done #goal{width:100%}
.sp-done .goal{background:none;border-radius:0;padding:12px 2px 0;margin-top:6px;border-top:1px solid #2C2C2E}
.sp-done .goal-t{font-size:14px}.sp-done .goal-t span{color:#98989F;opacity:1}
.sp-done .goal-bar{height:8px;background:#2C2C2E}

/* v330: answer hint sits inside the question card (was overlapping the answers) */
html body .pv.pvx .pv-panel .qbox{position:relative}
html body .pv.pvx .qbox .pts-pop{top:auto;bottom:16px;font-size:22px;line-height:1.3;padding:0 12px}


/* v339 (Khalid «نزل», preview PQoQpQ3kviibSuQnxrqmMe last option): the answer corners form the stopwatch, cut in 4, each piece its answer colour */
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord){--S:96px;--g:6px}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(n){border-radius:18px!important}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt .txt{position:relative;z-index:1}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt::before{width:var(--S)!important;height:var(--S)!important;border-radius:0!important;background:none no-repeat!important;background-size:var(--S)!important;background-position:calc(var(--S)*.02) calc(var(--S)*-.083)!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(1)::before{background-image:url(aw-r.png)!important;left:calc(var(--S)/-2 - var(--g)/2)!important;bottom:calc(var(--S)/-2 - var(--g)/2)!important}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(2)::before{background-image:url(aw-b.png)!important;right:calc(var(--S)/-2 - var(--g)/2)!important;bottom:calc(var(--S)/-2 - var(--g)/2)!important}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(3)::before{background-image:url(aw-y.png)!important;left:calc(var(--S)/-2 - var(--g)/2)!important;top:calc(var(--S)/-2 - var(--g)/2)!important}
html body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt:nth-child(4)::before{background-image:url(aw-g.png)!important;right:calc(var(--S)/-2 - var(--g)/2)!important;top:calc(var(--S)/-2 - var(--g)/2)!important}

/* v340 «موادي اليوم» (same student, several classes) */
.ms{width:100%;max-width:360px;margin:12px auto 0}
.ms h3{font-size:15px;color:#98989F;margin:0 4px 8px;font-weight:700}
.ms-r{display:flex;align-items:center;gap:12px;background:#1C1C1E;border-radius:18px;padding:12px 14px;margin-bottom:8px}
.ms-r.me{box-shadow:inset 0 0 0 1.5px #3A3A3C}
.ms-t{flex:1;min-width:0}.ms-t b{display:block;font-size:16px}.ms-t small{display:block;color:#98989F;font-size:12.5px}
.ms-t em{display:block;font-style:normal;color:#F5B72B;font-weight:800;font-size:13px;margin-top:2px}
.ms-ok{color:#30D158;font-weight:900;font-size:20px}
.ms-here{color:#98989F;font-size:12.5px;font-weight:700}
.ms-play{background:#C8102E;color:#fff;border:0;border-radius:14px;padding:8px 18px;font:inherit;font-weight:800;font-size:15px;box-shadow:0 4px 0 #8E0B21;cursor:pointer}
/* v341 glass cards (Khalid «نفذ» option 1: light glass) — student screens only, not arena/round */
html body:not(.wide) .sh.pvx:not(.ar-find):not(.ar-res):not(.cin)::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(70vw 60vw at 85% 6%,rgba(200,16,46,.5),transparent 70%),radial-gradient(70vw 60vw at 8% 60%,rgba(200,16,46,.24),transparent 70%),radial-gradient(70vw 55vw at 80% 100%,rgba(245,183,43,.16),transparent 70%)}
html body:not(.wide) .sh.pvx:not(.ar-find):not(.ar-res) :is(.card,.comp,.rows.card,.bdg,.bg2,.bg2.on,.bg2-next,.goal,.wk-star,.sp-done,.sp-prize,.rv2-w,.rv2-all,.rv2-ok,.rv2-dr,.ms-r,.code-pill,.av-btn){background:rgba(255,255,255,.07)!important;-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);border:1px solid rgba(255,255,255,.10)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important}
html body:not(.wide) .sh.pvx .sp-prize{border-color:rgba(245,183,43,.45)!important}
html body:not(.wide) .sh.pvx .sp-done .goal-bar{background:rgba(255,255,255,.12)!important}
body:not(.wide) .s-nav{background:rgba(30,30,32,.55)!important;-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);border:1px solid rgba(255,255,255,.12)!important}
html body:not(.wide) .sh.pvx .sp-done :is(.goal,.wk-star){background:none!important;-webkit-backdrop-filter:none;backdrop-filter:none;border:0!important;border-top:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;border-radius:0}
/* v342 glass on teacher screens too */
body.wide.dark::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(70vw 60vw at 85% 6%,rgba(200,16,46,.45),transparent 70%),radial-gradient(70vw 60vw at 8% 60%,rgba(200,16,46,.22),transparent 70%),radial-gradient(70vw 55vw at 80% 100%,rgba(245,183,43,.14),transparent 70%)}
body.wide.dark :is(.hc,.card,.cp-tile,.q5-sb,.ch-hero,.ob-card,.cls,.kpi,.stat,.rs-sum,.set-grp,.class-card):not(.modal *){background:rgba(255,255,255,.07)!important;-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);border:1px solid rgba(255,255,255,.10)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important}
body.wide.dark .set-grp:not(.modal *) .set-row{background:transparent!important}
body.wide.dark .hc-ring{position:relative;background:none}
body.wide.dark .hc-ring::before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(#1F9D55 calc(var(--p)*1%),rgba(255,255,255,.14) 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 17px),#000 calc(100% - 16px));mask:radial-gradient(farthest-side,transparent calc(100% - 17px),#000 calc(100% - 16px))}
body.wide.dark .hv-two .hc-ring::before{-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 10px),#000 calc(100% - 9px));mask:radial-gradient(farthest-side,transparent calc(100% - 10px),#000 calc(100% - 9px))}
body.wide.dark .hc-ring>div{background:none;position:relative}

/* memory mini-games inside the round (v341) */
.pv.pvx .mg{flex:none;display:flex;justify-content:center;align-items:center;padding:4px 0 6px;min-height:230px}
.mg-grid{display:grid;grid-template-columns:repeat(var(--n),1fr);gap:10px;direction:ltr;width:min(100%,calc(var(--n)*92px))}
.mg-grid .mg-c{aspect-ratio:1;border:0;padding:0;border-radius:18px;background:#2C2C2E;box-shadow:0 5px 0 #141416;color:#F5F5F7;font-size:34px;line-height:1;cursor:pointer;font-family:inherit;transition:background .12s,transform .1s}
.mg-grid[style*="--n:4"] .mg-c{font-size:28px;border-radius:15px}.mg-grid[style*="--n:5"] .mg-c{border-radius:12px;font-size:22px}.mg-grid[style*="--n:5"]{gap:7px}
.mg-grid .mg-c:active{transform:translateY(3px);box-shadow:0 2px 0 #141416}
.mg-grid .mg-c.lit{background:#FFD60A;box-shadow:0 5px 0 #A88B00}
.mg-grid .mg-c.flip{background:#3A3A3C}
.mg-grid .mg-c.ok{background:#1F9D55;box-shadow:0 5px 0 #136B38}
.mg-grid .mg-c.no{background:#C8102E;box-shadow:0 5px 0 #7A0A1C}
.mg-grid.drag{touch-action:none;-webkit-user-select:none;user-select:none}
.mg-grid.cards{width:min(100%,calc(var(--n)*84px))}
.mg-big{width:150px;height:150px;border-radius:28px;background:#2C2C2E;box-shadow:0 5px 0 #141416;display:grid;place-items:center;color:#FFD60A;font-size:92px;font-weight:800;line-height:1;direction:ltr}
.mg-num{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;direction:ltr}
.mg-typed{min-height:44px;color:#F5F5F7;font-size:36px;font-weight:800;letter-spacing:10px;line-height:44px}
.mg-typed.ok{color:#34C759}.mg-typed.no{color:#FF453A}
.mg-keys{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;width:min(100%,330px)}
.mg-k{height:58px;border:0;padding:0;border-radius:15px;background:#2C2C2E;box-shadow:0 5px 0 #141416;color:#F5F5F7;font:800 26px/1 inherit;font-family:inherit;cursor:pointer}
.mg-k:active{transform:translateY(3px);box-shadow:0 2px 0 #141416}
.bd .mg-big{width:240px;height:240px;font-size:150px}.bd .mg-keys{width:min(100%,520px)}.bd .mg-k{height:84px;font-size:38px}.bd .mg-typed{font-size:54px;line-height:64px;min-height:64px}
.mg-cups{position:relative;width:300px;height:170px;direction:ltr}
.mg-cup{position:absolute;top:0;left:0;width:100px;height:170px;border:0;background:none;padding:0;cursor:pointer;transform:translateX(calc(var(--x)*100px));transition:transform .32s ease}
.mg-cup i{position:absolute;left:12px;top:36px;width:76px;height:100px;background:#8E8E93;clip-path:polygon(18% 0,82% 0,100% 100%,0 100%);transition:transform .28s}
.mg-cup.up i{transform:translateY(-38px)}
.mg-cup b{position:absolute;left:35px;top:104px;width:30px;height:30px;border-radius:50%;background:#C8102E;opacity:0}
.mg-cup.ball b{opacity:1}
.mg-cup.okc i{background:#1F9D55}.mg-cup.noc i{background:#FF453A}
@media (max-height:640px){.pv.pvx .mg{min-height:180px}.mg-grid{width:min(100%,calc(var(--n)*72px))}}
@media (prefers-reduced-motion:reduce){.mg-cup,.mg-cup i,.mg-grid .mg-c{transition:none}}

/* v342 bank reports + admin bank controls */
.q4-rep{display:block;width:100%;margin-top:10px;padding:12px;border:0;border-radius:14px;background:none;color:var(--muted,#8E8E93);font:700 14px inherit;font-family:inherit;cursor:pointer}
.q4-adm{margin-top:12px;padding:12px;border-radius:16px;border:1px dashed var(--line);display:flex;flex-direction:column;gap:8px}
.q4-adm b{font-size:13px}.q4-adm button{padding:12px;border:0;border-radius:12px;background:var(--card);color:var(--ink);font:800 14px inherit;font-family:inherit;cursor:pointer}
.q4-adm button:last-child{color:#C8102E}
.ad-h{font-weight:800;font-size:15px;margin:4px 4px 8px;display:flex;align-items:center;gap:8px}.ad-h span{background:#C8102E;color:#fff;border-radius:999px;padding:1px 9px;font-size:13px}
.ad-qb{font-weight:800;font-size:17px;line-height:1.6;margin:0 0 10px}
.ad-qo{display:grid;gap:6px;margin-bottom:12px}.ad-qo span{padding:9px 12px;border-radius:12px;background:var(--bg);font-weight:700}.ad-qo span.ok{background:#1F9D55;color:#fff}
.ad-qn{margin-bottom:12px}.ad-qn p{margin:0 0 6px;color:var(--muted,#8E8E93);font-size:14px;line-height:1.6}
.ad-qr{display:flex;align-items:center;gap:8px;margin-bottom:8px}.ad-qr input[type=radio]{width:22px;height:22px;flex:none;accent-color:#1F9D55}.ad-qr .input{flex:1;min-width:0}
.s-prof-pg{margin-top:12px}
html body:not(.wide) .sh.pvx .s-prof-pg .sp-rows{background:rgba(255,255,255,.07);-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);border:1px solid rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
html body:not(.wide) .sh.pvx .s-prof-pg .code-pill{background:rgba(255,255,255,.1)!important;border:0!important}
#app.pg-anim>.sh.s-tabpg{z-index:2;background:#000;will-change:transform;box-shadow:0 0 24px rgba(0,0,0,.5)}
.pg-layer .sh.s-tabpg{min-height:100vh}
.sp-pill[hidden]{display:none!important}
body:not(.wide) .s-nav .nav-sq{transform:translateZ(0);-webkit-backface-visibility:hidden}
/* v357 «وضع السبورة» */
.nw-days{flex-wrap:wrap}
.nw-days .nw-now{flex:1 1 100%;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.3}
.nw-days .nw-now small{font-size:13px;font-weight:600;color:var(--muted)}
.bd-set{padding:14px}
.bd-lb{font-size:14px;color:var(--muted);font-weight:700;margin:12px 2px 8px}.bd-lb:first-child{margin-top:0}
.bd-row{display:flex;gap:8px}
.bd-chip{flex:1;min-height:48px;border-radius:14px;border:2px solid transparent;background:rgba(255,255,255,.08);color:inherit;font:800 16px Cairo,system-ui,sans-serif;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.25;padding:6px 4px;cursor:pointer}
.bd-chip small{font-size:11.5px;font-weight:600;color:var(--muted)}
.bd-chip.on{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 18%,transparent)}
.bd-mgrow{margin-top:14px;width:100%}
.bd-mgrow small{display:block;font-size:12.5px;color:var(--muted);font-weight:600;line-height:1.5}
.bd-sw{flex:none;width:50px;height:30px;border-radius:99px;background:rgba(255,255,255,.18);position:relative;transition:background .2s}
.bd-sw i{position:absolute;top:3px;right:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .2s}
.bd-sw.on{background:#30D158}.bd-sw.on i{transform:translateX(-20px)}
.bd-warn{margin:8px 2px 0;font-size:13px;color:#F5B72B}
.bd{min-height:100vh;min-height:100dvh;background:#000;color:#F5F5F7;padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 24px max(16px,env(safe-area-inset-left));box-sizing:border-box;display:flex;flex-direction:column;gap:14px;max-width:1100px;margin:0 auto;position:relative}
.bd::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(60vw 50vw at 85% 0%,rgba(200,16,46,.4),transparent 70%),radial-gradient(50vw 50vw at 10% 100%,rgba(245,183,43,.1),transparent 70%)}
.bd-bar{display:flex;justify-content:space-between;align-items:center}
.bd-x,.bd-fs{border:0;background:rgba(255,255,255,.1);color:#fff;border-radius:99px;min-width:44px;height:44px;padding:0 14px;font:700 15px Cairo,sans-serif;cursor:pointer}
.bd-h{margin:0;font-size:clamp(22px,3.5vw,34px);font-weight:800}.bd-h.center{text-align:center}
.bd-sub{color:#98989F;font-size:clamp(14px,1.8vw,18px);margin:0}
.bd-teams{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.bd-tm{border-radius:18px;padding:12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-top:5px solid var(--c)}
.bd-tm>b{display:block;color:var(--c);font-size:18px;margin-bottom:8px}.bd-tm>b small{color:#98989F;font-size:14px}
.bd-tm>div{display:flex;flex-wrap:wrap;gap:6px}
.bd-nm{border:0;background:rgba(255,255,255,.1);color:#F5F5F7;border-radius:99px;padding:6px 12px;font:700 15px Cairo,sans-serif;cursor:pointer}
.bd-acts{display:flex;flex-direction:column;gap:10px;margin-top:auto;max-width:520px;width:100%;align-self:center}
.bd-top{display:flex;gap:8px}
.bd-sc{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:6px;border-radius:16px;padding:8px 14px;background:rgba(255,255,255,.07);border-bottom:5px solid var(--c);font-weight:800;font-size:clamp(15px,2vw,22px)}
.bd-sc.turn{background:color-mix(in srgb,var(--c) 30%,transparent)}
.bd-sc em{font-style:normal;color:#F5B72B;font-size:clamp(22px,3vw,36px);font-weight:900}
.bd-who{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.bd-pick{background:var(--c);color:#fff;border-radius:99px;padding:4px 20px;font-weight:900;font-size:clamp(20px,3vw,34px)}
.bd-pick.pop{animation:bdpop .35s ease}@keyframes bdpop{0%{transform:scale(.6);opacity:0}}
.bd-dice{border:0;background:rgba(255,255,255,.1);color:#fff;border-radius:99px;padding:8px 16px;font:700 15px Cairo,sans-serif;cursor:pointer}
.bd-qrow{display:flex;align-items:center;gap:14px}
html body .bd .qbox.bd-q{flex:1;min-width:0;background:#1C1C1E!important;border:0!important;box-shadow:none!important;color:#F5F5F7!important;border-radius:22px;padding:22px 18px;font-size:clamp(22px,3.6vw,44px);font-weight:800;line-height:1.5;text-align:center;animation:none}
html body .bd .qbox.bd-q::before{display:none}
.bd-ring{width:clamp(70px,10vw,120px);aspect-ratio:1;flex:none;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#F5B72B calc(var(--p)*1%),rgba(255,255,255,.12) 0);font-weight:900;font-size:clamp(22px,3vw,40px);position:relative}
.bd-ring::before{content:"";position:absolute;inset:9px;border-radius:50%;background:#000}.bd-ring b{position:relative}
.bd-opts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bd-opt{border:0;border-radius:20px;min-height:clamp(70px,12vh,130px);padding:12px;font:800 clamp(20px,3vw,38px) Cairo,sans-serif;color:#fff;background:#2C2C2E;cursor:pointer;position:relative;overflow:hidden}
.bd-opt::before{content:"";position:absolute;top:0;bottom:0;right:0;width:9px}
.bd-opt.oc0::before{background:#FF453A}.bd-opt.oc1::before{background:#0A84FF}.bd-opt.oc2::before{background:#FFD60A}.bd-opt.oc3::before{background:#30D158}
.bd-opts.tf .bd-opt.oc0::before,.bd-opts.tf .bd-opt.oc1::before{display:none}
.bd-opt.good{background:#30D158;color:#000}.bd-opt.bad{background:#FF453A}.bd-opt.dim{opacity:.35}
.bd-fb{text-align:center;font-size:clamp(22px,3vw,36px);font-weight:900;min-height:1.4em}
.bd-fb .ok{color:#30D158}.bd-fb .no{color:#FF453A}
.bd-next{max-width:520px;align-self:center}
.bd-mg{display:flex;justify-content:center;align-items:center;min-height:260px}
.bd .mg-grid{width:min(100%,calc(var(--n)*130px))}
.bd .mg-grid .mg-c{font-size:46px}
.bd-call{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px}
.bd-call .bd-em{font-size:72px}.bd-call h2{margin:0;font-size:clamp(26px,4vw,44px)}.bd-call p{margin:0;font-size:clamp(18px,2.6vw,28px);color:#C7C7CC}
.bd-call .btn{max-width:320px}
.bd-pod{display:flex;align-items:flex-end;justify-content:center;gap:14px;flex:1;padding-top:10px}
.bd-pod div{display:flex;flex-direction:column;align-items:center;gap:6px;font-weight:800;font-size:clamp(16px,2.4vw,26px)}
.bd-pod i{display:block;width:clamp(80px,16vw,160px);border-radius:16px 16px 0 0;background:color-mix(in srgb,var(--c) 45%,transparent);font-style:normal;text-align:center;font-size:36px;padding-top:8px}
.bd-pod small{color:#F5B72B;font-size:clamp(16px,2.4vw,26px)}
.bd-stars{text-align:center;color:#C7C7CC;font-size:clamp(15px,2vw,22px);margin:0}.bd-stars b{color:#F5B72B}
.bd-sum{margin:12px 2px 0;font-size:14px;color:#C7C7CC;line-height:1.6}.bd-sum b{color:#F5B72B}

/* student entry on the teacher login: same clear outlined button as «أنا معلم» on the student screen */
.ta .ta-stu{display:block;width:100%;min-height:54px;margin-top:16px;border:2px solid #F5B72B;border-radius:18px;background:#1C1C1E;color:#F5B72B;font:inherit;font-weight:800;font-size:16px;cursor:pointer}
.ta .ta-stu b{color:#F5B72B;font-weight:800}
/* v361: new-challenge steps: pinned main button + small back arrow (Khalid) */
.nw-foot{position:fixed;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:560px;bottom:calc(max(6px, env(safe-area-inset-bottom) - 20px) + 64px);z-index:19;display:flex;gap:10px;align-items:stretch;margin:0;padding:16px 0 10px;background:linear-gradient(to bottom,transparent,var(--bg,#000) 22px)}
.nw-foot .btn.nw-go{flex:1;width:auto;margin:0}
.nw-bk{flex:0 0 62px;min-height:62px;border-radius:20px;border:1px solid rgba(255,255,255,.12);background:#2C2C2E;color:#fff;display:grid;place-items:center;cursor:pointer}
body:not(.dark) .nw-bk{background:#fff;color:#1C1C1E;border-color:rgba(0,0,0,.1)}
.nw-bk .ico{width:24px;height:24px}
body:has(.nw-foot .nw-bk) .t-top .back-btn{display:none}
/* v362: logout dialog shows the personal code */
.dlg-code{margin:8px auto 2px;font-size:30px;font-weight:800;letter-spacing:3px;background:rgba(0,0,0,.06);border-radius:12px;padding:8px 14px;user-select:all;-webkit-user-select:all}
body.dark .dlg-code,.sh .dlg-code{background:#1C1C1E}
.dlg-cp{border:0;background:transparent;color:#0A84FF;font:inherit;font-size:14px;padding:6px;cursor:pointer}

.nw:has(.nw-foot){padding-bottom:96px}
.nw:has(.nw-foot) .nw-sp{display:none}
/* v364: zero points = grey dash, lighter name (Khalid) */
.cp-row.z .cp-pts{color:#636366!important;font-weight:500!important}
.cp-row.z b{font-weight:500}
/* v365: «كم يوم؟» simplified (Khalid) */
.nw-set1{display:flex;align-items:center;gap:12px;width:100%;background:var(--card,#1C1C1E);border:1.5px solid rgba(255,255,255,.12);border-radius:18px;padding:14px;color:inherit;font:inherit;text-align:right;cursor:pointer}
.nw-set1 .grow{display:flex;flex-direction:column;gap:2px;min-width:0}.nw-set1 b{font-size:16px}.nw-set1 small{color:#AEAEB2;font-size:13px}
.nw-set1 em{font-style:normal;color:#ff4d5e;font-weight:700;font-size:14px;white-space:nowrap}
.nw-less{display:block;width:100%;background:none;border:0;border-top:1px solid rgba(255,255,255,.08);color:#C7C7CC;font:inherit;font-size:14px;padding:12px;cursor:pointer}
.nw-nowl{display:block;margin:4px auto 0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:14px;color:#C7C7CC;font:inherit;font-size:14px;padding:8px 14px;cursor:pointer}
body:not(.dark) .nw-set1{background:#fff;border-color:rgba(0,0,0,.1)}
/* v366: board mode entry on home (Khalid) */
.h-brd{display:flex;align-items:center;gap:12px;margin-top:14px;background:linear-gradient(135deg,#1A3D82,#0E1938);border:1px solid rgba(255,255,255,.14);border-radius:22px;padding:16px;color:#fff;text-decoration:none}
.h-brd-e{font-size:34px;line-height:1}.h-brd .grow{display:flex;flex-direction:column;gap:2px;min-width:0}.h-brd b{font-size:17px}.h-brd small{color:#C7D7F5;font-size:12.5px}.h-brd i{font-style:normal;font-size:20px;opacity:.8}
.nw-brd .nw-dots i.on{background:#0A84FF}
/* v368: onboarding grade screen labels */
.obr-lb{font-size:13px;font-weight:800;color:#C7C7CC;margin:12px 4px 6px;text-align:right}.obr-lb small{font-weight:500;color:#8E8E93}
/* v369: student home after playing = one card (Khalid) */
.sp-one .sp-slot{margin:14px 0 4px;background:rgba(0,0,0,.35);border-radius:18px;padding:12px}
.sp-one .sp-slot[hidden]{display:none!important}
.sp-one .sp-slot .lv-next{display:flex;flex-direction:column;gap:8px;align-items:stretch}
.sp-one .sp-slot{align-self:stretch}
.sp-one .sp-prac{display:flex;align-items:center;justify-content:center;gap:8px;align-self:stretch;margin-top:6px;min-height:52px;border:1.5px solid #48484A;border-radius:18px;background:#2C2C2E;color:#F5F5F7;font:inherit;font-weight:900;font-size:16px;box-shadow:0 5px 0 #0E0E10;cursor:pointer}
.sp-one .sp-prac span{font-size:20px}
.sp-one .sp-prac:active{transform:translateY(3px);box-shadow:0 2px 0 #0E0E10}
.sp-open.soft{background:#2C2C2E!important;box-shadow:none!important}
.lb-goal:empty{display:none}.lb-goal{margin-bottom:12px}
/* v371 subject sheet rows with switches + clear «many questions» button */
.q4-rows{background:var(--card);border-radius:18px;overflow:hidden;margin-top:6px}
.q4-rw{display:flex;align-items:center;gap:10px;padding:0 12px;border-bottom:1px solid var(--line)}
.q4-sw{flex:none;width:50px;height:30px;border-radius:15px;border:0;background:color-mix(in srgb,var(--ink) 22%,transparent);position:relative;cursor:pointer;transition:background .2s;padding:0}
.q4-sw i{position:absolute;top:3px;right:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:right .2s}
.q4-sw.added{background:#30D158}.q4-sw.added i{right:23px}
.q4-rt{flex:1;display:flex;align-items:center;gap:8px;background:none;border:0;color:var(--ink);font:inherit;text-align:start;padding:13px 0;cursor:pointer;min-width:0}
.q4-rt b{display:block;font-size:15px;font-weight:800}.q4-rt small{display:block;font-size:12.5px;color:var(--muted);font-weight:700}
.q4-chev{font-size:20px;color:var(--muted)}
.q4-rnew{display:block;width:100%;background:none;border:0;color:var(--muted);font:inherit;font-size:14px;font-weight:700;padding:13px;cursor:pointer}
.p3-many{display:block;width:100%;margin-top:10px;background:var(--card);border:1.5px solid var(--line);border-radius:16px;color:var(--ink);font:inherit;font-size:15px;font-weight:800;padding:13px;cursor:pointer}
/* v372 rules page: advanced settings fold */
.nw-set1.rl-more{margin-top:18px}.nw-set1.rl-more .rl-e{font-size:22px}
.set-grp .nw-less{border-top:0}
/* v373: bottom space only after the last squares grid (gap above «مواد أخرى») */
.q5-sq:not(:last-child){padding-bottom:0}
/* v374: lesson rows use a ✓ circle instead of a switch */
.q4-ck{flex:none;width:30px;height:30px;border-radius:50%;border:2px solid color-mix(in srgb,var(--ink) 35%,transparent);background:none;color:transparent;font-size:16px;font-weight:900;display:grid;place-items:center;padding:0;cursor:pointer;transition:background .12s,border-color .12s}
.q4-ck.added{background:#30D158;border-color:#30D158;color:#fff}
/* v375 bank question view + report */
.q4-qvb{font-size:17px;font-weight:800;line-height:1.6;margin:6px 2px 12px}
.q4-qvo{display:flex;flex-direction:column;gap:8px}
.q4-qvo div{background:var(--card);border-radius:14px;padding:11px 14px;font-weight:700;border:1.5px solid transparent}
.q4-qvo div.ok{border-color:#30D158;color:#30D158}
.q4-rep{display:block;width:100%;margin-top:14px;background:none;border:1.5px solid var(--line);border-radius:14px;color:var(--ink);font:inherit;font-weight:700;padding:11px;cursor:pointer}
/* v376 subject page (one page instead of stacked sheets) */
.sj-chips{margin-bottom:10px}
.sj-hero{background:var(--card);border-radius:20px;padding:14px;margin-bottom:12px}
.sj-n{font-size:15px;font-weight:800}.sj-n em{font-style:normal;color:#30D158}
.sj-bar{height:8px;border-radius:4px;background:color-mix(in srgb,var(--ink) 12%,transparent);margin:8px 0 10px;overflow:hidden}.sj-bar i{display:block;height:100%;background:#30D158;transition:width .25s}
.sj-2{display:flex;gap:8px}.sj-2 button{flex:1;background:color-mix(in srgb,var(--ink) 10%,transparent);border:0;border-radius:12px;color:var(--ink);font:inherit;font-size:14px;font-weight:700;padding:9px;cursor:pointer}.sj-2 button:disabled{opacity:.4}
.sj-ls{background:var(--card);border-radius:18px;overflow:hidden;margin-bottom:110px}
/* v392: Apple-style inset dividers: start after the ✓ circle, stop before the edge; the line under the section header too */
.sj-l{position:relative}.sj-l::after{content:'';position:absolute;bottom:0;inset-inline-start:54px;inset-inline-end:14px;height:1px;background:var(--line)}.sj-l:last-child::after{display:none}.sj-sh{position:relative}.sj-sec:not(.fold)>.sj-sh::after{content:'';position:absolute;bottom:0;inset-inline-start:54px;inset-inline-end:14px;height:1px;background:var(--line)}
.sj-lh{display:flex;align-items:center;gap:10px;padding:0 12px}
.sj-lt{flex:1;display:flex;align-items:center;gap:8px;background:none;border:0;color:var(--ink);font:inherit;text-align:start;padding:13px 0;cursor:pointer;min-width:0}
.sj-lt b{display:block;font-size:15px;font-weight:800}.sj-lt small{display:block;font-size:12.5px;color:var(--muted);font-weight:700}
.sj-ch{font-size:20px;color:var(--muted);transition:transform .2s}.sj-l.open .sj-ch{transform:rotate(-90deg)}
.sj-qs{padding:0 12px 12px 12px}
.sj-q{display:flex;gap:10px;align-items:flex-start;width:100%;background:color-mix(in srgb,var(--ink) 6%,transparent);border:0;border-radius:12px;color:var(--ink);font:inherit;text-align:start;padding:9px 10px;margin-top:6px;cursor:pointer}
.sj-q em{font-style:normal;flex:none;width:22px;height:22px;border-radius:50%;background:color-mix(in srgb,var(--ink) 14%,transparent);display:grid;place-items:center;font-size:12px;font-weight:800}
.sj-q b{display:block;font-size:14px;font-weight:700;line-height:1.5}.sj-q small{display:block;font-size:12px;color:#30D158;font-weight:700}
.sj-note{font-size:12.5px;color:var(--muted);margin:10px 2px 0;text-align:center}
.sj-ed{display:flex;gap:8px;margin-top:8px}.sj-ed button{flex:1;background:none;border:1px solid var(--line);border-radius:12px;color:var(--ink);font:inherit;font-size:13px;font-weight:700;padding:8px;cursor:pointer}.sj-ed .dng{color:#FF453A}
/* v378 board teams screen: back arrow beside «ابدأ» like the new-challenge steps */
.bd-foot{display:flex;gap:10px;align-items:stretch}.bd-foot .btn{flex:1;margin:0}
/* v379 new challenge: lessons come from the questions page ✓ */
.nw-pk-row small{display:block;font-size:12.5px;color:var(--muted);font-weight:700}
.nw-pk-row.none small{color:#FF9F0A}
.nw-pk .q4-rows{max-height:52vh;overflow:auto;margin-bottom:12px}
/* v381 questions page UX review */
.q4-start{background:var(--card);border-radius:18px;padding:14px 16px;font-size:16px;font-weight:700;line-height:1.7;color:var(--ink)}.q4-start b{display:block;font-size:17px;font-weight:800;margin-bottom:2px}
.q5-newl,.q5-addl{display:block;width:100%;background:none;border:1.5px dashed var(--line);border-radius:14px;color:var(--ink);font:inherit;font-size:15px;font-weight:700;padding:12px;margin-top:10px;cursor:pointer}
.q5-addl{border-style:solid;margin-top:16px}
.q5-gen.soon{opacity:.55}
.q5-gnote{font-size:14.5px;color:var(--muted);margin:4px 2px 12px;line-height:1.6}
.sj-tip{font-size:15px;font-weight:700;margin:4px 4px 10px;color:var(--ink)}
.sj-on{font-style:normal;color:#1F9D55;font-weight:800}
.sj-ch{font-size:13px;font-weight:700;background:color-mix(in srgb,var(--ink) 8%,transparent);border-radius:999px;padding:4px 10px;white-space:nowrap}.sj-l.open .sj-ch{transform:none}
.sj-offall{display:block;margin:14px auto 0;background:none;border:0;color:var(--muted);font:inherit;font-size:14px;font-weight:700;text-decoration:underline;cursor:pointer}
.sj-note.top{margin:2px 2px 10px;font-weight:700}
.q4-repb{margin-top:14px}
.q4-where{display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:color-mix(in srgb,var(--ink) 7%,transparent);border-radius:12px;padding:9px 12px;margin:0 0 12px;font-size:14px;color:var(--muted)}.q4-where b{color:var(--ink)}
.q4-where button{margin-inline-start:auto;background:none;border:0;color:var(--ink);text-decoration:underline;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.q4-tpl{display:block;margin:12px auto 0;background:none;border:0;color:var(--muted);font:inherit;font-size:14px;font-weight:700;text-decoration:underline;cursor:pointer}
.q3-wr{width:100%;display:flex;align-items:center;gap:10px;text-align:start}.q3-wr .e{font-size:24px}
.q5-sb.q5-emp{border-style:dashed}.q5-sb.q5-emp small{color:var(--ink)}
/* v386 term tabs + section rows on the subject page */
.sj-tabs{display:flex;background:var(--card);border-radius:16px;padding:4px;margin-bottom:12px}
.sj-tabs button{flex:1;border:0;background:none;padding:10px 6px;border-radius:12px;font:inherit;font-weight:800;font-size:15.5px;color:var(--muted);cursor:pointer}
.sj-tabs button.on{background:color-mix(in srgb,var(--ink) 12%,transparent);color:var(--ink)}
.sj-tabs small{display:block;font-size:12px;font-weight:600;color:var(--muted)}
.sj-cur{font-style:normal;font-size:11px;font-weight:700;color:#1F9D55;margin-inline-start:6px}
.sj-sec{background:var(--card);border-radius:18px;margin-bottom:12px;overflow:hidden}
.sj-sec>.sj-ls{border-radius:0;background:none;margin:0}
.sj-sec.fold>.sj-ls{display:none}
.sj-sh{display:flex;align-items:center;gap:12px;padding:12px 14px}
.sj-st{flex:1;min-width:0;background:none;border:0;padding:0;font:inherit;color:inherit;text-align:start;cursor:pointer}
.sj-st b{display:block;font-size:16.5px;font-weight:800}
.sj-st small{color:var(--muted);font-size:13px}
/* v392: Apple-style disclosure chevron (SVG, bold stroke, 44px tap area); points down when open, sideways when folded */
.sj-chv{flex:none;width:44px;height:44px;margin:-8px -8px -8px 0;background:none;border:0;padding:0;display:grid;place-items:center;color:rgba(235,235,245,.32);cursor:pointer}.sj-chv svg{transform:rotate(-90deg);transition:transform .2s}.sj-sec.fold .sj-chv svg{transform:rotate(0)}
.q4-ck.part{border-color:#1F9D55;color:transparent;position:relative}.q4-ck.part::after{content:'–';position:absolute;inset:0;display:grid;place-items:center;color:#1F9D55;font-size:22px;line-height:1}
.sj-newl{margin-top:2px;margin-bottom:110px}

/* v395 «العب في الصف الحين» lives in the new-challenge flow */
.nw-mode{display:flex;gap:4px;padding:4px;margin:0 0 14px;background:#1C1C1E;border-radius:16px}
.nw-mode button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:6px 8px;border:0;border-radius:12px;background:transparent;color:#C7C7CC;font:inherit;font-size:14.5px;font-weight:800}
.nw-mode button.on{background:#2C2C2E;color:#fff}
.nw-mode svg{flex:none}

/* v401 onboarding step 3: stage tabs + flat grade grid (one screen, no checkboxes for single choice) */
.gp-seg{display:flex;gap:4px;padding:4px;margin:6px 0 16px;background:#1C1C1E;border-radius:16px}
.gp-seg button{flex:1;min-height:44px;border:0;border-radius:12px;background:transparent;color:#C7C7CC;font:inherit;font-size:15px;font-weight:800}
.gp-seg button.on{background:#2C2C2E;color:#fff}
.gp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.gp-t{min-height:64px;border:1.5px solid transparent;border-radius:16px;background:#1C1C1E;color:#fff;font:inherit;font-size:17px;font-weight:800;padding:6px}
.gp-t.on{background:#2A0C12;border-color:#C8102E}
.gp-lb{margin:20px 4px 8px;color:#C7C7CC;font-size:14px;font-weight:700}.gp-lb small{font-weight:500}
.gp-secs{display:flex;flex-wrap:wrap;gap:8px}
.gp-s{min-width:52px;min-height:44px;padding:0 16px;border:1.5px solid transparent;border-radius:99px;background:#1C1C1E;color:#fff;font:inherit;font-size:16px;font-weight:800}
.gp-s.on{background:#2A0C12;border-color:#C8102E}

.h-nb{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:14px;background:#1C1C1E;border:1px solid #3A3A3C;border-radius:18px;color:#fff;text-decoration:none}
.h-nb .e{font-size:28px}.h-nb .grow{display:flex;flex-direction:column;gap:2px;min-width:0}.h-nb b{font-size:15.5px}.h-nb small{color:#C7C7CC;font-size:13px}.h-nb i{font-style:normal;font-size:20px;color:#C7C7CC}
.gp-grid.c2{grid-template-columns:repeat(2,1fr)}
#ob .gp-secs+.obr-go,#ob .gp-grid+.obr-go{margin-top:28px}
.q4-op button{display:grid;place-items:center;padding:0;line-height:1;font-size:18px;text-align:center}

/* v409 live class game */
.nw-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}
.nw-modes button{display:flex;flex-direction:column;gap:4px;text-align:start;padding:14px;border:2px solid transparent;border-radius:18px;background:#1C1C1E;color:#fff;font:inherit}
.nw-modes button.on{border-color:#C8102E;background:#2A0C12}
.nw-modes .e{font-size:30px}.nw-modes b{font-size:16px}.nw-modes small{color:#C7C7CC;font-size:12.5px;line-height:1.45}
.lv-card{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 12px;padding:14px;border:1px solid #C8102E;border-radius:18px;background:#2A0C12;color:#fff;font:inherit;font-weight:800;text-align:start;animation:lvp 1.6s infinite}
.lv-card small{display:block;color:#C7C7CC;font-weight:500}.lv-card i{margin-inline-start:auto;font-style:normal;font-size:22px}
@keyframes lvp{50%{box-shadow:0 0 0 6px rgba(200,16,46,.25)}}
.lvb{position:fixed;inset:0;z-index:900;background:#000;color:#fff;overflow:auto;padding:calc(18px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 24px max(20px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:16px;direction:rtl;font-family:inherit}
.lvb::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% -10%,rgba(200,16,46,.35),transparent 55%);pointer-events:none}
.lvb>*{position:relative}
.lv-x{position:absolute!important;top:calc(14px + env(safe-area-inset-top));left:16px;width:44px;height:44px;border:0;border-radius:50%;background:#2C2C2E;color:#fff;display:grid;place-items:center;z-index:3}
.lv-t{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-inline-start:0;padding-inline-start:56px}
.lv-t h1{margin:0;font-size:clamp(24px,4vw,40px);font-weight:900}
.lv-pill{background:#2C2C2E;border-radius:99px;padding:6px 16px;font-weight:800;font-size:clamp(14px,2vw,20px)}
.lv-join{display:flex;gap:28px;align-items:center;justify-content:center;flex-wrap:wrap;margin:8px 0}
.lv-h{color:#C7C7CC;font-size:clamp(14px,2vw,20px);font-weight:700}
.lv-code{font-size:clamp(48px,10vw,110px);font-weight:900;letter-spacing:.08em;color:#F5B82E;text-align:center}
.lv-qr{width:clamp(130px,22vw,220px);background:#fff;border-radius:14px;padding:10px;line-height:0}.lv-qr svg{width:100%;height:auto}
.lv-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.lv-chip{background:#2C2C2E;border-radius:99px;padding:8px 18px;font-weight:800;font-size:clamp(15px,2.2vw,24px)}
.lv-go{align-self:center;min-width:220px;min-height:60px;border:0;border-radius:18px;background:#C8102E;box-shadow:0 5px 0 #8E0B21;color:#fff;font:inherit;font-size:22px;font-weight:900;margin-top:auto}
.lv-go:disabled{opacity:.4}.lv-go.lv-sm{min-height:48px;font-size:17px;background:#2C2C2E;box-shadow:none}
.lv-bar{height:12px;border-radius:99px;background:#2C2C2E;overflow:hidden}.lv-bar i{display:block;height:100%;background:#C8102E;transition:width 1s linear}
.lv-q{background:#1C1C1E;border-radius:22px;padding:clamp(16px,3vw,32px);font-size:clamp(24px,4.4vw,46px);font-weight:900;line-height:1.5}
.lv-opts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lv-o{position:relative;overflow:hidden;background:#2C2C2E;border-radius:16px;padding:clamp(14px,2.4vw,26px);font-size:clamp(18px,3vw,32px);font-weight:800;display:flex;align-items:center;gap:10px}
.lv-o b{color:#F5B82E}.lv-o i{position:absolute;inset-block:0;inset-inline-start:0;background:rgba(255,255,255,.14)}.lv-o span,.lv-o em{position:relative}.lv-o em{margin-inline-start:auto;font-style:normal;font-weight:900}
.lv-o.ok{background:#14532d;outline:3px solid #30D158}.lv-o.no{opacity:.55}
.lv-top{display:flex;flex-direction:column;gap:8px}.lv-row{display:flex;gap:12px;align-items:center;background:#1C1C1E;border-radius:14px;padding:10px 16px;font-weight:800;font-size:clamp(16px,2.4vw,26px)}.lv-row b{color:#F5B82E;width:26px}.lv-row em{margin-inline-start:auto;font-style:normal;color:#C7C7CC}
.lv-pod{display:flex;gap:14px;align-items:flex-end;justify-content:center;margin:20px 0}.lv-pod div{background:#2C2C2E;border-radius:16px 16px 0 0;padding:16px 20px;text-align:center;min-width:120px;display:flex;flex-direction:column;gap:4px;font-size:34px}.lv-pod b{font-size:clamp(16px,2.4vw,26px)}.lv-pod small{font-size:18px;color:#C7C7CC}
.lv-pod .p1{min-height:220px;background:linear-gradient(#5b4a10,#2C2C2E)}.lv-pod .p2{min-height:170px}.lv-pod .p3{min-height:130px}
@media(max-width:700px){.lv-opts{grid-template-columns:1fr}}
.lvs{position:fixed;inset:0;z-index:900;background:#000;color:#fff;display:flex;flex-direction:column;gap:12px;padding:calc(14px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));direction:rtl;overflow:auto}
.lvs-top{display:flex;justify-content:space-between;font-weight:800;color:#C7C7CC;font-size:15px}
.lvs-bar{height:10px;border-radius:99px;background:#2C2C2E;overflow:hidden}.lvs-bar i{display:block;height:100%;background:#C8102E;transition:width 1s linear}
.lvs-q{background:#1C1C1E;border-radius:18px;padding:16px;font-size:20px;font-weight:800;line-height:1.55}
.lvs-o{display:flex;flex-direction:column;gap:10px}
.lvs-o button{border:0;border-radius:16px;background:#2C2C2E;color:#fff;font:inherit;font-size:18px;font-weight:700;min-height:60px;padding:10px 14px;text-align:start;display:flex;gap:10px;align-items:center}
.lvs-o button b{color:#F5B82E}.lvs-o button.pick{outline:3px solid #F5B82E}.lvs-o button:disabled:not(.pick){opacity:.5}
.lvs-wait{text-align:center;color:#C7C7CC;font-weight:700}
.lvs-mid{margin:auto;text-align:center;display:flex;flex-direction:column;gap:8px;align-items:center}.lvs-mid .e{font-size:72px}.lvs-mid b{font-size:26px}.lvs-mid small{color:#C7C7CC;font-size:16px}
.lvs-back{margin-top:16px;min-height:52px;padding:0 36px;border:0;border-radius:16px;background:#C8102E;box-shadow:0 5px 0 #8E0B21;color:#fff;font:inherit;font-size:18px;font-weight:800}

/* v411 student delete account */
.s-del-me{display:block;margin:22px auto 6px;background:none;border:0;color:#FF6B6B;font:700 14px inherit;font-family:inherit;padding:10px 16px;cursor:pointer}

/* v415 onboarding subjects: 3x2 grid + one slim «أخرى» row */
#ob .obs{gap:10px}
#ob .obs>.ob-t{min-height:104px;box-shadow:none;border:1.5px solid transparent;border-radius:18px}
#ob .obs>.ob-t.on{border-color:#30D158}
#ob .obs>.ob-t:last-child{grid-column:1/-1;min-height:56px;flex-direction:row;gap:10px;justify-content:center;background:transparent;border:1.5px dashed #636366}
#ob .obs>.ob-t:last-child::before{display:none}
#ob .obs>.ob-t:last-child .e{font-size:20px}
#ob .obs{display:grid!important;grid-template-columns:repeat(3,1fr)!important;margin-top:16px}
#ob .obs>.ob-t:last-child{grid-column:1/-1!important;width:100%}
#ob .obs+.obr-go{margin-top:22px}
/* v425 result: correct count line */
.rs-ok{text-align:center;font-size:17px;color:#C7C7CC;margin:2px 0 6px}.rs-ok b{color:#fff;font-weight:800}
/* v428 board answers = same stopwatch-quarters look as the challenge round */
.bd-opts:not(.tf){--S:110px;--g:12px}
.bd-opts:not(.tf) .bd-opt{border-radius:18px}
.bd-opts:not(.tf) .bd-opt::before{width:var(--S)!important;height:var(--S);top:auto;bottom:auto;left:auto;right:auto;background:none no-repeat!important;background-size:var(--S)!important;background-position:calc(var(--S)*.02) calc(var(--S)*-.083)!important}
.bd-opts:not(.tf) .bd-opt:nth-child(1)::before{background-image:url(aw-r.png)!important;left:calc(var(--S)/-2 - var(--g)/2);bottom:calc(var(--S)/-2 - var(--g)/2)}
.bd-opts:not(.tf) .bd-opt:nth-child(2)::before{background-image:url(aw-b.png)!important;right:calc(var(--S)/-2 - var(--g)/2);bottom:calc(var(--S)/-2 - var(--g)/2)}
.bd-opts:not(.tf) .bd-opt:nth-child(3)::before{background-image:url(aw-y.png)!important;left:calc(var(--S)/-2 - var(--g)/2);top:calc(var(--S)/-2 - var(--g)/2)}
.bd-opts:not(.tf) .bd-opt:nth-child(4)::before{background-image:url(aw-g.png)!important;right:calc(var(--S)/-2 - var(--g)/2);top:calc(var(--S)/-2 - var(--g)/2)}
.bd-opts .bd-opt.good::before,.bd-opts .bd-opt.bad::before,.bd-opts .bd-opt.dim::before{opacity:0}
.bd-opts:not(.tf){gap:6px;--g:6px}
.bd-opt{box-shadow:0 5px 0 #141416;color:#F5F5F7}
.bd-opt:active{transform:translateY(3px);box-shadow:0 2px 0 #141416}
.bd-opt.good{background:#1F9D55;color:#fff;box-shadow:0 5px 0 #136B38}.bd-opt.bad{background:#C8102E;box-shadow:0 5px 0 #7A0A1C}
.cp-tile{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
/* v431 iOS-style context menu (class long press / ⋯) */
.cxm-w{position:fixed;inset:0;z-index:9000}
.cxm-dim{position:absolute;inset:0;background:rgba(0,0,0,.3);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .22s}
.cxm-w.on .cxm-dim{opacity:1}
.cxm-lift{position:fixed!important;margin:0!important;z-index:2;transform:scale(1.04);box-shadow:0 12px 30px rgba(0,0,0,.6);pointer-events:none;transition:transform .2s,top .25s ease}
.cxm{position:fixed;z-index:3;background:rgba(44,44,46,.82);-webkit-backdrop-filter:blur(30px) saturate(1.6);backdrop-filter:blur(30px) saturate(1.6);border-radius:22px;overflow:hidden;transform:scale(.4);opacity:0;transition:transform .28s cubic-bezier(.3,1.3,.5,1),opacity .2s}
.cxm-w.on .cxm{transform:none;opacity:1}
.cxm button{display:flex;align-items:center;gap:16px;width:100%;background:none;border:0;color:#fff;font:700 17px Cairo,system-ui,sans-serif;padding:13px 18px;text-align:right;min-height:48px}
.cxm button+button{border-top:.5px solid rgba(255,255,255,.12)}
.cxm button.sep{border-top:7px solid rgba(0,0,0,.25)}
.cxm button.red{color:#FF453A}
.cxm button:active{background:rgba(255,255,255,.1)}
.cxm svg{width:24px!important;height:24px!important;min-width:24px;flex:0 0 24px!important;margin:0!important;overflow:visible;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;order:0}
.cxm span{flex:1}
/* v434 questions page: shorter */
.q5-lr{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.q5-lr em{font-style:normal;font-size:13px;font-weight:700;color:#30D158}.q5-lr em.low{color:#FFD60A}
.q5-sq.one{grid-template-columns:1fr}
.q5-sq.one .q5-sb{display:grid!important;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;justify-items:start;text-align:right;min-height:0;padding:16px 18px;column-gap:14px;row-gap:2px;position:relative}
.q5-sq.one .q5-sb .e{grid-row:1/3;font-size:42px}
.q5-sq.one .q5-sb b{font-size:18px}
.q5-orow{display:flex;align-items:center;width:100%;background:var(--card);border:0;border-radius:16px;color:var(--ink);font:inherit;font-size:16px;font-weight:700;padding:14px 18px;margin-top:12px;text-align:right}
.q5-orow .q4-chev{color:var(--muted);font-size:20px}
.q5-osh .q5-sq{padding-bottom:6px}.q5-osh .q5-sb{opacity:1}
.q5-sq.q5-g3{grid-template-columns:1fr 1fr 1fr;gap:10px}
.q5-g3 .q5-sb{min-height:96px;padding:10px 4px;border-radius:18px}.q5-g3 .q5-sb .e{font-size:30px}.q5-g3 .q5-sb b{font-size:14px}.q5-g3 .q5-sb small{font-size:11.5px}

/* ===== v435 student redesign (ChatGPT designs, /mnt/project-files/redesign-gpt/s1..s4) ===== */
/* shared: red rays behind the hero */
html body:not(.wide) .sh.pvx.sl,html body:not(.wide) .sh.pvx.sp{position:relative;isolation:isolate}
html body:not(.wide) .sh.pvx.sl::before,html body:not(.wide) .sh.pvx.sp::before,html body:not(.wide) .sh.pvx .result::before{content:"";position:absolute;z-index:-1;left:50%;width:900px;height:900px;margin-left:-450px;pointer-events:none;
  background:radial-gradient(circle,rgba(200,16,46,.55) 0,rgba(120,8,24,.35) 28%,transparent 62%),repeating-conic-gradient(from 0deg,rgba(255,40,60,.16) 0 5deg,transparent 5deg 15deg);
  -webkit-mask:radial-gradient(circle,#000 0,#000 25%,transparent 60%);mask:radial-gradient(circle,#000 0,#000 25%,transparent 60%)}
html body:not(.wide) .sh.pvx.sl::before{top:-330px}
html body:not(.wide) .sh.pvx.sp::before{top:calc(50% - 520px)}
html body:not(.wide) .sh.pvx .result{position:relative;isolation:isolate}
html body:not(.wide) .sh.pvx .result::before{top:-420px}

/* s1 login */
html body .sl.sl-red .hero{padding-top:8px}
html body .sl.sl-red .hero .logo{width:150px!important;height:150px!important;filter:drop-shadow(0 10px 30px rgba(200,16,46,.6))}
html body .sl.sl-red .hero .logo img{width:100%;height:100%}
html body .sl.sl-red h1{font-size:40px!important;font-weight:900!important;color:#fff!important;-webkit-text-stroke:0;text-shadow:0 3px 0 #8E0B21,0 6px 18px rgba(200,16,46,.55)!important;margin-top:4px}
html body .sl.sl-red .sl1{background:rgba(18,18,20,.82);border:1.5px solid rgba(200,16,46,.55);border-radius:24px;padding:18px 14px 16px;box-shadow:0 0 24px rgba(200,16,46,.28),inset 0 1px 0 rgba(255,255,255,.06)}
html body .sl.sl-red .sl1-q{font-size:24px!important;font-weight:900;color:#fff}
html body .sl.sl-red .sl1-q::before,html body .sl.sl-red .sl1-q::after{content:"";display:inline-block;width:16px;height:16px;margin:0 10px;vertical-align:middle;background:linear-gradient(#FFD60A,#FFD60A) 50% 0/3px 7px no-repeat,linear-gradient(#FFD60A,#FFD60A) 0 50%/7px 3px no-repeat,linear-gradient(#FFD60A,#FFD60A) 100% 50%/7px 3px no-repeat}
html body .sl.sl-red .code-box{background:#1C1C1E!important;border:2px solid #48484A!important;border-radius:14px!important;color:#fff!important;font-weight:900}
html body .sl.sl-red .code-box.on{border-color:#FF2D46!important;background:#2A0A10!important;box-shadow:0 0 0 3px rgba(200,16,46,.35),0 0 18px rgba(255,45,70,.6)!important}
html body .sl.sl-red .sl1-go{min-height:62px;border-radius:20px!important;font-size:22px!important;font-weight:900!important;background:linear-gradient(180deg,#F0284A,#C8102E 55%,#B00D27)!important;box-shadow:0 6px 0 #7A0A1C,0 10px 26px rgba(200,16,46,.5)!important;display:flex;align-items:center;justify-content:center;gap:12px}
html body .sl.sl-red .sl1-go::before{content:"";width:26px;height:26px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E") center/contain no-repeat}
html body .sl.sl-red .sl1-h{color:#98989F}
html body .sl.sl-red .sl1-t{background:#141416!important;border:1.5px solid #3A3A3C!important;color:#F5F5F7!important;border-radius:22px!important;min-height:58px}
html body .sl.sl-red .sl1-t b{color:#fff!important}

/* s2 home */
html body:not(.wide) .sh.sp .s-head .who b{font-size:30px!important;font-weight:900}
html body:not(.wide) .sh.sp .sp-pills{gap:10px}
html body:not(.wide) .sh.sp .sp-pill{background:linear-gradient(180deg,#1E1E21,#121214)!important;border:1px solid #2C2C2E!important;border-radius:999px!important;padding:9px 16px!important;font-size:16px!important;font-weight:800!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 4px 10px rgba(0,0,0,.4)}
html body:not(.wide) .sh.sp .sp-rival,html body:not(.wide) .sh.sp .sp-prize{background:rgba(10,10,12,.85)!important;border:1.5px solid #E5A823!important;border-radius:999px!important;padding:10px 18px!important;font-weight:800;box-shadow:0 0 14px rgba(229,168,35,.25)}
html body:not(.wide) .sh.pvx .sp-play{width:min(68vw,270px)!important;height:min(68vw,270px)!important;background:radial-gradient(circle at 50% 30%,#FF3A55 0,#D9122F 45%,#A50C24 100%)!important;color:#fff!important;
  box-shadow:0 0 0 7px #E8B13A,0 0 0 9px #8A5A0C,0 12px 0 9px #5C0814,0 0 60px 18px rgba(255,40,60,.45)!important;position:relative;overflow:hidden}
html body:not(.wide) .sh.pvx .sp-play::after{content:"";position:absolute;left:12%;right:12%;top:5%;height:38%;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0));pointer-events:none}
html body:not(.wide) .sh.pvx .sp-play span{font-size:46px!important;font-weight:900;text-shadow:0 3px 0 rgba(90,0,15,.45)}
html body:not(.wide) .sh.pvx .sp-play small{font-size:15px!important;opacity:.9;text-shadow:none}
html body:not(.wide) .sh.pvx .sp-prac{background:linear-gradient(180deg,#232326,#151517)!important;border:1.5px solid #3A3A3C!important;border-radius:22px!important;min-height:60px;font-size:18px!important;font-weight:800!important;color:#fff!important;box-shadow:0 5px 0 #000,inset 0 1px 0 rgba(255,255,255,.07)!important}
html body:not(.wide) .s-nav{background:rgba(22,22,24,.92)!important;border:1px solid #2C2C2E!important;box-shadow:0 10px 30px rgba(0,0,0,.6)!important}

/* s4 result */
html body:not(.wide) .sh.pvx .result .medal{background:radial-gradient(circle at 40% 30%,#FFE58A,#F5B72B 55%,#C98A0B)!important;color:#fff!important;box-shadow:0 0 0 5px #FFD24A,0 0 40px rgba(255,200,60,.55)!important}
html body:not(.wide) .sh.pvx .result.is-lose .medal{background:radial-gradient(circle at 40% 30%,#E5E5EA,#AEAEB2 60%,#7C7C80)!important;box-shadow:0 0 0 5px #C7C7CC,0 0 30px rgba(255,255,255,.2)!important}
html body:not(.wide) .sh.pvx .result .res-h{font-size:38px!important;font-weight:900!important;color:#FFD24A!important;text-shadow:0 3px 0 #8A5A0C,0 6px 18px rgba(255,180,40,.45)}
html body:not(.wide) .sh.pvx .result.is-lose .res-h{color:#fff!important;text-shadow:0 3px 0 #5C0814}
html body:not(.wide) .sh.pvx .result .stars-row{display:inline-flex;margin:6px auto 0;background:rgba(10,10,12,.8);border:1.5px solid #8A6A1E;border-radius:999px;padding:6px 16px;gap:6px}
html body:not(.wide) .sh.pvx .result{text-align:center}
html body:not(.wide) .sh.pvx .result .rs-st2{display:block;width:fit-content!important;min-width:180px;margin:14px auto 4px!important;background:radial-gradient(circle at 50% 30%,#E0213F,#9E0B22);border:2px solid #E8B13A;border-radius:28px;padding:6px 52px 10px;box-shadow:0 0 30px rgba(200,16,46,.5);position:relative}
html body:not(.wide) .sh.pvx .result .rs-st2 .big{font-size:56px!important;font-weight:900;color:#fff!important;line-height:1.1}
html body:not(.wide) .sh.pvx .result .rs-st2 .muted{display:inline-block;background:linear-gradient(180deg,#FFD24A,#E5A823);color:#3A2200!important;font-weight:900;border-radius:999px;padding:1px 14px;font-size:14px}
html body:not(.wide) .sh.pvx .result .rs-st2::before,html body:not(.wide) .sh.pvx .result .rs-st2::after{content:"🌿";position:absolute;top:50%;transform:translateY(-50%) scale(1.8);filter:sepia(1) saturate(4) hue-rotate(5deg) brightness(1.1)}
html body:not(.wide) .sh.pvx .result .rs-st2::before{right:10px}html body:not(.wide) .sh.pvx .result .rs-st2::after{left:10px;transform:translateY(-50%) scale(1.8) scaleX(-1)}
html body:not(.wide) .sh.pvx .result .rs-ok{display:flex;align-items:center;justify-content:center;gap:10px;background:rgba(10,10,12,.85);border:1.5px solid #E5A823;border-radius:20px;padding:12px 16px;margin:14px 0 4px;font-size:17px;color:#fff}
html body:not(.wide) .sh.pvx .result .rs-ok::before{content:"✓";width:30px;height:30px;border-radius:50%;background:#1F9D55;color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 3px 0 #136B38}
html body:not(.wide) .sh.pvx .result .rs-ok b{color:#4ADE80!important;font-size:20px}
html body:not(.wide) .sh.pvx .result .rv2-w{border:1.5px solid rgba(200,16,46,.6)!important;box-shadow:0 0 16px rgba(200,16,46,.18);text-align:right}
html body:not(.wide) .sh.pvx .result .rv2-done{min-height:60px;border-radius:22px!important;font-size:22px!important;font-weight:900!important;background:linear-gradient(180deg,#F0284A,#C8102E 55%,#B00D27)!important;box-shadow:0 6px 0 #7A0A1C,0 10px 26px rgba(200,16,46,.45)!important}
/* v435b login: the 60s splash art + rays across the whole screen (Khalid) */
html body .sh.sl.sl-red{background:#000!important}
html body:not(.wide) .sh.pvx.sl::before{top:-200px;width:1400px;height:1400px;margin-left:-700px;
  background:radial-gradient(circle,rgba(0,0,0,0) 0,rgba(0,0,0,.25) 30%,#000 62%),repeating-conic-gradient(from 3deg,#B50E28 0 6deg,#140306 6deg 14deg)!important;-webkit-mask:none!important;mask:none!important;top:calc(150px - 700px)}
html body .sl.sl-red .sl-hero{padding:0!important;margin:-4px -16px 0;position:relative}
html body .sl.sl-red .sl-hero img{display:block;width:100%;max-width:440px;margin:0 auto;aspect-ratio:880/646;object-fit:cover;-webkit-mask:radial-gradient(ellipse 62% 60% at 50% 50%,#000 55%,transparent 100%);mask:radial-gradient(ellipse 62% 60% at 50% 50%,#000 55%,transparent 100%)}
html body .sl.sl-red .sl-hero h1{margin-top:-18px!important}
/* v435c result: same strong rays as login (Khalid), no logo */
html body:not(.wide) .sh.pvx .result::before{top:-380px;width:1400px;height:1400px;margin-left:-700px;
  background:radial-gradient(circle,rgba(0,0,0,0) 0,rgba(0,0,0,.35) 26%,#000 55%),repeating-conic-gradient(from 3deg,#9E0C24 0 6deg,#140306 6deg 14deg)!important;-webkit-mask:none!important;mask:none!important}
/* v437 login hero smaller (Khalid: logo too big) */
html body .sl.sl-red .sl-hero img{width:64%;max-width:270px}
html body .sl.sl-red .sl-hero h1{margin-top:-10px!important;font-size:26px!important}
/* v438 question screen redesign */
html body .play.pv.pvx{position:relative;isolation:isolate}
html body .play.pv.pvx::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 50% 55%,rgba(200,16,46,.32),transparent 60%),repeating-conic-gradient(from 3deg at 50% 55%,rgba(200,16,46,.16) 0 6deg,transparent 6deg 14deg);-webkit-mask:radial-gradient(circle at 50% 55%,#000 20%,transparent 75%);mask:radial-gradient(circle at 50% 55%,#000 20%,transparent 75%)}
html body[data-theme] .play.pv.pvx .pv-pill{background:#140306!important;border:2px solid #7a0a1c!important;box-shadow:0 0 14px rgba(200,16,46,.35)}
html body[data-theme] .play.pv.pvx .pv-pts{display:inline-flex;align-items:center;gap:6px;padding:4px 18px!important;border-radius:999px;background:#140306;border:2px solid #E3B23C;color:#fff!important;font-weight:800;font-size:18px!important;box-shadow:0 0 12px rgba(227,178,60,.3)}
html body[data-theme] .play.pv.pvx .pvx-tm{display:flex!important;flex-direction:row!important;align-items:center;gap:0!important;margin:10px 0 14px!important}
html body[data-theme] .play.pv.pvx .pvx-tm .pvx-bar{flex:1;height:20px!important;border-radius:999px!important;background:#2a0a10!important;border:2px solid #5a0a17;margin-inline-start:-16px;padding-inline-start:12px;position:relative;z-index:0}
html body[data-theme] .play.pv.pvx .pvx-tm .pvx-bar i{border-radius:999px!important;background:linear-gradient(#F0334F,#B50E28)!important;box-shadow:0 0 10px rgba(240,51,79,.7)}
html body[data-theme] .play.pv.pvx .pvx-tm>span{order:-1;align-self:center!important;position:relative;z-index:1;flex:0 0 72px;width:72px;height:72px;border-radius:50%;display:flex!important;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 40%,#C8102E,#6d0716);border:4px solid #F0334F;box-shadow:0 0 18px rgba(240,51,79,.6),inset 0 0 0 3px #140306;color:#fff!important;font-size:12px!important;font-weight:800;line-height:1.05!important;margin:0!important}
html body[data-theme] .play.pv.pvx .pvx-tm>span b{font-size:28px!important;font-weight:900;color:#fff!important;display:block}
html body[data-theme] .play.pv.pvx .pvx-tm.hurry>span b{color:#fff!important}
html body[data-theme] .play.pv.pvx .pvx-tm.hurry>span{animation:pvxb .5s ease-in-out infinite alternate}
html body[data-theme] .play.pv.pvx .pvx-tm>span::before{content:"";position:absolute;top:-11px;left:50%;width:18px;height:8px;margin-left:-9px;border-radius:4px 4px 0 0;background:#F0334F}
html body[data-theme] .play.pv.pvx .pv-panel .qbox{border-radius:28px!important;border:3px solid #C8102E!important;box-shadow:0 0 0 3px #3a0710,0 0 26px rgba(200,16,46,.45)!important}
html body[data-theme] .play.pv.pvx .opts.kc .opt:nth-child(n):not(.good):not(.bad):not(.picked){box-shadow:inset 0 0 0 3px #C8102E,0 4px 0 #5a0a17,0 0 14px rgba(200,16,46,.3)!important}
html body[data-theme] .play.pv.pvx .pv-panel .qbox{background:linear-gradient(#26090f,#140306)!important;color:#fff!important}
html body[data-theme] .play.pv.pvx .opts.kc .opt:nth-child(n):not(.good):not(.bad):not(.picked){background:linear-gradient(#2a0d12,#1a0508)!important;color:#fff!important}
/* v440 teacher redesign (dark): red-glow cards like the student screens */
html body.wide.dark{--tcard:linear-gradient(160deg,#1d0b0f,#111113 60%);--tbrd:rgba(200,16,46,.24);--tglow:0 0 0 0 transparent}
html body.wide.dark .t-top{background:radial-gradient(120% 140% at 100% 0,rgba(200,16,46,.38),transparent 60%)!important}
html body.wide.dark .h-nb:not(#z),html body.wide.dark .hc:not(#z),html body.wide.dark .ch-hero:not(#z),html body.wide.dark .cp-code:not(#z),html body.wide.dark .cp-tile:not(#z),html body.wide.dark .nw-tile:not(#z),html body.wide.dark .set-profile:not(#z),html body.wide.dark .set-grp:not(#z),html body.wide.dark .cp-list:not(#z),html body.wide.dark .ch-a:not(#z),html body.wide.dark .ch-b:not(#z),html body.wide.dark .nw-mode:not(#z){background:var(--tcard)!important;border:1.5px solid var(--tbrd)!important;box-shadow:var(--tglow)!important}
html body.wide.dark .hc:not(#z){border-width:2px!important}
html body.wide.dark .hc-ring{filter:drop-shadow(0 0 10px rgba(200,16,46,.5))}
html body.wide.dark .ch-big b{color:#fff;text-shadow:0 0 18px rgba(200,16,46,.6)}
html body.wide.dark .ch-bar i{background:linear-gradient(90deg,#F0334F,#B50E28)!important;box-shadow:0 0 10px rgba(240,51,79,.6)}
html body.wide.dark .ch-b.end{color:#FF6B6B!important}
html body.wide.dark .cp-code b{font-size:42px!important;letter-spacing:4px;padding:6px 22px;border:2px solid #C8102E;border-radius:16px;background:#140306;box-shadow:0 0 16px rgba(200,16,46,.45);display:inline-block}
html body.wide.dark .cp-code b::before,html body.wide.dark .cp-code b::after{content:"✦";color:#E3B23C;font-size:20px;vertical-align:middle;margin:0 10px;letter-spacing:0}
html body.wide.dark .cp-tile{position:relative;padding-top:38px!important}
html body.wide.dark .cp-tile::before{content:"👥";position:absolute;top:10px;left:0;right:0;text-align:center;font-size:20px}
html body.wide.dark .cp-tile .cp-pl{color:#30D158!important;font-weight:800}
html body.wide.dark .cp-row .cp-rk:not(#z){background:#2a0a10!important;color:#fff!important;border:1.5px solid rgba(200,16,46,.6)}
html body.wide.dark .nw-mode .on{background:linear-gradient(#D7193A,#A50C24)!important;color:#fff!important;box-shadow:0 0 12px rgba(200,16,46,.5)}
html body.wide.dark .nw-tile.busy{border-color:#E3B23C!important}
html body.wide.dark .nw-dots{counter-reset:nwd;display:flex!important;justify-content:space-between;align-items:flex-start;position:relative;margin:4px 18px 26px!important;width:auto!important;gap:0!important}
html body.wide.dark .nw-dots::before{content:"";position:absolute;top:15px;left:16px;right:16px;height:2px;background:#3a3a3c}
html body.wide.dark .nw-dots i{counter-increment:nwd;position:relative;width:32px!important;height:32px!important;border-radius:50%!important;background:#1c1c1e!important;border:2px solid #48484a;display:flex!important;align-items:center;justify-content:center;font-style:normal;flex:0 0 auto!important;opacity:1!important}
html body.wide.dark .nw-dots i::before{content:counter(nwd);color:#C7C7CC;font-weight:800;font-size:14px}
html body.wide.dark .nw-dots i::after{position:absolute;top:36px;white-space:nowrap;font-size:12px;font-weight:700;color:#98989F}
html body.wide.dark .nw-dots i:nth-child(1)::after{content:"الصف"}html body.wide.dark .nw-dots i:nth-child(2)::after{content:"المادة"}html body.wide.dark .nw-dots i:nth-child(3)::after{content:"المدة"}
html body.wide.dark .nw-dots i.on{background:#C8102E!important;border-color:#F0334F;box-shadow:0 0 12px rgba(240,51,79,.6)}
html body.wide.dark .nw-dots i.on::before{color:#fff}html body.wide.dark .nw-dots i.on::after{color:#fff}
html body.wide.dark .set-grp .set-row{background:transparent!important}
html body.wide.dark .set-profile .avatar{box-shadow:0 0 0 3px #140306,0 0 0 5px #C8102E}
/* v442 student «أنا» page (Khalid's ChatGPT design) */
html body:not(.wide) .sh.pvx .s-me{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(160deg,#2a0a10,#121214 70%)!important;border:1.5px solid rgba(200,16,46,.6);box-shadow:0 0 24px rgba(200,16,46,.25);padding:22px 12px 14px!important}
html body:not(.wide) .sh.pvx .s-me::before{content:"";position:absolute;inset:-60%;z-index:-1;background:repeating-conic-gradient(from 3deg at 50% 38%,rgba(200,16,46,.12) 0 6deg,transparent 6deg 14deg);-webkit-mask:radial-gradient(circle at 50% 38%,#000 8%,transparent 45%);mask:radial-gradient(circle at 50% 38%,#000 8%,transparent 45%)}
html body:not(.wide) .sh.pvx .s-me-av{width:110px!important;height:110px!important;font-size:44px!important;box-shadow:0 0 0 4px #140306,0 0 0 7px #E3B23C,0 0 26px rgba(227,178,60,.45)!important}
html body:not(.wide) .sh.pvx .s-me-av.em{font-size:58px!important}
html body:not(.wide) .sh.pvx .s-me b{font-size:26px;margin-top:8px}
.s-me-st{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;margin-top:14px}
.s-me-st span{background:#1a0609;border:1.5px solid rgba(200,16,46,.55);border-radius:18px;padding:8px 4px;display:flex;flex-direction:column;align-items:center;gap:2px}
.s-me-st small{font-size:12px!important;font-weight:700;color:#E5E5EA!important;opacity:1!important;white-space:nowrap}
html body:not(.wide) .sh.pvx .s-me-st b{color:#E3B23C;font-size:22px;font-weight:900;margin:0}
html body:not(.wide) .sh.pvx .s-me-o.s-me-3{display:grid;grid-template-columns:repeat(3,1fr)!important;gap:10px}
html body:not(.wide) .sh.pvx .s-me-o.s-me-3>button{grid-column:auto!important;min-height:104px;background:linear-gradient(160deg,#24090e,#141416)!important;border:1.5px solid rgba(200,16,46,.55)!important;box-shadow:0 0 14px rgba(200,16,46,.18)!important;font-size:17px}
.s-me-o.s-me-3 button i{font-size:34px!important;margin-bottom:6px}
.s-me-l{margin-top:14px;background:linear-gradient(160deg,#1d0b0f,#141416);border:1.5px solid rgba(200,16,46,.45);border-radius:22px;overflow:hidden;padding:0 4px}
.s-me-l button{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:0 14px;background:none;border:0;color:#fff;font:inherit;font-weight:700;font-size:17px;cursor:pointer;text-align:start}
.s-me-l button+button{border-top:1px solid #2C2C2E}
.s-me-l i{font-style:normal;font-size:22px;width:28px;text-align:center}
.s-me-l .grow{flex:1}
.s-me-l .chev{display:inline-block;transform:scaleX(-1);font-style:normal;color:#C7C7CC;font-size:24px}
.s-me-l .sw{width:52px;height:30px;border-radius:999px;background:#3A3A3C;position:relative;flex:0 0 auto;transition:background .2s}
.s-me-l .sw::after{content:"";position:absolute;top:3px;right:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:right .2s}
.s-me-l .sw.on{background:#C8102E;box-shadow:0 0 10px rgba(200,16,46,.6)}.s-me-l .sw.on::after{right:25px}
html body:not(.wide) .sh.pvx .btn.s-me-t{margin-top:14px}
.s-me-x{display:flex;justify-content:space-between;margin:16px 6px 6px}
.s-me-x button{background:none;border:0;color:#C7C7CC;font:inherit;font-weight:700;font-size:16px;padding:8px;cursor:pointer}
.s-me-x button.dng{color:#FF453A}
/* v443 picture avatars: red disc + gold ring, head pops out of the top */
.avi{position:relative;display:inline-block;width:1.5em;height:1.5em;border-radius:50%;background:radial-gradient(circle at 50% 38%,#E0203F,#6D0716 75%);box-shadow:0 0 0 .06em #E3B23C;vertical-align:middle;flex:0 0 auto;font-size:inherit}
.avi img{position:absolute;left:-5%;bottom:0;width:110%;height:auto;max-width:none;pointer-events:none;-webkit-user-drag:none;user-select:none;-webkit-mask:linear-gradient(#000,#000) top/100% 61% no-repeat,radial-gradient(circle,#000 70%,transparent 71%) bottom/90.9% 77.9% no-repeat;mask:linear-gradient(#000,#000) top/100% 61% no-repeat,radial-gradient(circle,#000 70%,transparent 71%) bottom/90.9% 77.9% no-repeat}
.s-me-av .avi,.lbx-av .lbx-em .avi,.rp2-av .avi,.pv-av .avi,.ar-av .avi,.ch-star-i .avi,.wk-star>span .avi{width:100%;height:100%;display:block}
.s-avg button .avi{width:70%;height:auto;aspect-ratio:1;margin-top:16%}
.s-avg button{overflow:visible}.s-avg button .avi.avg{width:100%;margin-top:21%} /* v540 (Khalid): bigger in the picker tiles */
html body:not(.wide) .sh.pvx .s-me-av:has(.avi){padding:0;overflow:visible;background:transparent!important;box-shadow:0 0 26px rgba(227,178,60,.45)!important}
html body:not(.wide) .sh.pvx .s-me-av .avi{box-shadow:0 0 0 4px #140306,0 0 0 7px #E3B23C}
html body:not(.wide) .sh.pvx .s-me-av .s-av-ed{z-index:2}
.s-me-l .set-chev{color:#C7C7CC;display:flex}
.s-me-l .set-chev svg{transform:scaleX(-1)}
/* v444 badges page (Khalid's ChatGPT design): red-glow cards, hexagon medals */
html body:not(.wide) .sh.pvx .bg2:not(#z),html body:not(.wide) .sh.pvx .bg2-next:not(#z){background:linear-gradient(160deg,#22080d,#121214 65%)!important;border:1.5px solid rgba(200,16,46,.55)!important;box-shadow:0 0 18px rgba(200,16,46,.18)!important}
html body:not(.wide) .sh.pvx .bg2.on:not(#z){border-color:rgba(240,51,79,.8)!important;box-shadow:0 0 22px rgba(200,16,46,.32)!important}
.bg2 .bg2-md,.bg2-next .bg2-md{position:relative;isolation:isolate;width:78px!important;height:86px!important;border-radius:0!important;background:none!important;display:grid;place-items:center;font-size:38px;filter:none!important;opacity:1!important}
.bg2 .bg2-md::before,.bg2 .bg2-md::after,.bg2-next .bg2-md::before,.bg2-next .bg2-md::after{content:"";position:absolute;z-index:-1;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.bg2 .bg2-md::before,.bg2-next .bg2-md::before{inset:0;background:linear-gradient(160deg,#d6d6db,#6e6e73 55%,#3a3a3c)}
.bg2 .bg2-md::after,.bg2-next .bg2-md::after{inset:4px;background:radial-gradient(circle at 50% 40%,#3a3a3c,#1a1a1c 75%)}
.bg2.on .bg2-md::before{background:linear-gradient(160deg,#FFE08A,#E3B23C 45%,#9A6B12)}
.bg2.on .bg2-md::after{background:radial-gradient(circle at 50% 40%,#E0203F,#6D0716 78%)}
.bg2.on .bg2-md{filter:drop-shadow(0 0 10px rgba(227,178,60,.45))!important}
.bg2-next .bg2-md{width:62px!important;height:68px!important;font-size:30px}
.bg2-next .bg2-md::before{background:linear-gradient(160deg,#F0334F,#8E0B21)}
.bg2-next .bg2-md::after{background:radial-gradient(circle at 50% 40%,#5a0a17,#24060b)}
.bg2 .bg2-lv{z-index:2}
html body:not(.wide) .sh.pvx .bg2-cnt:only-of-type{color:#E3B23C!important}
.bg2.on .bg2-cnt:not(:has(~*)){}
.bg2 .bg2-ok{z-index:3}
html body:not(.wide) .sh.pvx .bg2-h b{font-size:30px}
/* v444 badges page (Khalid's ChatGPT design): red-glow cards, hexagon medals */
html body:not(.wide) .sh.pvx .bg2:not(#z),html body:not(.wide) .sh.pvx .bg2-next:not(#z){background:linear-gradient(160deg,#22080d,#121214 65%)!important;border:1.5px solid rgba(200,16,46,.55)!important;box-shadow:0 0 18px rgba(200,16,46,.18)!important}
html body:not(.wide) .sh.pvx .bg2.on:not(#z){border-color:rgba(240,51,79,.85)!important;box-shadow:0 0 22px rgba(200,16,46,.32)!important}
html body .bg2 .bg2-md:not(#z),html body .bg2-next .bg2-md:not(#z){position:relative;isolation:isolate;width:78px;height:86px;border-radius:0;background:none;display:grid;place-items:center;font-size:38px;filter:none;opacity:1}
.bg2 .bg2-md::before,.bg2 .bg2-md::after,.bg2-next .bg2-md::before,.bg2-next .bg2-md::after{content:"";position:absolute;z-index:-1;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.bg2 .bg2-md::before,.bg2-next .bg2-md::before{inset:0;background:linear-gradient(160deg,#d6d6db,#6e6e73 55%,#3a3a3c)}
.bg2 .bg2-md::after,.bg2-next .bg2-md::after{inset:4px;background:radial-gradient(circle at 50% 40%,#3a3a3c,#1a1a1c 75%)}
.bg2.on .bg2-md::before{background:linear-gradient(160deg,#FFE08A,#E3B23C 45%,#9A6B12)}
.bg2.on .bg2-md::after{background:radial-gradient(circle at 50% 40%,#E0203F,#6D0716 78%)}
html body .bg2.on .bg2-md:not(#z){filter:drop-shadow(0 0 10px rgba(227,178,60,.45))}
html body .bg2-next .bg2-md:not(#z){width:62px;height:68px;font-size:30px}
.bg2-next .bg2-md::before{background:linear-gradient(160deg,#F0334F,#8E0B21)}
.bg2-next .bg2-md::after{background:radial-gradient(circle at 50% 40%,#5a0a17,#24060b)}
.bg2 .bg2-lv{z-index:2}.bg2 .bg2-ok{z-index:3}
html body:not(.wide) .sh.pvx .bg2-h b{font-size:30px}
/* v444 badges page (Khalid's ChatGPT design): red-glow cards, hexagon medals */
html body:not(.wide) .sh.pvx .bg2:not(#z),html body:not(.wide) .sh.pvx .bg2-next:not(#z){background:linear-gradient(160deg,#22080d,#121214 65%)!important;border:1.5px solid rgba(200,16,46,.55)!important;box-shadow:0 0 18px rgba(200,16,46,.18)!important}
html body:not(.wide) .sh.pvx .bg2.on:not(#z){border-color:rgba(240,51,79,.85)!important;box-shadow:0 0 22px rgba(200,16,46,.32)!important}
html body .bg2 .bg2-md:not(#z),html body .bg2-next .bg2-md:not(#z){position:relative;isolation:isolate;width:78px;height:86px;border-radius:0;background:none;display:grid;place-items:center;font-size:38px;filter:none;opacity:1}
.bg2 .bg2-md::before,.bg2 .bg2-md::after,.bg2-next .bg2-md::before,.bg2-next .bg2-md::after{content:"";position:absolute;z-index:-1;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.bg2 .bg2-md::before,.bg2-next .bg2-md::before{inset:0;background:linear-gradient(160deg,#d6d6db,#6e6e73 55%,#3a3a3c)}
.bg2 .bg2-md::after,.bg2-next .bg2-md::after{inset:4px;background:radial-gradient(circle at 50% 40%,#3a3a3c,#1a1a1c 75%)}
.bg2.on .bg2-md::before{background:linear-gradient(160deg,#FFE08A,#E3B23C 45%,#9A6B12)}
.bg2.on .bg2-md::after{background:radial-gradient(circle at 50% 40%,#E0203F,#6D0716 78%)}
html body .bg2.on .bg2-md:not(#z){filter:drop-shadow(0 0 10px rgba(227,178,60,.45))}
html body .bg2-next .bg2-md:not(#z){width:62px;height:68px;font-size:30px}
.bg2-next .bg2-md::before{background:linear-gradient(160deg,#F0334F,#8E0B21)}
.bg2-next .bg2-md::after{background:radial-gradient(circle at 50% 40%,#5a0a17,#24060b)}
.bg2 .bg2-lv{z-index:2}.bg2 .bg2-ok{z-index:3}
html body:not(.wide) .sh.pvx .bg2-h b{font-size:30px}
html body:not(.wide) .sh.pvx .bg2-cnt.done{color:#E3B23C!important;border:1.5px solid #E3B23C;border-radius:999px;padding:3px 16px;margin-top:6px;font-weight:800}
.lbx-av .lbx-em:has(.avi){display:block;width:100%;height:100%;font-size:inherit}
.lbx-av:has(.avi){background:transparent!important;box-shadow:none!important;overflow:visible!important}
.lbx-av .lbx-md,.lbx-av .lbx-crown{z-index:2}
/* v448 arena search + VS (Khalid's ChatGPT design) */
.sh.pvx.ar-find{background:radial-gradient(circle at 50% 36%,rgba(200,16,46,.35),transparent 55%),#000!important}
.sh.pvx.ar-find::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:repeating-conic-gradient(from 3deg at 50% 36%,rgba(200,16,46,.13) 0 6deg,transparent 6deg 14deg);-webkit-mask:radial-gradient(circle at 50% 36%,#000 10%,transparent 60%);mask:radial-gradient(circle at 50% 36%,#000 10%,transparent 60%)}
.ar-find .ar-radar{width:260px;height:260px}
.ar-find .ar-radar>i{border:2px solid rgba(240,51,79,.55);box-shadow:0 0 18px rgba(200,16,46,.45),inset 0 0 18px rgba(200,16,46,.25)}
.ar-find .ar-radar>i:nth-child(2){inset:38px;border-color:rgba(240,51,79,.35)}
.ar-find .ar-radar .sweep{background:conic-gradient(from 0deg,rgba(240,51,79,.6),transparent 22%)}
.ar-find .ar-radar .ar-av{width:128px;height:128px;font-size:64px;box-shadow:0 0 0 5px #000,0 0 0 9px #E3B23C,0 0 28px rgba(227,178,60,.5)}
.ar-find .ar-radar .ar-av:has(.avi){background:transparent;box-shadow:0 0 30px rgba(227,178,60,.45)}
.ar-av:has(.avi) .avi{box-shadow:0 0 0 4px #E3B23C}
.ar-find h2{font-size:28px}
.ar-find .ar-fs{width:104px;height:104px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:44px;border:3px solid #E3B23C;background:#140306;box-shadow:0 0 0 6px rgba(200,16,46,.25),0 0 26px rgba(200,16,46,.55)}
.ar-find .ar-fs::after{content:"ث";font-size:18px;color:#E3B23C;margin-top:2px}
.ar-find .btn.ar-fnow{min-width:240px;background:linear-gradient(#EE1F42,#B50E28)!important;border:2px solid #E3B23C!important;box-shadow:0 0 22px rgba(240,51,79,.55)!important;font-size:20px}
.ar-find .btn.ghost.ar-fx{min-width:180px;background:#2C2C2E!important;border:1.5px solid #48484a!important}
.ar-vs .half::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-conic-gradient(from 3deg at 50% var(--ry),rgba(255,255,255,.08) 0 6deg,transparent 6deg 14deg);-webkit-mask:radial-gradient(circle at 50% var(--ry),#000 10%,transparent 65%);mask:radial-gradient(circle at 50% var(--ry),#000 10%,transparent 65%)}
.ar-vs .a{--ry:22%}.ar-vs .b{--ry:78%}
.ar-vs .ar-av{width:150px!important;height:150px!important;font-size:80px!important}
.ar-vs .ar-av:has(.avi){background:transparent!important;box-shadow:0 0 30px rgba(227,178,60,.5)!important}
.ar-vs .ar-av .avi{box-shadow:0 0 0 6px #E3B23C}
.ar-vs .half b{font-size:34px;text-shadow:0 3px 0 rgba(0,0,0,.4),0 0 18px rgba(0,0,0,.35)}
.ar-vs .half small{font-size:17px;padding:4px 22px;background:#2a0508;border:2px solid #E3B23C;color:#E3B23C}
.ar-vs::after{content:"";position:absolute;left:-10%;right:-10%;top:50%;height:90px;margin-top:-45px;transform:rotate(-17deg);pointer-events:none;z-index:1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 90' preserveAspectRatio='none'%3E%3Cpolyline points='0,52 70,40 95,58 150,38 250,52 300,32 325,50 400,38' fill='none' stroke='%23FFD34D' stroke-width='6' stroke-linejoin='bevel'/%3E%3Cpolyline points='0,52 70,40 95,58 150,38 250,52 300,32 325,50 400,38' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/100% 100% no-repeat;filter:drop-shadow(0 0 8px #FFB800) drop-shadow(0 0 16px #FF6A00)}
.ar-vs .mid{z-index:2;width:140px;height:140px;margin:-70px 0 0 -70px;background:radial-gradient(circle,#2a1505,#0b0603)!important;box-shadow:0 0 0 6px #E3B23C,0 0 0 10px rgba(0,0,0,.6),0 0 40px rgba(255,180,0,.6)!important}
.ar-vs .mid svg{inset:6px;width:calc(100% - 12px);height:calc(100% - 12px)}
.ar-vs .num .vs{font-size:52px;font-style:italic;background:linear-gradient(#FFE89A,#E3B23C 55%,#A86B0C);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 3px 0 #5a3500)}
.ar-vs .cap{font-size:16px;color:#fff;font-weight:700}
/* v449 student home «صفّي» (Khalid's ChatGPT design) */
html body:not(.wide) .sh.sp.pvx .s-hacts{display:flex;align-items:center;gap:14px}
.s-hav{background:none;border:0;padding:0;cursor:pointer;font-size:84px;line-height:1;order:-1}
.s-hav .avi{width:92px;height:92px;box-shadow:0 0 0 4px #E3B23C,0 0 22px rgba(227,178,60,.45)}
html body:not(.wide) .sh.sp.pvx .s-bell:not(#z){background:#140306!important;border:1.5px solid rgba(240,51,79,.7)!important;box-shadow:0 0 14px rgba(200,16,46,.35)!important;border-radius:16px!important}
html body:not(.wide) .sh.sp.pvx .sp-pill:not(#z){background:linear-gradient(#1d0a0e,#0f0f10)!important;border:1.5px solid rgba(240,51,79,.75)!important;box-shadow:0 0 16px rgba(200,16,46,.35)!important;color:#fff!important;font-size:17px}
html body:not(.wide) .sh.sp.pvx .sp-done:not(#z){position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(160deg,#2a0a10,#120608 70%)!important;border:2px solid rgba(240,51,79,.85)!important;box-shadow:0 0 30px rgba(200,16,46,.45),inset 0 0 30px rgba(200,16,46,.15)!important;border-radius:28px!important;padding:22px 16px!important}
html body:not(.wide) .sh.sp.pvx .sp-done::before{content:"";position:absolute;inset:-40%;z-index:-1;background:repeating-conic-gradient(from 3deg at 50% 32%,rgba(240,51,79,.14) 0 6deg,transparent 6deg 14deg);-webkit-mask:radial-gradient(circle at 50% 32%,#000 8%,transparent 45%);mask:radial-gradient(circle at 50% 32%,#000 8%,transparent 45%)}
html body:not(.wide) .sh.sp.pvx .sp-done .sp-emo .bx,html body:not(.wide) .sh.sp.pvx .sp-done .sp-emo{font-size:96px;filter:drop-shadow(0 0 22px rgba(255,170,0,.55))}
html body:not(.wide) .sh.sp.pvx .sp-done .bx-lock{opacity:1;filter:none}
html body:not(.wide) .sh.sp.pvx .sp-done #bx-h{font-size:24px;font-weight:900}
html body:not(.wide) .sh.sp.pvx .sp-cd small{display:flex;align-items:center;justify-content:center;gap:12px;color:#C7C7CC!important;font-size:16px}
html body:not(.wide) .sh.sp.pvx .sp-cd small::before,html body:not(.wide) .sh.sp.pvx .sp-cd small::after{content:"";width:56px;height:2px;background:linear-gradient(90deg,transparent,#E3B23C,transparent)}
html body:not(.wide) .sh.sp.pvx .sp-cd b{font-size:52px!important;font-weight:900;background:linear-gradient(#FFE08A,#F5B72B 55%,#C8860F);-webkit-background-clip:text;background-clip:text;color:transparent!important;filter:drop-shadow(0 2px 6px rgba(245,183,43,.35));font-variant-numeric:tabular-nums}
html body:not(.wide) .sh.pvx .sp-prac:not(#z){background:linear-gradient(#24090e,#141416)!important;border:1.5px solid rgba(240,51,79,.8)!important;box-shadow:0 0 18px rgba(200,16,46,.35)!important;border-radius:999px!important;min-height:60px;font-size:19px}
html body:not(.wide) .sh.sp.pvx .s-head2{display:flex;align-items:center;gap:12px}
html body:not(.wide) .sh.sp.pvx .s-head2 .who{flex:1;min-width:0}
html body:not(.wide) .sh.sp.pvx .s-head2 .who b{font-size:26px!important;line-height:1.25}
.s-head2 .s-hav{order:0;font-size:60px}
.s-head2 .s-hav .avi{width:72px;height:72px;box-shadow:0 0 0 3px #E3B23C,0 0 18px rgba(227,178,60,.45)}
/* v449b arena painted assets (Khalid's ChatGPT pieces) */
.ar-logo{display:block;width:62%;max-width:250px;height:auto;margin:0 auto;pointer-events:none;filter:drop-shadow(0 4px 10px rgba(0,0,0,.5))}
.ar-find .ar-logo{position:absolute;top:max(18px,env(safe-area-inset-top));left:0;right:0}
.ar-vs .ar-logo{position:absolute;z-index:3;top:max(10px,env(safe-area-inset-top));left:0;right:0;width:46%}
.ar-find .ar-radar{background:url(img/ar-radar.webp) center/100% 100% no-repeat;border-radius:50%}
.ar-find .ar-radar>i{display:none}
.ar-find .ar-radar .sweep{background:conic-gradient(from 0deg,rgba(255,60,90,.35),transparent 18%);mix-blend-mode:screen}
.ar-vs .half.a,.ar-vs .half.b{background:url(img/ar-bg-vs.webp) center/cover no-repeat!important}
.ar-vs .half::before{display:none}
.ar-vs .a{padding-top:max(118px,calc(env(safe-area-inset-top) + 100px))!important}
.ar-vs::after{background:url(img/ar-bolt.webp) center/100% 100% no-repeat!important;filter:none!important;height:70px!important;margin-top:-35px!important}
.ar-vs .mid{width:190px!important;height:190px!important;margin:-95px 0 0 -95px!important;background:url(img/ar-vs.webp) center/112% auto no-repeat!important;box-shadow:none!important}
.ar-vs .mid svg{inset:46px;width:calc(100% - 92px);height:calc(100% - 92px);opacity:.9}
.ar-vs .num{width:84px;height:84px;border-radius:50%;background:radial-gradient(circle,#2b1506,#120803);display:grid;place-items:center}
.ar-vs .num .vs{font-size:40px}
.ar-qn{text-align:center;color:#C7C7CC;font-weight:700;font-size:14px;margin:-6px 0 8px}
/* v451 find: logo above radar, not hidden behind it */
.ar-find .ar-logo{z-index:3;width:46%;max-width:200px}
.sh.pvx.ar-find{padding-top:calc(max(18px,env(safe-area-inset-top)) + 96px)!important}
/* v453 painted gift box */
.bx-img{display:block;width:1.5em;height:auto;max-width:150px;margin:0 auto}
html body:not(.wide) .sh.sp.pvx .sp-done .sp-emo .bx:has(.bx-img){font-size:96px;filter:none}
/* v454 VS: smaller avatars + VS badge so nothing covers names/levels */
.ar-vs .ar-av{width:min(124px,15dvh)!important;height:min(124px,15dvh)!important;font-size:64px!important}
.ar-vs .a{padding-top:max(100px,calc(env(safe-area-inset-top) + 86px))!important}
.ar-vs .b .ar-av{margin-top:26px!important}
.ar-vs .half b{font-size:30px}
.ar-vs .mid{width:min(150px,18dvh)!important;height:min(150px,18dvh)!important;margin:calc(min(150px,18dvh) / -2) 0 0 calc(min(150px,18dvh) / -2)!important}
.ar-vs .mid svg{inset:24%;width:52%;height:52%}
.ar-vs .num{width:66px;height:66px}.ar-vs .num .vs{font-size:32px}.ar-vs .num span{font-size:44px}
/* v455 earned medal: dark inner so red icons (🎯 💯) stay clear */
html body .bg2.on .bg2-md:not(#z)::after{background:radial-gradient(circle at 50% 38%,#4a3410,#1a1206 75%)!important}
/* v456 arena profile: «أنا» picture instead of drawn faces */
.ar-pfp{display:flex;flex-direction:column;align-items:center;gap:8px;margin:6px auto 4px;border:0;background:none;color:#F5B72B;font:inherit;font-weight:800;font-size:15px;cursor:pointer}
.ar-pfp .ar-av{width:110px;height:110px;font-size:56px}
.ar-pfp>span:not(.ar-av){border:1.5px solid #E3B23C;border-radius:999px;padding:4px 16px}
/* v457 deletion pending */
.s-delp{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px max(24px,env(safe-area-inset-left));text-align:center}
.s-delp-i{font-size:64px}.s-delp h2{margin:0;font-size:28px}.s-delp p{margin:0 0 10px;color:#C7C7CC;line-height:1.8}
.s-delp .btn{min-width:240px}
.cn-tag.cn-del{background:#3a0a12;color:#FF6B7F}
/* v459 arena: real app logo (icon) instead of the ChatGPT wordmark */
.ar-logo{width:84px!important;max-width:84px!important;border-radius:22px;box-shadow:0 6px 20px rgba(0,0,0,.5)}
.ar-find .ar-logo,.ar-vs .ar-logo{left:50%!important;right:auto!important;transform:translateX(-50%)}
.sh.pvx.ar-find{padding-top:calc(max(18px,env(safe-area-inset-top)) + 100px)!important}
.ar-vs .ar-logo{width:60px!important;max-width:60px!important;border-radius:16px}
.ar-vs .a{padding-top:max(112px,calc(env(safe-area-inset-top) + 96px))!important}
/* v461 logo = wide 60s mark like the email header, edges faded into the screen */
html body .ar-logo:not(#z){width:min(62%,250px)!important;max-width:250px!important;border-radius:0;box-shadow:none;-webkit-mask:radial-gradient(ellipse 50% 50% at 50% 50%,#000 55%,transparent 100%);mask:radial-gradient(ellipse 50% 50% at 50% 50%,#000 55%,transparent 100%)}
html body .ar-vs .ar-logo:not(#z){width:min(46%,180px)!important}
.sh.pvx.ar-find{padding-top:calc(max(18px,env(safe-area-inset-top)) + 150px)!important}
.ar-vs .a{padding-top:max(140px,calc(env(safe-area-inset-top) + 124px))!important}
/* v462 teacher login (Khalid's ChatGPT design): rays, gold-framed icon, red glowing card */
html body .ta:not(#z){position:relative;overflow:hidden;background:#000;isolation:isolate}
.ta::after{content:"";position:absolute;left:-30%;right:-30%;height:70%;z-index:-1;pointer-events:none;bottom:-45%;background:repeating-conic-gradient(from 2deg at 50% 62%,rgba(226,18,47,.6) 0 5deg,transparent 5deg 12deg);-webkit-mask:radial-gradient(ellipse 50% 50% at 50% 62%,#000 0%,rgba(0,0,0,.45) 45%,transparent 100%);mask:radial-gradient(ellipse 50% 50% at 50% 62%,#000 0%,rgba(0,0,0,.45) 45%,transparent 100%)}
html body .ta .hero:not(#z){padding:0 0 12px;background:none}
.ta .ta-hero{display:block;width:100%;max-width:520px;height:auto;margin:0 auto -34px;-webkit-mask:linear-gradient(#000 70%,transparent);mask:linear-gradient(#000 70%,transparent);pointer-events:none}
html body .ta .hero h1:not(#z){display:flex;align-items:center;justify-content:center;gap:12px;font-size:40px;font-weight:900;font-style:italic;line-height:1.25;margin:0;text-shadow:0 3px 0 rgba(0,0,0,.6)}
.ta .hero h1::before,.ta .hero h1::after{content:"";flex:0 1 54px;height:22px;background:linear-gradient(#E2122F,#E2122F) 0 0/100% 4px no-repeat,linear-gradient(#E2122F,#E2122F) 0 9px/78% 4px no-repeat,linear-gradient(#E2122F,#E2122F) 0 18px/56% 4px no-repeat;-webkit-mask:linear-gradient(90deg,#000,transparent);mask:linear-gradient(90deg,#000,transparent)}
.ta .hero h1::before{transform:scaleX(-1)}
html body .ta .hero p:not(#z){display:flex;align-items:center;justify-content:center;gap:12px;font-size:17px;font-weight:700;color:#E5E5EA!important;margin:4px 0 0}
.ta .hero p::before,.ta .hero p::after{content:"";flex:0 1 50px;height:3px;border-radius:2px;background:linear-gradient(90deg,#E3B23C,transparent)}
.ta .hero p::before{transform:scaleX(-1)}
html body .ta .card:not(#z){background:rgba(14,6,8,.92)!important;border:2px solid #E2122F!important;border-radius:28px;padding:20px 18px;box-shadow:0 0 22px rgba(226,18,47,.6),inset 0 0 18px rgba(226,18,47,.12)!important}
html body .ta .tabs:not(#z){background:#1C1C1E!important;border:1.5px solid #3A3A3C;border-radius:16px;padding:0;overflow:visible}
html body .ta .tabs button:not(#z){min-height:50px;border-radius:15px;font-size:17px;font-weight:800;color:#fff!important}
html body .ta .tabs button.on:not(#z){background:linear-gradient(#F0183A,#B50E28)!important;box-shadow:0 0 0 2px #E3B23C,0 0 16px rgba(226,18,47,.6)!important}
html body .ta .field label:not(#z){color:#fff;font-weight:800;font-size:16px}
html body .ta .input:not(#z){background:#1E1E21!important;border:1.5px solid #E2122F!important;border-radius:16px;min-height:54px;box-shadow:0 0 10px rgba(226,18,47,.35)}
html body .ta .input:focus:not(#z){border-color:#E3B23C!important}
html body .ta .link.forgot:not(#z){align-self:flex-start;color:#E5E5EA!important;padding-bottom:5px;border-bottom:2px solid #E3B23C;border-radius:0}
html body .ta .btn[type=submit]:not(#z){min-height:66px;border-radius:20px;font-size:26px;font-weight:900;background:linear-gradient(#F0183A,#B50E28)!important;border:2.5px solid #E3B23C!important;box-shadow:0 0 22px rgba(226,18,47,.6)!important;text-shadow:0 2px 0 rgba(0,0,0,.35)}
html body .ta .ta-stu:not(#z){min-height:60px;border-radius:20px;background:rgba(10,10,10,.85);border:2.5px solid #E3B23C;font-size:19px;font-weight:900;box-shadow:0 0 14px rgba(227,178,60,.3)}
.ta .pw-eye{opacity:1;filter:grayscale(1) brightness(2)}
html body .ta .hero h1:not(#z){white-space:nowrap;font-size:36px;gap:10px;padding:0 14px}
html body .ta .hero p:not(#z){white-space:nowrap;font-size:15px;padding:0 14px;margin-top:0}
.ta .hero h1::before,.ta .hero h1::after,.ta .hero p::before,.ta .hero p::after{flex:1 1 0;max-width:60px;min-width:16px}
.ta .ta-hero{width:86%;margin-bottom:-40px}
html body .ta .card:not(#z){padding:16px 16px;gap:10px}
html body .ta .btn[type=submit]:not(#z){min-height:58px;font-size:23px}
html body .ta .ta-stu:not(#z){min-height:54px;font-size:17px;margin-top:12px}
html body .ta .pad:not(#z){padding-top:4px}
.ta .ta-hero{width:100%;margin-bottom:-52px;-webkit-mask:radial-gradient(ellipse 62% 62% at 50% 44%,#000 55%,transparent 100%);mask:radial-gradient(ellipse 62% 62% at 50% 44%,#000 55%,transparent 100%)}
.ta .hero h1,.ta .hero p{position:relative;z-index:1}
.ta .hero h1::before,.ta .hero h1::after,.ta .hero p::before,.ta .hero p::after{max-width:74px}
/* v463: rays anchored by pixels so switching login/sign-up does not move the background */
.ta::after{bottom:auto;top:62vh;height:70vh}
/* v464 «ملفي» full page (Khalid + ChatGPT design) */
html body .ac-page:not(#z){padding-bottom:110px}
.ac-pav{display:block;margin:0 auto 6px;border-radius:50%}
.ac-pav .prof-big{border:3px solid #E3B23C;box-shadow:0 0 22px rgba(226,18,47,.55)!important}
.ac-pav .prof-cam{position:absolute;bottom:2px;right:2px;width:34px;height:34px;border-radius:50%;background:#E2122F;border:2px solid #E3B23C;color:#fff;display:flex;align-items:center;justify-content:center}
html body .ac-page .ac-f:not(#z){background:none;padding:0;margin:0;gap:14px}
html body .ac-page .ac-fd>label:not(#z){color:#fff;font-size:16px;font-weight:800}
html body .ac-page .ac-f .input:not(#z){background:#1C1C1E!important;border:1.5px solid #3A3A3C!important;border-radius:16px;min-height:52px;color:#fff}
html body .ac-page .ac-f .input:focus:not(#z){border-color:#E3B23C!important}
.ac-ph{display:flex;align-items:center;gap:8px;direction:ltr}
.ac-ph span{min-height:52px;display:flex;align-items:center;padding:0 14px;border-radius:16px;background:#1C1C1E;border:1.5px solid #3A3A3C;font-weight:800;color:#C7C7CC}
.ac-ph .input{flex:1;min-width:0}
.ac-hint{color:#8E8E93;font-size:13px;font-weight:700}
html body .ac-page .ac-c:not(#z){position:relative;background:#1C1C1E!important;border:1.5px solid #3A3A3C!important;color:#fff;border-radius:16px;min-height:50px}
html body .ac-page .ac-c.on:not(#z){background:linear-gradient(#F0183A,#B50E28)!important;border:2px solid #E3B23C!important;box-shadow:0 0 14px rgba(226,18,47,.5)}
.ac-page .ac-c.on::after{content:"✓";position:absolute;top:-9px;left:-6px;width:22px;height:22px;border-radius:50%;background:#E3B23C;color:#1a1200;font-size:13px;font-weight:900;display:flex;align-items:center;justify-content:center;line-height:1}
.ac-page .ac-note{color:#8E8E93}
.ac-bar{position:fixed;left:0;right:0;bottom:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#000 35%);z-index:5}
.ac-bar .btn{width:100%;min-height:58px;border-radius:20px;font-size:23px;font-weight:900;background:linear-gradient(#F0183A,#B50E28)!important;border:2.5px solid #E3B23C!important;box-shadow:0 0 22px rgba(226,18,47,.6)!important;color:#fff}
/* v464b rows version */
.ac-bar{display:none}
.ac-page{display:flex;flex-direction:column;gap:14px}
.ac-rows{display:flex;flex-direction:column;gap:14px}
.ac-grp{background:#1C1C1E;border-radius:20px;overflow:hidden}
.ac-row{display:flex;align-items:center;gap:10px;width:100%;min-height:58px;padding:8px 16px;background:none;border:0;border-bottom:1px solid #2C2C2E;color:#fff;font:inherit;text-align:right;cursor:pointer}
.ac-grp .ac-row:last-child{border-bottom:0}
.ac-row span{flex:0 0 auto;font-weight:800;font-size:16px}
.ac-row b{flex:1;min-width:0;text-align:left;color:#C7C7CC;font-weight:700;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-row b i{color:#E3B23C;font-style:normal;font-weight:800}
.ac-row em{font-style:normal;color:#8E8E93;font-size:22px;line-height:1}
.ac-ro{cursor:default}.ac-ro b{direction:ltr}
.ac-sh2{display:flex;flex-direction:column;gap:14px}
.ac-sh2 h3{margin:0;text-align:center;font-size:20px;font-weight:800}
.ac-sh2 .input{min-height:52px;border-radius:16px;font-size:17px}
html body .ac-sh2 .btn:not(#z){min-height:54px;border-radius:18px;font-size:20px;font-weight:900;background:linear-gradient(#F0183A,#B50E28)!important;border:2.5px solid #E3B23C!important;color:#fff}
html body .ac-sh2 .ac-c:not(#z){background:#2C2C2E!important;border:1.5px solid #3A3A3C!important;color:#fff;border-radius:16px;min-height:50px;position:relative}
html body .ac-sh2 .ac-c.on:not(#z){background:linear-gradient(#F0183A,#B50E28)!important;border:2px solid #E3B23C!important}
.ac-sh2 .ac-c.on::after{content:"✓";position:absolute;top:-8px;left:-5px;width:22px;height:22px;border-radius:50%;background:#E3B23C;color:#1a1200;font-size:13px;font-weight:900;display:flex;align-items:center;justify-content:center;line-height:1}
.ac-sh2 .ac-ph{flex-direction:row-reverse}.ac-row b .ac-emo{font-size:22px}
/* v465 inline editing (no popups) */
.ac-ex{padding:4px 14px 16px;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #2C2C2E;background:#161618}
.ac-grp .ac-ex:last-child{border-bottom:0}
.ac-row.open em{transform:rotate(-90deg)}
.ac-ex .input{min-height:50px;border-radius:14px;font-size:17px;background:#2C2C2E!important;border:1.5px solid #E3B23C!important;color:#fff}
html body .ac-ex .ac-c:not(#z){background:#2C2C2E!important;border:1.5px solid #3A3A3C!important;color:#fff;border-radius:14px;min-height:46px;position:relative}
html body .ac-ex .ac-c.on:not(#z){background:linear-gradient(#F0183A,#B50E28)!important;border:2px solid #E3B23C!important}
.ac-ex .ac-c.on::after{content:"✓";position:absolute;top:-8px;left:-5px;width:22px;height:22px;border-radius:50%;background:#E3B23C;color:#1a1200;font-size:13px;font-weight:900;display:flex;align-items:center;justify-content:center;line-height:1}
.ac-ex .ac-ph{flex-direction:row-reverse}
/* v465b fields + native wheels */
.ac-fl{display:flex;align-items:center;gap:10px;min-height:58px;padding:6px 16px;border-bottom:1px solid #2C2C2E;cursor:text}
.ac-grp .ac-fl:last-child{border-bottom:0}
.ac-fl>span:first-child{flex:0 0 76px;font-weight:800;font-size:16px;color:#fff}
.ac-in,.ac-sel{flex:1;min-width:0;height:44px;background:transparent;border:0;outline:0;color:#E5E5EA;font:700 16px 'Cairo',system-ui,sans-serif;text-align:left;padding:0;-webkit-appearance:none;appearance:none}
.ac-in:focus{color:#fff;box-shadow:0 2px 0 #E3B23C}
.ac-in::placeholder{color:#636366}
.ac-sel{cursor:pointer;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='M1 2l6 6 6-6' stroke='%238E8E93' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right center;padding-right:22px;direction:rtl;text-align:left;text-align-last:left}
.ac-sel option{background:#1C1C1E;color:#fff}
.ac-pre{font-weight:800;color:#8E8E93}
.ac-ro b{flex:1;text-align:left;color:#8E8E93;font-weight:700;font-size:15px}
.ac-st{flex-direction:column;align-items:stretch;gap:10px;padding:12px 16px;cursor:default}
.ac-st .ac-c{min-height:44px}
html body .ac-st .ac-c:not(#z){background:#2C2C2E!important;border:1.5px solid #3A3A3C!important;color:#fff;border-radius:14px;position:relative}
html body .ac-st .ac-c.on:not(#z){background:linear-gradient(#F0183A,#B50E28)!important;border:2px solid #E3B23C!important}
.ac-st .ac-c.on::after{content:"✓";position:absolute;top:-8px;left:-5px;width:22px;height:22px;border-radius:50%;background:#E3B23C;color:#1a1200;font-size:13px;font-weight:900;display:flex;align-items:center;justify-content:center;line-height:1}
.ac-st>span:first-child{flex:none}
.ac-sel{background-position:left center;padding:0 0 0 24px;direction:rtl;text-align:left}
.ac-fl .ac-pre{order:3}.ac-fl .ac-in[data-k=p]{order:2}
/* v467: profile fields — no blue focus box, tab bar hides while typing */
html body .ac-in:focus,html body .ac-in:focus-visible,html body .ac-sel:focus-visible{outline:none!important;border:0!important;background:transparent!important;box-shadow:0 2px 0 #E3B23C!important}
body.ac-typing .t-nav{display:none!important}
/* v471: arena find fits one screen (cancel button was cut off) */
.sh.pvx.ar-find{padding-top:calc(max(14px,env(safe-area-inset-top)) + 112px)!important;padding-bottom:max(18px,env(safe-area-inset-bottom))!important;gap:10px!important;justify-content:flex-start!important}
.ar-find .ar-radar{width:230px!important;height:230px!important;flex:none}
.ar-find .ar-radar .ar-av{width:112px!important;height:112px!important}
.ar-find h2{font-size:26px!important}
.ar-find .ar-fs{width:84px!important;height:84px!important;font-size:36px!important;flex:none}
.ar-find .btn{min-height:50px}
/* v472: no 60s logo on arena screens (Khalid: «مو حلو شكلها») */
html body .ar-logo:not(#z){display:none!important}
.sh.pvx.ar-find{padding-top:calc(max(14px,env(safe-area-inset-top)) + 70px)!important}
.sh.pvx.ar-find{justify-content:center!important;padding-top:max(14px,env(safe-area-inset-top))!important}
/* v474 «خطواتك» card + send codes page */
.stp{position:relative;background:#1C1C1E;border:1.5px solid #3A3A3C;border-radius:22px;padding:16px;margin-bottom:16px;color:#fff}
.stp h3{margin:0 0 2px;font-size:20px;font-weight:900;padding-inline-end:34px}.stp>small{color:#C7C7CC;font-size:14px;font-weight:700}
.stp-x{position:absolute;top:10px;left:10px;width:34px;height:34px;border-radius:50%;border:0;background:#2C2C2E;color:#98989F;font-size:14px;cursor:pointer}
.stp-bar{height:8px;border-radius:4px;background:#2C2C2E;margin:12px 0 4px;overflow:hidden}.stp-bar i{display:block;height:100%;background:#E3B23C;border-radius:4px}
.stp-r{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #2C2C2E}
.stp-r:last-child{padding-bottom:0}
.stp-n{flex:none;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;background:#2C2C2E;color:#C7C7CC}
.stp-r.dn .stp-n{background:#1F9D55;color:#fff}.stp-r.dn b{color:#8E8E93}
.stp-r.cur .stp-n{background:#E3B23C;color:#1a1200}
.stp-r>div{flex:1;min-width:0}.stp-r b{display:block;font-size:16px;font-weight:800}.stp-r small{display:block;color:#98989F;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stp-b{flex:none;min-height:42px;padding:0 16px;border-radius:14px;border:0;background:linear-gradient(#F0183A,#B50E28);color:#fff!important;font:800 15px 'Cairo',system-ui,sans-serif;display:inline-flex;align-items:center;text-decoration:none;cursor:pointer}
.stp-b.s{background:#2C2C2E}
.snd-p{color:#C7C7CC;font-weight:700;font-size:15px;margin:0 0 14px}
.snd{display:flex;align-items:center;gap:8px;background:#1C1C1E;border-radius:18px;padding:12px 14px;margin-bottom:10px;color:#fff}
.snd>div{flex:1;min-width:0}.snd b{display:block;font-size:17px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.snd small{color:#98989F;font-weight:700}
.snd.done small{color:#34C759}
.snd-w,.snd-q{flex:none;min-height:44px;padding:0 12px;border-radius:14px;font:800 14px 'Cairo',system-ui,sans-serif;color:#fff;cursor:pointer}
.snd-w{border:0;background:#1F9D55}.snd-q{border:1.5px solid #3A3A3C;background:#2C2C2E}
.snd-no{color:#98989F;font-weight:700;font-size:14px;margin:14px 0 0}
.snd-qm{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.snd-qm h3{margin:0;font-size:24px;font-weight:900}.snd-qm p{margin:0;color:#C7C7CC;font-weight:700}
.snd-qb{width:min(78vw,300px);aspect-ratio:1;background:#fff;border-radius:18px;padding:14px;display:flex;align-items:center;justify-content:center}.snd-qb svg{width:100%;height:100%}
.snd-qm>b{font-size:30px;font-weight:900;letter-spacing:4px}

/* v479 report subject picker (student with several teachers) */
.rp2-subj{display:flex;gap:8px;overflow-x:auto;margin:0 -16px 12px;padding:0 16px 2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.rp2-subj::-webkit-scrollbar{display:none}
.rp2-subj button{flex:0 0 auto;background:#1C1C1E;color:#C7C7CC;border:1.5px solid #2C2C2E;border-radius:999px;padding:9px 16px;font:inherit;font-weight:700;font-size:14.5px;white-space:nowrap;cursor:pointer}
.rp2-subj button.on{background:#C8102E;border-color:#C8102E;color:#fff}
.rp2-body{transition:opacity .15s}.rp2-body.ld{opacity:.35;pointer-events:none}

/* v480 character picker: big preview + tabs (one screen), first-entry screen */
.av2{gap:14px!important;text-align:center}
.av2 h3{font-size:20px}.av2-sub{margin:-8px 0 0;color:#C7C7CC;font-size:15px}
.av2-big{width:112px;height:112px;margin:2px auto 0;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 0 4px #140306,0 0 0 7px #E3B23C,0 0 26px rgba(227,178,60,.4)}
.av2-big .avi{width:100%;height:100%;display:block;box-shadow:none}
.av2-big em{font-style:normal;font-size:56px;line-height:1;font-weight:900;color:#fff}
.av2-big:has(em){background:#2C2C2E}
.av2-tabs{display:flex;gap:6px;background:#2C2C2E;border-radius:14px;padding:4px}
.av2-tabs button{flex:1;border:0;background:transparent;color:#C7C7CC;font:inherit;font-weight:700;font-size:14.5px;padding:9px 4px;border-radius:11px;cursor:pointer;white-space:nowrap}
.av2-tabs button.on{background:#C8102E;color:#fff}
.av2 .s-avg{gap:8px}
.av2 .s-avg button{border-radius:18px;font-size:30px}
.av2 .s-avg button.on{border-color:#E3B23C;background:#3A3A3C}
#av2-grid{min-height:calc((min(100vw,520px) - 60px) * .75 + 16px)}
.av2-big:has(.avi){margin-top:26px}
.av2-first .av2-sub{margin-bottom:-6px}
.modal:has(.av2){outline:0}
.av2-note{margin:8px 0 0;color:#C7C7CC;font-size:14.5px;line-height:1.7}
.av2-skip{background:none;border:0;color:#98989F;font:inherit;font-weight:700;font-size:14.5px;padding:6px;cursor:pointer;margin-top:-4px}

/* v481 */
.ac-fl>span:first-child{white-space:nowrap}

/* v482 onboarding: school type row under the grades */
.ob-sg{display:flex;align-items:center;gap:12px;margin:14px 0 2px}.ob-sg>span{font-weight:700;font-size:15px;white-space:nowrap;opacity:.85}.ob-sg .gp-seg{flex:1;margin:0}

/* v484 avatar menu = small popover under the avatar */
.tm-pop-back{position:fixed;inset:0;z-index:60}
.tm-pop{position:fixed;width:min(264px,calc(100vw - 24px));background:#1C1C1E;border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:6px;box-shadow:0 18px 44px rgba(0,0,0,.6);transform-origin:top left;animation:tmPop .16s cubic-bezier(.2,.9,.3,1.15)}
@keyframes tmPop{from{opacity:0;transform:scale(.9) translateY(-6px)}to{opacity:1;transform:none}}
.tm-pop button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:#fff;font:inherit;text-align:start;padding:11px 12px;border-radius:13px;cursor:pointer}
.tm-pop button:active{background:#2C2C2E}
.tm-p-h{border-bottom:1px solid rgba(255,255,255,.08)!important;border-radius:13px 13px 0 0!important;padding-bottom:12px!important;margin-bottom:4px}
.tm-p-h .big-av,.tm-p-h img{width:42px!important;height:42px!important;border-radius:50%;flex:0 0 auto;font-size:18px}
.tm-p-h b{display:block;font-size:16px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-p-h small{display:block;color:#98989F;font-size:13px}
.tm-p-h .grow{min-width:0;flex:1}.tm-p-h i{font-style:normal;color:#636366;font-size:20px}
.tm-p-r{font-size:16px;font-weight:700}.tm-p-r span{font-size:20px;width:28px;text-align:center}
.tm-p-r.dng{color:#FF453A!important}
body:not(.dark) .tm-pop{background:#fff;border-color:rgba(0,0,0,.08);box-shadow:0 18px 44px rgba(0,0,0,.22)}
body:not(.dark) .tm-pop button{color:#111}body:not(.dark) .tm-pop button:active{background:#F2F2F7}
/* teacher problem report */
.trp-shot{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:8px 14px;border:1.5px dashed var(--line,#3A3A3C);border-radius:14px;color:var(--muted,#C7C7CC);font-weight:700;cursor:pointer;text-align:center}
.trp-shot.on{border-style:solid;border-color:#34C759;color:#34C759}
.trp-shot img{width:40px;height:40px;object-fit:cover;border-radius:8px;margin-inline-end:8px;vertical-align:middle}
.trp-meta{font-size:13px;margin:0}
.ad-fbb{background:var(--soft,#2C2C2E);border-radius:14px;padding:12px 14px;line-height:1.7;margin:8px 0}
.ad-fbi{display:block;max-width:100%;max-height:340px;border-radius:12px;margin:8px auto}
.ad-fbm{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.ad-fbm span{background:var(--soft,#2C2C2E);border-radius:99px;padding:3px 10px;font-size:13px;font-weight:700}

/* v485 bell + avatar stay fixed during page push/pop */
.pg-acts{position:fixed;inset:0;z-index:45;pointer-events:none}
html.pg-pin .t-top .t-bell,html.pg-pin .t-top .t-av{visibility:hidden}
html.pg-pin .pg-acts .t-bell,html.pg-pin .pg-acts .t-av{visibility:visible}

/* v487 tidy admin */
.ad-card{background:var(--card);border-radius:20px;padding:14px 14px 10px;margin-bottom:18px}
.ad-ct{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.ad-ct b{font-size:15px;font-weight:800}.ad-ct small{font-size:12.5px;color:var(--muted);font-weight:700}
.ad-card .ad-bars{height:96px;margin:14px 0 0}
.ad-bars em{font-style:normal;font-size:10.5px;font-weight:800;opacity:.85}
.ad-bars i.z{background:rgba(255,255,255,.12)}
.ad-rows+.sub{margin-bottom:14px}
.ad-att{color:inherit}
.ad-more{margin:6px 0 20px}
.ad-more summary{list-style:none;cursor:pointer;text-align:center;font-weight:800;font-size:14px;color:var(--muted);padding:10px;border-radius:14px;background:var(--card);margin-bottom:12px}
.ad-more summary::-webkit-details-marker{display:none}
.ad-more summary::after{content:' ⌄'}.ad-more[open] summary::after{content:' ⌃'}
/* v487 admin app */
.ad-attn{display:flex;align-items:center;gap:10px;background:color-mix(in srgb,#C8102E 22%,var(--card));border:1px solid color-mix(in srgb,#C8102E 55%,transparent);border-radius:18px;padding:14px 16px;margin-bottom:14px;color:inherit;text-decoration:none;font-size:15px}
.ad-attn .set-chev{opacity:.6}
.ad-q{width:100%;margin-bottom:10px}
.ad-empty{text-align:center;padding:60px 20px;color:var(--muted)}.ad-empty b{font-size:44px;display:block}.ad-empty p{font-weight:800;margin:8px 0 0}
.ad-btot{display:flex;align-items:baseline;gap:8px;margin:0 4px 12px}.ad-btot b{font-size:34px;font-weight:900}.ad-btot span{color:var(--muted);font-weight:800}
.ad-h small{margin-inline-start:auto;font-size:12.5px;color:var(--muted);font-weight:700}
.ad-warn{font-size:12px;font-weight:800;color:#FFCC00;white-space:nowrap}.ad-ok{color:#1FA971;font-weight:900}
.ad-tr[disabled]{opacity:.45}
.ad-ic{background:#2C2C2E!important;font-size:20px}
.ad-qi{width:26px;height:26px;border-radius:50%;background:#2C2C2E;display:grid;place-items:center;font-size:12px;font-weight:800;flex:none}
.ad-tr .grow b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ad-rt{display:flex;gap:18px;align-items:center}
.ad-rt-a{text-align:center;flex:none}.ad-rt-a b{font-size:46px;font-weight:900;line-height:1;display:block}.ad-rt-a small{color:var(--muted);font-weight:700}
.ad-st{color:#FFCC00;letter-spacing:1px;font-size:15px}.ad-st i{font-style:normal;color:#3A3A3C}.ad-st.sm{font-size:12px;display:block}
.ad-rt-b{flex:1;display:flex;flex-direction:column;gap:5px}.ad-rt-b div{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800}
.ad-rt-b i{flex:1;height:7px;border-radius:4px;background:#2C2C2E;overflow:hidden;display:block}.ad-rt-b u{display:block;height:100%;background:#FFCC00;border-radius:4px}
.ad-cm{cursor:default}
.rt-box{text-align:center;position:relative}
.rt-e{font-size:46px;line-height:1;margin:4px 0 6px}
.rt-box h3{margin:0}
.rt-stars{display:flex;justify-content:center;gap:6px;margin:16px 0 6px}
.rt-stars button{background:none;border:0;font-size:40px;line-height:1;color:#3A3A3C;cursor:pointer;padding:2px;transition:transform .15s,color .15s}
.rt-stars button.on{color:#FFCC00;transform:scale(1.08)}
.rt-cm{margin:6px auto 4px;display:block;font-weight:800}
.rt-ct{font-size:14px;color:var(--muted);margin:2px 0 8px;word-break:break-word}
.rt-in textarea{width:100%;margin:10px 0 12px;resize:none}
.modal-back.rt-mid{align-items:center;padding:20px}
.modal-back.rt-mid .modal{border-radius:28px;max-width:400px;padding:22px 20px 20px;margin:0}
.rt-in h3{margin:0}
.ad-rt-a small{display:block;margin-top:4px}
.modal-back.rt-mid .modal::before{display:none}.modal-back.rt-mid .modal:focus{outline:none}
/* v488 bank tiles */
.ad-grs{display:flex;gap:8px;margin:0 0 14px;overflow-x:auto;scrollbar-width:none}
.ad-grs button{flex:1;min-width:52px;border:0;border-radius:14px;background:var(--card);color:inherit;padding:7px 4px;display:flex;flex-direction:column;align-items:center;font-family:inherit;cursor:pointer}
.ad-grs b{font-size:18px;font-weight:900;line-height:1.2}.ad-grs small{font-size:11px;color:var(--muted);font-weight:700}
.ad-grs button.on{background:#fff;color:#000}.ad-grs button.on small{color:#555}.ad-grs button.z{opacity:.5}
.ad-bts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ad-bt{position:relative;border:0;border-radius:20px;background:var(--card);color:inherit;padding:14px;text-align:right;display:flex;flex-direction:column;gap:2px;font-family:inherit;cursor:pointer;min-height:112px}
.ad-bt b{font-size:14.5px;font-weight:800;padding-left:14px}.ad-bt strong{font-size:28px;font-weight:900;line-height:1.2;margin-top:auto}.ad-bt small{font-size:12px;color:var(--muted);font-weight:700}
.ad-bt i{position:absolute;top:16px;left:14px;width:9px;height:9px;border-radius:50%;background:#1FA971}.ad-bt.warn i{background:#FFCC00}.ad-bt.warn small{color:#FFCC00}
.ad-bempty{margin:14px 4px 0;font-size:13px;color:var(--muted);font-weight:700;line-height:1.7}
.ad-gd{display:flex;gap:4px;margin:4px 0 2px}.ad-gd em,.ad-bleg em{font-style:normal;font-size:10.5px;font-weight:800;min-width:20px;height:18px;border-radius:6px;display:grid;place-items:center;color:#000}
.ad-gd em.g,.ad-bleg em.g{background:#1FA971}.ad-gd em.y,.ad-bleg em.y{background:#FFCC00}.ad-gd em.z,.ad-bleg em.z{background:#3A3A3C;color:#8E8E93}
.ad-bleg{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:var(--muted);font-weight:700;margin:14px 0 0}.ad-bleg em{min-width:12px;height:12px;border-radius:4px;margin-inline-start:8px}
.ad-bsum{border-radius:18px;padding:12px 16px;margin-bottom:12px;display:flex;flex-direction:column;gap:2px;background:var(--card)}.ad-bsum b{font-size:15px}.ad-bsum span{font-size:13px;font-weight:800;color:#1FA971}.ad-bsum.warn span{color:#FFCC00}
.ad-lb{display:block;height:5px;border-radius:3px;background:#2C2C2E;margin-top:7px;overflow:hidden}.ad-lb u{display:block;height:100%;border-radius:3px;background:#1FA971}.ad-lb u.y{background:#FFCC00}
.ad-ln{display:flex;flex-direction:column;align-items:center;min-width:52px}.ad-ln b{font-size:18px;font-weight:900}.ad-ln small{font-size:11px;font-weight:800}.ad-ln .y{color:#FFCC00}.ad-ln .g{color:#1FA971}
/* v489 wrong name fix */
.jn-claim{margin-top:4px}
.jn-cl-e{font-size:46px;line-height:1}
.jn-dt b{display:block;margin-bottom:2px}
.cp-claim{display:flex;align-items:center;gap:10px;background:color-mix(in srgb,#C8102E 22%,var(--card));border:1px solid color-mix(in srgb,#C8102E 55%,transparent);border-radius:18px;padding:12px 14px;margin-bottom:12px}
.cp-claim b{display:block;font-size:14.5px}.cp-claim small{display:block;font-size:12.5px;color:var(--muted);font-weight:700}
.nm1 h3{margin:0}.nm1 .sub b{color:inherit}
.nm-wipe{display:flex;align-items:center;gap:10px;background:#2C2C2E;border-radius:14px;padding:12px 14px;font-weight:800;cursor:pointer}.nm-wipe input{width:20px;height:20px;accent-color:#C8102E}
.nm-code{font-size:34px;font-weight:900;letter-spacing:4px;background:#2C2C2E;border-radius:16px;padding:10px;margin:4px 0}
/* v490 message status on the challenge page */
.ch-ml{display:flex;align-items:center;gap:10px;background:var(--card);border-radius:18px;padding:12px 14px;margin:4px 0 10px}
.ch-ml b{display:block;font-size:14.5px}.ch-ml small{display:block;font-size:12.5px;color:var(--muted);font-weight:700}
.ch-mb{display:inline-flex;align-items:center;gap:2px;font-size:13px;background:#2C2C2E;border-radius:999px;padding:1px 7px;margin-inline-start:6px;vertical-align:middle;font-weight:800;cursor:pointer}
.ch-mb em{font-style:normal;font-size:11px;color:var(--muted)}.ch-mb u{text-decoration:none;color:#1FA971;font-size:12px}
.ch-mb.rd{background:color-mix(in srgb,#1FA971 18%,#2C2C2E)}
.ch-mv h3{margin:0 0 4px}.ch-mi{background:#2C2C2E;border-radius:16px;padding:12px 14px}.ch-mih{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.ch-mih small{font-size:12px;color:var(--muted);font-weight:700}.ch-mih .rd{color:#1FA971}
.ch-mi p{margin:6px 0 0;font-size:14.5px;line-height:1.7}

/* v491 merged challenge: one code per class */
.chc{display:flex;flex-direction:column;gap:8px}
.chc h3{margin:0}
.chc .sub{margin:0 0 6px}
.chc-r{display:flex;align-items:center;gap:10px;background:rgba(120,120,128,.12);border-radius:14px;padding:10px 12px}
.chc-n{flex:1;display:flex;flex-direction:column;gap:2px;text-align:start;cursor:pointer;min-width:0}
.chc-n b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chc-n span{font-weight:800;letter-spacing:2px;font-size:18px;color:#E3B23C;text-align:right}

/* v495 notifications prompt: big bell, one main button, «لاحقاً» as plain text (Khalid: the plain dialog looked dull) */
.dlg.ntp{max-width:300px!important;padding:28px 20px 14px!important}
.dlg.ntp .dlg-b b{width:92px;height:92px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;font-size:48px;line-height:1;background:radial-gradient(circle at 50% 35%,rgba(227,178,60,.30),rgba(227,178,60,.10));box-shadow:0 0 0 1px rgba(227,178,60,.28) inset}
.dlg.ntp .dlg-b p{color:var(--ink);font-size:21px;font-weight:900}
.dlg.ntp .dlg-a{margin-top:22px}
.dlg.ntp .dlg-a button{outline:0!important}
.dlg.ntp .dlg-a button.pri{order:-1}

/* v498 classes grouped by grade */
.cp-gh{display:flex;align-items:baseline;gap:8px;margin:10px 6px -6px}
.cp-gh:first-of-type{margin-top:14px}
.cp-gh b{font-size:19px;font-weight:900}
.cp-gh span{font-size:13px;font-weight:700;color:var(--muted)}
.cp-gh+.cp-tiles{margin-top:0!important}

/* v498 compact class rows in folding grade lists, frosted glass (Khalid) */
.cg-g,.cg-l:not(.cg-g .cg-l){background:linear-gradient(180deg,color-mix(in srgb,var(--ink) 11%,transparent),color-mix(in srgb,var(--ink) 5%,transparent));-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);border:1px solid color-mix(in srgb,var(--ink) 16%,transparent);border-radius:20px;overflow:hidden;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--ink) 14%,transparent),0 10px 28px rgba(0,0,0,.28)}
.cg-g>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.cg-g>summary::-webkit-details-marker{display:none}
.cg-g>summary b{font-size:18px;font-weight:900}
.cg-g>summary span{flex:1;display:flex}
.cg-g>summary u{text-decoration:none;font-size:12.5px;font-weight:800;color:#E3B23C;background:rgba(227,178,60,.14);border-radius:99px;padding:3px 10px}
.cg-ch{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:color-mix(in srgb,var(--ink) 9%,transparent);color:var(--muted);transition:transform .2s;transform:rotate(90deg)}
.cg-ch svg{width:16px;height:16px}
.cg-g:not([open]) .cg-ch{transform:rotate(180deg)}
.cg-l{display:flex;flex-direction:column}
.cg-g .cg-l{border-top:1px solid color-mix(in srgb,var(--ink) 10%,transparent);background:rgba(0,0,0,.10)}
.cg-r{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:10px 16px;background:transparent;border:0;color:var(--ink);font:inherit;text-align:start;cursor:pointer}
.cg-r+.cg-r{border-top:1px solid color-mix(in srgb,var(--ink) 8%,transparent)}
.cg-r b{flex:1;font-size:16px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cg-r em{font-style:normal;font-size:12px;font-weight:800;color:#30D158;background:rgba(48,209,88,.13);border-radius:99px;padding:3px 9px}
.cg-r small{font-size:13px;font-weight:700;color:var(--muted);min-width:54px;text-align:end}
.cg-r .set-chev{color:var(--muted);opacity:.7}
.cg-r:active{background:color-mix(in srgb,var(--ink) 7%,transparent)}
.nw-gh{margin:14px 6px 8px}
.nw-gh:first-of-type{margin-top:4px}

/* v499 «خطواتك» card in the theme (Khalid): frosted glass with the red card edge, quiet done steps, gold current step */
.stp{background:linear-gradient(180deg,color-mix(in srgb,var(--ink) 11%,transparent),color-mix(in srgb,var(--ink) 5%,transparent))!important;-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);border:1px solid rgba(226,18,47,.42)!important;border-radius:24px!important;padding:18px 16px 8px!important;color:var(--ink)!important;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--ink) 14%,transparent),0 0 26px rgba(200,16,46,.16),0 10px 28px rgba(0,0,0,.28)}
.stp>small{color:var(--muted)!important}
.stp-x{background:color-mix(in srgb,var(--ink) 10%,transparent)!important;color:var(--muted)!important}
.stp-bar{height:6px!important;background:color-mix(in srgb,var(--ink) 12%,transparent)!important;margin:14px 0 6px!important}
.stp-bar i{background:linear-gradient(90deg,#E3B23C,#F5D06B)!important}
.stp-r{border-top:1px solid color-mix(in srgb,var(--ink) 9%,transparent)!important;padding:11px 0!important}
.stp-r:last-child{padding-bottom:10px!important}
.stp-n{background:color-mix(in srgb,var(--ink) 10%,transparent)!important;color:var(--muted)!important;width:32px!important;height:32px!important;font-size:14px}
.stp-r.dn{padding:8px 0!important}
.stp-r.dn .stp-n{width:26px!important;height:26px!important;margin:0 3px;background:rgba(48,209,88,.16)!important;color:#30D158!important;font-size:13px}
.stp-r.dn b{display:inline!important;font-size:14.5px!important;color:var(--muted)!important}
.stp-r.dn small{display:inline!important;margin-inline-start:8px;font-size:13px!important;opacity:.8}
.stp-r.cur .stp-n{background:#E3B23C!important;color:#1a1200!important;box-shadow:0 0 0 4px rgba(227,178,60,.18)}
.stp-r small{color:var(--muted)!important}
.stp-b{background:#C8102E!important;box-shadow:0 4px 0 #8E0B21;border-radius:14px!important;min-height:40px!important;margin-bottom:4px}
.stp-b.s{background:color-mix(in srgb,var(--ink) 12%,transparent)!important;box-shadow:none;color:var(--ink)!important;margin-bottom:0}

/* v501 ready screen: copy message + show code side by side */
.nw-2{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;margin-top:10px}
.nw-2 .btn{min-height:50px;font-size:15px;padding:0 8px}

/* v504 challenge code sheet: per class code + WhatsApp / copy / show */
.chc-b{background:color-mix(in srgb,var(--ink) 8%,transparent);border:1px solid color-mix(in srgb,var(--ink) 12%,transparent);border-radius:18px;padding:12px}
.chc-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding:0 4px}
.chc-h b{font-size:16px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chc-h span{font-weight:900;letter-spacing:2px;font-size:19px;color:#E3B23C}
.chc-b.one .chc-h{flex-direction:column;gap:2px;margin-bottom:14px}
.chc-b.one .chc-h b{font-size:14px;color:var(--muted)}
.chc-b.one .chc-h span{font-size:34px;letter-spacing:5px}
.chc-a{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:8px}
.chc-a button{min-height:44px;border:0;border-radius:13px;font:800 14px 'Cairo',system-ui,sans-serif;background:color-mix(in srgb,var(--ink) 12%,transparent);color:var(--ink);cursor:pointer;white-space:nowrap}
.chc-a .chc-wa{background:#1FA971;color:#fff}

/* v505 (Khalid): every bottom sheet in the app theme: frosted glass, slightly see-through, red edge on top */
html body .modal-back{background:rgba(0,0,0,.42)!important;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
html body.wide.dark .modal,html body:not(.wide) .modal{background:linear-gradient(180deg,rgba(44,22,28,.80),rgba(20,15,17,.86))!important;-webkit-backdrop-filter:blur(30px) saturate(170%);backdrop-filter:blur(30px) saturate(170%);border:1px solid rgba(226,18,47,.36);border-bottom:0;border-radius:28px 28px 0 0!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 -12px 44px rgba(200,16,46,.16),0 -2px 30px rgba(0,0,0,.5)}
html body.wide:not(.dark) .modal{background:linear-gradient(180deg,rgba(255,250,248,.86),rgba(245,240,237,.90))!important;-webkit-backdrop-filter:blur(30px) saturate(170%);backdrop-filter:blur(30px) saturate(170%);border:1px solid rgba(200,16,46,.22);border-bottom:0;border-radius:28px 28px 0 0!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 -12px 40px rgba(200,16,46,.10)}
html body .modal:focus,html body .modal:focus-visible{outline:none!important}
html body .modal-back.mid .modal,html body .modal-back.rt-mid .modal{border-radius:28px!important;border-bottom:1px solid rgba(226,18,47,.36)}
@media(min-width:700px){html body .modal{border-radius:28px!important;border-bottom:1px solid rgba(226,18,47,.36)}}
html body .modal .sheet-t{font-size:14.5px;font-weight:800;color:var(--muted)}
html body .modal .sheet-list{background:color-mix(in srgb,var(--ink) 8%,transparent)!important;border:1px solid color-mix(in srgb,var(--ink) 11%,transparent);border-radius:18px}
html body .modal .sheet-i{background:transparent!important;color:var(--ink);font-weight:700;min-height:54px}
html body .modal .sheet-i:active{background:color-mix(in srgb,var(--ink) 8%,transparent)!important}
html body .modal .sheet-list .sheet-i+.sheet-i{border-top:1px solid color-mix(in srgb,var(--ink) 9%,transparent)}
html body .modal .sheet-sep{background:transparent!important;border-top:1px solid color-mix(in srgb,var(--ink) 9%,transparent);height:1px}
html body .modal .sheet-cancel{background:color-mix(in srgb,var(--ink) 8%,transparent)!important;border:1px solid color-mix(in srgb,var(--ink) 11%,transparent);border-radius:18px;color:var(--ink);font-weight:800}
html body .modal .sheet-i.danger{color:#FF453A}
/* v507 (Khalid: grey buttons inside sheets): rows are clear glass over the sheet colour, no solid grey */
html body.wide.dark .modal .sheet-list,html body.wide.dark .modal .sheet-cancel,html body.wide.dark .modal .set-grp,html body.wide.dark .modal .card,
html body:not(.wide) .modal .sheet-list,html body:not(.wide) .modal .sheet-cancel{background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035))!important;border:1px solid rgba(255,255,255,.11);border-radius:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important}
html body.wide.dark .modal .sheet-i,html body.wide.dark .modal .set-row,html body:not(.wide) .modal .sheet-i{background:transparent!important}
html body.wide.dark .modal .sheet-i:active,html body.wide.dark .modal .set-row:active,html body:not(.wide) .modal .sheet-i:active{background:rgba(226,18,47,.16)!important}
html body.wide.dark .modal .sheet-list .sheet-i+.sheet-i,html body:not(.wide) .modal .sheet-list .sheet-i+.sheet-i{border-top:1px solid rgba(255,255,255,.07)}
html body.wide.dark .modal .sheet-cancel,html body:not(.wide) .modal .sheet-cancel{color:var(--ink)}
.chc-a button:not(.chc-wa){background:transparent;border:1px solid rgba(226,18,47,.42)}
.chc-b{background:linear-gradient(180deg,color-mix(in srgb,var(--ink) 8.5%,transparent),color-mix(in srgb,var(--ink) 3.5%,transparent))}
/* v510 «المراكز»: class | arena tabs, period chips, arena rows; robot opponent */
.lb-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.11);margin:0 0 10px}
.lb-seg button{min-height:44px;border:0;border-radius:12px;background:transparent;color:#C7C7CC;font:800 15.5px 'Cairo',system-ui,sans-serif;cursor:pointer}
.lb-seg button.on{background:linear-gradient(#EE1F42,#B50E28);color:#fff;box-shadow:0 3px 0 #8E0B21}
.lb-per{display:flex;gap:8px;justify-content:center;margin:0 0 12px}
.lb-per button{min-height:36px;padding:0 18px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:transparent;color:#C7C7CC;font:700 14px 'Cairo',system-ui,sans-serif;cursor:pointer}
.lb-per button.on{border-color:#E3B23C;color:#E3B23C;background:rgba(227,178,60,.10)}
#lb-body .lbx-list{display:flex;flex-direction:column;gap:7px}
.lba-r{background:rgba(255,255,255,.06)!important;padding:8px 12px!important}
.lba-r.me{background:rgba(227,178,60,.12)!important;box-shadow:inset 0 0 0 1.5px rgba(227,178,60,.65)!important}
.lba-r .lbx-no{color:#F5F5F7}.lba-r .lbx-no.md{background:transparent;font-size:22px}
.lba-av{width:38px;height:38px;border-radius:50%;overflow:hidden;display:grid;place-items:center;flex:none;font-size:22px;background:#2C2C2E;color:#fff;font-weight:800}
.lba-av img,.lba-av svg{width:100%;height:100%;object-fit:cover}
.lba-nm{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}
.lba-nm b{font-size:15.5px;font-weight:800;color:#F5F5F7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lba-nm b small{font-weight:700;color:#E3B23C;font-size:12px}
.lba-nm>small{font-size:12px;color:#A1A1A8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lba-p{color:#E3B23C;font-size:16.5px!important}
.lba-me{margin-top:10px;padding-top:10px;border-top:1px dashed rgba(255,255,255,.16)}
#lb-body>.btn{margin-top:14px}
.ar-av.ar-bot{display:grid;place-items:center}
.ar-vsbot{margin:-4px 0 8px;color:#A1A1A8;font-size:14px;font-weight:700;text-align:center}
.ar-find .ar-fnow[hidden]{display:none!important}
@media (pointer:coarse){body.kb-on .t-nav,body.kb-on .s-nav{display:none!important}}
.av2 .s-avg:has(button:nth-child(6):last-child){grid-template-columns:repeat(3,1fr)}
/* v518 (Khalid: «مو واضح انه زر»): after the round, practice is the one action on the card, so it is a real red button */
html body:not(.wide) .sh.pvx .sp-one .sp-prac:not(#z):not(#y){background:linear-gradient(#EE1F42,#B50E28)!important;border:0!important;border-radius:22px!important;box-shadow:0 6px 0 #8E0B21,0 10px 22px rgba(200,16,46,.35)!important;color:#fff!important;font-weight:900!important;min-height:62px}
html body:not(.wide) .sh.pvx .sp-one .sp-prac:not(#z):not(#y):active{transform:translateY(4px);box-shadow:0 2px 0 #8E0B21!important}
html body:not(.wide) .sh.pvx .sp-one .sp-prac span{display:none}
/* v519 (Khalid: no explanation for «شجّعه»): the sheet shows the exact message before sending */
.st1-msg{margin:2px 0 4px;padding:12px 14px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.11);text-align:right}
.st1-msg small{display:block;font-size:12.5px;font-weight:700;color:var(--muted);margin-bottom:4px}
.st1-msg p{margin:0;font-size:15.5px;font-weight:700;line-height:1.6;color:var(--ink)}
body.wide:not(.dark) .st1-msg{background:color-mix(in srgb,var(--ink) 5%,transparent);border-color:color-mix(in srgb,var(--ink) 10%,transparent)}
html body.wide.dark .modal .st1 .btn.soft,html body.wide.dark .modal .st1-stats>div{background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035))!important;border:1px solid rgba(255,255,255,.11)!important;box-shadow:none!important}
.ta .ta-about{display:block;text-align:center;margin:14px auto 4px;color:#C7C7CC;font-size:14px;font-weight:700;text-decoration:none}
/* v522 class poster */
.pst-m{text-align:center;display:flex;flex-direction:column;gap:10px}.pst-m h3{margin:0 0 2px}
.pst-img{aspect-ratio:4/5;border-radius:14px;overflow:hidden;background:#000;display:grid;place-items:center;max-height:58vh;margin:0 auto;width:100%;max-width:min(100%,calc(58vh*.8))}
.pst-img img{width:100%;height:100%;object-fit:contain;display:block}
/* v521 (Khalid screenshot): preview tables were white with invisible text in dark mode; glass like the rest of the sheet */
html body.wide.dark .tbl-wrap{background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035))!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:18px}
html body.wide.dark .tbl-wrap table{background:transparent!important}
html body.wide.dark .tbl-wrap th{background:rgba(255,255,255,.07)!important;color:#C7C7CC!important}
html body.wide.dark .tbl-wrap td{background:transparent!important;color:#F5F5F7!important;border-color:rgba(255,255,255,.08)!important}
html body.wide.dark .tbl-wrap tr{background:transparent!important}
/* v524 import preview: classes open to show names; tick = will be added */
.mp-list{max-height:52dvh;overflow-y:auto;display:flex;flex-direction:column;gap:8px;-webkit-overflow-scrolling:touch}
.mp-c{border-radius:16px;background:linear-gradient(180deg,color-mix(in srgb,var(--ink) 8.5%,transparent),color-mix(in srgb,var(--ink) 3.5%,transparent));border:1px solid color-mix(in srgb,var(--ink) 12%,transparent)}
.mp-c.open{border-color:rgba(226,18,47,.42)}
.mp-h{display:flex;align-items:center;gap:10px;padding:8px 10px 8px 12px}
.mp-ck{width:28px;height:28px;flex:none;border-radius:9px;border:1.5px solid color-mix(in srgb,var(--ink) 30%,transparent);background:transparent;color:#fff;font:900 16px/1 system-ui;display:grid;place-items:center;cursor:pointer;padding:0}
.mp-ck.on{background:#1FA971;border-color:#1FA971}
.mp-t{flex:1;min-width:0;display:flex;align-items:center;gap:8px;min-height:44px;border:0;background:none;color:var(--ink);font:inherit;text-align:right;cursor:pointer;padding:0}
.mp-t b{flex:1;font-size:16px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-t small{font-size:13px;font-weight:700;color:var(--muted)}
.mp-t i{font-style:normal;font-size:20px;color:var(--muted);transform:rotate(-90deg);transition:transform .2s}
.mp-c.open .mp-t i{transform:rotate(90deg)}
.mp-c.off .mp-t b{opacity:.45;text-decoration:line-through}
.mp-n{border-top:1px solid color-mix(in srgb,var(--ink) 9%,transparent);padding:4px 10px 8px 12px;display:flex;flex-direction:column}
.mp-r{display:flex;align-items:center;gap:10px;min-height:44px;border:0;background:none;color:var(--ink);font:inherit;font-size:15px;font-weight:700;text-align:right;cursor:pointer;padding:0}
.mp-r+.mp-r{border-top:1px solid color-mix(in srgb,var(--ink) 6%,transparent)}
.mp-r .mp-ck{width:24px;height:24px;border-radius:8px;font-size:14px}
.mp-r.off span:last-child{opacity:.45;text-decoration:line-through}
/* v525 join same-grade classes from the challenge page; wizard hint */
.ch-join{display:flex;align-items:center;gap:12px;margin:12px 0 0;padding:12px 14px;border-radius:18px;background:linear-gradient(180deg,color-mix(in srgb,var(--ink) 9%,transparent),color-mix(in srgb,var(--ink) 4%,transparent));border:1px solid rgba(227,178,60,.55)}
.ch-join b{display:block;font-size:15px;font-weight:800;color:var(--ink);line-height:1.4}
.ch-join small{display:block;font-size:12.5px;color:var(--muted);font-weight:700}
.ch-join .stp-b{flex:none}
.nw-hint{margin:12px 0 0;text-align:center;font-size:13.5px;font-weight:700;color:var(--muted)}
.nw-hint{margin:-6px 0 6px}
html body .nw .nw-tile{position:relative}
html body .nw .nw-tile.on{border:2px solid #1FA971!important;background:rgba(31,169,113,.14)!important;box-shadow:0 0 0 1px rgba(31,169,113,.5),0 0 18px rgba(31,169,113,.25)!important}
html body .nw .nw-tile.on::after{content:'✓';position:absolute;top:10px;inset-inline-start:10px;width:26px;height:26px;border-radius:50%;background:#1FA971;color:#fff;font:900 15px/26px system-ui;text-align:center}

/* v526 teacher alerts: red number = needs a decision, orange dot = incomplete */
.t-av{position:relative}
.t-av .av-dot{position:absolute;top:-2px;left:-2px;width:13px;height:13px;border-radius:50%;background:#FF9500;border:2px solid var(--bg,#000);pointer-events:none}
.t-av .av-dot[hidden]{display:none}
.t-nav .nb.nb-o{min-width:11px;width:11px;height:11px;padding:0;font-size:0;background:#FF9500;top:2px;left:calc(50% - 18px)}
.pm-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#FF9500;margin-inline-start:6px;vertical-align:middle}
.tm-miss{text-decoration:none;color:#FF9500;font-weight:800}
.hc-noq{color:#FF9500!important;font-weight:800}

/* v528 share codes before a challenge: orange warning, sharing stays below */
.snd-warn{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;background:rgba(255,149,0,.12);border:1.5px solid rgba(255,149,0,.5);margin-bottom:10px}
.snd-warn>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.snd-warn b{font-size:15.5px;font-weight:900;color:#FF9500}.snd-warn small{font-size:13px;font-weight:700;color:#fff;opacity:.85}
.snd-warn .btn{flex:none;width:auto;margin:0;white-space:nowrap}
.s-wait{text-align:center;margin:6px 0 12px}
.snd-btns .btn{white-space:nowrap;font-size:15px;padding-inline:8px;gap:6px;flex:1 1 0;min-width:0}
.snd-btns .btn svg{width:18px;height:18px;flex:none}

/* v530 swipe back: the header is see-through glass, so while pages slide it needs a solid base or the page under it shows through and the title looks doubled */
html body.wide.dark #app.pg-anim>.t-top,html body.wide.dark .pg-in .pg-tt{background:radial-gradient(120% 140% at 100% 0,rgba(200,16,46,.38),transparent 60%),#000!important}

/* v531 live teams step: clear glass card, fewer rows */
html body.wide.dark .nw .bd-set{padding:16px;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.12);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:none}
html body.wide.dark .nw .bd-chip{background:rgba(255,255,255,.06);border:1.5px solid rgba(255,255,255,.1);min-height:56px}
html body.wide.dark .nw .bd-chip.on{border-color:#C8102E;background:rgba(200,16,46,.22);box-shadow:0 0 14px rgba(200,16,46,.35)}
.bd-lb{color:#fff;font-size:15px;font-weight:800}
.bd-more{display:block;width:100%;margin-top:14px;padding:10px;background:none;border:0;color:#C7C7CC;font:700 15px Cairo,system-ui,sans-serif;cursor:pointer}
.bd-sum{text-align:center}
/* v533 admin view: the support bar already covers the notch, so the page header must not add the safe-area gap again */
html.admmode body.wide .t-top{padding-top:10px!important}

/* v535 three ranking tabs when the challenge spans several classes */
.lb-seg.s3{grid-template-columns:1fr 1fr 1fr}.lb-seg.s3 button{font-size:14.5px}
/* v536 hero animals: face crop fills the circle; picker shows the full art */
.avi.avh{overflow:hidden}.avi.avh img{left:0;top:0;bottom:auto;width:100%;height:100%;-webkit-mask:none;mask:none;object-fit:cover;border-radius:50%}
.avhf{display:block;width:100%;height:100%}.avhf img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;-webkit-user-drag:none}
.s-avg button .avhf{width:92%;height:92%}
.av2-big:has(.avhf){box-shadow:none;width:150px;height:150px;border-radius:0}
/* Gulf animals: the picture has its own glowing circle + gold ring; only the head goes above it */
.avi.avg{background:none;box-shadow:none!important}
.avi.avg img{left:0;width:100%;-webkit-mask:linear-gradient(#000,#000) top/100% 59.5% no-repeat,radial-gradient(circle closest-side,#000 98%,transparent 100%) bottom/100% 81.1% no-repeat;mask:linear-gradient(#000,#000) top/100% 59.5% no-repeat,radial-gradient(circle closest-side,#000 98%,transparent 100%) bottom/100% 81.1% no-repeat}
/* v542 student logout door top-left (fixed on tab pages; inside the header on home), delete = clear red button */
html body:not(.wide) .s-out{background:#1C1C1E!important;color:#F5F5F7!important;border:0!important;box-shadow:none!important;width:46px!important;height:46px!important;border-radius:50%;display:grid;place-items:center;padding:0}
html body:not(.wide) .s-out svg{width:22px;height:22px}
.s-me-x{display:flex;justify-content:center;margin:22px 6px 6px}
.s-me-x .btn.s-del{width:auto;min-width:200px;padding:0 28px;background:#C8102E!important;color:#fff!important}

.bio-btn{margin-bottom:6px}

.ch-mini{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 16px;border-radius:99px;border:0;background:#C8102E;color:#fff;font:inherit;font-weight:800;font-size:15px;box-shadow:0 3px 0 #8E0B21;cursor:pointer}
.ch-mini.soft{background:#2C2C2E;box-shadow:none;font-weight:700}

/* v553 wide screens (tablet, iPhone Duo): arena card row runs edge to edge instead of being cut at the 480px column; glow no longer clipped */
.ar-deck{margin-top:-22px;margin-bottom:-22px;padding-top:36px;padding-bottom:44px}
@media (min-width:560px){.ar-deck{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:calc(50vw - 126px);padding-right:calc(50vw - 126px)}.sh:has(.ar-deck){overflow-x:visible}body:has(.ar-deck){overflow-x:clip}}
/* v556 (Khalid): fixed transparent student top bar, door always top-left, content scrolls under it */
#app > .s-top{position:fixed;top:0;left:0;right:0;z-index:30;height:calc(env(safe-area-inset-top) + 70px);padding:calc(env(safe-area-inset-top) + 12px) max(16px,calc(50vw - 224px)) 0;display:flex;direction:ltr;justify-content:flex-start;gap:10px;background:transparent;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent);box-sizing:border-box}
html body:not(.wide) .s-top .av-btn{background:#1C1C1E!important;color:#F5F5F7!important;border:0!important;box-shadow:none!important;width:46px!important;height:46px!important;border-radius:50%;display:grid;place-items:center;padding:0;position:relative}
html body:not(.wide) .s-top .av-btn svg{width:22px;height:22px}
#app:has(> .s-top) > .sh{padding-top:calc(env(safe-area-inset-top) + 78px)!important}
/* v557 (Khalid): 1s animated intro (index.html #intro): logo pops, hand spins one lap, shine, name */
#intro{position:fixed;inset:0;z-index:9999;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;transition:opacity .6s ease;direction:rtl}
#intro.out{opacity:0}
#intro .in-lg{position:relative;background:#000;isolation:isolate;width:min(118vw,620px);margin-top:-8vh;animation:inPop .5s cubic-bezier(.2,1.4,.4,1) both}
#intro .in-lg img{width:100%;display:block;-webkit-mask-image:radial-gradient(farthest-side,#000 78%,transparent);mask-image:radial-gradient(farthest-side,#000 78%,transparent)}
#intro .in-hd{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
#intro .in-h{transform-box:view-box;transform-origin:476px 340px;transform:rotate(50deg);animation:inSpin .9s cubic-bezier(.15,.7,.25,1) .1s both}
#intro .in-sh{position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.9) 50%,transparent 65%) no-repeat;background-size:250% 100%;background-position:150% 0;mix-blend-mode:overlay;opacity:0;animation:inShine .45s ease-out .55s both}
#intro .in-nm{font-family:Cairo,system-ui,sans-serif;font-weight:800;font-size:30px;color:#fff;margin-top:max(-16vw,-90px);animation:inUp .35s ease-out .6s both}
@keyframes inPop{0%{transform:scale(.3) rotate(-8deg);opacity:0}60%{opacity:1}100%{transform:none;opacity:1}}
@keyframes inSpin{from{transform:rotate(-310deg)}to{transform:rotate(50deg)}}
@keyframes inShine{0%{opacity:1;background-position:150% 0}100%{opacity:1;background-position:-50% 0}}
@keyframes inUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#intro .in-lg,#intro .in-h,#intro .in-sh,#intro .in-nm{animation:none}}
/* v562 (Khalid): «مواد أخرى» opens in place (slides down), not as a bottom sheet */
.q5-od>summary{list-style:none;cursor:pointer}.q5-od>summary::-webkit-details-marker{display:none}
.q5-od>summary .q4-chev{display:inline-block;transform:rotate(0);transition:transform .25s}
.q5-od[open]>summary .q4-chev{transform:rotate(-90deg)}
.q5-od[open]>.q5-sq,.q5-od[open]>.q5-newl{animation:q5od .28s ease-out}
.q5-od>.q5-sq{margin-top:12px}
@keyframes q5od{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
/* v564: swipe-to-delete on the class page rows reuses .sw-row */
.cp-swr .sw-main.cp-row{border:0;border-radius:0;border-bottom:1px solid var(--line);background:#120d10;width:auto;padding:13px 14px}
.cp-swr+.cp-swr .sw-main{border-top:0}
.cp-swr{border-radius:0!important}
.cp-swr .sw-main.cp-row{min-height:72px;border-radius:0!important}
.cp-swr .sw-act{background:transparent!important}
/* v565 Apple-style inset separators: start after the number badge, end before the left edge */
.cp-swr{position:relative}
.cp-swr .sw-main.cp-row{border-bottom:0!important}
.cp-swr::after{content:"";position:absolute;z-index:2;pointer-events:none;bottom:0;right:62px;left:16px;height:1px;background:var(--line,rgba(255,255,255,.12))}
.cp-swr:last-child::after{display:none}
/* v566 (Khalid): Apple-style grade groups: title outside the card, fold arrow + student count on the left, rows in one card with inset separators */
.cg-g{background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;margin-top:18px}
.cg-g>summary{padding:0 4px 10px!important}
.cg-g>summary b{font-size:22px;font-weight:800}
.cg-g>summary .cg-m{margin-inline-start:auto;flex:none;display:flex;align-items:center;gap:6px;color:var(--muted);font-size:15px;font-weight:600;flex-direction:row-reverse}
.cg-g>summary .cg-m em{font-style:normal}
.cg-g>summary .cg-m svg{width:17px;height:17px}
.cg-g>summary .cg-ch{background:none;width:20px;height:20px;transform:rotate(-90deg)}
.cg-g:not([open])>summary .cg-ch{transform:rotate(0)}
.cg-g>summary>span:not(.cg-m){display:none}
.cg-g .cg-l,.cg-l:not(.cg-g .cg-l){background:linear-gradient(180deg,rgba(200,16,46,.10),rgba(200,16,46,.04)),#0e0809!important;border:1px solid var(--tbrd,rgba(200,16,46,.24))!important;border-radius:20px;overflow:hidden;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.cg-r{position:relative;min-height:68px!important;gap:12px!important;padding:12px 14px!important}
.cg-r+.cg-r{border-top:0!important}
.cg-r::after{content:"";position:absolute;bottom:0;right:68px;left:16px;height:1px;background:rgba(200,16,46,.28)}
.cg-r:last-child::after{display:none}
.cg-bd{flex:none;width:42px;height:42px;border-radius:50%;background:rgba(200,16,46,.22);color:#ff5a6e;display:grid;place-items:center;font-weight:800;font-size:17px}
.cg-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-align:start}
.cg-t b{flex:none;font-size:17px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cg-t small{min-width:0!important;text-align:start!important;font-size:13px;font-weight:500;color:var(--muted)}
/* v568: class-page student rows: same wine colour as the card (were grey) and bold names */
.cp-swr .sw-main.cp-row,html body.wide.dark .cp-swr .sw-main.cp-row,html body.wide .cp-swr .sw-main.cp-row{background:#120a0d!important}
.cp-swr .sw-main.cp-row b,html body.wide .cp-swr .sw-main.cp-row b{font-size:16.5px!important;font-weight:800!important}
.cp-swr::after{background:rgba(200,16,46,.28)!important}
.cp-swr,html body.wide .cp-swr,html body.wide.dark .cp-swr{border-bottom:0!important}
html body.wide .cp-swr+.cp-swr .sw-main,html body.wide.dark .cp-swr+.cp-swr .sw-main{border-top:0!important}
/* v568: delete icon centred with air above and below */
html body .cp-swr .sw-main.cp-row{min-height:86px!important}
html body .cp-swr .sw-act{align-items:center!important;padding:0 10px!important}
html body .cp-swr .sw-r{height:auto!important;align-self:center}
html body .cp-swr .sw-act button{padding:0 4px!important;gap:4px!important}
html body .cp-swr .sw-act button i{width:42px!important;height:42px!important}
html body .cp-swr .sw-act,html body.wide.dark .cp-swr .sw-act{background:#120a0d!important}
/* v569 (Khalid): student name bigger and bolder */
html body .cp-swr .sw-main.cp-row b,html body.wide .cp-swr .sw-main.cp-row b{font-size:19.5px!important;font-weight:900!important;color:#fff!important}
/* v570 (Khalid «خففها» + «لجميع الشاشات»): red card edge lighter everywhere on teacher screens via --tbrd/--tglow */
html body.wide.dark .stp{border-color:var(--tbrd)!important}
/* v571 (Khalid «وحّد»): one wine card colour on all teacher screens (was grey #1C1C1E / #2C2C2E) */
html body.wide.dark{--card:#130b0e;--soft:#24141a}
html body.wide.dark .sj-hero,html body.wide.dark .sj-ls,html body.wide.dark .sj-tabs,html body.wide.dark .sj-sec{border:1px solid var(--tbrd)}
html body.wide.dark .rs-sum,html body.wide.dark .sw-list,html body.wide.dark .pick,html body.wide.dark .stat,html body.wide.dark .cls-head,html body.wide.dark .qb,html body.wide.dark .q-search,html body.wide.dark .q-selbar,html body.wide.dark .qf-tile,html body.wide.dark .qs-stage,html body.wide.dark .tb-row,html body.wide.dark .nc2-c,html body.wide.dark .nc2-name,html body.wide.dark .cf-th,html body.wide.dark .cf-chip{background:#130b0e!important}
html body.wide.dark .card:not(#z),html body.wide.dark .stat:not(#z),html body.wide.dark .kpi:not(#z),html body.wide.dark .cls:not(#z),html body.wide.dark .class-card:not(#z){background:#130b0e!important;border:1px solid var(--tbrd)!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.wide.dark .sj-tabs button.on{background:#2a151c!important}
/* v572 (Khalid): teacher bottom bar = frosted wine glass */
html body.wide.dark .t-nav{background:rgba(40,12,20,.62)!important;border:1px solid rgba(200,16,46,.30)!important;box-shadow:0 10px 30px rgba(0,0,0,.5)!important}
/* v573 type scale + spacing on teacher screens: page title 32 (unchanged), section titles 22, names 19, small 13; 16px between cards, 22px before sections */
html body.wide.dark .q5-lbl{font-size:22px;font-weight:800;color:var(--ink);margin:22px 4px 10px}
html body.wide.dark .cp-gh b,html body.wide.dark .cg-g>summary b{font-size:22px;font-weight:800}
html body.wide.dark .cp1>*+*,html body.wide.dark .cp1 .cp-list{margin-top:16px}
html body.wide.dark .card+.card{margin-top:16px}
/* v574 (Khalid): student cards = same wine card as teacher (were grey glass) */
html body:not(.wide) .sh.pvx:not(.ar-find):not(.ar-res):not(#z) :is(.card,.comp,.rows.card,.bdg,.bg2,.bg2.on,.bg2-next,.goal,.wk-star,.sp-done,.rv2-w,.rv2-all,.rv2-ok,.rv2-dr,.ms-r,.code-pill){background:linear-gradient(180deg,rgba(200,16,46,.10),rgba(200,16,46,.04)),#0e0809!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid rgba(200,16,46,.24)!important;box-shadow:none!important}
html body:not(.wide) .sh.pvx .sp-prize{background:linear-gradient(180deg,rgba(200,16,46,.10),rgba(200,16,46,.04)),#0e0809!important;box-shadow:none!important}
html body:not(.wide) .s-nav{background:rgba(40,12,20,.62)!important;border:1px solid rgba(200,16,46,.30)!important}
html body:not(.wide) .sh.pvx .lbx-r:not(.me),html body:not(.wide) .sh.pvx .s-me-l,html body:not(.wide) .sh.pvx .s-prof-pg .sp-rows{background:linear-gradient(180deg,rgba(200,16,46,.10),rgba(200,16,46,.04)),#0e0809!important;border:1px solid rgba(200,16,46,.24)!important}
/* v575 (Khalid): student number badge smaller, no glowing edge */
html body.wide.dark .cp-row .cp-rk:not(#z),html body .cp-swr .cp-rk{width:38px!important;height:38px!important;min-width:38px!important;font-size:16px!important;font-weight:800!important;background:rgba(200,16,46,.22)!important;color:#ff5a6e!important;border:0!important;box-shadow:none!important}
/* v576 (Khalid): the number itself bigger */
html body.wide.dark .cp-row .cp-rk:not(#z),html body .cp-swr .cp-rk{width:44px!important;height:44px!important;min-width:44px!important;font-size:22px!important;font-weight:900!important;color:#fff!important}
/* v577 undo toast */
.utoast{white-space:nowrap;position:fixed;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom,0px) + 104px);z-index:80;display:flex;align-items:center;gap:14px;max-width:calc(100% - 32px);padding:10px 12px 10px 18px;border-radius:99px;background:rgba(40,12,20,.92);border:1px solid rgba(200,16,46,.35);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);color:#fff;font-weight:700;font-size:15px;box-shadow:0 8px 24px rgba(0,0,0,.5);animation:utin .22s ease-out}
.utoast button{border:0;border-radius:99px;background:#C8102E;color:#fff;font:inherit;font-weight:800;padding:8px 16px;cursor:pointer}
.utoast.out{opacity:0;transform:translateX(-50%) translateY(8px);transition:.22s}
@keyframes utin{from{opacity:0;transform:translateX(-50%) translateY(10px)}to{opacity:1;transform:translateX(-50%)}}
.cp-q{margin-top:16px}.cp-qi{width:100%;min-height:46px;border-radius:16px;border:1px solid var(--tbrd,rgba(200,16,46,.24));background:#130b0e;color:#fff;font:inherit;font-size:16px;padding:0 16px;outline:0;-webkit-appearance:none}
.cp-qi::placeholder{color:#98989F}
/* v577 soft motion + friendlier empty states */
html body.wide.dark .cg-g[open]>.cg-l{animation:q5od .25s ease-out}
html body.wide.dark :is(.cg-r,.cp-row,.sj-lt,.q5-sb):active{transform:scale(.985);transition:transform .1s}
html body.wide.dark .cl-empty::before{content:"📭";display:block;font-size:44px;margin-bottom:6px}
@media (prefers-reduced-motion:reduce){.cg-g[open]>.cg-l,.utoast{animation:none!important}}
/* v580 idle-students alert */
.ch-idle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:12px;min-height:50px;padding:0 16px;border-radius:16px;border:1px solid rgba(245,183,43,.35);background:rgba(245,183,43,.10);color:#F5F5F7;font:inherit;font-weight:800;font-size:15px;cursor:pointer}
.ch-idle b{background:#C8102E;color:#fff;border-radius:99px;padding:6px 14px;font-size:14px}
/* v581 multi-select on the class page */
.cp-swr.cps-on .sw-main{background:linear-gradient(90deg,rgba(200,16,46,.35),rgba(200,16,46,.15)),#120a0d!important}
.cp-swr.cps-on .cp-rk{background:#C8102E!important;color:#fff!important}
.cp1.picking .cp-swr{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#cp-selbar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom,0px) + 100px);z-index:70;display:flex;align-items:center;gap:8px;max-width:calc(100% - 24px);padding:8px 10px;border-radius:99px;background:rgba(40,12,20,.94);border:1px solid rgba(200,16,46,.35);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.5);white-space:nowrap}
#cp-selbar b{font-size:15px;font-weight:800;padding:0 6px}
#cp-selbar button{border:0;border-radius:99px;background:#2a1a20;color:#fff;font:inherit;font-weight:800;font-size:14px;padding:9px 14px;cursor:pointer}
#cp-selbar button.dng{background:#C8102E}#cp-selbar button.x{padding:9px 12px}#cp-selbar button:disabled{opacity:.4}
.cp-swr{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
/* v583: selection circles on class rows while picking */
.cp1.picking .cp-swr .sw-main{position:relative}
.cp1.picking .cp-swr .sw-main::before{content:"";position:absolute;left:18px;top:50%;width:28px;height:28px;margin-top:-14px;border-radius:50%;border:2px solid rgba(255,255,255,.35);box-sizing:border-box;z-index:2}
.cp-swr.cps-on .sw-main::before{background:#C8102E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;border-color:#C8102E}
/* v587: empty states with one big add row + action-sheet for adding students */
.emp{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:calc(100dvh - 300px);padding:0 4px 40px}
.emp-r{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;background:rgba(200,16,46,.16);color:#ff5a73;margin-bottom:6px}
.emp-r svg{width:38px;height:38px}
.emp b{font-size:20px;font-weight:800}
.emp small{opacity:.7;font-size:14px;max-width:270px;line-height:1.6}
.emp-add{width:100%;margin-top:14px;display:flex;align-items:center;justify-content:center;gap:10px;background:#130b0e;border:1px solid rgba(200,16,46,.28);color:#ff7a8f;border-radius:18px;padding:17px;font:inherit;font-weight:800;font-size:17px;cursor:pointer}
.emp-add svg{width:22px;height:22px}
body.wide:not(.dark) .emp-add{background:#fff;color:#C8102E}
.modal-back.asx{background:rgba(0,0,0,.55)}
.modal-back.asx .modal,body.wide .modal-back.asx .modal{background:transparent;border:0;box-shadow:none;padding:0 10px max(10px,env(safe-area-inset-bottom,0px));max-width:520px;overflow:visible;border-radius:0}
body.wide .modal-back.asx .modal::before{display:none}
.aw-as{gap:10px}
.aw-as .aw-made{text-align:center;color:#8be0a4;font-weight:700}
.aw-as .grp{background:#1a1013;border:1px solid rgba(200,16,46,.28);border-radius:20px;overflow:hidden}
.aw-as .grp p{margin:0;padding:14px;text-align:center;color:#b7a9ad;font-size:14px;border-bottom:1px solid rgba(200,16,46,.28)}
.aw-as .aopt{display:flex;align-items:center;gap:12px;width:100%;padding:16px 18px;background:none;border:0;border-bottom:1px solid rgba(200,16,46,.28);color:#ff7a8f;font:inherit;font-weight:800;font-size:16px;cursor:pointer;text-align:start}
.aw-as .aopt:last-child{border-bottom:0}
.aw-as .aopt svg{width:22px;height:22px;flex:none}
.aw-as .aopt small{display:block;color:#b7a9ad;font-weight:500;font-size:12px}
.aw-as .cancel{background:#1a1013;border:1px solid rgba(200,16,46,.28);border-radius:20px;padding:16px;color:#fff;font:inherit;font-weight:800;font-size:16px;cursor:pointer}
a.emp-add{text-decoration:none}
/* v590: sheet rows match the reference: centred label, icon at the edge, no sub-lines */
.aw-as .aopt{position:relative;justify-content:center;text-align:center;min-height:68px;padding:0 54px}
.aw-as .aopt svg{position:absolute;inset-inline-end:20px;top:50%;margin-top:-11px}
.aw-as .grp p{padding:18px 14px}
/* v591: the three empty screens sit at exactly the same place */
.emp{position:relative;margin-top:max(40px,calc(50dvh - 304px));min-height:0;padding:0;justify-content:flex-start}
.emp small{min-height:3.2em;display:block}
.emp b{min-height:1.5em}
/* v594: class rows swipe left to delete (with confirm) */
.cg-sw{position:relative;border-radius:0!important}
html body .cg-sw .sw-act{align-items:center!important;padding:0 10px!important;background:#120a0d!important}
html body .cg-sw .sw-r{height:auto!important;align-self:center}
html body .cg-sw .sw-act button{padding:0 4px!important;gap:4px!important}
html body .cg-sw .sw-act button i{width:42px!important;height:42px!important}
html body .cg-sw .sw-main.cg-r{background:linear-gradient(180deg,rgba(200,16,46,.10),rgba(200,16,46,.04)),#0e0809!important;border:0!important;border-radius:0!important;width:100%}
.cg-sw .cg-r::after{display:block}
.cg-sw:last-child .cg-r::after{display:none}
/* v595: home "previous challenges" pill beside the bell */
.h-hist{display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 14px;border-radius:22px;background:#1d1417;color:#ff7a8f;font-weight:800;font-size:14px;text-decoration:none;white-space:nowrap}
.h-hist svg{width:18px;height:18px}
/* v600: class-row delete = smaller app-red circle, centred with its label */
html body .cg-sw .sw-act{padding:0 14px!important}
html body .cg-sw .sw-act button{justify-content:center;gap:3px!important;font-size:11.5px}
html body .cg-sw .sw-act button i{width:34px!important;height:34px!important;background:#C8102E!important;box-shadow:none}
html body .cg-sw .sw-act button i .ico{width:17px;height:17px}
#nb-slot:empty{display:none}
/* v602: every button in the top bar = 44px, same wine fill, white icon */
html body .t-top .t-bell,html body .t-top .icon-btn,html body.wide .t-top .icon-btn,html body.wide.dark .t-top .icon-btn{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;background:#24141a;color:#fff;box-shadow:none}
html body .t-top .t-bell .ico,html body .t-top .icon-btn .ico{width:22px;height:22px}
html body .t-top .t-av .avatar,html body .t-top .t-av .t-av-img{width:44px;height:44px}
html body .t-top .h-hist{background:#24141a;color:#fff}
html body .t-top .h-hist svg{color:#ff7a8f}
/* v603: new-challenge steps and inputs in the wine palette */
html body.wide.dark .nw-dots::before{background:rgba(200,16,46,.28)}
html body.wide.dark .nw-dots i{background:#24141a!important;border-color:rgba(200,16,46,.35)}
html body.wide.dark .nw-dots i::before{color:#fff}
html body.wide.dark .nw-dots i::after{color:#b7a9ad}
html body.wide.dark .nw-in{background:#130b0e;border:1px solid rgba(200,16,46,.28)}
/* v604: wizard steps: active = red with a soft glow, inactive = dim grey */
html body.wide.dark .nw-dots i.on{box-shadow:0 0 7px rgba(200,16,46,.38)!important;border-color:#C8102E}
html body.wide.dark .nw-dots i:not(.on){background:#1a1517!important;border-color:rgba(255,255,255,.16)}
html body.wide.dark .nw-dots i:not(.on)::before{color:#8e8e93}
html body.wide.dark .nw-dots i:not(.on)::after{color:#7c7c82}
html body.wide.dark .nw-dots::before{background:rgba(255,255,255,.14)}
/* v605: finished wizard step = green */
html body.wide.dark .nw-dots i.done{background:#1d3a2a!important;border-color:#2f9e63!important}
html body.wide.dark .nw-dots i.done::before{color:#5fe39a}
/* v606: questions page add button + one-line status */
.q3-add{margin-top:0}
.q3-cap{text-align:center;font-size:13px;font-weight:700;color:#C7C7CC;margin:8px 0 2px}
.q3-cap.low{color:#E0A526}
/* v607: 3D subject icons (png) */
.si{display:inline-block;width:1em;height:1em;background:var(--m) center/contain no-repeat;vertical-align:-.12em}
.si.s1{--m:url(img/ic/1.png)}.si.s2{--m:url(img/ic/2.png)}.si.s3{--m:url(img/ic/3.png)}.si.s4{--m:url(img/ic/4.png)}.si.s5{--m:url(img/ic/5.png)}.si.s6{--m:url(img/ic/6.png)}.si.s7{--m:url(img/ic/7.png)}.si.s8{--m:url(img/ic/8.png)}.si.s9{--m:url(img/ic/9.png)}.si.s10{--m:url(img/ic/10.png)}.si.s11{--m:url(img/ic/11.png)}.si.s12{--m:url(img/ic/12.png)}.si.s13{--m:url(img/ic/13.png)}.si.s14{--m:url(img/ic/14.png)}.si.s15{--m:url(img/ic/15.png)}.si.s16{--m:url(img/ic/16.png)}.si.s17{--m:url(img/ic/17.png)}.si.s18{--m:url(img/ic/18.png)}.si.s19{--m:url(img/ic/19.png)}.si.s20{--m:url(img/ic/20.png)}.si.s21{--m:url(img/ic/21.png)}.si.s22{--m:url(img/ic/22.png)}.si.s23{--m:url(img/ic/23.png)}.si.s24{--m:url(img/ic/24.png)}.si.s25{--m:url(img/ic/25.png)}
.q5-sb .e{font-size:56px}.q5-g3 .q5-sb .e{font-size:44px}.q4-st .e,.q4-mt .e{font-size:32px}
/* v607: 3D tab icons */
html body .t-nav .nav-3d,html body .s-nav .nav-3d{width:30px;height:30px;opacity:.55;filter:saturate(.45);transition:transform .25s cubic-bezier(.3,1.4,.5,1),opacity .2s,filter .2s}
html body .t-nav a.on .nav-3d,html body .s-nav button.on .nav-3d{opacity:1;filter:none}
html body .t-nav a.hover .nav-3d,html body .s-nav button.hover .nav-3d{transform:scale(1.18);opacity:1;filter:none}
/* v607: student cards wine borders, subject cards with icon, play button ring */
html body:not(.wide) .sh.pvx:not(.ar-find):not(.ar-res) :is(.card,.comp,.rows.card,.bdg,.bg2,.bg2.on,.bg2-next,.goal,.wk-star,.sp-done,.sp-prize,.rv2-w,.rv2-all,.rv2-ok,.rv2-dr,.ms-r,.code-pill,.av-btn){border-color:rgba(200,16,46,.28)!important}
html body:not(.wide) .sh.pvx .ms-r .ms-ic{width:44px;height:44px;font-size:44px;flex:none;display:grid;place-items:center}
html body:not(.wide) .sh.pvx .ms-r .ms-ic .si{width:40px;height:40px}
html body:not(.wide) .sh.pvx .ms-play{background:#C8102E;color:#fff;border:0;border-radius:14px;padding:9px 18px;font-weight:900;box-shadow:0 4px 0 #8E0B21}
html body:not(.wide) .sh.pvx .sp-prac .si{width:26px;height:26px;vertical-align:-6px}
html body:not(.wide) .sh.pvx .sp-pill .si{width:20px;height:20px;vertical-align:-4px}
html body:not(.wide) .sh.pvx .sp-play{box-shadow:0 10px 0 #7A0A1C,0 0 0 14px rgba(200,16,46,.14),0 0 60px rgba(200,16,46,.4)!important}
/* v607: icons 26-39 */
.si.s26{--m:url(img/ic/26.png)}.si.s27{--m:url(img/ic/27.png)}.si.s28{--m:url(img/ic/28.png)}.si.s29{--m:url(img/ic/29.png)}.si.s30{--m:url(img/ic/30.png)}.si.s31{--m:url(img/ic/31.png)}.si.s32{--m:url(img/ic/32.png)}.si.s33{--m:url(img/ic/33.png)}.si.s34{--m:url(img/ic/34.png)}.si.s35{--m:url(img/ic/35.png)}.si.s36{--m:url(img/ic/36.png)}.si.s37{--m:url(img/ic/37.png)}.si.s38{--m:url(img/ic/38.png)}.si.s39{--m:url(img/ic/39.png)}
html body:not(.wide) .sh.pvx .sp-prac>span{margin-inline-end:10px;display:inline-block}
/* v608: icons 40-57 */
.si.s40{--m:url(img/ic/40.png)}.si.s41{--m:url(img/ic/41.png)}.si.s42{--m:url(img/ic/42.png)}.si.s43{--m:url(img/ic/43.png)}.si.s44{--m:url(img/ic/44.png)}.si.s45{--m:url(img/ic/45.png)}.si.s46{--m:url(img/ic/46.png)}.si.s47{--m:url(img/ic/47.png)}.si.s48{--m:url(img/ic/48.png)}.si.s49{--m:url(img/ic/49.png)}.si.s50{--m:url(img/ic/50.png)}.si.s51{--m:url(img/ic/51.png)}.si.s52{--m:url(img/ic/52.png)}.si.s53{--m:url(img/ic/53.png)}.si.s54{--m:url(img/ic/54.png)}.si.s55{--m:url(img/ic/55.png)}.si.s56{--m:url(img/ic/56.png)}.si.s57{--m:url(img/ic/57.png)}
.set-ic.emo .si{width:30px;height:30px}
/* v609: icons 58-63 + inline emoji swap */
.si.s58{--m:url(img/ic/58.png)}.si.s59{--m:url(img/ic/59.png)}.si.s60{--m:url(img/ic/60.png)}.si.s61{--m:url(img/ic/61.png)}.si.s62{--m:url(img/ic/62.png)}.si.s63{--m:url(img/ic/63.png)}
.si.si-in{width:1.25em;height:1.25em;vertical-align:-.28em;margin:0 .06em}
/* v610: questions page empty state sits in flow above the subjects */
.emp.q3-emp{margin-top:8px!important;margin-bottom:10px}
.q3-add{margin-bottom:0}
/* v610: action sheet on iPad/wide: no glass panel behind the two groups */
html body .modal-back.asx .modal,html body.wide .modal-back.asx .modal,html body.wide.dark .modal-back.asx .modal{background:transparent!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:0!important}
html body .modal-back.asx .modal::before,html body .modal-back.asx .modal::after{display:none!important}
/* v611: tab icons blinked while the lens moved (iOS drops filtered layers under backdrop-filter): no filter, no transition on the image, own layer */
html body .t-nav .nav-3d,html body .s-nav .nav-3d,html body .t-nav a.on .nav-3d,html body .s-nav button.on .nav-3d,html body .t-nav a.hover .nav-3d,html body .s-nav button.hover .nav-3d{filter:none!important;transition:transform .25s cubic-bezier(.3,1.4,.5,1)!important;transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform}
html body .t-nav .nav-3d,html body .s-nav .nav-3d{opacity:.6}
html body .t-nav a.on .nav-3d,html body .s-nav button.on .nav-3d,html body .t-nav a.hover .nav-3d,html body .s-nav button.hover .nav-3d{opacity:1}
html body .t-nav a.hover .nav-3d,html body .s-nav button.hover .nav-3d{transform:translateZ(0) scale(1.18)}
html body .s-nav:has(.lens.drag) button .nav-3d{filter:none!important}
html body .t-nav img.nav-3d,html body .s-nav img.nav-3d{display:block;object-fit:contain;pointer-events:none;-webkit-user-drag:none;user-select:none}
/* v612 (Khalid «مو نفس الثيم المعتمد»): student cards, top circle buttons and secondary buttons use the teacher glass recipe (.stp): frosted ink 11%→5%, red edge, soft red glow */
html body:not(.wide) .sh.pvx:not(.ar-find):not(.ar-res):not(#z):not(#y) :is(.card,.comp,.rows.card,.bdg,.bg2,.bg2.on,.bg2-next,.goal,.wk-star,.sp-done,.sp-prize,.rv2-w,.rv2-all,.rv2-ok,.rv2-dr,.ms-r,.code-pill){background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.05))!important;-webkit-backdrop-filter:blur(22px) saturate(160%)!important;backdrop-filter:blur(22px) saturate(160%)!important;border:1px solid rgba(226,18,47,.42)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 26px rgba(200,16,46,.16),0 10px 28px rgba(0,0,0,.28)!important;border-radius:24px}
html body:not(.wide) .sh.pvx .sp-done :is(.goal,.wk-star){background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:0!important;border-top:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;border-radius:0}
html body:not(.wide) .sh.pvx .goal-bar{background:rgba(255,255,255,.12)!important}
html body:not(.wide) .s-top .av-btn{background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.06))!important;-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);border:1px solid rgba(226,18,47,.42)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 18px rgba(200,16,46,.18)!important}
html body:not(.wide) .sh.pvx .btn:is(.ghost,.soft){background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.05))!important;border:1px solid rgba(226,18,47,.42)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14)!important}
/* v612: icons 64-87 */
.si.s64{--m:url(img/ic/64.png)}.si.s65{--m:url(img/ic/65.png)}.si.s66{--m:url(img/ic/66.png)}.si.s67{--m:url(img/ic/67.png)}.si.s68{--m:url(img/ic/68.png)}.si.s69{--m:url(img/ic/69.png)}.si.s70{--m:url(img/ic/70.png)}.si.s71{--m:url(img/ic/71.png)}.si.s72{--m:url(img/ic/72.png)}.si.s73{--m:url(img/ic/73.png)}.si.s74{--m:url(img/ic/74.png)}.si.s75{--m:url(img/ic/75.png)}.si.s76{--m:url(img/ic/76.png)}.si.s77{--m:url(img/ic/77.png)}.si.s78{--m:url(img/ic/78.png)}.si.s79{--m:url(img/ic/79.png)}.si.s80{--m:url(img/ic/80.png)}.si.s81{--m:url(img/ic/81.png)}.si.s82{--m:url(img/ic/82.png)}.si.s83{--m:url(img/ic/83.png)}.si.s84{--m:url(img/ic/84.png)}.si.s85{--m:url(img/ic/85.png)}.si.s86{--m:url(img/ic/86.png)}.si.s87{--m:url(img/ic/87.png)}
/* v612: student header avatar button (→ «أنا») */
html body:not(.wide) .s-top .s-meav{overflow:hidden;font-weight:900;font-size:19px;padding:0}
html body:not(.wide) .s-top .s-meav .avi,html body:not(.wide) .s-top .s-meav img{width:44px!important;height:44px!important;max-width:none;display:block;object-fit:cover;border-radius:50%}
/* v615: account switcher (teacher ⇄ admin) in the avatar menu */
.tm-sw{display:flex;flex-direction:column;padding-bottom:6px;margin-bottom:6px;border-bottom:1px solid color-mix(in srgb,var(--ink) 12%,transparent)}
.tm-sw .tm-p-r{display:flex;align-items:center}
.tm-sw .tm-p-r .grow{flex:1;text-align:start;font-size:16px;width:auto}
.tm-sw .tm-p-r.on{font-weight:900}
.tm-sw .tm-ok{font-style:normal;color:#30D158;font-weight:900;margin-inline-start:8px}
/* v616: icons 88-93 */
.si.s88{--m:url(img/ic/88.png)}.si.s89{--m:url(img/ic/89.png)}.si.s90{--m:url(img/ic/90.png)}.si.s91{--m:url(img/ic/91.png)}.si.s92{--m:url(img/ic/92.png)}.si.s93{--m:url(img/ic/93.png)}
/* v617: admin teacher sheet */
.ad-sh2{padding-bottom:calc(env(safe-area-inset-bottom) + 24px)!important}
.ad-h2{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.ad-h2 .ad-av{width:52px;height:52px;flex:none;font-size:22px}
.ad-h2 h3{margin:0;font-size:22px}.ad-h2 .sub{margin:2px 0 0;text-align:right;font-size:14px}
.ad-s1{display:inline-block;font-size:14px;font-weight:700;padding:6px 12px;border-radius:999px;background:color-mix(in srgb,var(--ink) 8%,transparent);color:var(--muted);margin-bottom:14px}
.ad-s1.g{color:#30D158;background:rgba(48,209,88,.12)}
.ad-s1.w{color:#E3B23C;background:rgba(227,178,60,.13)}
.ad-ex{text-align:center;color:var(--muted);font-size:14px;margin:10px 0 0}
.ad-sh2 .btn{margin-top:14px}
.ad-2b{display:flex;gap:10px}.ad-2b .btn{flex:1;margin-top:10px!important}
.ad-2b .ad-del2{color:#FF453A!important;border:1px solid rgba(255,69,58,.45)!important;background:transparent!important}
/* v618: toast in the app theme (was navy) */
html body #toast{background:rgba(28,20,23,.92)!important;color:#fff!important;border:1px solid rgba(226,18,47,.42);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 8px 24px rgba(0,0,0,.4)}
html body:not(.dark) .t-shell ~ #toast{background:rgba(28,20,23,.92)!important}
/* v620 (Khalid): «أنا» row arrow points left (RTL forward); logout = full-width glass row, delete = small red text under it */
html body .s-me-l .set-chev{transform:scaleX(-1)!important}
html body .s-me-l .set-chev svg{transform:none!important}
html body:not(.wide) .sh.pvx .s-me-x{flex-direction:column;align-items:stretch;gap:6px;margin:16px 0 6px}
html body:not(.wide) .sh.pvx .s-me-x .s-me-out{width:100%;margin:0;display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
html body:not(.wide) .sh.pvx .s-me-x .s-me-out svg{width:20px;height:20px}
html body:not(.wide) .sh.pvx .s-me-x .s-del{background:none!important;box-shadow:none!important;border:0!important;color:#FF453A!important;font-size:15px;font-weight:700;width:auto;align-self:center;padding:10px 16px}
/* v621: arena subject cards with 3D island art: dark glass, soft subject-colour glow behind the island, island floats */
.ar-card.ar-im{height:300px;background:radial-gradient(70% 55% at 50% 34%,color-mix(in srgb,var(--c) 30%,transparent),transparent 70%),linear-gradient(180deg,#24181c,#140d10);border:1px solid rgba(226,18,47,.42);box-shadow:0 7px 0 #0c0809,0 0 40px -10px var(--c)}
.ar-card.ar-im:active{box-shadow:0 3px 0 #0c0809,0 0 40px -10px var(--c)}
.ar-card.ar-im::before{display:none}
.ar-pic{position:absolute;top:22px;left:50%;width:190px;height:190px;margin-left:-95px;object-fit:contain;pointer-events:none;animation:arIsl 4s ease-in-out infinite;filter:drop-shadow(0 14px 18px rgba(0,0,0,.55))}
@keyframes arIsl{50%{transform:translateY(-7px)}}
.ar-card.ar-im .ar-cn{bottom:62px;inset-inline:0;text-align:center;font-size:28px}
.ar-card.ar-im .ar-pill{background:rgba(0,0,0,.45);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
@media (prefers-reduced-motion:reduce){.ar-pic{animation:none}}
/* v624: «أنا» 3 squares — icon and label centred on one line */
html body:not(.wide) .sh.pvx .s-me-o.s-me-3>button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 4px;line-height:1.2}
.s-me-o.s-me-3 button i{display:flex!important;align-items:center;justify-content:center;width:100%;height:42px;margin:0!important;font-size:38px!important;line-height:1}
.s-me-o.s-me-3 button i .si{width:42px;height:42px;vertical-align:0;margin:0}
/* v625: wide screens — centre the arena cards as a group (auto margins collapse to 0 when they overflow, so scrolling still works) */
@media (min-width:560px){.ar-deck{padding-left:16px;padding-right:16px}.ar-deck>.ar-card:first-child{margin-inline-start:auto}.ar-deck>.ar-card:last-child{margin-inline-end:auto}}
/* v625: arena orbit — islands float on a tilted ring, front one big + named */
.ar-orb{position:relative;height:320px;margin:8px -16px 0;touch-action:pan-y;user-select:none;-webkit-user-select:none;overflow:hidden}
.ar-ring{position:absolute;left:50%;top:58%;width:min(330px,76%);height:132px;transform:translate(-50%,-50%);border-radius:50%;border:1.5px dashed rgba(255,255,255,.13);box-shadow:inset 0 0 40px rgba(200,16,46,.16)}
.ar-isl{position:absolute;left:50%;top:58%;width:180px;height:180px;margin:-120px 0 0 -90px;padding:0;border:0;background:none;cursor:pointer;will-change:transform;-webkit-tap-highlight-color:transparent}
.ar-isl img{width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 16px 18px rgba(0,0,0,.6));animation:arIsl 4s ease-in-out infinite}
.ar-isl:nth-child(odd) img{animation-delay:-1.3s}.ar-isl:nth-child(3n) img{animation-delay:-2.6s}
.ar-glow{position:absolute;inset:20% 14% 8%;border-radius:50%;background:radial-gradient(closest-side,var(--c),transparent);opacity:.32;filter:blur(18px);z-index:-1;pointer-events:none}
.ar-isl.soon img{filter:grayscale(.75) drop-shadow(0 16px 18px rgba(0,0,0,.6))}
.ar-isl.soon .ar-glow{display:none}
.ar-isl em{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);font-style:normal;font-size:13px;font-weight:800;color:#F5F5F7;background:rgba(28,28,30,.85);border:1px solid rgba(255,255,255,.14);padding:2px 12px;border-radius:99px;white-space:nowrap;pointer-events:none}
.ar-isl:active img{transform:scale(.94)}
.ar-onm{display:flex;flex-direction:column;align-items:center;gap:6px;margin:-6px 0 8px;text-align:center;min-height:70px}
.ar-onm>b{font-size:30px;font-weight:800;line-height:1.15;color:#F5F5F7}
.ar-onm .ar-pill{position:static;transform:none}
@media (prefers-reduced-motion:reduce){.ar-isl img{animation:none}}
.ar-pill[hidden]{display:none!important}
.ar-isl:not(.front) em{display:none}
#app>.spin,.sh>.spin{margin:0 auto;position:relative;top:60px}
/* v630: 3D reaction icons */
.ar-bub img.ar-emi,.ar-emo button img.ar-emi{width:100%;height:100%;display:block;object-fit:contain}
.ar-emo button[data-k]{padding:5px;background:linear-gradient(180deg,rgba(245,245,247,.11),rgba(245,245,247,.05));border:1px solid rgba(226,18,47,.42)}
/* ===== v631 arena screens in the app theme (Khalid ✓ preview) ===== */
/* find */
.ar-find.ar-fd{gap:12px;padding:24px 16px}
.ar-rad2{position:relative;width:270px;height:270px;flex:none;border-radius:50%}
.ar-rad2>i{position:absolute;inset:0;border-radius:50%;border:1.5px solid rgba(255,69,58,.55);box-shadow:0 0 22px rgba(200,16,46,.35),inset 0 0 22px rgba(200,16,46,.25)}
.ar-rad2>i:nth-child(2){inset:40px;border-color:rgba(255,69,58,.32)}
.ar-rad2 .sweep{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,rgba(255,69,58,.5),rgba(255,69,58,0) 60deg,transparent);animation:sp 2.4s linear infinite;-webkit-mask:radial-gradient(circle,transparent 64px,#000 65px);mask:radial-gradient(circle,transparent 64px,#000 65px)}
.ar-rad2 .ar-me{position:absolute;left:50%;top:50%;width:124px;height:124px;margin:-62px 0 0 -62px;font-size:60px;z-index:3;box-shadow:0 0 0 4px #E3B23C,0 0 26px rgba(227,178,60,.4)}
.ar-blip{position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;overflow:hidden;border:2px solid rgba(255,255,255,.7);background:#2C2C2E;opacity:0;transform:scale(.4);animation:arBlip 3.5s ease-in-out infinite;z-index:2}
.ar-blip img,.ar-blip .avi,.ar-blip .avi img{width:100%;height:100%;object-fit:cover;display:block}
@keyframes arBlip{0%,62%,100%{opacity:0;transform:scale(.4)}12%,40%{opacity:1;transform:scale(1)}}
.ar-rad2.found .ar-blip:not(.lock){display:none}
.ar-blip.lock{left:84%;top:22%;width:84px;height:84px;margin:-42px 0 0 -42px;border:3px solid #E3B23C;box-shadow:0 0 0 6px rgba(227,178,60,.18),0 0 30px rgba(227,178,60,.6);animation:arLockIn .45s cubic-bezier(.2,1.5,.4,1) forwards;overflow:visible;background:none}
.ar-blip.lock .ar-av{width:100%;height:100%;font-size:40px}
@keyframes arLockIn{from{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}
.ar-fisl{width:104px;height:104px;margin-top:-4px;animation:arIsl 4s ease-in-out infinite;filter:drop-shadow(0 12px 14px rgba(0,0,0,.6))}
.ar-find .ar-fsub{margin:-12px 0 0;font-size:15px;font-weight:700;color:#C7C7CC}
.ar-find.ar-fd h2{font-size:28px;font-weight:800;margin:0}.ar-find.ar-fd h2 b{color:#E3B23C}
.ar-find.ar-fd #ar-fp{margin:-6px 0 0;font-size:14px;color:#98989F}
.ar-fpill{display:inline-flex;align-items:center;gap:6px;padding:5px 18px;border-radius:99px;font-size:17px;font-weight:800;font-variant-numeric:tabular-nums;background:linear-gradient(180deg,rgba(245,245,247,.11),rgba(245,245,247,.05));border:1px solid rgba(226,18,47,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 26px rgba(200,16,46,.16)}
.ar-fpill i{width:8px;height:8px;border-radius:50%;background:#C8102E;box-shadow:0 0 8px #C8102E;animation:arPls 1s ease-in-out infinite}
@keyframes arPls{50%{opacity:.3}}
.ar-fpill[hidden],.ar-fb[hidden]{display:none!important}
.ar-fb{width:min(300px,100%);height:56px;border-radius:18px;font:inherit;font-size:19px;font-weight:800;color:#F5F5F7;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;-webkit-tap-highlight-color:transparent}
.ar-fb img{width:32px;height:32px}
.ar-fnow{margin-top:4px;border:0;background:#C8102E;box-shadow:0 5px 0 #8E0B21}
.ar-fnow:active{transform:translateY(3px);box-shadow:0 2px 0 #8E0B21}
.ar-fcx{background:linear-gradient(180deg,rgba(245,245,247,.11),rgba(245,245,247,.05));border:1px solid rgba(226,18,47,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.14)}
.ar-fnow:disabled{opacity:.6}
/* face-off */
.ar-vs2{position:fixed;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:max(20px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom));color:#F5F5F7;overflow:hidden;background:radial-gradient(90% 45% at 50% 18%,rgba(200,16,46,.55),transparent 70%),radial-gradient(90% 45% at 50% 84%,rgba(227,178,60,.26),transparent 70%),repeating-conic-gradient(from 0deg at 50% 50%,rgba(255,255,255,.035) 0 6deg,transparent 6deg 12deg),#060304}
.ar-vs2 .side{display:flex;flex-direction:column;align-items:center;gap:6px;animation:arVsA .55s cubic-bezier(.2,1.3,.4,1) both}
.ar-vs2 .side.b{animation-name:arVsB}
@keyframes arVsA{from{transform:translateY(-110%);opacity:0}}@keyframes arVsB{from{transform:translateY(110%);opacity:0}}
.ar-vs2 .ar-av{width:132px;height:132px;font-size:64px;box-shadow:0 0 0 4px #E3B23C,0 0 30px rgba(227,178,60,.4)}
.ar-vs2 .side b{font-size:28px;font-weight:800;line-height:1.2}
.ar-vs2 .side small{font-size:14px;font-weight:800;color:#E3B23C;padding:3px 14px;border-radius:99px;background:linear-gradient(180deg,rgba(245,245,247,.11),rgba(245,245,247,.05));border:1px solid color-mix(in srgb,var(--tl) 35%,transparent)}
.ar-vs2 .mid{position:relative;width:100%;height:116px;display:grid;place-items:center}
.ar-vs2 .mid::before{content:"";position:absolute;left:-10%;right:-10%;top:50%;height:4px;margin-top:-2px;background:linear-gradient(90deg,transparent,#FFD66B,#E3B23C,#FFD66B,transparent);box-shadow:0 0 18px #E3B23C;transform:rotate(-14deg);animation:arVsL .4s .45s both}
@keyframes arVsL{from{transform:rotate(-14deg) scaleX(0)}}
.ar-vs2 .sw{position:relative;width:100px;height:100px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,rgba(245,245,247,.14),rgba(245,245,247,.05));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1.5px solid color-mix(in srgb,var(--tl) 35%,transparent);box-shadow:0 0 30px color-mix(in srgb,var(--tl) 25%,transparent);animation:arVsS .45s .55s cubic-bezier(.2,1.6,.4,1) both}
@keyframes arVsS{from{transform:scale(0) rotate(-40deg)}}
.ar-vs2 .sw img{width:74px;height:74px}
.ar-vs2 .sw .cd{font-size:52px;font-weight:800;line-height:1;color:#FFD66B;text-shadow:0 0 16px rgba(227,178,60,.6);animation:arni .45s cubic-bezier(.2,1.6,.4,1)}
.ar-vs2 .cap{margin:14px 0 0;display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:700;color:#C7C7CC;text-align:center}
.ar-vs2 .cap img{width:42px;height:42px}
@media (prefers-reduced-motion:reduce){.ar-vs2 .side,.ar-vs2 .sw,.ar-vs2 .mid::before,.ar-blip,.ar-rad2 .sweep,.ar-fisl{animation:none!important}.ar-blip{opacity:0}}
/* face-off bar (round, wait, result) */
.ar-tug.ar-tg2{align-items:flex-start;gap:6px}
.ar-tg2 .pl{display:flex;flex-direction:column;align-items:center;gap:4px;flex:none}
.ar-tg2 .ar-av{width:56px;height:56px;font-size:28px;box-shadow:0 0 0 3px #E3B23C,0 0 14px rgba(227,178,60,.4)}
.ar-scp{display:flex;flex-direction:column;align-items:center;min-width:66px;max-width:92px;padding:2px 8px 4px;border-radius:12px;background:linear-gradient(180deg,#7a0a1a,#3d0610);border:1.5px solid #E2122F;font-size:12px;font-weight:800;line-height:1.25;color:#F5F5F7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ar-scp b{font-size:19px;color:#E3B23C}
.ar-tgm{position:relative;flex:1;padding-top:30px}
.ar-tg2 .ar-rope{height:16px;border-radius:99px;background:linear-gradient(180deg,#E2122F,#8E0B21);border:2px solid #FFD66B;box-shadow:none}
.ar-tg2 .ar-rope .mine{background:linear-gradient(180deg,#FFE08A,#E3B23C)}
.ar-crown{position:absolute;top:0;width:32px;height:32px;transform:translateX(50%);transition:right .5s cubic-bezier(.3,1.4,.5,1)}
/* round */
html body .play.pv.pvx.ar-round{background:radial-gradient(90% 40% at 50% 30%,rgba(200,16,46,.42),transparent 70%),repeating-conic-gradient(from 0deg at 50% 30%,rgba(255,90,110,.07) 0 6deg,transparent 6deg 12deg),#12040a!important}
.ar-clk{display:flex;align-items:center;justify-content:center;gap:2px;margin:2px 0 4px}
.ar-clk .bl{width:42px;height:42px;filter:drop-shadow(0 0 8px rgba(255,214,107,.7))}.ar-clk .bl:first-child{transform:scaleX(-1)}
.ar-swc{width:96px;height:96px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;background:radial-gradient(circle at 50% 40%,#E2122F,#7a0a1a);border:6px solid #F5B72B;box-shadow:0 0 0 3px #8E5E00,0 0 26px rgba(245,183,43,.55),inset 0 2px 0 rgba(255,255,255,.3)}
.ar-swc b{font-size:36px;font-weight:800;font-variant-numeric:tabular-nums;color:#fff}.ar-swc small{font-size:13px;font-weight:800;margin-top:2px;color:#fff}
.ar-clk.hurry .ar-swc{animation:arBeat .5s ease-in-out infinite;border-color:#FF453A;box-shadow:0 0 0 3px #7a0a1a,0 0 30px rgba(255,69,58,.8)}
@keyframes arBeat{50%{transform:scale(1.08)}}
html body .play.pvx.ar-round .ar-qn{align-self:center;margin:0 auto 10px;width:max-content;padding:3px 16px;border-radius:99px;font-size:14px;font-weight:800;color:#F5F5F7;background:linear-gradient(180deg,#5a0814,#2a040a);border:1.5px solid #E2122F}
html body .play.pv.pvx.ar-round .qbox{padding:20px 16px!important;border-radius:20px!important;min-height:0!important;background:linear-gradient(180deg,#8E0B21,#4a0612)!important;border:2px solid #FF5A6E!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.18),0 6px 0 #2a040a,0 0 24px rgba(200,16,46,.35)!important}
html body .play.pv.pvx.ar-round .qbox span{color:#fff!important}
html body .play.pv.pvx.ar-round .opts{gap:12px!important}
html body .play.pv.pvx.ar-round .opts .opt{min-height:80px;border-radius:18px!important;color:#5A0A14!important;background:linear-gradient(180deg,#FFF8EC,#F4DFBC)!important;border:2px solid #E2122F!important;box-shadow:inset 0 2px 0 #fff,0 5px 0 #8E0B21!important;overflow:visible!important}
html body .play.pv.pvx.ar-round .opts .opt::before{display:none!important}
html body .play.pv.pvx.ar-round .opts .opt .txt{color:#5A0A14!important;font-weight:800}
html body .play.pv.pvx.ar-round .opts .opt:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 2px 0 #fff,0 2px 0 #8E0B21!important}
html body .play.pv.pvx.ar-round .opts .opt.good{background:linear-gradient(180deg,#5BE37D,#1E9E45)!important;border-color:#B6F5C6!important;box-shadow:0 5px 0 #11632a,0 0 26px rgba(48,209,88,.7)!important;opacity:1!important}
html body .play.pv.pvx.ar-round .opts .opt.bad{background:linear-gradient(180deg,#FF5A6E,#B3121F)!important;border-color:#FFB3BC!important;box-shadow:0 5px 0 #6e0a14,0 0 22px rgba(255,69,58,.6)!important;opacity:1!important}
html body .play.pv.pvx.ar-round .opts .opt:is(.good,.bad) .txt{color:#fff!important}
html body .play.pv.pvx.ar-round .opts .opt.dim{opacity:.55!important}
html body .play.pv.pvx.ar-round .opts .opt .opt-mk{position:absolute!important;top:-10px!important;left:-8px!important;right:auto!important;width:30px!important;height:30px!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-size:16px!important;font-weight:900!important;color:#fff!important;border:2.5px solid #fff!important;background:#1E9E45!important}
html body .play.pv.pvx.ar-round .opts .opt.bad .opt-mk{background:#D70015!important}
.ar-round .ar-emo button[data-k]{background:radial-gradient(circle at 50% 35%,#B3121F,#5a0814)!important;border:2px solid #FF5A6E!important;box-shadow:0 3px 0 #2a040a}
html body[data-theme] .play.pv.pvx.ar-round .opts.kc .opt:nth-child(n):not(.good):not(.bad):not(.picked){background:linear-gradient(180deg,#FFF8EC,#F4DFBC)!important;color:#5A0A14!important;box-shadow:inset 0 2px 0 #fff,0 5px 0 #8E0B21!important;border:2px solid #E2122F!important}
html body[data-theme] .play.pv.pvx.ar-round .opts.kc .opt:nth-child(n)::before,html body[data-theme] .play.pv.pvx.ar-round .opts .opt::before{display:none!important;background:none!important}
html body .play.pv.pvx.ar-round .qbox{flex:none!important;height:auto!important}
.ar-rad2 .ar-me{border-radius:50%!important;overflow:hidden}
.ar-rad2 .ar-me .avi,.ar-rad2 .ar-me img{border-radius:50%}
html body[data-theme] .play.pv.pvx.ar-round .pv-panel .qbox{flex:none!important;border-radius:20px!important;background:linear-gradient(180deg,#8E0B21,#4a0612)!important;border:2px solid #FF5A6E!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.18),0 6px 0 #2a040a,0 0 24px rgba(200,16,46,.35)!important;color:#fff!important}
html body[data-theme] .play.pv.pvx.ar-round .pv-panel{justify-content:flex-start!important}
html body[data-theme] .play.pv.pvx.ar-round .pv-panel .opts{margin-top:16px!important}
/* v632: closer to ChatGPT concept 2 — compact column, centred, bigger pictures with score pills tucked under them */
html body .play.pv.pvx.ar-round{justify-content:center;gap:10px;max-width:560px;margin:0 auto}
html body[data-theme] .play.pv.pvx.ar-round .pv-panel{flex:none!important}
html body[data-theme] .play.pv.pvx.ar-round .opts.kc{grid-auto-rows:minmax(72px,auto)!important;gap:10px!important}
html body .play.pv.pvx.ar-round .opts .opt{min-height:72px!important;font-size:19px}
.ar-round .ar-emo{margin-top:14px}
.ar-tg2 .ar-av{width:74px;height:74px;font-size:36px}
.ar-tg2 .ar-scp{margin-top:-14px;position:relative;z-index:3;min-width:72px}
.ar-tgm{padding-top:24px}
.ar-tg2 .ar-rope{height:14px}
.ar-round .ar-tug{padding-inline:0 40px}
.ar-clk{position:relative;margin:0}
.ar-clk::before{content:"";position:absolute;left:50%;top:50%;width:220px;height:140px;margin:-70px 0 0 -110px;background:radial-gradient(closest-side,rgba(255,69,58,.45),transparent);pointer-events:none;z-index:-1}
html body .play.pvx.ar-round .ar-qn{margin:-18px auto 4px;position:relative;z-index:2}
/* v633: round parts from the ChatGPT sheet (stopwatch, bolts, tiles, question card) */
.ar-clk .bl{content:url(img/ar/rd-bolt.webp?v=1);width:64px;height:36px;object-fit:contain;filter:none}
.ar-clk .bl:first-child{transform:scaleX(-1)}
.ar-swc,.ar-clk.hurry .ar-swc{width:100px;height:117px;border-radius:0;border:0;box-shadow:none;background:url(img/ar/rd-sw.webp?v=1) center/100% 100% no-repeat;padding-top:30px;box-sizing:border-box;filter:drop-shadow(0 0 16px rgba(245,183,43,.45))}
.ar-swc b{font-size:34px;text-shadow:0 2px 0 rgba(0,0,0,.35)}
html body .play.pv.pvx.ar-round .opts .opt,
html body[data-theme] .play.pv.pvx.ar-round .opts.kc .opt:nth-child(n):not(.good):not(.bad):not(.picked){background:url(img/ar/rd-ti.webp?v=1) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:10px 16px!important}
html body .play.pv.pvx.ar-round .opts .opt:active:not(:disabled){box-shadow:none!important}
html body[data-theme] .play.pv.pvx.ar-round .opts.kc .opt:nth-child(n).good,html body .play.pv.pvx.ar-round .opts .opt.good{background:url(img/ar/rd-tg.webp?v=1) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;filter:drop-shadow(0 0 14px rgba(48,209,88,.6))}
html body[data-theme] .play.pv.pvx.ar-round .opts.kc .opt:nth-child(n).bad,html body .play.pv.pvx.ar-round .opts .opt.bad{background:url(img/ar/rd-tr.webp?v=1) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important}
html body .play.pv.pvx.ar-round .opts .opt .opt-mk{top:-6px!important;left:-2px!important}
html body .play.pv.pvx.ar-round .qbox,html body[data-theme] .play.pv.pvx.ar-round .pv-panel .qbox{background:url(img/ar/rd-q.webp?v=1) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:24px 22px!important}
/* v634: answer feedback like concept 2 — wrong tile shakes with vibration marks, right tile pops with a green glow */
@keyframes arPop{0%{transform:scale(1)}40%{transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes arVib{0%,100%{opacity:0}15%,70%{opacity:1}}
html body[data-theme] .play.pv.pvx.ar-round .opts .opt.good:nth-child(n){animation:arPop .45s cubic-bezier(.3,1.6,.5,1)!important}
html body[data-theme] .play.pv.pvx.ar-round .opts .opt.bad:nth-child(n){animation:shake3d .45s ease-out!important}
html body .play.pv.pvx.ar-round .opts .opt.bad::after{content:"";display:block!important;position:absolute;inset:8% -10px;height:auto;border-radius:50%;background:none;border:3px solid transparent;border-left-color:rgba(255,140,140,.95);border-right-color:rgba(255,140,140,.95);animation:arVib 1s ease forwards;pointer-events:none}
@media (prefers-reduced-motion:reduce){html body[data-theme] .play.pv.pvx.ar-round .opts .opt:is(.good,.bad):nth-child(n){animation:none!important}}
/* v635: ChatGPT stopwatch with ticks, long lightning, light rays, elapsed-time shade on the face, hurry face */
.ar-clk{isolation:isolate}
.ar-clk::before{display:none}
.ar-rays{position:absolute;left:50%;top:50%;width:230px;height:214px;margin:-100px 0 0 -115px;background:url(img/ar/rd-rays.webp?v=1) center/contain no-repeat;z-index:-1;pointer-events:none;opacity:.85;animation:arRays 9s linear infinite}
@keyframes arRays{to{transform:rotate(360deg)}}
.ar-clk .bl{content:url(img/ar/rd-bl2.webp?v=1);width:92px;height:31px;margin-top:14px}
.ar-swc,.ar-clk.hurry .ar-swc{position:relative;width:100px;height:118px;padding-top:16px;background-image:url(img/ar/rd-sw2.webp?v=1);filter:drop-shadow(0 0 12px rgba(255,120,40,.45))}
.ar-clk.hurry .ar-swc{background-image:url(img/ar/rd-swh.webp?v=1)}
.ar-swc::before{content:"";position:absolute;left:12%;width:76%;top:29px;aspect-ratio:1;border-radius:50%;background:conic-gradient(transparent calc(var(--p,1)*360deg),rgba(0,0,0,.38) 0);transform:scaleX(-1);pointer-events:none}
.ar-swc b,.ar-swc small{position:relative}
@media (prefers-reduced-motion:reduce){.ar-rays{animation:none}}
.ar-clk .bl,.ar-clk .bl:first-child{transform:none}
.ar-clk .bl.r{transform:scaleX(-1)}
/* v636: ChatGPT feedback parts — check/X badges, green sparkle burst on the right tile, red shake arcs on the wrong tile, coins over your picture */
html body .play.pv.pvx.ar-round .opts .opt .opt-mk{width:34px!important;height:34px!important;top:-12px!important;left:-8px!important;border:0!important;color:transparent!important;font-size:0!important;background:url(img/ar/rd-ok.webp?v=1) center/contain no-repeat!important;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))}
html body .play.pv.pvx.ar-round .opts .opt.bad .opt-mk{background:url(img/ar/rd-no.webp?v=1) center/contain no-repeat!important}
html body .play.pv.pvx.ar-round .opts .opt.bad::after{inset:20% -16px;border:0;border-radius:0;background:url(img/ar/rd-vib.webp?v=1) center/100% 100% no-repeat}
html body .play.pv.pvx.ar-round .opts .opt.good::after{content:"";display:block!important;position:absolute;left:50%;top:50%;width:230px;height:220px;margin:-110px 0 0 -115px;border-radius:0;inset:auto;background:url(img/ar/rd-spk.webp?v=1) center/contain no-repeat;pointer-events:none;z-index:3;animation:arSpk .9s ease-out forwards}
@keyframes arSpk{0%{opacity:0;transform:scale(.4)}30%{opacity:1}100%{opacity:0;transform:scale(1.15)}}
.ar-coins{position:absolute;left:50%;top:50%;width:130px;height:122px;margin:-61px 0 0 -65px;background:url(img/ar/rd-coin.webp?v=1) center/contain no-repeat;pointer-events:none;z-index:7;animation:arSpk 1.2s ease-out forwards}
@media (prefers-reduced-motion:reduce){html body .play.pv.pvx.ar-round .opts .opt.good::after,.ar-coins{animation:none;opacity:0}}
html body .play.pv.pvx.ar-round .opts .opt .opt-mk{z-index:4!important}
/* v637: arena result hero */
.ar-rhero{position:relative;display:flex;flex-direction:column;align-items:center;margin:6px auto 2px;width:100%;max-width:340px}
.ar-conf{position:absolute;left:50%;top:-10px;width:300px;height:278px;margin-left:-150px;background:url(img/ar/rs-conf.webp?v=1) center/contain no-repeat;pointer-events:none;animation:arConf 1.4s ease-out both}
@keyframes arConf{0%{opacity:0;transform:scale(.5) rotate(-20deg)}40%{opacity:1}100%{opacity:1;transform:scale(1) rotate(0)}}
.ar-rico{position:relative;height:118px;width:auto;filter:drop-shadow(0 0 22px rgba(245,183,43,.45));animation:arRico .6s cubic-bezier(.3,1.6,.5,1) both}
.ar-rhero.lose .ar-rico{filter:drop-shadow(0 0 16px rgba(255,255,255,.18))}
@keyframes arRico{0%{opacity:0;transform:scale(.3)}100%{opacity:1;transform:scale(1)}}
.ar-rst{position:relative;width:120px;margin-top:-10px;animation:arRico .6s .35s cubic-bezier(.3,1.6,.5,1) both}
.ar-rbn{position:relative;width:260px;height:122px;margin-top:-30px;background:url(img/ar/rs-banner.webp?v=1) center/contain no-repeat;display:flex;align-items:center;justify-content:center;padding-bottom:26px;box-sizing:border-box}
.ar-rbn h1{margin:0!important;font-size:26px!important;font-weight:800;color:#fff!important;text-shadow:0 2px 0 #6e0a14}
.ar-rhero.lose .ar-rbn h1{font-size:20px!important}
.ar-rst+.ar-rbn{margin-top:-20px}
@media (prefers-reduced-motion:reduce){.ar-conf,.ar-rico,.ar-rst{animation:none}}
/* v638: class round («صفي») = arena parts + its own gold touch: gold-framed question card, gem progress, star points pill, gold coins for order numbers */
html body[data-theme] .play.pv.pvx.ar-round.cr .play-top{align-items:flex-start}
html body[data-theme] .play.pv.pvx.cr .pv-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 10px;max-width:240px}
html body[data-theme] .play.pv.pvx.cr .pv-head .pv-pill{flex-basis:100%;text-align:center;justify-self:center;margin:0 auto;width:max-content}
html body[data-theme] .play.pv.pvx.cr .dots{display:flex;gap:4px;margin:0}
html body[data-theme] .play.pv.pvx.cr .dots .dot{width:20px!important;height:20px!important;border-radius:0!important;background:url(img/ar/cr-gem0.webp?v=1) center/contain no-repeat!important;box-shadow:none!important;border:0!important;opacity:1!important;transform:none!important}
html body[data-theme] .play.pv.pvx.cr .dots .dot.done.ok{background-image:url(img/ar/cr-gem.webp?v=1)!important}
html body[data-theme] .play.pv.pvx.cr .dots .dot.done.no{background-image:url(img/ar/cr-gem0.webp?v=1)!important;opacity:.45!important}
html body[data-theme] .play.pv.pvx.cr .dots .dot.cur{filter:drop-shadow(0 0 6px rgba(245,183,43,.9))}
html body[data-theme] .play.pv.pvx.cr .pv-av{margin:0!important;width:30px!important;height:30px!important}
html body[data-theme] .play.pv.pvx.cr .pv-pts{margin:0!important;min-width:84px;height:28px;padding:0 12px 0 30px;box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;background:url(img/ar/cr-pill.webp?v=1) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;color:#FFD66B!important;font-size:15px!important;font-weight:800;direction:ltr;font-size:0}
html body[data-theme] .play.pv.pvx.cr .pv-pts{font-size:15px!important}
html body[data-theme] .play.pv.pvx.cr .cr-clk{margin:6px 0 2px}
html body .play.pv.pvx.ar-round.cr .qbox,html body[data-theme] .play.pv.pvx.ar-round.cr .pv-panel .qbox{background:url(img/ar/cr-q.webp?v=1) center/100% 100% no-repeat!important;padding:26px 26px!important}
html body[data-theme] .play.pv.pvx.ar-round.cr .opts.tf .opt .shp{position:static!important;width:auto!important;height:auto!important;background:none!important;border:0!important;font-size:22px!important;font-weight:900;margin-bottom:2px}
html body[data-theme] .play.pv.pvx.ar-round.cr .opts.ord .opt .shp{position:absolute!important;top:-10px!important;left:-6px!important;width:34px!important;height:34px!important;border:0!important;border-radius:0!important;display:grid!important;place-items:center;background:url(img/ar/cr-coin.webp?v=1) center/contain no-repeat!important;color:#7a3d00!important;font-size:17px!important;font-weight:900;box-shadow:none!important}
html body[data-theme] .play.pv.pvx.ar-round.cr .opts.ord .opt .shp:empty{display:none!important}
html body[data-theme] .play.pv.pvx.ar-round.cr .opts.kc .opt.picked:nth-child(n):not(.good):not(.bad){background:url(img/ar/rd-ti.webp?v=1) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;filter:drop-shadow(0 0 10px rgba(245,183,43,.8));color:#5A0A14!important}
html body[data-theme] .play.pv.pvx.ar-round.cr .ord-hint{color:#FFD66B!important}
/* v639: streak flame next to the stopwatch */
.cr-fire{position:absolute;left:50%;top:-4px;margin-left:30px;width:46px;height:50px;background:url(img/ar/cr-fire.webp?v=1) center/contain no-repeat;display:grid;place-items:end center;pointer-events:none;z-index:3;filter:drop-shadow(0 0 10px rgba(255,140,0,.7))}
.cr-fire b{font-size:16px;font-weight:900;color:#fff;text-shadow:0 1px 0 #8E0B21,0 0 4px #8E0B21;margin-bottom:6px}
.cr-fire.go{animation:arRico .5s cubic-bezier(.3,1.6,.5,1)}
/* v640: class result hero = ChatGPT trophy / medal + red ribbon title */
.result .medal-wrap{position:relative;display:grid;place-items:center;min-height:0}
.cr-rico{position:relative;height:120px;width:auto;filter:drop-shadow(0 0 22px rgba(245,183,43,.45));animation:arRico .6s cubic-bezier(.3,1.6,.5,1) both}
.result.is-lose .cr-rico,.result:not(.is-win) .cr-rico{filter:drop-shadow(0 0 14px rgba(255,255,255,.15))}
.cr-rbn{margin:-30px auto 6px!important}
.cr-rbn .res-h{margin:0!important;font-size:22px!important;font-weight:800;color:#fff!important;text-shadow:0 2px 0 #6e0a14;line-height:1.2}
.result.is-lose .cr-rbn .res-h{font-size:18px!important}
/* v641: class result parts — glossy stars, plaque with laurels + chest for points, shield rank, green up arrow */
html body:not(.wide) .sh.pvx .result .stars-row{background:none;border:0;padding:0;gap:4px}
html body:not(.wide) .sh.pvx .result .star-s{width:46px;height:44px;background:url(img/ar/cr-star0.webp?v=1) center/contain no-repeat;filter:none}
html body:not(.wide) .sh.pvx .result .star-s.on{background-image:url(img/ar/cr-star.webp?v=1);filter:drop-shadow(0 0 8px rgba(245,183,43,.6))}
html body:not(.wide) .sh.pvx .result .star-s .ico{display:none}
html body:not(.wide) .sh.pvx .result .rs-st2{position:relative;min-width:0;width:300px!important;height:139px;box-sizing:border-box;background:url(img/ar/cr-plaque.webp?v=1) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:22px 70px 0!important;margin:30px auto 4px!important}
html body:not(.wide) .sh.pvx .result .rs-st2::before,html body:not(.wide) .sh.pvx .result .rs-st2::after{display:none}
html body:not(.wide) .sh.pvx .result .rs-st2 .big{font-size:48px!important}
.cr-chest{position:absolute;top:-34px;left:50%;margin-left:-26px;width:52px;height:auto;filter:drop-shadow(0 0 10px rgba(245,183,43,.6))}
.cr-rk{display:inline-grid;place-items:center;width:38px;height:41px;background:url(img/ar/cr-shield.webp?v=1) center/contain no-repeat;color:#FFD66B;font-weight:900;font-size:17px;vertical-align:middle;padding-bottom:3px;box-sizing:border-box}
.cr-upi{width:18px;height:auto;vertical-align:-3px;margin-inline-end:4px}
/* fix: «.sh .card{animation:none}» stopped the rank card's reveal, so it stayed invisible */
html body .sh .result .rows.card.rs-st3{animation:rsIn .4s ease-out 2.6s forwards}
html body:not(.wide) .sh.pvx .result .rs-st3 .r{align-items:center}
/* v643: ChatGPT play button, podium, medals and gold-edged rows */
html body:not(.wide) .sh.pvx .sp-play.sp-play2{width:auto!important;height:auto!important;border-radius:0!important;background:none!important;box-shadow:none!important;display:flex!important;flex-direction:column;align-items:center;gap:2px;padding:0!important;animation:none}
.sp-play2 img{width:min(56vw,210px);height:auto;animation:spBreath 2.4s ease-in-out infinite}
.sp-play2:active img{transform:scale(.95)}
@keyframes spBreath{50%{transform:scale(1.04)}}
html body:not(.wide) .sh.pvx .sp-play2>span{font-size:34px;font-weight:900;color:#fff;line-height:1.1;display:flex;flex-direction:column;align-items:center}
html body:not(.wide) .sh.pvx .sp-play2>span small{font-size:14px;font-weight:700;color:#C7C7CC;margin-top:2px}
@media (prefers-reduced-motion:reduce){.sp-play2 img{animation:none}}
.lbx-pod{position:relative;padding-bottom:86px!important;background:url(img/ar/lb-pod.webp?v=1) center bottom/min(100%,330px) auto no-repeat}
.lbx-pd .lbx-step{display:none!important}
.lbx-pd.p1{transform:translateY(-46px)}.lbx-pd.p2{transform:translateY(-18px)}.lbx-pd.p3{transform:translateY(-6px)}
.lbx-crown{display:none}
html body .lbx-md{width:34px!important;height:34px!important;bottom:-14px!important;border-radius:0!important;box-shadow:none!important;background:url(img/ar/lb-m1.webp?v=1) center/contain no-repeat!important;color:#7a3d00!important;font-weight:900;font-size:14px!important;padding-top:4px;box-sizing:border-box}
html body .lbx-pd.p2 .lbx-md{background-image:url(img/ar/lb-m2.webp?v=1)!important;color:#444!important;padding-top:0}
html body .lbx-pd.p3 .lbx-md{background-image:url(img/ar/lb-m3.webp?v=1)!important;color:#5a2a10!important;padding-top:0}
html body .lbx-pd.p1 .lbx-md{width:40px!important;height:45px!important;bottom:-18px!important;padding-top:10px}
html body .lbx .lbx-r{background:url(img/ar/lb-row.webp?v=1) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:12px 18px!important;min-height:52px}
html body .lbx .lbx-r.me{filter:drop-shadow(0 0 10px rgba(245,183,43,.7))}
html body:not(.wide) .sh.pvx .sp-play.sp-play2::before,html body:not(.wide) .sh.pvx .sp-play.sp-play2::after{display:none!important}
.lbx-pod{padding-bottom:122px!important;align-items:end}
.lbx-pd.p1{transform:translateY(-34px)}.lbx-pd.p2,.lbx-pd.p3{transform:none}
html body .lbx-pd b{margin-top:14px}
html body .lbx-pd.p1 b{margin-top:18px}
/* v645: gold card look for «ملفي», level sheet, «تقريري» and teacher messages */
body:not(.wide){--gc-bg:linear-gradient(180deg,#3B0A14,#1E0509);--gc-bd:rgba(232,177,58,.7);--gc-sh:inset 0 1px 0 rgba(255,255,255,.12),0 6px 18px rgba(0,0,0,.45)}
html body:not(.wide) .s-prof-pg .sp-rows{background:var(--gc-bg)!important;border:1.5px solid var(--gc-bd)!important;box-shadow:var(--gc-sh)!important;border-radius:18px!important}
html body:not(.wide) .s-prof-pg .sp-rows .r{border-color:rgba(232,177,58,.18)!important}
html body:not(.wide) .s-prof-pg .sp-rows .r span{color:#C7A770!important}
html body:not(.wide) .s-prof-pg .sp-rows .r b{color:#fff}
.s-lvlm .lvl-sh{width:84px;height:91px;margin:0 auto 6px;display:grid;place-items:center;background:url(img/ar/cr-shield.webp?v=1) center/contain no-repeat;font-size:0;animation:arRico .5s cubic-bezier(.3,1.6,.5,1) both}
.s-lvlm .lvl-sh b{font-size:34px;font-weight:900;color:#FFD66B;text-shadow:0 2px 0 #5a0a14;padding-bottom:6px}
html body .s-lvlm .lvl-bar{background:#2a0a10!important;border:1.5px solid var(--gc-bd,#C9971F);height:14px;border-radius:99px;overflow:hidden}
html body .s-lvlm .lvl-bar i{background:linear-gradient(180deg,#FFE07A,#F5B72B 60%,#C98A0B)!important;box-shadow:0 0 10px rgba(245,183,43,.6)}
html body:not(.wide) .rp2-hero{background:var(--gc-bg)!important;border:1.5px solid var(--gc-bd)!important;box-shadow:var(--gc-sh)!important}
html body:not(.wide) .rp2-nums>div{background:rgba(0,0,0,.28)!important;border:1px solid rgba(232,177,58,.35)!important}
html body:not(.wide) .rp2-nums>div b{color:#FFD66B!important}
html body .s-msgs .s-msg{background:var(--gc-bg,#2a0a10)!important;border:1.5px solid rgba(232,177,58,.35)!important;box-shadow:var(--gc-sh)!important;border-radius:16px!important}
html body .s-msgs .s-msg.new{border-color:#F5B72B!important;box-shadow:0 0 14px rgba(245,183,43,.35),var(--gc-sh)!important}
html body:not(.wide) .sh.pvx .s-prof-pg .sp-rows{background:var(--gc-bg)!important;border:1.5px solid var(--gc-bd)!important;box-shadow:var(--gc-sh)!important}
html body:not(.wide) .sh.pvx .lbx .lbx-r,html body:not(.wide) .sh.pvx .lbx .lbx-r:not(.me){background:url(img/ar/lb-row.webp?v=1) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important}
/* v645: answer review cards in the gold look, glossy ✓/✕ badges */
html body:not(.wide) .sh.pvx:not(#z):not(#y):not(#x) .result .rv2-w,html body:not(.wide) .sh.pvx:not(#z):not(#y):not(#x) .result .rv2-ok,html body:not(.wide) .sh.pvx:not(#z):not(#y):not(#x) .result .rv2-all{background:var(--gc-bg)!important;border:1.5px solid var(--gc-bd)!important;box-shadow:var(--gc-sh)!important}
html body:not(.wide) .sh.pvx:not(#z):not(#y):not(#x) .result .rv2-l>i{width:26px;height:26px;flex:none;font-size:0!important;background:url(img/ar/rd-no.webp?v=1) center/contain no-repeat!important;border:0!important;box-shadow:none!important}
html body:not(.wide) .sh.pvx:not(#z):not(#y):not(#x) .result .rv2-l.ok>i{background-image:url(img/ar/rd-ok.webp?v=1)!important}
html body:not(.wide) .sh.pvx:not(#z):not(#y):not(#x) .result .rv2-l{background:rgba(0,0,0,.3)!important}
html body:not(.wide) .sh.pvx:not(#z):not(#y):not(#x) .result .rv2-h span{background:url(img/ar/cr-coin.webp?v=1) center/contain no-repeat!important;color:#7a3d00!important;min-width:28px;height:28px;display:inline-grid;place-items:center}
html body:not(.wide) .sh.pvx:not(#z):not(#y):not(#x) .result .rv2-dr{background:linear-gradient(180deg,#4a0c18,#2a0610)!important;border:1.5px solid #F5B72B!important;color:#FFD66B!important;box-shadow:0 4px 0 #6e4a0a,0 0 14px rgba(245,183,43,.25)!important}
/* v648 arena: one «العب» + spinning islands + day island ×2 + practice */
html body:not(.wide) .sh.pvx .ar .ar-go{margin:6px auto 0}
.ar .ar-go img{width:min(30vw,116px)}
html body:not(.wide) .sh.pvx .ar .ar-go>span{font-size:28px}
.ar-hint{text-align:center;color:#C7C7CC;font-size:13px;font-weight:600;margin:10px 16px 4px;line-height:1.6}.ar-hint b{color:#FFD60A}
.ar-isl .x2,.ar-sisl .x2{position:absolute;top:18%;right:14%;font-style:normal;background:linear-gradient(#FFE27A,#E0A100);color:#3A2300;font-weight:900;font-size:17px;padding:2px 9px;border-radius:999px;box-shadow:0 3px 0 #8A5A00,0 0 14px rgba(255,214,10,.6);pointer-events:none}
.ar-sorb{position:relative;width:100%;max-width:340px;height:150px;margin:4px auto 0}
.ar-sisl{position:absolute;left:50%;top:50%;width:104px;height:104px;margin:-52px 0 0 -52px;will-change:transform}
.ar-sisl img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 12px rgba(0,0,0,.6))}
.ar-sisl .x2{top:4%;right:0;font-size:14px}
.ar-sorb.done .ar-sisl:not(.win){opacity:.15!important;transition:opacity .4s}
.ar-sisl.win img{animation:arWin .9s ease-out}
@keyframes arWin{0%{transform:scale(1)}35%{transform:scale(1.25)}100%{transform:scale(1.08)}}
.ar-sisl.win::before{content:"";position:absolute;inset:-18%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,214,10,.5),transparent);z-index:-1}
.ar-fsub .x2{color:#FFD60A;font-weight:900}
.ar-tg2.prac .pl:last-child,.ar-tg2.prac .ar-tgm{visibility:hidden}
.ar-rows .x2{color:#FFD60A;font-weight:800}.ar-rows .x2 b{color:#FFD60A}
.ar-pres .btn{width:100%}
@media (prefers-reduced-motion:reduce){.ar-sisl.win img{animation:none}}
.ar-isl em.x2{left:auto;bottom:auto;top:16%;right:12%;transform:none;border:0;padding:2px 10px;font-size:17px;color:#3A2300;background:linear-gradient(#FFE27A,#E0A100)}
/* v649 past challenges: long-press multi-select */
.cp-past .cpp-row{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;position:relative}
.cp-past .cpp-row a{-webkit-touch-callout:none}
.cpp-ck{display:none;flex:0 0 26px;height:26px;margin-inline-start:12px;border-radius:50%;border:2px solid rgba(255,255,255,.35)}
.cp-past.sel .cpp-ck{display:block}
.cp-past.sel .cpp-del{visibility:hidden}
.cp-past.sel .cpp-row.on{background:rgba(200,16,46,.16)}
.cp-past.sel .cpp-row.on .cpp-ck{background:#C8102E;border-color:#C8102E;box-shadow:inset 0 0 0 3px #1C1C1E}
.cp-past.sel{padding-bottom:150px}
.cpp-bar{position:fixed;left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom) + 96px);z-index:60;background:rgba(28,28,30,.94);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:10px 12px;display:flex;flex-direction:column;gap:8px;box-shadow:0 10px 30px rgba(0,0,0,.5);max-width:520px;margin:0 auto}
.cpp-b1{display:flex;align-items:center;justify-content:space-between;gap:8px}.cpp-b1 b{font-size:15px}
.cpp-bar .btn{width:100%}
.cpp-bar .link{text-decoration:none;font-weight:700}
/* v651 trial (Khalid): the globe island's globe really spins when the island is in front */
.ar-isl .isl-g{position:absolute;inset:0;animation:arIsl 4s ease-in-out infinite;pointer-events:none}
.ar-isl .isl-g img{position:absolute;inset:0;animation:none!important}
.ar-isl .glb{position:absolute;left:51.7%;top:10.2%;width:35.1%;height:35.1%;border-radius:50%;overflow:hidden;transform:rotate(-20deg);background:#1E7FD6}
.ar-isl .glb>i{position:absolute;top:0;left:0;height:100%;width:466%;background:url(img/ar/soc-map.webp?v=1) 0 0/50% 100% repeat-x;transform:translateX(-50%);animation:glbSpin 9s linear infinite;animation-play-state:paused}
.ar-isl.front .glb>i{animation-play-state:running}
.ar-isl .glb::after{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.55),rgba(255,255,255,0) 30%),radial-gradient(circle at 50% 50%,rgba(0,0,0,0) 55%,rgba(6,16,56,.55) 100%)}
@keyframes glbSpin{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@media (prefers-reduced-motion:reduce){.ar-isl .glb>i{animation:none}}
.ar-cap{text-align:center;color:#C7C7CC;font-size:13px;font-weight:600;margin:8px 16px 0}.ar-cap b{color:#FFD60A}.ar-cap.lo{color:#FF9F0A}
/* v653 arena rankings: area chips, ✓, my pinned row */
.lb-area{display:flex;gap:6px;justify-content:center;margin:-4px 0 12px}
.lb-area button{min-height:30px;padding:0 14px;border-radius:999px;border:0;background:#1C1C1E;color:#8E8E93;font:700 13px 'Cairo',system-ui,sans-serif;cursor:pointer}
.lb-area button.on{background:#2C2C2E;color:#fff}
.lba-ok{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#30D158;color:#000;font-style:normal;font-size:10px;font-weight:900;vertical-align:middle;margin-inline-start:2px}
html body:not(.wide) .lba-me{position:sticky;bottom:calc(env(safe-area-inset-bottom) + 92px);z-index:5;background:rgba(10,10,12,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:16px;padding:8px 8px 6px;border-top:0;box-shadow:0 -8px 20px rgba(0,0,0,.5)}
.lba-next{text-align:center;color:#C7C7CC;font-size:13px;font-weight:600;margin:4px 0 0}.lba-next b{color:#FFD60A}
/* v654 mosque island: the crescent sways and glows while the island is in front */
.ar-isl .isl-g img.fx-moon{position:absolute;left:41.3%;top:4.5%;right:auto;bottom:auto;width:11.9%;height:auto;transform-origin:50% 100%}
.ar-isl.front .isl-g img.fx-moon{animation:moonSway 3.2s ease-in-out infinite!important}
@keyframes moonSway{0%,100%{transform:rotate(-7deg);filter:drop-shadow(0 0 2px rgba(255,214,10,.4))}50%{transform:rotate(7deg);filter:drop-shadow(0 0 12px rgba(255,214,10,.95))}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g img.fx-moon{animation:none!important}}
/* v655 Arabic island: the letter bounces, the quill writes, while the island is in front */
.ar-isl .isl-g img.fx-dad{position:absolute;left:32%;top:0;right:auto;bottom:auto;width:32%;height:auto;filter:drop-shadow(0 6px 6px rgba(0,0,0,.45))}
.ar-isl .isl-g img.fx-quill{position:absolute;left:69.9%;top:19.7%;right:auto;bottom:auto;width:21.8%;height:auto;transform-origin:8% 96%}
.ar-isl.front .isl-g img.fx-dad{animation:dadHop 1.6s cubic-bezier(.3,.7,.4,1) infinite!important}
.ar-isl.front .isl-g img.fx-quill{animation:quillW 1.1s ease-in-out infinite!important}
@keyframes dadHop{0%,100%{transform:translateY(0) scale(1)}12%{transform:translateY(0) scale(1.06,.94)}45%{transform:translateY(-14%) scale(.98,1.03)}80%{transform:translateY(0) scale(1)}}
@keyframes quillW{0%,100%{transform:rotate(-5deg)}25%{transform:rotate(4deg) translateX(2%)}50%{transform:rotate(-3deg)}75%{transform:rotate(5deg) translateX(-2%)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g img.fx-dad,.ar-isl.front .isl-g img.fx-quill{animation:none!important}}
/* v655 math island: the signs float and turn while the island is in front */
.ar-isl .isl-g img.fx-m{position:absolute;right:auto;bottom:auto;height:auto}
.ar-isl .isl-g img.fx-plus{left:12%;top:9%;width:25%}
.ar-isl .isl-g img.fx-times{left:41%;top:5%;width:21%}
.ar-isl .isl-g img.fx-eq{left:66%;top:16%;width:19%}
.ar-isl.front .isl-g img.fx-plus{animation:mFloat 2.4s ease-in-out infinite!important}
.ar-isl.front .isl-g img.fx-times{animation:mSpin 2.4s ease-in-out .3s infinite!important}
.ar-isl.front .isl-g img.fx-eq{animation:mFloat 2.4s ease-in-out .6s infinite!important}
@keyframes mFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-14%) rotate(-8deg)}}
@keyframes mSpin{0%{transform:translateY(0) rotate(0)}50%{transform:translateY(-12%) rotate(90deg)}100%{transform:translateY(0) rotate(180deg)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g img.fx-m{animation:none!important}}
/* v655 brain island: the bolt flashes, the bulb lights up, while the island is in front */
.ar-isl .isl-g img.fx-bolt{position:absolute;left:46%;top:1%;right:auto;bottom:auto;width:11%;height:auto}
.ar-isl .isl-g img.fx-bulb{position:absolute;left:54%;top:31%;right:auto;bottom:auto;width:26%;height:auto;filter:brightness(.8)}
.ar-isl.front .isl-g img.fx-bolt{animation:boltF 1.8s ease-in-out infinite!important}
.ar-isl.front .isl-g img.fx-bulb{animation:bulbOn 1.8s ease-in-out .5s infinite!important}
@keyframes boltF{0%,60%,100%{transform:scale(1) rotate(0);filter:none}65%{transform:scale(1.25) rotate(-8deg);filter:drop-shadow(0 0 10px #FFD60A) brightness(1.4)}72%{transform:scale(1) rotate(0);filter:none}78%{transform:scale(1.15) rotate(6deg);filter:drop-shadow(0 0 8px #FFD60A) brightness(1.3)}}
@keyframes bulbOn{0%,100%{filter:brightness(.8);transform:scale(1)}50%{filter:brightness(1.25) drop-shadow(0 0 14px #FFE27A);transform:scale(1.08)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g img.fx-bolt,.ar-isl.front .isl-g img.fx-bulb{animation:none!important}}

/* v656 English bubble + science atom */
.ar-isl .isl-g img.fx-bub{position:absolute;left:24%;top:2%;right:auto;bottom:auto;width:26%;height:auto;transform-origin:70% 100%}
.ar-isl .isl-g img.fx-atom{position:absolute;left:66%;top:0;right:auto;bottom:auto;width:26%;height:auto}
.ar-isl.front .isl-g img.fx-bub{animation:bubPop 2.6s ease-in-out infinite!important}
.ar-isl.front .isl-g img.fx-atom{animation:atomSpin 4s linear infinite!important}
@keyframes bubPop{0%,100%{transform:scale(1) translateY(0)}12%{transform:scale(1.14) translateY(-4%)}22%{transform:scale(.96) translateY(0)}30%{transform:scale(1.04)}40%{transform:scale(1)}}
@keyframes atomSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g img.fx-bub,.ar-isl.front .isl-g img.fx-atom{animation:none!important}}

/* v657 more island motion: Kuwait flag waves, brain pulses + stopwatch ticks, mosque dome glows + palms sway + twinkles */
.ar-isl .isl-g img.fx-pt{position:absolute;right:auto;bottom:auto;height:auto}
.ar-isl .isl-g .flg{position:absolute;display:flex;direction:ltr}
.ar-isl .isl-g .flg b{flex:0 0 calc(5% + 1px);height:100%;background:url(img/ar/soc-flag.webp?v=1) no-repeat;background-size:2000% 100%;background-position:calc(var(--i) * 100% / 19) 0;margin-right:-1px}
.ar-isl.front .isl-g .flg b{animation:flgW 1.2s ease-in-out infinite;animation-delay:calc(var(--i) * -.09s)}
@keyframes flgW{0%,100%{transform:translateY(calc(var(--i) * -.3%))}50%{transform:translateY(calc(var(--i) * .3%))}}
.ar-isl .isl-g img.fx-brain{transform-origin:50% 80%}
.ar-isl.front .isl-g img.fx-brain{animation:brainP 1.6s ease-in-out infinite!important}
@keyframes brainP{0%,100%{transform:scale(1);filter:none}15%{transform:scale(1.05);filter:brightness(1.12)}30%{transform:scale(1)}45%{transform:scale(1.03);filter:brightness(1.06)}60%{transform:scale(1)}}
.ar-isl .isl-g img.fx-watch{transform-origin:50% 55%}
.ar-isl.front .isl-g img.fx-watch{animation:watchT 1s steps(1) infinite!important}
@keyframes watchT{0%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
.ar-isl .isl-g img.fx-palm{transform-origin:62% 92%}.ar-isl .isl-g img.fx-palm2{transform-origin:45% 95%}
.ar-isl.front .isl-g img.fx-palm{animation:palmS 3s ease-in-out infinite!important}
.ar-isl.front .isl-g img.fx-palm2{animation-delay:-1.3s!important}
@keyframes palmS{0%,100%{transform:rotate(-6deg) scaleX(1.02)}50%{transform:rotate(5deg) scaleX(.97)}}
.ar-isl.front .isl-g img.fx-dome{animation:domeG 2.4s ease-in-out infinite!important}
@keyframes domeG{0%,100%{filter:none}50%{filter:brightness(1.18) drop-shadow(0 0 10px rgba(255,214,90,.8))}}
.ar-isl .isl-g .fx-tw{position:absolute;width:7%;aspect-ratio:1;opacity:0;background:radial-gradient(circle,#fff 0 12%,transparent 13%),linear-gradient(90deg,transparent 45%,#FFE9A8 45% 55%,transparent 55%),linear-gradient(0deg,transparent 45%,#FFE9A8 45% 55%,transparent 55%);clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%)}
.ar-isl.front .isl-g .fx-tw{animation:twk 2.2s ease-in-out infinite}
.ar-isl.front .isl-g .fx-tw:nth-of-type(2){animation-delay:.7s}.ar-isl.front .isl-g .fx-tw:nth-of-type(3){animation-delay:1.4s}
@keyframes twk{0%,100%{opacity:0;transform:scale(.3) rotate(0)}50%{opacity:1;transform:scale(1) rotate(45deg)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g .flg b,.ar-isl.front .isl-g img.fx-brain,.ar-isl.front .isl-g img.fx-watch,.ar-isl.front .isl-g img.fx-palm,.ar-isl.front .isl-g img.fx-dome,.ar-isl.front .isl-g .fx-tw{animation:none!important}}

/* v658 mushaf page turns (right page folds over the spine) */
.ar-isl .isl-g .fx-book{position:absolute;perspective:220px}
.ar-isl .isl-g .fx-book img{position:absolute;inset:0;width:100%;height:100%;transform-origin:4% 26%;backface-visibility:visible;opacity:0}
.ar-isl.front .isl-g .fx-book img{animation:pageT 3.6s ease-in-out .6s infinite!important}
@keyframes pageT{0%,8%{opacity:1;transform:rotate3d(.44,.9,0,0deg);filter:none}40%{opacity:1;transform:rotate3d(.44,.9,0,-90deg);filter:brightness(.85)}62%{opacity:1;transform:rotate3d(.44,.9,0,-172deg);filter:brightness(.95)}72%,100%{opacity:0;transform:rotate3d(.44,.9,0,-172deg)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g .fx-book img{animation:none!important}}
/* v658 Big Ben clock hands turn */
.ar-isl .isl-g .fx-clk{position:absolute;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 45% 40%,#FFF4E8,#FCEBDA 70%,#F6E0CC)}
.ar-isl .isl-g .fx-clk b{position:absolute;left:50%;bottom:50%;width:9%;margin-left:-4.5%;background:#2A2320;border-radius:2px;transform-origin:50% 100%}
.ar-isl .isl-g .fx-clk b:first-child{height:46%;transform:rotate(0)}
.ar-isl .isl-g .fx-clk b+b{height:32%;width:12%;margin-left:-6%;transform:rotate(90deg)}
.ar-isl .isl-g .fx-clk::after{content:"";position:absolute;left:50%;top:50%;width:16%;height:16%;margin:-8% 0 0 -8%;border-radius:50%;background:#2A2320}
.ar-isl.front .isl-g .fx-clk b:first-child{animation:clkM 4s linear infinite}
.ar-isl.front .isl-g .fx-clk b+b{animation:clkH 48s linear infinite}
@keyframes clkM{to{transform:rotate(360deg)}}
@keyframes clkH{from{transform:rotate(90deg)}to{transform:rotate(450deg)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g .fx-clk b{animation:none!important}}
/* v660 knockout: round tabs + stacked match cards */
.ko2{display:flex;flex-direction:column;gap:10px}
.ko2-ch{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;background:linear-gradient(135deg,rgba(255,214,10,.2),rgba(255,214,10,.05));border:1px solid rgba(255,214,10,.5);text-align:right}
.ko2-ch>span{font-size:30px}.ko2-ch b{display:block;font-size:18px}.ko2-ch small{font-weight:700;color:#B8860B}
.ko2-tabs{display:flex;gap:4px;padding:4px;border-radius:14px;background:rgba(120,120,128,.16)}
.ko2-tabs button{flex:1;position:relative;border:0;border-radius:11px;background:none;color:inherit;opacity:.75;font-family:inherit;font-weight:800;font-size:14px;padding:8px 2px;cursor:pointer}
.ko2-tabs button.on{background:#FFD60A;color:#2A1C00;opacity:1}
.ko2-dot{position:absolute;top:5px;left:8px;width:7px;height:7px;border-radius:50%;background:#C8102E}
.ko2-pane{display:flex;flex-direction:column;gap:12px}.ko2-pane[hidden]{display:none}
.ko2-day{text-align:center;font-size:12px;opacity:.65;margin:0}
.ko2-m{position:relative;border-radius:18px;padding:6px;background:rgba(120,120,128,.12);border:1.5px solid transparent}
.ko2-m.me{border-color:#C8102E}
.ko2-tag{position:absolute;top:-10px;right:14px;background:#C8102E;color:#fff;font-size:11px;font-weight:800;padding:1px 10px;border-radius:99px}
.ko2-p{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:13px;min-height:24px}
.ko2-p .ko-s{width:22px;height:22px;border-radius:50%;background:rgba(120,120,128,.25);font-size:12px;font-weight:800;display:grid;place-items:center;flex:none}
.ko2-p .ko-n{flex:1;font-weight:800;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.ko2-p .ko-r b{font-weight:900;font-size:15px}.ko2-p .ko-r small{font-size:12px;font-weight:700;opacity:.7}
.ko2-p.w{background:rgba(255,214,10,.16)}.ko2-p.w .ko-s{background:#FFD60A;color:#2A1C00}.ko2-p.w .ko-r b{color:#B8860B}
.ko2-p.l{opacity:.45}
.ko2-p.tbd .ko-n{font-weight:700;opacity:.6}
.ko2-vs{height:1px;margin:2px 10px;position:relative;background:rgba(120,120,128,.25)}
.ko2-vs i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:11px;font-weight:800;font-style:normal;padding:0 8px;opacity:.6;background:inherit}
body:not(.wide) .ko2-m{background:#1C1C1E}body:not(.wide) .ko2-vs{background:#2a2a2c}body:not(.wide) .ko2-vs i{background:#1C1C1E;opacity:1;color:#8E8E93}
body:not(.wide) .ko2-tabs{background:#1C1C1E}body:not(.wide) .ko2-p.w .ko-r b,body:not(.wide) .ko2-ch small{color:#FFD60A}body:not(.wide) .ko2-p.w .ko-n{color:#F5F5F7}
body.dark .ko2-p.w .ko-r b,body.dark .ko2-ch small{color:#FFD60A}
/* v661 mushaf: soft light instead of page turn */
.ar-isl .isl-g .fx-nur{position:absolute;border-radius:50%;background:radial-gradient(closest-side,rgba(255,236,170,.75),rgba(255,214,90,.25) 55%,transparent);mix-blend-mode:screen;opacity:0;pointer-events:none}
.ar-isl.front .isl-g .fx-nur{animation:nurG 3s ease-in-out infinite}
@keyframes nurG{0%,100%{opacity:.15;transform:scale(.85)}50%{opacity:.9;transform:scale(1.08)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g .fx-nur{animation:none}}
/* v662 compact arena level row */
.ar-me.ar-me2{flex-direction:row;align-items:center;gap:12px;padding:10px 12px;border-radius:20px}
.ar-me2 .ar-avb{flex:none}
.ar-me2 .ar-av{width:46px;height:46px;font-size:26px;box-shadow:0 0 0 2px #1C1C1E,0 0 0 4px #F5B72B}
.ar-lvb{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;background:none;border:0;padding:0;color:inherit;font:inherit;text-align:right;cursor:pointer}
.ar-lvb .r1{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.ar-lvb .r1 b{font-size:18px;font-weight:900;color:#F5B72B}.ar-lvb .r1 small{font-size:13px;font-weight:700;color:#C7C7CC;white-space:nowrap}
.ar-lvb .ar-mbar{height:8px;display:block}
.ar-lvb .r2{font-size:12px;color:#8E8E93}.ar-lvb .r2 b{color:#fff}
.ar-chev{color:#8E8E93;font-size:20px;flex:none}
.modal .ar-stg{margin:6px 0 10px}.ar-lvn{font-size:13px;color:#C7C7CC;text-align:center;margin:0 0 12px;line-height:1.7}
.ar-me2~.ar-orb{margin-top:-36px}
/* v663 science: bubbles rise from the flask */
.ar-isl .isl-g img.fx-bbl{position:absolute;left:19.5%;top:23%;right:auto;bottom:auto;width:9.5%;height:auto;opacity:0;transform:scale(.3)}
.ar-isl.front .isl-g img.fx-bbl{animation:bblUp 3.6s ease-out infinite!important;animation-delay:var(--d)!important}
.ar-isl:not(.front) .isl-g img.fx-bbl{opacity:1;transform:translate(var(--x),-160%) scale(.7)}
@keyframes bblUp{0%{opacity:0;transform:translate(0,0) scale(.3)}12%{opacity:1}50%{transform:translate(var(--x),-170%) scale(.8)}85%{opacity:1}100%{opacity:0;transform:translate(calc(var(--x) * -.5),-330%) scale(1.05)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g img.fx-bbl{animation:none!important;opacity:1;transform:translateY(-150%) scale(.8)}}
/* v666 «العب بدون رمز» */
html body .sl.sl-red .sl1-go:not(#z){background:#2C2C2E!important;box-shadow:none!important;min-height:52px;font-size:18px!important;color:#F5F5F7!important}
.sl-or{display:flex;align-items:center;gap:10px;color:#8E8E93;font-size:13px;margin:4px 0}.sl-or::before,.sl-or::after{content:"";flex:1;height:1px;background:#2a2a2a}
html body .sl .sl-solo{min-height:62px;font-size:20px;font-weight:900}
.so{min-height:100dvh;box-sizing:border-box;padding:max(54px,env(safe-area-inset-top)) 18px 28px;display:flex;flex-direction:column;gap:16px;position:relative}
.so h2{font-size:26px;font-weight:900;text-align:center;margin:6px 0 0}
.so-sub{color:#C7C7CC;font-size:14px;text-align:center;margin:0;line-height:1.7}
.so-back{position:absolute;top:max(14px,env(safe-area-inset-top));right:14px;width:40px;height:40px;border-radius:50%;border:0;background:#1C1C1E;color:#F5F5F7;font-size:20px;cursor:pointer}
.so-dots{display:flex;gap:6px;justify-content:center}.so-dots i{width:8px;height:8px;border-radius:50%;background:#333}.so-dots i.on{background:#C8102E;width:24px;border-radius:4px}
.so-g2{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:auto;margin-bottom:auto}
.so-g3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.so-t{background:#1C1C1E;border:2px solid transparent;border-radius:22px;padding:14px 6px;display:flex;flex-direction:column;align-items:center;gap:8px;color:#F5F5F7;font:inherit;cursor:pointer}
.so-t b{font-size:18px;font-weight:800}
.so-t.on{border-color:#C8102E;background:rgba(200,16,46,.14)}
.so-t .avi{width:92px;height:92px;display:block}.so-t .avi img{width:100%;height:100%;object-fit:contain}
.so-av .avi{width:78px;height:78px}
.so-d{min-height:68px;justify-content:center}.so-d b{font-size:16px}
.so-nk{background:#1C1C1E;border-radius:22px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:10px}
.so-nav .avi{width:110px;height:110px;display:block}.so-nav .avi img{width:100%;height:100%;object-fit:contain}
.so-nk b{font-size:28px;font-weight:900}
.so-nk b.roll{animation:soRoll .35s ease}
@keyframes soRoll{0%{transform:scale(.7);opacity:.2}60%{transform:scale(1.08)}100%{transform:none;opacity:1}}
.so-dice{border:0;background:#2C2C2E;color:#F5F5F7;border-radius:999px;padding:8px 18px;font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.so .btn{margin-top:auto}.so-g3+.btn{margin-top:auto}
.so-kw{justify-content:center;text-align:center}.so-kwb{display:flex;flex-direction:column;align-items:center;gap:10px;margin:auto 0}.so-kwb span{font-size:56px}.so-kwb b{font-size:20px}
.so-me .so-meh{display:flex;flex-direction:column;align-items:center;gap:4px;margin:6px 0 10px}.so-meh b{font-size:22px;font-weight:900}.so-meh small{color:#C7C7CC}
.so-rows{background:#1C1C1E;border-radius:18px;padding:4px 14px;margin-bottom:8px}
.so-rows>div{display:flex;align-items:center;gap:10px;padding:12px 0;font-size:15px}.so-rows>div+div{border-top:1px solid #2C2C2E}
.so-rows span{color:#C7C7CC;flex:1}.so-rows b{font-weight:800}
.so-cp{border:0;background:#2C2C2E;color:#F5F5F7;border-radius:999px;padding:4px 12px;font:inherit;font-size:13px;cursor:pointer}
.so-code{background:#000;border:2px dashed #F5B72B;border-radius:16px;padding:12px;text-align:center;font-size:32px;font-weight:900;letter-spacing:6px;color:#F5B72B;margin:6px 0 10px}
.lb-solo-h{margin:4px 0 10px}
.s-nav.s-nav3>button{flex:1}
.s-nav.s-nav3 .lens{width:calc((100% - 12px) / 3)!important;right:calc(6px + (100% - 12px) / 3 * var(--i))!important}
/* v667 solo: pick a first name, number comes from the server */
.so .so-nk{flex-direction:row;justify-content:center;padding:12px 16px}
.so .so-nk .so-nav .avi{width:60px;height:60px}
.so .so-nk b{font-size:26px}.so .so-nk b i{font-style:normal;color:#636366;letter-spacing:2px}
.so-nms{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.so-nm{background:#1C1C1E;border:2px solid transparent;border-radius:14px;padding:10px 2px;color:#F5F5F7;font:800 15px inherit;font-family:inherit;cursor:pointer;white-space:nowrap}
.so-nm.on{border-color:#C8102E;background:rgba(200,16,46,.14)}
/* v668: ‹ › are bidi-mirrored in RTL; force LTR so back points right and «more» points left */
.so-back,.ar-chev{direction:ltr;unicode-bidi:isolate}
button.ar-chev{background:none;border:0;padding:12px 4px;margin:-12px -4px;cursor:pointer;font-family:inherit}
.so-back{display:grid;place-items:center;padding:0}.so-back svg{width:20px;height:20px;stroke:#F5F5F7;stroke-width:2.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
/* v671 arena home: name inside the level card, no second avatar, play button above the bar */
.ar-on2{align-self:flex-end;width:max-content;margin:0 auto 8px 0}
.ar-me3{padding:12px 16px}
.ar-me3 .ar-lvb .r1 .ar-nm{color:#F5F5F7;font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.ar-me3 .ar-lvb .r1 b:last-child{flex:none}
.ar-me3 .ar-lvb .r2{display:flex;justify-content:space-between;gap:8px}
.ar-me3 .ar-lvb .r2 small{font-size:12px;font-weight:700;color:#C7C7CC;white-space:nowrap}
/* v672 first screen: play first, code on demand */
html body .sl .sl-solo.sl-solo2{min-height:84px;font-size:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:1.2}
.sl-solo2 small{font-size:14px;font-weight:700;opacity:.85}
html body:not(.wide) .sh.sl .btn.sl-hc,html body .sl .sl-hc{min-height:56px;background:#2C2C2E!important;background-image:none!important;color:#F5F5F7!important;box-shadow:none!important;font-size:17px;font-weight:800;border:0}
.sl-code[hidden],.sl-hc[hidden]{display:none!important}
.sl2 .sl-code{gap:12px}
/* v673: no top bar on most student tabs → content starts under the status bar */
#app:not(:has(> .s-top)) > .sh.s-tabpg{padding-top:calc(env(safe-area-inset-top) + 2px)!important}
html body:not(.wide) .sh.pvx .ar .ar-me3~.ar-orb{height:290px}
/* v674 Quran island */
.ar-isl.front .isl-g img.fx-qst{animation:qst 2.6s ease-in-out infinite;transform-origin:50% 60%}
@keyframes qst{0%,100%{transform:scale(1);filter:brightness(1) drop-shadow(0 0 0 rgba(255,214,90,0))}50%{transform:scale(1.06) translateY(-2%);filter:brightness(1.35) drop-shadow(0 0 8px rgba(255,214,90,.8))}}
.ar-isl.front .isl-g .fx-qbk{animation-duration:3.6s;animation-delay:-1.2s}
.ar-isl.front .isl-g .fx-qlt{animation-duration:2.2s}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g img.fx-qst{animation:none}}
/* v674 Quran icons 112-117: closed mushaf, mushaf on rehal, star badge, lantern, bookmark, wreath */
.si.s112{--m:url(img/ic/112.png)}.si.s113{--m:url(img/ic/113.png)}.si.s114{--m:url(img/ic/114.png)}.si.s115{--m:url(img/ic/115.png)}.si.s116{--m:url(img/ic/116.png)}.si.s117{--m:url(img/ic/117.png)}


/* v675 Quran text (mushaf fonts) */
@font-face{font-family:hafs;src:url(fonts/UthmanicHafs.woff2) format('woff2');font-display:swap}
.qa{font-family:hafs,serif;font-size:1.3em;line-height:2;font-weight:400;letter-spacing:0;word-spacing:.05em;direction:rtl;unicode-bidi:isolate}
.qa.qcf{font-size:1.45em}
.opt .qa{font-size:1.5em;line-height:1.6}.opt .qa.qcf{font-size:1.7em}
.qa-src{display:block;margin-top:6px;font-size:.62rem;opacity:.55;font-weight:400}
/* v677 solo grade step */
.so-grs .so-t{padding:16px 6px}
.so-grn{font-size:40px;font-weight:900;line-height:1;color:#F5B72B}
.so-rows .so-grrow{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;border-top:1px solid #2C2C2E;color:inherit;font:inherit;font-size:15px;padding:12px 0;cursor:pointer;text-align:right}
.so-rows .so-grrow .set-chev{flex:none;display:grid}
.so-rows .so-grrow .set-chev svg{width:16px;height:16px;stroke:#8E8E93;fill:none;stroke-width:2.4}
/* v678 admin «التحدي العام» bars */
.ad-hb{display:grid;grid-template-columns:84px 1fr auto;align-items:center;gap:10px;padding:6px 0;font-size:14px}
.ad-hb>span{color:var(--mute,#8E8E93);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad-hb i{height:10px;border-radius:6px;background:var(--line,#2C2C2E);overflow:hidden}.ad-hb i u{display:block;height:100%;background:#C8102E;border-radius:6px}
.ad-hb b{font-weight:800;min-width:34px;text-align:left}
.ad-hb small{grid-column:2/4;color:var(--mute,#8E8E93);font-size:12px;margin-top:-4px}
/* v680 solo: 12 characters on the first step (gender from the character) */
.so-g12{gap:8px}.so-g12 .so-t{padding:8px 4px;border-radius:18px}.so-g12 .avi{width:72px;height:72px}
/* v682 (Khalid «نفس التحدي العام»): class round + result look like the arena: red card without gold ornament, plain dots, black result, big gold number */
html body .play.pv.pvx.ar-round.cr .qbox,html body[data-theme] .play.pv.pvx.ar-round.cr .pv-panel .qbox{background:url(img/ar/rd-q.webp?v=1) center/100% 100% no-repeat!important;padding:24px 22px!important}
html body[data-theme] .play.pv.pvx.cr .dots .dot{width:10px!important;height:10px!important;border-radius:50%!important;background:rgba(255,255,255,.25)!important}
html body[data-theme] .play.pv.pvx.cr .dots .dot.done.ok{background:#30D158!important}
html body[data-theme] .play.pv.pvx.cr .dots .dot.done.no{background:#FF453A!important;opacity:1!important}
html body[data-theme] .play.pv.pvx.cr .dots .dot.cur{background:#fff!important;filter:none}
.result.is-win::before,.result::before{display:none!important}
html body:not(.wide) .sh.pvx .result .rs-st2{width:auto!important;height:auto!important;background:none!important;padding:0!important;margin:14px auto 6px!important}
html body:not(.wide) .sh.pvx .result .rs-st2 .big{font-size:64px!important;color:#F5B72B!important;text-shadow:none!important}
html body:not(.wide) .sh.pvx .result .rs-st2 .muted{background:none!important;color:#C7C7CC!important;box-shadow:none!important;border:0!important;padding:0!important}
.cr-chest{display:none!important}
html body:not(.wide) .sh .result::before,html body:not(.wide) .sh .result::after{display:none!important}
/* v683 (Khalid 👍): arena result fits one screen — smaller trophy + ribbon, «جولة ثانية» pinned at the bottom */
html body .sh.ar-res .ar-rico{height:78px}
html body .sh.ar-res .ar-rst{width:84px;margin-top:-8px}
html body .sh.ar-res .ar-rbn{width:200px;height:94px;margin-top:-22px;padding-bottom:20px}
html body .sh.ar-res .ar-rbn h1{font-size:21px!important}
html body .sh.ar-res .ar-conf{width:220px;height:204px;margin-left:-110px}
.ar-rbtns{position:sticky;bottom:0;z-index:5;display:flex;flex-direction:column;gap:8px;margin:6px -16px 0;padding:14px 16px max(12px,env(safe-area-inset-bottom));background:linear-gradient(rgba(0,0,0,0),#000 26%)}
.ar-rbtns{align-items:stretch}.ar-rbtns .btn{margin:0!important;width:100%!important;max-width:none!important}
.ar-rbtns .btn.ghost{min-height:44px;padding-block:8px}
/* v683 (Khalid 👍 option 1): calmer question card for class + arena rounds: dark wine, thin red edge, no gloss */
html body .play.pv.pvx.ar-round .qbox,html body[data-theme] .play.pv.pvx.ar-round .pv-panel .qbox,html body .play.pv.pvx.ar-round.cr .qbox,html body[data-theme] .play.pv.pvx.ar-round.cr .pv-panel .qbox{background:linear-gradient(180deg,#3A0E18,#24080F)!important;border:1.5px solid rgba(255,69,90,.45)!important;border-radius:22px!important;box-shadow:none!important;padding:22px 20px!important}
/* v683 (Khalid): no lightning bolts beside the stopwatch */
.ar-clk .bl{display:none!important}
html body:not(.wide) .sh.pvx .ar-rbtns .btn{display:flex!important;width:100%!important;max-width:none!important;align-self:stretch!important}
html body:not(.wide) .sh.pvx .ar-rbtns{align-self:stretch;box-sizing:border-box}
/* v684 (Khalid): character step = boys rows then girls rows, no tile background (only the picked one gets a red ring) */
.so-g12{row-gap:4px}.so-g12 .so-t{background:none!important;border-color:transparent}
.so-g12 .so-t.on{background:none!important;border-color:transparent}.so-g12 .so-t.on .avi{border-radius:50%;box-shadow:0 0 0 3px #C8102E}
.so-g12 .so-t:nth-child(7){margin-top:14px}.so-g12 .so-t:nth-child(8),.so-g12 .so-t:nth-child(9){margin-top:14px}
.so-g12 .avi{width:84px!important;height:84px!important}
/* v687 (Khalid): «☑️ تحديد» next to «＋ صف جديد»; select mode = the same rows with a tick circle (not squares) */
.cl-toprow{display:flex;gap:10px;align-items:stretch;margin-bottom:14px}.cl-toprow .cp-newc{flex:1;margin:0}
.btn.ghost.cl-selb{flex:none;width:auto;min-height:60px;padding:0 16px;font-size:16px;margin:0}
.cg-r.cg-pick{font:inherit;color:var(--ink)}
.cg-ck{flex:none;width:28px;height:28px;border-radius:50%;border:2px solid color-mix(in srgb,var(--ink) 35%,transparent);display:grid;place-items:center;font-weight:900;font-size:15px;color:#fff}
.cg-pick.picked .cg-ck{background:#C8102E;border-color:#C8102E}
html body .cl-toprow .btn.ghost.cl-selb{background:rgba(200,16,46,.16)!important;background-image:none!important;border:1px solid rgba(200,16,46,.5)!important;color:#fff!important;box-shadow:none!important;display:inline-flex;align-items:center;gap:6px}
html body .btn.ghost.cl-selb svg{width:18px;height:18px}
/* v689 (Khalid approved preview): thin colour bar (green → yellow → red) + small stopwatch icon; number only in last 5 seconds */
html body .ar-clk,html body .ar-clk.cr-clk{display:flex!important;justify-content:flex-start!important;direction:ltr;align-items:center;gap:8px;position:relative;height:42px;margin:6px 16px 4px!important}
html body .ar-rays{display:none!important}
html body .ar-clk .ar-swc,html body .ar-clk.hurry .ar-swc{flex:none;width:36px!important;height:42px!important;padding:0!important;margin:0;background:url(img/ar/rd-sw2.webp?v=1) center/contain no-repeat!important;filter:none!important;animation:none!important;position:relative}
html body .ar-clk.hurry .ar-swc{background-image:url(img/ar/rd-swh.webp?v=1)!important}
html body .ar-clk .ar-swc::before{display:none!important}
html body .ar-clk .ar-swc small{display:none!important}
html body .ar-clk .ar-swc b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:18px!important;padding-top:7px;visibility:hidden}
html body .ar-clk.hurry .ar-swc b{visibility:visible;animation:arTk 1s ease-out infinite}
@keyframes arTk{0%{transform:scale(1.3)}40%{transform:scale(1)}}
html body .ar-clk::after{content:"";position:absolute;left:44px;right:0;top:50%;height:12px;margin-top:-6px;border-radius:9px;background:rgba(255,255,255,.14)}
html body .ar-clk #tfg{display:block!important;position:absolute;left:44px;top:50%;height:12px;margin-top:-6px;border-radius:9px;z-index:1;width:calc((100% - 44px)*var(--p,1))!important;transition:none}
@media (prefers-reduced-motion:reduce){html body .ar-clk.hurry .ar-swc b{animation:none}}
/* v690 Quran questions: question text light like the mushaf text */
html body .qbox:has(.qa),html body .qbox:has(.qa) span{font-weight:500!important}
/* v693 (Khalid): wizard «التالي / رجوع» bar sits clear above the tab bar (bar = safe + 12px + ~66px) */
html body .nw-foot{bottom:calc(env(safe-area-inset-bottom, 0px) + 90px)!important;padding-bottom:6px}
html body .nw:has(.nw-foot){padding-bottom:140px}
/* v690 (Khalid «قلل الفراغ»): no reserved row for the players pill — it floats above the name at the edge, so «العب» is right under the name */
html body .ar-onm{position:relative;min-height:0!important;margin:-6px 0 0!important;gap:0}
html body .ar-onm .ar-pill{position:absolute!important;top:-30px;inset-inline-end:16px;inset-inline-start:auto;z-index:2;white-space:nowrap}
html body:not(.wide) .sh.pvx .ar .ar-go{margin:0 auto!important}
/* v690 (Khalid «شيل كلمة العب»): the round play button is enough on the arena home */
html body:not(.wide) .sh.pvx .ar .ar-go>span{display:none!important}
html body .ar .ar-go img{width:min(38vw,150px)!important}
/* v696 (Khalid «احمر قاني نفس الثيم»): arena home top card = deep crimson wine glass with red edge, like the question card */
html body .ar-me.ar-me3{background:linear-gradient(180deg,#5A0F1E,#33070F)!important;border:1.5px solid rgba(255,69,90,.5)!important;box-shadow:0 0 18px rgba(200,16,46,.25)!important}
/* v697 (Khalid «جزيرة القرآن مافيها حركة»): the stars' animation was killed by `.isl-g img{animation:none!important}`; make it win, and make the glows + sparkles stronger */
.ar-isl.front .isl-g img.fx-qst{animation:qst 2.2s ease-in-out infinite!important;transform-origin:50% 60%}
.ar-isl.front .isl-g .fx-qbk,.ar-isl.front .isl-g .fx-qlt{animation:nurG2 2.4s ease-in-out infinite!important;background:radial-gradient(closest-side,rgba(255,244,190,.95),rgba(255,200,70,.4) 55%,transparent)!important}
.ar-isl.front .isl-g .fx-qbk{animation-delay:-1.2s!important}
@keyframes nurG2{0%,100%{opacity:.1;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g img.fx-qst,.ar-isl.front .isl-g .fx-qbk,.ar-isl.front .isl-g .fx-qlt{animation:none!important}}

/* v698 light mode (teacher only): the dark-only rules above hard-code near-black backgrounds; here they become white cards on light grey, same red */
html body.wide:not(.dark){--tbrd:rgba(60,40,30,.10);--tglow:transparent}
html body.wide:not(.dark) .t-bell,html body.wide:not(.dark) .t-top .icon-btn{background:rgba(120,100,90,.12)!important;color:var(--primary)!important;box-shadow:none!important}
html body.wide:not(.dark) .h-nb{background:#fff;border:0;color:var(--ink);box-shadow:0 1px 2px rgba(40,20,10,.05),0 4px 14px rgba(40,20,10,.04)}
html body.wide:not(.dark) .h-nb small,html body.wide:not(.dark) .h-nb i{color:var(--muted)}
html body.wide:not(.dark) .cg-g .cg-l,html body.wide:not(.dark) .cg-l:not(.cg-g .cg-l),html body.wide:not(.dark) .cg-sw .sw-main.cg-r,html body.wide:not(.dark) .cg-g,html body.wide:not(.dark) .cg-r.sw-main{background:#fff!important;border:0!important;box-shadow:0 1px 2px rgba(40,20,10,.05),0 4px 14px rgba(40,20,10,.04)!important}
html body.wide:not(.dark) .cg-r::after{background:rgba(60,40,30,.10)}
html body.wide:not(.dark) .cg-r em{color:#1FA971;background:rgba(31,169,113,.12)}
html body.wide:not(.dark) .sw-act{background:transparent!important}
html body.wide:not(.dark) .cl-toprow .btn.ghost.cl-selb{color:var(--primary)!important;background:rgba(200,16,46,.09)!important;border-color:rgba(200,16,46,.35)!important}
html body.wide:not(.dark) .cg-bd{background:rgba(200,16,46,.10);color:var(--primary)}
html body.wide:not(.dark) .q3-cap{color:var(--muted)}
html body.wide:not(.dark) .q3-cap.low{color:#B26B00}
html body.wide:not(.dark) .q5-sb small{color:#4A403C}
html body.wide:not(.dark) .ch-idle{color:var(--ink);background:rgba(245,183,43,.16);border-color:rgba(201,138,11,.45)}
html body.wide:not(.dark) .cp-swr .sw-main,html body.wide:not(.dark) .cp-swr .sw-main.cp-row{background:#fff!important;border:0!important;box-shadow:0 1px 2px rgba(40,20,10,.05),0 4px 14px rgba(40,20,10,.04)!important;color:var(--ink)}
html body.wide:not(.dark) .cp-swr .sw-main.cp-row b,html body.wide:not(.dark) .cp-swr .sw-main.cp-row b{color:var(--ink)!important}
html body.wide:not(.dark) .cp-qi{background:#fff;color:var(--ink);border-color:var(--line)}
html body.wide:not(.dark) .cp-qi::placeholder{color:var(--muted)}
html body.wide:not(.dark) .cp-swr.cps-on .sw-main{background:linear-gradient(90deg,rgba(200,16,46,.16),rgba(200,16,46,.06)),#fff!important}
/* v698: no status-bar inset reported (html.nosat, set in app.js) → fixed top gap on full-screen play/result screens */
html.nosat body .play.pv.pvx,html.nosat body .sh.pvx.ar-res,html.nosat body .sh.pvx.s-tabpg{padding-top:54px!important}
.ar-find .ar-fsub{min-height:1.6em;line-height:1.6;transition:opacity .25s}.ar-find .ar-fsub:empty{opacity:0}
/* v701 (Khalid «مو مضبوطة داخل الإشارة»): result ribbon text smaller and centred on the red face (it touched the folds) */
html body .sh.ar-res .ar-rbn{padding:0 0 26px!important}
html body .sh.ar-res .ar-rbn h1{font-size:17px!important;line-height:1.2;white-space:nowrap;max-width:66%;text-align:center;overflow:hidden;text-overflow:ellipsis}
/* v703 (Khalid «يكفي لون المربع»): arena answers show only green (right) / red (wrong) — no ✓/✗ badges, sparkles or red arcs */
html body .play.pv.pvx.ar-round .opts .opt .opt-mk,html body .play.pv.pvx.ar-round .opts .opt.good::after,html body .play.pv.pvx.ar-round .opts .opt.bad::after{display:none!important;content:none!important;background:none!important}
/* v705 (Khalid): draw result has no shield emblem, the ribbon sits higher, and the whole result page moves up a bit */
html body .ar-rhero.draw .ar-rico{display:none!important}
html body .sh.pvx.ar-res:not(.ar-pres){padding-top:max(8px,calc(env(safe-area-inset-top) - 22px))!important}
html body .sh.ar-res .ar-rhero.draw .ar-rbn{margin-top:6px!important}
/* v706 (Khalid «ليش رمادي»): solo profile card = same wine glass as the other cards, not grey */
html body .so-rows{background:linear-gradient(180deg,#3B0A14,#1E0509)!important;border:1.5px solid rgba(232,177,58,.55)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 6px 18px rgba(0,0,0,.45)}
html body .so-rows>div+div,html body .so-rows .so-grrow{border-color:rgba(232,177,58,.18)!important}
html body .so-rows span{color:#C7A770}
html body .so-cp{background:rgba(255,255,255,.12)!important}
/* v708 (Khalid): student confirm dialogs (delete account, leave round…) = deep crimson wine glass like the rest, not grey */
html body:not(.wide) .dlg{background:linear-gradient(180deg,#4a0c18,#26070f)!important;border:1.5px solid rgba(255,69,90,.45)!important;box-shadow:0 20px 50px rgba(0,0,0,.6),0 0 22px rgba(200,16,46,.2)!important;color:#fff!important}
html body:not(.wide) .dlg-a button:not(.pri):not(.dng){background:rgba(255,255,255,.12)!important;color:#fff!important}
html body:not(.wide) .dlg-in{background:rgba(0,0,0,.4)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff}
html body:not(.wide) .dlg-b p,html body:not(.wide) .dlg-b{color:#E8D5D8}
html body:not(.wide) .dlg-b b{color:#fff}
/* v709 (Khalid): no emblem or stars on any arena result (win / draw / lose) — only the red ribbon, and the page sits higher */
html body .ar-rhero .ar-rico,html body .ar-rhero .ar-rst{display:none!important}
html body .sh.ar-res .ar-rhero .ar-rbn{margin-top:14px!important}
/* v711 (Khalid circled the crown): no crown over the tug bar */
html body .ar-crown{display:none!important}
/* v712 (Khalid, his ChatGPT pencils): the tug bar is two real pencils facing each other; red = opponent (left), gold = you (right); each grows from its eraser toward the middle with its own score (full score = half of the track) */
html body .ar-tgm{padding-top:28px!important}
.ar-pens{--h:17px;--mn:calc(var(--h)*2.55);direction:ltr;display:flex;justify-content:space-between;align-items:center;height:var(--h);width:100%}
.ar-pens .pn{display:flex;height:var(--h);width:calc(var(--mn) + (50% - 3px - var(--mn))*var(--f,0));transition:width .6s cubic-bezier(.3,1.4,.5,1);filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))}
.ar-pens .pn i{display:block;height:100%}
.ar-pens .t{width:calc(var(--h)*1.47);flex:none;background-size:100% 100%;background-repeat:no-repeat}
.ar-pens .h{width:calc(var(--h)*1.08);flex:none;background-size:100% 100%;background-repeat:no-repeat}
.ar-pens .b{flex:1;background-size:100% 100%;background-repeat:no-repeat}
.ar-pens .op .t{background-image:url(img/ar/pn-r-t.webp)}.ar-pens .op .b{background-image:url(img/ar/pn-r-b.webp)}.ar-pens .op .h{background-image:url(img/ar/pn-r-h.webp)}
.ar-pens .me .t{background-image:url(img/ar/pn-g-t.webp)}.ar-pens .me .b{background-image:url(img/ar/pn-g-b.webp)}.ar-pens .me .h{background-image:url(img/ar/pn-g-h.webp)}
@media (prefers-reduced-motion:reduce){.ar-pens .pn{transition:none}}
/* v715 (Khalid): face-off — the circle stays; the red and gold pencils fly in from the two top corners of the screen and settle in the circle as an X, then 3-2-1 */
.ar-vs2 .sw{overflow:visible}
.ar-vs2 .xp{--h:17px;direction:ltr;position:absolute;left:50%;top:50%;display:flex;height:var(--h);margin:calc(var(--h)/-2) 0 0 calc(var(--h)*-2.925);filter:drop-shadow(0 2px 4px rgba(0,0,0,.55));z-index:3}
.ar-vs2 .xp i{display:block;height:100%}
.ar-vs2 .xp .t{width:calc(var(--h)*1.47);background-size:100% 100%}
.ar-vs2 .xp .h{width:calc(var(--h)*1.08);background-size:100% 100%}
.ar-vs2 .xp .b{width:calc(var(--h)*3.3);background-size:100% 100%}
.ar-vs2 .xp.op .t{background-image:url(img/ar/pn-r-t.webp)}.ar-vs2 .xp.op .b{background-image:url(img/ar/pn-r-b.webp)}.ar-vs2 .xp.op .h{background-image:url(img/ar/pn-r-h.webp)}
.ar-vs2 .xp.me .t{background-image:url(img/ar/pn-g-t.webp)}.ar-vs2 .xp.me .b{background-image:url(img/ar/pn-g-b.webp)}.ar-vs2 .xp.me .h{background-image:url(img/ar/pn-g-h.webp)}
.ar-vs2 .xp.op{transform:rotate(45deg);animation:xpL .7s .35s cubic-bezier(.2,1.15,.35,1) both}
.ar-vs2 .xp.me{transform:rotate(-45deg);animation:xpR .7s .5s cubic-bezier(.2,1.15,.35,1) both}
@keyframes xpL{from{opacity:0;transform:translate(-190px,-330px) rotate(10deg) scale(1.7)}25%{opacity:1}to{opacity:1;transform:rotate(45deg)}}
@keyframes xpR{from{opacity:0;transform:translate(190px,-330px) rotate(-10deg) scale(1.7)}25%{opacity:1}to{opacity:1;transform:rotate(-45deg)}}
.ar-vs2 .sw:has(.cd) .xp{display:none}
@media (prefers-reduced-motion:reduce){.ar-vs2 .xp{animation:none!important;opacity:1}}
/* v716 (Khalid): tug pencils start long and equal; whoever scores grows and the other pencil shortens ("breaks"); a tie keeps them equal */
.ar-pens .pn{width:calc(var(--mn) + (100% - 6px - 2*var(--mn))*var(--w,.5))}
.ar-pens .pn.snap{animation:pnSnap .4s ease-out}
@keyframes pnSnap{0%,100%{transform:translateX(0)}20%{transform:translateX(-3px) rotate(-1.5deg)}50%{transform:translateX(3px) rotate(1.5deg)}75%{transform:translateX(-2px)}}
@media (prefers-reduced-motion:reduce){.ar-pens .pn.snap{animation:none}}
/* v718 certificates */
.cert-mo{max-height:82vh;overflow-y:auto}
.cert-mo .cert-wait{padding:30px 0;text-align:center;opacity:.75}
.cert-it{display:flex;flex-direction:column;gap:8px;margin:0 0 16px}
.cert-it img{width:100%;height:auto;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,.35);display:block}
.cert-it .btn,.cert-mo>.btn{width:100%}
.rs2-cert{width:100%;margin:10px 0 4px}
.s-cert{width:100%;margin-top:12px}
html body.wide .nw-foot{max-width:calc(min(980px, 100vw) - 32px)} /* v721 (Khalid): «التالي» as wide as the cards on iPad */
html body .nw-foot .btn.nw-go{min-height:62px;height:62px} /* v722 (Khalid «ارتفاع الزر»): same height with or without the back button */
/* v723 Kuwait islands on the arena orbit */
.ar-orb.kw .ar-isl{display:flex;align-items:center;justify-content:center}
.ar-orb.kw .kw-g{position:relative;display:block;flex:none;max-width:none;animation:arIsl 4s ease-in-out infinite}
.ar-orb.kw .ar-isl img{position:static;width:100%;height:auto;animation:none;filter:none}
.ar-orb.kw .kw-g>img.kw-b{display:block;width:100%;height:100%;filter:drop-shadow(0 16px 18px rgba(0,0,0,.6))}
.ar-orb.kw .ar-isl.lk .kw-g>img.kw-b{filter:grayscale(1) brightness(.55) drop-shadow(0 16px 18px rgba(0,0,0,.6))}
.ar-orb.kw .ar-isl.lk .kp,.ar-orb.kw .ar-isl.lk .ar-glow{display:none}
.kw-g em{position:absolute;font-style:normal;z-index:3;pointer-events:none}
.kw-g .kw-lock{left:50%;top:52%;transform:translate(-50%,-50%);font-size:34px;filter:drop-shadow(0 2px 4px #000)}
.kw-g .kw-ok{top:2%;right:8%;width:30px;height:30px;border-radius:50%;background:#34C759;color:#fff;font-weight:900;font-size:17px;display:grid;place-items:center;border:2px solid #000}
.kw-g .kp{position:absolute;pointer-events:none;display:block}
.kw-g .kp img{display:block;width:100%;height:auto}
.ar-isl:not(.front) .kw-g .kp,.ar-isl:not(.front) .kw-g .kp img{animation-play-state:paused!important}
.ar-isl:not(.front) .kw-g .kp-gu,.ar-isl:not(.front) .kw-g .kp-he,.ar-isl:not(.front) .kw-g .kp-beam,.ar-isl:not(.front) .kw-g .kp-tw{opacity:0}
.kw-g .kp-tu1{width:17%;left:58%;top:58%;animation:kwWalk 9s ease-in-out infinite}
@keyframes kwWalk{0%{transform:translateX(0) scaleX(1)}45%{transform:translateX(-110%) scaleX(1)}50%{transform:translateX(-110%) scaleX(-1)}95%{transform:translateX(0) scaleX(-1)}100%{transform:translateX(0) scaleX(1)}}
.kw-g .kp-tu4{width:24%;left:34%;top:42%;animation:kwSwim 8s ease-in-out infinite}
@keyframes kwSwim{0%{transform:translate(0,0) rotate(-6deg) scaleX(1)}25%{transform:translate(55%,10%) rotate(4deg) scaleX(1)}48%{transform:translate(95%,-6%) rotate(-4deg) scaleX(1)}52%{transform:translate(95%,-6%) rotate(4deg) scaleX(-1)}75%{transform:translate(40%,16%) rotate(-4deg) scaleX(-1)}98%{transform:translate(0,0) rotate(6deg) scaleX(-1)}100%{transform:translate(0,0) rotate(-6deg) scaleX(1)}}
.kw-g .kp-gu{width:18%;left:20%;top:-14%;animation:kwCircle 7s linear infinite}
.kw-g .kp-gu img{animation:kwFlap .5s ease-in-out infinite alternate}
@keyframes kwCircle{0%{transform:translate(-60%,30%) scale(.8) scaleX(-1)}25%{transform:translate(0,0) scale(.9) scaleX(-1)}49%{transform:translate(60%,25%) scale(1) scaleX(-1)}51%{transform:translate(60%,25%) scale(1) scaleX(1)}75%{transform:translate(0,55%) scale(.85) scaleX(1)}99%{transform:translate(-60%,30%) scale(.8) scaleX(1)}100%{transform:translate(-60%,30%) scale(.8) scaleX(-1)}}
@keyframes kwFlap{to{transform:scaleY(.82)}}
.kw-g .kp-flag{inset:0;clip-path:inset(1% 14% 56% 33.5%);transform-origin:34% 22%;animation:kwWave 1.4s ease-in-out infinite alternate}
@keyframes kwWave{0%{transform:skewY(-1.2deg) scale(1.03,1.02)}100%{transform:skewY(1.2deg) scale(1.06,1.04)}}
.kw-g .kp-boat{inset:0;clip-path:inset(18% 4% 42% 58%);transform-origin:77% 56%;animation:kwRock 2.4s ease-in-out infinite alternate}
@keyframes kwRock{0%{transform:rotate(-3deg) translateY(1px)}100%{transform:rotate(3deg) translateY(-2px)}}
.kw-g .kp-beam{left:51%;top:16%;width:150%;height:26%;transform:translate(-50%,-50%);background:radial-gradient(closest-side,rgba(255,214,120,.95),rgba(255,190,80,.35) 45%,transparent 75%);mix-blend-mode:screen;animation:kwBeam 3s ease-in-out infinite}
@keyframes kwBeam{0%,100%{transform:translate(-50%,-50%) scaleX(1);opacity:.95}50%{transform:translate(-50%,-50%) scaleX(.12);opacity:.35}}
.kw-g .kp-he{width:26%;left:40%;top:-22%;animation:kwHover 6s ease-in-out infinite}
.kw-g .kp-he img{animation:kwFlap .7s ease-in-out infinite alternate}
@keyframes kwHover{0%,100%{transform:translate(60%,10%) rotate(-4deg)}50%{transform:translate(-90%,-10%) rotate(3deg)}}
.kw-g .kp-pa8{inset:0;clip-path:inset(0 27% 63% 44%);transform-origin:57% 34%;animation:kwSway 3.2s ease-in-out infinite alternate}
.kw-g .kp-pa2{inset:0;clip-path:inset(0 42% 48% 0);transform-origin:20% 50%;animation:kwSway 3.6s ease-in-out infinite alternate}
@keyframes kwSway{0%{transform:rotate(-2.5deg)}100%{transform:rotate(2.5deg)}}
.kw-g .kp-tw{width:14px;height:14px;background:radial-gradient(circle,#fff 0 18%,rgba(255,225,140,.9) 30%,transparent 70%);clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);animation:kwTw 2.2s ease-in-out infinite}
@keyframes kwTw{0%,100%{transform:scale(0) rotate(0)}50%{transform:scale(1.4) rotate(45deg)}}
.kw-g .kp-fl{width:11%;left:50%;top:34%;animation:kwWade 12s ease-in-out infinite}
@keyframes kwWade{0%,100%{transform:translateX(0) scaleX(1)}45%{transform:translateX(-160%) scaleX(1)}50%{transform:translateX(-160%) scaleX(-1)}95%{transform:translateX(0) scaleX(-1)}}
.kw-g .kp{transition:opacity .4s}
@media (prefers-reduced-motion:reduce){.kw-g,.kw-g .kp,.kw-g .kp img{animation:none!important}}
.kw-nm{gap:4px}
.kw-nm>b{color:#F5C542}
.kw-nm .kw-inf{color:#C7C7CC;font-size:14px;font-weight:600}
.kw-nm .kw-st{display:flex;gap:7px;justify-content:center;flex-wrap:wrap;max-width:300px;min-height:0}
.kw-nm .kw-st i{width:14px;height:14px;border-radius:50%;background:#2C2C2E;border:2px solid #F5C542}
.kw-nm .kw-st i.f{background:#F5C542}.kw-nm .kw-st i.n{background:#C8102E;border-color:#fff;box-shadow:0 0 10px #C8102E}
.kw-nm .kw-hint{color:#C7C7CC;font-size:14px}.kw-nm .kw-hint b{color:#F5C542}
.kw-trip{display:flex;gap:3px;direction:rtl}
.kw-trip i{flex:1;height:10px;border-radius:5px;background:#2C2C2E}
.kw-trip i.d{background:#F5C542}
.kw-trip i.c{background:linear-gradient(to left,#F5C542 var(--p,0%),#2C2C2E var(--p,0%))}
.kw-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:6px 0 12px}
.kw-list>div{display:flex;flex-direction:column;align-items:center;gap:2px;background:#1C1C1E;border-radius:14px;padding:8px 4px;text-align:center}
.kw-list img{width:100%;max-width:90px;aspect-ratio:1;object-fit:contain}
.kw-list b{font-size:14px}.kw-list small{font-size:12px;color:#C7C7CC}
.kw-list .c{box-shadow:inset 0 0 0 2px #F5C542}.kw-list .c small{color:#F5C542}
.kw-list .l img{filter:grayscale(1) brightness(.55)}
/* v724 (Khalid «الزر يتغير مكانه»): the stations row keeps its height on every island, so «العب» never moves */
html body .kw-nm .kw-st{min-height:20px;align-items:center;margin:4px 0 2px}
html body .kw-nm .kw-hint{min-height:22px}
/* v727 titles «ألقابي» + promotion */
html body .tt{display:flex;flex-direction:column;gap:12px;color:#fff}
html body .tt .sheet-t{margin:0;font-size:20px;font-weight:800}
.tt-hero{background:linear-gradient(160deg,#2a1a08,#1C1C1E 60%);border:1px solid rgba(245,197,66,.35);border-radius:22px;padding:12px;display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center}
.tt-hero img{width:110px;height:110px;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(0,0,0,.6))}
.tt-hero small{color:#F5C542;font-weight:800;font-size:12px}
.tt-hero b{display:block;font-size:28px;font-weight:800;line-height:1.2}
.tt-hero p{margin:4px 0 0;color:#C7C7CC;font-size:14px;line-height:1.7}
.tt-nx{display:flex;align-items:center;gap:10px;background:#1C1C1E;border-radius:16px;padding:10px 12px}
.tt-nx img{width:46px;height:46px;object-fit:contain;filter:brightness(0);opacity:.55}
.tt-nx div{flex:1;min-width:0;font-size:14px;color:#C7C7CC}.tt-nx div b{color:#fff}
.tt-nx small{color:#C7C7CC;font-size:12px;white-space:nowrap}
.tt-bar{display:block;height:8px;border-radius:5px;background:#2C2C2E;overflow:hidden;margin-top:6px}.tt-bar i{display:block;height:100%;background:#F5C542;border-radius:5px}
.tt-gt{font-size:15px;font-weight:800;margin:2px 0 -4px}
.tt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tt-c{position:relative;background:#1C1C1E;border:0;border-radius:16px;padding:8px 4px;color:#fff;font-family:inherit;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;min-width:0}
.tt-c img{width:100%;max-width:88px;aspect-ratio:1;object-fit:contain}
.tt-c b{font-size:14px;font-weight:800}.tt-c small{font-size:11px;color:#C7C7CC}
.tt-c.cur{box-shadow:inset 0 0 0 2px #F5C542;background:#24200f}.tt-c.cur small{color:#F5C542}
.tt-c.d em{position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:50%;background:#34C759;font-style:normal;font-size:12px;font-weight:900;display:grid;place-items:center}
.tt-c.l img{filter:brightness(0);opacity:.5}.tt-c.l b{color:#8E8E93}
.tt-c.l em{position:absolute;top:38%;left:50%;transform:translate(-50%,-50%);font-style:normal;font-size:22px}
.tt-one,.tt-up{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;color:#fff}
.tt-one img,.tt-up img{width:180px;height:180px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.6))}
.tt-one.l img{filter:brightness(0);opacity:.5}
.tt-one b,.tt-up b{font-size:28px;font-weight:800}
.tt-one small,.tt-up small{color:#F5C542;font-weight:700;font-size:13px}
.tt-one p,.tt-up p{color:#C7C7CC;font-size:15px;line-height:1.8;margin:2px 0 10px}
.tt-up h3{margin:0;font-size:22px}
.tt-one .btn,.tt-up .btn{width:100%}
/* v728 title characters in the picker */
html body .s-avg.s-avt button{position:relative;overflow:hidden}
html body .s-avg.s-avt button .avi{width:96%;margin-top:4%;border-radius:0;background:none;box-shadow:none}
html body .s-avg.s-avt button .avi img{width:100%;height:100%;object-fit:contain}
html body .s-avg.s-avt button.lk{opacity:1}
html body .s-avg.s-avt button.lk img{filter:brightness(0);opacity:.5}
html body .s-avg.s-avt button.lk em{position:absolute;font-style:normal;font-size:22px}
html body .s-avg.s-avt{grid-template-columns:repeat(3,minmax(0,1fr))}
html body .s-avg.s-avt button .avi,html body .s-avg.s-avt button .avi img{border-radius:0;overflow:visible;clip-path:none;-webkit-mask:none;mask:none}
html body .ar-me3 .ar-ttb{flex:0 0 74px;width:74px;height:74px;margin:-14px 0 -8px -2px;padding:0;border:0;background:none;cursor:pointer;align-self:center}
html body .ar-me3 .ar-ttb img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.55))}
/* v729 island screen locked (no page scroll) */
html:has(body.ar-lock),body.ar-lock{overflow:hidden;overscroll-behavior:none}
body.ar-lock{position:fixed;inset:0;width:100%}
@media (max-height:720px){html body .ar .ar-go img{width:min(30vw,112px)!important}html body .kw-nm>b{font-size:26px}html body .ar .ar-cap{margin-top:0}}
html body .ar-fisl.ar-fkw{width:min(56vw,220px);height:auto;margin:-6px auto 0}
/* v732 (Khalid): oars instead of pencils (face-off cross + points bar) */
html body .ar-pens{--h:28px;--mn:calc(var(--h)*3.1)}
html body .ar-pens .t{width:calc(var(--h)*.91)}html body .ar-pens .h{width:calc(var(--h)*2.14)}
html body .ar-pens .op .t{background-image:url(img/ar/or-r-t.webp)}html body .ar-pens .op .b{background-image:url(img/ar/or-r-b.webp)}html body .ar-pens .op .h{background-image:url(img/ar/or-r-h.webp)}
html body .ar-pens .me .t{background-image:url(img/ar/or-g-t.webp)}html body .ar-pens .me .b{background-image:url(img/ar/or-g-b.webp)}html body .ar-pens .me .h{background-image:url(img/ar/or-g-h.webp)}
html body .ar-vs2 .xp{--h:30px;margin:calc(var(--h)/-2) 0 0 calc(var(--h)*-2.775)}
html body .ar-vs2 .xp .t{width:calc(var(--h)*.91)}html body .ar-vs2 .xp .h{width:calc(var(--h)*2.14)}html body .ar-vs2 .xp .b{width:calc(var(--h)*2.5)}
html body .ar-vs2 .xp.op .t{background-image:url(img/ar/or-r-t.webp)}html body .ar-vs2 .xp.op .b{background-image:url(img/ar/or-r-b.webp)}html body .ar-vs2 .xp.op .h{background-image:url(img/ar/or-r-h.webp)}
html body .ar-vs2 .xp.me .t{background-image:url(img/ar/or-g-t.webp)}html body .ar-vs2 .xp.me .b{background-image:url(img/ar/or-g-b.webp)}html body .ar-vs2 .xp.me .h{background-image:url(img/ar/or-g-h.webp)}
/* v732 sea bar */
.ar-sea{position:relative;height:56px;direction:ltr}
.ar-sea::before{content:'';position:absolute;left:0;right:0;bottom:6px;height:14px;border-radius:99px;background:linear-gradient(180deg,#1f6f8b,#0E2256);box-shadow:inset 0 2px 3px rgba(255,255,255,.25),0 2px 6px rgba(0,0,0,.5)}
.ar-sea .wv{position:absolute;left:8px;right:8px;bottom:10px;height:6px;background:radial-gradient(circle at 50% 0,transparent 3px,rgba(255,255,255,.45) 3.5px,transparent 4.5px) 0 0/12px 6px repeat-x;animation:seaWv 2.4s linear infinite;opacity:.8}
@keyframes seaWv{to{background-position:24px 0}}
.ar-sea .fl{position:absolute;bottom:4px;width:6px;height:30px;border-radius:3px}
.ar-sea .fl::after{content:'';position:absolute;top:0;width:16px;height:12px}
.ar-sea .fl.op{left:-2px;background:#C8102E}.ar-sea .fl.op::after{left:6px;background:#C8102E;clip-path:polygon(0 0,100% 50%,0 100%)}
.ar-sea .fl.me{right:-2px;background:#F5C542}.ar-sea .fl.me::after{right:6px;background:#F5C542;clip-path:polygon(100% 0,0 50%,100% 100%)}
.ar-sea .bt{position:absolute;bottom:9px;width:54px;height:auto;left:calc((1 - var(--w,.5)) * (100% - 54px));transition:left .8s cubic-bezier(.3,1.3,.5,1);filter:drop-shadow(0 3px 4px rgba(0,0,0,.6));animation:btBob 2.2s ease-in-out infinite}
@keyframes btBob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-3px) rotate(2deg)}}
@media (prefers-reduced-motion:reduce){.ar-sea .bt,.ar-sea .wv{animation:none}.ar-sea .bt{transition:none}}
html body .ar-sea .bt{width:62px;left:calc((1 - var(--w,.5)) * (100% - 62px))}
/* v732 sea image from Khalid (caps + repeating waves) */
html body .ar-sea::before{left:14px;right:14px;bottom:4px;height:24px;border-radius:0;box-shadow:none;background:url(img/ar/sea-m.webp) 0 0/auto 100% repeat-x;animation:seaMv 6s linear infinite}
@keyframes seaMv{to{background-position:-44.6px 0}}
html body .ar-sea .wv{left:0;right:0;bottom:4px;height:24px;opacity:1;animation:none;background:url(img/ar/sea-l.webp) left 0/auto 100% no-repeat,url(img/ar/sea-r.webp) right 0/auto 100% no-repeat}
html body .ar-sea .fl{bottom:2px;height:34px;z-index:1}
html body .ar-sea .bt{bottom:14px;z-index:2}
@media (prefers-reduced-motion:reduce){html body .ar-sea::before{animation:none}}
html body .ar-vs2 .xp{--h:20px;margin:calc(var(--h)/-2) 0 0 calc(var(--h)*-2.625)}
html body .ar-vs2 .xp .b{width:calc(var(--h)*2.2)}
html body .ar-fisl.ar-fkw{width:min(56vw,200px,20dvh)}
/* v736 growth: «تحدَّ ربعك» + ستوري on the arena result, dare landing #/d/CODE */
.ar-shr{display:flex;gap:8px;width:100%}
html body:not(.wide) .sh.pvx .ar-rbtns .ar-shr .btn{flex:1 1 0;width:auto!important;justify-content:center}
html body:not(.wide) .sh.pvx .ar-rbtns .ar-shr .ar-sto{flex:0 0 38%}
.dr-land{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:24px 20px calc(env(safe-area-inset-bottom) + 24px)!important}
.dr-lg{width:230px;-webkit-mask-image:radial-gradient(farthest-side,#000 70%,transparent);mask-image:radial-gradient(farthest-side,#000 70%,transparent)}
.dr-vs{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:360px}
.dr-av{width:118px;height:118px;flex:0 0 118px;border-radius:50%;border:5px solid #F5B72B;background:radial-gradient(circle at 50% 40%,#e0303f,#7a0010);overflow:hidden;position:relative;display:block}
.dr-av img{position:absolute;bottom:-2px;left:50%;transform:translateX(-50%);width:108px}
.dr-q{background:#1C1C1E;display:grid;place-items:center;font-size:64px;font-weight:900;color:#F5B72B}
.dr-boom{width:70px;flex:0 0 70px}
.dr-land h2{font-size:28px;font-weight:900;margin:4px 0 0}
.dr-land h2 bdi{color:#F5B72B}
.dr-sub{color:#C7C7CC;font-size:16px;line-height:1.6;margin:0}
.dr-sub b{color:#fff}
.dr-land .btn{width:100%;max-width:360px}
.dr-go{margin-top:10px}
.dr-hint{color:#8E8E93;font-size:13px;margin:0}
/* v737 sea helps */
.ar-hp{display:flex;justify-content:center;gap:8px;flex:none;margin:2px 0 6px}
.ar-hp button{display:flex;flex-direction:column;align-items:center;gap:1px;width:58px;padding:4px 0 3px;border-radius:14px;background:#1C1C1E;border:1px solid #2C2C2E;color:#C7C7CC;font:inherit;cursor:pointer}
.ar-hp button img{width:36px;height:36px;object-fit:contain;display:block}
.ar-hp button small{font-size:10.5px;font-weight:700;line-height:1.2}
.ar-hp button:active:not(:disabled){transform:scale(.9)}
.ar-hp button:disabled{opacity:.35}
.ar-hp button.on{opacity:1;border-color:#F5B72B;box-shadow:0 0 12px rgba(245,183,43,.45);color:#F5B72B}
.ar-round .qbox{position:relative}
.ar-round .hp-badge{position:absolute;top:-14px;inset-inline-start:-8px;width:40px;height:40px;object-fit:contain;animation:hpIn .5s cubic-bezier(.3,1.6,.5,1)}
.ar-round .opt.hp-gone{opacity:.12!important;pointer-events:none}
@keyframes hpIn{from{transform:scale(0) rotate(-30deg)}to{transform:none}}
@media (max-height:720px){.ar-hp button{width:50px}.ar-hp button img{width:30px;height:30px}.ar-hp button small{font-size:9.5px}}
/* v738 أبطال الأسبوع */
.ch-card{display:block;width:100%;background:linear-gradient(160deg,#3a2a00,#1C1C1E 60%);border:1px solid #6b5300;border-radius:18px;padding:12px 10px;margin:0 0 12px;color:#fff;font:inherit;text-align:center;cursor:pointer}
.ch-h{display:block;font-size:15px;font-weight:900;color:#F5B72B}
.ch-pod{display:flex;justify-content:center;align-items:flex-end;gap:12px;margin-top:8px}
.ch-p{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;font-weight:800;min-width:0;max-width:96px}
.ch-p bdi{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:96px}
.ch-p em{font-style:normal;font-size:18px;line-height:1}
.ch-p.me bdi{color:#F5B72B}
.ch-av{display:block;position:relative;width:58px;height:58px;border-radius:50%;border:3px solid #F5B72B;background:radial-gradient(circle at 50% 40%,#e0303f,#7a0010);overflow:hidden;flex:0 0 auto}
.ch-av img{position:absolute;bottom:-1px;left:50%;transform:translateX(-50%);width:92%;max-width:none}
.ch-p.r1 .ch-av{width:76px;height:76px}
.ch-av.big{width:120px;height:120px;border-width:5px;margin:6px auto}
.ch-av.sm{width:40px;height:40px;border-width:2px;flex:0 0 40px}
.ch-mo{display:flex;flex-direction:column;gap:10px;text-align:center}
.ch-cert{background:linear-gradient(170deg,#2b2000,#121212 55%);border:2px solid #F5B72B;border-radius:22px;padding:16px 12px}
.ch-crown{font-size:40px;line-height:1}
.ch-cert h3{font-size:22px;font-weight:900;color:#F5B72B;margin:6px 0 0}
.ch-nm{display:block;font-size:22px;font-weight:900}
.ch-wk{color:#C7C7CC;font-size:14px;margin:2px 0}
.ch-list{display:flex;flex-direction:column;gap:6px}
.ch-row{display:flex;align-items:center;gap:8px;background:#1C1C1E;border-radius:12px;padding:6px 10px;font-weight:800}
.ch-row em{font-style:normal;font-size:20px}
.ch-row b{margin-inline-start:auto;color:#F5B72B}
.ar-hp button.used{position:relative;opacity:.45;filter:grayscale(1)}
.ar-hp button.used::after{content:'✓';position:absolute;top:-6px;inset-inline-end:-6px;width:20px;height:20px;border-radius:50%;background:#3A3A3C;color:#fff;font-size:12px;font-weight:800;line-height:20px;text-align:center}
.hp-tip{position:fixed;z-index:60;background:#FFF8EC;color:#1C1C1E;border-radius:18px;padding:14px 16px 16px;box-shadow:0 10px 30px rgba(0,0,0,.5);text-align:center;animation:hpTip .35s cubic-bezier(.3,1.5,.5,1);overflow:hidden}
.hp-tip::after{content:"";position:absolute;bottom:-8px;left:calc(var(--ax) - 9px);border:9px solid transparent;border-bottom:0;border-top-color:#FFF8EC}
.hp-tip b{display:block;font-size:18px;color:#8E0B21;margin-bottom:4px}
.hp-tip p{margin:0;font-size:15px;line-height:1.55;font-weight:700}
.hp-tip small{display:block;margin-top:6px;font-size:12.5px;color:#6E6E73}
.hp-tip .hp-tx{position:absolute;top:8px;inset-inline-end:8px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(0,0,0,.08);display:grid;place-items:center;padding:0;cursor:pointer}
.hp-tip .hp-tx svg{width:14px;height:14px;color:#1C1C1E}
.hp-tip .hp-bar{position:absolute;left:0;right:0;bottom:0;height:4px;background:#F5B72B;transform-origin:right;animation:hpBar 6s linear forwards}
@keyframes hpBar{to{transform:scaleX(0)}}
@keyframes hpTip{from{opacity:0;transform:translateY(10px) scale(.9)}to{opacity:1;transform:none}}
.ar-hp button.hp-glow{border-color:#F5B72B;box-shadow:0 0 0 3px rgba(245,183,43,.35),0 0 18px rgba(245,183,43,.6);animation:hpGl 1s ease-in-out infinite alternate}
@keyframes hpGl{to{transform:scale(1.08)}}
.hp-wait{pointer-events:none;opacity:.6}
/* image questions in the arena; payload reveal:'blur' starts blurred and clears with the clock */
.ar-round .qbox.has-img{display:flex;flex-direction:column;align-items:center;gap:10px}
.ar-round .ar-qimg{display:block;max-width:100%;max-height:min(16dvh,140px);border-radius:14px;object-fit:contain;transition:filter .25s linear}
.ar-round .ar-qimg.blur{filter:blur(18px)}
.ar-round .qbox.has-img{overflow:hidden}
/* Night Sea (Khalid + ChatGPT review 2026-11-30): navy-teal sea, ivory question, white answers, red only in small accents, gold for rewards */
html:has(body:not(.wide)),html body:not(.wide)[data-theme]{background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%) fixed!important}
html body:not(.wide)[data-theme]{--bg:var(--n0)}
html body:not(.wide) .sh.pvx:not(.ar-find):not(.ar-res):not(.cin)::before{background:radial-gradient(70vw 60vw at 85% 6%,color-mix(in srgb,var(--tl) 12%,transparent),transparent 70%),radial-gradient(70vw 55vw at 80% 100%,rgba(227,178,60,.08),transparent 70%)!important}
html body .sh.pvx.ar-find{background:radial-gradient(circle at 50% 36%,color-mix(in srgb,var(--tl) 16%,transparent),transparent 55%),transparent!important}
html body .sh.pvx.ar-find::after{background:repeating-conic-gradient(from 3deg at 50% 36%,rgba(22,51,110,.5) 0 6deg,transparent 6deg 14deg)!important}
html body .ar-vs2{background:radial-gradient(90% 45% at 50% 18%,color-mix(in srgb,var(--tl) 16%,transparent),transparent 70%),radial-gradient(90% 45% at 50% 84%,rgba(227,178,60,.14),transparent 70%),repeating-conic-gradient(from 0deg at 50% 50%,rgba(255,255,255,.03) 0 6deg,transparent 6deg 12deg),linear-gradient(180deg,var(--n0),var(--n1) 55%,var(--n2))!important}
html body .play.pv.pvx.ar-round{background:repeating-conic-gradient(from 0deg at 50% 30%,rgba(22,51,110,.45) 0 6deg,transparent 6deg 12deg),linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%)!important}
html body .play.pv.pvx.ar-round::after{content:"";position:fixed;left:0;right:0;bottom:0;height:70px;z-index:0;pointer-events:none;opacity:.35;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 70' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q50 10 100 30 T200 30 T300 30 T400 30 V70 H0Z' fill='%2339C7CF' opacity='.35'/%3E%3Cpath d='M0 45 Q50 28 100 45 T200 45 T300 45 T400 45 V70 H0Z' fill='%23105762'/%3E%3C/svg%3E") bottom/100% 100% no-repeat}
html body .play.pv.pvx.ar-round > *{position:relative;z-index:1}
html body .play.pv.pvx.ar-round .ar-x{position:absolute}
html body .play.pv.pvx.ar-round.ar-round .qbox,html body[data-theme] .play.pv.pvx.ar-round.ar-round .pv-panel .qbox{background:#FFF4DF!important;border:2px solid #D4AA50!important;border-radius:22px!important;box-shadow:0 6px 0 rgba(0,0,0,.28)!important;padding:22px 18px!important}
html body .play.pv.pvx.ar-round.ar-round .qbox span{color:#14243A!important;font-weight:800!important}
html body .play.pv.pvx.ar-round.ar-round .opts .opt,html body[data-theme] .play.pv.pvx.ar-round.ar-round .opts.kc .opt:nth-child(n):not(.good):not(.bad):not(.picked){background:#F8FAFC!important;border:0!important;border-radius:18px!important;box-shadow:0 5px 0 #9DB0C4!important;position:relative;overflow:hidden!important;padding:10px 14px 10px 18px!important}
html body .play.pv.pvx.ar-round.ar-round .opts .opt .txt{color:#17283B!important}
html body[data-theme] .play.pv.pvx.ar-round.ar-round .opts.kc .opt:nth-child(n)::before{content:""!important;display:block!important;position:absolute!important;inset:0 0 0 auto!important;width:5px!important;height:auto!important;border-radius:0!important;background:var(--sc)!important}
html body .play.pv.pvx.ar-round.ar-round .opts .opt.oc0{--sc:#C8102E}
html body .play.pv.pvx.ar-round.ar-round .opts .opt.oc1{--sc:#3285DB}
html body .play.pv.pvx.ar-round.ar-round .opts .opt.oc2{--sc:#E3B23C}
html body .play.pv.pvx.ar-round.ar-round .opts .opt.oc3{--sc:#299B69}
html body[data-theme] .play.pv.pvx.ar-round.ar-round .opts.kc .opt:nth-child(n).good,html body .play.pv.pvx.ar-round.ar-round .opts .opt.good{background:#167A49!important;box-shadow:0 5px 0 #0D4F2F,0 0 22px rgba(22,122,73,.6)!important;border-radius:18px!important;filter:none}
html body[data-theme] .play.pv.pvx.ar-round.ar-round .opts.kc .opt:nth-child(n).bad,html body .play.pv.pvx.ar-round.ar-round .opts .opt.bad{background:#C8102E!important;box-shadow:0 5px 0 #7A0A1C!important;border-radius:18px!important}
html body .play.pv.pvx.ar-round.ar-round .opts .opt:is(.good,.bad) .txt{color:#fff!important}
html body .play.pv.pvx.ar-round.ar-round .opts .opt:is(.good,.bad)::before{display:none!important}
html body .play.pv.pvx.ar-round.ar-round .ar-qn{background:color-mix(in srgb,var(--n0) 60%,transparent)!important;border:1.5px solid #E3B23C!important;color:#F4ECEE!important}
html body .play.pv.pvx.ar-round.ar-round #tfg{background:var(--tl)!important;box-shadow:0 0 10px color-mix(in srgb,var(--tl) 60%,transparent)!important}
html body .play.pv.pvx.ar-round.ar-round .ar-clk{--trk:#30495D}
.ar-hp button{background:#0E2256;border-color:#38586B;color:#F4ECEE}
html body .s-nav{background:color-mix(in srgb,var(--n0) 88%,transparent)!important;border-color:rgba(255,255,255,.08)!important}
/* calmer pass (ChatGPT mock 2026-11-30): no rays, navy score cards + reactions, bigger helps */
html body .play.pv.pvx.ar-round{background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%)!important}
html body .ar-scp{background:color-mix(in srgb,var(--n0) 85%,transparent)!important;border:1.5px solid #38586B!important}
html body .ar-scp b{color:#E3B23C!important}
html body .ar-round .ar-emo button[data-k]{background:#0E1938!important;border:1.5px solid #38586B!important;box-shadow:0 3px 0 rgba(0,0,0,.35)!important}
html body .ar-round .ar-hp{gap:12px;margin:6px 0 10px}
html body .ar-round .ar-hp button{width:72px;padding:6px 0 5px;border-radius:16px}
html body .ar-round .ar-hp button img{width:42px;height:42px}
html body .ar-round .ar-hp button small{font-size:12px}
@media (max-height:720px){html body .ar-round .ar-hp button{width:60px}html body .ar-round .ar-hp button img{width:32px;height:32px}}
html body .play.pv.pvx.ar-round::before{display:none!important}
html body .play.pv.pvx.ar-round.ar-round .qbox span{font-size:24px!important;font-weight:900!important}
html body .play.pv.pvx.ar-round.ar-round .opts .opt .txt{font-size:21px!important;font-weight:900!important}
/* Khalid 2026-11-30: no colour stripes on the answer cards */
html body[data-theme] .play.pv.pvx.ar-round.ar-round .opts.kc .opt:nth-child(n)::before{display:none!important}
html body .play.pv.pvx.ar-round.ar-round .opts .opt,html body[data-theme] .play.pv.pvx.ar-round.ar-round .opts.kc .opt:nth-child(n):not(.good):not(.bad):not(.picked){padding:10px 14px!important}
.ar-remo{display:flex;flex-direction:column;align-items:center;gap:6px;margin:2px 0 4px}
.ar-remo small{font-size:13px;color:#C7D3DE;font-weight:700}
.ar-remo>div{display:flex;gap:8px}
.ar-remo button{width:44px;height:44px;border-radius:50%;padding:6px;background:#0E1938;border:1.5px solid #38586B;cursor:pointer}
.ar-remo button svg,.ar-remo button img{width:100%;height:100%;display:block}
.ar-remo button:active{transform:scale(.88)}
.ar-remo.sent button{opacity:.3;pointer-events:none}
.ar-remo.sent button.on{opacity:1;border-color:#E3B23C;box-shadow:0 0 12px rgba(227,178,60,.5);transform:scale(1.1)}
/* Khalid 2026-11-30: no stopwatch, a soft counter in Arabic digits beside the bar */
html body .ar-round .ar-clk .ar-swc,html body .ar-round .ar-clk.hurry .ar-swc{background:none!important;width:40px!important}
html body .ar-round .ar-clk .ar-swc b,html body .ar-round .ar-clk.hurry .ar-swc b{visibility:visible!important;padding:0!important;font-size:24px!important;font-weight:800!important;color:#E6EEF5!important;text-shadow:none!important;animation:none!important;transition:color .3s}
html body .ar-round .ar-clk.hurry .ar-swc b{color:#F0AD38!important}
html body .ar-round .ar-clk::after{background:#16336E!important}
html body .ar-round .ar-clk::before,html body .ar-round .ar-clk .ar-rays{display:none!important}
/* Khalid 2026-11-30: no stopwatch, a soft counter in Arabic digits beside the bar */
html body .ar-round .ar-clk .ar-swc,html body .ar-round .ar-clk.hurry .ar-swc{background:none!important;width:40px!important}
html body .ar-round .ar-clk .ar-swc b,html body .ar-round .ar-clk.hurry .ar-swc b{visibility:visible!important;padding:0!important;font-size:24px!important;font-weight:800!important;color:#E6EEF5!important;text-shadow:none!important;animation:none!important;transition:color .3s}
html body .ar-round .ar-clk.hurry .ar-swc b{color:#F0AD38!important}
html body .ar-round .ar-clk::after{background:#16336E!important}
html body .ar-round .ar-clk::before,html body .ar-round .ar-clk .ar-rays{display:none!important}
.ar-fly{position:fixed;z-index:80;pointer-events:none;padding:6px}
.ar-fly svg,.ar-fly img{width:100%;height:100%;display:block}
.ar-remo.sent{opacity:0;transition:opacity .4s .5s}
.ar-sea .fl{display:none!important} /* Khalid 2026-11-30: no flags on the sea bar */
/* dots instead of the dhow bar */
.ar-dots{display:flex;gap:5px;justify-content:center;margin-top:6px}
.ar-dots i{width:11px;height:11px;border-radius:50%;border:1.5px solid #4A6A80;background:transparent;transition:background .3s,border-color .3s}
.ar-dots i.dk{background:#22C55E;border-color:#22C55E;box-shadow:0 0 6px rgba(34,197,94,.6)}
.ar-dots i.dx{background:#1A3D82;border-color:#4A6A80}
.ar-vsx{font-size:15px;font-weight:800;color:#8FA6B8;letter-spacing:.5px}
.ar-tg2 .ar-tgm{display:flex;align-items:center;justify-content:center}
/* dots instead of the dhow bar */
.ar-dots{display:flex;gap:5px;justify-content:center;margin-top:6px}
.ar-dots i{width:11px;height:11px;border-radius:50%;border:1.5px solid #4A6A80;background:transparent;transition:background .3s,border-color .3s}
.ar-dots i.dk{background:#22C55E;border-color:#22C55E;box-shadow:0 0 6px rgba(34,197,94,.6)}
.ar-dots i.dx{background:#1A3D82;border-color:#4A6A80}
.ar-vsx{font-size:15px;font-weight:800;color:#8FA6B8;letter-spacing:.5px}
.ar-tg2 .ar-tgm{display:flex;align-items:center;justify-content:center}
html body .ar-round .ar-hp{margin:32px 0 10px}
@media (max-height:720px){html body .ar-round .ar-hp{margin:12px 0 6px}}
html body .ar-round .ar-scp b{display:none!important} /* Khalid: dots only, no score number */
/* v744: players row stays pinned at the top of every round; the rest is centred below it. Result screen never overflows above the status bar on tall phones */
html body .play.pv.pvx.ar-round{justify-content:flex-start!important}
html body .play.pv.pvx.ar-round>.ar-tug{flex:none}
html body .play.pv.pvx.ar-round>.ar-tug+*{margin-top:clamp(12px,4dvh,44px)!important}
html body .play.pv.pvx.ar-round>:last-child{margin-bottom:auto!important}
.ar-res{justify-content:flex-start!important}
.ar-res>:first-child{margin-top:auto}
.ar-res>:last-child{margin-bottom:auto}
html body .play.pv.pvx.ar-round .ar-tug{padding-inline-end:0!important}
html body .play.pv.pvx.ar-round>.ar-x{top:92px!important;left:50%!important;transform:translateX(-50%);width:32px!important;height:32px!important}
html.nosat body .play.pv.pvx.ar-round>.ar-x{top:132px!important}
html body .sh.pvx.ar-res,html body .sh.pvx.ar-res:not(.ar-pres){padding-top:calc(env(safe-area-inset-top) + 14px)!important;padding-bottom:calc(env(safe-area-inset-bottom) + 14px)!important}
html.nosat body .sh.pvx.ar-res,html.nosat body .sh.pvx.ar-res:not(.ar-pres){padding-top:54px!important}
html.nosat body .sh.pvx.ar-find,html.nosat body .ar-vs2{padding-top:54px!important}
html body .sh.pvx.ar-find,html body .ar-vs2{justify-content:flex-start!important}
html body .sh.pvx.ar-find>:first-child,html body .ar-vs2>:first-child{margin-top:auto!important}
html body .sh.pvx.ar-find>:last-child,html body .ar-vs2>:last-child{margin-bottom:auto!important}
/* v749: the +N already floats from the tapped answer (FX.correct), the centre pop duplicated it over the answers */
html body .play.pv.pvx.ar-round .pts-pop{display:none!important}
/* v749: short phones (SE / 667-740px tall): everything in the round fits without scrolling; result buttons no longer cover the score */
@media (max-height:760px){
html body .play.pv.pvx.ar-round{gap:6px!important}
html body .play.pv.pvx.ar-round>.ar-tug+*{margin-top:4px!important}
html body .play.pv.pvx.ar-round .ar-qn{margin-bottom:4px!important}
html body .play.pv.pvx.ar-round .qbox,html body[data-theme] .play.pv.pvx.ar-round .pv-panel .qbox{padding:12px 14px!important}
html body .play.pv.pvx.ar-round .qbox span{font-size:19px!important;line-height:1.45!important}
html body[data-theme] .play.pv.pvx.ar-round .pv-panel .opts{margin-top:10px!important}
html body[data-theme] .play.pv.pvx.ar-round .opts.kc{grid-auto-rows:minmax(58px,auto)!important;gap:8px!important}
html body .play.pv.pvx.ar-round .opts .opt{min-height:58px!important;font-size:17px}
html body .play.pv.pvx.ar-round .ar-hp{margin:0!important}
html body .play.pv.pvx.ar-round .ar-emo{margin-top:4px!important}
html body .play.pv.pvx.ar-round .ar-emo button{width:34px!important;height:34px!important}
.ar-rbtns{position:static!important;background:none!important}
}
/* Night Sea: result screen lower part */
html body .sh.pvx.ar-res .ar-rows{background:rgba(14,25,56,.82);border:1px solid var(--n3)}
html body .sh.pvx.ar-res .ar-lvb .segs i:not(.f){background:#16336E}
html body .sh.pvx.ar-res .ar-rbtns{background:none!important;box-shadow:none!important}
html body:not(.wide) .sh.pvx.ar-res .ar-rbtns .btn.ghost,html body:not(.wide) .sh.pvx.ar-res .ar-rbtns .btn.soft{background:var(--n1)!important;border:1px solid var(--n3)!important;color:#E6EEF5!important;box-shadow:0 4px 0 var(--n0)!important}
@media (max-height:760px){html body .play.pv.pvx.ar-round .ar-hp{margin:6px 0 0!important}html body .sh.pvx.ar-res .ar-rbtns{background:none}}
@media (max-height:760px){
html body .play.pv.pvx.ar-round.ar-round .qbox span{font-size:20px!important}
html body .play.pv.pvx.ar-round.ar-round .opts .opt .txt{font-size:18px!important}
html body .play.pv.pvx.ar-round.ar-round .opts .opt{min-height:58px!important;padding-block:6px!important}
html body .ar-round.ar-round .ar-hp{margin:6px 0 0!important}
}
/* v751 Night Sea: «أنا» cards navy instead of dark red; island strip fades at its edges instead of a hard box */
html body .so-rows,html body:not(.wide) .sh.pvx .s-me-l,html body .s-me-l{background:rgba(16,40,62,.85)!important;border:1px solid var(--n3)!important;box-shadow:0 6px 18px rgba(0,0,0,.3)!important}
html body .so-rows>div+div,html body .so-rows .so-grrow,html body .s-me-l button+button{border-color:rgba(230,238,245,.1)!important}
html body .so-rows span{color:var(--n7)!important}
html body .so-cp{background:var(--n1)!important;border:1px solid var(--n3)}
html body .so-me .so-meh{margin-bottom:16px!important}
html body .so-me .so-meh small{position:relative;z-index:1}
.ar-orb.kw{-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(180deg,#000 80%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(180deg,#000 80%,transparent);mask-composite:intersect}
/* Night Sea: «المراكز» rows, area chips and the «باقي» bar navy */
html body:not(.wide) .sh.pvx .lbx .lbx-r:not(.me),html body .lbx .lbx-r:not(.me){background:rgba(16,40,62,.85)!important;border:1px solid var(--n3)!important;border-radius:18px!important}
html body:not(.wide) .sh.pvx .lbx .lbx-r.me,html body .lbx .lbx-r.me{background:color-mix(in srgb,var(--tl) 12%,transparent)!important;border:1.5px solid #E8B13A!important;border-radius:18px!important;filter:none}
html body .lb-area button{background:rgba(14,25,56,.85);color:var(--n7);border:1px solid var(--n3)}
html body .lb-area button.on{background:var(--n1);color:#fff;border-color:var(--tl)}
html body:not(.wide) .lba-me{background:rgba(14,36,56,.94)!important;border:1px solid var(--n3)}
html body .ar-me.ar-me3{background:rgba(14,25,56,.88)!important;border:1px solid var(--n3)!important;box-shadow:0 6px 18px rgba(0,0,0,.3)!important}
/* Night Sea: student sheets/modals navy */
html body:not(.wide) .modal{background:linear-gradient(180deg,color-mix(in srgb,var(--n1) 92%,transparent),color-mix(in srgb,var(--n0) 95%,transparent))!important;border-color:var(--n3)!important}
html body:not(.wide) .modal .so-t{background:rgba(255,255,255,.06);border-color:var(--n3)}
html body:not(.wide) .modal .so-t.on{background:color-mix(in srgb,var(--tl) 14%,transparent);border-color:var(--tl)}
html body:not(.wide) .modal .so-sub{margin-bottom:12px}
/* Night Sea: first screen (studentLogin) on the sea background, navy cards */
html body .sh.sl,html body:not(.wide) .sh.sl.sl-red{background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%)!important}
html body .sh.sl .sl1,html body .sh.sl .who-pick{background:rgba(14,25,56,.85)!important;border:1px solid var(--n3)!important;box-shadow:0 6px 18px rgba(0,0,0,.3)!important}
html body .sh.sl .who-pick .who-b{background:rgba(255,255,255,.06)!important;border-color:var(--n3)!important}
html body:not(.wide) .sh.sl .btn.sl-hc,html body .sh.sl .sl-hc,html body .sh.sl .sl1-t{background:var(--n1)!important;border:1px solid var(--n3)!important;color:#E6EEF5!important}
html body .sh.sl .sl-hero img{mix-blend-mode:lighten}
/* ✕ at the far left of the timer row; exit dialog navy */
html body .play.pv.pvx.ar-round .ar-clk{margin-left:42px!important}
html body .play.pv.pvx.ar-round .ar-clk>.ar-x{position:absolute!important;left:-44px!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important;width:34px!important;height:34px!important;opacity:.8;z-index:3;background:rgba(14,25,56,.85)!important;border:1px solid var(--n3)!important}
html.nosat body .play.pv.pvx.ar-round .ar-clk>.ar-x{top:50%!important}
html body:not(.wide) .dlg{background:linear-gradient(180deg,var(--n1),#0E2438)!important;border:1px solid var(--n3)!important;box-shadow:0 20px 50px rgba(0,0,0,.6)!important}
html body:not(.wide) .dlg-a button:not(.pri):not(.dng){background:rgba(255,255,255,.08)!important;border:1px solid var(--n3)!important}
html body:not(.wide) .dlg-b p,html body:not(.wide) .dlg-b{color:#C9D6E3}
/* help tip (Khalid): navy bubble right above its button, tail pointing at it */
html body .hp-tip{overflow:visible;background:var(--n1);color:#E6EEF5;border:1.5px solid var(--tl);box-shadow:0 10px 30px rgba(0,0,0,.55),0 0 18px color-mix(in srgb,var(--tl) 25%,transparent);padding:14px 16px 18px}
html body .hp-tip::before{content:"";position:absolute;bottom:-11px;left:calc(var(--ax) - 11px);border:11px solid transparent;border-bottom:0;border-top-color:var(--tl)}
html body .hp-tip::after{bottom:-8px;left:calc(var(--ax) - 9px);border-width:9px 9px 0;border-top-color:var(--n1);z-index:1}
html body .hp-tip b{color:#F0C04A}
html body .hp-tip small{color:var(--n7)}
html body .hp-tip .hp-tx{background:rgba(255,255,255,.1)}
html body .hp-tip .hp-tx svg{color:#E6EEF5}
html body .hp-tip .hp-bar{left:10px;right:10px;bottom:6px;height:3px;border-radius:3px}
/* Khalid: more space between answers, helps a bit lower (tall phones; short phones keep the compact fit) */
@media (min-height:761px){
html body[data-theme] .play.pv.pvx.ar-round .opts.kc:not(.tf):not(.ord),html body[data-theme] .play.pv.pvx.ar-round .opts.kc,html body .play.pv.pvx.ar-round .opts{gap:14px!important}
html body .ar-round.ar-round .ar-hp{margin:48px 0 10px!important}
}
/* Khalid: a lighter rectangle showed behind the opponent search on wide phones (fixed rays layer boxed by a transformed parent): rays off, one sea background edge to edge */
html body .sh.pvx.ar-find::after{display:none!important}
html body .sh.pvx.ar-find{background:transparent!important}
/* Night Sea: no leftover red outlines (search pill/cancel, radar rings, logout) */
html body .ar-find .ar-fpill,html body .ar-find .ar-fb.ar-fcx,html body .s-me-x .s-me-out{border-color:var(--n3)!important;box-shadow:none!important}
html body .ar-find .ar-fpill{background:rgba(14,25,56,.85)!important}
html body .ar-find .ar-fpill i,html body .ar-find .ar-fpill::before{background:var(--tl)!important}
html body .ar-find .ar-rad2>i{border-color:color-mix(in srgb,var(--tl) 35%,transparent)!important;box-shadow:none!important}
html body .ar-find .ar-rad2 .sweep{background:conic-gradient(from 0deg,color-mix(in srgb,var(--tl) 35%,transparent),transparent 18%)!important}
/* Night Sea sweep (Khalid «راجع كل الخطوط والحواف الحمرا»): red stays only on the main action buttons (play, «العب الحين», «تحدَّ ربعك», «خروج»).
   The :not(#a):not(#b):not(#c) prefix outranks the older red theme rules that used id-weighted selectors. */
html body:not(.wide):not(#a):not(#b):not(#c) .s-nav{border-color:var(--n3)!important;background:rgba(14,36,56,.92)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .bg2,html body:not(.wide):not(#a):not(#b):not(#c) .bg2.on,html body:not(.wide):not(#a):not(#b):not(#c) .bg2.off,html body:not(.wide):not(#a):not(#b):not(#c) .bg2-next{background:rgba(16,40,62,.85)!important;border:1px solid var(--n3)!important;box-shadow:0 6px 18px rgba(0,0,0,.3)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .bg2.on{border-color:rgba(240,192,74,.55)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .bg2-md::before{background:color-mix(in srgb,var(--tl) 18%,transparent)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .s-bell,html body:not(.wide):not(#a):not(#b):not(#c) .s-meav{border-color:var(--n3)!important;box-shadow:none!important}
html body:not(.wide):not(#a):not(#b):not(#c) .sp-prac,html body:not(.wide):not(#a):not(#b):not(#c) .sp-pill{background:rgba(16,40,62,.85)!important;border:1px solid var(--n3)!important;box-shadow:none!important}
html body:not(.wide):not(#a):not(#b):not(#c) .lb-seg button.on,html body:not(.wide):not(#a):not(#b):not(#c) [data-act="lb-t"].on{background:var(--n1)!important;color:#fff!important;box-shadow:inset 0 0 0 1.5px var(--tl)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .lb-seg u{background:var(--tl)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .s-me,html body:not(.wide):not(#a):not(#b):not(#c) .s-me button,html body:not(.wide):not(#a):not(#b):not(#c) .s-me span{border-color:var(--n3)!important;box-shadow:none!important}
html body:not(.wide):not(#a):not(#b):not(#c) .s-me{background:rgba(16,40,62,.85)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .s-me::before{display:none!important}
html body:not(.wide):not(#a):not(#b):not(#c) .s-me button{background:rgba(255,255,255,.06)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .s-me-out{border-color:var(--n3)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .sw.on{background:#2BB3BC!important;box-shadow:none!important}
html body:not(.wide):not(#a):not(#b):not(#c) .s-av-ed{background:var(--n1)!important;border:1px solid var(--tl)}
html body:not(.wide):not(#a):not(#b):not(#c) .ar-ring{box-shadow:0 0 0 2px color-mix(in srgb,var(--tl) 35%,transparent)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .s-me-o button{background:rgba(16,40,62,.85)!important;border:1px solid var(--n3)!important;box-shadow:none!important}
html body:not(.wide):not(#a):not(#b):not(#c) .s-me-st>span{background:rgba(255,255,255,.06)!important;border:1px solid var(--n3)!important;box-shadow:none!important}
html body:not(.wide):not(#a):not(#b):not(#c) .lbx-r:not(.me){background:rgba(16,40,62,.85)!important;border:1px solid var(--n3)!important;border-radius:18px!important;box-shadow:none!important}
html body:not(.wide):not(#a):not(#b):not(#c) .lbx-r.me{background:color-mix(in srgb,var(--tl) 12%,transparent)!important;border:1.5px solid #E8B13A!important;border-radius:18px!important;filter:none!important}

/* Night Sea for the teacher (dark): same navy / teal / gold as the student screens. Red stays only on main action buttons.
   P = html body.wide.dark:not(#a):not(#b) outranks the older wine-red teacher rules. */
html body.wide.dark:not(#a):not(#b){--bg:var(--n0);--card:rgba(16,40,62,.85);--ink:#F4F7FA;--muted:var(--n7);--line:var(--n3);--soft:rgba(255,255,255,.07);--edge:#07101D;--tcard:rgba(16,40,62,.85);--tbrd:var(--n3);--tglow:0 0 0 0 transparent;background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%) fixed!important}
html:has(body.wide.dark){background:var(--n0)}
html body.wide.dark:not(#a):not(#b)::before{background:radial-gradient(70vw 60vw at 85% 6%,color-mix(in srgb,var(--tl) 12%,transparent),transparent 70%),radial-gradient(70vw 55vw at 80% 100%,rgba(227,178,60,.08),transparent 70%)}
html body.wide.dark:not(#a):not(#b) .t-top,html body.wide.dark:not(#a):not(#b) #app.pg-anim>.t-top,html body.wide.dark:not(#a):not(#b) .pg-in .pg-tt{background:transparent!important}
html body.wide.dark:not(#a):not(#b) .t-nav{background:rgba(14,36,56,.92)!important;border:1px solid var(--n3)!important;box-shadow:0 10px 30px rgba(0,0,0,.45)!important}
html body.wide.dark:not(#a):not(#b) .t-nav a.on,html body.wide.dark:not(#a):not(#b) .t-nav a.t-plus{color:var(--tl)!important}
html body.wide.dark:not(#a):not(#b) .h-nb,html body.wide.dark:not(#a):not(#b) .hc,html body.wide.dark:not(#a):not(#b) .ch-hero,html body.wide.dark:not(#a):not(#b) .cp-code,html body.wide.dark:not(#a):not(#b) .cp-tile,html body.wide.dark:not(#a):not(#b) .nw-tile,html body.wide.dark:not(#a):not(#b) .set-profile,html body.wide.dark:not(#a):not(#b) .ch-a,html body.wide.dark:not(#a):not(#b) .ch-b,html body.wide.dark:not(#a):not(#b) .ch-join,html body.wide.dark:not(#a):not(#b) .ch-ml,html body.wide.dark:not(#a):not(#b) .ch-star,html body.wide.dark:not(#a):not(#b) .cp-row,html body.wide.dark:not(#a):not(#b) .stp,html body.wide.dark:not(#a):not(#b) .ob-card,html body.wide.dark:not(#a):not(#b) .lv-card,html body.wide.dark:not(#a):not(#b) .card,html body.wide.dark:not(#a):not(#b) .set-grp{background:rgba(16,40,62,.85)!important;border:1px solid var(--n3)!important;box-shadow:0 6px 18px rgba(0,0,0,.28)!important}
html body.wide.dark:not(#a):not(#b) .hc{border-width:1px!important}
html body.wide.dark:not(#a):not(#b) .hc-ring{filter:none}
html body.wide.dark:not(#a):not(#b) .hc-ring::before{background:conic-gradient(#E3B23C calc(var(--p)*1%),rgba(255,255,255,.12) 0)}
html body.wide.dark:not(#a):not(#b) .ch-big b{color:#fff;text-shadow:none}
html body.wide.dark:not(#a):not(#b) .ch-bar{background:rgba(255,255,255,.1)}
html body.wide.dark:not(#a):not(#b) .ch-bar i{background:linear-gradient(90deg,#E3B23C,#F0C04A)!important;box-shadow:none}
html body.wide.dark:not(#a):not(#b) .ch-b.end{color:var(--n7)!important}
html body.wide.dark:not(#a):not(#b) .cp-code b{border:2px solid var(--tl);background:var(--n0);box-shadow:none}
html body.wide.dark:not(#a):not(#b) .cp-row .cp-rk:not(#z),html body.wide.dark:not(#a):not(#b) .cp-swr .cp-rk{background:color-mix(in srgb,var(--tl) 14%,transparent)!important;color:#fff!important;border:1.5px solid color-mix(in srgb,var(--tl) 50%,transparent)!important}
html body.wide.dark:not(#a):not(#b) .cp-row .cp-pts{color:#E3B23C}
html body.wide.dark:not(#a):not(#b) .nw-mode .on{background:var(--n1)!important;color:#fff!important;box-shadow:inset 0 0 0 1.5px var(--tl)!important}
html body.wide.dark:not(#a):not(#b) .nw .bd-chip.on{border-color:var(--tl);background:color-mix(in srgb,var(--tl) 16%,transparent);box-shadow:none}
html body.wide.dark:not(#a):not(#b) .nw-dots::before{background:var(--n3)}
html body.wide.dark:not(#a):not(#b) .nw-dots i{background:var(--n1)!important;border-color:var(--n3)!important}
html body.wide.dark:not(#a):not(#b) .nw-in{background:rgba(16,40,62,.85);border:1px solid var(--n3)}
html body.wide.dark:not(#a):not(#b) .sj-tabs button.on{background:var(--n1)!important}
html body.wide.dark:not(#a):not(#b) .t-top .t-bell,html body.wide.dark:not(#a):not(#b) .t-top .icon-btn{background:rgba(16,40,62,.85)!important;border:1px solid var(--n3)!important;color:#F4F7FA}
html body.wide.dark:not(#a):not(#b) .t-av{background:var(--n1)!important;box-shadow:none!important;border:1px solid var(--tl)}
html body.wide.dark:not(#a):not(#b) .hv button{background:rgba(16,40,62,.85);border:1px solid var(--n3)}
html body.wide.dark:not(#a):not(#b) .hv button.on{background:var(--n1);box-shadow:inset 0 0 0 1.5px var(--tl)}
html body.wide.dark:not(#a):not(#b) .modal{background:linear-gradient(180deg,color-mix(in srgb,var(--n1) 94%,transparent),color-mix(in srgb,var(--n0) 96%,transparent))!important;border-color:var(--n3)!important}
html body.wide.dark:not(#a):not(#b) .btn.soft,html body.wide.dark:not(#a):not(#b) .btn.ghost{background:rgba(255,255,255,.07)!important;border:1px solid var(--n3)}
html body.wide.dark:not(#a):not(#b) .input,html body.wide.dark:not(#a):not(#b) .chip{background:rgba(255,255,255,.07);border-color:var(--n3)}
html body.wide.dark:not(#a):not(#b) .t-av{background:var(--n1)!important}
html body.wide.dark:not(#a):not(#b) .h-hist{background:rgba(16,40,62,.85)!important;border:1px solid var(--n3);color:#F4F7FA}
html body.wide.dark:not(#a):not(#b) .h-hist svg{color:var(--tl)}
html body.wide.dark:not(#a):not(#b) .ch-rem{background:#C8102E!important;color:#fff!important;box-shadow:0 5px 0 #8E0B21!important}
html body.wide.dark:not(#a):not(#b) .stp-b,html body.wide.dark:not(#a):not(#b) .ch-idle b,html body.wide.dark:not(#a):not(#b) .ch-mini,html body.wide.dark:not(#a):not(#b) .ch-ml .btn{background:color-mix(in srgb,var(--tl) 16%,transparent)!important;color:var(--tl)!important;border:1px solid color-mix(in srgb,var(--tl) 50%,transparent)!important;box-shadow:none!important}
html body.wide.dark:not(#a):not(#b) .ch-idle{background:rgba(227,178,60,.1)!important;border:1px solid rgba(227,178,60,.45)!important}
html body.wide.dark:not(#a):not(#b) .ch-sendbar .btn{background:#C8102E!important}
html body.wide.dark:not(#a):not(#b) .avatar,html body.wide.dark:not(#a):not(#b) .t-av-img{background:var(--n1)!important;color:#F4F7FA!important;box-shadow:none!important}
html body.wide.dark:not(#a):not(#b) .cg-l,html body.wide.dark:not(#a):not(#b) .sw-main,html body.wide.dark:not(#a):not(#b) .cg-solo,html body.wide.dark:not(#a):not(#b) .emp-add{background:rgba(16,40,62,.85)!important;border-color:var(--n3)!important}
html body.wide.dark:not(#a):not(#b) .cg-bd,html body.wide.dark:not(#a):not(#b) .emp-r{background:color-mix(in srgb,var(--tl) 14%,transparent)!important;color:#fff!important}
html body.wide.dark:not(#a):not(#b) .cg-r i{background:var(--tl)!important}
html body.wide.dark:not(#a):not(#b) .emp-add{color:var(--tl)!important}
html body.wide.dark:not(#a):not(#b) .sw-main{background:#12304A!important}
html body.wide.dark:not(#a):not(#b) .cg-r,html body.wide.dark:not(#a):not(#b) .cl-selb{border-color:var(--n3)!important}
html body.wide.dark:not(#a):not(#b) .t-nav .nav-ln{filter:hue-rotate(165deg) saturate(.9)}
html body.wide.dark:not(#a):not(#b) .rl-pc.on,html body.wide.dark:not(#a):not(#b) .ap-fs button.on,html body.wide.dark:not(#a):not(#b) .rl-row.on,html body.wide.dark:not(#a):not(#b) .rl-opt.on{border-color:var(--tl)!important;background:color-mix(in srgb,var(--tl) 14%,transparent)!important;box-shadow:none!important}
html body.wide.dark:not(#a):not(#b) .rl-pts,html body.wide.dark:not(#a):not(#b) .rl-n{background:color-mix(in srgb,var(--tl) 16%,transparent)!important;color:#fff!important;border-color:color-mix(in srgb,var(--tl) 50%,transparent)!important}
html body.wide.dark:not(#a):not(#b) .chev,html body.wide.dark:not(#a):not(#b) .chev svg{color:var(--n7)!important}
html body.wide.dark:not(#a):not(#b) .input,html body.wide.dark:not(#a):not(#b) input[type=search],html body.wide.dark:not(#a):not(#b) .cp-search{background:rgba(16,40,62,.85)!important;border:1px solid var(--n3)!important}
html body.wide.dark:not(#a):not(#b) .cp-tile .cp-pl{color:#E3B23C!important}
html body.wide.dark:not(#a):not(#b) .nw-go[disabled]{background:var(--n3)!important;color:var(--n7)!important;box-shadow:none!important}
html body.wide.dark:not(#a):not(#b) .t-nav a img:not(.nav-sq){filter:hue-rotate(165deg) saturate(.9)!important}
html body.wide.dark:not(#a):not(#b) .ap-fs a,html body.wide.dark:not(#a):not(#b) .set-row .lnk,html body.wide.dark:not(#a):not(#b) .t-body .grow+a{color:var(--tl)!important}

/* Night Sea Pro (teacher dark): calmer flat navy, clearer secondary text and borders, line tab icons, teal badges */
html body.wide.dark:not(#a):not(#b){--muted:#B9CDDB;--line:var(--n4);background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%) fixed!important}
html body.wide.dark:not(#a):not(#b) .h-nb,html body.wide.dark:not(#a):not(#b) .hc,html body.wide.dark:not(#a):not(#b) .ch-hero,html body.wide.dark:not(#a):not(#b) .cp-code,html body.wide.dark:not(#a):not(#b) .cp-tile,html body.wide.dark:not(#a):not(#b) .nw-tile,html body.wide.dark:not(#a):not(#b) .set-profile,html body.wide.dark:not(#a):not(#b) .ch-a,html body.wide.dark:not(#a):not(#b) .ch-b,html body.wide.dark:not(#a):not(#b) .ch-join,html body.wide.dark:not(#a):not(#b) .ch-ml,html body.wide.dark:not(#a):not(#b) .cp-row,html body.wide.dark:not(#a):not(#b) .stp,html body.wide.dark:not(#a):not(#b) .card,html body.wide.dark:not(#a):not(#b) .set-grp,html body.wide.dark:not(#a):not(#b) .t-nav,html body.wide.dark:not(#a):not(#b) .hv button,html body.wide.dark:not(#a):not(#b) .t-top .t-bell{border-color:var(--n4)!important}
html body.wide.dark:not(#a):not(#b) .t-nav a{font-size:13px!important;font-weight:600!important;color:#B9CDDB!important}
html body.wide.dark:not(#a):not(#b) .t-nav a.on{background:#193E50!important;color:var(--tl)!important}
html body.wide.dark:not(#a):not(#b) .t-nav .lens{background:#193E50!important;box-shadow:none!important}
html body.wide.dark:not(#a):not(#b) .t-nav a img.nav-ln{width:26px!important;height:26px!important;filter:none!important;opacity:1!important}
html body.wide.dark:not(#a):not(#b) .t-nav a.on img.nav-ln{filter:none!important}
html body.wide.dark:not(#a):not(#b) .t-nav a img.nav-sq{filter:grayscale(1) brightness(1.8)!important;opacity:.9}
html body.wide.dark:not(#a):not(#b) .t-nav .nb,html body.wide.dark:not(#a):not(#b) .t-bell-n{background:var(--tl)!important;color:var(--n0)!important;box-shadow:0 0 0 2px #10283E!important}
html body.wide.dark:not(#a):not(#b) .t-nav a img.nav-ln[src*='/26.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9CDDB' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5.5 10v10h13V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-nav a.on img.nav-ln[src*='/26.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339C7CF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5.5 10v10h13V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-nav a img.nav-ln[src*='/24.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9CDDB' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16.5 14.2c2.6.3 4.5 2.5 4.5 5.8'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-nav a.on img.nav-ln[src*='/24.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339C7CF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16.5 14.2c2.6.3 4.5 2.5 4.5 5.8'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-nav a img.nav-ln[src*='/27.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9CDDB' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.6 2.2c-.7.4-1.1 1-1.1 1.8'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-nav a.on img.nav-ln[src*='/27.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339C7CF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.6 2.2c-.7.4-1.1 1-1.1 1.8'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-nav a img.nav-ln[src*='/28.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9CDDB' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-nav a.on img.nav-ln[src*='/28.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339C7CF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z'/%3E%3C/svg%3E")}

/* Night Sea Pro: line icons inside teacher pages (mask, takes the text colour) */
html body.wide.dark:not(#a):not(#b) .t-body .si.s64,html body.wide.dark:not(#a):not(#b) .t-body .si.s36,html body.wide.dark:not(#a):not(#b) .t-body .si.s25,html body.wide.dark:not(#a):not(#b) .t-body .si.s70,html body.wide.dark:not(#a):not(#b) .t-body .si.s46,html body.wide.dark:not(#a):not(#b) .t-body .si.s44,html body.wide.dark:not(#a):not(#b) .t-body .si.s47,html body.wide.dark:not(#a):not(#b) .t-body .si.s71,html body.wide.dark:not(#a):not(#b) .t-body .si.s42,html body.wide.dark:not(#a):not(#b) .t-body .si.s27,html body.wide.dark:not(#a):not(#b) .t-body .si.s21,html body.wide.dark:not(#a):not(#b) .t-body .si.s22,html body.wide.dark:not(#a):not(#b) .t-body .si.s23,html body.wide.dark:not(#a):not(#b) .t-body .si.s29,html body.wide.dark:not(#a):not(#b) .t-body .si.s24,html body.wide.dark:not(#a):not(#b) .t-body .si.s52,html body.wide.dark:not(#a):not(#b) .t-body .si.s28,html body.wide.dark:not(#a):not(#b) .t-body .si.s43,html body.wide.dark:not(#a):not(#b) .t-body .si.s112,html body.wide.dark:not(#a):not(#b) .modal .si.s64,html body.wide.dark:not(#a):not(#b) .modal .si.s36,html body.wide.dark:not(#a):not(#b) .modal .si.s25,html body.wide.dark:not(#a):not(#b) .modal .si.s70,html body.wide.dark:not(#a):not(#b) .modal .si.s46,html body.wide.dark:not(#a):not(#b) .modal .si.s44,html body.wide.dark:not(#a):not(#b) .modal .si.s47,html body.wide.dark:not(#a):not(#b) .modal .si.s71,html body.wide.dark:not(#a):not(#b) .modal .si.s42,html body.wide.dark:not(#a):not(#b) .modal .si.s27,html body.wide.dark:not(#a):not(#b) .modal .si.s21,html body.wide.dark:not(#a):not(#b) .modal .si.s22,html body.wide.dark:not(#a):not(#b) .modal .si.s23,html body.wide.dark:not(#a):not(#b) .modal .si.s29,html body.wide.dark:not(#a):not(#b) .modal .si.s24,html body.wide.dark:not(#a):not(#b) .modal .si.s52,html body.wide.dark:not(#a):not(#b) .modal .si.s28,html body.wide.dark:not(#a):not(#b) .modal .si.s43,html body.wide.dark:not(#a):not(#b) .modal .si.s112{background:currentColor!important;-webkit-mask:var(--ln) center/contain no-repeat;mask:var(--ln) center/contain no-repeat}
html body.wide.dark:not(#a):not(#b) .t-body .si.s64,html body.wide.dark:not(#a):not(#b) .modal .si.s64{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2z'/%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M9 7h6'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s36,html body.wide.dark:not(#a):not(#b) .modal .si.s36{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9a6 6 0 0 1 12 0c0 6 2.5 7.5 2.5 7.5h-17S6 15 6 9z'/%3E%3Cpath d='M10 20a2 2 0 0 0 4 0'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s25,html body.wide.dark:not(#a):not(#b) .modal .si.s25{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13.5' r='7.5'/%3E%3Cpath d='M12 9.5v4l2.5 1.5M9.5 3h5'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s70,html body.wide.dark:not(#a):not(#b) .modal .si.s70{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='7' width='19' height='11' rx='5.5'/%3E%3Cpath d='M8 10.5v4M6 12.5h4'/%3E%3Cpath d='M16 11.5h.01M18 13.5h.01'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s46,html body.wide.dark:not(#a):not(#b) .modal .si.s46{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='m7.5 8.5 4.5-4.5 4.5 4.5'/%3E%3Cpath d='M5 13v6h14v-6'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s44,html body.wide.dark:not(#a):not(#b) .modal .si.s44{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 20 1-4L16.5 4.5a2.1 2.1 0 0 1 3 3L8 19z'/%3E%3Cpath d='m14.5 6.5 3 3'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s47,html body.wide.dark:not(#a):not(#b) .modal .si.s47{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V11M12 20V5M19 20v-7'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s71,html body.wide.dark:not(#a):not(#b) .modal .si.s71{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 9v6M14 9v6'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s42,html body.wide.dark:not(#a):not(#b) .modal .si.s42{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='m4 8 8 5.5L20 8'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s27,html body.wide.dark:not(#a):not(#b) .modal .si.s27{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.6 2.2c-.7.4-1.1 1-1.1 1.8M12 17h.01'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s21,html body.wide.dark:not(#a):not(#b) .modal .si.s21{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s22,html body.wide.dark:not(#a):not(#b) .modal .si.s22{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3 5 14h6l-1 7 8-11h-6z'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s23,html body.wide.dark:not(#a):not(#b) .modal .si.s23{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4a3 3 0 0 0-3 3 3 3 0 0 0-2 5 3 3 0 0 0 2 4 3 3 0 0 0 6 1V5a3 3 0 0 0-3-1zM15 4a3 3 0 0 1 3 3 3 3 0 0 1 2 5 3 3 0 0 1-2 4 3 3 0 0 1-6 1'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s29,html body.wide.dark:not(#a):not(#b) .modal .si.s29{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0zM7 6H4v1a3 3 0 0 0 3 3M17 6h3v1a3 3 0 0 1-3 3M12 14v4M8 20h8'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s24,html body.wide.dark:not(#a):not(#b) .modal .si.s24{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16.5 14.2c2.6.3 4.5 2.5 4.5 5.8'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s52,html body.wide.dark:not(#a):not(#b) .modal .si.s52{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s28,html body.wide.dark:not(#a):not(#b) .modal .si.s28{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2.5v3M12 18.5v3M4.2 6.5l2.6 1.5M17.2 16l2.6 1.5M4.2 17.5 6.8 16M17.2 8l2.6-1.5M2.5 12h3M18.5 12h3'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s43,html body.wide.dark:not(#a):not(#b) .modal .si.s43{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='2.5'/%3E%3Ccircle cx='12' cy='12.5' r='3.5'/%3E%3Cpath d='M8 6l1.5-2h5L16 6'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si{color:#B9CDDB}html body.wide.dark:not(#a):not(#b) .ch-a .si{width:26px;height:26px}html body.wide.dark:not(#a):not(#b) .ch-rem .si,html body.wide.dark:not(#a):not(#b) .btn .si{color:#fff}html body.wide.dark:not(#a):not(#b) .stp-b .si,html body.wide.dark:not(#a):not(#b) .ch-mini .si{color:var(--tl)}
.si.s112{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 5h13l-2.5 4L18 13H5'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .t-body .si.s112,html body.wide.dark:not(#a):not(#b) .modal .si.s112{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 5h13l-2.5 4L18 13H5'/%3E%3C/svg%3E")}
/* v758 «بحّارتي» (Khalid): free sailors then titles, all in a navy circle with a gold ring */
.avi.avs{background:none;box-shadow:none}
.avi.avs img{border-radius:50%}
html body .av2 .s-avg.s-avf,html body .av2 .s-avg.s-avt2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 10px}
html body .av2 .s-avg.s-avf button,html body .av2 .s-avg.s-avt2 button{aspect-ratio:1;width:100%;max-width:96px;margin:0 auto;padding:0;border:0;border-radius:50%;background:none!important;overflow:visible;position:relative;display:block}
html body .av2 .s-avg.s-avf button .avi,html body .av2 .s-avg.s-avt2 button .avi{width:100%;height:100%;margin:0;display:block}
html body .av2 .s-avg.s-avf button.on .avi,html body .av2 .s-avg.s-avt2 button.on .avi{box-shadow:0 0 0 3px var(--tl),0 0 16px var(--tl)!important}
html body .av2 .s-avt2 .av2-tt{text-align:center;min-width:0}
html body .av2 .s-avt2 .av2-tt small{display:block;margin-top:4px;font-size:12px;font-weight:700;color:#E6EEF5}
html body .av2 .s-avt2 .av2-tt.lk small{color:#6B8299}
html body .av2 .s-avt2 button.lk{opacity:1}
html body .av2 .s-avt2 button.lk .avi{filter:grayscale(1) brightness(.5)}
html body .av2 .s-avt2 button.lk em{position:absolute;inset:0;display:grid;place-items:center;font-style:normal;font-size:22px}
.av2-lb{display:flex;justify-content:space-between;align-items:center;margin:16px 4px 10px;font-size:14px}
.av2-lb b{color:var(--n7)}.av2-lb span{color:#F0C04A;font-weight:800}
.so-g12 .avi.avs{box-shadow:none}
html body .av2-big:has(.avs){box-shadow:0 0 24px rgba(240,192,74,.35)}
/* v759 (Khalid): solo signup steps in Night Sea: navy tiles, teal selection, no red */
html body:not(.wide):not(#a):not(#b):not(#c) .so .so-t{background:rgba(16,40,62,.85);border:2px solid var(--n3);color:#E6EEF5}
html body:not(.wide):not(#a):not(#b):not(#c) .so .so-t.on{background:color-mix(in srgb,var(--tl) 16%,transparent);border-color:var(--tl);box-shadow:0 0 14px color-mix(in srgb,var(--tl) 35%,transparent)}
html body:not(.wide):not(#a):not(#b):not(#c) .so .so-g12 .so-t,html body:not(.wide):not(#a):not(#b):not(#c) .so .so-g12 .so-t.on{background:none;border-color:transparent;box-shadow:none}
html body:not(.wide):not(#a):not(#b):not(#c) .so .so-g12 .so-t.on .avi{box-shadow:0 0 0 3px var(--tl),0 0 16px var(--tl)}
html body:not(.wide):not(#a):not(#b):not(#c) .so .so-dots i{background:var(--n3)}
html body:not(.wide):not(#a):not(#b):not(#c) .so .so-dots i.on{background:var(--tl)}
html body:not(.wide):not(#a):not(#b):not(#c) .so .so-back{background:rgba(16,40,62,.85);border:1px solid var(--n3)}
/* v759 locked titles: dark until the island, next one faded; small gold lock badge at the bottom */
html body .av2 .s-avt2 .av2-tt.lk button.lk .avi{filter:grayscale(1) brightness(.16) contrast(1.3)}
html body .av2 .s-avt2 .av2-tt.lk.nx button.lk .avi{filter:grayscale(1) brightness(.55)}
html body .av2 .s-avt2 button.lk em.av2-lock{inset:auto;left:50%;bottom:-6px;transform:translateX(-50%);width:32px;height:32px;border-radius:50%;background:#0E1938;box-shadow:0 0 0 2px #F0C04A,0 2px 6px #000a;display:grid;place-items:center}
html body .av2 .s-avt2 button.lk em.av2-lock svg{width:18px;height:18px;fill:none;stroke:#F0C04A;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
html body .av2 .s-avt2 .av2-tt.lk:not(.nx) button.lk{border-radius:50%;box-shadow:0 0 0 2px var(--n3)}
html body .av2 .s-avt2 .av2-tt small{margin-top:12px}

/* Night Sea: teacher login (.ta) same sea background, navy card, teal accents, red only on «دخول المعلم» */
html body.wide.dark:not(#a):not(#b) .ta,html body:not(#a):not(#b) .ta{background:transparent!important}
html body.wide.dark:not(#a):not(#b) .ta::before,html body.wide.dark:not(#a):not(#b) .ta::after{background:none!important;display:none!important}
html body.wide.dark:not(#a):not(#b) .ta .hero h1::before,html body.wide.dark:not(#a):not(#b) .ta .hero h1::after{background:linear-gradient(var(--tl),var(--tl)) 0 0/100% 4px no-repeat,linear-gradient(var(--tl),var(--tl)) 0 9px/78% 4px no-repeat,linear-gradient(var(--tl),var(--tl)) 0 18px/56% 4px no-repeat!important}
html body.wide.dark:not(#a):not(#b) .ta .card:not(#z){background:rgba(16,40,62,.85)!important;border:1px solid var(--n4)!important;box-shadow:0 6px 18px rgba(0,0,0,.3)!important}
html body.wide.dark:not(#a):not(#b) .ta .tabs:not(#z){background:rgba(255,255,255,.06)!important;border:1px solid var(--n4)}
html body.wide.dark:not(#a):not(#b) .ta .tabs button.on:not(#z){background:var(--n1)!important;box-shadow:inset 0 0 0 1.5px var(--tl)!important}
html body.wide.dark:not(#a):not(#b) .ta .input:not(#z){background:color-mix(in srgb,var(--n0) 70%,transparent)!important;border:1px solid var(--n4)!important;box-shadow:none}
html body.wide.dark:not(#a):not(#b) .ta .input:focus:not(#z){border-color:var(--tl)!important}
html body.wide.dark:not(#a):not(#b) .ta .link.forgot:not(#z){border-bottom-color:var(--tl);color:#B9CDDB!important}
html body.wide.dark:not(#a):not(#b) .ta .btn[type=submit]:not(#z){background:#C8102E!important;border:0!important;box-shadow:0 5px 0 #8E0B21!important}
html body.wide.dark:not(#a):not(#b) .ta .ta-stu:not(#z){background:rgba(16,40,62,.85);border:1px solid var(--n4);box-shadow:none;color:#F4F7FA}
html body.wide.dark:not(#a):not(#b) .ta .hero p::before,html body.wide.dark:not(#a):not(#b) .ta .hero p::after{background:linear-gradient(90deg,var(--tl),transparent)}
html body.wide.dark:not(#a):not(#b) .ta .ta-hero{-webkit-mask:radial-gradient(ellipse 46% 50% at 50% 46%,#000 40%,transparent 100%);mask:radial-gradient(ellipse 46% 50% at 50% 46%,#000 40%,transparent 100%)}
html body.wide.dark:not(#a):not(#b) .t-nav a img.nav-sq{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9CDDB' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13.5' r='7.5'/%3E%3Cpath d='M12 9.5v4l2.5 1.5M9.5 3h5'/%3E%3C/svg%3E");filter:none!important;opacity:1;width:30px;height:30px}
html body.wide.dark:not(#a):not(#b) .t-nav a.on img.nav-sq{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339C7CF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13.5' r='7.5'/%3E%3Cpath d='M12 9.5v4l2.5 1.5M9.5 3h5'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b) .ta .ta-hero{-webkit-mask:radial-gradient(ellipse 38% 44% at 50% 47%,#000 62%,transparent 100%);mask:radial-gradient(ellipse 38% 44% at 50% 47%,#000 62%,transparent 100%)}
html body.wide.dark:not(#a):not(#b) .t-nav a img.nav-sq{width:26px!important;height:26px!important;}
html body .ta .ta-hero,html body.wide.dark:not(#a):not(#b) .ta .ta-hero{-webkit-mask:radial-gradient(ellipse 50% 50% at 50% 50%,#000 62%,transparent 100%);mask:radial-gradient(ellipse 50% 50% at 50% 50%,#000 62%,transparent 100%)}
.ta .ta-wm{display:block;width:92%;max-width:400px;margin:14px auto -6px;position:relative;z-index:1}
.ta .ta-wm{mix-blend-mode:normal;-webkit-mask:none;mask:none}
html body .sh.sl .sl-hero img{width:66%!important;max-width:300px;height:auto!important;margin:10px auto 0;display:block}
html body .sh.sl .sl-hero h1{text-shadow:none!important;color:#F4E7CF!important}
html body .ta .ta-hero,html body.wide.dark:not(#a):not(#b) .ta .ta-hero{width:66%!important;max-width:300px;margin:6px auto -18px!important;display:block}
html body .ta .ta-hero,html body.wide.dark:not(#a):not(#b) .ta .ta-hero{mix-blend-mode:lighten;-webkit-mask:none!important;mask:none!important}
html body .sh.sl .sl-hero img{mix-blend-mode:lighten;-webkit-mask:none;mask:none}
html body .ta .ta-hero,html body.wide.dark:not(#a):not(#b) .ta .ta-hero,html body .sh.sl .sl-hero img{mix-blend-mode:normal!important;-webkit-mask:radial-gradient(ellipse 50% 50% at 50% 50%,#000 68%,transparent 100%)!important;mask:radial-gradient(ellipse 50% 50% at 50% 50%,#000 68%,transparent 100%)!important}
html body.wide.dark .nw-foot{background:none!important;box-shadow:none!important}
html body.wide.dark .btn.nw-go:disabled,html body.wide.dark .btn.nw-go[disabled]{opacity:1!important;background:#21425A!important;color:#D3E2EC!important;border:1.5px solid var(--n4)!important;box-shadow:none!important}
html body.wide.dark .nw-more-subj,html body.wide.dark .nw .link.nw-link{color:#8FD9DE!important;font-weight:600}
/* v765 Night Sea light (teacher): same system as dark, pale sea colours; red only on main actions */
html body.wide:not(.dark):not(#a):not(#b) .t-nav a img.nav-ln[src*='/26.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7387' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5.5 10v10h13V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a.on img.nav-ln[src*='/26.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8A92' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5.5 10v10h13V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a img.nav-ln[src*='/24.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7387' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16.5 14.2c2.6.3 4.5 2.5 4.5 5.8'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a.on img.nav-ln[src*='/24.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8A92' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16.5 14.2c2.6.3 4.5 2.5 4.5 5.8'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a img.nav-ln[src*='/27.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7387' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.6 2.2c-.7.4-1.1 1-1.1 1.8'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a.on img.nav-ln[src*='/27.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8A92' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.6 2.2c-.7.4-1.1 1-1.1 1.8'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a img.nav-ln[src*='/28.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7387' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a.on img.nav-ln[src*='/28.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8A92' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s64,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s36,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s25,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s70,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s46,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s44,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s47,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s71,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s42,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s27,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s21,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s22,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s23,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s29,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s24,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s52,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s28,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s43,html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s112,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s64,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s36,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s25,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s70,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s46,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s44,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s47,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s71,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s42,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s27,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s21,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s22,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s23,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s29,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s24,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s52,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s28,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s43,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s112{background:currentColor!important;-webkit-mask:var(--ln) center/contain no-repeat;mask:var(--ln) center/contain no-repeat}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s64,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s64{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2z'/%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M9 7h6'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s36,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s36{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9a6 6 0 0 1 12 0c0 6 2.5 7.5 2.5 7.5h-17S6 15 6 9z'/%3E%3Cpath d='M10 20a2 2 0 0 0 4 0'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s25,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s25{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13.5' r='7.5'/%3E%3Cpath d='M12 9.5v4l2.5 1.5M9.5 3h5'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s70,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s70{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='7' width='19' height='11' rx='5.5'/%3E%3Cpath d='M8 10.5v4M6 12.5h4'/%3E%3Cpath d='M16 11.5h.01M18 13.5h.01'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s46,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s46{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='m7.5 8.5 4.5-4.5 4.5 4.5'/%3E%3Cpath d='M5 13v6h14v-6'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s44,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s44{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 20 1-4L16.5 4.5a2.1 2.1 0 0 1 3 3L8 19z'/%3E%3Cpath d='m14.5 6.5 3 3'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s47,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s47{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V11M12 20V5M19 20v-7'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s71,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s71{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 9v6M14 9v6'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s42,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s42{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='m4 8 8 5.5L20 8'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s27,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s27{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.6 2.2c-.7.4-1.1 1-1.1 1.8M12 17h.01'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s21,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s21{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s22,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s22{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3 5 14h6l-1 7 8-11h-6z'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s23,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s23{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4a3 3 0 0 0-3 3 3 3 0 0 0-2 5 3 3 0 0 0 2 4 3 3 0 0 0 6 1V5a3 3 0 0 0-3-1zM15 4a3 3 0 0 1 3 3 3 3 0 0 1 2 5 3 3 0 0 1-2 4 3 3 0 0 1-6 1'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s29,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s29{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0zM7 6H4v1a3 3 0 0 0 3 3M17 6h3v1a3 3 0 0 1-3 3M12 14v4M8 20h8'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s24,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s24{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16.5 14.2c2.6.3 4.5 2.5 4.5 5.8'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s52,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s52{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s28,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s28{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2.5v3M12 18.5v3M4.2 6.5l2.6 1.5M17.2 16l2.6 1.5M4.2 17.5 6.8 16M17.2 8l2.6-1.5M2.5 12h3M18.5 12h3'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s43,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s43{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='2.5'/%3E%3Ccircle cx='12' cy='12.5' r='3.5'/%3E%3Cpath d='M8 6l1.5-2h5L16 6'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si.s112,html body.wide:not(.dark):not(#a):not(#b) .modal .si.s112{--ln:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 5h13l-2.5 4L18 13H5'/%3E%3C/svg%3E")}

html body.wide:not(.dark):not(#a):not(#b){--bg:#E6EFF5;--card:#fff;--ink:var(--n0);--muted:#4F6B80;--line:#C5D6E2;--soft:#EEF4F8;background:linear-gradient(180deg,#EDF4F8 0%,#DCE9F1 60%,#CFE3EA 100%) fixed!important;color:var(--n0)}
html body.wide:not(.dark):not(#a):not(#b) .h-nb,html body.wide:not(.dark):not(#a):not(#b) .hc,html body.wide:not(.dark):not(#a):not(#b) .ch-hero,html body.wide:not(.dark):not(#a):not(#b) .cp-code,html body.wide:not(.dark):not(#a):not(#b) .cp-tile,html body.wide:not(.dark):not(#a):not(#b) .nw-tile,html body.wide:not(.dark):not(#a):not(#b) .set-profile,html body.wide:not(.dark):not(#a):not(#b) .cg-l,html body.wide:not(.dark):not(#a):not(#b) .cg-r,html body.wide:not(.dark):not(#a):not(#b) .cg-solo,html body.wide:not(.dark):not(#a):not(#b) .cp-row,html body.wide:not(.dark):not(#a):not(#b) .sj-lt,html body.wide:not(.dark):not(#a):not(#b) .q5-sb,html body.wide:not(.dark):not(#a):not(#b) .modal,html body.wide:not(.dark):not(#a):not(#b) .card{background:#fff!important;border:1px solid #C5D6E2!important;box-shadow:0 4px 14px color-mix(in srgb,var(--n0) 6%,transparent)!important}
html body.wide:not(.dark):not(#a):not(#b) .t-nav{background:rgba(255,255,255,.9)!important;border:1px solid #C5D6E2!important;box-shadow:0 8px 24px color-mix(in srgb,var(--n0) 12%,transparent)!important}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a{color:#4F6B80!important;font-weight:600!important;font-size:13px!important}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a.on,html body.wide:not(.dark):not(#a):not(#b) .t-nav .lens{background:#DDEFF1!important;color:var(--tm)!important;box-shadow:none!important}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a img.nav-ln{width:26px!important;height:26px!important;filter:none!important;opacity:1!important}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a img.nav-sq{filter:grayscale(1) brightness(.55)!important;opacity:.9}
html body.wide:not(.dark):not(#a):not(#b) .t-nav .nb,html body.wide:not(.dark):not(#a):not(#b) .t-bell-n{background:var(--tm)!important;color:#fff!important}
html body.wide:not(.dark):not(#a):not(#b) .t-body .si{color:#2F4F66}
html body.wide:not(.dark):not(#a):not(#b) .avatar,html body.wide:not(.dark):not(#a):not(#b) .t-av-img{background:#DDEFF1!important;color:var(--n0)!important;box-shadow:none!important}
html body.wide:not(.dark):not(#a):not(#b) .set-row .lnk,html body.wide:not(.dark):not(#a):not(#b) .ap-fs a,html body.wide:not(.dark):not(#a):not(#b) .emp-add,html body.wide:not(.dark):not(#a):not(#b) .link{color:var(--tm)!important}
html body.wide:not(.dark):not(#a):not(#b) .emp-add{background:#fff!important;border-color:#9CC3CB!important}
html body.wide:not(.dark):not(#a):not(#b) .rl-pc.on,html body.wide:not(.dark):not(#a):not(#b) .ap-fs button.on,html body.wide:not(.dark):not(#a):not(#b) .rl-row.on,html body.wide:not(.dark):not(#a):not(#b) .rl-opt.on,html body.wide:not(.dark):not(#a):not(#b) .nw-tile.on{border-color:var(--tm)!important;background:#E3F3F4!important;box-shadow:none!important}
html body.wide:not(.dark):not(#a):not(#b) .cg-bd,html body.wide:not(.dark):not(#a):not(#b) .emp-r,html body.wide:not(.dark):not(#a):not(#b) .rl-pts,html body.wide:not(.dark):not(#a):not(#b) .rl-n{background:#DDEFF1!important;color:var(--n0)!important;border-color:#9CC3CB!important}
html body.wide:not(.dark):not(#a):not(#b) .cg-r i{background:var(--tm)!important}
html body.wide:not(.dark):not(#a):not(#b) .nw-go[disabled],html body.wide:not(.dark):not(#a):not(#b) .btn.nw-go:disabled{background:#C9DAE4!important;color:#4F6B80!important;border:1.5px solid #A9C1D0!important;box-shadow:none!important;opacity:1!important}
html body.wide:not(.dark):not(#a):not(#b) .nw-foot{background:none!important}
html body.wide:not(.dark):not(#a):not(#b) .nw-more-subj,html body.wide:not(.dark):not(#a):not(#b) .nw .link.nw-link{color:var(--tm)!important}
html body.wide:not(.dark):not(#a):not(#b) .input,html body.wide:not(.dark):not(#a):not(#b) input[type=search],html body.wide:not(.dark):not(#a):not(#b) .cp-search{background:#fff!important;border:1px solid #C5D6E2!important}
html body.wide:not(.dark):not(#a):not(#b) .chev,html body.wide:not(.dark):not(#a):not(#b) .chev svg{color:#6F8AA0!important}
html body.wide:not(.dark):not(#a):not(#b) .cp-tile .cp-pl{color:#B07A0A!important}
html body.wide:not(.dark):not(#a):not(#b) .h-hist svg{color:var(--tm)}

/* v765b light: clock icon, gold progress, neutral header buttons */
html body.wide:not(.dark):not(#a):not(#b) .t-nav a img.nav-sq{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7387' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13.5' r='7.5'/%3E%3Cpath d='M12 9.5v4l2.5 1.5M9.5 3h5'/%3E%3C/svg%3E");filter:none!important;opacity:1;width:30px;height:30px}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a.on img.nav-sq{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8A92' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13.5' r='7.5'/%3E%3Cpath d='M12 9.5v4l2.5 1.5M9.5 3h5'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b) .t-nav a img.nav-sq{filter:none!important;opacity:1!important}
html body.wide:not(.dark):not(#a):not(#b) .hc-ring::before{background:conic-gradient(#D99A12 calc(var(--p)*1%),color-mix(in srgb,var(--n0) 12%,transparent) 0)!important}
html body.wide:not(.dark):not(#a):not(#b) .ch-bar i{background:linear-gradient(90deg,#D99A12,#E8B33A)!important}
html body.wide:not(.dark):not(#a):not(#b) .cp-row .cp-pts{color:#B07A0A!important}
html body.wide:not(.dark):not(#a):not(#b) .t-bell{background:#fff!important;border:1px solid #C5D6E2!important;color:#2F4F66!important}
html body.wide:not(.dark):not(#a):not(#b) .h-hist{background:#fff!important;border:1px solid #C5D6E2!important;color:#2F4F66!important}
html body.wide:not(.dark):not(#a):not(#b) .cl-ph,html body.wide:not(.dark):not(#a):not(#b) .nw-dots i.on,html body.wide:not(.dark):not(#a):not(#b) .nw-prog i.on{background:var(--tm)!important}
html body.wide:not(.dark):not(#a):not(#b) .hc-ring{background:conic-gradient(#D99A12 calc(var(--p)*1%),color-mix(in srgb,var(--n0) 12%,transparent) 0)!important}
html body.wide:not(.dark):not(#a):not(#b) .nw-mode{background:#fff!important;border:1px solid #C5D6E2!important}
html body.wide:not(.dark):not(#a):not(#b) .nw-mode button{background:transparent!important;color:#4F6B80!important}
html body.wide:not(.dark):not(#a):not(#b) .nw-mode button.on{background:#DDEFF1!important;color:var(--n0)!important;box-shadow:inset 0 0 0 1.5px var(--tm)!important}
html body.wide:not(.dark):not(#a):not(#b) .cl-toprow .btn.ghost.cl-selb{color:var(--tm)!important;background:#fff!important;border:1px solid #9CC3CB!important}
html body.wide:not(.dark):not(#a):not(#b) .hv button.on,html body.wide:not(.dark):not(#a):not(#b) .hv-sw button.on{background:var(--tm)!important;color:#fff!important}
/* v766: swipe row's coloured actions must never show through (opaque front card) */
html body.wide.dark:not(#a):not(#b) .sw-main{background:#12304A!important}
html body.wide.dark:not(#a):not(#b) .sw-row{background:#12304A!important}
html body.wide:not(.dark):not(#a):not(#b) .sw-main{background:#fff!important}
html body.wide:not(.dark):not(#a):not(#b) .sw-row{background:#fff!important}
/* v766: the green/red swipe actions stay invisible until the row is really swiped (no flicker at the row edges) */
.sw-row .sw-act{opacity:0;visibility:hidden}
.sw-row:has(.sw-main[style*="translate"]) .sw-act,.sw-row:has(.sw-main.open) .sw-act{opacity:1;visibility:visible}
/* v770: light class page in Night Sea colours */
html body.wide:not(.dark):not(#a):not(#b) .sw-n,html body.wide:not(.dark):not(#a):not(#b) .rk{background:#DDEFF1!important;color:var(--n0)!important}
html body.wide:not(.dark):not(#a):not(#b) .t-bell,html body.wide:not(.dark):not(#a):not(#b) .t-top .icon-btn,html body.wide:not(.dark):not(#a):not(#b) .cl-acts .icon-btn{background:#fff!important;border:1px solid #C5D6E2!important;color:var(--n1)!important}
html body.wide:not(.dark):not(#a):not(#b) .t-top .icon-btn .ico,html body.wide:not(.dark):not(#a):not(#b) .cl-acts .icon-btn .ico{color:var(--n1)!important;stroke:var(--n1)}
html body.wide:not(.dark):not(#a):not(#b) .sw-row{border-bottom:1px solid #D5E3EC!important}
html body.wide:not(.dark):not(#a):not(#b) .cl-wa{background:#DDEFF1;color:var(--tm)}
/* v770b: light challenge page */
html body.wide:not(.dark):not(#a):not(#b) .ch-hero small{color:var(--n1)!important;font-size:16px;font-weight:800}
html body.wide:not(.dark):not(#a):not(#b) .ch-bar{background:#C5D6E2!important}
html body.wide:not(.dark):not(#a):not(#b) .btn.ch-rem{background:#C8102E!important;box-shadow:0 5px 0 #8E0B21!important;color:#fff!important}
html body.wide:not(.dark):not(#a):not(#b) .btn.ch-rem .si,html body.wide:not(.dark):not(#a):not(#b) .btn.ch-rem .ico{color:#fff!important}
html body.wide:not(.dark):not(#a):not(#b) .ch-mini,html body.wide:not(.dark):not(#a):not(#b) .ch-mini.soft{background:#fff!important;border:1px solid var(--n4)!important;color:var(--n1)!important;box-shadow:none!important;font-weight:800}
html body.wide:not(.dark):not(#a):not(#b) .ch-mini .si,html body.wide:not(.dark):not(#a):not(#b) .ch-mini .ico{color:var(--tm)!important}
html body.wide:not(.dark):not(#a):not(#b) .cp-row.dim .grow,html body.wide:not(.dark):not(#a):not(#b) .cp-row.dim .cp-pts{opacity:.75}
html body.wide:not(.dark):not(#a):not(#b) .cp-row .cp-pts,html body.wide:not(.dark):not(#a):not(#b) .cp-row.z .cp-pts{color:#5A7387!important}
html body.wide:not(.dark):not(#a):not(#b) .t-top .icon-btn.back-btn,html body.wide:not(.dark):not(#a):not(#b) .back-btn{background:#fff!important;border:1px solid #C5D6E2!important;color:var(--n1)!important}
html body.wide:not(.dark):not(#a):not(#b) .back-btn .ico,html body.wide:not(.dark):not(#a):not(#b) .back-btn .si,html body.wide:not(.dark):not(#a):not(#b) .back-btn svg{color:var(--n1)!important;stroke:var(--n1)}
/* v770c: notifications drop down from the top under the bell */
@keyframes ntDrop{from{opacity:0;transform:translateY(-14px) scale(.97)}to{opacity:1;transform:none}}
html body .modal-back:has(.nt-sheet){align-items:flex-start;justify-content:center;padding:calc(env(safe-area-inset-top,0px) + 70px) 12px 0;background:rgba(6,16,56,.38)}
html body .modal-back:has(.nt-sheet) .modal{border-radius:22px!important;max-width:460px;max-height:68dvh;margin-bottom:0;padding:16px 14px 14px;transform-origin:top left;animation:ntDrop .2s ease-out}
html body .modal-back:has(.nt-sheet) .modal::before,html body .modal-back:has(.nt-sheet) .modal .grab{display:none}
/* v770d: student sheet + modals light, no red for ordinary controls */
html body.wide:not(.dark):not(#a):not(#b) .modal .st1-x,html body.wide:not(.dark):not(#a):not(#b) .modal .st1-nav .icon-btn,html body.wide:not(.dark):not(#a):not(#b) .modal .icon-btn{background:#fff!important;border:1px solid #C5D6E2!important;color:var(--n1)!important}
html body.wide:not(.dark):not(#a):not(#b) .modal .st1-x .ico,html body.wide:not(.dark):not(#a):not(#b) .modal .icon-btn .ico{color:var(--n1)!important;stroke:var(--n1)}
html body.wide:not(.dark):not(#a):not(#b) .modal .st1-o{background:#EEF4F8!important;border:1px solid #D5E3EC!important;color:var(--n0)}
html body.wide:not(.dark):not(#a):not(#b) .modal .st1-o .e .ico,html body.wide:not(.dark):not(#a):not(#b) .modal .st1-o .e svg{width:28px;height:28px;color:var(--tm)!important;stroke:var(--tm)}
html body.wide:not(.dark):not(#a):not(#b) .modal .st1-o[data-act="t-del-student"] .e .ico,html body.wide:not(.dark):not(#a):not(#b) .modal .st1-o[data-act="t-del-student"] .e svg{color:#B3261E!important;stroke:#B3261E}
html body.wide.dark:not(#a):not(#b) .modal .st1-x,html body.wide.dark:not(#a):not(#b) .modal .st1-nav .icon-btn{background:rgba(16,40,62,.85)!important;border:1px solid var(--n4)!important;color:#F4F7FA!important}
html body.wide.dark:not(#a):not(#b) .modal .st1-o .e .ico{color:var(--tl)!important;stroke:var(--tl);width:28px;height:28px}
/* v770e: generic sheets in Night Sea */
html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-t{color:var(--n1);font-weight:800}
html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-list,html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-cancel{background:#EEF4F8!important;border:1px solid #D5E3EC!important}
html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-list .sheet-i{background:transparent!important}
html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-list .sheet-i+.sheet-i{border-top:1px solid #D5E3EC}
html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-i,html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-i span{color:var(--n0)}
html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-i .ico,html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-i .si{color:var(--tm)!important;stroke:var(--tm)}
html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-i.danger,html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-i.danger span{color:#B3261E}
html body.wide:not(.dark):not(#a):not(#b) .modal .sheet-i.danger .ico{color:#B3261E!important;stroke:#B3261E}
html body.wide.dark:not(#a):not(#b) .modal .sheet-i .ico{color:var(--tl)!important;stroke:var(--tl)}
html body.wide.dark:not(#a):not(#b) .modal .sheet-i.danger .ico{color:#FF8A80!important;stroke:#FF8A80}
html body.wide:not(.dark):not(#a):not(#b) .cp-rk{background:#DDEFF1!important;color:var(--n0)!important}
html body.wide.dark:not(#a):not(#b) .cp-rk{background:color-mix(in srgb,var(--tl) 16%,transparent)!important;color:#F4F7FA!important}
html body.wide:not(.dark):not(#a):not(#b) .sw-row+.sw-row .sw-main,html body.wide:not(.dark):not(#a):not(#b) .sw-main{border-top-color:#D5E3EC!important;--line:#D5E3EC}
html body.wide:not(.dark):not(#a):not(#b) .sw-row{border-bottom:0!important}
.sw-row:not(:has(.sw-main[style*="translate"])):not(:has(.sw-main.open)) .sw-act,.sw-row:not(:has(.sw-main[style*="translate"])):not(:has(.sw-main.open)) .sw-act *{opacity:0!important;visibility:hidden!important}
html body.wide:not(.dark):not(#a):not(#b) .cp-swr::after{background:#D5E3EC!important}
html body.wide.dark:not(#a):not(#b) .cp-swr::after{background:rgba(63,101,128,.55)!important}
html body.wide:not(.dark):not(#a):not(#b) .cp-swr.cps-on .sw-main::before,html body.wide.dark:not(#a):not(#b) .cp-swr.cps-on .sw-main::before{background-color:var(--tm)!important}
/* v773: grade group header same as dark (plain title, no white card) */
html body.wide:not(.dark):not(#a):not(#b) details.cg-g{background:transparent!important;box-shadow:none!important;border:0!important}
html body.wide:not(.dark):not(#a):not(#b) details.cg-g>summary{background:transparent!important;box-shadow:none!important}
html body.wide:not(.dark):not(#a):not(#b) details.cg-g>.cg-l{background:#fff!important;border-radius:16px;box-shadow:0 1px 2px color-mix(in srgb,var(--n0) 5%,transparent),0 4px 14px color-mix(in srgb,var(--n0) 5%,transparent)!important}
/* v774: avatar menu in Night Sea glass with line icons */
html body.wide.dark:not(#a):not(#b) .tm-pop{background:linear-gradient(180deg,color-mix(in srgb,var(--n1) 96%,transparent),color-mix(in srgb,var(--n0) 96%,transparent))!important;border:1px solid var(--n4)!important;box-shadow:0 18px 44px rgba(0,0,0,.45)!important;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
html body.wide.dark:not(#a):not(#b) .tm-pop button{color:#F4F7FA!important}
html body.wide.dark:not(#a):not(#b) .tm-pop button:active{background:color-mix(in srgb,var(--tl) 14%,transparent)!important}
html body.wide.dark:not(#a):not(#b) .tm-p-r span .ico,html body.wide.dark:not(#a):not(#b) .tm-p-r span svg{width:22px;height:22px;color:var(--tl)!important;stroke:var(--tl)}
html body.wide.dark:not(#a):not(#b) .tm-p-r.dng,html body.wide.dark:not(#a):not(#b) .tm-p-r.dng span .ico{color:#FF8A80!important;stroke:#FF8A80}
html body.wide.dark:not(#a):not(#b) .tm-ok{color:var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b) .tm-pop{background:#fff!important;border:1px solid #C5D6E2!important;box-shadow:0 18px 44px color-mix(in srgb,var(--n0) 18%,transparent)!important}
html body.wide:not(.dark):not(#a):not(#b) .tm-pop button{color:var(--n0)!important}
html body.wide:not(.dark):not(#a):not(#b) .tm-p-r span .ico,html body.wide:not(.dark):not(#a):not(#b) .tm-p-r span svg{width:22px;height:22px;color:var(--tm)!important;stroke:var(--tm)}
html body.wide:not(.dark):not(#a):not(#b) .tm-p-r.dng,html body.wide:not(.dark):not(#a):not(#b) .tm-p-r.dng span .ico{color:#B3261E!important;stroke:#B3261E}
html body.wide:not(.dark):not(#a):not(#b) .tm-ok{color:var(--tm)!important}
/* v775: settings rows = one icon style (teal line), darker text */
.set-ic.ln{background:none!important;width:32px;height:32px;display:grid;place-items:center;flex:none}
.set-ic.ln .ico{width:24px;height:24px;stroke-width:1.9}
html body.wide.dark:not(#a):not(#b) .set-ic.ln .ico,html body.wide.dark:not(#a):not(#b) .set-ic.ln svg{color:var(--tl)!important;stroke:var(--tl)}
html body.wide:not(.dark):not(#a):not(#b) .set-ic.ln .ico,html body.wide:not(.dark):not(#a):not(#b) .set-ic.ln svg{color:var(--tm)!important;stroke:var(--tm)}
html body.wide.dark:not(#a):not(#b) .set-row,html body.wide.dark:not(#a):not(#b) .set-row .grow,html body.wide.dark:not(#a):not(#b) .set-row b{color:#FFFFFF!important;font-weight:700}
html body.wide.dark:not(#a):not(#b) .set-row small,html body.wide.dark:not(#a):not(#b) .set-row .rl-txt small{color:#B9CDDB!important}
html body.wide:not(.dark):not(#a):not(#b) .set-row,html body.wide:not(.dark):not(#a):not(#b) .set-row .grow,html body.wide:not(.dark):not(#a):not(#b) .set-row b{color:var(--n0)!important;font-weight:700}
html body.wide:not(.dark):not(#a):not(#b) .set-row small{color:#4A6275!important}
html body.wide.dark:not(#a):not(#b) .set-row .chev,html body.wide.dark:not(#a):not(#b) .set-row>i{color:#B9CDDB!important}
/* v777: audit fixes — Night Sea everywhere (no wine / black / green / pink leftovers) */
html body.wide.dark:not(#a):not(#b) .aw-as .grp,html body:not(.wide):not(#a):not(#b) .aw-as .grp{background:rgba(16,40,62,.95)!important;border:1px solid var(--n4)!important;color:#F4F7FA}
html body.wide.dark:not(#a):not(#b) .aw-as .grp p,html body:not(.wide):not(#a):not(#b) .aw-as .grp p,html body.wide.dark:not(#a):not(#b) .aw-as .aopt,html body:not(.wide):not(#a):not(#b) .aw-as .aopt,html body.wide.dark:not(#a):not(#b) .aw-as .cancel,html body:not(.wide):not(#a):not(#b) .aw-as .cancel{color:#F4F7FA!important;border-color:var(--n4)!important}
html body.wide.dark:not(#a):not(#b) .aw-as .aopt .ico,html body:not(.wide):not(#a):not(#b) .aw-as .aopt .ico{color:var(--tl)!important;stroke:var(--tl)}
html body.wide:not(.dark):not(#a):not(#b) .aw-as .grp{background:#fff!important;border:1px solid #C5D6E2!important}
html body.wide:not(.dark):not(#a):not(#b) .aw-as .grp p,html body.wide:not(.dark):not(#a):not(#b) .aw-as .aopt,html body.wide:not(.dark):not(#a):not(#b) .aw-as .cancel{color:var(--n0)!important;border-color:#C5D6E2!important}
html body.wide:not(.dark):not(#a):not(#b) .aw-as .aopt .ico{color:var(--tm)!important;stroke:var(--tm)}
html body.wide.dark:not(#a):not(#b) .snd{background:rgba(16,40,62,.85)!important;border:1px solid var(--n4)!important}
html body.wide:not(.dark):not(#a):not(#b) .snd{background:#fff!important;border:1px solid #C5D6E2!important;color:var(--n0)}
html body.wide.dark:not(#a):not(#b) .snd-q,html body.wide.dark:not(#a):not(#b) .snd-w{background:color-mix(in srgb,var(--tl) 14%,transparent)!important;color:var(--tl)!important;border:1px solid var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b) .snd-q,html body.wide:not(.dark):not(#a):not(#b) .snd-w{background:#DDEFF1!important;color:var(--tm)!important;border:1px solid var(--tm)!important}
html body.wide.dark:not(#a):not(#b) .ac-grp{background:rgba(16,40,62,.85)!important;border:1px solid var(--n4)!important}
html body.wide:not(.dark):not(#a):not(#b) .ac-grp{background:#fff!important;border:1px solid #C5D6E2!important}
html body.wide.dark:not(#a):not(#b) .ac-c{background:rgba(16,40,62,.85)!important;border:1px solid var(--n4)!important;color:#F4F7FA!important}
html body.wide:not(.dark):not(#a):not(#b) .ac-c{background:#EEF4F8!important;border:1px solid #C5D6E2!important;color:var(--n0)!important}
html body.wide.dark:not(#a):not(#b) .ac-c.on{background:color-mix(in srgb,var(--tl) 18%,transparent)!important;border-color:var(--tl)!important;box-shadow:none!important;color:var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b) .ac-c.on{background:#DDEFF1!important;border-color:var(--tm)!important;box-shadow:none!important;color:var(--tm)!important}
html body.wide.dark:not(#a):not(#b) .prof-cam,html body.wide.dark:not(#a):not(#b) .ac-pav .prof-cam{background:var(--n1)!important;border:2px solid var(--tl)!important;color:var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b) .prof-cam,html body.wide:not(.dark):not(#a):not(#b) .ac-pav .prof-cam{background:#DDEFF1!important;border:2px solid var(--tm)!important;color:var(--tm)!important}
html body:not(.wide):not(#a):not(#b) .bg2.on .bg2-md::after{background:radial-gradient(var(--n1),var(--n0))!important}
html body .s-nav button.on{color:var(--tl)!important}
html body:not(.wide):not(#a):not(#b) .s-nav .lens{background:color-mix(in srgb,var(--tl) 14%,transparent)!important}
html body:not(.wide):not(#a):not(#b) .sp-rival,html body:not(.wide):not(#a):not(#b) .sp-prize{background:rgba(16,40,62,.85)!important}
html body:not(.wide):not(#a):not(#b) .sp-rival b,html body:not(.wide):not(#a):not(#b) .sp-prize b{color:#E3B23C!important}
html body.wide.dark:not(#a):not(#b) .modal,html body:not(.wide):not(#a):not(#b) .modal{box-shadow:0 -12px 44px rgba(0,0,0,.4)!important;border-color:var(--n4)!important}
html body.wide.dark:not(#a):not(#b) .nw-set1 em,html body:not(.wide):not(#a):not(#b) .nw-set1 em{color:var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b) .nw-set1 em{color:var(--tm)!important}
html body.wide.dark:not(#a):not(#b) .cpp-del{color:var(--n7)!important}
html body.wide:not(.dark):not(#a):not(#b) .cpp-del{color:#4F6B80!important}
html body.wide.dark:not(#a):not(#b) .cl-add1 .pl,html body.wide.dark:not(#a):not(#b) .aw-addline .pl{color:var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b) .cl-add1 .pl,html body.wide:not(.dark):not(#a):not(#b) .aw-addline .pl{color:var(--tm)!important}
html body.wide.dark:not(#a):not(#b) .sel-bar{background:rgba(16,40,62,.95)!important;border:1px solid var(--n4)!important;box-shadow:0 8px 28px rgba(0,0,0,.4)!important}
html body.wide:not(.dark):not(#a):not(#b) .sel-bar{background:#fff!important;border:1px solid #C5D6E2!important;box-shadow:0 8px 28px color-mix(in srgb,var(--n0) 14%,transparent)!important}
html body.wide.dark:not(#a):not(#b) .sel-bar a,html body.wide.dark:not(#a):not(#b) .sel-bar .link{color:var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b) .sel-bar a,html body.wide:not(.dark):not(#a):not(#b) .sel-bar .link{color:var(--tm)!important}
html body.wide.dark:not(#a):not(#b) .ch-warn{background:rgba(227,178,60,.1)!important;border:1px solid rgba(227,178,60,.45)!important}
html body.wide:not(.dark):not(#a):not(#b) .ch-warn{background:rgba(217,154,18,.1)!important;border:1px solid rgba(217,154,18,.45)!important}
html body.wide:not(.dark):not(#a):not(#b) .ch-join .stp-b{background:var(--tm)!important;background-image:none!important;color:#fff!important;box-shadow:none!important}
html body.wide:not(.dark):not(#a):not(#b) .ch-idle b{background:var(--tm)!important;color:#fff!important}
html body.wide:not(.dark):not(#a):not(#b) .ch-b.end{color:var(--n1)!important;background:#fff!important;border:1px solid #C5D6E2!important}
html body.wide.dark:not(#a):not(#b) .nw-dots i.on{background:var(--tl)!important;box-shadow:none!important}
html body.wide:not(.dark):not(#a):not(#b) .nw-dots i.on{background:var(--tm)!important;box-shadow:none!important}
html body.wide.dark:not(#a):not(#b) .ios-sw[aria-checked="true"],html body.wide.dark:not(#a):not(#b) .ios-sw.on{background:var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b) .ios-sw[aria-checked="true"],html body.wide:not(.dark):not(#a):not(#b) .ios-sw.on{background:var(--tm)!important}
html body.wide.dark:not(#a):not(#b) .ios-sw:not([aria-checked="true"]):not(.on){background:var(--n3)!important}
html body.wide:not(.dark):not(#a):not(#b) .ios-sw:not([aria-checked="true"]):not(.on){background:#C5D6E2!important}
html body.wide.dark:not(#a):not(#b) .rl-sg button.on{background:var(--n1)!important;outline:1px solid var(--tl)}
html body.wide.dark:not(#a):not(#b) .cxm{background:rgba(16,40,62,.96)!important;border:1px solid var(--n4)!important}
html body.wide:not(.dark):not(#a):not(#b) .cxm{background:#fff!important;border:1px solid #C5D6E2!important;color:var(--n0)}
html body #toast{background:rgba(14,25,56,.94)!important;border:1px solid var(--n4)!important;color:#F4F7FA!important}
html body.wide:not(.dark):not(#a):not(#b) .ac-grp *{border-color:#D5E3EC!important}
html body.wide:not(.dark):not(#a):not(#b) .ac-grp input,html body.wide:not(.dark):not(#a):not(#b) .ac-grp select{color:var(--n0)!important}
html body.wide:not(.dark):not(#a):not(#b) .ac-grp input::placeholder{color:#8AA0B2!important}
/* v779: bolder, clearer small text */
html body .cg-r .cg-t b{font-size:19px!important;font-weight:800!important}
html body .cg-r .cg-t small{font-size:15px!important;font-weight:600!important}
html body.wide.dark:not(#a):not(#b) .cg-r .cg-t b{color:#FFFFFF!important}html body.wide.dark:not(#a):not(#b) .cg-r .cg-t small{color:#C9D9E6!important}
html body.wide:not(.dark):not(#a):not(#b) .cg-r .cg-t b{color:var(--n0)!important}html body.wide:not(.dark):not(#a):not(#b) .cg-r .cg-t small{color:#3E5A70!important}
html body .cl-selb{font-size:17px!important;font-weight:800!important}
html body.wide:not(.dark):not(#a):not(#b) .cl-selb{color:var(--n0)!important;border-color:#8FB0C4!important;background:#fff!important}
html body.wide.dark:not(#a):not(#b) .cl-selb{color:#FFFFFF!important;border-color:#5C84A0!important}
html body:not(.wide):not(#a):not(#b) .s-prof-pg .sp-rows .r span{color:#D5E2EC!important;font-size:17px!important;font-weight:700!important}
html body:not(.wide):not(#a):not(#b) .s-prof-pg .sp-rows .r b{color:#FFFFFF!important;font-size:18px!important;font-weight:800!important}
html body:not(.wide):not(#a):not(#b) .s-prof-pg .sp-rows .r{border-color:rgba(159,179,200,.28)!important}
/* v780: student bar = line icons like the teacher bar; student «أنا» page icons teal */
html body:not(.wide):not(#a):not(#b) .s-nav button .ico{width:26px;height:26px;color:#B9CDDB;stroke:#B9CDDB;fill:none;stroke-width:1.9}
html body:not(.wide):not(#a):not(#b) .s-nav button.on .ico{color:var(--tl);stroke:var(--tl)}
html body:not(.wide):not(#a):not(#b) .s-nav button span{color:#B9CDDB}
html body:not(.wide):not(#a):not(#b) .s-nav button.on span{color:var(--tl)!important}
html body:not(.wide):not(#a):not(#b) .s-nav a.s-ar img.nav-sq,html body:not(.wide):not(#a):not(#b) .s-nav button.s-ar img.nav-sq{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9CDDB' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13.5' r='7.5'/%3E%3Cpath d='M12 9.5v4l2.5 1.5M9.5 3h5'/%3E%3C/svg%3E");filter:none!important;opacity:1!important;width:34px;height:34px}
html body:not(.wide):not(#a):not(#b) .s-nav button.s-ar.on img.nav-sq{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339C7CF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13.5' r='7.5'/%3E%3Cpath d='M12 9.5v4l2.5 1.5M9.5 3h5'/%3E%3C/svg%3E")}
html body:not(.wide):not(#a):not(#b) .s-me-l i .ico{width:24px;height:24px;color:var(--tl);stroke:var(--tl)}
html body:not(.wide):not(#a):not(#b) .s-me-l em.sw.on{background:var(--tl)!important}
html body:not(.wide):not(#a):not(#b) .s-me-x .s-del .ico{width:20px;height:20px;vertical-align:-4px;color:#FF8A80;stroke:#FF8A80}

/* v781 gold island badge */
html body:not(.wide) .kw-g .kw-ok{background:#E3B23C!important;color:var(--n0)!important;border-color:var(--n0)!important}

/* v792 login: keep the hero below the status bar now that the page extends under it */
html body:not(.wide) .sh.sl.sl-red{padding-top:calc(env(safe-area-inset-top,0px) + 6px)!important}

/* v793 login hero: sharp logo edges (the old round mask blurred the 6 and the S); fade only the outer few percent */
html body .sl.sl-red .sl-hero img{-webkit-mask:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%),linear-gradient(180deg,transparent 0,#000 6%,#000 88%,transparent 100%);-webkit-mask-composite:source-in;mask:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%),linear-gradient(180deg,transparent 0,#000 6%,#000 88%,transparent 100%);mask-composite:intersect}
/* v794: no white band under student screens in the installed app (dvh shorter than screen) */
html:has(body:not(.wide)){background:var(--n0)}
/* v796: teacher login in Night Sea (always dark navy, red only on the main button) */
html body .ta:not(#z){background:linear-gradient(180deg,var(--n0),var(--n1) 60%,#1B4A55)!important;color:#fff}
html body .ta .card:not(#z){background:rgba(16,40,62,.9)!important;border:1px solid color-mix(in srgb,var(--tl) 28%,transparent)!important;box-shadow:0 8px 30px rgba(0,0,0,.35)!important}
html body .ta .tabs:not(#z){background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.12)}
html body .ta .tabs button.on:not(#z){background:color-mix(in srgb,var(--tl) 18%,transparent)!important;color:#fff!important;border:1px solid var(--tl)!important;box-shadow:none!important}
html body .ta .input:not(#z){background:rgba(255,255,255,.07)!important;border:1.5px solid rgba(255,255,255,.16)!important;color:#fff!important}
html body .ta .link.forgot:not(#z){color:var(--tl)!important;border-color:var(--tl)!important}
html body .ta .bio-btn:not(#z),html body .ta .btn.ghost:not(#z){background:rgba(255,255,255,.07)!important;color:#fff!important;box-shadow:none!important;border:1px solid color-mix(in srgb,var(--tl) 40%,transparent)!important}
html body .ta .ta-stu:not(#z){background:rgba(255,255,255,.06);border-color:#E3B23C;color:#E3B23C}
/* v797: round screen — page background black behind the 100dvh box so Safari never shows white */
html:has(.play.pv.pvx),html:has(.play.pv.pvx) body{background:#000!important}
/* v798: teacher light mode — darker, slightly bolder text (Khalid: colours too pale) */
html body.wide:not(.dark):not(#a):not(#b){--ink:#06101F;--muted:#3A4B5E}
html body.wide:not(.dark):not(#a):not(#b) :is(.sub,small,.hint,.muted,.tm-pop small,.t-nav span,.t-tab span,label){color:#33455A!important}
html body.wide:not(.dark):not(#a):not(#b) :is(h1,h2,h3,b,strong,.tm-pop button,.card .t){color:#06101F!important}
html body.wide:not(.dark):not(#a):not(#b) :is(.sub,.tm-pop button,.t-nav span,.t-tab span,p){font-weight:700}
/* v799 open-the-app bar: normal flow at the very top, under Safari's own bar */
#appbar{position:relative;z-index:50;display:flex;align-items:center;gap:10px;direction:rtl;padding:8px 12px;background:#0E1938;color:#fff;border-bottom:1px solid color-mix(in srgb,var(--tl) 28%,transparent);font-family:'Cairo',system-ui,sans-serif}
#appbar .ab-t{flex:1;display:flex;flex-direction:column;line-height:1.25;min-width:0}
#appbar .ab-t b{font-size:14px;font-weight:800}
#appbar .ab-t small{font-size:12px;color:#C7D3DE}
#appbar .ab-go{background:#C8102E;color:#fff;font-weight:800;font-size:14px;padding:6px 18px;border-radius:999px;text-decoration:none}
#appbar .ab-x{background:none;border:0;color:#C7D3DE;font-size:16px;padding:4px 6px}
/* v800: the page gradient is background-attachment:fixed, which iOS paints only for the first viewport and leaves the rest white → solid end colour underneath */
html:has(body:not(.wide)),html body:not(.wide)[data-theme]{background-color:var(--n2)!important}
html:has(.play.pv.pvx),html:has(.play.pv.pvx) body{background-color:#000!important}
/* own app bar takes 56px in the flow: full-height screens shrink by it */
#appbar{height:56px;box-sizing:border-box}
html.has-appbar body:not(#a):not(#b) .sh{min-height:calc(100dvh - 56px)!important}
html.has-appbar body:not(#a):not(#b) .play.pv.pvx{height:calc(100dvh - 56px)!important}
html.has-appbar body:not(#a):not(#b) .ta{min-height:calc(100dvh - 56px)!important}
/* v801: rating dialog follows Night Sea — red only on «إرسال», «لاحقاً» neutral teal, empty stars grey, gold when picked */
html body:not(#a):not(#b) .rt-box .btn.ghost{background:transparent!important;color:var(--tm)!important;border:1.5px solid var(--tm)!important;box-shadow:none!important}
html body.dark:not(#a):not(#b) .rt-box .btn.ghost,html body:not(.wide):not(#a):not(#b) .rt-box .btn.ghost{color:var(--tl)!important;border-color:var(--tl)!important}
html body:not(#a):not(#b) .rt-box .btn[disabled]{background:#9AA8B5!important;color:#fff!important;box-shadow:none!important;opacity:1!important}
html body:not(#a):not(#b) .rt-stars button{color:#B8C4CF}
html body:not(#a):not(#b) .rt-stars button.on{color:#E3B23C}
html body:not(#a):not(#b) .modal-back.rt-mid .modal{border-bottom-color:color-mix(in srgb,var(--tl) 36%,transparent)!important}
/* v803: island home lock no longer pins the body (position:fixed + black-translucent left the viewport ~85pt short on iOS: bar floated up, strip under it). Scroll stays blocked by overflow:hidden */
html body.ar-lock{position:static!important;inset:auto!important;width:auto!important;min-height:100lvh}
html:has(body.ar-lock){height:100%;overflow:hidden}
/* v804 (Khalid): student tab pages («أنا», «المراكز») don't scroll when the content fits — padding counted inside the screen height */
html body:not(.wide) #app > .sh.s-tabpg{box-sizing:border-box!important;min-height:100dvh!important}
html.has-appbar body:not(.wide):not(#a):not(#b) #app > .sh.s-tabpg{min-height:calc(100dvh - 56px)!important}
/* v806 (Khalid): side islands were foggy — side fade only on the outer 3% instead of 12% */
html body .ar-orb.kw{-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent),linear-gradient(180deg,#000 86%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent),linear-gradient(180deg,#000 86%,transparent);mask-composite:intersect}
/* v807: «أنا»/«المراكز» — bottom space = bar clearance only (was 110px + 22px), so the page fits without scrolling */
html body:not(.wide) #app > .sh.s-tabpg:has(~ .s-nav){padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}
html body:not(.wide) #app > .sh.s-tabpg > .s-pgc{padding-top:12px;padding-bottom:4px}
html body:not(.wide) #app > .sh.s-tabpg > .s-pgc > :last-child{margin-bottom:0!important}
/* v808 (Khalid): islands not cut at the sides — no side mask, neighbours run out to the screen edge; soft fade only at the bottom */
html body:not(#a) .ar-orb.kw{overflow:visible!important;-webkit-mask-image:none!important;mask-image:none!important}
/* v810: teacher login — page colour under the screen matches the gradient's end (was dark navy strip at the bottom) */
html:has(.ta),html:has(.ta) body:not(#a):not(#b){background:#1B4A55!important}
/* v811: icon-only biometric login button */
.ta .bio-ic{display:flex;align-items:center;justify-content:center;width:68px;height:68px;margin:18px auto 2px;border-radius:50%;background:color-mix(in srgb,var(--tl) 10%,transparent);border:2px solid var(--tl);color:var(--tl);box-shadow:0 0 18px color-mix(in srgb,var(--tl) 25%,transparent);cursor:pointer;padding:0}
.ta .bio-ic:active{transform:scale(.94);background:color-mix(in srgb,var(--tl) 20%,transparent)}
/* v812: teacher dark — colour under the fixed gradient = its end colour (was a dark navy strip under the tab bar on iOS) */
html:has(body.wide.dark):not(:has(.ta)){background:var(--n2)!important}
html body.wide.dark:not(#a):not(#b):not(:has(.ta)){background-color:var(--n2)!important}
/* v812: teacher light — same rule (colour under the fixed gradient = its end colour) */
html:has(body.wide:not(.dark)):not(:has(.ta)){background:#CFE3EA!important}
html body.wide:not(.dark):not(#a):not(#b):not(:has(.ta)){background-color:#CFE3EA!important}

/* v813: store link button inside the solo sheets */
html body .modal a.btn.so-store{display:flex;align-items:center;justify-content:center;text-decoration:none;box-sizing:border-box}
/* v814 (Khalid 2026-11-30, reference: glossy round exit button): round exit = glossy teal button at the bottom left corner (Khalid: «تحت ع اليمين او الشمال»); timer row takes the full width again */
html body .play.pv.pvx.ar-round:not(#a) .ar-clk{margin-left:0!important}
html body .play.pv.pvx.ar-round:not(#a)>.ar-x{position:absolute!important;top:auto!important;bottom:calc(env(safe-area-inset-bottom,0px) + 18px)!important;left:18px!important;right:auto!important;transform:none!important;width:44px!important;height:44px!important;border-radius:50%!important;opacity:1!important;z-index:5;padding:0!important;display:grid!important;place-items:center!important;color:#fff!important;border:3px solid #CFEFF2!important;background:radial-gradient(circle at 35% 28%,#7FE3E9 0,var(--tl) 38%,#178A94 100%)!important;box-shadow:0 4px 0 #0C5961,0 8px 14px rgba(0,0,0,.4),inset 0 2px 0 rgba(255,255,255,.45)!important}
html body .play.pv.pvx.ar-round:not(#a)>.ar-x svg{width:22px!important;height:22px!important;filter:drop-shadow(0 1px 0 rgba(0,0,0,.25))}
html body .play.pv.pvx.ar-round:not(#a)>.ar-x:active{transform:translateY(3px)!important;box-shadow:0 1px 0 #0C5961,inset 0 2px 0 rgba(255,255,255,.45)!important}
html body .play.pv.pvx.ar-round:not(#a) .ar-tgm .ar-vsx{display:none!important}
/* v817 (Khalid «نخليها محار» 2026-11-30, his ChatGPT art): memory-game squares are oyster shells (img/mg/s-*.webp): closed = idle, open with pearl = lit / correct, red closed = wrong */
html body .mg-grid:not(#a) .mg-c{background:url(img/mg/s-idle.webp?v=1) center/100% 100% no-repeat!important;box-shadow:none!important;border-radius:0!important;transition:transform .12s,filter .15s!important;text-shadow:0 2px 4px rgba(0,0,0,.6)}
html body .mg-grid:not(#a) .mg-c:active{transform:translateY(3px) scale(.96)!important;box-shadow:none!important}
html body .mg-grid:not(#a) .mg-c.flip{filter:brightness(1.3)}
html body .mg-grid:not(#a) .mg-c.lit{background-image:url(img/mg/s-lit.webp?v=1)!important;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--tl) 70%,transparent))}
html body .mg-grid:not(#a) .mg-c.ok{background-image:url(img/mg/s-ok.webp?v=1)!important;filter:drop-shadow(0 0 8px rgba(61,220,132,.7))}
html body .mg-grid:not(#a) .mg-c.no{background-image:url(img/mg/s-no.webp?v=1)!important;filter:drop-shadow(0 0 8px rgba(229,64,79,.7))}
/* v816 (Khalid's ChatGPT cups 2026-11-30): cup game uses the brass cup and a pearl (img/mg/cup.webp, pearl.webp) */
html body .mg-cups:not(#a) .mg-cup i{left:4px!important;top:30px!important;width:92px!important;height:99px!important;background:url(img/mg/cup.webp?v=1) center/100% 100% no-repeat!important;clip-path:none!important;-webkit-clip-path:none!important;z-index:1;transition:transform .28s,filter .15s!important}
html body .mg-cups:not(#a) .mg-cup.up i{transform:translateY(-44px)!important}
html body .mg-cups:not(#a) .mg-cup b{left:34px!important;top:98px!important;width:32px!important;height:32px!important;border-radius:0!important;background:url(img/mg/pearl.webp?v=1) center/contain no-repeat!important}
html body .mg-cups:not(#a) .mg-cup.okc i{filter:drop-shadow(0 0 10px rgba(61,220,132,.95)) drop-shadow(0 0 3px #3DDC84)}
html body .mg-cups:not(#a) .mg-cup.noc i{filter:drop-shadow(0 0 10px rgba(229,64,79,.95)) drop-shadow(0 0 3px #E5404F)}
/* v818: shape games (pairs / where / diff) = sea-gear icons on glass tiles, not shells */
html body .mg-grid.ic:not(#a) .mg-c{background-image:url(img/mg/t-idle.webp?v=1)!important;display:grid!important;place-items:center!important;filter:none}
html body .mg-grid.ic:not(#a) .mg-c.flip{filter:brightness(1.25)}
html body .mg-grid.ic:not(#a) .mg-c.ok{background-image:url(img/mg/t-ok.webp?v=1)!important;filter:drop-shadow(0 0 8px rgba(61,220,132,.7))}
html body .mg-grid.ic:not(#a) .mg-c.no{background-image:url(img/mg/t-no.webp?v=1)!important;filter:drop-shadow(0 0 8px rgba(229,64,79,.7))}
html body .mg-grid .mg-c .mg-ic{width:74%;height:74%;object-fit:contain;display:block;margin:-4% auto 0;pointer-events:none;filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}
html body .qbox .mg-ask{display:inline-block;vertical-align:middle;width:44px;height:44px}
html body .qbox .mg-ask .mg-ic{width:100%;height:100%;object-fit:contain;display:block}
/* v819: path game = dhow sailing over glass tiles; digits game = number inside a pearl, keypad in Night Sea colours */
html body .mg-grid.ic:not(#a) .mg-c.lit{background-image:url(img/mg/t-lit.webp?v=1)!important;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--tl) 70%,transparent))}
html body .mg-grid.pth .mg-c .mg-ic{width:82%;height:82%}
html body .mg:not(#a) .mg-big{background:url(img/mg/pearl-lg.webp?v=1) center/contain no-repeat!important;box-shadow:none!important;border-radius:50%!important;color:var(--n0)!important;text-shadow:0 2px 0 rgba(255,255,255,.7);filter:drop-shadow(0 0 16px color-mix(in srgb,var(--tl) 45%,transparent))}
html body .mg:not(#a) .mg-k{background:linear-gradient(180deg,#16336E,var(--n1))!important;border:1px solid #2A5B77!important;box-shadow:0 4px 0 #0B1F30!important;color:#E6EEF5!important}
html body .mg:not(#a) .mg-k:active{transform:translateY(3px);box-shadow:0 1px 0 #0B1F30!important;border-color:var(--tl)!important;color:var(--tl)!important}
html body .mg:not(#a) .mg-typed{color:#E6EEF5}
html body .mg:not(#a) .mg-typed.ok{color:#3DDC84}html body .mg:not(#a) .mg-typed.no{color:#E5404F}
html body .mg:not(#a) .mg-k{font-size:26px!important;font-weight:800!important;line-height:1!important}
/* v820 four worlds on the arena orbit (Khalid «ابدأ الحين») */
.wd-h{margin:4px 0 0;text-align:center;font-size:24px;font-weight:800;color:#F5F5F7}
.ar-isl .wd-g{position:absolute;inset:0;animation:arIsl 4s ease-in-out infinite;pointer-events:none}
.ar-isl .wd-g>img.wd-b{position:relative;z-index:1;width:100%;height:100%;animation:none}
.ar-isl .wd-g .mv{position:absolute;left:50%;top:50%;z-index:3;display:block;animation-play-state:paused!important}
.ar-isl .wd-g .mv img{width:100%;height:auto;animation:wdBob 1.6s ease-in-out infinite;animation-play-state:paused;filter:drop-shadow(0 4px 5px rgba(0,0,0,.45))}
.ar-isl.front .wd-g .mv,.ar-isl.front .wd-g .mv img{animation-play-state:running!important}
.ar-isl .mv-boat{width:26%;animation:wdB 10s linear infinite}
.ar-isl .mv-pen{width:40%;animation:wdP 10s linear infinite}
.ar-isl .mv-plane{width:32%;animation:wdN 10s linear infinite}
.ar-isl .mv-rocket{width:30%;animation:wdR 9s linear infinite}
.ar-isl .mv-brush{width:52%;animation:wdA 10s linear infinite}
.ar-isl .mv-camel{width:38%;animation:wdH 12s linear infinite}
.ar-isl .mv-ball{width:17%;animation:wdN 9s linear infinite}
@keyframes wdBob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-3px) rotate(3deg)}}
.ar-isl.soon .wd-g .mv img{filter:grayscale(.75)}
.ar-isl.zoom .wd-g{animation:wdZoom .42s ease-in forwards}
@keyframes wdZoom{to{transform:scale(3.4);opacity:0}}
.ar.wd-out .ar-isl:not(.zoom),.ar.wd-out .ar-onm,.ar.wd-out .ar-go,.ar.wd-out .wd-h,.ar.wd-out .ar-on,.ar.wd-out .ar-ring{opacity:0!important;transition:opacity .3s}
.ar.wd-in .ar-orb,.ar.wd-back .ar-orb{animation:wdIn .5s cubic-bezier(.2,.9,.3,1.1)}
.ar.wd-back .ar-orb{animation-name:wdBack}
.ar.wd-in>:not(.ar-orb),.ar.wd-back>:not(.ar-orb){animation:wdFade .45s ease-out}
@keyframes wdIn{from{transform:scale(.3);opacity:0}}
@keyframes wdBack{from{transform:scale(1.6);opacity:0}}
@keyframes wdFade{from{opacity:0}}
.ar.wd-leave .ar-orb{transform:scale(.35);opacity:0;transition:transform .3s ease-in,opacity .3s}
.ar.wd-leave>:not(.ar-orb){opacity:0;transition:opacity .25s}
.wd-top{display:flex;align-items:center;gap:10px;margin:0 0 6px}
.wd-top>b{flex:1;text-align:center;font-size:20px;font-weight:800;color:#F5F5F7}
.wd-top>i{width:42px}
.wd-bk{width:42px;height:42px;flex:none;border-radius:50%;border:1px solid color-mix(in srgb,var(--tl) 35%,transparent);background:rgba(14,25,56,.85);color:var(--tl);display:grid;place-items:center;padding:0;cursor:pointer}
.wd-bk svg{width:20px;height:20px}
.wd-chip{flex:none;border:1px solid color-mix(in srgb,var(--tl) 35%,transparent);background:rgba(14,25,56,.85);color:#C7D6E2;border-radius:999px;padding:7px 12px;font-weight:700;font-size:13px;font-family:inherit;cursor:pointer}
.wd-chip b{color:#F5B72B}
.ar-go.off img{filter:grayscale(1) brightness(.6);animation:none}
.wd-gr{text-align:center}.wd-gr h3{margin:0 0 4px}
.wd-g4{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.wd-gb{border:1px solid color-mix(in srgb,var(--tl) 30%,transparent);background:color-mix(in srgb,var(--n0) 60%,transparent);border-radius:16px;padding:14px 8px;color:#F5F5F7;font-weight:700;font-size:16px;font-family:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px}
.wd-gb b{font-size:28px;line-height:1;color:var(--tl)}.wd-gb.on{border-color:#F5B72B}
@media (prefers-reduced-motion:reduce){.ar-isl .wd-g .mv,.ar-isl .wd-g .mv img,.ar-isl .wd-g{animation:none!important}}
@keyframes wdB{0.00%{left:0.69%;top:71.44%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-90.0deg) scale(0.860)}0.83%{left:0.90%;top:72.19%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-87.0deg) scale(0.867)}1.67%{left:1.25%;top:72.91%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-84.0deg) scale(0.875)}2.50%{left:1.74%;top:73.59%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-81.0deg) scale(0.882)}3.33%{left:2.36%;top:74.24%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-78.0deg) scale(0.889)}4.17%{left:3.11%;top:74.84%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-75.0deg) scale(0.896)}5.00%{left:3.98%;top:75.41%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-72.0deg) scale(0.903)}5.83%{left:4.99%;top:75.93%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-69.0deg) scale(0.910)}6.67%{left:6.11%;top:76.41%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-66.0deg) scale(0.917)}7.50%{left:7.36%;top:76.85%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-63.0deg) scale(0.924)}8.33%{left:8.72%;top:77.24%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-60.0deg) scale(0.930)}9.17%{left:10.20%;top:77.58%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-57.0deg) scale(0.936)}10.00%{left:11.78%;top:77.88%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-54.0deg) scale(0.942)}10.83%{left:13.47%;top:78.12%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-51.0deg) scale(0.948)}11.67%{left:15.26%;top:78.32%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-48.0deg) scale(0.954)}12.50%{left:17.15%;top:78.46%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-45.0deg) scale(0.959)}13.33%{left:19.13%;top:78.56%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-42.0deg) scale(0.964)}14.17%{left:21.19%;top:78.60%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-39.0deg) scale(0.969)}15.00%{left:23.33%;top:78.59%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-36.0deg) scale(0.973)}15.83%{left:25.54%;top:78.53%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-33.0deg) scale(0.977)}16.67%{left:27.82%;top:78.42%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-30.0deg) scale(0.981)}17.50%{left:30.16%;top:78.26%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-27.0deg) scale(0.985)}18.33%{left:32.55%;top:78.05%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-24.0deg) scale(0.988)}19.17%{left:35.00%;top:77.80%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-21.0deg) scale(0.991)}20.00%{left:37.48%;top:77.49%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-18.0deg) scale(0.993)}20.83%{left:40.00%;top:77.13%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-15.0deg) scale(0.995)}21.67%{left:42.54%;top:76.73%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-12.0deg) scale(0.997)}22.50%{left:45.11%;top:76.28%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-9.0deg) scale(0.998)}23.33%{left:47.69%;top:75.79%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-6.0deg) scale(0.999)}24.17%{left:50.27%;top:75.25%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-3.0deg) scale(1.000)}25.00%{left:52.86%;top:74.67%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-0.0deg) scale(1.000)}25.83%{left:55.44%;top:74.05%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(3.0deg) scale(1.000)}26.67%{left:58.00%;top:73.40%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(6.0deg) scale(0.999)}27.50%{left:60.54%;top:72.70%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(9.0deg) scale(0.998)}28.33%{left:63.05%;top:71.97%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(12.0deg) scale(0.997)}29.17%{left:65.53%;top:71.21%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(15.0deg) scale(0.995)}30.00%{left:67.96%;top:70.42%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(18.0deg) scale(0.993)}30.83%{left:70.34%;top:69.60%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(21.0deg) scale(0.991)}31.67%{left:72.67%;top:68.75%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(24.0deg) scale(0.988)}32.50%{left:74.94%;top:67.88%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(27.0deg) scale(0.985)}33.33%{left:77.13%;top:66.99%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(30.0deg) scale(0.981)}34.17%{left:79.26%;top:66.08%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(33.0deg) scale(0.977)}35.00%{left:81.30%;top:65.15%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(36.0deg) scale(0.973)}35.83%{left:83.26%;top:64.21%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(39.0deg) scale(0.969)}36.67%{left:85.12%;top:63.25%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(42.0deg) scale(0.964)}37.50%{left:86.89%;top:62.29%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(45.0deg) scale(0.959)}38.33%{left:88.56%;top:61.32%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(48.0deg) scale(0.954)}39.17%{left:90.12%;top:60.35%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(51.0deg) scale(0.948)}40.00%{left:91.58%;top:59.37%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(54.0deg) scale(0.942)}40.83%{left:92.92%;top:58.40%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(57.0deg) scale(0.936)}41.67%{left:94.14%;top:57.43%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(60.0deg) scale(0.930)}42.50%{left:95.24%;top:56.47%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(63.0deg) scale(0.924)}43.33%{left:96.21%;top:55.52%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(66.0deg) scale(0.917)}44.17%{left:97.06%;top:54.58%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(69.0deg) scale(0.910)}45.00%{left:97.78%;top:53.66%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(72.0deg) scale(0.903)}45.83%{left:98.37%;top:52.75%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(75.0deg) scale(0.896)}46.67%{left:98.83%;top:51.87%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(78.0deg) scale(0.889)}47.50%{left:99.16%;top:51.00%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(81.0deg) scale(0.882)}48.33%{left:99.34%;top:50.16%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(84.0deg) scale(0.875)}49.17%{left:99.40%;top:49.35%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(87.0deg) scale(0.867)}50.00%{left:99.31%;top:48.56%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(90.0deg) scale(0.860)}50.83%{left:99.10%;top:47.81%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(93.0deg) scale(0.853)}51.67%{left:98.75%;top:47.09%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(96.0deg) scale(0.845)}52.50%{left:98.26%;top:46.41%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(99.0deg) scale(0.838)}53.33%{left:97.64%;top:45.76%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(102.0deg) scale(0.831)}54.17%{left:96.89%;top:45.16%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(105.0deg) scale(0.824)}55.00%{left:96.02%;top:44.59%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(108.0deg) scale(0.817)}55.83%{left:95.01%;top:44.07%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(111.0deg) scale(0.810)}56.67%{left:93.89%;top:43.59%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(114.0deg) scale(0.803)}57.50%{left:92.64%;top:43.15%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(117.0deg) scale(0.796)}58.33%{left:91.28%;top:42.76%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(120.0deg) scale(0.790)}59.17%{left:89.80%;top:42.42%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(123.0deg) scale(0.784)}60.00%{left:88.22%;top:42.12%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(126.0deg) scale(0.778)}60.83%{left:86.53%;top:41.88%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(129.0deg) scale(0.772)}61.67%{left:84.74%;top:41.68%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(132.0deg) scale(0.766)}62.50%{left:82.85%;top:41.54%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(135.0deg) scale(0.761)}63.33%{left:80.87%;top:41.44%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(138.0deg) scale(0.756)}64.17%{left:78.81%;top:41.40%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(141.0deg) scale(0.751)}65.00%{left:76.67%;top:41.41%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(144.0deg) scale(0.747)}65.83%{left:74.46%;top:41.47%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(147.0deg) scale(0.743)}66.67%{left:72.18%;top:41.58%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(150.0deg) scale(0.739)}67.50%{left:69.84%;top:41.74%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(153.0deg) scale(0.735)}68.33%{left:67.45%;top:41.95%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(156.0deg) scale(0.732)}69.17%{left:65.00%;top:42.20%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(159.0deg) scale(0.729)}70.00%{left:62.52%;top:42.51%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(162.0deg) scale(0.727)}70.83%{left:60.00%;top:42.87%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(165.0deg) scale(0.725)}71.67%{left:57.46%;top:43.27%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(168.0deg) scale(0.723)}72.50%{left:54.89%;top:43.72%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(171.0deg) scale(0.722)}73.33%{left:52.31%;top:44.21%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(174.0deg) scale(0.721)}74.17%{left:49.73%;top:44.75%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(177.0deg) scale(0.720)}75.00%{left:47.14%;top:45.33%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(180.0deg) scale(0.720)}75.83%{left:44.56%;top:45.95%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(183.0deg) scale(0.720)}76.67%{left:42.00%;top:46.60%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(186.0deg) scale(0.721)}77.50%{left:39.46%;top:47.30%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(189.0deg) scale(0.722)}78.33%{left:36.95%;top:48.03%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(192.0deg) scale(0.723)}79.17%{left:34.47%;top:48.79%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(195.0deg) scale(0.725)}80.00%{left:32.04%;top:49.58%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(198.0deg) scale(0.727)}80.83%{left:29.66%;top:50.40%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(201.0deg) scale(0.729)}81.67%{left:27.33%;top:51.25%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(204.0deg) scale(0.732)}82.50%{left:25.06%;top:52.12%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(207.0deg) scale(0.735)}83.33%{left:22.87%;top:53.01%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(210.0deg) scale(0.739)}84.17%{left:20.74%;top:53.92%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(213.0deg) scale(0.743)}85.00%{left:18.70%;top:54.85%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(216.0deg) scale(0.747)}85.83%{left:16.74%;top:55.79%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(219.0deg) scale(0.751)}86.67%{left:14.88%;top:56.75%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(222.0deg) scale(0.756)}87.50%{left:13.11%;top:57.71%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(225.0deg) scale(0.761)}88.33%{left:11.44%;top:58.68%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(228.0deg) scale(0.766)}89.17%{left:9.88%;top:59.65%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(231.0deg) scale(0.772)}90.00%{left:8.42%;top:60.63%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(234.0deg) scale(0.778)}90.83%{left:7.08%;top:61.60%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(237.0deg) scale(0.784)}91.67%{left:5.86%;top:62.57%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(240.0deg) scale(0.790)}92.50%{left:4.76%;top:63.53%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(243.0deg) scale(0.796)}93.33%{left:3.79%;top:64.48%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(246.0deg) scale(0.803)}94.17%{left:2.94%;top:65.42%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(249.0deg) scale(0.810)}95.00%{left:2.22%;top:66.34%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(252.0deg) scale(0.817)}95.83%{left:1.63%;top:67.25%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(255.0deg) scale(0.824)}96.67%{left:1.17%;top:68.13%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(258.0deg) scale(0.831)}97.50%{left:0.84%;top:69.00%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(261.0deg) scale(0.838)}98.33%{left:0.66%;top:69.84%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(264.0deg) scale(0.845)}99.17%{left:0.60%;top:70.65%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(267.0deg) scale(0.853)}100.00%{left:0.69%;top:71.44%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(270.0deg) scale(0.860)}}
@keyframes wdP{0.00%{left:5.89%;top:75.55%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-90.0deg) scale(0.860)}0.83%{left:6.07%;top:76.31%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-87.0deg) scale(0.867)}1.67%{left:6.36%;top:77.04%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-84.0deg) scale(0.875)}2.50%{left:6.77%;top:77.74%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-81.0deg) scale(0.882)}3.33%{left:7.30%;top:78.41%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-78.0deg) scale(0.889)}4.17%{left:7.95%;top:79.05%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-75.0deg) scale(0.896)}5.00%{left:8.71%;top:79.65%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-72.0deg) scale(0.903)}5.83%{left:9.58%;top:80.21%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-69.0deg) scale(0.910)}6.67%{left:10.57%;top:80.73%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-66.0deg) scale(0.917)}7.50%{left:11.66%;top:81.22%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-63.0deg) scale(0.924)}8.33%{left:12.86%;top:81.66%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-60.0deg) scale(0.930)}9.17%{left:14.17%;top:82.06%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-57.0deg) scale(0.936)}10.00%{left:15.56%;top:82.41%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-54.0deg) scale(0.942)}10.83%{left:17.06%;top:82.72%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-51.0deg) scale(0.948)}11.67%{left:18.64%;top:82.98%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-48.0deg) scale(0.954)}12.50%{left:20.31%;top:83.20%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-45.0deg) scale(0.959)}13.33%{left:22.06%;top:83.37%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-42.0deg) scale(0.964)}14.17%{left:23.89%;top:83.49%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-39.0deg) scale(0.969)}15.00%{left:25.79%;top:83.56%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-36.0deg) scale(0.973)}15.83%{left:27.76%;top:83.59%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-33.0deg) scale(0.977)}16.67%{left:29.78%;top:83.57%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-30.0deg) scale(0.981)}17.50%{left:31.87%;top:83.50%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-27.0deg) scale(0.985)}18.33%{left:34.00%;top:83.38%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-24.0deg) scale(0.988)}19.17%{left:36.17%;top:83.21%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-21.0deg) scale(0.991)}20.00%{left:38.39%;top:83.00%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-18.0deg) scale(0.993)}20.83%{left:40.63%;top:82.74%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-15.0deg) scale(0.995)}21.67%{left:42.90%;top:82.44%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-12.0deg) scale(0.997)}22.50%{left:45.20%;top:82.08%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-9.0deg) scale(0.998)}23.33%{left:47.50%;top:81.69%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-6.0deg) scale(0.999)}24.17%{left:49.81%;top:81.25%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-3.0deg) scale(1.000)}25.00%{left:52.12%;top:80.77%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-0.0deg) scale(1.000)}25.83%{left:54.43%;top:80.25%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(3.0deg) scale(1.000)}26.67%{left:56.72%;top:79.69%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(6.0deg) scale(0.999)}27.50%{left:58.99%;top:79.10%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(9.0deg) scale(0.998)}28.33%{left:61.24%;top:78.46%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(12.0deg) scale(0.997)}29.17%{left:63.46%;top:77.80%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(15.0deg) scale(0.995)}30.00%{left:65.65%;top:77.10%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(18.0deg) scale(0.993)}30.83%{left:67.79%;top:76.37%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(21.0deg) scale(0.991)}31.67%{left:69.88%;top:75.61%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(24.0deg) scale(0.988)}32.50%{left:71.91%;top:74.83%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(27.0deg) scale(0.985)}33.33%{left:73.89%;top:74.02%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(30.0deg) scale(0.981)}34.17%{left:75.80%;top:73.19%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(33.0deg) scale(0.977)}35.00%{left:77.64%;top:72.34%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(36.0deg) scale(0.973)}35.83%{left:79.40%;top:71.47%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(39.0deg) scale(0.969)}36.67%{left:81.09%;top:70.59%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(42.0deg) scale(0.964)}37.50%{left:82.69%;top:69.69%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(45.0deg) scale(0.959)}38.33%{left:84.20%;top:68.79%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(48.0deg) scale(0.954)}39.17%{left:85.61%;top:67.87%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(51.0deg) scale(0.948)}40.00%{left:86.93%;top:66.96%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(54.0deg) scale(0.942)}40.83%{left:88.15%;top:66.04%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(57.0deg) scale(0.936)}41.67%{left:89.26%;top:65.11%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(60.0deg) scale(0.930)}42.50%{left:90.26%;top:64.20%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(63.0deg) scale(0.924)}43.33%{left:91.15%;top:63.28%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(66.0deg) scale(0.917)}44.17%{left:91.94%;top:62.38%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(69.0deg) scale(0.910)}45.00%{left:92.60%;top:61.48%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(72.0deg) scale(0.903)}45.83%{left:93.15%;top:60.60%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(75.0deg) scale(0.896)}46.67%{left:93.58%;top:59.73%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(78.0deg) scale(0.889)}47.50%{left:93.89%;top:58.88%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(81.0deg) scale(0.882)}48.33%{left:94.09%;top:58.05%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(84.0deg) scale(0.875)}49.17%{left:94.16%;top:57.24%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(87.0deg) scale(0.867)}50.00%{left:94.11%;top:56.45%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(90.0deg) scale(0.860)}50.83%{left:93.93%;top:55.69%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(93.0deg) scale(0.853)}51.67%{left:93.64%;top:54.96%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(96.0deg) scale(0.845)}52.50%{left:93.23%;top:54.26%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(99.0deg) scale(0.838)}53.33%{left:92.70%;top:53.59%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(102.0deg) scale(0.831)}54.17%{left:92.05%;top:52.95%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(105.0deg) scale(0.824)}55.00%{left:91.29%;top:52.35%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(108.0deg) scale(0.817)}55.83%{left:90.42%;top:51.79%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(111.0deg) scale(0.810)}56.67%{left:89.43%;top:51.27%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(114.0deg) scale(0.803)}57.50%{left:88.34%;top:50.78%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(117.0deg) scale(0.796)}58.33%{left:87.14%;top:50.34%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(120.0deg) scale(0.790)}59.17%{left:85.83%;top:49.94%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(123.0deg) scale(0.784)}60.00%{left:84.44%;top:49.59%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(126.0deg) scale(0.778)}60.83%{left:82.94%;top:49.28%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(129.0deg) scale(0.772)}61.67%{left:81.36%;top:49.02%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(132.0deg) scale(0.766)}62.50%{left:79.69%;top:48.80%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(135.0deg) scale(0.761)}63.33%{left:77.94%;top:48.63%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(138.0deg) scale(0.756)}64.17%{left:76.11%;top:48.51%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(141.0deg) scale(0.751)}65.00%{left:74.21%;top:48.44%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(144.0deg) scale(0.747)}65.83%{left:72.24%;top:48.41%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(147.0deg) scale(0.743)}66.67%{left:70.22%;top:48.43%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(150.0deg) scale(0.739)}67.50%{left:68.13%;top:48.50%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(153.0deg) scale(0.735)}68.33%{left:66.00%;top:48.62%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(156.0deg) scale(0.732)}69.17%{left:63.83%;top:48.79%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(159.0deg) scale(0.729)}70.00%{left:61.61%;top:49.00%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(162.0deg) scale(0.727)}70.83%{left:59.37%;top:49.26%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(165.0deg) scale(0.725)}71.67%{left:57.10%;top:49.56%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(168.0deg) scale(0.723)}72.50%{left:54.80%;top:49.92%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(171.0deg) scale(0.722)}73.33%{left:52.50%;top:50.31%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(174.0deg) scale(0.721)}74.17%{left:50.19%;top:50.75%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(177.0deg) scale(0.720)}75.00%{left:47.88%;top:51.23%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(180.0deg) scale(0.720)}75.83%{left:45.57%;top:51.75%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(183.0deg) scale(0.720)}76.67%{left:43.28%;top:52.31%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(186.0deg) scale(0.721)}77.50%{left:41.01%;top:52.90%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(189.0deg) scale(0.722)}78.33%{left:38.76%;top:53.54%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(192.0deg) scale(0.723)}79.17%{left:36.54%;top:54.20%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(195.0deg) scale(0.725)}80.00%{left:34.35%;top:54.90%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(198.0deg) scale(0.727)}80.83%{left:32.21%;top:55.63%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(201.0deg) scale(0.729)}81.67%{left:30.12%;top:56.39%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(204.0deg) scale(0.732)}82.50%{left:28.09%;top:57.17%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(207.0deg) scale(0.735)}83.33%{left:26.11%;top:57.98%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(210.0deg) scale(0.739)}84.17%{left:24.20%;top:58.81%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(213.0deg) scale(0.743)}85.00%{left:22.36%;top:59.66%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(216.0deg) scale(0.747)}85.83%{left:20.60%;top:60.53%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(219.0deg) scale(0.751)}86.67%{left:18.91%;top:61.41%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(222.0deg) scale(0.756)}87.50%{left:17.31%;top:62.31%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(225.0deg) scale(0.761)}88.33%{left:15.80%;top:63.21%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(228.0deg) scale(0.766)}89.17%{left:14.39%;top:64.13%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(231.0deg) scale(0.772)}90.00%{left:13.07%;top:65.04%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(234.0deg) scale(0.778)}90.83%{left:11.85%;top:65.96%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(237.0deg) scale(0.784)}91.67%{left:10.74%;top:66.89%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(240.0deg) scale(0.790)}92.50%{left:9.74%;top:67.80%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(243.0deg) scale(0.796)}93.33%{left:8.85%;top:68.72%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(246.0deg) scale(0.803)}94.17%{left:8.06%;top:69.62%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(249.0deg) scale(0.810)}95.00%{left:7.40%;top:70.52%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(252.0deg) scale(0.817)}95.83%{left:6.85%;top:71.40%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(255.0deg) scale(0.824)}96.67%{left:6.42%;top:72.27%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(258.0deg) scale(0.831)}97.50%{left:6.11%;top:73.12%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(261.0deg) scale(0.838)}98.33%{left:5.91%;top:73.95%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(264.0deg) scale(0.845)}99.17%{left:5.84%;top:74.76%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(267.0deg) scale(0.853)}100.00%{left:5.89%;top:75.55%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(270.0deg) scale(0.860)}}
@keyframes wdN{0.00%{left:1.97%;top:77.31%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-90.0deg) scale(0.860)}0.83%{left:2.21%;top:78.05%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-87.0deg) scale(0.867)}1.67%{left:2.57%;top:78.75%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-84.0deg) scale(0.875)}2.50%{left:3.07%;top:79.42%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-81.0deg) scale(0.882)}3.33%{left:3.70%;top:80.04%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-78.0deg) scale(0.889)}4.17%{left:4.45%;top:80.62%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-75.0deg) scale(0.896)}5.00%{left:5.33%;top:81.15%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-72.0deg) scale(0.903)}5.83%{left:6.33%;top:81.64%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-69.0deg) scale(0.910)}6.67%{left:7.45%;top:82.08%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-66.0deg) scale(0.917)}7.50%{left:8.69%;top:82.46%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-63.0deg) scale(0.924)}8.33%{left:10.04%;top:82.80%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-60.0deg) scale(0.930)}9.17%{left:11.50%;top:83.09%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-57.0deg) scale(0.936)}10.00%{left:13.06%;top:83.32%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-54.0deg) scale(0.942)}10.83%{left:14.73%;top:83.50%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-51.0deg) scale(0.948)}11.67%{left:16.49%;top:83.63%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-48.0deg) scale(0.954)}12.50%{left:18.35%;top:83.70%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-45.0deg) scale(0.959)}13.33%{left:20.29%;top:83.72%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-42.0deg) scale(0.964)}14.17%{left:22.31%;top:83.68%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-39.0deg) scale(0.969)}15.00%{left:24.41%;top:83.60%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-36.0deg) scale(0.973)}15.83%{left:26.58%;top:83.45%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-33.0deg) scale(0.977)}16.67%{left:28.81%;top:83.26%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-30.0deg) scale(0.981)}17.50%{left:31.10%;top:83.01%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-27.0deg) scale(0.985)}18.33%{left:33.45%;top:82.71%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-24.0deg) scale(0.988)}19.17%{left:35.84%;top:82.36%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-21.0deg) scale(0.991)}20.00%{left:38.26%;top:81.95%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-18.0deg) scale(0.993)}20.83%{left:40.72%;top:81.50%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-15.0deg) scale(0.995)}21.67%{left:43.21%;top:81.00%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-12.0deg) scale(0.997)}22.50%{left:45.71%;top:80.46%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-9.0deg) scale(0.998)}23.33%{left:48.23%;top:79.87%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-6.0deg) scale(0.999)}24.17%{left:50.75%;top:79.23%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-3.0deg) scale(1.000)}25.00%{left:53.27%;top:78.55%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-0.0deg) scale(1.000)}25.83%{left:55.78%;top:77.84%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(3.0deg) scale(1.000)}26.67%{left:58.27%;top:77.08%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(6.0deg) scale(0.999)}27.50%{left:60.74%;top:76.29%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(9.0deg) scale(0.998)}28.33%{left:63.18%;top:75.47%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(12.0deg) scale(0.997)}29.17%{left:65.59%;top:74.61%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(15.0deg) scale(0.995)}30.00%{left:67.95%;top:73.73%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(18.0deg) scale(0.993)}30.83%{left:70.26%;top:72.82%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(21.0deg) scale(0.991)}31.67%{left:72.52%;top:71.88%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(24.0deg) scale(0.988)}32.50%{left:74.71%;top:70.93%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(27.0deg) scale(0.985)}33.33%{left:76.84%;top:69.95%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(30.0deg) scale(0.981)}34.17%{left:78.90%;top:68.96%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(33.0deg) scale(0.977)}35.00%{left:80.87%;top:67.95%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(36.0deg) scale(0.973)}35.83%{left:82.76%;top:66.94%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(39.0deg) scale(0.969)}36.67%{left:84.57%;top:65.91%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(42.0deg) scale(0.964)}37.50%{left:86.27%;top:64.88%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(45.0deg) scale(0.959)}38.33%{left:87.88%;top:63.85%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(48.0deg) scale(0.954)}39.17%{left:89.38%;top:62.82%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(51.0deg) scale(0.948)}40.00%{left:90.78%;top:61.79%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(54.0deg) scale(0.942)}40.83%{left:92.06%;top:60.77%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(57.0deg) scale(0.936)}41.67%{left:93.23%;top:59.75%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(60.0deg) scale(0.930)}42.50%{left:94.28%;top:58.75%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(63.0deg) scale(0.924)}43.33%{left:95.21%;top:57.76%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(66.0deg) scale(0.917)}44.17%{left:96.01%;top:56.79%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(69.0deg) scale(0.910)}45.00%{left:96.69%;top:55.84%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(72.0deg) scale(0.903)}45.83%{left:97.24%;top:54.91%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(75.0deg) scale(0.896)}46.67%{left:97.66%;top:54.01%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(78.0deg) scale(0.889)}47.50%{left:97.95%;top:53.13%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(81.0deg) scale(0.882)}48.33%{left:98.11%;top:52.29%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(84.0deg) scale(0.875)}49.17%{left:98.13%;top:51.47%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(87.0deg) scale(0.867)}50.00%{left:98.03%;top:50.69%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(90.0deg) scale(0.860)}50.83%{left:97.79%;top:49.95%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(93.0deg) scale(0.853)}51.67%{left:97.43%;top:49.25%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(96.0deg) scale(0.845)}52.50%{left:96.93%;top:48.58%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(99.0deg) scale(0.838)}53.33%{left:96.30%;top:47.96%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(102.0deg) scale(0.831)}54.17%{left:95.55%;top:47.38%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(105.0deg) scale(0.824)}55.00%{left:94.67%;top:46.85%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(108.0deg) scale(0.817)}55.83%{left:93.67%;top:46.36%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(111.0deg) scale(0.810)}56.67%{left:92.55%;top:45.92%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(114.0deg) scale(0.803)}57.50%{left:91.31%;top:45.54%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(117.0deg) scale(0.796)}58.33%{left:89.96%;top:45.20%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(120.0deg) scale(0.790)}59.17%{left:88.50%;top:44.91%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(123.0deg) scale(0.784)}60.00%{left:86.94%;top:44.68%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(126.0deg) scale(0.778)}60.83%{left:85.27%;top:44.50%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(129.0deg) scale(0.772)}61.67%{left:83.51%;top:44.37%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(132.0deg) scale(0.766)}62.50%{left:81.65%;top:44.30%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(135.0deg) scale(0.761)}63.33%{left:79.71%;top:44.28%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(138.0deg) scale(0.756)}64.17%{left:77.69%;top:44.32%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(141.0deg) scale(0.751)}65.00%{left:75.59%;top:44.40%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(144.0deg) scale(0.747)}65.83%{left:73.42%;top:44.55%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(147.0deg) scale(0.743)}66.67%{left:71.19%;top:44.74%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(150.0deg) scale(0.739)}67.50%{left:68.90%;top:44.99%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(153.0deg) scale(0.735)}68.33%{left:66.55%;top:45.29%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(156.0deg) scale(0.732)}69.17%{left:64.16%;top:45.64%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(159.0deg) scale(0.729)}70.00%{left:61.74%;top:46.05%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(162.0deg) scale(0.727)}70.83%{left:59.28%;top:46.50%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(165.0deg) scale(0.725)}71.67%{left:56.79%;top:47.00%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(168.0deg) scale(0.723)}72.50%{left:54.29%;top:47.54%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(171.0deg) scale(0.722)}73.33%{left:51.77%;top:48.13%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(174.0deg) scale(0.721)}74.17%{left:49.25%;top:48.77%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(177.0deg) scale(0.720)}75.00%{left:46.73%;top:49.45%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(180.0deg) scale(0.720)}75.83%{left:44.22%;top:50.16%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(183.0deg) scale(0.720)}76.67%{left:41.73%;top:50.92%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(186.0deg) scale(0.721)}77.50%{left:39.26%;top:51.71%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(189.0deg) scale(0.722)}78.33%{left:36.82%;top:52.53%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(192.0deg) scale(0.723)}79.17%{left:34.41%;top:53.39%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(195.0deg) scale(0.725)}80.00%{left:32.05%;top:54.27%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(198.0deg) scale(0.727)}80.83%{left:29.74%;top:55.18%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(201.0deg) scale(0.729)}81.67%{left:27.48%;top:56.12%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(204.0deg) scale(0.732)}82.50%{left:25.29%;top:57.07%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(207.0deg) scale(0.735)}83.33%{left:23.16%;top:58.05%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(210.0deg) scale(0.739)}84.17%{left:21.10%;top:59.04%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(213.0deg) scale(0.743)}85.00%{left:19.13%;top:60.05%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(216.0deg) scale(0.747)}85.83%{left:17.24%;top:61.06%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(219.0deg) scale(0.751)}86.67%{left:15.43%;top:62.09%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(222.0deg) scale(0.756)}87.50%{left:13.73%;top:63.12%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(225.0deg) scale(0.761)}88.33%{left:12.12%;top:64.15%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(228.0deg) scale(0.766)}89.17%{left:10.62%;top:65.18%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(231.0deg) scale(0.772)}90.00%{left:9.22%;top:66.21%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(234.0deg) scale(0.778)}90.83%{left:7.94%;top:67.23%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(237.0deg) scale(0.784)}91.67%{left:6.77%;top:68.25%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(240.0deg) scale(0.790)}92.50%{left:5.72%;top:69.25%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(243.0deg) scale(0.796)}93.33%{left:4.79%;top:70.24%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(246.0deg) scale(0.803)}94.17%{left:3.99%;top:71.21%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(249.0deg) scale(0.810)}95.00%{left:3.31%;top:72.16%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(252.0deg) scale(0.817)}95.83%{left:2.76%;top:73.09%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(255.0deg) scale(0.824)}96.67%{left:2.34%;top:73.99%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(258.0deg) scale(0.831)}97.50%{left:2.05%;top:74.87%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(261.0deg) scale(0.838)}98.33%{left:1.89%;top:75.71%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(264.0deg) scale(0.845)}99.17%{left:1.87%;top:76.53%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(267.0deg) scale(0.853)}100.00%{left:1.97%;top:77.31%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(270.0deg) scale(0.860)}}
@keyframes wdR{0.00%{left:-2.40%;top:65.66%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-90.0deg) scale(0.860)}0.83%{left:-2.12%;top:66.34%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-87.0deg) scale(0.867)}1.67%{left:-1.70%;top:67.00%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-84.0deg) scale(0.875)}2.50%{left:-1.15%;top:67.62%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-81.0deg) scale(0.882)}3.33%{left:-0.45%;top:68.21%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-78.0deg) scale(0.889)}4.17%{left:0.39%;top:68.75%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-75.0deg) scale(0.896)}5.00%{left:1.36%;top:69.26%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-72.0deg) scale(0.903)}5.83%{left:2.47%;top:69.73%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-69.0deg) scale(0.910)}6.67%{left:3.71%;top:70.15%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-66.0deg) scale(0.917)}7.50%{left:5.07%;top:70.53%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-63.0deg) scale(0.924)}8.33%{left:6.56%;top:70.87%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-60.0deg) scale(0.930)}9.17%{left:8.17%;top:71.16%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-57.0deg) scale(0.936)}10.00%{left:9.89%;top:71.40%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-54.0deg) scale(0.942)}10.83%{left:11.72%;top:71.60%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-51.0deg) scale(0.948)}11.67%{left:13.65%;top:71.75%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-48.0deg) scale(0.954)}12.50%{left:15.69%;top:71.85%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-45.0deg) scale(0.959)}13.33%{left:17.82%;top:71.91%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-42.0deg) scale(0.964)}14.17%{left:20.03%;top:71.91%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-39.0deg) scale(0.969)}15.00%{left:22.33%;top:71.87%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-36.0deg) scale(0.973)}15.83%{left:24.71%;top:71.78%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-33.0deg) scale(0.977)}16.67%{left:27.15%;top:71.65%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-30.0deg) scale(0.981)}17.50%{left:29.66%;top:71.46%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-27.0deg) scale(0.985)}18.33%{left:32.22%;top:71.23%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-24.0deg) scale(0.988)}19.17%{left:34.84%;top:70.95%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-21.0deg) scale(0.991)}20.00%{left:37.49%;top:70.63%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-18.0deg) scale(0.993)}20.83%{left:40.18%;top:70.26%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-15.0deg) scale(0.995)}21.67%{left:42.89%;top:69.85%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-12.0deg) scale(0.997)}22.50%{left:45.63%;top:69.39%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-9.0deg) scale(0.998)}23.33%{left:48.37%;top:68.90%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-6.0deg) scale(0.999)}24.17%{left:51.12%;top:68.36%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-3.0deg) scale(1.000)}25.00%{left:53.87%;top:67.79%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(-0.0deg) scale(1.000)}25.83%{left:56.61%;top:67.18%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(3.0deg) scale(1.000)}26.67%{left:59.33%;top:66.53%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(6.0deg) scale(0.999)}27.50%{left:62.02%;top:65.85%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(9.0deg) scale(0.998)}28.33%{left:64.68%;top:65.14%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(12.0deg) scale(0.997)}29.17%{left:67.30%;top:64.40%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(15.0deg) scale(0.995)}30.00%{left:69.87%;top:63.63%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(18.0deg) scale(0.993)}30.83%{left:72.39%;top:62.84%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(21.0deg) scale(0.991)}31.67%{left:74.85%;top:62.02%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(24.0deg) scale(0.988)}32.50%{left:77.24%;top:61.18%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(27.0deg) scale(0.985)}33.33%{left:79.55%;top:60.32%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(30.0deg) scale(0.981)}34.17%{left:81.78%;top:59.45%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(33.0deg) scale(0.977)}35.00%{left:83.93%;top:58.56%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(36.0deg) scale(0.973)}35.83%{left:85.98%;top:57.66%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(39.0deg) scale(0.969)}36.67%{left:87.94%;top:56.76%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(42.0deg) scale(0.964)}37.50%{left:89.79%;top:55.84%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(45.0deg) scale(0.959)}38.33%{left:91.53%;top:54.92%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(48.0deg) scale(0.954)}39.17%{left:93.16%;top:54.00%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(51.0deg) scale(0.948)}40.00%{left:94.66%;top:53.08%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(54.0deg) scale(0.942)}40.83%{left:96.05%;top:52.17%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(57.0deg) scale(0.936)}41.67%{left:97.31%;top:51.26%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(60.0deg) scale(0.930)}42.50%{left:98.44%;top:50.35%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(63.0deg) scale(0.924)}43.33%{left:99.44%;top:49.46%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(66.0deg) scale(0.917)}44.17%{left:100.30%;top:48.59%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(69.0deg) scale(0.910)}45.00%{left:101.03%;top:47.72%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(72.0deg) scale(0.903)}45.83%{left:101.61%;top:46.88%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(75.0deg) scale(0.896)}46.67%{left:102.06%;top:46.06%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(78.0deg) scale(0.889)}47.50%{left:102.36%;top:45.26%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(81.0deg) scale(0.882)}48.33%{left:102.51%;top:44.48%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(84.0deg) scale(0.875)}49.17%{left:102.53%;top:43.73%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(87.0deg) scale(0.867)}50.00%{left:102.40%;top:43.01%;z-index:3;transform:translate(-50%,-50%) rotate(-14deg) rotateY(90.0deg) scale(0.860)}50.83%{left:102.12%;top:42.32%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(93.0deg) scale(0.853)}51.67%{left:101.70%;top:41.67%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(96.0deg) scale(0.845)}52.50%{left:101.15%;top:41.05%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(99.0deg) scale(0.838)}53.33%{left:100.45%;top:40.46%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(102.0deg) scale(0.831)}54.17%{left:99.61%;top:39.91%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(105.0deg) scale(0.824)}55.00%{left:98.64%;top:39.41%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(108.0deg) scale(0.817)}55.83%{left:97.53%;top:38.94%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(111.0deg) scale(0.810)}56.67%{left:96.29%;top:38.52%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(114.0deg) scale(0.803)}57.50%{left:94.93%;top:38.14%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(117.0deg) scale(0.796)}58.33%{left:93.44%;top:37.80%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(120.0deg) scale(0.790)}59.17%{left:91.83%;top:37.51%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(123.0deg) scale(0.784)}60.00%{left:90.11%;top:37.27%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(126.0deg) scale(0.778)}60.83%{left:88.28%;top:37.07%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(129.0deg) scale(0.772)}61.67%{left:86.35%;top:36.92%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(132.0deg) scale(0.766)}62.50%{left:84.31%;top:36.81%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(135.0deg) scale(0.761)}63.33%{left:82.18%;top:36.76%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(138.0deg) scale(0.756)}64.17%{left:79.97%;top:36.75%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(141.0deg) scale(0.751)}65.00%{left:77.67%;top:36.79%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(144.0deg) scale(0.747)}65.83%{left:75.29%;top:36.88%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(147.0deg) scale(0.743)}66.67%{left:72.85%;top:37.02%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(150.0deg) scale(0.739)}67.50%{left:70.34%;top:37.20%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(153.0deg) scale(0.735)}68.33%{left:67.78%;top:37.44%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(156.0deg) scale(0.732)}69.17%{left:65.16%;top:37.71%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(159.0deg) scale(0.729)}70.00%{left:62.51%;top:38.04%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(162.0deg) scale(0.727)}70.83%{left:59.82%;top:38.41%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(165.0deg) scale(0.725)}71.67%{left:57.11%;top:38.82%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(168.0deg) scale(0.723)}72.50%{left:54.37%;top:39.27%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(171.0deg) scale(0.722)}73.33%{left:51.63%;top:39.77%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(174.0deg) scale(0.721)}74.17%{left:48.88%;top:40.30%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(177.0deg) scale(0.720)}75.00%{left:46.13%;top:40.88%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(180.0deg) scale(0.720)}75.83%{left:43.39%;top:41.49%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(183.0deg) scale(0.720)}76.67%{left:40.67%;top:42.14%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(186.0deg) scale(0.721)}77.50%{left:37.98%;top:42.82%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(189.0deg) scale(0.722)}78.33%{left:35.32%;top:43.53%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(192.0deg) scale(0.723)}79.17%{left:32.70%;top:44.27%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(195.0deg) scale(0.725)}80.00%{left:30.13%;top:45.04%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(198.0deg) scale(0.727)}80.83%{left:27.61%;top:45.83%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(201.0deg) scale(0.729)}81.67%{left:25.15%;top:46.65%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(204.0deg) scale(0.732)}82.50%{left:22.76%;top:47.49%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(207.0deg) scale(0.735)}83.33%{left:20.45%;top:48.34%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(210.0deg) scale(0.739)}84.17%{left:18.22%;top:49.22%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(213.0deg) scale(0.743)}85.00%{left:16.07%;top:50.10%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(216.0deg) scale(0.747)}85.83%{left:14.02%;top:51.00%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(219.0deg) scale(0.751)}86.67%{left:12.06%;top:51.91%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(222.0deg) scale(0.756)}87.50%{left:10.21%;top:52.83%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(225.0deg) scale(0.761)}88.33%{left:8.47%;top:53.74%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(228.0deg) scale(0.766)}89.17%{left:6.84%;top:54.66%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(231.0deg) scale(0.772)}90.00%{left:5.34%;top:55.58%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(234.0deg) scale(0.778)}90.83%{left:3.95%;top:56.50%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(237.0deg) scale(0.784)}91.67%{left:2.69%;top:57.41%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(240.0deg) scale(0.790)}92.50%{left:1.56%;top:58.31%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(243.0deg) scale(0.796)}93.33%{left:0.56%;top:59.20%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(246.0deg) scale(0.803)}94.17%{left:-0.30%;top:60.08%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(249.0deg) scale(0.810)}95.00%{left:-1.03%;top:60.94%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(252.0deg) scale(0.817)}95.83%{left:-1.61%;top:61.79%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(255.0deg) scale(0.824)}96.67%{left:-2.06%;top:62.61%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(258.0deg) scale(0.831)}97.50%{left:-2.36%;top:63.41%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(261.0deg) scale(0.838)}98.33%{left:-2.51%;top:64.19%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(264.0deg) scale(0.845)}99.17%{left:-2.53%;top:64.94%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(267.0deg) scale(0.853)}100.00%{left:-2.40%;top:65.66%;z-index:0;transform:translate(-50%,-50%) rotate(-14deg) rotateY(270.0deg) scale(0.860)}}
@keyframes wdA{0.00%{left:6.31%;top:75.64%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-90.0deg) scale(0.860)}0.83%{left:6.50%;top:76.39%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-87.0deg) scale(0.867)}1.67%{left:6.81%;top:77.11%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-84.0deg) scale(0.875)}2.50%{left:7.24%;top:77.79%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-81.0deg) scale(0.882)}3.33%{left:7.78%;top:78.44%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-78.0deg) scale(0.889)}4.17%{left:8.44%;top:79.04%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-75.0deg) scale(0.896)}5.00%{left:9.22%;top:79.61%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-72.0deg) scale(0.903)}5.83%{left:10.10%;top:80.13%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-69.0deg) scale(0.910)}6.67%{left:11.10%;top:80.60%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-66.0deg) scale(0.917)}7.50%{left:12.20%;top:81.04%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-63.0deg) scale(0.924)}8.33%{left:13.41%;top:81.42%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-60.0deg) scale(0.930)}9.17%{left:14.71%;top:81.76%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-57.0deg) scale(0.936)}10.00%{left:16.12%;top:82.04%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-54.0deg) scale(0.942)}10.83%{left:17.61%;top:82.28%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-51.0deg) scale(0.948)}11.67%{left:19.20%;top:82.47%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-48.0deg) scale(0.954)}12.50%{left:20.87%;top:82.61%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-45.0deg) scale(0.959)}13.33%{left:22.61%;top:82.69%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-42.0deg) scale(0.964)}14.17%{left:24.44%;top:82.73%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-39.0deg) scale(0.969)}15.00%{left:26.33%;top:82.71%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-36.0deg) scale(0.973)}15.83%{left:28.29%;top:82.65%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-33.0deg) scale(0.977)}16.67%{left:30.31%;top:82.53%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-30.0deg) scale(0.981)}17.50%{left:32.38%;top:82.36%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-27.0deg) scale(0.985)}18.33%{left:34.50%;top:82.14%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-24.0deg) scale(0.988)}19.17%{left:36.66%;top:81.87%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-21.0deg) scale(0.991)}20.00%{left:38.86%;top:81.55%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-18.0deg) scale(0.993)}20.83%{left:41.09%;top:81.19%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-15.0deg) scale(0.995)}21.67%{left:43.35%;top:80.77%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-12.0deg) scale(0.997)}22.50%{left:45.62%;top:80.31%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-9.0deg) scale(0.998)}23.33%{left:47.91%;top:79.81%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-6.0deg) scale(0.999)}24.17%{left:50.20%;top:79.26%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-3.0deg) scale(1.000)}25.00%{left:52.49%;top:78.67%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(-0.0deg) scale(1.000)}25.83%{left:54.77%;top:78.04%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(3.0deg) scale(1.000)}26.67%{left:57.04%;top:77.37%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(6.0deg) scale(0.999)}27.50%{left:59.29%;top:76.67%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(9.0deg) scale(0.998)}28.33%{left:61.52%;top:75.93%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(12.0deg) scale(0.997)}29.17%{left:63.71%;top:75.16%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(15.0deg) scale(0.995)}30.00%{left:65.87%;top:74.36%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(18.0deg) scale(0.993)}30.83%{left:67.98%;top:73.53%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(21.0deg) scale(0.991)}31.67%{left:70.04%;top:72.67%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(24.0deg) scale(0.988)}32.50%{left:72.05%;top:71.79%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(27.0deg) scale(0.985)}33.33%{left:74.00%;top:70.88%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(30.0deg) scale(0.981)}34.17%{left:75.88%;top:69.96%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(33.0deg) scale(0.977)}35.00%{left:77.69%;top:69.03%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(36.0deg) scale(0.973)}35.83%{left:79.43%;top:68.08%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(39.0deg) scale(0.969)}36.67%{left:81.08%;top:67.11%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(42.0deg) scale(0.964)}37.50%{left:82.65%;top:66.14%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(45.0deg) scale(0.959)}38.33%{left:84.13%;top:65.17%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(48.0deg) scale(0.954)}39.17%{left:85.52%;top:64.19%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(51.0deg) scale(0.948)}40.00%{left:86.81%;top:63.20%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(54.0deg) scale(0.942)}40.83%{left:88.00%;top:62.23%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(57.0deg) scale(0.936)}41.67%{left:89.08%;top:61.25%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(60.0deg) scale(0.930)}42.50%{left:90.06%;top:60.29%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(63.0deg) scale(0.924)}43.33%{left:90.93%;top:59.33%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(66.0deg) scale(0.917)}44.17%{left:91.68%;top:58.39%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(69.0deg) scale(0.910)}45.00%{left:92.32%;top:57.46%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(72.0deg) scale(0.903)}45.83%{left:92.85%;top:56.55%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(75.0deg) scale(0.896)}46.67%{left:93.25%;top:55.66%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(78.0deg) scale(0.889)}47.50%{left:93.54%;top:54.80%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(81.0deg) scale(0.882)}48.33%{left:93.71%;top:53.95%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(84.0deg) scale(0.875)}49.17%{left:93.76%;top:53.14%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(87.0deg) scale(0.867)}50.00%{left:93.69%;top:52.36%;z-index:3;transform:translate(-50%,-50%) rotate(-12deg) rotateY(90.0deg) scale(0.860)}50.83%{left:93.50%;top:51.61%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(93.0deg) scale(0.853)}51.67%{left:93.19%;top:50.89%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(96.0deg) scale(0.845)}52.50%{left:92.76%;top:50.21%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(99.0deg) scale(0.838)}53.33%{left:92.22%;top:49.56%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(102.0deg) scale(0.831)}54.17%{left:91.56%;top:48.96%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(105.0deg) scale(0.824)}55.00%{left:90.78%;top:48.39%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(108.0deg) scale(0.817)}55.83%{left:89.90%;top:47.87%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(111.0deg) scale(0.810)}56.67%{left:88.90%;top:47.40%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(114.0deg) scale(0.803)}57.50%{left:87.80%;top:46.96%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(117.0deg) scale(0.796)}58.33%{left:86.59%;top:46.58%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(120.0deg) scale(0.790)}59.17%{left:85.29%;top:46.24%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(123.0deg) scale(0.784)}60.00%{left:83.88%;top:45.96%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(126.0deg) scale(0.778)}60.83%{left:82.39%;top:45.72%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(129.0deg) scale(0.772)}61.67%{left:80.80%;top:45.53%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(132.0deg) scale(0.766)}62.50%{left:79.13%;top:45.39%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(135.0deg) scale(0.761)}63.33%{left:77.39%;top:45.31%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(138.0deg) scale(0.756)}64.17%{left:75.56%;top:45.27%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(141.0deg) scale(0.751)}65.00%{left:73.67%;top:45.29%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(144.0deg) scale(0.747)}65.83%{left:71.71%;top:45.35%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(147.0deg) scale(0.743)}66.67%{left:69.69%;top:45.47%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(150.0deg) scale(0.739)}67.50%{left:67.62%;top:45.64%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(153.0deg) scale(0.735)}68.33%{left:65.50%;top:45.86%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(156.0deg) scale(0.732)}69.17%{left:63.34%;top:46.13%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(159.0deg) scale(0.729)}70.00%{left:61.14%;top:46.45%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(162.0deg) scale(0.727)}70.83%{left:58.91%;top:46.81%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(165.0deg) scale(0.725)}71.67%{left:56.65%;top:47.23%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(168.0deg) scale(0.723)}72.50%{left:54.38%;top:47.69%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(171.0deg) scale(0.722)}73.33%{left:52.09%;top:48.19%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(174.0deg) scale(0.721)}74.17%{left:49.80%;top:48.74%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(177.0deg) scale(0.720)}75.00%{left:47.51%;top:49.33%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(180.0deg) scale(0.720)}75.83%{left:45.23%;top:49.96%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(183.0deg) scale(0.720)}76.67%{left:42.96%;top:50.63%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(186.0deg) scale(0.721)}77.50%{left:40.71%;top:51.33%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(189.0deg) scale(0.722)}78.33%{left:38.48%;top:52.07%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(192.0deg) scale(0.723)}79.17%{left:36.29%;top:52.84%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(195.0deg) scale(0.725)}80.00%{left:34.13%;top:53.64%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(198.0deg) scale(0.727)}80.83%{left:32.02%;top:54.47%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(201.0deg) scale(0.729)}81.67%{left:29.96%;top:55.33%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(204.0deg) scale(0.732)}82.50%{left:27.95%;top:56.21%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(207.0deg) scale(0.735)}83.33%{left:26.00%;top:57.12%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(210.0deg) scale(0.739)}84.17%{left:24.12%;top:58.04%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(213.0deg) scale(0.743)}85.00%{left:22.31%;top:58.97%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(216.0deg) scale(0.747)}85.83%{left:20.57%;top:59.92%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(219.0deg) scale(0.751)}86.67%{left:18.92%;top:60.89%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(222.0deg) scale(0.756)}87.50%{left:17.35%;top:61.86%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(225.0deg) scale(0.761)}88.33%{left:15.87%;top:62.83%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(228.0deg) scale(0.766)}89.17%{left:14.48%;top:63.81%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(231.0deg) scale(0.772)}90.00%{left:13.19%;top:64.80%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(234.0deg) scale(0.778)}90.83%{left:12.00%;top:65.77%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(237.0deg) scale(0.784)}91.67%{left:10.92%;top:66.75%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(240.0deg) scale(0.790)}92.50%{left:9.94%;top:67.71%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(243.0deg) scale(0.796)}93.33%{left:9.07%;top:68.67%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(246.0deg) scale(0.803)}94.17%{left:8.32%;top:69.61%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(249.0deg) scale(0.810)}95.00%{left:7.68%;top:70.54%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(252.0deg) scale(0.817)}95.83%{left:7.15%;top:71.45%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(255.0deg) scale(0.824)}96.67%{left:6.75%;top:72.34%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(258.0deg) scale(0.831)}97.50%{left:6.46%;top:73.20%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(261.0deg) scale(0.838)}98.33%{left:6.29%;top:74.05%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(264.0deg) scale(0.845)}99.17%{left:6.24%;top:74.86%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(267.0deg) scale(0.853)}100.00%{left:6.31%;top:75.64%;z-index:0;transform:translate(-50%,-50%) rotate(-12deg) rotateY(270.0deg) scale(0.860)}}
@keyframes wdH{0.00%{left:4.35%;top:71.55%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-90.0deg) scale(0.860)}0.83%{left:4.52%;top:72.31%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-87.0deg) scale(0.867)}1.67%{left:4.83%;top:73.04%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-84.0deg) scale(0.875)}2.50%{left:5.25%;top:73.74%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-81.0deg) scale(0.882)}3.33%{left:5.80%;top:74.41%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-78.0deg) scale(0.889)}4.17%{left:6.47%;top:75.05%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-75.0deg) scale(0.896)}5.00%{left:7.26%;top:75.65%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-72.0deg) scale(0.903)}5.83%{left:8.17%;top:76.21%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-69.0deg) scale(0.910)}6.67%{left:9.19%;top:76.73%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-66.0deg) scale(0.917)}7.50%{left:10.32%;top:77.22%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-63.0deg) scale(0.924)}8.33%{left:11.56%;top:77.66%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-60.0deg) scale(0.930)}9.17%{left:12.91%;top:78.06%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-57.0deg) scale(0.936)}10.00%{left:14.36%;top:78.41%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-54.0deg) scale(0.942)}10.83%{left:15.90%;top:78.72%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-51.0deg) scale(0.948)}11.67%{left:17.54%;top:78.98%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-48.0deg) scale(0.954)}12.50%{left:19.27%;top:79.20%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-45.0deg) scale(0.959)}13.33%{left:21.08%;top:79.37%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-42.0deg) scale(0.964)}14.17%{left:22.98%;top:79.49%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-39.0deg) scale(0.969)}15.00%{left:24.94%;top:79.56%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-36.0deg) scale(0.973)}15.83%{left:26.98%;top:79.59%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-33.0deg) scale(0.977)}16.67%{left:29.07%;top:79.57%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-30.0deg) scale(0.981)}17.50%{left:31.23%;top:79.50%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-27.0deg) scale(0.985)}18.33%{left:33.44%;top:79.38%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-24.0deg) scale(0.988)}19.17%{left:35.69%;top:79.21%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-21.0deg) scale(0.991)}20.00%{left:37.98%;top:79.00%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-18.0deg) scale(0.993)}20.83%{left:40.30%;top:78.74%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-15.0deg) scale(0.995)}21.67%{left:42.66%;top:78.44%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-12.0deg) scale(0.997)}22.50%{left:45.03%;top:78.08%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-9.0deg) scale(0.998)}23.33%{left:47.41%;top:77.69%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-6.0deg) scale(0.999)}24.17%{left:49.80%;top:77.25%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-3.0deg) scale(1.000)}25.00%{left:52.20%;top:76.77%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(-0.0deg) scale(1.000)}25.83%{left:54.58%;top:76.25%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(3.0deg) scale(1.000)}26.67%{left:56.96%;top:75.69%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(6.0deg) scale(0.999)}27.50%{left:59.31%;top:75.10%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(9.0deg) scale(0.998)}28.33%{left:61.64%;top:74.46%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(12.0deg) scale(0.997)}29.17%{left:63.94%;top:73.80%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(15.0deg) scale(0.995)}30.00%{left:66.20%;top:73.10%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(18.0deg) scale(0.993)}30.83%{left:68.41%;top:72.37%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(21.0deg) scale(0.991)}31.67%{left:70.57%;top:71.61%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(24.0deg) scale(0.988)}32.50%{left:72.68%;top:70.83%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(27.0deg) scale(0.985)}33.33%{left:74.73%;top:70.02%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(30.0deg) scale(0.981)}34.17%{left:76.71%;top:69.19%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(33.0deg) scale(0.977)}35.00%{left:78.61%;top:68.34%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(36.0deg) scale(0.973)}35.83%{left:80.44%;top:67.47%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(39.0deg) scale(0.969)}36.67%{left:82.18%;top:66.59%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(42.0deg) scale(0.964)}37.50%{left:83.83%;top:65.69%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(45.0deg) scale(0.959)}38.33%{left:85.40%;top:64.79%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(48.0deg) scale(0.954)}39.17%{left:86.86%;top:63.87%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(51.0deg) scale(0.948)}40.00%{left:88.22%;top:62.96%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(54.0deg) scale(0.942)}40.83%{left:89.48%;top:62.04%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(57.0deg) scale(0.936)}41.67%{left:90.63%;top:61.11%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(60.0deg) scale(0.930)}42.50%{left:91.67%;top:60.20%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(63.0deg) scale(0.924)}43.33%{left:92.60%;top:59.28%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(66.0deg) scale(0.917)}44.17%{left:93.41%;top:58.38%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(69.0deg) scale(0.910)}45.00%{left:94.10%;top:57.48%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(72.0deg) scale(0.903)}45.83%{left:94.67%;top:56.60%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(75.0deg) scale(0.896)}46.67%{left:95.11%;top:55.73%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(78.0deg) scale(0.889)}47.50%{left:95.43%;top:54.88%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(81.0deg) scale(0.882)}48.33%{left:95.63%;top:54.05%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(84.0deg) scale(0.875)}49.17%{left:95.71%;top:53.24%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(87.0deg) scale(0.867)}50.00%{left:95.65%;top:52.45%;z-index:3;transform:translate(-50%,-50%) rotate(-10deg) rotateY(90.0deg) scale(0.860)}50.83%{left:95.48%;top:51.69%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(93.0deg) scale(0.853)}51.67%{left:95.17%;top:50.96%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(96.0deg) scale(0.845)}52.50%{left:94.75%;top:50.26%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(99.0deg) scale(0.838)}53.33%{left:94.20%;top:49.59%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(102.0deg) scale(0.831)}54.17%{left:93.53%;top:48.95%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(105.0deg) scale(0.824)}55.00%{left:92.74%;top:48.35%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(108.0deg) scale(0.817)}55.83%{left:91.83%;top:47.79%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(111.0deg) scale(0.810)}56.67%{left:90.81%;top:47.27%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(114.0deg) scale(0.803)}57.50%{left:89.68%;top:46.78%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(117.0deg) scale(0.796)}58.33%{left:88.44%;top:46.34%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(120.0deg) scale(0.790)}59.17%{left:87.09%;top:45.94%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(123.0deg) scale(0.784)}60.00%{left:85.64%;top:45.59%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(126.0deg) scale(0.778)}60.83%{left:84.10%;top:45.28%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(129.0deg) scale(0.772)}61.67%{left:82.46%;top:45.02%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(132.0deg) scale(0.766)}62.50%{left:80.73%;top:44.80%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(135.0deg) scale(0.761)}63.33%{left:78.92%;top:44.63%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(138.0deg) scale(0.756)}64.17%{left:77.02%;top:44.51%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(141.0deg) scale(0.751)}65.00%{left:75.06%;top:44.44%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(144.0deg) scale(0.747)}65.83%{left:73.02%;top:44.41%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(147.0deg) scale(0.743)}66.67%{left:70.93%;top:44.43%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(150.0deg) scale(0.739)}67.50%{left:68.77%;top:44.50%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(153.0deg) scale(0.735)}68.33%{left:66.56%;top:44.62%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(156.0deg) scale(0.732)}69.17%{left:64.31%;top:44.79%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(159.0deg) scale(0.729)}70.00%{left:62.02%;top:45.00%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(162.0deg) scale(0.727)}70.83%{left:59.70%;top:45.26%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(165.0deg) scale(0.725)}71.67%{left:57.34%;top:45.56%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(168.0deg) scale(0.723)}72.50%{left:54.97%;top:45.92%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(171.0deg) scale(0.722)}73.33%{left:52.59%;top:46.31%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(174.0deg) scale(0.721)}74.17%{left:50.20%;top:46.75%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(177.0deg) scale(0.720)}75.00%{left:47.80%;top:47.23%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(180.0deg) scale(0.720)}75.83%{left:45.42%;top:47.75%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(183.0deg) scale(0.720)}76.67%{left:43.04%;top:48.31%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(186.0deg) scale(0.721)}77.50%{left:40.69%;top:48.90%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(189.0deg) scale(0.722)}78.33%{left:38.36%;top:49.54%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(192.0deg) scale(0.723)}79.17%{left:36.06%;top:50.20%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(195.0deg) scale(0.725)}80.00%{left:33.80%;top:50.90%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(198.0deg) scale(0.727)}80.83%{left:31.59%;top:51.63%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(201.0deg) scale(0.729)}81.67%{left:29.43%;top:52.39%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(204.0deg) scale(0.732)}82.50%{left:27.32%;top:53.17%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(207.0deg) scale(0.735)}83.33%{left:25.27%;top:53.98%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(210.0deg) scale(0.739)}84.17%{left:23.29%;top:54.81%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(213.0deg) scale(0.743)}85.00%{left:21.39%;top:55.66%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(216.0deg) scale(0.747)}85.83%{left:19.56%;top:56.53%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(219.0deg) scale(0.751)}86.67%{left:17.82%;top:57.41%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(222.0deg) scale(0.756)}87.50%{left:16.17%;top:58.31%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(225.0deg) scale(0.761)}88.33%{left:14.60%;top:59.21%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(228.0deg) scale(0.766)}89.17%{left:13.14%;top:60.13%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(231.0deg) scale(0.772)}90.00%{left:11.78%;top:61.04%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(234.0deg) scale(0.778)}90.83%{left:10.52%;top:61.96%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(237.0deg) scale(0.784)}91.67%{left:9.37%;top:62.89%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(240.0deg) scale(0.790)}92.50%{left:8.33%;top:63.80%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(243.0deg) scale(0.796)}93.33%{left:7.40%;top:64.72%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(246.0deg) scale(0.803)}94.17%{left:6.59%;top:65.62%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(249.0deg) scale(0.810)}95.00%{left:5.90%;top:66.52%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(252.0deg) scale(0.817)}95.83%{left:5.33%;top:67.40%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(255.0deg) scale(0.824)}96.67%{left:4.89%;top:68.27%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(258.0deg) scale(0.831)}97.50%{left:4.57%;top:69.12%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(261.0deg) scale(0.838)}98.33%{left:4.37%;top:69.95%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(264.0deg) scale(0.845)}99.17%{left:4.29%;top:70.76%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(267.0deg) scale(0.853)}100.00%{left:4.35%;top:71.55%;z-index:0;transform:translate(-50%,-50%) rotate(-10deg) rotateY(270.0deg) scale(0.860)}}
/* v826 (Khalid): intro on the Night Sea instead of black, with a wide soft glow behind the logo */
#intro{background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--tl) 55%,transparent) 0,color-mix(in srgb,var(--tl) 28%,transparent) 22%,color-mix(in srgb,var(--tl) 12%,transparent) 45%,color-mix(in srgb,var(--tl) 4%,transparent) 70%,transparent 90%),radial-gradient(50vmax 35vmax at 50% 42%,rgba(120,225,235,.25),transparent 60%),linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%)}
#intro .in-wm{width:min(78vw,420px);margin-top:max(-12vw,-60px);animation:inUp .35s ease-out .6s both;filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}
@media (prefers-reduced-motion:reduce){#intro .in-wm{animation:none}}
#intro .in-lg{background:transparent}
#intro .in-lg img{-webkit-mask-image:none;mask-image:none;filter:drop-shadow(0 10px 24px rgba(0,0,0,.35))} /* intro-a.webp = logo cut out of its dark backdrop */
/* v826: worlds orbit not clipped by the page width on iPad */
html body:not(#a) .ar-orb.wd,html body:not(#a) .ar-orb.sb,html body:not(#a) .sh:has(.ar-orb.wd),html body:not(#a) .sh:has(.ar-orb.sb),html body:not(#a) .sh:has(.ar-orb.kw){overflow:visible!important}
.wd-tip{margin:14px 0 0;text-align:center;font-size:14px;color:rgba(230,238,245,.6)}
/* v829: light rays spreading from behind the logo */
#intro::before{content:"";position:absolute;inset:0;background:repeating-conic-gradient(from 0deg at 50% 42%,rgba(160,235,245,.10) 0 5deg,transparent 5deg 12deg);-webkit-mask-image:radial-gradient(circle at 50% 42%,#000 0,rgba(0,0,0,.8) 25%,rgba(0,0,0,.35) 55%,transparent 85%);mask-image:radial-gradient(circle at 50% 42%,#000 0,rgba(0,0,0,.8) 25%,rgba(0,0,0,.35) 55%,transparent 85%);pointer-events:none}
#intro>*{position:relative}
/* v830 (Khalid «نعتمد هذه المعاينة لجميع الشعارات»): every logo = cut-out 60s mark + wordmark on the same teal glow and spreading rays as the intro */
.lg-rays{position:relative;isolation:isolate}
.lg-rays::before{content:"";position:absolute;left:50%;top:38%;width:220vmax;height:220vmax;transform:translate(-50%,-50%);z-index:-1;pointer-events:none;
  background:repeating-conic-gradient(from 0deg at 50% 50%,rgba(160,235,245,.10) 0 5deg,transparent 5deg 12deg),radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--tl) 55%,transparent) 0,color-mix(in srgb,var(--tl) 28%,transparent) 8%,color-mix(in srgb,var(--tl) 12%,transparent) 16%,color-mix(in srgb,var(--tl) 4%,transparent) 26%,transparent 34%);
  -webkit-mask-image:radial-gradient(circle at 50% 50%,#000 0,rgba(0,0,0,.8) 9%,rgba(0,0,0,.35) 20%,transparent 32%);mask-image:radial-gradient(circle at 50% 50%,#000 0,rgba(0,0,0,.8) 9%,rgba(0,0,0,.35) 20%,transparent 32%)}
html body:not(#a):not(#b) .lg-rays img.lg{-webkit-mask:none!important;mask:none!important;mix-blend-mode:normal!important;aspect-ratio:auto!important;object-fit:contain!important;width:72%!important;max-width:320px!important;height:auto!important;margin:8px auto 0!important;display:block;filter:drop-shadow(0 10px 24px rgba(0,0,0,.35))}
html body:not(#a):not(#b) .lg-rays img.lg-wm{display:block;width:84%!important;max-width:380px!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;margin:-4px auto 0!important;-webkit-mask:none!important;mask:none!important;mix-blend-mode:normal!important;filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}
/* v831: island screens play by tapping the front island (button kept hidden for its state) */
html body:not(#a) .ar-go:not(.wd){display:none!important}
/* v832 (Khalid: teacher login like the intro preview): intro sea + glow behind the page, no card box, no borders on tabs/fields */
html body:not(#a):not(#b):not(#c):not(#d) .ta{background:radial-gradient(circle at 50% 14%,color-mix(in srgb,var(--tl) 45%,transparent) 0,color-mix(in srgb,var(--tl) 20%,transparent) 22%,color-mix(in srgb,var(--tl) 6%,transparent) 45%,transparent 70%),linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%)!important;background-attachment:fixed!important;overflow-x:clip}
html body:not(#a):not(#b):not(#c):not(#d) .ta .card{background:transparent!important;border:0!important;box-shadow:none!important;padding:4px 2px!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .tabs{background:rgba(255,255,255,.07)!important;border:0!important;box-shadow:none!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .tabs button{border:0!important;box-shadow:none!important;outline:0}
html body:not(#a):not(#b):not(#c):not(#d) .ta .tabs button.on{background:color-mix(in srgb,var(--tl) 22%,transparent)!important;color:#fff!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .input{background:rgba(255,255,255,.08)!important;border:0!important;box-shadow:none!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .input:focus{background:color-mix(in srgb,var(--tl) 14%,transparent)!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .link.forgot{border:0!important;text-decoration:none!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .ta-stu{background:rgba(255,255,255,.07)!important;border:0!important;box-shadow:none!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .bio-ic{border:0;background:color-mix(in srgb,var(--tl) 16%,transparent);box-shadow:none}
/* v835 (Khalid «لمعة»): the intro shine sweeps only over the logo itself, not its square box */
#intro .in-sh{-webkit-mask:url(img/intro-a.webp?v=2) center/100% 100% no-repeat;mask:url(img/intro-a.webp?v=2) center/100% 100% no-repeat}
/* v837 (Khalid): teacher login fits one iPhone screen, no scrolling */
html body:not(#a):not(#b):not(#c):not(#d) .ta .lg-rays img.lg{width:50%!important;max-width:210px!important;margin-top:0!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .lg-rays img.lg-wm{width:68%!important;max-width:300px!important;margin:-2px auto 0!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .pad{padding-top:6px!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .card{gap:6px!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .tabs button{min-height:44px!important;padding-block:6px!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .field{margin:0!important;gap:4px!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .field label{margin:4px 0 2px!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .input{min-height:48px!important;height:48px!important;padding-block:0!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .field small:empty{display:none}
html body:not(#a):not(#b):not(#c):not(#d) .ta .link.forgot{margin:0 0 4px!important;padding:2px 0!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .btn[type=submit]{min-height:52px!important;font-size:21px!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .bio-ic{width:52px;height:52px;margin:10px auto 0}
html body:not(#a):not(#b):not(#c):not(#d) .ta .ta-stu{min-height:48px!important;margin-top:8px!important;font-size:16px!important}
/* v838 (Khalid «الشعار لازق فوق»): logo starts below the status bar */
html body:not(#a):not(#b):not(#c):not(#d) .ta .lg-rays{padding-top:calc(env(safe-area-inset-top,0px) + 6px)!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .lg-rays img.lg{width:44%!important;max-width:180px!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .lg-rays img.lg-wm{width:60%!important;max-width:260px!important}
/* v840 (Khalid «فراغ كبير تحت، نزل الصفحة»): teacher login content centred on the screen */
html body:not(#a):not(#b):not(#c):not(#d) .ta{display:flex!important;flex-direction:column;justify-content:center;min-height:100dvh;padding-bottom:env(safe-area-inset-bottom,0px);box-sizing:border-box}
html body:not(#a):not(#b):not(#c):not(#d) .ta .lg-rays{padding-top:calc(env(safe-area-inset-top,0px) + 14px)!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .lg-rays img.lg{width:48%!important;max-width:200px!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .lg-rays img.lg-wm{width:64%!important;max-width:280px!important}
/* v841 (Khalid «ألوان الخلفية للطالب والمعلم وحدها»): student login = same sea, glow, logo size and borderless buttons as the teacher login */
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl{background:radial-gradient(circle at 50% 14%,color-mix(in srgb,var(--tl) 45%,transparent) 0,color-mix(in srgb,var(--tl) 20%,transparent) 22%,color-mix(in srgb,var(--tl) 6%,transparent) 45%,transparent 70%),linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%)!important;background-attachment:fixed!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .lg-rays{padding-top:calc(env(safe-area-inset-top,0px) + 14px)!important;margin:0!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .lg-rays img.lg{width:48%!important;max-width:200px!important;margin-top:0!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .lg-rays img.lg-wm{width:64%!important;max-width:280px!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .sl1{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .sl-hc,html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .sl1-t{background:rgba(255,255,255,.07)!important;border:0!important;box-shadow:none!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .code-box{border-color:rgba(255,255,255,.14)!important;background:rgba(255,255,255,.07)!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .code-box{border:0!important;box-shadow:none!important;background:rgba(255,255,255,.08)!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .code-box.on{background:color-mix(in srgb,var(--tl) 25%,transparent)!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .sl1-go{background:color-mix(in srgb,var(--tl) 22%,transparent)!important;border:0!important;box-shadow:none!important;color:#fff!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .btn,html body:not(#a):not(#b):not(#c):not(#d) .sh.sl button{outline:0}
/* v842 (Khalid «الشعار يصعد وينزل»): logo sits at the same fixed spot on student and teacher login; only the buttons under it change */
html body:not(#a):not(#b):not(#c):not(#d) .ta{justify-content:flex-start!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .lg-rays,html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .lg-rays{padding-top:calc(env(safe-area-inset-top,0px) + 34px)!important;margin:0!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .lg-rays img.lg,html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .lg-rays img.lg{margin:0 auto!important}
html body:not(#a):not(#b):not(#c):not(#d) .ta .lg-rays img.lg-wm,html body:not(#a):not(#b):not(#c):not(#d) .sh.sl .lg-rays img.lg-wm{margin:-2px auto 0!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.sl{padding-top:0!important}
/* v846: island screens show only the island name and one progress line */
.ar-onm .kw-inf:not(.wd-inf),.ar-onm .kw-st:empty{display:none!important}
.ar-ttb .avh,.ar-ttb .avs,.ar-ttb img{width:100%;height:100%;object-fit:contain;border-radius:50%}
/* v847: per-world progress card + hint line (same look as the Kuwait islands) */
.ar-onm .wx-hint{display:block;margin-top:4px;font-size:14px;color:rgba(230,238,245,.75)}
.ar-onm .wx-hint b{color:#E3B23C}
.ar-isl.lk img{filter:grayscale(1) brightness(.75)}
/* v848 art + history world islands: moving parts (front island only) */
.ar-isl .isl-g.wx-g{inset:auto;top:0;bottom:0;left:50%;height:100%;width:auto;transform:translateX(-50%);animation:none}
.ar-isl .isl-g.wx-g>span,.ar-isl .isl-g.wx-g{will-change:auto}
.ar-isl .isl-g.wx-g>img:first-child{position:absolute;inset:0;width:100%;height:100%;animation:none!important}
.ar-isl .isl-g img.wxp{position:absolute;right:auto;bottom:auto;height:auto;opacity:0;animation:none!important;pointer-events:none}
.ar-isl.front .isl-g img.wxp-drop{animation:wxDrop 2.4s ease-in infinite!important}
.ar-isl.front .isl-g img.wxp-dust{animation:wxDust 3.6s ease-in-out infinite!important}
.ar-isl.front .isl-g img.wxp-bird{animation:wxBird 5.5s linear infinite!important}
.ar-isl.front .isl-g img.wxp-moon{animation:wxGlow 2.6s ease-in-out infinite!important}
.ar-isl.front .isl-g img.wxp-jet{animation:wxJet 1.6s ease-in-out infinite!important;transform-origin:50% 100%}
.ar-isl.front .isl-g img.wxp-wave{animation:wxWave 2.8s ease-in-out infinite!important}
@keyframes wxDrop{0%{opacity:0;transform:translateY(-10px)}15%{opacity:1}80%{opacity:1}100%{opacity:0;transform:translateY(95%)}}
@keyframes wxDust{0%,100%{opacity:0;transform:translate(-8%,6%)}50%{opacity:.95;transform:translate(8%,-8%)}}
@keyframes wxBird{0%{opacity:0;transform:translateX(-30%)}10%,90%{opacity:1}100%{opacity:0;transform:translateX(480%)}}
@keyframes wxGlow{0%,100%{opacity:0}50%{opacity:.9;filter:drop-shadow(0 0 8px #FFD65A)}}
@keyframes wxJet{0%,100%{opacity:0;transform:scaleY(.6)}50%{opacity:.85;transform:scaleY(1.05)}}
@keyframes wxWave{0%,100%{opacity:.25;transform:translateY(4%)}50%{opacity:.85;transform:translateY(-6%)}}
.ar-isl .isl-g .wx-beam{position:absolute;left:62%;top:14%;width:38%;height:62%;opacity:0;transform-origin:20% 0;background:linear-gradient(180deg,rgba(255,226,120,.8),rgba(255,226,120,0));clip-path:polygon(18% 0,30% 0,100% 100%,40% 100%);mix-blend-mode:screen}
.ar-isl.front .isl-g .wx-beam{animation:wxBeam 3s ease-in-out infinite}
@keyframes wxBeam{0%,100%{opacity:.15;transform:rotate(-14deg)}50%{opacity:.85;transform:rotate(14deg)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g img.wxp,.ar-isl.front .isl-g .wx-beam{animation:none!important}}
/* v849 solar world */
.ar-isl.front .isl-g img.wxp-cloud{animation:wxCloud 7s ease-in-out infinite!important}
.ar-isl.front .isl-g img.wxp-smoke{animation:wxSmoke 3.2s ease-out infinite!important}
.ar-isl.front .isl-g img.wxp-bub{animation:wxBub 3s ease-in infinite!important}
.ar-isl.front .isl-g img.wxp-comet{animation:wxComet 4s ease-in infinite!important}
@keyframes wxCloud{0%{opacity:0;transform:translateX(-10%)}20%,80%{opacity:.9}100%{opacity:0;transform:translateX(130%)}}
@keyframes wxSmoke{0%{opacity:0;transform:translateY(30%) scale(.5)}25%{opacity:.8}100%{opacity:0;transform:translateY(-60%) scale(1.2)}}
@keyframes wxBub{0%{opacity:0;transform:translateY(40%) scale(.6)}20%{opacity:.9}100%{opacity:0;transform:translateY(-120%) scale(1)}}
@keyframes wxComet{0%,55%{opacity:0;transform:translate(40%,-20%)}65%{opacity:1}100%{opacity:0;transform:translate(-60%,40%)}}
/* v853 continents world */
.ar-isl.front .isl-g img.wxp-petal{animation:wxPetal 3.4s ease-in infinite!important}
.ar-isl.front .isl-g img.wxp-spin{animation:wxSpin 5s linear infinite!important;opacity:.95!important}
.ar-isl.front .isl-g img.wxp-flame{animation:wxFlame .9s ease-in-out infinite!important;transform-origin:50% 90%;opacity:.95}
.ar-isl.front .isl-g img.wxp-fish{animation:wxFish 5s ease-in-out infinite!important}
.ar-isl.front .isl-g img.wxp-bf{animation:wxBf 4s ease-in-out infinite!important}
@keyframes wxPetal{0%{opacity:0;transform:translate(-10%,-10%) rotate(0)}15%{opacity:1}85%{opacity:1}100%{opacity:0;transform:translate(25%,110%) rotate(160deg)}}
@keyframes wxSpin{to{transform:rotate(-360deg)}}
@keyframes wxFlame{0%,100%{transform:scale(1,.92) rotate(-3deg)}50%{transform:scale(1.06,1.08) rotate(3deg)}}
@keyframes wxFish{0%,100%{opacity:.95;transform:translateX(-30%)}50%{opacity:.95;transform:translateX(120%) scaleX(-1)}}
@keyframes wxBf{0%,100%{opacity:.95;transform:translate(0,0) scale(1,1)}25%{transform:translate(60%,-40%) scale(.7,1)}50%{opacity:.95;transform:translate(120%,0) scale(1,1)}75%{transform:translate(60%,40%) scale(.7,1)}}
/* v854 iPad only (width >= 700px): the student first screen fills the whole page instead of a 480px column with dark side bars; login screens reach the bottom edge. Phones are untouched. */
@media (min-width:481px){ /* v858: iPad portrait is scaled to a 540px-wide page, so 700px never matched there */
  html body:not(#a):not(#b) #app>.sh.sl{overflow:clip;width:100vw;max-width:none;margin-inline-start:calc(50% - 50vw);margin-inline-end:0;padding-left:max(16px,calc(50vw - 224px));padding-right:max(16px,calc(50vw - 224px));box-sizing:border-box}
  html body:not(#a):not(#b) #app>.sh.sl>.pad{padding-left:0;padding-right:0}
  html body:not(#a):not(#b) #app>.sh.sl .sl-hero{margin-left:0;margin-right:0}
  html body:not(#a):not(#b) .ta,html body:not(#a):not(#b) #app>.sh.sl{min-height:100lvh!important}
}
/* v855 unique island motion */
.ar-isl.front .isl-g img.wxp-steam{animation:wxSmoke 3s ease-out infinite!important}
.ar-isl.front .isl-g img.wxp-wind{animation:wxWind 5s ease-in-out infinite!important}
.ar-isl.front .isl-g img.wxp-heat{animation:wxHeat 3.2s ease-in-out infinite!important}
.ar-isl.front .isl-g img.wxp-sway{animation:wxSway 2.4s ease-in-out infinite!important;transform-origin:8% 100%}
@keyframes wxWind{0%{opacity:0;transform:translateX(-20%)}30%,70%{opacity:.8}100%{opacity:0;transform:translateX(70%)}}
@keyframes wxHeat{0%,100%{opacity:0;transform:scaleY(.8)}50%{opacity:.5;transform:scaleY(1.1)}}
@keyframes wxSway{0%,100%{opacity:1;transform:skewX(0) scaleX(1)}50%{opacity:1;transform:skewX(-4deg) scaleX(1.03)}}
.ar-isl .isl-g .wx-shine{position:absolute;inset:0;pointer-events:none;opacity:0;-webkit-mask:var(--isl) center/100% 100% no-repeat;mask:var(--isl) center/100% 100% no-repeat;background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.75) 50%,transparent 62%) no-repeat;background-size:260% 100%;background-position:130% 0;mix-blend-mode:screen}
.ar-isl.front .isl-g .wx-shine{opacity:1;animation:wxShine 4.2s ease-in-out infinite}
@keyframes wxShine{0%,25%{background-position:130% 0}70%,100%{background-position:-30% 0}}
.ar-isl.front .isl-g .fx-nur.wx-flash{animation:wxFlash 4.5s steps(1) infinite}
@keyframes wxFlash{0%,86%,92%,100%{opacity:0}88%,94%{opacity:.9}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g img.wxp,.ar-isl.front .isl-g .wx-shine{animation:none!important}}
/* v857 ChatGPT animation strips (4 poses, ping-pong) */
.ar-isl .isl-g .wx-fr{position:absolute;opacity:0;background-repeat:no-repeat;background-size:400% 100%;background-position:0 0;pointer-events:none}
.ar-isl.front .isl-g .wx-fr{opacity:1;animation:wxFr 1s steps(1,end) infinite}
@keyframes wxFr{0%{background-position:0 0}16.6%{background-position:33.333% 0}33.3%{background-position:66.667% 0}50%{background-position:100% 0}66.6%{background-position:66.667% 0}83.3%{background-position:33.333% 0}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g .wx-fr{animation:none}}
/* v862: iPad app teacher login — the area under .ta (WebView bottom / safe area) matches the screen gradient, no lighter band */
html:has(.ta):not(#z),html:has(.ta) body:not(#a):not(#b):not(#c){background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%) fixed var(--n2)!important}
/* v863 (Khalid): «تكمل بحسابك؟» / «العب من التطبيق» show as a centred window, not a bottom sheet */
html body .modal-back:has([data-act="solo-cont"]),html body .modal-back:has(.modal>.so-store),html body .modal-back:has(.modal>.so-sub){align-items:center;padding:20px}
html body .modal-back:has([data-act="solo-cont"]) .modal,html body .modal-back:has(.modal>.so-store) .modal,html body .modal-back:has(.modal>.so-sub) .modal{border-radius:28px!important;max-width:420px;padding:22px 20px 20px;margin:0}
html body .modal-back:has([data-act="solo-cont"]) .modal::before,html body .modal-back:has(.modal>.so-store) .modal::before,html body .modal-back:has(.modal>.so-sub) .modal::before{display:none}
/* v865 (Khalid «نزل الكتابة شوي»): a little more space between the front island and its name on the worlds screens */
html body:not(#a):not(#b) .ar-orb.wd~.ar-onm,html body:not(#a):not(#b) .ar-orb.wx~.ar-onm{margin-top:14px!important}
/* v870: the teacher «حجم الخط» setting zooms the whole page (applyLook sets html zoom); the login screen must stay at 1 or it shrinks (logo jumps, band under it) */
html:has(#app .ta){zoom:1!important}
/* v871 (Khalid «وحد اماكن العناوين وحجم المدار»): Kuwait islands stand on the bottom of their box like every other orbit, so the name sits the same 14px under each front island (arFit places it) */
html body .ar-orb.kw .ar-isl{align-items:flex-end}
/* v873 solar island motion: the drawn objects move (pieces cut from the island art, like the Kuwait + curricula islands); front island only */
.ar-isl .isl-g .wxs{position:absolute;display:block;pointer-events:none}
.ar-isl .isl-g .wxs img{position:absolute;inset:0;width:100%;height:100%;filter:none;animation:none!important}
.ar-isl.lk .isl-g .wxs img{filter:grayscale(1) brightness(.75)}
.ar-isl.soon .isl-g .wxs img{filter:grayscale(.75)}
.ar-isl .isl-g .wxs-d,.ar-isl .isl-g .wxs-o{position:absolute;display:block;pointer-events:none}
.ar-isl .isl-g .wxs-d{inset:0}
.ar-isl .isl-g .wxs-d>b{position:absolute;inset:0;background:var(--isl) 0 0/100% 100% no-repeat}
.ar-isl:not(.front) .isl-g .wxs-d,.ar-isl:not(.front) .isl-g .wxs-o,.ar-isl.lk .isl-g .wxs-d,.ar-isl.lk .isl-g .wxs-o,.ar-isl.soon .isl-g .wxs-d,.ar-isl.soon .isl-g .wxs-o{display:none}
/* mercury: sun corona turns + core breathes; magnifier lens zooms in on the craters, then a glint */
.ar-isl .isl-g .wxs-cor{left:38.97%;top:-3.68%;width:54%;aspect-ratio:1;opacity:.6;mix-blend-mode:screen;background:repeating-conic-gradient(rgba(255,238,160,0) 0deg,rgba(255,236,150,.9) 7deg,rgba(255,238,160,0) 14deg,rgba(255,238,160,0) 30deg);-webkit-mask:radial-gradient(closest-side,transparent 47%,#000 53%,rgba(0,0,0,.45) 78%,transparent 100%);mask:radial-gradient(closest-side,transparent 47%,#000 53%,rgba(0,0,0,.45) 78%,transparent 100%);animation:wxsTurn 24s linear infinite}
.ar-isl .isl-g .wxs-sun>b{-webkit-mask:radial-gradient(ellipse 15% 13.4% at 66% 20.3%,#000 72%,transparent 100%);mask:radial-gradient(ellipse 15% 13.4% at 66% 20.3%,#000 72%,transparent 100%);transform-origin:66% 20.3%;animation:wxsSun 3.2s ease-in-out infinite}
.ar-isl .isl-g .wxs-sunl{left:52%;top:7.8%;width:28%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,rgba(255,252,220,.85),rgba(255,220,90,.3) 60%,transparent);mix-blend-mode:screen;animation:wxsGlow 3.2s ease-in-out infinite}
.ar-isl .isl-g .wxs-lens,.ar-isl .isl-g .wxs-glint{inset:0;-webkit-mask:radial-gradient(ellipse 8.6% 7.6% at 40.3% 49.4%,#000 90%,transparent 100%);mask:radial-gradient(ellipse 8.6% 7.6% at 40.3% 49.4%,#000 90%,transparent 100%)}
.ar-isl .isl-g .wxs-lens>b{transform-origin:40.3% 49.4%;animation:wxsLens 6s ease-in-out infinite}
.ar-isl .isl-g .wxs-glint::before{content:'';position:absolute;left:30%;top:40%;width:21%;height:19%;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.7) 50%,transparent 65%);transform:translateX(-80%);animation:wxsGlint 6s ease-in-out infinite}
@keyframes wxsTurn{to{transform:rotate(360deg)}}
@keyframes wxsSun{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@keyframes wxsGlow{0%,100%{opacity:.15}50%{opacity:.7}}
@keyframes wxsLens{0%,15%,100%{transform:scale(1)}40%,70%{transform:scale(1.25)}}
@keyframes wxsGlint{0%,74%{transform:translateX(-80%)}92%,100%{transform:translateX(80%)}}
/* venus: weather vane turns in the wind, its cups spin; the thermometer rises; clouds drift */
.ar-isl.front .isl-g .wxs-vane{transform-origin:39.05% 50%;animation:wxsVane 6s ease-in-out infinite}
.ar-isl.front .isl-g .wxs-cups{transform-origin:45.27% 50%;animation:wxsSpinY 1.8s linear infinite}
.ar-isl .isl-g .wxs-merc{left:34.15%;top:25.5%;width:1.75%;height:16.5%;border-radius:9px;background:linear-gradient(90deg,#b8120a,#ff5a3c 45%,#cf170d);transform-origin:50% 100%;transform:scaleY(.76);animation:wxsMerc 5s ease-in-out infinite}
.ar-isl .isl-g .wxs-cl1{-webkit-mask:radial-gradient(ellipse 23% 9% at 74% 70%,#000 45%,transparent 100%);mask:radial-gradient(ellipse 23% 9% at 74% 70%,#000 45%,transparent 100%)}
.ar-isl .isl-g .wxs-cl2{-webkit-mask:radial-gradient(ellipse 21% 8.5% at 22% 51%,#000 45%,transparent 100%);mask:radial-gradient(ellipse 21% 8.5% at 22% 51%,#000 45%,transparent 100%)}
.ar-isl .isl-g .wxs-cl1>b{transform-origin:74% 70%;animation:wxsCloud 7s ease-in-out infinite}
.ar-isl .isl-g .wxs-cl2>b{transform-origin:22% 51%;animation:wxsCloud 8s ease-in-out -3.5s infinite reverse}
@keyframes wxsVane{0%,100%{transform:scaleX(1)}40%{transform:scaleX(.42)}65%{transform:scaleX(.62)}}
@keyframes wxsSpinY{to{transform:rotateY(360deg)}}
@keyframes wxsMerc{0%,100%{transform:scaleY(.76)}50%{transform:scaleY(.97)}}
@keyframes wxsCloud{0%,100%{transform:translateX(-1.1%) scale(1.02)}50%{transform:translateX(1.1%) scale(1.04)}}
/* earth: volcano smoke billows + puffs, lava glows, waterfall flows, tree sways, globe turns, moon floats */
.ar-isl.front .isl-g .wxs-smk{transform-origin:32% 100%;animation:wxsSmk 4.6s ease-in-out infinite}
.ar-isl .isl-g .wxs-puff{opacity:0;transform-origin:32% 100%}
.ar-isl.front .isl-g .wxs-puff{animation:wxsPuff 3.4s ease-out infinite}
.ar-isl.front .isl-g .wxs-moon{animation:wxsMoon 6s ease-in-out infinite}
.ar-isl .isl-g .wxs-lava{left:25%;top:12%;width:10%;height:10%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,230,120,.9),rgba(255,110,30,.45) 55%,transparent);mix-blend-mode:screen;animation:wxsGlow 2.2s ease-in-out infinite}
.ar-isl .isl-g .wxs-fall{left:33.4%;top:61.5%;width:10.4%;height:20%;overflow:hidden;clip-path:polygon(14% 0,82% 0,100% 100%,0 100%);-webkit-mask:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent);mask:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent)}
.ar-isl .isl-g .wxs-fall::before{content:'';position:absolute;left:0;top:-100%;width:100%;height:200%;background:linear-gradient(180deg,transparent 25%,rgba(255,255,255,.8) 50%,transparent 75%) 0 0/100% 12.5%;-webkit-mask:repeating-linear-gradient(90deg,#000 0 2px,transparent 2px 5px);mask:repeating-linear-gradient(90deg,#000 0 2px,transparent 2px 5px);animation:wxsFall .8s linear infinite}
.ar-isl .isl-g .wxs-tree>b{clip-path:ellipse(12.8% 9.8% at 30% 41%);transform-origin:30% 56%;animation:wxsTree 3.4s ease-in-out infinite alternate}
.ar-isl .isl-g .wxs-globe{clip-path:ellipse(12.3% 11.5% at 58.6% 28.2%)}
.ar-isl .isl-g .wxs-globe>b{transform-origin:58.6% 28.2%;animation:wxsGlobe 6s ease-in-out infinite}
@keyframes wxsSmk{0%,100%{transform:none}50%{transform:translate(2%,-3%) scale(1.06,1.1)}}
@keyframes wxsPuff{0%{opacity:0;transform:translate(0,12%) scale(.22)}25%{opacity:.9}100%{opacity:0;transform:translate(5%,-26%) scale(.7)}}
@keyframes wxsMoon{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-8%) rotate(-12deg)}}
@keyframes wxsFall{to{transform:translateY(12.5%)}}
@keyframes wxsTree{0%{transform:rotate(-1.3deg)}100%{transform:rotate(1.3deg)}}
@keyframes wxsGlobe{0%,100%{transform:rotate(0)}50%{transform:rotate(-14deg)}}
/* mars: the rover looks around, its solar panels glint; the rocket idles on the pad with vapour */
.ar-isl.front .isl-g .wxs-head{transform-origin:49.4% 106%;animation:wxsHead 7s ease-in-out infinite}
.ar-isl .isl-g .wxs-pan{inset:0;-webkit-mask:url(img/ar/w/m-mars-pan.webp?v=1) 0 0/100% 100% no-repeat;mask:url(img/ar/w/m-mars-pan.webp?v=1) 0 0/100% 100% no-repeat}
.ar-isl .isl-g .wxs-pan::before,.ar-isl .isl-g .wxs-ring::before{content:'';position:absolute;left:0;top:0;width:34%;height:100%;background:linear-gradient(100deg,transparent 25%,rgba(255,255,255,.85) 50%,transparent 75%);transform:translateX(-110%);animation:wxsSweep 5s ease-in-out infinite}
.ar-isl .isl-g .wxs-flame{left:71.3%;top:37.4%;width:4.2%;height:6.5%;border-radius:50% 50% 50% 50%/30% 30% 70% 70%;background:radial-gradient(ellipse at 50% 20%,#fff 0 14%,#ffd54a 36%,#ff7a1a 62%,transparent 74%);transform-origin:50% 0;animation:wxsFlame .32s ease-in-out infinite alternate}
.ar-isl .isl-g .wxs-vap{width:18%;height:10%;border-radius:50%;opacity:0;background:radial-gradient(closest-side,#fff,rgba(255,240,232,.6) 55%,transparent);animation:wxsVap 3.2s ease-out infinite}
.ar-isl .isl-g .wxs-vap+.wxs-vap{--dx:60%}
@keyframes wxsHead{0%,12%,88%,100%{transform:rotate(0)}26%,42%{transform:rotate(-7deg)}58%,74%{transform:rotate(6deg)}}
@keyframes wxsSweep{0%,20%{transform:translateX(-110%)}75%,100%{transform:translateX(300%)}}
@keyframes wxsFlame{0%{transform:scale(.85,.75)}100%{transform:scale(1.05,1.12)}}
@keyframes wxsVap{0%{opacity:0;transform:translateX(0) scale(.35)}30%{opacity:1}100%{opacity:0;transform:translateX(var(--dx,-55%)) scale(1.35)}}
/* jupiter: great red spot swirls; stars + star map twinkle; the telescope scans the sky */
.ar-isl .isl-g .wxs-spot{-webkit-mask:radial-gradient(ellipse 17% 8.6% at 61.5% 61.8%,#000 40%,transparent 100%),var(--isl) 0 0/100% 100% no-repeat;-webkit-mask-composite:source-in;mask:radial-gradient(ellipse 17% 8.6% at 61.5% 61.8%,#000 40%,transparent 100%) intersect,var(--isl) 0 0/100% 100% no-repeat}
.ar-isl .isl-g .wxs-spot>b{transform-origin:61.5% 61.8%;animation:wxsSpot 26s linear infinite}
.ar-isl.front .isl-g .wxs-star{animation:wxsStar 2.6s ease-in-out infinite}
.ar-isl.front .isl-g .wxs-scope{transform-origin:34.3% 93.9%;animation:wxsScope 8s ease-in-out infinite}
.ar-isl .isl-g .fx-tw.wxs-sm{width:4.5%}
@keyframes wxsSpot{from{transform:scaleY(.55) rotate(0) scaleY(1.8182)}to{transform:scaleY(.55) rotate(-360deg) scaleY(1.8182)}}
@keyframes wxsStar{0%,100%{transform:scale(1) rotate(0);opacity:1}50%{transform:scale(.72) rotate(18deg);opacity:.8}}
@keyframes wxsScope{0%,100%{transform:rotate(0)}30%,45%{transform:rotate(-6deg)}70%,80%{transform:rotate(3deg)}}
/* saturn: the gear turns, the bulb glows with its rays, a glint runs along the ring */
.ar-isl.front .isl-g .wxs-gear{transform-origin:49.3% 46.5%;animation:wxsGear 6s ease-in-out infinite}
.ar-isl.front .isl-g .wxs-rays{transform-origin:49.2% 59.4%;animation:wxsRays 2.4s ease-in-out infinite}
.ar-isl .isl-g .wxs-bulb{left:27.6%;top:2.2%;width:20%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,rgba(255,252,210,.9),rgba(255,220,90,.35) 55%,transparent);mix-blend-mode:screen;animation:wxsGlow 2.4s ease-in-out infinite}
.ar-isl .isl-g .wxs-ring{inset:0;mix-blend-mode:screen;-webkit-mask:url(img/ar/w/m-saturn-ring.webp?v=1) 0 0/100% 100% no-repeat;mask:url(img/ar/w/m-saturn-ring.webp?v=1) 0 0/100% 100% no-repeat}
.ar-isl .isl-g .wxs-ring::before{width:26%;animation-duration:5.5s}
@keyframes wxsGear{0%,100%{transform:rotate(0)}50%{transform:rotate(45deg)}}
@keyframes wxsRays{0%,100%{transform:scale(.95);opacity:.75}50%{transform:scale(1.08);opacity:1}}
/* uranus: bubbles rise out of the flasks, the liquids fizz, the molecule model spins, the ice swirl turns */
.ar-isl.front .isl-g .wxs-bub{transform-origin:50% 100%;animation:wxsBub 3.4s ease-out infinite}
.ar-isl.front .isl-g .wxs-atom{transform-origin:47.5% 50%;animation:wxsSpinY 10s linear infinite}
.ar-isl .isl-g .wxs-lq{width:1.5%;aspect-ratio:1;border-radius:50%;opacity:0;background:radial-gradient(circle at 35% 35%,#fff,rgba(255,255,255,.4) 60%,transparent 72%);animation:wxsLq 2.4s ease-in infinite}
.ar-isl .isl-g .wxs-swirl{-webkit-mask:radial-gradient(ellipse 12% 7.6% at 78.5% 73.5%,#000 30%,transparent 100%),var(--isl) 0 0/100% 100% no-repeat;-webkit-mask-composite:source-in;mask:radial-gradient(ellipse 12% 7.6% at 78.5% 73.5%,#000 30%,transparent 100%) intersect,var(--isl) 0 0/100% 100% no-repeat}
.ar-isl .isl-g .wxs-swirl>b{transform-origin:78.5% 73.5%;animation:wxsSwirl 22s linear infinite}
@keyframes wxsBub{0%{opacity:0;transform:translateY(40%) scale(.35)}25%{opacity:1}55%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-55%) scale(1.1)}}
@keyframes wxsLq{0%{opacity:0;transform:translateY(0) scale(.6)}25%{opacity:.9}100%{opacity:0;transform:translateY(-380%) scale(1)}}
@keyframes wxsSwirl{from{transform:scaleY(.7) rotate(0) scaleY(1.4286)}to{transform:scaleY(.7) rotate(-360deg) scaleY(1.4286)}}
/* neptune: the comet glides on its path, the galaxy's arms turn, the dark vortex swirls, its stars twinkle */
.ar-isl.front .isl-g .wxs-comet{animation:wxsComet 6s linear infinite}
.ar-isl .isl-g .wxs-gal{left:0;top:-13%;width:62%;aspect-ratio:1;mix-blend-mode:screen;opacity:.6;transform:rotate(-15deg) scaleY(.45)}
.ar-isl .isl-g .wxs-gal::before{content:'';position:absolute;inset:0;border-radius:50%;background:conic-gradient(rgba(255,190,255,0) 0deg,rgba(255,205,250,.9) 45deg,rgba(255,190,255,0) 100deg,rgba(255,190,255,0) 180deg,rgba(200,210,255,.85) 225deg,rgba(255,190,255,0) 280deg);-webkit-mask:radial-gradient(closest-side,transparent 10%,#000 32%,#000 62%,transparent 100%);mask:radial-gradient(closest-side,transparent 10%,#000 32%,#000 62%,transparent 100%);animation:wxsTurn 12s linear infinite}
.ar-isl .isl-g .wxs-vtx{-webkit-mask:radial-gradient(ellipse 15.5% 8.6% at 70.5% 49.8%,#000 45%,transparent 100%),var(--isl) 0 0/100% 100% no-repeat;-webkit-mask-composite:source-in;mask:radial-gradient(ellipse 15.5% 8.6% at 70.5% 49.8%,#000 45%,transparent 100%) intersect,var(--isl) 0 0/100% 100% no-repeat}
.ar-isl .isl-g .wxs-vtx>b{transform-origin:70.5% 49.8%;animation:wxsVtx 18s linear infinite}
@keyframes wxsComet{0%{opacity:0;transform:translate(16%,-14%)}22%{opacity:1}50%{transform:translate(0,0)}78%{opacity:1}100%{opacity:0;transform:translate(-8%,7%)}}
@keyframes wxsVtx{from{transform:scaleY(.59) rotate(0) scaleY(1.6949)}to{transform:scaleY(.59) rotate(-360deg) scaleY(1.6949)}}
@media (prefers-reduced-motion:reduce){.ar-isl .isl-g .wxs,.ar-isl .isl-g .wxs-d>b,.ar-isl .isl-g .wxs-o,.ar-isl .isl-g .wxs-o::before{animation:none!important}.ar-isl .isl-g .wxs-d,.ar-isl .isl-g .wxs-o{display:none}}
/* v892 face-off side by side (Khalid «تمام»): no red halo on hosts, countdown below */
html body .ar-av.ar-bot .avi{background:radial-gradient(circle at 50% 35%,#16336E,#0E1938)!important;overflow:hidden;border-radius:50%}
html body .ar-av.ar-bot .avi img{width:100%;height:100%;object-fit:cover}
html body .ar-av.ar-bot{overflow:hidden}
html body .ar-vs2.vs3 .duo{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;width:100%;max-width:520px;gap:4px}
html body .ar-vs2.vs3 .side{text-align:center;min-width:0}
html body .ar-vs2.vs3 .ar-av{width:108px;height:108px}
html body .ar-vs2.vs3 .side b{font-size:20px;line-height:1.25;overflow-wrap:anywhere}
html body .ar-vs2.vs3 .vsx{font-size:20px;font-weight:900;color:#E3B23C;opacity:.9}
html body .ar-vs2.vs3 .mid{height:auto;margin-top:40px}
html body .ar-vs2.vs3 .mid::before{display:none}
html body .ar-vs2.vs3 .sw{width:128px;height:128px;background:radial-gradient(circle,rgba(227,178,60,.18),transparent 70%);border:3px solid rgba(227,178,60,.8);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html body .ar-vs2.vs3 .sw .cd{font-size:76px;font-weight:900}
html body .ar-vs2.vs3 .cap{margin-top:22px}
/* v893 face-off option 1 (Khalid «الأول احلى») */
html body .ar-vs2.vs4 .mid{height:150px}
html body .ar-vs2.vs4 .mid::before{height:3px;opacity:.7;transform:rotate(-12deg)}
html body .ar-vs2.vs4 .sw{width:84px;height:84px;background:var(--n0);border:0;box-shadow:0 0 0 3px #E3B23C,0 0 0 9px rgba(227,178,60,.15),0 0 26px rgba(227,178,60,.4);-webkit-backdrop-filter:none;backdrop-filter:none}
html body .ar-vs2.vs4 .sw .cd{font-size:46px;font-weight:900}
/* v895 (Khalid screenshots): moving bits (fountain, torch, palms) showed in colour on locked grey islands; grey + still them, hide the glows */
html body .ar-isl.lk .wx-fr,html body .ar-isl.lk .wxp,html body .ar-isl.lk .wxs{filter:grayscale(1) brightness(.75)!important;animation-play-state:paused!important}
html body .ar-isl.lk .fx-nur,html body .ar-isl.lk .fx-tw,html body .ar-isl.lk .wx-shine{display:none!important}
html body .ar-isl.soon .wx-fr,html body .ar-isl.soon .wxp{filter:grayscale(.75)!important}
/* v898 layout-jump fixes */
/* arena memory games: the prompt over the game goes from one line to two («اضغط أو اسحب على المحار اللي كان مفتوح», «امشِ نفس الطريق…») and pushed the game down 36px.
   Reserve two lines while a game is on. (A plain min-height lost to `.ar-round .qbox{min-height:0!important}` earlier in this file, hence !important + :has.) */
html body .play.pv.pvx.ar-round.ar-round .pv-panel:has(> #mg) > .qbox{min-height:120px!important}
@media (max-height:760px){html body .play.pv.pvx.ar-round.ar-round .pv-panel:has(> #mg) > .qbox{min-height:106px!important}}
/* arena picture questions: the picture had no height until it loaded, then pushed the answers down ~135px; give it its height up front */
html body .ar-round .ar-qimg{height:min(16dvh,140px);width:auto;object-fit:contain}
/* arena round start: the question panel and answers slid up 14px as they came in (header, clock and helps stay still), which read as a jump; fade in place instead */
@keyframes arJfIn{from{opacity:0}to{opacity:1}}
html body .play.pv.pvx.ar-round .pv-panel,html body .play.pv.pvx.ar-round .opts .opt{animation-name:arJfIn}
/* arena search: «لقينا خصمك: <name>» wraps to two lines when the opponent is found and moved the radar up 20px; keep room for two lines */
html body .ar-find.ar-fd #ar-fh{min-height:3.45em;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;column-gap:.25em}
/* student home play button (and the orbit «العب»): the picture had no height until it loaded (71px → 284px button) */
.sp-play2 img{aspect-ratio:410/415}
/* v899 جواز السفر + host storyteller (preview https://claude.ai/artifact/KZpM7SNEjD7hxfjb27DUrA) */
html body .ps-btn{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:rgba(245,245,247,.1);font-size:21px;line-height:1;display:grid;place-items:center;padding:0;cursor:pointer}
html body .ps-ov{position:fixed;inset:0;z-index:9000;background:rgba(4,20,26,.8);display:flex;align-items:flex-end;justify-content:center;padding:16px max(16px,env(safe-area-inset-right,0px)) calc(20px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));direction:rtl;font-family:inherit;animation:psFd .25s both}
html body .ps-ov.pg{align-items:stretch;padding-top:calc(14px + env(safe-area-inset-top,0px));overflow-y:auto;background:linear-gradient(180deg,var(--n0),var(--n1) 55%,var(--n2))}
@keyframes psFd{from{opacity:0}}
html body .ps-scene{position:relative;width:100%;max-width:430px;display:flex;flex-direction:column;align-items:center}
html body .ps-isl{width:170px;height:auto;aspect-ratio:1;object-fit:contain;animation:psRise .7s cubic-bezier(.2,1.3,.4,1) both}
html body .ps-card{position:relative;width:100%;background:#F6EBD3;color:#2A1E12;border-radius:20px;padding:16px 16px 16px 128px;min-height:200px;box-shadow:0 0 0 4px #16305A,0 16px 40px rgba(0,0,0,.5);animation:psRise .5s .2s both;text-align:right}
html body .ps-card h3{margin:0;font-size:22px;font-weight:900;color:#16305A;line-height:1.3}
html body .ps-card p{margin:0;font-size:15.5px;line-height:1.65;font-weight:700;color:#2A1E12}
html body .ps-card .ps-who{font-size:12.5px;color:#8A7B62;font-weight:800;margin:0 0 4px}
html body .ps-host{position:absolute;left:-8px;bottom:0;height:250px;width:auto;pointer-events:none;animation:psHi .6s .4s cubic-bezier(.2,1.3,.4,1) both}
html body .ps-ok{margin-top:14px;border:0;border-radius:14px;padding:11px 18px;font:900 16px inherit;font-family:inherit;background:#0E2256;color:#fff;box-shadow:0 4px 0 #0b1d38;cursor:pointer}
html body .ps-ov.hi .ps-ok,html body .ps-ov.gold .ps-ok{background:#C8102E;box-shadow:0 4px 0 #8E0B21}
html body .ps-stamp{position:absolute;top:-68px;right:8px;width:108px;height:108px;border-radius:50%;border:4px solid #B3202E;color:#B3202E;display:grid;place-items:center;text-align:center;font-weight:900;font-size:13px;line-height:1.15;transform:rotate(-14deg) scale(0);opacity:0;background:rgba(246,235,211,.9);box-shadow:inset 0 0 0 4px rgba(246,235,211,.9),inset 0 0 0 6px #B3202E;pointer-events:none}
html body .ps-stamp span{font-size:22px;display:block}
html body .ps-stamp.gd{border-color:#c48a0a;color:#5a3a00;background:radial-gradient(circle at 35% 30%,#FFE48A,#F5B72B 60%,#c48a0a);box-shadow:inset 0 0 0 4px rgba(255,228,138,.6)}
html body .ps-stamp.hit{animation:psSlam .45s cubic-bezier(.3,1.6,.5,1) both}
@keyframes psRise{from{opacity:0;transform:translateY(30px)}}
@keyframes psHi{from{opacity:0;transform:translateX(-60px)}}
@keyframes psSlam{0%{transform:rotate(-14deg) scale(2.4);opacity:0}70%{transform:rotate(-14deg) scale(.92);opacity:1}100%{transform:rotate(-14deg) scale(1);opacity:1}}
html body .ps-pg{width:100%;max-width:440px;margin:0 auto;color:#fff}
html body .ps-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
html body .ps-top b{font-size:22px;font-weight:900}
html body .ps-cl{width:40px;height:40px;border:0;border-radius:50%;background:rgba(245,245,247,.12);color:#fff;font-size:18px;font-family:inherit;cursor:pointer}
html body .ps-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:8px;margin-bottom:10px;scrollbar-width:none}
html body .ps-tabs::-webkit-scrollbar{display:none}
html body .ps-tabs button{flex:none;border:0;border-radius:99px;padding:7px 14px;font:800 14px inherit;font-family:inherit;background:rgba(255,255,255,.08);color:#CFE3EA;cursor:pointer}
html body .ps-tabs button.on{background:#F5B72B;color:#3a2600}
html body .ps-tabs button.lk{opacity:.55}
html body .ps-book{background:#F6EBD3;color:#2A1E12;border-radius:18px;padding:18px 14px 20px;margin:4px 8px 24px;box-shadow:0 0 0 6px #16305A,0 0 0 8px #0b1d38,0 18px 40px rgba(0,0,0,.45);background-image:repeating-linear-gradient(0deg,transparent 0 27px,rgba(120,90,40,.07) 27px 28px)}
html body .ps-bh{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:2px dashed rgba(42,30,18,.25);padding-bottom:10px;margin-bottom:12px}
html body .ps-bh h2{margin:0;font-size:21px;font-weight:900;color:#16305A}
html body .ps-bh small{display:block;color:#8A7B62;font-size:13px;font-weight:700}
html body .ps-cnt{font-weight:900;font-size:20px;color:#16305A;white-space:nowrap}
html body .ps-bar{height:8px;border-radius:99px;background:#EBDCBC;overflow:hidden;margin:-4px 0 14px}
html body .ps-bar i{display:block;height:100%;background:linear-gradient(90deg,#F5B72B,#e39b12);border-radius:99px}
html body .ps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}
html body .ps-st{border:0;background:none;padding:0;font:inherit;font-family:inherit;color:#2A1E12;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;min-width:0}
html body .ps-ring{position:relative;width:min(100%,100px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;border:3px solid #16305A;box-shadow:inset 0 0 0 3px #F6EBD3,inset 0 0 0 5px #16305A;transform:rotate(var(--r,0deg))}
html body .ps-ring img{width:74%;height:74%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.25))}
html body .ps-st.off .ps-ring{border-color:#bfb29a;box-shadow:inset 0 0 0 3px #F6EBD3,inset 0 0 0 5px #cfc3aa}
html body .ps-st.off .ps-ring img{filter:grayscale(1) opacity(.28)}
html body .ps-st.nx .ps-ring{border-style:dashed;border-color:#F5B72B;box-shadow:none}
html body .ps-st b{font-size:13.5px;font-weight:800;line-height:1.25;text-align:center}
html body .ps-st.off b{color:#a99b80}
html body .ps-st em{font-style:normal;font-size:12px;color:#8A7B62}
html body .ps-gold{margin-top:16px;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:rgba(14,34,86,.07);border:1.5px dashed rgba(22,48,90,.3)}
html body .ps-gold span{flex:none;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;font-weight:900;color:#a99b80;border:3px dashed #cfc3aa;font-size:22px}
html body .ps-gold.got span{border:3px solid #c48a0a;background:radial-gradient(circle at 35% 30%,#FFE48A,#F5B72B 60%,#c48a0a);color:#5a3a00}
html body .ps-gold p{margin:0;font-size:14px;font-weight:700;color:#2A1E12}
html body .ps-fact{position:fixed;inset:0;z-index:9100;background:rgba(4,20,26,.7);display:grid;place-items:center;padding:16px;direction:rtl}
html body .ps-fc{max-width:340px;width:100%;background:#F6EBD3;color:#2A1E12;border-radius:20px;padding:18px;text-align:center;box-shadow:0 0 0 4px #16305A}
html body .ps-fc img{width:120px;height:120px;object-fit:contain}
html body .ps-fc h3{margin:4px 0;color:#16305A;font-weight:900;font-size:20px}
html body .ps-fc p{margin:0 0 6px;font-weight:700;line-height:1.6}
html body .ps-fc small{color:#8A7B62;font-weight:800}
html body .ps-fc button{display:block;margin:12px auto 0;border:0;border-radius:12px;padding:9px 24px;font:900 15px inherit;font-family:inherit;background:#0E2256;color:#fff;cursor:pointer}
html body .ps-say{display:flex;align-items:center;gap:10px;justify-content:center;margin:4px auto 6px;max-width:340px;font-size:15px;font-weight:800;color:#F5F5F7}
html body .ps-say img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:top;background:var(--n1);box-shadow:0 0 0 2px #E3B23C;flex:none}
html body .ps-say span{background:rgba(245,245,247,.1);padding:6px 12px;border-radius:14px 14px 14px 4px;line-height:1.4}
@media(max-width:380px){html body .ps-card{padding-left:104px}html body .ps-host{height:210px}}
@media(prefers-reduced-motion:reduce){html body .ps-ov *{animation:none!important}html body .ps-stamp.hit{transform:rotate(-14deg);opacity:1}}
/* v900 مراجعة ابن سينا */
html body .ps-rvb{display:flex;align-items:center;justify-content:center;gap:8px}
html body .ps-rvb img{width:30px;height:30px;border-radius:50%;object-fit:cover;object-position:top;background:var(--n1)}
html body .rv-c{background:#F6EBD3;color:#2A1E12;border-radius:16px;padding:12px 14px;margin:10px 4px;box-shadow:0 0 0 3px #16305A;text-align:right}
html body .rv-c small{color:#8A7B62;font-weight:800;font-size:12px}
html body .rv-c h3{margin:2px 0 8px;font-size:16.5px;font-weight:900;color:#16305A;line-height:1.5}
html body .rv-c p{margin:4px 0;font-weight:800;font-size:15px;line-height:1.5}
html body .rv-c .no{color:#B3202E}
html body .rv-c .ok{color:#1B8A3A}
html body .rv-c .ex{color:#2A1E12;background:rgba(14,34,86,.07);border-radius:10px;padding:6px 10px;font-weight:700}
html body .ps-ov.cur .ps-card{padding-left:150px}html body .ps-ov.cur .ps-host{height:215px;left:-16px}@media(max-width:380px){html body .ps-ov.cur .ps-card{padding-left:124px}html body .ps-ov.cur .ps-host{height:185px}}
/* v901 (Khalid: host must never cover the text): host lives in a fixed-width column, the text never enters it */
html body .ps-ov .ps-card,html body .ps-ov.cur .ps-card{padding-left:150px}
html body .ps-ov .ps-host,html body .ps-ov.cur .ps-host{left:6px;width:138px;height:auto;max-height:250px;object-fit:contain;object-position:bottom center}
@media(max-width:380px){html body .ps-ov .ps-card,html body .ps-ov.cur .ps-card{padding-left:124px}html body .ps-ov .ps-host,html body .ps-ov.cur .ps-host{width:112px;max-height:210px}}
html body .ps-rehi{display:block;margin:0 auto 30px;border:0;background:none;color:#9fc3cc;font:700 14px inherit;font-family:inherit;text-decoration:underline;cursor:pointer}
/* v904 (Khalid «المضيف صغر»): the host stands big on top of the card (left), the text uses the whole card, the stamp lands bottom-left */
html body .ps-ov .ps-scene{padding-top:200px}
html body .ps-ov .ps-card,html body .ps-ov.cur .ps-card{padding:16px 16px 18px;min-height:0}
html body .ps-ov .ps-host,html body .ps-ov.cur .ps-host{left:4px;bottom:calc(100% - 18px);height:230px;width:auto;max-width:62%;max-height:none;object-fit:contain;object-position:bottom left}
html body .ps-ov .ps-isl{position:absolute;top:40px;right:4px;width:150px;z-index:0}
html body .ps-ov .ps-card{z-index:1}
html body .ps-ov .ps-stamp{top:auto;bottom:10px;right:auto;left:14px}
@media(max-width:380px){html body .ps-ov .ps-scene{padding-top:170px}html body .ps-ov .ps-host,html body .ps-ov.cur .ps-host{height:195px}html body .ps-ov .ps-isl{width:125px;top:40px}}
html body .ps-ov .ps-stamp{top:-140px;bottom:auto;left:auto;right:24px;z-index:2}@media(max-width:380px){html body .ps-ov .ps-stamp{top:-125px;right:12px}}
html body .ps-btn{background:none;width:44px;height:44px}html body .ps-btn img{width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 3px 6px rgba(0,0,0,.45))}html body .ps-top b{display:flex;align-items:center;gap:8px}html body .ps-ti{width:34px;height:34px;object-fit:contain}
/* v906 (Khalid): «تكمل بحسابك؟» buttons were stuck together and the second one looked brown */
html body .so-sub ~ .btn + .btn,html body .so-sub ~ .btn + .so-store{margin-top:12px}
html body:not(.wide) .modal .so-sub ~ .btn.ghost.ghost{background:rgba(245,245,247,.12)!important;color:#F5F5F7!important;box-shadow:0 4px 0 rgba(0,0,0,.35)!important;border:0!important}
/* v907 (Khalid): past challenges: proper chevron at the row end, selected row neutral (not purple), trash slot gone while selecting */
html body .cp-past .cpp-row .qsub .grow{flex:1;min-width:0}
html body .cp-past .cpp-chev{flex:none;margin-inline-start:auto;color:#8FA9B8}
html body .cp-past.sel .cpp-del{display:none}
html body .cp-past.sel .cpp-row.on{background:rgba(245,245,247,.08)}
/* v908 (Khalid): class student list = one iOS-style card: no outlines around rows or the list, separators inset (from after the number to just before the left edge) */
html body.wide:not(#a):not(#b):not(#c) .cp-list{border:0!important;box-shadow:none!important}
html body.wide:not(#a):not(#b):not(#c) .cp-swr,html body.wide:not(#a):not(#b):not(#c) .cp-swr .sw-main,html body.wide:not(#a):not(#b):not(#c) .cp-swr .sw-main.cp-row{border:0!important;box-shadow:none!important;outline:0}
html body.wide:not(#a):not(#b):not(#c) .cp-swr .sw-main.cp-row{background:rgba(16,40,62,.85)!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-swr .sw-main.cp-row{background:#fff!important}
html body.wide:not(#a):not(#b):not(#c) .cp-swr:not(:last-child) .sw-main::after,html body.wide:not(#a):not(#b):not(#c) .cp-list>.cp-row:not(:last-child)::after{content:"";position:absolute;bottom:0;right:62px;left:16px;height:1px;background:rgba(255,255,255,.1);pointer-events:none}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-swr:not(:last-child) .sw-main::after{background:#D5E3EC}
html body.wide:not(#a):not(#b):not(#c) .cp-list>.cp-row{position:relative;border-bottom:0!important}
html body.wide:not(#a):not(#b):not(#c) .cp-swr .sw-main.cp-row{min-height:54px!important;padding:7px 14px!important}
html body.wide:not(#a):not(#b):not(#c) .cp-swr .cp-rk{width:32px!important;height:32px!important;min-width:32px!important;font-size:14.5px!important}
html body.wide:not(#a):not(#b):not(#c) .cp-swr .sw-main b{font-size:17px}
html body.wide:not(#a):not(#b):not(#c) .cp-swr:not(:last-child) .sw-main::after{right:56px}
/* v909 (Khalid «نفس تصميم الصفوف»): classes, home challenges (list view) and past challenges share the iOS list look of the student list:
   one card per list, no outlines, inset separators after the leading circle, shorter rows */
html body.wide:not(#a):not(#b):not(#c) .cg-l,html body.wide:not(#a):not(#b):not(#c) .hcs.hv-list,html body.wide:not(#a):not(#b):not(#c) .cp-past .qsubs{background:rgba(16,40,62,.85)!important;border:0!important;box-shadow:none!important;border-radius:18px!important;overflow:hidden}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-l,html body.wide:not(.dark):not(#a):not(#b):not(#c) .hcs.hv-list,html body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-past .qsubs{background:#fff!important}
html body.wide:not(#a):not(#b):not(#c) .cg-l .cg-sw,html body.wide:not(#a):not(#b):not(#c) .cg-l .sw-main.cg-r,html body.wide:not(#a):not(#b):not(#c) .hv-list .hc,html body.wide:not(#a):not(#b):not(#c) .cp-past .cpp-row,html body.wide:not(#a):not(#b):not(#c) .cp-past .qsub{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body.wide:not(#a):not(#b):not(#c) .cg-l .sw-main.cg-r{min-height:56px!important;padding:8px 14px!important}
html body.wide:not(#a):not(#b):not(#c) .cg-bd{width:34px;height:34px;font-size:15px}
html body.wide:not(#a):not(#b):not(#c) .cg-l .cg-sw:not(:last-child) .sw-main::after{content:"";position:absolute;bottom:0;right:62px;left:16px;height:1px;background:rgba(255,255,255,.1);pointer-events:none}
html body.wide:not(#a):not(#b):not(#c) .hcs.hv-list{gap:0!important}
html body.wide:not(#a):not(#b):not(#c) .hv-list .hc{position:relative;padding:8px 16px!important;min-height:56px}
html body.wide:not(#a):not(#b):not(#c) .hv-list .hc-ring{width:40px;height:40px}html body.wide:not(#a):not(#b):not(#c) .hv-list .hc-ring>div{width:31px;height:31px}html body.wide:not(#a):not(#b):not(#c) .hv-list .hc-ring b{font-size:14px}html body.wide:not(#a):not(#b):not(#c) .hv-list .hc-ring small{font-size:8px}
html body.wide:not(#a):not(#b):not(#c) .hv-list .hc:not(:last-child)::after{content:"";position:absolute;bottom:0;right:16px;left:68px;height:1px;background:rgba(255,255,255,.1)}
html body.wide:not(#a):not(#b):not(#c) .cp-past .qsub{padding:8px 14px!important;min-height:56px}
html body.wide:not(#a):not(#b):not(#c) .cp-past .qsub-ic{width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:color-mix(in srgb,var(--tl) 14%,transparent)!important;color:#7FD6DC}
html body.wide:not(#a):not(#b):not(#c) .cp-past .cpp-row{position:relative}
html body.wide:not(#a):not(#b):not(#c) .cp-past .cpp-row:not(:last-child)::after{content:"";position:absolute;bottom:0;right:62px;left:16px;height:1px;background:rgba(255,255,255,.1);pointer-events:none}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-l .cg-sw:not(:last-child) .sw-main::after,html body.wide:not(.dark):not(#a):not(#b):not(#c) .hv-list .hc:not(:last-child)::after,html body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-past .cpp-row:not(:last-child)::after{background:#D5E3EC}
html body.wide:not(#a):not(#b):not(#c) .cg-l .cg-sw:not(:last-child) .sw-main::after{z-index:3;background:rgba(255,255,255,.12)}
html body.wide:not(#a):not(#b):not(#c) .hv-list .hc-ring small{display:none}
html body.wide:not(#a):not(#b):not(#c) .hv-list .hc-ring b{font-size:15px}
html body.wide:not(#a):not(#b):not(#c) .cg-l>.cg-sw{position:relative}
html body.wide:not(#a):not(#b):not(#c) .cg-l>.cg-sw:not(:last-child)::after{content:"";position:absolute;bottom:0;right:62px;left:16px;height:1px;background:rgba(255,255,255,.12);z-index:4;pointer-events:none}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-l>.cg-sw:not(:last-child)::after{background:#D5E3EC}
/* v910 (Khalid screenshots): swipe actions showed through the rows — rows must be opaque; the strip behind them is night sea, not brown */
html body.wide.dark:not(#a):not(#b):not(#c) .cp-list,html body.wide.dark:not(#a):not(#b):not(#c) .cg-l{background:#12293D!important}
html body.wide.dark:not(#a):not(#b):not(#c) .cp-swr .sw-main.cp-row,html body.wide.dark:not(#a):not(#b):not(#c) .cg-l .sw-main.cg-r{background:#12293D!important}
html body.wide.dark:not(#a):not(#b):not(#c) .cp-swr,html body.wide.dark:not(#a):not(#b):not(#c) .cg-sw{background:var(--n0)!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-swr .sw-main.cp-row,html body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-l .sw-main.cg-r{background:#fff!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-swr,html body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-sw{background:#EEF3F7!important}
html body.wide:not(#a):not(#b):not(#c) .cp-swr .sw-act button i,html body.wide:not(#a):not(#b):not(#c) .cg-sw .sw-act button i{width:32px;height:32px}
html body.wide:not(#a):not(#b):not(#c) .cp-swr .sw-act button i .ico,html body.wide:not(#a):not(#b):not(#c) .cg-sw .sw-act button i .ico{width:16px;height:16px}
html body.wide:not(#a):not(#b):not(#c) .cp-swr .sw-act button,html body.wide:not(#a):not(#b):not(#c) .cg-sw .sw-act button{font-size:11px!important;gap:2px!important;line-height:1.1}
html body.wide.dark:not(#a):not(#b):not(#c) .cp-swr .sw-act,html body.wide.dark:not(#a):not(#b):not(#c) .cg-sw .sw-act{background:var(--n0)!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-swr .sw-act,html body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-sw .sw-act{background:#EEF3F7!important}
/* v910 (Khalid «شيل التحديدات من على البطاقة»): class code card and search box without outlines */
html body.wide:not(#a):not(#b):not(#c) .cp1 .cp-code,html body.wide:not(#a):not(#b):not(#c) .cp1 .cp-q,html body.wide:not(#a):not(#b):not(#c) .cp1 .cp-qi{border:0!important;outline:0;box-shadow:none!important}
html body.wide.dark:not(#a):not(#b):not(#c) .cp1 .cp-code,html body.wide.dark:not(#a):not(#b):not(#c) .cp1 .cp-qi{background:#12293D!important}
html body .cp-swr .chev{display:flex;transform:scaleX(-1)}
/* v911 (Khalid video): settings pages switched between the gradient and a flat navy while sliding — the sliding page now carries the same Night Sea gradient */

/* v911 (Khalid): rules page: no tinted block behind the point cards; cards and groups without outlines */
html body.wide:not(#a):not(#b):not(#c) div.rl-pts:has(> *){background:transparent!important;border:0!important}
html body.wide:not(#a):not(#b):not(#c) .set-grp,html body.wide:not(#a):not(#b):not(#c) .nw-set1,html body.wide:not(#a):not(#b):not(#c) .rl-pc:not(.on){border:0!important;box-shadow:none!important}

/* v911 (Khalid «شيل التحديد وحّد التصاميم»): teacher cards have no outlines anywhere; dark = flat Night Sea surface, light = white with a soft shadow */
html body.wide.dark:not(#a):not(#b):not(#c) .card,html body.wide.dark:not(#a):not(#b):not(#c) .cg-l,html body.wide.dark:not(#a):not(#b):not(#c) .cg-r,html body.wide.dark:not(#a):not(#b):not(#c) .cg-solo,html body.wide.dark:not(#a):not(#b):not(#c) .ch-a,html body.wide.dark:not(#a):not(#b):not(#c) .ch-b,html body.wide.dark:not(#a):not(#b):not(#c) .ch-hero,html body.wide.dark:not(#a):not(#b):not(#c) .ch-join,html body.wide.dark:not(#a):not(#b):not(#c) .ch-ml,html body.wide.dark:not(#a):not(#b):not(#c) .ch-star,html body.wide.dark:not(#a):not(#b):not(#c) .cp-code,html body.wide.dark:not(#a):not(#b):not(#c) .cp-row,html body.wide.dark:not(#a):not(#b):not(#c) .cp-tile,html body.wide.dark:not(#a):not(#b):not(#c) .h-nb,html body.wide.dark:not(#a):not(#b):not(#c) .hc,html body.wide.dark:not(#a):not(#b):not(#c) .lv-card,html body.wide.dark:not(#a):not(#b):not(#c) .modal,html body.wide.dark:not(#a):not(#b):not(#c) .nw-tile,html body.wide.dark:not(#a):not(#b):not(#c) .ob-card,html body.wide.dark:not(#a):not(#b):not(#c) .q5-sb,html body.wide.dark:not(#a):not(#b):not(#c) .set-grp,html body.wide.dark:not(#a):not(#b):not(#c) .set-profile,html body.wide.dark:not(#a):not(#b):not(#c) .sj-lt,html body.wide.dark:not(#a):not(#b):not(#c) .stp{border:0!important;box-shadow:none!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .card,html body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-l,html body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-r,html body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-solo,html body.wide:not(.dark):not(#a):not(#b):not(#c) .ch-a,html body.wide:not(.dark):not(#a):not(#b):not(#c) .ch-b,html body.wide:not(.dark):not(#a):not(#b):not(#c) .ch-hero,html body.wide:not(.dark):not(#a):not(#b):not(#c) .ch-join,html body.wide:not(.dark):not(#a):not(#b):not(#c) .ch-ml,html body.wide:not(.dark):not(#a):not(#b):not(#c) .ch-star,html body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-code,html body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-row,html body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-tile,html body.wide:not(.dark):not(#a):not(#b):not(#c) .h-nb,html body.wide:not(.dark):not(#a):not(#b):not(#c) .hc,html body.wide:not(.dark):not(#a):not(#b):not(#c) .lv-card,html body.wide:not(.dark):not(#a):not(#b):not(#c) .modal,html body.wide:not(.dark):not(#a):not(#b):not(#c) .nw-tile,html body.wide:not(.dark):not(#a):not(#b):not(#c) .ob-card,html body.wide:not(.dark):not(#a):not(#b):not(#c) .q5-sb,html body.wide:not(.dark):not(#a):not(#b):not(#c) .set-grp,html body.wide:not(.dark):not(#a):not(#b):not(#c) .set-profile,html body.wide:not(.dark):not(#a):not(#b):not(#c) .sj-lt,html body.wide:not(.dark):not(#a):not(#b):not(#c) .stp{border:0!important;box-shadow:0 1px 2px color-mix(in srgb,var(--n0) 5%,transparent),0 4px 14px color-mix(in srgb,var(--n0) 5%,transparent)!important}
html body.wide.dark:not(#a):not(#b):not(#c) .set-grp,html body.wide.dark:not(#a):not(#b):not(#c) .nw-set1,html body.wide.dark:not(#a):not(#b):not(#c) .cp-code,html body.wide.dark:not(#a):not(#b):not(#c) .cp-q input{background:#12293D!important}
html body.wide.dark:not(#a):not(#b):not(#c) .hcs.hv-list,html body.wide.dark:not(#a):not(#b):not(#c) .cp-past .qsubs,html body.wide.dark:not(#a):not(#b):not(#c) .cg-l{background:#12293D!important}

/* v912 (Khalid «وحّد الخلفيات»): on iPhone the page gradient stretched over the whole page height, so long pages (challenge, settings) looked flat navy and short ones (home) showed the teal — the gradient now sits in a fixed layer behind every teacher page, the same on every screen */
html:has(body.wide.dark):not(#z){background:var(--n0)!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d){background:transparent!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d)::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%)}
/* v912 (Khalid «الدوائر فاضية؟»): students with no points yet show their first letter in a soft filled circle; rank circles have no outline */
html body.wide:not(#a):not(#b):not(#c):not(#d) .cp-row .cp-rk,html body.wide:not(#a):not(#b):not(#c):not(#d) .cp-swr .cp-rk{border:0!important;box-shadow:none!important}
html body.wide.dark:not(#a):not(#b):not(#c) .cp-row .cp-rk:not(#d){background:color-mix(in srgb,var(--tl) 14%,transparent)!important;color:#7FDDE3!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-row .cp-rk:not(#d){background:color-mix(in srgb,var(--n2) 10%,transparent)!important;color:var(--n2)!important}
html body.wide .cp-rk .cp-in{font-style:normal;font-weight:800;font-size:15px}

/* v914 (Khalid «وحّد جميع الخلفيات في التطبيق»): student, arena and login screens use the same fixed Night Sea layer as the teacher screens (no stretched gradients, no extra glow) */
html:has(body:not(.wide)):not(#z){background:var(--n0)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d){background:transparent!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d)::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%)}
html:has(.ta):not(#z):not(#y),html:has(.ta) body:not(#a):not(#b):not(#c):not(#d){background:transparent!important}
html:has(.ta):not(#z):not(#y){background:var(--n0)!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .ta,html body:not(#a):not(#b):not(#c):not(#d):not(#e) .sh.sl,html body:not(#a):not(#b):not(#c):not(#d):not(#e) .sh.sl.sl-red{background:transparent!important}

/* v914 (Khalid «كلهم نفس الشي»): every teacher card, tile and list uses the same surface colour #12293D (selected tiles keep their tint) */
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .card:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .cg-r:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .cg-solo:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-a:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-b:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-hero:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-join:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-ml:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-star:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .cp-tile:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .h-nb:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .hc:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .lv-card:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ob-card:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .q5-sb:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .set-profile:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .sj-lt:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .stp:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .nw-tile:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-acts>button:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-2>button:not(.on):not(.sel),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .rl-pc:not(.on):not(.sel){background:#12293D!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .hcs.hv-list .hc{background:transparent!important}
/* v914: frosted (backdrop blur+saturate) cards looked bluer than the flat ones — cards are flat everywhere */
html body.wide:not(#a):not(#b):not(#c):not(#d) .card,html body.wide:not(#a):not(#b):not(#c):not(#d) .cg-l,html body.wide:not(#a):not(#b):not(#c):not(#d) .cg-r,html body.wide:not(#a):not(#b):not(#c):not(#d) .cg-solo,html body.wide:not(#a):not(#b):not(#c):not(#d) .ch-a,html body.wide:not(#a):not(#b):not(#c):not(#d) .ch-b,html body.wide:not(#a):not(#b):not(#c):not(#d) .ch-hero,html body.wide:not(#a):not(#b):not(#c):not(#d) .ch-join,html body.wide:not(#a):not(#b):not(#c):not(#d) .ch-ml,html body.wide:not(#a):not(#b):not(#c):not(#d) .ch-star,html body.wide:not(#a):not(#b):not(#c):not(#d) .cp-tile,html body.wide:not(#a):not(#b):not(#c):not(#d) .cp-code,html body.wide:not(#a):not(#b):not(#c):not(#d) .h-nb,html body.wide:not(#a):not(#b):not(#c):not(#d) .hc,html body.wide:not(#a):not(#b):not(#c):not(#d) .hcs,html body.wide:not(#a):not(#b):not(#c):not(#d) .lv-card,html body.wide:not(#a):not(#b):not(#c):not(#d) .ob-card,html body.wide:not(#a):not(#b):not(#c):not(#d) .q5-sb,html body.wide:not(#a):not(#b):not(#c):not(#d) .set-grp,html body.wide:not(#a):not(#b):not(#c):not(#d) .set-profile,html body.wide:not(#a):not(#b):not(#c):not(#d) .sj-lt,html body.wide:not(#a):not(#b):not(#c):not(#d) .stp,html body.wide:not(#a):not(#b):not(#c):not(#d) .nw-tile,html body.wide:not(#a):not(#b):not(#c):not(#d) .nw-set1,html body.wide:not(#a):not(#b):not(#c):not(#d) .ch-acts>button,html body.wide:not(#a):not(#b):not(#c):not(#d) .ch-2>button,html body.wide:not(#a):not(#b):not(#c):not(#d) .rl-pc{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* v915 (Khalid «خلّه مميز»): «إنهاء» stands out as the destructive action, iOS style: soft red surface, red text and icon */
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-2>.ch-b.end:not(.on):not(.sel){background:rgba(255,69,58,.16)!important;color:#FF6961!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d) .ch-2>.ch-b.end{background:rgba(255,59,48,.1)!important;color:#D70015!important}
html body.wide:not(#a):not(#b):not(#c):not(#d) .ch-2>.ch-b.end *{color:inherit!important;stroke:currentColor}

/* v916 (Khalid: dark flash when opening challenge details / settings rows): the sliding pages were painted flat dark (var(--bg)) plus a 12% black dim — they now carry the exact same gradient as the fixed page layer, lined up to the screen, and no dim */
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) #app.pg-anim>.t-body{background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%) 0 var(--pgy,0px)/100% var(--pgh,100vh) no-repeat,var(--n2)!important;box-shadow:none!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) #app.pg-anim>.t-top{background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%) 0 0/100% var(--pgh,100vh) no-repeat!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .pg-in{background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%) 0 0/100% 100% no-repeat!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .pg-in .pg-tt{background:linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%) 0 0/100% var(--pgh,100vh) no-repeat!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .pg-layer.under::after{display:none!important}

/* v916 (Khalid, admin tab bar): «التحدي العام» and «المزيد» used colour 3D pictures (red flag, red dots) — now line icons like the other tabs */
html body.wide.dark:not(#a):not(#b):not(#c) .t-nav a img.nav-ln[src*='/50.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9CDDB' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4h11l-2 4 2 4H5'/%3E%3C/svg%3E");filter:none!important;opacity:1!important}
html body.wide.dark:not(#a):not(#b):not(#c) .t-nav a.on img.nav-ln[src*='/50.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339C7CF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4h11l-2 4 2 4H5'/%3E%3C/svg%3E")}
html body.wide.dark:not(#a):not(#b):not(#c) .t-nav a img.nav-ln[src*='/88.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9CDDB' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='19' cy='12' r='1.6'/%3E%3C/svg%3E");filter:none!important;opacity:1!important}
html body.wide.dark:not(#a):not(#b):not(#c) .t-nav a.on img.nav-ln[src*='/88.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339C7CF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='19' cy='12' r='1.6'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .t-nav a img.nav-ln[src*='/50.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7387' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4h11l-2 4 2 4H5'/%3E%3C/svg%3E");filter:none!important;opacity:1!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .t-nav a.on img.nav-ln[src*='/50.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8A92' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4h11l-2 4 2 4H5'/%3E%3C/svg%3E")}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .t-nav a img.nav-ln[src*='/88.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7387' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='19' cy='12' r='1.6'/%3E%3C/svg%3E");filter:none!important;opacity:1!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .t-nav a.on img.nav-ln[src*='/88.png']{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8A92' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='19' cy='12' r='1.6'/%3E%3C/svg%3E")}
/* v916 (Khalid «حط شي مناسب»): advanced settings row icon = sliders line icon in teal */
html body.wide .rl-e.rl-sl{display:grid;place-items:center;color:var(--tl)}
html body.wide:not(.dark) .rl-e.rl-sl{color:var(--tm)}
/* v916 (Khalid screenshot: «النقاط» showing through the title bar): once the page scrolls, the dark title bar gets a frosted navy background so content passes under it cleanly */
html body.wide.dark.scrolled:not(#a):not(#b):not(#c):not(#d) #app:not(.pg-anim)>.t-top{background:color-mix(in srgb,var(--n0) 82%,transparent)!important;-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%);box-shadow:0 .5px 0 rgba(255,255,255,.08)}
/* v918 (Khalid): result screen: no «ضد» between the players; the host stands big, without a ring, right under the players, with his line under him */
html body .ar-res2 .ar-vsx{visibility:hidden}
html body .ar-res2 .ps-say{flex-direction:column;gap:4px;margin:-6px auto 4px}
html body .ar-res2 .ps-say img{width:auto;height:170px;border-radius:0;background:none;box-shadow:none;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35))}
html body .ar-res2 .ps-say span{border-radius:16px;padding:8px 16px;font-size:16px}
/* v919: result buttons: one red, two small soft ones in a row, back as text */
html body:not(.wide) .sh.pvx.ar-res .ar-rb2 .ar-shr .btn{min-height:44px!important;padding-block:6px!important;font-size:15px!important;flex:1 1 0!important;box-shadow:none!important;border:0!important;background:rgba(245,245,247,.1)!important}
html body .ar-rb2 .ar-back{background:none;border:0;color:#B8CCD4;font:inherit;font-size:15px;font-weight:700;padding:8px;margin-top:2px;align-self:center;cursor:pointer}
/* v922 (Khalid «الأزرار مو ثابتة»): result buttons stay pinned at the bottom while the result scrolls behind them */
html body:not(#a):not(#b):not(#c) .sh.pvx.ar-res .ar-rbtns.ar-rb2{position:sticky!important;bottom:0;z-index:6;margin:auto -16px 0!important;padding:18px 16px max(10px,env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,color-mix(in srgb,var(--n2) 0%,transparent),var(--n2) 18px)!important}
/* v924 (Khalid «الأزرار للحين ترتفع»): sticky still let the buttons ride up at the end of the page — they are now fixed to the screen bottom, and the result leaves room for them */
html body:not(#a):not(#b):not(#c):not(#d) .sh.pvx.ar-res .ar-rbtns.ar-rb2{position:fixed!important;left:0;right:0;bottom:0;margin:0 auto!important;max-width:560px;box-sizing:border-box}
html body:not(#a):not(#b):not(#c):not(#d) .sh.pvx.ar-res:has(.ar-rb2){padding-bottom:calc(210px + env(safe-area-inset-bottom))!important;justify-content:flex-start}

/* v925 (Khalid «سوها»): one fixed layout for every arena question in every world — fixed question card, fixed answer tiles (2 lines, font shrinks), picture area fixed, helpers + exit pinned at the bottom */
html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z):not(:has(#mg)){position:fixed;inset:0;overflow:hidden;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 112px)!important;box-sizing:border-box}
html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z) .pv-panel>.qbox{height:132px!important;min-height:132px!important;max-height:132px!important;box-sizing:border-box;display:flex!important;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}
html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z) .pv-panel>.qbox.has-img{height:236px!important;min-height:236px!important;max-height:236px!important;justify-content:flex-start}
html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z) .pv-panel>.qbox.has-img .ar-qimg{height:160px!important;max-height:160px!important;width:auto;max-width:100%;object-fit:contain;flex:none}
html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z) .pv-panel>.qbox span{display:block;max-width:100%}
html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z) .opts.kc{grid-auto-rows:92px!important}
html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z) .opts .opt{height:92px!important;min-height:92px!important;max-height:92px!important;box-sizing:border-box;overflow:hidden}
html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z):not(:has(#mg)) .ar-hp{position:absolute!important;left:50%!important;bottom:calc(env(safe-area-inset-bottom,0px) + 14px)!important;transform:translateX(-50%);margin:0!important;z-index:4}
@media (max-height:740px){html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z) .pv-panel>.qbox{height:112px!important;min-height:112px!important;max-height:112px!important}html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z) .opts.kc{grid-auto-rows:80px!important}html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z) .opts .opt{height:80px!important;min-height:80px!important;max-height:80px!important}html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z) .pv-panel>.qbox.has-img{height:200px!important;min-height:200px!important;max-height:200px!important}html body .play.pv.pvx.ar-round.ar-round:not(#y):not(#z) .pv-panel>.qbox.has-img .ar-qimg{height:132px!important;max-height:132px!important}}
/* v926: names in the score boxes never spill out */
html body .ar-scp{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
/* v928 (Khalid): on the result screen the two players with their scores stay pinned at the top while the result scrolls under them */
html body:not(#a):not(#b):not(#c):not(#d) .sh.pvx.ar-res > .ar-tug{position:sticky;top:0;z-index:6;align-self:center;width:100vw;max-width:none;box-sizing:border-box;margin:-20px 0 0;padding:calc(env(safe-area-inset-top,0px) + 10px) 16px 12px;background:linear-gradient(180deg,var(--n0) 82%,color-mix(in srgb,var(--n0) 0%,transparent))}
/* v929 (Khalid): my score box and the opponent's are always the same size */
html body:not(#a):not(#b) .ar-tug .ar-scp{width:118px!important;min-width:118px!important;max-width:118px!important;box-sizing:border-box;text-align:center;justify-content:center}
/* v932 worlds plan: topic line under every island name + «خلطة الديرة» */
.ar-onm .isl-t{display:block;margin-top:2px;font-size:15px;font-weight:700;color:#7FDDE3;line-height:1.3}
.ar-onm .isl-t:empty{display:none}
.ar .kw-mix{display:block;margin:10px auto 0;padding:8px 16px;border:0;border-radius:999px;background:color-mix(in srgb,var(--tl) 14%,transparent);color:#E6EEF5;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.ar .kw-mix small{font-size:12px;font-weight:600;color:rgba(230,238,245,.65);margin-inline-start:4px}
/* the mix chip floats under the level card (no space taken, the orbit keeps its size) */
html body .ar.ar-kw{position:relative}html body .ar.ar-kw .kw-mix{position:absolute;left:0;right:0;width:max-content;margin:0 auto;z-index:120}
/* v934 monthly champion ceremony (full screen) */
.chx{position:fixed;inset:0;z-index:9000;container-type:size;background:linear-gradient(180deg,var(--n0),var(--n1) 55%,var(--n2));color:#E6EEF5;overflow:hidden;font-family:inherit;transition:opacity .25s}
.chx.out{opacity:0}
body.chx-on .s-nav,body.chx-on .t-nav{visibility:hidden}
.chx-dim{position:absolute;inset:0;background:radial-gradient(60% 45% at 50% 58%,rgba(245,183,43,.18),transparent 70%),rgba(6,16,56,.5);opacity:0;transition:opacity .5s}
.chx.go .chx-dim{opacity:1}
.chx-beam{position:absolute;left:50%;top:-10%;width:min(70%,420px);height:85%;transform:translateX(-50%);background:linear-gradient(180deg,rgba(255,236,180,.2),rgba(255,236,180,0));clip-path:polygon(42% 0,58% 0,100% 100%,0 100%);opacity:0;transition:opacity .6s .2s}
.chx.go .chx-beam{opacity:1}
.chx-hd{position:absolute;top:calc(env(safe-area-inset-top,0px) + 6cqh);left:0;right:0;text-align:center;opacity:0;transform:translateY(-10px);transition:.5s .3s}
.chx.go .chx-hd{opacity:1;transform:none}.chx.cert .chx-hd{opacity:0;transition-delay:0s}
.chx-hd small{display:block;font-size:min(3.2cqh,17px);color:#C7C7CC;font-weight:600}
.chx-hd b{display:block;font-size:min(4cqh,24px);color:#F5B72B;font-weight:900}
.chx-pod{position:absolute;left:0;right:0;margin:0 auto;width:min(88%,460px);bottom:calc(env(safe-area-inset-bottom,0px) + 15cqh);display:flex;align-items:flex-end;gap:2.5%}
.chx-st{flex:1;position:relative;display:flex;flex-direction:column;align-items:center}
.chx-blk{width:100%;border-radius:14px 14px 4px 4px;background:linear-gradient(180deg,#16336E,#0E1938);display:flex;justify-content:center;padding-top:1cqh;font-weight:900;font-size:min(5cqh,34px);color:rgba(230,238,245,.35);transform:scaleY(0);transform-origin:bottom;transition:transform .55s cubic-bezier(.2,.9,.3,1.2)}
.chx.go .chx-blk{transform:scaleY(1)}
.chx-s1 .chx-blk{height:20cqh;transition-delay:.55s}.chx-s2 .chx-blk{height:14cqh;transition-delay:.45s}.chx-s3 .chx-blk{height:10cqh;transition-delay:.65s}
.chx-st.me .chx-blk{background:linear-gradient(180deg,#1A3D82,#0E2256);color:#F5B72B}
.chx-av{width:72%;aspect-ratio:1;border-radius:50%;overflow:hidden;background:#0E1938;border:3px solid rgba(230,238,245,.25);margin-bottom:-1cqh;position:relative;z-index:2;opacity:0;transform:translateY(-60cqh);transition:transform .6s cubic-bezier(.3,1.4,.5,1),opacity .2s}
.chx-av img{width:100%;height:100%;object-fit:cover}
.chx.go .chx-st .chx-av{opacity:.75;transform:none;transition-delay:1.05s}
.chx.go .chx-st.me .chx-av{opacity:1;transition-delay:1.35s}
.chx-st.me .chx-av{width:94%;border:4px solid #F5B72B;box-shadow:0 0 0 5px rgba(245,183,43,.25),0 0 40px rgba(245,183,43,.55)}
.chx-nm{position:absolute;bottom:-4cqh;font-size:min(2.4cqh,15px);font-weight:700;color:#C7C7CC;white-space:nowrap;max-width:110%;overflow:hidden;text-overflow:ellipsis}
.chx-st.me .chx-nm{color:#fff}
.chx-md{position:absolute;top:-4.5cqh;font-size:min(4.6cqh,30px);z-index:3;opacity:0;transform:scale(.2);transition:.35s cubic-bezier(.3,1.6,.5,1) 1.75s}
.chx.go .chx-md{opacity:1;transform:none}
.chx-sc{position:absolute;left:0;right:0;margin:0 auto;width:min(88%,calc(56cqh * .827),420px);top:calc(env(safe-area-inset-top,0px) + 5cqh);z-index:10;opacity:0;pointer-events:none;transition:opacity .2s}
.chx.cert .chx-sc{opacity:1}
.chx-scroll{position:relative;filter:drop-shadow(0 10px 24px rgba(0,0,0,.45))}
.chx-bg{display:block;width:100%;height:auto;clip-path:inset(0 0 87.9% 0);transition:clip-path 1.1s cubic-bezier(.45,.05,.25,1) .35s}
.chx.cert .chx-bg{clip-path:inset(0 0 4.8% 0)}
.chx-rodb{position:absolute;left:0;right:0;top:90.4%;height:9.6%;background:url(img/cert/scroll.webp?v=1) 0 100%/100% 1044.4% no-repeat;transform:translateY(-867.9%);transition:transform 1.1s cubic-bezier(.45,.05,.25,1) .35s;z-index:1}
.chx.cert .chx-rodb{transform:none}
.chx-txt{position:absolute;left:14%;right:14%;top:16%;bottom:13%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#2B1D0E;opacity:0;transition:opacity .4s 1.3s}
.chx.cert .chx-txt{opacity:1}
.chx-txt h2{font-size:min(4cqh,26px);margin:0;color:#8A5A0B;font-weight:900}
.chx-txt .t{font-size:min(3.1cqh,20px);font-weight:900;margin:.6cqh 0 0;line-height:1.3}
.chx-txt .m{font-size:min(2.1cqh,14px);color:#7A6548;margin:.2cqh 0 1.2cqh}
.chx-pa{width:min(14cqh,96px);aspect-ratio:1;border-radius:50%;overflow:hidden;border:4px solid #C9962B;background:#0E1938}
.chx-pa img{width:100%;height:100%;object-fit:cover}
.chx-txt .n{font-size:min(3cqh,20px);font-weight:900;margin-top:1cqh;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chx-txt .p{font-size:min(2.4cqh,16px);font-weight:700;color:#8A5A0B;margin:.2cqh 0 0}
.chx-bt{position:absolute;left:0;right:0;margin:0 auto;width:min(86%,420px);bottom:calc(env(safe-area-inset-bottom,0px) + 3cqh);z-index:11;display:flex;flex-direction:column;align-items:center;gap:1cqh;opacity:0;transform:translateY(20px);transition:.4s .9s;pointer-events:none}
.chx.cert .chx-bt{opacity:1;transform:none;pointer-events:auto}
.chx-bt .btn{width:100%;margin:0}
.chx-back{background:none;border:0;color:#C7C7CC;font:inherit;font-size:16px;font-weight:700;padding:8px 20px;cursor:pointer}
.chx-skip{position:absolute;bottom:calc(env(safe-area-inset-bottom,0px) + 2cqh);left:0;right:0;margin:0;text-align:center;font-size:13px;color:rgba(230,238,245,.45);transition:opacity .3s}
.chx.cert .chx-skip{opacity:0}
body.chx-on #fx{z-index:9500}
.chx-pod{direction:ltr;transition:opacity .4s}.chx.cert .chx-pod{opacity:.18}

/* v940 new solar topic art: pieces move in place (wxR) + glows (wxG) */
.ar-isl.front .isl-g .wxr>b{animation:var(--wa) var(--wd,3s) ease-in-out infinite}
.ar-isl.front .isl-g .wxr-spin>b{--wa:wxsTurn;--wd:5s;animation-timing-function:linear}
.ar-isl.front .isl-g .wxr-spinr>b{--wa:wxrTurnR;--wd:6s;animation-timing-function:linear}
.ar-isl.front .isl-g .wxr-pulse>b{--wa:wxrPulse;--wd:2.4s}
.ar-isl.front .isl-g .wxr-wig>b{--wa:wxrWig;--wd:3.2s}
.ar-isl.front .isl-g .wxr-sway>b{--wa:wxrSway;--wd:4s}
.ar-isl.front .isl-g .wxr-nod>b{--wa:wxrNod;--wd:4.5s}
.ar-isl.front .isl-g .wxr-tick>b{--wa:wxrTick;--wd:1s;animation-timing-function:steps(1)}
.ar-isl.front .isl-g .wxr-ring>b{--wa:wxrRing;--wd:3.6s}
.ar-isl.front .isl-g .wxr-flick>b{--wa:wxrFlick;--wd:2.8s}
.ar-isl .isl-g .wxg{aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,var(--c),transparent);mix-blend-mode:screen;opacity:0}
.ar-isl.front .isl-g .wxg-glow{animation:wxsGlow 2.6s ease-in-out infinite}
.ar-isl.front .isl-g .wxg-flash{animation:wxrFlash 3.4s ease-out infinite}
@keyframes wxrTurnR{to{transform:rotate(-360deg)}}
@keyframes wxrPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
@keyframes wxrWig{0%,60%,100%{transform:rotate(0)}70%{transform:rotate(-6deg)}80%{transform:rotate(5deg)}90%{transform:rotate(-3deg)}}
@keyframes wxrSway{0%,100%{transform:rotate(-1.5deg)}50%{transform:rotate(1.5deg)}}
@keyframes wxrNod{0%,70%,100%{transform:rotate(0)}80%{transform:rotate(-8deg)}90%{transform:rotate(4deg)}}
@keyframes wxrTick{0%{transform:scale(1)}50%{transform:scale(1.04)}}
@keyframes wxrRing{0%,70%,100%{transform:rotate(0)}72%,76%,80%,84%{transform:rotate(-5deg)}74%,78%,82%,86%{transform:rotate(5deg)}}
@keyframes wxrFlick{0%,100%{transform:scale(1);filter:brightness(1)}48%{filter:brightness(1)}50%{filter:brightness(1.35)}52%{filter:brightness(.9)}54%{filter:brightness(1.2)}}
@keyframes wxrFlash{0%,62%{opacity:0;transform:translate(-50%,-50%) scale(.6)}66%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}80%,100%{opacity:0;transform:translate(-50%,-50%) scale(1)}}
@media (prefers-reduced-motion:reduce){.ar-isl.front .isl-g .wxr>b,.ar-isl.front .isl-g .wxg{animation:none!important}}

/* v942 solar planets: separate objects act out the topic (.kt-*) */
.ar-isl .isl-g .kt-tvb .kt-scn{inset:auto;left:20.5%;top:29.5%;width:53.5%;height:44%;border-radius:12%;object-fit:cover;opacity:0}
.ar-isl.front .isl-g .wxs img.kt-scn{animation:ktScn 10s infinite!important}
.ar-isl.front .isl-g .kt-float{animation:ktFloat 2.6s ease-in-out infinite}
.ar-isl.front .isl-g .kt-zap{animation:ktZap 1.8s ease-in-out infinite}
.ar-isl.front .isl-g .kt-tick{animation:ktTick 1s steps(1) infinite}
.ar-isl.front .isl-g .kt-hand{transform-origin:22% 78%;animation:wxsTurn 4s linear infinite}
.ar-isl.front .isl-g .kt-hop{animation:ktHop 2.2s ease-in-out infinite}
.ar-isl.front .isl-g .kt-lamp,.ar-isl.front .isl-g .kt-lamp2{animation:ktLamp 2.4s ease-in-out infinite}
.ar-isl.front .isl-g .kt-lamp2{animation-delay:-1.2s}
.ar-isl.front .isl-g .kt-shine{animation:ktShine 2.4s ease-in-out infinite}
.ar-isl.front .isl-g .kt-sway{transform-origin:50% 100%;animation:ktSway 3s ease-in-out infinite}
.ar-isl.front .isl-g .kt-swing{transform-origin:15% 92%;animation:ktSwing 2.2s ease-in-out infinite}
.ar-isl.front .isl-g .kt-bounce{animation:ktBounce 1.1s cubic-bezier(.3,.6,.5,1) infinite alternate}
.ar-isl.front .isl-g .kt-bounce2{animation:ktBounce2 2.2s ease-in-out infinite}
.ar-isl.front .isl-g .kt-goal{animation:ktGoal 3.6s ease-in-out infinite}
.ar-isl.front .isl-g .kt-clap{transform-origin:8% 62%;animation:ktClap 2.6s ease-in infinite}
.ar-isl.front .isl-g .kt-pop{transform-origin:50% 100%;animation:ktPop 1.4s ease-in-out infinite}
.ar-isl.front .isl-g .kt-spin{animation:wxsTurn 5s linear infinite}
.ar-isl.front .isl-g .kt-spinr{animation:wxrTurnR 3.4s linear infinite}
.ar-isl.front .isl-g .kt-bulb{animation:ktBulb 3s ease-in-out infinite}
.ar-isl:not(.front) .isl-g .kt-bulb{opacity:1}
.ar-isl.front .isl-g .kt-ring{transform-origin:50% 100%;animation:ktRing 2.6s linear infinite}
.ar-isl.front .isl-g .kt-hset{transform-origin:50% 100%;animation:ktHset 2.6s linear infinite}
.ar-isl.front .isl-g .kt-fly{animation:ktFly 5s ease-in-out infinite}
@keyframes ktScn{0%,22%{opacity:1}25%,100%{opacity:0}}
@keyframes ktFloat{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-6%) rotate(4deg)}}
@keyframes ktZap{0%,40%,100%{transform:scale(1);filter:brightness(1)}45%{transform:scale(1.12);filter:brightness(1.8)}50%{filter:brightness(1)}55%{transform:scale(1.06);filter:brightness(1.6)}62%{transform:scale(1);filter:brightness(1)}}
@keyframes ktTick{0%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
@keyframes ktHop{0%,60%,100%{transform:translateY(0) rotate(0)}72%{transform:translateY(-16%) rotate(-8deg)}84%{transform:translateY(0) rotate(4deg)}}
@keyframes ktLamp{0%,55%,100%{filter:brightness(1)}60%{filter:brightness(1.9)}66%{filter:brightness(1.1)}70%{filter:brightness(1.7)}80%{filter:brightness(1)}}
@keyframes ktShine{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.06);filter:brightness(1.3)}}
@keyframes ktSway{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
@keyframes ktSwing{0%,55%,100%{transform:rotate(0)}68%{transform:rotate(-30deg)}78%{transform:rotate(12deg)}88%{transform:rotate(0)}}
@keyframes ktBounce{from{transform:translateY(0)}to{transform:translateY(-14%)}}
@keyframes ktBounce2{0%,100%{transform:translateY(0)}40%{transform:translateY(-110%)}60%{transform:translateY(-110%)}75%{transform:translateY(0)}85%{transform:translateY(-25%)}}
@keyframes ktGoal{0%,15%{transform:translate(0,0) rotate(0) scale(1);opacity:1}50%{transform:translate(-150%,-80%) rotate(-540deg) scale(.82);opacity:1}54%{transform:translate(-158%,-74%) rotate(-560deg) scale(.8)}78%{transform:translate(-158%,-74%) rotate(-560deg) scale(.8);opacity:1}82%{opacity:0}83%{transform:translate(0,0) rotate(0) scale(1);opacity:0}95%,100%{opacity:1}}
@keyframes ktClap{0%,35%{transform:rotate(0)}65%{transform:rotate(-28deg)}80%{transform:rotate(-28deg)}86%{transform:rotate(1deg)}89%,100%{transform:rotate(0)}}
@keyframes ktPop{0%,100%{transform:scale(1)}20%{transform:scale(1.06,.95)}40%{transform:scale(.97,1.05)}60%{transform:scale(1)}}
@keyframes ktBulb{0%,20%{opacity:0}30%,85%{opacity:1}92%,100%{opacity:0}}
@keyframes ktRing{0%,8%,16%,24%,32%{transform:rotate(-5deg)}4%,12%,20%,28%{transform:rotate(5deg)}36%,100%{transform:rotate(0)}}
@keyframes ktHset{0%,8%,16%,24%,32%{transform:translateY(-22%) rotate(-6deg)}4%,12%,20%,28%{transform:translateY(-10%) rotate(6deg)}36%,100%{transform:translateY(0) rotate(0)}}
@keyframes ktFly{0%{transform:translate(0,0) rotate(0);opacity:1}30%{transform:translate(70%,-90%) rotate(-12deg)}55%{transform:translate(160%,-40%) rotate(8deg);opacity:1}62%{opacity:0;transform:translate(190%,-20%)}63%{transform:translate(-60%,30%);opacity:0}75%{opacity:1}100%{transform:translate(0,0);opacity:1}}
@media (prefers-reduced-motion:reduce){.ar-isl .isl-g .kt,.ar-isl .isl-g .wxs img.kt-scn{animation:none!important}}

/* v943 Earth kit animals */
.ar-isl.front .isl-g .kt-tree{transform-origin:50% 100%;animation:ktTree 4s ease-in-out infinite}
.ar-isl.front .isl-g .kt-tree2{transform-origin:50% 100%;animation:ktTree 4.6s ease-in-out -1.5s infinite}
.ar-isl.front .isl-g .kt-nod{transform-origin:45% 100%;animation:ktNod 4s ease-in-out infinite}
.ar-isl.front .isl-g .kt-walk{animation:ktWalk 3.2s ease-in-out infinite}
.ar-isl.front .isl-g .kt-swim{animation:ktSwim 5s ease-in-out infinite}
.ar-isl.front .isl-g .kt-breathe{transform-origin:50% 100%;animation:ktBreathe 2.4s ease-in-out infinite}
@keyframes ktTree{0%,100%{transform:rotate(-1.6deg)}50%{transform:rotate(1.6deg)}}
@keyframes ktNod{0%,55%,100%{transform:rotate(0)}65%{transform:rotate(-5deg)}75%{transform:rotate(2deg)}85%{transform:rotate(-3deg)}}
@keyframes ktWalk{0%,100%{transform:translateX(0) translateY(0)}25%{transform:translateX(-4%) translateY(-2%)}50%{transform:translateX(-8%) translateY(0)}75%{transform:translateX(-4%) translateY(-2%)}}
@keyframes ktSwim{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(-14%,6%) rotate(-4deg)}50%{transform:translate(-26%,12%) rotate(0)}75%{transform:translate(-12%,5%) rotate(4deg)}}
@keyframes ktBreathe{0%,100%{transform:scale(1,1)}50%{transform:scale(1.03,1.05)}}
/* v944 admin «أسئلة التحدي» */
.wq-go{width:100%;margin-bottom:14px}
.wq-segs{flex-wrap:wrap}.wq-segs button{flex:1 1 30%;font-size:13px}
.wq-f button{font-size:13px;padding:0 2px}.wq-f button small{display:block;font-size:11px;font-weight:700;opacity:.8;line-height:1}
.ad-bt small.wq-off{color:var(--muted)}
.wq-r.off{opacity:.5}
.wq-st{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px;margin-top:3px}
.wq-l{font-style:normal;font-size:11px;font-weight:800;padding:1px 8px;border-radius:99px;background:var(--line);color:var(--ink)}
.wq-l.easy{background:rgba(48,209,88,.18);color:#1FA971}.wq-l.medium{background:rgba(255,204,0,.2);color:#B98900}.wq-l.hard{background:rgba(255,69,58,.16);color:#E0352B}.wq-l.off{background:var(--muted);color:#fff}
.wq-sh .ad-qb{font-size:17px;font-weight:800;margin:0 0 10px}
.wq-img{display:block;max-height:180px;margin:0 auto 10px;border-radius:12px}
.wq-n{margin:0 0 10px;text-align:center}
.ad-bt small.wq-lv{font-size:11px;letter-spacing:-.2px}.wq-bts .ad-bt{min-width:0}
.ad-bt small.wq-lv{display:flex;gap:5px;margin-top:2px}.wq-leg{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center;margin-top:12px;font-size:12px;color:var(--muted)}
.wq-stat{background:var(--card);border-radius:18px;padding:14px;margin-bottom:12px;display:grid;gap:10px}
.wq-tot{display:flex;align-items:baseline;gap:8px}.wq-tot b{font-size:30px;font-weight:900}.wq-tot span{color:var(--muted);font-weight:700;font-size:13px}
.wq-lv3,.wq-ty{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.wq-lv3 span,.wq-ty span{display:flex;flex-direction:column;align-items:center;border-radius:12px;padding:8px 4px;font-size:12px;font-weight:800;background:var(--bg)}
.wq-lv3 b,.wq-ty b{font-size:19px;font-weight:900}
.wq-lv3 .easy{color:#1FA971;background:rgba(48,209,88,.13)}.wq-lv3 .medium{color:#C99A00;background:rgba(255,204,0,.14)}.wq-lv3 .hard{color:#E0352B;background:rgba(255,69,58,.12)}
.wq-ty span{color:var(--muted)}.wq-ty b{color:var(--ink)}
.wq-bw{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;color:var(--muted);font-weight:700}.wq-bw b{color:var(--ink)}

/* v950: short viewports (laptop zoom / small windows): drop the online pill above the level card so the islands get the room */
.ar.ar-short .ar-on{display:none!important}
html body .play.pv.pvx.ar-round.ar-round .opts.tf .opt{min-height:clamp(110px,18dvh,170px)!important}html body .play.pv.pvx.ar-round .opts.tf .opt .shp{position:static!important;width:auto!important;height:auto!important;background:none!important;border:0!important;font-size:28px!important;font-weight:900;margin-bottom:2px}html body .play.pv.pvx.ar-round .opts.tf .opt .txt{font-size:22px;font-weight:900}
/* v952 (Khalid 2026-12-01 موافق): classes top row = shorter red «صف جديد» + «تحديد» as plain text */
html body .cl-toprow:not(#a){align-items:center;justify-content:space-between}
html body .cl-toprow:not(#a) .btn.cp-newc{flex:none;width:auto;min-height:48px!important;padding:0 22px;font-size:17px!important}
html body .cl-toprow:not(#a):not(#b) .btn.ghost.cl-selb,html body.wide:not(.dark):not(#a):not(#b) .cl-toprow .btn.ghost.cl-selb,html body.wide.dark:not(#a):not(#b) .cl-toprow .cl-selb{background:none!important;border:0!important;box-shadow:none!important;min-height:44px;padding:0 6px;font-size:17px!important;font-weight:800!important;color:var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b) .cl-toprow .cl-selb{color:var(--tm)!important}
/* v953 arena «رتّب» */
.ar-ordh{margin:4px 0 8px;text-align:center;font-size:14px;font-weight:800;color:#F5B72B}
html body .play.pv.pvx.ar-round .opts.ord .opt{display:flex;align-items:center;gap:10px;justify-content:flex-start}
html body .play.pv.pvx.ar-round .opts.ord .opt .shp{position:static!important;flex:none;width:34px!important;height:34px!important;min-width:34px;border-radius:50%!important;display:grid;place-items:center;background:rgba(142,11,33,.14)!important;color:#8E0B21!important;border:2px dashed rgba(142,11,33,.45)!important;font-size:18px!important;font-weight:900}
html body .play.pv.pvx.ar-round .opts.ord .opt.picked .shp{background:#C8102E!important;color:#fff!important;border:0!important}
html body .play.pv.pvx.ar-round .opts.ord .opt.picked:not(.good):not(.bad){box-shadow:inset 0 0 0 3px #C8102E,0 5px 0 #8E0B21!important}
html body[data-theme] .play.pv.pvx.ar-round .opts.ord .opt.picked:not(.good):not(.bad){background:linear-gradient(180deg,#FFF8EC,#F4DFBC)!important;color:#5A0A14!important;box-shadow:inset 0 0 0 3px #C8102E,0 5px 0 #8E0B21!important;outline:0!important}
/* v955 boss round «الزعيم» */
html body .ar-boss{display:flex;align-items:center;gap:10px;margin:2px auto 8px;padding:8px 14px;max-width:320px;width:calc(100% - 32px);border-radius:16px;background:linear-gradient(180deg,rgba(245,183,43,.18),rgba(14,25,56,.9));border:1.5px solid #E3B23C;color:#F5F5F7;text-align:right;font:inherit;cursor:pointer;box-shadow:0 0 18px rgba(245,183,43,.25)}
html body .ar-boss .bi{font-size:28px;line-height:1;flex:none}
html body .ar-boss b{display:block;font-size:15px;font-weight:800;color:#F5C451}
html body .ar-boss small{display:block;font-size:12px;color:#C7C7CC;margin-top:2px}
html body .ar-boss.off{opacity:.6;box-shadow:none}
html body .ar-bossm{text-align:center}
html body .ar-bossm > img{width:92px;height:92px;border-radius:50%;object-fit:cover;object-position:top;background:var(--n1);box-shadow:0 0 0 3px #E3B23C;margin:4px auto 6px;display:block}
html body .ar-bossm h3{margin:4px 0;color:#F5C451;font-size:20px}
html body .ar-bossm ul{list-style:none;padding:0;margin:8px 0 14px;text-align:right;font-size:14px;line-height:1.9;color:#F5F5F7}
html body .ar-bossm ul li::before{content:'✦ ';color:#E3B23C}
html body .ar-bossm .btn{width:100%}
html body .ar-bossm .ar-back{display:block;margin:10px auto 0;background:none;border:0;color:#C7C7CC;font:inherit;font-size:14px}
html body .ar-bossr{display:flex;flex-direction:column;align-items:center;gap:2px;margin:6px auto 4px}
html body .ar-bossr span{font-size:46px;line-height:1.1}
html body .ar-bossr b{font-size:20px;font-weight:800;color:#F5C451}
html body .ar-bossr.lose b{color:#F5F5F7}
html body .ar-bossr small{font-size:13px;color:#C7C7CC}
/* v956 admin world questions: kind filter row */
.wq-t{margin-bottom:6px;overflow-x:auto;scrollbar-width:none}.wq-t::-webkit-scrollbar{display:none}.wq-t button{flex:1 0 auto;padding:0 8px;white-space:nowrap}
/* v957 admin: search + filter over every world */
.wq-findb{width:100%;margin:0 0 12px}
.wq-sf{display:flex;gap:8px;margin-bottom:10px}.wq-sf input{flex:1;min-width:0;height:44px;border-radius:12px;border:1px solid var(--line,var(--n3));background:var(--card);color:inherit;padding:0 12px;font:600 15px 'Cairo',system-ui,sans-serif}.wq-sf .btn{width:auto;padding:0 18px;min-height:44px}
.wq-fh{margin:8px 2px 4px;font-size:12px;font-weight:800;color:var(--muted)}
.wq-chips{display:flex;flex-wrap:wrap;gap:6px}.wq-chips button{min-height:34px;padding:0 12px;border-radius:17px;border:1px solid var(--line,var(--n3));background:var(--card);color:var(--muted);font:800 13px 'Cairo',system-ui,sans-serif;cursor:pointer}.wq-chips button.on{background:var(--tl);border-color:var(--tl);color:var(--n0)}
.wq-fn{margin:14px 2px 8px;font-size:14px;color:var(--muted)}.wq-fn b{color:var(--ink,#F5F5F7);font-size:18px}
.wq-wi{display:block;font-size:11px;font-weight:800;color:var(--tl);margin-bottom:2px}
/* v958 admin «أسئلة التحدي»: search + filter button + smart cards, grouped results, filter sheet */
.wq-top{display:flex;gap:8px;margin-bottom:10px}.wq-sb{flex:1;min-width:0;margin:0}.wq-sb input{width:100%;box-sizing:border-box;height:46px;border-radius:14px;border:1px solid var(--n3);background:rgba(14,25,56,.85);color:inherit;padding:0 12px;font:600 15px 'Cairo',system-ui,sans-serif}
.wq-fb{width:46px;height:46px;flex:none;border-radius:14px;background:color-mix(in srgb,var(--tl) 12%,transparent);border:1px solid var(--n3);color:var(--tl);display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer}.wq-fb.on{border-color:var(--tl)}
.wq-fb i{position:absolute;top:-6px;left:-6px;background:var(--tl);color:var(--n0);font:800 11px 'Cairo',system-ui;width:20px;height:20px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-style:normal}
.wq-qs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}
.wq-qc{border-radius:14px;padding:10px 12px;background:rgba(14,25,56,.85);border:1px solid var(--n3);color:#F5F5F7;text-align:right;font-family:'Cairo',system-ui,sans-serif;cursor:pointer}
.wq-qc b{display:block;font-size:22px;font-weight:800;line-height:1.2}.wq-qc span{font-size:12px;color:#C7C7CC;font-weight:700}.wq-qc.w b{color:#FF8A80}.wq-qc.on{border-color:var(--tl);box-shadow:inset 0 0 0 1px var(--tl)}
.wq-fn2{display:flex;justify-content:space-between;align-items:center;margin:2px 2px 4px;font-size:13px;color:#C7C7CC}.wq-fn2 b{color:#F5F5F7;font-size:17px}.wq-fn2 button{background:none;border:0;color:var(--tl);font:800 13px 'Cairo',system-ui;cursor:pointer}
.wq-gh{display:flex;justify-content:space-between;align-items:center;margin:14px 2px 6px;font-size:13px;font-weight:800;color:var(--tl)}.wq-gh small{color:#8E9BA8}
.wq-r2{align-items:center}.wq-ic{width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--tl) 15%,transparent);display:flex;align-items:center;justify-content:center;font-size:16px;flex:none;color:var(--tl);font-weight:800}
.wq-pc{margin-inline-start:auto;text-align:center;flex:none;min-width:44px}.wq-pc b{display:block;font-size:15px}.wq-pc small{font-size:10px;color:#8E9BA8}.wq-pc.bad b{color:#FF8A80}
.modal.wq-fm{max-height:92vh;overflow:auto}
.wq-fsh{display:flex;justify-content:space-between;align-items:center}.wq-fsh b{font-size:20px}.wq-fsh button{background:none;border:0;color:var(--tl);font:800 14px 'Cairo',system-ui;cursor:pointer}
.wq-fg{margin-top:14px}.wq-fg p{margin:0 0 8px;font-size:13px;color:#8E9BA8;font-weight:800}
.wq-seg{display:flex;background:rgba(14,25,56,.85);border-radius:12px;padding:3px;gap:3px}.wq-seg button{flex:1;min-width:0;padding:8px 0;border-radius:10px;border:0;background:none;font:800 13px 'Cairo',system-ui;color:#C7C7CC;cursor:pointer;white-space:nowrap}.wq-seg button.on{background:var(--tl);color:var(--n0)}
.wq-g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.wq-g3 button{border:1px solid var(--n3);border-radius:12px;padding:10px 4px;background:none;color:#F5F5F7;font:800 13px 'Cairo',system-ui;cursor:pointer}.wq-g3 button em{display:block;font-style:normal;font-size:18px}.wq-g3 button.on{border-color:var(--tl);background:color-mix(in srgb,var(--tl) 15%,transparent)}
.wq-fgo{width:100%;margin-top:18px}

/* v959 laptop login screens (Khalid MacBook Air 13"): the teacher login filled a 980px panel whose edges and dark card box showed against the rays,
   and the student first screen had the teacher button pinned far below the buttons. On wide windows: teacher login = full-width page with a 480px form
   and no card box; student first screen keeps the logo at the top (same spot and size as teacher login) with the teacher button right under the buttons. Phones/tablets in portrait (<760px) unchanged. */
@media (min-width:760px){
html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e) #app:has(> .ta){max-width:none}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .ta .pad:not(#z){width:100%;max-width:480px;margin-inline:auto;box-sizing:border-box}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .ta .card:not(#z):not(#y){background:transparent!important;border:0!important;box-shadow:none!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .sh.sl.sl-red>.pad{flex:0 0 auto!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .sl.sl-red .sl-t{margin-top:12px;padding-top:0}
}

/* v961 laptop: teacher settings, account and rules lists were a 1000px strip with labels far from their arrows; keep it a readable 640px column (title and list together) */
@media (min-width:760px){
html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e) #app.set-pg{max-width:760px}
}

/* v962 laptop: the «how do you add…» sheet had a square gradient box behind its rounded panels (the dark wide-mode modal background leaked through); the sheet itself is transparent */
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .modal-back.asx .modal:not(#z):not(#y){background:transparent!important;background-image:none!important}

/* v963 laptop: bottom-sheet popups float in the middle of a wide window, so give them all four rounded corners and no drag handle (they had a flat bottom edge) */
@media (min-width:760px){
html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e) .modal-back:not(.asx) .modal:not(#z){border-radius:24px!important}
html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e) .modal-back:not(.asx) .modal:not(#z)::before{display:none!important}
}
/* v966 (Khalid «مو ماشية مع الثيم»): leftovers of the old maroon-black theme in sheets and chips → Night Sea navy; a picked chip is teal (red only for the main button) */
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e),html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e){--ns-f:#10283E;--ns-l:var(--n4);--ns-t:var(--tl)}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) :is(.nc2-c,.nc2-name,.aw-as .cancel,.cp-qi,.emp-add,.nw-in,.cf-chip,.cf-th,.tb-row,.qs-stage,.qf-tile,.q-search,.q-selbar,.pick,.sw-list,.rs-sum),
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e) :is(.nc2-c,.nc2-name,.aw-as .cancel,.cp-qi,.emp-add,.nw-in){background:var(--ns-f)!important;border-color:var(--ns-l)!important;color:#F4F7FA}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .nc2-c.on,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e) .nc2-c.on{background:color-mix(in srgb,var(--tl) 14%,transparent)!important;border-color:var(--ns-t)!important;color:var(--ns-t)!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .nc2-name:focus-within,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e) .nc2-name:focus-within{border-color:var(--ns-t)!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .aw-as .grp,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e) .aw-as .grp{background:var(--ns-f)!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .emp-add,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e) .emp-add{color:var(--ns-t)!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .nc2 .btn:disabled,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e) .nc2 .btn:disabled{background:var(--ns-f)!important;color:#7F98AC!important;box-shadow:none!important;opacity:1!important}
/* v966 (Khalid «الإعدادات صغيرة على الماك»): wider column and bigger rows on laptop */
html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e) #app.set-pg .set-row:not(#z){font-size:18px;min-height:64px}
/* v967 one-screen new challenge: summary line that unfolds the options */
.nw .nw-l1{margin-top:6px}
.nw-sum1{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:16px 0 0;background:none;border:0;color:var(--muted);font:inherit;font-weight:800;font-size:15px;padding:10px;cursor:pointer;border-radius:14px}
.nw-sum1 i{font-style:normal;font-size:18px;line-height:1}
.nw-sum1:active{background:rgba(127,152,172,.12)}
.nw-opts{display:flex;flex-direction:column;gap:10px;margin-top:4px}
.nw-opts .nw-lbl{margin:4px 4px 0}
.nw-opts .nw-grp{margin:0}
html body:not(#a):not(#b) .nw-opts .nw-days button.on{border-color:var(--tl)!important;color:var(--tl)!important;background:color-mix(in srgb,var(--tl) 14%,transparent)!important}
html body.wide:not(.dark):not(#a):not(#b) .nw-opts .nw-days button.on{border-color:var(--tm)!important;color:var(--tm)!important}
/* v968 grade required */
.nc2-need{margin:10px 2px 0;color:var(--muted);font-size:13.5px;text-align:center}
.nw-grs{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px}
.nw-lbl small{font-weight:600;opacity:.8;margin-inline-start:6px}
/* v970: «＋ مرحلة ثانية» is a dashed chip next to the stages (was a small link Khalid missed) */
html body:not(#a):not(#b):not(#c) .nc2-c.nc2-more{border-style:dashed!important;background:transparent!important;color:var(--ns-t,var(--tl))!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .nc2-c.nc2-more{color:var(--tm)!important}
/* v971 (Khalid «طويلة وكلها فراغات»): one-screen new challenge uses small chips side by side, not big squares */
html body:not(#a):not(#b) .nw-one .nw-tiles{display:flex;flex-wrap:wrap;gap:8px}
html body:not(#a):not(#b) .nw-one .nw-tile{min-height:0;width:auto;flex:0 1 auto;padding:11px 16px;border-radius:14px;flex-direction:row;gap:8px;align-items:center;justify-content:center}
html body:not(#a):not(#b) .nw-one .nw-tile .nw-e,html body:not(#a):not(#b) .nw-one .nw-tile .nw-ck{display:none}
html body:not(#a):not(#b) .nw-one .nw-tile b{font-size:16px;white-space:nowrap}
html body:not(#a):not(#b) .nw-one .nw-tile small{font-size:12.5px;opacity:.75;white-space:nowrap}
html body:not(#a):not(#b) .nw-one .nw-tile.on{border-color:var(--tl)}
html body:not(#a):not(#b) .nw-one .nw-tile.on b::before{content:'✓ ';color:var(--tl)}
html body.wide:not(.dark):not(#a):not(#b) .nw-one .nw-tile.on{border-color:var(--tm)}
html body.wide:not(.dark):not(#a):not(#b) .nw-one .nw-tile.on b::before{color:var(--tm)}
html body:not(#a):not(#b) .nw-one .nw-lbl{margin:16px 4px 8px}
html body:not(#a):not(#b) .nw-one .nw-more-subj{display:inline-block;margin:8px 4px 0}
html body:not(#a):not(#b) .nw-one .nw-tile.on::after{display:none!important}
html body:not(#a):not(#b) .nw-one .nw-tile:not(.busy) small{display:none}
html body:not(#a):not(#b):not(#c) .nw-one .nw-tile.on{border:2px solid var(--tl)!important;background:color-mix(in srgb,var(--tl) 12%,transparent)!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .nw-one .nw-tile.on{border-color:var(--tm)!important;background:rgba(14,138,146,.08)!important}
/* v972: extra question types read as «add to the challenge»: ＋ before the name until picked, dashed border */
html body:not(#a):not(#b) .nw-gen .nw-tile:not(.on) b::before{content:'＋ ';color:var(--tl)}
html body.wide:not(.dark):not(#a):not(#b) .nw-gen .nw-tile:not(.on) b::before{color:var(--tm)}
html body:not(#a):not(#b):not(#c) .nw-one .nw-gen .nw-tile:not(.on){border:1.5px dashed rgba(127,152,172,.55)!important;background:transparent!important;box-shadow:none!important}
html body .q5-lbl small{font-weight:600;opacity:.7;margin-inline-start:6px;font-size:12px}
html body:not(#a):not(#b) .q5-sj2{margin-top:14px;color:var(--tl);border-color:color-mix(in srgb,var(--tl) 45%,transparent)}
html body.wide:not(.dark):not(#a):not(#b) .q5-sj2{color:var(--tm);border-color:rgba(14,138,146,.4)}
.q5-sjs .ac-g{margin:12px 0}
.q5-sjs .q5-newl{margin:4px 0 12px}
/* v972 (Khalid «الألوان مو على الثيم»): values in the new-challenge rows are teal, not red (red is only the main button) */
html body:not(#a):not(#b):not(#c) .nw .nw-v{color:var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .nw .nw-v{color:var(--tm)!important}
html body:not(#a):not(#b):not(#c) .nw .ce1-ch{color:var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .nw .ce1-ch{color:var(--tm)!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .nw-one .nw-tile:not(.on){background:#fff!important;border:1.5px solid #C5D6E2!important;box-shadow:none!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .nw-one .nw-gen .nw-tile:not(.on){border-style:dashed!important;background:transparent!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .nw-opts .nw-days button:not(.on){border:1.5px solid #C5D6E2!important;box-shadow:none!important}
/* v972 (Khalid «ليش الأزرار مو كحلي»): «تم» in the lessons / subjects sheets is navy (red stays for «ابدأ التحدي» only), ticks are teal */
html body:not(#a):not(#b):not(#c) :is(.nw-pk,.nw-ls,.q5-sjs) .btn{background:var(--n1)!important;color:#fff!important;box-shadow:0 4px 0 var(--n0)!important;border:0!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) :is(.nw-pk,.nw-ls,.q5-sjs) .btn{background:var(--n0)!important;box-shadow:0 4px 0 #000!important}
html body:not(#a):not(#b):not(#c) .nw-pk .q4-ck.added{background:var(--tl)!important;border-color:var(--tl)!important;color:var(--n0)!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .nw-pk .q4-ck.added{background:var(--tm)!important;border-color:var(--tm)!important;color:#fff!important}
/* v973 (Khalid «ما أبي أحمر»): teacher screens have no red; main buttons are navy, and a lighter navy in dark mode so they stand out */
html body.wide:not(.dark):not(#a):not(#b){--primary:var(--n1);--primary-dark:var(--n0);--primary-ink:#fff}
html body.wide.dark:not(#a):not(#b){--primary:var(--n6);--primary-dark:var(--n1);--primary-ink:#fff}
/* v973 (Khalid «ما نبي حدود على البطاقات»): no borders on the mode switch and the new-challenge chips; picked = filled */
html body.wide:not(#a):not(#b):not(#c) .nw-mode,html body.wide:not(#a):not(#b):not(#c) .nw-mode button,html body.wide:not(#a):not(#b):not(#c) .nw-mode .on{border:0!important;box-shadow:none!important}
html body.wide.dark:not(#a):not(#b):not(#c) .nw-mode .on{background:var(--n6)!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .nw-mode button.on{background:var(--n1)!important;color:#fff!important}
html body.wide:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile,html body.wide:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-gen .nw-tile:not(.on),html body.wide:not(#a):not(#b):not(#c):not(#d) .nw-opts .nw-days button{border:0!important;box-shadow:none!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile:not(.on),html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .nw-opts .nw-days button:not(.on){background:var(--n1)!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile:not(.on),html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d) .nw-opts .nw-days button:not(.on){background:#fff!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile.on,html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .nw-opts .nw-days button.on{background:var(--n6)!important;color:#fff!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile.on,html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d) .nw-opts .nw-days button.on{background:var(--n1)!important;color:#fff!important}
html body.wide:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile.on b,html body.wide:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile.on b::before{color:#fff!important}
html body.wide:not(.dark):not(#a):not(#b) .stp-b{background:var(--n1)!important;background-image:none!important;color:#fff!important}
/* v974 (Khalid «مابي احمر» + «ما نبي حدود»): teacher dialogs: navy main button, teal links, filled ghost without borders */
html body.wide:not(#a):not(#b):not(#c) .modal .btn:not(.ghost):not(.soft):not(.danger):not([disabled]){background:var(--primary)!important;color:#fff!important;box-shadow:none!important;border:0!important}
html body.wide:not(#a):not(#b):not(#c) .modal .btn.ghost,html body.wide:not(#a):not(#b):not(#c) .modal .btn.soft{border:0!important;box-shadow:none!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .modal .btn.ghost,html body.wide:not(.dark):not(#a):not(#b):not(#c) .modal .btn.soft{background:#E8EEF3!important;color:var(--n1)!important}
html body.wide.dark:not(#a):not(#b):not(#c) .modal .btn.ghost,html body.wide.dark:not(#a):not(#b):not(#c) .modal .btn.soft{background:var(--n1)!important;color:#fff!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .modal .link{color:var(--tm)!important}
html body.wide.dark:not(#a):not(#b):not(#c) .modal .link{color:var(--tl)!important}
html body.wide:not(#a):not(#b):not(#c) .modal-back .modal{border-bottom:0!important}
html body.wide:not(#a):not(#b):not(#c) :is(.dlg button.pri,button.pri,a.stp-b){box-shadow:none!important;border-bottom:0!important}
html body.wide:not(#a):not(#b):not(#c) button.pri{background:var(--primary)!important;color:#fff!important}
/* v975 (Khalid, iPhone Duo landscape): one-screen new challenge: «ابدأ التحدي» sits right under the summary line (not pinned over the content); while subjects load only the spinner shows, so nothing jumps */
html body:not(#a):not(#b) .nw:has(.nw-one) .nw-foot{position:static!important;transform:none!important;width:100%!important;max-width:none!important;padding:8px 0 0!important;margin:0!important;background:none!important}
html body:not(#a):not(#b) .nw:has(.nw-one){padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 110px)!important}
html body:not(#a):not(#b) .nw:has(.nw-one .spin) :is(.nw-sum1,.nw-foot,.nw-opts){visibility:hidden}
/* v976 locked worlds + unlock moment */
.ar-isl em.wd-lk{font-size:22px;padding:4px 10px;background:rgba(0,0,0,.55)}
.wd-lkm{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.wd-lkm img{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 12px 16px rgba(0,0,0,.5))}
.wd-lkm:not(.wd-new) img{filter:grayscale(.85) brightness(.75)!important}
.wd-lkm h3{margin:0;font-size:22px}
.wd-lkm p{margin:0;color:var(--muted);font-size:15px;line-height:1.5}
.wd-lkb{width:80%;height:10px;border-radius:6px;background:rgba(255,255,255,.12);overflow:hidden}
.wd-lkb i{display:block;height:100%;background:#F5B72B;border-radius:6px}
.wd-lkm small{color:var(--muted);margin-bottom:6px}
.wd-lkm .btn{width:100%}
.wd-nb{background:#F5B72B;color:#1a1200;font-weight:800;padding:6px 14px;border-radius:999px;font-size:15px}
.wd-new img{animation:wdPop .7s cubic-bezier(.2,1.6,.4,1) both}
@keyframes wdPop{from{transform:scale(.3) rotate(-20deg);opacity:0}to{transform:none;opacity:1}}
/* v976 one title per world */
.ar-lvb .wt-t{display:block;font-size:12.5px;font-weight:700;color:#BFE9EC;margin:1px 0 2px;text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ar-lvb .wt-t.gold{color:#F5B72B}
.wt-card{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.wt-card img{width:120px;height:120px;border-radius:50%;object-fit:cover;border:3px solid var(--tl)}
.wt-card.gold img{border-color:#F5B72B;box-shadow:0 0 24px rgba(245,183,43,.55)}
.wt-card small{color:var(--muted);font-size:14px}
.wt-card b{font-size:24px;font-weight:800}
.wt-card.gold b{color:#F5B72B}
.wt-card p{margin:2px 0 10px;color:var(--muted);line-height:1.5}
.wt-card .btn{width:100%}
/* v977 host words type in */
.ps-ok{transition:opacity .25s}.ps-ok.ps-wait{opacity:0;pointer-events:none}
/* v979 Mars «جسم الإنسان والصحة»: heart beats, toothbrush brushes, first-aid lid opens */
.ar-isl.front .isl-g .kt-beat{transform-origin:50% 60%;animation:ktBeat 1.1s ease-in-out infinite}
.ar-isl.front .isl-g .kt-brush{animation:ktBrush .9s ease-in-out infinite}
.ar-isl.front .isl-g .kt-lid{transform-origin:4% 95%;animation:ktLid 3.2s ease-in-out infinite}
@keyframes ktBeat{0%,40%,100%{transform:scale(1)}15%{transform:scale(1.08)}28%{transform:scale(.98)}}
@keyframes ktBrush{0%,100%{transform:translateX(0)}50%{transform:translateX(-7%)}}
@keyframes ktLid{0%,45%,100%{transform:rotate(0)}60%,80%{transform:rotate(-28deg) translateY(-6%)}}

/* v981 chains on locked worlds (replace the 🔒 pill) */
.ar-isl .wd-g>img.wd-ch{position:absolute;z-index:4;left:-6%;top:-4%;width:112%;height:112%;pointer-events:none;filter:drop-shadow(0 3px 4px rgba(0,0,0,.55))}
.wd-lkw{position:relative;display:block;width:150px;height:150px}
.wd-lkw>img{position:absolute;left:0;top:0;width:100%;height:100%}
.wd-lkm .wd-lkw>img.wd-ch{left:-6%;top:-4%;width:112%;height:112%;filter:drop-shadow(0 3px 4px rgba(0,0,0,.55))!important}
.wd-lkm.wd-new .wd-lkw{width:170px;height:170px;margin-top:6px}
.wd-brk>img:first-child{animation:wdColor .7s ease-out 1.25s both}
.wd-brk>img.wd-ch{animation:wdShake 1.3s ease-in-out both}
.wd-brk>img.wd-op{left:38%;top:46%;width:24%;height:auto;opacity:0;animation:wdOpen 1.5s ease-in 1.22s both}
.wd-brk>img.wd-pc{width:18%;height:auto;opacity:0;animation:wdPc 1.2s cubic-bezier(.2,.6,.4,1) 1.22s both}
@keyframes wdShake{0%,35%{transform:none;opacity:1}45%{transform:rotate(-4deg)}55%{transform:rotate(4deg)}65%{transform:rotate(-5deg) scale(1.03)}75%{transform:rotate(5deg) scale(1.04)}88%{transform:rotate(-3deg) scale(1.06)}93%{opacity:1}100%{opacity:0;transform:scale(1.12)}}
@keyframes wdColor{from{filter:grayscale(.85) brightness(.75)}to{filter:none}}
@keyframes wdPc{0%{opacity:1;transform:translate(0,0) rotate(0)}70%{opacity:1}100%{opacity:0;transform:translate(var(--x),calc(var(--y) + 150px)) rotate(var(--r))}}
@keyframes wdOpen{0%{opacity:1;transform:scale(1)}25%{transform:scale(1.35) translateY(-14px)}60%{opacity:1}100%{opacity:0;transform:translateY(170px) rotate(40deg)}}
@media (prefers-reduced-motion:reduce){.wd-brk>img{animation-duration:.01s!important}}
/* v986: Apple / Google / Face ID as one row of round icons (Khalid) */
html body:not(#a):not(#b):not(#c):not(#d) .ta .oa-row{display:flex;justify-content:center;align-items:center;gap:18px;margin:16px 0 2px}
html body:not(#a):not(#b):not(#c):not(#d) .ta .oa-row .bio-ic{margin:0;width:56px;height:56px}
.ta .oa-c{display:flex;align-items:center;justify-content:center;width:56px;height:56px;padding:0;border-radius:50%;background:#fff;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ta .oa-c .oa-ic{width:26px;height:26px}
.ta .oa-apple{color:#000}
.ta .oa-c:active{transform:scale(.94)}
.ta .oa-c[aria-busy="true"]{opacity:.6;pointer-events:none}

/* v990 locked world: swirling smoke in the world's colour (opacity from progress) */
.ar-isl.wd-lkd .wd-g>img.wd-b{filter:grayscale(1) brightness(.55)!important}
.ar-isl.wd-lkd .wd-g .mv{display:none}
.ar-isl.wd-lkd .ar-glow{display:none}
.wd-fg{position:absolute;left:4%;top:4%;width:92%;height:92%;pointer-events:none;opacity:var(--o);filter:hue-rotate(var(--h)) saturate(1.25);z-index:2}
.wd-fg img{position:absolute;inset:0;width:100%;height:100%;transform:rotate(var(--a)) scaleX(var(--f))}
.wd-cn{position:absolute;left:50%;bottom:4%;transform:translateX(-50%);z-index:3;font-size:11px;font-weight:800;color:#fff;background:rgba(0,0,0,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:2px 9px;border-radius:99px;white-space:nowrap;opacity:0;transition:opacity .3s}
.ar-isl.front .wd-cn{opacity:1}
.wd-lkm .wd-lkw .wd-fg img{filter:none!important;width:100%;height:100%}
.wd-brk>.wd-fg{animation:wdClear 1.6s cubic-bezier(.3,.1,.3,1) 1s both}
@keyframes wdClear{0%{transform:scale(1);opacity:var(--o)}35%{transform:scale(1.08)}100%{transform:scale(1.9);opacity:0}}
.ar-isl.soon .wd-fg img{filter:none}
/* v995 (Khalid «شو هاض» on the foldable): result screen has no tug header (it left a dark box with avatars peeking at the edges), and on wide screens the buttons sit under the content, no boxed bar */
html body .sh.pvx.ar-res2 .ar-tug{display:none!important}
@media (min-width:600px){html body:not(#a):not(#b):not(#c):not(#d) .sh.pvx.ar-res .ar-rbtns.ar-rb2{position:static!important;background:none!important;margin:14px auto 0!important;width:100%;max-width:480px;padding:0 0 max(14px,env(safe-area-inset-bottom))!important}
html body:not(#a):not(#b):not(#c):not(#d) .sh.pvx.ar-res:has(.ar-rb2){padding-bottom:0!important;padding-top:max(24px,env(safe-area-inset-top))!important}}
/* v996 (Khalid «الزر لا زال أحمر»): challenge page «ذكّر الباقين» and the message send bar use the navy main button like the rest of the teacher screens */
html body.wide:not(#a):not(#b):not(#c) .btn.ch-rem,html body.wide:not(#a):not(#b):not(#c) .ch-sendbar .btn{background:var(--primary)!important;box-shadow:0 5px 0 var(--primary-dark)!important;color:#fff!important}
/* v996: select all / clear all above the lessons list */
.nw-pkall{display:flex;gap:8px;margin:2px 0 10px}
.nw-pkall button{flex:1;min-height:40px;border:0;border-radius:12px;font:inherit;font-size:14px;font-weight:800;background:color-mix(in srgb,var(--tl) 12%,transparent);color:var(--tl);cursor:pointer}
html body.wide:not(.dark) .nw-pkall button{background:rgba(14,138,146,.1);color:var(--tm)}
.nw-pkall button:active{transform:scale(.97)}
/* v996 (Khalid «الاسم مغطى»): class name sits on its own line under «المتصدرون», and the podium starts lower so the first-place avatar never covers it */
html body:not(#a):not(#b) .lbx-top{flex-wrap:wrap;row-gap:2px}
html body:not(#a):not(#b) .lbx-top>span{flex:1 0 100%;order:3}
html body:not(#a):not(#b):not(#c) .lbx-pod{margin-top:34px!important}
/* v996 (Khalid «زر الرجوع فيه ظلال»): student back button is a flat round chip, no dark 3D base */
html body:not(.wide):not(#a):not(#b):not(#c) .icon-btn.s-back{box-shadow:none!important;border:0!important;background:rgba(255,255,255,.08)!important;color:#fff!important;transform:none}
/* v997: note under extra types (one extra question per round) */
.nw-mixn{margin:8px 4px 0;font-size:13.5px;line-height:1.6;color:var(--muted);text-align:center}.nw-mixn b{color:var(--ink);font-weight:800}
/* ===== v998 (Khalid «ما أبي لون أحمر»): student screens without red. Buttons navy, cards navy, gold only for rewards ===== */
html body:not(.wide)[data-theme]:not(#a){--primary:var(--n6);--primary-dark:var(--n1);--accent:var(--tl)}
html body:not(.wide):not(#a):not(#b) .btn:not(.ghost):not(.soft):not(.danger):not(.s-del){background:var(--n6)!important;background-image:none!important;color:#fff!important;box-shadow:0 5px 0 var(--n1)!important;border:0!important}
html body:not(.wide):not(#a):not(#b) .btn:not(.ghost):not(.soft):not(.danger):not(.s-del):active{box-shadow:0 2px 0 var(--n1)!important}
html body:not(.wide):not(#a):not(#b) .btn.s-me-t{background:var(--n6)!important;box-shadow:0 5px 0 var(--n1)!important}
html body:not(.wide):not(#a) .s-nav button.on{color:#fff}
/* result */
html body:not(.wide):not(#a):not(#b) .sh.pvx .result.rs3{padding-top:max(28px,env(safe-area-inset-top))}
.rs3-av{width:132px;height:132px;margin:8px auto 10px;border-radius:50%;background:var(--n5);box-shadow:0 0 0 5px #F5C451,0 10px 30px rgba(0,0,0,.35);display:grid;place-items:center;overflow:hidden;animation:rs3in .5s cubic-bezier(.2,1.4,.4,1) both}
.rs3-av img{width:100%;height:100%;object-fit:cover}.rs3-av span{font-size:72px;line-height:1}
@keyframes rs3in{from{transform:scale(.6);opacity:0}}
html body:not(.wide):not(#a) .sh.pvx .result .rs3-h{font-size:34px;font-weight:800;color:#fff;margin:4px 0 2px;text-shadow:none;-webkit-text-stroke:0}
.rs3-ok{font-size:16px;color:#C9D8E4;margin:0 0 6px}.rs3-ok b{color:#fff}
html body:not(.wide):not(#a):not(#b) .sh.pvx .result .star-s:not(.on){color:var(--n6)!important;filter:none!important}
html body:not(.wide):not(#a):not(#b) .sh.pvx .result .star-s:not(.on) svg{fill:var(--n6)!important;stroke:var(--n6)!important}
html body:not(.wide):not(#a):not(#b) .sh.pvx .result .rs-st2.rs3-pts{background:none!important;box-shadow:none!important;border:0!important;margin:6px auto 2px!important}
html body:not(.wide):not(#a):not(#b) .sh.pvx .result .rs3-pts .big{color:#F5C451!important;text-shadow:none!important}
html body:not(.wide):not(#a):not(#b) .sh.pvx .result .rs-st3{background:var(--n5)!important;border:0!important;box-shadow:none!important}
html body:not(.wide):not(#a) .sh.pvx .result .rs-st3 .up{color:#5FD08A}
html body:not(.wide):not(#a):not(#b) .sh.pvx .result .rays{display:none!important}
.rv3,.rv3-all{margin:14px 0 0;background:var(--n5);border-radius:18px;text-align:right}
.rv3-all{padding:14px 16px;color:#C9D8E4;font-weight:700;text-align:center}
.rv3 summary{list-style:none;display:flex;align-items:center;gap:10px;padding:14px 16px;font-weight:800;font-size:16px;color:#fff;cursor:pointer;min-height:52px}
.rv3 summary::-webkit-details-marker{display:none}
.rv3 summary span{flex:1}.rv3 summary em{font-style:normal;background:var(--n6);color:#fff;border-radius:12px;min-width:26px;height:26px;display:grid;place-items:center;font-size:14px}
.rv3-ch{display:grid;transform:rotate(-90deg);transition:transform .2s;color:var(--n7)}.rv3-ch .ico{width:18px;height:18px}
.rv3[open] .rv3-ch{transform:rotate(90deg)}
.rv3-w{margin:0 12px 10px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.05)}
.rv3-w p{margin:0 0 8px;font-weight:700;color:#fff;line-height:1.6}
.rv3-l{display:flex;align-items:baseline;gap:8px;padding:4px 0}.rv3-l small{color:var(--n7);min-width:52px}
.rv3-l.rv3-n b{color:#C9D8E4;text-decoration:line-through;text-decoration-color:rgba(255,255,255,.4)}.rv3-l.rv3-y b{color:#5FD08A}
.rv3-dr{display:flex;align-items:center;justify-content:center;gap:8px;width:calc(100% - 24px);margin:2px 12px 12px;min-height:48px;border:1.5px solid var(--tl);border-radius:14px;background:none;color:var(--tl);font:inherit;font-weight:800;font-size:15px;cursor:pointer}
.rv3-dr .ico{width:18px;height:18px}
html body:not(.wide):not(#a):not(#b) .sh.pvx .result .rv2-done{background:var(--n6)!important;background-image:none!important;box-shadow:0 5px 0 var(--n1)!important;margin-top:16px}
/* after-play card */
.sp-hg{width:64px;height:64px;display:block;margin:0 auto}
.sp-pi{display:inline-grid;place-items:center}.sp-pi .ico{width:20px;height:20px;color:var(--tl)}
/* me page: line icons */
.s-me-li{display:grid;place-items:center;font-style:normal}.s-me-li .ico{width:30px;height:30px;color:var(--tl);stroke-width:1.8}
html body:not(.wide):not(#a):not(#b) .sh.pvx .s-me,html body:not(.wide):not(#a):not(#b) .sh.pvx .s-me-o.s-me-3>button,html body:not(.wide):not(#a):not(#b) .s-me-l,html body:not(.wide):not(#a):not(#b) .s-me-st span{background:var(--n5)!important;border:0!important;box-shadow:none!important}
html body:not(.wide):not(#a) .sh.pvx .s-me::before{display:none}
html body:not(.wide):not(#a) .s-me-l .sw.on{background:var(--tl);box-shadow:none}
html body:not(.wide):not(#a) .s-av-ed{background:var(--n6)}
/* profile page */
html body:not(.wide):not(#a):not(#b) .s-prof,html body:not(.wide):not(#a):not(#b) .s-prof .sp-rows{background:var(--n5)!important;border:0!important;box-shadow:none!important}
/* level: centred card, navy circle with gold number, gold bar */
.lvl-c{width:96px;height:96px;margin:4px auto 10px;border-radius:50%;background:var(--n1);box-shadow:0 0 0 4px #F5C451;display:grid;place-items:center}
.lvl-c b{font-size:44px;font-weight:800;color:#F5C451;line-height:1}
html body:not(.wide):not(#a):not(#b) .lvl-bar{background:var(--n1)!important}html body:not(.wide):not(#a):not(#b) .lvl-bar i{background:#F5C451!important}
html body:not(.wide):not(#a):not(#b) .modal-back:has(.s-lvlm){align-items:center!important;justify-content:center!important;padding:16px}
html body:not(.wide):not(#a):not(#b) .modal:has(.s-lvlm){border-radius:24px!important;width:min(360px,100%)!important;max-width:360px!important;margin:auto!important;background:var(--n5)!important;border:0!important;animation:rs3in .25s ease-out both}
html body:not(.wide):not(#a):not(#b) .s-lvlm .lvl-bar{background:var(--n0)!important;border:0!important}
html body:not(.wide):not(#a):not(#b) .s-lvlm .lvl-bar i{background:#F5C451!important;box-shadow:none!important}
/* v998: student cards navy glass, no red border or glow; after-play rays removed */
html body:not(.wide) .sh.pvx:not(.ar-find):not(.ar-res):not(#z):not(#y):not(#x) :is(.card,.comp,.rows.card,.bdg,.bg2,.bg2.on,.bg2-next,.goal,.wk-star,.sp-done,.sp-prize,.rv2-w,.rv2-all,.rv2-ok,.rv2-dr,.ms-r,.code-pill){background:rgba(19,40,60,.88)!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:0 10px 28px rgba(0,0,0,.28)!important}
html body:not(.wide):not(#a) .sh.sp.pvx .sp-done::before{display:none}
html body:not(.wide):not(#a) .sh.sp.pvx .sp-done .sp-emo{filter:none}
html body:not(.wide):not(#a):not(#b) .sh.pvx .sp-one .sp-prac span.sp-pi{display:inline-grid;margin-inline-end:8px}
html body:not(.wide):not(#a):not(#b) .sh.pvx .result .star-s:not(.on){background:none!important;width:46px;height:44px}
html body:not(.wide):not(#a):not(#b) .sh.pvx .result .star-s:not(.on) .ico{display:block!important;width:44px;height:44px;fill:var(--n6);stroke:var(--n6);color:var(--n6)}
html body:not(.wide):not(#a):not(#b) .sh.pvx .result .cr-rk{background:var(--n1);border-radius:50%;width:36px;height:36px;box-shadow:0 0 0 2px #F5C451;color:#F5C451;font-weight:800}
html body:not(.wide):not(#a):not(#b):not(#c) .sh.pvx .sp-rival{border-color:rgba(255,255,255,.1)!important;box-shadow:none!important;background:rgba(19,40,60,.88)!important}
/* v1000: report page navy */
html body:not(.wide):not(#a):not(#b) .rp2-hero{background:var(--n5)!important;border:0!important;box-shadow:none!important}
html body:not(.wide):not(#a):not(#b) .rp2-nums>div{background:rgba(255,255,255,.05)!important;border:0!important}
html body:not(.wide):not(#a):not(#b) .rp2-nums>div b{color:#fff!important}
html body:not(.wide):not(#a):not(#b) .rp2-note2{background:var(--n5)!important;border:0!important}
.rp2-chips span{background:var(--n5)}.rp2-chips .k-w{border-color:var(--tl)}
html body:not(.wide):not(#a):not(#b):not(#c) .sh.pvx .btn:is(.soft,.ghost):not(.s-del){border:1px solid rgba(255,255,255,.1)!important;box-shadow:none!important;background:rgba(19,40,60,.88)!important;color:#fff!important}
/* v1001 class islands */
.ci-bk{display:inline-flex;align-items:center;gap:6px;margin:0 0 6px;padding:8px 14px 8px 12px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(14,25,56,.88);color:#fff;font:inherit;font-weight:700;font-size:14px;cursor:pointer;align-self:flex-start}
.ci-bk .ico{width:16px;height:16px;color:var(--tl)}
.ci-top .ci-sp{width:44px}
.ci-st{display:block;font-size:14px;color:#C9D8E4;font-weight:600;margin-top:2px}
/* v1002 (Khalid «بطاقة التحدي سايحة في الخلفية»): teacher dark home cards stand out: lighter navy surface, thin light edge, soft shadow, brighter ring track */
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .hcs:not(.hv-list) .hc{background:#1A3A57!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 10px 28px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06)!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .hcs:not(.hv-list) .hc:hover{border-color:color-mix(in srgb,var(--tl) 50%,transparent)!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .hc-ring::before{background:conic-gradient(#F5C451 calc(var(--p)*1%),rgba(255,255,255,.2) 0)!important}
/* v1004 fold sections in the lessons sheet */
.nw-pkh{display:flex;align-items:center;gap:8px;width:100%;margin:12px 0 4px;padding:10px 12px;border:0;border-radius:12px;background:var(--soft,#EEF4F8);color:var(--ink);font:inherit;cursor:pointer;text-align:right}
.nw-pkh b{flex:1;font-size:15px;font-weight:800}.nw-pkh small{color:var(--muted);font-size:13px}
.nw-pkh i{display:grid;transform:rotate(90deg);transition:transform .2s;color:var(--muted)}.nw-pkh i .ico{width:16px;height:16px}
.nw-pkh.shut i{transform:rotate(0)}
/* v1005: new-class student options use line icons (no colour emoji) */
.nc2-c .ico{width:18px;height:18px;vertical-align:-4px;margin-inline-end:6px;color:var(--primary,var(--n1))}
html body.wide.dark .nc2-c .ico{color:var(--tl)}
.nc2-c.big{text-shadow:none}
/* ===== v1006 notifications sheet ===== */
html body .modal-back:has(.nt-sheet) .modal{display:flex;flex-direction:column;overflow:hidden!important}
.nt-sheet{display:flex;flex-direction:column;gap:10px;min-height:0;flex:1}
.nt-sheet .nt-hd{min-height:40px}.nt-sheet .nt-hd h3{font-size:20px}
.nt-tx{background:none;border:0;color:var(--tm);font:inherit;font-weight:800;font-size:14.5px;padding:8px 6px;cursor:pointer;min-height:40px}
html body.wide.dark .nt-tx,html body:not(.wide) .nt-tx{color:var(--tl)}
.nt-cnt{font-size:15px}
.nt-tabs{display:flex;align-items:center;gap:6px}
.nt-tabs>button{border:1px solid var(--line,#C5D6E2);background:none;color:var(--ink);border-radius:999px;padding:6px 12px;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;min-height:34px}
.nt-tabs>button span{color:var(--muted);font-weight:600;margin-inline-start:2px}
.nt-tabs>button.on{background:var(--primary,var(--n1));border-color:var(--primary,var(--n1));color:#fff}.nt-tabs>button.on span{color:rgba(255,255,255,.75)}
.nt-tabs>button:disabled{opacity:.45;cursor:default}
.nt-tabs .nt-rdall{margin-inline-start:auto;border:0!important;color:var(--tm);display:inline-flex;align-items:center;gap:4px;padding-inline:4px!important}
html body.wide.dark .nt-tabs .nt-rdall{color:var(--tl)}.nt-rdall .ico{width:16px;height:16px}
.nt-list{display:flex;flex-direction:column;gap:8px;overflow-y:auto;min-height:0;flex:1;margin:0 -4px;padding:0 4px 2px}
.nt-sheet .nt-r{display:flex;align-items:center;gap:8px}
.nt-sheet .nt-i{box-shadow:none!important;padding:11px 12px;gap:12px}
.nt-sheet .nt-i:not(.new){opacity:.72}
.nt-sheet .nt-i.new b{font-weight:800}
.nt-ic{font-style:normal;width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--n1) 8%,transparent);color:var(--n1);display:grid;place-items:center;flex:none}
html body.wide.dark .nt-ic{background:color-mix(in srgb,var(--tl) 12%,transparent);color:var(--tl)}.nt-ic .ico{width:20px;height:20px}
.nt-sheet .nt-i>i:not(.nt-ic){display:none}
.nt-dot{width:9px;height:9px;border-radius:50%;background:#2FA7B0;flex:none;text-decoration:none}
.nt-sheet .nt-x{width:34px;height:34px;background:none!important;color:var(--muted);display:grid;place-items:center;border-radius:10px}
.nt-sheet .nt-x:hover{background:var(--soft)!important}.nt-sheet .nt-x .ico{width:17px;height:17px}
.nt-ck{width:22px;height:22px;border-radius:50%;border:2px solid var(--line,#C5D6E2);display:grid;place-items:center;flex:none;font-style:normal;color:#fff}
.nt-r.on .nt-ck{background:var(--n1);border-color:var(--n1)}html body.wide.dark .nt-r.on .nt-ck{background:#2FA7B0;border-color:#2FA7B0}.nt-ck .ico{width:14px;height:14px}
.nt-r.on .nt-i{outline:2px solid #2FA7B0;outline-offset:-2px}
.nt-bar{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding-top:8px;border-top:1px solid var(--line,#C5D6E2)}
.nt-bar button{display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:var(--soft,#EEF4F8);color:var(--ink);border-radius:12px;padding:8px 4px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;min-height:52px}
.nt-bar button .ico{width:19px;height:19px}.nt-bar button.del{color:var(--ink)}
.nt-bar button:disabled{opacity:.4;cursor:default}
.nt-sheet .nt-empty{display:flex;flex-direction:column;align-items:center;gap:4px;padding:26px 0 18px;color:var(--muted);text-align:center}
.nt-empty .ico{width:34px;height:34px;opacity:.6}.nt-empty b{color:var(--ink);font-size:15px}
/* v1007 emoji → line icons */
.si-ln{display:inline-flex;vertical-align:-.2em;margin-inline-end:.3em;font-style:normal;color:inherit}.si-ln .ico{width:1.15em;height:1.15em}
/* v1007 challenge page: clear action buttons (Khalid «ذايبة في الخلفية»), no red on إنهاء */
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .ch-acts>button,html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .ch-2>button{background:#1E4060!important;border:1px solid color-mix(in srgb,var(--tl) 28%,transparent)!important;box-shadow:0 4px 14px rgba(0,0,0,.25)!important;color:#fff!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .ch-acts>button .ico,html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .ch-2>button .ico{color:var(--tl)!important;stroke:var(--tl)}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .ch-2>.ch-b.end{background:var(--n6)!important;border:1px solid var(--n6)!important;color:#fff!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .ch-2>.ch-b.end .ico{color:#fff!important;stroke:#fff}
html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d):not(#e) .ch-acts>button,html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d):not(#e) .ch-2>button{background:#fff!important;border:1px solid #C9D9E5!important;box-shadow:0 3px 10px color-mix(in srgb,var(--n1) 8%,transparent)!important;color:var(--n1)!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d):not(#e) .ch-acts>button .ico{color:var(--tm)!important;stroke:var(--tm)}
html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d):not(#e) .ch-2>.ch-b.end{background:var(--n1)!important;color:#fff!important;border-color:var(--n1)!important}
/* v1010 curricula player card + «تقريري» */
.cw-me .cw-bar{display:block;height:10px;border-radius:6px;background:#16336E;overflow:hidden;margin:4px 0 2px}
.cw-me .cw-bar i{display:block;height:100%;background:#F5B72B;border-radius:6px;box-shadow:inset 0 -3px 0 #C98A0B}
.cw-me .cw-rl{color:var(--tl)!important}
.cw-sh{direction:rtl;text-align:right;display:flex;flex-direction:column;gap:12px}
.cw-hd{display:flex;align-items:center;justify-content:space-between}.cw-hd b{font-size:20px;font-weight:800;color:#F5F5F7}
.cw-x{width:36px;height:36px;border-radius:50%;border:0;background:#0E2256;color:#F5F5F7;font-size:16px;cursor:pointer}
.cw-tabs{display:flex;gap:4px;background:#0E1938;padding:4px;border-radius:14px}
.cw-tabs button{flex:1;border:0;background:none;color:var(--n7);padding:9px 0;border-radius:11px;font:700 14px inherit;font-family:inherit;cursor:pointer}
.cw-tabs button[aria-selected=true]{background:var(--n6);color:#fff}
#cw-rb{display:flex;flex-direction:column;gap:10px;min-height:120px}
.cw-big{text-align:center}.cw-big b{display:block;font-size:44px;line-height:1.1;font-weight:900;color:#F5B72B;font-variant-numeric:tabular-nums}.cw-big span{color:#C7D6E2;font-size:15px}
.cw-best{margin:0;text-align:center;color:var(--n7);font-size:14px}.cw-best b{color:#F5F5F7}
.cw-row{display:flex;align-items:center;gap:10px}
.cw-row>img,.cw-row>i{width:44px;height:44px;flex:none;object-fit:contain;filter:drop-shadow(0 3px 4px rgba(0,0,0,.4))}
.cw-rb{flex:1;min-width:0}
.cw-rh{display:flex;justify-content:space-between;gap:8px;font-size:14px;margin-bottom:5px}.cw-rh b{color:#F5F5F7}.cw-rh span{color:var(--n7);white-space:nowrap;font-variant-numeric:tabular-nums}
.cw-pb{height:10px;border-radius:6px;background:rgba(255,255,255,.1);overflow:hidden}.cw-pb i{display:block;height:100%;background:var(--tl);border-radius:6px}
.cw-row.w .cw-rh b::after{content:"ركّز عليها";margin-inline-start:6px;font-size:11px;font-weight:700;color:#F5B72B;background:rgba(245,183,43,.14);border-radius:999px;padding:2px 8px}
.cw-prac{width:100%;margin-top:4px}
.cw-emp{margin:24px 0;text-align:center;color:var(--n7);line-height:1.6}
.ar-cw .cw-me{position:relative;z-index:6}
/* v1012 running-challenge pill on class rows (teal accent, live dot; Khalid avoids red) */
html body:not(#a):not(#b) .cg-live{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:7px 14px;border-radius:14px;background:color-mix(in srgb,var(--tl) 16%,transparent);color:var(--tl);cursor:pointer;line-height:1.2;white-space:nowrap}
html body:not(#a):not(#b) .cg-live b{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:800;color:var(--tl)!important}
html body:not(#a):not(#b) .cg-live b::before{content:"";width:8px;height:8px;border-radius:50%!important;flex:none;background:var(--tl);box-shadow:0 0 0 0 color-mix(in srgb,var(--tl) 60%,transparent);animation:cgLive 1.6s ease-out infinite}
html body:not(#a):not(#b) .cg-live small{font-size:12px;font-weight:600;color:#9FDDE2!important}
html body:not(#a):not(#b) .cg-live.off{background:rgba(255,255,255,.08)}
html body:not(#a):not(#b) .cg-live.off b,html body:not(#a):not(#b) .cg-live.off small{color:#C9D9E6!important}
html body:not(#a):not(#b) .cg-live.off b::before{display:none}
html body.wide:not(.dark):not(#a):not(#b) .cg-live{background:rgba(31,138,146,.12)}html body.wide:not(.dark):not(#a):not(#b) .cg-live b,html body.wide:not(.dark):not(#a):not(#b) .cg-live small{color:#1F7E86!important}
html body:not(#a):not(#b) .cg-live:active{transform:scale(.96)}
@keyframes cgLive{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--tl) 60%,transparent)}100%{box-shadow:0 0 0 8px color-mix(in srgb,var(--tl) 0%,transparent)}}
/* v1013 start date + reminder time rows in the «يبدأ» sheet */
html body:not(#a):not(#b) .aw-sheet .nw-dt{display:flex;align-items:center;gap:10px;margin-top:10px;padding:12px 16px;border:0!important;border-radius:14px;background:rgba(255,255,255,.07);color:var(--ink)}
html body:not(#a):not(#b) .aw-sheet .nw-dt.on{box-shadow:inset 0 0 0 2px var(--tl)}
html body:not(#a):not(#b) .aw-sheet .nw-dt .grow{font-weight:800;font-size:16px}
html body:not(#a):not(#b) .aw-sheet .nw-dt small{display:block;font-weight:500;font-size:12px;color:var(--muted)}
html body:not(#a):not(#b) .aw-sheet .nw-dt input{flex:none;min-height:40px;padding:6px 10px;border:0;border-radius:10px;background:color-mix(in srgb,var(--tl) 16%,transparent);color:var(--tl);font:inherit;font-weight:700;color-scheme:dark}
/* v1015: class page «شارك الرمز» + onboarding share = app navy, not red */
html body.wide:not(#a):not(#b):not(#c) .btn.cp-share,html body.wide:not(#a):not(#b):not(#c) #ob .obr-go:not(.soft){background:var(--primary)!important;background-image:none!important;box-shadow:0 5px 0 var(--primary-dark)!important;color:#fff!important}
/* v1017 start calendar (range coloured) */
html body:not(#a):not(#b) .nw-cal-s .nc-h{display:flex;align-items:center;justify-content:space-between;margin:4px 0 8px}
html body:not(#a):not(#b) .nw-cal-s .nc-h b{font-size:17px;font-weight:800}
html body:not(#a):not(#b) .nw-cal-s .nc-nav{width:40px;height:40px;border:0;border-radius:12px;background:rgba(255,255,255,.07);color:var(--tl);font-size:20px;font-weight:800;line-height:1;cursor:pointer}
html body:not(#a):not(#b) .nw-cal-s .nc-nav:disabled{opacity:.3}
html body:not(#a):not(#b) .nw-cal-s .nc-w,html body:not(#a):not(#b) .nw-cal-s .nc-g{display:grid;grid-template-columns:repeat(7,1fr);row-gap:4px}
html body:not(#a):not(#b) .nw-cal-s .nc-w span{text-align:center;font-size:12px;font-weight:700;color:var(--muted);padding:4px 0}
html body:not(#a):not(#b) .nw-cal-s .nc-d{height:42px;border:0;background:transparent;color:var(--ink);font:inherit;font-size:15px;font-weight:700;cursor:pointer;border-radius:0;padding:0}
html body:not(#a):not(#b) .nw-cal-s .nc-d.off{color:rgba(255,255,255,.22);cursor:default}
html body:not(#a):not(#b) .nw-cal-s .nc-d.td{text-decoration:underline;text-underline-offset:4px}
html body:not(#a):not(#b) .nw-cal-s .nc-d.in{background:color-mix(in srgb,var(--tl) 18%,transparent);color:#BFF1F4}
html body:not(#a):not(#b) .nw-cal-s .nc-d.in.ko{background:rgba(245,183,43,.18);color:#FBE3A6}
html body:not(#a):not(#b) .nw-cal-s .nc-d.st{border-radius:0 12px 12px 0;background:var(--tl);color:#06222A}
html body:not(#a):not(#b) .nw-cal-s .nc-d.en{border-radius:12px 0 0 12px;background:var(--tl);color:#06222A}
html body:not(#a):not(#b) .nw-cal-s .nc-d.en.ko{background:#F5B72B;color:#2A1A00}
html body:not(#a):not(#b) .nw-cal-s .nc-d.st.en{border-radius:12px}
html body:not(#a):not(#b) .nw-cal-s .nc-sum{margin:10px 0 0;text-align:center;font-weight:700;font-size:14px;color:#BFF1F4}
html body:not(#a):not(#b) .nw-cal-s .nc-sum small{display:block;margin-top:4px;font-weight:600;font-size:12px;color:var(--muted)}
html body:not(#a):not(#b) .nw-cal-s .nc-k{display:inline-block;width:10px;height:10px;border-radius:3px;background:rgba(245,183,43,.6);vertical-align:middle}
html body:not(#a):not(#b) .nw-cal-s .nw-cal-ok{width:100%;margin-top:14px}
/* v1017 (Khalid «احذف التصفيات»): no knockout toggle in challenge forms; new challenges are points only */
html body:not(#a) .cf3-r[data-act="cf3-ko"]:not(:has(.ios-sw.on)){display:none!important}
/* v1019 new-challenge settings summary: labelled card instead of one grey line (Khalid «وضحها») */
html body:not(#a):not(#b) .nw-sum2{display:block;width:100%;margin:16px 0 0;padding:12px 14px;border:0;border-radius:16px;background:rgba(255,255,255,.06);color:var(--ink);font:inherit;text-align:start;cursor:pointer}
html body:not(#a):not(#b) .nw-sum2 .ns-h{display:flex;align-items:center;justify-content:space-between}
html body:not(#a):not(#b) .nw-sum2 .ns-h b{font-size:15px;font-weight:800}
html body:not(#a):not(#b) .nw-sum2 .ns-h em{font-style:normal;font-weight:800;font-size:14px;color:var(--tl)}
html body:not(#a):not(#b) .nw-sum2 .ns-h em i{font-style:normal}
html body:not(#a):not(#b) .nw-sum2 .ns-g{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
html body:not(#a):not(#b) .nw-sum2 .ns-c{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.05);min-width:0}
html body:not(#a):not(#b) .nw-sum2 .ns-c small{font-size:12px;font-weight:600;color:var(--muted)}
html body:not(#a):not(#b) .nw-sum2 .ns-c b{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body:not(#a):not(#b) .nw-sum2:active{transform:scale(.99)}
/* v1019 open-time field: visible label over a transparent native time input (iOS showed an empty box) */
html body:not(#a):not(#b) .ot-w{position:relative;flex:none;display:flex;align-items:center;justify-content:center;min-width:120px;min-height:44px;padding:0 14px;border-radius:12px;background:color-mix(in srgb,var(--tl) 16%,transparent)}
html body:not(#a):not(#b) .ot-w em{font-style:normal;font-weight:800;font-size:15px;color:var(--tl);pointer-events:none}
html body:not(#a):not(#b) .ot-w input{position:absolute;inset:0;width:100%;height:100%;opacity:.011;border:0;background:transparent;color:transparent;font-size:16px;-webkit-appearance:none;appearance:none}
html body:not(#a):not(#b) .nw-cal-s .nw-open-x{display:block;margin:8px auto 0;color:var(--muted)}
html body:not(#a):not(#b) .nw-cal-s .nc-hint{margin:2px 0 8px;text-align:center;font-size:13px;font-weight:700;color:#F5B72B}
html body:not(#a):not(#b) .nw-dur small{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-top:2px}
/* v1022 lessons sit right under the subject, as its own highlighted card */
html body:not(#a):not(#b) .nw-one .nw-tiles + .nw-grp:has(.nw-pk-row){margin-top:10px;background:color-mix(in srgb,var(--tl) 10%,transparent)!important;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--tl) 45%,transparent);border-radius:16px}
html body:not(#a):not(#b) .nw-one .nw-grp .nw-pk-row b{color:#BFF1F4}
html body:not(#a):not(#b) .nw-opts > .nw-lbl{margin-top:18px}
/* v1024 live challenge «طريقة اللعب» inside settings */
html body:not(#a):not(#b) .nw-play{padding:12px 14px!important}
html body:not(#a):not(#b) .nw-play .nw-pl-h{display:flex;align-items:center;gap:10px;margin-bottom:10px}
html body:not(#a):not(#b) .nw-play .nw-pl-h b{font-size:16px;font-weight:800}
html body:not(#a):not(#b) .nw-play .nw-pl{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body:not(#a):not(#b) .nw-play .nw-pl button{display:flex;flex-direction:column;gap:4px;padding:12px;border:0;border-radius:14px;background:rgba(255,255,255,.06);color:var(--ink);font:inherit;text-align:start;cursor:pointer}
html body:not(#a):not(#b) .nw-play .nw-pl button.on{background:color-mix(in srgb,var(--tl) 16%,transparent);box-shadow:inset 0 0 0 2px var(--tl)}
html body:not(#a):not(#b) .nw-play .nw-pl b{font-size:15px;font-weight:800}
html body:not(#a):not(#b) .nw-play .nw-pl small{font-size:12px;color:var(--muted);font-weight:500;line-height:1.4}
html body:not(#a):not(#b) .nw-opts .bd-set{margin-top:10px}
/* v1025 live board rounds: intro, steal, speed race, wager */
html body:not(#a):not(#b) .bd .bd-intro small{font-size:clamp(14px,1.8vw,20px);font-weight:800;color:var(--tl)}
html body:not(#a):not(#b) .bd .bd-intro h2{font-size:clamp(34px,5.5vw,64px)}
html body:not(#a):not(#b) .bd .bd-intro p{max-width:760px;line-height:1.5}
html body:not(#a):not(#b) .bd .bd-call .btn,html body:not(#a):not(#b) .bd .bd-steal .btn{min-height:60px;font-size:clamp(18px,2.2vw,24px);font-weight:800;width:100%;max-width:420px;align-self:center}
html body:not(#a):not(#b) .bd .bd-steal{margin-top:12px;align-items:center}
html body:not(#a):not(#b) .bd .bd-steal .btn:first-child{background:#F5B72B;color:#2A1A00;box-shadow:0 4px 0 #B07D0E}
html body:not(#a):not(#b) .bd .bd-bets{gap:14px;margin-top:16px;width:100%;max-width:560px}
html body:not(#a):not(#b) .bd .bd-bets .bd-chip{min-height:96px;font-size:clamp(28px,4vw,44px);border-radius:20px;background:rgba(245,183,43,.16);border-color:rgba(245,183,43,.5)}
html body:not(#a):not(#b) .bd .bd-bets .bd-chip small{font-size:15px;font-weight:700;color:#FBE3A6}
html body:not(#a):not(#b) .bd .bd-race{text-align:center;margin:4px 0 10px}
html body:not(#a):not(#b) .bd .bd-race small{display:block;font-size:clamp(16px,2vw,22px);font-weight:800;margin-bottom:8px;color:#fff}
html body:not(#a):not(#b) .bd .bd-race .bd-chip{min-height:64px;font-size:clamp(20px,2.6vw,28px);border-color:var(--c);background:color-mix(in srgb,var(--c) 18%,transparent)}
html body:not(#a):not(#b) .bd .bd-race .bd-chip.on{background:var(--c);color:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.35)}
html body:not(#a):not(#b) .bd .bd-fb{font-size:clamp(20px,2.6vw,30px)}
html body:not(#a):not(#b) .bd .bd-next{min-height:60px;font-size:clamp(18px,2.2vw,24px);max-width:420px;align-self:center;width:100%}
/* v1025 live board game in the app's night-sea theme (was black + red) */
html body:not(#a):not(#b) .bd{background:linear-gradient(180deg,var(--n0) 0%,#0E2256 55%,#16505C 100%)!important;color:#F5F5F7}
html body:not(#a):not(#b) .bd .qbox.bd-q{background:var(--n5)!important}
html body:not(#a):not(#b) .bd .bd-opt:not(.good):not(.bad){background:#0E2256;box-shadow:0 5px 0 var(--n0);color:#F5F5F7}
html body:not(#a):not(#b) .bd .bd-opt.dim{opacity:.45}
html body:not(#a):not(#b) .bd .bd-sc{background:rgba(255,255,255,.08)}
html body:not(#a):not(#b) .bd .btn:not(.soft){background:var(--n6);color:#fff;box-shadow:0 4px 0 var(--n1)}
html body:not(#a):not(#b) .bd .btn.soft{background:rgba(255,255,255,.08);color:#F5F5F7;box-shadow:none}
html body:not(#a):not(#b) .bd .bd-steal .btn:first-child{background:#F5B72B;color:#2A1A00;box-shadow:0 4px 0 #B07D0E}
html body:not(#a):not(#b) .bd .bd-tm{background:rgba(255,255,255,.06)}
html body:not(#a):not(#b) .bd .bd-nm{background:rgba(255,255,255,.08);color:#F5F5F7}
html body:not(#a):not(#b) .bd .bd-dice,html body:not(#a):not(#b) .bd .bd-x,html body:not(#a):not(#b) .bd .bd-fs{background:color-mix(in srgb,var(--tl) 16%,transparent);color:var(--tl);border:0}
/* v1026 board cards = class/arena round cards */
html body:not(#a):not(#b) .bd .qbox.bd-q{background:#FFF4DF!important;border:2px solid #D4AA50!important;box-shadow:0 6px 0 rgba(0,0,0,.28)!important;color:#14243A!important;border-radius:22px}
html body:not(#a):not(#b) .bd .qbox.bd-q *{color:#14243A}
html body:not(#a):not(#b) .bd .bd-opts .bd-opt:not(.good):not(.bad){background:#F8FAFC;color:#17283B;box-shadow:0 5px 0 #9DB0C4;border-radius:18px;overflow:hidden}
html body:not(#a):not(#b) .bd .bd-opts .bd-opt.good{background:#167A49;color:#fff;box-shadow:0 5px 0 #0D4F2F,0 0 22px rgba(22,122,73,.6)}
html body:not(#a):not(#b) .bd .bd-opts .bd-opt.bad{background:#C8102E;color:#fff;box-shadow:0 5px 0 #7A0A1C}
html body:not(#a):not(#b) .bd .bd-opts .bd-opt.dim{opacity:.45}
html body:not(#a):not(#b) .bd .bd-opts .bd-opt:disabled:not(.good):not(.bad){opacity:.4}
html body:not(#a):not(#b) .play.pv.pvx .opts .opt:not(.good):not(.bad),html body:not(#a):not(#b) .play.pv.pvx .opts .opt:not(.good):not(.bad) .txt{color:#17283B}
html body:not(#a):not(#b) .bd .bd-opts .bd-opt::before{display:none!important}
html body:not(#a):not(#b) .bd .bd-ring::before{background:var(--n0)}
/* v1027 board full screen + teams screen */
html body:not(#a):not(#b) .bd{position:fixed;inset:0;z-index:300;overflow-y:auto;max-width:none;margin:0;padding-inline:max(16px,calc((100vw - 1200px)/2))}
.bd-th{display:flex;align-items:center;gap:16px}
.bd-tt{flex:1;min-width:0}.bd-tt .bd-h{margin:0;font-size:clamp(28px,3.4vw,44px)}.bd-tt .bd-sub{margin-top:4px;color:#A9B7C6}
.bd-tb{flex:none;width:52px;height:52px;border-radius:50%;border:0;background:color-mix(in srgb,var(--tl) 14%,transparent);color:var(--tl);display:grid;place-items:center;cursor:pointer}
.bd-tb svg{width:24px;height:24px}
.bd-rs{flex:none;border:1.5px solid color-mix(in srgb,var(--tl) 45%,transparent);background:transparent;color:var(--tl);border-radius:99px;padding:10px 18px;font:800 clamp(14px,1.5vw,18px) Cairo,sans-serif;cursor:pointer}
html body:not(#a):not(#b) .bd .bd-teams.bd-t2{flex:1;min-height:0;gap:18px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:stretch}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm{padding:0;border:0;border-radius:24px;background:color-mix(in srgb,var(--n0) 55%,transparent);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(0,0,0,.25)}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>b{display:flex;align-items:center;justify-content:space-between;margin:0;padding:14px 20px;background:var(--c);color:#fff;font-size:clamp(20px,2.4vw,30px);font-weight:900}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>b small{background:rgba(0,0,0,.22);color:#fff;font-size:clamp(15px,1.6vw,20px);min-width:44px;height:44px;border-radius:50%;display:grid;place-items:center}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>div{display:flex;flex-wrap:wrap;gap:10px;padding:18px;align-content:flex-start;overflow-y:auto}
html body:not(#a):not(#b) .bd .bd-t2 .bd-nm{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:10px 12px;font:700 clamp(15px,1.6vw,20px) Cairo,sans-serif;text-align:center;white-space:nowrap}
html body:not(#a):not(#b) .bd .bd-t2 .bd-nm:hover{border-color:var(--c)}
.bd-go{display:flex;justify-content:center;padding-top:4px}
html body:not(#a):not(#b) .bd .bd-go .btn{width:min(460px,100%);height:clamp(58px,7vh,72px);font-size:clamp(20px,2.2vw,26px);border-radius:20px;margin:0}
@media (max-width:600px){.bd-th{flex-wrap:wrap}.bd-rs{order:3;width:100%}html body:not(#a):not(#b) .bd .bd-teams.bd-t2{flex:none}html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>div{overflow:visible;padding:14px}}
html body:not(#a):not(#b) .bd .bd-qrow{flex-direction:column;align-items:stretch;gap:16px}
html body:not(#a):not(#b) .bd .bd-ring{order:-1;width:auto;height:18px;aspect-ratio:auto;margin-inline-end:64px;border-radius:9px;background:linear-gradient(to left,#CBEF39 calc(var(--p)*1%),#30495D 0);box-shadow:0 0 12px rgba(202,244,37,.45);overflow:visible;font-size:clamp(22px,2.6vw,32px)}
html body:not(#a):not(#b) .bd .bd-ring::before{display:none}
html body:not(#a):not(#b) .bd .bd-ring b{position:absolute;left:-60px;top:50%;transform:translateY(-50%);width:50px;text-align:center;color:#F5F5F7}
html body:not(#a):not(#b) .bd .qbox.bd-q{flex:none}
html body:not(#a):not(#b) .bd>*{position:relative;z-index:1}
html body:not(#a):not(#b) .bd::after{content:"";position:fixed;left:0;right:0;bottom:0;height:70px;z-index:0;pointer-events:none;opacity:.35;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 70' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q50 10 100 30 T200 30 T300 30 T400 30 V70 H0Z' fill='%2339C7CF' opacity='.35'/%3E%3Cpath d='M0 45 Q50 28 100 45 T200 45 T300 45 T400 45 V70 H0Z' fill='%23105762'/%3E%3C/svg%3E") bottom/100% 100% no-repeat}
html body:not(#a):not(#b) .bd::before{display:none}
/* v1030 game-show scoreboard */
html body:not(#a):not(#b) .bd .bd-top{gap:14px;padding-top:6px}
html body:not(#a):not(#b) .bd .bd-sc{position:relative;overflow:visible;border:0;border-radius:22px;padding:12px 14px 12px 12px;min-height:76px;color:#fff;background:linear-gradient(180deg,color-mix(in srgb,var(--c) 92%,#fff) 0%,var(--c) 45%,color-mix(in srgb,var(--c) 70%,#000) 100%);box-shadow:inset 0 2px 0 rgba(255,255,255,.35),0 6px 0 color-mix(in srgb,var(--c) 45%,#000),0 10px 20px rgba(0,0,0,.35);transition:transform .3s cubic-bezier(.3,1.5,.5,1),filter .3s,opacity .3s}
html body:not(#a):not(#b) .bd .bd-sc::after{content:"";position:absolute;inset:3px 3px 55% 3px;border-radius:19px 19px 40px 40px;background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,0));pointer-events:none}
html body:not(#a):not(#b) .bd .bd-sc span{font-size:clamp(18px,2.2vw,28px);font-weight:900;text-shadow:0 2px 0 rgba(0,0,0,.25);display:block}
html body:not(#a):not(#b) .bd .bd-sc span::before{display:none}
html body:not(#a):not(#b) .bd .bd-sc em{position:relative;z-index:1;min-width:clamp(60px,7vw,90px);height:clamp(52px,6vw,68px);display:grid;place-items:center;border-radius:16px;background:var(--n0);color:#FFD54A;font-size:clamp(28px,3.6vw,46px);font-weight:900;padding:0 12px;box-shadow:inset 0 3px 0 rgba(0,0,0,.4),0 0 0 3px rgba(255,255,255,.25)}
html body:not(#a):not(#b) .bd .bd-top:has(.turn) .bd-sc:not(.turn){opacity:1;filter:saturate(.55) brightness(.7);transform:scale(.96)}
html body:not(#a):not(#b) .bd .bd-sc.turn{transform:scale(1.04);animation:bdTurn 1.6s ease-in-out infinite;z-index:2}
html body:not(#a):not(#b) .bd .bd-sc.turn::before{content:"دوركم";position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:#FFD54A;color:#14243A;font-size:14px;font-weight:900;padding:2px 14px;border-radius:99px;box-shadow:0 3px 0 #B8860B;z-index:3;white-space:nowrap}
@keyframes bdTurn{0%,100%{box-shadow:inset 0 2px 0 rgba(255,255,255,.35),0 6px 0 color-mix(in srgb,var(--c) 45%,#000),0 0 0 0 color-mix(in srgb,var(--c) 70%,transparent)}50%{box-shadow:inset 0 2px 0 rgba(255,255,255,.35),0 6px 0 color-mix(in srgb,var(--c) 45%,#000),0 0 28px 6px color-mix(in srgb,var(--c) 70%,transparent)}}
@media (max-width:600px){html body:not(#a):not(#b) .bd .bd-sc{min-height:60px;padding:8px}html body:not(#a):not(#b) .bd .bd-sc span{font-size:15px}}
/* v1032 team names editable */
.bd-tn{display:flex;align-items:center;gap:8px;flex:1;min-width:0;cursor:text}
.bd-tn>span{flex:none}
.bd-tn input{flex:1;min-width:0;width:100%;background:rgba(0,0,0,.16);border:2px dashed rgba(255,255,255,.55);border-radius:12px;color:#fff;font:900 inherit Cairo,sans-serif;font-size:inherit;padding:2px 10px;outline:0}
.bd-tn input:focus{background:rgba(0,0,0,.28);border-style:solid;border-color:#fff}
.bd-tn svg{width:22px;height:22px;flex:none;opacity:.85}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>b{gap:10px;justify-content:flex-start}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>b small{margin-inline-start:auto}
.bd-pen{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.22);color:#fff;display:grid;place-items:center;cursor:pointer}
.bd-pen svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.bd-tin{flex:1;min-width:0;background:rgba(0,0,0,.25);border:2px solid #fff;border-radius:12px;color:#fff;font:900 clamp(20px,2.4vw,30px) Cairo,sans-serif;padding:0 12px;outline:0;height:44px}
html body:not(#a):not(#b) .bd .bd-tin{font-size:clamp(20px,2.4vw,30px)!important;font-weight:900!important;height:44px!important;color:#fff!important;background:rgba(0,0,0,.25)!important}
/* v1033 teams screen headers in app navy, team colour only as a dot */
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>b{background:var(--n6)}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>b::before{content:"";flex:none;width:16px;height:16px;border-radius:50%;background:var(--c);box-shadow:0 0 0 4px rgba(255,255,255,.18)}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>b small{background:color-mix(in srgb,var(--n0) 40%,transparent)}
html body:not(#a):not(#b) .bd .bd-t2 .bd-nm:hover{border-color:var(--tl)}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>b::before{display:none}
.bd-col{flex:none;width:34px;height:34px;border-radius:50%;border:3px solid #fff;background:var(--c);cursor:pointer;box-shadow:0 0 0 3px color-mix(in srgb,var(--n0) 35%,transparent);padding:0}
.bd-sw{display:flex;flex-wrap:wrap;gap:10px;padding:12px 18px 0}
.bd-sw button{width:36px;height:36px;border-radius:50%;border:3px solid transparent;background:var(--c);cursor:pointer;padding:0}
.bd-sw button.on{border-color:#fff;box-shadow:0 0 0 3px var(--tl)}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>div.bd-sw{flex:none;overflow:visible;padding:14px 18px 2px;gap:12px;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:14px}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>div.bd-sw{width:auto!important;align-self:stretch!important;height:auto!important;flex-direction:row!important}html body:not(#a):not(#b) .bd .bd-sw button{width:36px!important;height:36px!important;flex:none}
/* v1033 board: question image + student name chip */
html body:not(#a):not(#b) .bd .qbox.bd-q.has-img{display:flex;flex-direction:column;align-items:center;gap:12px}
.bd-qimg{display:block;max-width:100%;max-height:min(30vh,260px);border-radius:14px;object-fit:contain}
html body:not(#a):not(#b) .bd .bd-pick{display:inline-flex;align-items:center;gap:10px;background:var(--n5);color:#F5F5F7;border:2px solid var(--c);border-radius:16px;padding:6px 18px;font-size:clamp(18px,2.4vw,28px);font-weight:800;box-shadow:0 4px 0 var(--n0)}
html body:not(#a):not(#b) .bd .bd-pick::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--c);flex:none}
html body:not(#a):not(#b) .bd .bd-qimg{max-height:min(19vh,170px)}html body:not(#a):not(#b) .bd .qbox.bd-q.has-img{padding:14px 18px;gap:8px}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>div.bd-sw{background:transparent!important;border-radius:0!important;box-shadow:none!important}
/* v1016 locked «age» pictures: full colour, no grey, no padlock */
html body .ar-isl.lk.age img,html body .ar-isl.wd-lkd.age .wd-g>img.wd-b,html body .ar-orb.kw .ar-isl.lk.age .kw-g>img.kw-b{filter:drop-shadow(0 16px 18px rgba(0,0,0,.6))!important}
html body .ar-isl.age.age-ice .ar-glow{display:block!important;--c:#7FD3FF}
html body .ar-isl.wd-lkd.age.age-ice .wd-g>img.wd-b{filter:drop-shadow(0 0 14px rgba(140,210,255,.45)) drop-shadow(0 16px 18px rgba(0,0,0,.6))!important}
/* v1033 simple unlock reveal: the age picture glows and fades, the real island appears */
.lkb{position:relative;display:block;width:180px;height:180px;margin:4px auto}
.wd-lkw>.lkb{width:100%;height:100%;margin:0}
.lkb img,.tt-up .lkb img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:contain;filter:none}
.lkb-a{animation:lkOut 1.5s ease-in both}
@keyframes lkOut{0%{opacity:1;transform:none;filter:none}55%{opacity:1;transform:scale(1.03);filter:brightness(1.5) drop-shadow(0 0 16px rgba(255,225,150,.8))}100%{opacity:0;transform:scale(1.08);filter:brightness(2)}}
.lkb-r{opacity:0;animation:lkIn .7s cubic-bezier(.3,1.5,.5,1) 1.15s both;filter:drop-shadow(0 10px 18px rgba(0,0,0,.6))!important}
@keyframes lkIn{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}
.lkb-f{position:absolute;inset:4%;border-radius:50%;background:radial-gradient(circle,rgba(255,250,225,.95),rgba(255,225,150,.5) 40%,transparent 70%);opacity:0;animation:lkFlash .7s ease-out 1.05s both;pointer-events:none}
@keyframes lkFlash{0%{opacity:0;transform:scale(.4)}30%{opacity:1}100%{opacity:0;transform:scale(1.5)}}
@media (prefers-reduced-motion:reduce){.lkb-a,.lkb-f{display:none}.lkb-r{animation:none;opacity:1}}

/* v1033 unlock scene overlay (lks.js): one canvas, start / end button, skip */
.lks-ov{position:fixed;inset:0;z-index:99999;background:linear-gradient(#0E1938,#061038);display:flex;align-items:center;justify-content:center;animation:lksIn .35s ease-out both;touch-action:none;-webkit-user-select:none;user-select:none;overscroll-behavior:contain}
.lks-ov.out{animation:lksOut .28s ease-in forwards}
@keyframes lksIn{from{opacity:0}to{opacity:1}}
@keyframes lksOut{to{opacity:0}}
.lks-st{position:relative;height:min(100vh,calc(100vw * 16 / 9));height:min(100dvh,calc(100vw * 16 / 9));aspect-ratio:9/16;flex:none}
.lks-st canvas{width:100%;height:100%;display:block;touch-action:none;-webkit-touch-callout:none;cursor:pointer}
.lks-go{position:absolute;left:8%;right:8%;bottom:calc(5% + env(safe-area-inset-bottom,0px));min-height:58px;border:0;border-radius:16px;background:#F5B72B;color:#3A2200;box-shadow:0 5px 0 #B57F0E;font-family:inherit;font-weight:800;font-size:20px;cursor:pointer;animation:lksIn .35s ease-out both}
.lks-go:disabled{opacity:.6}
.lks-go[hidden],.lks-skip[hidden]{display:none}
.lks-skip{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));left:14px;border:0;border-radius:99px;background:rgba(255,255,255,.14);color:#fff;font-family:inherit;font-weight:700;font-size:14px;padding:8px 16px;min-height:40px;cursor:pointer}
.lks-go:focus-visible,.lks-skip:focus-visible{outline:3px solid #7FD3FF;outline-offset:2px}
@media (min-aspect-ratio:10/16){.lks-st canvas{border-radius:22px}}
.lks-ov.won{background:linear-gradient(#16336E,#0E1938)}
@media (max-aspect-ratio:9/16){.lks-st canvas{-webkit-mask-image:linear-gradient(transparent,#000 4%,#000 97%,transparent);mask-image:linear-gradient(transparent,#000 4%,#000 97%,transparent)}}
/* v1034 colour picker floats over names */
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm{position:relative;overflow:visible}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>b{border-radius:24px 24px 0 0}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>div.bd-sw{position:absolute!important;top:64px;inset-inline-start:12px;z-index:20;width:auto!important;max-width:calc(100% - 24px);padding:12px 14px!important;background:color-mix(in srgb,var(--n0) 82%,transparent)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.14)!important;border-radius:18px!important;box-shadow:0 12px 30px rgba(0,0,0,.45)!important;animation:bdSw .18s ease-out}
@keyframes bdSw{from{opacity:0;transform:translateY(-6px) scale(.96)}}
/* v1037 absent students */
.bd-nw{position:relative;display:inline-flex}
.bd-ab{position:absolute;top:-8px;inset-inline-end:-8px;width:26px;height:26px;border-radius:50%;border:2px solid var(--n0);background:#16336E;color:#fff;font:900 12px Cairo,sans-serif;display:grid;place-items:center;cursor:pointer;padding:0;line-height:1}
.bd-ab:hover{background:#5B7A93}
.bd-abl{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#A9B7C6;font-weight:700}
.bd-abl button{border:1px dashed rgba(255,255,255,.3);background:transparent;color:#A9B7C6;border-radius:12px;padding:6px 12px;font:700 15px Cairo,sans-serif;cursor:pointer;text-decoration:line-through}
/* v1039 option sheets: selected = teal, not red */
html body:not(#a):not(#b) .cf3-o.on{border-color:var(--tl)!important;box-shadow:0 0 0 1px var(--tl) inset!important}
html body:not(#a):not(#b) .cf3-o .cf3-ck{color:var(--tl)!important}
html body.wide:not(.dark):not(#a):not(#b) .cf3-o.on{border-color:var(--tm)!important;box-shadow:0 0 0 1px var(--tm) inset!important}
html body.wide:not(.dark):not(#a):not(#b) .cf3-o .cf3-ck{color:var(--tm)!important}
/* v1040 teams screen: no overflow with 3-4 teams, sticky start button */
html body:not(#a):not(#b) .bd .bd-teams.bd-t2{flex:none!important;min-height:0;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}
html body:not(#a):not(#b) .bd .bd-teams.bd-t2[data-n="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>div:not(.bd-sw){overflow:visible!important}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>b{flex-wrap:nowrap;min-width:0}
html body:not(#a):not(#b) .bd .bd-t2 .bd-tm>b .bd-tname{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body:not(#a):not(#b) .bd .bd-teams.bd-t2:is([data-n="3"],[data-n="4"]) .bd-tm>b{font-size:clamp(17px,2vw,24px);padding:10px 14px}
html body:not(#a):not(#b) .bd .bd-teams.bd-t2:is([data-n="3"],[data-n="4"]) .bd-nm{font-size:clamp(14px,1.4vw,17px);padding:8px 10px}
html body:not(#a):not(#b) .bd .bd-teams.bd-t2:is([data-n="3"],[data-n="4"]) .bd-tm>div:not(.bd-sw){gap:8px;padding:14px}
html body:not(#a):not(#b) .bd .bd-go{position:sticky;bottom:0;z-index:30;margin-top:auto;padding:14px 0 max(14px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(22,80,92,0),rgba(14,34,86,.92) 40%)}
@media (max-width:600px){html body:not(#a):not(#b) .bd .bd-teams.bd-t2,html body:not(#a):not(#b) .bd .bd-teams.bd-t2[data-n="3"]{grid-template-columns:1fr}}
@media (min-width:880px) and (orientation:landscape){html body:not(#a):not(#b) .bd .bd-teams.bd-t2[data-n="4"]{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}html body:not(#a):not(#b) .bd .bd-teams.bd-t2[data-n="4"] .bd-pen{width:32px;height:32px}}
@media (max-height:700px) and (orientation:landscape){html body:not(#a):not(#b) .bd .bd-th .bd-sub{display:none}html body:not(#a):not(#b) .bd .bd-tt .bd-h{font-size:28px}}
@media (min-width:880px) and (orientation:landscape){html body:not(#a):not(#b) .bd .bd-teams.bd-t2[data-n="4"] .bd-tm>b{font-size:17px;gap:6px;padding:10px}html body:not(#a):not(#b) .bd .bd-teams.bd-t2[data-n="4"] .bd-col{width:24px;height:24px;border-width:2px}html body:not(#a):not(#b) .bd .bd-teams.bd-t2[data-n="4"] .bd-pen{width:28px;height:28px}html body:not(#a):not(#b) .bd .bd-teams.bd-t2[data-n="4"] .bd-tm>b small{min-width:30px;height:30px;font-size:14px}}
@media (min-width:880px) and (orientation:landscape){html body:not(#a):not(#b) .bd .bd-teams.bd-t2[data-n="4"] .bd-tm>b{font-size:15px;padding:10px 8px;gap:5px}}
/* v1041 centered windows on new-challenge / challenge screens */
html body:not(#a):not(#b) .modal-back.mc{align-items:center;padding:16px}
html body:not(#a):not(#b) .modal-back.mc .modal{border-radius:24px;max-height:86vh;animation:mcIn .2s ease-out}
html body:not(#a):not(#b) .modal-back.mc .modal::before{display:none}
@keyframes mcIn{from{opacity:0;transform:scale(.94)}}
html body:not(#a):not(#b) .modal-back.mc .np-sub{min-height:44px;padding:0 18px;color:#A9B7C6}
html body:not(#a):not(#b) .np-ok{color:var(--tl)}
/* v1042 teacher login main button navy (no red) */
html body:not(#a):not(#b) .ta form .btn[type="submit"]{background:var(--n6)!important;box-shadow:0 5px 0 var(--n1)!important;color:#fff!important;border:0!important}
html body.wide:not(#a):not(#b) .ta .btn[type=submit]:not(#z):not(#y),html body:not(#a):not(#b) .ta .btn[type=submit]:not(#z):not(#y){background:var(--n6)!important;box-shadow:0 5px 0 var(--n1)!important;color:#fff!important;border:0!important}
/* v1043 confirm dialogs: main button navy for every role (no red) */
html body:not(#a):not(#b) .dlg .dlg-a button:is(.dng,.pri):not(#z){background:var(--n6)!important;box-shadow:0 5px 0 var(--n1)!important;color:#fff!important;border:0!important}
/* v1045 (Khalid «الصف ذايب في الخلفية»): list view cards stand out like the other home views */
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .hcs.hv-list{background:#1C3F5E!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 10px 28px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.07)!important}
/* v1046 (Khalid «نوضح الصفوف»): classes list card same lifted navy as the home list */
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .cg-l{background:#1C3F5E!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 10px 28px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.07)!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .cg-l .sw-main.cg-r{background:#1C3F5E!important}
/* v1047 (Khalid «الزر مو ثابت»): iOS ignored sticky inside the scrolling board, pin «ابدأ اللعبة» to the screen bottom */
html body:not(#a):not(#b):not(#c) .bd .bd-go{position:fixed;left:0;right:0;bottom:0;z-index:40;margin:0;padding:18px 16px max(16px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(14,34,86,0),rgba(14,34,86,.94) 38%)}
html body:not(#a):not(#b):not(#c) .bd:has(.bd-go){padding-bottom:calc(120px + env(safe-area-inset-bottom))!important}
/* v1048 board v2: draw, lifelines, rolling scores */
html body:not(#a):not(#b):not(#c) .bd .bd-draw{gap:18px}
html body:not(#a):not(#b):not(#c) .bd .bd-draw small{font-size:clamp(15px,1.8vw,20px);font-weight:800;color:var(--tl)}
html body:not(#a):not(#b):not(#c) .bd .bd-draw h2{font-size:clamp(32px,5vw,58px);min-height:1.3em}
html body:not(#a):not(#b):not(#c) .bd .bd-dr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%;max-width:760px}
html body:not(#a):not(#b):not(#c) .bd .bd-dr[data-n="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
html body:not(#a):not(#b):not(#c) .bd .bd-drn{padding:22px 12px;border-radius:22px;font-size:clamp(20px,2.8vw,32px);font-weight:900;color:#fff;background:color-mix(in srgb,var(--c) 22%,#0E2256);border:2px solid color-mix(in srgb,var(--c) 55%,transparent);opacity:.55;transition:transform .12s,opacity .12s,box-shadow .12s}
html body:not(#a):not(#b):not(#c) .bd .bd-drn.on,html body:not(#a):not(#b):not(#c) .bd .bd-drn.win{opacity:1;transform:scale(1.07);background:var(--c);box-shadow:0 0 0 4px rgba(255,255,255,.3),0 0 34px color-mix(in srgb,var(--c) 70%,transparent)}
html body:not(#a):not(#b):not(#c) .bd .bd-drn.win{animation:bdWin .7s ease-out}
@keyframes bdWin{0%{transform:scale(1)}40%{transform:scale(1.18)}100%{transform:scale(1.07)}}
html body:not(#a):not(#b):not(#c) .bd .bd-ll{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:14px}
html body:not(#a):not(#b):not(#c) .bd .bd-ll button{display:flex;align-items:center;gap:8px;min-height:52px;padding:8px 18px;border-radius:16px;border:1px solid color-mix(in srgb,var(--tl) 45%,transparent);background:color-mix(in srgb,var(--tl) 12%,transparent);color:#fff;font:800 clamp(15px,1.7vw,19px) inherit;font-family:inherit;cursor:pointer}
html body:not(#a):not(#b):not(#c) .bd .bd-ll button i{font-style:normal;font-size:1.3em}
html body:not(#a):not(#b):not(#c) .bd .bd-ll button:disabled{opacity:.3;cursor:default;text-decoration:line-through}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-opt.cut{visibility:hidden!important;pointer-events:none}
html body:not(#a):not(#b):not(#c) .bd .bd-fb .ll{color:var(--tl)}
html body:not(#a):not(#b):not(#c) .bd .bd-sc em{display:inline-block}
html body:not(#a):not(#b):not(#c) .bd .bd-sc.gain em{animation:bdGain 1.3s ease-out}
@keyframes bdGain{0%{transform:scale(1)}25%{transform:scale(1.45);color:#fff}55%{transform:scale(.95)}100%{transform:scale(1)}}
/* v1048 (Khalid): right-side teams keep their score at the far right edge, left-side teams at the far left */
html body:not(#a):not(#b):not(#c) .bd .bd-sc.r{flex-direction:row-reverse}
/* v1048 (Khalid): score = a big circle with the team-name ribbon coming out of it */
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc{background:none!important;box-shadow:none!important;padding:0!important;min-height:0!important;gap:0;align-items:center;justify-content:flex-start;animation:none}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc::after{display:none}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc span{flex:1;min-width:0;height:clamp(48px,6vw,62px);display:flex;align-items:center;padding-inline:clamp(14px,1.6vw,22px) calc(clamp(14px,1.6vw,22px) + 30px);border-radius:99px;background:linear-gradient(180deg,color-mix(in srgb,var(--c) 88%,#fff),var(--c) 50%,color-mix(in srgb,var(--c) 72%,#000));box-shadow:inset 0 2px 0 rgba(255,255,255,.35),0 5px 0 color-mix(in srgb,var(--c) 45%,#000),0 10px 18px rgba(0,0,0,.3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc.r span{padding-inline:calc(clamp(14px,1.6vw,22px) + 30px) clamp(14px,1.6vw,22px);justify-content:flex-end}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc em{display:grid;place-items:center;flex:none;width:clamp(76px,9vw,104px);height:clamp(76px,9vw,104px);min-width:0;padding:0;border-radius:50%;margin-inline-start:-30px;background:radial-gradient(circle at 50% 35%,#0E2256,var(--n0) 70%);color:#FFD54A;font-style:normal;font-size:clamp(32px,4.2vw,50px);border:clamp(5px,.6vw,7px) solid var(--c);box-shadow:0 6px 0 color-mix(in srgb,var(--c) 45%,#000),0 12px 24px rgba(0,0,0,.4),inset 0 3px 8px rgba(0,0,0,.5);z-index:2}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc.r em{margin-inline:0 -30px}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc.turn em{animation:bdTurn2 1.6s ease-in-out infinite}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc.turn.gain em{animation:bdGain 1.3s ease-out,bdTurn2 1.6s ease-in-out 1.3s infinite}
@keyframes bdTurn2{0%,100%{box-shadow:0 6px 0 color-mix(in srgb,var(--c) 45%,#000),0 0 0 0 color-mix(in srgb,var(--c) 70%,transparent),inset 0 3px 8px rgba(0,0,0,.5)}50%{box-shadow:0 6px 0 color-mix(in srgb,var(--c) 45%,#000),0 0 30px 8px color-mix(in srgb,var(--c) 70%,transparent),inset 0 3px 8px rgba(0,0,0,.5)}}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc.turn::before{top:-14px;left:50%}
@media (max-width:600px){html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc em{width:62px;height:62px;font-size:26px;border-width:4px;margin-inline-start:-22px}html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc.r em{margin-inline:0 -22px}html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc span{height:44px;font-size:14px;padding-inline:10px 28px}html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc.r span{padding-inline:28px 10px}}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-top:has(.bd-sc:nth-child(3)) .bd-sc em{width:clamp(60px,6.4vw,80px);height:clamp(60px,6.4vw,80px);font-size:clamp(24px,3vw,36px);border-width:5px}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-top:has(.bd-sc:nth-child(3)) .bd-sc span{font-size:clamp(14px,1.7vw,20px);height:clamp(42px,5vw,52px)}
@media (max-width:879px){html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-top:has(.bd-sc:nth-child(4)){display:grid;grid-template-columns:1fr 1fr;row-gap:12px}}
@media (max-width:600px){html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-top:has(.bd-sc:nth-child(3)):not(:has(.bd-sc:nth-child(4))){display:grid;grid-template-columns:1fr 1fr;row-gap:12px}html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-top:has(.bd-sc:nth-child(3)) .bd-sc em{width:54px;height:54px;font-size:22px;border-width:4px}html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-top:has(.bd-sc:nth-child(3)) .bd-sc span{font-size:14px;height:40px}}

/* 4 teams in a 2x2 grid: right column scores on the right edge, left column on the left */
@media (max-width:879px){html body:not(#a):not(#b):not(#c):not(#d):not(#e) .bd .bd-top:has(.bd-sc:nth-child(4)) .bd-sc:nth-child(odd){flex-direction:row-reverse}html body:not(#a):not(#b):not(#c):not(#d):not(#e) .bd .bd-top:has(.bd-sc:nth-child(4)) .bd-sc:nth-child(odd) em{margin-inline:0 -22px}html body:not(#a):not(#b):not(#c):not(#d):not(#e) .bd .bd-top:has(.bd-sc:nth-child(4)) .bd-sc:nth-child(odd) span{padding-inline:30px 10px;justify-content:flex-end}html body:not(#a):not(#b):not(#c):not(#d):not(#e) .bd .bd-top:has(.bd-sc:nth-child(4)) .bd-sc:nth-child(even){flex-direction:row}html body:not(#a):not(#b):not(#c):not(#d):not(#e) .bd .bd-top:has(.bd-sc:nth-child(4)) .bd-sc:nth-child(even) em{margin-inline:-22px 0}html body:not(#a):not(#b):not(#c):not(#d):not(#e) .bd .bd-top:has(.bd-sc:nth-child(4)) .bd-sc:nth-child(even) span{padding-inline:10px 30px;justify-content:flex-start}}
@media (max-width:600px){html body:not(#a):not(#b):not(#c):not(#d):not(#e) .bd .bd-top:has(.bd-sc:nth-child(3)):not(:has(.bd-sc:nth-child(4))) .bd-sc:nth-child(3){grid-column:1/-1;justify-self:center;width:55%}}
/* v1049 (Khalid): no «دوركم» tag; the team whose turn it is glows (ribbon + circle), the others go dim */
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .bd .bd-sc.turn::before{display:none}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .bd .bd-top:has(.turn) .bd-sc:not(.turn){filter:grayscale(.75) brightness(.55);opacity:.7;transform:scale(.95)}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .bd .bd-sc.turn{transform:scale(1.05);filter:none;opacity:1}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .bd .bd-sc.turn span{animation:bdGlowR 1.6s ease-in-out infinite}
@keyframes bdGlowR{0%,100%{box-shadow:inset 0 2px 0 rgba(255,255,255,.45),0 5px 0 color-mix(in srgb,var(--c) 45%,#000),0 0 10px 2px color-mix(in srgb,var(--c) 55%,transparent)}50%{box-shadow:inset 0 2px 0 rgba(255,255,255,.45),0 5px 0 color-mix(in srgb,var(--c) 45%,#000),0 0 34px 10px color-mix(in srgb,var(--c) 75%,transparent)}}
/* v1051 lifelines: line icons in teal, 50:50 badge */
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-ll button svg{width:26px;height:26px;color:var(--tl);flex:none}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-ll button .bd-ff{font-style:normal;font-size:14px;font-weight:900;color:var(--n0);background:var(--tl);border-radius:8px;padding:3px 6px;letter-spacing:.5px;direction:ltr}
html body:not(#a):not(#b):not(#c):not(#d) .bd .bd-ll button:disabled{text-decoration:none;opacity:.28}
/* v1052 board time bar: smooth, green → yellow → red */
html body:not(#a):not(#b):not(#c) .bd .bd-ring{--bc:#30D158;background:linear-gradient(to left,var(--bc) calc(var(--p)*1%),#16336E 0);box-shadow:0 0 14px color-mix(in srgb,var(--bc) 55%,transparent);transition:--bc .4s}
html body:not(#a):not(#b):not(#c) .bd .bd-ring[data-c="y"]{--bc:#FFD60A}
html body:not(#a):not(#b):not(#c) .bd .bd-ring[data-c="r"]{--bc:#FF453A;animation:bdHurry .5s ease-in-out infinite alternate}
html body:not(#a):not(#b):not(#c) .bd .bd-ring[data-c="r"] b{color:#FF6B61}
@keyframes bdHurry{to{box-shadow:0 0 26px color-mix(in srgb,var(--bc) 80%,transparent)}}
/* v1056 wheels: snap to the middle band (the first two items were unreachable), inline wheel under the tapped row */
.np-list{scroll-padding-top:88px}
html body:not(#a):not(#b) .np-inl{overflow:hidden;max-height:0;opacity:0;transition:max-height .22s ease,opacity .2s;padding:0 12px}
html body:not(#a):not(#b) .np-inl.in{max-height:300px;opacity:1}
html body:not(#a):not(#b) .np-inl .np-wheel{margin:4px 0}
html body:not(#a):not(#b) .np-inl .np-band{background:color-mix(in srgb,var(--tl) 14%,transparent);border:1px solid color-mix(in srgb,var(--tl) 35%,transparent)}
html body:not(#a):not(#b) .np-inl .np-i{color:#8FA6B8}html body:not(#a):not(#b) .np-inl .np-i.on{color:#fff;font-weight:800}
html body:not(#a):not(#b) .np-inl .np-sub{padding:0 0 12px;color:#9FB3C4}
html body.wide:not(.dark):not(#a):not(#b) .np-inl .np-i{color:#7A8C99}html body.wide:not(.dark):not(#a):not(#b) .np-inl .np-i.on{color:var(--n1)}html body.wide:not(.dark):not(#a):not(#b) .np-inl .np-sub{color:#5B7A93}
.np-open .set-val,.np-open .nw-v,.np-open #cf3-dv{color:var(--tl)!important}
/* v1057 accordion headers: chevron on the left opens/closes the section in place */
html body:not(#a):not(#b):not(#c) .nw-set1.acc .acc-ch{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--tl) 14%,transparent);color:var(--tl);font-style:normal;transition:transform .25s ease}
html body:not(#a):not(#b):not(#c) .nw-set1.acc.open .acc-ch{transform:rotate(180deg)}
html body:not(#a):not(#b):not(#c) .nw-set1.acc small{white-space:normal;line-height:1.5}
html body:not(#a):not(#b):not(#c) .nw-set1.acc.open{margin-bottom:8px}
/* v1060: the first screen's rays (.lg-rays::before, 220vmax) made the page ~165px taller, so it could be dragged up and hide the logo */
html body .sh.sl{overflow:hidden;overflow:clip}
/* v1061: new-badge popup (bgWin) in Night Sea colours — no red (Khalid) */
html body .bg2-win{background:rgba(6,16,56,.94)}
html body .bg2-win .bg2-c{background:var(--n5);border:1px solid rgba(255,255,255,.08)}
html body .bg2-win .bg2-glow{background:radial-gradient(circle,color-mix(in srgb,var(--tl) 38%,transparent),#0E2256 70%)}
html body .bg2-win .bg2-sh{background:#0E2256;border:0}
html body .bg2-win .bg2-two .g{background:#0E2256;color:#F5F7FA}
html body .bg2-win .bg2-two .r{background:var(--n6);box-shadow:0 5px 0 var(--n1);color:#fff}
html body .bg2-win .bg2-dots i.on{background:var(--tl)}
html body .bg2-win .bg2-c small{display:block;margin-bottom:12px}
/* v1059 (Khalid «تعديل التحدي مو نفس التصميم المعتمد»): edit-challenge duration tiles match new-challenge nw-days */
html body.wide:not(#a):not(#b):not(#c):not(#d) .ce1 .cf2-dur button{border:0!important;box-shadow:none!important;border-radius:16px!important;min-height:58px;font:800 17px 'Cairo',system-ui,sans-serif}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ce1 .cf2-dur button:not(.on){background:var(--n1)!important;color:#fff!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d) .ce1 .cf2-dur button:not(.on){background:#fff!important;color:var(--n0)!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ce1 .cf2-dur button.on{background:var(--n6)!important;color:#fff!important}
html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d) .ce1 .cf2-dur button.on{background:var(--n1)!important;color:#fff!important}
html body.wide:not(#a):not(#b):not(#c):not(#d) .ce1 .cf2-end{font-size:14px;margin-top:-2px}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ce1 .cf2-end{color:#AEBDCB!important}
/* v1059 (Khalid «الايفون دو أفقي زر الرجوع لا يعمل في المناهج»): the islands layer (.ar-orb, pulled up in landscape) covered the back button */
.wd-top{position:relative;z-index:7}
/* v1065 (Khalid «التقرير ثيم قديم»): student report PDF in the navy/teal/gold theme */
.rp4-pg{background:#fff}
.rp4-hd{background:linear-gradient(100deg,var(--n0),var(--n1))}
.rp4-hd h1{color:#fff}.rp4-dt,.rp4-hd small{color:#BFD3E2;opacity:1}
.rp4-hd::after{content:"";position:absolute;top:100px;left:0;right:0;height:4px;background:linear-gradient(90deg,#E8B33A,var(--tm))}
.rp4-card{border-color:#E1E8EF;background:#fff}
.rp4-ini{background:#E2F3F4;color:var(--tm)}
.rp4-ring b,.rp4-who b,.rp4-kpi b{color:var(--n0)}
.rp4-who small,.rp4-ring small,.rp4-kpi small,.rp4-top>small,.rp4-ax,.rp4-chips small,.rp4-sig div,.rp4-ft{color:#6B7C8F}
.rp4-leg{color:#4A5B6E}.rp4-leg i.ln,.rp4-br .tr u{background:var(--n0)}
.rp4-br .tr{background:#EDF2F6}
.rp4-wh{color:var(--n1)}
.rp4-wrow .l{color:var(--tm)}
.rp4-chips span.g{background:#E3F4EA}.rp4-chips span.r{background:#FCE8EA}
.rp4-sig div{border-color:#B9C6D3}.rp4-ft{border-color:#E1E8EF}
.rp4-pg h2{color:var(--n0)}
.rp4-pg{color:var(--n0)}
.rp4-hd{gap:20px}
.rp4-lg{display:flex;align-items:center;gap:6px;flex:none}
.rp4-lg .m{width:104px;margin:-6px 0;height:auto;filter:drop-shadow(0 3px 8px rgba(0,0,0,.35))}
.rp4-lg .w{width:176px;height:auto}
.rp4-hd{position:relative}.rp4-lg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.rp4-lg .m{width:86px}.rp4-lg .w{width:146px}
.rp4-lg{position:static;transform:none}.rp4-lg .m{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:104px;margin:0}.rp4-lg .w{width:176px}
.rp4-lg{position:absolute;inset:0;transform:none;display:flex;justify-content:space-between;align-items:center;padding:0 30px}.rp4-lg .m{position:static;transform:none;width:96px}.rp4-hd .grow{position:relative;z-index:1;text-align:center;flex:1}
/* lockup together on the left, title on the right (Khalid «نجرب») */
.rp4-lg{position:static;inset:auto;padding:0;justify-content:flex-start;gap:4px;flex:none}.rp4-lg .m{width:70px}.rp4-lg .w{width:132px}.rp4-hd .grow{text-align:right;flex:1}
.rp4-lg{gap:0}.rp4-lg .w{margin-right:-8px}
.rp4-lg .m{width:100px;margin:-10px 0}
/* stacked lockup: wordmark under the 60s mark (Khalid) */
.rp4-hd{height:112px}.rp4-hd::after{top:112px}.rp4-lg{flex-direction:column;gap:0}.rp4-lg .m{width:92px;margin:-6px 0 -10px}.rp4-lg .w{width:128px;margin:0}
.rp4-lg{align-self:flex-end;margin-bottom:5px}.rp4-lg .m{margin:0 0 -10px}
/* about page islands demo (#/p/kw) */
body.kwd .s-nav, body.kwd .s-top, body.kwd .ps-btn { display: none !important; }
.kwd-cta { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 14px auto 6px; padding: 14px 18px; width: min(100%, 340px); box-sizing: border-box; border-radius: 18px; text-decoration: none; text-align: center;
  background: linear-gradient(180deg, #F5B72B, #E09A12); color: var(--n0); box-shadow: 0 5px 0 #A86F05; }
.kwd-cta b { font-size: 18px; font-weight: 800; }
.kwd-cta small { font-size: 13px; color: #3A2A05; }

/* about page demo: the framed app never rubber-bands */
html.embed, html.embed body, html.embed #app { overscroll-behavior: none; }
html.embed body.ar-lock #app { overflow: hidden; }

/* v-solo→class: carry progress sheet + «عندك رمز صف؟» row */
.jn-so h3 { margin: 0 0 4px; }
.jn-so-c { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: 16px; background: color-mix(in srgb,var(--tl) 10%,transparent); border: 1px solid color-mix(in srgb,var(--tl) 35%,transparent); margin: 4px auto 6px; }
.jn-so-c b { font-size: 20px; font-weight: 800; }
.jn-so-c small { color: #9FB3C4; }
.so-join { display: flex; align-items: center; gap: 10px; width: 100%; margin: 12px 0 4px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(245,183,43,.45); background: rgba(245,183,43,.08); color: inherit; text-align: right; font: inherit; }
.so-join .grow { display: flex; flex-direction: column; gap: 2px; }
.so-join b { font-size: 17px; font-weight: 800; color: #F5B72B; }
.so-join small { color: #9FB3C4; }
/* v1086: the tapped answer shows at once while the server checks it */
.opt.sent{outline:2px solid rgba(255,255,255,.85);outline-offset:-2px;animation:optsent .6s ease-in-out infinite alternate}
@keyframes optsent{from{opacity:1}to{opacity:.7}}
/* v1088 class chips on a multi-class challenge page */
.ch-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0}
.ch-chip{flex:0 0 auto;min-width:64px;border:1px solid var(--line,rgba(127,127,127,.3));background:transparent;color:inherit;border-radius:14px;padding:7px 14px;font:inherit;text-align:center;cursor:pointer}
.ch-chip b{display:block;font-size:15px}.ch-chip small{display:block;color:var(--muted);font-size:12px;font-weight:700}
.ch-chip.on{border-color:var(--tl)}.ch-chip.on b{color:var(--tl)}
.ch-chips{margin:4px 0 8px}
/* v1091 student theme fixes (Khalid review 2026-12-03): navy + gold instead of red/black/grey */
html body:not(.wide):not(#a):not(#b):not(#c) .cin-n[data-n]{color:#F5C451!important;text-shadow:0 0 36px rgba(245,196,81,.4)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .cin-t{background:rgba(16,40,62,.85)!important;border:1px solid var(--n3)!important;color:#fff!important}
html body[data-theme]:not(#a):not(#b):not(#c) .play.pv.pvx .pv-pill{background:rgba(14,25,56,.9)!important;border:1px solid var(--n3)!important;box-shadow:none!important;color:#fff!important}
html body[data-theme]:not(#a):not(#b):not(#c) .play.pv.pvx.cr .pv-pts{background:rgba(14,25,56,.9)!important;border:1.5px solid #F5C451!important;border-radius:999px!important;color:#F5C451!important}
html body:not(#a):not(#b):not(#c) .bg2-next .bg2-md::before{background:color-mix(in srgb,var(--tl) 18%,transparent)!important}
html body:not(#a):not(#b):not(#c) .bg2-next .bg2-md::after{background:radial-gradient(var(--n1),var(--n0))!important}
.bg2-md .ico{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html body:not(.wide):not(#a):not(#b):not(#c) .modal .btn.soft{background:var(--n1)!important;color:#fff!important;border:1px solid var(--n3)!important;box-shadow:none!important}
html body:not(.wide):not(#a):not(#b):not(#c) .lbx-zero{background:rgba(16,40,62,.85);border:1px solid var(--n3)}
html body:not(.wide):not(#a):not(#b):not(#c) .input.jn-in{background:color-mix(in srgb,var(--n0) 70%,transparent)!important;border:1px solid var(--n3)!important;color:#fff!important;box-shadow:none!important;outline:0!important}
html body:not(.wide):not(#a):not(#b):not(#c) .input.jn-in:focus{border-color:var(--tl)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--tl) 22%,transparent)!important}
html body:not(.wide):not(#a):not(#b):not(#c) .jn-h .logo,html body:not(.wide):not(#a):not(#b):not(#c) .jn-h .logo img{box-shadow:0 10px 28px rgba(0,0,0,.4)!important;filter:none!important}
html body[data-theme]:not(#a):not(#b):not(#c) .play.pv.pvx.cr .pv-pts{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F5C451' d='M12 2l3 6.5 7 .8-5.2 4.8 1.4 7L12 17.6 5.8 21.1l1.4-7L2 9.3l7-.8z'/%3E%3C/svg%3E") 10px 50%/16px 16px no-repeat,rgba(14,25,56,.9)!important}
.rp2-key .k-few{background:#8E8E93}
/* v1094 challenge host (Ibn Sina) */
.hs-line{display:flex;gap:10px;align-items:center;margin:0 0 14px;text-align:start}
.hs-av{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #F5C451;background:var(--n1);flex:none}
.hs-say{flex:1;min-width:0;background:#F2F6FA;color:#10263B;border-radius:16px;padding:9px 13px;font-size:15px;font-weight:700;line-height:1.55;position:relative}
.hs-say b{color:#C8102E}
.hs-say::before{content:"";position:absolute;top:50%;right:-6px;margin-top:-6px;border:6px solid transparent;border-right:0;border-left-color:#F2F6FA}
.ci-hs{margin:6px 16px 0;padding:0;position:relative;z-index:2}
.ci-hs .hs-line{margin:0}
.ci-hs .hs-say{font-size:14px}
.hw-r{display:flex;gap:12px;align-items:flex-start;text-align:start}
.hw-av{width:64px;height:64px}
.hw-n{margin:0 0 6px;font-size:13px;color:#F5C451;font-weight:700}
.hw .hs-say{font-size:16px}
.hw .hs-say::before{top:22px}
.hw-f{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 0}
.hw-f>div{background:var(--n1);border-radius:14px;padding:9px 6px;text-align:center;font-size:13px;color:var(--n7)}
.hw-f b{display:block;font-size:19px;color:#F2F6FA}
.hw-pz{margin:12px 0 0;text-align:center;color:#F5C451;font-size:14px;font-weight:700}
.hw .btn{margin-top:16px}
/* v1098 app update window */
.upd h3{margin:6px 0 4px}
.upd .sub{margin:6px 0 20px!important}
.upd-lg{width:130px;display:block;margin:-4px auto -12px;-webkit-mask-image:radial-gradient(farthest-side,#000 78%,transparent);mask-image:radial-gradient(farthest-side,#000 78%,transparent)}
.upd-b{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.upd-b .btn{margin:0;text-decoration:none;display:flex;align-items:center;justify-content:center}
/* v1101 send code: 3 ways in place of the button */
.st1-snd{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.st1-snd.two{grid-template-columns:1fr 1fr}
.st1-snd .st1-o{min-height:84px}.st1-snd .st1-o .ico{width:26px;height:26px}
.ar-me3 .ar-lvb .r2 small{display:inline-flex;align-items:center;gap:4px}.ar-me3 .ar-lvb .r2 small .ico{width:14px;height:14px;color:#F5C542}
html body .ar .ar-me3{position:relative;z-index:6}

/* v1106 island station dots under the name in every world */
.ar-onm .kw-st{display:flex;gap:7px;justify-content:center;flex-wrap:wrap;margin:6px auto 2px;max-width:300px}.ar-onm .kw-st i{width:12px;height:12px;border-radius:50%;background:#2C2C2E;border:2px solid #F5C542}.ar-onm .kw-st i.f{background:#F5C542}.ar-onm .kw-st i.n{background:#C8102E;border-color:#fff;box-shadow:0 0 8px #C8102E}
/* v1107 device status line on the student card */
.st1 .st1-dv{display:block;margin:-4px 0 12px;font-size:14px;font-weight:700;color:#8E8E93}.st1 .st1-dv.on{color:#30D158}
/* v1108 class search + filters */
.cl-srch{margin:4px 0 14px}.cl-srch input{width:100%;box-sizing:border-box;height:46px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:inherit;font:inherit;font-size:16px;padding:0 14px}
body.wide:not(.dark) .cl-srch input{background:#fff;border-color:#D1D1D6}
.cl-flt{display:flex;gap:8px;margin-top:10px;overflow-x:auto;scrollbar-width:none}.cl-flt button{flex:none;border:1px solid rgba(127,127,127,.35);background:transparent;color:inherit;font:inherit;font-size:14px;font-weight:700;border-radius:999px;padding:7px 14px;cursor:pointer}
.cl-flt button.on{background:#C8102E;border-color:#C8102E;color:#fff}
#cl-res{display:flex;flex-direction:column;gap:8px;margin-top:10px}#cl-res:empty{display:none}.cl-rn{color:#8E8E93;font-size:13px;font-weight:700}
.cl-hit{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:start;border:1px solid rgba(127,127,127,.25);background:rgba(127,127,127,.08);color:inherit;font:inherit;border-radius:14px;padding:12px 14px;cursor:pointer}.cl-hit b{font-size:16px;min-width:0}.cl-hit small{flex:none;color:#8E8E93;font-weight:700}
/* v1109 join screen: logo without the app-icon square, rays behind (like the first screen) */
html body:not(#a):not(#b):not(#c):not(#d) .jn-h .jn-lg{display:flex;justify-content:center;padding:6px 0 2px}
html body:not(#a):not(#b):not(#c):not(#d) .jn-h .jn-lg img.lg{width:58%!important;max-width:240px!important;height:auto!important;max-height:none!important;margin:0 auto!important}
html body:not(#a):not(#b):not(#c):not(#d) .jn-h .jn-lg{width:100%}
/* v1110 join names: navy tiles like the app cards */
html body .jn-names .jn-n{background:var(--n1);border:1px solid rgba(120,175,230,.35);color:#fff;box-shadow:0 3px 0 #0C2233}
html body .jn-names .jn-n:active{background:var(--n6);transform:translateY(2px);box-shadow:0 1px 0 #0C2233}
/* v1111: no sideways page offset after the screen gets wider */
html{overflow-x:clip}body{overflow-x:clip}
/* v1112 study mode sheet: same tiles as the grade picker (.wd-gb) */
.st-sh .wd-g4.st-g3{grid-template-columns:repeat(3,1fr);margin-top:10px}
.st-sh .wd-gb.soon{opacity:.4;cursor:default}
.st-sh .st-row{flex-direction:row;justify-content:space-between;gap:10px;width:100%;margin-top:8px;padding:12px 14px;font-size:15px;text-align:start}
.st-sh .st-row b{font-size:inherit;line-height:inherit;color:var(--tl)}
.st-sh .st-row small{flex-shrink:0;color:#8E8E93;font-size:13px;font-weight:600}
.st-sh .st-ls{max-height:46vh;overflow:auto;margin:4px 0 14px}
.st-sh .btn{width:100%}
/* v1113 (Khalid «باهت الخط»): join screen class line and help lines readable */
html body:not(#a):not(#b) .jn-h p{color:#E6EEF5!important;font-weight:600}
html body:not(#a):not(#b) .jn-h p b{color:var(--tl)!important}
html body:not(#a):not(#b) .jn-ask{color:#C9D6E0!important;font-size:15px;font-weight:600}
html body:not(#a):not(#b) .jn-back{color:var(--tl)!important;font-size:15px;font-weight:700}
/* v1116 study switch «تحدي | مذاكرة» + one line under the subject name + lesson tiles */
.ar-cw{position:relative}
.ar-cw .cw-seg{position:absolute;left:0;right:0;margin:0 auto;width:220px;display:flex;background:color-mix(in srgb,var(--n0) 70%,transparent);border:1px solid color-mix(in srgb,var(--tl) 30%,transparent);border-radius:999px;padding:4px;z-index:120}
.ar-cw .cw-seg button{flex:1;border:0;background:none;padding:7px 0;border-radius:999px;font:inherit;font-size:15px;font-weight:700;color:#C9D6E0;cursor:pointer}
.ar-cw .cw-seg button.on{background:var(--n6);color:#fff}
.cw-sl{display:flex;align-items:center;justify-content:center;gap:10px;margin:8px auto 0;font-size:15px;font-weight:700;color:#E6EEF5;position:relative;z-index:5}
.cw-sl .ar2{width:30px;height:30px;border-radius:50%;border:1px solid color-mix(in srgb,var(--tl) 40%,transparent);background:none;display:grid;place-items:center;color:var(--tl);font:inherit;font-size:18px;line-height:1;cursor:pointer;padding:0}
.cw-sl .ls{padding:6px 14px;border:0;border-radius:999px;background:color-mix(in srgb,var(--tl) 14%,transparent);color:#E6EEF5;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.st-sh .st-tl{max-height:56vh;overflow:auto}
.st-sh .st-tl .wd-gb{font-size:15px;padding:14px 10px;min-height:64px;justify-content:center}
/* v1119 study window: grade circles + lesson tiles with ✓ */
.st-sh .st-gc{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:12px 0 4px}
.st-sh .st-gc button{width:46px;height:46px;border-radius:50%;border:1px solid color-mix(in srgb,var(--tl) 35%,transparent);background:color-mix(in srgb,var(--n0) 60%,transparent);color:#E6EEF5;font:inherit;font-size:18px;font-weight:800;cursor:pointer;padding:0}
.st-sh .st-gc button.on{background:var(--n6);border-color:#F5B72B;color:#fff}
.st-sh .st-tl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 14px;max-height:46vh;overflow:auto}
.st-sh .st-tl .wd-gb{font-size:15px;padding:12px 8px;min-height:58px;justify-content:center;position:relative}
.st-sh .st-tl .wd-gb.all{grid-column:1/-1;min-height:48px}
.st-sh .st-tl .wd-gb.on:not(.all)::after{content:'✓';position:absolute;top:6px;left:8px;width:20px;height:20px;border-radius:50%;background:#F5B72B;color:var(--n0);font-size:13px;font-weight:900;display:grid;place-items:center}
.st-sh .st-gc button.more{font-size:22px;color:var(--tl);background:none}
/* v1121 stage tabs + named grade pills */
.st-sh .cw-seg.st-stg{display:flex;width:auto;max-width:300px;margin:12px auto 0;background:color-mix(in srgb,var(--n0) 70%,transparent);border:1px solid color-mix(in srgb,var(--tl) 30%,transparent);border-radius:999px;padding:4px}
.st-sh .cw-seg.st-stg button{flex:1;border:0;background:none;padding:7px 0;border-radius:999px;font:inherit;font-size:15px;font-weight:700;color:#C9D6E0;cursor:pointer}
.st-sh .cw-seg.st-stg button.on{background:var(--n6);color:#fff}
.st-sh .st-gc button{width:auto;height:40px;border-radius:999px;padding:0 14px;font-size:15px;font-weight:700}
/* v1125 Khalid «ليش صحين»: message badge on challenge rows = envelope icon (+ green ✓ when read), not a second lone ✓ */
.ch-mb svg{width:15px;height:15px;stroke:var(--muted);fill:none;stroke-width:2}.ch-mb.rd svg{stroke:#1FA971}
/* v1126 study result (Khalid «نفذ», preview study-result.png): host + bubble, gold stars, score, subject chip, navy buttons; no red ribbon */
.ar-pres .sr2{min-height:100dvh;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 22px 34px;text-align:center;box-sizing:border-box}
.sr2-av{width:104px;height:104px;border-radius:50%;padding:4px;background:linear-gradient(180deg,#F5D27A,#C9922B);box-shadow:0 0 34px rgba(245,183,43,.28)}
.sr2-av img{width:100%;height:100%;border-radius:50%;object-fit:cover;background:var(--n1);display:block}
.sr2-bub{position:relative;margin-top:16px;background:var(--n1);border:1px solid color-mix(in srgb,var(--tl) 30%,transparent);border-radius:18px;padding:11px 18px;font-size:17px;font-weight:700;color:#F5F7FA;max-width:300px;line-height:1.5}
.sr2-bub::before{content:'';position:absolute;top:-8px;left:50%;width:14px;height:14px;background:var(--n1);border-left:1px solid color-mix(in srgb,var(--tl) 30%,transparent);border-top:1px solid color-mix(in srgb,var(--tl) 30%,transparent);transform:translateX(-50%) rotate(45deg)}
.sr2-st{display:flex;gap:6px;justify-content:center;align-items:flex-end;margin:22px 0 2px}
.sr2-st img{width:46px;height:46px}.sr2-st img:nth-child(2){width:60px;height:60px;margin-bottom:8px}
.sr2-st img.off{filter:grayscale(1) brightness(.55);opacity:.45}
.sr2-sc{font-size:54px;font-weight:900;color:#F5B72B;line-height:1.1;direction:ltr;letter-spacing:-1px}
.sr2-sc small{font-size:28px;color:#B8CCD4;font-weight:800}
.sr2-l{color:#B8CCD4;font-size:15px;font-weight:700;margin-top:2px}
.sr2-chip{display:inline-flex;align-items:center;gap:8px;margin:16px 0 22px;padding:6px 14px 6px 8px;border-radius:99px;background:color-mix(in srgb,var(--n0) 55%,transparent);border:1px solid color-mix(in srgb,var(--tl) 22%,transparent);font-size:14px;font-weight:700;color:#E6EEF5;max-width:100%}
.sr2-chip img{width:30px;height:30px;object-fit:contain}
.sr2-b{width:100%;max-width:360px;display:flex;flex-direction:column;gap:10px}
.sr2-b .btn{width:100%;margin:0}
.sr2-bk{background:none;border:0;color:var(--tl);font:inherit;font-weight:700;font-size:15px;padding:10px;cursor:pointer}
/* v1129 islands open by questions known: bar under the island name + line on the result */
.ar-onm .kw-st:has(.ip-bar){display:flex;flex-direction:column;align-items:center;gap:4px;margin:6px auto 2px}
.ip-bar{display:block;width:190px;height:8px;border-radius:99px;background:rgba(245,247,250,.12);overflow:hidden}
.ip-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#F5B72B,#F5D27A)}
.ip-t{font-size:13px;font-weight:700;color:#C9D6E0}.ip-t b{color:#F5B72B}
.ip-new{margin:8px auto 4px;padding:6px 14px;border-radius:99px;background:color-mix(in srgb,var(--n0) 55%,transparent);border:1px solid color-mix(in srgb,var(--tl) 25%,transparent);color:#E6EEF5;font-size:14px;font-weight:700;text-align:center;max-width:340px;width:max-content}
.ip-new b{color:#F5B72B}
/* v1134 round music mute: bottom-right, mirrors the exit door */
html body .play.pv.pvx.ar-round:not(#a)>.ar-mu{position:absolute!important;top:auto!important;bottom:calc(env(safe-area-inset-bottom,0px) + 18px)!important;right:18px!important;left:auto!important;width:44px!important;height:44px!important;border-radius:50%!important;z-index:5;padding:0!important;display:grid!important;place-items:center!important;color:var(--tl)!important;background:var(--n1)!important;border:2px solid color-mix(in srgb,var(--tl) 45%,transparent)!important;box-shadow:0 4px 0 #0B1F2E,0 8px 14px rgba(0,0,0,.35)!important}
html body .play.pv.pvx.ar-round:not(#a)>.ar-mu svg{width:22px!important;height:22px!important}
html body .play.pv.pvx.ar-round:not(#a)>.ar-mu.off{color:#8FA3AE!important;border-color:rgba(184,204,212,.3)!important}
html body .play.pv.pvx.ar-round:not(#a)>.ar-mu:active{transform:translateY(3px)!important;box-shadow:0 1px 0 #0B1F2E!important}
/* v1140 read-aloud for young kids: speaker buttons, the answer being read lights up, the clock waits while reading */


html body .pv.pvx .opts .opt{position:relative}
html body[data-theme] .pv.pvx .opts .opt.rd{outline:4px solid #FFD54A!important;outline-offset:2px;transform:scale(1.04)}
html body .play.pv.pvx .ar-clk.qa-wait{opacity:.55}
html body[data-theme] .play.qa-kid .pv-panel .qbox>span{font-size:28px;line-height:1.7}
html body[data-theme] .play.qa-kid .opts .opt .txt{font-size:24px!important;line-height:1.5}

/* v1146 read-aloud (Khalid): one drawn icon, teal like the other round buttons; on = lit, off = dim */
html body .play.pv.pvx.ar-round:not(#a)>.qa-tg{position:absolute!important;top:auto!important;bottom:calc(env(safe-area-inset-bottom,0px) + 74px)!important;right:18px!important;left:auto!important;width:44px!important;height:44px!important;border-radius:50%!important;z-index:5;padding:0!important;display:grid!important;place-items:center!important;color:#5FF3F7!important;background:var(--n1)!important;border:2px solid var(--tl)!important;box-shadow:0 4px 0 #0B1F2E,0 0 14px color-mix(in srgb,var(--tl) 55%,transparent),0 8px 14px rgba(0,0,0,.35)!important}
html body .play.pv.pvx.ar-round.cr:not(#a)>.qa-tg{bottom:calc(env(safe-area-inset-bottom,0px) + 18px)!important}
html body .play.pv.pvx.ar-round:not(#a)>.qa-tg svg{width:24px!important;height:24px!important;filter:drop-shadow(0 0 4px rgba(95,243,247,.7))}
html body .play.pv.pvx.ar-round:not(#a)>.qa-tg.off{color:#5E7480!important;background:#0E1938!important;border-color:rgba(94,116,128,.45)!important;box-shadow:0 4px 0 #0B1F2E,0 8px 14px rgba(0,0,0,.35)!important}
html body .play.pv.pvx.ar-round:not(#a)>.qa-tg.off svg{filter:none}
html body .play.pv.pvx.ar-round:not(#a)>.qa-tg:active{transform:translateY(3px)!important;box-shadow:0 1px 0 #0B1F2E!important}
html body .pv.pvx .pv-panel .qbox .qa-spk,html body .pv.pvx .opts .opt .qa-o{position:absolute;top:auto;bottom:6px;left:6px;width:32px;height:32px;border-radius:50%;padding:0;display:grid;place-items:center;color:#5FF3F7;background:var(--n1);border:1.5px solid var(--tl);box-shadow:0 2px 0 #0B1F2E;font-size:0;line-height:0;opacity:1}
html body .pv.pvx .pv-panel .qbox .qa-spk svg,html body .pv.pvx .opts .opt .qa-o svg{width:20px;height:20px}
html body .pv.pvx .pv-panel .qbox .qa-spk:active,html body .pv.pvx .opts .opt .qa-o:active{transform:translateY(2px);box-shadow:none}

/* v1148 study setup in «أنا» (same list style as the settings below it) */
#stp{margin-top:14px}
.stp-h{margin:0 4px 2px;font-size:17px;font-weight:800;color:#fff}
.stp-d{margin:0 4px 8px;font-size:13.5px;line-height:1.55;color:#C9D6E0}
.s-me-l.stp{margin-top:0}
.s-me-l .stp-v,.stp-ls .stp-v{max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;color:var(--tl)}
.s-me-l.stp button small{display:block;font-size:12px;font-weight:500;color:#8FA3AE;margin-top:2px}
.s-me-l.stp.off .stp-r{opacity:.35;pointer-events:none}
.s-me-l.stp i svg{width:22px;height:22px}
.stp-sh .stp-d{text-align:center}
.stp-sh .s-me-l{margin:10px 0 4px;text-align:start}
.st-tl.stp-sj .wd-gb{display:flex;align-items:center;gap:8px}
.st-tl.stp-sj .wd-gb img{width:34px;height:34px;object-fit:contain}
.st-tl.stp-ll{grid-template-columns:1fr}
.st-tl.stp-ll .wd-gb{flex-direction:row;min-height:50px;justify-content:flex-start;gap:10px;text-align:start;padding:10px 14px}
.st-tl.stp-ll .wd-gb em{font-style:normal;flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--tl) 15%,transparent);color:var(--tl);font-weight:800;font-size:14px}
.st-tl.stp-ll .wd-gb.on em{background:var(--tl);color:var(--n0)}
.st-tl.stp-ll .wd-gb.on:not(.all)::after{display:none}
.st-tl.stp-ll .wd-gb.last{box-shadow:0 0 0 2px #F5B72B inset}
.cw-seg.cw-stb{width:auto;max-width:300px;padding:3px}
.cw-seg.cw-stb button{padding:7px 16px;font-size:14px}
.ar-round .ar-clk.st-nt{visibility:hidden}
.cw-sl .ls{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* v1149 level path */
.wt-card .lp-open{background:transparent;border:1.5px solid var(--tl);color:var(--tl);margin-bottom:2px}
.lp{display:flex;flex-direction:column;gap:8px}
.lp-s{margin:0;text-align:center;color:var(--muted)}
.lp-s b{color:var(--tl)}
.lp-bar{height:8px;border-radius:99px;background:rgba(127,127,127,.2);overflow:hidden}
.lp-bar i{display:block;height:100%;background:var(--tl);border-radius:99px}
.lp-l{position:relative;list-style:none;margin:0;padding:0;height:46vh;flex:0 0 auto;overflow:auto;display:flex;flex-direction:column;gap:4px}
.lp-l li{display:flex;align-items:center;gap:10px;padding:5px 10px;border-radius:12px;background:rgba(127,127,127,.1)}
.lp-l li>i{flex:0 0 30px;height:30px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:13px;background:rgba(127,127,127,.25)}
.lp-l li span{flex:1;display:flex;flex-direction:column}
.lp-l li small{color:var(--muted);font-size:12px}
.lp-l li em{font-style:normal;font-size:18px}
.lp-l li.lp-d>i{background:var(--tl);color:#06252a}
.lp-c{background:color-mix(in srgb,var(--tl) 18%,transparent)!important;outline:2px solid var(--tl)}
.lp-l li.lp-c>i{background:#F5B72B;color:#2a1c00}
.stp-ft{display:flex;gap:8px;margin-top:10px}.stp-ft .btn{flex:1}.stp-ft .ghost{background:transparent;border:1.5px solid var(--tl);color:var(--tl)}
/* v1151 (Khalid): sheets are centred with all four corners round on wide screens and in landscape; bottom sheets only on portrait phones. The glass rule had higher specificity, so the bottom corners stayed square. */
@media(min-width:700px),(orientation:landscape) and (max-height:600px){
html body:not(#a):not(#b) .modal-back:not(.asx){align-items:center;padding:12px}
html body:not(#a):not(#b) .modal-back:not(.asx) .modal{border-radius:28px!important;border-bottom:1px solid rgb(63,101,128)!important;margin-bottom:0;max-height:calc(94dvh - var(--kb,0px))}
}
.cw-sl .ls small{display:block;font-size:11px;font-weight:700;color:var(--tl);line-height:1.2;margin-bottom:1px}.cw-sl .ls{line-height:1.25}.cw-sl .ar2.stg{font-size:15px}
/* v1154 practice in teacher views */
.cp-pr{font-size:12px;font-weight:800;color:var(--tl);background:color-mix(in srgb,var(--tl) 12%,transparent);border-radius:999px;padding:3px 8px;white-space:nowrap}
.st1-stats.st1-3{grid-template-columns:1fr 1fr 1fr}
.st1-pr{display:flex;gap:8px;margin-top:10px}
.st1-pr>div{flex:1;background:var(--soft);border-radius:14px;padding:10px 6px;text-align:center;display:flex;flex-direction:column;gap:2px}
.st1-pr small{color:var(--muted);font-weight:700;font-size:12px}.st1-pr b{font-size:20px;font-weight:900}.st1-pr i{font-style:normal;font-size:11px;color:var(--muted)}
.st1-pr .up b{color:var(--tl)}.st1-pr .dn b{color:#F5B72B}
.st1-pr.none{display:block;text-align:center;color:var(--muted);font-size:13px;font-weight:700}
html body.wide.dark:not(#a):not(#b) .modal .st1-pr>div{background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035))!important;border:1px solid rgba(255,255,255,.11)!important;box-shadow:none!important}
html body.wide:not(.dark):not(#a):not(#b) .modal .st1-pr .up b{color:var(--tm)}
html body.wide:not(.dark):not(#a):not(#b) .cp-pr{color:var(--tm);background:rgba(14,138,146,.1)}
.cl-srch .wq-top{margin-bottom:6px}.cl-fon{margin-bottom:6px}.cl-fsh .cl-flt{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding:6px 0 10px}
html body:not(#a):not(#b) .cl-flt button.on{background:var(--n6);border-color:var(--n6);color:#fff}
html body.wide:not(.dark):not(#a):not(#b) .cl-flt button.on{background:var(--n1);border-color:var(--n1)}
/* v1159 (Khalid screenshot): results «المزيد» sheet = full-width «تحدي جديد» on top + Excel and message side by side; results hero navy, not red */
html body:not(#a):not(#b) .rs-more .st1-opts.has-ag>.st1-o:last-child{grid-column:auto}
html body:not(#a):not(#b) .rs-more h3{text-align:center}
html body:not(#a):not(#b) .rs2-hero{background:linear-gradient(160deg,var(--n6),var(--n1))!important;box-shadow:0 8px 24px color-mix(in srgb,var(--n0) 35%,transparent)!important}
html body:not(#a):not(#b) .cl-srch .wq-top{position:relative}
.cl-pop{position:absolute;top:52px;left:0;z-index:40;min-width:210px;background:#0E2256;border:1px solid var(--n3);border-radius:16px;padding:6px;box-shadow:0 12px 32px rgba(0,0,0,.45);display:flex;flex-direction:column;animation:clPop .15s ease-out;transform-origin:top left}
@keyframes clPop{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
.cl-pop button{display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;background:none;color:#E6EEF5;font:inherit;font-size:15px;font-weight:700;padding:11px 12px;border-radius:11px;text-align:start;cursor:pointer}
.cl-pop button.on{background:color-mix(in srgb,var(--tl) 14%,transparent);color:var(--tl)}.cl-pop button i{font-style:normal}
html body.wide:not(.dark):not(#a):not(#b) .cl-pop{background:#fff;border-color:#D5E3EC;box-shadow:0 12px 32px color-mix(in srgb,var(--n0) 18%,transparent)}
html body.wide:not(.dark):not(#a):not(#b) .cl-pop button{color:var(--n0)}html body.wide:not(.dark):not(#a):not(#b) .cl-pop button.on{background:rgba(14,138,146,.1);color:var(--tm)}
/* v1160 challenge days line */
.ch-days{display:flex;gap:6px;justify-content:center;margin:12px 0 2px;flex-wrap:wrap}
.ch-day{min-width:56px;border:1px solid color-mix(in srgb,var(--tl) 25%,transparent);background:color-mix(in srgb,var(--tl) 6%,transparent);border-radius:12px;padding:5px 8px;display:flex;flex-direction:column;align-items:center;gap:0;color:inherit;font:inherit;cursor:pointer}
.ch-day small{font-size:11.5px;font-weight:700;color:var(--muted)}.ch-day b{font-size:17px;font-weight:900}
.ch-day.now{border-color:var(--tl)}.ch-day.now small{color:var(--tl)}
.ch-day.on{background:var(--n6);border-color:var(--n6);color:#fff}.ch-day.on small{color:#fff}
.ch-day.fut{opacity:.4;cursor:default}
html body.wide:not(.dark):not(#a):not(#b) .ch-day.on{background:var(--n1);border-color:var(--n1)}
.ch-days{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:5px}.ch-days::-webkit-scrollbar{display:none}
.ch-day{flex:1 0 40px;min-width:40px;padding:5px 1px}.ch-day small{font-size:10.5px;white-space:nowrap}
/* v1161 (Khalid 👍): class cards dark navy like other cards, thin teal edge, 10px apart */
html body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f) .cg-l .sw-main.cg-r{background:#12293D!important;border-radius:18px!important}
html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f) .cg-l .cg-sw+.cg-sw,html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f) .cg-l .sw-row+.sw-row{margin-top:10px}
html body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f) .cg-l .sw-main.cg-r{border:1px solid #D5E3EC!important;border-radius:18px!important}
html body.wide.dark:not(#a):not(#b):not(#c):not(#d) .cg-l .cg-bd{color:var(--tl)!important;font-size:18px!important;font-weight:900!important}
/* v1162: gap also between grade groups (each grade is its own .cg-l.cg-solo / details.cg-g) */
html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f) .cg-l+.cg-l,html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f) .cg-l+.cg-g,html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f) .cg-g+.cg-l,html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f) .cg-g+.cg-g{margin-top:10px!important}
/* v1164 (Khalid «وايد حلو اللون»): student screens take the royal night-sea colours of the marketing art (vars --n0..--tl above, teacher keeps the old values) + starry sky with a soft gold glow at the sea line */
html:has(body:not(.wide)),html body:not(.wide)[data-theme]{background:#061038!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d)::before,html body .sh.sl{background:radial-gradient(1.2px 1.2px at 12% 8%,#fff 50%,transparent),radial-gradient(1px 1px at 33% 15%,#fff9 50%,transparent),radial-gradient(1.4px 1.4px at 71% 6%,#fff 50%,transparent),radial-gradient(1px 1px at 88% 19%,#fffa 50%,transparent),radial-gradient(1px 1px at 52% 26%,#fff8 50%,transparent),radial-gradient(1.2px 1.2px at 22% 33%,#fff9 50%,transparent),radial-gradient(1px 1px at 92% 38%,#fff8 50%,transparent),radial-gradient(120% 40% at 50% 104%,rgba(242,200,107,.22),transparent 60%),linear-gradient(180deg,#050E33 0%,#0A2160 52%,#103F86 82%,#0B2E68 100%)!important}
/* v1164 state illustrations (ChatGPT art img/st/*): error, loading, empty, day done */
.st-ill{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 22px 24px;gap:8px;color:#fff}
.st-ill img{width:min(62vw,250px);aspect-ratio:1;object-fit:cover;-webkit-mask:radial-gradient(closest-side,#000 72%,transparent);mask:radial-gradient(closest-side,#000 72%,transparent);margin-bottom:4px}
.st-ill b{font-size:24px;font-weight:900;line-height:1.3}
.st-ill p{color:#C9D6F0;font-size:16px;margin:0 0 8px;line-height:1.6}
.st-ill .btn{width:100%;max-width:320px}
/* v1164 student login: boy + captain + golden stopwatch art on top, wordmark over its faded bottom */
html body .sh.sl .sl-hero.sl-art{padding:0!important;margin-top:0;overflow:visible;position:relative}
html body:not(#q) .sh.sl .sl-hero.sl-art img.sl-art-i{display:block!important;width:100vw!important;max-width:560px!important;height:360px!important;margin:0 auto!important;aspect-ratio:auto!important;object-fit:cover;object-position:50% 20%;border-radius:0!important;filter:none!important;animation:none!important;mix-blend-mode:normal!important;-webkit-mask:linear-gradient(180deg,#000 60%,transparent)!important;mask:linear-gradient(180deg,#000 60%,transparent)!important}
@media(min-width:560px){html body:not(#q) .sh.sl .sl-hero.sl-art img.sl-art-i{height:470px!important;object-position:50% 0!important;-webkit-mask:linear-gradient(180deg,#000 60%,transparent),linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)!important;-webkit-mask-composite:source-in!important;mask:linear-gradient(180deg,#000 60%,transparent),linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)!important;mask-composite:intersect!important}}
html body:not(#q) .sh.sl .sl-hero.sl-art img.lg-wm{width:min(66vw,250px)!important;max-width:250px!important;height:auto!important;aspect-ratio:auto!important;display:block!important;margin:-96px auto 0!important;position:relative;z-index:2;-webkit-mask:none!important;mask:none!important}
.st-ill.st-load{opacity:0;animation:stLoadIn .5s ease .8s forwards;padding-top:0}
.st-ill.st-load p{margin:0}
@keyframes stLoadIn{to{opacity:1}}
html body .lbx-empty.st-ill-e .lbx-ill{width:min(52vw,200px);aspect-ratio:1;object-fit:cover;display:block;margin:0 auto 6px;-webkit-mask:radial-gradient(closest-side,#000 72%,transparent);mask:radial-gradient(closest-side,#000 72%,transparent)}
html body .sp-done .sp-emo .sp-dd{display:block;width:min(58vw,230px);aspect-ratio:1;object-fit:cover;margin:0 auto;-webkit-mask:radial-gradient(closest-side,#000 72%,transparent);mask:radial-gradient(closest-side,#000 72%,transparent)}
/* v1167 captain reactions in the class round */
html body .play.cr .cr-cap{position:absolute!important;left:14px!important;right:auto!important;top:calc(env(safe-area-inset-top,0px) + 64px)!important;z-index:3;width:58px;height:58px;border-radius:50%;overflow:hidden;background:#0E2256;box-shadow:0 0 0 3px #E3B23C,0 6px 16px rgba(0,0,0,.4);margin-top:6px}
html body .play.cr .cr-cap img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;display:block}
html body .play.cr .cr-cap.go{animation:crCap .5s cubic-bezier(.3,1.6,.5,1)}
@keyframes crCap{0%{transform:scale(.6)}100%{transform:scale(1)}}
/* v1168: gold island podium (ChatGPT art) — steps centred at 27/50/73% of the picture */
html body:not(#a):not(#b):not(#c) .lbx-pod{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:0!important;align-items:end!important;aspect-ratio:1216/812;margin:8px -16px 6px!important;padding:0 15.5%!important;background:url(img/st/podium.webp?v=1) center/cover no-repeat!important;-webkit-mask:linear-gradient(180deg,transparent,#000 14%,#000 86%,transparent);mask:linear-gradient(180deg,transparent,#000 14%,#000 86%,transparent)}
html body .lbx-pod .lbx-pd{transform:none!important;align-self:end;gap:0}
html body .lbx-pod .lbx-pd.p1{margin-bottom:calc(142% - 46px)}
html body .lbx-pod .lbx-pd.p2{margin-bottom:calc(122% - 46px)}
html body .lbx-pod .lbx-pd.p3{margin-bottom:calc(107% - 46px)}
html body .lbx-pod .lbx-pd b{margin-top:22px!important;font-size:13px;color:#fff;text-shadow:0 1px 3px #000a}
html body .lbx-pod .lbx-pd .lbx-pts{font-size:13px;color:#FFD54A;text-shadow:0 1px 3px #000a;line-height:1.1}
html body .lbx-pod .lbx-av{width:48px;height:48px;font-size:20px}
html body .lbx-pod .lbx-pd.p1 .lbx-av{width:58px;height:58px;font-size:24px}
html body .lbx-pod .lbx-pd.empty{visibility:hidden}
/* v1169 (Khalid «فوق وصورته صغيرة»): win/lose picture on top of the class result, student avatar small under it */
.rs3-art{width:min(72vw,270px);aspect-ratio:1;margin:4px auto 0;border-radius:26px;overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.45),0 0 0 2px color-mix(in srgb,#F5C451 55%,transparent);animation:rs3in .5s cubic-bezier(.2,1.4,.4,1) both}
.rs3-art img{width:100%;height:100%;object-fit:cover;display:block}
html body .rs3-art+.rs3-av{width:74px!important;height:74px!important;margin:-40px auto 6px!important;position:relative;z-index:1;box-shadow:0 0 0 4px #F5C451,0 6px 16px rgba(0,0,0,.45)!important}
html body .rs3-art+.rs3-av span{font-size:40px}
/* v1171 (Khalid idea 6): opening splash = ChatGPT art (boy holding the gold stopwatch on the dhow bow), name rises over the calm sea */
html body #intro{background:linear-gradient(180deg,#061038 0,#16336E 55%,#061038 100%)!important;justify-content:flex-end;overflow:hidden}
html body #intro::before,html body #intro::after{display:none!important}
html body #intro .in-lg{display:none!important}
html body #intro .in-art{position:absolute!important;top:0;left:50%;height:100%;width:auto;max-width:none;transform:translateX(-50%);animation:inArt 1.4s ease-out both;-webkit-mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
@media (max-aspect-ratio:2/3){html body #intro .in-art{-webkit-mask:none;mask:none}}
html body #intro .in-wm{position:relative;z-index:1;margin:0 0 max(5vh,calc(env(safe-area-inset-bottom) + 28px))!important;width:min(66vw,340px)}
@keyframes inArt{from{opacity:0;transform:translateX(-50%) scale(1.06)}to{opacity:1;transform:translateX(-50%) scale(1)}}
@media (prefers-reduced-motion:reduce){html body #intro .in-art{animation:none}}
#cw-rb.ld{opacity:.55;transition:opacity .15s}
/* v1173 (Khalid «نجوم تلمع… تومض ويقل وميضها كانها حقيقة» + «نيازك وشهب»): live sky behind student screens, each star twinkles on its own clock, a meteor crosses now and then (app.js SKY) */
#sky{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
body.wide #sky{display:none}
#sky i{position:absolute;border-radius:50%;background:#fff;animation:skTw var(--d) ease-in-out var(--w) infinite;opacity:var(--lo)}
#sky i.b{box-shadow:0 0 6px 1px rgba(200,220,255,.75)}
#sky i.g{background:#FFF3C8;box-shadow:0 0 7px 1px rgba(255,220,140,.7)}
@keyframes skTw{0%,100%{opacity:var(--lo);transform:scale(.8)}45%{opacity:1;transform:scale(1.15)}55%{opacity:.95;transform:scale(1)}}
#sky b{position:absolute;height:2px;width:140px;border-radius:2px;background:linear-gradient(90deg,#fff,rgba(190,215,255,.55) 30%,transparent);transform-origin:0 50%;opacity:0;animation:skMet var(--d) cubic-bezier(.3,.1,.6,1) forwards}
#sky b::before{content:"";position:absolute;left:-2px;top:-2px;width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 10px 3px rgba(210,230,255,.9)}
@keyframes skMet{0%{opacity:0;transform:rotate(var(--a)) translateX(0) scaleX(.3)}12%{opacity:1}70%{opacity:1;transform:rotate(var(--a)) translateX(calc(var(--l) * -1)) scaleX(1)}100%{opacity:0;transform:rotate(var(--a)) translateX(calc(var(--l) * -1.25)) scaleX(.6)}}
@media (prefers-reduced-motion:reduce){#sky i{animation:none;opacity:.8}#sky b{display:none}}
/* v1174 (Khalid, iPhone Duo outer screen ~470x690): study result fits short screens */
@media (max-height:780px){
.ar-pres .sr2{padding:max(14px,env(safe-area-inset-top)) 18px max(16px,env(safe-area-inset-bottom))}
.sr2-av{width:78px;height:78px;padding:3px}
.sr2-bub{margin-top:12px;font-size:15px;padding:8px 14px}
.sr2-st{margin:12px 0 0}.sr2-st img{width:36px;height:36px}.sr2-st img:nth-child(2){width:46px;height:46px;margin-bottom:6px}
.sr2-sc{font-size:42px}.sr2-sc small{font-size:22px}
.sr2-l{font-size:13px}
.sr2-chip{margin:10px 0 14px;padding:4px 12px 4px 6px}.sr2-chip img{width:24px;height:24px}
.sr2-b{gap:8px}.sr2-b .btn{min-height:46px;padding-top:10px;padding-bottom:10px}
.sr2-bk{padding:6px}
}
/* v1176 (Khalid «نخلي البطاقة مكان واحد ثابت ما تنزل وتصعد»): «تقريري» keeps one height for every tab; the body scrolls inside */
.cw-sh{height:min(76dvh,640px)}
html body #cw-rb{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
html body #cw-rb .cw-emp{margin:auto 0}
/* v1176 (Khalid «لما أطفيه أبي الصفوف اللي تحتها تختفي، ولما أشغله ترجع تظهر») */
html body .s-me-l.stp.off .stp-r{display:none!important}
.s-me-l.stp.go .stp-r{animation:stpIn .3s ease-out both}
.s-me-l.stp.go .stp-r:nth-child(3){animation-delay:.04s}.s-me-l.stp.go .stp-r:nth-child(4){animation-delay:.08s}.s-me-l.stp.go .stp-r:nth-child(5){animation-delay:.12s}
@keyframes stpIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
/* v1177 (Khalid, iPhone Duo outer screen): match screen fits short screens, the bottom line wraps instead of being cut */
html body .ar-vs2 .cap{flex-wrap:wrap;row-gap:2px;max-width:100%}
@media (max-height:780px){
html body .ar-vs2 .ar-av{width:100px;height:100px;font-size:50px}
html body .ar-vs2 .side b{font-size:22px}
html body .ar-vs2 .side small{font-size:13px;padding:2px 12px}
html body .ar-vs2.vs4 .mid{height:108px}
html body .ar-vs2.vs4 .sw{width:70px;height:70px}
html body .ar-vs2.vs4 .sw .cd{font-size:38px}
html body .ar-vs2 .cap{margin-top:8px;font-size:13px}html body .ar-vs2 .cap img{width:30px;height:30px}
}
/* v1180 (Khalid, iPhone Duo outer screen): «ندوّر لك خصم» fits short screens */
@media (max-height:780px){
html body .ar-find.ar-fd{gap:8px!important;padding-top:max(10px,env(safe-area-inset-top))!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important;justify-content:center!important}
html body .ar-rad2{width:200px;height:200px}
html body .ar-rad2 .ar-me{width:96px;height:96px;margin:-48px 0 0 -48px;font-size:46px}
html body .ar-fisl{width:78px;height:78px}
html body .ar-find.ar-fd h2{font-size:24px}
html body .ar-find .ar-fs{width:80px;height:80px;font-size:34px}
}
/* v1180 (Khalid, iPhone Duo inner screen portrait + landscape): the login art sat off-centre (the 560px picture overflowed its 448px column) with a hard right edge, and in landscape it pushed «أنا معلم؟» off the screen */
@media(min-width:560px){html body:not(#q) .sh.sl .sl-hero.sl-art img.sl-art-i{margin:0 calc((100% - min(100vw,560px)) / 2)!important;height:min(470px,max(280px,calc(100dvh - 330px)))!important;object-position:50% 22%!important;-webkit-mask:linear-gradient(180deg,#000 60%,transparent),linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)!important;-webkit-mask-composite:source-in!important;mask:linear-gradient(180deg,#000 60%,transparent),linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)!important;mask-composite:intersect!important}}
/* v1182 (Khalid «ليش شاشة البداية للحين جذي»): teacher onboarding (#ob, also the demo) moves from black + red to the teacher Night Sea (same vars as the teacher screens); no red anywhere */
html body #ob{background:linear-gradient(180deg,var(--n0) 0%,#0F2E44 50%,var(--n2) 100%) fixed!important;background-color:var(--n0)!important;color:#fff;--card:var(--n1);--ink:#fff;--muted:var(--n7);--soft:var(--n5);--line:var(--n3)}
html body #ob .obr-demo{background:rgba(255,255,255,.1)!important;color:#D8E6EE!important}
html body #ob .obr-pill{background:var(--n1)!important;color:#fff!important;border:1px solid var(--n3)!important}
html body #ob .obr-q{background:var(--n1)!important;border:1px solid var(--n3)!important;box-shadow:0 6px 18px rgba(0,0,0,.25)!important}
html body #ob .obr-dots i{background:var(--n3)!important;box-shadow:none!important}html body #ob .obr-dots i.ok{background:#39C7CF!important}html body #ob .obr-dots i.cur{background:#F5B72B!important;box-shadow:0 0 0 3px rgba(245,183,43,.3)!important}
html body #ob .ob-t{background:var(--n1)!important;border:1px solid var(--n3)!important;box-shadow:0 5px 0 var(--n0)!important;color:#fff!important}
html body #ob .ob-t.on{background:var(--n6)!important;border-color:var(--tl)!important;color:#fff!important;box-shadow:0 5px 0 var(--n5)!important}
html body #ob .obr-chk .ob-t::before{border-color:var(--n4)!important;background:transparent!important}
html body #ob .obr-chk .ob-t.on::before{border-color:#fff!important;background:#fff!important;color:var(--n6)!important}
html body #ob .ob-t.add,html body #ob .ob-g>button[data-act="ob-other"],html body #ob .ob-other{background:transparent!important;border:1.5px dashed var(--n4)!important;box-shadow:none!important}
html body #ob .gp-seg{background:var(--n1)!important;border:1px solid var(--n3)}html body #ob .gp-seg button{color:var(--n7)!important}html body #ob .gp-seg button.on{background:var(--n6)!important;color:#fff!important}
html body #ob .gp-t{background:var(--n1)!important;border:1.5px solid var(--n3)!important;color:#fff!important}html body #ob .gp-t.on{background:var(--n6)!important;border-color:var(--tl)!important}
html body #ob .btn,html body #ob .obr-go:not(.soft){background:var(--n6)!important;color:#fff!important;box-shadow:0 5px 0 var(--n5)!important;border:0!important}
html body #ob .obr-go:not(.soft){box-shadow:0 5px 0 var(--n5),0 -10px 24px 10px var(--n0)!important}
html body #ob .btn:disabled{background:var(--n5)!important;color:var(--n7)!important;opacity:1!important}
html body #ob .btn.soft{background:var(--n1)!important;border:1px solid var(--n3)!important;box-shadow:none!important;color:#fff!important}
html body #ob .obr-cr{background:var(--n1)!important;border:1px solid var(--n3)}html body #ob .obr-cr .btn{background:var(--n6)!important;box-shadow:none!important}
html body #ob .ob-in,html body #ob .obr-row,html body #ob .obr-sum,html body #ob .obr-cl{background:var(--n1)!important;border-color:var(--n3)!important;color:#fff!important}
html body #ob .obr-code{color:#F5B72B!important}
html body #ob .obr-nav{background:linear-gradient(rgba(16,87,98,0),var(--n2) 35%)!important}html body #ob .obr-nav .obr-go{box-shadow:0 5px 0 var(--n5)!important}
html body #ob .obr-bk{background:var(--n1)!important;border:1px solid var(--n3)!important;box-shadow:none!important;color:#fff!important}
/* v1183 (Khalid «هذه بعد غيرها نفس الثيم الجديد»): the teacher login (.ta) and teacher signup (#ob) take the new royal night-sea palette of the student screens; teacher inner pages keep Night Sea for now («بعدين») */
html:has(.ta),html:has(#ob),html body:has(.ta),html body:has(#ob),#ob{--n0:#061038;--n1:#0C2862;--n2:#134E90;--n3:#23437E;--n4:#3A5C9A;--n5:#0E2256;--n6:#2766C6;--n7:#A9BEDF;--tl:#7CC4FF;--tm:#2F7FD8}
html body #ob{background:radial-gradient(120% 70% at 50% 0%,#134E90 0%,#0C2862 45%,#061038 100%) fixed!important;background-color:#061038!important}
html body #ob .obr-nav{background:linear-gradient(rgba(6,16,56,0),#061038 35%)!important}
/* v1183: teacher login art = the lighthouse (teachers welcome the boy and the captain), same layout as the student login art */
html body .ta .hero.ta-art{padding:0!important;margin:calc(-12px - env(safe-area-inset-top)) 0 0!important;position:relative;overflow:visible;background:none!important}
html body:not(#q) .ta .ta-art img.ta-art-i{display:block!important;width:100vw!important;max-width:560px!important;height:360px!important;margin:0 calc((100% - min(100vw,560px)) / 2)!important;object-fit:cover;object-position:50% 20%;border-radius:0!important;-webkit-mask:linear-gradient(180deg,#000 60%,transparent)!important;mask:linear-gradient(180deg,#000 60%,transparent)!important}
@media(min-width:560px){html body:not(#q) .ta .ta-art img.ta-art-i{height:min(470px,max(280px,calc(100dvh - 520px)))!important;object-position:50% 22%!important;-webkit-mask:linear-gradient(180deg,#000 60%,transparent),linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)!important;-webkit-mask-composite:source-in!important;mask:linear-gradient(180deg,#000 60%,transparent),linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)!important;mask-composite:intersect!important}}
html body:not(#q) .ta .ta-art img.lg-wm{width:min(66vw,250px)!important;max-width:250px!important;height:auto!important;display:block!important;margin:-96px auto 0!important;position:relative;z-index:2;-webkit-mask:none!important;mask:none!important}
/* v1183 sizes: portrait art shrinks with the screen height so the form fits without scrolling; landscape puts the art beside the form */
@media (orientation:portrait),(max-width:639px){html body:not(#q) .ta .ta-art img.ta-art-i{height:clamp(190px,calc(100dvh - 450px),470px)!important}}
@media (orientation:landscape) and (min-width:640px){
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .ta{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:clamp(12px,3vw,48px);max-width:1100px!important;width:100%!important;margin:0 auto!important;min-height:100dvh;padding:max(10px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))!important;box-sizing:border-box}
html body .ta .hero.ta-art{margin:0!important;align-self:center}
html body:not(#q):not(#r) .ta .ta-art img.ta-art-i{width:100%!important;max-width:620px!important;height:auto!important;aspect-ratio:900/822;max-height:calc(100dvh - 90px);object-fit:cover;margin:0 auto!important;border-radius:28px!important;-webkit-mask:radial-gradient(ellipse 72% 72% at 50% 50%,#000 62%,transparent 100%)!important;mask:radial-gradient(ellipse 72% 72% at 50% 50%,#000 62%,transparent 100%)!important}
html body:not(#q):not(#r) .ta .ta-art img.lg-wm{margin:-70px auto 0!important;width:min(60%,250px)!important}
html body .ta > .pad{width:100%;max-width:460px;margin:0 auto!important;padding:0!important;align-self:center}
}
@media (orientation:landscape) and (min-width:640px) and (max-height:520px){html body:not(#q):not(#r) .ta .ta-art img.lg-wm{margin-top:-52px!important;width:min(50%,180px)!important}html body .ta > .pad{max-height:100dvh}}
/* v1184: arena clock last 2 seconds = gold pulse (no red), the cue is the beat, not only the colour */
html body .ar-round .ar-clk.crit .ar-swc{border-color:#FFD54A!important;box-shadow:0 0 0 3px rgba(255,213,74,.35),0 0 26px rgba(255,213,74,.7)!important;animation:arCrit .42s ease-in-out infinite alternate!important}
html body .ar-round .ar-clk.crit .ar-swc b{color:#FFE9A8!important}
@keyframes arCrit{from{transform:scale(1)}to{transform:scale(1.12)}}
html body .play.pv.pvx.ar-round .qbox.q-long,html body[data-theme] .play.pv.pvx.ar-round .pv-panel .qbox.q-long{height:auto!important;max-height:none!important;flex:none!important} /* a question too long for the card at 15px: the card grows instead of shrinking the text */
/* v1184 (Khalid: portrait form box was the old dark teacher card #12293D): the teacher login/signup form sits on the royal sea with no card, in every orientation */
html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f) .ta .card:not(#z):not(#y):not(.on):not(.sel){background:transparent!important;border:0!important;box-shadow:none!important}
/* v1188: «صفي» sits above «مذاكرتي» and stays visible when study mode is off */
html body #stp .stp-gr{margin-bottom:14px}
/* v1190 (Khalid «الرموز مو محاذاة مع الكلام»): «أنا» row icons line up with the title line: two-line rows put the icon beside the title, not the row middle; Arabic text sits a little low, so icons drop 1px */
html body .s-me-l>button>i,html body .s-me-l>div>i{display:grid;place-items:center;width:28px;flex:0 0 28px;transform:translateY(1px)}
html body .s-me-l>button:has(.grow small)>i,html body .s-me-l>div:has(.grow small)>i{align-self:flex-start;margin-top:0}
html body #stp .s-me-l.stp-gr>.stp-r{padding:11px 14px 10px!important}
html body #stp .s-me-l.stp{padding:6px 4px!important}
html body #stp .s-me-l.stp>button{padding-left:14px!important;padding-right:14px!important}
/* v1191: «حذف حسابي» without red (Khalid: no red anywhere) */
html body:not(.wide):not(#a):not(#b):not(#c) .s-me-x .s-del{color:#9FB3D1!important}
html body:not(.wide):not(#a):not(#b):not(#c) .s-me-x .s-del .ico{color:#9FB3D1!important;stroke:#9FB3D1!important}
/* T-ROYAL-GEN START */
/* v1192 admin-only preview of the royal theme on teacher screens (html.t-royal), generated by swapping colours */
html.t-royal,html.t-royal body{--n0:#061038;--n1:#0C2862;--n2:#134E90;--n3:#23437E;--n4:#3A5C9A;--n5:#0E2256;--n6:#2766C6;--n7:#A9BEDF;--tl:#7CC4FF;--tm:#2F7FD8}
html.t-royal{--n0:#061038;--n1:#0C2862;--n2:#133490;--n3:#23437E;--n4:#3A5C9A;--n5:#0E2256;--n6:#2766C6;--n7:#A9BEDF;--tl:#7CC4FF;--tm:#2F5CD8}
html.t-royal{--primary:#2766C6;--primary-dark:#0C2862;--bad:#5389DA;--bad-bg:#EDF3FB}
html.t-royal [data-theme=kids]{--primary:#3575D4;
  --o1:#7CC4FF;--o4:#143BA8}
html.t-royal [data-theme=uni]{--primary:#193D74;--primary-dark:#112B51;--line:#DADDE2}
html.t-royal .err{color:#205097}
html.t-royal .chip.bad{color:#205097}
html.t-royal .logo svg,html.t-royal .logo img{box-shadow:0 6px 18px rgba(27,66,125,.28)}
html.t-royal .code-box.on{box-shadow:0 0 0 3px rgba(39,102,198,.18)}
html.t-royal .modal-back{background:rgba(6,16,56,.5)}
html.t-royal .lb .r:nth-child(2) .no{background:#D9DDE3}
html.t-royal .btn{
  box-shadow:0 6px 0 var(--primary-dark),0 10px 18px rgba(23,57,107,.25),inset 0 2px 0 rgba(255,255,255,.35)}
html.t-royal .btn:active{box-shadow:0 1px 0 var(--primary-dark),0 3px 8px rgba(23,57,107,.2),inset 0 2px 0 rgba(255,255,255,.3)}
html.t-royal .btn.danger{background:linear-gradient(180deg,#7CC4FF,#2766C6);box-shadow:0 6px 0 #0C2862}
html.t-royal .avatar{background:radial-gradient(circle at 35% 30%,#7CC4FF,var(--primary) 60%,var(--primary-dark))}
html.t-royal .quick svg{
  background:linear-gradient(180deg,#77A2E2,#2766C6 60%,#1D498A);box-shadow:0 4px 0 #17396B,inset 0 2px 0 rgba(255,255,255,.45)}
html.t-royal .stat b{text-shadow:0 2px 0 rgba(23,57,107,.12)}
html.t-royal .code-box.on{box-shadow:0 4px 0 var(--primary-dark),0 0 0 3px rgba(39,102,198,.18)}
html.t-royal .dot.done{background:linear-gradient(180deg,#77A2E2,var(--primary))}
html.t-royal [data-theme=kids] .opt:nth-child(1){background:linear-gradient(180deg,#7CC4FF,#7CC4FF 60%,#1F63C4)}
html.t-royal [data-theme=kids] .opt:nth-child(4){background:linear-gradient(180deg,#3C62CA,#143BA8 60%,#0E2E85);box-shadow:0 6px 0 #0A2161,0 10px 18px rgba(0,0,0,.15)}
html.t-royal .lb .r:nth-child(2) .no{background:radial-gradient(circle at 35% 30%,#fff,#C9CED6);box-shadow:0 3px 0 #8F96A3}
html.t-royal .kpi-ic{background:linear-gradient(180deg,#77A2E2,#2766C6 60%,#1D498A);box-shadow:0 3px 0 #17396B,inset 0 2px 0 rgba(255,255,255,.4)}
html.t-royal .rk2{background:radial-gradient(circle at 35% 30%,#fff,#C9CED6);box-shadow:0 3px 0 #8F96A3}
html.t-royal .bar i{background:linear-gradient(180deg,#77A2E2,var(--primary))}
html.t-royal .pick.on{background:linear-gradient(180deg,#F1F5FC,#E0EAF9)}
html.t-royal .pick.on .pick-ic{background:linear-gradient(180deg,#77A2E2,var(--primary))}
html.t-royal .w-st.done span{background:linear-gradient(180deg,#77A2E2,var(--primary))}
html.t-royal .count{background:linear-gradient(180deg,#77A2E2,var(--primary))}
html.t-royal .sw-act .del{background:#1A3D82}
html.t-royal .chip.lv-hard{background:#E6EEFA;color:#205097}
html.t-royal .fab{
  background:linear-gradient(180deg,#77A2E2,var(--primary) 60%,var(--primary-dark));box-shadow:0 5px 0 #112B51,0 10px 20px rgba(23,57,107,.35),inset 0 2px 0 rgba(255,255,255,.35)}
html.t-royal .fab:active{box-shadow:0 1px 0 #112B51}
html.t-royal .t-nav{box-shadow:0 10px 30px rgba(12,30,58,.18),inset 0 1px 0 rgba(255,255,255,.8)}
html.t-royal .pd2 .pd-medal{background:radial-gradient(circle at 35% 30%,#fff,#C9CED6);box-shadow:0 4px 0 #8F96A3}
html.t-royal .pd-step{background:linear-gradient(180deg,#77A2E2,var(--primary))}
html.t-royal body.wide .btn.danger{background:rgba(39,102,198,.09);color:#2766C6}
html.t-royal .sheet-i.danger,html.t-royal .sheet-i.danger .ico{color:#2766C6}
html.t-royal .sel-bar{box-shadow:0 10px 30px rgba(12,30,58,.18)}
html.t-royal .danger-row{color:#2766C6}
html.t-royal .lens{
  background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(234,241,251,.45))}
html.t-royal .sw-act .del i{background:#548ADB}
html.t-royal .crop{background:#0E1938}
html.t-royal .rl-rk.m2{background:radial-gradient(circle at 35% 30%,#fff,#C9CED6);color:#17264F}
html.t-royal body.wide.dark{--card:#0E2256;--soft:#142E66;--primary:#5A8EDC;--primary-dark:#2766C6}
html.t-royal body.wide.dark .card,html.t-royal body.wide.dark .cls,html.t-royal body.wide.dark .q-item,html.t-royal body.wide.dark .res-row,html.t-royal body.wide.dark .kpi,html.t-royal body.wide.dark .class-card,html.t-royal body.wide.dark .set-grp,html.t-royal body.wide.dark .set-row,html.t-royal body.wide.dark .set-profile,html.t-royal body.wide.dark .sheet-list,html.t-royal body.wide.dark .sheet-i,html.t-royal body.wide.dark .rl-grp,html.t-royal body.wide.dark .rl-row,html.t-royal body.wide.dark .rs-sum,html.t-royal body.wide.dark .sw-main,html.t-royal body.wide.dark .sw-list,html.t-royal body.wide.dark .pick,html.t-royal body.wide.dark .stat,html.t-royal body.wide.dark .cls-head{background:#0E2256!important}
html.t-royal body.wide.dark .cls-body{background:#061038}
html.t-royal body.wide.dark .set-row:active,html.t-royal body.wide.dark .rl-row:active,html.t-royal body.wide.dark .sheet-i:active{background:#16336E!important}
html.t-royal body.wide.dark .modal{background:#0E2256}
html.t-royal body.wide.dark .modal .set-grp,html.t-royal body.wide.dark .modal .set-row,html.t-royal body.wide.dark .modal .sheet-list,html.t-royal body.wide.dark .modal .sheet-i,html.t-royal body.wide.dark .modal .card{background:#16336E!important}
html.t-royal body.wide.dark .sheet-sep{background:#0E2256}
html.t-royal body.wide.dark .input,html.t-royal body.wide.dark select.input,html.t-royal body.wide.dark textarea.input,html.t-royal body.wide.dark .rs-search{background:#0E2256}
html.t-royal body.wide.dark .modal .input{background:#1A3D82}
html.t-royal body.wide.dark .input:focus{background:#16336E}
html.t-royal body.wide.dark .chip{background:#16336E}
html.t-royal body.wide.dark .code-pill{background:#16336E}
html.t-royal body.wide.dark .sw-n,html.t-royal body.wide.dark .rk{background:#16336E}
html.t-royal body.wide.dark .bar,html.t-royal body.wide.dark .rl-bar{background:#16336E}
html.t-royal body.wide.dark .prof-cam{border-color:#0E2256}
html.t-royal body.wide.dark .t-nav{background:rgba(14,25,56,.62)!important}
html.t-royal body.wide.dark .sel-bar{background:rgba(14,25,56,.75)}
html.t-royal body.wide.dark .err{background:rgba(92,144,221,.18);color:#9FB3D1}
html.t-royal body.wide.dark .pick-ic{background:#16336E}
html.t-royal body.wide.dark .w-st span{background:#16336E}
html.t-royal body.wide.dark .join-box,html.t-royal body.wide.dark .join-row{background:#16336E}
html.t-royal body.wide.dark #toast{background:#1A3D82}
html.t-royal .fx-flash.bad{box-shadow:inset 0 0 120px 30px rgba(83,137,218,.55)}
html.t-royal .fx-flash.boom{background:radial-gradient(circle,#fff 0%,rgba(255,214,107,.9) 25%,rgba(39,102,198,.5) 55%,transparent 75%)}
html.t-royal .fx-float.bad{color:#2766C6}
html.t-royal .timer.hurry .num{color:#2766C6!important}
html.t-royal .tfill{background:radial-gradient(circle,rgba(119,162,226,.85),rgba(39,102,198,.9))}
html.t-royal body.danger::after{box-shadow:inset 0 0 90px 20px rgba(39,102,198,.45)}
html.t-royal .fx-bomb{background:rgba(6,16,56,.35)}
html.t-royal .fx-clock img{box-shadow:0 0 40px rgba(119,162,226,.7)}
html.t-royal .is-lose .medal{box-shadow:0 8px 0 #20346D!important}
html.t-royal [data-theme] .opt.bad{background:linear-gradient(180deg,#7CC4FF,#5389DA 60%,#2E69C2)!important;box-shadow:0 6px 0 #1E4B8E!important;border-color:#2E69C2!important}
html.t-royal [data-theme=uni] .opt.bad{background:#5389DA!important}
html.t-royal [data-theme] .opt.bad{background:linear-gradient(180deg,#7CC4FF,#5389DA 60%,#2E69C2)!important;border-color:#2E69C2!important;box-shadow:0 6px 0 #1E4B8E!important}
html.t-royal body .pv .pv-clock .timer.hurry .num{color:#5389DA!important}
html.t-royal .pv-kids .pv-bg{background:linear-gradient(180deg,#7CC4FF 0%,#7CC4FF 42%,#B9D3FF 100%)}
html.t-royal body[data-theme=kids] .pv .pv-panel .qbox{box-shadow:0 6px 0 #E2A92B,0 12px 20px rgba(0,32,120,.15)!important}
html.t-royal body[data-theme=kids] .pv .opts .opt:nth-child(n){box-shadow:0 5px 0 #E2A92B,0 9px 16px rgba(0,32,120,.12)!important}
html.t-royal .pv-mid{--pv-dot:#A8BEE3;--pv-dot-b:#A8BEE3;
  --pv-t-bg:radial-gradient(circle at 50% 40%,#0F2561,#091841)}
html.t-royal .pv-mid .pv-bg{background:linear-gradient(180deg,#0E2256 0%,#16336E 50%,#0E2256 100%)}
html.t-royal body[data-theme=mid] .pv .pv-panel .qbox{color:#101B39}
html.t-royal body[data-theme=mid] .pv .opts .opt:nth-child(n){border:2px solid #A9BAD8!important;box-shadow:0 4px 0 #CFD8E7,0 8px 14px rgba(14,40,112,.08)!important;color:#101B39!important}
html.t-royal body[data-theme=mid] .pv .opts .opt:nth-child(n):active{box-shadow:0 1px 0 #CFD8E7!important}
html.t-royal body[data-theme=mid] .pv .opts .opt .letter{background:linear-gradient(180deg,#1A3D82,#16336E)!important;box-shadow:0 3px 0 #091B4D!important}
html.t-royal .pv-uni{--pv-line:#C9CED6;--pv-dot:#C9CED6;--pv-dot-b:#C9CED6;--pv-done:#0E2051;--pv-t-sh:0 2px 14px rgba(14,32,81,.08);--pv-t-track:#D9DEE6;--pv-t-arc:#0E235E;--pv-t-ink:#0E2051}
html.t-royal .pv-uni .dots .dot.cur{background:#0E2256!important;border-color:#0E2051}
html.t-royal .pv-uni .pv-bg{background:linear-gradient(180deg,#F8F8F9,#F1F2F3)}
html.t-royal body .pv-uni .play-top .icon-btn.pv-btn{color:#0E235E!important}
html.t-royal .pv-uni .pv-pill{color:#101A37}
html.t-royal .pv-uni .pv-kind{background:#E6E9EF;color:#0E235E}
html.t-royal body[data-theme=uni] .pv .pv-panel .qbox{color:#101A37}
html.t-royal body[data-theme=uni] .pv .opts .opt:nth-child(n){border:1.5px solid #CBCFD7!important;color:#101A37!important}
html.t-royal body[data-theme=uni] .pv .opts .opt:nth-child(n):active{background:#F2F3F6!important}
html.t-royal body[data-theme=uni] .pv .opts .opt .letter{border:2px solid #8E95A2}
html.t-royal body.dark .pv-mid .pv-bg{background:linear-gradient(180deg,#061038,#061038 60%,#061038)}
html.t-royal body.dark .pv-mid .pv-panel{background:#061038}
html.t-royal body.dark[data-theme=mid] .pv .pv-panel .qbox{color:#E8ECF4}
html.t-royal body.dark[data-theme=mid] .pv .opts .opt:nth-child(n){background:#0E1938!important;border-color:#1F336A!important;box-shadow:0 4px 0 #080E1D!important;color:#E8ECF4!important}
html.t-royal body.dark .pv-uni{--pv-t-bg:#0E1730;--pv-t-track:#16254D;--pv-t-arc:#365ABC;--pv-t-ink:#E6E9EF;--pv-line:#1A2B59;--pv-dot:#1A2B59;--pv-dot-b:#1A2B59}
html.t-royal body.dark .pv-uni .dots .dot.cur,html.t-royal body.dark .pv-uni .dots .dot.done{background:#365ABC!important;border-color:#365ABC}
html.t-royal body.dark .pv-uni .pv-bg{background:#061038}
html.t-royal body.dark .pv-uni .pv-pill{color:#E6E9EF}
html.t-royal body.dark .pv-uni .pv-kind{background:#0E1938;color:#7F9DD1}
html.t-royal body.dark .pv-uni .play-top .icon-btn.pv-btn{color:#7F9DD1!important}
html.t-royal body.dark[data-theme=uni] .pv .pv-panel .qbox{color:#E6E9EF}
html.t-royal body.dark[data-theme=uni] .pv .opts .opt:nth-child(n){background:#0E1938!important;border-color:#182854!important;color:#E6E9EF!important}
html.t-royal body.dark[data-theme=uni] .pv .opts .opt .letter{border-color:#3557B6}
html.t-royal body[data-theme] .pv .opts .opt.bad:nth-child(n){background:linear-gradient(180deg,#7CC4FF,#5389DA 60%,#2E69C2)!important;border-color:#2E69C2!important;box-shadow:0 5px 0 #1E4B8E!important}
html.t-royal body[data-theme=uni] .pv .opts .opt.bad:nth-child(n){background:#5389DA!important}
html.t-royal .pv .pts-pop.bad{color:#5389DA}
html.t-royal body[data-theme] .pv .opts .opt.good .letter,html.t-royal body[data-theme] .pv .opts .opt.bad .letter{color:#101A37!important}
html.t-royal body.wide.dark .t-menu .tm-head{background:#0E2256}
html.t-royal .cf-hero{background:linear-gradient(135deg,#2766C6,#548ADB 60%,#F5B72B);box-shadow:0 8px 22px rgba(39,102,198,.22)}
html.t-royal .cf-bar2 .ko{background:linear-gradient(90deg,#2766C6,#9B51E0)}
html.t-royal .cf-bad{color:#2766C6}
html.t-royal .cf-th.on{box-shadow:0 0 0 3px rgba(39,102,198,.12)}
html.t-royal .cf-ph-kids{background:linear-gradient(180deg,#7CC4FF,#B9D3FF)}
html.t-royal .cf-ph-mid{background:linear-gradient(180deg,#0E2256,#16336E)}
html.t-royal .cf-ph-mid .t{background:#0E1938}
html.t-royal .cf-ph-uni{background:#F6F6F7}
html.t-royal .cf-ph-uni::after{background:#16336E}
html.t-royal .cf-ph-uni .t{box-shadow:inset 0 0 0 3px #0E235E}
html.t-royal .cf-ph-uni .q{border-bottom:3px solid #101A37}
html.t-royal .cf-ph-uni .o{box-shadow:0 0 0 1px #CBCFD7}
html.t-royal .cf-chip.on{background:rgba(39,102,198,.06)}
html.t-royal body.wide.dark .cf-th,html.t-royal body.wide.dark .cf-chip{background:#0E2256}
html.t-royal .sh.pv-kids .s-head .who b{text-shadow:0 2px 0 rgba(20,52,140,.35)}
html.t-royal .sh.pv-kids .s-head .sub{color:#EAF2FF!important}
html.t-royal body .sh.pv-kids .comp{box-shadow:0 6px 0 #E2A92B,0 14px 24px rgba(0,32,120,.15)!important}
html.t-royal body .sh.pv-kids .btn.ghost{border:3px solid #7CC4FF!important;box-shadow:0 5px 0 #3A64D6!important}
html.t-royal .sh.pv-mid .s-head .sub{color:#BFCDE6!important}
html.t-royal body .sh.pv-mid .quick button{color:#101B39}
html.t-royal body .sh.pv-mid .quick button svg{background:linear-gradient(180deg,#1A3D82,#16336E)!important;box-shadow:0 3px 0 #091B4D!important}
html.t-royal body .sh.pv-mid .comp{color:#101B39}
html.t-royal body .sh.pv-mid .stat{box-shadow:inset 0 0 0 2px #A9BAD8!important}
html.t-royal body .sh.pv-mid .stat b{color:#0E2870}
html.t-royal body .sh.pv-mid .btn{background:linear-gradient(180deg,#1A3D82,#16336E)!important;box-shadow:0 5px 0 #091B4D!important}
html.t-royal body .sh.pv-mid .btn.ghost{color:#0E2870!important;border:2px solid #A9BAD8!important;box-shadow:0 4px 0 #CFD8E7!important}
html.t-royal body .sh.pv-mid .btn:disabled{background:#E6E9EE!important;color:#2E4C9F!important}
html.t-royal .sh.pv-uni .s-head .who b{color:#101A37}
html.t-royal body .sh.pv-uni .av-btn{background:#0E2256!important}
html.t-royal body .sh.pv-uni .quick button{border:1.5px solid #E1E4E8!important;color:#101A37}
html.t-royal body .sh.pv-uni .quick button svg{background:#E6E9EF!important;color:#0E235E}
html.t-royal body .sh.pv-uni .comp{border:1.5px solid #E1E4E8!important;color:#101A37}
html.t-royal body .sh.pv-uni .stat{background:#F5F6F8!important}
html.t-royal body .sh.pv-uni .stat b{color:#0E2051}
html.t-royal body .sh.pv-uni .btn{background:#0E2256!important}
html.t-royal body .sh.pv-uni .btn.accent{background:#0E2256!important}
html.t-royal body .sh.pv-uni .btn.ghost{color:#0E235E!important;border:1.5px solid #CBCFD7!important}
html.t-royal body .sh.pv-uni .btn:disabled{background:#E9EBEF!important;color:#2E4DA0!important}
html.t-royal .sh.pv-uni .big{color:#0E2051!important}
html.t-royal body .sh.pv-mid .rows.card,html.t-royal body .sh.pv-kids .rows.card{color:#101B39}
html.t-royal body .sh.pv-uni .rows.card{border:1.5px solid #E1E4E8!important;color:#101A37}
html.t-royal body.dark .sh.pv-kids .btn.ghost{color:#BFD6FF!important}
html.t-royal body.dark .sh.pv-mid .comp,html.t-royal body.dark .sh.pv-mid .quick button,html.t-royal body.dark .sh.pv-mid .rows.card{background:#061038!important;color:#E8ECF4}
html.t-royal body.dark .sh.pv-mid .stat{background:#0E1938!important;box-shadow:inset 0 0 0 2px #1F336A!important}
html.t-royal body.dark .sh.pv-mid .btn.ghost{background:#0E1938!important;color:#A9BEE3!important;border-color:#1F336A!important;box-shadow:0 4px 0 #080E1D!important}
html.t-royal body.dark .sh.pv-uni .s-head .who b,html.t-royal body.dark .sh.pv-uni .big{color:#E6E9EF!important}
html.t-royal body.dark .sh.pv-uni .comp,html.t-royal body.dark .sh.pv-uni .quick button,html.t-royal body.dark .sh.pv-uni .rows.card{background:#0E1938!important;border-color:#182854!important;color:#E6E9EF}
html.t-royal body.dark .sh.pv-uni .stat{background:#061038!important}
html.t-royal body.dark .sh.pv-uni .stat b{color:#7F9DD1}
html.t-royal body.dark .sh.pv-uni .quick button svg{background:#0E1938!important;color:#7F9DD1}
html.t-royal body.dark .sh.pv-uni .av-btn{background:#365ABC!important;color:#090E1E}
html.t-royal body.dark .sh.pv-uni .btn{background:#365ABC!important;color:#090E1E!important}
html.t-royal body.dark .sh.pv-uni .btn.ghost{background:#0E1938!important;color:#7F9DD1!important;border-color:#182854!important}
html.t-royal .pvw-top .tabs button.on{color:#080D1A!important}
html.t-royal .pvw-phone{border:6px solid #0E2256}
html.t-royal .rp-pdf-top{border-bottom:3px solid #2766C6}
html.t-royal .rp-pdf-top b{color:#2766C6}
html.t-royal .rp-pdf .rp h4{color:#0C2862}
html.t-royal .rp-pdf .stat b{color:#2766C6!important}
html.t-royal .rp-pdf .rp-ul li::before{background:#2766C6}
html.t-royal .dlg{color:#0E2256}
html.t-royal .dlg-b p{color:#23437E}
html.t-royal .dlg-in{color:#0E2256}
html.t-royal .dlg-a button{color:#0044FF}
html.t-royal .dlg-a button.dng{color:#548ADB}
html.t-royal body.dark .dlg{background:rgba(14,34,86,.97)}
html.t-royal body.dark .dlg-in{background:#0E2256}
html.t-royal body.dark .dlg-a button{color:#0A4BFF}
html.t-royal body.dark .dlg-a button.dng{color:#9FB3D1}
html.t-royal .sl.pv-uni .hero h1{color:#0E2051!important}
html.t-royal body .sl .card{color:#101B39}
html.t-royal body .sl.pv-kids .card{box-shadow:0 6px 0 #E2A92B,0 14px 24px rgba(0,32,120,.15)!important}
html.t-royal body .sl.pv-uni .card{border:1.5px solid #E1E4E8!important}
html.t-royal body .sl .code-box{border:2px solid #D6DBE4!important;color:#101B39}
html.t-royal body .sl .paste-btn{background:rgba(22,51,110,.1);color:#0E2870}
html.t-royal body .sl.pv-kids .paste-btn{background:#EAF2FF}
html.t-royal .sl.pv-uni .sl-t .link{color:#2E4DA0}
html.t-royal body.dark .sl .card{background:#061038!important;color:#E8ECF4}
html.t-royal body.dark .sl.pv-uni .card{background:#0E1938!important;color:#E6E9EF;border-color:#182854!important}
html.t-royal body.dark .sl .code-box{background:#0E1938!important;border-color:#1F336A!important}
html.t-royal body.dark .sl.pv-uni .hero h1{color:#E6E9EF!important}
html.t-royal .rv{color:#101A37}
html.t-royal .rv-i{border-top:1px solid #EEEFF1}
html.t-royal .rv-i.no .rv-n{background:#5389DA}
html.t-royal .rv-a.bad{color:#2E69C2}
html.t-royal body.dark .rv{background:#0E1938;color:#E6E9EF}
html.t-royal body.dark .rv-i{border-color:#16254D}
html.t-royal body.dark .rv-a.bad{color:#9EBDEB}
html.t-royal .gap-l b{color:#5389DA}
html.t-royal .next-r{background:rgba(22,51,110,.08)}
html.t-royal .sh.pv-mid .next-r b{color:#0E2870}
html.t-royal .sh.pv-uni .next-r b{color:#0E2051}
html.t-royal #net{background:#5389DA}
html.t-royal .today-row{border-top:.5px solid rgba(29,47,98,.18)}
html.t-royal .ko-p+.ko-p{border-top:.5px solid rgba(29,47,98,.2)}
html.t-royal .lbx-av{background:linear-gradient(160deg,#9AA3B2,#3659BA)}
html.t-royal .lbx-pd.p2 .lbx-av{background:linear-gradient(160deg,#D6DCE6,#8C96A6)}
html.t-royal .lbx-md{color:#17264F}
html.t-royal .lbx-pd.p2 .lbx-step{background:linear-gradient(180deg,rgba(160,171,190,.45),rgba(160,171,190,.12))}
html.t-royal .qs-intro{background:rgba(124,196,255,.1)}
html.t-royal .qs-intro .ico{color:#7CC4FF}
html.t-royal body.dark .qs-intro{background:rgba(124,196,255,.18)}
html.t-royal .qd.h{background:rgba(84,138,219,.14);color:#2863BB}
html.t-royal body.dark .qd.h{color:#89AEE6}
html.t-royal body.dark .cl-ring{background:radial-gradient(closest-side,#0E2256 78%,transparent 80% 100%),conic-gradient(#34C759 calc(var(--p)*1%),rgba(255,255,255,.12) 0)}
html.t-royal .cl-arch-r{border-top:.5px solid rgba(29,47,98,.18)}
html.t-royal .nc-m button.on{background:rgba(39,102,198,.07)}
html.t-royal .paste-info .bad{color:#2863BB}
html.t-royal .pv-sum .dup{background:rgba(84,138,219,.13);color:#2863BB}
html.t-royal .pv-tbl tr.dup td{background:rgba(84,138,219,.08);color:#2863BB}
html.t-royal .snack{background:#0E2256}
html.t-royal .joinshow{color:#080D1A}
html.t-royal .qb-bar .lv-hard,html.t-royal .qb-lg .lv-hard{background:#9FB3D1}
html.t-royal .qs-hard{background:rgba(92,144,221,.13);color:#2863BB}
html.t-royal .pv-sum .bad{background:rgba(84,138,219,.13);color:#2863BB}
html.t-royal .qpv-bad{background:rgba(84,138,219,.07)}
html.t-royal .qpv-bad em{color:#2863BB}
html.t-royal body.wide.dark .qb,html.t-royal body.wide.dark .q-search,html.t-royal body.wide.dark .q-selbar{background:#0E2256}
html.t-royal .lvd.lv-hard{background:#9FB3D1}
html.t-royal body.wide.dark .qf-tile,html.t-royal body.wide.dark .qs-stage{background:#0E2256}
html.t-royal body.wide.dark .aw-opt{background:#061038}
html.t-royal body.wide.dark .aw-opt.main,html.t-royal body.wide.dark .aw-nm,html.t-royal body.wide.dark .aw-pk,html.t-royal body.wide.dark .aw-conf{background:#0E2256}
html.t-royal body.wide.dark .nc2-c,html.t-royal body.wide.dark .nc2-name{background:#0E2256}
html.t-royal body.wide.dark .ios-sw{background:#0E2256}
html.t-royal .set-row.danger-row{color:#2766C6}
html.t-royal body.wide.dark .tb-row{background:#0E2256}
html.t-royal .ms-tpl.on{background:rgba(39,102,198,.06)}
html.t-royal .s-bell .bdg{background:#548ADB}
html.t-royal .cpp-del{color:#548ADB}
html.t-royal .cpp-del:active{background:rgba(84,138,219,.12)}
html.t-royal .qi2-hid{color:#548ADB}
html.t-royal .rs-fail b{color:#2256A3}
html.t-royal body.dark :focus-visible{outline-color:#7CC4FF!important}
html.t-royal .q-mysub{color:var(--accent,#2766C6)}
html.t-royal .q-clear{background:rgba(84,138,219,.1);color:#548ADB}
html.t-royal .join-ic i:nth-child(1){background:#1A3D82}
html.t-royal .join-ic i:nth-child(2){background:#4E86D9}
html.t-royal .nw-code-xl{color:#080D1A}
html.t-royal .cn-no{background:#5389DA}
html.t-royal body[data-theme] .pv .opts.kc .opt.oc0:not(.good):not(.bad){background:#2C6ED1!important;border-color:#2357A5!important;box-shadow:0 5px 0 #1C4582!important}
html.t-royal body[data-theme] .pv .opts.kc .opt.oc1:not(.good):not(.bad){background:#1345CE!important;border-color:#0E36A3!important;box-shadow:0 5px 0 #0B297D!important}
html.t-royal body.dark .q3-sw:not(.on),html.t-royal body.wide.dark .q3-sw:not(.on){background:#0E2256}
html.t-royal body.wide{--primary:#2766C6;--primary-dark:#1B427D}
html.t-royal body.wide.dark{--primary:#2766C6;--primary-dark:#1B427D}
html.t-royal body.wide.dark .t-nav a.on,html.t-royal body.wide.dark .t-nav a.t-plus{color:#4C84D9!important}
html.t-royal .join-ic i:nth-child(1){background:#2C6ED1}
html.t-royal .join-ic i:nth-child(2){background:#1345CE}
html.t-royal .btn.cp-share{background:#2766C6;box-shadow:0 5px 0 #0C2862}
html.t-royal .btn.cp-share{background:#2766C6!important;box-shadow:0 5px 0 #0C2862!important}
html.t-royal .s-nav button.on{color:#2766C6}
html.t-royal .btn.s-me-t{background:#2766C6!important;box-shadow:0 5px 0 #1B427D!important}
html.t-royal .dlg-a button.pri{box-shadow:0 4px 0 #1B427D}
html.t-royal .dlg-a button.dng{background:#2766C6!important;box-shadow:0 4px 0 #1B427D}
html.t-royal .ce1-sh{background:rgba(6,16,56,.5)}
html.t-royal .rs2-hero{background:linear-gradient(160deg,var(--primary),#16336E);box-shadow:0 8px 24px rgba(39,102,198,.25)}
html.t-royal .st1-o.dng{color:#5389DA}
html.t-royal body .sl.sl-red .code-box{background:#0E2256!important;border:2px solid #23437E!important}
html.t-royal body .sl.sl-red .code-box.on{border-color:#2766C6!important;box-shadow:0 0 0 3px rgba(39,102,198,.3)!important}
html.t-royal body .sl.sl-red .sl1-go{background:#2766C6!important;box-shadow:0 5px 0 #0C2862!important}
html.t-royal .ch-warn{background:rgba(83,137,218,.12);border:1.5px solid rgba(83,137,218,.45)}
html.t-royal .ch-b.end{color:#5389DA}
html.t-royal #adm-bar{background:#16336E}
html.t-royal .p3-tfb button.f.on{border-color:#5389DA;background:color-mix(in srgb,#5389DA 20%,var(--card))}
html.t-royal .opts.tf .opt.oc1{background:#5389DA!important}
html.t-royal .opts.ord .opt.picked .shp{color:#0F1935}
html.t-royal body[data-theme] .pv .opts.kc.tf .opt.oc1:not(.good):not(.bad){background:#5389DA!important;border-color:#2357A5!important;box-shadow:0 5px 0 #1C4582!important}
html.t-royal body .pv.pvx .pv-btn{background:#0E2256!important}
html.t-royal body .pv.pvx .pv-pill{background:#0E2256!important}
html.t-royal body .pv.pvx .pv-kind{background:#16336E!important}
html.t-royal body .pv.pvx .dots .dot{background:#16336E!important}
html.t-royal body .pv.pvx .dots .dot.cur{background:#2766C6!important}
html.t-royal .pvx-bar{background:#16336E}
html.t-royal .pvx-bar i{background:#2766C6}
html.t-royal .pvx-bar i.hurry{background:#9FB3D1}
html.t-royal .pvx-tm.hurry b{color:#9FB3D1}
html.t-royal body[data-theme] .pv.pvx .pv-panel .qbox{background:#0E2256!important}
html.t-royal body[data-theme] .pv.pvx .opts.kc .opt:nth-child(n):not(.good):not(.bad){background:#16336E!important;box-shadow:0 5px 0 #091021!important}
html.t-royal body[data-theme] .pv.pvx .opts.kc .opt:nth-child(n):active{box-shadow:0 2px 0 #091021!important}
html.t-royal body[data-theme] .pv.pvx .opts .opt.bad:nth-child(n){background:#2766C6!important;box-shadow:0 5px 0 #17396D!important}
html.t-royal body[data-theme] .pv.pvx .opts.kc.tf .opt.oc1 .letter.shp{color:#9FB3D1!important}
html.t-royal body[data-theme] .pv.pvx .opts.ord .opt.picked:not(.good):not(.bad){background:#1A3D82!important;box-shadow:0 5px 0 #2766C6!important}
html.t-royal body[data-theme] .pv.pvx .opts.ord .letter.shp{background:#2766C6!important}
html.t-royal body .pv.pvx .pts-pop.bad{color:#9FB3D1}
html.t-royal body[data-theme] .pv.pvx .opts.ord .opt.picked .letter.shp{background:#2766C6!important}
html.t-royal .sp-rows{background:#16336E}
html.t-royal .s-prof .code-pill{background:#0E2256!important}
html.t-royal .rv2-h span{background:#2766C6}
html.t-royal .rv2-w{background:#0E2256;border-inline-start:5px solid #2766C6}
html.t-royal .rv2-l.no{background:rgba(39,102,198,.12);color:#85ABE5}
html.t-royal .rv2-l.no i{background:#2766C6}
html.t-royal .rv2-dr{background:#0E2256}
html.t-royal .rv2-all{background:#0E2256}
html.t-royal .rv2-ok{background:#0E2256}
html.t-royal .s-av-ed{background:#2766C6;border:3px solid #0E2256}
html.t-royal .s-avg button{background:#16336E}
html.t-royal .s-avg button.on{border-color:#2766C6;background:color-mix(in srgb,#2766C6 18%,#142E66)}
html.t-royal .sp-prize{background:#0E2256}
html.t-royal .bg2-next{background:linear-gradient(135deg,#2766C6,#0C2862)}
html.t-royal .bg2{background:#0E2256}
html.t-royal .bg2 .bg2-md{background:#16336E}
html.t-royal .bg2-bar{background:#16336E}
html.t-royal .bg2-bar i{background:#2766C6}
html.t-royal .bg2.on{border-color:#2766C6;background:color-mix(in srgb,#2766C6 10%,#0E2256)}
html.t-royal .bg2.on .bg2-md{background:color-mix(in srgb,#2766C6 22%,#142E66)}
html.t-royal .bg2-tier i{background:#1A3D82}
html.t-royal .bg2-ds .bg2-md.big{background:#16336E}
html.t-royal .bg2-steps div{background:#16336E}
html.t-royal .bg2-steps i.rd{background:#2766C6}
html.t-royal .bg2-c{background:#0E2256;border:1px solid #142E66}
html.t-royal .bg2-glow{background:radial-gradient(circle,color-mix(in srgb,#2766C6 45%,#142E66),#142E66 70%)}
html.t-royal .bg2-dots i{background:#1A3D82}
html.t-royal .bg2-dots i.on{background:#2766C6}
html.t-royal .bg2-two .g{background:#16336E}
html.t-royal .bg2-two .r{background:#2766C6;box-shadow:0 5px 0 #0C2862}
html.t-royal body .sl.sl-red .sl1-t{background:#0E2256!important}
html.t-royal body.wide.dark .t-nav{background:rgba(14,25,56,.7)!important}
html.t-royal .sp-low .sp-prac{border:1.5px solid #213671;background:#16336E;box-shadow:0 5px 0 #070B17}
html.t-royal .sp-low .sp-prac:active{box-shadow:0 2px 0 #070B17}
html.t-royal body .pv.pvx .dots .dot.done.no{background:#9FB3D1!important}
html.t-royal .result.is-lose .rv2-dr{background:#2766C6;box-shadow:0 5px 0 #0C2862}
html.t-royal .sp-open{background:#2766C6;box-shadow:0 5px 0 #0C2862}
html.t-royal .goal{background:#0E2256}
html.t-royal .goal-bar{background:#16336E}
html.t-royal .ad-bars i{background:#2766C6}
html.t-royal .wk-star{background:#0E2256}
html.t-royal .wk-star.me{background:linear-gradient(135deg,#7a5a00,#0E2256)}
html.t-royal .sp-done .goal{background:#16336E}
html.t-royal .sp-done .goal-bar{background:#0E2256}
html.t-royal .cp-row.on .ch-ck{background:#2766C6;border-color:#2766C6}
html.t-royal .sp-cd{background:#16336E}
html.t-royal body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt.oc0::before{background:#9FB3D1}
html.t-royal body[data-theme] .pv.pvx .opts.kc:not(.tf):not(.ord) .opt.oc1::before{background:#0A4BFF}
html.t-royal .pv-av{background:#0E2256;box-shadow:0 0 0 2px #213671}
html.t-royal .fr-s{box-shadow:0 0 0 3px #C7CCD4!important}
html.t-royal body .pv.pvx .dots .dot.cur:not(.done){box-shadow:0 0 0 3px rgba(39,102,198,.35)!important}
html.t-royal .bg2,html.t-royal .bg2.on{background:#0E2256;border:1px solid #142E66}
html.t-royal .bg2.on .bg2-md{background:#16336E}
html.t-royal .bg2-bar{background:#1A3D82}
html.t-royal .bg2-next{background:#0E2256;border:1px solid #142E66}
html.t-royal .bg2-next .bg2-md{background:#16336E}
html.t-royal .bg2-nb{background:#1A3D82}
html.t-royal .bg2-tier i{background:#16336E}
html.t-royal body.dark .s-nav{background:#0E2256;border:1px solid #142E66}
html.t-royal #ob{--card:#0E2256;--soft:#142E66;--line:#142E66}
html.t-royal .obr-pill{background:#0E2256}
html.t-royal .obr-dots i{background:#16336E}
html.t-royal .obr-dots i.cur{background:#2766C6;box-shadow:0 0 0 3px rgba(39,102,198,.35)}
html.t-royal .obr-bar{background:#16336E}
html.t-royal .obr-bar i{background:#2766C6}
html.t-royal .obr-q{background:#0E2256}
html.t-royal #ob .ob-t{background:#16336E;box-shadow:0 5px 0 #0A1022}
html.t-royal #ob .ob-t:active{box-shadow:0 2px 0 #0A1022}
html.t-royal #ob .btn{background:#2766C6;box-shadow:0 5px 0 #0C2862}
html.t-royal #ob .btn.soft{background:#0E2256}
html.t-royal .obr-code{background:#0E2256}
html.t-royal .obr-sum{background:#0E2256}
html.t-royal .obr-row{border-bottom:1px solid #142E66}
html.t-royal .obr-more{background:#0E2256}
html.t-royal #ob .ob-in{background:#16336E}
html.t-royal .obr-demo{background:#16336E}
html.t-royal .ad-del{color:#9FB3D1}
html.t-royal #ob .obr-go:not(.soft){box-shadow:0 5px 0 #0C2862,0 -10px 24px 10px #000}
html.t-royal body .cin-n[data-n="3"]{color:#9FB3D1!important;text-shadow:0 0 40px rgba(92,144,221,.45)}
html.t-royal .t-nav .nav-sq{--nsq:#23437E}
html.t-royal body.wide.dark .t-nav .nav-sq{--nsq:#213671}
html.t-royal .t-nav .nb{background:#548ADB}
html.t-royal body.wide.dark .t-nav .nb{box-shadow:0 0 0 2px #0E2256}
html.t-royal .s-nav .i .nav-sq{--nsq:#213671}
html.t-royal body.wide.dark .t-nav a.t-sq:not(.on):not(.hover) .nav-sq{--nsq:#213671}
html.t-royal body .t-nav .lens::after,html.t-royal body .s-nav .lens::after{
  background:conic-gradient(from 200deg,rgba(255,255,255,.9),rgba(124,196,255,.8),rgba(255,255,255,.15) 25%,rgba(255,120,200,.7) 40%,rgba(255,255,255,.9) 50%,rgba(255,230,120,.7) 62%,rgba(255,255,255,.15) 75%,rgba(120,255,200,.7) 88%,rgba(255,255,255,.9))}
html.t-royal body.wide.dark .t-nav:has(.lens.drag) a.hover{color:#4C84D9!important}
html.t-royal body.wide.dark{--card:#0E2256;--soft:#142E66}
html.t-royal body.wide.dark .modal{background:#0E2256}
html.t-royal .rl-pc.on{border-color:#2766C6}
html.t-royal .rl-pc.on .rl-n{border:7px solid #2766C6}
html.t-royal .rl-more{color:#2766C6}
html.t-royal body.wide.dark .rl-sg button.on{background:#16336E}
html.t-royal .cp-selm .cp-tile.picked{border-color:#2766C6}
html.t-royal .cp-tile.picked .cp-ck{background:#2766C6;border-color:#2766C6}
html.t-royal .xl2-s>b{background:#2766C6}
html.t-royal .cm2 .set-grp{background:var(--soft,#16336E)}
html.t-royal .pcv{color:#080D1A}
html.t-royal .pcv .btn.soft{color:#080D1A}
html.t-royal .pcv-t{color:#23437E}
html.t-royal .modal .aw-opt{background:var(--soft,#16336E)!important}
html.t-royal .modal .aw-opt.on{border-color:#2766C6!important}
html.t-royal body.wide.dark .btn.soft,html.t-royal body.wide.dark .btn.ghost{background:#16336E!important}
html.t-royal body.wide.dark .btn.danger,html.t-royal body.wide.dark .btn.dng-t{background:#16336E!important;color:#9FB3D1!important}
html.t-royal .bg2-sh{border:1px solid #23437E}
html.t-royal .shl-st div{background:#0E2256}
html.t-royal .rp2-hero{background:#0E2256}
html.t-royal .rp2-av{background:#16336E}
html.t-royal .rp2-pills span{background:#16336E}
html.t-royal .rp2-nums>div{background:#16336E}
html.t-royal .rp2-card{background:#0E2256}
html.t-royal .rp2-l{background:#0E2256}
html.t-royal .rp2-l i{background:#1A3D82}
html.t-royal .rp2-l.k-bad i{background:#9FB3D1}
html.t-royal .rp2-l.k-bad b{color:#9FB3D1}
html.t-royal .rp2-key .k-bad{background:#9FB3D1}
html.t-royal .rp2-mis{background:#0E2256}
html.t-royal .rp2-mis .w{background:rgba(92,144,221,.14);color:#7DA6E3}
html.t-royal .rp2-det{background:#0E2256}
html.t-royal .rp2-ch{border-top:1px solid #142E66}
html.t-royal .rp2-chips span{background:#16336E}
html.t-royal .rp2-note2{background:#0E2256}
html.t-royal .rp3-hd{border-bottom:2px solid #2766C6}
html.t-royal .rp3-br b{color:#2766C6}
html.t-royal .rp3 h2::before{background:#2766C6}
html.t-royal .rp3-sum.w h3{color:#2766C6}
html.t-royal .rp3-tr i.k-bad{background:#2766C6}
html.t-royal .rp3-lr em.k-bad{background:#E5EDF9;color:#2766C6}
html.t-royal .rp3-ft b{color:#2766C6}
html.t-royal .rp4-hd{background:linear-gradient(100deg,#1E4A8B,#2D6FD3)}
html.t-royal .rp4 h2::before{background:#2766C6}
html.t-royal .rp4-ini{background:#E5EDF9;color:#2766C6}
html.t-royal .rp4 .r{color:#2766C6}
html.t-royal .rp4-chips span.r{background:#E5EDF9}
html.t-royal .rp4-wrow .l{color:#2766C6}
html.t-royal .rp4-wrow .x{color:#2766C6}
html.t-royal .st1-o.dng,html.t-royal .st1-o.dng b{color:#9FB3D1}
html.t-royal .t-bell{background:var(--soft,#16336E)}
html.t-royal .t-bell-n{background:#2766C6}
html.t-royal .nt-i{background:var(--soft,#16336E)}
html.t-royal .nt-i.new{box-shadow:inset -3px 0 0 #2766C6}
html.t-royal .nt-i em{background:#2766C6}
html.t-royal .ar-on{background:#0E2256;border:1px solid #142E66}
html.t-royal .ar-av{background:#16336E}
html.t-royal .ar-core .ar-av{box-shadow:0 0 0 3px #000,0 0 0 5px #142E66}
html.t-royal .ar-card{background:#16336E;box-shadow:0 7px 0 #091021,0 0 46px -8px var(--c)}
html.t-royal .ar-card:active{box-shadow:0 3px 0 #091021,0 0 46px -8px var(--c)}
html.t-royal .ar-pill{background:#0E2256}
html.t-royal .ar-cta{background:#2766C6;box-shadow:0 5px 0 #0C2862}
html.t-royal .ar-dots i{background:#1A3D82}
html.t-royal .ar-radar>i{border:2px solid #142E66}
html.t-royal .ar-radar .sweep{background:conic-gradient(from 0deg,rgba(39,102,198,.55),transparent 28%)}
html.t-royal .ar-vs .a{background:linear-gradient(165deg,#2B6CCD,#0C2862)}
html.t-royal .ar-vs .b{background:linear-gradient(165deg,#0A4BFF,#0B297D)}
html.t-royal .ar-rope{background:#0A4BFF}
html.t-royal .ar-rope .mine{background:#2766C6}
html.t-royal .ar-rows{background:#0E2256}
html.t-royal .ar-lvb .segs i{background:#16336E}
html.t-royal body .s-nav button.s-ar .i.sq .nav-sq{--nsq:#23437E}
html.t-royal body .s-nav button.s-ar .nav-sq circle:nth-of-type(1){fill:#0A4BFF!important}
html.t-royal body .s-nav button.s-ar .nav-sq circle:nth-of-type(2){fill:#9FB3D1!important}
html.t-royal .cm-em{background:var(--soft,#16336E)}
html.t-royal .ar-emo button{background:#0E2256;border:1px solid #142E66}
html.t-royal .ar-emo.off .mute{background:#0E2256;border-color:#142E66}
html.t-royal .ar-pfg{background:#16336E}
html.t-royal .ar-pfa button.on{box-shadow:0 0 0 3px #0E2256,0 0 0 6px #F5B72B}
html.t-royal .ar-pfn{background:#16336E}
html.t-royal .ar-pfn button{background:#0E2256}
html.t-royal body .s-nav button.on{color:#4C84D9!important}
html.t-royal body .s-nav:has(.lens.drag) button.hover{color:#4C84D9!important}
html.t-royal .nt-all{color:#4C84D9}
html.t-royal .nt-x{background:var(--soft,#16336E)}
html.t-royal .ar-me{background:#0E2256}
html.t-royal .ar-me1 .ar-av{box-shadow:0 0 0 3px #0E2256,0 0 0 5px #F5B72B}
html.t-royal .ar-mbar{background:#16336E}
html.t-royal .ar-stg>div{background:#0E2256}
html.t-royal .ta .card{background:#0E2256!important}
html.t-royal .ta .tabs{background:#16336E!important}
html.t-royal .ta .tabs button.on{background:#16336E!important}
html.t-royal .ta .input{background:#16336E!important;border:1.5px solid #23437E!important}
html.t-royal .ta .btn{background:#2766C6!important;box-shadow:0 5px 0 #0C2862!important}
html.t-royal .ta .btn.ghost{background:#16336E!important}
html.t-royal body .sl.sl-red .sl1-t{background:#0E2256!important}
html.t-royal .sp-done .goal{border-top:1px solid #142E66}
html.t-royal .sp-done .goal-bar{background:#16336E}
html.t-royal .ms-r{background:#0E2256}
html.t-royal .ms-r.me{box-shadow:inset 0 0 0 1.5px #23437E}
html.t-royal .ms-play{background:#2766C6;box-shadow:0 4px 0 #0C2862}
html.t-royal body.wide.dark::before{background:radial-gradient(70vw 60vw at 85% 6%,rgba(39,102,198,.45),transparent 70%),radial-gradient(70vw 60vw at 8% 60%,rgba(39,102,198,.22),transparent 70%),radial-gradient(70vw 55vw at 80% 100%,rgba(245,183,43,.14),transparent 70%)}
html.t-royal .mg-grid .mg-c{background:#16336E;box-shadow:0 5px 0 #091021}
html.t-royal .mg-grid .mg-c:active{box-shadow:0 2px 0 #091021}
html.t-royal .mg-grid .mg-c.flip{background:#1A3D82}
html.t-royal .mg-grid .mg-c.no{background:#2766C6;box-shadow:0 5px 0 #17396D}
html.t-royal .mg-big{background:#16336E;box-shadow:0 5px 0 #091021}
html.t-royal .mg-typed.no{color:#9FB3D1}
html.t-royal .mg-k{background:#16336E;box-shadow:0 5px 0 #091021}
html.t-royal .mg-k:active{box-shadow:0 2px 0 #091021}
html.t-royal .mg-cup b{background:#2766C6}
html.t-royal .mg-cup.noc i{background:#9FB3D1}
html.t-royal .q4-adm button:last-child{color:#2766C6}
html.t-royal .ad-h span{background:#2766C6}
html.t-royal .bd::before{background:radial-gradient(60vw 50vw at 85% 0%,rgba(39,102,198,.4),transparent 70%),radial-gradient(50vw 50vw at 10% 100%,rgba(245,183,43,.1),transparent 70%)}
html.t-royal body .bd .qbox.bd-q{background:#0E2256!important}
html.t-royal .bd-opt{background:#16336E}
html.t-royal .bd-opt.oc0::before{background:#9FB3D1}
html.t-royal .bd-opt.oc1::before{background:#0A4BFF}
html.t-royal .bd-opt.bad{background:#9FB3D1}
html.t-royal .bd-fb .no{color:#9FB3D1}
html.t-royal .ta .ta-stu{background:#0E2256}
html.t-royal .nw-bk{background:#16336E}
html.t-royal body:not(.dark) .nw-bk{color:#0E2256}
html.t-royal body.dark .dlg-code,html.t-royal .sh .dlg-code{background:#0E2256}
html.t-royal .dlg-cp{color:#0A4BFF}
html.t-royal .nw-set1{background:var(--card,#0E2256)}
html.t-royal .nw-set1 em{color:#6C9AE0}
html.t-royal .h-brd{background:linear-gradient(135deg,#16336E,#0E1938)}
html.t-royal .nw-brd .nw-dots i.on{background:#0A4BFF}
html.t-royal .sp-one .sp-prac{border:1.5px solid #213671;background:#16336E;box-shadow:0 5px 0 #070B17}
html.t-royal .sp-one .sp-prac:active{box-shadow:0 2px 0 #070B17}
html.t-royal .sp-open.soft{background:#16336E!important}
html.t-royal .sj-ed .dng{color:#9FB3D1}
html.t-royal .nw-mode{background:#0E2256}
html.t-royal .nw-mode button.on{background:#16336E}
html.t-royal .gp-seg{background:#0E2256}
html.t-royal .gp-seg button.on{background:#16336E}
html.t-royal .gp-t{background:#0E2256}
html.t-royal .gp-t.on{background:#0E1938;border-color:#2766C6}
html.t-royal .gp-s{background:#0E2256}
html.t-royal .gp-s.on{background:#0E1938;border-color:#2766C6}
html.t-royal .h-nb{background:#0E2256;border:1px solid #23437E}
html.t-royal .nw-modes button{background:#0E2256}
html.t-royal .nw-modes button.on{border-color:#2766C6;background:#0E1938}
html.t-royal .lv-card{border:1px solid #2766C6;background:#0E1938}
html.t-royal .lvb::before{background:radial-gradient(circle at 85% -10%,rgba(39,102,198,.35),transparent 55%)}
html.t-royal .lv-x{background:#16336E}
html.t-royal .lv-pill{background:#16336E}
html.t-royal .lv-chip{background:#16336E}
html.t-royal .lv-go{background:#2766C6;box-shadow:0 5px 0 #0C2862}
html.t-royal .lv-go.lv-sm{background:#16336E}
html.t-royal .lv-bar{background:#16336E}
html.t-royal .lv-bar i{background:#2766C6}
html.t-royal .lv-q{background:#0E2256}
html.t-royal .lv-o{background:#16336E}
html.t-royal .lv-row{background:#0E2256}
html.t-royal .lv-pod div{background:#16336E}
html.t-royal .lv-pod .p1{background:linear-gradient(#5b4a10,#16336E)}
html.t-royal .lvs-bar{background:#16336E}
html.t-royal .lvs-bar i{background:#2766C6}
html.t-royal .lvs-q{background:#0E2256}
html.t-royal .lvs-o button{background:#16336E}
html.t-royal .lvs-back{background:#2766C6;box-shadow:0 5px 0 #0C2862}
html.t-royal .s-del-me{color:#9FB3D1}
html.t-royal .bd-opt{box-shadow:0 5px 0 #091021}
html.t-royal .bd-opt:active{box-shadow:0 2px 0 #091021}
html.t-royal .bd-opt.bad{background:#2766C6;box-shadow:0 5px 0 #17396D}
html.t-royal .cxm{background:rgba(14,34,86,.82)}
html.t-royal .cxm button.red{color:#9FB3D1}
html.t-royal body .sl.sl-red .hero .logo{filter:drop-shadow(0 10px 30px rgba(39,102,198,.6))}
html.t-royal body .sl.sl-red h1{text-shadow:0 3px 0 #0C2862,0 6px 18px rgba(39,102,198,.55)!important}
html.t-royal body .sl.sl-red .sl1{background:rgba(6,16,56,.82);border:1.5px solid rgba(39,102,198,.55);box-shadow:0 0 24px rgba(39,102,198,.28),inset 0 1px 0 rgba(255,255,255,.06)}
html.t-royal body .sl.sl-red .code-box{background:#0E2256!important;border:2px solid #213671!important}
html.t-royal body .sl.sl-red .code-box.on{border-color:#5288DA!important;background:#0E1938!important;box-shadow:0 0 0 3px rgba(39,102,198,.35),0 0 18px rgba(82,136,218,.6)!important}
html.t-royal body .sl.sl-red .sl1-go{background:linear-gradient(180deg,#417DD7,#2766C6 55%,#21529C)!important;box-shadow:0 6px 0 #17396D,0 10px 26px rgba(39,102,198,.5)!important}
html.t-royal body .sl.sl-red .sl1-t{background:#061038!important;border:1.5px solid #23437E!important}
html.t-royal body .play.pv.pvx::before{background:radial-gradient(circle at 50% 55%,rgba(39,102,198,.32),transparent 60%),repeating-conic-gradient(from 3deg at 50% 55%,rgba(39,102,198,.16) 0 6deg,transparent 6deg 14deg)}
html.t-royal body[data-theme] .play.pv.pvx .pv-pill{background:#061038!important;border:2px solid #17396D!important;box-shadow:0 0 14px rgba(39,102,198,.35)}
html.t-royal body[data-theme] .play.pv.pvx .pv-pts{background:#061038}
html.t-royal body[data-theme] .play.pv.pvx .pvx-tm .pvx-bar{background:#0E1938!important;border:2px solid #122C52}
html.t-royal body[data-theme] .play.pv.pvx .pvx-tm .pvx-bar i{background:linear-gradient(#4A83D9,#2255A1)!important;box-shadow:0 0 10px rgba(74,131,217,.7)}
html.t-royal body[data-theme] .play.pv.pvx .pvx-tm>span{background:radial-gradient(circle at 50% 40%,#2766C6,#143260);border:4px solid #4A83D9;box-shadow:0 0 18px rgba(74,131,217,.6),inset 0 0 0 3px #061038}
html.t-royal body[data-theme] .play.pv.pvx .pvx-tm>span::before{background:#4A83D9}
html.t-royal body[data-theme] .play.pv.pvx .pv-panel .qbox{border:3px solid #2766C6!important;box-shadow:0 0 0 3px #0B1C36,0 0 26px rgba(39,102,198,.45)!important}
html.t-royal body[data-theme] .play.pv.pvx .opts.kc .opt:nth-child(n):not(.good):not(.bad):not(.picked){box-shadow:inset 0 0 0 3px #2766C6,0 4px 0 #122C52,0 0 14px rgba(39,102,198,.3)!important}
html.t-royal body[data-theme] .play.pv.pvx .pv-panel .qbox{background:linear-gradient(#061038,#061038)!important}
html.t-royal body[data-theme] .play.pv.pvx .opts.kc .opt:nth-child(n):not(.good):not(.bad):not(.picked){background:linear-gradient(#0E1938,#061038)!important}
html.t-royal body.wide.dark{--tcard:linear-gradient(160deg,#1d0b0f,#080D1C 60%);--tbrd:rgba(39,102,198,.24)}
html.t-royal body.wide.dark .t-top{background:radial-gradient(120% 140% at 100% 0,rgba(39,102,198,.38),transparent 60%)!important}
html.t-royal body.wide.dark .hc-ring{filter:drop-shadow(0 0 10px rgba(39,102,198,.5))}
html.t-royal body.wide.dark .ch-big b{text-shadow:0 0 18px rgba(39,102,198,.6)}
html.t-royal body.wide.dark .ch-bar i{background:linear-gradient(90deg,#4A83D9,#2255A1)!important;box-shadow:0 0 10px rgba(74,131,217,.6)}
html.t-royal body.wide.dark .ch-b.end{color:#9FB3D1!important}
html.t-royal body.wide.dark .cp-code b{border:2px solid #2766C6;background:#061038;box-shadow:0 0 16px rgba(39,102,198,.45)}
html.t-royal body.wide.dark .cp-row .cp-rk:not(#z){background:#0E1938!important;border:1.5px solid rgba(39,102,198,.6)}
html.t-royal body.wide.dark .nw-mode .on{background:linear-gradient(#2A68C6,#1F4D92)!important;box-shadow:0 0 12px rgba(39,102,198,.5)}
html.t-royal body.wide.dark .nw-dots::before{background:#1A3D82}
html.t-royal body.wide.dark .nw-dots i{background:#0E2256!important;border:2px solid #213671}
html.t-royal body.wide.dark .nw-dots i.on{background:#2766C6!important;border-color:#4A83D9;box-shadow:0 0 12px rgba(74,131,217,.6)}
html.t-royal body.wide.dark .set-profile .avatar{box-shadow:0 0 0 3px #061038,0 0 0 5px #2766C6}
html.t-royal .s-me-st span{background:#061038;border:1.5px solid rgba(39,102,198,.55)}
html.t-royal .s-me-l{background:linear-gradient(160deg,#1d0b0f,#061038);border:1.5px solid rgba(39,102,198,.45)}
html.t-royal .s-me-l button+button{border-top:1px solid #142E66}
html.t-royal .s-me-l .sw{background:#1A3D82}
html.t-royal .s-me-l .sw.on{background:#2766C6;box-shadow:0 0 10px rgba(39,102,198,.6)}
html.t-royal .s-me-x button.dng{color:#9FB3D1}
html.t-royal .avi{background:radial-gradient(circle at 50% 38%,#2D6FD3,#143260 75%)}
html.t-royal .bg2 .bg2-md::before,html.t-royal .bg2-next .bg2-md::before{background:linear-gradient(160deg,#d6d6db,#6e6e73 55%,#23437E)}
html.t-royal .bg2 .bg2-md::after,html.t-royal .bg2-next .bg2-md::after{background:radial-gradient(circle at 50% 40%,#1A3D82,#0E1938 75%)}
html.t-royal .bg2.on .bg2-md::after{background:radial-gradient(circle at 50% 40%,#2D6FD3,#143260 78%)}
html.t-royal .bg2-next .bg2-md::before{background:linear-gradient(160deg,#4A83D9,#0C2862)}
html.t-royal .bg2-next .bg2-md::after{background:radial-gradient(circle at 50% 40%,#0E2256,#061038)}
html.t-royal .bg2 .bg2-md::before,html.t-royal .bg2-next .bg2-md::before{background:linear-gradient(160deg,#d6d6db,#6e6e73 55%,#23437E)}
html.t-royal .bg2 .bg2-md::after,html.t-royal .bg2-next .bg2-md::after{background:radial-gradient(circle at 50% 40%,#1A3D82,#0E1938 75%)}
html.t-royal .bg2.on .bg2-md::after{background:radial-gradient(circle at 50% 40%,#2D6FD3,#143260 78%)}
html.t-royal .bg2-next .bg2-md::before{background:linear-gradient(160deg,#4A83D9,#0C2862)}
html.t-royal .bg2-next .bg2-md::after{background:radial-gradient(circle at 50% 40%,#0E2256,#061038)}
html.t-royal .bg2 .bg2-md::before,html.t-royal .bg2-next .bg2-md::before{background:linear-gradient(160deg,#d6d6db,#6e6e73 55%,#23437E)}
html.t-royal .bg2 .bg2-md::after,html.t-royal .bg2-next .bg2-md::after{background:radial-gradient(circle at 50% 40%,#1A3D82,#0E1938 75%)}
html.t-royal .bg2.on .bg2-md::after{background:radial-gradient(circle at 50% 40%,#2D6FD3,#143260 78%)}
html.t-royal .bg2-next .bg2-md::before{background:linear-gradient(160deg,#4A83D9,#0C2862)}
html.t-royal .bg2-next .bg2-md::after{background:radial-gradient(circle at 50% 40%,#0E2256,#061038)}
html.t-royal .sh.pvx.ar-find{background:radial-gradient(circle at 50% 36%,rgba(39,102,198,.35),transparent 55%),#000!important}
html.t-royal .sh.pvx.ar-find::after{background:repeating-conic-gradient(from 3deg at 50% 36%,rgba(39,102,198,.13) 0 6deg,transparent 6deg 14deg)}
html.t-royal .ar-find .ar-radar>i{border:2px solid rgba(74,131,217,.55);box-shadow:0 0 18px rgba(39,102,198,.45),inset 0 0 18px rgba(39,102,198,.25)}
html.t-royal .ar-find .ar-radar>i:nth-child(2){border-color:rgba(74,131,217,.35)}
html.t-royal .ar-find .ar-radar .sweep{background:conic-gradient(from 0deg,rgba(74,131,217,.6),transparent 22%)}
html.t-royal .ar-find .ar-fs{background:#061038;box-shadow:0 0 0 6px rgba(39,102,198,.25),0 0 26px rgba(39,102,198,.55)}
html.t-royal .ar-find .btn.ar-fnow{background:linear-gradient(#3877D5,#2255A1)!important;box-shadow:0 0 22px rgba(74,131,217,.55)!important}
html.t-royal .ar-find .btn.ghost.ar-fx{background:#16336E!important;border:1.5px solid #213671!important}
html.t-royal .ar-vs .half small{background:#061038}
html.t-royal .ar-find .ar-radar .sweep{background:conic-gradient(from 0deg,rgba(94,145,221,.35),transparent 18%)}
html.t-royal .cn-tag.cn-del{background:#0E1938;color:#85ABE5}
html.t-royal .ta::after{background:repeating-conic-gradient(from 2deg at 50% 62%,rgba(43,106,201,.6) 0 5deg,transparent 5deg 12deg)}
html.t-royal .ta .hero h1::before,html.t-royal .ta .hero h1::after{background:linear-gradient(#2B6AC9,#2B6AC9) 0 0/100% 4px no-repeat,linear-gradient(#2B6AC9,#2B6AC9) 0 9px/78% 4px no-repeat,linear-gradient(#2B6AC9,#2B6AC9) 0 18px/56% 4px no-repeat}
html.t-royal body .ta .card:not(#z){border:2px solid #2B6AC9!important;box-shadow:0 0 22px rgba(43,106,201,.6),inset 0 0 18px rgba(43,106,201,.12)!important}
html.t-royal body .ta .tabs:not(#z){background:#0E2256!important;border:1.5px solid #23437E}
html.t-royal body .ta .tabs button.on:not(#z){background:linear-gradient(#3474D4,#2255A1)!important;box-shadow:0 0 0 2px #E3B23C,0 0 16px rgba(43,106,201,.6)!important}
html.t-royal body .ta .input:not(#z){background:#0E1938!important;border:1.5px solid #2B6AC9!important;box-shadow:0 0 10px rgba(43,106,201,.35)}
html.t-royal body .ta .btn[type=submit]:not(#z){background:linear-gradient(#3474D4,#2255A1)!important;box-shadow:0 0 22px rgba(43,106,201,.6)!important}
html.t-royal body .ta .ta-stu:not(#z){background:rgba(6,16,56,.85)}
html.t-royal .ac-pav .prof-big{box-shadow:0 0 22px rgba(43,106,201,.55)!important}
html.t-royal .ac-pav .prof-cam{background:#2B6AC9}
html.t-royal body .ac-page .ac-f .input:not(#z){background:#0E2256!important;border:1.5px solid #23437E!important}
html.t-royal .ac-ph span{background:#0E2256;border:1.5px solid #23437E}
html.t-royal body .ac-page .ac-c:not(#z){background:#0E2256!important;border:1.5px solid #23437E!important}
html.t-royal body .ac-page .ac-c.on:not(#z){background:linear-gradient(#3474D4,#2255A1)!important;box-shadow:0 0 14px rgba(43,106,201,.5)}
html.t-royal .ac-bar .btn{background:linear-gradient(#3474D4,#2255A1)!important;box-shadow:0 0 22px rgba(43,106,201,.6)!important}
html.t-royal .ac-grp{background:#0E2256}
html.t-royal .ac-row{border-bottom:1px solid #142E66}
html.t-royal body .ac-sh2 .btn:not(#z){background:linear-gradient(#3474D4,#2255A1)!important}
html.t-royal body .ac-sh2 .ac-c:not(#z){background:#16336E!important;border:1.5px solid #23437E!important}
html.t-royal body .ac-sh2 .ac-c.on:not(#z){background:linear-gradient(#3474D4,#2255A1)!important}
html.t-royal .ac-ex{border-bottom:1px solid #142E66;background:#061038}
html.t-royal .ac-ex .input{background:#16336E!important}
html.t-royal body .ac-ex .ac-c:not(#z){background:#16336E!important;border:1.5px solid #23437E!important}
html.t-royal body .ac-ex .ac-c.on:not(#z){background:linear-gradient(#3474D4,#2255A1)!important}
html.t-royal .ac-fl{border-bottom:1px solid #142E66}
html.t-royal .ac-sel option{background:#0E2256}
html.t-royal body .ac-st .ac-c:not(#z){background:#16336E!important;border:1.5px solid #23437E!important}
html.t-royal body .ac-st .ac-c.on:not(#z){background:linear-gradient(#3474D4,#2255A1)!important}
html.t-royal .stp{background:#0E2256;border:1.5px solid #23437E}
html.t-royal .stp-x{background:#16336E}
html.t-royal .stp-bar{background:#16336E}
html.t-royal .stp-r{border-top:1px solid #142E66}
html.t-royal .stp-n{background:#16336E}
html.t-royal .stp-b{background:linear-gradient(#3474D4,#2255A1)}
html.t-royal .stp-b.s{background:#16336E}
html.t-royal .snd{background:#0E2256}
html.t-royal .snd-q{border:1.5px solid #23437E;background:#16336E}
html.t-royal .rp2-subj button{background:#0E2256;border:1.5px solid #142E66}
html.t-royal .rp2-subj button.on{background:#2766C6;border-color:#2766C6}
html.t-royal .av2-big{box-shadow:0 0 0 4px #061038,0 0 0 7px #E3B23C,0 0 26px rgba(227,178,60,.4)}
html.t-royal .av2-big:has(em){background:#16336E}
html.t-royal .av2-tabs{background:#16336E}
html.t-royal .av2-tabs button.on{background:#2766C6}
html.t-royal .av2 .s-avg button.on{background:#1A3D82}
html.t-royal .tm-pop{background:#0E2256}
html.t-royal .tm-pop button:active{background:#16336E}
html.t-royal .tm-p-r.dng{color:#9FB3D1!important}
html.t-royal body:not(.dark) .tm-pop button{color:#080D1A}
html.t-royal .trp-shot{border:1.5px dashed var(--line,#23437E)}
html.t-royal .ad-fbb{background:var(--soft,#16336E)}
html.t-royal .ad-fbm span{background:var(--soft,#16336E)}
html.t-royal .ad-attn{background:color-mix(in srgb,#2766C6 22%,var(--card));border:1px solid color-mix(in srgb,#2766C6 55%,transparent)}
html.t-royal .ad-ic{background:#16336E!important}
html.t-royal .ad-qi{background:#16336E}
html.t-royal .ad-st i{color:#23437E}
html.t-royal .ad-rt-b i{background:#16336E}
html.t-royal .rt-stars button{color:#23437E}
html.t-royal .ad-gd em.z,html.t-royal .ad-bleg em.z{background:#1A3D82}
html.t-royal .ad-lb{background:#16336E}
html.t-royal .cp-claim{background:color-mix(in srgb,#2766C6 22%,var(--card));border:1px solid color-mix(in srgb,#2766C6 55%,transparent)}
html.t-royal .nm-wipe{background:#16336E}
html.t-royal .nm-wipe input{accent-color:#2766C6}
html.t-royal .nm-code{background:#16336E}
html.t-royal .ch-mb{background:#16336E}
html.t-royal .ch-mb.rd{background:color-mix(in srgb,#1FA971 18%,#16336E)}
html.t-royal .ch-mi{background:#16336E}
html.t-royal .stp{border:1px solid rgba(43,106,201,.42)!important;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--ink) 14%,transparent),0 0 26px rgba(39,102,198,.16),0 10px 28px rgba(0,0,0,.28)}
html.t-royal .stp-b{background:#2766C6!important;box-shadow:0 4px 0 #0C2862}
html.t-royal body.wide.dark .modal{border:1px solid rgba(43,106,201,.36);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 -12px 44px rgba(39,102,198,.16),0 -2px 30px rgba(0,0,0,.5)}
html.t-royal body.wide:not(.dark) .modal{border:1px solid rgba(39,102,198,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 -12px 40px rgba(39,102,198,.10)}
html.t-royal body .modal-back.mid .modal,html.t-royal body .modal-back.rt-mid .modal{border-bottom:1px solid rgba(43,106,201,.36)}
@media(min-width:700px){html.t-royal body .modal{border-bottom:1px solid rgba(43,106,201,.36)}}
html.t-royal body .modal .sheet-i.danger{color:#9FB3D1}
html.t-royal body.wide.dark .modal .sheet-i:active,html.t-royal body.wide.dark .modal .set-row:active{background:rgba(43,106,201,.16)!important}
html.t-royal .chc-a button:not(.chc-wa){border:1px solid rgba(43,106,201,.42)}
html.t-royal .lb-seg button.on{background:linear-gradient(#3877D5,#2255A1);box-shadow:0 3px 0 #0C2862}
html.t-royal .lba-av{background:#16336E}
html.t-royal .mp-c.open{border-color:rgba(43,106,201,.42)}
html.t-royal body.wide.dark #app.pg-anim>.t-top,html.t-royal body.wide.dark .pg-in .pg-tt{background:radial-gradient(120% 140% at 100% 0,rgba(39,102,198,.38),transparent 60%),#000!important}
html.t-royal body.wide.dark .nw .bd-chip.on{border-color:#2766C6;background:rgba(39,102,198,.22);box-shadow:0 0 14px rgba(39,102,198,.35)}
html.t-royal .s-me-x .btn.s-del{background:#2766C6!important}
html.t-royal .ch-mini{background:#2766C6;box-shadow:0 3px 0 #0C2862}
html.t-royal .ch-mini.soft{background:#16336E}
html.t-royal .cg-g .cg-l,html.t-royal .cg-l:not(.cg-g .cg-l){background:linear-gradient(180deg,rgba(39,102,198,.10),rgba(39,102,198,.04)),#0e0809!important;border:1px solid var(--tbrd,rgba(39,102,198,.24))!important}
html.t-royal .cg-r::after{background:rgba(39,102,198,.28)}
html.t-royal .cg-bd{background:rgba(39,102,198,.22);color:#F2C86B}
html.t-royal .cp-swr::after{background:rgba(39,102,198,.28)!important}
html.t-royal body.wide.dark .t-nav{background:rgba(14,25,56,.62)!important;border:1px solid rgba(39,102,198,.30)!important}
html.t-royal .comp,html.t-royal .rows.card,html.t-royal .bdg,html.t-royal .bg2,html.t-royal .bg2.on,html.t-royal .bg2-next,html.t-royal .goal,html.t-royal .wk-star,html.t-royal .sp-done,html.t-royal .rv2-w,html.t-royal .rv2-all,html.t-royal .rv2-ok,html.t-royal .rv2-dr,html.t-royal .ms-r,html.t-royal .code-pill){background:linear-gradient(180deg,rgba(39,102,198,.10),rgba(39,102,198,.04)),#0e0809!important;border:1px solid rgba(39,102,198,.24)!important}
html.t-royal body.wide.dark .cp-row .cp-rk:not(#z),html.t-royal body .cp-swr .cp-rk{background:rgba(39,102,198,.22)!important;color:#F2C86B!important}
html.t-royal .utoast{background:rgba(14,25,56,.92);border:1px solid rgba(39,102,198,.35)}
html.t-royal .utoast button{background:#2766C6}
html.t-royal .cp-qi{border:1px solid var(--tbrd,rgba(39,102,198,.24))}
html.t-royal .ch-idle b{background:#2766C6}
html.t-royal .cp-swr.cps-on .sw-main{background:linear-gradient(90deg,rgba(39,102,198,.35),rgba(39,102,198,.15)),#120a0d!important}
html.t-royal .cp-swr.cps-on .cp-rk{background:#2766C6!important}
html.t-royal #cp-selbar{background:rgba(14,25,56,.94);border:1px solid rgba(39,102,198,.35)}
html.t-royal #cp-selbar button.dng{background:#2766C6}
html.t-royal .cp-swr.cps-on .sw-main::before{background:#2766C6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;border-color:#2766C6}
html.t-royal .emp-r{background:rgba(39,102,198,.16);color:#77A2E2}
html.t-royal .emp-add{border:1px solid rgba(39,102,198,.28);color:#91B4E8}
html.t-royal body.wide:not(.dark) .emp-add{color:#2766C6}
html.t-royal .aw-as .grp{border:1px solid rgba(39,102,198,.28)}
html.t-royal .aw-as .grp p{border-bottom:1px solid rgba(39,102,198,.28)}
html.t-royal .aw-as .aopt{border-bottom:1px solid rgba(39,102,198,.28);color:#91B4E8}
html.t-royal .aw-as .cancel{border:1px solid rgba(39,102,198,.28)}
html.t-royal body .cg-sw .sw-main.cg-r{background:linear-gradient(180deg,rgba(39,102,198,.10),rgba(39,102,198,.04)),#0e0809!important}
html.t-royal .h-hist{color:#91B4E8}
html.t-royal body .cg-sw .sw-act button i{background:#2766C6!important}
html.t-royal body .t-top .h-hist svg{color:#91B4E8}
html.t-royal body.wide.dark .nw-dots::before{background:rgba(39,102,198,.28)}
html.t-royal body.wide.dark .nw-dots i{border-color:rgba(39,102,198,.35)}
html.t-royal body.wide.dark .nw-in{border:1px solid rgba(39,102,198,.28)}
html.t-royal body.wide.dark .nw-dots i.on{box-shadow:0 0 7px rgba(39,102,198,.38)!important;border-color:#2766C6}
html.t-royal .comp,html.t-royal .rows.card,html.t-royal .bdg,html.t-royal .bg2,html.t-royal .bg2.on,html.t-royal .bg2-next,html.t-royal .goal,html.t-royal .wk-star,html.t-royal .sp-done,html.t-royal .sp-prize,html.t-royal .rv2-w,html.t-royal .rv2-all,html.t-royal .rv2-ok,html.t-royal .rv2-dr,html.t-royal .ms-r,html.t-royal .code-pill,html.t-royal .av-btn){border-color:rgba(39,102,198,.28)!important}
html.t-royal .comp,html.t-royal .rows.card,html.t-royal .bdg,html.t-royal .bg2,html.t-royal .bg2.on,html.t-royal .bg2-next,html.t-royal .goal,html.t-royal .wk-star,html.t-royal .sp-done,html.t-royal .sp-prize,html.t-royal .rv2-w,html.t-royal .rv2-all,html.t-royal .rv2-ok,html.t-royal .rv2-dr,html.t-royal .ms-r,html.t-royal .code-pill){border:1px solid rgba(43,106,201,.42)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 26px rgba(39,102,198,.16),0 10px 28px rgba(0,0,0,.28)!important}
html.t-royal .soft){border:1px solid rgba(43,106,201,.42)!important}
html.t-royal .ad-2b .ad-del2{color:#9FB3D1!important;border:1px solid rgba(92,144,221,.45)!important}
html.t-royal body #toast{border:1px solid rgba(43,106,201,.42)}
html.t-royal .ar-card.ar-im{border:1px solid rgba(43,106,201,.42)}
html.t-royal .ar-ring{box-shadow:inset 0 0 40px rgba(39,102,198,.16)}
html.t-royal .ar-isl em{background:rgba(14,25,56,.85)}
html.t-royal .ar-emo button[data-k]{border:1px solid rgba(43,106,201,.42)}
html.t-royal .ar-rad2>i{border:1.5px solid rgba(92,144,221,.55);box-shadow:0 0 22px rgba(39,102,198,.35),inset 0 0 22px rgba(39,102,198,.25)}
html.t-royal .ar-rad2>i:nth-child(2){border-color:rgba(92,144,221,.32)}
html.t-royal .ar-rad2 .sweep{background:conic-gradient(from 0deg,rgba(92,144,221,.5),rgba(92,144,221,0) 60deg,transparent)}
html.t-royal .ar-blip{background:#16336E}
html.t-royal .ar-fpill{border:1px solid rgba(43,106,201,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 26px rgba(39,102,198,.16)}
html.t-royal .ar-fpill i{background:#2766C6;box-shadow:0 0 8px #2766C6}
html.t-royal .ar-fnow{background:#2766C6;box-shadow:0 5px 0 #0C2862}
html.t-royal .ar-fnow:active{box-shadow:0 2px 0 #0C2862}
html.t-royal .ar-fcx{border:1px solid rgba(43,106,201,.42)}
html.t-royal .ar-vs2{background:radial-gradient(90% 45% at 50% 18%,rgba(39,102,198,.55),transparent 70%),radial-gradient(90% 45% at 50% 84%,rgba(227,178,60,.26),transparent 70%),repeating-conic-gradient(from 0deg at 50% 50%,rgba(255,255,255,.035) 0 6deg,transparent 6deg 12deg),#060304}
html.t-royal .ar-scp{background:linear-gradient(180deg,#16336E,#0E1938);border:1.5px solid #2B6AC9}
html.t-royal .ar-tg2 .ar-rope{background:linear-gradient(180deg,#2B6AC9,#0C2862)}
html.t-royal body .play.pv.pvx.ar-round{background:radial-gradient(90% 40% at 50% 30%,rgba(39,102,198,.42),transparent 70%),repeating-conic-gradient(from 0deg at 50% 30%,rgba(119,162,226,.07) 0 6deg,transparent 6deg 12deg),#12040a!important}
html.t-royal .ar-swc{background:radial-gradient(circle at 50% 40%,#2B6AC9,#17396D)}
html.t-royal .ar-clk.hurry .ar-swc{border-color:#9FB3D1;box-shadow:0 0 0 3px #17396D,0 0 30px rgba(92,144,221,.8)}
html.t-royal body .play.pvx.ar-round .ar-qn{background:linear-gradient(180deg,#0E2256,#061038);border:1.5px solid #2B6AC9}
html.t-royal body .play.pv.pvx.ar-round .qbox{background:linear-gradient(180deg,#0E2256,#0E1938)!important;border:2px solid #F2C86B!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.18),0 6px 0 #081426,0 0 24px rgba(39,102,198,.35)!important}
html.t-royal body .play.pv.pvx.ar-round .opts .opt{color:#122C52!important;border:2px solid #2B6AC9!important;box-shadow:inset 0 2px 0 #fff,0 5px 0 #0C2862!important}
html.t-royal body .play.pv.pvx.ar-round .opts .opt .txt{color:#122C52!important}
html.t-royal body .play.pv.pvx.ar-round .opts .opt:active:not(:disabled){box-shadow:inset 0 2px 0 #fff,0 2px 0 #0C2862!important}
html.t-royal body .play.pv.pvx.ar-round .opts .opt.bad{background:linear-gradient(180deg,#F2C86B,#2256A3)!important;border-color:#C0D4F2!important;box-shadow:0 5px 0 #153463,0 0 22px rgba(92,144,221,.6)!important}
html.t-royal body .play.pv.pvx.ar-round .opts .opt.bad .opt-mk{background:#2766C6!important}
html.t-royal .ar-round .ar-emo button[data-k]{background:radial-gradient(circle at 50% 35%,#1A3D82,#0E2256)!important;border:2px solid #F2C86B!important;box-shadow:0 3px 0 #081426}
html.t-royal body[data-theme] .play.pv.pvx.ar-round .opts.kc .opt:nth-child(n):not(.good):not(.bad):not(.picked){color:#122C52!important;box-shadow:inset 0 2px 0 #fff,0 5px 0 #0C2862!important;border:2px solid #2B6AC9!important}
html.t-royal body[data-theme] .play.pv.pvx.ar-round .pv-panel .qbox{background:linear-gradient(180deg,#0E2256,#0E1938)!important;border:2px solid #F2C86B!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.18),0 6px 0 #081426,0 0 24px rgba(39,102,198,.35)!important}
html.t-royal .ar-clk::before{background:radial-gradient(closest-side,rgba(92,144,221,.45),transparent)}
html.t-royal body .play.pv.pvx.ar-round .opts .opt.bad::after{border-left-color:rgba(160,190,235,.95);border-right-color:rgba(160,190,235,.95)}
html.t-royal .ar-rbn h1{text-shadow:0 2px 0 #153463}
html.t-royal body[data-theme] .play.pv.pvx.ar-round.cr .opts.kc .opt.picked:nth-child(n):not(.good):not(.bad){color:#122C52!important}
html.t-royal .cr-fire b{text-shadow:0 1px 0 #0C2862,0 0 4px #0C2862}
html.t-royal .cr-rbn .res-h{text-shadow:0 2px 0 #153463}
html.t-royal body .lbx-pd.p2 .lbx-md{color:#1F3369!important}
html.t-royal .s-lvlm .lvl-sh b{text-shadow:0 2px 0 #122C52}
html.t-royal body .s-lvlm .lvl-bar{background:#0E1938!important}
html.t-royal body .s-msgs .s-msg{background:var(--gc-bg,#0E1938)!important}
html.t-royal .cp-past.sel .cpp-row.on{background:rgba(39,102,198,.16)}
html.t-royal .cp-past.sel .cpp-row.on .cpp-ck{background:#2766C6;border-color:#2766C6;box-shadow:inset 0 0 0 3px #0E2256}
html.t-royal .cpp-bar{background:rgba(14,25,56,.94)}
html.t-royal .ar-isl .glb{background:#1E4FD6}
html.t-royal .lb-area button{background:#0E2256}
html.t-royal .lb-area button.on{background:#16336E}
html.t-royal .ko2-dot{background:#2766C6}
html.t-royal .ko2-m.me{border-color:#2766C6}
html.t-royal .ko2-tag{background:#2766C6}
html.t-royal .ar-me2 .ar-av{box-shadow:0 0 0 2px #0E2256,0 0 0 4px #F5B72B}
html.t-royal body .sl.sl-red .sl1-go:not(#z){background:#16336E!important}
html.t-royal .sl-or::before,html.t-royal .sl-or::after{background:#0E1938}
html.t-royal .so-back{background:#0E2256}
html.t-royal .so-dots i{background:#0E2256}
html.t-royal .so-dots i.on{background:#2766C6}
html.t-royal .so-t{background:#0E2256}
html.t-royal .so-t.on{border-color:#2766C6;background:rgba(39,102,198,.14)}
html.t-royal .so-nk{background:#0E2256}
html.t-royal .so-dice{background:#16336E}
html.t-royal .so-rows{background:#0E2256}
html.t-royal .so-rows>div+div{border-top:1px solid #142E66}
html.t-royal .so-cp{background:#16336E}
html.t-royal .so-nm{background:#0E2256}
html.t-royal .so-nm.on{border-color:#2766C6;background:rgba(39,102,198,.14)}
html.t-royal body .sl .sl-hc{background:#16336E!important}
html.t-royal .so-rows .so-grrow{border-top:1px solid #142E66}
html.t-royal .ad-hb i{background:var(--line,#16336E)}
html.t-royal .ad-hb i u{background:#2766C6}
html.t-royal body[data-theme] .play.pv.pvx.cr .dots .dot.done.no{background:#9FB3D1!important}
html.t-royal body .play.pv.pvx.ar-round .qbox,html.t-royal body[data-theme] .play.pv.pvx.ar-round .pv-panel .qbox,html.t-royal body .play.pv.pvx.ar-round.cr .qbox,html.t-royal body[data-theme] .play.pv.pvx.ar-round.cr .pv-panel .qbox{background:linear-gradient(180deg,#0E1938,#061038)!important;border:1.5px solid rgba(102,150,222,.45)!important}
html.t-royal .so-g12 .so-t.on .avi{box-shadow:0 0 0 3px #2766C6}
html.t-royal .cg-pick.picked .cg-ck{background:#2766C6;border-color:#2766C6}
html.t-royal body .cl-toprow .btn.ghost.cl-selb{background:rgba(39,102,198,.16)!important;border:1px solid rgba(39,102,198,.5)!important}
html.t-royal body .ar-me.ar-me3{background:linear-gradient(180deg,#0E2256,#0E1938)!important;border:1.5px solid rgba(102,150,222,.5)!important;box-shadow:0 0 18px rgba(39,102,198,.25)!important}
html.t-royal body.wide:not(.dark) .cl-toprow .btn.ghost.cl-selb{background:rgba(39,102,198,.09)!important;border-color:rgba(39,102,198,.35)!important}
html.t-royal body.wide:not(.dark) .cg-bd{background:rgba(39,102,198,.10)}
html.t-royal body.wide:not(.dark) .cp-swr.cps-on .sw-main{background:linear-gradient(90deg,rgba(39,102,198,.16),rgba(39,102,198,.06)),#fff!important}
html.t-royal body .so-rows{background:linear-gradient(180deg,#0E1938,#061038)!important}
html.t-royal .kw-nm .kw-st i{background:#16336E}
html.t-royal .kw-nm .kw-st i.n{background:#2766C6;box-shadow:0 0 10px #2766C6}
html.t-royal .kw-trip i{background:#16336E}
html.t-royal .kw-trip i.c{background:linear-gradient(to left,#F5C542 var(--p,0%),#142E66 var(--p,0%))}
html.t-royal .kw-list>div{background:#0E2256}
html.t-royal .tt-hero{background:linear-gradient(160deg,#2a1a08,#0E2256 60%)}
html.t-royal .tt-nx{background:#0E2256}
html.t-royal .tt-bar{background:#16336E}
html.t-royal .tt-c{background:#0E2256}
html.t-royal .ar-sea::before{background:linear-gradient(180deg,#1A3D82,#0E2256)}
html.t-royal .ar-sea .fl.op{background:#2766C6}
html.t-royal .ar-sea .fl.op::after{background:#2766C6}
html.t-royal .dr-av{background:radial-gradient(circle at 50% 40%,#3B79D5,#153565)}
html.t-royal .dr-q{background:#0E2256}
html.t-royal .ar-hp button{background:#0E2256;border:1px solid #142E66}
html.t-royal .ch-card{background:linear-gradient(160deg,#3a2a00,#0E2256 60%)}
html.t-royal .ch-av{background:radial-gradient(circle at 50% 40%,#3B79D5,#153565)}
html.t-royal .ch-cert{background:linear-gradient(170deg,#2b2000,#061038 55%)}
html.t-royal .ch-row{background:#0E2256}
html.t-royal .ar-hp button.used::after{background:#1A3D82}
html.t-royal .hp-tip{color:#0E2256}
html.t-royal .hp-tip b{color:#0C2862}
html.t-royal .hp-tip .hp-tx svg{color:#0E2256}
html.t-royal body .sh.pvx.ar-find::after{background:repeating-conic-gradient(from 3deg at 50% 36%,rgba(22,51,110,.5) 0 6deg,transparent 6deg 14deg)!important}
html.t-royal body .play.pv.pvx.ar-round{background:repeating-conic-gradient(from 0deg at 50% 30%,rgba(22,51,110,.45) 0 6deg,transparent 6deg 12deg),linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%)!important}
html.t-royal body .play.pv.pvx.ar-round.ar-round .qbox span{color:#121D3C!important}
html.t-royal body .play.pv.pvx.ar-round.ar-round .opts .opt,html.t-royal body[data-theme] .play.pv.pvx.ar-round.ar-round .opts.kc .opt:nth-child(n):not(.good):not(.bad):not(.picked){background:#F8F9FC!important;box-shadow:0 5px 0 #9DABC4!important}
html.t-royal body .play.pv.pvx.ar-round.ar-round .opts .opt .txt{color:#121E40!important}
html.t-royal body .play.pv.pvx.ar-round.ar-round .opts .opt.oc0{--sc:#2766C6}
html.t-royal body .play.pv.pvx.ar-round.ar-round .opts .opt.oc1{--sc:#325FDB}
html.t-royal body[data-theme] .play.pv.pvx.ar-round.ar-round .opts.kc .opt:nth-child(n).bad,html.t-royal body .play.pv.pvx.ar-round.ar-round .opts .opt.bad{background:#2766C6!important;box-shadow:0 5px 0 #17396D!important}
html.t-royal body .play.pv.pvx.ar-round.ar-round .ar-clk{--trk:#20346D}
html.t-royal .ar-hp button{background:#0E2256;border-color:#253D7E}
html.t-royal body .ar-scp{border:1.5px solid #253D7E!important}
html.t-royal body .ar-round .ar-emo button[data-k]{background:#0E1938!important;border:1.5px solid #253D7E!important}
html.t-royal .ar-remo small{color:#C7CFDE}
html.t-royal .ar-remo button{background:#0E1938;border:1.5px solid #253D7E}
html.t-royal body .ar-round .ar-clk .ar-swc b,html.t-royal body .ar-round .ar-clk.hurry .ar-swc b{color:#E6ECF5!important}
html.t-royal body .ar-round .ar-clk::after{background:#16336E!important}
html.t-royal body .ar-round .ar-clk .ar-swc b,html.t-royal body .ar-round .ar-clk.hurry .ar-swc b{color:#E6ECF5!important}
html.t-royal body .ar-round .ar-clk::after{background:#16336E!important}
html.t-royal .ar-dots i{border:1.5px solid #2D4B9D}
html.t-royal .ar-dots i.dx{background:#1A3D82;border-color:#2D4B9D}
html.t-royal .ar-vsx{color:#8F9EB8}
html.t-royal .ar-dots i{border:1.5px solid #2D4B9D}
html.t-royal .ar-dots i.dx{background:#1A3D82;border-color:#2D4B9D}
html.t-royal .ar-vsx{color:#8F9EB8}
html.t-royal body .sh.pvx.ar-res .ar-rows{background:rgba(14,34,86,.82)}
html.t-royal body .sh.pvx.ar-res .ar-lvb .segs i:not(.f){background:#16336E}
html.t-royal body .so-rows,html.t-royal body .s-me-l{background:rgba(14,34,86,.85)!important}
html.t-royal body .so-rows>div+div,html.t-royal body .so-rows .so-grrow,html.t-royal body .s-me-l button+button{border-color:rgba(230,236,245,.1)!important}
html.t-royal body .lbx .lbx-r:not(.me){background:rgba(14,34,86,.85)!important}
html.t-royal body .lb-area button{background:rgba(14,34,86,.85)}
html.t-royal body .ar-me.ar-me3{background:rgba(14,34,86,.88)!important}
html.t-royal body .sh.sl .sl1,html.t-royal body .sh.sl .who-pick{background:rgba(14,34,86,.85)!important}
html.t-royal body .sh.sl .sl-hc,html.t-royal body .sh.sl .sl1-t{color:#E6ECF5!important}
html.t-royal body .play.pv.pvx.ar-round .ar-clk>.ar-x{background:rgba(14,34,86,.85)!important}
html.t-royal body .hp-tip{color:#E6ECF5}
html.t-royal body .hp-tip .hp-tx svg{color:#E6ECF5}
html.t-royal body .ar-find .ar-fpill{background:rgba(14,34,86,.85)!important}
html.t-royal body.wide.dark:not(#a):not(#b){--card:rgba(14,34,86,.85);--ink:#F4F6FA;--tcard:rgba(14,34,86,.85)}
html.t-royal body.wide.dark:not(#a):not(#b) .t-nav{background:rgba(14,25,56,.92)!important}
html.t-royal body.wide.dark:not(#a):not(#b) .h-nb,html.t-royal body.wide.dark:not(#a):not(#b) .hc,html.t-royal body.wide.dark:not(#a):not(#b) .ch-hero,html.t-royal body.wide.dark:not(#a):not(#b) .cp-code,html.t-royal body.wide.dark:not(#a):not(#b) .cp-tile,html.t-royal body.wide.dark:not(#a):not(#b) .nw-tile,html.t-royal body.wide.dark:not(#a):not(#b) .set-profile,html.t-royal body.wide.dark:not(#a):not(#b) .ch-a,html.t-royal body.wide.dark:not(#a):not(#b) .ch-b,html.t-royal body.wide.dark:not(#a):not(#b) .ch-join,html.t-royal body.wide.dark:not(#a):not(#b) .ch-ml,html.t-royal body.wide.dark:not(#a):not(#b) .ch-star,html.t-royal body.wide.dark:not(#a):not(#b) .cp-row,html.t-royal body.wide.dark:not(#a):not(#b) .stp,html.t-royal body.wide.dark:not(#a):not(#b) .ob-card,html.t-royal body.wide.dark:not(#a):not(#b) .lv-card,html.t-royal body.wide.dark:not(#a):not(#b) .card,html.t-royal body.wide.dark:not(#a):not(#b) .set-grp{background:rgba(14,34,86,.85)!important}
html.t-royal body.wide.dark:not(#a):not(#b) .nw-in{background:rgba(14,34,86,.85)}
html.t-royal body.wide.dark:not(#a):not(#b) .t-top .t-bell,html.t-royal body.wide.dark:not(#a):not(#b) .t-top .icon-btn{background:rgba(14,34,86,.85)!important;color:#F4F6FA}
html.t-royal body.wide.dark:not(#a):not(#b) .hv button{background:rgba(14,34,86,.85)}
html.t-royal body.wide.dark:not(#a):not(#b) .h-hist{background:rgba(14,34,86,.85)!important;color:#F4F6FA}
html.t-royal body.wide.dark:not(#a):not(#b) .ch-rem{background:#2766C6!important;box-shadow:0 5px 0 #0C2862!important}
html.t-royal body.wide.dark:not(#a):not(#b) .ch-sendbar .btn{background:#2766C6!important}
html.t-royal body.wide.dark:not(#a):not(#b) .avatar,html.t-royal body.wide.dark:not(#a):not(#b) .t-av-img{color:#F4F6FA!important}
html.t-royal body.wide.dark:not(#a):not(#b) .cg-l,html.t-royal body.wide.dark:not(#a):not(#b) .sw-main,html.t-royal body.wide.dark:not(#a):not(#b) .cg-solo,html.t-royal body.wide.dark:not(#a):not(#b) .emp-add{background:rgba(14,34,86,.85)!important}
html.t-royal body.wide.dark:not(#a):not(#b) .sw-main{background:#0E2256!important}
html.t-royal body.wide.dark:not(#a):not(#b) .input,html.t-royal body.wide.dark:not(#a):not(#b) input[type=search],html.t-royal body.wide.dark:not(#a):not(#b) .cp-search{background:rgba(14,34,86,.85)!important}
html.t-royal body.wide.dark:not(#a):not(#b){--muted:#B9C5DB}
html.t-royal body.wide.dark:not(#a):not(#b) .t-nav a{color:#B9C5DB!important}
html.t-royal body.wide.dark:not(#a):not(#b) .t-nav a.on{background:#0E2256!important}
html.t-royal body.wide.dark:not(#a):not(#b) .t-nav .lens{background:#0E2256!important}
html.t-royal body.wide.dark:not(#a):not(#b) .t-nav .nb,html.t-royal body.wide.dark:not(#a):not(#b) .t-bell-n{box-shadow:0 0 0 2px #101C3E!important}
html.t-royal body.wide.dark:not(#a):not(#b) .t-body .si{color:#B9C5DB}
html.t-royal body .av2 .s-avt2 .av2-tt small{color:#E6ECF5}
html.t-royal body .av2 .s-avt2 .av2-tt.lk small{color:#3D62C7}
html.t-royal body .av2 .s-avt2 button.lk em.av2-lock{background:#0E1938}
html.t-royal body.wide.dark:not(#a):not(#b) .ta .card:not(#z){background:rgba(14,34,86,.85)!important}
html.t-royal body.wide.dark:not(#a):not(#b) .ta .link.forgot:not(#z){color:#B9C5DB!important}
html.t-royal body.wide.dark:not(#a):not(#b) .ta .btn[type=submit]:not(#z){background:#2766C6!important;box-shadow:0 5px 0 #0C2862!important}
html.t-royal body.wide.dark:not(#a):not(#b) .ta .ta-stu:not(#z){background:rgba(14,34,86,.85);color:#F4F6FA}
html.t-royal body.wide.dark .btn.nw-go:disabled,html.t-royal body.wide.dark .btn.nw-go[disabled]{background:#16336E!important;color:#D3DCEC!important}
html.t-royal body.wide.dark .nw-more-subj,html.t-royal body.wide.dark .nw .link.nw-link{color:#7CC4FF!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b){--bg:#E6ECF5;--muted:#3A5C9A;--line:#C5D0E2;--soft:#EEF2F8;background:linear-gradient(180deg,#EDF1F8 0%,#DCE4F1 60%,#CFD9EA 100%) fixed!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .h-nb,html.t-royal body.wide:not(.dark):not(#a):not(#b) .hc,html.t-royal body.wide:not(.dark):not(#a):not(#b) .ch-hero,html.t-royal body.wide:not(.dark):not(#a):not(#b) .cp-code,html.t-royal body.wide:not(.dark):not(#a):not(#b) .cp-tile,html.t-royal body.wide:not(.dark):not(#a):not(#b) .nw-tile,html.t-royal body.wide:not(.dark):not(#a):not(#b) .set-profile,html.t-royal body.wide:not(.dark):not(#a):not(#b) .cg-l,html.t-royal body.wide:not(.dark):not(#a):not(#b) .cg-r,html.t-royal body.wide:not(.dark):not(#a):not(#b) .cg-solo,html.t-royal body.wide:not(.dark):not(#a):not(#b) .cp-row,html.t-royal body.wide:not(.dark):not(#a):not(#b) .sj-lt,html.t-royal body.wide:not(.dark):not(#a):not(#b) .q5-sb,html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal,html.t-royal body.wide:not(.dark):not(#a):not(#b) .card{border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .t-nav{border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .t-nav a{color:#3A5C9A!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .t-nav a.on,html.t-royal body.wide:not(.dark):not(#a):not(#b) .t-nav .lens{background:#DDE4F1!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .t-body .si{color:#223773}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .avatar,html.t-royal body.wide:not(.dark):not(#a):not(#b) .t-av-img{background:#DDE4F1!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .emp-add{border-color:#9CADCB!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .rl-pc.on,html.t-royal body.wide:not(.dark):not(#a):not(#b) .ap-fs button.on,html.t-royal body.wide:not(.dark):not(#a):not(#b) .rl-row.on,html.t-royal body.wide:not(.dark):not(#a):not(#b) .rl-opt.on,html.t-royal body.wide:not(.dark):not(#a):not(#b) .nw-tile.on{background:#E3E9F4!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cg-bd,html.t-royal body.wide:not(.dark):not(#a):not(#b) .emp-r,html.t-royal body.wide:not(.dark):not(#a):not(#b) .rl-pts,html.t-royal body.wide:not(.dark):not(#a):not(#b) .rl-n{background:#DDE4F1!important;border-color:#9CADCB!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .nw-go[disabled],html.t-royal body.wide:not(.dark):not(#a):not(#b) .btn.nw-go:disabled{background:#C9D3E4!important;color:#3A5C9A!important;border:1.5px solid #A9B7D0!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .input,html.t-royal body.wide:not(.dark):not(#a):not(#b) input[type=search],html.t-royal body.wide:not(.dark):not(#a):not(#b) .cp-search{border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .chev,html.t-royal body.wide:not(.dark):not(#a):not(#b) .chev svg{color:#4669C9!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .t-bell{border:1px solid #C5D0E2!important;color:#223773!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .h-hist{border:1px solid #C5D0E2!important;color:#223773!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .nw-mode{border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .nw-mode button{color:#3A5C9A!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .nw-mode button.on{background:#DDE4F1!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cl-toprow .btn.ghost.cl-selb{border:1px solid #9CADCB!important}
html.t-royal body.wide.dark:not(#a):not(#b) .sw-main{background:#0E2256!important}
html.t-royal body.wide.dark:not(#a):not(#b) .sw-row{background:#0E2256!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .sw-n,html.t-royal body.wide:not(.dark):not(#a):not(#b) .rk{background:#DDE4F1!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .t-bell,html.t-royal body.wide:not(.dark):not(#a):not(#b) .t-top .icon-btn,html.t-royal body.wide:not(.dark):not(#a):not(#b) .cl-acts .icon-btn{border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .sw-row{border-bottom:1px solid #D5DDEC!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cl-wa{background:#DDE4F1}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .ch-bar{background:#C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .btn.ch-rem{background:#2766C6!important;box-shadow:0 5px 0 #0C2862!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cp-row .cp-pts,html.t-royal body.wide:not(.dark):not(#a):not(#b) .cp-row.z .cp-pts{color:#3354AE!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .t-top .icon-btn.back-btn,html.t-royal body.wide:not(.dark):not(#a):not(#b) .back-btn{border:1px solid #C5D0E2!important}
html.t-royal body .modal-back:has(.nt-sheet){background:rgba(6,16,56,.38)}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .st1-x,html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .st1-nav .icon-btn,html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .icon-btn{border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .st1-o{background:#EEF2F8!important;border:1px solid #D5DDEC!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .st1-o[data-act="t-del-student"] .e .ico,html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .st1-o[data-act="t-del-student"] .e svg{color:#2766C6!important;stroke:#2766C6}
html.t-royal body.wide.dark:not(#a):not(#b) .modal .st1-x,html.t-royal body.wide.dark:not(#a):not(#b) .modal .st1-nav .icon-btn{background:rgba(14,34,86,.85)!important;color:#F4F6FA!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .sheet-list,html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .sheet-cancel{background:#EEF2F8!important;border:1px solid #D5DDEC!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .sheet-list .sheet-i+.sheet-i{border-top:1px solid #D5DDEC}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .sheet-i.danger,html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .sheet-i.danger span{color:#2766C6}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .modal .sheet-i.danger .ico{color:#2766C6!important;stroke:#2766C6}
html.t-royal body.wide.dark:not(#a):not(#b) .modal .sheet-i.danger .ico{color:#9FB3D1!important;stroke:#9FB3D1}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cp-rk{background:#DDE4F1!important}
html.t-royal body.wide.dark:not(#a):not(#b) .cp-rk{color:#F4F6FA!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .sw-row+.sw-row .sw-main,html.t-royal body.wide:not(.dark):not(#a):not(#b) .sw-main{border-top-color:#D5DDEC!important;--line:#D5DDEC}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cp-swr::after{background:#D5DDEC!important}
html.t-royal body.wide.dark:not(#a):not(#b) .cp-swr::after{background:rgba(26,61,130,.55)!important}
html.t-royal body.wide.dark:not(#a):not(#b) .tm-pop button{color:#F4F6FA!important}
html.t-royal body.wide.dark:not(#a):not(#b) .tm-p-r.dng,html.t-royal body.wide.dark:not(#a):not(#b) .tm-p-r.dng span .ico{color:#9FB3D1!important;stroke:#9FB3D1}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .tm-pop{border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .tm-p-r.dng,html.t-royal body.wide:not(.dark):not(#a):not(#b) .tm-p-r.dng span .ico{color:#2766C6!important;stroke:#2766C6}
html.t-royal body.wide.dark:not(#a):not(#b) .set-row small,html.t-royal body.wide.dark:not(#a):not(#b) .set-row .rl-txt small{color:#B9C5DB!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .set-row small{color:#2B4794!important}
html.t-royal body.wide.dark:not(#a):not(#b) .set-row .chev,html.t-royal body.wide.dark:not(#a):not(#b) .set-row>i{color:#B9C5DB!important}
html.t-royal body.wide.dark:not(#a):not(#b) .aw-as .grp{background:rgba(14,34,86,.95)!important;color:#F4F6FA}
html.t-royal body.wide.dark:not(#a):not(#b) .aw-as .grp p,html.t-royal body.wide.dark:not(#a):not(#b) .aw-as .aopt,html.t-royal body.wide.dark:not(#a):not(#b) .aw-as .cancel{color:#F4F6FA!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .aw-as .grp{border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .aw-as .grp p,html.t-royal body.wide:not(.dark):not(#a):not(#b) .aw-as .aopt,html.t-royal body.wide:not(.dark):not(#a):not(#b) .aw-as .cancel{border-color:#C5D0E2!important}
html.t-royal body.wide.dark:not(#a):not(#b) .snd{background:rgba(14,34,86,.85)!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .snd{border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .snd-q,html.t-royal body.wide:not(.dark):not(#a):not(#b) .snd-w{background:#DDE4F1!important}
html.t-royal body.wide.dark:not(#a):not(#b) .ac-grp{background:rgba(14,34,86,.85)!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .ac-grp{border:1px solid #C5D0E2!important}
html.t-royal body.wide.dark:not(#a):not(#b) .ac-c{background:rgba(14,34,86,.85)!important;color:#F4F6FA!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .ac-c{background:#EEF2F8!important;border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .ac-c.on{background:#DDE4F1!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .prof-cam,html.t-royal body.wide:not(.dark):not(#a):not(#b) .ac-pav .prof-cam{background:#DDE4F1!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cpp-del{color:#3A5C9A!important}
html.t-royal body.wide.dark:not(#a):not(#b) .sel-bar{background:rgba(14,34,86,.95)!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .sel-bar{border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .ch-b.end{border:1px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .ios-sw:not([aria-checked="true"]):not(.on){background:#C5D0E2!important}
html.t-royal body.wide.dark:not(#a):not(#b) .cxm{background:rgba(14,34,86,.96)!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cxm{border:1px solid #C5D0E2!important}
html.t-royal body #toast{background:rgba(14,34,86,.94)!important;color:#F4F6FA!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .ac-grp *{border-color:#D5DDEC!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .ac-grp input::placeholder{color:#8A99B2!important}
html.t-royal body.wide.dark:not(#a):not(#b) .cg-r .cg-t small{color:#C9D4E6!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cg-r .cg-t small{color:#274187!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cl-selb{border-color:#8FA2C4!important}
html.t-royal body.wide.dark:not(#a):not(#b) .cl-selb{border-color:#395EC3!important}
html.t-royal body .ta:not(#z){background:linear-gradient(180deg,var(--n0),var(--n1) 60%,#0E2256)!important}
html.t-royal body .ta .card:not(#z){background:rgba(14,34,86,.9)!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b){--muted:#223876}
html.t-royal body.wide:not(.dark):not(#a):not(#b) :is(.sub,html.t-royal small,html.t-royal .hint,html.t-royal .muted,html.t-royal .tm-pop small,html.t-royal .t-nav span,html.t-royal .t-tab span,html.t-royal label){color:#20346D!important}
html.t-royal #appbar{background:#0E1938}
html.t-royal #appbar .ab-t small{color:#C7CFDE}
html.t-royal #appbar .ab-go{background:#2766C6}
html.t-royal #appbar .ab-x{color:#C7CFDE}
html.t-royal body:not(#a):not(#b) .rt-box .btn[disabled]{background:#9AA4B5!important}
html.t-royal body:not(#a):not(#b) .rt-stars button{color:#B8C0CF}
html.t-royal:has(.ta),html.t-royal:has(.ta) body:not(#a):not(#b){background:#0E2256!important}
html.t-royal:has(body.wide:not(.dark)):not(:has(.ta)){background:#CFD9EA!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(:has(.ta)){background-color:#CFD9EA!important}
html.t-royal body .play.pv.pvx.ar-round:not(#a)>.ar-x{border:3px solid #CFDCF2!important;background:radial-gradient(circle at 35% 28%,#7CC4FF 0,var(--tl) 38%,#173894 100%)!important;box-shadow:0 4px 0 #0C2361,0 8px 14px rgba(0,0,0,.4),inset 0 2px 0 rgba(255,255,255,.45)!important}
html.t-royal body .play.pv.pvx.ar-round:not(#a)>.ar-x:active{box-shadow:0 1px 0 #0C2361,inset 0 2px 0 rgba(255,255,255,.45)!important}
html.t-royal body .mg-grid:not(#a) .mg-c.no{filter:drop-shadow(0 0 8px rgba(76,132,217,.7))}
html.t-royal body .mg-cups:not(#a) .mg-cup.noc i{filter:drop-shadow(0 0 10px rgba(76,132,217,.95)) drop-shadow(0 0 3px #4C84D9)}
html.t-royal body .mg-grid.ic:not(#a) .mg-c.no{filter:drop-shadow(0 0 8px rgba(76,132,217,.7))}
html.t-royal body .mg:not(#a) .mg-k{background:linear-gradient(180deg,#16336E,var(--n1))!important;border:1px solid #243C7D!important;box-shadow:0 4px 0 #0B1530!important;color:#E6ECF5!important}
html.t-royal body .mg:not(#a) .mg-k:active{box-shadow:0 1px 0 #0B1530!important}
html.t-royal body .mg:not(#a) .mg-typed{color:#E6ECF5}
html.t-royal body .mg:not(#a) .mg-typed.no{color:#4C84D9}
html.t-royal .wd-bk{background:rgba(14,34,86,.85)}
html.t-royal .wd-chip{background:rgba(14,34,86,.85);color:#C7D1E2}
html.t-royal #intro{background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--tl) 55%,transparent) 0,color-mix(in srgb,var(--tl) 28%,transparent) 22%,color-mix(in srgb,var(--tl) 12%,transparent) 45%,color-mix(in srgb,var(--tl) 4%,transparent) 70%,transparent 90%),radial-gradient(50vmax 35vmax at 50% 42%,rgba(124,196,255,.25),transparent 60%),linear-gradient(180deg,var(--n0) 0%,var(--n1) 55%,var(--n2) 100%)}
html.t-royal .wd-tip{color:rgba(230,236,245,.6)}
html.t-royal #intro::before{background:repeating-conic-gradient(from 0deg at 50% 42%,rgba(160,191,245,.10) 0 5deg,transparent 5deg 12deg)}
html.t-royal .lg-rays::before{
  background:repeating-conic-gradient(from 0deg at 50% 50%,rgba(160,191,245,.10) 0 5deg,transparent 5deg 12deg),radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--tl) 55%,transparent) 0,color-mix(in srgb,var(--tl) 28%,transparent) 8%,color-mix(in srgb,var(--tl) 12%,transparent) 16%,color-mix(in srgb,var(--tl) 4%,transparent) 26%,transparent 34%)}
html.t-royal .ar-onm .wx-hint{color:rgba(230,236,245,.75)}
html.t-royal .ar-isl .isl-g .wxs-merc{background:linear-gradient(90deg,#2254A0,#5E91DD 45%,#2760B6)}
html.t-royal body .ar-av.ar-bot .avi{background:radial-gradient(circle at 50% 35%,#16336E,#0E1938)!important}
html.t-royal body .ps-ov{background:rgba(6,16,56,.8)}
html.t-royal body .ps-card{box-shadow:0 0 0 4px #142E66,0 16px 40px rgba(0,0,0,.5)}
html.t-royal body .ps-card h3{color:#142E66}
html.t-royal body .ps-ok{background:#16336E}
html.t-royal body .ps-ov.hi .ps-ok,html.t-royal body .ps-ov.gold .ps-ok{background:#2766C6;box-shadow:0 4px 0 #0C2862}
html.t-royal body .ps-stamp{border:4px solid #255CAE;color:#255CAE;box-shadow:inset 0 0 0 4px rgba(246,235,211,.9),inset 0 0 0 6px #255CAE}
html.t-royal body .ps-tabs button{color:#CFD9EA}
html.t-royal body .ps-book{box-shadow:0 0 0 6px #142E66,0 0 0 8px #0b1d38,0 18px 40px rgba(0,0,0,.45)}
html.t-royal body .ps-bh h2{color:#142E66}
html.t-royal body .ps-cnt{color:#142E66}
html.t-royal body .ps-ring{border:3px solid #142E66;box-shadow:inset 0 0 0 3px #F6EBD3,inset 0 0 0 5px #142E66}
html.t-royal body .ps-fact{background:rgba(6,16,56,.7)}
html.t-royal body .ps-fc{box-shadow:0 0 0 4px #142E66}
html.t-royal body .ps-fc h3{color:#142E66}
html.t-royal body .ps-fc button{background:#16336E}
html.t-royal body .rv-c{box-shadow:0 0 0 3px #142E66}
html.t-royal body .rv-c h3{color:#142E66}
html.t-royal body .rv-c .no{color:#255CAE}
html.t-royal body .ps-rehi{color:#9FB0CC}
html.t-royal body .cp-past .cpp-chev{color:#8F9EB8}
html.t-royal body.wide:not(#a):not(#b):not(#c) .cp-swr .sw-main.cp-row{background:rgba(14,34,86,.85)!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-swr:not(:last-child) .sw-main::after{background:#D5DDEC}
html.t-royal body.wide:not(#a):not(#b):not(#c) .cg-l,html.t-royal body.wide:not(#a):not(#b):not(#c) .hcs.hv-list,html.t-royal body.wide:not(#a):not(#b):not(#c) .cp-past .qsubs{background:rgba(14,34,86,.85)!important}
html.t-royal body.wide:not(#a):not(#b):not(#c) .cp-past .qsub-ic{color:#7CC4FF}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-l .cg-sw:not(:last-child) .sw-main::after,html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .hv-list .hc:not(:last-child)::after,html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-past .cpp-row:not(:last-child)::after{background:#D5DDEC}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-l>.cg-sw:not(:last-child)::after{background:#D5DDEC}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .cp-list,html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .cg-l{background:#0E2256!important}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .cp-swr .sw-main.cp-row,html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .cg-l .sw-main.cg-r{background:#0E2256!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-swr,html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-sw{background:#EEF1F7!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .cp-swr .sw-act,html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .cg-sw .sw-act{background:#EEF1F7!important}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .cp1 .cp-code,html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .cp1 .cp-qi{background:#0E2256!important}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .set-grp,html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .nw-set1,html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .cp-code,html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .cp-q input{background:#0E2256!important}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .hcs.hv-list,html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .cp-past .qsubs,html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .cg-l{background:#0E2256!important}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c) .cp-row .cp-rk:not(#d){color:#7CC4FF!important}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .card:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .cg-r:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .cg-solo:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-a:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-b:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-hero:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-join:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-ml:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-star:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .cp-tile:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .h-nb:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .hc:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .lv-card:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ob-card:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .q5-sb:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .set-profile:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .sj-lt:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .stp:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .nw-tile:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-acts>button:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-2>button:not(.on):not(.sel),html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .rl-pc:not(.on):not(.sel){background:#0E2256!important}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ch-2>.ch-b.end:not(.on):not(.sel){background:rgba(92,144,221,.16)!important;color:#7DA6E3!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d) .ch-2>.ch-b.end{background:rgba(84,138,219,.1)!important;color:#2766C6!important}
html.t-royal body .ar-rb2 .ar-back{color:#B8C2D4}
html.t-royal .ar-onm .isl-t{color:#7CC4FF}
html.t-royal .ar .kw-mix{color:#E6ECF5}
html.t-royal .ar .kw-mix small{color:rgba(230,236,245,.65)}
html.t-royal .chx{color:#E6ECF5}
html.t-royal .chx-blk{background:linear-gradient(180deg,#16336E,#0E2256);color:rgba(230,236,245,.35)}
html.t-royal .chx-st.me .chx-blk{background:linear-gradient(180deg,#1A3D82,#0E2256)}
html.t-royal .chx-av{background:#0E2256;border:3px solid rgba(230,236,245,.25)}
html.t-royal .chx-pa{background:#0E2256}
html.t-royal .chx-skip{color:rgba(230,236,245,.45)}
html.t-royal .wq-l.hard{background:rgba(92,144,221,.16);color:#3776D4}
html.t-royal .wq-lv3 .hard{color:#3776D4;background:rgba(92,144,221,.12)}
html.t-royal body .play.pv.pvx.ar-round .opts.ord .opt .shp{background:rgba(26,61,130,.14)!important;color:#0C2862!important;border:2px dashed rgba(27,67,126,.45)!important}
html.t-royal body .play.pv.pvx.ar-round .opts.ord .opt.picked .shp{background:#2766C6!important}
html.t-royal body .play.pv.pvx.ar-round .opts.ord .opt.picked:not(.good):not(.bad){box-shadow:inset 0 0 0 3px #2766C6,0 5px 0 #0C2862!important}
html.t-royal body[data-theme] .play.pv.pvx.ar-round .opts.ord .opt.picked:not(.good):not(.bad){color:#122C52!important;box-shadow:inset 0 0 0 3px #2766C6,0 5px 0 #0C2862!important}
html.t-royal body .ar-boss{background:linear-gradient(180deg,rgba(245,183,43,.18),rgba(14,34,86,.9))}
html.t-royal .wq-sb input{background:rgba(14,34,86,.85)}
html.t-royal .wq-qc{background:rgba(14,34,86,.85)}
html.t-royal .wq-qc.w b{color:#9FB3D1}
html.t-royal .wq-gh small{color:#8E98A8}
html.t-royal .wq-pc small{color:#8E98A8}
html.t-royal .wq-pc.bad b{color:#9FB3D1}
html.t-royal .wq-fg p{color:#8E98A8}
html.t-royal .wq-seg{background:rgba(14,34,86,.85)}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e){--ns-f:#101C3E}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) :is(.nc2-c,html.t-royal .nc2-name,html.t-royal .aw-as .cancel,html.t-royal .cp-qi,html.t-royal .emp-add,html.t-royal .nw-in,html.t-royal .cf-chip,html.t-royal .cf-th,html.t-royal .tb-row,html.t-royal .qs-stage,html.t-royal .qf-tile,html.t-royal .q-search,html.t-royal .q-selbar,html.t-royal .pick,html.t-royal .sw-list,html.t-royal .rs-sum),html.t-royal .nc2-name,html.t-royal .aw-as .cancel,html.t-royal .cp-qi,html.t-royal .emp-add,html.t-royal .nw-in){color:#F4F6FA}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .nc2 .btn:disabled{color:#7F90AC!important}
html.t-royal .nw-sum1:active{background:rgba(127,144,172,.12)}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .nw-one .nw-tile.on{background:rgba(26,61,130,.08)!important}
html.t-royal body:not(#a):not(#b):not(#c) .nw-one .nw-gen .nw-tile:not(.on){border:1.5px dashed rgba(127,144,172,.55)!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .q5-sj2{border-color:rgba(14,49,146,.4)}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .nw-one .nw-tile:not(.on){border:1.5px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .nw-opts .nw-days button:not(.on){border:1.5px solid #C5D0E2!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .modal .btn.ghost,html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c) .modal .btn.soft{background:#E8ECF3!important}
html.t-royal .ar-lvb .wt-t{color:#BFD0EC}
html.t-royal body.wide:not(.dark) .nw-pkall button{background:rgba(26,61,130,.1)}
html.t-royal .rs3-ok{color:#C9D3E4}
html.t-royal .rv3-all{color:#C9D3E4}
html.t-royal .rv3-l.rv3-n b{color:#C9D3E4}
html.t-royal .comp,html.t-royal .rows.card,html.t-royal .bdg,html.t-royal .bg2,html.t-royal .bg2.on,html.t-royal .bg2-next,html.t-royal .goal,html.t-royal .wk-star,html.t-royal .sp-done,html.t-royal .sp-prize,html.t-royal .rv2-w,html.t-royal .rv2-all,html.t-royal .rv2-ok,html.t-royal .rv2-dr,html.t-royal .ms-r,html.t-royal .code-pill){background:rgba(14,34,86,.88)!important}
html.t-royal .ghost):not(.s-del){background:rgba(14,34,86,.88)!important}
html.t-royal .ci-bk{background:rgba(14,34,86,.88)}
html.t-royal .ci-st{color:#C9D3E4}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .hcs:not(.hv-list) .hc{background:#0E2256!important}
html.t-royal .nw-pkh{background:var(--soft,#EEF2F8)}
html.t-royal .nt-tabs>button{border:1px solid var(--line,#C5D0E2)}
html.t-royal .nt-dot{background:#2F51B0}
html.t-royal .nt-ck{border:2px solid var(--line,#C5D0E2)}
html.t-royal body.wide.dark .nt-r.on .nt-ck{background:#2F51B0;border-color:#2F51B0}
html.t-royal .nt-r.on .nt-i{outline:2px solid #2F51B0}
html.t-royal .nt-bar{border-top:1px solid var(--line,#C5D0E2)}
html.t-royal .nt-bar button{background:var(--soft,#EEF2F8)}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .ch-acts>button,html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .ch-2>button{background:#16336E!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d):not(#e) .ch-acts>button,html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d):not(#e) .ch-2>button{border:1px solid #C9D3E5!important}
html.t-royal .cw-me .cw-bar{background:#16336E}
html.t-royal .cw-x{background:#0E2256}
html.t-royal .cw-tabs{background:#0E1938}
html.t-royal .cw-big span{color:#C7D1E2}
html.t-royal body:not(#a):not(#b) .cg-live small{color:#9FB8E2!important}
html.t-royal body:not(#a):not(#b) .cg-live.off b,html.t-royal body:not(#a):not(#b) .cg-live.off small{color:#C9D4E6!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cg-live{background:rgba(26,61,130,.12)}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cg-live b,html.t-royal body.wide:not(.dark):not(#a):not(#b) .cg-live small{color:#1F3A86!important}
html.t-royal body:not(#a):not(#b) .nw-cal-s .nc-d.in{color:#BFD2F4}
html.t-royal body:not(#a):not(#b) .nw-cal-s .nc-d.st{color:#06102A}
html.t-royal body:not(#a):not(#b) .nw-cal-s .nc-d.en{color:#06102A}
html.t-royal body:not(#a):not(#b) .nw-cal-s .nc-sum{color:#BFD2F4}
html.t-royal body:not(#a):not(#b) .nw-one .nw-grp .nw-pk-row b{color:#BFD2F4}
html.t-royal body:not(#a):not(#b) .bd{background:linear-gradient(180deg,var(--n0) 0%,#0E2256 55%,#0E2256 100%)!important}
html.t-royal body:not(#a):not(#b) .bd .bd-opt:not(.good):not(.bad){background:#1A3D82}
html.t-royal body:not(#a):not(#b) .bd .qbox.bd-q{color:#121D3C!important}
html.t-royal body:not(#a):not(#b) .bd .qbox.bd-q *{color:#121D3C}
html.t-royal body:not(#a):not(#b) .bd .bd-opts .bd-opt:not(.good):not(.bad){background:#F8F9FC;color:#121E40;box-shadow:0 5px 0 #9DABC4}
html.t-royal body:not(#a):not(#b) .bd .bd-opts .bd-opt.bad{background:#2766C6;box-shadow:0 5px 0 #17396D}
html.t-royal body:not(#a):not(#b) .play.pv.pvx .opts .opt:not(.good):not(.bad),html.t-royal body:not(#a):not(#b) .play.pv.pvx .opts .opt:not(.good):not(.bad) .txt{color:#121E40}
html.t-royal .bd-tt .bd-sub{color:#A9B4C6}
html.t-royal body:not(#a):not(#b) .bd .bd-ring{background:linear-gradient(to left,#CBEF39 calc(var(--p)*1%),#20346D 0)}
html.t-royal body:not(#a):not(#b) .bd .bd-sc.turn::before{color:#121D3C}
html.t-royal body .ar-isl.age.age-ice .ar-glow{--c:#7CC4FF}
html.t-royal body .ar-isl.wd-lkd.age.age-ice .wd-g>img.wd-b{filter:drop-shadow(0 0 14px rgba(140,182,255,.45)) drop-shadow(0 16px 18px rgba(0,0,0,.6))!important}
html.t-royal .lks-go:focus-visible,html.t-royal .lks-skip:focus-visible{outline:3px solid #7CC4FF}
html.t-royal .lks-ov.won{background:linear-gradient(#16336E,#0E1938)}
html.t-royal .bd-ab{background:#1A3D82}
html.t-royal .bd-ab:hover{background:#3658B8}
html.t-royal .bd-abl{color:#A9B4C6}
html.t-royal .bd-abl button{color:#A9B4C6}
html.t-royal body:not(#a):not(#b) .bd .bd-go{background:linear-gradient(180deg,rgba(14,34,86,0),rgba(14,34,86,.92) 40%)}
html.t-royal body:not(#a):not(#b) .modal-back.mc .np-sub{color:#A9B4C6}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .hcs.hv-list{background:#16336E!important}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .cg-l{background:#16336E!important}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e) .cg-l .sw-main.cg-r{background:#16336E!important}
html.t-royal body:not(#a):not(#b):not(#c) .bd .bd-go{background:linear-gradient(180deg,rgba(14,34,86,0),rgba(14,34,86,.94) 38%)}
html.t-royal body:not(#a):not(#b):not(#c) .bd .bd-drn{background:color-mix(in srgb,var(--c) 22%,#0E2256)}
html.t-royal body:not(#a):not(#b):not(#c):not(#d) .bd .bd-sc em{background:radial-gradient(circle at 50% 35%,#0E2256,var(--n0) 70%)}
html.t-royal body:not(#a):not(#b):not(#c) .bd .bd-ring{background:linear-gradient(to left,var(--bc) calc(var(--p)*1%),#16336E 0)}
html.t-royal body:not(#a):not(#b):not(#c) .bd .bd-ring[data-c="r"]{--bc:#9FB3D1}
html.t-royal body:not(#a):not(#b):not(#c) .bd .bd-ring[data-c="r"] b{color:#7DA6E3}
html.t-royal body:not(#a):not(#b) .np-inl .np-i{color:#8F9EB8}
html.t-royal body:not(#a):not(#b) .np-inl .np-sub{color:#9FADC4}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .np-inl .np-i{color:#496BCA}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .np-inl .np-sub{color:#3658B8}
html.t-royal body .bg2-win{background:rgba(6,16,56,.94)}
html.t-royal body .bg2-win .bg2-glow{background:radial-gradient(circle,color-mix(in srgb,var(--tl) 38%,transparent),#0E2256 70%)}
html.t-royal body .bg2-win .bg2-sh{background:#0E2256}
html.t-royal body .bg2-win .bg2-two .g{background:#0E2256}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d) .ce1 .cf2-end{color:#AEB9CB!important}
html.t-royal .rp4-dt,html.t-royal .rp4-hd small{color:#BFCCE2}
html.t-royal .rp4-card{border-color:#E1E6EF}
html.t-royal .rp4-ini{background:#E2E9F4}
html.t-royal .rp4-who small,html.t-royal .rp4-ring small,html.t-royal .rp4-kpi small,html.t-royal .rp4-top>small,html.t-royal .rp4-ax,html.t-royal .rp4-chips small,html.t-royal .rp4-sig div,html.t-royal .rp4-ft{color:#385DC2}
html.t-royal .rp4-leg{color:#29448F}
html.t-royal .rp4-br .tr{background:#EDF0F6}
html.t-royal .rp4-chips span.r{background:#EAF0FA}
html.t-royal .rp4-sig div{border-color:#B9C3D3}
html.t-royal .rp4-ft{border-color:#E1E6EF}
html.t-royal .jn-so-c small{ color: #9FADC4}
html.t-royal .so-join small{ color: #9FADC4}
html.t-royal body[data-theme]:not(#a):not(#b):not(#c) .play.pv.pvx .pv-pill{background:rgba(14,34,86,.9)!important}
html.t-royal body[data-theme]:not(#a):not(#b):not(#c) .play.pv.pvx.cr .pv-pts{background:rgba(14,34,86,.9)!important}
html.t-royal body[data-theme]:not(#a):not(#b):not(#c) .play.pv.pvx.cr .pv-pts{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F5C451' d='M12 2l3 6.5 7 .8-5.2 4.8 1.4 7L12 17.6 5.8 21.1l1.4-7L2 9.3l7-.8z'/%3E%3C/svg%3E") 10px 50%/16px 16px no-repeat,rgba(14,34,86,.9)!important}
html.t-royal .hs-say{background:#F2F5FA;color:#101B3B}
html.t-royal .hs-say b{color:#2766C6}
html.t-royal .hs-say::before{border-left-color:#F2F5FA}
html.t-royal .hw-f b{color:#F2F5FA}
html.t-royal .ar-onm .kw-st i{background:#16336E}
html.t-royal .ar-onm .kw-st i.n{background:#2766C6;box-shadow:0 0 8px #2766C6}
html.t-royal .cl-flt button.on{background:#2766C6;border-color:#2766C6}
html.t-royal body .jn-names .jn-n{border:1px solid rgba(124,196,255,.35);box-shadow:0 3px 0 #0C1633}
html.t-royal body .jn-names .jn-n:active{box-shadow:0 1px 0 #0C1633}
html.t-royal body:not(#a):not(#b) .jn-h p{color:#E6ECF5!important}
html.t-royal body:not(#a):not(#b) .jn-ask{color:#C9D1E0!important}
html.t-royal .ar-cw .cw-seg button{color:#C9D1E0}
html.t-royal .cw-sl{color:#E6ECF5}
html.t-royal .cw-sl .ls{color:#E6ECF5}
html.t-royal .st-sh .st-gc button{color:#E6ECF5}
html.t-royal .st-sh .cw-seg.st-stg button{color:#C9D1E0}
html.t-royal .sr2-sc small{color:#B8C2D4}
html.t-royal .sr2-l{color:#B8C2D4}
html.t-royal .sr2-chip{color:#E6ECF5}
html.t-royal .ip-t{color:#C9D1E0}
html.t-royal .ip-new{color:#E6ECF5}
html.t-royal body .play.pv.pvx.ar-round:not(#a)>.ar-mu{box-shadow:0 4px 0 #0B142E,0 8px 14px rgba(0,0,0,.35)!important}
html.t-royal body .play.pv.pvx.ar-round:not(#a)>.ar-mu.off{color:#8F9AAE!important;border-color:rgba(184,194,212,.3)!important}
html.t-royal body .play.pv.pvx.ar-round:not(#a)>.ar-mu:active{box-shadow:0 1px 0 #0B142E!important}
html.t-royal body .play.pv.pvx.ar-round:not(#a)>.qa-tg{color:#7CC4FF!important;box-shadow:0 4px 0 #0B142E,0 0 14px color-mix(in srgb,var(--tl) 55%,transparent),0 8px 14px rgba(0,0,0,.35)!important}
html.t-royal body .play.pv.pvx.ar-round:not(#a)>.qa-tg svg{filter:drop-shadow(0 0 4px rgba(124,196,255,.7))}
html.t-royal body .play.pv.pvx.ar-round:not(#a)>.qa-tg.off{color:#3253AC!important;background:#0E1938!important;border-color:rgba(50,83,172,.45)!important;box-shadow:0 4px 0 #0B142E,0 8px 14px rgba(0,0,0,.35)!important}
html.t-royal body .play.pv.pvx.ar-round:not(#a)>.qa-tg:active{box-shadow:0 1px 0 #0B142E!important}
html.t-royal body .pv.pvx .pv-panel .qbox .qa-spk,html.t-royal body .pv.pvx .opts .opt .qa-o{color:#7CC4FF;box-shadow:0 2px 0 #0B142E}
html.t-royal .stp-d{color:#C9D1E0}
html.t-royal .s-me-l.stp button small{color:#8F9AAE}
html.t-royal .lp-l li.lp-d>i{color:#06102A}
@media(min-width:700px),(orientation:landscape) and (max-height:600px){html.t-royal body:not(#a):not(#b) .modal-back:not(.asx) .modal{border-bottom:1px solid rgb(43,71,148)!important}}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cp-pr{background:rgba(26,61,130,.1)}
html.t-royal .cl-pop{background:#0E2256}
html.t-royal .cl-pop button{color:#E6ECF5}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cl-pop{border-color:#D5DDEC}
html.t-royal body.wide:not(.dark):not(#a):not(#b) .cl-pop button.on{background:rgba(26,61,130,.1)}
html.t-royal body.wide.dark:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f) .cg-l .sw-main.cg-r{background:#0E2256!important}
html.t-royal body.wide:not(.dark):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f) .cg-l .sw-main.cg-r{border:1px solid #D5DDEC!important}
html.t-royal #sky b::before{box-shadow:0 0 10px 3px rgba(210,226,255,.9)}
html.t-royal body #ob{background:linear-gradient(180deg,var(--n0) 0%,#0E1938 50%,var(--n2) 100%) fixed!important}
html.t-royal body #ob .obr-demo{color:#D8E0EE!important}
html.t-royal body #ob .obr-dots i.ok{background:#7CC4FF!important}
html.t-royal body #ob .obr-nav{background:linear-gradient(rgba(14,34,86,0),var(--n2) 35%)!important}
html.t-royal:has(.ta),html.t-royal:has(#ob),html.t-royal body:has(.ta),html.t-royal body:has(#ob),html.t-royal #ob{--n2:#133490;--tm:#2F5CD8}
html.t-royal body #ob{background:radial-gradient(120% 70% at 50% 0%,#1A3D82 0%,#0E2256 45%,#061038 100%) fixed!important}
/* v1195 (Khalid «الوان باهتة»): difficulty colours stay distinct and bright on the royal teacher screens: easy green, medium gold, hard violet (no red) */
html.t-royal body .wq-lv3 .easy,html.t-royal body .wq-l.easy,html.t-royal body .qs-easy{color:#5BE38A!important;background:rgba(91,227,138,.16)!important}
html.t-royal body .wq-lv3 .medium,html.t-royal body .wq-l.medium{color:#FFD15C!important;background:rgba(255,209,92,.17)!important}
html.t-royal body .wq-lv3 .hard,html.t-royal body .wq-l.hard,html.t-royal body .qs-hard{color:#C9A7FF!important;background:rgba(201,167,255,.17)!important}
html.t-royal body .wq-lv3 span{border:1px solid rgba(255,255,255,.06)}
html.t-royal body .lvd.lv-easy,html.t-royal body .qb-bar .lv-easy,html.t-royal body .qb-lg .lv-easy{background:#5BE38A!important}
html.t-royal body .lvd.lv-medium,html.t-royal body .qb-bar .lv-medium,html.t-royal body .qb-lg .lv-medium{background:#FFD15C!important}
html.t-royal body .lvd.lv-hard,html.t-royal body .qb-bar .lv-hard,html.t-royal body .qb-lg .lv-hard{background:#C9A7FF!important}
html.t-royal body.wide.dark .chip.lv-easy{background:rgba(91,227,138,.16)!important;color:#5BE38A!important}
html.t-royal body.wide.dark .chip.lv-medium{background:rgba(255,209,92,.17)!important;color:#FFD15C!important}
html.t-royal body.wide.dark .chip.lv-hard{background:rgba(201,167,255,.17)!important;color:#C9A7FF!important}

/* T-ROYAL-GEN END */
/* v1196 (Khalid: lines like the iPhone, not edge to edge): admin account rows get an inset divider that starts after the avatar */
html.t-royal body .ad-rows .ad-tr,html body .ad-rows .ad-tr{position:relative;border-bottom:0!important}
html body .ad-rows .ad-tr:not(:last-child)::after{content:'';position:absolute;bottom:0;inset-inline-start:66px;inset-inline-end:16px;height:1px;background:var(--line);pointer-events:none}
/* v1197 (Khalid: the pill shade sat off the words): difficulty pills centre their text */
html body .wq-l{display:inline-flex!important;align-items:center;justify-content:center;line-height:1!important;padding:5px 10px 6px!important;min-height:22px;box-sizing:border-box;vertical-align:middle}
html body .wq-leg .wq-l{font-size:12.5px;padding:6px 12px 7px!important}
/* v1200 (Khalid: the finished-challenge / knockout card still had the old grey-black and red): royal navy for the student class card and the bracket */
html body:not(.wide) .sh.pvx:not(.ar-find):not(.ar-res):not(#z):not(#y):not(#x):not(#w) .comp,html body:not(.wide) .sh .comp{background:linear-gradient(180deg,rgba(18,42,104,.92),rgba(12,32,84,.92))!important;border:1px solid rgba(124,196,255,.14)!important}
html body:not(.wide) .ko2-tabs{background:rgba(6,16,56,.6)!important}
html body:not(.wide) .ko2-tabs button{color:#C9D6EE}
html body:not(.wide) .ko2-tabs button.on{background:#2766C6!important;color:#fff!important}
html body:not(.wide) .ko2-dot{background:#7CC4FF!important}
html body:not(.wide) .ko2-m{background:#0B1D4D!important;border-color:transparent}
html body:not(.wide) .ko2-m.me{border-color:#7CC4FF!important}
html body:not(.wide) .ko2-tag{background:#2766C6!important;color:#fff!important}
html body:not(.wide) .ko2-vs{background:rgba(255,255,255,.08)!important}
html body:not(.wide) .ko2-vs i{background:#0B1D4D!important;color:#A9BEDF!important}
html body:not(.wide) .ko2-p .ko-s{background:rgba(124,196,255,.16)}
html body:not(.wide) .ko2-p.w{background:#17336F!important}
html body:not(.wide) .ko2-ch{background:#0B1D4D!important;border:1px solid rgba(124,196,255,.14)!important}
html body:not(.wide) .ko2-p.w .ko-s{background:#FFD15C!important;color:#2A1C00!important}
/* v1200 (Khalid: podium names sat on the rims and medals covered the letters, mostly on wide screens): each place is pinned to its own podium in the picture, so it holds at any width.
   Measured on img/st/podium.webp: rim tops at 49% (1st), 56% (2nd, right), 61% (3rd, left) of the height; centres at 49.7% / 72.4% / 27.6% of the width. Height = width / 1.497, so 1% of height = .668cqw */
html body:not(#a):not(#b):not(#c):not(#d) .lbx-pod{display:block!important;position:relative;padding:0!important;container-type:inline-size;height:auto}
html body:not(#a):not(#b):not(#c):not(#d) .lbx-pod .lbx-pd{position:absolute!important;margin:0!important;width:26%;height:0;transform:translateX(-50%)!important;display:block!important}
html body:not(#a):not(#b):not(#c):not(#d) .lbx-pod .lbx-pd.p1{left:49.7%;top:32.7cqw}
html body:not(#a):not(#b):not(#c):not(#d) .lbx-pod .lbx-pd.p2{left:72.4%;top:37.4cqw}
html body:not(#a):not(#b):not(#c):not(#d) .lbx-pod .lbx-pd.p3{left:27.6%;top:40.7cqw}
html body:not(#a):not(#b):not(#c):not(#d) .lbx-pod .lbx-av{position:absolute!important;left:50%;bottom:calc(2px + 2.4cqw);transform:translateX(-50%);width:clamp(40px,10cqw,64px)!important;height:clamp(40px,10cqw,64px)!important;font-size:clamp(17px,4.2cqw,26px)!important;margin:0!important}
html body:not(#a):not(#b):not(#c):not(#d) .lbx-pod .lbx-pd.p1 .lbx-av{width:clamp(48px,12cqw,76px)!important;height:clamp(48px,12cqw,76px)!important;font-size:clamp(20px,5cqw,32px)!important}
html body:not(#a):not(#b):not(#c):not(#d) .lbx-pod .lbx-md{width:clamp(24px,5.4cqw,34px)!important;height:clamp(24px,5.4cqw,34px)!important;bottom:calc(-1 * clamp(12px,2.8cqw,18px))!important;font-size:clamp(10px,2.2cqw,13px)!important}
html body:not(#a):not(#b):not(#c):not(#d) .lbx-pod .lbx-pd.p1 .lbx-md{width:clamp(28px,6.2cqw,40px)!important;height:clamp(32px,7cqw,45px)!important;bottom:calc(-1 * clamp(14px,3.2cqw,20px))!important}
html body:not(#a):not(#b):not(#c):not(#d) .lbx-pod .lbx-pd b{position:absolute;left:0;right:0;top:5.2cqw;margin:0!important;text-align:center;font-size:clamp(12px,3cqw,17px)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body:not(#a):not(#b):not(#c):not(#d) .lbx-pod .lbx-pd .lbx-pts{position:absolute;left:0;right:0;top:calc(5.2cqw + clamp(15px,3.6cqw,21px));text-align:center;font-size:clamp(12px,2.9cqw,16px)!important}
html body:not(.wide) .sh .comp .stat{background:#0B1D4D!important;box-shadow:none!important;border:1px solid rgba(124,196,255,.12)!important}
html body:not(.wide) .sh .comp .stat b{color:#EAF2FF!important}
/* v1201 badges: one royal palette (ChatGPT table, Khalid) */
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2.on{background:#142E55!important;border:1px solid #345B85!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2.off{background:#0E2242!important;border:1px solid #203B60!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2 .bg2-md::before{background:#7CC4FF!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2 .bg2-md::after{background:radial-gradient(circle at 50% 40%,#2A56A8,#1C4085 75%)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2.on .bg2-md{filter:drop-shadow(0 0 10px #7CC4FF40)!important;color:#F1F8FF!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2.off .bg2-md::before{background:#36577E!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2.off .bg2-md::after{background:#192F52!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2.off .bg2-md{filter:none!important;opacity:1!important;box-shadow:none!important;color:#8FAFD0!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-lv{color:#061038!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-lv.br{background:#B9A078!important}html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-lv.sv{background:#C4D6E8!important}html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-lv.gd{background:#FFD15C!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-bar{background:#263E61!important}html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-bar i{background:#FFD15C!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-tier i{background:#36577E!important}html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-tier i.br,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-tier i.sv,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-tier i.gd{background:#FFD15C!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-ok{background:#7CC4FF!important;color:#061038!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-cnt.done{background:#7CC4FF1A!important;color:#7CC4FF!important;border:1px solid #7CC4FF!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2.on>b{color:#F4F8FF!important}html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2.off>b{color:#C4D6EE!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2>small{color:#A3BAD6!important}html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2-cnt:not(.done){color:#BDD1EA!important}
/* v1202 podium: ChatGPT art with engraved 1/2/3 (img/st/podium2.webp, 1536x1024); name + points in a box above each step, no avatar or medal */
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod{background:url(img/st/podium2.webp?v=1) center/100% 100% no-repeat!important;aspect-ratio:3/2!important;height:auto!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd{width:auto!important;min-width:19cqw;max-width:27cqw;height:auto!important;padding:1.2cqw 2.4cqw 1.4cqw!important;border-radius:3cqw;background:linear-gradient(180deg,rgba(14,34,86,.92),rgba(6,16,56,.92))!important;border:2px solid #C9864A;box-shadow:0 4px 14px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.12);text-align:center;transform:translate(-50%,calc(-100% - 1.4cqw))!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd.p1{left:50%;top:25.6cqw;border-color:#FFD15C;min-width:23cqw}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd.p2{left:68.4%;top:29.2cqw;border-color:#C4D6E8}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd.p3{left:31.9%;top:30.4cqw;border-color:#C9864A}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd.me{box-shadow:0 0 0 3px rgba(124,196,255,.55),0 4px 14px rgba(0,0,0,.45)}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-av,html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-step{display:none!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd b{position:static!important;display:block;color:#F4F8FF!important;font-size:clamp(13px,3.6cqw,22px)!important;font-weight:900;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:none!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd .lbx-pts{position:static!important;display:block;color:#7CE3FF!important;font-size:clamp(14px,4cqw,24px)!important;font-weight:900;line-height:1.15;text-shadow:none!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd.p1 b{font-size:clamp(14px,4.2cqw,26px)!important}html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd.p1 .lbx-pts{font-size:clamp(15px,4.6cqw,28px)!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd .lbx-pts:empty{display:none}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd{min-width:15cqw!important;max-width:17.5cqw!important;padding:1cqw 1.6cqw 1.2cqw!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd.p1{min-width:17cqw!important;max-width:19.5cqw!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd b{font-size:clamp(12px,3.2cqw,20px)!important}html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd .lbx-pts{font-size:clamp(12px,3.4cqw,21px)!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd.p1 b{font-size:clamp(13px,3.7cqw,23px)!important}html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd.p1 .lbx-pts{font-size:clamp(13px,4cqw,25px)!important}
html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd b.ln,html body:not(#a):not(#b):not(#c):not(#d):not(#e) .lbx-pod .lbx-pd.p1 b.ln{font-size:clamp(10.5px,2.8cqw,18px)!important}
/* «فنار الصف» pilot */
.lh-card{margin:12px 0;padding:14px;border-radius:20px;background:linear-gradient(180deg,#1A3D82,#0E2256);border:1px solid rgba(124,196,255,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 8px 20px rgba(3,10,40,.35);color:#EAF2FF;display:flex;flex-direction:column;gap:12px}
.lh-top{display:flex;gap:12px;align-items:center}.lh-top small{display:block;color:#9FC2EE;font-size:13px;font-weight:700}.lh-top b{display:block;font-size:17px;line-height:1.5;font-weight:800}
.lh-ic{width:44px;height:44px;flex:none;border-radius:14px;display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,#2D6FD3,#143260);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 0 14px rgba(255,209,92,.25);color:#FFD15C}
.lh-ic .ico{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lh-ic.big{width:72px;height:72px;border-radius:22px;margin:0 auto}.lh-ic.big .ico{width:42px;height:42px}
.lh-card .lh-go{margin:0;background:linear-gradient(180deg,#3A82E6,#2766C6)!important;color:#fff!important;box-shadow:0 4px 0 #173F82,inset 0 1px 0 rgba(255,255,255,.3)!important}
.lh-done{text-align:center;font-weight:800;color:#7CC4FF;background:rgba(124,196,255,.1);border:1px solid rgba(124,196,255,.35);border-radius:14px;padding:10px}
.lh-pv{display:flex;flex-direction:column;gap:12px}.lh-pv .so-sub{margin:-4px 0 4px;text-align:center}
.lh-q{background:#0E1938;border:1px solid #203B60;border-radius:16px;padding:12px;color:#EAF2FF}
.lh-q>b{display:flex;gap:8px;font-size:16px;line-height:1.5}.lh-q>b span{flex:none;width:24px;height:24px;border-radius:50%;background:#2766C6;color:#fff;display:grid;place-items:center;font-size:13px}
.lh-os{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.lh-os span{background:#0E2256;border-radius:10px;padding:7px 9px;font-size:14px;color:#C4D6EE}
.lh-os span.ok{background:rgba(91,227,138,.14);color:#5BE38A;font-weight:800;box-shadow:inset 0 0 0 1px rgba(91,227,138,.5)}
.lh-f{margin:8px 0 0;font-size:13.5px;color:#A3BAD6;line-height:1.6}
.lh-st{width:100%;display:flex;align-items:center;gap:12px;margin:10px 0 0;padding:12px 14px;border-radius:18px;border:1px solid rgba(124,196,255,.25);background:linear-gradient(180deg,rgba(26,61,130,.92),rgba(14,34,86,.92));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 6px 16px rgba(3,10,40,.3);color:#EAF2FF;font:inherit;text-align:right;cursor:pointer}
.lh-st small{display:block;font-size:12.5px;color:#9FC2EE;font-weight:700}.lh-st b{display:block;font-size:16px;font-weight:800}.lh-st i{display:block;font-style:normal;font-size:12.5px;color:#FFD15C;margin-top:2px}
.lh-arr{color:#7CC4FF;transform:scaleX(-1)}.lh-arr .ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.sp .lh-st,#lh-slot:empty{margin:0}.sp #lh-slot{padding:0 20px;position:relative;z-index:1}
.lh-run{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;background:linear-gradient(180deg,#061038,#0E2256 60%,#1A3D82);padding:calc(env(safe-area-inset-top) + 14px) 18px calc(env(safe-area-inset-bottom) + 18px);color:#EAF2FF;overflow:auto}
.lh-bar{height:10px;border-radius:99px;background:#16336E;overflow:hidden;flex:none}.lh-bar i{display:block;height:100%;background:linear-gradient(90deg,#FFD15C,#F5B83A);border-radius:99px;transition:width .25s linear;margin-inline-start:auto}
.lh-body{flex:1;display:flex;flex-direction:column;gap:14px;max-width:560px;width:100%;margin:0 auto;padding-top:14px}
.lh-n{margin:0;text-align:center;color:#9FC2EE;font-weight:700;font-size:14px}
.lh-qb{background:linear-gradient(180deg,#1A3D82,#0E2256);border:1px solid rgba(124,196,255,.22);border-radius:22px;padding:20px 16px;text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 24px rgba(3,10,40,.35)}
.lh-qb b{font-size:20px;line-height:1.6}.lh-qb img{max-width:100%;max-height:160px;border-radius:12px;display:block;margin:0 auto 10px}
.lh-opts{display:grid;gap:10px}
.lh-o{font:inherit;font-size:17px;font-weight:800;padding:14px;border-radius:16px;border:1px solid rgba(124,196,255,.22);background:linear-gradient(180deg,#1A3D82,#16336E);color:#F1F8FF;box-shadow:0 4px 0 #0A1C46,inset 0 1px 0 rgba(255,255,255,.14);cursor:pointer}
.lh-o.ok{background:linear-gradient(180deg,#2E8F5A,#1F7046);border-color:#5BE38A}.lh-o.no{opacity:.45}.lh-o:disabled{cursor:default}
.lh-after{display:flex;flex-direction:column;gap:10px}.lh-after:empty{display:none}.lh-say{margin:0;text-align:center;font-size:16px;font-weight:800}
.lh-after .lh-f{text-align:center;margin:0;background:rgba(124,196,255,.08);border-radius:14px;padding:10px 12px}
.lh-endc{margin:auto 0;text-align:center;display:flex;flex-direction:column;gap:10px}.lh-endc h3{margin:8px 0 0;font-size:22px}.lh-endc p{margin:0;font-size:18px}.lh-endc p b{color:#FFD15C}.lh-endc small{color:#A3BAD6}
.bg2-img{width:72px;height:72px;flex:none;object-fit:contain;position:relative;z-index:2;filter:drop-shadow(0 3px 4px rgba(0,0,0,.35));pointer-events:none}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .bg2.off .bg2-md .bg2-img{opacity:.85;filter:saturate(.75) drop-shadow(0 3px 4px rgba(0,0,0,.35))}
.bg2-next .bg2-md .bg2-img{width:44px;height:44px}.bg2-ds .bg2-md.big .bg2-img{width:76px;height:76px}.bg2-glow .bg2-img{width:110px;height:110px}
.lh-top .lh-by{display:block;margin-top:4px;font-size:13px;font-weight:700;color:#9FC2EE}
/* v1206 honor board navy (Khalid: grey looked off-theme) */
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .honor{background:linear-gradient(180deg,rgba(18,42,104,.92),rgba(12,32,84,.92));border:1px solid rgba(124,196,255,.14);color:#EAF2FF}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .honor-l div{background:#17336F;border:1px solid rgba(124,196,255,.12)}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .honor-l div:nth-child(1) span{color:#FFD15C}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .honor-l div:nth-child(2) span{color:#C4D6E8}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .honor-l div:nth-child(3) span{color:#B9A078}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .honor-l small{color:#FFD15C;opacity:1;font-weight:700}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .honor-f{color:#9FB3D1;opacity:1}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .honor-h{color:#fff}
.honor + .ko2,.honor + .ko-wrap{margin-top:12px}
html body:not(.wide):not(#a):not(#b):not(#c) .s-me-ct{display:flex;align-items:center;justify-content:center;gap:6px;margin:2px 0 8px;font-size:13.5px;font-weight:700;color:#9FC2EE}.s-me-ct .ico{width:15px;height:15px;color:#FFD15C}
/* v1209 «أنا» card royal navy (Khalid: slate card off-theme) */
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .s-me{background:linear-gradient(180deg,rgba(18,42,104,.92),rgba(12,32,84,.92))!important;border:1px solid rgba(124,196,255,.14)!important;box-shadow:none!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .s-me-st>span{background:#17336F!important;border:1px solid rgba(124,196,255,.14)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .s-me-o.s-me-3>button,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .s-me-l{background:linear-gradient(180deg,rgba(18,42,104,.92),rgba(12,32,84,.92))!important;border:1px solid rgba(124,196,255,.14)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .s-me-av{background:#1C4085!important}
/* v1212 (Khalid «مو واضحة الصفوف»): new-challenge class chips readable on royal */
html.t-royal body:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile{background:#16336E!important;border:1.5px solid rgba(124,196,255,.38)!important;box-shadow:0 2px 8px rgba(0,0,0,.25)!important;color:#fff}
html.t-royal body:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile.busy small{color:#FFD15C!important;opacity:.95;font-weight:700}
html.t-royal body:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile.busy small::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#FFD15C;margin-inline-end:5px;vertical-align:middle}
html.t-royal body:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile.on{background:#2766C6!important;border:2px solid #7CC4FF!important;box-shadow:0 0 0 3px rgba(124,196,255,.22)!important}
html.t-royal body:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile.on b::before{content:'✓ ';color:#fff}
html.t-royal body:not(#a):not(#b):not(#c):not(#d) .nw-one .nw-tile.on.busy small{color:#FFE08A!important}
html body:not(#a):not(#b):not(#c) .nw-one .nw-lbl.nw-l1{margin-top:4px}
html body:not(#a):not(#b):not(#c) .nw-one .nw-note{margin-top:12px}
html body:not(#a):not(#b):not(#c) .nw-one .nw-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}
html body:not(#a):not(#b):not(#c) .nw-one .nw-tile{flex-direction:column;gap:2px;padding:10px 6px;min-height:60px;width:auto}
html body:not(#a):not(#b):not(#c) .nw-one .nw-tile small{font-size:12px}
/* v1212 (Khalid): swipe rows on royal: no black square behind the delete button, class groups without dark notches between cards */
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .sw-row,html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g) .sw-act{background:#0E2256!important}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .cg-l{background:#0E2256!important;border:1px solid rgba(124,196,255,.2)!important;overflow:hidden}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .cg-l .sw-row,html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .cg-l .cg-sw+.cg-sw,html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .cg-l .sw-row+.sw-row{margin:0!important;border-radius:0!important}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .cg-l .sw-main{border-radius:0!important;border:0!important;box-shadow:none!important;background:#0E2256!important}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .cg-l .sw-main::after,html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .cg-l .cg-r::after{display:none!important}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .cg-live b{overflow:visible!important;padding-inline-start:2px}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .cg-live b{gap:8px!important;display:inline-flex;align-items:center}
/* v1213 (Khalid «ليش ما ضبطتها»): swipe actions = full-height iOS-style blocks, label never clipped */
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sw-act{padding:0!important;align-items:stretch!important}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sw-act .sw-r,html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sw-act .sw-l{height:auto!important;align-self:stretch!important;display:flex}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sw-act button{width:78px!important;height:100%;border-radius:0!important;padding:0!important;gap:4px!important;justify-content:center!important;color:#fff!important;font-size:12.5px!important;font-weight:700;line-height:1.1}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sw-act .del{background:#2766C6!important}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sw-act .wa{background:#1FA971!important}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sw-act button i{background:none!important;box-shadow:none!important;width:22px!important;height:22px!important}
html.t-royal body:not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sw-act button i .ico{width:20px!important;height:20px!important}
/* v1214 (Khalid «ابدا ب١ و٣» 2026-12-05) — one royal card style on student screens + filled «أنا» page */
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sh.pvx .s-me,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-o.s-me-3>button,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-l,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .bg2,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .bg2-next,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .stp-c{background:linear-gradient(180deg,#16336E,#0E2256)!important;border:1px solid rgba(124,196,255,.16)!important;border-radius:22px!important;box-shadow:0 6px 18px rgba(3,10,35,.35)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-st>span{background:#1A3D82!important;border:0!important;border-radius:16px!important;box-shadow:none!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-lv{margin-top:14px;text-align:start}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-lvt{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:7px}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-lvt span{font-weight:900;font-size:14px;color:#F4F8FF}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-lvt small{font-size:12.5px!important;font-weight:800;color:#FFD66B!important;opacity:1!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-lvb{display:flex;direction:rtl;height:12px;border-radius:99px;background:#0A1A45;overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.4)}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-lvb i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#FFF0B8,#FFD66B 45%,#F5B72B)}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-pl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-pl button{background:#1A3D82;border:0;border-radius:14px;min-height:44px;padding:8px 6px;color:#F4F8FF;font:inherit;font-size:13px;font-weight:800;cursor:pointer;line-height:1.3}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-pl button b{display:inline;font-size:13px;color:#FFD66B;font-weight:900}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-o.s-me-3 button i.s-me-li{height:52px!important;width:100%}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-3d{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.35))}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-play{display:flex;align-items:center;justify-content:center;width:100%;min-height:58px;margin:14px 0 4px;border:0!important;border-radius:20px!important;background:linear-gradient(180deg,#3B82E8,#2766C6)!important;box-shadow:0 5px 0 #1A4E9E,0 10px 22px rgba(9,30,80,.45)!important;color:#fff!important;font-size:19px;font-weight:900}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-play:active{transform:translateY(3px);box-shadow:0 2px 0 #1A4E9E!important}
/* preview top bar = royal, not black */
html #pv-x{background:rgba(14,25,56,.9)!important}
/* locked badge hexagons = royal navy instead of charcoal */
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .bg2.off .bg2-md::before,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .bg2-next .bg2-md::before{background:linear-gradient(160deg,#4A83D9,#23437E)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .bg2.off .bg2-md::after,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .bg2-next .bg2-md::after{background:radial-gradient(circle at 50% 40%,#1F4A96,#102A66 78%)!important}
/* round bottom wave = royal blue, not teal */
html body .play.pv.pvx.ar-round::after,html body:not(#a):not(#b) .bd::after{filter:hue-rotate(30deg) saturate(.85)}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-nav{background:rgba(11,28,74,.92)!important;border-color:rgba(124,196,255,.16)!important}
/* home pills + practice button in the same royal card tone; no red number in the captain's line */
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sp-pill,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sp-prac{background:#16336E!important;border:1px solid rgba(124,196,255,.16)!important;box-shadow:0 4px 12px rgba(3,10,35,.3)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .hs-say b{color:#2766C6!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .sp-play2>span{text-shadow:0 3px 0 rgba(4,14,48,.55)!important}
/* v1215 solo «أنا»: level bar fills the header width, royal rows */
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .so-meh .s-me-lv{width:100%;align-self:stretch}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .so-rows,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .so-join{background:linear-gradient(180deg,#16336E,#0E2256)!important;border:1px solid rgba(124,196,255,.16)!important;border-radius:22px!important;box-shadow:0 6px 18px rgba(3,10,35,.35)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .so-me .s-me-play{margin:4px 0 16px}
/* v1217 «مين يلعب؟» = royal card, character picture, proper chevron */
html body .sh.sl .who-pick{background:linear-gradient(180deg,#16336E,#0E2256)!important;border:1px solid rgba(124,196,255,.16)!important;border-radius:22px!important}
html body .sh.sl .who-pick .who-b{background:#1A3D82!important;border:0!important;border-radius:16px!important;display:flex;align-items:center;gap:12px}
html body .sh.sl .who-pick .who-av{width:52px;height:52px;flex:none;display:grid;place-items:center}
html body .sh.sl .who-pick .who-av .avi{width:52px!important;height:52px!important}
html body .sh.sl .who-pick .who-chev{display:grid;place-items:center;width:28px;height:28px;color:#A9BEDF;flex:none}
html body .sh.sl .who-pick .who-chev .ico{width:20px;height:20px}
/* v1219 (Khalid «لونهم صح؟» on المراكز): ranking rows + notes in the royal card tone */
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .lbx-r:not(.me),html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .lbx-zero,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .lbx-empty,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .lba-next{background:linear-gradient(180deg,#16336E,#0E2256)!important;border:1px solid rgba(124,196,255,.16)!important;box-shadow:0 6px 18px rgba(3,10,35,.3)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .lbx-r.me{background:linear-gradient(180deg,#1E4590,#16336E)!important;border:1.5px solid #E8B13A!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .lba-me{background:rgba(14,34,86,.94)!important;border:1px solid rgba(124,196,255,.2)!important}
/* v1220 (Khalid «لون الشريط السفلي في شاشة الطالب مختلف عن شاشة المعلم»): student tab bar = exact teacher royal bar */
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-nav{background:rgba(14,25,56,.92)!important;border:1px solid rgba(39,102,198,.30)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-nav .lens{background:#182751!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-nav button.on{background:transparent!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-nav button:not(.on){color:#B9C5DB!important}
/* v1221 (Khalid screenshot): logout button + delete link in the royal tone */
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-x .s-me-out{background:linear-gradient(180deg,#16336E,#0E2256)!important;border:1px solid rgba(124,196,255,.16)!important;color:#F4F8FF!important;box-shadow:0 6px 18px rgba(3,10,35,.3)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .s-me-x .s-del{background:transparent!important;border:0!important;box-shadow:none!important;color:#A9BEDF!important}
/* v1222 (Khalid screenshot): world screen level card + back button in the royal tone */
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .ar-me.ar-me3{background:linear-gradient(180deg,#16336E,#0E2256)!important;border:1px solid rgba(124,196,255,.16)!important;box-shadow:0 6px 18px rgba(3,10,35,.35)!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .ar-me3 .ar-lvb .bar,html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .ar-me3 .ar-lvb .segs i:not(.f){background:#0A1A45!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .wd-bk{background:#16336E!important;border:1px solid rgba(124,196,255,.2)!important;color:#7CC4FF!important}
html body:not(.wide):not(#a):not(#b):not(#c):not(#d):not(#e):not(#f):not(#g):not(#h) .ar-me3 .cw-bar{background:#0A1A45!important}
html body.wide:not(#a):not(#b):not(#c):not(#d):not(#e) .pg-in.set-pg .set-row:not(#z){font-size:18px;min-height:64px}
/* v1227 compact inline pickers (Khalid): ≤4 choices = segmented row; number wheel 3 rows */
html body:not(#a):not(#b) .np-inl.np-seg{padding:4px 14px 2px}
html body:not(#a):not(#b) .np-sg{display:flex;gap:4px;padding:4px;margin:6px 0 8px;border-radius:14px;background:#0E1938;border:1px solid rgba(124,196,255,.14)}
html body:not(#a):not(#b) .np-sg button{flex:1;min-height:40px;border:0;border-radius:10px;background:transparent;color:#A9BEDF;font:inherit;font-size:15px;font-weight:700;padding:0 4px;white-space:nowrap}
html body:not(#a):not(#b) .np-sg button.on{background:#2766C6;color:#fff;box-shadow:0 2px 8px rgba(3,10,35,.35)}
html body:not(#a):not(#b) .np-inl .np-wheel,html body:not(#a):not(#b) .np-inl .np-list{height:132px}
html body:not(#a):not(#b) .np-inl .np-list{padding:44px 0;scroll-padding-top:44px}
html body:not(#a):not(#b) .np-inl .np-band{top:44px}
html body.wide:not(.dark):not(#a):not(#b) .np-sg{background:#EEF3FB;border-color:#D5E0F0}html body.wide:not(.dark):not(#a):not(#b) .np-sg button{color:#3658B8}
/* v1227 (Khalid): lessons sheet section headers = one card with inset lines; closed chevron points left, open points down */
html body:not(#a):not(#b):not(#c) .nw-pk .q4-rows:has(> .nw-pkh){background:#1A3D82;border-radius:16px;padding:0 4px}
html body:not(#a):not(#b):not(#c) .nw-pk .nw-pkh{margin:0;border-radius:0;background:transparent!important;min-height:56px;position:relative}
html body:not(#a):not(#b):not(#c) .nw-pk .nw-pkh + .nw-pkh::before{content:"";position:absolute;top:0;right:12px;left:12px;height:1px;background:rgba(124,196,255,.14)}
html body:not(#a):not(#b):not(#c) .nw-pk .nw-pkh.shut i{transform:rotate(180deg)}
html body:not(#a):not(#b):not(#c) .nw-pk .nw-pkh:not(.shut) i{transform:rotate(90deg)}
html body.wide:not(.dark):not(#a):not(#b):not(#c) .nw-pk .q4-rows:has(> .nw-pkh){background:#EEF3FB}
/* v1229 (Khalid «موكبيرة العدسة!!»): on wide bars (iPad, 3-tab solo bar) the lens is capped at 116px and centred on its tab, so the drag zoom stays small */
html body:not(#a):not(#b) :is(.t-nav,.s-nav) .lens{--w:calc((100% - 12px) / var(--n));width:min(var(--w),116px);right:calc(6px + var(--w) * var(--i) + (var(--w) - min(var(--w),116px)) / 2)}
html body:not(#a):not(#b) :is(.t-nav,.s-nav) .lens:is(.drag,.move){transform:scale(1.16,1.1)}
/* v-pearls (beta): wallet chip + daily shell */
.pl-ic{display:inline-block;width:1em;height:1em;border-radius:50%;vertical-align:-.12em;background:radial-gradient(circle at 35% 30%,#fff 0 18%,#F7F3EA 40%,#D9CFBF 75%,#B9A98E 100%);box-shadow:0 0 6px rgba(245,197,66,.55)}
#pl-chip{position:fixed;top:calc(env(safe-area-inset-top,0px) + 10px);left:12px;z-index:50;display:flex;align-items:center;gap:6px;padding:5px 12px 5px 10px;border-radius:999px;background:rgba(11,23,41,.82);border:1px solid rgba(245,197,66,.7);color:#F5C542;font:800 15px Cairo,sans-serif;direction:ltr;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
#pl-chip .pl-ic{width:18px;height:18px}
#pl-chip .pl-dot{width:8px;height:8px;border-radius:50%;background:#F5C542;box-shadow:0 0 0 0 rgba(245,197,66,.7);animation:plDot 1.4s infinite}
@keyframes plDot{to{box-shadow:0 0 0 8px rgba(245,197,66,0)}}
.pl-m .pl-k{color:#F5C542;font-weight:800;margin:0 0 4px}
.pl-wrap{display:block;margin:4px auto 6px;background:none;border:0;padding:0;width:170px;cursor:pointer}
.pl-sh{width:100%;height:auto;overflow:visible;filter:drop-shadow(0 6px 18px rgba(245,197,66,.35))}
.pl-sh .pl-top{transform-origin:60px 62px;transition:transform .6s cubic-bezier(.2,1.4,.4,1)}
.pl-sh .pl-in{opacity:0;transition:opacity .3s .25s}
.pl-tap .pl-sh{animation:plWob 1.6s ease-in-out infinite}
@keyframes plWob{0%,70%,100%{transform:rotate(0)}76%{transform:rotate(-6deg)}84%{transform:rotate(6deg)}92%{transform:rotate(-3deg)}}
.pl-op .pl-sh{animation:none}
.pl-op .pl-top{transform:rotate(-38deg) translateY(-6px)}
.pl-op .pl-in{opacity:1}
.pl-m h3 .pl-ic{width:22px;height:22px}
