/* دومنة 1.8.0 — v3.css: طبقة "الإبهار" (تُحمَّل أخيراً، بعد v2). عمق وضوء وحركة راقية بلا مكتبات.
   مبادئ: ضوء ذهبي من الأعلى، أسطح زجاجية داكنة بحدود مضيئة، حركة فيزيائية خفيفة، واحترام prefers-reduced-motion (المتغيرات تصفر المدد). */

/* ---------- خلفية التطبيق: توهج علوي + فينييت ---------- */
#app{background:
  radial-gradient(90% 46% at 50% -6%,rgba(214,171,82,.14),transparent 60%),
  radial-gradient(120% 70% at 50% 0%,#3a2617 0%,#1a110b 55%,#0e0905 100%)}
#app::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(120% 100% at 50% 50%,transparent 62%,rgba(0,0,0,.38) 100%)}
.scr{z-index:1}

/* ---------- الأزرار: معدن مصقول ---------- */
.btn{background:linear-gradient(180deg,#ffe9ad 0%,#f0c766 34%,#d9a83e 68%,#c08a2a 100%);
  box-shadow:inset 0 1px 0 #fffbe6cc,inset 0 -1px 0 #7a541455,0 4px 0 #7a5414,0 10px 22px rgba(0,0,0,.5)}
.btn:active:not(:disabled){transform:translateY(2px) scale(.99)}
.btn.ghost{background:linear-gradient(180deg,#ffffff14,#ffffff08);box-shadow:inset 0 1px 0 #ffffff1f,inset 0 0 0 1px #ffffff24}
.btn.green{background:linear-gradient(180deg,#8fe6b3,#46b578 45%,#24834d);box-shadow:inset 0 1px 0 #e7fff0aa,0 4px 0 #14502e,0 10px 22px rgba(0,0,0,.5)}
.btn.red{background:linear-gradient(180deg,#ff9d8f,#f06a5b 45%,#b8342a);box-shadow:inset 0 1px 0 #ffd9d3aa,0 4px 0 #6e1a13,0 10px 22px rgba(0,0,0,.5)}

/* زر اللعب الرئيسي: لمعة متحركة */
.mode.hero2::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(115deg,transparent 30%,rgba(255,242,207,.16) 46%,rgba(255,242,207,.3) 50%,rgba(255,242,207,.16) 54%,transparent 70%);
  background-size:250% 100%;background-position:120% 0;animation:sheen 5.5s var(--ease-out) infinite}
@keyframes sheen{0%,72%{background-position:120% 0}88%,100%{background-position:-40% 0}}

/* ---------- الشعار: توهج نابض هادئ ---------- */
#home .hero .logo{filter:drop-shadow(0 2px 14px rgba(214,171,82,.35));animation:logoglow 4.5s ease-in-out infinite}
@keyframes logoglow{0%,100%{filter:drop-shadow(0 2px 12px rgba(214,171,82,.28))}50%{filter:drop-shadow(0 2px 22px rgba(255,211,107,.5))}}

/* ---------- دخول متدرج لعناصر الرئيسية ---------- */
@media (prefers-reduced-motion:no-preference){
  #home .wrap>*{animation:rise .5s var(--ease-out) both}
  #home .wrap>*:nth-child(1){animation-delay:.02s}#home .wrap>*:nth-child(2){animation-delay:.08s}
  #home .wrap>*:nth-child(3){animation-delay:.14s}#home .wrap>*:nth-child(4){animation-delay:.2s}
  #home .wrap>*:nth-child(5){animation-delay:.26s}#home .wrap>*:nth-child(6){animation-delay:.32s}
  .modes .mode:nth-child(2){animation-delay:.06s}.modes .mode:nth-child(3){animation-delay:.12s}.modes .mode:nth-child(4){animation-delay:.18s}
}
@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

/* ---------- شريط اللاعب والمحفظة ---------- */
#home .pbar{background:linear-gradient(165deg,#3a281bcc,#1d140de6);border-color:#6b4e33;
  box-shadow:inset 0 1px 0 #ffffff17,0 10px 26px rgba(0,0,0,.5)}
.wallet .chip.cur{border-color:#6b4e33;box-shadow:inset 0 1px 0 #ffffff12}
.wallet .chip.cur:active{transform:scale(.95)}

/* ---------- بطاقات الأطوار: حواف مضيئة وعمق ---------- */
.mode{border-color:#6b4e33;box-shadow:inset 0 1px 0 #ffffff1a,inset 0 0 0 1px #00000040,0 10px 24px rgba(0,0,0,.55)}
.mode:active{transform:scale(.965)}
.mode.hero2{box-shadow:inset 0 1px 0 #ffffff2e,0 12px 30px rgba(10,61,34,.55),0 0 0 1px #2f8a5a55}
.mode.cards{box-shadow:inset 0 1px 0 #ffffff22,0 12px 30px rgba(58,12,19,.55),0 0 0 1px #8a3a4655}

/* ---------- بطاقة المهام والمكافأة اليومية ---------- */
.msn{background:linear-gradient(165deg,#30211666,#1a120bcc);border-color:#6b4e33;
  box-shadow:inset 0 1px 0 #ffffff14,0 10px 24px rgba(0,0,0,.45)}
.msb{background:#0000008a;box-shadow:inset 0 1px 3px #000}
.msb i{background:linear-gradient(90deg,#8fe6b3,#22b864);box-shadow:0 0 10px #22b86488}
.msr.ready .msget{animation:claimpulse 1.8s var(--ease-out) infinite}
@keyframes claimpulse{0%,100%{box-shadow:inset 0 1px 0 #fffbe6cc,0 4px 0 #7a5414,0 0 0 0 rgba(214,171,82,.45)}55%{box-shadow:inset 0 1px 0 #fffbe6cc,0 4px 0 #7a5414,0 0 0 9px rgba(214,171,82,0)}}
.daily{position:relative;overflow:hidden}
.daily::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,transparent 35%,rgba(255,233,173,.1) 50%,transparent 65%);
  background-size:260% 100%;animation:sheen 6.5s var(--ease-out) infinite}

/* ---------- شريط التنقل: قفص عائم ---------- */
#nav{margin:0 10px calc(10px + env(safe-area-inset-bottom));padding:6px;border-radius:22px;
  background:linear-gradient(180deg,#241811f5,#160e08fa);border:1px solid #ffffff14;
  box-shadow:inset 0 1px 0 #ffffff14,0 14px 34px rgba(0,0,0,.6);inset-inline:0;position:absolute}
#nav button.on{color:#ffd36b}
#nav button.on::before{opacity:.2;background:linear-gradient(180deg,#ffd36b,#c99a35)}
.wrap{padding-bottom:118px}

/* ---------- رؤوس الصفحات ---------- */
.sh h2{background:linear-gradient(180deg,#fff8e6,#e6c27a 65%,#c99a35);-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---------- القوائم ---------- */
.row{border-color:#46331f;box-shadow:inset 0 1px 0 #ffffff0d}
.row.me{border-color:var(--c-primary);box-shadow:inset 0 1px 0 #ffffff14,0 0 0 1px #d6ab5240,0 6px 18px rgba(0,0,0,.4)}

/* ---------- التبويبات ---------- */
.tabs button.on{box-shadow:inset 0 -2px 0 #ffd36b,0 2px 10px #0007}

/* ---------- البانر العلوي: دخول منزلق أنيق ---------- */
#banner{border-color:#d6ab5280;background:linear-gradient(165deg,#33241a,#1c130c);
  box-shadow:inset 0 1px 0 #ffffff1c,0 14px 34px rgba(0,0,0,.6)}
#banner.on{animation:banin .45s var(--ease-spring) both}
@keyframes banin{from{opacity:0;transform:translateY(-16px) scale(.97)}to{opacity:1;transform:none}}

/* ---------- النوافذ ---------- */
.modal.on .card{animation:cardin var(--dur-3) var(--ease-spring)}
.card{border-color:#6b4e33;box-shadow:inset 0 1px 0 #ffffff1c,0 24px 60px rgba(0,0,0,.65)}

/* ---------- المتجر ---------- */
.pack{box-shadow:inset 0 1px 0 #ffffff14,0 10px 22px rgba(0,0,0,.45)}
.pack .btn{position:relative;overflow:hidden}
.gftag,.pack .tag{box-shadow:0 2px 8px #0008}

/* ---------- شارة المستوى على الصورة ---------- */
.av b{bottom:-3px;box-shadow:0 2px 6px #000a,0 0 0 2px #1a110b}

/* ---------- التركيز ---------- */
:focus-visible{outline-color:#ffd36b}

/* ---------- شاشة البحث ---------- */
.radar{box-shadow:0 0 0 6px #3a2617,0 0 0 8px #8a6a2a,0 0 70px #1d6b4599,0 24px 48px #000c}

/* ===== أيقونات الهدايا اللامعة (أصول المالك الأصلية) ===== */
.vgi img{transition:transform .25s ease-out,filter .25s;filter:drop-shadow(0 4px 10px #0008)}
.vgi:hover img,.vgi.on img{transform:translateY(-3px) scale(1.07);filter:drop-shadow(0 0 12px #ffd36b88) drop-shadow(0 6px 14px #0009)}
.gfx.float img{animation:giftFloat 1.6s ease-in-out infinite;filter:drop-shadow(0 0 14px #ffd36b99)}
.gfx::after{content:'';position:absolute;inset:-16px;pointer-events:none;background:radial-gradient(circle at 28% 30%,#fff9 0 2px,transparent 3px),radial-gradient(circle at 72% 38%,#ffd36b 0 2px,transparent 3px),radial-gradient(circle at 50% 78%,#fff6 0 1.5px,transparent 2.5px),radial-gradient(circle at 38% 62%,#ffd36bcc 0 1.5px,transparent 2.5px);animation:sparkSpin 2.6s linear infinite}
@keyframes giftFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes sparkSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.gfx.float img,.gfx::after{animation:none}}

/* ===== أيقونات العملات اللامعة (أصول المالك) ===== */
.jw,.dia{filter:drop-shadow(0 1px 2px #0009)}
.pack .ico .jw.big,.pack .ico .dia.big{width:84px;height:84px;transform:none;filter:drop-shadow(0 6px 12px #000a) drop-shadow(0 0 10px #ffd36b55)}
.pack .ico .dia.big{filter:drop-shadow(0 6px 12px #000a) drop-shadow(0 0 10px #5ab8ff66)}
.pack .ico{min-height:92px;display:flex;align-items:center;justify-content:center}

/* ===== 1.8.3 مرور التصميم الاحترافي ===== */
/* تباين أزرار الأسعار في المتجر */
.pack .btn.ghost{background:linear-gradient(180deg,#3a2a1a,#2a1d11);color:#fff3d6;box-shadow:inset 0 1px 0 #ffffff2e,inset 0 0 0 1px #d6ab5266}
.pack .btn.ghost .dia{width:18px;height:18px}
.pack{background:linear-gradient(180deg,#2a1d12,#1a110a);box-shadow:inset 0 1px 0 #ffffff14,0 10px 24px #0006}
/* بطاقة المكافأة اليومية */
.daily{background:radial-gradient(120% 140% at 85% 0%,#d6ab5233,transparent 60%),linear-gradient(180deg,#2c1f12,#1b120a);border:1px solid #d6ab5266;box-shadow:0 0 0 1px #0006,0 12px 28px #0007,0 0 24px #ffd36b22}
.daily .dico{width:64px;height:64px;margin:0 6px;transform:none;animation:dailyBob 2.4s ease-in-out infinite;filter:drop-shadow(0 6px 10px #000a) drop-shadow(0 0 12px #ffd36b88)}
.daily .btn{animation:claimPulse 1.8s ease-in-out infinite}
@keyframes dailyBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes claimPulse{0%,100%{box-shadow:0 0 0 0 #ffd36b00}50%{box-shadow:0 0 0 7px #ffd36b30}}
/* التنقل السفلي: أيقونات بتدرج ذهبي ولمعان بدل الخطوط الرفيعة */
#nav button.on svg{stroke:#ffd36b;filter:drop-shadow(0 0 6px #ffd36b99) drop-shadow(0 2px 2px #000a)}
#nav button svg{stroke-width:2.1;transition:transform .2s var(--ease-spring,ease-out),filter .2s}
#nav button.on svg{transform:translateY(-2px) scale(1.12)}
/* انتقال الشاشات */
.scr.on{animation:scrIn .28s ease-out}
@keyframes scrIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* بطاقات المهام */
.msrw,.msget{font-weight:800}
.ms,.mission{border-radius:14px}
/* أفاتار افتراضي: حلقة ذهبية ولمعة */
.av{box-shadow:inset 0 0 0 2px #ffffff22,inset 0 8px 14px #ffffff26,0 3px 8px #0007}
.av .avemo,.av:not([style*="url"]){text-shadow:0 2px 4px #0008}
@media (prefers-reduced-motion:reduce){.daily .dico,.daily .btn,.scr.on{animation:none!important}#nav button.on svg{transform:none}}

/* ===== ألوان الأوراق: ضبط ورقة أخيرة وتحدّي +4 ===== */
.catchbtn{position:absolute;inset-inline:16px;top:34%;z-index:30;animation:claimPulse 1s ease-in-out infinite}
.chalbox{position:absolute;inset-inline:14px;top:30%;z-index:31;padding:16px;border-radius:18px;background:linear-gradient(180deg,#2c1f12f2,#140d07f2);border:1px solid #d6ab5288;box-shadow:0 18px 40px #000a,0 0 28px #ffd36b30;text-align:center;display:flex;flex-direction:column;gap:8px;animation:scrIn .22s ease-out}
.chalbox[hidden],.catchbtn[hidden]{display:none}
.chalbox b{font-size:18px;color:#ffd36b}.chalbox small{color:#d9c8a6;font-size:12.5px}
.chalrow{display:flex;gap:10px}.chalrow .btn{flex:1}

/* ===== إطارات الأفاتار: إكليل غار وتاج (SVG مُعاد رسمه بأسلوب حزمة المالك) ===== */
.av[class*="fr-"]{position:relative;overflow:visible}
.av[class*="fr-"]::after{content:'';position:absolute;inset:-17% -12% -9% -12%;background-size:100% 100%;background-repeat:no-repeat;pointer-events:none;z-index:2}
.av.fr-gold{box-shadow:0 0 14px #ffd36b88!important}
.av.fr-gold::after{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-6 -14 112 120%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.35%22 stop-color=%22%23ffd36b%22/%3E%3Cstop offset=%221%22 stop-color=%22%238a5a12%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2240%22 fill=%22none%22 stroke=%22url%28%23g%29%22 stroke-width=%223.2%22/%3E%3Cellipse cx=%2257.6%22 cy=%2293.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28205 57.6 93.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2270.0%22 cy=%2289.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28188 70.0 89.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2280.6%22 cy=%2281.7%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28171 80.6 81.7%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2288.5%22 cy=%2271.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28154 88.5 71.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2293.0%22 cy=%2259.1%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28137 93.0 59.1%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2293.8%22 cy=%2246.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28120 93.8 46.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2290.8%22 cy=%2233.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28103 90.8 33.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2284.2%22 cy=%2222.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%2886 84.2 22.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2274.6%22 cy=%2213.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%2869 74.6 13.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2242.4%22 cy=%2293.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28155 42.4 93.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2230.0%22 cy=%2289.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28172 30.0 89.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2219.4%22 cy=%2281.7%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28189 19.4 81.7%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2211.5%22 cy=%2271.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28206 11.5 71.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%227.0%22 cy=%2259.1%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28223 7.0 59.1%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%226.2%22 cy=%2246.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28240 6.2 46.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%229.2%22 cy=%2233.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28257 9.2 33.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2215.8%22 cy=%2222.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28274 15.8 22.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2225.4%22 cy=%2213.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28291 25.4 13.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.6%22/%3E%3Cpath d=%22M36 6l3-12 6 8 5-11 5 11 6-8 3 12z%22 fill=%22url%28%23g%29%22 stroke=%22%238a5a12%22 stroke-width=%22.8%22/%3E%3Ccircle cx=%2250%22 cy=%22-1%22 r=%222.6%22 fill=%22%23e2493b%22/%3E%3C/svg%3E");filter:drop-shadow(0 0 5px #ffd36bcc)}
.av.fr-silver{box-shadow:0 0 14px #dfe8f588!important}
.av.fr-silver::after{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-6 -14 112 120%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.35%22 stop-color=%22%23f1f5fa%22/%3E%3Cstop offset=%221%22 stop-color=%22%235d6672%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2240%22 fill=%22none%22 stroke=%22url%28%23g%29%22 stroke-width=%223.2%22/%3E%3Cellipse cx=%2257.6%22 cy=%2293.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28205 57.6 93.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2270.0%22 cy=%2289.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28188 70.0 89.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2280.6%22 cy=%2281.7%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28171 80.6 81.7%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2288.5%22 cy=%2271.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28154 88.5 71.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2293.0%22 cy=%2259.1%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28137 93.0 59.1%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2293.8%22 cy=%2246.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28120 93.8 46.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2290.8%22 cy=%2233.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28103 90.8 33.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2284.2%22 cy=%2222.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%2886 84.2 22.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2274.6%22 cy=%2213.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%2869 74.6 13.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2242.4%22 cy=%2293.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28155 42.4 93.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2230.0%22 cy=%2289.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28172 30.0 89.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2219.4%22 cy=%2281.7%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28189 19.4 81.7%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2211.5%22 cy=%2271.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28206 11.5 71.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%227.0%22 cy=%2259.1%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28223 7.0 59.1%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%226.2%22 cy=%2246.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28240 6.2 46.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%229.2%22 cy=%2233.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28257 9.2 33.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2215.8%22 cy=%2222.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28274 15.8 22.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2225.4%22 cy=%2213.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28291 25.4 13.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.6%22/%3E%3Cpath d=%22M36 6l3-12 6 8 5-11 5 11 6-8 3 12z%22 fill=%22url%28%23g%29%22 stroke=%22%235d6672%22 stroke-width=%22.8%22/%3E%3Ccircle cx=%2250%22 cy=%22-1%22 r=%222.6%22 fill=%22%234aa3ff%22/%3E%3C/svg%3E");filter:drop-shadow(0 0 5px #dfe8f5cc)}
.av.fr-emerald{box-shadow:0 0 14px #4fe08c88!important}
.av.fr-emerald::after{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-6 -14 112 120%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.35%22 stop-color=%22%238dffb8%22/%3E%3Cstop offset=%221%22 stop-color=%22%230b5e2e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2240%22 fill=%22none%22 stroke=%22url%28%23g%29%22 stroke-width=%223.2%22/%3E%3Cellipse cx=%2257.6%22 cy=%2293.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28205 57.6 93.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2270.0%22 cy=%2289.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28188 70.0 89.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2280.6%22 cy=%2281.7%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28171 80.6 81.7%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2288.5%22 cy=%2271.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28154 88.5 71.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2293.0%22 cy=%2259.1%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28137 93.0 59.1%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2293.8%22 cy=%2246.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28120 93.8 46.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2290.8%22 cy=%2233.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28103 90.8 33.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2284.2%22 cy=%2222.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%2886 84.2 22.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2274.6%22 cy=%2213.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%2869 74.6 13.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2242.4%22 cy=%2293.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28155 42.4 93.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2230.0%22 cy=%2289.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28172 30.0 89.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2219.4%22 cy=%2281.7%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28189 19.4 81.7%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2211.5%22 cy=%2271.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28206 11.5 71.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%227.0%22 cy=%2259.1%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28223 7.0 59.1%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%226.2%22 cy=%2246.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28240 6.2 46.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%229.2%22 cy=%2233.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28257 9.2 33.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2215.8%22 cy=%2222.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28274 15.8 22.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2225.4%22 cy=%2213.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28291 25.4 13.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.6%22/%3E%3Cpath d=%22M36 6l3-12 6 8 5-11 5 11 6-8 3 12z%22 fill=%22url%28%23g%29%22 stroke=%22%230b5e2e%22 stroke-width=%22.8%22/%3E%3Ccircle cx=%2250%22 cy=%22-1%22 r=%222.6%22 fill=%22%23ffffff%22/%3E%3C/svg%3E");filter:drop-shadow(0 0 5px #4fe08ccc)}
.av.fr-fire{box-shadow:0 0 14px #ff6a1a88!important}
.av.fr-fire::after{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-6 -14 112 120%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.35%22 stop-color=%22%23ffb066%22/%3E%3Cstop offset=%221%22 stop-color=%22%23b8200e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2240%22 fill=%22none%22 stroke=%22url%28%23g%29%22 stroke-width=%223.2%22/%3E%3Cellipse cx=%2257.6%22 cy=%2293.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28205 57.6 93.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2270.0%22 cy=%2289.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28188 70.0 89.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2280.6%22 cy=%2281.7%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28171 80.6 81.7%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2288.5%22 cy=%2271.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28154 88.5 71.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2293.0%22 cy=%2259.1%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28137 93.0 59.1%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2293.8%22 cy=%2246.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28120 93.8 46.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2290.8%22 cy=%2233.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28103 90.8 33.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2284.2%22 cy=%2222.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%2886 84.2 22.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2274.6%22 cy=%2213.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%2869 74.6 13.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2242.4%22 cy=%2293.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28155 42.4 93.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2230.0%22 cy=%2289.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28172 30.0 89.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2219.4%22 cy=%2281.7%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28189 19.4 81.7%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2211.5%22 cy=%2271.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28206 11.5 71.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%227.0%22 cy=%2259.1%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28223 7.0 59.1%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%226.2%22 cy=%2246.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28240 6.2 46.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%229.2%22 cy=%2233.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28257 9.2 33.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2215.8%22 cy=%2222.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28274 15.8 22.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2225.4%22 cy=%2213.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28291 25.4 13.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.6%22/%3E%3Cpath d=%22M36 6l3-12 6 8 5-11 5 11 6-8 3 12z%22 fill=%22url%28%23g%29%22 stroke=%22%23b8200e%22 stroke-width=%22.8%22/%3E%3Ccircle cx=%2250%22 cy=%22-1%22 r=%222.6%22 fill=%22%23fff2a0%22/%3E%3C/svg%3E");filter:drop-shadow(0 0 5px #ff6a1acc)}
.av.fr-neon{box-shadow:0 0 14px #c04dff88!important}
.av.fr-neon::after{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-6 -14 112 120%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.35%22 stop-color=%22%23e9a8ff%22/%3E%3Cstop offset=%221%22 stop-color=%22%234a1c8c%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2240%22 fill=%22none%22 stroke=%22url%28%23g%29%22 stroke-width=%223.2%22/%3E%3Cellipse cx=%2257.6%22 cy=%2293.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28205 57.6 93.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2270.0%22 cy=%2289.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28188 70.0 89.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2280.6%22 cy=%2281.7%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28171 80.6 81.7%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2288.5%22 cy=%2271.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28154 88.5 71.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2293.0%22 cy=%2259.1%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28137 93.0 59.1%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2293.8%22 cy=%2246.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28120 93.8 46.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2290.8%22 cy=%2233.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28103 90.8 33.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2284.2%22 cy=%2222.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%2886 84.2 22.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2274.6%22 cy=%2213.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%2869 74.6 13.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2242.4%22 cy=%2293.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28155 42.4 93.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2230.0%22 cy=%2289.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28172 30.0 89.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2219.4%22 cy=%2281.7%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28189 19.4 81.7%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2211.5%22 cy=%2271.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28206 11.5 71.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%227.0%22 cy=%2259.1%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28223 7.0 59.1%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%226.2%22 cy=%2246.2%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28240 6.2 46.2%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%229.2%22 cy=%2233.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28257 9.2 33.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2215.8%22 cy=%2222.3%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28274 15.8 22.3%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cellipse cx=%2225.4%22 cy=%2213.5%22 rx=%223.6%22 ry=%228%22 transform=%22rotate%28291 25.4 13.5%29%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.6%22/%3E%3Cpath d=%22M36 6l3-12 6 8 5-11 5 11 6-8 3 12z%22 fill=%22url%28%23g%29%22 stroke=%22%234a1c8c%22 stroke-width=%22.8%22/%3E%3Ccircle cx=%2250%22 cy=%22-1%22 r=%222.6%22 fill=%22%234df0ff%22/%3E%3C/svg%3E");filter:drop-shadow(0 0 5px #c04dffcc)}
@media (prefers-reduced-motion:no-preference){.av.fr-fire::after,.av.fr-neon::after{animation:frGlow 2s ease-in-out infinite alternate}}@keyframes frGlow{to{filter:drop-shadow(0 0 11px #fff9) brightness(1.2)}}

/* ===== احتفال الفوز: كأس بإكليل غار، أشعة، مطر عملات ===== */
.crown.trophy{width:132px;height:121px;margin:-14px auto 0;animation:trophyIn .7s var(--ease-spring,cubic-bezier(.2,1.4,.4,1)) both,crownb 1.6s ease-in-out .7s infinite alternate;filter:drop-shadow(0 6px 18px #f0c766cc)}
#resBody.win{position:relative;overflow:hidden}
#resBody.win::before{content:'';position:absolute;left:50%;top:-30px;width:420px;height:420px;margin-left:-210px;background:repeating-conic-gradient(from 0deg,#ffd36b2e 0 8deg,transparent 8deg 22deg);-webkit-mask:radial-gradient(circle,#000 8%,transparent 66%);mask:radial-gradient(circle,#000 8%,transparent 66%);animation:rays 14s linear infinite;pointer-events:none}
@keyframes rays{to{transform:rotate(360deg)}}
@keyframes trophyIn{from{transform:scale(.2) rotate(-12deg);opacity:0}to{transform:none;opacity:1}}
.coinrain{position:fixed;inset:0;pointer-events:none;z-index:200;overflow:hidden}
.coinrain i{position:absolute;top:-50px;background:url('/icons/cur/gold_coin_medallion@128.webp') center/contain no-repeat;filter:drop-shadow(0 3px 5px #0008);animation:coinFall linear forwards}
@keyframes coinFall{to{transform:translate(var(--dx),110vh) rotate(540deg)}}
@media (prefers-reduced-motion:reduce){.crown.trophy,#resBody.win::before{animation:none}}

/* ===== معاينة جلود الأحجار (صور المالك بدون خلفية) ===== */
.item .pv .skinpv{height:92px;width:auto;margin:-4px auto;display:block;filter:drop-shadow(0 6px 10px #000a)}
.item .pv .skinpv{-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent)}

.item .pv .dimg{max-height:90px}
.item .pv .dprev{position:absolute;inset-inline-start:6px;bottom:4px;width:26px;height:26px;margin:0;perspective:160px;transform:none}
.item .pv .dprev .d3f.f1{transform:translateZ(13px)}.item .pv .dprev .d3f.f3{transform:rotateY(90deg) translateZ(13px)}.item .pv .dprev .d3f.f2{transform:rotateX(90deg) translateZ(13px)}
.item .pv{position:relative}

.av.fr-laurel{box-shadow:0 0 14px #ffc83a77!important}
.av.fr-laurel::after{inset:-37% -25% -13% -25%;background-image:image-set(url(/icons/tiles/laurel_128.webp?v=1.8.9) 1x,url(/icons/tiles/laurel_256.webp?v=1.8.9) 2x)}
/* جوخ المقهى: نسيج لباد أخضر حقيقي (صورة المالك، بلاطة 256px تتكرر) تحت إضاءة ناعمة وتعتيم الأطراف */
.t-felt{background:radial-gradient(ellipse at 50% 46%,#ffffff22 0,#ffffff00 58%),radial-gradient(ellipse at 50% 50%,#0000 42%,#00000099 100%),image-set(url(/icons/tiles/felt_512.webp?v=1.8.9) 2x) center/256px 256px repeat,#0f6a3c}

/* لودو: فقاعات المقاعد لا تغطي زوايا اللوح — العلوي الأيمن فوق الصورة، والسفلي الأيمن يسار الصورة */
#ludo .s2 .bubble{top:auto;margin-top:0;bottom:100%;margin-bottom:2px}
#ludo .s3 .bubble{left:auto;right:calc(100% + 4px);bottom:auto;top:14px;margin:0}

/* خيار تكديس +2 في إعداد المباراة */
.gsopt{display:flex;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;border-radius:14px;border:1.5px solid #4a3424;background:#24180f;cursor:pointer}
.gsopt input{width:22px;height:22px;accent-color:#d9a441;flex:none}.gsopt span{display:flex;flex-direction:column}.gsopt b{font-size:14px;font-weight:800}.gsopt small{font-size:11.5px;color:var(--c-text-2,#b8a68a)}

/* الصورة الافتراضية: صورة شخص لامعة بدل الحرف الأول */
.av .avper{width:78%;height:78%;margin-top:14%;filter:drop-shadow(0 1px 2px #0006)}.av .ini .avper{margin-top:14%}
