/* ==========================================================================
   ماژول استایل فروشگاه و شخصی‌سازی (فریم‌های آواتار، پشت کارت، VIP، جوایز)
   متناظر با packages/web/public/ui/shopModal.js
   ========================================================================== */

/* ─── استایل‌های VIP و فروشگاه اشتراک (UX 2026) ─── */
.vip-lobby-btn {
  background: linear-gradient(135deg, rgba(244, 201, 93, 0.15), rgba(212, 175, 55, 0.05)) !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  box-shadow: 0 0 10px rgba(244, 201, 93, 0.18);
  transition: all 0.2s var(--ease-spring);
}
.vip-lobby-btn:hover {
  background: linear-gradient(135deg, rgba(244, 201, 93, 0.28), rgba(212, 175, 55, 0.15)) !important;
  box-shadow: 0 0 16px rgba(244, 201, 93, 0.35);
  transform: translateY(-1px);
}

.mp-vip-box {
  background: rgba(14, 24, 18, 0.6);
  border: 1px solid rgba(244, 201, 93, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.mp-vip-tag {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.mp-vip-tag.active {
  background: rgba(244, 201, 93, 0.2);
  color: var(--gold);
  border: 1px solid rgba(244, 201, 93, 0.4);
}
.mp-vip-tag.regular {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
.mp-vip-sub {
  font-size: 12px;
  color: var(--gold);
}
.mp-upgrade-btn {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  font-weight: 700;
  font-size: 12px !important;
}

/* استایل‌های فروشگاه و پلن‌های VIP به صورت یکپارچه در انتهای فایل (بخش پنجره فروشگاه) تعریف شده‌اند */

/* ══════════════════════════════════════════════════════════════════════════════
   سیستم فروشگاه، اقتصاد سکه‌ای، فریم‌های متحرک، پشت کارت و تکیه‌کلام‌ها
   ══════════════════════════════════════════════════════════════════════════════ */

/* ─── ۱. فریم‌های آواتار (Avatar Frames) ──────────────────────────────── */
/*
 * تمام فریم‌ها با انیمیشن آرام طراحی شده‌اند تا از اذیت چشم و سردرد جلوگیری شود.
 * هیچ چرخش سریع یا pulse کوتاه‌مدتی وجود ندارد.
 * @media (prefers-reduced-motion: reduce) انیمیشن همه فریم‌ها را کاملاً خاموش می‌کند.
 */

/* قاعده انحنای ارگانیک و هم‌مرکز (Concentric Squircle): هماهنگ با انحنای آواتار داخلی */
.seat-av-wrap[class*="frame-"],
.seat-av-wrap[class*="frame_"] {
  border-radius: 50%;
}
.seat-av-wrap.sq[class*="frame-"],
.seat-av-wrap.sq[class*="frame_"] {
  border-radius: 30%;
}
.seat-av-wrap[class*="frame-"]::before,
.seat-av-wrap[class*="frame_"]::before,
.seat-av-wrap[class*="frame-"]::after,
.seat-av-wrap[class*="frame_"]::after {
  border-radius: inherit;
}
/* حاشیه تاریک تفکیک‌کننده تصویر آواتار از فریم درخشان */
.seat-av-wrap[class*="frame-"] .seat-avatar,
.seat-av-wrap[class*="frame_"] .seat-avatar {
  box-shadow: 0 0 0 2px rgba(10, 16, 26, 0.95), 0 3px 8px rgba(0, 0, 0, 0.45);
}

/* ── فریم ایرانی (Persian Imperial: تذهیب، فیروزه نیشابور و عقیق لاکی) ── */
.seat-av-wrap.frame-persian, .seat-av-wrap.frame_persian {
  position: relative;
}
.seat-av-wrap.frame-persian::before, .seat-av-wrap.frame_persian::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(251, 191, 36, 0.4) 62%, transparent 68%),
    conic-gradient(
      from 22.5deg,
      #991b1b 0deg 25deg,
      #f59e0b 25deg 45deg,
      #0891b2 45deg 70deg,
      #fbbf24 70deg 90deg,
      #991b1b 90deg 115deg,
      #f59e0b 115deg 135deg,
      #0891b2 135deg 160deg,
      #fbbf24 160deg 180deg,
      #991b1b 180deg 205deg,
      #f59e0b 205deg 225deg,
      #0891b2 225deg 250deg,
      #fbbf24 250deg 270deg,
      #991b1b 270deg 295deg,
      #f59e0b 295deg 315deg,
      #0891b2 315deg 340deg,
      #fbbf24 340deg 360deg
    );
  border: 1.2px solid rgba(251, 191, 36, 0.85);
  box-shadow: inset 0 0 0 1px rgba(153, 27, 27, 0.7), inset 0 0 4px rgba(251, 191, 36, 0.5);
  z-index: 0;
}
.seat-av-wrap.frame-persian::after, .seat-av-wrap.frame_persian::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow:
    0 0 10px rgba(6, 182, 212, 0.55),
    0 0 22px rgba(225, 29, 72, 0.45),
    inset 0 0 6px rgba(251, 191, 36, 0.65);
  animation: framePersianGlow 4.5s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-persian .seat-avatar, .seat-av-wrap.frame_persian .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes framePersianGlow {
  0% {
    opacity: 0.7;
    box-shadow:
      0 0 8px rgba(6, 182, 212, 0.45),
      0 0 16px rgba(185, 28, 28, 0.35),
      inset 0 0 4px rgba(251, 191, 36, 0.45);
  }
  100% {
    opacity: 1;
    box-shadow:
      0 0 14px rgba(6, 182, 212, 0.75),
      0 0 26px rgba(225, 29, 72, 0.65),
      inset 0 0 8px rgba(254, 240, 138, 0.85);
  }
}

/* ── فریم مرمر شاهانه (Carrara Marble & Gold Onyx) ── */
.seat-av-wrap.frame-marble, .seat-av-wrap.frame_marble {
  position: relative;
}
.seat-av-wrap.frame-marble::before, .seat-av-wrap.frame_marble::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0) 36%,
      rgba(217, 119, 6, 0.35) 41%,
      rgba(254, 240, 138, 0.8) 43%,
      rgba(217, 119, 6, 0.3) 45%,
      rgba(255, 255, 255, 0) 50%
    ),
    linear-gradient(125deg,
      #ffffff 0%,
      #f1f5f9 20%,
      #e2e8f0 38%,
      #ffffff 52%,
      #cbd5e1 70%,
      #f8fafc 85%,
      #ffffff 100%
    );
  background-size: 220% 220%, 100% 100%;
  border: 1.2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(202, 138, 4, 0.45),
    inset 0 0 4px rgba(255, 255, 255, 0.8);
  animation: frameMarbleShimmer 6s ease-in-out infinite alternate;
  z-index: 0;
}
.seat-av-wrap.frame-marble::after, .seat-av-wrap.frame_marble::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow:
    0 0 14px rgba(241, 245, 249, 0.7),
    0 0 24px rgba(254, 240, 138, 0.28),
    inset 0 0 5px rgba(255, 255, 255, 0.65);
  animation: frameMarbleGlow 6s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-marble .seat-avatar, .seat-av-wrap.frame_marble .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes frameMarbleShimmer {
  0%   { background-position: 0% 0%, 0% 0%; }
  100% { background-position: 100% 100%, 0% 0%; }
}
@keyframes frameMarbleGlow {
  0%   { opacity: 0.65; box-shadow: 0 0 10px rgba(241, 245, 249, 0.5), 0 0 18px rgba(254, 240, 138, 0.2); }
  100% { opacity: 1;    box-shadow: 0 0 16px rgba(255, 255, 255, 0.85), 0 0 28px rgba(254, 240, 138, 0.4); }
}

