/*
 * Экран «VIP-клуб» Forma, перенос макета v94 (vip-v88.css) на оболочку fw36.
 * Палитра общая: графит #242424, индиго #6B4EFF, белые модалки.
 */

html body.fw36.fw-vip #pageVip > :not(#fwVip) {
  display: none !important;
}

html body.fw36.fw-vip #pageVip {
  background: transparent;
  padding-top: 8px;
}

html body.fw36 #fwVip {
  display: none;
  padding: 8px 0 28px;
  font-family: ManropeFW, Manrope, sans-serif;
  color: #f3f4f7;
}

html body.fw36.fw-vip #fwVip {
  display: block;
}

#fwVip h1,
#fwVip h2,
#fwVip h3,
#fwVip p {
  margin: 0;
}

#fwVip h1:focus {
  outline: none;
}

#fwVip button {
  touch-action: manipulation;
}

#fwVip .vp-kicker {
  color: #b4a2ef;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

html body.fw36 #fwVip .vp-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
  min-height: 46px;
  padding: 12px 19px;
  border-radius: 11px;
  background: #6b4eff;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

html body.fw36 #fwVip .vp-primary:hover {
  background: #7a5cff;
}

html body.fw36 #fwVip .vp-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 5px 0;
  background: none;
  color: #bca7ef;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

#fwVip .vp-primary > span,
#fwVip .vp-text-button > span[aria-hidden],
#fwVip .vp-primary > .fw-arrow-ne,
#fwVip .vp-text-button > .fw-arrow-ne {
  flex: none;
  font-size: 17px;
}

#fwVip .vp-primary > .fw-arrow-ne,
#fwVip .vp-text-button > .fw-arrow-ne,
#fwVip .vp-faq-grid > button > .fw-arrow-ne {
  width: 16px;
  height: 16px;
}

/* ───────────── Первый баннер ───────────── */

#fwVip .vp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 550px;
  border-radius: 20px;
  background: #141414;
}

#fwVip .vp-art {
  position: absolute;
  z-index: -2;
  inset: 0;
}

#fwVip .vp-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

#fwVip .vp-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #14141400 20%, #14141422 43%, #141414db 64%, #141414 100%);
}

#fwVip .vp-hero-copy {
  position: absolute;
  right: 22px;
  bottom: 25px;
  left: 22px;
  max-width: 470px;
}

#fwVip .vp-hero-copy h1 {
  margin: 13px 0 16px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.05px;
  color: #fff;
}

#fwVip .vp-hero-copy h1 em {
  font: inherit;
  font-style: normal;
  color: #fff;
}

#fwVip .vp-hero-copy > p:not(.vp-kicker) {
  max-width: 280px;
  color: #d0cad8;
  font-size: 14px;
  line-height: 1.65;
}

#fwVip .vp-hero-copy > .vp-primary {
  margin-top: 22px;
}

/* ───────────── Личный статус ───────────── */

#fwVip .vp-status {
  display: grid;
  margin-top: 17px;
  overflow: hidden;
  border-radius: 18px;
  background: #242424;
}

#fwVip .vp-membership {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 157px;
  padding: 23px;
  background: linear-gradient(115deg, #2c2b30, #222225);
}

#fwVip .vp-membership h2 {
  margin: 10px 0 5px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.7px;
}

#fwVip .vp-status-emblem {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 126px;
  height: 126px;
  object-fit: contain;
  filter: drop-shadow(0 5px 6px #0005);
}

#fwVip .vp-membership-label {
  position: absolute;
  bottom: 18px;
  left: 23px;
  font-size: 11px;
  color: #c3bacf;
}

#fwVip .vp-status-progress {
  padding: 22px 21px 0;
}

#fwVip .vp-next {
  margin: 8px 0 14px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.45px;
}

#fwVip .vp-next > span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #c3bacf;
}

#fwVip .vp-progress {
  overflow: hidden;
  height: 5px;
  border-radius: 4px;
  background: #403b48;
}

#fwVip .vp-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #6b4eff;
}

#fwVip .vp-turnover {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #b9aec8;
}

#fwVip .vp-turnover strong {
  font-size: 12px;
  font-weight: 600;
  color: #f3eff9;
}

#fwVip .vp-turnover strong > span {
  font-weight: 400;
  color: #a99db7;
}

#fwVip .vp-account-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px 21px 17px;
}

