@import url("https://fonts.googleapis.com/css2?family=Noto+Emoji:wght@400..600&display=swap");
@import url("/fonts/readex-pro/readex.css");   /* Readex Pro — مستضاف (الخطُّ العربيّ «الفاخر» الذي اختاره صاحبُ الموقع؛ كان IBM Plex قبله بساعة) */
/* «كلُّ إيموجي أبيضُ في الداكن وأسودُ في الفاتح»: خطُّ Noto Emoji الأحاديُّ اللون في آخرِ السلسلة — يأخذ لونَ النصّ (و`mono-emoji.js` يحذف U+FE0F الذي يُلزم كروم بالملوّن) */
/* OX GAMES — صفحاتُ الموقع بشكلِ iOS (ديسمبر ٢٠٢٦)
   ================================================================
   طلبُ صاحب الموقع: «اجعل لوحةَ التحكّم وكلَّ شيءٍ في المتصفّح مثلَ iOS».
   الرئيسيةُ صارت بلغةِ آبل (`apple.css`)، والألعابُ لها نمطُ iOS (`ios.css` تحت `html.ios`).
   وبقيت الصفحاتُ الأخرى — لوحةُ الستريمر، حسابي، المتجر، الدعم، الدخول، لوحةُ المالك،
   الاستوديو، المجلس… — بحقلِ النيون: نجومٌ متحرّكة، تدرّجاتٌ ورديّةٌ وسماويّة، ووهج.

   هذه الورقةُ تُحمَّل **آخرَ** رأسِ كلِّ صفحة بدلَ `neon.css` و`neon.js`، ولا تغيّر منطقا:
   - ألوانُ النظام في iOS (الداكن: أسودُ وخلايا ‎#1C1C1E‎، والفاتح: ‎#F2F2F7‎ وخلايا بيضاء)،
     وأزرقُ النظام للأفعال، والأخضرُ والأحمرُ للحالات. لا تدرّجات ولا وهج.
   - خطُّ النظام (وGE SS TV إن كان مثبّتا على الجهاز — `local()` وحدَه، لا يُستضاف).
   - البطاقاتُ قوائمُ مجمّعةٌ بزوايا ‎20‎، والأزرارُ حبوبٌ مسطّحة، والتبويباتُ أزرارٌ مقسّمة،
     والحقولُ رماديّةٌ بلا إطار، والشريطُ زجاجٌ رفيع.
   - لونُ 🎨 الذي يختاره المستخدمُ يبقى لونَ الأفعال (بلا تدرّج)؛ الافتراضيُّ أزرقُ النظام.

   الانتقائيّاتُ مسبوقةٌ بـ`html body` كي تغلب أوراقَ الصفحات المضمَّنة دون `!important`
   إلّا حيث تكتب الصفحةُ لونا ثابتا في السطر. */

@font-face{font-family:"OX GE SS";src:local("GE SS TV Bold"),local("GESSTVBold-Bold"),local("GE SS TV");font-weight:600 900}
@font-face{font-family:"OX GE SS";src:local("GE SS TV Light"),local("GESSTVLight-Light"),local("GE SS TV");font-weight:100 500}