/* ── فریم اورورا (Aurora Borealis: شفق قطبی نئونی مدرن) ── */
.seat-av-wrap.frame-aurora, .seat-av-wrap.frame_aurora {
  position: relative;
}
.seat-av-wrap.frame-aurora::before, .seat-av-wrap.frame_aurora::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    #00f2fe 0%,
    #4facfe 20%,
    #8b5cf6 40%,
    #f43f5e 60%,
    #10b981 80%,
    #00f2fe 100%
  );
  background-size: 250% 250%;
  border: 1.2px solid rgba(125, 211, 252, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(139, 92, 246, 0.5),
    inset 0 0 5px rgba(0, 242, 254, 0.5);
  animation: frameAuroraShift 7s ease-in-out infinite alternate;
  z-index: 0;
}
.seat-av-wrap.frame-aurora::after, .seat-av-wrap.frame_aurora::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow:
    0 0 12px rgba(0, 242, 254, 0.6),
    0 0 24px rgba(139, 92, 246, 0.45),
    inset 0 0 6px rgba(244, 63, 94, 0.35);
  animation: frameAuroraGlow 7s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-aurora .seat-avatar, .seat-av-wrap.frame_aurora .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes frameAuroraShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes frameAuroraGlow {
  0% {
    box-shadow:
      0 0 10px rgba(0, 242, 254, 0.5),
      0 0 20px rgba(139, 92, 246, 0.35),
      inset 0 0 4px rgba(244, 63, 94, 0.25);
  }
  50% {
    box-shadow:
      0 0 16px rgba(139, 92, 246, 0.65),
      0 0 28px rgba(244, 63, 94, 0.45),
      inset 0 0 7px rgba(0, 242, 254, 0.45);
  }
  100% {
    box-shadow:
      0 0 12px rgba(16, 185, 129, 0.6),
      0 0 22px rgba(0, 242, 254, 0.4),
      inset 0 0 5px rgba(139, 92, 246, 0.35);
  }
}

/* ── فریم شاهانه (Royal 24K Polished Bullion Gold) ── */
.seat-av-wrap.frame-royal, .seat-av-wrap.frame_royal {
  position: relative;
}
.seat-av-wrap.frame-royal::before, .seat-av-wrap.frame_royal::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: linear-gradient(135deg,
    #ffffff 0%,
    #fef08a 14%,
    #eab308 28%,
    #ca8a04 42%,
    #92400e 52%,
    #ca8a04 62%,
    #fef08a 78%,
    #ffffff 90%,
    #eab308 100%
  );
  border: 1.5px solid rgba(254, 240, 138, 0.95);
  box-shadow:
    inset 0 0 0 1px #854d0e,
    inset 0 0 4px rgba(255, 255, 255, 0.7);
  z-index: 0;
}
.seat-av-wrap.frame-royal::after, .seat-av-wrap.frame_royal::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: linear-gradient(115deg,
    transparent 25%,
    rgba(255, 255, 255, 0.75) 48%,
    rgba(254, 240, 138, 0.9) 52%,
    transparent 70%
  );
  background-size: 260% 260%;
  box-shadow:
    0 0 14px rgba(250, 204, 21, 0.7),
    0 0 28px rgba(217, 119, 6, 0.38),
    inset 0 0 6px rgba(254, 240, 138, 0.75);
  animation: frameRoyalShimmer 5s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-royal .seat-avatar, .seat-av-wrap.frame_royal .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes frameRoyalShimmer {
  0% {
    background-position: 0% 0%;
    box-shadow:
      0 0 10px rgba(250, 204, 21, 0.55),
      0 0 20px rgba(217, 119, 6, 0.3),
      inset 0 0 4px rgba(254, 240, 138, 0.5);
  }
  100% {
    background-position: 100% 100%;
    box-shadow:
      0 0 18px rgba(250, 204, 21, 0.9),
      0 0 36px rgba(234, 179, 8, 0.55),
      inset 0 0 8px rgba(255, 255, 255, 0.95);
  }
}

/* ── فریم نیمه‌شب (Midnight Stellar: یاقوت کبود و کهکشان استلار) ── */
.seat-av-wrap.frame-midnight, .seat-av-wrap.frame_midnight {
  position: relative;
}
.seat-av-wrap.frame-midnight::before, .seat-av-wrap.frame_midnight::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.4) 0%, transparent 50%),
    linear-gradient(135deg,
      #030712 0%,
      #1e1b4b 22%,
      #1e40af 45%,
      #0284c7 65%,
      #0369a1 80%,
      #020617 100%
    );
  border: 1.4px solid rgba(56, 189, 248, 0.85);
  box-shadow:
    inset 0 0 0 1px rgba(30, 58, 138, 0.6),
    inset 0 0 5px rgba(56, 189, 248, 0.45);
  z-index: 0;
}
.seat-av-wrap.frame-midnight::after, .seat-av-wrap.frame_midnight::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow:
    0 0 14px rgba(56, 189, 248, 0.6),
    0 0 28px rgba(37, 99, 235, 0.38),
    inset 0 0 6px rgba(125, 211, 252, 0.45);
  animation: frameMidnightStar 4s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-midnight .seat-avatar, .seat-av-wrap.frame_midnight .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes frameMidnightStar {
  0% {
    opacity: 0.6;
    box-shadow:
      0 0 8px rgba(56, 189, 248, 0.35),
      0 0 18px rgba(37, 99, 235, 0.25),
      inset 0 0 4px rgba(14, 165, 233, 0.25);
  }
  100% {
    opacity: 1;
    box-shadow:
      0 0 18px rgba(56, 189, 248, 0.8),
      0 0 34px rgba(59, 130, 246, 0.5),
      inset 0 0 8px rgba(125, 211, 252, 0.65);
  }
}