#fwVip .vp-account-perks > div > span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #bbb0c9;
}

#fwVip .vp-account-perks strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.4px;
  color: #f4f0fa;
}

html body.fw36 #fwVip .vp-account-perks > .vp-text-button {
  grid-column: 1 / -1;
  margin-top: 1px;
  padding-top: 15px;
  border-top: 1px solid #ffffff0a;
}

/* ───────────── Лента уровней ───────────── */

#fwVip .vp-levels {
  margin-top: 38px;
  min-width: 0;
}

#fwVip .vp-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-bottom: 8px;
}

#fwVip .vp-section-heading h2 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.7px;
}

#fwVip .vp-cards-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 18px;
}

#fwVip .vp-cards-toolbar > p {
  max-width: 470px;
  font-size: 14px;
  line-height: 1.6;
  color: #b7b2c2;
}

#fwVip .vp-cards-arrows {
  display: flex;
  flex: none;
  gap: 7px;
}

html body.fw36 #fwVip .vp-card-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #28272d;
  color: #ece6fa;
  font-size: 23px;
}

html body.fw36 #fwVip .vp-card-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

#fwVip .vp-card-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% - 26px);
  align-items: stretch;
  gap: 14px;
  padding: 7px 0 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

#fwVip .vp-card-track::-webkit-scrollbar {
  display: none;
}

#fwVip .vp-card-track:focus-visible {
  outline: 2px solid #ad98ff;
  outline-offset: 4px;
  border-radius: 20px;
}

#fwVip .vp-rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-width: 0;
  padding: 23px 22px 20px;
  overflow: hidden;
  border-radius: 22px;
  background: #242427;
  scroll-snap-align: center;
}

#fwVip .vp-rank-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 230px;
  pointer-events: none;
  background: radial-gradient(ellipse at 92% 6%, #5961782e, transparent 67%), linear-gradient(130deg, #ffffff05, transparent 60%);
}

#fwVip .vp-rank-own {
  background: #28252f;
  box-shadow: inset 0 3px #9278ff;
}

#fwVip .vp-rank-own::before {
  background: radial-gradient(ellipse at 90% 0, #9271e432, transparent 70%);
}

#fwVip .vp-rank-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 90px;
  padding-right: 95px;
}

#fwVip .vp-rank-identity {
  position: relative;
  z-index: 1;
  min-width: 0;
}

#fwVip .vp-rank-identity > p {
  margin: 0 0 9px;
  min-height: 14px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.065em;
  color: #aaa4b7;
}

#fwVip .vp-rank-own .vp-rank-identity > p {
  color: #c0aaff;
}

#fwVip .vp-rank-identity > h3 {
  font-size: 29px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.6px;
  overflow-wrap: anywhere;
}

#fwVip .vp-rank-emblem {
  position: absolute;
  top: -10px;
  right: -3px;
  width: 107px;
  height: 107px;
  object-fit: contain;
  filter: drop-shadow(0 7px 7px #0005);
}

html body.fw36 #fwVip .vp-rank-info {
  position: absolute;
  z-index: 2;
  top: -14px;
  right: -11px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  color: #c0b4d3;
  font-size: 14px;
  font-weight: 700;
  transform: translate(7px, -2px);
}

#fwVip .vp-rank-info::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff09;
}

#fwVip .vp-rank-cashback {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 5px 0 17px;
}

#fwVip .vp-rank-cashback > strong {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #fff;
}

#fwVip .vp-rank-cashback > span {
  font-size: 13px;
  line-height: 1.5;
  color: #c3bdce;
}

#fwVip .vp-rank-threshold {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
  padding: 13px 0 18px;
  border-bottom: 1px solid #ffffff10;
}

#fwVip .vp-rank-threshold > span {
  max-width: 50%;
  font-size: 11px;
  line-height: 1.5;
  color: #a29aaa;
}

#fwVip .vp-rank-threshold > strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
  color: #ddd6e9;
  overflow-wrap: anywhere;
}

#fwVip .vp-rank-benefits {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

#fwVip .vp-card-benefit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(74px, 0.7fr);
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 11px 0;
}

#fwVip .vp-card-benefit > span {
  font-size: 13px;
  line-height: 1.5;
  color: #bcb6c8;
  overflow-wrap: anywhere;
}

#fwVip .vp-card-benefit > div {
  min-width: 0;
  text-align: right;
}

