/* ============================================================
   Elite Store — التصميم الجديد (داكن، مرتب، تجربة شراء واضحة)
   بيشتغل لما يكون <html class="jx">
   ============================================================ */
html.jx {
  --bg: #0c0e19 !important; --bg2: #121527 !important;
  --card: #151829 !important; --card2: #1b1f34 !important;
  --line: #262a44 !important; --line2: #323859 !important;
  --txt: #eef0fa !important; --mut: #a4aac4 !important; --dim: #757c9a !important;
  --pri: #8b5cf6 !important; --mag: #8b5cf6 !important; --cyan: #8b5cf6 !important;
  --pri2: #b79cff !important; --pri3: #6d3ce0 !important;
  --ok: #22c55e; --warn: #f59e0b; --bad: #ef4444;
  --glow: none !important; --r: 14px; --r2: 16px;
  --jx-sf: #151829; --jx-sf2: #1b1f34; --jx-sf3: #22273f;
  --jx-pri: #8b5cf6; --jx-pri-h: #9d74ff; --jx-pri-s: #241b45;
  --jx-acc: #ff7a1a; --jx-acc-s: #2d1d12; --jx-ok-s: #10261a;
  color-scheme: dark;
}
html.jx[data-theme="light"] {
  --bg: #f6f7fb !important; --card: #ffffff !important; --card2: #f1f2f8 !important;
  --line: #e5e7f0 !important; --line2: #d6d9e6 !important;
  --txt: #151a2d !important; --mut: #5d6479 !important; --dim: #8f96a8 !important;
  --pri: #6c2bd9 !important; --mag: #6c2bd9 !important; --pri2: #6c2bd9 !important; --pri3: #5a1fc2 !important;
  --jx-sf: #ffffff; --jx-sf2: #f1f2f8; --jx-sf3: #e9ebf3; --jx-pri: #6c2bd9; --jx-pri-h: #5a1fc2; --jx-pri-s: #f1eaff;
  --jx-acc-s: #fff1e6; --jx-ok-s: #e8f8ee;
  color-scheme: light;
}

/* ---------- أساسيات: خلفية سادة، بدون مؤثرات ---------- */
html.jx body { background: var(--bg); }
html.jx body::before, html.jx body::after, html.jx .ebg, html.jx #fxBg, html.jx #mxGlow, html.jx #fxProg { display: none !important; }
html.jx .mx-glitch.mx-g-on { animation: none !important; }
html.jx .mx-glitch::before, html.jx .mx-glitch::after { display: none !important; }
html.jx .fx-pre { opacity: 1 !important; transform: none !important; }
html.jx .card { animation: none !important; }
html.jx ::selection { background: var(--jx-pri); }