/* ── فریم زمرد سلطنتی (Imperial Emerald: زمرد کلمبیا با قاب تذهیب زرین ۲۴ عیار) ── */
.seat-av-wrap.frame-emerald, .seat-av-wrap.frame_emerald {
  position: relative;
}
.seat-av-wrap.frame-emerald::before, .seat-av-wrap.frame_emerald::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, transparent 54%, rgba(251, 191, 36, 0.55) 60%, transparent 68%),
    conic-gradient(
      from 45deg,
      #022c22 0deg 45deg,
      #b45309 45deg 70deg,
      #047857 70deg 135deg,
      #fbbf24 135deg 160deg,
      #065f46 160deg 225deg,
      #b45309 225deg 250deg,
      #059669 250deg 315deg,
      #fbbf24 315deg 340deg,
      #022c22 340deg 360deg
    );
  border: 1.6px solid rgba(251, 191, 36, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(180, 83, 9, 0.8),
    inset 0 0 6px rgba(16, 185, 129, 0.7);
  z-index: 0;
}
.seat-av-wrap.frame-emerald::after, .seat-av-wrap.frame_emerald::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow:
    0 0 13px rgba(16, 185, 129, 0.75),
    0 0 26px rgba(245, 158, 11, 0.5),
    inset 0 0 6px rgba(254, 240, 138, 0.8);
  animation: frameEmeraldGlow 5s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-emerald .seat-avatar, .seat-av-wrap.frame_emerald .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes frameEmeraldGlow {
  0% {
    opacity: 0.65;
    box-shadow:
      0 0 9px rgba(16, 185, 129, 0.5),
      0 0 18px rgba(217, 119, 6, 0.35),
      inset 0 0 4px rgba(254, 240, 138, 0.5);
  }
  100% {
    opacity: 1;
    box-shadow:
      0 0 17px rgba(16, 185, 129, 0.9),
      0 0 32px rgba(245, 158, 11, 0.65),
      inset 0 0 8px rgba(254, 240, 138, 0.95);
  }
}

/* ── فریم یاقوت ارغوانی (Mystic Amethyst: کریستال ارغوانی شاهانه و نور مهتابی) ── */
.seat-av-wrap.frame-amethyst, .seat-av-wrap.frame_amethyst {
  position: relative;
}
.seat-av-wrap.frame-amethyst::before, .seat-av-wrap.frame_amethyst::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 30% 25%, rgba(243, 232, 255, 0.55) 0%, transparent 45%),
    conic-gradient(
      from 25deg,
      #1e1b4b 0deg 40deg,
      #581c87 40deg 90deg,
      #c084fc 90deg 130deg,
      #2e1065 130deg 180deg,
      #7e22ce 180deg 230deg,
      #e9d5ff 230deg 260deg,
      #4c1d95 260deg 310deg,
      #a855f7 310deg 340deg,
      #1e1b4b 340deg 360deg
    );
  border: 1.4px solid rgba(233, 213, 255, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(76, 29, 149, 0.8),
    inset 0 0 6px rgba(192, 132, 252, 0.7);
  z-index: 0;
}
.seat-av-wrap.frame-amethyst::after, .seat-av-wrap.frame_amethyst::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow:
    0 0 13px rgba(168, 85, 247, 0.7),
    0 0 28px rgba(88, 28, 135, 0.55),
    inset 0 0 7px rgba(243, 232, 255, 0.75);
  animation: frameAmethystGlow 4.8s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-amethyst .seat-avatar, .seat-av-wrap.frame_amethyst .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes frameAmethystGlow {
  0% {
    opacity: 0.65;
    box-shadow:
      0 0 8px rgba(168, 85, 247, 0.45),
      0 0 18px rgba(88, 28, 135, 0.35),
      inset 0 0 4px rgba(216, 180, 254, 0.45);
  }
  100% {
    opacity: 1;
    box-shadow:
      0 0 17px rgba(168, 85, 247, 0.9),
      0 0 34px rgba(107, 33, 168, 0.7),
      inset 0 0 9px rgba(243, 232, 255, 0.9);
  }
}

/* ── فریم آتشین (Blazing Flame & Molten Embers: زبانه و حرارت آتش سرخ و طلایی) ── */
.seat-av-wrap.frame-fire, .seat-av-wrap.frame_fire {
  position: relative;
}
.seat-av-wrap.frame-fire::before, .seat-av-wrap.frame_fire::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 88%, rgba(254, 240, 138, 0.65) 0%, rgba(245, 158, 11, 0.4) 30%, transparent 60%),
    conic-gradient(
      from 10deg,
      #991b1b 0deg 30deg,
      #ea580c 30deg 75deg,
      #f59e0b 75deg 120deg,
      #fef08a 120deg 140deg,
      #dc2626 140deg 190deg,
      #b45309 190deg 235deg,
      #f97316 235deg 290deg,
      #ef4444 290deg 330deg,
      #991b1b 330deg 360deg
    );
  border: 1.3px solid rgba(251, 146, 60, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(153, 27, 27, 0.75),
    inset 0 0 5px rgba(245, 158, 11, 0.6);
  z-index: 0;
}
.seat-av-wrap.frame-fire::after, .seat-av-wrap.frame_fire::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow:
    0 0 13px rgba(249, 115, 22, 0.75),
    0 0 26px rgba(220, 38, 38, 0.5),
    inset 0 0 6px rgba(254, 240, 138, 0.75);
  animation: frameFireGlow 4.2s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-fire .seat-avatar, .seat-av-wrap.frame_fire .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes frameFireGlow {
  0% {
    opacity: 0.65;
    box-shadow:
      0 0 9px rgba(249, 115, 22, 0.5),
      0 0 18px rgba(185, 28, 28, 0.35),
      inset 0 0 4px rgba(245, 158, 11, 0.45);
  }
  100% {
    opacity: 1;
    box-shadow:
      0 0 16px rgba(249, 115, 22, 0.9),
      0 0 32px rgba(220, 38, 38, 0.7),
      inset 0 0 8px rgba(254, 240, 138, 0.95);
  }
}

/* ── فریم طلای سلطنتی VIP (VIP Solar Gold: پرتوهای زرین خورشیدی و بازتاب اشرافی) ── */
.seat-av-wrap.frame-gold, .seat-av-wrap.frame_gold {
  position: relative;
}
.seat-av-wrap.frame-gold::before, .seat-av-wrap.frame_gold::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, transparent 55%, rgba(254, 240, 138, 0.5) 60%, transparent 68%),
    conic-gradient(
      from 0deg,
      #ca8a04 0deg 45deg,
      #fef08a 45deg 90deg,
      #854d0e 90deg 135deg,
      #fde047 135deg 180deg,
      #ca8a04 180deg 225deg,
      #fef08a 225deg 270deg,
      #854d0e 270deg 315deg,
      #fde047 315deg 360deg
    );
  border: 1.4px solid rgba(254, 240, 138, 0.95);
  box-shadow:
    inset 0 0 0 1px #78350f,
    inset 0 0 5px rgba(255, 255, 255, 0.85);
  z-index: 0;
}
.seat-av-wrap.frame-gold::after, .seat-av-wrap.frame_gold::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow:
    0 0 14px rgba(234, 179, 8, 0.8),
    0 0 28px rgba(202, 138, 4, 0.45),
    inset 0 0 7px rgba(255, 255, 255, 0.85);
  animation: frameGoldGlow 4.8s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-gold .seat-avatar, .seat-av-wrap.frame_gold .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes frameGoldGlow {
  0% {
    opacity: 0.65;
    box-shadow:
      0 0 9px rgba(234, 179, 8, 0.5),
      0 0 18px rgba(161, 98, 7, 0.3),
      inset 0 0 4px rgba(254, 240, 138, 0.5);
  }
  100% {
    opacity: 1;
    box-shadow:
      0 0 18px rgba(250, 204, 21, 0.9),
      0 0 34px rgba(217, 119, 6, 0.6),
      inset 0 0 9px rgba(255, 255, 255, 0.95);
  }
}