/* ===== ١) الألوان ===== */
:root:root:root{
  --ios-blue:#0A84FF; --ios-green:#30D158; --ios-red:#FF453A; --ios-orange:#FF9F0A; --ios-yellow:#FFD60A; --ios-indigo:#5E5CE6;
  --ios-bg:#000; --ios-cell:#1C1C1E; --ios-cell2:#2C2C2E; --ios-cell3:#3A3A3C;
  --ios-text:#fff; --ios-text2:rgba(235,235,245,.6); --ios-text3:rgba(235,235,245,.3);
  --ios-sep:rgba(84,84,88,.6); --ios-fill:rgba(118,118,128,.24); --ios-fill2:rgba(118,118,128,.36);
  --ios-glass:rgba(22,22,24,.78); --ios-seg-on:#636366;
  --ios-font:"OX Readex","OX GE SS",-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Arabic","Segoe UI",Alexandria,Tahoma,"Noto Emoji",sans-serif;
  --ios-act:var(--ios-blue);
  /* ما تقرؤه الصفحات */
  --bg:var(--ios-bg); --bg2:var(--ios-bg); --surface:var(--ios-cell); --surface2:var(--ios-cell2);
  --line:var(--ios-sep); --line2:rgba(84,84,88,.8); --soft:var(--ios-fill); --soft2:var(--ios-fill2);
  --text:var(--ios-text); --muted:var(--ios-text2); --dim:var(--ios-text3);
  --sh:none; --r:14px; --r2:20px;
  --a1:var(--ios-act); --a2:var(--ios-act); --a-mid:var(--ios-act); --ink:#fff; --a1-text:var(--ios-act); --g:var(--ios-act);
  --gr:var(--ios-green); --r-red:var(--ios-red);
  --aura-op:0; --grid-op:0;
}
:root:root:root[data-mode="light"]{
  --ios-blue:#007AFF; --ios-green:#34C759; --ios-red:#FF3B30; --ios-orange:#FF9500; --ios-yellow:#FFCC00; --ios-indigo:#5856D6;
  --ios-bg:#F2F2F7; --ios-cell:#fff; --ios-cell2:#F2F2F7; --ios-cell3:#E5E5EA;
  --ios-text:#000; --ios-text2:rgba(60,60,67,.6); --ios-text3:rgba(60,60,67,.3);
  --ios-sep:rgba(60,60,67,.22); --ios-fill:rgba(118,118,128,.12); --ios-fill2:rgba(118,118,128,.2);
  --ios-glass:rgba(249,249,251,.82); --ios-seg-on:#fff;
  --line2:rgba(60,60,67,.3); --ink:#fff;
}
/* لونُ 🎨 المختار (غيرُ الافتراضيّ) يبقى لونَ الأفعال — صلبا بلا تدرّج */
:root:root:root[data-accent="gold"]  { --ios-act:#FF9F0A }
:root:root:root[data-accent="violet"]{ --ios-act:#BF5AF2 }
:root:root:root[data-accent="mint"]  { --ios-act:#30D158 }
:root:root:root[data-accent="red"]   { --ios-act:#FF375F }
:root:root:root[data-accent="mono"]  { --ios-act:#8E8E93 }

/* ===== ٢) الخلفيّة: لا نجومَ ولا أوهاج ===== */
/* كانت `neon.css` تقصّ ما يفيض جانبيّا (`clip` لا `hidden`: هذا يُبطل `sticky`) — وبعضُ الصفحات تعتمد عليه */
html{overflow-x:clip}
html body{background:var(--ios-bg)!important;color:var(--ios-text);font-family:var(--ios-font);letter-spacing:0;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
html body::before,html body::after{content:none!important;display:none!important}
html body .aura,html body .grid-bg,html body #bg-stars,html body .hero-sparkles,html body .scroll-indicator,html body .sparkle{display:none!important}
html body h1,html body h2,html body h3,html body h4,html body .logo,html body .hname,html body .stat b,html body .gname,
html body input,html body select,html body textarea,html body button{font-family:var(--ios-font)}
html body h1{font-weight:700;letter-spacing:-.01em}
html body h2,html body h3{font-weight:600;letter-spacing:-.005em}
html body ::selection{background:color-mix(in srgb,var(--ios-act) 40%,transparent)}
html body a{-webkit-tap-highlight-color:transparent}

/* ===== ٣) الشريطُ العلويّ والجانبيّ: زجاجٌ رفيع ===== */
html body .bar,html body header.top,html body .top,html body .nav,html body header.head{
  background:var(--ios-glass)!important;backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);
  border:0!important;box-shadow:0 .5px 0 var(--ios-sep)!important}
html body .rail{background:var(--ios-glass)!important;backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);
  border:0!important;box-shadow:.5px 0 0 var(--ios-sep),-.5px 0 0 var(--ios-sep)!important}
html body .rail .rlogo{background:var(--ios-cell2)!important;border-radius:12px}
html body .ri{border-radius:12px;color:var(--ios-text2)}
html body .ri:hover{background:var(--ios-fill);color:var(--ios-text)}
html body .ri.on{background:var(--ios-act)!important;color:#fff!important;box-shadow:none!important}
html body .ri span{background:var(--ios-cell2);border:0;box-shadow:0 0 0 .5px var(--ios-sep),0 8px 24px rgba(0,0,0,.3);border-radius:8px;font-weight:600}
html body .logo img{filter:none}

/* ===== ٤) البطاقات: قوائمُ مجمّعة ===== */
html body .card,html body .stat,html body .lvl,html body .nc,html body .gcard,html body .panel,html body .box,html body .sec,html body .cd,html body .tb{
  border:0!important;box-shadow:none!important}
html body .card,html body .stat,html body .nc,html body .gcard,html body .panel{background:var(--ios-cell)!important;border-radius:20px}
html body .card{padding:20px 22px}
html body .hero{background:var(--ios-cell)!important;border:0!important;border-radius:22px;box-shadow:none!important}
html body .lvl{background:var(--ios-cell2)!important;border-radius:14px}
html body .lvl .bar2{background:var(--ios-fill2)}
html body .lvl .bar2 i,html body .bar2 i,html body .prog i,html body .meter i{background:var(--ios-act)!important}
html body .chead .ci,html body .stat .si,html body .ic,html body .card .ic{background:color-mix(in srgb,var(--ios-act) 16%,transparent)!important;color:var(--ios-act)!important;border-radius:10px;border:0!important;box-shadow:none!important}
html body .avatar{background:linear-gradient(160deg,#8E8E93,#636366)!important;box-shadow:none!important;border-radius:50%}
html body .gcard:hover,html body .nc:hover,html body .card:hover{transform:none}
html body .nc.on{box-shadow:0 0 0 2px var(--ios-act) inset!important}
html body .nc.on .tagx{border-color:var(--ios-act);color:var(--ios-act)}
html body .eyebrow,html body .k{color:var(--ios-text2)!important;letter-spacing:0!important;font-weight:600;text-transform:none}
html body .phead h1{font-size:34px;font-weight:700;letter-spacing:-.015em}
html body .phead p,html body .note,html body .cs,html body .sub{color:var(--ios-text2)}

/* ===== ٥) الأزرار: حبوبٌ مسطّحة ===== */
html body .btn,html body button.go,html body a.go,html body .go,html body .cta{
  border:0!important;box-shadow:none!important;border-radius:12px;font-weight:600;font-family:var(--ios-font);
  transition:opacity .15s,transform .12s,background-color .15s;text-shadow:none}
html body .btn{background:var(--ios-fill)!important;color:var(--ios-text)!important}
html body .btn:hover{transform:none;background:var(--ios-fill2)!important}
html body .btn:active,html body .go:active,html body .cta:active{transform:scale(.97);opacity:.8}
html body .btn.gold,html body .btn.primary,html body .go,html body .cta,html body .btn.go{background:var(--ios-act)!important;color:#fff!important}
html body .btn.gold:hover,html body .go:hover,html body .cta:hover{filter:brightness(1.08)}
html body .btn.red,html body .btn.danger,html body .danger.btn{background:color-mix(in srgb,var(--ios-red) 16%,transparent)!important;color:var(--ios-red)!important}
html body .btn.ghost{background:transparent!important;color:var(--ios-act)!important}
html body .btn.ghost:hover{background:var(--ios-fill)!important}
html body .btn[disabled],html body .go[disabled]{opacity:.4}
html body .iconbtn,html body .themebtn{border:0!important;background:var(--ios-fill)!important;border-radius:10px;box-shadow:none!important;color:var(--ios-text)}

/* ===== ٦) التبويبات: أزرارٌ مقسّمة ===== */
html body .tabs,html body .seg{background:var(--ios-fill)!important;border:0!important;border-radius:10px;padding:2px;gap:2px;display:flex;box-shadow:none!important}
html body .tabs .tab,html body .tabs button,html body .seg button,html body .seg a,html body .seg .s{flex:1;border:0!important;background:transparent!important;color:var(--ios-text)!important;
  border-radius:8px;font-weight:500;box-shadow:none!important;padding:7px 12px;text-align:center}
html body .tabs .tab.on,html body .tabs button.on,html body .seg .on,html body .seg [aria-selected="true"]{
  background:var(--ios-seg-on)!important;color:var(--ios-text)!important;font-weight:600;box-shadow:0 3px 8px rgba(0,0,0,.12),0 0 0 .5px rgba(0,0,0,.04)!important}

/* ===== ٧) الحقول ===== */
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),html body select,html body textarea{
  background:var(--ios-cell2)!important;border:0!important;border-radius:10px;color:var(--ios-text);box-shadow:none!important}
html body .card input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),html body .card select,html body .card textarea{background:var(--ios-fill)!important}
html body input:focus,html body select:focus,html body textarea:focus{outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--ios-act) 45%,transparent)!important}
html body input::placeholder,html body textarea::placeholder{color:var(--ios-text3)}
html body input[type=checkbox],html body input[type=radio],html body input[type=range]{accent-color:var(--ios-act)}

/* ===== ٨) الحبوبُ والشارات والجداول ===== */
html body .pill{background:var(--ios-fill)!important;border:0!important;font-weight:600;box-shadow:none!important}
html body .pill.on{background:color-mix(in srgb,var(--ios-green) 16%,transparent)!important;color:var(--ios-green)!important}
html body .pill.off{background:color-mix(in srgb,var(--ios-red) 16%,transparent)!important;color:var(--ios-red)!important}
html body .pill.warn{background:color-mix(in srgb,var(--ios-orange) 16%,transparent)!important;color:var(--ios-orange)!important}
html body .dot{box-shadow:none}
html body table th{color:var(--ios-text2);letter-spacing:0;font-weight:600}
html body table th,html body table td{border-bottom:.5px solid var(--ios-sep)}
html body tr:hover td{background:transparent}
html body .drow{border-bottom:.5px solid var(--ios-sep)}
html body .rank.r1{background:var(--ios-yellow)!important;color:#000}
html body .gbeta{background:var(--ios-orange)!important;color:#000}
html body hr,html body .sep{border-color:var(--ios-sep);background:var(--ios-sep)}

/* ===== ٩) النوافذ والقوائم المنبثقة ===== */
html body .modal .card,html body .modal>div,html body .sheet,html body .pop,html body .accpop{
  background:var(--ios-glass)!important;backdrop-filter:saturate(180%) blur(28px);-webkit-backdrop-filter:saturate(180%) blur(28px);
  border:0!important;border-radius:22px;box-shadow:0 0 0 .5px var(--ios-sep),0 24px 64px rgba(0,0,0,.45)!important}

/* ===== ١٠) الحركة: هادئة ===== */
@media (prefers-reduced-motion:reduce){html body *{transition:none!important;animation:none!important}}

/* ===== ١١) صفحاتُ الحساب (site.css / streak.css) ===== */
:root:root:root{ --surface3:var(--ios-cell2); --gold:var(--ios-yellow); --red:var(--ios-red); --pur:var(--ios-indigo) }
html body .st,html body .stats>div{background:var(--ios-cell2)!important;border:0!important;box-shadow:none!important;border-radius:14px}
html body .oxst{background:var(--ios-cell)!important;border:0!important;box-shadow:none!important;border-radius:20px}
html body .oxst .ic{background:color-mix(in srgb,var(--ios-orange) 16%,transparent)!important;border:0!important;box-shadow:none!important;border-radius:10px}
html body .oxst .kick{color:var(--ios-orange)!important}
html body .oxst .tag{background:var(--ios-fill)!important;border:0!important;color:var(--ios-text2)}
html body .oxst .track::before{background:var(--ios-sep)!important}
html body .oxst .d{background:var(--ios-cell2)!important;border:0!important;box-shadow:none!important;border-radius:14px}
html body .oxst .d .st{background:var(--ios-fill)!important;color:var(--ios-text2)!important;border:0!important}
html body .oxst .d.now{box-shadow:0 0 0 2px var(--ios-act) inset!important}
html body .oxst .d.now .st{background:var(--ios-act)!important;color:#fff!important}
html body .oxst .d.done{opacity:.55}
html body .oxst .d.big{box-shadow:0 0 0 1.5px color-mix(in srgb,var(--ios-yellow) 70%,transparent) inset!important}
html body .oxst .d.big .st{background:color-mix(in srgb,var(--ios-yellow) 18%,transparent)!important;color:var(--ios-yellow)!important}
html body .oxst .warn{background:color-mix(in srgb,var(--ios-orange) 12%,transparent)!important;border:0!important;border-radius:12px}

/* ===== ١٢) شريطُ التنبيه أعلى الصفحة (notice.js يكتبه في السطر) ===== */
html body #oxNoticeBar{background:var(--ios-cell)!important;color:var(--ios-text)!important;box-shadow:0 .5px 0 var(--ios-sep)!important;
  font-family:var(--ios-font)!important;font-weight:500!important}
html body #oxNoticeBar a{background:var(--ios-act)!important;color:#fff!important;font-weight:600!important}
html body #oxNoticeBar button{background:var(--ios-fill)!important;color:var(--ios-text2)!important}
html body .sq,html body details.f,html body .faq details{background:var(--ios-cell2)!important;border:0!important;box-shadow:none!important;border-radius:12px}

/* ===== ١٣) لوحةُ الستريمر: أيقوناتُ الشريط الجانبيّ ورقاقةُ المفتاح ===== */
html body .ri .ic{background:transparent!important;color:var(--ios-text2)!important;border-radius:0}
html body .ri:hover .ic{color:var(--ios-text)!important}
html body .ri.on .ic{color:#fff!important;opacity:1}
html body .idchip{background:var(--ios-fill)!important;border:0!important;border-radius:10px}
html body .userchip{border:0!important;background:var(--ios-fill)!important;box-shadow:none!important}
html body .idchip{flex-wrap:wrap;max-width:100%}
