/* ═══════════════════════════════════════════════════════════════
   جوان‌شاپ — مینی‌اپ خدمات مجازی
   پوسته: مشکی عمیق + هایلایت سفید + سایه‌های رنگی زنده
   ═══════════════════════════════════════════════════════════════ */

:root{
  /* ── سطوح: نزدیک به سیاه، نه خاکستری تخت ── */
  --bg:        #08090B;
  --surf:      #111216;
  --surf-2:    #17181D;
  --line:      #24262D;
  --line-2:    #1C1E24;

  /* ── متن ── */
  --ink:       #F5F6F8;
  --ink-2:     #A2A6AF;
  --ink-3:     #6B7079;

  /* ── سفید: تنها رنگ تأکیدی اصلی ── */
  --pri:       #FFFFFF;
  --pri-2:     #E4E6EB;
  --pri-soft:  rgba(255,255,255,.10);
  --pri-line:  rgba(255,255,255,.24);

  --ok:        #FFFFFF;
  --ok-soft:   rgba(255,255,255,.08);
  --ok-line:   rgba(255,255,255,.20);

  --warn:      #F5C451;
  --warn-soft: rgba(245,196,81,.12);
  --warn-line: rgba(245,196,81,.30);

  --bad:       #FF6B6B;
  --bad-soft:  rgba(255,107,107,.12);
  --bad-line:  rgba(255,107,107,.32);

  /* ── سایه‌های رنگی نئونی ۳ بعدی: درخشش شدید روی زمینه تیره ── */
  --sh-violet: 0 16px 36px -8px rgba(168,85,247,.65), 0 4px 14px rgba(0,0,0,.5);
  --sh-blue:   0 16px 36px -8px rgba(59,130,246,.65), 0 4px 14px rgba(0,0,0,.5);
  --sh-cyan:   0 16px 36px -8px rgba(2,132,199,.65), 0 4px 14px rgba(0,0,0,.5);
  --sh-teal:   0 16px 36px -8px rgba(13,148,136,.65), 0 4px 14px rgba(0,0,0,.5);
  --sh-green:  0 16px 36px -8px rgba(16,185,129,.65), 0 4px 14px rgba(0,0,0,.5);
  --sh-lime:   0 16px 36px -8px rgba(101,163,13,.65), 0 4px 14px rgba(0,0,0,.5);
  --sh-amber:  0 16px 36px -8px rgba(217,119,6,.65), 0 4px 14px rgba(0,0,0,.5);
  --sh-orange: 0 16px 36px -8px rgba(234,88,12,.65), 0 4px 14px rgba(0,0,0,.5);
  --sh-rose:   0 16px 36px -8px rgba(225,29,72,.65), 0 4px 14px rgba(0,0,0,.5);
  --sh-pink:   0 16px 36px -8px rgba(219,39,119,.65), 0 4px 14px rgba(0,0,0,.5);
  --sh-red:    0 16px 36px -8px rgba(220,38,38,.65), 0 4px 14px rgba(0,0,0,.5);
  --sh-indigo: 0 16px 36px -8px rgba(99,102,241,.65), 0 4px 14px rgba(0,0,0,.5);

  /* ── سایه‌های خنثی ── */
  --sh-1: 0 1px 2px rgba(0,0,0,.5);
  --sh-2: 0 4px 14px rgba(0,0,0,.55);
  --sh-3: 0 16px 48px rgba(0,0,0,.7);

  --r-xs: 8px;
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --pad:  18px;
  --shell: 640px;
}

/* ═══════════ فونت محلی ═══════════ */
@font-face{
  font-family:Vazirmatn; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/Vazirmatn-Regular.woff2') format('woff2');
}
@font-face{
  font-family:Vazirmatn; font-style:normal; font-weight:500; font-display:swap;
  src:url('fonts/Vazirmatn-Medium.woff2') format('woff2');
}
@font-face{
  font-family:Vazirmatn; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/Vazirmatn-Bold.woff2') format('woff2');
}

*,*::before,*::after{ box-sizing:border-box }
html,body{ margin:0; padding:0 }

body{
  background:var(--bg);
  color:var(--ink);
  font-family:Vazirmatn,system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;
  font-size:15px; line-height:1.7;
  -webkit-font-smoothing:antialiased;
  -webkit-tap-highlight-color:transparent;
  overscroll-behavior-y:none;
}

h1,h2,h3,p{ margin:0 }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer }
input{ font:inherit; color:inherit }
b{ font-weight:700 }
svg{ display:block; width:1em; height:1em; flex:none }
::-webkit-scrollbar{ width:0; height:0 }

/* ═══════════ هدر ═══════════ */
.hd{
  position:sticky; top:0; z-index:50;
  background:rgba(8,9,11,.82);
  backdrop-filter:saturate(180%) blur(16px);
  -webkit-backdrop-filter:saturate(180%) blur(16px);
  border-bottom:1px solid var(--line);
  padding-top:env(safe-area-inset-top);
}
.hd-in{ max-width:var(--shell); margin:0 auto; padding:11px var(--pad) 10px }
.hd-top{ display:flex; align-items:center; justify-content:space-between; gap:12px }

.logo{ display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit; min-width:0 }
.logo-mk{
  width:38px; height:38px; flex:none; display:grid; place-items:center;
  background:#fff; color:#08090B;
  border-radius:11px; font-size:20px;
  box-shadow:var(--sh-blue);
}
.logo-mk svg{ width:20px; height:20px }
.logo-tx{ display:flex; flex-direction:column; min-width:0; line-height:1.3 }
.logo-tx b{ font-size:15.5px; letter-spacing:-.2px }
.logo-tx i{ font-style:normal; font-size:11px; color:var(--ink-3) }

.wallet{
  flex:none; text-align:left; line-height:1.28;
  background:var(--surf-2); border:1px solid var(--line);
  border-radius:var(--r-xs); padding:5px 11px; cursor:pointer;
  transition:transform .1s, border-color .16s, box-shadow .22s;
}
.wallet:active{ transform:scale(.97) }
.wallet:hover{ border-color:var(--pri-line); box-shadow:var(--sh-cyan) }
.wallet-c{ display:block; font-size:10px; color:var(--ink-3) }
.wallet-v{ display:block; font-size:13.5px; font-weight:700; color:var(--ink); white-space:nowrap }
.wallet-v em{ font-style:normal; font-size:10px; font-weight:500; color:var(--ink-3) }

