/* ═══════════════════════════════════════════════════════════════════════════
 *  v213 · بنر حرفه‌ای هدیه (src/233-v213.js)
 *  جای قرص ساده و متن بالای انیمیشن را گرفته است.
 * ═══════════════════════════════════════════════════════════════════════════ */
.gfx118-t{ display:none !important }                 /* متن قدیمی بالای انیمیشن — حالا در بنر */

#gb213{
  position:fixed; z-index:250; pointer-events:none;
  display:flex; flex-direction:column; align-items:flex-start; gap:10px;
  padding:0 12px; box-sizing:border-box; direction:ltr;
}
.gb213{
  --c1:#3b0f7a; --c2:#6d28d9; --c3:#2e1065; --rim1:#fde68a; --rim2:#f59e0b; --rim3:rgba(253,230,138,.35); --glow:rgba(124,58,237,.55); --tx:#fde68a;
  position:relative; display:flex; align-items:center; height:50px; max-width:100%;
  padding:0 14px 0 4px; border-radius:25px;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%) padding-box,
    linear-gradient(100deg, var(--c1) 0%, var(--c2) 62%, var(--c3) 100%) padding-box,
    linear-gradient(100deg, var(--rim1), var(--rim2) 50%, var(--rim3) 100%) border-box;
  border:1.5px solid transparent;
  box-shadow:-6px 8px 22px -6px var(--glow);
  animation:gb213in .55s cubic-bezier(.18,1.25,.3,1) both;
  font-family:inherit; overflow:visible;
}
.gb213.out{ animation:gb213out .38s ease-in both }
@keyframes gb213in{
  0%  { transform:translateX(-115%) skewX(-8deg); opacity:0; filter:blur(3px) }
  70% { transform:translateX(4%) skewX(0); opacity:1; filter:none }
  100%{ transform:none; opacity:1 }
}
@keyframes gb213out{ to{ transform:translateX(-120%); opacity:0 } }

/* درخشش عبوری */
.gb213::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; overflow:hidden;
  background:linear-gradient(105deg, transparent 30%, rgba(255,255,255,.38) 45%, transparent 60%) no-repeat;
  background-size:220% 100%; background-position:160% 0;
  animation:gb213sh 1.1s .45s ease-out both;
}
@keyframes gb213sh{ to{ background-position:-60% 0 } }