/* ---------- شريط العرض فوق ---------- */
html.jx .promo { background: var(--jx-pri3, #6d3ce0); background: #5b2fd0; border: 0; color: #fff; font-weight: 700; }
html.jx .promo .tag { background: #ffd166; color: #2a0f6b; }
html.jx .promo .code { border-color: #ffffff80; background: #ffffff1a; color: #fff; }
html.jx .promo .x { color: #ffffffcc; }

/* ---------- الهيدر: سطر اللوجو والبحث + سطر الأقسام ---------- */
html.jx header.nav { background: var(--jx-sf); border-bottom: 1px solid var(--line); backdrop-filter: none; }
html.jx header.nav .wrap { height: auto; flex-wrap: wrap; gap: 0 18px; padding-top: 12px; }
html.jx header.nav .logo { order: 1; height: 48px; }
html.jx .logo-mark { box-shadow: none !important; border-radius: 12px; }
html.jx .jx-search { order: 2; flex: 1; max-width: 580px; position: relative; display: flex; }
html.jx .jx-search input { width: 100%; height: 46px; border: 1.5px solid var(--line); background: var(--jx-sf2); border-radius: 12px; padding: 0 46px 0 14px; color: var(--txt); font: inherit; outline: none; transition: border-color .15s; }
html.jx .jx-search input::placeholder { color: var(--dim); }
html.jx .jx-search input:focus { border-color: var(--jx-pri); background: var(--bg); }
html.jx .jx-search svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--dim); pointer-events: none; }
html.jx .nav-actions { order: 3; margin-inline-start: auto; gap: 4px; }
html.jx #searchBtn { display: none; }
html.jx .icon-btn { border: 0; background: transparent; border-radius: 12px; width: 44px; height: 44px; }
html.jx .icon-btn:hover { background: var(--jx-sf2); box-shadow: none; }
html.jx .badge-count { background: var(--jx-acc) !important; color: #fff !important; box-shadow: none; }
html.jx .menu { order: 4; flex: 1 0 100%; margin: 8px 0 0; gap: 2px; border-top: 1px solid var(--line); padding-top: 0; overflow: visible; }
html.jx .menu a, html.jx .menu .more > button { color: var(--mut); font-weight: 700; font-size: .93rem; border-radius: 0; padding: 11px 14px; background: none !important; box-shadow: none !important; border-bottom: 3px solid transparent; white-space: nowrap; }
html.jx .menu a:hover, html.jx .menu .more > button:hover { color: var(--txt); }
html.jx .menu a.on { color: var(--pri2); border-bottom-color: var(--jx-pri); }
html.jx .more-list { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px #0009; max-height: min(70vh, 620px); overflow-y: auto; z-index: 60; }

/* ---------- الأزرار والحقول ---------- */
html.jx .btn { border-radius: 12px; background: var(--jx-sf2); border: 1px solid var(--line); font-weight: 800; box-shadow: none; }
html.jx .btn:hover { transform: none; background: var(--jx-sf3); border-color: var(--line2); }
html.jx .btn-pri { background: var(--jx-pri); border: 0; color: #fff; box-shadow: none; }
html.jx .btn-pri:hover { background: var(--jx-pri-h); box-shadow: none; }
html.jx .btn-wa { background: #16a34a; border: 0; color: #fff; }
html.jx .inp, html.jx .search input, html.jx select, html.jx textarea.inp { background: var(--jx-sf2); border: 1.5px solid var(--line); border-radius: 12px; color: var(--txt); }
html.jx .inp:focus, html.jx .search input:focus, html.jx select:focus { border-color: var(--jx-pri); box-shadow: none; }
html.jx .box { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
html.jx .box.hl { border-color: color-mix(in srgb, var(--jx-pri) 50%, var(--line)); background: color-mix(in srgb, var(--jx-pri) 7%, var(--jx-sf)); }
html.jx .pill { background: var(--jx-sf2); border: 1px solid var(--line); }
html.jx .chip { background: var(--jx-sf2); border: 1px solid var(--line); color: var(--mut); font-weight: 700; }
html.jx .chip:hover { color: var(--txt); border-color: var(--line2); }
html.jx .chip.on { background: var(--jx-pri); border-color: var(--jx-pri); color: #fff; box-shadow: none; }

/* ---------- عناوين ---------- */
html.jx .eyebrow, html.jx .page-head .bar { display: none; }
html.jx .section { padding-top: 34px; padding-bottom: 4px; }
html.jx .sec-head { margin-bottom: 14px; }
html.jx .sec-head h2 { font-size: 1.4rem; font-weight: 800; }
html.jx .sec-head p { font-size: .92rem; }
html.jx .link-more { color: var(--pri2); font-weight: 700; }
html.jx .rail-b { background: var(--jx-sf2); border: 1px solid var(--line); }
html.jx .page-head { text-align: start; padding: 26px 0 16px; }
html.jx .page-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
html.jx .crumbs { font-size: .86rem; padding-top: 16px; }
html.jx .crumbs a { color: var(--mut); }

/* ---------- الرئيسية ---------- */
html.jx #app:has(> .hero) { display: flex; flex-direction: column; }
html.jx #app:has(> .hero) > * { width: min(1200px, 100% - 32px); margin-inline: auto; }
html.jx #app:has(> .hero) > .hero { display: none; }
html.jx #app:has(> .hero) > #sc { order: -3; }
html.jx #app:has(> .hero) > .jx-shop { order: -2; }
html.jx #app:has(> .hero) > .quick-cats { display: none !important; }
html.jx #app:has(> .hero) > .jx-trust { order: -1; }
/* البانر */
html.jx .sc { margin-top: 20px; border: 0; border-radius: 22px; aspect-ratio: 21/8; min-height: 300px; max-height: 470px; }
html.jx .sc-shade { background: linear-gradient(270deg, #0c0e19f0 0%, #0c0e1999 42%, transparent 72%), linear-gradient(0deg, #0c0e19cc, transparent 45%); }
html.jx .sc-info { padding: 32px 40px 56px; }
html.jx .sc-kick { background: #ffd166; color: #2a0f6b; border: 0; font-weight: 800; backdrop-filter: none; }
html.jx .sc-info h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 800; }
html.jx .sc-price { font-family: var(--font); font-weight: 800; }
html.jx .sc-tr { background: #ffffff1f; border: 0; color: #fff; }
html.jx .sc-dot.on i { background: var(--jx-pri2, #b79cff); }
/* تسوّق حسب جهازك */
html.jx .jx-shop { padding-top: 30px; }
html.jx .jx-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
html.jx .jx-cat { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 16px; padding: 16px 8px; text-align: center; transition: border-color .15s, transform .15s; }
html.jx .jx-cat:hover { border-color: var(--line2); transform: translateY(-3px); }
html.jx .jx-cat .ic { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 8px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem; }
html.jx .jx-cat b { display: block; font-size: .95rem; }
html.jx .jx-cat small { color: var(--dim); font-size: .78rem; }
/* شريط الثقة */
html.jx .jx-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
html.jx .jx-tb { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
html.jx .jx-tb i { width: 42px; height: 42px; border-radius: 12px; background: var(--jx-pri-s); display: grid; place-items: center; font-style: normal; font-size: 1.15rem; flex: none; }
html.jx .jx-tb b { display: block; font-size: .93rem; }
html.jx .jx-tb small { color: var(--mut); font-size: .8rem; }
/* بانرات الترويج */
html.jx .bld-promo { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
html.jx .bld-promo:hover { border-color: var(--line2); transform: none; box-shadow: none; }
html.jx .bp-ic { background: var(--jx-pri-s) !important; box-shadow: none !important; }
html.jx .bp-go { color: var(--pri2); background: none; }
html.jx .bp-pct { display: none; }
/* كيف تطلب */
html.jx .info-grid { gap: 0; background: var(--jx-sf); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
html.jx .info-grid .box { border: 0; border-radius: 0; background: transparent; }
html.jx .info-grid .box + .box { border-inline-start: 1px solid var(--line); }
html.jx .info-grid .box.hl { background: transparent; }
html.jx .jx-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--jx-pri); color: #fff; font-size: .9rem; font-weight: 800; margin-inline-end: 10px; vertical-align: middle; }

/* ---------- الكروت ---------- */
html.jx .card { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: none !important; transform: none !important; transition: border-color .15s, translate .15s; }
html.jx .card:hover { border-color: var(--line2); translate: 0 -3px; }
html.jx .card::before, html.jx .card::after { display: none !important; }
html.jx .card .cover { border-radius: 0; }
html.jx .card:hover .cover img { transform: scale(1.04); }
html.jx .card .cover-gen { font-family: var(--font); }
html.jx .card .cover-gen::before { display: none; }
html.jx .card-body { padding: 12px 14px 14px; gap: 4px; }
html.jx .card-body h3 { font-size: .98rem; font-weight: 800; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.jx .card-body .meta { color: var(--dim); font-size: .8rem; }
html.jx .card-foot { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 8px; }
html.jx .card-foot .price { flex-wrap: wrap; row-gap: 2px; }
html.jx .card-foot .btn { width: 100%; height: 40px; padding: 0 10px; font-size: .9rem; background: var(--jx-pri); border: 0; color: #fff; }
html.jx .card-foot .btn:hover { background: var(--jx-pri-h); }
html.jx .price b { color: var(--txt); font-weight: 800; }
html.jx .price small { color: var(--mut); font-weight: 700; }
html.jx .price s { color: var(--dim); }
html.jx .price-note { background: var(--jx-pri-s); border: 0; color: var(--pri2); font-weight: 800; border-radius: 7px; }
html.jx .tags { top: 8px; inset-inline-start: 8px; gap: 4px; }
html.jx .tag { background: #0c0e19e6; border: 0; color: #fff; border-radius: 6px; font-weight: 800; }
html.jx .tag.new { background: var(--jx-pri); }
html.jx .tag.off, html.jx .tag.hot { background: var(--jx-acc); color: #fff; }
html.jx .tag.cons, html.jx .tag.cons.only, html.jx .tag.prim, html.jx .tag.mode { background: #0c0e19e6; color: #fff; border: 0; }
html.jx .so-badge, html.jx .card .so-tag { background: var(--jx-acc) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
html.jx .fav-btn { background: #0c0e19b3; border: 0; width: 32px; height: 32px; }
html.jx .fav-btn.on { background: #0c0e19d9; }
html.jx .grid { gap: 16px; }
html.jx .rail { gap: 14px; }

/* ---------- صفحة الألعاب: فلاتر جانبية ---------- */
html.jx .plat-tabs { display: flex; gap: 6px; background: var(--jx-sf); border: 1px solid var(--line); padding: 5px; border-radius: 14px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
html.jx .plat-tab { background: transparent; border: 0; border-radius: 10px; padding: 8px 16px; gap: 8px; box-shadow: none !important; flex: none; }
html.jx .plat-tab .ic { width: auto; height: auto; background: none !important; font-size: 1rem; }
html.jx .plat-tab > span > span { display: none; }
html.jx .plat-tab:hover { background: var(--jx-sf2); }
html.jx .plat-tab.on { background: var(--jx-pri); color: #fff; }
html.jx .plat-tab.on b { color: #fff; }
html.jx .count-line { color: var(--mut); font-weight: 700; }
@media (min-width: 1024px) {
  html.jx section.wrap:has(> .plat-tabs) { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 0 24px; align-items: start; }
  html.jx section.wrap:has(> .plat-tabs) > .plat-tabs { grid-column: 1 / -1; margin-bottom: 16px; }
  html.jx section.wrap:has(> .plat-tabs) > .filters { grid-column: 2; grid-row: 2; margin-bottom: 8px; }
  html.jx section.wrap:has(> .plat-tabs) > .chips { grid-column: 1; background: var(--jx-sf); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 12px; flex-wrap: wrap; overflow: visible; }
  html.jx section.wrap:has(> .plat-tabs) > .chips::before { content: attr(data-jx-h); display: block; width: 100%; font-weight: 800; font-size: .95rem; margin-bottom: 4px; color: var(--txt); }
  html.jx section.wrap:has(> .plat-tabs) > .chips .chip-lbl { display: none; }
  html.jx section.wrap:has(> .plat-tabs) > #listRes { grid-column: 2; grid-row: 3 / span 20; }
  html.jx section.wrap:has(> .plat-tabs) #listRes .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}

/* ---------- صفحة اللعبة ---------- */
html.jx .pd-bg { display: none; }
html.jx .pd { gap: 30px; padding: 14px 0 26px; }
html.jx .pd .cover { border: 0; border-radius: 18px; }
html.jx .pd h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
html.jx .pd .pill { background: var(--jx-sf2); border: 1px solid var(--line); }
html.jx .pd .desc { color: var(--mut); }
html.jx .perk { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 12px; color: var(--txt); font-weight: 700; }
html.jx .cons-pick > b, html.jx .acc-pick > b, html.jx .jx-steph { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; margin: 18px 0 8px; }
html.jx .jx-sn { width: 24px; height: 24px; border-radius: 50%; background: var(--jx-pri); color: #fff; display: inline-grid; place-items: center; font-size: .8rem; font-weight: 800; flex: none; }
html.jx .variants { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 6px; }
html.jx .variant { background: var(--jx-sf); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: none; }
html.jx .variant:hover { border-color: var(--line2); }
html.jx .variant.on { border-color: var(--jx-pri); background: var(--jx-pri-s); box-shadow: none; }
html.jx .variant.on .r { border-color: var(--jx-pri); background: radial-gradient(var(--jx-pri) 45%, transparent 50%); }
html.jx .jx-buy { margin-top: 18px; background: var(--jx-sf); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
html.jx .jx-buy > .price { margin: 0; padding: 0; border: 0; justify-content: space-between; flex-wrap: wrap; }
html.jx .jx-buy > .price::before { content: "السعر"; color: var(--mut); font-weight: 700; margin-inline-end: auto; order: -1; }
html.jx #pdPrice { font-size: 2rem; }
html.jx .jx-buy .pd-actions { margin-top: 12px; }
html.jx #pdAdd { flex: 1; height: 50px; font-size: 1rem; }
html.jx #pdBuy { flex: 1 0 100%; height: 50px; font-size: 1rem; background: var(--jx-acc); border: 0; color: #fff; }
html.jx #pdBuy:hover { background: #ff8c3a; }
html.jx .qty { background: var(--jx-sf2); border: 1px solid var(--line); border-radius: 12px; height: 50px; }
html.jx .qty button { height: 100%; }
html.jx .mini-btn { background: var(--jx-sf2); border: 1px solid var(--line); border-radius: 10px; }
html.jx .cmp { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 14px; }
html.jx .pd-ask { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 14px; }
html.jx .dt-tabs { border-bottom: 1px solid var(--line); gap: 4px; background: none; padding: 0; border-radius: 0; }
html.jx .dt-tab { background: none !important; border: 0; border-radius: 0; color: var(--mut); padding: 12px 16px; border-bottom: 3px solid transparent; box-shadow: none !important; font-weight: 800; }
html.jx .dt-tab.on { color: var(--pri2); border-bottom-color: var(--jx-pri); }
html.jx .faq details { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 14px; }
html.jx .jx-sticky { display: none; }

/* ---------- خطوات الطلب ---------- */
html.jx .jx-stepper { display: flex; align-items: center; gap: 8px; margin: 4px 0 20px; max-width: 760px; }
html.jx .jx-stepper div { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--dim); font-size: .92rem; white-space: nowrap; }
html.jx .jx-stepper div i { width: 30px; height: 30px; border-radius: 50%; background: var(--jx-sf2); border: 2px solid var(--line); display: grid; place-items: center; font-style: normal; flex: none; }
html.jx .jx-stepper div.on { color: var(--pri2); }
html.jx .jx-stepper div.on i { background: var(--jx-pri); border-color: var(--jx-pri); color: #fff; }
html.jx .jx-stepper div.dn { color: var(--ok); }
html.jx .jx-stepper div.dn i { background: var(--ok); border-color: var(--ok); color: #fff; }
html.jx .jx-stepper hr { flex: 1; border: 0; border-top: 2px dashed var(--line2); min-width: 14px; }

/* ---------- السلة والدفع ---------- */
html.jx .cart-item { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
html.jx .cart-item .cover { border-radius: 10px; }
html.jx .cart-item .rm { color: var(--dim); }
html.jx .summary { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 16px; top: 140px; }
html.jx .sum-row.total { color: var(--txt); }
html.jx .sum-row.total span:last-child { font-size: 1.5rem; font-weight: 800; }
html.jx .bundle-hint { background: var(--jx-acc-s); border: 1px solid #ff7a1a55; border-radius: 14px; }
html.jx .bundle-hint b { color: #ffa45c; }
html.jx .bundle-hint.ok { background: var(--jx-ok-s); border-color: #22c55e55; }
html.jx #payPick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html.jx #payPick .chip { height: auto; padding: 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--jx-sf2); color: var(--txt); font-size: .95rem; text-align: start; display: flex; align-items: center; gap: 10px; }
html.jx #payPick .chip::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); flex: none; }
html.jx #payPick .chip.on { border-color: var(--jx-pri); background: var(--jx-pri-s); color: var(--txt); }
html.jx #payPick .chip.on::before { border-color: var(--jx-pri); background: radial-gradient(var(--jx-pri) 45%, transparent 50%); }
html.jx .pay-box { background: var(--jx-sf2); border: 1px solid var(--line); border-radius: 14px; }
html.jx .pay-box .alias { font-family: var(--font); color: var(--txt); background: var(--bg); border: 1.5px dashed var(--line2); border-radius: 12px; padding: 8px 12px; letter-spacing: 1px; }
html.jx .done-head .big, html.jx .empty .big { filter: none; }
html.jx .done-wrap { max-width: 760px; }
html.jx .done-head { background: var(--jx-sf); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
html.jx .order-id { color: var(--pri2); }

/* ---------- خط مراحل الطلب ---------- */
html.jx .timeline::before { background: var(--line2); }
html.jx .tl i { background: var(--jx-sf2); border: 2px solid var(--line2); color: var(--dim); box-shadow: none; }
html.jx .tl.done i { background: var(--ok); border-color: var(--ok); color: #fff; }
html.jx .tl.done { color: var(--txt); }

/* ---------- فوتر وأزرار عائمة ---------- */
html.jx footer { background: var(--jx-sf); border-top: 1px solid var(--line); }
html.jx .foot a:hover { color: var(--pri2); }
html.jx .chat-pill { background: var(--jx-pri) !important; box-shadow: 0 10px 26px #0008 !important; animation: none !important; }
html.jx .toast { background: var(--jx-sf3); border: 1px solid var(--line2); box-shadow: 0 10px 30px #0008; }
html.jx .fav-btn.on { border: 0; }

/* ---------- الجوال ---------- */
@media (max-width: 1000px) {
  html.jx .jx-cats { grid-template-columns: repeat(3, 1fr); }
  html.jx .jx-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  html.jx header.nav .wrap { padding: 8px 0 10px; gap: 8px; }
  html.jx header.nav .logo { height: 44px; }
  html.jx .jx-search { order: 4; flex: 1 0 100%; max-width: none; }
  html.jx .menu { display: none; }
  html.jx .sc { margin-top: 14px; border-radius: 18px; aspect-ratio: 4/4.4; max-height: 460px; min-height: 0; }
  html.jx .sc-info { padding: 18px 18px 44px; }
  html.jx .sc-shade { background: linear-gradient(0deg, #0c0e19 0%, #0c0e19cc 38%, transparent 70%); }
  html.jx .jx-cat { padding: 12px 6px; }
  html.jx .jx-cat .ic { width: 46px; height: 46px; border-radius: 14px; }
  html.jx .jx-cat b { font-size: .86rem; }
  html.jx .jx-tb { padding: 10px; gap: 8px; }
  html.jx .jx-tb i { width: 34px; height: 34px; font-size: 1rem; }
  html.jx .jx-tb b { font-size: .84rem; }
  html.jx .jx-tb small { display: none; }
  html.jx .info-grid .box + .box { border-inline-start: 0; border-top: 1px solid var(--line); }
  html.jx .sec-head h2 { font-size: 1.18rem; }
  html.jx .card-body { padding: 10px; }
  html.jx .card-body h3 { font-size: .88rem; }
  html.jx .card-foot .btn { height: 38px; font-size: .84rem; }
  html.jx .variants { grid-template-columns: 1fr; }
  html.jx .jx-buy { display: none; }
  html.jx body.jx-has-sticky { padding-bottom: 76px; }
  html.jx .jx-sticky { display: flex; position: fixed; inset-inline: 0; bottom: var(--jx-sb, 0px); z-index: 45; background: var(--jx-sf); border-top: 1px solid var(--line); padding: 10px 14px; gap: 10px; align-items: center; box-shadow: 0 -8px 24px #0006; }
  html.jx .jx-sticky .p { flex: none; }
  html.jx .jx-sticky .p b { display: block; font-size: 1.25rem; line-height: 1.1; }
  html.jx .jx-sticky .p small { color: var(--mut); font-size: .74rem; }
  html.jx .jx-sticky .btn { flex: 1; height: 46px; }
  html.jx .jx-sticky .btn.acc { background: var(--jx-acc); border: 0; color: #fff; }
  html.jx #payPick { grid-template-columns: 1fr; }
  html.jx .jx-stepper div span { display: none; }
  html.jx .jx-stepper div.on span { display: inline; }
}
html.jx .cart-layout > *, html.jx .pd > * { min-width: 0; }
@media (max-width: 820px) {
  html.jx body.jx-has-sticky .cart-bar { display: none !important; }
  html.jx body.jx-has-sticky .fab { bottom: calc(var(--tbh, 0px) + 84px) !important; }
  html.jx body.jx-has-sticky .to-top { bottom: calc(var(--tbh, 0px) + 140px) !important; }
}

html.jx .acc-pick .variants, html.jx .cons-pick .variants { margin-bottom: 4px; }
html.jx .wallet-box { display: flex; gap: 12px; align-items: center; margin: 12px 0; border-color: #22c55e55; background: var(--jx-ok-s); }
html.jx .wallet-box .wb-ic { font-size: 1.6rem; }
html.jx .wallet-box b { display: block; font-size: 1.05rem; }
html.jx .wallet-box small { color: var(--mut); }
/* إصلاح: خطوات الطلب كانت تطلع لبرّا الشاشة على اليمين */
html.jx .jx-stepper.wrap { margin: 4px auto 20px; max-width: min(1200px, 100% - 32px); width: min(1200px, 100% - 32px); }
html.jx .done-wrap .jx-stepper { max-width: none; margin: 4px 0 20px; }

/* ---------- وضوح المنصة ---------- */
html.jx .jx-plat { display: flex; align-items: center; gap: 14px; border-radius: 16px; padding: 12px 16px; margin: 10px 0 6px; border: 2px solid; }
html.jx .jx-plat .ic { font-size: 1.8rem; line-height: 1; }
html.jx .jx-plat b { display: block; font-size: 1.12rem; font-weight: 800; }
html.jx .jx-plat small { color: var(--mut); font-size: .88rem; }
html.jx .jx-plat u { text-decoration: none; font-weight: 800; color: var(--txt); }
html.jx .jx-plat.pc { border-color: #14b8a6; background: #14b8a614; }
html.jx .jx-plat.pc b { color: #2dd4bf; }
html.jx .jx-plat.ps { border-color: #3b82f6; background: #3b82f614; }
html.jx .jx-plat.ps b { color: #60a5fa; }
html.jx .jx-pf { position: absolute; bottom: 8px; inset-inline-end: 8px; z-index: 2; font-size: .78rem; font-weight: 800; color: #fff; padding: 3px 10px; border-radius: 8px; box-shadow: 0 4px 12px #0007; letter-spacing: .2px; }
html.jx .jx-pf.pc { background: #0d9488; }
html.jx .jx-pf.ps { background: #2563eb; }
html.jx .cart-item .v.jx-v-pc, html.jx .cart-item .v.jx-v-ps { display: inline-block; color: #fff; font-weight: 800; border-radius: 7px; padding: 1px 9px; margin-top: 4px; }
html.jx .cart-item .v.jx-v-pc { background: #0d9488; }
html.jx .cart-item .v.jx-v-ps { background: #2563eb; }

/* ---------- التريلر ---------- */
html.jx .pd .cover { position: relative; }
html.jx .jx-play { white-space: nowrap; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: flex; align-items: center; gap: 12px; border: 0; cursor: pointer; background: #000000b3; color: #fff; padding: 12px 22px 12px 14px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 1.05rem; backdrop-filter: blur(6px); box-shadow: 0 10px 30px #0009; transition: transform .15s, background .15s; }
html.jx .jx-play .tri { width: 46px; height: 46px; border-radius: 50%; background: #ef4444; display: grid; place-items: center; font-size: 1.1rem; padding-inline-start: 4px; box-shadow: 0 0 0 0 #ef444499; animation: jxPulse 1.8s infinite; }
html.jx .jx-play:hover { transform: translate(-50%, -50%) scale(1.06); background: #000000d9; }
@keyframes jxPulse { 0% { box-shadow: 0 0 0 0 #ef444499; } 70% { box-shadow: 0 0 0 16px #ef444400; } 100% { box-shadow: 0 0 0 0 #ef444400; } }
@media (prefers-reduced-motion: reduce) { html.jx .jx-play .tri { animation: none; } }
html.jx .mini-btn.jx-tr { background: #ef4444; border-color: #ef4444; color: #fff; font-weight: 800; }
html.jx .mini-btn.jx-tr .play { color: #fff; }

/* ---------- شرح أنواع الحساب ---------- */
html.jx .variant:has(.jx-vd) { flex-wrap: wrap; row-gap: 4px; }
html.jx .variant .jx-vd { flex: 1 0 100%; color: var(--mut); font-size: .8rem; line-height: 1.5; font-weight: 600; }
html.jx .variant.on .jx-vd { color: var(--txt); }
html.jx details.cmp[data-jx] { margin-top: 10px; border-color: #f59e0b66; }
html.jx details.cmp[data-jx] summary { font-weight: 800; }
