/* sobhan.group — پوستهٔ سایت عمومی (PRD v2 «سیستم طراحی»)
   فقط روی صفحه‌های عمومی بار می‌شود؛ پنل همان style.css را دارد و این فایل را نمی‌بیند.
   توکن‌ها با --sg- شروع می‌شوند تا با توکن‌های style.css قاطی نشوند. */
:root {
  --sg-bg: #0a0a0a;
  --sg-surface: #121212;
  --sg-surface-2: #151515;
  --sg-line: #242424;
  --sg-line-2: #2a2a2a;
  --sg-text: #f2f2f2;
  --sg-muted: #a8a8a8;
  --sg-gold: #F2C14E;
  --sg-cta-top: #F6CD5C;
  --sg-cta-bottom: #C8922A;
  --sg-pressed-top: #B8862A;
  --sg-pressed-bottom: #F6CD5C;
  --sg-pressed-line: #8F6A1F;
  --sg-ink: #1A1206;
  --sg-alert: #FF453A;
}

/* ---- پس‌زمینهٔ پرنده‌ها و لایه‌بندی صفحه (طبقه‌بندی بوم‌ها: بوم ۰، محتوا ۱، هدر ۶) ---- */
.birds {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.site {
  position: relative;
  z-index: 1;
}
.site-body > .flash {
  position: relative;
  z-index: 1;
}

/* ---- هدر و منو: یک نشانه‌گذاری برای گوشی و دسکتاپ، مثل بوم‌ها ---- */
.sg-head {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.sg-logo {
  display: flex;
  margin-left: 6px; /* ۶ پیکسل داخل‌تر از لبه برای هم‌ترازی چشمی، مطابق بوم */
}
.sg-logo img {
  display: block;
  width: 118px;
  height: 40px;
}
.mn {
  position: relative;
}
.mn > summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  border-radius: 14px;
  background: var(--sg-surface-2);
  border: 1px solid var(--sg-line-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mn > summary::-webkit-details-marker {
  display: none;
}
.mn > summary span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--sg-text);
}
.mn nav {
  position: absolute;
  top: 52px;
  right: 0;
  z-index: 30;
  width: 224px;
  box-sizing: border-box;
  padding: 8px;
  background: var(--sg-surface-2);
  border: 1px solid var(--sg-line-2);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mn nav a,
.mn nav button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--sg-text);
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
.mn nav a:hover,
.mn nav button:hover {
  background: #1e1e1e;
}
.mn nav a[aria-current="page"] {
  color: var(--sg-gold);
  font-weight: 700;
}
.mn nav form {
  margin: 0;
}
.sg-nav {
  display: none;
}
@media (min-width: 900px) {
  .sg-head {
    max-width: 1200px;
    padding: 24px 40px;
  }
  .sg-logo img {
    width: 142px;
    height: 48px;
  }
  .mn {
    display: none;
  }
  .sg-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .sg-nav .nv {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    background: none;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #d6d6d6;
    text-decoration: none;
    cursor: pointer;
  }
  .sg-nav .nv[aria-current="page"] {
    color: var(--sg-gold);
    font-weight: 800;
  }
  .sg-nav form {
    margin: 0;
  }
  .sg-nav .login {
    margin-right: 10px;
    padding: 0 20px;
    box-sizing: border-box;
    border: 1px solid var(--sg-line-2);
    border-radius: 14px;
    background: var(--sg-surface-2);
    font-weight: 700;
    color: var(--sg-text);
  }
}
@media (min-width: 900px) and (max-width: 1099px) {
  /* بین ۹۰۰ و ۱۱۰۰ پیکسل، منوی کاربر هفت قلم است؛ فاصله‌ها کمی جمع می‌شوند */
  .sg-head {
    padding-inline: 24px;
  }
  .sg-nav .nv {
    padding: 0 8px;
    font-size: 14px;
  }
  .sg-nav .login {
    padding: 0 14px;
    margin-right: 6px;
  }
}

/* ---- کلاس‌های مشترک بوم‌ها ---- */
.key {
  position: relative;
  border: 1px solid var(--sg-line-2);
  border-radius: 16px;
  background: var(--sg-surface-2);
  color: var(--sg-text);
  box-shadow: 0 4px 0 #050505;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s cubic-bezier(.3,.7,.4,1.4), filter .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.key:hover {
  filter: brightness(1.07);
}
.key[aria-pressed="true"] {
  transform: translateY(4px);
  border-color: var(--sg-pressed-line);
  background: linear-gradient(180deg, var(--sg-pressed-top) 0%, var(--sg-pressed-bottom) 100%);
  color: var(--sg-ink);
  box-shadow: none;
  filter: drop-shadow(0 0 14px rgba(242, 193, 78, .35));
}
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 26px;
  box-sizing: border-box;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sg-cta-top) 0%, var(--sg-cta-bottom) 100%);
  color: var(--sg-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(242, 193, 78, .18);
  -webkit-tap-highlight-color: transparent;
  transition: filter .2s ease, transform .12s ease;
}
.cta:hover {
  filter: brightness(1.07);
}
.cta:active {
  transform: translateY(2px);
}
.cta.ghost {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--sg-line-2);
  background: var(--sg-surface-2);
  color: var(--sg-text);
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: none;
}
.inp {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 54px;
  margin: 0;
  padding: 0 16px;
  border-radius: 16px;
  background: #141414;
  border: 1px solid var(--sg-line-2);
  color: var(--sg-text);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.inp::placeholder {
  color: #727272;
}
.inp:focus {
  border-color: var(--sg-gold);
  box-shadow: 0 0 0 3px rgba(242, 193, 78, .16);
}
select.inp {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.nv {
  transition: background-color .2s ease, color .2s ease;
}
.nv:hover {
  background: #161616;
  color: #ffffff;
}

.key:focus-visible,
.cta:focus-visible,
.nv:focus-visible,
.mn > summary:focus-visible,
.mn nav a:focus-visible,
.mn nav button:focus-visible,
.sg-logo:focus-visible {
  outline: 2px solid var(--sg-gold);
  outline-offset: 3px;
}

@keyframes sgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes sgFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes sgPop {
  0% { opacity: 0; transform: scale(.6); }
  70% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes sgRing {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---- مربع اپلی (squircle): مسیر ۷۲ نقطه‌ای بوم، در نشانه‌گذاری SVG ---- */
.sq {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--sg-gold);
}
.sq-64 {
  width: 64px;
  height: 64px;
}
.sq-92 {
  width: 92px;
  height: 92px;
}
.sq-104 {
  width: 104px;
  height: 104px;
}
.sq-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .4));
}
.sq-gold {
  color: var(--sg-ink);
}
.sq-gold .sq-shape {
  filter: drop-shadow(0 0 16px rgba(242, 193, 78, .3)) drop-shadow(0 10px 22px rgba(0, 0, 0, .45));
}
.sq-ico {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
}
.sq-92 .sq-ico {
  width: 34px;
  height: 34px;
}
.sq-104 .sq-ico {
  width: 44px;
  height: 44px;
}