/* عکس فرستنده */
.gb213-av{
  flex:none; width:42px; height:42px; border-radius:50%; padding:2px; box-sizing:border-box;
  background:conic-gradient(from 210deg, var(--rim1), var(--rim2), #fff7d6, var(--rim1));
  box-shadow:0 0 12px var(--glow);
}
.gb213-av img,.gb213-av i{
  display:grid; place-items:center; width:100%; height:100%; border-radius:50%; object-fit:cover;
  background:linear-gradient(135deg,#6d28d9,#db2777); color:#fff; font-style:normal; font-weight:900; font-size:16px;
  border:1.5px solid rgba(20,6,40,.85); box-sizing:border-box;
}

/* نام و متن */
.gb213-tx{ display:flex; flex-direction:column; justify-content:center; min-width:0; margin:0 8px 0 9px; line-height:1.15 }
.gb213-tx b{
  max-width:118px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; unicode-bidi:plaintext;
  font-size:13.5px; font-weight:900; letter-spacing:.1px;
  background:linear-gradient(180deg,#fffbeb,var(--tx)); -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.45));
}
.gb213-tx small{
  max-width:130px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; unicode-bidi:plaintext;
  font-size:11px; font-weight:700; color:rgba(255,255,255,.82); margin-top:2px;
}
.gb213-tx small em{ font-style:normal; font-weight:900; color:#fff }

/* آیکن هدیه — از بنر بیرون می‌زند */
.gb213-g{
  flex:none; width:56px; height:56px; margin:-10px 2px 0 -2px; display:grid; place-items:center; position:relative;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.45)) drop-shadow(0 0 10px var(--glow));
  animation:gb213pop .6s .18s cubic-bezier(.2,1.8,.4,1) both;
}
.gb213-g > *{ max-width:56px; max-height:56px }
.gb213-g img{ width:56px; height:56px; object-fit:contain }
@keyframes gb213pop{ 0%{ transform:scale(0) rotate(-25deg) } 100%{ transform:none } }
.gb213-g.pn{ animation:gb213bump .42s cubic-bezier(.2,1.8,.4,1) }
@keyframes gb213bump{ 0%{ transform:scale(1) } 35%{ transform:scale(1.28) rotate(-8deg) } 100%{ transform:none } }

/* شمارندهٔ کمبو */
.gb213-n{
  flex:none; display:flex; align-items:baseline; margin-left:2px; padding-right:4px;
  font-style:italic; font-weight:900; line-height:1;
  animation:gb213pop .5s .3s cubic-bezier(.2,1.8,.4,1) both;
}
.gb213-n s,.gb213-n b{
  text-decoration:none;
  background:linear-gradient(180deg,#fffbeb 0%,#fde047 40%,#f59e0b 75%,#ea580c 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  -webkit-text-stroke:1px rgba(90,30,0,.55);
  filter:drop-shadow(0 2px 0 rgba(90,30,0,.55)) drop-shadow(0 0 8px rgba(251,191,36,.55));
}
.gb213-n s{ font-size:18px; margin-right:1px }
.gb213-n b{ font-size:30px; letter-spacing:-.5px; font-variant-numeric:tabular-nums }
.gb213-n.pn{ animation:gb213punch .45s cubic-bezier(.2,1.8,.4,1) }
@keyframes gb213punch{ 0%{ transform:scale(1.9); opacity:.4 } 100%{ transform:none; opacity:1 } }

/* ── سطح ۲: ارزشمند (۵۰۰+) — طلایی/نارنجی ── */
.gb213.t2{ --c1:#6b210a; --c2:#c2410c; --c3:#451a03; --rim1:#fff3c4; --rim2:#fbbf24; --rim3:rgba(255,243,196,.4); --glow:rgba(245,158,11,.6); --tx:#fff1b8 }

/* ── سطح ۳: افسانه‌ای (۵۰۰۰+) — سرخ/صورتی، درخشان ── */
.gb213.t3{ --c1:#6d0f35; --c2:#be123c; --c3:#4a0424; --rim3:rgba(255,228,241,.45); --rim1:#ffe4f1; --rim2:#f472b6; --glow:rgba(244,63,94,.7); --tx:#ffe4ec;
  animation:gb213in .55s cubic-bezier(.18,1.25,.3,1) both, gb213glow 1.6s .6s ease-in-out infinite }
.gb213.t3.out{ animation:gb213out .38s ease-in both }
@keyframes gb213glow{ 0%,100%{ box-shadow:-6px 8px 22px -6px var(--glow) } 50%{ box-shadow:-6px 8px 30px -2px var(--glow), 0 0 18px rgba(253,186,116,.45) } }
.gb213-sp{ position:absolute; inset:-8px 0 -8px 0; pointer-events:none; display:none }
.gb213.t3 .gb213-sp{ display:block }
.gb213-sp i{ position:absolute; width:5px; height:5px; border-radius:50%; background:#fff; box-shadow:0 0 8px 2px #fde68a;
  opacity:0; animation:gb213tw 1.4s ease-in-out infinite }
.gb213-sp i:nth-child(1){ left:18%; top:4px;  animation-delay:.1s }
.gb213-sp i:nth-child(2){ left:42%; top:0;    animation-delay:.5s }
.gb213-sp i:nth-child(3){ left:63%; bottom:2px; animation-delay:.9s }
.gb213-sp i:nth-child(4){ left:30%; bottom:0; animation-delay:1.2s }
.gb213-sp i:nth-child(5){ left:78%; top:6px;  animation-delay:.3s }
@keyframes gb213tw{ 0%,100%{ opacity:0; transform:scale(.3) } 50%{ opacity:1; transform:scale(1) } }

@media (prefers-reduced-motion: reduce){
  .gb213,.gb213-g,.gb213-n,.gb213::after,.gb213-sp i{ animation-duration:.01s !important }
}

/* ═══════════════════ v214 · عدد کامل + مرحله‌های کمبو ═══════════════════ */
/* عدد مورب با گرادیان: بخش کج رقم از جعبهٔ متن بیرون می‌زد و گرادیان
 * (background-clip:text) آن را نمی‌پوشاند — نصف عدد دیده نمی‌شد. */
.gb213-n{ position:relative; isolation:isolate }
.gb213-n s,.gb213-n b{ position:relative; z-index:2; padding:.08em .2em .06em .06em; margin-right:-.14em; line-height:1.12 }
.gb213-n s{ margin-right:-.18em }

/* برچسب مرحله بالای عدد */
.gb213-lb{
  position:absolute; z-index:3; left:50%; top:-13px; transform:translateX(-50%);
  display:none; padding:1px 7px; border-radius:99px; white-space:nowrap;
  font-family:inherit; font-size:8.5px; font-weight:900; line-height:1.45; font-style:normal; letter-spacing:1.2px; color:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.35); overflow:hidden;
}
/* حلقهٔ انفجار پشت عدد (با هر ضربه) */
.gb213-bst{
  position:absolute; z-index:1; left:50%; top:50%; width:46px; height:46px; margin:-23px 0 0 -23px; border-radius:50%;
  border:3px solid var(--bst,#fde68a); opacity:0; pointer-events:none;
}
.gb213-bst.pn{ animation:gb213ring .55s ease-out }
@keyframes gb213ring{ 0%{ transform:scale(.3); opacity:1 } 100%{ transform:scale(2.1); opacity:0; border-width:1px } }
/* پرتوهای چرخان (۵۰+) */
.gb213-ry{
  position:absolute; z-index:0; left:50%; top:50%; width:92px; height:92px; margin:-46px 0 0 -46px; border-radius:50%;
  display:none; pointer-events:none;
  background:repeating-conic-gradient(from 0deg, var(--ray,rgba(253,230,138,.55)) 0 9deg, transparent 9deg 30deg);
  -webkit-mask:radial-gradient(circle, #000 18%, rgba(0,0,0,.6) 40%, transparent 70%); mask:radial-gradient(circle, #000 18%, rgba(0,0,0,.6) 40%, transparent 70%);
  animation:gb213spin 3.2s linear infinite;
}
@keyframes gb213spin{ to{ transform:rotate(360deg) } }
/* کنفتی رسیدن به مرحلهٔ تازه */
.gb213-cf{ position:absolute; z-index:4; left:50%; top:50%; width:0; height:0; pointer-events:none }
.gb213-cf i{ position:absolute; width:6px; height:9px; margin:-4px 0 0 -3px; border-radius:2px; opacity:0 }
.gb213.lvup .gb213-cf i{ animation:gb213cf .8s cubic-bezier(.15,.7,.3,1) both }
@keyframes gb213cf{ 0%{ transform:translate(0,0) rotate(0) scale(.4); opacity:1 } 100%{ transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(1); opacity:0 } }
/* رسیدن به مرحلهٔ تازه: فلش و لرزش */
.gb213.lvup{ animation:gb213lv .7s ease-out both !important }
@keyframes gb213lv{
  0%{ transform:scale(1); filter:brightness(2.2) }
  15%{ transform:scale(1.06) translateX(-3px) } 30%{ transform:scale(1.04) translateX(3px) }
  45%{ transform:scale(1.02) translateX(-2px) } 60%{ transform:translateX(2px); filter:brightness(1.3) }
  100%{ transform:none; filter:none }
}
/* ضربهٔ کمبو در مرحلهٔ ۵۰+: لرزش کوتاه کل بنر */
.gb213.pn:not(.lvup){ animation:gb213sk .3s ease-out }
@keyframes gb213sk{ 25%{ transform:translate(-2px,1px) rotate(-.6deg) } 55%{ transform:translate(2px,-1px) rotate(.5deg) } 100%{ transform:none } }

/* ── مرحلهٔ ۱: ۱۰+ «COMBO» — آتش ── */
.gb213.c1{ --bst:#fb923c }
.gb213.c1 .gb213-lb,.gb213.c2 .gb213-lb,.gb213.c3 .gb213-lb{ display:block }
.gb213.c1 .gb213-lb{ background:linear-gradient(90deg,#f97316,#dc2626) }
.gb213.c1 .gb213-n s,.gb213.c1 .gb213-n b{
  background:linear-gradient(180deg,#fffbeb 0%,#fde047 28%,#fb923c 58%,#dc2626 100%); -webkit-background-clip:text; background-clip:text;
  -webkit-text-stroke:1px rgba(80,10,0,.6);
  filter:drop-shadow(0 2px 0 rgba(90,20,0,.6)) drop-shadow(0 0 10px rgba(249,115,22,.85));
}
.gb213.c1 .gb213-n b{ font-size:32px; animation:gb213flk 1.2s ease-in-out infinite }
@keyframes gb213flk{ 0%,100%{ filter:drop-shadow(0 2px 0 rgba(90,20,0,.6)) drop-shadow(0 0 8px rgba(249,115,22,.75)) } 50%{ filter:drop-shadow(0 2px 0 rgba(90,20,0,.6)) drop-shadow(0 0 16px rgba(239,68,68,.95)) } }
.gb213.c1:not(.c2){ box-shadow:-6px 8px 22px -6px var(--glow), 0 0 0 1px rgba(251,146,60,.35), 0 0 18px rgba(249,115,22,.45) }

/* ── مرحلهٔ ۲: ۵۰+ «SUPER» — پرتوهای چرخان، لبهٔ رنگی روان ── */
.gb213.c2{
  --bst:#f472b6; --ray:rgba(253,224,71,.6);
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%) padding-box,
    linear-gradient(100deg, var(--c1) 0%, var(--c2) 62%, var(--c3) 100%) padding-box,
    linear-gradient(90deg,#fde047,#fb923c,#f472b6,#a78bfa,#67e8f9,#fde047) border-box;
  background-size:auto, auto, 300% 100%;
  border-width:2px;
  animation:gb213rim 2.4s linear infinite;
  box-shadow:-6px 8px 26px -4px var(--glow), 0 0 22px rgba(244,114,182,.45);
}
@keyframes gb213rim{ to{ background-position:0 0, 0 0, 300% 0 } }
.gb213.c2 .gb213-ry{ display:block }
.gb213.c2 .gb213-lb{ background:linear-gradient(90deg,#f59e0b,#ec4899,#8b5cf6) }
.gb213.c2 .gb213-n s,.gb213.c2 .gb213-n b{
  background:linear-gradient(100deg,#fffbeb,#fde047 25%,#fb7185 50%,#fde047 75%,#fffbeb); background-size:220% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-stroke:1px rgba(80,10,40,.55);
  animation:gb213tx 1.6s linear infinite;
  filter:drop-shadow(0 2px 0 rgba(80,10,40,.6)) drop-shadow(0 0 12px rgba(244,114,182,.8));
}
.gb213.c2 .gb213-n b{ font-size:34px }
@keyframes gb213tx{ to{ background-position:-220% 0 } }

/* ── مرحلهٔ ۳: ۱۰۰+ «LEGEND» — رنگین‌کمان، هالهٔ برقی، جرقه ── */
.gb213.c3{
  --bst:#67e8f9; --ray:rgba(165,243,252,.55);
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255,255,255,.25), rgba(255,255,255,0) 55%) padding-box,
    linear-gradient(100deg,#2e1065 0%,#6d28d9 45%,#be185d 80%,#1e1b4b 100%) padding-box,
    linear-gradient(90deg,#f43f5e,#f59e0b,#fde047,#22c55e,#06b6d4,#8b5cf6,#f43f5e) border-box;
  background-size:auto, auto, 300% 100%;
  border-width:2px;
  animation:gb213rim 1.6s linear infinite, gb213zap 1.1s ease-in-out infinite;
}
@keyframes gb213zap{
  0%,100%{ box-shadow:-6px 8px 26px -4px rgba(139,92,246,.7), 0 0 18px rgba(34,211,238,.45) }
  50%{ box-shadow:-6px 8px 34px 0 rgba(236,72,153,.75), 0 0 30px rgba(34,211,238,.8) }
}
.gb213.c3 .gb213-lb{
  background:linear-gradient(90deg,#06b6d4,#8b5cf6,#ec4899); font-size:9px; padding:1px 9px;
  box-shadow:0 0 12px rgba(139,92,246,.8);
}
.gb213.c3 .gb213-lb::after{
  content:""; position:absolute; inset:0; background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.75) 50%,transparent 70%);
  background-size:250% 100%; animation:gb213tx 1.3s linear infinite;
}
.gb213.c3 .gb213-n s,.gb213.c3 .gb213-n b{
  background:linear-gradient(100deg,#ecfeff,#67e8f9 20%,#c4b5fd 40%,#f9a8d4 60%,#fde047 80%,#ecfeff); background-size:220% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-stroke:1px rgba(30,10,60,.6);
  animation:gb213tx 1.1s linear infinite;
  filter:drop-shadow(0 2px 0 rgba(30,10,60,.7)) drop-shadow(0 0 14px rgba(103,232,249,.9));
}
.gb213.c3 .gb213-n b{ font-size:36px }
.gb213.c3 .gb213-ry{ display:block; animation-duration:1.8s;
  background:repeating-conic-gradient(from 0deg, rgba(165,243,252,.6) 0 7deg, transparent 7deg 18deg, rgba(244,114,182,.5) 18deg 25deg, transparent 25deg 36deg) }
.gb213.c3 .gb213-sp{ display:block }
.gb213.c3:not(.t3) .gb213-sp i{ box-shadow:0 0 8px 2px #a5f3fc }

/* ═══════════════════ v215 · کارت هدیه در چت لایو ═══════════════════ */
.gc213{
  --a1:#a78bfa; --a2:#7c3aed; --bg1:rgba(76,29,149,.55); --bg2:rgba(46,16,101,.25); --gl:rgba(139,92,246,.45); --nm:#fde68a;
  position:relative; display:inline-flex; align-items:center; gap:9px; max-width:92%; min-height:46px; box-sizing:border-box;
  margin:3px 0; padding:5px 10px 5px 5px; border-radius:16px; overflow:hidden; isolation:isolate;
  background:
    linear-gradient(100deg, var(--bg1), var(--bg2) 70%, rgba(20,8,40,.2)) padding-box,
    linear-gradient(100deg, var(--a1), rgba(255,255,255,.08) 55%, rgba(255,255,255,.04)) border-box;
  border:1px solid transparent;
  box-shadow:0 4px 14px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
[dir=rtl] .gc213{ padding:5px 5px 5px 10px }
/* نوار رنگی کنار کارت */
.gc213::before{
  content:""; position:absolute; top:7px; bottom:7px; inset-inline-start:0; width:3px; border-radius:0 3px 3px 0;
  background:linear-gradient(180deg, var(--a1), var(--a2)); box-shadow:0 0 8px var(--gl);
}
[dir=rtl] .gc213::before{ border-radius:3px 0 0 3px }
/* ورود ردیف تازه + یک برق */
.gc213.nw{ animation:gc213in .5s cubic-bezier(.2,1.3,.3,1) both }
@keyframes gc213in{ 0%{ transform:translateX(-28px) scale(.96); opacity:0 } 100%{ transform:none; opacity:1 } }
[dir=rtl] .gc213.nw{ animation-name:gc213inR }
@keyframes gc213inR{ 0%{ transform:translateX(28px) scale(.96); opacity:0 } 100%{ transform:none; opacity:1 } }
.gc213.nw::after{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(100deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%) no-repeat;
  background-size:250% 100%; background-position:150% 0; animation:gb213sh 1s .3s ease-out both;
}

/* آیکن در سکهٔ درخشان */
.gc213-ic{
  flex:none; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; position:relative;
  background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), var(--bg1) 60%, rgba(0,0,0,.25));
  box-shadow:0 0 0 1.5px var(--a1), 0 0 12px var(--gl);
}
.gc213-ic > *{ max-width:30px; max-height:30px }
.gc213-ic img{ width:30px; height:30px; object-fit:contain }
.gc213.nw .gc213-ic{ animation:gb213pop .55s .12s cubic-bezier(.2,1.8,.4,1) both }

/* متن */
.gc213-tx{ display:flex; flex-direction:column; min-width:0; line-height:1.2 }
.gc213-l1{ display:flex; align-items:center; gap:4px; min-width:0 }
.gc213-l1 b{
  max-width:110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; unicode-bidi:plaintext; cursor:pointer;
  font-size:12.5px; font-weight:900;
  background:linear-gradient(180deg,#fffbeb,var(--nm)); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.gc213-ar{ flex:none; color:rgba(255,255,255,.55) }
[dir=rtl] .gc213-ar{ transform:scaleX(-1) }
.gc213-to{ max-width:90px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; unicode-bidi:plaintext;
  font-style:normal; font-size:12px; font-weight:800; color:#e9d5ff }
.gc213-tx small{ max-width:170px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; unicode-bidi:plaintext;
  margin-top:2px; font-size:11px; font-weight:700; color:rgba(255,255,255,.7) }
.gc213-tx small em{ font-style:normal; font-weight:900; color:#fff }

/* نشان تعداد / کمبو */
.gc213-q{ flex:none; display:flex; align-items:center; gap:4px; margin-inline-start:4px; direction:ltr }
.gc213-q b{
  padding:0 .16em 0 .04em; font-size:17px; font-style:italic; font-weight:900; line-height:1.15;
  background:linear-gradient(180deg,#fffbeb,#fde047 45%,#f59e0b); -webkit-background-clip:text; background-clip:text; color:transparent;
  -webkit-text-stroke:.6px rgba(90,30,0,.5); filter:drop-shadow(0 1px 0 rgba(90,30,0,.5));
}
.gc213-q em{
  font-style:normal; font-size:8px; font-weight:900; letter-spacing:.8px; color:#fff; padding:1px 5px; border-radius:99px;
  background:linear-gradient(90deg,#f97316,#dc2626); box-shadow:0 0 8px rgba(249,115,22,.55);
}
.gc213-q.hot b{ background:linear-gradient(180deg,#fffbeb,#fde047 28%,#fb923c 60%,#dc2626); -webkit-background-clip:text; background-clip:text;
  filter:drop-shadow(0 1px 0 rgba(80,10,0,.55)) drop-shadow(0 0 6px rgba(249,115,22,.7)) }
.gc213.nw .gc213-q{ animation:gb213pop .5s .2s cubic-bezier(.2,1.8,.4,1) both }

/* سطح ۲: طلایی — سطح ۳: افسانه‌ای */
.gc213.t2{ --a1:#fbbf24; --a2:#ea580c; --bg1:rgba(154,52,18,.55); --bg2:rgba(69,26,3,.25); --gl:rgba(245,158,11,.5); --nm:#fff1b8 }
.gc213.t3{ --a1:#f472b6; --a2:#e11d48; --bg1:rgba(157,23,77,.6); --bg2:rgba(74,4,36,.28); --gl:rgba(244,63,94,.6); --nm:#ffe4ec }
.gc213.t3{
  background:
    linear-gradient(100deg, var(--bg1), var(--bg2) 70%, rgba(20,8,40,.2)) padding-box,
    linear-gradient(90deg,#f472b6,#fde047,#67e8f9,#a78bfa,#f472b6) border-box;
  background-size:auto, 300% 100%; animation:gb213rim 3s linear infinite;
}
.gc213.t3.nw{ animation:gc213in .5s cubic-bezier(.2,1.3,.3,1) both, gb213rim 3s linear infinite }
[dir=rtl] .gc213.t3.nw{ animation:gc213inR .5s cubic-bezier(.2,1.3,.3,1) both, gb213rim 3s linear infinite }

/* ═══════════════════ v218 · گرافیک برد هدیهٔ شانسی ═══════════════════ */
/* ── ۱) نشان برد روی آیکن هدیه در بنر: سکهٔ ×N + قرص مبلغ ── */
.gb213-g{ position:relative }
.gb213-lk{ display:none }
.gb213-lk.on{
  --p1:#15803d; --p2:#166534; --pr:#86efac; --pg:rgba(34,197,94,.65);
  position:absolute; z-index:6; left:50%; top:-24px; transform:translateX(-50%);
  display:flex; align-items:center; pointer-events:none; direction:ltr; unicode-bidi:isolate; white-space:nowrap;
}
.gb213-lk.t2{ --p1:#b45309; --p2:#78350f; --pr:#fde68a; --pg:rgba(250,204,21,.75) }
.gb213-lk.t3{ --p1:#be185d; --p2:#701a45; --pr:#fbcfe8; --pg:rgba(244,114,182,.85) }
.gb213-lk .wc{
  position:relative; z-index:2; width:30px; height:30px; border-radius:50%; display:grid; place-items:center; flex:none;
  background:radial-gradient(circle at 35% 28%, #fffbeb 0%, #fde047 30%, #f59e0b 62%, #b45309 100%);
  box-shadow:0 0 0 1.5px #78350f, 0 3px 8px rgba(0,0,0,.45), 0 0 14px var(--pg), inset 0 -2px 3px rgba(120,53,15,.5), inset 0 2px 2px rgba(255,255,255,.7);
}
.gb213-lk .wc .rim{ position:absolute; inset:2px; border-radius:50%;
  background:repeating-conic-gradient(rgba(120,53,15,.35) 0 6deg, transparent 6deg 12deg);
  -webkit-mask:radial-gradient(circle, transparent 62%, #000 64%); mask:radial-gradient(circle, transparent 62%, #000 64%) }
.gb213-lk .wc b{ position:relative; font-size:10px; font-weight:900; font-style:italic; color:#5c2a0a; letter-spacing:-.3px;
  text-shadow:0 1px 0 rgba(255,255,255,.55) }
.gb213-lk .wa{
  display:flex; flex-direction:column; align-items:flex-start; margin-left:-8px; padding:2px 9px 3px 13px; border-radius:0 12px 12px 0; line-height:1;
  background:linear-gradient(180deg, var(--p1), var(--p2)) padding-box, linear-gradient(90deg, var(--pr), rgba(255,255,255,.35)) border-box;
  border:1.5px solid transparent; box-shadow:0 4px 12px rgba(0,0,0,.4), 0 0 14px var(--pg);
}
.gb213-lk.t3 .wa{ background:linear-gradient(180deg, var(--p1), var(--p2)) padding-box, linear-gradient(90deg,#f472b6,#fde047,#67e8f9,#a78bfa,#f472b6) border-box; background-size:auto, 300% 100%; animation:gb213rim 2s linear infinite }
.gb213-lk .wa em{ font-style:normal; font-size:7.5px; font-weight:900; letter-spacing:1.4px; color:var(--pr) }
.gb213-lk .wa b{ font-size:13px; font-weight:900; color:#fff; font-variant-numeric:tabular-nums; text-shadow:0 1px 0 rgba(0,0,0,.35), 0 0 8px var(--pg) }
.gb213-lk .wfx{ position:absolute; left:15px; top:15px; width:0; height:0; z-index:3 }
.gb213-lk .wfx .sp{ position:absolute; width:5px; height:5px; margin:-2.5px; border-radius:50%; background:#fff;
  box-shadow:0 0 6px 2px var(--pr); animation:gb218sp .75s ease-out both }
@keyframes gb218sp{ 0%{ transform:translate(0,0) scale(1.3); opacity:1 } 100%{ transform:translate(var(--tx),var(--ty)) scale(.2); opacity:0 } }
.gb213-lk.pn{ animation:gb218chip .55s cubic-bezier(.2,1.7,.4,1) }
@keyframes gb218chip{ 0%{ transform:translateX(-50%) translateY(10px) scale(.35); opacity:0 } 55%{ transform:translateX(-50%) translateY(-3px) scale(1.12); opacity:1 } 100%{ transform:translateX(-50%) scale(1) } }
.gb213-lk.pn .wc{ animation:gb218spin .7s cubic-bezier(.3,1.4,.5,1) }
@keyframes gb218spin{ from{ transform:rotateY(360deg) } }

/* خط برد در کارت چت */
.gc213-lk{
  align-self:flex-start; margin-top:3px; padding:1px 8px; border-radius:99px; direction:ltr; unicode-bidi:isolate; white-space:nowrap;
  font-size:10.5px; font-weight:900; color:#fff;
  background:linear-gradient(90deg,#16a34a,#15803d); box-shadow:0 0 8px rgba(34,197,94,.45);
}
.gc213-lk.big{ background:linear-gradient(90deg,#db2777,#9d174d); box-shadow:0 0 10px rgba(236,72,153,.6) }

/* ── ۲) پنجرهٔ برد برای همه: BIG (×۱۰+) / MEGA (×۵۰+) / LEGENDARY (×۵۰۰+) ── */
.lw218{
  --g1:#fffbeb; --g2:#fde047; --g3:#f59e0b; --g4:#b45309; --dk:#5c2a0a; --glow:rgba(253,224,71,.85); --ray:rgba(253,224,71,.26); --bg:rgba(69,26,3,.62);
  position:fixed; top:0; bottom:0; z-index:255; pointer-events:none; overflow:hidden;
  display:flex; align-items:center; justify-content:center; direction:ltr; font-family:inherit;
  animation:lw218in .3s ease-out both;
}
.lw218.big{ align-items:flex-start; padding-top:13vh }
.lw218.mega,.lw218.legend{ background:radial-gradient(circle at 50% 44%, var(--bg), rgba(10,4,20,.55) 58%, rgba(10,4,20,.3) 80%) }
.lw218.legend{ --g1:#fdf4ff; --g2:#f0abfc; --g3:#e879f9; --g4:#86198f; --dk:#3b0764; --glow:rgba(232,121,249,.9); --ray:rgba(103,232,249,.24); --bg:rgba(88,28,135,.65) }
.lw218.out{ animation:lw218out .48s ease-in both }
@keyframes lw218in{ from{ opacity:0 } }
@keyframes lw218out{ to{ opacity:0 } }
.lw-flash{ position:absolute; inset:0; background:#fff; opacity:0; animation:lw218fl .45s ease-out both }
@keyframes lw218fl{ 0%{ opacity:.85 } 100%{ opacity:0 } }
.lw-rays{ position:absolute; left:50%; top:44%; width:640px; height:640px; margin:-320px 0 0 -320px; border-radius:50%;
  background:repeating-conic-gradient(from 0deg, var(--ray) 0 7deg, transparent 7deg 20deg);
  -webkit-mask:radial-gradient(circle, #000 8%, transparent 66%); mask:radial-gradient(circle, #000 8%, transparent 66%);
  animation:gb213spin 9s linear infinite }
.lw-rays.r2{ width:460px; height:460px; margin:-230px 0 0 -230px; opacity:.8; animation-direction:reverse; animation-duration:6s;
  background:repeating-conic-gradient(from 10deg, rgba(255,255,255,.2) 0 4deg, transparent 4deg 26deg) }
.lw218.big .lw-rays{ top:calc(13vh + 80px); width:360px; height:360px; margin:-180px 0 0 -180px }
.lw218.legend .lw-rays.r1{ background:repeating-conic-gradient(from 0deg, rgba(103,232,249,.26) 0 7deg, transparent 7deg 14deg, rgba(244,114,182,.24) 14deg 21deg, transparent 21deg 28deg) }
.lw-ring{ position:absolute; left:50%; top:44%; width:120px; height:120px; margin:-60px 0 0 -60px; border-radius:50%;
  border:3px solid var(--g2); box-shadow:0 0 22px var(--glow), inset 0 0 18px var(--glow); opacity:0; animation:lw218ring 1.1s .08s ease-out both }
.lw-ring.d2{ animation-delay:.35s } .lw-ring.d3{ animation-delay:.62s; border-color:#67e8f9 }
@keyframes lw218ring{ 0%{ transform:scale(.2); opacity:1 } 100%{ transform:scale(5.2); opacity:0; border-width:1px } }

/* سکه‌ها */
.lw-coins,.lw-conf{ position:absolute; inset:0 }
.lw218 .c{ position:absolute; width:calc(28px * var(--s)); height:calc(28px * var(--s)); border-radius:50%;
  background:radial-gradient(circle at 35% 28%, #fffbeb 0%, #fde047 32%, #f59e0b 66%, #b45309 100%);
  box-shadow:inset 0 0 0 2px rgba(146,64,14,.6), inset 0 -3px 4px rgba(120,53,15,.45), 0 3px 6px rgba(0,0,0,.35) }
.lw218 .c::after{ content:""; position:absolute; inset:28%; border-radius:50%; border:1.5px solid rgba(146,64,14,.55) }
.lw218 .c.fall{ top:-40px; animation:lw218fall var(--d) cubic-bezier(.35,.05,.6,1) both }
@keyframes lw218fall{ 0%{ transform:translateY(0) rotateY(0) } 100%{ transform:translateY(112vh) rotateY(900deg) } }
.lw218 .c.up{ left:50%; top:62%; margin-left:-14px; animation:lw218up 1.6s cubic-bezier(.2,.7,.4,1) both }
@keyframes lw218up{ 0%{ transform:translate(0,0) rotate(0) scale(.4); opacity:1 }
  45%{ transform:translate(var(--vx),var(--vy)) rotate(calc(var(--r) / 2)) scale(1) }
  100%{ transform:translate(calc(var(--vx) * 1.5),calc(var(--vy) * -.6 + 70vh)) rotate(var(--r)); opacity:.9 } }
.lw218 .c.pop{ left:50%; top:calc(13vh + 80px); margin:-14px 0 0 -14px; animation:lw218pop 1s cubic-bezier(.15,.8,.3,1) both }
@keyframes lw218pop{ 0%{ transform:translate(0,0) scale(.3); opacity:1 } 100%{ transform:translate(calc(var(--vx) * .8),calc(var(--vy) * .8 + 60px)) rotate(var(--r)) scale(.9); opacity:0 } }
.lw218 .cf{ position:absolute; top:-20px; width:7px; height:12px; border-radius:2px; opacity:.95; animation:lw218cf var(--d) linear both }
@keyframes lw218cf{ 0%{ transform:translate(0,0) rotate(0) } 100%{ transform:translate(var(--x),112vh) rotate(var(--r)) } }

/* کارت مرکزی */
.lw-card{ position:relative; z-index:3; display:flex; flex-direction:column; align-items:center; gap:3px; margin-top:-7vh;
  animation:lw218pop2 .75s cubic-bezier(.2,1.5,.35,1) both }
.lw218.big .lw-card{ margin-top:0; padding:14px 26px 12px; border-radius:22px;
  background:radial-gradient(120% 90% at 50% 0%, rgba(120,53,15,.92), rgba(40,14,2,.92)); border:1.5px solid rgba(253,224,71,.55);
  box-shadow:0 14px 40px rgba(0,0,0,.5), 0 0 30px rgba(253,224,71,.35) }
.lw218.legend .lw-card{ animation:lw218pop2 .75s cubic-bezier(.2,1.5,.35,1) both, lw218shake .5s .75s ease-in-out 2 }
@keyframes lw218pop2{ 0%{ transform:scale(.15) rotate(-10deg); opacity:0 } 55%{ transform:scale(1.14) rotate(2deg); opacity:1 } 100%{ transform:none } }
@keyframes lw218shake{ 20%{ transform:translate(-4px,2px) rotate(-1deg) } 40%{ transform:translate(4px,-2px) rotate(1deg) } 60%{ transform:translate(-3px,1px) } 80%{ transform:translate(2px,-1px) } }

/* عنوان فلزی سه‌بعدی + نوار نور */
.lw-title{
  font-size:34px; font-weight:900; font-style:italic; letter-spacing:1px; line-height:1.1; padding:0 .14em;
  background:linear-gradient(100deg, var(--g2) 0%, var(--g1) 18%, var(--g2) 30%, var(--g3) 55%, var(--g1) 72%, var(--g3) 100%);
  background-size:250% 100%; -webkit-background-clip:text; background-clip:text; color:transparent;
  -webkit-text-stroke:1.2px var(--dk);
  filter:drop-shadow(0 2px 0 var(--g4)) drop-shadow(0 2px 0 var(--dk)) drop-shadow(0 6px 10px rgba(0,0,0,.55)) drop-shadow(0 0 16px var(--glow));
  animation:lw218sh 1.6s .4s linear infinite;
}
.lw218.big .lw-title{ font-size:24px }
@keyframes lw218sh{ from{ background-position:120% 0 } to{ background-position:-130% 0 } }
.lw-x{
  display:flex; align-items:baseline; font-size:92px; font-weight:900; font-style:italic; line-height:1; padding:0 .12em 0 .02em; letter-spacing:-2px;
  background:linear-gradient(180deg, var(--g1) 0%, var(--g2) 32%, var(--g3) 66%, var(--g4) 100%); -webkit-background-clip:text; background-clip:text; color:transparent;
  -webkit-text-stroke:2px var(--dk);
  filter:drop-shadow(0 3px 0 var(--g4)) drop-shadow(0 3px 0 var(--dk)) drop-shadow(0 10px 16px rgba(0,0,0,.6)) drop-shadow(0 0 26px var(--glow));
  animation:lw218xpop .9s .15s cubic-bezier(.2,1.8,.4,1) both;
}
.lw-x s{ text-decoration:none; font-size:.5em; margin-right:2px }
.lw218.big .lw-x{ font-size:54px }
.lw218.legend .lw-x{ background:linear-gradient(100deg,#fff 0%,#f0abfc 20%,#67e8f9 42%,#fde047 64%,#f472b6 84%,#fff 100%); background-size:220% 100%;
  -webkit-background-clip:text; background-clip:text; animation:lw218xpop .9s .15s cubic-bezier(.2,1.8,.4,1) both, gb213tx 1.3s 1s linear infinite }
@keyframes lw218xpop{ 0%{ transform:scale(2.6); opacity:0 } 60%{ transform:scale(.92); opacity:1 } 100%{ transform:none } }
.lw-amt{ display:flex; align-items:center; gap:8px; margin-top:2px; padding:4px 16px 4px 6px; border-radius:99px;
  background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.35)); border:1px solid rgba(253,224,71,.45); box-shadow:0 0 18px rgba(253,224,71,.3) }
.lw-coin{ width:26px; height:26px; border-radius:50%; background:radial-gradient(circle at 35% 28%, #fffbeb, #fde047 32%, #f59e0b 66%, #b45309);
  box-shadow:inset 0 0 0 2px rgba(146,64,14,.6); animation:gb218spin 1.2s linear infinite }
.lw-amt b{ font-size:28px; font-weight:900; color:#fff; font-variant-numeric:tabular-nums; text-shadow:0 2px 0 rgba(0,0,0,.4), 0 0 14px var(--glow) }
.lw218.big .lw-amt b{ font-size:20px } .lw218.big .lw-coin{ width:20px; height:20px }
.lw-who{ display:flex; align-items:center; gap:8px; margin-top:6px; padding:4px 12px 4px 4px; border-radius:99px; background:rgba(0,0,0,.4);
  border:1px solid rgba(255,255,255,.12) }
.lw218.big .lw-who{ padding:2px 10px; margin-top:4px }
.lw-who b{ max-width:170px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; unicode-bidi:plaintext; color:#fde68a; font-size:14px; font-weight:900 }
.lw-av{ width:34px; height:34px; border-radius:50%; overflow:hidden; flex:none; box-shadow:0 0 0 2px var(--g2), 0 0 12px var(--glow) }
.lw-av img,.lw-av i{ width:100%; height:100%; object-fit:cover; display:grid; place-items:center; font-style:normal; font-weight:900; color:#fff; background:linear-gradient(135deg,#6d28d9,#db2777) }
.lw-gi{ width:34px; height:34px; display:grid; place-items:center; filter:drop-shadow(0 0 8px var(--glow)) }
.lw-gi > *{ max-width:34px; max-height:34px }
/* جرقه‌های برقی (افسانه‌ای) */
.lw-zap{ position:absolute; inset:-30px -60px; pointer-events:none }
.lw-zap i{ position:absolute; width:4px; height:22px; border-radius:2px; background:linear-gradient(180deg,#fff,#67e8f9); box-shadow:0 0 10px 2px #67e8f9; opacity:0; animation:lw218zap 1.2s ease-in-out infinite }
.lw-zap i:nth-child(1){ left:4%; top:20%; transform:rotate(25deg); animation-delay:.1s }
.lw-zap i:nth-child(2){ right:6%; top:14%; transform:rotate(-30deg); animation-delay:.5s }
.lw-zap i:nth-child(3){ left:10%; bottom:18%; transform:rotate(-20deg); animation-delay:.8s }
.lw-zap i:nth-child(4){ right:8%; bottom:24%; transform:rotate(35deg); animation-delay:.3s }
.lw-zap i:nth-child(5){ left:48%; top:-4%; transform:rotate(80deg); animation-delay:.95s }
.lw-zap i:nth-child(6){ left:52%; bottom:-6%; transform:rotate(-80deg); animation-delay:.65s }
@keyframes lw218zap{ 0%,100%{ opacity:0 } 10%{ opacity:1 } 22%{ opacity:.2 } 30%{ opacity:1 } 45%{ opacity:0 } }
@media (prefers-reduced-motion: reduce){ .lw-rays,.lw-coins,.lw-conf,.lw-zap,.lw-ring,.lw-flash{ display:none } }
