/* ============ پنل کاربری دیجی اسموک ============ */

.dsp-root, .dsp-root * { box-sizing: border-box; margin: 0; }
.dsp-root {
	direction: rtl;
	font-family: 'Vazirmatn', Vazirmatn, IRANSans, Tahoma, sans-serif;
	line-height: 1.6;
	--acc-grad: linear-gradient(135deg, #22e0d6, #8b5cf6);
	--pink-grad: linear-gradient(135deg, #ff3d9a, #ff7a3d);
	--gold-grad: linear-gradient(135deg, #ffcf3f, #ff9d3d);
	--green-grad: linear-gradient(135deg, #34e39b, #22e0d6);
	border-radius: 22px;
}

/* ---------- توکن‌های تم ---------- */
.dsp-root[data-theme="dark"] {
	--text-primary: #f4f4fb; --text-body: #c7c7de; --text-secondary: #8a8aa8;
	--text-faint: #7a7a95; --text-muted: #6d6d88;
	--screen-bg: #0b0b14; --nav-bg: #0e0e18;
	--card-from: #141425; --card-to: #0d0d17; --card-flat: rgba(255,255,255,.03);
	--input-bg: #0a0f14;
	--bd1: rgba(255,255,255,.07); --bd2: rgba(255,255,255,.09); --bd3: rgba(255,255,255,.12); --bd4: rgba(255,255,255,.14);
	--bd-dash1: rgba(255,255,255,.2); --bd-dash2: rgba(255,255,255,.25);
	--wash1: rgba(255,255,255,.02); --wash2: rgba(255,255,255,.04); --wash3: rgba(255,255,255,.05);
	--wash4: rgba(255,255,255,.06); --wash5: rgba(255,255,255,.08);
	--acc-teal: #5fe9df; --acc-teal-bright: #eafffd; --acc-teal-soft: #9fe9e2; --acc-teal-deep: #5aa8a2;
	--acc-purple: #c9b6ff; --acc-purple2: #b79dff;
	--acc-pink: #ff9ecb; --acc-pink2: #ff7ab5;
	--acc-gold: #ffe08a; --acc-gold-soft: #c9b06a;
	--acc-green: #7fe9b8; --acc-orange: #ff9d6b; --acc-red: #ff8f8f;
	--nav-active-bg: linear-gradient(90deg, rgba(34,224,214,.16), rgba(139,92,246,.12));
	--nav-active-color: #eafffd; --nav-active-bd: rgba(34,224,214,.35);
	--pill-active-bg: rgba(34,224,214,.14);
	--vip-bg: linear-gradient(150deg, #2b2140, #171325); --vip-bd: rgba(255,207,63,.32);
	--vip-ink: #ffe08a; --vip-btn-bg: linear-gradient(135deg,#ffcf3f,#ff9d3d); --vip-btn-color: #3a2600;
	--perk-bg: rgba(255,255,255,.04); --perk-bd: rgba(255,255,255,.08);
	color-scheme: dark;
}
.dsp-root[data-theme="light"] {
	--text-primary: #17171f; --text-body: #43435a; --text-secondary: #6a6a82;
	--text-faint: #7c7c94; --text-muted: #9797ac;
	--screen-bg: #f7f8fc; --nav-bg: #ffffff;
	--card-from: #ffffff; --card-to: #f4f3fa; --card-flat: rgba(25,20,55,.035);
	--input-bg: #eaf6f3;
	--bd1: rgba(25,20,55,.09); --bd2: rgba(25,20,55,.1); --bd3: rgba(25,20,55,.13); --bd4: rgba(25,20,55,.15);
	--bd-dash1: rgba(25,20,55,.2); --bd-dash2: rgba(25,20,55,.24);
	--wash1: rgba(25,20,55,.03); --wash2: rgba(25,20,55,.045); --wash3: rgba(25,20,55,.055);
	--wash4: rgba(25,20,55,.07); --wash5: rgba(25,20,55,.09);
	--acc-teal: #0c8d84; --acc-teal-bright: #075f57; --acc-teal-soft: #12897f; --acc-teal-deep: #0e7d75;
	--acc-purple: #6d3fd6; --acc-purple2: #7a46dd;
	--acc-pink: #d81c73; --acc-pink2: #c8146a;
	--acc-gold: #8a6100; --acc-gold-soft: #8a6b1f;
	--acc-green: #0f8a52; --acc-orange: #b0501a; --acc-red: #c23a3a;
	--nav-active-bg: linear-gradient(90deg, rgba(13,148,136,.14), rgba(139,92,246,.1));
	--nav-active-color: #075f57; --nav-active-bd: rgba(13,148,136,.4);
	--pill-active-bg: rgba(13,148,136,.12);
	--vip-bg: linear-gradient(150deg, #fff8e8, #f3ecff); --vip-bd: rgba(190,140,20,.4);
	--vip-ink: #8a6100; --vip-btn-bg: linear-gradient(135deg,#f0b100,#e07d1a); --vip-btn-color: #fff;
	--perk-bg: rgba(120,90,10,.05); --perk-bd: rgba(120,90,10,.14);
	color-scheme: light;
}

.dsp-root { background: var(--screen-bg); color: var(--text-primary); transition: background .35s ease, color .35s ease; }
.dsp-root ::selection { background: #ff3d9a; color: #fff; }
.dsp-root a { color: var(--acc-teal); text-decoration: none; }
.dsp-root ::-webkit-scrollbar { width: 8px; height: 8px; }
.dsp-root ::-webkit-scrollbar-thumb { background: rgba(140,140,170,.4); border-radius: 8px; }

/* ---------- انیمیشن‌ها ---------- */
@keyframes dspBob   { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-3.5px);} }
@keyframes dspSpin  { to { transform: rotate(360deg); } }
@keyframes dspFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-7px);} }
@keyframes dspShimmer { 0%{ background-position: 200% 0;} 100%{ background-position: -200% 0;} }
@keyframes dspShine { 0%{ transform: translateX(-140%) skewX(-18deg);} 60%,100%{ transform: translateX(240%) skewX(-18deg);} }
@keyframes dspPulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(34,224,214,.45);} 50%{ box-shadow: 0 0 22px 4px rgba(34,224,214,.28);} }
@keyframes dspPulseGold { 0%,100%{ box-shadow: 0 0 0 0 rgba(255,207,63,.5);} 50%{ box-shadow: 0 0 26px 5px rgba(255,207,63,.32);} }
@keyframes dspRing  { 0%{ transform: scale(.85); opacity:.7;} 100%{ transform: scale(1.9); opacity:0;} }
@keyframes dspFade  { 0%{ opacity:0; transform: translateY(10px);} 100%{ opacity:1; transform: translateY(0);} }
@keyframes dspHeart { 0%,100%{ transform: scale(1);} 30%{ transform: scale(1.25);} }
@keyframes dspDash  { to { stroke-dashoffset: -60; } }