/* ---- صفحه‌های این مرحله: ۴۰۴/پیام، ورود/کد، درگاه ارتباط ---- */
.sg-hero {
  max-width: 520px;
  width: 100%;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  animation: sgIn .45s ease both;
}
.sg-msg-card {
  box-sizing: border-box;
  padding: 26px;
  background: var(--sg-surface);
  border: 1px solid var(--sg-line);
  border-radius: 28px;
}
.sg-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 460px;
  margin: 20px auto 0;
  padding: 26px;
  background: var(--sg-surface);
  border: 1px solid var(--sg-line);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: sgIn .45s ease both;
}
.sg-hero h1,
.sg-card h1,
.vip-page h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--sg-text);
  text-shadow: 0 0 14px #0a0a0a;
}
.sg-lead,
.vip-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #c8c8c8;
  text-shadow: 0 0 12px #0a0a0a;
}
.sg-card .sg-lead {
  font-size: 15px;
  color: #bdbdbd;
}
.sg-actions {
  width: 100%;
  max-width: 380px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sg-actions .cta.ghost {
  min-height: 56px;
  padding: 0 22px;
}
.sg-404 {
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 4px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--sg-gold);
  text-shadow: 0 0 40px rgba(242, 193, 78, .25);
  direction: ltr;
}

.sg-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}
.sg-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sg-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #cfcfcf;
}
.sg-phone {
  display: flex;
  gap: 10px;
  width: 100%;
  direction: ltr;
}
.sg-phone select.inp {
  flex: none;
  width: 150px;
  direction: rtl;
}
.sg-phone input.inp {
  flex: 1;
  min-width: 0;
  direction: ltr;
  text-align: left;
  letter-spacing: .5px;
}
.sg-code {
  min-height: 64px;
  direction: ltr;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 14px;
}
.sg-note {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--sg-muted);
}
.sg-note a {
  color: var(--sg-gold);
  font-weight: 800;
  text-decoration: none;
}
.sg-card .flash {
  margin: 0;
  max-width: none;
}

@media (max-width: 380px) {
  /* پایین‌تر از بوم ۳۹۰: خانهٔ کد کشور باریک‌تر تا شماره جا شود */
  .sg-phone select.inp {
    width: 118px;
  }
}
@media (min-width: 900px) {
  .sg-hero {
    margin-top: 88px;
  }
  .sg-card {
    margin-top: 64px;
    padding: 36px;
  }
  .sg-hero h1,
  .sg-card h1 {
    font-size: 40px;
  }
  .sg-404 {
    font-size: 160px;
  }
}

/* ---- خدمات VIP: وبینارها و ارزیابی تخصصی (PRD v2 «خدمات VIP») ---- */
body.wb-page,
body.meet-page {
  --wrap: 560px;
}
body.wb-page .site {
  padding-top: 8px;
  padding-bottom: 64px;
}
body.meet-page .site {
  padding-top: 0;
  padding-bottom: 48px;
}

.vip-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vip-page h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
}
.vip-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #262626;
  background: #141414;
  color: #cfcfcf;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.vip-back:hover {
  color: #ffffff;
}
.vip-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(242, 193, 78, .14);
  border: 1px solid rgba(242, 193, 78, .5);
  color: var(--sg-gold);
  font-size: 12px;
  font-weight: 800;
  direction: ltr;
}
.vip-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vip-note {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: #9a9a9a;
}

/* وبینارها: فهرست کارت‌ها و کارت هر وبینار */
.wb-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wb-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wb-card,
.wb-how {
  box-sizing: border-box;
  border-radius: 28px;
  background: #121212;
  border: 1px solid #242424;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wb-card {
  position: relative;
  animation: sgIn .45s ease both;
}
.wb-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.wb-date {
  width: 76px;
  height: 76px;
}
.wb-date-in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.wb-day {
  font-size: 27px;
  font-weight: 900;
}
.wb-month {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
}
.wb-head-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wb-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(242, 193, 78, .12);
  border: 1px solid rgba(242, 193, 78, .35);
  color: var(--sg-gold);
  font-size: 12.5px;
  font-weight: 800;
}
.wb-chip-full {
  gap: 6px;
  border: 0;
  background: rgba(255, 69, 58, .12);
  color: #FF8A80;
}
.wb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sg-alert);
}
.wb-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}
.wb-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wb-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #cfcfcf;
}
.wb-meta svg {
  flex: none;
  color: var(--sg-gold);
}
.wb-cap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wb-cap-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: #9a9a9a;
}
.wb-cap-line .bad {
  color: #FF8A80;
  font-weight: 800;
}
.wb-bar {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 6px;
  background: #242424;
  overflow: hidden;
  direction: ltr;
}
.wb-bar::-webkit-progress-bar {
  background: #242424;
  border-radius: 6px;
}
.wb-bar::-webkit-progress-value {
  background: linear-gradient(90deg, #C8922A, #F6CD5C);
  border-radius: 6px;
}
.wb-bar::-moz-progress-bar {
  background: linear-gradient(90deg, #C8922A, #F6CD5C);
  border-radius: 6px;
}
.wb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #222;
}
.wb-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--sg-gold);
  white-space: nowrap;
}
.wb-price b {
  font-size: 22px;
  line-height: 1;
}
.wb-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sg-cta-top) 0%, var(--sg-cta-bottom) 100%);
  color: var(--sg-ink);
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: filter .2s ease;
}
.wb-register:hover {
  filter: brightness(1.07);
}
.wb-register.off {
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
  color: #8a8a8a;
  cursor: default;
}
.wb-empty {
  margin: 0;
  padding: 8px 0;
  color: #a8a8a8;
  font-size: 15px;
}
.wb-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wb-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.wb-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(242, 193, 78, .14);
  color: var(--sg-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
}
.wb-steps li > span:last-child {
  display: flex;
  flex-direction: column;
}
.wb-steps b {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.6;
}
.wb-steps li > span:last-child > span {
  font-size: 14px;
  line-height: 1.8;
  color: #a8a8a8;
}
.wb-cta {
  min-height: 56px;
  border-radius: 16px;
}

/* ارزیابی تخصصی: هیرو، قیمت، دو کارت کوتاه و فهرست */
.meet {
  gap: 0;
}
.meet .vip-back {
  padding: 0;
  border: 0;
  background: none;
  color: #c8c8c8;
  font-size: 14px;
  font-weight: 400;
}
.meet-hero {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.meet-sq {
  width: 104px;
  height: 104px;
  color: var(--sg-gold);
}
.meet-sq .sq-shape {
  filter: drop-shadow(0 0 16px rgba(242, 193, 78, .25)) drop-shadow(0 12px 24px rgba(0, 0, 0, .45));
}
.meet-ico {
  position: relative;
  display: block;
}
.meet-hero .vip-chip {
  margin-top: 16px;
  align-self: center;
}
.meet h1 {
  margin: 10px 0 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
}
.meet .vip-lead {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.7;
}
.meet-price {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 22px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(242, 193, 78, .14), rgba(242, 193, 78, 0) 55%), #151515;
  border: 1px solid var(--sg-line-2);
}
.meet-price span {
  font-size: 14px;
  color: #c8c8c8;
}
.meet-price b {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--sg-gold);
}
.meet-facts {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.meet-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 22px;
  background: #151515;
  border: 1px solid var(--sg-line-2);
}
.meet-fact-ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(242, 193, 78, .1);
  color: var(--sg-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.meet-fact > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.meet-fact small {
  font-size: 12.5px;
  color: #b8b8b8;
  line-height: 1.5;
}
.meet-fact b {
  font-size: 15px;
  font-weight: 800;
  color: var(--sg-text);
  line-height: 1.5;
}
.meet-list {
  margin-top: 32px;
}
.meet-list h2 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
}
.meet-list ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.meet-list li {
  position: relative;
  padding-inline-start: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #e8e8e8;
}
.meet-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sg-gold);
  box-shadow: 0 0 8px rgba(242, 193, 78, .6);
}
.meet-cta {
  margin-top: 28px;
  min-height: 52px;
  border-radius: 14px;
}
.meet .vip-note {
  margin-top: 10px;
  color: #a8a8a8;
}

