/* ================================================================
   بناة فلسطين — التبرع بالعملات الرقمية
   1) لوحة .cx: في نافذة التبرع (يحمّل main.js هذا الملف عند الحاجة) وفي حاسبة الصفحة
   2) صفحة .cxp: crypto.html
   ================================================================ */

/* ———— 1) اللوحة ———— */
.cx { display: grid; gap: 10px; min-width: 0; animation: cxIn .35s var(--ease, ease); }
@keyframes cxIn { from { opacity: 0; transform: translateY(6px); } }
.cx__lbl { font-size: 14px; font-weight: 600; margin-top: 4px; }
.cx__coins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cx__coins button { display: grid; justify-items: center; gap: 2px; min-height: 76px; padding: 10px 4px; border-radius: var(--r-sm); border: 1.5px solid hsl(var(--border)); background: hsl(var(--card)); text-align: center; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.cx__coins button:hover { border-color: hsl(38 12% 62%); }
.cx__coins button[aria-checked="true"] { border-color: var(--red); background: rgba(196, 37, 47, .05); }
.cx__coins button[aria-checked="true"] .cx-glyph { transform: scale(1.08); }
.cx-glyph { transition: transform .3s var(--ease); flex: none; }
.cx__coins b { font-size: 15px; direction: ltr; }
.cx__coins small { font-size: 11.5px; color: hsl(var(--fg-2)); line-height: 1.3; overflow-wrap: anywhere; }
.cx__nets { display: grid; gap: 8px; }
.cx__net { display: grid; gap: 2px; text-align: start; min-height: 56px; padding: 9px 14px 9px 14px; padding-inline-start: 34px; position: relative; border-radius: var(--r-sm); border: 1.5px solid hsl(var(--border)); background: hsl(var(--card)); transition: border-color .2s, background-color .2s; }
.cx__net::before { content: ""; position: absolute; inset-inline-start: 13px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid hsl(38 12% 62%); background: hsl(var(--card)); transition: border-color .2s, box-shadow .2s; }
.cx__net[aria-checked="true"] { border-color: var(--red); background: rgba(196, 37, 47, .05); }
.cx__net[aria-checked="true"]::before { border-color: var(--red); box-shadow: inset 0 0 0 3px hsl(var(--card)), inset 0 0 0 6px var(--red); }
.cx__net b { font-size: 15px; direction: ltr; text-align: start; unicode-bidi: isolate; justify-self: start; }
.cx__net small { font-size: 12.5px; color: hsl(var(--fg-2)); }
.cx__net small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-inline-end: 6px; vertical-align: middle; background: var(--fee, #6b8f3a); }
.cx__net--low { --fee: #4f8a3a; } .cx__net--mid { --fee: #c98a1a; } .cx__net--high { --fee: #c4552f; }
.cx__calc { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--r-sm); background: hsl(var(--tint)); }
.cx__amt { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.cx__amt output { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
.cx__rate { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 600; flex-wrap: wrap; }
.cx__rin { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; min-height: 40px; border-radius: var(--r-sm); border: 1px solid hsl(38 12% 62%); background: hsl(var(--card)); direction: ltr; }
.cx__rin input { width: 9ch; border: 0; background: none; font: inherit; font-weight: 700; }
.cx__rin input:focus { outline: none; }
.cx__rin:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(196, 37, 47, .15); }
.cx__rin i { font-style: normal; color: hsl(var(--fg-2)); }
.cx__est { font-size: 12.5px; color: hsl(var(--fg-2)); }
.cx__zk { font-size: 13.5px; line-height: 1.7; padding: 10px 12px; border-radius: var(--r-sm); background: hsl(78 38% 92%); color: hsl(88 48% 14%); }
.cx__addr { display: grid; gap: 10px; }
.cx__to { font-size: 14px; }
.cx__to b { direction: ltr; unicode-bidi: isolate; }
/* المحفظة قبل التفعيل: حالة هادئة مقصودة، لا تحذير. قفل زيتي وسطران واضحان */
.cx__none { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-sm); border: 1px dashed hsl(var(--border)); background: hsl(var(--tint)); color: hsl(var(--fg)); }
.cx__none-i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: hsl(88 30% 90%); color: hsl(88 48% 26%); }
.cx__none p { font-size: 14px; line-height: 1.75; color: hsl(var(--fg-2)); }
.cx__none b { display: block; margin-bottom: 2px; font-size: 15px; color: hsl(var(--fg)); }
.cx__copy { justify-self: start; }
.cx__copy:disabled { display: none; }
.cx__has { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; align-items: center; }
.cx__qrw { padding: 6px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow-card); animation: cxQr .5s var(--ease); }
@keyframes cxQr { from { opacity: 0; transform: scale(.94); } }
.cx-qr { display: block; width: 100%; height: auto; }
.cx__adw { display: grid; gap: 8px; min-width: 0; }
.cx__adl { font-size: 12.5px; color: hsl(var(--fg-2)); }
.cx__ad { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.5; padding: 8px 10px; border-radius: 8px; background: hsl(var(--tint)); word-break: break-all; text-align: left; user-select: all; }
.cx__cpd { font-size: 12.5px; color: hsl(88 48% 22%); }
.cx__cpd:empty { display: none; }
.cx__tx input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px !important; }
.cx__tx input[aria-invalid="true"] { border-color: var(--red); }
.cx__txh { font-size: 12.5px; color: hsl(var(--fg-2)); margin-top: -6px; }
.cx__txh.is-bad { color: var(--red-ink, #a51f28); font-weight: 600; }
.cx__txh.is-ok { color: hsl(88 48% 22%); font-weight: 600; }
.cx__coins button[hidden] { display: none; }
.cx__coins[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.cx__coins[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cx__coins[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cx__coins[data-n="1"] button { grid-template-columns: auto auto 1fr; justify-items: start; align-items: center; min-height: 52px; column-gap: 10px; padding-inline: 14px; text-align: start; }
/* تحذير الشبكة: دافئ وواضح، لا صراخ */
.cx__warn { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-sm); background: #fff4e0; border: 1px solid #f0cf9f; color: #6b3d0c; font-size: 13.5px; line-height: 1.7; }
.cx__warn svg { flex: none; margin-top: 3px; color: #b25f12; }
/* كيف أجد رقم المعاملة */
.cx__how { margin-top: -4px; font-size: 13.5px; line-height: 1.75; }
.cx__how summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red-ink, #a51f28); list-style: none; }
.cx__how summary::-webkit-details-marker { display: none; }
.cx__how summary::before { content: "?"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(196, 37, 47, .1); font-size: 12px; font-weight: 700; }
.cx__how ol { margin: 4px 0 6px; padding-inline-start: 20px; display: grid; gap: 4px; list-style: decimal; }
.cx__how p { color: hsl(var(--fg-2)); font-size: 13px; }
@media (max-width: 420px) {
  .cx__coins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx__coins[data-n="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx__coins button { grid-template-columns: auto 1fr; justify-items: start; text-align: start; min-height: 56px; column-gap: 8px; padding-inline: 10px; }
  .cx__coins .cx-glyph { grid-row: span 2; }
  .cx__has { grid-template-columns: 1fr; justify-items: center; }
  .cx__qrw { width: 168px; }
}

/* ———— 2) الصفحة ———— */
@keyframes cxpUnder { from { transform: scaleX(0); } }
@keyframes cxpPop { from { opacity: 0; transform: translateY(10px); } }

.cxp-route { margin: 0; padding: clamp(16px, 2.4vw, 26px); border-radius: var(--r-lg); background: hsl(var(--card)); box-shadow: var(--shadow-lift); display: grid; gap: 16px; min-width: 0; }
.cxp-route__map { position: relative; border-radius: var(--r-md); background: radial-gradient(120% 90% at 85% 80%, hsl(38 40% 94%), transparent 60%), repeating-linear-gradient(0deg, transparent 0 23px, hsl(38 22% 90%) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, hsl(38 22% 90%) 23px 24px), hsl(40 33% 97%); overflow: hidden; }
.cxp-route__map svg { display: block; width: 100%; height: auto; }
.cxp-route__draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cxpDraw 1.6s .3s var(--ease) forwards; }
@keyframes cxpDraw { to { stroke-dashoffset: 0; } }
.cxp-route__blk { offset-path: path("M370 150 C 300 40, 140 40, 60 120"); offset-rotate: 0deg; animation: cxpRun 3.2s 1s cubic-bezier(.5, 0, .3, 1) infinite both; }
.cxp-route__blk--2 { animation-delay: 1.9s; }
.cxp-route__blk--3 { animation-delay: 2.8s; }
@keyframes cxpRun { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.cxp-route__pulse { transform-origin: center; transform-box: fill-box; animation: cxpPulse 2.2s ease-out infinite; }
@keyframes cxpPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2); opacity: 0; } }
.cxp-route__lbl { position: absolute; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: hsl(var(--card)); box-shadow: var(--shadow-card); }
.cxp-route__lbl--from { right: 4%; bottom: 6%; }
.cxp-route__lbl--to { left: 6%; bottom: 14%; color: var(--red-ink, #a51f28); }
.cxp-race { display: grid; gap: 10px; }
.cxp-race__row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 4.6rem; align-items: center; gap: 10px; font-size: 13.5px; }
.cxp-race__row b { font-size: 13.5px; text-align: end; }
.cxp-race__bar { position: relative; height: 10px; border-radius: 999px; background: hsl(var(--tint)); overflow: hidden; }
.cxp-race__bar em { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: inherit; }
.cxp-race__bar--slow em { width: 100%; background: hsl(38 12% 70%); transform-origin: right; animation: cxpBar 4.8s .6s linear both; }
.cxp-race__bar--fast em { width: 100%; background: var(--red); transform-origin: right; animation: cxpBar .9s .6s var(--ease) both; }
@keyframes cxpBar { from { transform: scaleX(0); } }
.cxp-route figcaption { font-size: 12px; color: hsl(var(--fg-2)); }

/* العملات */
.cxp-coins { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cxp-coin { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; align-content: stretch; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: hsl(var(--card)); box-shadow: var(--shadow-card); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cxp-coin::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--c); transform: scaleX(.18); transform-origin: right; transition: transform .5s var(--ease); }
.cxp-coin:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.cxp-coin:hover::before, .cxp-coin.in::before { transform: scaleX(1); }
.cxp-coin header { display: flex; align-items: center; gap: 12px; }
.cxp-coin header svg { flex: none; transition: transform .5s var(--ease); }
.cxp-coin:hover header svg { transform: rotate(-12deg) scale(1.06); }
.cxp-coin h3 { font-size: 22px; font-weight: 700; line-height: 1.2; direction: ltr; text-align: start; }
.cxp-coin header p { font-size: 13px; color: hsl(var(--fg-2)); }
.cxp-tag { margin-inline-start: auto; align-self: start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(196, 37, 47, .08); color: var(--red-ink, #a51f28); white-space: nowrap; }
.cxp-coin__peg { font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: var(--r-sm); background: hsl(var(--tint)); }
.cxp-coin ul { display: grid; gap: 10px; align-content: start; }
.cxp-coin li { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid hsl(var(--border)); }
.cxp-coin li b { font-size: 15px; direction: ltr; text-align: start; justify-self: start; unicode-bidi: isolate; }
.cxp-coin__go { justify-self: start; align-self: end; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.cxp-fee { font-size: 13px; color: hsl(var(--fg-2)); }
.cxp-fee::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 6px; vertical-align: middle; background: var(--fee); }
.cxp-fee--low { --fee: #4f8a3a; } .cxp-fee--mid { --fee: #c98a1a; } .cxp-fee--high { --fee: #c4552f; }
.cxp-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 20px; font-size: 13.5px; color: hsl(var(--fg-2)); }

/* الخطوات */
.cxp-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.cxp-steps::before { content: ""; position: absolute; top: 27px; inset-inline: 28px calc((100% - 72px) / 5 - 28px); height: 3px; border-radius: 3px; background: hsl(var(--border)); }
.cxp-steps::after { content: ""; position: absolute; top: 27px; inset-inline: 28px calc((100% - 72px) / 5 - 28px); height: 3px; border-radius: 3px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 1.8s var(--ease) .2s; }
.cxp-steps.in::after { transform: scaleX(1); }
.cxp-steps li { position: relative; display: grid; align-content: start; gap: 8px; }
.cxp-steps__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 700; background: hsl(var(--card)); color: hsl(var(--fg)); box-shadow: 0 0 0 3px hsl(var(--border)); transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--ease); transition-delay: calc(.25s + var(--i) * .32s); position: relative; z-index: 1; }
.cxp-steps.in .cxp-steps__n { background: var(--red); color: #fff; box-shadow: 0 0 0 6px rgba(196, 37, 47, .14); transform: scale(1.04); }
.cxp-steps h3, .cxp-safe h3 { font-family: var(--display); font-size: var(--fs-h3); line-height: 1.4; font-weight: 700; }
.cxp-steps h3 { margin-top: 6px; }
.cxp-steps p { font-size: 14.5px; color: hsl(var(--fg-2)); line-height: 1.7; }
/* النص ظاهر دائمًا: الحركة انزلاق خفيف فقط، والتقدّم يظهر في الدوائر والخط */
.cxp-steps li > :not(.cxp-steps__n) { opacity: 1; transform: translateY(8px); transition: transform .5s var(--ease); transition-delay: calc(.3s + var(--i) * .32s); }
.cxp-steps.in li > :not(.cxp-steps__n) { transform: none; }
@media (max-width: 900px) {
  .cxp-steps { grid-template-columns: 1fr; gap: 22px; }
  .cxp-steps::before, .cxp-steps::after { top: 28px; bottom: 74px; inset-inline: auto; inset-inline-start: 27px; width: 3px; height: auto; }
  .cxp-steps::after { transform: scaleY(0); transform-origin: top; }
  .cxp-steps.in::after { transform: scaleY(1); }
  .cxp-steps li { grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
  .cxp-steps__n { grid-row: span 2; }
  .cxp-steps h3 { margin-top: 12px; }
}

/* الحاسبة */
.cxp-calc { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .cxp-calc { grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 32px; } }
.cxp-calc__in { display: grid; gap: 12px; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-lg); background: hsl(var(--card)); box-shadow: var(--shadow-card); min-width: 0; }
.cxp-usd { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.cxp-usd__f { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid hsl(38 12% 62%); direction: ltr; }
.cxp-usd__f i { font-style: normal; font-size: 24px; color: hsl(var(--fg-2)); }
.cxp-usd__f input { flex: 1; min-width: 0; width: 100%; border: 0; background: none; font: inherit; font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cxp-usd__f input:focus { outline: none; }
.cxp-usd__f:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(196, 37, 47, .15); }
.cxp-usd__f:has(input[aria-invalid="true"]) { border-color: var(--red); }
.cxp-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cxp-quick button { min-height: 44px; border-radius: var(--r-sm); border: 1.5px solid hsl(var(--border)); font-weight: 700; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s; }
.cxp-quick button[aria-pressed="true"] { border-color: var(--red); background: rgba(196, 37, 47, .05); }
.cxp-calc__out { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-lg); background: hsl(var(--tint)); position: sticky; top: 140px; }
.cxp-calc__out p { font-size: 14.5px; line-height: 1.75; color: hsl(var(--fg-2)); }
.cxp-calc__fine { font-size: 13px !important; }
.cxp-zk { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; }
.cxp-zk input { width: 18px; height: 18px; accent-color: var(--olive); }
@media (max-width: 959px) { .cxp-calc__out { position: static; } }

/* الزكاة */
.cxp-zakat { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .cxp-zakat { grid-template-columns: 1.4fr .8fr; gap: 56px; } }
.cxp-zakat .phero__cta { margin-top: 24px; }

/* الأمان */
.cxp-safe { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.cxp-safe li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r-md); background: hsl(var(--card)); box-shadow: inset -4px 0 0 var(--red), var(--shadow-card); }
[dir="ltr"] .cxp-safe li { box-shadow: inset 4px 0 0 var(--red), var(--shadow-card); }
.cxp-safe svg { flex: none; width: 28px; height: 28px; color: var(--red); }
.cxp-safe h3 { margin-bottom: 4px; }
.cxp-safe p { font-size: 14.5px; color: hsl(var(--fg-2)); line-height: 1.75; }
.cxp-safe__try { box-shadow: inset -4px 0 0 var(--olive), var(--shadow-card) !important; }
[dir="ltr"] .cxp-safe__try { box-shadow: inset 4px 0 0 var(--olive), var(--shadow-card) !important; }
.cxp-safe__try svg { color: var(--olive); }

/* الشفافية */
.cxp-ledger { display: grid; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .14); overflow: hidden; font-size: 14px; }
.cxp-ledger__row { display: grid; grid-template-columns: 1fr 1fr 1.6fr 1fr; gap: 12px; padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, .1); align-items: center; }
.cxp-ledger__head { border-top: 0; background: rgba(255, 255, 255, .06); font-weight: 700; color: #fff; }
.cxp-ledger__row:not(.cxp-ledger__head) { color: var(--linen-ink); }
.cxp-ledger__tx { display: flex; align-items: center; gap: 10px; }
.cxp-ledger__empty { grid-template-columns: 1fr; padding-block: 30px; text-align: center; color: var(--linen-ink); font-size: 15px; }
.cxp-ledger__empty span::before { content: ""; display: block; width: 26px; height: 26px; margin: 0 auto 10px; border-radius: 7px; border: 1.5px dashed currentColor; opacity: .55; }
.cxp-st::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-inline-end: 6px; vertical-align: middle; background: #e0b35a; }
.cxp-st { font-style: normal; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: rgba(233, 220, 195, .14); white-space: nowrap; }
.cxp-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.cxp-trust > div { display: grid; gap: 6px; padding: 22px 0; padding-inline-end: 20px; }
.cxp-trust b { font-size: 18px; color: #fff; }
.cxp-trust span { font-size: 14.5px; line-height: 1.75; color: var(--linen-ink); }
.cxp-slot em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; padding: 6px 10px; border-radius: 8px; border: 1px dashed rgba(233, 220, 195, .4); }
.cxp-trust__more { margin-top: 8px; }
.dark .cxp-trust__more .link { color: #ffb3b8; }
@media (max-width: 700px) {
  .cxp-ledger__head { display: none; }
  .cxp-ledger__row { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
}

.cxp-cta-line { border-color: rgba(255, 255, 255, .7); color: #fff; }

/* الحدّ الوحيد بين الأقسام هو خط الرأس المرقّم */
.cxp .sec + .sec > .wrap { border-top: 0; }
@media (max-width: 640px) {
  .cxp-coins { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cxp-coin { padding: 16px; gap: 10px; grid-template-rows: auto auto 1fr; }
  .cxp-coin ul, .cxp-tag { display: none; }
  .cxp-coin header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cxp-coin header svg { width: 40px; height: 40px; }
  .cxp-coin__peg { font-size: 13px; padding: 6px 10px; }
  .cxp-race__row { grid-template-columns: 7.5rem minmax(0, 1fr) 4rem; font-size: 12.5px; }
  .cxp-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .cx, .cx__qrw, .cxp-why li, .cxp-hero__hl::after, .cxp-route__draw, .cxp-race__bar em, .cxp-route__pulse { animation: none !important; }
  .cxp-route__draw { stroke-dashoffset: 0; }
  .cxp-route__blk { animation: none; offset-distance: 55%; }
  .cxp-route__blk--2, .cxp-route__blk--3 { display: none; }
  .cxp-steps::after, .cxp-steps__n, .cxp-steps li > *, .cxp-coin, .cxp-coin::before { transition: none !important; }
}

@media (max-width: 959px) { .cxp-hero .wrap, .cxp-calc, .cxp-zakat { grid-template-columns: minmax(0, 1fr); } }

/* ===== لغة الرئيسية: رأس px-hero + قسم «لماذا» ===== */
.cxp-hero .px-hero__h { max-width: 12em; }
.cxp-intro__grid { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
.cxp-intro__stats { grid-column: 1 / -1; }
.cxp-intro .lead { margin-top: 12px; }
@media (max-width: 960px) { .cxp-intro__grid { grid-template-columns: 1fr; } }

/* الحركات فوق السطر الأول من العنوان تحتاج نفَسًا تحت الوسم */
.cxp-hero .px-hero__eyebrow { margin-bottom: 22px; }

/* ===== LTR ===== */
html[dir="ltr"] .cxp-race__bar--slow em, html[dir="ltr"] .cxp-race__bar--fast em, html[dir="ltr"] .cxp-coin::before, html[dir="ltr"] .cxp-steps::after { transform-origin: left; }

/* English (LTR): the route runs left to right, from your wallet to Gaza */
html[dir="ltr"] .cxp-route__map svg { transform: scaleX(-1); }
html[dir="ltr"] .cxp-route__map { background: radial-gradient(120% 90% at 15% 80%, hsl(38 40% 94%), transparent 60%), repeating-linear-gradient(0deg, transparent 0 23px, hsl(38 22% 90%) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, hsl(38 22% 90%) 23px 24px), hsl(40 33% 97%); }
html[dir="ltr"] .cxp-route__lbl--from { right: auto; left: 4%; }
html[dir="ltr"] .cxp-route__lbl--to { left: auto; right: 6%; }
.cxp-coin__peg bdi { white-space: nowrap; }

/* ———— دليل المتبرع الجديد: أخطاء شائعة + تنبيه الاحتيال ———— */
.cxp-guide { display: grid; gap: 18px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 960px) { .cxp-guide { grid-template-columns: 1.35fr 1fr; align-items: start; gap: 24px; } }
.cxp-mistakes { padding: clamp(18px, 2.6vw, 26px); border-radius: var(--r-md); background: hsl(var(--card)); box-shadow: var(--shadow-card); min-width: 0; }
.cxp-mistakes h3, .cxp-scam h3 { font-family: var(--display); font-size: var(--fs-h3); line-height: 1.4; font-weight: 700; margin-bottom: 10px; }
.cxp-mistakes ul { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.cxp-mistakes li { position: relative; padding-inline-start: 22px; font-size: 14.5px; line-height: 1.75; color: hsl(var(--fg-2)); }
.cxp-mistakes li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .7em; width: 9px; height: 9px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.cxp-mistakes b { color: hsl(var(--fg)); }
.cxp-scam { display: grid; gap: 10px; justify-items: start; padding: clamp(18px, 2.6vw, 26px); border-radius: var(--r-md); background: #fbefe8; border: 1.5px solid rgba(196, 37, 47, .35); color: #3a1d14; min-width: 0; }
.cxp-scam h3 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--red-ink, #a51f28); }
.cxp-scam h3 svg { flex: none; }
.cxp-scam p { font-size: 14.5px; line-height: 1.8; }
.cxp-scam b { color: #1b1613; }
.cxp-coin__soon { align-self: end; font-size: 13px; color: hsl(var(--fg-2)); }