/* ── فریم کریستال الماس (Diamond Neon Crystal: تلألو منشوری الماس و یخ نقره‌فام) ── */
.seat-av-wrap.frame-diamond, .seat-av-wrap.frame_diamond {
  position: relative;
}
.seat-av-wrap.frame-diamond::before, .seat-av-wrap.frame_diamond::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(224, 242, 254, 0.85) 45%,
      rgba(255, 255, 255, 0) 60%
    ),
    conic-gradient(
      from 45deg,
      #0284c7 0deg 40deg,
      #38bdf8 40deg 90deg,
      #e0f2fe 90deg 135deg,
      #ffffff 135deg 180deg,
      #7dd3fc 180deg 225deg,
      #0369a1 225deg 270deg,
      #38bdf8 270deg 315deg,
      #ffffff 315deg 360deg
    );
  background-size: 200% 200%, 100% 100%;
  border: 1.3px solid rgba(224, 242, 254, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(2, 132, 199, 0.65),
    inset 0 0 6px rgba(255, 255, 255, 0.85);
  animation: frameDiamondShimmer 6s ease-in-out infinite alternate;
  z-index: 0;
}
.seat-av-wrap.frame-diamond::after, .seat-av-wrap.frame_diamond::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow:
    0 0 14px rgba(56, 189, 248, 0.8),
    0 0 28px rgba(186, 230, 253, 0.5),
    inset 0 0 7px rgba(255, 255, 255, 0.9);
  animation: frameDiamondGlow 5.2s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-diamond .seat-avatar, .seat-av-wrap.frame_diamond .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes frameDiamondShimmer {
  0%   { background-position: 0% 0%, 0% 0%; }
  100% { background-position: 100% 100%, 0% 0%; }
}
@keyframes frameDiamondGlow {
  0% {
    opacity: 0.65;
    box-shadow:
      0 0 9px rgba(56, 189, 248, 0.5),
      0 0 18px rgba(2, 132, 199, 0.3),
      inset 0 0 4px rgba(186, 230, 253, 0.5);
  }
  100% {
    opacity: 1;
    box-shadow:
      0 0 18px rgba(56, 189, 248, 0.95),
      0 0 34px rgba(14, 165, 233, 0.6),
      inset 0 0 9px rgba(255, 255, 255, 0.95);
  }
}

/* ── فریم نئون سایبری (Cyber Synthwave: لوله‌های نئونی ارغوانی و فوشیا با پالس مدرن) ── */
.seat-av-wrap.frame-neon-purple, .seat-av-wrap.frame-neon_purple,
.seat-av-wrap.frame_neon_purple, .seat-av-wrap.frame_neon-purple {
  position: relative;
}
.seat-av-wrap.frame-neon-purple::before, .seat-av-wrap.frame-neon_purple::before,
.seat-av-wrap.frame_neon_purple::before, .seat-av-wrap.frame_neon-purple::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background:
    conic-gradient(
      from 0deg,
      #00f2fe 0deg 90deg,
      #0f172a 90deg 110deg,
      #ff007f 110deg 200deg,
      #0f172a 200deg 220deg,
      #00f2fe 220deg 310deg,
      #0f172a 310deg 330deg,
      #f43f5e 330deg 360deg
    );
  border: 1.5px solid #00f2fe;
  box-shadow:
    inset 0 0 0 1px #ff007f,
    inset 0 0 6px #00f2fe;
  animation: frameCyberRotate 8s linear infinite;
  z-index: 0;
}
.seat-av-wrap.frame-neon-purple::after, .seat-av-wrap.frame-neon_purple::after,
.seat-av-wrap.frame_neon_purple::after, .seat-av-wrap.frame_neon-purple::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow:
    0 0 12px rgba(0, 242, 254, 0.9),
    0 0 24px rgba(255, 0, 127, 0.75),
    0 0 38px rgba(6, 182, 212, 0.45),
    inset 0 0 6px #ffffff;
  animation: frameCyberGlow 3.6s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-neon-purple .seat-avatar, .seat-av-wrap.frame-neon_purple .seat-avatar,
.seat-av-wrap.frame_neon_purple .seat-avatar, .seat-av-wrap.frame_neon-purple .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes frameCyberRotate {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
@keyframes frameCyberGlow {
  0% {
    opacity: 0.7;
    box-shadow:
      0 0 10px rgba(0, 242, 254, 0.75),
      0 0 20px rgba(255, 0, 127, 0.6),
      inset 0 0 5px rgba(255, 255, 255, 0.75);
  }
  100% {
    opacity: 1;
    box-shadow:
      0 0 18px rgba(0, 242, 254, 1),
      0 0 34px rgba(255, 0, 127, 0.9),
      0 0 46px rgba(6, 182, 212, 0.6),
      inset 0 0 8px #ffffff;
  }
}

/* ── فریم زمرد سبز طبیعت (Enchanted Nature: جوانه سبز لیمویی، خزه جنگلی و شب‌تاب‌های بهاری) ── */
.seat-av-wrap.frame-nature-emerald, .seat-av-wrap.frame-nature_emerald,
.seat-av-wrap.frame_nature_emerald, .seat-av-wrap.frame_nature-emerald {
  position: relative;
}
.seat-av-wrap.frame-nature-emerald::before, .seat-av-wrap.frame-nature_emerald::before,
.seat-av-wrap.frame_nature_emerald::before, .seat-av-wrap.frame_nature-emerald::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 20%, rgba(190, 242, 100, 0.75) 0%, transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(134, 239, 172, 0.65) 0%, transparent 35%),
    conic-gradient(
      from 45deg,
      #14532d 0deg 60deg,
      #65a30d 60deg 110deg,
      #a3e635 110deg 160deg,
      #15803d 160deg 210deg,
      #84cc16 210deg 270deg,
      #bef264 270deg 320deg,
      #14532d 320deg 360deg
    );
  border: 1.5px solid #a3e635;
  box-shadow:
    inset 0 0 0 1px #365314,
    inset 0 0 6px #84cc16;
  z-index: 0;
}
.seat-av-wrap.frame-nature-emerald::after, .seat-av-wrap.frame-nature_emerald::after,
.seat-av-wrap.frame_nature_emerald::after, .seat-av-wrap.frame_nature-emerald::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow:
    0 0 14px rgba(163, 230, 53, 0.85),
    0 0 28px rgba(34, 197, 94, 0.55),
    inset 0 0 6px rgba(217, 249, 157, 0.85);
  animation: frameNatureGlow 4.8s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.seat-av-wrap.frame-nature-emerald .seat-avatar, .seat-av-wrap.frame-nature_emerald .seat-avatar,
