/**
 * VarzeshSanat — اکوسیستم هوشمند صنعت ورزش — Landing page styles.
 * Bright white + purple theme. Trilingual (fa/ar rtl, en ltr) via logical properties.
 */

/* Chat launcher: no text label on this portal */
.vs-body .cw-launcher-label { display: none !important; }

/* Chat launcher: hidden on mobile while the registration wizard is open, so the form is fully visible */
@media (max-width: 720px) {
  body.vs-reg-open #acc-chat-launcher { display: none !important; }
}

.vs-body {
  --vs-bg: #ffffff;
  --vs-bg-alt: #f7f2ff;
  --vs-surface: #ffffff;
  --vs-surface-2: #f3ecff;
  --vs-border: rgba(124, 58, 237, 0.16);
  --vs-ink: #2a1750;
  --vs-muted: #6e6088;
  --vs-purple-900: #4c1d95;
  --vs-purple-700: #6d28d9;
  --vs-purple-600: #7c3aed;
  --vs-purple-500: #8b5cf6;
  --vs-purple-400: #a78bfa;
  --vs-magenta: #d946ef;
  --vs-gold: #f2c56b;
  --vs-radius: 20px;
  --vs-shadow: 0 20px 48px rgba(124, 58, 237, 0.16);

  margin: 0;
  background: var(--vs-bg);
  color: var(--vs-ink);
  font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.vs-body * { box-sizing: border-box; }
.vs-body a { color: inherit; text-decoration: none; }
.vs-body img { max-width: 100%; display: block; }
.vs-body button { font-family: inherit; }

.vs-body[dir="ltr"] { direction: ltr; }
.vs-body[dir="rtl"] { direction: rtl; }

/* ── Header (fixed, transparent over hero photo → solid on scroll) ── */
.vs-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,0));
  border-bottom: 1px solid transparent;
  color: #fff;
  transition: background .25s ease, border-color .25s ease;
}
.vs-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--vs-border);
  color: var(--vs-ink);
}

/* صفحاتی بدون عکس هرو (مثل «همه تورها») — هدر همیشه solid است، نه فقط بعد از اسکرول */
.vs-body--plain-header .vs-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--vs-border);
  color: var(--vs-ink);
}
/* روی هدر solid، متن نباید رنگ سفید محو (حالت پیش‌فرض روی عکس هرو) بگیرد — حتی پیش از اسکرول.
   specificity باید از قانون عمومی «.vs-header:not(.is-scrolled) ...» که پایین‌تر در فایل می‌آید بیشتر باشد. */
html body.vs-body--plain-header .vs-header .vs-brand__sub { color: var(--vs-muted); }
html body.vs-body--plain-header .vs-header .vs-nav a { color: var(--vs-muted); }
html body.vs-body--plain-header .vs-header .vs-nav a:hover { color: var(--vs-purple-700); border-color: var(--vs-purple-500); }
html body.vs-body--plain-header .vs-header .vs-langs { background: var(--vs-surface-2); border-color: var(--vs-border); }
html body.vs-body--plain-header .vs-header .vs-lang-btn { color: var(--vs-ink); }

.vs-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: inherit;
}

.vs-brand__mark {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--vs-purple-500), var(--vs-magenta));
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}
.vs-brand__mark svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  stroke: #fff;
  stroke-width: .6;
  stroke-linejoin: round;
}

.vs-brand__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.vs-brand__sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--vs-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46vw;
}

.vs-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.vs-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--vs-muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.vs-nav a:hover { color: var(--vs-purple-700); border-color: var(--vs-purple-500); }

.vs-header:not(.is-scrolled) .vs-brand__sub { color: rgba(255,255,255,.75); }
.vs-header:not(.is-scrolled) .vs-nav a { color: rgba(255,255,255,.85); }
.vs-header:not(.is-scrolled) .vs-nav a:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.vs-header:not(.is-scrolled) .vs-langs { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }
.vs-header:not(.is-scrolled) .vs-lang-btn { color: rgba(255,255,255,.85); }

.vs-header__right { display: flex; align-items: center; gap: 14px; }

.vs-langs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--vs-surface-2);
  border: 1px solid var(--vs-border);
  transition: background .25s ease, border-color .25s ease;
}

.vs-lang-btn {
  border: 0;
  background: transparent;
  color: var(--vs-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .25s ease;
}
.vs-lang-btn.is-active {
  background: linear-gradient(135deg, var(--vs-purple-500), var(--vs-magenta));
  color: #fff;
}

.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}

.vs-btn--primary {
  background: linear-gradient(135deg, var(--vs-purple-500), var(--vs-magenta));
  color: #fff;
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.3);
}
.vs-btn--primary:hover { filter: brightness(1.06); }

.vs-btn--ghost {
  background: var(--vs-surface);
  color: var(--vs-purple-700);
  border: 1px solid var(--vs-border);
}

.vs-btn--block { width: 100%; }

/* ── Hero (full-bleed photo, header floats on top) ─────── */
.vs-hero--photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88vh;
  padding: 120px clamp(16px, 4vw, 48px) 64px;
  background-color: #140b28;
  background-image:
    linear-gradient(180deg, rgba(20,11,40,.55) 0%, rgba(20,11,40,.35) 45%, rgba(20,11,40,.85) 100%),
    linear-gradient(100deg, rgba(76,29,149,.55), rgba(217,70,239,.28) 60%, transparent 100%),
    url('/acc-engine/assets/img/portals/sport/hero-stadium.jpg');
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}

.vs-hero__inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }

.vs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-block-end: 22px;
  backdrop-filter: blur(6px);
}

.vs-hero__title {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 18px;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.vs-hero__lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.86);
  max-width: 640px;
  margin: 0 auto 34px;
}

.vs-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.vs-btn--on-photo {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
}

/* ── Stats bar (below hero, plain surface) ────────────── */
.vs-statsbar {
  padding: 40px clamp(16px, 4vw, 48px);
  background: var(--vs-bg-alt);
}

.vs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Members counter section ── */
.vs-members-counter {
  padding: 48px clamp(16px,4vw,40px) 56px;
  background: linear-gradient(135deg, #f3ecff 0%, #ede4ff 50%, #faf5ff 100%);
}
.vs-members-counter__inner { max-width: 980px; margin: 0 auto; }
.vs-members-counter__title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--vs-purple-900);
  margin: 0 0 28px;
}
.vs-members-counter__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}
.vs-counter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  aspect-ratio: 1;
  padding: 10px 6px;
  border-radius: 16px;
  border: 1.5px solid var(--vs-border);
  background: var(--vs-surface);
  box-shadow: 0 4px 18px rgba(124,58,237,.08);
  transition: transform .2s, box-shadow .2s;
}
.vs-counter-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(124,58,237,.16);
}
.vs-counter-card__icon { font-size: 1.5rem; line-height: 1; }
.vs-counter-card__num {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--vs-purple-600), var(--vs-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}
.vs-counter-card__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--vs-muted);
  text-align: center;
  line-height: 1.2;
}
.vs-counter-card--total { border-color: var(--vs-purple-400); }
.vs-counter-card--total .vs-counter-card__num { font-size: 1.8rem; }

.vs-stat {
  background: var(--vs-surface);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  padding: 18px 10px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.08);
}

.vs-stat__num {
  font-size: 1.7rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--vs-purple-600), var(--vs-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vs-stat__label { font-size: 12.5px; color: var(--vs-muted); margin-top: 4px; }

/* ── Sections ─────────────────────────────────────────── */
.vs-section { padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 48px); }
.vs-section--alt { background: var(--vs-bg-alt); }

.vs-section__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }

.vs-section__tag {
  display: inline-block;
  color: var(--vs-purple-600);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  margin-block-end: 10px;
}

.vs-section__title { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 900; margin: 0 0 12px; color: var(--vs-ink); }
.vs-section__lead { color: var(--vs-muted); font-size: 1rem; }

/* ── Pillars grid ─────────────────────────────────────── */
.vs-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.vs-pillar {
  background: var(--vs-surface);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  padding: 24px 20px;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.07);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.vs-pillar:hover { transform: translateY(-4px); border-color: var(--vs-purple-500); box-shadow: 0 16px 32px rgba(124, 58, 237, 0.14); }

.vs-pillar__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(139,92,246,.16), rgba(217,70,239,.14));
  color: var(--vs-purple-600);
  margin-block-end: 14px;
}
.vs-pillar__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.vs-pillar h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 8px; color: var(--vs-ink); }
.vs-pillar p { font-size: 13.5px; color: var(--vs-muted); margin: 0; }