/* ---------- لودینگ ---------- */
.dsp-loading { min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--text-secondary); font-size: 14px; }
.dsp-spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--wash5); border-top-color: #22e0d6; animation: dspSpin .8s linear infinite; }

/* ---------- چیدمان اصلی ---------- */
.dsp-layout { display: flex; min-height: 640px; border-radius: 22px; overflow: hidden; border: 1px solid var(--bd2); }
.dsp-side {
	width: 236px; flex-shrink: 0; padding: 22px 14px; background: var(--nav-bg);
	border-left: 1px solid var(--bd1); display: flex; flex-direction: column; gap: 5px;
}
.dsp-side-logo { display: flex; align-items: center; gap: 11px; padding: 4px 8px 16px; }
.dsp-logo-badge {
	width: 38px; height: 38px; border-radius: 11px; background: var(--acc-grad);
	display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(34,224,214,.4); flex-shrink: 0;
}
.dsp-side-logo b { font-size: 16px; font-weight: 800; }
.dsp-nav-item {
	display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 12px;
	cursor: pointer; font-weight: 600; font-size: 14px; color: var(--text-secondary);
	border: 1px solid transparent; background: transparent; width: 100%; text-align: right;
	font-family: inherit; transition: background .2s;
}
.dsp-nav-item:hover { background: var(--wash3); }
.dsp-nav-item.is-active { background: var(--nav-active-bg); color: var(--nav-active-color); border-color: var(--nav-active-bd); }
.dsp-nav-item svg { flex-shrink: 0; }
.dsp-nav-badge { margin-right: auto; font-size: 10px; color: #fff; background: #ff3d9a; padding: 2px 7px; border-radius: 999px; font-weight: 800; }
.dsp-nav-sub { margin-right: 19px; padding-right: 13px; border-right: 1.5px solid var(--bd3); margin-top: 3px; margin-bottom: 3px; }
.dsp-nav-sub .dsp-nav-item { padding: 9px 12px; font-size: 13px; border-radius: 11px; }

.dsp-side-user { margin-top: auto; padding-top: 16px; }
.dsp-side-user-card { padding: 13px; border-radius: 15px; cursor: pointer; background: linear-gradient(150deg, var(--card-from), var(--card-to)); border: 1px solid var(--bd1); display: flex; align-items: center; gap: 11px; }
.dsp-side-user-card:hover { border-color: rgba(139,92,246,.5); }
.dsp-avatar { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg,#ff3d9a,#8b5cf6); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 16px; flex-shrink: 0; }
.dsp-side-user-name { font-size: 13.5px; font-weight: 700; }
.dsp-side-user-rank { font-size: 11.5px; color: var(--acc-purple); }

.dsp-main { flex: 1; padding: 22px 24px 32px; min-width: 0; }

/* هدر */
.dsp-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.dsp-header h2 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; color: var(--text-primary); margin: 0; }
.dsp-header-sub { font-size: 13px; color: var(--text-secondary); margin-top: 3px; }
.dsp-header-actions { display: flex; align-items: center; gap: 11px; }
.dsp-points-chip { display: flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: linear-gradient(135deg, rgba(255,207,63,.16), rgba(255,157,61,.1)); border: 1px solid rgba(255,207,63,.35); }
.dsp-points-chip b { font-weight: 800; font-size: 14px; color: var(--acc-gold); }
.dsp-points-chip span { font-size: 12px; color: var(--acc-gold-soft); }
.dsp-bell { position: relative; width: 40px; height: 40px; border-radius: 12px; background: var(--wash3); border: 1px solid var(--bd2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-body); }
.dsp-bell-badge { position: absolute; top: -4px; left: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #ff3d9a; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.dsp-theme-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--wash3); border: 1px solid var(--bd2); cursor: pointer; }
.dsp-theme-toggle span { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: background .25s; }
.dsp-root[data-theme="dark"] .dsp-theme-toggle .dsp-moon { background: var(--acc-grad); color: #0b0b16; }
.dsp-root[data-theme="light"] .dsp-theme-toggle .dsp-sun { background: var(--gold-grad); color: #6a4600; }

/* ناوبری موبایل */
.dsp-pills { display: none; gap: 7px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: none; }
.dsp-pills::-webkit-scrollbar { display: none; }
.dsp-pill { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; background: var(--wash3); color: var(--text-secondary); border: 1px solid transparent; font-family: inherit; display: inline-flex; align-items: center; gap: 5px; }
.dsp-pill.is-active { background: var(--pill-active-bg); color: var(--nav-active-color); border-color: var(--nav-active-bd); }

.dsp-view { animation: dspFade .4s ease; display: flex; flex-direction: column; gap: 16px; }

/* ---------- اجزای مشترک ---------- */
.dsp-card { border-radius: 18px; padding: 16px; background: linear-gradient(160deg, var(--card-from), var(--card-to)); border: 1px solid var(--bd1); position: relative; overflow: hidden; }
.dsp-card-clickable { cursor: pointer; transition: transform .2s, border-color .2s; }
.dsp-card-clickable:hover { transform: translateY(-2px); border-color: rgba(139,92,246,.4); }
.dsp-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 8px; }
.dsp-card-title { font-size: 14px; font-weight: 800; color: var(--text-primary); }
.dsp-section-title { font-size: 19px; font-weight: 900; }
.dsp-section-sub { font-size: 12.5px; color: var(--text-secondary); }
.dsp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 14px; }
.dsp-muted { color: var(--text-secondary); }
.dsp-small { font-size: 11.5px; }

.dsp-progress { height: 9px; border-radius: 6px; background: var(--wash5); overflow: hidden; }
.dsp-progress > div { height: 100%; border-radius: 6px; background: var(--acc-grad); background-size: 200% 100%; animation: dspShimmer 2.4s linear infinite; transition: width .6s ease; }
.dsp-progress.gold > div { background: linear-gradient(90deg,#c9b6ff,#ffcf3f); background-size: 200% 100%; }
.dsp-progress.green > div { background: linear-gradient(90deg,#34e39b,#22e0d6); background-size: 200% 100%; }

.dsp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border: none; cursor: pointer; border-radius: 13px; font-family: inherit; font-weight: 800; font-size: 13.5px; transition: filter .2s, transform .2s; }
.dsp-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.dsp-btn:disabled { opacity: .6; cursor: default; transform: none; }
.dsp-btn-primary { background: var(--acc-grad); color: #06121a; }
.dsp-btn-pink { background: var(--pink-grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(255,61,154,.7); width: 100%; }
.dsp-btn-gold { background: var(--vip-btn-bg); color: var(--vip-btn-color); box-shadow: 0 10px 24px -8px rgba(255,180,40,.6); }
.dsp-btn-ghost { background: transparent; color: var(--text-body); border: 1px solid var(--bd3); font-weight: 700; }
.dsp-btn-ghost:hover { border-color: #22e0d6; color: var(--acc-teal); }
.dsp-btn-done { background: rgba(52,227,155,.16); color: var(--acc-green); border: 1px solid rgba(52,227,155,.4); cursor: default; }
.dsp-btn-done:hover { filter: none; transform: none; }

.dsp-chip { font-size: 11px; padding: 4px 11px; border-radius: 999px; font-weight: 700; }
.dsp-chip-green { color: var(--acc-green); background: rgba(52,227,155,.12); border: 1px solid rgba(52,227,155,.3); }
.dsp-chip-red { color: var(--acc-red); background: rgba(255,90,90,.12); border: 1px solid rgba(255,90,90,.25); }
.dsp-chip-pink { color: #fff; background: #ff3d9a; }

.dsp-input { width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--input-bg); border: 1px solid var(--bd3); color: var(--text-primary); font-family: inherit; font-size: 14px; margin-bottom: 12px; outline: none; }
.dsp-input:focus { border-color: #22e0d6; }
.dsp-label { display: block; font-size: 12.5px; color: var(--text-body); margin-bottom: 7px; font-weight: 600; }

.dsp-empty { text-align: center; padding: 36px 16px; color: var(--text-secondary); font-size: 13.5px; }
.dsp-empty .dsp-empty-icon { font-size: 40px; margin-bottom: 10px; }

/* ---------- پیگیری سفارش ---------- */
.dsp-track { padding: 20px; border-radius: 20px; }
.dsp-track-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.dsp-eta { display: flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 14px; background: rgba(34,224,214,.1); border: 1px solid rgba(34,224,214,.3); }
.dsp-eta small { font-size: 11.5px; color: var(--acc-teal-soft); }
.dsp-eta b { font-size: 18px; font-weight: 800; color: var(--acc-teal-bright); letter-spacing: 1px; direction: ltr; animation: dspBob 1.4s ease-in-out infinite; }
.dsp-timeline { position: relative; padding-top: 26px; margin-bottom: 16px; }
.dsp-timeline-bar { position: absolute; top: 38px; right: 10%; left: 10%; height: 6px; border-radius: 6px; background: var(--wash5); overflow: hidden; }
.dsp-timeline-bar > div { position: absolute; top: 0; bottom: 0; right: 0; background: linear-gradient(90deg,#22e0d6,#8b5cf6); border-radius: 6px; transition: width .8s; }
.dsp-timeline-bike { position: absolute; top: 2px; animation: dspBob 1s ease-in-out infinite; transition: right .8s; }
.dsp-steps { position: relative; display: flex; justify-content: space-between; padding: 0 6%; }
.dsp-step-node { text-align: center; }
.dsp-step-icon { width: 38px; height: 38px; margin: 0 auto 6px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.dsp-step-icon.done { background: linear-gradient(135deg,#22e0d6,#1f9e97); box-shadow: 0 0 18px rgba(34,224,214,.5); }
.dsp-step-icon.current { position: relative; background: linear-gradient(135deg,#8b5cf6,#6d3ff2); animation: dspPulse 1.8s ease-in-out infinite; }
.dsp-step-icon.current::after { content: ''; position: absolute; inset: 0; border-radius: 12px; border: 2px solid #22e0d6; animation: dspRing 1.8s ease-out infinite; }
.dsp-step-icon.pending { background: var(--wash3); border: 1px dashed var(--bd-dash1); }
.dsp-step-label { font-size: 12px; font-weight: 700; }
.dsp-step-label.current { color: var(--acc-purple); }
.dsp-step-label.pending { color: var(--text-muted); }
.dsp-step-time { font-size: 11px; color: var(--text-secondary); }

/* ---------- کیف پول ---------- */
.dsp-wallet-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 24px 22px; background: linear-gradient(135deg,#7b3ff2,#22e0d6); box-shadow: 0 24px 60px -26px rgba(123,63,242,.7); }
.dsp-wallet-hero::before { content: ''; position: absolute; left: -30px; bottom: -50px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.08); }
.dsp-wallet-balance { font-size: 38px; font-weight: 900; color: #fff; letter-spacing: -.5px; direction: ltr; display: inline-block; }
.dsp-wallet-mini { flex: 1; min-width: 130px; padding: 11px 13px; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }
.dsp-wallet-mini small { font-size: 11px; color: rgba(255,255,255,.82); display: block; }
.dsp-wallet-mini b { font-size: 16px; font-weight: 800; color: #fff; direction: ltr; }
.dsp-btn-white { background: #fff; color: #7b3ff2; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
.dsp-btn-glass { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); color: #fff; font-weight: 700; }
.dsp-txn { display: flex; align-items: center; gap: 13px; padding: 13px 14px; border-radius: 15px; background: linear-gradient(160deg, var(--card-from), var(--card-to)); border: 1px solid var(--bd1); }
.dsp-txn-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--wash4); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.dsp-txn-amount { font-size: 13.5px; font-weight: 800; direction: ltr; white-space: nowrap; }
.dsp-txn-amount.in { color: var(--acc-green); }
.dsp-txn-amount.out { color: var(--acc-red); }

/* ---------- لیدربرد ---------- */
.dsp-podium { display: flex; align-items: flex-end; justify-content: center; gap: 12px; max-width: 420px; margin: 0 auto; }
.dsp-podium-col { text-align: center; flex: 1; }
.dsp-podium-avatar { margin: 0 auto 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.dsp-podium-bar { border-radius: 12px 12px 0 0; display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.dsp-board-row { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 12px; background: var(--card-flat); border: 1px solid var(--bd1); }
.dsp-board-row.me { background: linear-gradient(90deg, rgba(139,92,246,.2), rgba(255,61,154,.08)); border-color: rgba(139,92,246,.45); }
.dsp-board-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #0b0b16; font-size: 13px; flex-shrink: 0; }

/* ---------- VIP ---------- */
.dsp-vip { position: relative; overflow: hidden; border-radius: 22px; padding: 22px; background: var(--vip-bg); border: 1px solid var(--vip-bd); }
.dsp-vip-shine { position: absolute; top: 0; bottom: 0; width: 42%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent); transform: skewX(-18deg); animation: dspShine 4.8s ease-in-out infinite; pointer-events: none; }
.dsp-vip-crown { width: 46px; height: 46px; border-radius: 14px; background: var(--gold-grad); display: flex; align-items: center; justify-content: center; font-size: 23px; box-shadow: 0 0 24px rgba(255,207,63,.5); }
.dsp-perk { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 14px; background: var(--perk-bg); border: 1px solid var(--perk-bd); }
.dsp-perk-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: rgba(255,207,63,.14); display: flex; align-items: center; justify-content: center; color: var(--vip-ink); font-size: 16px; }
.dsp-perk div:last-child { font-size: 12px; font-weight: 700; color: var(--text-body); line-height: 1.4; }

/* ---------- ماموریت‌ها ---------- */
.dsp-streak-cell { position: relative; width: 100%; aspect-ratio: 1; max-width: 46px; margin: 0 auto; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.dsp-streak-cell.done { background: rgba(52,227,155,.16); border: 1px solid rgba(52,227,155,.4); color: var(--acc-green); }
.dsp-streak-cell.today { background: linear-gradient(135deg,#ff7a3d,#ff3d9a); color: #fff; animation: dspPulse 1.8s ease-in-out infinite; }
.dsp-streak-cell.lock { background: var(--wash2); border: 1px dashed var(--bd-dash2); color: var(--text-muted); }
.dsp-mission { border-radius: 18px; padding: 16px; background: linear-gradient(160deg, var(--card-from), var(--card-to)); border: 1px solid var(--bd1); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dsp-mission.done { border-color: rgba(52,227,155,.3); }
.dsp-mission-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }
.dsp-mission-pts { font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; direction: ltr; }

/* ---------- مسیر جوایز ---------- */
.dsp-journey-map { position: relative; height: 210px; }
.dsp-journey-node { position: absolute; text-align: center; transform: translateX(50%); }
.dsp-journey-dot { border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.dsp-journey-label { font-size: 9.5px; margin-top: 3px; white-space: nowrap; }
.dsp-tier { border-radius: 16px; padding: 16px; }
.dsp-tier.unlocked { background: rgba(34,224,214,.09); border: 1px solid rgba(34,224,214,.3); }
.dsp-tier.locked { background: var(--wash2); border: 1px solid var(--bd3); }
.dsp-tier.grand { background: linear-gradient(150deg, rgba(255,207,63,.18), rgba(255,157,61,.08)); border: 1px solid rgba(255,207,63,.4); animation: dspPulseGold 2.6s ease-in-out infinite; position: relative; overflow: hidden; }

/* ---------- رفرال ---------- */
.dsp-ref-link { flex: 1; min-width: 180px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; background: var(--input-bg); border: 1px dashed rgba(52,227,155,.4); font-size: 13.5px; color: var(--acc-green); direction: ltr; overflow: hidden; white-space: nowrap; min-height: 44px; }
.dsp-btn-green { background: #34e39b; color: #052014; }
.dsp-friend-slot { width: 100%; aspect-ratio: 1; max-width: 52px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }

/* ---------- اعلان‌ها ---------- */
.dsp-inbox-item { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 15px; }
.dsp-inbox-item.coupon { background: rgba(255,207,63,.06); border: 1px solid rgba(255,207,63,.22); }
.dsp-inbox-item.alert { background: rgba(139,92,246,.08); border: 1px solid rgba(139,92,246,.22); }
.dsp-inbox-item.news { background: rgba(34,224,214,.06); border: 1px solid rgba(34,224,214,.2); }
.dsp-inbox-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--wash4); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.dsp-copy-btn { padding: 8px 15px; border: none; cursor: pointer; border-radius: 10px; background: #ffcf3f; color: #0b0b16; font-family: inherit; font-weight: 800; font-size: 11.5px; white-space: nowrap; }

/* ---------- علاقه‌مندی / محصولات ---------- */
.dsp-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.dsp-product { border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, var(--card-from), var(--card-to)); border: 1px solid var(--bd1); display: flex; flex-direction: column; }
.dsp-product-img { position: relative; height: 130px; background: var(--wash3); display: flex; align-items: center; justify-content: center; }
.dsp-product-img img { width: 100%; height: 100%; object-fit: cover; }
.dsp-product-heart { position: absolute; top: 9px; left: 9px; width: 30px; height: 30px; border: none; cursor: pointer; border-radius: 50%; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; color: #ff3d9a; }
.dsp-product-heart svg { animation: dspHeart 1.6s ease-in-out infinite; }
.dsp-product-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dsp-product-name { font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--text-primary); }
.dsp-product-price { font-size: 13px; font-weight: 800; color: var(--acc-green); }
.dsp-product-old { font-size: 11px; color: var(--text-muted); text-decoration: line-through; }

/* ---------- آدرس‌ها ---------- */
.dsp-addr { border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(160deg, var(--card-from), var(--card-to)); border: 1px solid var(--bd1); }
.dsp-addr.default { border-color: rgba(34,224,214,.35); }
.dsp-addr-text { font-size: 12px; color: var(--text-body); line-height: 1.7; background: var(--card-flat); border-radius: 11px; padding: 9px 11px; }
.dsp-addr-add { border-radius: 18px; padding: 16px; min-height: 150px; border: 1.5px dashed var(--bd4); cursor: pointer; background: var(--wash1); color: var(--text-secondary); font-family: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.dsp-addr-add:hover { border-color: #22e0d6; color: var(--acc-teal); }
.dsp-icon-btn { width: 38px; height: 36px; border: 1px solid var(--bd3); cursor: pointer; border-radius: 10px; background: transparent; color: var(--text-secondary); display: inline-flex; align-items: center; justify-content: center; }
.dsp-icon-btn.danger { border-color: rgba(255,90,90,.25); color: var(--acc-red); }

/* ---------- مودال ---------- */
.dsp-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 99998; display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(3px); }
.dsp-modal { width: 100%; max-width: 460px; max-height: 88vh; overflow-y: auto; border-radius: 20px; background: var(--nav-bg); border: 1px solid var(--bd3); padding: 22px; animation: dspFade .25s ease; }
.dsp-modal h3 { font-size: 16px; font-weight: 800; margin: 0 0 16px; color: var(--text-primary); }

/* ---------- توست ---------- */
.dsp-toast { position: fixed; bottom: 24px; right: 50%; transform: translateX(50%); z-index: 99999; padding: 12px 22px; border-radius: 999px; background: #17172a; color: #eafffd; border: 1px solid rgba(34,224,214,.4); font-family: Vazirmatn, sans-serif; font-size: 13.5px; font-weight: 700; box-shadow: 0 12px 32px rgba(0,0,0,.4); animation: dspFade .3s ease; direction: rtl; }
.dsp-toast.error { border-color: rgba(255,90,90,.5); color: #ffd7d7; }

/* ---------- صفحه ورود ---------- */
.dsp-auth-wrap { display: flex; align-items: center; justify-content: center; padding: 40px 16px; min-height: 480px; }
.dsp-auth-card { width: 100%; max-width: 420px; border-radius: 22px; padding: 28px 24px; background: linear-gradient(160deg, var(--card-from), var(--card-to)); border: 1px solid var(--bd2); }
.dsp-auth-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.dsp-auth-logo .dsp-logo-badge { width: 46px; height: 46px; border-radius: 14px; }
.dsp-auth-title { font-size: 19px; font-weight: 800; }
.dsp-auth-sub { font-size: 12.5px; color: var(--text-secondary); }
.dsp-auth-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: var(--wash3); margin-bottom: 20px; }
.dsp-auth-tab { flex: 1; padding: 10px; border: none; border-radius: 11px; background: transparent; color: var(--text-secondary); font-family: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.dsp-auth-tab.is-active { background: var(--acc-grad); color: #06121a; }
.dsp-auth-pane .dsp-btn { width: 100%; }
.dsp-input-code { text-align: center; font-size: 22px; letter-spacing: 12px; font-weight: 800; }
.dsp-auth-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.dsp-link { background: none; border: none; color: var(--acc-teal); font-family: inherit; font-size: 12.5px; cursor: pointer; padding: 0; }
.dsp-link:disabled { color: var(--text-muted); cursor: default; }
.dsp-auth-msg { margin-top: 16px; padding: 11px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.dsp-auth-msg.ok { background: rgba(52,227,155,.12); border: 1px solid rgba(52,227,155,.35); color: var(--acc-green); }
.dsp-auth-msg.err { background: rgba(255,90,90,.1); border: 1px solid rgba(255,90,90,.3); color: var(--acc-red); }
.dsp-auth-foot { margin-top: 18px; text-align: center; font-size: 11.5px; color: var(--text-faint); }

/* ---------- ناوبری پایین موبایل ---------- */
.dsp-bottom-nav { display: none; position: sticky; bottom: 0; z-index: 30; justify-content: space-around; align-items: center; padding: 11px 14px calc(12px + env(safe-area-inset-bottom)); background: var(--nav-bg); border-top: 1px solid var(--bd1); }
.dsp-bottom-item { display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; color: var(--text-secondary); background: none; border: none; font-family: inherit; }
.dsp-bottom-item.is-active { color: var(--nav-active-color); }
.dsp-bottom-item span { font-size: 9px; font-weight: 700; }

/* ---------- ریسپانسیو ---------- */
@media (max-width: 880px) {
	.dsp-side { display: none; }
	.dsp-pills { display: flex; }
	.dsp-bottom-nav { display: flex; }
	.dsp-main { padding: 16px 14px 24px; }
	.dsp-layout { min-height: auto; border-radius: 16px; }
	.dsp-header h2 { font-size: 18px; }
	.dsp-wallet-balance { font-size: 30px; }
}