.seat-av-wrap.frame_nature_emerald .seat-avatar, .seat-av-wrap.frame_nature-emerald .seat-avatar {
  position: relative;
  z-index: 2;
}
@keyframes frameNatureGlow {
  0% {
    opacity: 0.65;
    box-shadow:
      0 0 9px rgba(163, 230, 53, 0.55),
      0 0 18px rgba(34, 197, 94, 0.35),
      inset 0 0 4px rgba(217, 249, 157, 0.5);
  }
  100% {
    opacity: 1;
    box-shadow:
      0 0 18px rgba(163, 230, 53, 0.95),
      0 0 34px rgba(34, 197, 94, 0.7),
      inset 0 0 8px rgba(236, 252, 203, 0.95);
  }
}

/* ── prefers-reduced-motion: همه انیمیشن‌های فریم متوقف می‌شوند ── */
@media (prefers-reduced-motion: reduce) {
  .seat-av-wrap[class*="frame-"]::before,
  .seat-av-wrap[class*="frame_"]::before,
  .seat-av-wrap[class*="frame-"]::after,
  .seat-av-wrap[class*="frame_"]::after {
    animation: none !important;
  }
}

/* ─── ۲. طرح‌های پشت کارت (Card Backs) ─────────────────────────────────── */
.card.back.cardback_art_deco {
  background: #0d281e url('/cardbacks/art_deco.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #d4a359 !important;
  box-shadow: inset 0 0 0 1px #05140f, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_ruby_gem {
  background: #1a0508 url('/cardbacks/ruby_gem.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #b91c1c !important;
  box-shadow: inset 0 0 0 1px #2b0b10, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_ouroboros_dragon {
  background: #23140e url('/cardbacks/ouroboros_dragon.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #c2932c !important;
  box-shadow: inset 0 0 0 1px #150905, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_damask_velvet {
  background: #0f0709 url('/cardbacks/damask_velvet.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #991b1b !important;
  box-shadow: inset 0 0 0 1px #2a0b12, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_mystic_journey {
  background: #0a0812 url('/cardbacks/mystic_journey.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #9333ea !important;
  box-shadow: inset 0 0 0 1px #1a0f2e, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_crimson_sigil {
  background: #080305 url('/cardbacks/crimson_sigil.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #991b1b !important;
  box-shadow: inset 0 0 0 1px #220308, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_celestial_zodiac {
  background: #1c0818 url('/cardbacks/celestial_zodiac.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #d4a359 !important;
  box-shadow: inset 0 0 0 1px #3b102b, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_ancient_mosaic {
  background: #1a1208 url('/cardbacks/ancient_mosaic.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #b45309 !important;
  box-shadow: inset 0 0 0 1px #381f08, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_arcane_grimoire {
  background: #0f1c2e url('/cardbacks/arcane_grimoire.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #c2932c !important;
  box-shadow: inset 0 0 0 1px #0a1320, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_golden_peacock {
  background: #0e1214 url('/cardbacks/golden_peacock.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #eab308 !important;
  box-shadow: inset 0 0 0 1px #1e293b, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_midnight_lineart {
  background: #0b1a30 url('/cardbacks/midnight_lineart.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #38bdf8 !important;
  box-shadow: inset 0 0 0 1px #082f49, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_vintage_parchment {
  background: #f2ebd7 url('/cardbacks/vintage_parchment.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #d4c5a9 !important;
  box-shadow: inset 0 0 0 1px #a89878, 0 2px 6px rgba(0,0,0,0.35) !important;
}

.card.back.cardback_tarot_feathers {
  background: #0a1118 url('/cardbacks/tarot_feathers.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #38bdf8 !important;
  box-shadow: inset 0 0 0 1px #0369a1, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_baroque_leather {
  background: #2a1208 url('/cardbacks/baroque_leather.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #d97706 !important;
  box-shadow: inset 0 0 0 1px #451a03, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_twin_dragons {
  background: #09090b url('/cardbacks/twin_dragons.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #e4e4e7 !important;
  box-shadow: inset 0 0 0 1px #27272a, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_cosmic_lovers {
  background: #0c0d10 url('/cardbacks/cosmic_lovers.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #d4a359 !important;
  box-shadow: inset 0 0 0 1px #231d16, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_golden_shamsah {
  background: #0d0906 url('/cardbacks/golden_shamsah.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #ca8a04 !important;
  box-shadow: inset 0 0 0 1px #291807, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_gatsby_dancer {
  background: #0d0d0d url('/cardbacks/gatsby_dancer.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #eab308 !important;
  box-shadow: inset 0 0 0 1px #262626, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_turquoise_toranj {
  background: #071927 url('/cardbacks/turquoise_toranj.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #0284c7 !important;
  box-shadow: inset 0 0 0 1px #0c4a6e, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_origins_swords {
  background: #0d0b09 url('/cardbacks/origins_swords.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #ca8a04 !important;
  box-shadow: inset 0 0 0 1px #1f160e, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_crimson_toranj {
  background: #1a0408 url('/cardbacks/crimson_toranj.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #dc2626 !important;
  box-shadow: inset 0 0 0 1px #33080f, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_hermetic_alchemy {
  background: #19140e url('/cardbacks/hermetic_alchemy.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #c2932c !important;
  box-shadow: inset 0 0 0 1px #231b12, 0 2px 6px rgba(0,0,0,0.45) !important;
}

.card.back.cardback_classic_red {
  background: #ffffff url('/cardbacks/classic_red.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #ef4444 !important;
  box-shadow: inset 0 0 0 1px #fee2e2, 0 2px 6px rgba(0,0,0,0.3) !important;
}

.card.back[class*="cardback_"] .fb-frame,
.card.back[class*="cardback_"] .fb-medallion {
  display: none !important;
}

/* ─── انتخاب طرح پشت کارت در تنظیمات پروفایل و شیت تنظیمات ─── */
.pf-cardbacks-section {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(244, 201, 93, 0.18);
  border-radius: 12px;
}
.pf-cardbacks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pf-cardbacks-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold, #f4c95d);
}
.pf-cardbacks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 6px 0;
}
.pf-cardback-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
}
.pf-cardback-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(244, 201, 93, 0.4);
}
.pf-cardback-card.active {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}
.pf-cardback-card .card {
  width: 74px !important;
  height: 95px !important;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.pf-cardback-badge {
  position: absolute;
  top: 4px;
  inset-inline-start: 4px;
  background: #10b981;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 5px;
  line-height: 1.2;
}
.pf-cardback-name {
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 2px;
}
.pf-cardback-card.active .pf-cardback-name {
  color: #34d399;
  font-weight: 700;
}
.pf-cardback-shop-btn {
  margin-top: 8px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--gold);
  border: 1px dashed rgba(244, 201, 93, 0.4);
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(244, 201, 93, 0.06);
  cursor: pointer;
  transition: background 0.15s;
}
.pf-cardback-shop-btn:hover {
  background: rgba(244, 201, 93, 0.14);
}