/* جستجو */
.search{ position:relative; margin-top:10px }
.search > svg{
  position:absolute; inset-inline-start:12px; top:50%;
  transform:translateY(-50%); width:17px; height:17px;
  color:var(--ink-3); pointer-events:none;
}
.search input{
  width:100%; height:42px; padding:0 40px 0 38px;
  background:var(--surf); border:1px solid var(--line);
  border-radius:var(--r-sm); outline:none; font-size:14px;
  transition:border-color .16s, box-shadow .2s, background .16s;
}
.search input::placeholder{ color:var(--ink-3) }
.search input::-webkit-search-cancel-button{ display:none }
.search input:focus{
  border-color:var(--pri-line);
  background:var(--surf-2);
  box-shadow:0 0 0 3px rgba(255,255,255,.06), var(--sh-violet);
}
.search-x{
  position:absolute; inset-inline-end:8px; top:50%; transform:translateY(-50%);
  width:26px; height:26px; display:grid; place-items:center;
  color:var(--ink-3); border-radius:50%;
}
.search-x svg{ width:15px; height:15px }
.search-x:active{ background:var(--line) }

/* ═══════════ ریل زیرشاخه ═══════════ */
.rail{
  max-width:var(--shell); margin:0 auto;
  display:flex; gap:7px;
  padding:0 var(--pad) 10px;
  overflow-x:auto; scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
}
.rail::-webkit-scrollbar{ display:none }
.chip{
  flex:none; scroll-snap-align:start;
  display:inline-flex; align-items:center; gap:6px;
  height:36px; padding:0 14px;
  background:var(--surf); border:1px solid var(--line);
  border-radius:100px; font-size:13px; font-weight:600;
  color:var(--ink-2); white-space:nowrap;
  transition:background .14s, color .14s, border-color .14s, transform .1s, box-shadow .22s;
}
.chip svg{ width:15px; height:15px }
.chip:active{ transform:scale(.96) }
.chip:hover{ border-color:var(--line); color:var(--ink) }
.chip.is-on{
  background:#fff; border-color:#fff; color:#08090B;
  box-shadow:0 4px 18px -6px rgba(255,255,255,.4);
}
.chip-n{
  font-size:11px; font-weight:600; padding:1px 6px;
  background:var(--line); color:var(--ink-3); border-radius:100px;
}
.chip.is-on .chip-n{ background:rgba(8,9,11,.14); color:#08090B }

/* ═══════════ چیدمان ═══════════ */
.wrap{ max-width:var(--shell); margin:0 auto; padding:16px var(--pad) 100px }
.scr{ animation:in .26s cubic-bezier(.2,.8,.3,1) }
@keyframes in{ from{ opacity:0; transform:translateY(6px) } to{ opacity:1; transform:none } }

/* ═══════════ عنوان بخش ═══════════ */
.sec-h{
  display:flex; align-items:baseline; justify-content:space-between;
  margin:0 0 12px;
}
.sec-h h2{ font-size:17px; font-weight:700; letter-spacing:-.3px }
.sec-h span{ font-size:12px; color:var(--ink-3) }

/* ═══════════ گرید دسته‌ها ═══════════ */
.catgrid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:12px;
}
@media(min-width:600px){ .catgrid{ grid-template-columns:repeat(3,1fr) } }
@media(min-width:1024px){ .catgrid{ grid-template-columns:repeat(4,1fr) } }

/* ═══════════ کارت‌های دسته‌بندی ۳ بعدی و رنگی خفن ═══════════ */
.cat{
  position:relative; overflow:hidden; isolation:isolate;
  display:flex; flex-direction:column; align-items:flex-start;
  padding:20px 18px 16px; text-align:right;
  background:linear-gradient(145deg, var(--acc), var(--fill));
  border:1px solid rgba(255,255,255,.24);
  border-radius:22px;
  box-shadow:var(--sh, 0 16px 36px -8px var(--acc)), inset 0 1.5px 1px 0 rgba(255,255,255,.6), inset 0 -2px 4px 0 rgba(0,0,0,.25);
  transition:transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .26s;
  cursor:pointer;
  transform:translateY(0);
}
.cat > *{ position:relative; z-index:2 }

/* افکت بازتاب ۳ بعدی شیشه‌ای مورب */
.cat::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(135deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.12) 36%, transparent 56%);
  pointer-events:none;
}

/* قوس دایره‌ای تزئینی نئونی در گوشه بالا-چپ (در RTL سمت چپ مخالف آیکون) */
.cat::before{
  content:""; position:absolute; z-index:1;
  top:-25px; left:-25px;
  width:120px; height:120px; border-radius:50%;
  background:rgba(255,255,255,.26);
  pointer-events:none;
  transition:transform .3s cubic-bezier(.2,.8,.3,1), opacity .3s;
}

.cat:hover{
  transform:translateY(-5px) scale(1.02);
  box-shadow:var(--sh, 0 20px 42px -6px var(--acc)), 0 12px 24px rgba(0,0,0,.5), inset 0 1.5px 2px rgba(255,255,255,.75);
}
.cat:hover::before{ transform:scale(1.25); opacity:.45 }
.cat:active{
  transform:translateY(2px) scale(.975);
  box-shadow:var(--sh, 0 6px 14px rgba(0,0,0,.5)), inset 0 2px 4px rgba(0,0,0,.35);
}

