/* ═══════════════════════════════════════════════════════════════
   لوحة ألوان اللجنة العلمية Med225 — مأخوذة من موقعهم med225.vercel.app
     كريمي #FEF8F1 · بنفسجي فاتح #CAC5D4→#BEB8CD · رمادي بنفسجي #EFEBE8→#E1DDE5
     نص فحمي #3B3B40 · خط لاتيني سيريف (Fraunces)
   الفاتح هو الافتراضي (مثل موقعهم) — والداكن يبقى بألوان Dr.Rank (الطرفان).
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

/* ── الداكن = ألوان Dr.Rank الأصلية (ما نلمسها) ── */

/* ── الفاتح (الافتراضي = موقع اللجنة) ── */
body.light{
  --bg:#FEF8F1; --bg2:#F7F2EB; --card:#F3F0EC; --card2:#ECE9EC; --line:rgba(72,72,72,.10); --line2:rgba(72,72,72,.18);
  --tx:#3B3B40; --mut:#75737C; --dim:#A6A3AD;
  --brand:#A79DC6; --brand2:#8E86AE; --ok:#5E9C72; --bad:#C96A6A; --warn:#C49A5C;
  --shadow:0 14px 34px rgba(90,80,110,.10);
  background:#FEF8F1 !important; color:#3B3B40;
}
body.light::before{ display:none !important; }
body.light header, body.light header.scrolled{ background:linear-gradient(90deg,rgba(239,235,232,.92),rgba(225,221,229,.92)) !important; border-bottom:1px solid rgba(72,72,72,.08) !important; }
body.light .hd .nm, body.light .en.serif{ font-family:Fraunces,'Playfair Display',Georgia,serif; font-weight:600; letter-spacing:0; }
body.light .hero h1 span{ background-image:linear-gradient(90deg,#7D74A6,#9A91BE) !important; }
body.light .eyebrow{ color:#6F67A0 !important; background:rgba(185,177,208,.26) !important; }
/* الكروت */
body.light .qc, body.light .stat, body.light .search, body.light .qtext, body.light .mode, body.light .mli, body.light .sheet, body.light .timer, body.light .float, body.light .rs div, body.light .rv, body.light .mixbtn{
  background:linear-gradient(180deg,#F3F0EC,#ECE9EC) !important; border-color:rgba(72,72,72,.08) !important; box-shadow:0 10px 28px rgba(90,80,110,.08) !important; }
body.light .qc .tag{ color:color-mix(in srgb,var(--sc) 55%,#3B3B40) !important; background:color-mix(in srgb,var(--sc) 16%,#fff) !important; border-color:color-mix(in srgb,var(--sc) 40%,transparent) !important; }
body.light .go{ color:color-mix(in srgb,var(--sc) 60%,#3B3B40) !important; }
body.light .qc-glow{ opacity:.22 !important; }
body.light .qc:hover{ box-shadow:0 20px 44px rgba(90,80,110,.16), 0 0 0 1px rgba(185,177,208,.7) !important; }
body.light .op{ background:#F6F3EF !important; border-color:rgba(72,72,72,.12) !important; box-shadow:0 4px 14px rgba(90,80,110,.06) !important; }
body.light .op:hover:not(:disabled){ border-color:rgba(167,157,198,.7) !important; }
body.light .op .k, body.light .dot, body.light .stat .si, body.light .qn-pill, body.light .mk-o b, body.light .mini b{ background:#E9E6EB !important; color:#5A5862 !important; }
body.light .op.sel{ background:rgba(185,177,208,.22) !important; border-color:#A79DC6 !important; } body.light .op.sel .k{ background:#A79DC6 !important; color:#fff !important; }
body.light .op.ok{ background:rgba(94,156,114,.12) !important; border-color:rgba(94,156,114,.5) !important; } body.light .op.ok .k{ background:#5E9C72 !important; color:#fff !important; }
body.light .op.no{ background:rgba(201,106,106,.10) !important; border-color:rgba(201,106,106,.5) !important; } body.light .op.no .k{ background:#C96A6A !important; color:#fff !important; }
body.light .exp{ background:rgba(185,177,208,.16) !important; border-color:rgba(185,177,208,.55) !important; } body.light .exp .h{ color:#6F67A0 !important; }
body.light .exp.bad{ background:rgba(201,106,106,.08) !important; border-color:rgba(201,106,106,.4) !important; } body.light .exp.bad .h{ color:#B45252 !important; }
body.light .mk-exp{ color:#6F67A0 !important; background:rgba(185,177,208,.16) !important; }
body.light .mock{ background:linear-gradient(160deg,#FFFFFF,#F1EEF2) !important; border-color:rgba(72,72,72,.1) !important; box-shadow:0 30px 60px rgba(90,80,110,.18) !important; }
body.light .mk-o{ background:#fff !important; border-color:rgba(72,72,72,.1) !important; }
body.light .foot{ background:linear-gradient(0deg,#FEF8F1 60%,transparent) !important; }
body.light .pt{ background:rgba(254,248,241,.9) !important; }
/* الأزرار: بنفسجي فاتح بنص فحمي — نفس كرت البلوك عندهم */
body.light .btn.pri, body.light .chip.on, body.light .tab.on{ background:linear-gradient(135deg,#CAC5D4,#BEB8CD) !important; color:#3B3B40 !important; border-color:transparent !important; box-shadow:0 8px 22px rgba(120,110,150,.22) !important; }
body.light .btn.pri:hover, body.light .chip.on:hover{ background:linear-gradient(135deg,#C0BACC,#B2AAC6) !important; box-shadow:0 12px 28px rgba(120,110,150,.3) !important; }
body.light .chip{ background:#F6F3EF !important; color:#75737C !important; border-color:rgba(72,72,72,.14) !important; }
body.light .mixbtn{ background:linear-gradient(135deg,rgba(202,197,212,.45),rgba(190,184,205,.25)) !important; }
body.light .tag, body.light .qn{ color:#6F67A0 !important; }
body.light .mark{ background:conic-gradient(from 200deg,#CAC5D4,#BEB8CD,#E1DDE5,#CAC5D4) !important; color:#3B3B40 !important; box-shadow:0 8px 24px rgba(120,110,150,.25), inset 0 0 0 2px rgba(255,255,255,.6) !important; }
body.light .mode.on, body.light .mli.on{ border-color:#A79DC6 !important; background:rgba(185,177,208,.18) !important; }
body.light .mli.on .cb{ background:#A79DC6 !important; border-color:#A79DC6 !important; color:#fff !important; }
body.light .dot.a{ border-color:#A79DC6 !important; color:#6F67A0 !important; background:rgba(185,177,208,.2) !important; }
body.light .dot.cur{ outline-color:#8E86AE !important; }
body.light .sw.on{ background:#A79DC6 !important; }
body.light .toast{ background:#3B3B40 !important; color:#fff !important; }
body.light .x, body.light .thm{ background:#F6F3EF !important; }
body.light .best.b{ color:#B45252 !important; } body.light .best.m{ color:#9A6A2A !important; } body.light .best.g{ color:#3F7A50 !important; }
body.light .rv .a.y{ color:#B45252 !important; } body.light .rv .a.c{ color:#3F7A50 !important; }
body.light .orb{ opacity:.18 !important; filter:hue-rotate(20deg) saturate(.4); }
/* الأدمن (فاتح دائماً) */
body.light .card{ background:linear-gradient(180deg,#F3F0EC,#ECE9EC) !important; border-color:rgba(72,72,72,.08) !important; box-shadow:0 10px 28px rgba(90,80,110,.08) !important; }
body.light .info{ background:rgba(185,177,208,.18) !important; border-color:rgba(185,177,208,.5) !important; color:#5A5370 !important; }
body.light .pq .n{ color:#6F67A0 !important; }
body.light .err{ color:#B45252 !important; }
body.light input, body.light textarea, body.light select{ background:#FFFDFA !important; color:#3B3B40 !important; border-color:rgba(72,72,72,.16) !important; }
body.light input:focus, body.light textarea:focus{ border-color:#A79DC6 !important; box-shadow:0 0 0 4px rgba(167,157,198,.2) !important; }
body.light .btn:not(.pri){ background:#F6F3EF !important; border:1px solid rgba(72,72,72,.14) !important; color:#3B3B40 !important; }
body.light .tab{ background:#F6F3EF !important; color:#75737C !important; border-color:rgba(72,72,72,.14) !important; }
/* الجوال والفاتح: شريط الحالة */
@media (prefers-color-scheme: light){ :root{ color-scheme:light; } }
/* تأثيرات fx بالفاتح: بنفسجي بدل النيلي */
body.light .orb.o1{ background:rgba(167,157,198,.35) !important; } body.light .orb.o2{ background:rgba(202,197,212,.3) !important; }
body.light .btn.pri:hover:not(:disabled){ box-shadow:0 12px 30px rgba(120,110,150,.35) !important; }
body.light .mode.on{ box-shadow:0 0 0 3px rgba(167,157,198,.25) !important; }
body.light .bar i{ box-shadow:0 0 12px rgba(142,134,174,.5) !important; }
body.light .qc-glow{ filter:blur(40px) saturate(.7); }