#fwVip .vp-card-benefit strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #eee8f8;
  overflow-wrap: anywhere;
}

#fwVip .vp-card-benefit small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.5;
  color: #9990a8;
  overflow-wrap: anywhere;
}

#fwVip .vp-rank-footer {
  margin: auto 0 0;
  padding: 2px 0 0;
  width: 100%;
}

html body.fw36 #fwVip .vp-rank-footer > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 12px 15px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
}

html body.fw36 #fwVip .vp-rank-terms {
  background: #ffffff07;
  color: #d0c3e7;
}

#fwVip .vp-rank-terms > span {
  font-size: 17px;
}

#fwVip .vp-cards-position {
  position: relative;
  overflow: hidden;
  height: 3px;
  max-width: 126px;
  margin: 5px auto 0;
  border-radius: 3px;
  background: #35313d;
}

#fwVip .vp-cards-position > span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #9a80f2;
  will-change: transform;
}

#fwVip .vp-cards-hint {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  color: #958ba4;
}

#fwVipLevelsTitle {
  scroll-margin-top: 25px;
}

/* ───────────── FORMA WALLET и правила ───────────── */

#fwVip .vp-program {
  display: grid;
  gap: 17px;
  margin-top: 38px;
}

#fwVip .vp-fw,
#fwVip .vp-rules {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 25px 21px;
  border-radius: 18px;
  background: #242424;
}

/* FW — единственный декор панели кошелька: правая половина W уходит за край. */
#fwVip .vp-fw-mark {
  position: absolute;
  z-index: -1;
  top: 4px;
  right: 0;
  font-size: 160px;
  font-weight: 800;
  letter-spacing: -12px;
  line-height: 1;
  color: #ffffff0a;
  pointer-events: none;
  transform: translateX(32%);
}

#fwVip .vp-fw-copy {
  position: relative;
  max-width: 100%;
}

#fwVip .vp-fw h2,
#fwVip .vp-rules h2 {
  margin: 12px 0 14px;
  max-width: 330px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.7px;
}

#fwVip .vp-fw-copy > p:not(.vp-kicker) {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.7;
  color: #bfb2cc;
}

#fwVip .vp-fw-formula {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
  margin: 23px 0 12px;
  font-size: 12px;
  color: #baaacb;
}

#fwVip .vp-fw-formula > strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #f4edff;
}

#fwVip .vp-fw-formula > [aria-hidden] {
  font-size: 17px;
}

#fwVip .vp-rules {
  background: #212123;
}

#fwVip .vp-rules ol {
  display: grid;
  gap: 23px;
  margin: 23px 0 16px;
  padding: 0;
  list-style: none;
}

#fwVip .vp-rules li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

#fwVip .vp-rules li > span {
  flex: none;
  padding-top: 3px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  color: #ab90de;
}

#fwVip .vp-rules h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

#fwVip .vp-rules li p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.7;
  color: #b6a9c2;
}

/* ───────────── FAQ и состояния загрузки ───────────── */

#fwVip .vp-faq {
  margin-top: 38px;
}

#fwVip .vp-faq-grid {
  display: grid;
  gap: 9px;
}

html body.fw36 #fwVip .vp-faq-grid > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 65px;
  padding: 19px 17px;
  border-radius: 12px;
  background: #242424;
  color: #eee7f6;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

#fwVip .vp-faq-grid > button > span:last-child {
  flex: none;
  color: #baa0e9;
}

html body.fw36 #fwVip .vp-faq-grid > button:hover {
  background: #302938;
}

#fwVip .vp-heading h1 {
  margin-top: 10px;
  font-size: 32px;
  line-height: 1.2;
}

#fwVip .vp-loading,
#fwVip .vp-error {
  margin-top: 22px;
  padding: 26px 21px;
  border-radius: 17px;
  background: #242424;
  color: #bfb0cf;
  font-size: 15px;
  line-height: 1.7;
}

#fwVip .vp-error h2 {
  font-size: 22px;
  color: #f1e9fa;
}

#fwVip .vp-error p {
  margin: 14px 0 20px;
}

/* ───────────── Белые модалки ───────────── */

html body.fw36 .fw-vip-shade {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 7, 12, 0.72);
}

html body.fw36 .fw-vip-shade[hidden] {
  display: none;
}