@media (min-width: 900px) {
  body.wb-page {
    --wrap: 1200px;
  }
  body.meet-page {
    --wrap: 720px;
  }
  .wb {
    gap: 26px;
  }
  .wb .vip-top {
    max-width: 720px;
  }
  .wb h1 {
    font-size: 40px;
  }
  .wb-list h2 {
    font-size: 22px;
  }
  .wb-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .wb-date {
    width: 88px;
    height: 88px;
  }
  .wb-day {
    font-size: 31px;
  }
  .wb-month {
    font-size: 14px;
  }
  .wb-title {
    font-size: 21px;
  }
  body.wb-page .site {
    padding-top: 16px;
    padding-bottom: 88px;
    padding-inline: 40px;
  }
  body.meet-page .site {
    padding-top: 8px;
    padding-bottom: 88px;
    padding-inline: 40px;
  }
}

.wb-register:focus-visible,
.vip-back:focus-visible {
  outline: 2px solid var(--sg-gold);
  outline-offset: 3px;
}

/* ---- صفحهٔ اصلی (PRD v2 «صفحهٔ اصلی — گوشی/دسکتاپ»، «فرصت‌ها») ---- */
body.home {
  --wrap: 560px;
}
body.home .site {
  max-width: var(--wrap);
  padding: 0 0 48px;
}
.home-view {
  --home-gap: 12px;
  position: relative;
}
.home-view [hidden] {
  display: none !important;
}
.home-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.home-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  margin: 0;
}
.home-hero {
  position: relative;
}
.home-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  padding: 12px 20px;
}
.home-help {
  grid-column: 1 / 3;
  justify-self: start;
  align-self: center;
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0 4px 0 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3a3220;
  background: #151515;
  color: var(--sg-gold);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: homeHelpGlow 3.2s ease-in-out infinite;
  transition: transform .15s cubic-bezier(.3,.7,.4,1.4), background .2s ease, color .2s ease, border-color .2s ease;
}
.home-help:hover {
  border-color: #5a4a26;
}
.home-help[aria-pressed="true"] {
  transform: translateY(4px);
  background: linear-gradient(180deg, #B8862A 0%, #F6CD5C 100%);
  border-color: #8F6A1F;
  color: var(--sg-ink);
  box-shadow: 0 0 14px rgba(242, 193, 78, .35), 0 2px 3px rgba(0, 0, 0, .5);
  animation: none;
}
.home-help-mark {
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  pointer-events: none;
}
.home-help-ping {
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  border: 1px solid var(--sg-gold);
  animation: homeHelpPing 2.4s ease-out infinite;
}
.home-help-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--sg-alert);
  border: 2px solid var(--sg-bg);
}
@keyframes homeHelpPing {
  0% { transform: scale(1); opacity: .6; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}
.home-vid-mark {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  pointer-events: none;
}
.home-vid-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--sg-gold);
  animation: homeVidPing 2s cubic-bezier(.2, .6, .3, 1) infinite;
}
.home-vid-ping-2 {
  animation-delay: 1s;
}
.home-vid-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--sg-alert);
  border: 2.5px solid var(--sg-bg);
}
@keyframes homeVidPing {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes homeHelpGlow {
  0%, 100% { box-shadow: 0 4px 0 #050505, 0 0 12px 2px rgba(242, 193, 78, .12), 0 0 30px 6px rgba(242, 193, 78, .04); }
  50% { box-shadow: 0 4px 0 #050505, 0 0 18px 4px rgba(242, 193, 78, .24), 0 0 40px 10px rgba(242, 193, 78, .08); }
}
.home-vid {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.home-ring {
  position: relative;
  display: block;
  width: 74px;
  height: 74px;
  box-sizing: border-box;
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #F6CD5C, #C8922A, #F6CD5C);
}
.home-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 2px solid #0a0a0a;
  border-radius: 50%;
  overflow: hidden;
  background: #151515;
}
.home-reel {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.home-soon {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: linear-gradient(180deg, #B8862A 0%, #F6CD5C 100%);
  color: #1A1206;
  text-align: center;
  animation: sgFadeIn .3s ease both;
}
.home-soon .home-cam {
  width: 16px;
  height: 16px;
}
.home-soon-title {
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.3;
  padding: 0 6px;
}
.home-play {
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #F2C14E;
  border: 2px solid #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-play svg {
  width: 9px;
  height: 9px;
}
.home-caption {
  display: none;
}
.home-controls {
  display: block;
}
.home-services,
.home-slot,
.home-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--home-gap);
  padding: 0 20px 12px;
}
.home-routes {
  padding-bottom: 0;
}

/* مربع اپلی: مسیر shared در <defs>، هر دکمه یک <use> */
.home-key {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 8px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--sg-text);
  font: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  transition: transform .15s cubic-bezier(.3,.7,.4,1.4), filter .15s ease, opacity .25s ease, color .2s ease;
}
.home-key:hover {
  filter: brightness(1.12);
}
.home-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .4));
}
.home-face {
  fill: #151515;
  stroke: #2a2a2a;
  stroke-width: 1;
}
.home-lip {
  fill: #050505;
  stroke: #000000;
  stroke-width: 1;
  transition: opacity .12s ease;
}
.home-ico-wrap {
  position: relative;
  display: flex;
  color: var(--sg-gold);
  transition: color .2s ease;
}
.home-ico {
  display: block;
  width: 34px;
  height: 34px;
}
.home-name {
  position: relative;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--sg-text);
  transition: color .2s ease;
}
.home-count {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--sg-gold);
  transition: color .2s ease;
}
.home-price {
  position: relative;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--sg-gold);
  white-space: nowrap;
  transition: color .2s ease;
}
.home-price b {
  font-size: 17px;
  line-height: 1;
}
.home-key[aria-pressed="true"] {
  transform: translateY(4px);
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--sg-ink);
  filter: drop-shadow(0 0 14px rgba(242, 193, 78, .35));
}
.home-key[aria-pressed="true"] .home-face {
  fill: url(#home-gold);
  stroke: #8F6A1F;
}
.home-key[aria-pressed="true"] .home-lip {
  opacity: 0;
}
.home-key[aria-pressed="true"] .home-ico-wrap,
.home-key[aria-pressed="true"] .home-name {
  color: var(--sg-ink);
}
.home-key[aria-pressed="true"] .home-count,
.home-key[aria-pressed="true"] .home-price,
.home-key[aria-pressed="true"] .home-seats,
.home-key[aria-pressed="true"] .home-title {
  color: #3A2A0A;
}

/* ردیف مسیرها: ترکیب چندتایی؛ مسیر روشن خانه‌هایش را طلایی و بقیه را ۴۵٪ می‌کند */
.home-route .home-name {
  font-size: 15px;
}
.home-tile {
  padding: 12px 10px;
  gap: 6px;
}
.home-tile.is-lit:not([aria-pressed="true"]) .home-face {
  fill: #2a2312;
  stroke: var(--sg-gold);
}
.home-tile.is-lit:not([aria-pressed="true"]) .home-shape {
  filter: drop-shadow(0 0 12px rgba(242, 193, 78, .22)) drop-shadow(0 10px 22px rgba(0, 0, 0, .4));
}
.home-tile.is-dim {
  opacity: .45;
}
.home-seats {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  line-height: 1.3;
  color: #b8b8b8;
  white-space: nowrap;
}
.home-seats svg {
  width: 12px;
  height: 12px;
}
.home-title {
  position: relative;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* جای خالی کادر توضیحات: همیشه یک خانه؛ کادر تمام‌عرض روی همان ردیف می‌آید */
.home-slot {
  position: relative;
}
.home-slot-gap {
  grid-row: 1;
  grid-column: 3;
  display: block;
  aspect-ratio: 1 / 1;
}
.home-panel {
  position: relative;
  box-sizing: border-box;
  border-radius: 28px;
  background: linear-gradient(180deg, #B8862A 0%, #F6CD5C 100%);
  border: 1px solid #8F6A1F;
  box-shadow: 0 0 14px rgba(242, 193, 78, .35), 0 2px 3px rgba(0, 0, 0, .5);
  animation: homePanelIn .32s cubic-bezier(.2, .8, .2, 1) both;
}
.home-panel.is-closing {
  animation: homePanelOut .22s ease both;
}
.home-svc-panel {
  grid-row: 1;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
}
.home-op-panel {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
}
.home-nub {
  position: absolute;
  top: -8px;
  left: var(--nub-left, 50%);
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: #B8862A;
  border-top: 1px solid #8F6A1F;
  border-left: 1px solid #8F6A1F;
}
.home-panel-desc {
  position: relative;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  color: #1A1206;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-panel-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.home-panel-info {
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: #3A2A0A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-panel-cta {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: #1A1206;
  color: #F6CD5C;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.home-panel-row .home-panel-cta {
  margin-inline-start: auto;
}
.home-panel-meta {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: #3A2A0A;
}
.home-panel-title {
  position: relative;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
  color: #1A1206;
}
.home-panel-req {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.8;
  color: #2a1d06;
}
.home-panel-price {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  color: #1A1206;
  white-space: nowrap;
}
.home-panel-price b {
  font-size: 21px;
  line-height: 1;
}
@keyframes homePanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes homePanelOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(8px); }
}

/* شبکهٔ فرصت‌ها: خانه‌های خالیِ بدون JS همین‌جا می‌مانند تا ستون‌ها جابه‌جا نشوند */
.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--home-gap);
  margin-top: 12px;
  padding: 0 20px;
  scroll-margin-top: 16px;
}
.home-gap {
  display: block;
  aspect-ratio: 1 / 1;
}
.home-birds {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.home-help:focus-visible,
.home-vid:focus-visible,
.home-panel-cta:focus-visible {
  outline: 2px solid var(--sg-gold);
  outline-offset: 4px;
}

@media (min-width: 900px) {
  body.home {
    --wrap: 1200px;
  }
  body.home .site {
    padding-bottom: 72px;
  }
  .home-view {
    --home-gap: 16px;
  }
  .home-hero {
    display: grid;
    grid-template-columns: minmax(0, 552px) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
    padding: 24px 40px 0;
  }
  .home-top {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
    min-height: 560px;
    padding: 0;
  }
  .home-controls {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .home-services,
  .home-slot,
  .home-routes {
    padding: 0;
  }
  .home-help {
    width: 62px;
    height: 62px;
    margin: 0;
    border-radius: 20px;
    flex: none;
  }
  .home-help-mark,
  .home-help-ping {
    border-radius: 20px;
  }
  .home-help svg {
    width: 32px;
    height: 32px;
  }
  .home-vid {
    gap: 30px;
    margin: 0;
  }
  .home-ring {
    width: 240px;
    height: 240px;
    padding: 4px;
    box-shadow: 0 0 70px rgba(242, 193, 78, .14);
  }
  .home-frame {
    border-width: 5px;
  }
  .home-soon .home-cam {
    width: 44px;
    height: 44px;
  }
  .home-soon-title {
    font-size: 19px;
    padding: 0 24px;
  }
  .home-play {
    bottom: -22px;
    width: 52px;
    height: 52px;
    border-width: 4px;
  }
  .home-play svg {
    width: 20px;
    height: 20px;
  }
  .home-caption {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #bdbdbd;
    text-align: center;
  }
  .home-ico {
    width: 46px;
    height: 46px;
  }
  .home-name,
  .home-route .home-name {
    font-size: 19px;
  }
  .home-count {
    font-size: 14.5px;
  }
  .home-price {
    font-size: 16px;
  }
  .home-price b {
    font-size: 21px;
  }
  .home-tile {
    padding: 16px 14px;
    gap: 6px;
  }
  .home-seats {
    font-size: 13px;
    gap: 4px;
  }
  .home-seats svg {
    width: 14px;
    height: 14px;
  }
  .home-title {
    font-size: 15.5px;
    line-height: 1.5;
  }
  .home-tile .home-price {
    font-size: 14px;
  }
  .home-tile .home-price b {
    font-size: 19.5px;
  }
  .home-panel-desc {
    font-size: 16px;
    line-height: 1.75;
  }
  .home-panel-info {
    font-size: 14.5px;
  }
  .home-panel-cta {
    min-height: 50px;
    padding: 0 24px;
    border-radius: 16px;
    font-size: 16px;
  }
  .home-op-panel {
    gap: 6px;
    padding: 24px 30px;
    border-radius: 32px;
  }
  .home-panel-meta {
    font-size: 14px;
  }
  .home-panel-title {
    font-size: 22px;
  }
  .home-panel-req {
    max-width: 760px;
    font-size: 16px;
  }
  .home-panel-price {
    font-size: 15px;
  }
  .home-panel-price b {
    font-size: 26px;
  }
  .home-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 56px;
    padding: 0 40px;
  }
  .home-birds {
    display: none;
  }
}

/* بین ۹۰۰ و ۱۲۰۰ پیکسل ستون ۵۵۲ پیکسلی و دایرهٔ ۲۴۰ کنار هم جا نمی‌شوند؛ دکمه‌ها دقیقاً سه ستون شبکه می‌شوند. */
@media (min-width: 900px) and (max-width: 1199px) {
  .home-hero {
    grid-template-columns: minmax(0, calc(50% - 8px)) minmax(0, 1fr);
    gap: 40px;
    padding: 24px 24px 0;
  }
  .home-grid {
    padding: 0 24px;
  }
}

@media (min-width: 1100px) and (max-width: 1199px) {
  .home-hero {
    padding-inline: 40px;
  }
  .home-grid {
    padding-inline: 40px;
  }
}

/* ---- قاب پخش ویدیو (public/player.js؛ PRD v2 «قاب پخش» ۱–۶) ---- */
.sg-player-on {
  overflow: hidden;
}
.sg-player-back {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s ease;
}
.sg-player-back.is-open {
  opacity: 1;
}
.sg-player {
  position: fixed;
  z-index: 61;
  box-sizing: border-box;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(242, 193, 78, .9);
  border-radius: 50%;
  box-shadow: none;
  transition: left .46s cubic-bezier(.2, .8, .2, 1), top .46s cubic-bezier(.2, .8, .2, 1),
    width .46s cubic-bezier(.2, .8, .2, 1), height .46s cubic-bezier(.2, .8, .2, 1),
    border-radius .46s cubic-bezier(.2, .8, .2, 1), border-color .3s ease, box-shadow .4s ease;
}
.sg-player.is-open {
  border-radius: 28px;
  border-color: rgba(242, 193, 78, .45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.sg-player.is-closing {
  border-radius: 50%;
}
.sg-player-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  background: #000;
}
.sg-player-soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  background: linear-gradient(180deg, #B8862A 0%, #F6CD5C 100%);
  color: #1A1206;
  text-align: center;
}
.sg-player-soon-name {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}
.sg-player-soon-when {
  font-size: 14px;
  font-weight: 700;
  color: #3A2A0A;
}
.sg-player-shade {
  position: absolute;
  right: 0;
  left: 0;
  pointer-events: none;
}
.sg-player-shade-top {
  top: 0;
  height: 110px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}
.sg-player-shade-bottom {
  bottom: 0;
  height: 130px;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
}
.sg-player-ctl {
  opacity: 0;
  transition: opacity .12s ease;
}
.sg-player.is-ready .sg-player-ctl {
  opacity: 1;
  transition: opacity .25s ease;
}
.sg-player.is-closing .sg-player-ctl {
  opacity: 0;
  transition: opacity .12s ease;
}
.sg-player-top {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sg-player-name {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--sg-text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sg-player-close {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sg-player-bottom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sg-player-track {
  display: flex;
  flex-direction: column;
  gap: 2px;
  direction: ltr;
}
.sg-player-range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 26px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.sg-player-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, #F2C14E 0, #F2C14E var(--p, 0%), rgba(255, 255, 255, .28) var(--p, 0%), rgba(255, 255, 255, .28) 100%);
}
.sg-player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border-radius: 50%;
  background: #F6CD5C;
  border: 2px solid #1A1206;
  box-shadow: 0 0 0 4px rgba(242, 193, 78, .25);
  transition: transform .12s ease;
}
.sg-player-range:active::-webkit-slider-thumb {
  transform: scale(1.3);
}
.sg-player-range::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .28);
}
.sg-player-range::-moz-range-progress {
  height: 4px;
  border-radius: 4px;
  background: #F2C14E;
}
.sg-player-range::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #F6CD5C;
  border: 2px solid #1A1206;
}
.sg-player-range:focus-visible {
  outline: 2px solid var(--sg-gold);
  outline-offset: 3px;
  border-radius: 6px;
}
.sg-player-times {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, .85);
}
.sg-player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sg-player-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sg-player-play {
  background: var(--sg-gold);
  color: var(--sg-ink);
}
.sg-player-mute {
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
}
.sg-player-close:focus-visible,
.sg-player-btn:focus-visible {
  outline: 2px solid var(--sg-gold);
  outline-offset: 3px;
}