.cat-ic{
  width:48px; height:48px; margin-bottom:14px;
  display:grid; place-items:center;
  background:rgba(255,255,255,.24);
  border:1px solid rgba(255,255,255,.45);
  border-radius:15px; color:#fff;
  box-shadow:0 8px 18px -4px rgba(0,0,0,.4), inset 0 1px 1.5px rgba(255,255,255,.6);
  backdrop-filter:blur(8px);
  transition:transform .22s cubic-bezier(.2,.8,.3,1);
}
.cat-ic svg{ width:24px; height:24px; filter:drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.cat:hover .cat-ic{ transform:scale(1.1) rotate(-5deg); }

.cat-nm{
  font-size:16px; font-weight:800; letter-spacing:-.3px; line-height:1.35;
  color:#fff; margin-bottom:5px;
  text-shadow:0 1.5px 4px rgba(0,0,0,.45);
}
.cat-sub{
  font-size:12px; line-height:1.5;
  color:rgba(255,255,255,.92); font-weight:600;
  display:flex; align-items:center; gap:4px;
}
.cat-n{
  color:#fff; font-weight:800;
  padding:2px 7px; border-radius:100px;
  background:rgba(0,0,0,.26);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 2px 4px rgba(0,0,0,.25);
}

/* کارت هشتم (همه خدمات) */
.cat.cat-all{
  background:linear-gradient(145deg, #4338CA, #312E81) !important;
  border:1px solid rgba(255,255,255,.25) !important;
  box-shadow:var(--sh-indigo) !important;
}
.cat.cat-all .cat-ic{
  background:rgba(99,102,241,.25);
  border-color:rgba(99,102,241,.45);
  color:#A5B4FC;
}

/* ═══════════ انیمیشن ورود ═══════════ */
.stagger > *{ animation:rise .3s cubic-bezier(.2,.8,.3,1) backwards }
.stagger > *:nth-child(1){ animation-delay:.00s }
.stagger > *:nth-child(2){ animation-delay:.03s }
.stagger > *:nth-child(3){ animation-delay:.06s }
.stagger > *:nth-child(4){ animation-delay:.09s }
.stagger > *:nth-child(5){ animation-delay:.12s }
.stagger > *:nth-child(6){ animation-delay:.15s }
.stagger > *:nth-child(7){ animation-delay:.18s }
.stagger > *:nth-child(8){ animation-delay:.21s }
.stagger > *:nth-child(n+9){ animation-delay:.24s }
@keyframes rise{
  from{ opacity:0; transform:translateY(10px) scale(.985) }
  to{ opacity:1; transform:none }
}

.svc{ animation:rise .28s cubic-bezier(.2,.8,.3,1) backwards }
.list .svc:nth-child(1){ animation-delay:.00s }
.list .svc:nth-child(2){ animation-delay:.025s }
.list .svc:nth-child(3){ animation-delay:.05s }
.list .svc:nth-child(4){ animation-delay:.075s }
.list .svc:nth-child(5){ animation-delay:.10s }
.list .svc:nth-child(6){ animation-delay:.125s }
.list .svc:nth-child(7){ animation-delay:.15s }
.list .svc:nth-child(8){ animation-delay:.175s }
.list .svc:nth-child(n+9){ animation-delay:.20s }

.skel{
  background:var(--surf); border:1px solid var(--line);
  border-radius:var(--r); height:68px;
  position:relative; overflow:hidden;
}
.skel::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.045),transparent);
  animation:shim 1.3s infinite;
}
@keyframes shim{ from{ transform:translateX(-100%) } to{ transform:translateX(100%) } }

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

/* ═══════════ هیرو فید ۳ بعدی و نئونی ═══════════ */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(145deg, #1C1C30 0%, #171338 50%, #2E1065 100%);
  border:1px solid rgba(168,85,247,.35);
  border-radius:24px; padding:22px 20px 20px;
  color:#fff; margin-bottom:20px;
  box-shadow:0 16px 36px -10px rgba(124,58,237,.5), inset 0 1.5px 1px 0 rgba(255,255,255,.2);
}
.hero::after{
  content:""; position:absolute; inset-block:-50% -30%;
  inset-inline-start:-10%; width:80%; pointer-events:none;
  background:radial-gradient(circle, rgba(255,255,255,.16), transparent 65%);
}
.hero-txt{ position:relative; z-index:1; margin-bottom:16px }
.hero h1{ font-size:24px; font-weight:900; letter-spacing:-.4px; margin:0 0 6px; text-shadow:0 2px 8px rgba(0,0,0,.4) }
.hero p{ font-size:13px; color:rgba(255,255,255,.8); font-weight:500; margin:0 }

.hero-stats{
  position:relative; z-index:1;
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px; overflow:hidden;
  box-shadow:0 8px 20px -6px rgba(0,0,0,.45);
}
.hstat{
  background:rgba(20,20,32,.75); backdrop-filter:blur(10px);
  padding:11px 8px; text-align:center; line-height:1.35;
}
.hstat b{ display:block; font-size:16px; font-weight:900; color:#fff; letter-spacing:-.3px }
.hstat span{ display:block; font-size:11px; color:rgba(255,255,255,.7); margin-top:2px; font-weight:500 }

/* ═══════════ نوار گروه ═══════════ */
.groupbar{
  display:flex; align-items:baseline; justify-content:space-between;
  margin:0 0 12px;
}
.groupbar-l{ font-size:15px; font-weight:800; letter-spacing:-.2px; color:#fff }
.groupbar-n{ font-size:12px; color:var(--ink-3) }

/* ═══════════ لیست خدمات ۳ بعدی، رنگی و گلس‌مورفیک ═══════════ */
.list{ display:flex; flex-direction:column; gap:12px }

.svc{
  position:relative; overflow:hidden; isolation:isolate;
  background:linear-gradient(145deg, var(--fill, #1E3A8A) 0%, var(--fill2, #0F172A) 100%);
  border:1px solid rgba(255,255,255,.20);
  border-radius:20px; padding:16px 18px;
  display:flex; align-items:center; gap:14px;
  text-align:right; width:100%;
  box-shadow:var(--sh, 0 8px 24px -6px rgba(0,0,0,.7)), inset 0 1px 1px rgba(255,255,255,.22);
  transition:border-color .18s, transform .14s cubic-bezier(.2,.8,.3,1), box-shadow .24s, filter .18s;
  cursor:pointer;
}

/* انعکاس مایع/گلس شیشه‌ای در گوشه چپ-بالا */
.svc::after{
  content:""; position:absolute; z-index:-1;
  inset-block-start:-40px; inset-inline-end:-34px;
  width:110px; height:110px; border-radius:50%;
  background:rgba(255,255,255,.16);
  pointer-events:none;
}

/* هایلایت انعکاسی ۳ بعدی روی کل کارت */
.svc::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(135deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.06) 38%, transparent 58%);
  pointer-events:none;
}

.svc:active{ transform:scale(.985) translateY(1px) }
.svc:hover{
  filter:brightness(1.08);
  border-color:rgba(255,255,255,.45);
  transform:translateY(-3px);
  box-shadow:var(--sh, 0 14px 32px -8px rgba(0,0,0,.8)), inset 0 1px 1.5px rgba(255,255,255,.35);
}

.svc-ic{
  width:50px; height:50px; flex:none; font-size:24px;
  display:grid; place-items:center;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.35);
  border-radius:16px; color:#fff;
  box-shadow:0 6px 16px -4px rgba(0,0,0,.4), inset 0 1px 1px rgba(255,255,255,.4);
  backdrop-filter:blur(8px);
}
.svc-ic svg{ width:24px; height:24px; filter:drop-shadow(0 2px 4px rgba(0,0,0,.35)) }

.svc-tx{ flex:1; min-width:0; line-height:1.5 }
.svc-nm{
  display:block; font-size:15px; font-weight:800; letter-spacing:-.2px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.4);
}
.svc-sub{
  display:flex; align-items:center; gap:6px; flex-wrap:wrap;
  font-size:12px; color:rgba(255,255,255,.82); margin-top:3px; font-weight:600;
}
.svc-br{ display:inline-flex; align-items:center; gap:3px; font-weight:700; color:#fff }
.svc-br svg{ width:12px; height:12px }
.svc-dot{ color:rgba(255,255,255,.4) }

.svc-end{ flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:5px }
.svc-price{ font-size:16px; font-weight:900; letter-spacing:-.3px; white-space:nowrap; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.35) }
.svc-price .money-u, .svc-price em{ font-style:normal; font-size:11.5px; font-weight:600; color:rgba(255,255,255,.82); margin-inline-start:3px }