html body.fw36 .fw-vip-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(550px, 100%);
  max-height: calc(100dvh - 48px);
  padding: 28px 25px;
  overflow: hidden;
  overscroll-behavior: contain;
  border-radius: 24px;
  background: #fff;
  color: #292330;
  font-family: ManropeFW, Manrope, sans-serif;
}

html body.fw36 .fw-vip-dialog [data-fw-vip-body] {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 3px;
}

html body.fw36 .fw-vip-dialog h2 {
  flex: none;
  margin: 0 42px 19px 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.65px;
  color: #292330;
}

html body.fw36 .fw-vip-x {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #f2eff6;
  color: #62566e;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

html body.fw36 .fw-vip-x:hover {
  background: #e9e4f1;
}

html body.fw36 .fw-vip-x:focus-visible,
html body.fw36 #fwVip button:focus-visible {
  outline: 2px solid #ac94f0;
  outline-offset: 3px;
}

html body.fw36 .fw-vip-dialog .vp-sheet-description {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.75;
  color: #514759;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

html body.fw36 .fw-vip-dialog .vp-sheet-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

html body.fw36 .fw-vip-dialog .vp-sheet-rules > div {
  min-width: 0;
  padding: 15px;
  border-radius: 12px;
  background: #f3f0f7;
}

html body.fw36 .fw-vip-dialog .vp-sheet-rules dt {
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.5;
  color: #6d617b;
}

html body.fw36 .fw-vip-dialog .vp-sheet-rules dd {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #30253b;
  overflow-wrap: anywhere;
}

html body.fw36 .fw-vip-dialog .vp-sheet-note {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #71617c;
}

html body.fw36 .fw-vip-dialog .vp-sheet-benefits {
  margin: 0 0 22px;
}

html body.fw36 .fw-vip-dialog .vp-sheet-benefits > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(80px, 0.7fr);
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #eee9f3;
}

html body.fw36 .fw-vip-dialog .vp-sheet-benefits dt {
  font-size: 15px;
  line-height: 1.55;
  color: #65596f;
}

html body.fw36 .fw-vip-dialog .vp-sheet-benefits dd {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
  color: #30253c;
  overflow-wrap: anywhere;
}

html body.fw36 .fw-vip-dialog .vp-sheet-benefits dd > small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #80718f;
}

html body.fw36 .fw-vip-dialog .vp-sheet-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  padding: 12px 18px;
  border: 0;
  border-radius: 11px;
  background: #6b4eff;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

html body.fw36 .fw-vip-dialog .vp-sheet-action:hover {
  background: #7a5cff;
}

/* ───────────── Узкие экраны ───────────── */

@media (max-width: 350px) {
  #fwVip .vp-hero {
    min-height: 530px;
  }

  #fwVip .vp-hero-copy {
    right: 19px;
    bottom: 23px;
    left: 19px;
  }

  #fwVip .vp-hero-copy h1 {
    font-size: 30px;
  }

  #fwVip .vp-status-emblem {
    top: 12px;
    right: 5px;
    width: 112px;
    height: 112px;
  }

  #fwVip .vp-section-heading h2 {
    font-size: 24px;
  }

  #fwVip .vp-cards-toolbar > p {
    font-size: 12px;
  }

  #fwVip .vp-rank-card {
    padding: 20px 18px 18px;
    border-radius: 19px;
  }

  #fwVip .vp-rank-head {
    min-height: 94px;
    padding-right: 87px;
  }

  #fwVip .vp-rank-emblem {
    width: 98px;
    height: 98px;
  }

  #fwVip .vp-rank-identity > h3 {
    font-size: 26px;
  }

  #fwVip .vp-rank-identity > p {
    font-size: 9px;
  }

  #fwVip .vp-rank-cashback > strong {
    font-size: 50px;
  }

  #fwVip .vp-card-benefit {
    grid-template-columns: minmax(0, 1fr) minmax(65px, 0.7fr);
    gap: 8px;
  }

  #fwVip .vp-card-benefit > span {
    font-size: 12px;
  }

  #fwVip .vp-card-benefit strong {
    font-size: 14px;
  }

  #fwVip .vp-fw-formula {
    gap: 7px;
  }

  #fwVip .vp-fw-formula > strong {
    font-size: 19px;
  }

  #fwVip .vp-fw-mark {
    top: 7px;
    font-size: 145px;
    letter-spacing: -11px;
  }
}