/* ── AI concierge split ───────────────────────────────── */
.vs-ai {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.vs-ai__text .vs-section__title, .vs-ai__text .vs-section__tag { text-align: start; }
.vs-ai__text { text-align: start; }
.vs-ai__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.vs-ai__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--vs-muted);
}
.vs-ai__list li::before {
  content: '';
  flex: 0 0 auto;
  width: 8px; height: 8px;
  margin-block-start: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--vs-purple-500), var(--vs-magenta));
}

.vs-chatmock {
  background: var(--vs-surface);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  box-shadow: var(--vs-shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vs-chatmock__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--vs-muted);
  padding-block-end: 8px;
  border-block-end: 1px solid var(--vs-border);
  margin-block-end: 4px;
}
.vs-chatmock__dot { width: 8px; height: 8px; border-radius: 999px; background: #22c55e; }

.vs-bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; }
.vs-bubble--user {
  align-self: flex-end;
  background: var(--vs-surface-2);
  color: var(--vs-ink);
  border-start-end-radius: 4px;
}
.vs-bubble--ai {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--vs-purple-700), var(--vs-purple-600));
  color: #fff;
  border-start-start-radius: 4px;
}

/* ── Membership card ──────────────────────────────────── */
.vs-cardsec {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.vs-idcard {
  aspect-ratio: 1.586 / 1;
  border-radius: 22px;
  padding: 22px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(135deg, var(--vs-purple-700), var(--vs-purple-900) 55%, #2a1750);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--vs-shadow);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.vs-idcard::after {
  content: '';
  position: absolute;
  inset-inline-end: -30px;
  inset-block-start: -30px;
  width: 160px; height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(217,70,239,.5), transparent 70%);
}

.vs-idcard__top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .05em; opacity: .85; }
.vs-idcard__chip { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, var(--vs-gold), #d99a2b); }
.vs-idcard__name { font-size: 1.15rem; font-weight: 800; margin-block-end: 4px; }
.vs-idcard__meta { display: flex; justify-content: space-between; align-items: flex-end; font-size: 11px; opacity: .8; }
.vs-idcard__qr {
  width: 46px; height: 46px;
  border-radius: 8px;
  background:
    conic-gradient(#fff 0 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0/12px 12px,
    #fff;
  opacity: .9;
}

.vs-cardsec__text { text-align: start; }
.vs-cardsec__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.vs-cardsec__list li { font-size: 14px; color: var(--vs-muted); display: flex; gap: 10px; }
.vs-cardsec__list li b { color: var(--vs-ink); }

/* ── Roadmap ──────────────────────────────────────────── */
.vs-roadmap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.vs-phase {
  background: var(--vs-surface);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  padding: 20px 18px;
  position: relative;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.07);
}
.vs-phase__num {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--vs-purple-500), var(--vs-magenta));
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  margin-block-end: 12px;
}
.vs-phase h4 { font-size: .96rem; font-weight: 800; margin: 0 0 6px; color: var(--vs-ink); }
.vs-phase p { font-size: 13px; color: var(--vs-muted); margin: 0; }

/* ── CTA band ──────────────────────────────────────────── */
.vs-cta {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 26px;
  padding: clamp(32px, 5vw, 52px);
  text-align: center;
  background: linear-gradient(135deg, var(--vs-purple-700), var(--vs-magenta));
  box-shadow: var(--vs-shadow);
}
.vs-cta h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 900; margin: 0 0 12px; color: #fff; }
.vs-cta p { color: rgba(255,255,255,.85); margin: 0 0 24px; }
.vs-cta .vs-btn--primary { background: #fff; color: var(--vs-purple-700); box-shadow: none; }

/* ── Footer ───────────────────────────────────────────── */
.vs-footer {
  padding: 48px clamp(16px, 4vw, 48px) 28px;
  background: var(--vs-bg-alt);
  border-block-start: 1px solid var(--vs-border);
}
.vs-footer__grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  text-align: start;
}
.vs-footer__brand p { color: var(--vs-muted); font-size: 13.5px; margin-block-start: 10px; }
.vs-footer h5 { font-size: 13px; color: var(--vs-muted); margin: 0 0 14px; }
.vs-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vs-footer ul a { font-size: 13.5px; color: var(--vs-ink); }
.vs-footer ul a:hover { color: var(--vs-purple-600); }
.vs-footer__bottom {
  max-width: 1160px;
  margin: 32px auto 0;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--vs-border);
  font-size: 12.5px;
  color: var(--vs-muted);
  text-align: center;
}

/* ── Login / OTP modal ───────────────────────────────────── */
.vs-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(42, 23, 80, 0.45);
  backdrop-filter: blur(4px);
}
.vs-modal.is-open { display: flex; }

.vs-modal__box {
  width: 100%;
  max-width: 380px;
  background: var(--vs-surface);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  padding: 26px 24px;
  box-shadow: var(--vs-shadow);
  position: relative;
}

.vs-modal__close {
  position: absolute;
  inset-inline-end: 16px;
  inset-block-start: 14px;
  border: 0;
  background: transparent;
  color: var(--vs-muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.vs-modal__title { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; color: var(--vs-ink); }
.vs-modal__sub { font-size: 13px; color: var(--vs-muted); margin: 0 0 22px; }

.vs-field { margin-block-end: 14px; text-align: start; }
.vs-field label { display: block; font-size: 12.5px; color: var(--vs-muted); margin-block-end: 6px; }
.vs-field .vs-input-wrap { position: relative; }

.vs-field input {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--vs-border);
  background: var(--vs-surface-2);
  color: var(--vs-ink);
  padding: 0 14px;
  font-size: 15px;
  direction: ltr;
  text-align: end;
}
.vs-body[dir="rtl"] .vs-field input { text-align: end; }
.vs-field input:focus { outline: none; border-color: var(--vs-purple-500); background: #fff; }

.vs-field .vs-input-wrap input {
  direction: inherit;
  text-align: start;
  padding-inline-end: 44px;
}

.vs-field__toggle {
  position: absolute;
  inset-inline-end: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--vs-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.vs-field__toggle:hover { color: var(--vs-purple-600); background: var(--vs-surface-2); }
.vs-field__toggle svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.vs-otp-row { display: flex; gap: 8px; direction: ltr; }
.vs-otp-row input {
  text-align: center;
  padding: 0;
  font-size: 18px;
  font-weight: 800;
}

.vs-modal__link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--vs-purple-600);
  font-weight: 700;
  margin-block-start: 6px;
  cursor: pointer;
  background: none;
  border: 0;
  width: 100%;
}

.vs-modal__hint {
  font-size: 12.5px;
  color: var(--vs-muted);
  text-align: center;
  margin-block-end: 16px;
}

.vs-modal__step { display: none; }
.vs-modal__step.is-active { display: block; }

.vs-modal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--vs-muted);
  background: none;
  border: 0;
  cursor: pointer;
  margin-block-end: 14px;
  padding: 0;
}

/* ── Registration wizard ──────────────────────────────── */
.vs-modal__box--wide { max-width: 560px; max-height: 88vh; overflow-y: auto; }

.vs-field__msg { font-size: 13px; margin-block-end: 10px; min-height: 0; }
.vs-field__msg:empty { display: none; }
.vs-field__msg--error { color: #dc2626; }
.vs-field__msg--ok { color: #16a34a; }

.vs-wizard__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-block-end: 22px;
}
.vs-wizard__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: var(--vs-surface-2);
  color: var(--vs-muted);
  border: 1px solid var(--vs-border);
}
.vs-wizard__dot.is-active {
  background: linear-gradient(135deg, var(--vs-purple-500), var(--vs-magenta));
  color: #fff;
  border-color: transparent;
}
.vs-wizard__dot.is-done { background: var(--vs-purple-100, #ede9fe); color: var(--vs-purple-700); }

.vs-reg-step { display: none; }
.vs-reg-step.is-active { display: block; }

.vs-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.vs-role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 10px;
  border-radius: 14px;
  border: 1px solid var(--vs-border);
  background: var(--vs-surface);
  color: var(--vs-ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.vs-role-card__icon { font-size: 1.6rem; }
.vs-role-card:hover { border-color: var(--vs-purple-500); }
.vs-role-card.is-selected {
  border-color: var(--vs-purple-600);
  background: linear-gradient(135deg, rgba(139,92,246,.12), rgba(217,70,239,.08));
}

.vs-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vs-field-row .vs-field { min-width: 0; }

.vs-field select,
.vs-field textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--vs-border);
  background: var(--vs-surface-2);
  color: var(--vs-ink);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
}
.vs-field textarea { min-height: 64px; resize: vertical; }
.vs-field select:focus, .vs-field textarea:focus { outline: none; border-color: var(--vs-purple-500); background: #fff; }

.vs-input-wrap--btn { display: flex; gap: 8px; position: static; }
.vs-input-wrap--btn input { flex: 1; }
.vs-btn--sm { padding: 0 14px; min-height: 46px; white-space: nowrap; font-size: 12.5px; }

.vs-guardian-fields {
  margin-block-start: 4px;
  padding: 12px;
  border-radius: 12px;
  background: var(--vs-surface-2);
}

.vs-discipline-multiselect {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--vs-border);
  background: var(--vs-surface-2);
}
.vs-discipline-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--vs-border);
  background: var(--vs-surface);
  font-size: 12.5px;
  cursor: pointer;
  user-select: none;
}
.vs-discipline-chip input { margin: 0; }
.vs-discipline-chip.is-checked {
  background: linear-gradient(135deg, var(--vs-purple-500), var(--vs-magenta));
  color: #fff;
  border-color: transparent;
}