/* ---- صفحهٔ فرصت، پروفایل، ویرایش و پیام‌ها (PRD v2 «فرصت‌ها»، «حساب کاربری») ---- */
body.opp-page,
body.me-page,
body.edit-page,
body.tk-page {
  --wrap: 560px;
}
body.opp-page .site,
body.me-page .site,
body.edit-page .site,
body.tk-page .site {
  padding: 8px 20px 64px;
}
.sq-60 {
  width: 60px;
  height: 60px;
}
.sq-72 {
  width: 72px;
  height: 72px;
}

/* ---- صفحهٔ فرصت: کارت اصلی، ستون محتوا و کارت اقدام چسبان (بوم‌های Opp-*) ---- */
.opp {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.opp-back,
.tk-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #141414;
  border: 1px solid #262626;
  color: #cfcfcf;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.opp-back:hover,
.tk-back:hover {
  color: #ffffff;
}
.opp-hero {
  box-sizing: border-box;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid #242424;
  background: radial-gradient(120% 120% at 100% 0%, rgba(242, 193, 78, .13), rgba(242, 193, 78, 0) 55%), #121212;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: sgIn .45s ease both;
}
.opp-hero h1,
.me-edit h1,
.tk-head h1,
.tk-view > h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.4;
  text-shadow: 0 0 14px #0a0a0a;
}
.opp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.opp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #161616;
  border: 1px solid var(--sg-line-2);
  color: #cfcfcf;
  font-size: 12.5px;
  font-weight: 700;
}
.opp-chip.gold {
  background: rgba(242, 193, 78, .12);
  border-color: rgba(242, 193, 78, .35);
  color: var(--sg-gold);
  font-weight: 800;
}
.opp-chip svg {
  width: 15px;
  height: 15px;
}
.opp-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.opp-price-label {
  font-size: 13px;
  color: #9a9a9a;
}
.opp-price-num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--sg-gold);
}
.opp-price-unit {
  font-size: 15px;
  font-weight: 800;
  color: var(--sg-gold);
}
.opp-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.opp-desc {
  padding: 4px 4px 0;
}
.opp-desc p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.9;
  color: #d0d0d0;
}
.opp-desc p:last-child {
  margin-bottom: 0;
}
.opp-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(242, 193, 78, .07);
  border: 1px solid rgba(242, 193, 78, .3);
}
.opp-note svg {
  flex: none;
  margin-top: 3px;
  color: var(--sg-gold);
}
.opp-note p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: #e2d3a8;
}
.opp-vid {
  align-self: flex-start;
  width: 84px;
  height: 84px;
  margin: 2px 4px 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.opp-ring {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #F6CD5C, #C8922A, #F6CD5C);
  box-shadow: 0 0 36px rgba(242, 193, 78, .14);
}
.opp-frame {
  display: flex;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a0a0a;
  border-radius: 50%;
  background: #151515;
  color: var(--sg-gold);
}
.opp-frame svg {
  width: 26px;
  height: 26px;
  margin-inline-start: 3px;
}
.opp-req {
  box-sizing: border-box;
  padding: 22px;
  border-radius: 28px;
  background: #121212;
  border: 1px solid #242424;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.opp-req h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}
.opp-conds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.opp-conds li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #e8e8e8;
}
.opp-tick {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(242, 193, 78, .14);
  color: var(--sg-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.opp-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.opp-action {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.opp-action form {
  margin: 0;
}
.opp-hint {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: #a8a8a8;
}
.opp-hint a {
  color: var(--sg-gold);
  font-weight: 800;
  text-decoration: none;
}
.opp-limit {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #151515;
  border: 1px solid var(--sg-line-2);
  font-size: 14.5px;
  line-height: 1.8;
  color: #d6d6d6;
}
.opp-status {
  box-sizing: border-box;
  padding: 22px;
  border-radius: 28px;
  background: #121212;
  border: 1px solid rgba(242, 193, 78, .45);
  gap: 16px;
  animation: sgIn .45s ease .1s both;
}
.opp-status-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.opp-status-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.opp-status-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
}
.opp-status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #b8b8b8;
}
.opp-status-actions {
  display: flex;
  gap: 10px;
}
.opp-status-actions .cta {
  flex: 1;
  min-height: 50px;
  padding: 0 14px;
  font-size: 15px;
}
.opp-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.opp-pill.on {
  background: linear-gradient(180deg, #B8862A 0%, #F6CD5C 100%);
  color: var(--sg-ink);
}
.opp-pill.off {
  background: #1c1c1c;
  border: 1px solid #333333;
  color: #cfcfcf;
}
.opp-back:focus-visible,
.opp-vid:focus-visible,
.tk-back:focus-visible {
  outline: 2px solid var(--sg-gold);
  outline-offset: 3px;
}

/* ---- پروفایل: کارت بالا، وضعیت مسیر، درخواست‌ها، پیام‌ها و اطلاعات من (بوم‌های Profile-*) ---- */
.me-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.me-top {
  box-sizing: border-box;
  padding: 22px;
  border-radius: 28px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(242, 193, 78, .12), rgba(242, 193, 78, 0) 55%), #121212;
  border: 1px solid #242424;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: sgIn .45s ease both;
}
.me-ident {
  display: flex;
  align-items: center;
  gap: 16px;
}
.me-initial {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}
.me-ident-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.me-eyebrow {
  font-size: 13px;
  color: #9a9a9a;
}
.me-ident h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
  text-shadow: 0 0 14px #0a0a0a;
}
.me-code-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.me-code-label {
  font-size: 12.5px;
  color: #9a9a9a;
}
.me-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  background: #161616;
  border: 1px dashed rgba(242, 193, 78, .6);
  color: var(--sg-gold);
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.me-code svg {
  flex: none;
  color: #cfcfcf;
}
.me-copied {
  min-height: 18px;
  font-size: 12px;
  color: var(--sg-gold);
}
.me-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.me-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.me-card {
  box-sizing: border-box;
  padding: 22px;
  border-radius: 28px;
  background: #121212;
  border: 1px solid #242424;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.me-card > h2,
.me-card-head h2,
.edit-card > h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}
.me-journey-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.me-journey {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.me-key {
  position: relative;
  display: block;
  color: var(--sg-text);
}
.me-key input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.me-key-face {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: 16px;
  background: #151515;
  border: 1px solid var(--sg-line-2);
  font-size: 15px;
  line-height: 1.6;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.me-check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}
.me-key input:checked + .me-key-face {
  background: linear-gradient(180deg, #B8862A 0%, #F6CD5C 100%);
  border-color: #8F6A1F;
  color: var(--sg-ink);
  font-weight: 800;
}
.me-key input:checked + .me-key-face .me-check {
  border-color: #8F6A1F;
  color: var(--sg-ink);
}
.me-key input:focus-visible + .me-key-face {
  outline: 2px solid var(--sg-gold);
  outline-offset: 3px;
}
.me-contract {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.me-contract[hidden] {
  display: none;
}
.me-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 20px;
  border: 1.5px dashed rgba(242, 193, 78, .5);
  background: rgba(242, 193, 78, .05);
  text-align: center;
  cursor: pointer;
}
.me-upload-ico {
  display: flex;
  color: var(--sg-gold);
}
.me-upload-text {
  font-size: 14px;
  line-height: 1.85;
  color: #e2d3a8;
}
.me-file {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: #1a1a1a;
  border: 1px solid #333333;
  font-size: 14px;
  font-weight: 700;
  color: var(--sg-text);
}
.me-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.me-upload:focus-within {
  outline: 2px solid var(--sg-gold);
  outline-offset: 3px;
}
.me-contract-ok {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sg-gold);
}
.me-contract-ok a {
  color: var(--sg-gold);
}
.me-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.me-new {
  width: auto;
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  box-shadow: none;
}
.me-row,
.tk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 12px 16px;
  box-sizing: border-box;
  border-radius: 18px;
  background: #161616;
  border: 1px solid #262626;
  color: var(--sg-text);
  text-decoration: none;
  transition: border-color .2s ease;
}
.me-row:hover,
.tk-row:hover {
  border-color: #3a3a3a;
}
.me-row-main,
.tk-row-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.me-row-title,
.tk-subject {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.me-row-meta,
.tk-last {
  font-size: 12.5px;
  color: #8f8f8f;
}
.me-pill,
.tk-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}
.me-pill.on {
  background: linear-gradient(180deg, #B8862A 0%, #F6CD5C 100%);
  color: var(--sg-ink);
  font-weight: 800;
}
.me-pill.off,
.tk-badge.off {
  background: #1c1c1c;
  border: 1px solid #333333;
  color: #cfcfcf;
  font-weight: 700;
}
.me-pill.bad {
  background: rgba(255, 69, 58, .12);
  border: 1px solid rgba(255, 69, 58, .35);
  color: #FF8A80;
}
.me-pill.new,
.tk-badge.new {
  background: rgba(255, 69, 58, .12);
  color: #FF8A80;
  font-weight: 800;
}
.me-dot,
.tk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sg-alert);
}
.me-empty {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #a8a8a8;
}
.me-info {
  gap: 6px;
}
.me-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.me-dl > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid #1f1f1f;
}
.me-dl > div:last-child {
  border-bottom: 0;
}
.me-dl dt {
  font-size: 12.5px;
  color: #8f8f8f;
}
.me-dl dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}
.me-info > .cta {
  margin-top: 10px;
}