@media (max-width: 599px) {
  html body.fw36 .fw-vip-shade {
    place-items: end center;
    padding: 12px 10px max(10px, env(safe-area-inset-bottom));
  }

  html body.fw36 .fw-vip-dialog {
    max-height: calc(100dvh - 24px);
    padding: 25px 20px max(21px, env(safe-area-inset-bottom));
    border-radius: 22px;
  }

  html body.fw36 .fw-vip-dialog h2 {
    margin-right: 42px;
    font-size: 24px;
  }

  html body.fw36 .fw-vip-dialog .vp-sheet-rules {
    grid-template-columns: 1fr;
  }

  html body.fw36 .fw-vip-dialog .vp-sheet-rules > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }

  html body.fw36 .fw-vip-dialog .vp-sheet-rules dt {
    margin: 0;
    font-size: 14px;
  }

  html body.fw36 .fw-vip-dialog .vp-sheet-rules dd {
    font-size: 16px;
    text-align: right;
  }
}

/* ───────────── Планшет ───────────── */

@media (min-width: 700px) {
  html body.fw36 #fwVip {
    padding-top: 14px;
  }

  #fwVip .vp-hero {
    min-height: 435px;
  }

  #fwVip .vp-art img {
    object-position: 78% 0%;
  }

  #fwVip .vp-hero::after {
    background: linear-gradient(90deg, #141414eb 0%, #14141488 38%, #14141400 75%);
  }

  #fwVip .vp-hero-copy {
    top: 60px;
    right: auto;
    bottom: auto;
    left: 30px;
    width: 340px;
    max-width: 45%;
  }

  #fwVip .vp-hero-copy h1 {
    font-size: 39px;
  }

  #fwVip .vp-status {
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
    margin-top: 20px;
  }

  #fwVip .vp-membership {
    grid-row: span 2;
    min-height: 240px;
    padding: 29px 25px;
  }

  #fwVip .vp-membership h2 {
    font-size: 35px;
  }

  #fwVip .vp-status-emblem {
    top: 54px;
    right: 16px;
    width: 110px;
    height: 110px;
  }

  #fwVip .vp-membership-label {
    bottom: 27px;
    left: 25px;
  }

  #fwVip .vp-status-progress {
    padding: 22px 23px 0;
  }

  #fwVip .vp-account-perks {
    gap: 12px;
    padding: 20px 23px 13px;
  }

  #fwVip .vp-account-perks strong {
    font-size: 23px;
  }

  html body.fw36 #fwVip .vp-account-perks > .vp-text-button {
    min-height: 36px;
    padding-top: 9px;
    font-size: 12px;
  }

  #fwVip .vp-levels {
    margin-top: 43px;
  }

  #fwVip .vp-section-heading h2 {
    font-size: 31px;
  }

  #fwVip .vp-cards-toolbar > p {
    font-size: 15px;
  }

  #fwVip .vp-card-track {
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
  }

  #fwVip .vp-rank-card {
    padding: 26px 25px 23px;
  }

  #fwVip .vp-rank-head {
    min-height: 98px;
    padding-right: 105px;
  }

  #fwVip .vp-rank-identity > h3 {
    font-size: 32px;
  }

  #fwVip .vp-rank-emblem {
    width: 118px;
    height: 118px;
  }

  #fwVip .vp-rank-cashback > strong {
    font-size: 61px;
  }

  #fwVip .vp-card-benefit {
    min-height: 51px;
  }

  #fwVip .vp-card-benefit > span {
    font-size: 14px;
  }

  #fwVip .vp-card-benefit strong {
    font-size: 16px;
  }

  #fwVip .vp-card-benefit small {
    font-size: 11px;
  }

  #fwVip .vp-rank-threshold > span {
    font-size: 12px;
  }

  #fwVip .vp-rank-threshold > strong {
    font-size: 13px;
  }

  #fwVip .vp-program {
    grid-template-columns: 1fr 1fr;
  }

  #fwVip .vp-fw,
  #fwVip .vp-rules {
    padding: 28px 25px;
  }

  #fwVip .vp-fw h2,
  #fwVip .vp-rules h2 {
    font-size: 28px;
  }

  #fwVip .vp-fw-formula > strong {
    font-size: 23px;
  }

  #fwVip .vp-fw-mark {
    top: 1px;
    font-size: 185px;
    letter-spacing: -14px;
  }

  #fwVip .vp-faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  html body.fw36 #fwVip .vp-faq-grid > button {
    min-height: 77px;
    padding: 22px;
    font-size: 15px;
  }
}