/* ─── ۳. القاب، بوستر و تکیه‌کلام‌ها سر میز ────────────────────────────── */
.seat-player-title {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 1px 6px;
  border-radius: 6px;
  margin-top: 2px;
  white-space: nowrap;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seat-booster-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #facc15;
  margin-right: 3px;
  filter: drop-shadow(0 0 4px #eab308);
  animation: boosterPulse 1.6s ease-in-out infinite;
}
@keyframes boosterPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px #eab308); }
  50% { transform: scale(1.2); filter: drop-shadow(0 0 7px #facc15); }
  100% { transform: scale(1); filter: drop-shadow(0 0 2px #eab308); }
}

/* حباب تکیه‌کلام صوتی */
.voice-taunt-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #f8fafc;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 8px rgba(245, 158, 11, 0.35);
  white-space: nowrap;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.voice-taunt-bubble.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ─── ۴. دکمه‌های نوار لابی و پروفایل ──────────────────────────────────── */
.lb3-coin-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #151926;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  font-family: inherit;
  color: #f6d97a;
  text-decoration: none;
}
.lb3-coin-badge:hover {
  background: #1c2030;
  border-color: rgba(244, 197, 66, 0.35);
  transform: translateY(-1px);
}
.lb3-coin-badge .lb3-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #241a04;
  border: 1.5px solid rgba(244, 197, 66, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(184, 134, 42, 0.3);
  flex: none;
}
.lb3-coin-badge .lb3-badge-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #f6d97a;
}

.lb3-booster-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #151926;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  font-family: inherit;
  color: #c9c1fb;
  text-decoration: none;
}
.lb3-booster-badge:hover {
  background: #1c2030;
  border-color: rgba(139, 124, 246, 0.4);
  transform: translateY(-1px);
}
.lb3-booster-badge .lb3-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(139, 124, 246, 0.18);
  border: 1px solid rgba(139, 124, 246, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(91, 70, 201, 0.25);
  flex: none;
}
.lb3-booster-badge .lb3-badge-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #c9c1fb;
}

/* ─── ۵. پنجره کامل و یکپارچه فروشگاه و اقتصاد بازی (Unified Shop Modal) ─── */
.shop-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 15, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  z-index: 9999;
  overflow-y: auto;
  padding: 16px;
  animation: modalFadeIn 0.2s ease-out;
}
.shop-modal {
  background: #151926;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  width: 850px;
  max-width: 96vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(244, 201, 93, 0.08);
  overflow: hidden;
  position: relative;
  color: #f2f3f6;
}
.shop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(244, 201, 93, 0.06), transparent);
  flex-shrink: 0;
}
.shop-head-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.shop-head-title h2 {
  margin: 0;
  font-size: 18px;
  color: #f2f3f6;
  font-weight: 800;
}
.shop-head-icon {
  width: 28px;
  height: 28px;
  color: #f4c542;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(244, 201, 93, 0.5));
}
.shop-head-icon .shop-svg-ic {
  width: 24px;
  height: 24px;
}
.shop-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a8adbd;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.shop-close-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  transform: scale(1.05);
}
.shop-balance-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #12151f;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.shop-balance-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #8b90a0;
}
.shop-quick-charge-btn {
  background: linear-gradient(135deg, rgba(244, 201, 93, 0.2), rgba(212, 167, 55, 0.1));
  border: 1px solid rgba(244, 201, 93, 0.35);
  color: #f4c542;
  border-radius: 9px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit;
  margin-right: 6px;
}
.shop-quick-charge-btn:hover {
  background: linear-gradient(135deg, #f4c542, #d4af37);
  color: #1a1200;
  box-shadow: 0 0 12px rgba(244, 201, 93, 0.4);
  transform: translateY(-1px);
}
.shop-quick-charge-btn .shop-svg-ic {
  width: 13px;
  height: 13px;
}
.shop-balance-val {
  font-weight: 800;
  color: #f6d97a;
  font-size: 17px;
  text-shadow: 0 0 10px rgba(246, 210, 113, 0.4);
}
.shop-active-booster-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.38);
  padding: 4px 11px;
  border-radius: 12px;
  color: #fef08a;
}
.shop-active-shield-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 4px 11px;
  border-radius: 12px;
  color: #bfdbfe;
}
.shop-nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #0f1219;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 201, 93, 0.35) transparent;
  flex-shrink: 0;
}
.shop-nav-tabs::-webkit-scrollbar {
  height: 4px;
}
.shop-nav-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}
.shop-nav-tabs::-webkit-scrollbar-thumb {
  background: rgba(244, 201, 93, 0.28);
  border-radius: 4px;
}
.shop-nav-tabs::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 201, 93, 0.55);
}
.shop-nav-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8b90a0;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.16s ease;
  font-family: inherit;
  position: relative;
  flex-shrink: 0;
}
.shop-nav-tab:hover {
  color: #f2f3f6;
  background: rgba(244, 201, 93, 0.08);
  border-color: rgba(244, 201, 93, 0.25);
}
.shop-nav-tab.active {
  color: #1a1200;
  background: linear-gradient(160deg, #f9dd8a, #f4c542 60%, #b8862a);
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(212, 167, 55, 0.4);
}
.shop-tab-badge {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  margin-right: 2px;
  animation: shopTabPulse 1.6s infinite ease-in-out;
  display: inline-block;
}
@keyframes shopTabPulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 6px #f59e0b; }
  50% { transform: scale(1.4); opacity: 0.65; box-shadow: 0 0 12px #f59e0b; }
}
.shop-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 16px;
}
.shop-item-card {
  background: #1c2030;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.2s var(--ease-spring), border-color 0.2s, box-shadow 0.2s;
}
.shop-item-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 197, 66, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(244, 197, 66, 0.1);
}
.shop-item-card.equipped {
  border-color: rgba(52, 211, 153, 0.6);
  background: rgba(52, 211, 153, 0.06);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.15);
}
.shop-item-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #e11d48, #f59e0b);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.shop-item-preview {
  width: 90px;
  height: 76px;
  margin: 6px 0 12px;
  display: grid;
  place-items: center;
}

/* ─── استیج پیش‌نمایش فریم‌های آواتار در فروشگاه ─── */
.shop-frame-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 72px;
}
.sfs-pedestal {
  position: absolute;
  bottom: 0px;
  width: 58px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
  transition: transform 0.22s var(--ease-spring), opacity 0.22s, background 0.22s;
}
.shop-item-card:hover .sfs-pedestal {
  transform: scale(1.18);
  background: radial-gradient(ellipse at center, rgba(244, 201, 93, 0.35) 0%, rgba(244, 201, 93, 0) 72%);
}
.shop-item-card:hover .shop-frame-stage .seat-av-wrap {
  transform: translateY(-2px);
  transition: transform 0.22s var(--ease-spring);
}

/* ─── مینی‌میز پیش‌نمایش پارچه‌ها (Mini-Table Staging) ─── */
.shop-mini-table {
  width: 88px;
  height: 56px;
  display: grid;
  place-items: center;
  perspective: 400px;
}
.smt-rail {
  width: 86px;
  height: 52px;
  border-radius: 26px;
  background: var(--smt-rail, #3a2218);
  border: 1.5px solid rgba(244, 201, 93, 0.3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.18);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s var(--ease-spring), border-color 0.22s, box-shadow 0.22s;
}
.smt-felt {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: var(--smt-felt, #1a4d36);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.smt-mini-card {
  width: 12px;
  height: 17px;
  border-radius: 2px;
  background: #f4ecd8;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  transform: rotate(-10deg);
  border: 0.5px solid rgba(0, 0, 0, 0.25);
  position: relative;
}
.smt-mini-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: rgba(178, 53, 48, 0.18);
  border: 0.5px dashed rgba(178, 53, 48, 0.4);
}
.shop-item-card:hover .smt-rail {
  transform: scale(1.08) rotateX(8deg);
  border-color: var(--gold);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.7), 0 0 14px rgba(244, 201, 93, 0.25);
}