/* ---- ویرایش اطلاعات: پنج کارت، کلیدهای ریز و نوار چسبان پایین (بوم‌های Profile-edit-*) ---- */
.me-edit {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
.edit-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(242, 193, 78, .07);
  border: 1px solid rgba(242, 193, 78, .28);
  font-size: 14px;
  line-height: 1.8;
  color: #e2d3a8;
}
.edit-note svg {
  flex: none;
  margin-top: 3px;
  color: var(--sg-gold);
}
.edit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.edit-card {
  box-sizing: border-box;
  padding: 22px;
  border-radius: 28px;
  background: #121212;
  border: 1px solid #242424;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.edit-card .q {
  padding: 0;
  border-bottom: 0;
  gap: 10px;
}
.edit-card .q[hidden] {
  display: none;
}
.edit-card .q > legend {
  float: none;
  width: auto;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #cfcfcf;
}
.edit-card .hint {
  font-size: 13px;
  line-height: 1.8;
}
.edit-card .q > p.muted.ltr {
  display: flex;
  align-items: center;
  min-height: 54px;
  margin: 0;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 16px;
  background: #101010;
  border: 1px solid var(--sg-line-2);
  font-size: 16px;
}
.edit-card .country-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.edit-card .country-row .country-other {
  grid-column: 1 / -1;
}
.edit-card .opts.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.edit-card .opts.keys .opt span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #141414;
  border: 1px solid var(--sg-line-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
.edit-card .opts.keys .opt input:checked + span {
  background: linear-gradient(135deg, #F6CD5C 0%, #C8922A 100%);
  border-color: #8F6A1F;
  color: var(--sg-ink);
  font-weight: 800;
}
.edit-card:not(:has(.q:not([hidden]))) {
  display: none;
}
.edit-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  gap: 10px;
  margin: 0 -20px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--sg-bg) 72%, transparent);
}
.edit-bar .cta {
  flex: 1;
  min-height: 52px;
}
.edit-card input,
.edit-card select,
.edit-card textarea {
  scroll-margin-bottom: 90px;
}