.vs-review-list { display: grid; gap: 8px; margin-block-end: 18px; }
.vs-review-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--vs-surface-2);
  font-size: 13px;
}
.vs-review-item b { color: var(--vs-ink); font-weight: 700; }
.vs-review-item span:last-child { color: var(--vs-muted); }

.vs-reg-done { text-align: center; padding: 20px 0; }
.vs-reg-done__icon { font-size: 3rem; display: block; margin-block-end: 12px; }

/* ── Header user chip ─────────────────────────────────── */
.vs-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--vs-border);
  background: var(--vs-surface);
  color: var(--vs-ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}
.vs-header:not(.is-scrolled) .vs-user-chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.vs-user-chip__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--vs-purple-500), var(--vs-magenta));
  font-size: 15px;
  flex: 0 0 auto;
}
.vs-user-chip__name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Account dashboard (full-screen) ──────────────────── */
.vs-dash {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  flex-direction: column;
  background: var(--vs-bg-alt);
}
.vs-dash.is-open { display: flex; animation: vsDashIn .35s ease-out; }
@keyframes vsDashIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.vs-dash__topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 3vw, 36px);
  background: linear-gradient(135deg, var(--vs-purple-700) 0%, var(--vs-purple-900) 60%, #1e0a3c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.vs-dash__topbar::before {
  content: '';
  position: absolute;
  inset-inline-end: -40px;
  inset-block-start: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,70,239,.35), transparent 70%);
  pointer-events: none;
}
.vs-dash__topbar::after {
  content: '';
  position: absolute;
  inset-inline-start: 20%;
  inset-block-end: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.25), transparent 70%);
  pointer-events: none;
}
.vs-dash__brand { display: flex; align-items: center; gap: 14px; min-width: 0; position: relative; z-index: 1; }
.vs-account-head__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.vs-dash__name { font-weight: 800; font-size: 16px; color: #fff; }
.vs-dash__meta { font-size: 12.5px; color: rgba(255,255,255,.7); margin-block-start: 2px; }

.vs-dash__topbar-actions { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.vs-dash__iconbtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: background .2s, color .2s, transform .2s;
}
.vs-dash__iconbtn:hover { background: rgba(220,38,38,.25); color: #fca5a5; transform: scale(1.08); }
.vs-dash__iconbtn[data-acc-home]:hover { background: rgba(255,255,255,.25); color: #fff; }

/* ── Dashboard card grid (ERP-style) ─────── */
.vs-dash__body { flex: 1 1 auto; display: flex; min-height: 0; }
.vs-dash__main { flex: 1 1 auto; overflow-y: auto; padding: clamp(20px,3vw,36px) clamp(16px,4vw,40px); }

/* ── Home hero: greeting + profile-completion ring ── */
.vs-dash-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 800px;
  margin: 0 auto 22px;
  padding: 18px 22px;
  border-radius: 20px;
  background: linear-gradient(120deg, var(--vs-purple-700) 0%, var(--vs-purple-900) 65%, #1e0a3c 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(76,29,149,.22);
  position: relative;
  overflow: hidden;
}
.vs-dash-hero::before {
  content: '';
  position: absolute;
  inset-inline-end: -50px;
  inset-block-start: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,70,239,.3), transparent 70%);
  pointer-events: none;
}
.vs-dash-hero__ring {
  --pct: 0;
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#fff calc(var(--pct) * 1%), rgba(255,255,255,.22) 0);
  position: relative;
  z-index: 1;
  transition: background .4s ease;
}
.vs-dash-hero__ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vs-purple-600), var(--vs-purple-800));
}
.vs-dash-hero__ring-pct { position: relative; z-index: 1; font-size: 14px; font-weight: 800; color: #fff; }
.vs-dash-hero__text { flex: 1 1 auto; min-width: 0; position: relative; z-index: 1; }
.vs-dash-hero__greeting { margin: 0 0 4px; font-size: 16.5px; font-weight: 800; color: #fff; }
.vs-dash-hero__sub { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.75); line-height: 1.7; }
.vs-dash-hero__cta {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.vs-dash-hero__cta:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); }

/* ── Home stat row ── */
.vs-dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 800px;
  margin: 0 auto 8px;
}
.vs-dash-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid var(--vs-border);
  background: var(--vs-surface);
  box-shadow: 0 4px 16px rgba(15,23,42,.05);
}
.vs-dash-stat__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}
.vs-dash-stat small { display: block; color: var(--vs-muted); font-size: 10.5px; margin-block-end: 4px; }
.vs-dash-stat strong { font-size: 17px; color: var(--vs-ink); font-variant-numeric: tabular-nums; }

/* ── Home section headings ── */
.vs-dash-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  max-width: 800px;
  margin: 26px auto 12px;
  padding-inline: 2px;
}
.vs-dash-section-head h4 { margin: 0; font-size: 14.5px; font-weight: 800; color: var(--vs-ink); }
.vs-dash-section-head span { font-size: 11.5px; color: var(--vs-muted); }

/* ── Home content-preview cards (identity/technical/anthro/history) ── */
.vs-dash-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 800px;
  margin: 0 auto 8px;
}
.vs-dash-preview {
  display: block;
  text-align: start;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1.5px solid var(--vs-border);
  background: var(--vs-surface);
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.vs-dash-preview:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,.12); border-color: var(--vs-purple-400); }
.vs-dash-preview__head { display: flex; align-items: center; gap: 10px; margin-block-end: 12px; }
.vs-dash-preview__icon { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; }
.vs-dash-preview__head b { flex: 1 1 auto; font-size: 13px; color: var(--vs-ink); }
.vs-dash-preview__link { flex: 0 0 auto; font-size: 11px; color: var(--vs-purple-600); font-weight: 700; }
.vs-dash-preview__body { display: grid; gap: 6px; }
.vs-dash-preview__body .vs-review-item { padding: 8px 10px; font-size: 12px; }
.vs-dash-preview__empty { padding: 10px; text-align: center; color: var(--vs-muted); font-size: 12px; background: var(--vs-bg-alt); border-radius: 10px; }