/* ───────────── Широкий экран ───────────── */

@media (min-width: 1100px) {
  #fwVip .vp-card-track {
    grid-auto-columns: calc((100% - 40px) / 3);
    gap: 20px;
  }

  #fwVip .vp-cards-toolbar {
    margin: 10px 0 20px;
  }

  #fwVip .vp-rank-card {
    padding: 28px 27px 24px;
  }

  #fwVip .vp-rank-cashback {
    margin-bottom: 22px;
  }

  #fwVip .vp-rank-cashback > strong {
    font-size: 64px;
  }

  #fwVip .vp-card-benefit {
    min-height: 49px;
    padding-block: 10px;
  }

  #fwVip .vp-rank-threshold {
    padding-bottom: 17px;
  }

  html body.fw36 #fwVip .vp-rank-footer > button {
    min-height: 47px;
  }

  #fwVip .vp-rank-identity > p {
    font-size: 11px;
  }

  #fwVip .vp-cards-hint {
    font-size: 12px;
  }

  #fwVip .vp-status-emblem {
    width: 115px;
    height: 115px;
    top: 24px;
    right: 17px;
  }

  #fwVipLevelsTitle {
    scroll-margin-top: 112px;
  }
}

@media (min-width: 1200px) {
  html body.fw36 #fwVip {
    padding: 16px 0 45px;
  }

  #fwVip .vp-hero {
    min-height: 465px;
    border-radius: 22px;
  }

  #fwVip .vp-hero-copy {
    top: 53px;
    left: 42px;
    width: 510px;
    max-width: 43%;
  }

  #fwVip .vp-hero-copy h1 {
    margin: 16px 0 19px;
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: -1.6px;
  }

  #fwVip .vp-hero-copy > p:not(.vp-kicker) {
    max-width: 380px;
    font-size: 16px;
  }

  #fwVip .vp-hero-copy > .vp-primary {
    margin-top: 25px;
  }

  #fwVip .vp-hero::after {
    background: linear-gradient(90deg, #141414e8 0%, #14141488 32%, #14141400 58%);
  }

  #fwVip .vp-status {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.15fr) minmax(250px, 0.85fr);
    margin-top: 23px;
  }

  #fwVip .vp-membership {
    grid-row: auto;
    min-height: 200px;
    padding: 27px 29px;
  }

  #fwVip .vp-membership h2 {
    font-size: 35px;
  }

  #fwVip .vp-membership-label {
    bottom: 25px;
    left: 29px;
  }

  #fwVip .vp-status-progress {
    padding: 33px 29px;
  }

  #fwVip .vp-next {
    margin-top: 12px;
    font-size: 23px;
  }

  #fwVip .vp-account-perks {
    gap: 18px 14px;
    padding: 37px 28px 20px;
    border-left: 1px solid #ffffff08;
  }

  #fwVip .vp-account-perks strong {
    font-size: 25px;
  }

  html body.fw36 #fwVip .vp-account-perks > .vp-text-button {
    min-height: 38px;
    font-size: 13px;
  }

  #fwVip .vp-fw,
  #fwVip .vp-rules {
    padding: 32px;
  }

  #fwVip .vp-fw h2,
  #fwVip .vp-rules h2 {
    max-width: 380px;
    font-size: 30px;
  }

  #fwVip .vp-fw-copy > p:not(.vp-kicker) {
    max-width: 330px;
    font-size: 15px;
  }

  #fwVip .vp-fw-formula {
    gap: 10px;
    margin-top: 28px;
  }

  #fwVip .vp-fw-formula > strong {
    font-size: 26px;
  }

  #fwVip .vp-fw-mark {
    top: -4px;
    font-size: 220px;
    letter-spacing: -17px;
  }

  #fwVip .vp-rules ol {
    gap: 25px;
    margin-top: 25px;
  }

  #fwVip .vp-rules li p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #fwVip .vp-cards-position > span {
    will-change: auto;
  }

  html body.fw36 #fwVip button {
    transition: none !important;
  }

  #fwVip .vp-card-track {
    scroll-behavior: auto;
  }
}
