.sp-home {
  --sp-bg: #f5f1e8;
  --sp-surface: #fff;
  --sp-ink: #0b0f17;
  --sp-ink-soft: #2a3342;
  --sp-muted: #5b6470;
  --sp-gold: #d4af37;
  --sp-gold-dark: #825c1e;
  --sp-border: #e5dfd3;
  min-height: 100dvh;
  color: var(--sp-ink);
  background: var(--sp-bg);
  font-family: FilmlandSans, IRANSansX, Dana, Vazirmatn, Tahoma, sans-serif;
  letter-spacing: 0;
}
.sp-home button {
  font: inherit;
}
.sp-home button:focus-visible {
  outline: 3px solid rgba(185, 146, 47, .45);
  outline-offset: 3px;
}
.sp-skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  right: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #101826;
  color: #fff;
  transform: translateY(-180%);
}
.sp-skip-link:focus {
  transform: translateY(0);
}
.sp-home__shell {
  min-height: 100dvh;
}
.sp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--sp-border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.sp-header__inner {
  width: min(100%, 1280px);
  min-height: 72px;
  margin: auto;
  padding: calc(8px + env(safe-area-inset-top)) 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sp-header__identity,
.sp-header__tools {
  display: flex;
  align-items: center;
}
.sp-header__identity {
  min-width: 0;
  gap: 24px;
}
.sp-header__brand {
  display: none;
}
.sp-header__greeting {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sp-header__greeting > span {
  color: var(--sp-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}
.sp-header__greeting small {
  color: var(--sp-muted);
  font-size: 11px;
  line-height: 1.7;
  white-space: nowrap;
}
.sp-header__phone {
  align-self: flex-start;
  unicode-bidi: isolate;
}
.sp-header__tools {
  gap: 8px;
  flex: none;
}
.sp-icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  background: #fff;
  color: var(--sp-ink-soft);
  display: grid;
  place-items: center;
  transition: background-color .22s, border-color .22s;
}
.sp-icon-button:hover,
.sp-icon-button:active {
  background: #f7f1e4;
  border-color: #d9c99d;
}
.sp-icon-button .icon {
  width: 21px;
  height: 21px;
}
.sp-home__main {
  width: min(100%, 1280px);
  margin: auto;
  padding: 24px 20px calc(120px + env(safe-area-inset-bottom));
}
.sp-home__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.sp-home__intro h1 {
  margin: 2px 0 0;
  font-size: 24px;
  line-height: 1.5;
  color: var(--sp-ink);
}
.sp-section__eyebrow,
.sp-eyebrow {
  color: var(--sp-gold-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}
.sp-preview-badge {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.sp-preview-badge {
  color: #59616d;
  border: 1px solid #dfd8ca;
  background: #fffaf1;
}
.sp-home__columns {
  display: grid;
  align-content: start;
  gap: 20px;
  min-width: 0;
}
.sp-wallet {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 5% 0%, rgba(212, 175, 55, .18), transparent 45%),
    #101826;
  box-shadow: 0 16px 36px rgba(16, 24, 38, .13);
}
.sp-wallet::before {
  content: "";
  position: absolute;
  inset-inline-start: -48px;
  top: -54px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(230, 199, 106, .2);
  border-radius: 50%;
  pointer-events: none;
}
.sp-wallet__top,
.sp-wallet__heading,
.sp-section__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.sp-wallet .sp-eyebrow {
  color: #e6c76a;
}
.sp-wallet__eye,
.sp-wallet__copy {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
}
.sp-wallet__eye .icon,
.sp-wallet__copy .icon {
  width: 20px;
  height: 20px;
}
.sp-wallet__heading {
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.sp-wallet__heading h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
.sp-wallet__heading p {
  margin: 3px 0 0;
  color: #dce2e9;
  font-size: 11px;
  line-height: 1.8;
}
.sp-wallet__heading p span {
  margin-inline-start: 6px;
}
.sp-wallet__total {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 12px;
}
.sp-wallet__total > span:not(.sp-skeleton) {
  color: #e6c76a;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 600;
}
.sp-wallet__total strong {
  color: #fff;
  font-size: clamp(32px, 5vw, 40px);
  line-height: 1.35;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.sp-wallet__total strong small {
  font-size: 13px;
  font-weight: 500;
}
.sp-wallet__balances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.sp-balance {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-inline: 12px;
}
.sp-balance:first-child {
  padding-inline-start: 0;
}
.sp-balance + .sp-balance {
  border-inline-start: 1px solid rgba(255, 255, 255, .16);
}
.sp-balance > span:not(.sp-skeleton) {
  color: #dce2e9;
  font-size: 11px;
  line-height: 1.7;
}
.sp-balance strong {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sp-balance strong small {
  font-size: 11px;
  font-weight: 500;
}
.sp-balance__action {
  align-self: flex-start;
  min-height: 44px;
  max-width: 100%;
  margin-top: 2px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(230, 199, 106, .42);
  border-radius: 10px;
  background: rgba(230, 199, 106, .12);
  color: #f8e6b5;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.5;
  text-align: center;
  transition: background-color .22s, border-color .22s;
}
.sp-balance__action:hover,
.sp-balance__action:active {
  background: rgba(230, 199, 106, .23);
  border-color: rgba(230, 199, 106, .72);
}
.sp-balance__action .icon {
  width: 17px;
  height: 17px;
  flex: none;
}
.sp-wallet__foot {
  margin: 20px 0 0;
  color: #e6d6ad;
  font-size: 11px;
  line-height: 1.7;
}
.sp-section {
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  background: var(--sp-surface);
  padding: 20px;
  box-shadow: 0 6px 22px rgba(40, 36, 29, .035);
}
.sp-section__heading {
  min-height: 30px;
  margin-bottom: 16px;
}
.sp-section__heading h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--sp-ink);
}
.sp-wallet-actions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 576px) {
  .sp-wallet-actions__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.sp-quick-action {
  min-height: 92px;
  padding: 8px 4px;
  border: 0;
  border-radius: 14px;
  background: #faf8f3;
  color: var(--sp-ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.5;
  text-align: center;
  transition: background-color .22s, transform .22s;
}
.sp-quick-action:hover,
.sp-quick-action:active {
  background: #f4ecd9;
  transform: translateY(-1px);
}
.sp-quick-action__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--sp-gold-dark);
  border-radius: 12px;
  background: #f4ecd9;
}
.sp-quick-action__icon .icon {
  width: 25px;
  height: 25px;
}
.sp-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 8px;
  row-gap: 16px;
}
.sp-service {
  min-height: 92px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--sp-ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: center;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.55;
}
.sp-service__icon {
  width: 54px;
  height: 54px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #7a571f;
  transition: transform .22s, background-color .22s;
}
.sp-service:hover .sp-service__icon,
.sp-service:active .sp-service__icon {
  transform: translateY(-2px);
}
.sp-service__icon--gold {
  background: #f4ecd7;
}
.sp-service__icon--ivory {
  background: #f2f0e9;
}
.sp-service__icon--steel {
  color: #344963;
  background: #e8edf0;
}
.sp-service__icon .icon {
  width: 27px;
  height: 27px;
}
.sp-service__label {
  max-width: 100%;
  min-height: 36px;
}
.sp-gold-service {
  --sp-gold-service-image: url("/assets/gold-service/smart-plus-gold-bg-pwa-320@2x.jpg");
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 76px;
  margin-top: 16px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 2px solid #a66a1f;
  border-radius: 16px;
  background-color: #faf3e4;
  background-image: var(--sp-gold-service-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--sp-ink);
  text-align: right;
  cursor: pointer;
  animation: sp-gold-service-halo 3.2s ease-in-out infinite;
  transition: border-color .22s, box-shadow .22s;
}
.sp-gold-service::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(270deg, rgba(255, 253, 247, .86), rgba(255, 253, 247, .58) 38%, transparent 73%);
  content: "";
  pointer-events: none;
}
.sp-gold-service::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 2px solid rgba(153, 91, 13, .9);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}
@property --sp-gold-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
  .sp-gold-service::after {
    padding: 4px;
    border: 0;
    background: conic-gradient(from var(--sp-gold-angle), transparent 0deg 268deg, #c88622 292deg, #f2c662 310deg, #fffdf0 326deg, #f2c662 342deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: sp-gold-service-sweep 3.2s linear infinite;
  }
}
.sp-gold-service:hover,
.sp-gold-service:active {
  border-color: #bc9a54;
  box-shadow: 0 4px 14px rgba(81, 54, 13, .1);
}
.sp-gold-service:hover::after,
.sp-gold-service:focus-visible::after {
  filter: brightness(1.12);
}
.sp-gold-service__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
}
.sp-gold-service__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sp-gold-service__copy strong {
  font-size: 13px;
  line-height: 1.4;
  color: #142033;
}
.sp-gold-service__copy small {
  color: #49463e;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}
.sp-gold-service__cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid rgba(103, 72, 21, .4);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #664715;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.sp-gold-service__cta .icon {
  width: 13px;
  height: 13px;
}
@keyframes sp-gold-service-sweep {
  to { --sp-gold-angle: 360deg; }
}
@keyframes sp-gold-service-halo {
  0%, 100% { box-shadow: 0 0 0 1px rgba(153, 91, 13, .26), 0 3px 10px rgba(102, 63, 12, .08); }
  50% { box-shadow: 0 0 0 4px rgba(212, 157, 49, .36), 0 0 26px rgba(196, 132, 25, .52); }
}
.sp-market__symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #85631d;
  background: #f6eedb;
}
.sp-market { background: linear-gradient(140deg, #fff 55%, #fbf6eb); border-color: rgba(167,128,62,.22); }
.sp-market__status { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; margin-bottom: 10px; padding: 3px 9px; border-radius: 999px; background: #f2efea; color: #635b50; font-size: 11px; font-weight: 700; }
.sp-market__status i { width: 7px; height: 7px; border-radius: 50%; background: #8b8175; }
.sp-market__status.is-fresh { background: #eaf5ed; color: #176640; }
.sp-market__status.is-fresh i { background: #25845d; }
.sp-market__unit { color: var(--sp-muted); font-size: 12px; }
.sp-market__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 48px;
}
.sp-market__value strong {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.4;
  color: var(--sp-ink);
  font-variant-numeric: tabular-nums;
}
.sp-market__value span {
  font-size: 12px;
  color: var(--sp-muted);
}
.sp-market > p {
  margin: 2px 0 12px;
  color: var(--sp-muted);
  font-size: 12px;
  line-height: 1.8;
}
.sp-market__change { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; margin-bottom: 8px; padding: 5px 9px; border-radius: 999px; background: #f2efea; color: #4b5665; font-size: 11px; }
.sp-market__change--up { background: #eaf5ed; color: #176640; }
.sp-market__change--down { background: #fbefee; color: #a03c36; }
.sp-text-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 0;
  color: #795819;
  border: 0;
  background: transparent;
  font-size: 12px !important;
  font-weight: 700 !important;
}
.sp-text-action:hover,
.sp-text-action:active {
  color: #3d2e16;
}
.sp-text-action .icon {
  width: 17px;
  height: 17px;
}
.sp-terminals .sp-section__heading {
  margin-bottom: 8px;
}
.sp-empty {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.sp-empty__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #627184;
  background: #edf0f2;
}
.sp-empty strong {
  font-size: 13px;
  line-height: 1.7;
}
.sp-empty p {
  max-width: 290px;
  margin: 0;
  color: var(--sp-muted);
  font-size: 11px;
  line-height: 1.8;
}
.sp-promo-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
}
.sp-promo-card__picture,
.sp-promo-card__picture img {
  display: block;
  width: 100%;
}
.sp-promo-card__picture {
  aspect-ratio: 760 / 614;
}
.sp-promo-card__picture img {
  height: auto;
}
@media (min-width: 371px) {
  .sp-promo-card__picture { aspect-ratio: 960 / 519; }
}
@media (min-width: 480px) {
  .sp-promo-card__picture { aspect-ratio: 1280 / 686; }
}
@media (min-width: 640px) {
  .sp-promo-card__picture { aspect-ratio: 1600 / 434; }
}
@media (min-width: 1024px) {
  .sp-promo-card__picture { aspect-ratio: 1280 / 686; }
}
@media (min-width: 1200px) {
  .sp-promo-card__picture { aspect-ratio: 1200 / 504; }
}
.sp-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sp-bottom-nav {
  position: fixed;
  z-index: 30;
  inset-inline: 20px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 520px;
  height: 72px;
  margin-inline: auto;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .79), rgba(244, 238, 226, .68));
  box-shadow: 0 18px 44px rgba(23, 31, 44, .17), 0 4px 12px rgba(23, 31, 44, .07), inset 0 1px 0 rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
}
.sp-nav-item {
  position: relative;
  min-width: 0;
  min-height: 44px;
  padding: 4px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #4e5968;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.3;
  transition: color .22s, background-color .22s;
}
.sp-nav-item .icon {
  width: 23px;
  height: 23px;
}
.sp-nav-item span {
  white-space: nowrap;
}
@media (max-width: 359px) {
  .sp-bottom-nav {
    inset-inline: 12px;
    padding: 4px;
    gap: 2px;
  }
  .sp-nav-item {
    padding-inline: 0;
    font-size: 10px !important;
  }
  .sp-nav-item .icon {
    width: 22px;
    height: 22px;
  }
}
.sp-nav-item.is-active {
  color: #674813;
  background: rgba(255, 249, 232, .7);
  box-shadow: inset 0 0 0 1px rgba(173, 135, 57, .18), 0 2px 8px rgba(95, 69, 24, .06);
}
.sp-nav-item.is-active::before {
  content: "";
  width: 18px;
  height: 3px;
  position: absolute;
  top: 2px;
  border-radius: 999px;
  background: var(--sp-gold);
}
.sp-nav-item:hover,
.sp-nav-item:active {
  color: #765518;
  background: rgba(255, 249, 232, .75);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .sp-bottom-nav {
    background: #faf8f3;
    border-color: #e6dcc9;
  }
}
.sp-overlay[hidden] {
  display: none;
}
.sp-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  isolation: isolate;
}
.sp-overlay__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 23, .42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: sp-scrim-in .25s ease-out;
}
.sp-sheet {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: calc(var(--sp-visual-height, 100dvh) - 16px - env(safe-area-inset-top));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  border: 1px solid rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -18px 48px rgba(11, 15, 23, .16);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  animation: sp-sheet-in .3s cubic-bezier(.2, .8, .2, 1);
}
.sp-sheet__handle {
  width: 40px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #bcae91;
}
.sp-sheet__heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.sp-sheet__heading h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  color: var(--sp-ink);
}
.sp-sheet__heading .sp-icon-button {
  grid-column: 3;
  grid-row: 1;
}
.sp-sheet__content {
  min-width: 0;
  padding-top: 16px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
.sp-overlay[data-kind^="guide:"] .sp-sheet,
.sp-overlay[data-kind="guide"] .sp-sheet {
  display: flex;
  flex-direction: column;
  height: min(780px, calc(var(--sp-visual-height, 100dvh) - 16px - env(safe-area-inset-top)));
  overflow: hidden;
}
.sp-overlay[data-kind^="guide:"] .sp-sheet__handle,
.sp-overlay[data-kind^="guide:"] .sp-sheet__heading,
.sp-overlay[data-kind="guide"] .sp-sheet__handle,
.sp-overlay[data-kind="guide"] .sp-sheet__heading { flex: none; }
.sp-overlay[data-kind^="guide:"] .sp-sheet__content,
.sp-overlay[data-kind="guide"] .sp-sheet__content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sp-guide, .sp-guide-index { max-width: 520px; margin-inline: auto; }
.sp-guide__visual {
  position: relative;
  height: 152px;
  margin-bottom: 18px;
  border: 1px solid var(--sp-border);
  border-radius: 22px;
  background: radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--sp-gold) 24%, var(--sp-surface)), var(--sp-bg) 72%);
  overflow: hidden;
}
.sp-guide__connector {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 19%;
  width: 62%;
  border-top: 2px dashed color-mix(in srgb, var(--sp-gold-dark) 48%, transparent);
  transform: rotate(-12deg);
}
.sp-guide__orb {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--sp-gold) 35%, var(--sp-border));
  border-radius: 16px;
  background: var(--sp-surface);
  color: var(--sp-ink);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--sp-ink) 9%, transparent);
}
.sp-guide__orb .icon { width: 27px; height: 27px; }
.sp-guide__orb--1 { top: 34%; right: calc(50% - 31px); width: 62px; height: 62px; border-radius: 20px; background: var(--sp-ink); color: var(--sp-surface); }
.sp-guide__orb--1 .icon { width: 32px; height: 32px; }
.sp-guide__orb--2 { top: 12%; right: 15%; }
.sp-guide__orb--3 { top: 15%; left: 14%; }
.sp-guide__orb--4 { bottom: 10%; left: 22%; }
.sp-guide__intro h3 { margin: 0; font-size: 21px; line-height: 1.55; color: var(--sp-ink); }
.sp-guide__intro p, .sp-guide-index__intro { margin: 4px 0 16px; color: var(--sp-muted); font-size: 14px; line-height: 1.85; }
.sp-guide__steps { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.sp-guide__step {
  display: grid;
  grid-template-columns: 30px 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--sp-surface) 88%, var(--sp-bg));
}
.sp-guide__number { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sp-ink); color: var(--sp-surface); font: 700 13px/1 FilmlandSans, IRANSansX, Dana, Vazirmatn, Tahoma, sans-serif; }
.sp-guide__step-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: color-mix(in srgb, var(--sp-gold) 18%, var(--sp-surface)); color: var(--sp-gold-dark); }
.sp-guide__step-icon .icon { width: 21px; height: 21px; }
.sp-guide__step-copy { min-width: 0; }
.sp-guide__step-copy strong { display: block; font-size: 14px; line-height: 1.55; }
.sp-guide__step-copy small { display: block; color: var(--sp-muted); font-size: 12px; line-height: 1.75; }
.sp-guide__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--sp-bg); color: var(--sp-ink-soft); }
.sp-guide__note .icon { flex: none; width: 20px; height: 20px; color: var(--sp-gold-dark); }
.sp-guide__note p { margin: 0; font-size: 12px; line-height: 1.85; }
.sp-guide__preference { display: flex; align-items: center; gap: 9px; margin: 0 2px 4px; font-size: 13px; color: var(--sp-muted); cursor: pointer; }
.sp-guide__preference input { width: 18px; height: 18px; accent-color: var(--sp-gold-dark); }
.sp-guide__footer { position: sticky; bottom: -8px; display: grid; gap: 8px; margin-top: 14px; padding: 12px 0 max(8px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--sp-surface) 14%); }
.sp-guide__footer .sp-action { min-height: 48px; width: 100%; }
.sp-guide-index { display: grid; gap: 10px; }
.sp-guide-index__item { display: grid; grid-template-columns: 46px minmax(0, 1fr) 20px; align-items: center; gap: 12px; width: 100%; min-height: 78px; padding: 12px; border: 1px solid var(--sp-border); border-radius: 17px; background: var(--sp-surface); color: var(--sp-ink); text-align: right; cursor: pointer; }
.sp-guide-index__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--sp-bg); color: var(--sp-gold-dark); }
.sp-guide-index__item strong, .sp-guide-index__item small { display: block; }
.sp-guide-index__item strong { font-size: 14px; }
.sp-guide-index__item small { color: var(--sp-muted); font-size: 12px; line-height: 1.65; }
.sp-guide-index__item > .icon { width: 18px; height: 18px; }
.sp-guide-index__item:hover { border-color: var(--sp-gold); }
@media (max-width: 390px) {
  .sp-guide__visual { height: 132px; margin-bottom: 12px; }
  .sp-guide__step { padding: 9px; }
  .sp-guide__steps { gap: 7px; }
  .sp-guide__intro p { margin-bottom: 12px; }
}
.sp-overlay[data-kind="settings"] .sp-sheet {
  display: flex;
  flex-direction: column;
  height: min(760px, calc(100dvh - 16px - env(safe-area-inset-top)));
  overflow: hidden;
}
.sp-overlay[data-kind="settings"] .sp-sheet__handle,
.sp-overlay[data-kind="settings"] .sp-sheet__heading { flex: none; }
.sp-overlay[data-kind="settings"] .sp-sheet__content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 8px;
}
.sp-sheet__hint {
  color: var(--sp-muted);
  font-size: 13px;
  line-height: 1.8;
}
.sp-sheet__row {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  background: #faf8f4;
  color: var(--sp-ink);
  text-align: right;
  font-size: 14px !important;
}
.sp-sheet__row span {
  flex: 1;
}
.sp-sheet__row--logout {
  margin-top: 16px;
  border-color: #e4b5a9;
  background: #fff7f4;
  color: #893a2d;
  font-weight: 700;
  cursor: pointer;
}
.sp-sheet__row--logout:hover,
.sp-sheet__row--logout:active {
  background: #fbece7;
  border-color: #bf796a;
}
.sp-sheet__row--logout .icon {
  width: 22px;
  height: 22px;
}
.sp-merchant {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  margin: 0;
  border: 1px solid #e8dfca;
  border-radius: 16px;
  background: linear-gradient(130deg, #fffcf5, #f7f0e1);
  text-align: center;
}
.sp-merchant__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #ead6a8;
  color: #624417;
  font-size: 19px;
  font-weight: 700;
}
.sp-merchant__details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.sp-merchant__details small {
  color: var(--sp-muted);
  font-size: 12px;
}
.sp-merchant__details strong {
  font-size: 16px;
}
.sp-merchant__details > span {
  align-self: center;
  unicode-bidi: isolate;
  color: var(--sp-muted);
  font-size: 13px;
}
.sp-sheet__symbol {
  width: 60px;
  height: 60px;
  margin: 4px auto 16px;
  display: grid;
  place-items: center;
  border: 1px solid #eadcc0;
  border-radius: 18px;
  background: #fbf5e8;
  color: #805c22;
}
.sp-sheet__symbol--danger {
  border-color: #f0d3cb;
  background: #fff3ef;
  color: #a13f32;
}
.sp-sheet__message {
  max-width: 35ch;
  margin: 0 auto 24px;
  color: var(--sp-ink-soft);
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
}
.sp-sheet__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sp-sheet__actions button {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.sp-sheet__cancel {
  order: -1;
  border: 1px solid #101826;
  background: #101826;
  color: #fff;
}
.sp-sheet__confirm {
  border: 1px solid var(--sp-ink);
  background: var(--sp-ink);
  color: var(--sp-surface);
}
.sp-sheet__confirm:hover,
.sp-sheet__confirm:active {
  background: var(--sp-ink-soft);
  border-color: var(--sp-ink-soft);
}
.sp-empty--sheet {
  min-height: 176px;
}
.sp-skeleton {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #e2ded4 0%, #f5f1e8 50%, #e2ded4 100%);
  background-size: 200% 100%;
  animation: sp-shimmer 1.5s linear infinite;
}
.sp-skeleton--balance {
  width: 70%;
  height: 25px;
}
.sp-skeleton--price {
  width: 130px;
  height: 34px;
}
.sp-skeleton--terminal-icon {
  width: 42px;
  height: 42px;
}
.sp-skeleton--line {
  width: 160px;
  height: 13px;
}
.sp-skeleton--line-short {
  width: 100px;
  height: 10px;
  margin-top: 8px;
}
.sp-terminal-skeleton {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 110px;
}
@keyframes sp-shimmer {
  to { background-position-x: -200%; }
}
@keyframes sp-sheet-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes sp-scrim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (min-width: 1024px) {
  .sp-header__inner {
    min-height: 82px;
    padding-inline: 32px;
  }
  .sp-header__brand {
    display: flex;
  }
  .sp-header__brand .brand__word strong {
    font-size: 21px;
  }
  .sp-header__brand .brand__word small {
    font-size: 9px;
  }
  .sp-bottom-nav {
    display: none;
  }
  .sp-home__main {
    padding: 32px 32px 64px;
  }
  .sp-home__columns {
    grid-template-columns: minmax(0, 1.62fr) minmax(320px, .98fr);
    grid-template-areas:
      "wallet promo"
      "actions market"
      "services terminals";
    align-items: stretch;
    gap: 24px;
  }
  .sp-wallet { grid-area: wallet; }
  .sp-wallet-actions { grid-area: actions; }
  .sp-promo-card { grid-area: promo; align-self: start; }
  .sp-services { grid-area: services; }
  .sp-market { grid-area: market; align-self: start; }
  .sp-terminals { grid-area: terminals; align-self: start; }
}
@media (min-width: 1200px) {
  .sp-gold-service {
    --sp-gold-service-image: url("/assets/gold-service/smart-plus-gold-bg-desktop-1280plus@2x.jpg");
  }
  .sp-wallet {
    min-height: 268px;
    padding: 28px 32px;
  }
  .sp-section {
    padding: 24px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .sp-gold-service {
    --sp-gold-service-image: url("/assets/gold-service/smart-plus-gold-bg-desktop-1024@2x.jpg");
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .sp-gold-service {
    --sp-gold-service-image: url("/assets/gold-service/smart-plus-gold-bg-tablet-768@2x.jpg");
  }
}
@media (min-width: 768px) {
  .sp-gold-service__copy strong {
    font-size: 15px;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .sp-gold-service {
    --sp-gold-service-image: url("/assets/gold-service/smart-plus-gold-bg-desktop-1024@2x.jpg");
  }
}
@media (min-width: 371px) and (max-width: 575px) {
  .sp-gold-service {
    --sp-gold-service-image: url("/assets/gold-service/smart-plus-gold-bg-pwa-390@2x.jpg");
  }
}
@media (min-width: 371px) and (max-width: 767px) {
  .sp-gold-service__copy strong {
    font-size: 14px;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .sp-home__main {
    width: min(100%, 760px);
    padding-inline: 32px;
  }
}
@media (max-width: 370px) {
  .sp-header__inner,
  .sp-home__main {
    padding-inline: 16px;
  }
  .sp-wallet,
  .sp-section {
    padding: 16px;
  }
  .sp-balance {
    padding-inline: 8px;
  }
  .sp-balance > span:not(.sp-skeleton) {
    font-size: 11px;
  }
  .sp-balance__action {
    padding-inline: 7px;
    font-size: 10px !important;
  }
  .sp-balance__action .icon {
    width: 15px;
    height: 15px;
  }
  .sp-gold-service__copy small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-gold-service {
    animation: none;
    box-shadow: 0 0 0 2px rgba(164, 99, 15, .24);
  }
  .sp-gold-service::after {
    animation: none;
  }
}
@media (min-width: 768px) {
  .sp-overlay[data-kind="settings"] .sp-sheet {
    height: min(640px, calc(100dvh - 64px));
  }
  .sp-sheet {
    width: min(calc(100% - 32px), 480px);
    margin: auto;
    padding: 16px 32px 32px;
    border-radius: 24px;
  }
  .sp-overlay {
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-home *,
  .sp-home *::before,
  .sp-home *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
.sp-finance-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 16px 16px; }
.sp-finance-actions button, .sp-finance-form button, .sp-withdrawal-confirm button, .sp-action {
  min-height: 48px; border-radius: 12px; padding: 10px 16px;
  border: 1px solid var(--sp-ink); background: var(--sp-ink);
  color: var(--sp-surface); font: inherit; font-weight: 700; cursor: pointer;
}
.sp-finance-actions button + button, .sp-sheet__actions .sp-action--secondary,
.sp-finance-form .sp-action--secondary, .sp-withdrawal-confirm .sp-action--secondary {
  border-color: var(--sp-border); background: var(--sp-surface); color: var(--sp-ink);
}
.sp-sheet__actions .sp-action--danger { border-color: var(--danger); background: var(--danger); color: var(--sp-surface); }
.sp-action:disabled, .sp-finance-form button:disabled, .sp-withdrawal-confirm button:disabled {
  opacity: .55; cursor: not-allowed;
}
.sp-action[aria-busy="true"]::after, .sp-finance-form button[aria-busy="true"]::after,
.sp-withdrawal-confirm button[aria-busy="true"]::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-inline-start: 8px;
  border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%;
  animation: sp-spin .8s linear infinite; vertical-align: middle;
}
@keyframes sp-spin { to { transform: rotate(360deg); } }
.sp-finance-form { display: grid; gap: 16px; }
.sp-finance-form label, .sp-withdrawal-confirm label { display: grid; gap: 6px; font-size: 14px; }
.sp-finance-form input, .sp-finance-form select, .sp-withdrawal-confirm input {
  min-height: 44px; width: 100%; max-width: 100%; min-width: 0; border: 1px solid var(--sp-border);
  border-radius: 9px; padding: 8px 12px; background: var(--sp-surface); color: var(--sp-ink); font: inherit;
}
.sp-finance-form__error, .sp-inline-message--error { min-height: 1.5em; color: var(--danger); margin: 0; }
.sp-inline-message--info { color: var(--sp-muted); }
.sp-inline-message--success { color: var(--sp-gold-dark); }
.sp-sheet .otp-inputs { width: 100%; max-width: 380px; margin-inline: auto; gap: 8px; }
.sp-sheet .otp-inputs input {
  width: 0; min-width: 0; max-width: 56px; flex: 1; height: 54px; padding: 0;
  border-radius: 12px; text-align: center; font-family: Arial, sans-serif; font-size: 22px;
}
.sp-sheet .otp-label { margin: 0; text-align: right; }
.sp-feedback-state {
  min-height: 152px; padding: 24px 16px; display: grid; place-content: center;
  justify-items: center; gap: 8px; text-align: center; line-height: 1.8;
  border: 1px solid var(--sp-border); border-radius: 16px; background: var(--sp-surface);
}
.sp-feedback-state strong { color: var(--sp-ink); font-size: 15px; }
.sp-feedback-state p { margin: 0; color: var(--sp-muted); font-size: 13px; }
.sp-feedback-state__icon { display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; background: var(--sp-bg); color: var(--sp-gold-dark); }
.sp-feedback-state--error .sp-feedback-state__icon { color: var(--danger); }
.sp-feedback-state__skeleton { display: block; width: min(65vw, 260px); height: 16px;
  border-radius: 8px; background: linear-gradient(90deg, var(--sp-border), var(--sp-bg), var(--sp-border));
  background-size: 200% 100%; animation: sp-shimmer 1.5s ease infinite; }
.sp-feedback-state__skeleton--short { width: min(40vw, 160px); }
.sp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sp-decision__subtitle { text-align: center; margin: -12px auto 20px; }
.sp-decision .sp-inline-message { text-align: center; margin-bottom: 12px; }
.sp-sheet__symbol--success { color: var(--sp-gold-dark); background: var(--sp-bg); border-color: var(--sp-border); }
.sp-result { display: grid; gap: 14px; text-align: center; }
.sp-result__title { color: var(--sp-ink); font-size: 18px; }
.sp-result__facts { margin: 0; display: grid; gap: 0; text-align: right;
  border: 1px solid var(--sp-border); border-radius: 14px; overflow: hidden; }
.sp-result__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; }
.sp-result__facts div + div { border-top: 1px solid var(--sp-border); }
.sp-result__facts dt { color: var(--sp-muted); }
.sp-result__facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; text-align: left; }
.sp-result .sp-sheet__actions { margin-top: 6px; }
.sp-finance-list { display: grid; gap: 12px; }
.sp-finance-item { border: 1px solid var(--sp-border); border-radius: 12px; padding: 14px; background: var(--sp-surface); }
.sp-finance-item.is-unread { border-inline-start: 3px solid var(--sp-gold-dark); }
.sp-finance-item p { margin: 6px 0; }
.sp-finance-item small, .sp-finance-item time { color: var(--sp-muted); display: block; }
.sp-finance-item button { border: 0; background: transparent; color: var(--sp-gold-dark); font: inherit; padding: 8px; }
.sp-receipt-actions { display: grid; gap: 8px; margin-top: 14px; }
.sp-finance-item .sp-receipt-actions .sp-action--primary { border: 1px solid var(--sp-ink); background: var(--sp-ink); color: var(--sp-surface); }
.sp-finance-item .sp-receipt-actions .sp-action--secondary { border: 1px solid var(--sp-border); background: var(--sp-surface); color: var(--sp-ink); }
.sp-receipt-link { display: inline-flex; min-height: 40px; align-items: center; margin-top: 8px;
  padding: 8px 12px; border: 1px solid var(--sp-border); border-radius: 9px; color: var(--sp-gold-dark);
  background: var(--sp-bg); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; }
.sp-receipt-link:hover, .sp-receipt-link:focus-visible { background: var(--sp-surface); border-color: var(--sp-gold-dark); }
.sp-withdrawal-confirm { display: grid; gap: 14px; }
.sp-withdrawal-confirm form { display: grid; gap: 12px; }
.sp-notification-count { position: absolute; top: 0; inset-inline-end: 0; min-width: 18px;
  height: 18px; padding-inline: 4px; border-radius: 999px; background: var(--danger); color: var(--sp-surface);
  font-size: 11px; line-height: 18px; text-align: center; }
.sp-notification-count[hidden] { display: none; }
@media (max-width: 390px) {
  .sp-sheet { padding-inline: 16px; }
  .sp-sheet .otp-inputs { gap: 6px; }
  .sp-sheet .otp-inputs input { height: 50px; font-size: 20px; }
}