/* ---- پیام‌ها: فهرست، پیام جدید و گفتگو (بوم‌های Tickets-* و Ticket-*) ---- */
.tk-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tk-new {
  width: auto;
  min-height: 48px;
  padding: 0 26px;
  font-size: 15px;
  box-shadow: none;
}
.tk-card {
  box-sizing: border-box;
  padding: 22px;
  border-radius: 28px;
  background: #121212;
  border: 1px solid #242424;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tk-note {
  margin: 0;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.8;
  color: #8f8f8f;
}
.tk-empty {
  margin: 0;
  padding: 8px 0;
  font-size: 15px;
  color: #a8a8a8;
}
.tk-form {
  gap: 16px;
}
.tk-field {
  display: block;
}
.tk-field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #cfcfcf;
}
.tk-form .inp {
  min-height: 54px;
  background: #141414;
  border-color: var(--sg-line-2);
}
.tk-field textarea.inp {
  min-height: 200px;
  padding: 14px 16px;
  line-height: 1.85;
  resize: vertical;
}
.tk-view > h1.tk-title {
  font-size: 24px;
}
.tk-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tk-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 86%;
  animation: sgIn .35s ease both;
}
.tk-msg.from-user {
  align-self: flex-start;
  align-items: flex-start;
}
.tk-msg.from-admin {
  align-self: flex-end;
  align-items: flex-end;
}
.tk-meta {
  padding: 0 6px;
  font-size: 12px;
  color: #8f8f8f;
}
.tk-bubble {
  margin: 0;
  padding: 14px 16px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-line;
}
.from-user .tk-bubble {
  background: #171717;
  border: 1px solid var(--sg-line-2);
  color: #ededed;
  border-top-right-radius: 6px;
}
.from-admin .tk-bubble {
  background: linear-gradient(180deg, #B8862A 0%, #F6CD5C 100%);
  color: var(--sg-ink);
  font-weight: 600;
  border-top-left-radius: 6px;
}
.tk-reply {
  gap: 10px;
  padding: 14px;
}
.tk-reply textarea.inp {
  min-height: 110px;
  padding: 14px 16px;
  line-height: 1.85;
  resize: vertical;
}
.tk-reply .cta.is-dim {
  opacity: .5;
}
.me-code:focus-visible,
.me-row:focus-visible,
.tk-row:focus-visible,
.tk-new:focus-visible {
  outline: 2px solid var(--sg-gold);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  body.opp-page,
  body.me-page,
  body.edit-page,
  body.tk-page {
    --wrap: 1200px;
  }
  body.opp-page .site,
  body.me-page .site,
  body.edit-page .site,
  body.tk-page .site {
    padding: 16px 40px 88px;
  }
  .opp {
    gap: 22px;
  }
  .opp-hero {
    padding: 32px 34px;
  }
  .opp-hero h1,
  .me-edit h1,
  .tk-head h1,
  .tk-view > h1 {
    font-size: 40px;
  }
  .opp-price-num {
    font-size: 40px;
  }
  .opp-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 28px;
    align-items: start;
  }
  .opp-side {
    position: sticky;
    top: 24px;
  }
  .opp-vid {
    width: 96px;
    height: 96px;
  }
  .me-view {
    gap: 22px;
  }
  .me-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .me-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 22px;
    align-items: start;
  }
  .me-dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
  .me-dl > div:nth-last-child(2) {
    border-bottom: 0;
  }
  .edit-bar {
    margin: 0;
    padding-inline: 0;
  }
  .tk-view {
    max-width: 860px;
    margin: 0 auto;
    gap: 18px;
  }
  .tk-view > h1.tk-title {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-help,
  .home-help-ping,
  .home-vid-ping {
    animation: none !important;
  }
  .sg-player,
  .sg-player-back,
  .sg-player-ctl {
    transition: none !important;
  }
}