/* ─── صحنه سه‌بعدی پشت کارت‌ها (3D Tilt & Flip) ─── */
.shop-cardback-stage {
  perspective: 500px;
  display: grid;
  place-items: center;
  height: 76px;
}
.scb-tilt {
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s;
  position: relative;
  display: inline-block;
}
.shop-item-card:hover .scb-tilt {
  transform: rotateY(16deg) rotateX(-8deg) translateY(-3px) scale(1.08);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6));
}
.scb-sheen {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.shop-item-card:hover .scb-sheen {
  opacity: 1;
}

/* ─── موج صوتی برای پیش‌شنوایی تکیه‌کلام‌ها ─── */
.shop-voice-preview-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #8b90a0;
  font-size: 11px;
  padding: 4px 9px;
  margin: 2px;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.shop-voice-preview-btn:hover {
  background: rgba(244, 201, 93, 0.18);
  border-color: rgba(244, 201, 93, 0.4);
  color: #f4c542;
}
.shop-voice-preview-btn.playing {
  background: rgba(244, 201, 93, 0.28) !important;
  border-color: #f4c542 !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(244, 201, 93, 0.35);
}
.shop-soundwave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}
.shop-soundwave span {
  width: 2px;
  background: #f4c542;
  border-radius: 1px;
  animation: soundwaveBar 0.5s infinite alternate ease-in-out;
}
.shop-soundwave span:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.shop-soundwave span:nth-child(2) { height: 11px; animation-delay: 0.22s; }
.shop-soundwave span:nth-child(3) { height: 6px; animation-delay: 0.35s; }
@keyframes soundwaveBar {
  0% { height: 3px; }
  100% { height: 11px; }
}