.svc-buy{
  display:inline-flex; align-items:center; gap:4px;
  font-size:12px; font-weight:800; color:#08090B;
  padding:5px 13px; border-radius:100px;
  background:#fff;
  border:1px solid rgba(255,255,255,.8);
  box-shadow:0 4px 14px -2px rgba(0,0,0,.3), inset 0 1px 0 #fff;
  transition:transform .12s, box-shadow .12s;
  cursor:pointer;
}
.svc-buy svg{ width:13px; height:13px }
.svc:hover .svc-buy{ transform:scale(1.08); box-shadow:0 6px 18px -2px rgba(0,0,0,.45); }
.svc.is-cheap .svc-price{ color:#FDE047 }

/* ═══════════ پایان فید ═══════════ */
.feed-end{ padding:22px 0 4px; text-align:center; font-size:12px; color:var(--ink-3) }
.feed-end b{ color:var(--ink-2) }

/* ═══════════ خرید ═══════════ */
.crumb{ display:flex; align-items:center; gap:6px; font-size:12px; color:var(--ink-3); margin-bottom:10px }
.crumb svg{ width:12px; height:12px }
.crumb b{ color:var(--ink-2); font-weight:600 }

.buycard{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg, #1C1D2B 0%, #11121A 100%);
  border:1px solid rgba(255,255,255,.14);
  border-radius:24px; padding:22px var(--pad);
  box-shadow:0 20px 48px -12px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.18);
}
.buycard::before{
  content:""; position:absolute; inset-block-start:-50px; inset-inline-end:-50px;
  width:200px; height:200px; border-radius:50%;
  background:radial-gradient(circle, var(--acc-soft, rgba(168,85,247,.35)), transparent 70%);
  filter:blur(30px); pointer-events:none;
}
.buycard-h{ display:flex; align-items:center; gap:14px }
.buycard-ic{
  width:54px; height:54px; flex:none; display:grid; place-items:center;
  background:linear-gradient(135deg, var(--acc, #A855F7), var(--fill, #7E22CE));
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
  border-radius:16px;
  box-shadow:0 10px 24px -6px var(--acc, rgba(168,85,247,.6)), inset 0 1.5px 1px rgba(255,255,255,.5);
}
.buycard-ic svg{ width:26px; height:26px; filter:drop-shadow(0 2px 4px rgba(0,0,0,.35)) }
.buycard-tx{ min-width:0; line-height:1.4 }
.buycard-tx h1{ font-size:18px; font-weight:800; letter-spacing:-.3px; color:#fff }
.buycard-sub{ display:inline-flex; align-items:center; gap:4px; font-size:12px; color:rgba(255,255,255,.75); margin-top:2px }
.buycard-sub svg{ width:12px; height:12px }

.buycard-info{
  font-size:13px; color:rgba(255,255,255,.85); line-height:1.75;
  margin-top:14px; padding:12px 14px;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
}

.kv2{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(255,255,255,.1) }
.kv2-2{ grid-template-columns:repeat(2,1fr) !important }
.kv2-1, #bSingle{ grid-template-columns:1fr !important }
.kv2-c{ background:rgba(20,20,30,.85); padding:13px 10px; text-align:center; line-height:1.4; backdrop-filter:blur(8px) }
.kv2-c span{ display:block; font-size:11px; color:rgba(255,255,255,.6) }
.kv2-c b{ display:block; font-size:14px; font-weight:800; color:#fff; margin-top:2px }

.kv2.wide{
  margin:14px 0 0; border:1px solid rgba(255,255,255,.12);
  border-radius:16px; overflow:hidden; gap:1px;
  box-shadow:0 6px 20px -6px rgba(0,0,0,.4);
}

.qtybox{ padding:18px 0 4px }
.qtybox-h{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:9px }
.qtybox-h label{ font-size:13.5px; font-weight:600 }
.qtybox-h span{ font-size:11.5px; color:var(--ink-3) }

.step{
  display:flex; height:48px;
  background:var(--surf); border:1px solid var(--line);
  border-radius:var(--r-sm); overflow:hidden;
}
.step button{
  width:50px; flex:none; display:grid; place-items:center;
  background:var(--surf-2); color:var(--ink-2);
  transition:background .12s,color .12s;
}
.step button svg{ width:19px; height:19px }
.step button:active{ background:#fff; color:#08090B }
.step button:disabled{ opacity:.35 }
.step input{
  flex:1; min-width:0; text-align:center;
  border:0; border-inline:1px solid var(--line); outline:none;
  font-size:17px; font-weight:800; font-variant-numeric:tabular-nums;
  -moz-appearance:textfield;
}
.step input::-webkit-outer-spin-button,
.step input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0 }

.sum{
  background:linear-gradient(180deg, rgba(30,31,44,.85) 0%, rgba(20,21,30,.92) 100%);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px; padding:14px 16px; margin-top:16px;
  box-shadow:0 8px 24px -6px rgba(0,0,0,.5);
}
.sum-r{ display:flex; justify-content:space-between; font-size:13px; color:rgba(255,255,255,.75); padding:3px 0 }
.sum-r b{ color:#fff; font-weight:700 }
.sum-t{
  display:flex; justify-content:space-between; align-items:baseline;
  margin-top:10px; padding-top:12px; border-top:1px dashed rgba(255,255,255,.18);
  font-size:14px; font-weight:700; color:#fff;
}
.sum-t b{ font-size:18px; font-weight:900; letter-spacing:-.4px; color:#fff }

/* دکمه اصلی ۳ بعدی و درخشان */
.cta{
  width:100%; height:52px; margin-top:16px;
  background:linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  color:#fff; border:1px solid rgba(255,255,255,.24);
  border-radius:16px; font-size:16px; font-weight:800;
  display:grid; place-items:center;
  box-shadow:0 12px 28px -6px rgba(124,58,237,.75), inset 0 1.5px 1px rgba(255,255,255,.35);
  transition:background .15s, transform .12s cubic-bezier(.2,.8,.3,1), box-shadow .2s;
  cursor:pointer;
}
.cta:active{ transform:scale(.985); box-shadow:0 4px 12px rgba(124,58,237,.5) }
.cta[disabled]{
  background:rgba(255,255,255,.08); color:var(--ink-3);
  border:1px solid rgba(255,255,255,.06);
  box-shadow:none; cursor:not-allowed; transform:none;
}
.cta.is-short{
  background:linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color:#fff; border:1px solid rgba(255,255,255,.2);
  box-shadow:0 10px 28px -6px rgba(239,68,68,.7), inset 0 1.5px 1px rgba(255,255,255,.35);
}
.cta.is-short:active{ transform:scale(.985); }

.note{ font-size:11.5px; color:var(--ink-3); text-align:center; margin-top:10px }

/* ═══════════ حساب کاربری ۳ بعدی و شیشه‌ای ═══════════ */
.idc{
  position:relative; overflow:hidden; isolation:isolate;
  display:flex; align-items:center; gap:14px;
  background:linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border:1px solid rgba(59,130,246,.35);
  border-radius:20px; padding:18px var(--pad);
  box-shadow:0 12px 32px -8px rgba(30,58,138,.5), inset 0 1px 1px rgba(255,255,255,.15);
  margin-bottom:14px;
}
.idc::before{
  content:""; position:absolute; z-index:-1;
  top:-40px; left:-40px;
  width:140px; height:140px; border-radius:50%;
  background:radial-gradient(circle, rgba(59,130,246,.35), transparent 70%);
  pointer-events:none;
}
.idc-av{
  width:52px; height:52px; flex:none; display:grid; place-items:center;
  background:linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color:#fff;
  border-radius:50%; font-size:22px; font-weight:800;
  border:2px solid rgba(255,255,255,.3);
  box-shadow:0 8px 20px -4px rgba(59,130,246,.6), inset 0 1.5px 1px rgba(255,255,255,.5);
}
.idc-tx{ line-height:1.45; min-width:0; flex:1 }
.idc-tx b{ display:block; font-size:16.5px; font-weight:800; color:#fff }
.idc-tx i{
  display:inline-block; font-style:normal; font-size:11.5px; font-weight:700;
  color:#93C5FD; background:rgba(30,58,138,.6);
  padding:2px 10px; border-radius:100px; border:1px solid rgba(59,130,246,.3);
  margin-top:4px;
}

#scr-profile .kv2{
  display:grid; grid-template-columns:repeat(3,1fr); gap:8px;
  background:none; border:none; border-radius:0; box-shadow:none;
  margin:14px 0 0;
}
#scr-profile .kv2-c{
  position:relative; overflow:hidden; isolation:isolate;
  border-radius:16px; padding:14px 8px; text-align:center; line-height:1.4;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:var(--sh, var(--sh-1)), inset 0 1px 0 rgba(255,255,255,.14);
}
#scr-profile .kv2-c::before{
  content:""; position:absolute; z-index:-1;
  inset-block-start:-40px; inset-inline-end:-30px;
  width:85px; height:85px; border-radius:50%;
  background:rgba(255,255,255,.15);
  pointer-events:none;
}
#scr-profile .kv2-c span{ display:block; font-size:11px; font-weight:600; color:rgba(255,255,255,.8); margin-bottom:3px }
#scr-profile .kv2-c b{
  display:block; font-size:14px; font-weight:800; color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.35);
}
#scr-profile .k-coin{
  background:linear-gradient(145deg, var(--fill, #D97706) 0%, var(--fill2, #9A3412) 100%);
  border-color:rgba(245,158,11,.4);
  box-shadow:0 10px 24px -6px rgba(217,119,6,.6), inset 0 1px 1px rgba(255,255,255,.3);
}
#scr-profile .k-phone{
  background:linear-gradient(145deg, var(--fill, #334155) 0%, var(--fill2, #1E293B) 100%);
  border-color:rgba(100,116,139,.35);
  box-shadow:0 10px 24px -6px rgba(15,23,42,.6), inset 0 1px 1px rgba(255,255,255,.2);
}
#scr-profile .k-state{
  background:linear-gradient(145deg, var(--fill, #15803D) 0%, var(--fill2, #166534) 100%);
  border-color:rgba(34,197,94,.4);
  box-shadow:0 10px 24px -6px rgba(21,128,61,.6), inset 0 1px 1px rgba(255,255,255,.3);
}

/* ═══════════ نوار پایین ═══════════ */
.tabs{
  position:fixed; inset-inline:0; bottom:0; z-index:50;
  max-width:var(--shell); margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr);
  background:rgba(8,9,11,.9);
  backdrop-filter:saturate(180%) blur(16px);
  -webkit-backdrop-filter:saturate(180%) blur(16px);
  border-top:1px solid var(--line);
  padding-bottom:env(safe-area-inset-bottom);
}
.tab{
  height:60px; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:2px;
  font-size:10.5px; font-weight:600; color:var(--ink-3);
  transition:color .14s;
}
.tab svg{ width:21px; height:21px }
.tab.is-on{ color:#fff }
.tab.is-on svg{ filter:drop-shadow(0 0 8px rgba(255,255,255,.5)) }
.tab:active{ background:var(--surf) }

/* ═══════════ شیت ═══════════ */
.sw{ position:fixed; inset:0; z-index:70 }
.sw-bg{ position:absolute; inset:0; background:rgba(0,0,0,.72); animation:fade .16s }
@keyframes fade{ from{ opacity:0 } to{ opacity:1 } }
.sw-bd{
  position:absolute; inset-inline:0; bottom:0;
  max-width:var(--shell); margin:0 auto;
  background:var(--surf); border-radius:var(--r-xl) var(--r-xl) 0 0;
  border:1px solid var(--line); border-bottom:0;
  padding:12px var(--pad) calc(28px + env(safe-area-inset-bottom, 20px));
  box-shadow:var(--sh-3);
  animation:up .24s cubic-bezier(.2,.75,.3,1);
  max-height:88vh; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain;
}
@keyframes up{ from{ transform:translateY(100%) } to{ transform:none } }
.sw-hd{ display:block; width:40px; height:4px; margin:0 auto 15px; background:var(--line); border-radius:100px }
.sw-body h3{ font-size:16.5px; font-weight:700; margin-bottom:4px }
.sw-body p{ font-size:13px; color:var(--ink-2) }

.sw-mid{ text-align:center; padding:2px 0 16px }
.sw-ic{ width:50px; height:50px; margin:0 auto 12px; display:grid; place-items:center; border-radius:50% }
.sw-ic svg{ width:25px; height:25px }
.sw-ic.is-ok{ background:rgba(255,255,255,.10); color:#fff; box-shadow:var(--sh-green) }
.sw-ic.is-bad{ background:var(--bad-soft); color:var(--bad); box-shadow:var(--sh-red) }
.sw-ic.is-warn{ background:var(--warn-soft); color:var(--warn); box-shadow:var(--sh-amber) }

.kvr{ display:flex; justify-content:space-between; font-size:13px; padding:9px 0; border-bottom:1px solid var(--line-2) }
.kvr:last-of-type{ border-bottom:0 }
.kvr span{ color:var(--ink-2) }
.kvr b{ font-weight:700 }

.sh-a{ display:flex; flex-direction:column; gap:8px; margin-top:18px }
.sh-b{
  width:100%; height:48px; border-radius:var(--r-sm);
  font-size:14.5px; font-weight:700; display:grid; place-items:center;
  background:#fff; color:#08090B; transition:transform .1s, background .15s, box-shadow .2s;
  box-shadow:0 4px 18px -8px rgba(255,255,255,.4);
}
.sh-b:active{ transform:scale(.99); background:var(--pri-2) }
.sh-b.ghost{ background:var(--surf-2); color:var(--ink-2); border:1px solid var(--line); box-shadow:none }
.sh-b svg{ width:19px; height:19px }

/* ═══════════ افزایش موجودی ۳ بعدی و امرالد نئونی ═══════════ */
.topup{
  position:relative; overflow:hidden; isolation:isolate;
  background:linear-gradient(145deg, #064E3B 0%, #062820 100%);
  border:1px solid rgba(52,211,153,.35);
  border-radius:22px; padding:18px var(--pad);
  box-shadow:0 16px 36px -8px rgba(6,78,59,.7), inset 0 1px 1px rgba(255,255,255,.18);
  margin-top:16px;
}
.topup::before{
  content:""; position:absolute; z-index:-1;
  top:-60px; right:-60px;
  width:180px; height:180px; border-radius:50%;
  background:radial-gradient(circle, rgba(52,211,153,.25), transparent 70%);
  pointer-events:none;
}
.topup-l{
  display:flex; align-items:center; gap:8px;
  font-size:13.5px; font-weight:700; color:rgba(255,255,255,.9);
  margin-bottom:10px;
}
.topup-l svg{ width:18px; height:18px; color:#34D399 }

.topup-in{
  width:100%; height:58px; padding:0 16px;
  background:#051A15; color:#fff;
  border:1.5px solid rgba(52,211,153,.3); border-radius:16px;
  font:800 24px/1 Vazirmatn,system-ui,sans-serif;
  text-align:center; letter-spacing:0; outline:none;
  font-variant-numeric:tabular-nums;
  box-shadow:inset 0 2px 6px rgba(0,0,0,.6);
  transition:border-color .16s, box-shadow .22s, background .16s;
}
.topup-in::placeholder{ color:rgba(255,255,255,.35); font-weight:600; font-size:20px }
.topup-in:focus{
  background:#06231C; border-color:#34D399;
  box-shadow:inset 0 2px 6px rgba(0,0,0,.6), 0 0 0 3px rgba(52,211,153,.25);
}

.quick{ display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 0 }
.qbtn{
  flex:1 1 auto; min-width:70px; height:38px;
  background:rgba(0,0,0,.35); border:1px solid rgba(52,211,153,.25);
  border-radius:100px; font-size:13px; font-weight:700; color:rgba(255,255,255,.85);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  transition:background .14s, border-color .14s, color .14s, transform .1s, box-shadow .2s;
  cursor:pointer;
}
.qbtn:hover{
  background:rgba(52,211,153,.15); border-color:#34D399; color:#fff;
  box-shadow:0 4px 12px rgba(52,211,153,.3);
}
.qbtn:active{ transform:scale(.96) }
.qbtn.is-on{
  background:#fff; border-color:#fff; color:#064E3B;
  box-shadow:0 6px 18px -4px rgba(255,255,255,.5);
}

.paybtn{
  width:100%; height:52px; margin-top:16px;
  display:flex; align-items:center; justify-content:center; gap:8px;
  background:linear-gradient(135deg, #10B981 0%, #059669 100%);
  color:#fff; border:1px solid rgba(255,255,255,.25);
  border-radius:16px; font:800 16px/1 Vazirmatn,system-ui,sans-serif;
  box-shadow:0 12px 28px -6px rgba(16,185,129,.7), inset 0 1.5px 1px rgba(255,255,255,.35);
  transition:transform .12s cubic-bezier(.2,.8,.3,1), opacity .14s, box-shadow .2s;
  cursor:pointer;
}
.paybtn:active:not(:disabled){ transform:scale(.985) }
.paybtn:disabled{
  background:rgba(255,255,255,.08); color:rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.06);
  box-shadow:none; cursor:not-allowed; transform:none;
}
.paybtn svg{ width:18px; height:18px }

.backlink{
  display:inline-flex; align-items:center; gap:5px;
  background:none; border:0; padding:6px 0; margin-bottom:12px;
  font:600 13px/1 Vazirmatn,system-ui,sans-serif; color:var(--ink-2);
  transition:color .14s;
}
.backlink:hover{ color:#fff }
.backlink svg{ width:17px; height:17px }

/* ═══════════ درگاه‌های پرداخت ۳ بعدی ═══════════ */
.gws{ display:flex; flex-direction:column; gap:10px }
.gw{
  display:flex; align-items:center; gap:14px;
  padding:14px 16px; text-align:right; width:100%;
  background:linear-gradient(180deg, #1C1D2A 0%, #12131C 100%);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  box-shadow:0 8px 24px -6px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
  transition:border-color .16s, background .16s, transform .12s, box-shadow .24s;
  cursor:pointer;
}
.gw:active{ transform:scale(.988) }
.gw:hover{
  border-color:rgba(255,255,255,.4);
  box-shadow:0 12px 28px -6px rgba(0,0,0,.7), inset 0 1px 1.5px rgba(255,255,255,.2);
}
.gw-ic{
  width:44px; height:44px; flex:none; display:grid; place-items:center;
  background:#fff; color:#08090B;
  border:0; border-radius:13px;
  box-shadow:0 6px 16px -4px rgba(255,255,255,.4);
}
.gw-ic svg{ width:22px; height:22px }
.gw.is-crypto .gw-ic{ background:#fff; box-shadow:var(--sh-cyan) }
.gw.is-card   .gw-ic{ background:#fff; box-shadow:var(--sh-amber) }
.gw-tx{ flex:1; min-width:0; line-height:1.45 }
.gw-tx b{ display:block; font-size:15px; font-weight:800; color:#fff }
.gw-tx span{ display:block; font-size:12px; color:rgba(255,255,255,.7); margin-top:2px }
.gw-go{ flex:none; color:rgba(255,255,255,.4) }
.gw-go svg{ width:16px; height:16px }

/* ═══════════ سفارش‌های من: ۳ بعدی و رنگی خفن ═══════════ */
.ordsum{
  display:grid; grid-template-columns:repeat(4,1fr); gap:8px;
  margin-bottom:12px;
}
.ordcell{
  position:relative; overflow:hidden; isolation:isolate;
  background:linear-gradient(180deg, var(--fill, #7C3AED) 0%, var(--fill2, #5B21B6) 100%);
  border:1px solid rgba(255,255,255,.2);
  border-radius:16px;
  padding:12px 4px; text-align:center; line-height:1.35;
  box-shadow:var(--sh, 0 8px 24px -6px rgba(0,0,0,.6)), inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .12s, box-shadow .2s;
}
.ordcell:hover{ transform:translateY(-2px); filter:brightness(1.1) }
.ordcell::before{
  content:""; position:absolute; z-index:-1;
  inset-block-start:-35px; inset-inline-end:-30px;
  width:80px; height:80px; border-radius:50%;
  background:rgba(255,255,255,.18);
  pointer-events:none;
}
.ordcell b{
  display:block; font-size:17px; font-weight:800; letter-spacing:-.3px;
  color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.35);
}
.ordcell span{ display:block; font-size:10.5px; font-weight:700; color:rgba(255,255,255,.85); margin-top:2px }

.ordnote{
  font-size:13px; font-weight:600; color:rgba(255,255,255,.8);
  margin:-4px 0 16px; padding:0 4px; text-align:right;
}
.ordnote b{ color:#fff; font-weight:800; margin-inline-start:4px }

/* کارت‌های تکی سفارش در لیست */
.ordcard{
  position:relative; overflow:hidden; isolation:isolate;
  background:linear-gradient(180deg, #1C1D2A 0%, #12131C 100%) !important;
  border:1px solid var(--acc, rgba(255,255,255,.16)) !important;
  border-radius:18px; padding:15px 16px;
  box-shadow:var(--sh, 0 8px 24px -6px rgba(0,0,0,.7)), inset 0 1px 0 rgba(255,255,255,.12);
  transition:transform .14s cubic-bezier(.2,.8,.3,1), box-shadow .2s;
  margin-bottom:10px;
}
.ordcard::before{
  content:""; position:absolute; top:12px; bottom:12px; right:0;
  width:4px; border-radius:100px 0 0 100px;
  background:linear-gradient(180deg, var(--acc, #F5C451), var(--fill, #AF6005));
  box-shadow:0 0 12px var(--acc, #F5C451);
}
.ordcard:hover{
  transform:translateY(-2px);
  box-shadow:var(--sh, 0 12px 30px -6px rgba(0,0,0,.8)), inset 0 1px 1.5px rgba(255,255,255,.2);
}
.ordcard-ic{
  width:46px; height:46px; flex:none;
  display:grid; place-items:center;
  background:linear-gradient(135deg, var(--fill, #AF6005), var(--fill2, #7C4003)) !important;
  border:1px solid rgba(255,255,255,.25) !important;
  border-radius:14px; color:#fff !important;
  box-shadow:0 6px 18px -4px var(--acc, rgba(0,0,0,.5)), inset 0 1px 1px rgba(255,255,255,.4);
}
.ordcard-ic svg{ width:22px; height:22px; filter:drop-shadow(0 2px 3px rgba(0,0,0,.4)) }
.ordcode{
  font-family:monospace; font-size:11px; font-weight:700;
  color:var(--acc, #60A5FA); background:rgba(255,255,255,.06);
  padding:1px 6px; border-radius:6px; border:1px solid rgba(255,255,255,.1);
}
.qtytag{
  font-size:11.5px; font-weight:700; color:rgba(255,255,255,.85);
  background:rgba(255,255,255,.08); padding:1px 7px; border-radius:100px;
}
.ordprice{ font-size:15px; font-weight:800; color:#fff; white-space:nowrap; text-shadow:0 1px 2px rgba(0,0,0,.3) }
.ordprice em{ font-style:normal; font-size:11px; font-weight:500; color:rgba(255,255,255,.7); margin-inline-start:3px }
.ordstate{
  display:inline-flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:800; padding:2px 8px; border-radius:100px;
  white-space:nowrap; border:1px solid transparent;
}
.ordstate.st-wait{
  background:rgba(245,196,81,.15); color:#F5C451; border-color:rgba(245,196,81,.35);
  box-shadow:0 0 10px rgba(245,196,81,.2);
}
.ordstate.st-done{
  background:rgba(74,222,128,.15); color:#4ADE80; border-color:rgba(74,222,128,.35);
  box-shadow:0 0 10px rgba(74,222,128,.2);
}
.ordstate.st-cancel{
  background:rgba(248,113,113,.15); color:#F87171; border-color:rgba(248,113,113,.35);
  box-shadow:0 0 10px rgba(248,113,113,.2);
}
.ordstate.st-fail{
  background:rgba(251,146,60,.15); color:#FB923C; border-color:rgba(251,146,60,.35);
  box-shadow:0 0 10px rgba(251,146,60,.2);
}

/* ═══════════ فیلد مشخصات سفارش ═══════════ */
.tgt{ padding:18px 0 2px; border-top:1px solid var(--line-2); margin-top:6px }
.tgt-h{ display:flex; align-items:center; justify-content:space-between; margin-bottom:9px }
.tgt-h label{ font-size:13.5px; font-weight:600 }
.tgt-req{
  font-size:10px; font-weight:700; padding:2px 7px; border-radius:100px;
  background:var(--bad-soft); color:var(--bad);
}

.tgt-in{
  display:flex; align-items:center; gap:9px;
  height:48px; padding:0 13px;
  background:var(--surf-2); border:1.5px solid var(--line);
  border-radius:var(--r-sm);
  transition:border-color .16s, box-shadow .22s, background .16s;
}
.tgt-in:focus-within{
  background:var(--surf); border-color:#fff;
  box-shadow:var(--sh-violet);
}
.tgt-ic{ flex:none; width:19px; height:19px; color:var(--ink-3); display:grid; place-items:center }
.tgt-ic svg{ width:17px; height:17px }
.tgt-in:focus-within .tgt-ic{ color:#fff }
.tgt-in input{ flex:1; min-width:0; background:none; border:0; outline:none; font-size:14px; color:var(--ink) }
.tgt-in input::placeholder{ color:var(--ink-3) }
.tgt-in input.is-bad{ color:var(--bad) }

.tgt.is-bad .tgt-in{ border-color:var(--bad); background:var(--bad-soft) }
.tgt.is-bad .tgt-ic{ color:var(--bad) }
.tgt-msg{ display:none; font-size:11.5px; color:var(--bad); margin-top:6px; align-items:center; gap:4px }
.tgt-msg.is-on{ display:flex }
.tgt-msg svg{ width:13px; height:13px; flex:none }
.tgt-hint{ font-size:11.5px; color:var(--ink-3); margin-top:6px; line-height:1.6 }
.tgt.is-ok .tgt-in{ border-color:#4ADE80; background:rgba(74,222,128,.07) }
.tgt.is-ok .tgt-ic{ color:#4ADE80 }

/* ═══════════ گزینه‌های ویژهٔ گیفت ═══════════ */
.gopts{
  margin-top:16px; padding:15px 14px 14px;
  background:linear-gradient(180deg,#1F1533,#160F26);
  border:1px solid rgba(139,92,246,.26);
  border-radius:14px;
  box-shadow:0 10px 30px -14px rgba(139,92,246,.7),
             inset 0 1px 0 rgba(255,255,255,.06);
}
.gopts-title{
  display:flex; align-items:baseline; gap:8px;
  margin-bottom:14px; padding-bottom:10px;
  border-bottom:1px solid rgba(139,92,246,.18);
}
.gopts-title span{ font-size:13.5px; font-weight:800; color:#DDD6FE }
.gopts-title i{
  font-style:normal; font-size:10.5px; font-weight:700;
  color:#A78BFA; padding:1px 8px; border-radius:100px;
  background:rgba(139,92,246,.16); border:1px solid rgba(139,92,246,.3);
}

.gopt + .gopt{ margin-top:15px; padding-top:14px; border-top:1px solid rgba(139,92,246,.14) }
.gopt-h{ display:flex; align-items:baseline; justify-content:space-between; gap:9px; margin-bottom:9px }
.gopt-h label{ font-size:13px; font-weight:700; color:#fff }
.gopt-hint{ font-size:10.5px; font-weight:600; color:#9C8CC4; text-align:left; flex:none }
.gopt-note{ margin-top:7px; font-size:11px; line-height:1.7; color:rgba(255,255,255,.42) }

/* کلید روشن/خاموش برای ارسال ناشناس */
.switch{
  display:flex; align-items:center; gap:11px; width:100%;
  padding:11px 13px; border-radius:11px;
  background:rgba(0,0,0,.3);
  border:1px solid rgba(255,255,255,.1);
  cursor:pointer; font-family:inherit;
  transition:background .16s, border-color .16s;
}
.switch-track{
  position:relative; flex:none;
  width:44px; height:25px; border-radius:100px;
  background:#3A3F4B;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.5);
  transition:background .18s;
}
.switch-knob{
  position:absolute; top:2.5px; inset-inline-start:2.5px;
  width:20px; height:20px; border-radius:50%;
  background:#fff; box-shadow:0 2px 5px rgba(0,0,0,.45);
  transition:transform .18s;
}
.switch-tx{
  font-size:13px; font-weight:700;
  color:rgba(255,255,255,.72);
  transition:color .16s;
}
.switch[aria-checked="true"]{ background:rgba(124,58,237,.2); border-color:rgba(167,139,250,.5) }
.switch[aria-checked="true"] .switch-track{ background:#7C3AED }
.switch[aria-checked="true"] .switch-knob{ transform:translateX(-19px) }
.switch[aria-checked="true"] .switch-tx{ color:#fff }
.switch:active{ transform:scale(.985) }

/* ═══════════ خالی / بارگذاری ═══════════ */
.empty{
  background:var(--surf); border:1px dashed var(--line);
  border-radius:var(--r-lg); padding:42px 22px; text-align:center;
}
.empty svg{ width:36px; height:36px; margin:0 auto 13px; color:var(--ink-3); opacity:.6 }
.empty b{ display:block; font-size:14.5px; margin-bottom:3px }
.empty span{ display:block; font-size:12.5px; color:var(--ink-3) }

.loadbox{ padding:90px 0; text-align:center }
.spin{
  display:inline-block; width:27px; height:27px; margin-bottom:15px;
  border:2.5px solid var(--line); border-top-color:#fff;
  border-radius:50%; animation:sp .7s linear infinite;
}
@keyframes sp{ to{ transform:rotate(360px) } }
.loadbox p{ font-size:13px; color:var(--ink-2) }

/* ═══════════ توست ═══════════ */
.toast{
  position:fixed; z-index:90; inset-inline:0;
  bottom:calc(76px + env(safe-area-inset-bottom));
  max-width:var(--shell); margin:0 auto; padding:0 var(--pad);
  pointer-events:none;
}
.toast-in{
  background:rgba(24,25,36,.96); color:#fff;
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px; padding:12px 18px;
  font-size:13px; font-weight:600; text-align:center;
  box-shadow:0 12px 36px -8px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08);
  backdrop-filter:blur(16px);
  animation:tin .2s cubic-bezier(.2,.8,.3,1);
}
@keyframes tin{ from{ opacity:0; transform:translateY(8px } to{ opacity:1; transform:none } }

/* ═══════════ واکنش‌گرایی ═══════════ */
@media(max-width:359px){
  :root{ --pad:13px }
  .logo-tx i{ display:none }
  .wallet{ padding:4px 9px }
  .wallet-v{ font-size:12.5px }
  .search input{ height:40px; font-size:13.5px }
  .chip{ height:34px; padding:0 12px; font-size:12.5px }
  .kv2-c{ padding:10px 5px }
  .kv2-c b{ font-size:12.5px }
  .svc{ padding:11px 12px; gap:10px }
  .svc-ic{ width:38px; height:38px }
  .svc-nm{ font-size:13.5px }
  .svc-price{ font-size:13.5px }
  .buycard{ padding:17px 15px }
  .sum-t b{ font-size:15.5px }
  .cat{ padding:14px 13px 12px }
  .cat-ic{ width:42px; height:42px }
  .cat-ic svg{ width:20px; height:20px }
  .cat-nm{ font-size:13.5px }
}
@media(min-width:600px){
  :root{ --shell:720px; --pad:20px }
  .wrap{ padding-top:20px }
  .list{ gap:9px }
  .svc{ padding:15px 16px }
  .svc-ic{ width:46px; height:46px }
  .svc-nm{ font-size:15px }
  .svc-sub{ font-size:12.5px }
  .svc-price{ font-size:16px }
  .groupbar-l{ font-size:16px }
  .tab{ height:64px; font-size:11.5px }
}
@media(min-width:1024px){
  :root{ --shell:820px }
  .wrap{ padding-bottom:120px }
  .tabs{
    border:1px solid var(--line);
    box-shadow:var(--sh-3);
  }
  .chip{ height:38px; font-size:13.5px }
  .logo-mk{ width:40px; height:40px }
}
@media(max-height:520px){
  .wrap{ padding-top:12px }
}