/* ---- فرم ارزیابی: کارت، سربرگ، نوار پیشرفت و کلیدها (بوم‌های Form-v2 و Form-desktop) ---- */
body.wizard-page .site {
  padding: 8px 20px 64px;
}
.wizard-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wizard-preset {
  margin: 0 4px;
  color: var(--sg-muted);
  font-size: 14px;
}
.wizard {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 720px;
  margin: 8px auto 0;
  padding: 22px;
  box-sizing: border-box;
  border: 1px solid var(--sg-line);
  border-radius: 28px;
  background: var(--sg-surface);
  scroll-margin-top: 12px;
}
.wizard-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wizard-brand {
  color: var(--sg-gold);
  font-size: 13.5px;
  font-weight: 800;
}
.wizard-count {
  color: var(--sg-muted);
  font-size: 13.5px;
  font-weight: 700;
}
.wizard:not(.js) .wizard-count {
  display: none;
}
.wizard .progress {
  display: none;
  height: 6px;
  border-radius: 6px;
  background: #1e1e1e;
  overflow: hidden;
}
.wizard .progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #C8922A, #F6CD5C);
  transition: width .35s ease;
}
.wizard.js .progress {
  display: block;
}
.wizard .step {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wizard .wizard-q-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wizard .count {
  color: var(--sg-muted);
  font-size: 14px;
  font-weight: 700;
}
.wizard.js .step {
  display: none;
  animation: sgIn .3s ease;
}
.wizard.js .step.current {
  display: flex;
}
.wizard.js .step .count {
  display: none;
}
.wizard:not(.js) .step + .step {
  padding-top: 28px;
  border-top: 1px solid var(--sg-line);
}
.wizard .step h1 {
  margin: 0;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.5;
}
.wizard .step .wizard-q-head .hint {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--sg-muted);
}
.wizard .step .err {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #FF8A80;
}
.wizard .step .err a {
  color: inherit;
  text-decoration: underline;
}
.wizard input:not([type="radio"]):not([type="checkbox"]),
.wizard select,
.wizard textarea {
  min-height: 54px;
  padding: 0 16px;
  box-sizing: border-box;
  border: 1px solid var(--sg-line-2);
  border-radius: 16px;
  background: #141414;
  color: var(--sg-text);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.wizard select {
  padding-left: 40px;
}
.wizard textarea {
  padding: 14px 16px;
  line-height: 1.85;
}
.wizard input::placeholder,
.wizard textarea::placeholder {
  color: #727272;
}
.wizard input:not([type="radio"]):not([type="checkbox"]):focus,
.wizard select:focus,
.wizard textarea:focus {
  border-color: var(--sg-gold);
  box-shadow: 0 0 0 3px rgba(242, 193, 78, .16);
}
.wizard .country-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wizard .opts {
  gap: 12px;
}
.wizard .opts.four,
.wizard .opts.six {
  gap: 8px;
}
.wizard .opt {
  position: relative;
}
.wizard .opt span,
.wizard .wa-confirm {
  position: relative;
  display: flex;
  min-height: 58px;
  padding: 14px 18px;
  padding-inline-start: 52px;
  box-sizing: border-box;
  border: 1px solid var(--sg-line-2);
  border-radius: 18px;
  background: linear-gradient(180deg, #1c1a15 0%, #121212 100%);
  box-shadow: 0 4px 0 #050505, 0 10px 22px rgba(0, 0, 0, .3);
  color: var(--sg-text);
  line-height: 1.6;
  transition: transform .15s cubic-bezier(.3,.7,.4,1.4), filter .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wizard .opt span {
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 10px;
  font-size: 15.5px;
  font-weight: 700;
  text-align: start;
}
.wizard .opt span::before {
  content: "";
  position: absolute;
  inset-inline-start: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  box-sizing: border-box;
  border: 2px solid #4a4a4a;
  border-radius: 50%;
  background: transparent;
}
.wizard .opt span::after {
  content: "";
  position: absolute;
  inset-inline-start: 23px;
  top: calc(50% - 6px);
  width: 6px;
  height: 12px;
  border: solid var(--sg-gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}
.wizard .opt span small {
  display: block;
  margin-inline-start: auto;
  color: var(--sg-gold);
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
}
.wizard .opt:hover span {
  filter: brightness(1.07);
}
.wizard .opt input:checked + span {
  transform: translateY(4px);
  border-color: var(--sg-pressed-line);
  background: linear-gradient(180deg, var(--sg-pressed-top) 0%, var(--sg-pressed-bottom) 100%);
  box-shadow: 0 0 14px rgba(242, 193, 78, .35), 0 2px 3px rgba(0, 0, 0, .5);
  color: var(--sg-ink);
}
.wizard .opt input:checked + span::before {
  background: var(--sg-ink);
  border-color: var(--sg-ink);
}
.wizard .opt input:checked + span::after {
  opacity: 1;
}
.wizard .opt input:checked + span small {
  color: var(--sg-ink);
}
.wizard .opt input:focus-visible + span {
  outline: 2px solid var(--sg-gold);
  outline-offset: 3px;
}
.wizard .opts.four .opt span,
.wizard .opts.six .opt span {
  border-radius: 14px;
  text-align: center;
}
.wizard .opts.four .opt span {
  border-radius: 16px;
}
.wizard .opts.four .opt span::before,
.wizard .opts.four .opt span::after,
.wizard .opts.six .opt span::before,
.wizard .opts.six .opt span::after {
  content: none;
}
.wizard .yn {
  margin: 0;
}
.wizard .sub {
  margin-top: 0;
  border-top: 1px solid var(--sg-line);
}
.wizard .sub-q {
  display: flex;
  flex-direction: column;
}
.wizard .sub-q > span.muted {
  font-size: 15px;
  font-weight: 400;
  color: var(--sg-muted);
}
.wizard .wa-note {
  margin: 0;
  border-radius: 18px;
}
.wizard .wa-confirm {
  align-items: flex-start;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  cursor: pointer;
}
.wizard .wa-confirm input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.wizard .wa-confirm::before {
  content: "";
  position: absolute;
  inset-inline-start: 18px;
  top: 20px;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 2px solid #4a4a4a;
  border-radius: 50%;
  background: transparent;
}
.wizard .wa-confirm::after {
  content: "";
  position: absolute;
  inset-inline-start: 23px;
  top: 25px;
  width: 6px;
  height: 12px;
  border: solid var(--sg-gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}
.wizard .wa-confirm:has(input:checked) {
  transform: translateY(4px);
  border-color: var(--sg-pressed-line);
  background: linear-gradient(180deg, var(--sg-pressed-top) 0%, var(--sg-pressed-bottom) 100%);
  box-shadow: 0 0 14px rgba(242, 193, 78, .35);
  color: var(--sg-ink);
}
.wizard .wa-confirm:has(input:checked)::before {
  background: var(--sg-ink);
  border-color: var(--sg-ink);
}
.wizard .wa-confirm:has(input:checked)::after {
  opacity: 1;
}
.wizard .wa-confirm:has(input:focus-visible) {
  outline: 2px solid var(--sg-gold);
  outline-offset: 3px;
}
.wizard .wa-confirm.bad {
  border-color: var(--sg-alert);
}
.wizard [hidden] {
  display: none !important;
}
.wizard-nav {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.wizard-nav [data-prev],
.wizard-nav [data-next] {
  display: none;
}
.wizard.js .wizard-nav [data-prev],
.wizard.js .wizard-nav [data-next] {
  display: flex;
}
.wizard-nav .cta.ghost {
  flex: 1;
  min-height: 56px;
  font-size: 15.5px;
}
.wizard-nav .cta:not(.ghost) {
  flex: 2;
  border: 0;
  font-size: 16px;
}
.wizard-nav .dim {
  opacity: .5;
}
@media (min-width: 900px) {
  body.wizard-page {
    --wrap: 800px;
  }
  body.wizard-page .site {
    padding: 16px 40px 88px;
  }
  .wizard {
    margin-top: 24px;
    padding: 40px 44px;
  }
  .wizard .step h1 {
    font-size: 28px;
  }
  .wizard .opts.wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- صفحهٔ «دریافت شد»: تیک طلایی و متن کارت (بوم Form-v2) ---- */
body.done-view {
  --wrap: 100%;
}
body.done-view .site {
  padding: 0;
}
.done-page {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100dvh - 76px);
  padding: 8px 20px 64px;
  box-sizing: border-box;
}
#celebrate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}
.done-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 720px;
  margin: 8px auto 0;
  padding: 32px 22px 28px;
  box-sizing: border-box;
  border: 1px solid var(--sg-line);
  border-radius: 28px;
  background: var(--sg-surface);
  text-align: center;
}
.done-slot {
  position: relative;
  z-index: 21;
  display: flex;
  justify-content: center;
  height: 124px;
  margin: 4vh auto 18px;
}
.done-check {
  position: relative;
  display: grid;
  place-content: center;
  width: 124px;
  height: 124px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  animation: sgPop .5s cubic-bezier(.34, 1.56, .64, 1) both;
}
.done-ring {
  position: absolute;
  inset: 10px;
  border: 2px solid var(--sg-gold);
  border-radius: 32%;
  animation: sgRing 1.6s ease-out .4s both;
}
.done-ring-2 {
  animation-delay: 1.05s;
}
.done-card h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}
.done-lead {
  margin: 0;
  max-width: 460px;
  color: #c8c8c8;
  font-size: 15.5px;
  line-height: 1.95;
}
.done-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.done-code-label {
  color: #9a9a9a;
  font-size: 13px;
}
.done-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px dashed rgba(242, 193, 78, .6);
  border-radius: 14px;
  background: #161616;
  color: var(--sg-gold);
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
}
.done-code-btn svg {
  color: #cfcfcf;
}
.done-code-btn:focus-visible {
  outline: 2px solid var(--sg-gold);
  outline-offset: 3px;
}
.done-copied {
  min-height: 20px;
  color: var(--sg-gold);
  font-size: 12.5px;
}
.done-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  margin-top: 6px;
}
@media (min-width: 900px) {
  .done-page {
    min-height: calc(100dvh - 96px);
    padding: 16px 40px 88px;
  }
  .done-card {
    margin-top: 24px;
    padding: 40px 44px 36px;
  }
  .done-card h1 {
    font-size: 34px;
  }
}