.vs-dash__cardgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin-inline: auto;
}
.vs-dash__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1.5px solid var(--vs-border);
  background: var(--vs-surface);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-align: start;
  font-family: inherit;
}
.vs-dash__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(124,58,237,.14);
  border-color: var(--vs-purple-400);
}
.vs-dash__card:active { transform: scale(.97); }
.vs-dash__card__icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.vs-card-icon--overview  { background: linear-gradient(135deg, #6366f1, #818cf8); box-shadow: 0 4px 14px rgba(99,102,241,.25); }
.vs-card-icon--profile   { background: linear-gradient(135deg, #8b5cf6, #a78bfa); box-shadow: 0 4px 14px rgba(139,92,246,.25); }
.vs-card-icon--technical { background: linear-gradient(135deg, #d946ef, #e879f9); box-shadow: 0 4px 14px rgba(217,70,239,.25); }
.vs-card-icon--anthro    { background: linear-gradient(135deg, #f59e0b, #fbbf24); box-shadow: 0 4px 14px rgba(245,158,11,.25); }
.vs-card-icon--history   { background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 4px 14px rgba(16,185,129,.25); }
.vs-card-icon--settings  { background: linear-gradient(135deg, #64748b, #94a3b8); box-shadow: 0 4px 14px rgba(100,116,139,.25); }
.vs-card-icon--tours     { background: linear-gradient(135deg, #ec4899, #f472b6); box-shadow: 0 4px 14px rgba(236,72,153,.25); }
.vs-card-icon--purchases { background: linear-gradient(135deg, #0ea5e9, #38bdf8); box-shadow: 0 4px 14px rgba(14,165,233,.25); }
.vs-card-icon--videos { background: linear-gradient(135deg, #f43f5e, #fb7185); box-shadow: 0 4px 14px rgba(244,63,94,.25); }
.vs-card-icon--consultations { background: linear-gradient(135deg, #14b8a6, #2dd4bf); box-shadow: 0 4px 14px rgba(20,184,166,.25); }
.vs-card-icon--myprogram { background: linear-gradient(135deg, #7c3aed, #d946ef); box-shadow: 0 4px 14px rgba(124,58,237,.25); }
.vs-card-icon--discipline { background: linear-gradient(135deg, #a21caf, #d946ef); box-shadow: 0 4px 14px rgba(162,28,175,.25); }
.vs-card-icon--news { background: linear-gradient(135deg, #ea580c, #fb923c); box-shadow: 0 4px 14px rgba(234,88,12,.25); }
.vs-card-icon--shop { background: linear-gradient(135deg, #16a34a, #4ade80); box-shadow: 0 4px 14px rgba(22,163,74,.25); }
.vs-card-icon--gallery { background: linear-gradient(135deg, #0891b2, #22d3ee); box-shadow: 0 4px 14px rgba(8,145,178,.25); }

.vs-dash__card__label {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--vs-ink);
}
.vs-dash__card__arrow {
  flex: 0 0 auto;
  font-size: 20px;
  color: var(--vs-muted);
  transition: transform .2s;
}
.vs-dash__card:hover .vs-dash__card__arrow { transform: translateX(-4px); color: var(--vs-purple-600); }

/* Back button inside panels — small icon-only control, not a wide text pill */
.vs-panel__back {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vs-purple-500,#7c3aed), var(--vs-purple-600,#6d28d9));
  color: #fff;
  box-shadow: 0 3px 10px rgba(124,58,237,.32);
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.vs-panel__back svg { width: 17px; height: 17px; }
.vs-panel__back:hover { box-shadow: 0 5px 14px rgba(124,58,237,.45); transform: scale(1.08); }
.vs-panel__back:active { transform: scale(.96); }

/* Panel show/hide — home vs subpanels */
.vs-dash__home { display: block; }
.vs-dash__home.is-hidden { display: none; }
.vs-account-panel { display: none; }
.vs-account-panel.is-active { display: block; animation: vsPanelIn .25s ease-out; }

/* عنوان بخش + دکمه بازگشت در یک ردیف هم‌تراز — بدون فضای اضافی */
.vs-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding-block-end: 8px;
  border-block-end: 2px solid rgba(124,58,237,.1);
}
.vs-panel__head .vs-account-section__title {
  margin: 0;
  padding-block-end: 0;
  border-block-end: none;
}

.vs-account-section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--vs-purple-600);
  margin: 24px 0 12px;
  padding-block-end: 8px;
  border-block-end: 2px solid rgba(124,58,237,.1);
}
.vs-account-section__title:first-child { margin-top: 0; }

.vs-account-panel { display: none; max-width: 660px; margin-inline: auto; }
.vs-account-panel.is-active { display: block; animation: vsPanelIn .3s ease-out; }
@keyframes vsPanelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Overview checklist ───────────────────────────────── */
.vs-dash-checklist { display: grid; gap: 12px; }
.vs-dash-check-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--vs-border);
  background: var(--vs-surface);
  cursor: pointer;
  text-align: start;
  width: 100%;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  box-shadow: 0 2px 8px rgba(124,58,237,.04);
}
.vs-dash-check-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,.12);
  border-color: var(--vs-purple-400);
}
.vs-dash-check-item__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.vs-dash-check-item:nth-child(1) .vs-dash-check-item__icon { background: linear-gradient(135deg, rgba(99,102,241,.14), rgba(129,140,248,.12)); }
.vs-dash-check-item:nth-child(2) .vs-dash-check-item__icon { background: linear-gradient(135deg, rgba(217,70,239,.14), rgba(232,121,249,.12)); }
.vs-dash-check-item:nth-child(3) .vs-dash-check-item__icon { background: linear-gradient(135deg, rgba(245,158,11,.14), rgba(251,191,36,.12)); }
.vs-dash-check-item__body { flex: 1 1 auto; min-width: 0; }
.vs-dash-check-item__title { font-weight: 800; font-size: 14px; color: var(--vs-ink); }
.vs-dash-check-item__status { font-size: 12.5px; color: var(--vs-muted); margin-block-start: 3px; }
.vs-dash-check-item__badge {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .02em;
}
.vs-dash-check-item__badge--done { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #15803d; box-shadow: 0 2px 8px rgba(22,163,74,.12); }
.vs-dash-check-item__badge--pending { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #a16207; box-shadow: 0 2px 8px rgba(180,83,9,.10); }
.vs-dash-check-item__chevron { flex: 0 0 auto; color: var(--vs-purple-400); font-size: 16px; transition: transform .2s; }
.vs-dash-check-item:hover .vs-dash-check-item__chevron { transform: translateX(-4px); }
[dir="ltr"] .vs-dash-check-item:hover .vs-dash-check-item__chevron { transform: translateX(4px); }

.vs-anthro-bmi {
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139,92,246,.08), rgba(217,70,239,.06));
  border: 1px solid rgba(124,58,237,.12);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--vs-purple-700);
}

/* ── Review list (profile tab) — card style ──────────── */
.vs-account-panel .vs-review-list { gap: 6px; }
.vs-account-panel .vs-review-item {
  border-radius: 12px;
  border: 1px solid var(--vs-border);
  background: var(--vs-surface);
  padding: 12px 16px;
  transition: border-color .2s;
}
.vs-account-panel .vs-review-item:hover { border-color: var(--vs-purple-400); }

/* ── Sports history list ──────────────────────────────── */
.vs-history-list { display: grid; gap: 0; margin-block-end: 14px; position: relative; padding-inline-start: 28px; }
.vs-history-list::before {
  content: '';
  position: absolute;
  inset-inline-start: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--vs-purple-400), var(--vs-magenta), rgba(217,70,239,.15));
  border-radius: 2px;
}
.vs-history-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-block-end: 10px;
  border-radius: 16px;
  border: 1px solid var(--vs-border);
  background: var(--vs-surface);
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  box-shadow: 0 2px 6px rgba(124,58,237,.04);
}
.vs-history-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124,58,237,.10);
  border-color: var(--vs-purple-400);
}
.vs-history-item::before {
  content: '';
  position: absolute;
  inset-inline-start: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vs-purple-500), var(--vs-magenta));
  border: 2px solid var(--vs-bg-alt);
  box-shadow: 0 0 0 2px var(--vs-purple-400);
}
.vs-history-item__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: linear-gradient(135deg, rgba(139,92,246,.12), rgba(217,70,239,.10));
}
.vs-history-item__body { flex: 1 1 auto; min-width: 0; }
.vs-history-item__title { font-weight: 800; font-size: 14px; color: var(--vs-ink); }
.vs-history-item__meta { font-size: 12.5px; color: var(--vs-muted); margin-block-start: 3px; }
.vs-history-item__actions { display: flex; gap: 6px; flex: 0 0 auto; }
.vs-history-item__actions button {
  border: 0;
  background: var(--vs-surface-2);
  color: var(--vs-muted);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  transition: background .2s, color .2s, transform .2s;
}
.vs-history-item__actions button:hover { color: var(--vs-purple-700); background: rgba(139,92,246,.12); transform: scale(1.1); }
.vs-history-empty {
  text-align: center;
  font-size: 13.5px;
  color: var(--vs-muted);
  padding: 32px 0;
  margin-inline-start: -28px;
}

/* ── Account "edit" button ───────────────────────────── */
.vs-account-panel .vs-btn--primary.vs-btn--block {
  margin-block-start: 22px;
  border-radius: 14px;
  font-size: 14.5px;
  min-height: 48px;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .vs-pillars { grid-template-columns: repeat(2, 1fr); }
  .vs-ai, .vs-cardsec { grid-template-columns: 1fr; }
  .vs-cardsec { text-align: center; }
  .vs-ai__text, .vs-ai__text .vs-section__title, .vs-ai__text .vs-section__tag,
  .vs-cardsec__text { text-align: center; }
  .vs-ai__list li, .vs-cardsec__list li { text-align: start; }
  .vs-idcard { max-width: 380px; margin: 0 auto; }
  .vs-roadmap { grid-template-columns: repeat(2, 1fr); }
  .vs-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .vs-nav { display: none; }
  .vs-stats { grid-template-columns: repeat(2, 1fr); }
  .vs-pillars { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vs-pillar { padding: 18px 14px; }
  .vs-pillar__icon { width: 40px; height: 40px; }
  .vs-pillar__icon svg { width: 20px; height: 20px; }
  .vs-pillar h3 { font-size: .92rem; }
  .vs-pillar p { font-size: 12.5px; }
  .vs-roadmap { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vs-phase { padding: 14px 12px; }
  .vs-phase__num { width: 26px; height: 26px; font-size: 11.5px; }
  .vs-phase h4 { font-size: .82rem; }
  .vs-phase p { font-size: 11.5px; }
  .vs-footer__grid { grid-template-columns: 1fr; text-align: center; }
  .vs-footer ul { justify-items: center; }
  .vs-footer__brand p { text-align: center; }
  .vs-hero--photo { min-height: 78vh; padding-top: 100px; }

  .vs-header { padding: 10px 12px; gap: 8px; }
  .vs-brand { gap: 8px; }
  .vs-brand__mark { width: 32px; height: 32px; border-radius: 10px; }
  .vs-brand__mark svg { width: 17px; height: 17px; }
  .vs-brand__text > span:first-child { font-size: .92rem; }
  .vs-brand__sub { display: none; }
  .vs-header__right { gap: 8px; }
  .vs-langs { gap: 2px; padding: 3px; }
  .vs-lang-btn { padding: 5px 8px; font-size: 11px; }
  .vs-header .vs-btn--primary { padding: 9px 14px; font-size: 13px; min-height: 38px; }

  .vs-field-row { grid-template-columns: 1fr; gap: 0; }
  .vs-role-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-modal__box--wide { max-width: 100%; }

  .vs-dash__topbar { padding: 14px 16px; }
  .vs-account-head__icon { width: 44px; height: 44px; font-size: 1.3rem; }
  .vs-dash__name { font-size: 14.5px; }

  .vs-dash__main { padding: 18px 16px 90px; }

  .vs-dash-hero { flex-wrap: wrap; gap: 12px; padding: 16px 18px; max-width: none; }
  .vs-dash-hero__ring { width: 54px; height: 54px; }
  .vs-dash-hero__ring-pct { font-size: 12px; }
  .vs-dash-hero__greeting { font-size: 14.5px; }
  .vs-dash-hero__sub { font-size: 11.5px; }
  .vs-dash-hero__cta { flex: 1 1 100%; text-align: center; }

  .vs-dash-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: none; }
  .vs-dash-stat { padding: 12px; border-radius: 14px; }
  .vs-dash-stat__icon { width: 36px; height: 36px; }
  .vs-dash-stat strong { font-size: 15px; }

  .vs-dash-section-head { max-width: none; margin: 20px 0 10px; }

  .vs-dash-preview-grid { grid-template-columns: 1fr; gap: 10px; max-width: none; }
  .vs-dash-preview { padding: 14px 16px; }

  .vs-dash__cardgrid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: none;
  }
  .vs-dash__card {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 14px 6px;
    text-align: center;
  }
  .vs-dash__card__icon { width: 42px; height: 42px; font-size: 1.25rem; }
  .vs-dash__card__label { font-size: 11.5px; flex: 0 0 auto; }
  .vs-dash__card__arrow { display: none; }

  .vs-dash-check-item { padding: 14px 16px; gap: 12px; border-radius: 14px; }
  .vs-dash-check-item__icon { width: 42px; height: 42px; border-radius: 12px; }

  .vs-history-list { padding-inline-start: 22px; }
  .vs-history-list::before { inset-inline-start: 8px; }
  .vs-history-item::before { inset-inline-start: -18px; width: 8px; height: 8px; }
}

@media (max-width: 360px) {
  .vs-header .vs-lang-btn[data-lang="fa"] { padding-inline: 9px; }
}

/* ── Test accounts FAB + panel ────────────────────────── */
.vs-test-fab {
  position: fixed;
  left: 20px;
  bottom: 100px;
  z-index: 8000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--vs-purple-600), var(--vs-magenta));
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124,58,237,.35);
  transition: transform .2s, box-shadow .2s;
  display: grid;
  place-items: center;
}
.vs-test-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(124,58,237,.45); }
.vs-test-fab.is-active { transform: rotate(45deg) scale(1.1); }

.vs-test-panel {
  position: fixed;
  left: 20px;
  bottom: 162px;
  z-index: 8001;
  width: 380px;
  max-width: calc(100vw - 40px);
  max-height: min(520px, calc(100vh - 200px));
  background: var(--vs-surface);
  border: 1px solid var(--vs-border);
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.96);
  transition: opacity .25s ease, transform .25s ease;
  overflow: hidden;
}
.vs-test-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.vs-test-panel__head {
  padding: 14px 16px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--vs-border);
  flex-shrink: 0;
}
.vs-test-panel__head h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--vs-ink);
  margin: 0;
  flex: 1;
}
.vs-test-panel__sub {
  font-size: .75rem;
  color: var(--vs-muted);
}
.vs-test-panel__sub code {
  background: rgba(124,58,237,.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: monospace;
  color: var(--vs-purple-600);
  font-size: .75rem;
}
.vs-test-panel__close {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  font-size: 1.3rem;
  color: var(--vs-muted);
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.vs-test-panel__close:hover { background: rgba(124,58,237,.1); color: var(--vs-ink); }

.vs-test-panel__filters {
  display: flex;
  gap: 4px;
  padding: 8px 12px 4px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.vs-test-filter {
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid var(--vs-border);
  background: transparent;
  color: var(--vs-muted);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.vs-test-filter:hover { border-color: var(--vs-purple-400); color: var(--vs-ink); }
.vs-test-filter.active {
  background: var(--vs-purple-600);
  color: #fff;
  border-color: var(--vs-purple-600);
}

.vs-test-search {
  margin: 6px 12px 2px;
  padding: 7px 12px;
  border: 1px solid var(--vs-border);
  border-radius: 10px;
  font-size: .82rem;
  font-family: inherit;
  background: var(--vs-bg-alt);
  color: var(--vs-ink);
  direction: rtl;
  outline: none;
  flex-shrink: 0;
}
.vs-test-search:focus { border-color: var(--vs-purple-500); }

.vs-test-list {
  list-style: none;
  margin: 0;
  padding: 6px 8px 8px;
  overflow-y: auto;
  flex: 1 1 auto;
}
.vs-test-list::-webkit-scrollbar { width: 4px; }
.vs-test-list::-webkit-scrollbar-thumb { background: var(--vs-purple-400); border-radius: 4px; }

.vs-test-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s, transform .1s;
  border: 1px solid transparent;
}
.vs-test-item:hover {
  background: var(--vs-bg-alt);
  border-color: var(--vs-border);
}
.vs-test-item:active { transform: scale(.98); }
.vs-test-item.is-loading {
  opacity: .5;
  pointer-events: none;
}
.vs-test-item.is-loading::after {
  content: '⏳';
  margin-inline-start: auto;
}
.vs-test-item.is-error {
  background: rgba(239,68,68,.1);
  border-color: rgba(239,68,68,.3);
}

.vs-test-item__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.vs-test-item__role {
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 1px 7px;
  border-radius: 8px;
  display: inline-block;
  width: fit-content;
}
.vs-tl--athlete .vs-test-item__role { background: #ede9fe; color: #5b21b6; }
.vs-tl--coach .vs-test-item__role   { background: #d1fae5; color: #065f46; }
.vs-tl--referee .vs-test-item__role { background: #fef3c7; color: #92400e; }
.vs-tl--club .vs-test-item__role    { background: #dbeafe; color: #1e40af; }
.vs-tl--federation .vs-test-item__role { background: #fce7f3; color: #9d174d; }
.vs-tl--discipline-admin .vs-test-item__role { background: #fee2e2; color: #991b1b; }

.vs-test-item__name {
  font-size: .85rem;
  font-weight: 500;
  color: var(--vs-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vs-test-item__sub {
  font-size: .72rem;
  color: var(--vs-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vs-test-item__phone {
  font-size: .72rem;
  font-family: monospace;
  color: var(--vs-purple-600);
  flex-shrink: 0;
  direction: ltr;
}
.vs-test-empty {
  text-align: center;
  padding: 24px;
  color: var(--vs-muted);
  font-size: .85rem;
}

@media (max-width: 480px) {
  .vs-test-panel {
    left: 8px;
    right: 8px;
    width: auto;
    max-width: none;
    bottom: 148px;
    max-height: calc(100vh - 180px);
  }
  .vs-test-fab { left: 14px; bottom: 88px; width: 46px; height: 46px; font-size: 1.2rem; }
}

/* ── Sport tours — homepage grid + profile panel ─────────────── */
.vs-section__more { text-align: center; margin-top: 26px; }

.vs-shop-preview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.vs-shop-preview-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--vs-border);
  border-radius: var(--vs-radius);
  background: var(--vs-surface);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.vs-shop-preview-card:hover { transform: translateY(-4px); box-shadow: var(--vs-shadow); }
.vs-shop-preview-card__media {
  height: 110px;
  display: grid; place-items: center;
  font-size: 2.6rem;
  background: linear-gradient(135deg, var(--vs-surface-2), #fff);
}
.vs-shop-preview-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.vs-shop-preview-card__name { font-size: 13.5px; font-weight: 700; color: var(--vs-ink); line-height: 1.5; min-height: 40px; }
.vs-shop-preview-card__price { font-size: 14px; font-weight: 900; color: var(--vs-purple-700); }

.vs-tours__banner {
  max-width: 900px; margin: 0 auto 20px;
  padding: 14px 18px; border-radius: 14px;
  font-size: 13.5px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.vs-tours__banner--ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.vs-tours__banner--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.vs-tours__banner--info { background: var(--vs-surface-2); color: var(--vs-purple-700); border: 1px solid var(--vs-border); }

.vs-tours__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.vs-tours__loading { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--vs-muted); }

.vs-tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--vs-border);
  border-radius: var(--vs-radius);
  background: var(--vs-surface);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.vs-tour-card:hover { transform: translateY(-4px); box-shadow: var(--vs-shadow); }
.vs-tour-card__cover {
  height: 130px;
  display: grid; place-items: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--vs-surface-2), #fff);
}
.vs-tour-card__badge {
  position: absolute; top: 10px; inset-inline-start: 10px;
  background: var(--vs-magenta); color: #fff;
  font-size: 10.5px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px;
}
.vs-tour-card__seats {
  position: absolute; top: 10px; inset-inline-end: 10px;
  background: rgba(255,255,255,.92); color: var(--vs-purple-700);
  font-size: 10.5px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--vs-border);
}
.vs-tour-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.vs-tour-card__title { font-size: 15px; font-weight: 800; color: var(--vs-ink); line-height: 1.5; }
.vs-tour-card__meta { font-size: 12.5px; color: var(--vs-muted); display: flex; flex-wrap: wrap; gap: 8px; }
.vs-tour-card__price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.vs-tour-card__price { font-size: 15px; font-weight: 900; color: var(--vs-purple-700); }
.vs-tour-card__cta { font-size: 12.5px; font-weight: 800; color: var(--vs-purple-600); }

/* ── Tour detail (inside vs-tour-modal) ── */
.vs-tour-detail__cover { font-size: 3.4rem; text-align: center; margin-bottom: 10px; }
.vs-tour-detail__title { font-size: 1.2rem; font-weight: 900; color: var(--vs-ink); margin: 0 0 6px; }
.vs-tour-detail__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--vs-muted); margin-bottom: 14px; }
.vs-tour-detail__highlights { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vs-tour-detail__highlights li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--vs-ink); }
.vs-tour-detail__highlights li::before { content: '✓'; color: var(--vs-purple-600); font-weight: 900; }
.vs-tour-detail__price-box {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--vs-surface-2); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px;
}
.vs-tour-detail__price-box b { font-size: 18px; color: var(--vs-purple-700); }

/* ── Tours sub-tabs (profile panel) ── */
.vs-tours-subtabs { display: flex; gap: 6px; background: var(--vs-surface-2); padding: 4px; border-radius: 12px; margin-bottom: 16px; }
.vs-tours-subtab { flex: 1; padding: 8px; border: none; background: none; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--vs-muted); cursor: pointer; font-family: inherit; }
.vs-tours-subtab.is-active { background: var(--vs-surface); color: var(--vs-purple-700); box-shadow: 0 2px 8px rgba(124,58,237,.15); }

.vs-tour-booking-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--vs-border); border-radius: 14px; margin-bottom: 10px;
}
.vs-tour-booking-item__icon { font-size: 26px; }
.vs-tour-booking-item__body { flex: 1; }
.vs-tour-booking-item__title { font-size: 13.5px; font-weight: 700; color: var(--vs-ink); }
.vs-tour-booking-item__meta { font-size: 12px; color: var(--vs-muted); }
.vs-tour-booking-item__status {
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.vs-tour-booking-item__status--paid { background: #ecfdf5; color: #047857; }
.vs-tour-booking-item__status--pending { background: #fef3c7; color: #92400e; }
.vs-tour-booking-item__status--failed, .vs-tour-booking-item__status--cancelled { background: #fef2f2; color: #b91c1c; }

/* ── فیلتر رشته ورزشی (ویدیو/مشاوره/اخبار) ── */
.vs-discipline-filter { max-width: 340px; margin: 0 auto 24px; }

/* ── ردیف یکپارچه فیلتر گالری: مرتب‌سازی + رشته‌های پرطرفدار + دراپ‌داون همه رشته‌ها ── */
.vs-gallery-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 14px; max-width: 1160px; margin: 0 auto 24px;
}
.vs-gallery-toolbar .vs-news-filters,
.vs-gallery-toolbar .vs-discipline-filter { margin: 0; max-width: none; }
.vs-gallery-toolbar .vs-discipline-filter select { width: auto; min-width: 190px; }
.vs-news-filter--popular { display: inline-flex; align-items: center; gap: 5px; }
.vs-discipline-filter select {
  width: 100%; padding: 11px 16px; border-radius: 12px; border: 1.5px solid var(--vs-border);
  background: var(--vs-surface); color: var(--vs-ink); font-size: 13.5px; font-weight: 700;
  font-family: inherit; cursor: pointer;
}

/* ── فیلتر دسته اخبار ── */
.vs-news-filters {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  max-width: 1160px; margin: 0 auto 24px;
}
.vs-news-filter {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--vs-border);
  background: var(--vs-surface); color: var(--vs-ink); font-size: 12.5px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.vs-news-filter.is-active { background: linear-gradient(135deg, var(--vs-purple-600), var(--vs-magenta)); color: #fff; border-color: transparent; }

/* ── ویدیو / مشاور / خبر — کارت‌های همسان با tour-card ── */
.vs-videos__grid, .vs-consultants__grid, .vs-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  justify-content: center;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.vs-video-card, .vs-consultant-card, .vs-news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--vs-border);
  border-radius: var(--vs-radius);
  background: var(--vs-surface);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.vs-video-card:hover, .vs-consultant-card:hover, .vs-news-card:hover { transform: translateY(-4px); box-shadow: var(--vs-shadow); }

.vs-video-card__cover, .vs-news-card__cover {
  height: 110px; display: grid; place-items: center; font-size: 2.6rem;
  background: linear-gradient(135deg, var(--vs-surface-2), #fff);
}
.vs-video-card__badge, .vs-news-card__badge {
  position: absolute; top: 10px; inset-inline-start: 10px;
  font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.vs-video-card__badge--free { background: #10b981; color: #fff; }
.vs-video-card__badge--paid { background: var(--vs-magenta); color: #fff; }

.vs-video-card__body, .vs-consultant-card__body, .vs-news-card__body {
  padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px;
}
.vs-video-card__title, .vs-news-card__title { font-size: 14px; font-weight: 800; color: var(--vs-ink); line-height: 1.5; min-height: 42px; }
.vs-video-card__meta, .vs-news-card__meta { font-size: 12px; color: var(--vs-muted); display: flex; flex-wrap: wrap; gap: 8px; }
.vs-video-card__price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.vs-video-card__price { font-size: 14px; font-weight: 900; color: var(--vs-purple-700); }
.vs-video-card__price--free { color: #10b981; }

.vs-consultant-card__body { align-items: center; text-align: center; padding: 20px 16px; }
.vs-consultant-card__avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.8rem; background: linear-gradient(135deg, var(--vs-purple-500), var(--vs-magenta));
  margin-bottom: 6px;
}
.vs-consultant-card__name { font-size: 14px; font-weight: 800; color: var(--vs-ink); }
.vs-consultant-card__specialty { font-size: 12px; color: var(--vs-purple-600); font-weight: 700; }
.vs-consultant-card__price { font-size: 13px; font-weight: 800; color: var(--vs-ink); margin-top: 4px; }
.vs-consultant-card__slots { font-size: 11px; color: var(--vs-muted); }

.vs-news-card__cat {
  position: absolute; top: 10px; inset-inline-end: 10px;
  background: rgba(255,255,255,.92); color: var(--vs-purple-700);
  font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--vs-border);
}
.vs-news-card__source { font-size: 11px; color: var(--vs-purple-600); font-weight: 700; }

/* ── جزئیات (مودال) ── */
.vs-video-player-wrap { position: relative; width: 100%; padding-top: 56.25%; border-radius: 14px; overflow: hidden; margin-bottom: 14px; background: #000; }
.vs-video-player-wrap iframe, .vs-video-player-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.vs-video-card__owner { font-size: 11.5px; color: var(--vs-purple-600); font-weight: 700; }
.vs-gallery-card__pending-badge { position: absolute; top: 10px; inset-inline-start: 10px; background: #f59e0b; color: #fff; font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }

.vs-gallery-comments { border-top: 1px solid var(--vs-border); padding-top: 16px; margin-top: 4px; }
.vs-gallery-comment { padding: 10px 0; border-bottom: 1px solid var(--vs-border); }
.vs-gallery-comment:last-child { border-bottom: none; }
.vs-gallery-comment__head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-bottom: 4px; }
.vs-gallery-comment__head strong { color: var(--vs-ink); font-size: 12.5px; }
.vs-gallery-comment__head span { color: var(--vs-muted); font-size: 10.5px; }
.vs-gallery-comment p { margin: 0; font-size: 13px; color: var(--vs-ink); line-height: 1.8; }
.vs-video-locked { text-align: center; padding: 40px 16px; background: var(--vs-surface-2); border-radius: 14px; margin-bottom: 14px; }

.vs-consultant-detail__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 14px 0; }
.vs-slot-btn {
  padding: 10px; border-radius: 10px; border: 1.5px solid var(--vs-border); background: var(--vs-surface);
  font-size: 12.5px; font-weight: 700; cursor: pointer; text-align: center; font-family: inherit;
}
.vs-slot-btn:hover, .vs-slot-btn.is-selected { border-color: var(--vs-purple-500); background: var(--vs-surface-2); color: var(--vs-purple-700); }

.vs-news-detail__body { font-size: 14px; line-height: 2; color: var(--vs-ink); margin: 14px 0; }

@media (max-width: 640px) {
  .vs-tours__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vs-tour-card__cover { height: 90px; font-size: 2.1rem; }
  .vs-tour-card__body { padding: 10px 10px 12px; }
  .vs-tour-card__title { font-size: 12.5px; min-height: 36px; }

  .vs-shop-preview__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vs-shop-preview-card__media { height: 80px; font-size: 2rem; }
  .vs-shop-preview-card__body { padding: 10px 10px 12px; }
  .vs-shop-preview-card__name { font-size: 12px; min-height: 34px; }

  .vs-videos__grid, .vs-consultants__grid, .vs-news__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vs-video-card__cover, .vs-news-card__cover { height: 80px; font-size: 2rem; }
  .vs-video-card__body, .vs-news-card__body { padding: 10px 10px 12px; }
  .vs-video-card__title, .vs-news-card__title { font-size: 12px; min-height: 34px; }
  .vs-consultant-card__body { padding: 14px 10px; }
  .vs-consultant-card__avatar { width: 50px; height: 50px; font-size: 1.4rem; }
  .vs-consultant-card__name { font-size: 12.5px; }
}

/* ── تالار نخبگان ورزشی ── */

.vs-elite-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 118px clamp(16px,4vw,40px) 34px; isolation: isolate;
}
.vs-elite-hero__glow {
  position: absolute; inset: -40% -10% auto -10%; height: 420px; z-index: -1;
  background:
    radial-gradient(closest-side, rgba(217,70,239,.22), transparent 70%) 15% 40% / 42% 100% no-repeat,
    radial-gradient(closest-side, rgba(124,58,237,.28), transparent 70%) 82% 30% / 46% 100% no-repeat,
    radial-gradient(closest-side, rgba(251,191,36,.16), transparent 70%) 50% 65% / 36% 100% no-repeat;
  filter: blur(18px);
}
.vs-elite-hero__note { font-size: 11.5px; color: var(--vs-muted); opacity: .8; margin-top: 14px; }

.vs-elite-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 4px; }
.vs-elite-stat {
  display: inline-flex; align-items: baseline; gap: 5px; font-size: 12.5px; color: var(--vs-purple-700); font-weight: 700;
  background: var(--vs-surface); border: 1.5px solid var(--vs-border); border-radius: 999px; padding: 7px 16px;
  box-shadow: 0 4px 14px rgba(124,58,237,.08);
}
.vs-elite-stat b { font-size: 16px; font-weight: 900; color: var(--vs-ink); }
.vs-elite-stat--world { border-color: rgba(251,191,36,.4); }
.vs-elite-stat--asian { border-color: rgba(56,189,248,.4); }

/* فیلتر سطح — segmented pill به‌جای کمبوباکس */
.vs-elite-filter {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 auto 28px; max-width: 620px;
}
.vs-elite-filter__btn {
  font: inherit; font-size: 13px; font-weight: 700; color: var(--vs-muted); cursor: pointer;
  background: var(--vs-surface); border: 1.5px solid var(--vs-border); border-radius: 999px; padding: 9px 20px;
  transition: transform .15s, box-shadow .15s, color .15s, background .15s, border-color .15s;
}
.vs-elite-filter__btn:hover { transform: translateY(-1px); border-color: var(--vs-purple-300, var(--vs-purple-500)); }
.vs-elite-filter__btn.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--vs-purple-600), var(--vs-magenta));
  box-shadow: 0 8px 18px rgba(124,58,237,.3);
}

/* گرید و کارت نخبگان — طراحی اختصاصی */
.vs-elite-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 260px));
  justify-content: center; gap: 20px; max-width: 1160px; margin: 0 auto;
}
.vs-elite-skeleton {
  height: 268px; border-radius: var(--vs-radius); background: var(--vs-surface-2);
  border: 1.5px solid var(--vs-border);
  background-image: linear-gradient(100deg, transparent 30%, rgba(124,58,237,.08) 50%, transparent 70%);
  background-size: 200% 100%; animation: vsEliteShimmer 1.5s infinite;
}
@keyframes vsEliteShimmer { from { background-position: 140% 0; } to { background-position: -40% 0; } }

.vs-elite-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1.5px solid var(--vs-border); border-radius: var(--vs-radius); background: var(--vs-surface);
  padding: 26px 18px 18px; cursor: pointer; overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.vs-elite-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 64px;
  background: linear-gradient(135deg, var(--vs-purple-500), var(--vs-magenta)); opacity: .08;
}
.vs-elite-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(124,58,237,.16); border-color: transparent; }

.vs-elite-card__ribbon {
  position: absolute; top: 12px; left: -30px; transform: rotate(-45deg);
  background: var(--vs-magenta); color: #fff; font-size: 9.5px; font-weight: 800;
  padding: 3px 34px; box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.vs-elite-card__ring {
  position: relative; z-index: 1; width: 86px; height: 86px; border-radius: 50%; padding: 3px;
  display: grid; place-items: center; margin-bottom: 10px;
  background: conic-gradient(from 220deg, var(--vs-purple-500), var(--vs-magenta), var(--vs-purple-500));
}
.vs-elite-card__ring--asian { background: conic-gradient(from 220deg, #0ea5e9, #38bdf8, #0ea5e9); }
.vs-elite-card__avatar {
  width: 100%; height: 100%; border-radius: 50%; background: var(--vs-surface);
  display: grid; place-items: center; font-size: 2rem;
}
.vs-elite-card__name { font-size: 14.5px; font-weight: 800; color: var(--vs-ink); }
.vs-elite-card__headline { font-size: 12px; color: var(--vs-muted); min-height: 32px; margin-top: 2px; line-height: 1.6; }
.vs-elite-card__meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.vs-elite-card__country { font-size: 11px; color: var(--vs-muted); }
.vs-elite-card__cta {
  margin-top: 14px; font-size: 11.5px; font-weight: 800; color: var(--vs-purple-600);
  border-top: 1px dashed var(--vs-border); width: 100%; padding-top: 10px;
}

.vs-elite-tier {
  display: inline-block; font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
}
.vs-elite-tier--world { background: #fef3c7; color: #92400e; }
.vs-elite-tier--asian { background: #e0f2fe; color: #075985; }

.vs-elite-banner {
  border-radius: 12px; padding: 12px 16px; font-size: 13px; line-height: 1.9; margin-bottom: 16px;
}
.vs-elite-banner--pending { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.vs-elite-banner--approved { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.vs-elite-banner--rejected { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.vs-elite-req-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  background: var(--vs-surface-2); margin-bottom: 8px; font-size: 12.5px; cursor: pointer;
}
.vs-elite-req-item__icon { font-size: 22px; }
.vs-elite-req-item__body { flex: 1; }
.vs-elite-req-item__title { font-weight: 800; color: var(--vs-ink); }
.vs-elite-req-item__meta { font-size: 11px; color: var(--vs-muted); }
.vs-elite-req-item__status { font-size: 10.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.vs-elite-req-item__status--pending { background: #fef3c7; color: #92400e; }
.vs-elite-req-item__status--approved { background: #ecfdf5; color: #047857; }
.vs-elite-req-item__status--rejected, .vs-elite-req-item__status--closed { background: #fef2f2; color: #b91c1c; }

.vs-elite-chat { max-height: 340px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--vs-surface-2); border-radius: 12px; margin: 10px 0; }
.vs-elite-chat__msg { max-width: 78%; padding: 9px 13px; border-radius: 14px; font-size: 12.5px; line-height: 1.7; }
.vs-elite-chat__msg--me { align-self: flex-end; background: var(--vs-purple-600); color: #fff; border-bottom-right-radius: 3px; }
.vs-elite-chat__msg--them { align-self: flex-start; background: var(--vs-surface); border: 1px solid var(--vs-border); color: var(--vs-ink); border-bottom-left-radius: 3px; }
.vs-elite-chat__time { font-size: 9.5px; opacity: .65; margin-top: 3px; }
.vs-elite-chat__composer { display: flex; gap: 8px; }
.vs-elite-chat__composer input { flex: 1 1 auto; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--vs-border); font-family: inherit; }

.vs-elite-rounds { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 10px; background: var(--vs-surface-2); border-radius: 12px; margin: 8px 0; }
.vs-elite-round { padding: 10px 12px; border-radius: 10px; background: var(--vs-surface); border: 1px solid var(--vs-border); border-right: 3px solid var(--vs-purple-400, #a78bfa); font-size: 12.5px; }
.vs-elite-round--accepted { border-right-color: #22c55e; }
.vs-elite-round--rejected { border-right-color: #ef4444; }
.vs-elite-round__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; }
.vs-elite-round__badge { font-size: 10.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: #ede9fe; color: #6d28d9; }
.vs-elite-round__amount { margin-top: 4px; font-weight: 800; color: var(--vs-purple-700); }
.vs-elite-round__terms { margin: 4px 0 0; color: var(--vs-muted); line-height: 1.8; }
.vs-elite-round-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.vs-elite-round-form select, .vs-elite-round-form input, .vs-elite-round-form textarea { padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--vs-border); font-family: inherit; font-size: 12.5px; }
.vs-elite-round--schedule { border-right-color: #38bdf8; }
.vs-elite-schedule-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; padding-top: 10px; border-top: 1px dashed var(--vs-border); }
.vs-elite-schedule-label { font-size: 12px; color: var(--vs-muted); }
.vs-elite-schedule-row { display: flex; gap: 8px; flex-wrap: wrap; }
.vs-elite-schedule-row input, .vs-elite-schedule-row select { flex: 1; min-width: 160px; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--vs-border); font-family: inherit; font-size: 12.5px; }

/* بسته‌های حضور تبلیغاتی — انتخابگر رادیویی */
.vs-elite-placement {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 8px;
  border: 1.5px solid var(--vs-border); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s;
}
.vs-elite-placement:hover { border-color: var(--vs-purple-500); }
.vs-elite-placement:has(input:checked) { border-color: var(--vs-purple-600); background: var(--vs-surface-2); }
.vs-elite-placement input { accent-color: var(--vs-purple-600); flex-shrink: 0; }
.vs-elite-placement__icon { font-size: 20px; flex-shrink: 0; }
.vs-elite-placement__body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vs-elite-placement__body b { font-size: 13px; color: var(--vs-ink); }
.vs-elite-placement__body small { font-size: 11px; color: var(--vs-muted); }
.vs-elite-placement__price { font-size: 12px; font-weight: 800; color: var(--vs-purple-700); white-space: nowrap; }

.em-toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    padding: 12px 24px; border-radius: 10px; font-weight: 600; z-index: 100000;
    box-shadow: 0 4px 20px rgba(0,0,0,.2); display: none; color: #fff;
}
.em-toast--ok { background: #059669; }
.em-toast--err { background: #dc2626; }

/* ===== تماس تصویری تالار نخبگان — هویت بصری اختصاصی (تیره/طلایی)، مستقل از تم روشن پورتال ===== */
.em-negroom-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(6,8,15,.72); backdrop-filter: blur(3px);
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.em-negroom-modal {
    width: 100%; max-width: 920px; max-height: 90vh; overflow: hidden;
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, #14141c 0%, #0c0c12 100%);
    border: 1px solid #2a2438; border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(212,175,113,.08) inset;
    color: #e8e3d8;
}
.em-negroom-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    padding: 20px 24px; border-bottom: 1px solid #2a2438;
    background: linear-gradient(90deg, rgba(212,175,113,.08), transparent 60%);
}
.em-negroom-title { font-size: 1.15rem; font-weight: 700; color: #e9c988; letter-spacing: .2px; }
.em-negroom-sub { font-size: .8rem; color: #9b93a8; margin-top: 4px; }
.em-negroom-close {
    background: transparent; border: 1px solid #3a3350; color: #cbc4d9; border-radius: 8px;
    width: 32px; height: 32px; line-height: 1; cursor: pointer; font-size: .95rem;
    transition: background .15s, color .15s;
}
.em-negroom-close:hover { background: #2a2438; color: #e9c988; }
.em-negroom-mini {
    border: 1px solid #3a3350; background: #201c2c; color: #e8e3d8; border-radius: 6px;
    width: 26px; height: 26px; cursor: pointer; font-size: .78rem; margin-inline-start: 4px;
}
.em-negroom-mini:hover { background: #2a2438; }
.em-negroom-inp {
    background: #17151f; border: 1px solid #2a2438; color: #e8e3d8; border-radius: 8px;
    padding: 8px 10px; font-size: .85rem; font-family: inherit;
}
.em-negroom-inp:focus { outline: none; border-color: #d4af71; }
.em-negroom-btn {
    background: linear-gradient(90deg, #d4af71, #e9c988); color: #1a1408; border: none;
    border-radius: 8px; padding: 10px 14px; font-size: .85rem; font-weight: 700; cursor: pointer;
    transition: filter .15s;
}
.em-negroom-btn:hover { filter: brightness(1.08); }
.em-negroom-btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.em-negroom-callbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 12px 24px; border-bottom: 1px solid #221f2e; background: #100f16;
}
.em-negroom-linkrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.em-negroom-inp--sm { padding: 6px 8px; font-size: .78rem; min-width: 220px; }
.em-negroom-btn--call { padding: 8px 14px; font-size: .8rem; white-space: nowrap; }
.em-negroom-callwrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.em-negroom-callhint { font-size: .74rem; color: #d4af71; }
.em-negroom-incoming {
    display: flex; align-items: center; gap: 10px; padding: 10px 24px; font-size: .85rem;
    background: rgba(74,222,128,.1); border-bottom: 1px solid rgba(74,222,128,.25); color: #bbf7d0;
    animation: em-negroom-pulse 1.6s ease-in-out infinite;
}
@keyframes em-negroom-pulse { 0%, 100% { background: rgba(74,222,128,.1); } 50% { background: rgba(74,222,128,.2); } }
.em-negroom-callstage {
    position: fixed; inset: 0; z-index: 10000; background: #000; overflow: hidden;
}
.em-negroom-stage-remote { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.em-negroom-stage-pip {
    position: absolute; bottom: 96px; left: 16px; width: 104px; height: 144px; z-index: 2;
    border-radius: 12px; overflow: hidden; border: 2px solid rgba(255,255,255,.35);
    box-shadow: 0 6px 20px rgba(0,0,0,.5); background: #111;
}
.em-negroom-stage-pip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-negroom-stage-topbar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); color: #f2efe8; font-size: .9rem;
}
.em-negroom-stage-icon {
    width: 34px; height: 34px; border-radius: 8px; border: none; background: rgba(255,255,255,.15); color: #fff;
    font-size: 1rem; cursor: pointer;
}
.em-negroom-stage-icon:hover { background: rgba(255,255,255,.25); }
.em-negroom-stage-controls {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 16px;
    padding: 22px; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent);
}
.em-negroom-stage-btn {
    width: 54px; height: 54px; border-radius: 50%; border: none; background: rgba(255,255,255,.16); color: #fff;
    font-size: 1.35rem; cursor: pointer; backdrop-filter: blur(6px);
}
.em-negroom-stage-btn:hover { background: rgba(255,255,255,.26); }
.em-negroom-stage-btn.is-off { background: rgba(220,38,38,.85); }
.em-negroom-stage-btn--end { background: #dc2626; }
.em-negroom-stage-btn--end:hover { background: #ef4444; }
.em-negroom-callstage.is-minimized {
    inset: auto; bottom: 20px; left: 20px; width: 140px; height: 180px;
    border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.55); cursor: pointer;
    border: 1px solid rgba(255,255,255,.15);
}
.em-negroom-callstage.is-minimized .em-negroom-stage-pip,
.em-negroom-callstage.is-minimized .em-negroom-stage-controls { display: none; }
.em-negroom-callstage.is-minimized .em-negroom-stage-topbar { padding: 8px 10px; font-size: .72rem; }
@media (max-width: 640px) {
    .em-negroom-callbar { padding: 10px 16px; }
    .em-negroom-stage-pip { bottom: 110px; left: 12px; width: 88px; height: 120px; }
}