.shop-item-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #f2f3f6;
  margin-bottom: 6px;
}
.shop-item-desc {
  font-size: 11.5px;
  color: #8b90a0;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}
.shop-item-price {
  font-size: 14px;
  font-weight: 800;
  color: #f6d97a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.shop-item-btn {
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.shop-item-btn.buy {
  background: linear-gradient(135deg, #f9dd8a, #f4c542 60%, #c48e1e);
  color: #231600;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(244, 197, 66, 0.25);
}
.shop-item-btn.buy:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(244, 197, 66, 0.35);
}
.shop-item-btn.equip {
  background: rgba(255, 255, 255, 0.06);
  color: #f2f3f6;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.shop-item-btn.equip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(244, 201, 93, 0.35);
}
.shop-item-btn.equipped {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.38);
  cursor: default;
}

/* ۶. روزشمار و جایزه ورود روزانه (Daily Login Reward) */
.daily-streak-container {
  background: #1c2030;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 22px;
}
.daily-streak-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.daily-streak-title {
  font-size: 15px;
  font-weight: 700;
  color: #f6d97a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.daily-days-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  position: relative;
}
@media (max-width: 600px) {
  .daily-days-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
.daily-day-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  position: relative;
  transition: all 0.2s ease;
}
.daily-day-card.claimed {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}
.daily-day-card.active {
  border-color: #f6d97a;
  box-shadow: 0 0 14px rgba(244, 201, 93, 0.35);
  background: rgba(244, 201, 93, 0.1);
}
.daily-day-card.grand-prize {
  background: rgba(244, 201, 93, 0.06);
  border: 1.5px solid rgba(244, 201, 93, 0.35);
}
.daily-day-card.grand-prize .grand-badge {
  position: absolute;
  top: -7px;
  font-size: 8px;
  font-weight: 800;
  background: linear-gradient(135deg, #f9dd8a, #f4c542 60%, #b8862a);
  color: #1a1200;
  padding: 1px 5px;
  border-radius: 5px;
}
.daily-day-card.grand-prize.active {
  border-color: #f6d97a;
  box-shadow: 0 0 20px rgba(244, 201, 93, 0.55);
  transform: translateY(-2px);
}
.daily-day-num {
  font-size: 11px;
  color: #8b90a0;
}
.daily-day-coins {
  font-size: 12px;
  font-weight: 800;
  color: #f6d97a;
  display: flex;
  align-items: center;
  gap: 3px;
}
.daily-claim-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.daily-claim-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.daily-claim-btn:disabled {
  background: rgba(255, 255, 255, 0.06);
  color: #64748b;
  cursor: not-allowed;
  transform: none;
}
.shop-coin-particle {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  filter: drop-shadow(0 2px 8px rgba(244, 201, 93, 0.65));
  animation: coinFly 1.2s forwards cubic-bezier(0.12, 0.8, 0.32, 1);
}
.shop-coin-particle .shop-svg-ic {
  width: 100%;
  height: 100%;
}
@keyframes coinFly {
  0% { transform: translate(0, 0) scale(0.6); opacity: 1; }
  50% { opacity: 1; }
  100% { transform: translate(var(--tx, 0px), var(--ty, -150px)) scale(1.3); opacity: 0; }
}


/* ۷. اشتراک و پلن‌های VIP */
.shop-perks-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.shop-perk {
  background: rgba(244, 201, 93, 0.06);
  border: 1px solid rgba(244, 201, 93, 0.18);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #f2f3f6;
  font-weight: 600;
}
.shop-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 10px;
}
.shop-plan-card {
  background: #1c2030;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.22s var(--ease-spring);
}
.shop-plan-card:hover {
  border-color: rgba(244, 201, 93, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(244, 201, 93, 0.15);
}
.shop-plan-card.featured {
  background: linear-gradient(180deg, rgba(244, 201, 93, 0.12), rgba(28, 32, 48, 0.95));
  border: 1.5px solid rgba(244, 201, 93, 0.5);
  box-shadow: 0 4px 22px rgba(244, 201, 93, 0.15);
}
.plan-badge {
  position: absolute;
  top: -11px;
  right: 14px;
  background: linear-gradient(135deg, #f9dd8a, #f4c542 60%, #b8862a);
  color: #1a1200;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.plan-title {
  font-size: 16px;
  font-weight: 800;
  color: #f2f3f6;
  margin-top: 4px;
}
.plan-days {
  font-size: 12px;
  color: #8b90a0;
  margin: 6px 0 12px;
}
.plan-price {
  margin: 8px 0 14px;
}
.plan-price .amount {
  font-size: 24px;
  font-weight: 800;
  color: #f4c542;
}
.plan-price .unit {
  font-size: 12px;
  color: #8b90a0;
}
.plan-desc {
  font-size: 12px;
  color: #8b90a0;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.plan-buy-btn {
  width: 100%;
  background: linear-gradient(135deg, #f9dd8a, #f4c542 60%, #b8862a);
  color: #1a1200;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.plan-buy-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* ۸. کلاس‌های آیکون‌های وکتور (Shop SVG Icons) */
.shop-svg-ic {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.shop-svg-coin {
  color: var(--gold);
}
.shop-svg-booster {
  color: #fbbf24;
}
.shop-svg-shield {
  color: #60a5fa;
}
.shop-svg-crown {
  color: var(--gold);
}
.shop-svg-flame {
  color: #f97316;
}

/* ─── موبایل فقط: انیمیشن‌های فریم/بج بدونِ repaint ─────────────────────────
   box-shadow/filterِ متحرک کامپوزیت‌پذیر نیست؛ روی هر صندلی در تمامِ طولِ بازی هر فریم
   repaint می‌کرد. روی موبایل سایه ثابت (حالتِ روشن) و فقط opacity/transform متحرک است.
   دسکتاپ دست‌نخورده. */
@media (max-width: 600px), (pointer: coarse) {
  .seat-av-wrap.frame-persian::after, .seat-av-wrap.frame_persian::after {
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.75), 0 0 26px rgba(225, 29, 72, 0.65), inset 0 0 8px rgba(254, 240, 138, 0.85);
    animation-name: frameGlowLite;
  }
  .seat-av-wrap.frame-midnight::after, .seat-av-wrap.frame_midnight::after {
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.8), 0 0 34px rgba(59, 130, 246, 0.5), inset 0 0 8px rgba(125, 211, 252, 0.65);
    animation-name: frameGlowLite;
  }
  .seat-av-wrap.frame-aurora::after, .seat-av-wrap.frame_aurora::after {
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.6), 0 0 24px rgba(139, 92, 246, 0.45), inset 0 0 6px rgba(244, 63, 94, 0.35);
    animation-name: frameGlowLite;
  }
  .seat-av-wrap.frame-marble::after, .seat-av-wrap.frame_marble::after {
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.85), 0 0 28px rgba(254, 240, 138, 0.4);
    animation-name: frameGlowLite;
  }
  /* background-position هم کامپوزیت‌پذیر نیست: مرمر و اورورا در موبایل با پوزیشن ثابت، افکت فقط از طریق opacity لایه after */
  .seat-av-wrap.frame-marble::before, .seat-av-wrap.frame_marble::before,
  .seat-av-wrap.frame-aurora::before, .seat-av-wrap.frame_aurora::before { animation: none; }
  .seat-av-wrap.frame-royal::after, .seat-av-wrap.frame_royal::after {
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.9), 0 0 36px rgba(234, 179, 8, 0.55), inset 0 0 8px rgba(255, 255, 255, 0.95);
    animation-name: frameGlowLite;
  }
  .seat-av-wrap.frame-emerald::after, .seat-av-wrap.frame_emerald::after {
    box-shadow: 0 0 17px rgba(16, 185, 129, 0.9), 0 0 32px rgba(245, 158, 11, 0.65), inset 0 0 8px rgba(254, 240, 138, 0.95);
    animation-name: frameGlowLite;
  }
  .seat-av-wrap.frame-amethyst::after, .seat-av-wrap.frame_amethyst::after {
    box-shadow: 0 0 17px rgba(168, 85, 247, 0.9), 0 0 34px rgba(107, 33, 168, 0.7), inset 0 0 9px rgba(243, 232, 255, 0.9);
    animation-name: frameGlowLite;
  }
  .seat-av-wrap.frame-fire::after, .seat-av-wrap.frame_fire::after {
    box-shadow: 0 0 16px rgba(249, 115, 22, 0.9), 0 0 32px rgba(220, 38, 38, 0.7), inset 0 0 8px rgba(254, 240, 138, 0.95);
    animation-name: frameGlowLite;
  }
  .seat-av-wrap.frame-gold::after, .seat-av-wrap.frame_gold::after {
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.9), 0 0 34px rgba(217, 119, 6, 0.6), inset 0 0 9px rgba(255, 255, 255, 0.95);
    animation-name: frameGlowLite;
  }
  .seat-av-wrap.frame-diamond::after, .seat-av-wrap.frame_diamond::after {
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.95), 0 0 34px rgba(14, 165, 233, 0.6), inset 0 0 9px rgba(255, 255, 255, 0.95);
    animation-name: frameGlowLite;
  }
  .seat-av-wrap.frame-diamond::before, .seat-av-wrap.frame_diamond::before,
  .seat-av-wrap.frame-neon-purple::before, .seat-av-wrap.frame-neon_purple::before,
  .seat-av-wrap.frame_neon_purple::before, .seat-av-wrap.frame_neon-purple::before { animation: none; }
  .seat-av-wrap.frame-neon-purple::after, .seat-av-wrap.frame-neon_purple::after,
  .seat-av-wrap.frame_neon_purple::after, .seat-av-wrap.frame_neon-purple::after {
    box-shadow: 0 0 18px rgba(0, 242, 254, 1), 0 0 34px rgba(255, 0, 127, 0.9), 0 0 46px rgba(6, 182, 212, 0.6), inset 0 0 8px #ffffff;
    animation-name: frameGlowLite;
  }
  .seat-av-wrap.frame-nature-emerald::after, .seat-av-wrap.frame-nature_emerald::after,
  .seat-av-wrap.frame_nature_emerald::after, .seat-av-wrap.frame_nature-emerald::after {
    box-shadow: 0 0 18px rgba(163, 230, 53, 0.95), 0 0 34px rgba(34, 197, 94, 0.7), inset 0 0 8px rgba(236, 252, 203, 0.95);
    animation-name: frameGlowLite;
  }
  .seat-booster-badge { animation-name: boosterPulseLite; }
}
@keyframes frameGlowLite { 0% { opacity: 0.55; } 100% { opacity: 1; } }
@keyframes boosterPulseLite { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* کیفیتِ کم‌مصرف (فقط موبایل اعمال می‌شود): فریم‌ها و بج کاملاً ثابت */
html.fx-low .seat-booster-badge,
html.fx-low .seat-av-wrap[class*="frame-"]::before,
html.fx-low .seat-av-wrap[class*="frame_"]::before,
html.fx-low .seat-av-wrap[class*="frame-"]::after,
html.fx-low .seat-av-wrap[class*="frame_"]::after { animation: none !important; }

/* فاز ۳ — تخفیف اشتراک: قیمت اصلی خط‌خورده، منبع تخفیف، کوپن فعال */
.shop-plan-card.discounted { border-color: rgba(244, 197, 66, 0.55); }
.plan-badge.discount { background: linear-gradient(135deg, #e0457b, #b8325f); color: #fff; }
.plan-price-old { font-size: 13px; color: #8b90a0; text-decoration: line-through; text-decoration-color: rgba(248, 113, 113, 0.8); text-decoration-thickness: 2px; margin-top: 6px; }
.plan-discount-src { font-size: 11.5px; font-weight: 700; color: #f4c542; margin: 2px 0 6px; }
.plan-coupon { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(244, 197, 66, 0.55); background: rgba(244, 197, 66, 0.08); color: #f3e2ad; font-size: 12.5px; }
.plan-coupon b { color: #f4c542; font-size: 13.5px; }
.plan-coupon span { color: #c9ccd7; font-size: 11.5px; }
