/* Account prices use the same promotion as checkout, without delayed scripts. */
.account-plan:not(.trial)::before {
  content: "−20%";
  position: absolute;
  top: 20px;
  right: 24px;
  color: #e08cff;
  font-size: 12px;
  font-weight: 800;
}
.account-plan.featured > span { top: 42px; }
.account-plan > strong { white-space: nowrap; }
.account-plan > strong::before {
  content: "\a0";
  display: block;
  margin-bottom: 6px;
  color: #978b9d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-decoration: line-through;
  white-space: nowrap;
}
.account-plan:has(a[href$="plan=7"]) > strong::before { content: "186,25\a0₽"; }
.account-plan:has(a[href$="plan=1"]) > strong::before { content: "311,25\a0₽"; }
.account-plan:has(a[href$="plan=3"]) > strong::before { content: "748,75\a0₽"; }
.account-plan:has(a[href$="plan=6"]) > strong::before { content: "1 248,75\a0₽"; }
.account-plan:has(a[href$="plan=12"]) > strong::before { content: "2 235\a0₽"; }
.account-plan:has(a[href$="plan=1"]) > p { visibility: hidden; }
.account-plan:has(a[href$="plan=1"])::after {
  content: "PREMIUM";
  position: absolute;
  top: 18px;
  left: 24px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #63d8ff;
  color: #03131c;
  font-size: 11px;
  line-height: 16px;
  font-weight: 800;
}

/* Synchronous presentation for the currently deployed checkout markup. */
.checkout-card:has(.plan-list label > strong)::before {
  content: "ОСЕННЯЯ АКЦИЯ · −20%\A Скидка на тарифы от 3 месяцев";
  display: block;
  padding: 16px 18px;
  white-space: pre-line;
  line-height: 1.8;
  color: #f0a6ff;
  font-size: 12px;
  background: linear-gradient(90deg,#311139,#102833);
  border-bottom: 1px solid #403849;
}
.checkout-card:has(.plan-list label > strong) .fx-autumn-banner,
.checkout-card:has(.plan-list label > strong) .fx-plan-badges,
.checkout-card:has(.plan-list label > strong) .fx-old-price,
.plan-list label:not(.trial-option):has(> strong) > em {
  display: none !important;
}
.plan-list label:has(> strong) {
  gap: 12px;
  padding-top: 30px;
}
.plan-list label > strong {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 9px;
  white-space: nowrap;
  transform: none !important;
}
.plan-list label > strong::before {
  color: #978b9d;
  font-size: 11px;
  font-weight: 400;
  text-decoration: line-through;
  white-space: nowrap;
}
.plan-list label:has(input[value="7"]) > strong::before { content: "186,25\a0₽"; }
.plan-list label:has(input[value="1"]) > strong::before { content: "311,25\a0₽"; }
.plan-list label:has(input[value="3"]) > strong::before { content: "748,75\a0₽"; }
.plan-list label:has(input[value="6"]) > strong::before { content: "1\a0 248,75\a0₽"; }
.plan-list label:has(input[value="12"]) > strong::before { content: "2\a0 235\a0₽"; }
.plan-list label:not(.trial-option):has(> strong)::before {
  content: "−20%";
  position: absolute;
  top: 9px;
  right: 10px;
  color: #e08cff;
  font-size: 10px;
  font-weight: 800;
}
.plan-list label:has(input[value="1"]):has(> strong)::after {
  content: "PREMIUM";
  position: absolute;
  top: 7px;
  left: 12px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #63d8ff;
  color: #03131c;
  font-size: 9px;
  font-weight: 800;
}
.plan-list label:has(input[value="12"]):has(> strong)::after {
  content: "ВЫГОДНО";
  position: absolute;
  top: 9px;
  left: 12px;
  color: #e08cff;
  font-size: 9px;
  font-weight: 800;
}

/* Shared promotion for all deployed pricing layouts. */
.account-plan,.plan-list label{position:relative}
.account-plans::before{content:"ОСЕННЯЯ АКЦИЯ · −20% на тарифы от 3 месяцев";grid-column:1/-1;color:#ffc482;padding:14px 18px;border:1px solid #7a4b2b;background:#24150d}
.pricing-options .price-card:has(a[href*="plan=1"]) .popular{font-size:0!important;background:#63d8ff!important;color:#03131c!important;display:flex!important}
.pricing-options .price-card:has(a[href*="plan=1"]) .popular::after{content:"PREMIUM";font-size:11px;font-weight:800;letter-spacing:.08em}
.pricing-options .price-card:has(a[href*="plan=1"]) .discount-badge{font-size:0!important;display:block!important;position:static!important;margin:8px 0;color:#ffc482}
.pricing-options .price-card:has(a[href*="plan=1"]) .discount-badge::after{content:"ОСЕННЯЯ АКЦИЯ −20%";font-size:11px}
.pricing-options .price-card:has(a[href*="plan=1"]):not(:has(.discount-badge)) .price-total::after{content:" · СКИДКА −20%";color:#ffc482;font-size:11px}
.pricing-options .price-card:has(a[href*="plan=1"]) .price{position:relative;padding-top:22px}
.pricing-options .price-card:has(a[href*="plan=1"]) .price::before{content:"311,25 ₽";position:absolute;top:0;left:0;font-size:14px;font-weight:400;line-height:20px;color:#a99dac;text-decoration:line-through;white-space:nowrap}
.plan-price,.order-price{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.plan-price del,.plan-price strong,.order-price del,.order-price b{white-space:nowrap}
.premium-plan-badge{background:#63d8ff!important;color:#03131c!important;border-radius:99px;padding:3px 8px}
.autumn-badge{color:#ffc482!important}
@media(max-width:600px){.plan-list label>strong{flex-wrap:wrap;max-width:48%}.account-plan>strong{font-size:28px}}
/* Names shared by public pricing, checkout and account cards. */
:is(.plan,.account-plan):has(a[href$="plan=7"]),a.plan[href$="plan=7"],.plan-list label:has(input[value="7"]){--tier-name:"STANDARD"}
:is(.plan,.account-plan):has(a[href$="plan=1"]),a.plan[href$="plan=1"],.plan-list label:has(input[value="1"]){--tier-name:"PREMIUM"}
:is(.plan,.account-plan):has(a[href$="plan=3"]),a.plan[href$="plan=3"],.plan-list label:has(input[value="3"]){--tier-name:"VIP"}
:is(.plan,.account-plan):has(a[href$="plan=6"]),a.plan[href$="plan=6"],.plan-list label:has(input[value="6"]){--tier-name:"OWNER"}
:is(.plan,.account-plan):has(a[href$="plan=12"]),a.plan[href$="plan=12"],.plan-list label:has(input[value="12"]){--tier-name:"BUSINESS"}
a.plan:not(.trial),.account-plan:not(.trial),.plan-list label:not(.trial-option){position:relative}
a.plan:not(.trial)::after,.account-plan:not(.trial)::after,.plan-list label:not(.trial-option)::after{content:var(--tier-name)!important;position:absolute;top:10px!important;left:14px!important;right:auto;padding:5px 10px!important;background:#63d8ff!important;color:#03131c!important;border-radius:999px;font-size:10px!important;line-height:16px;font-weight:800;letter-spacing:.08em;white-space:nowrap}
a.plan:not(.trial){padding-top:49px}
a.plan:not(.trial)>.badge{display:none}
.account-plan:not(.trial)>p{visibility:hidden}
.account-plan.featured>span{display:none}
.plan-list label:not(.trial-option){padding-top:42px!important}
.plan-list label .premium-plan-badge{display:none!important}
.plan-list label:has(input[value="12"]) .plan-badges>em:not(.autumn-badge){display:none!important}
/* Tier colors shared across the public picker, account and checkout. */
.account-plan:has(a[href$="plan=7"])::after,a.plan[href$="plan=7"]::after,.plan-list label:has(input[value="7"])::after{background:linear-gradient(135deg,#f0f3f7,#aab4c2)!important;color:#17202c!important;box-shadow:0 0 16px #c0cad326}
.account-plan:has(a[href$="plan=3"])::after,a.plan[href$="plan=3"]::after,.plan-list label:has(input[value="3"])::after{background:linear-gradient(135deg,#92efb4,#35ca77)!important;color:#062b17!important;box-shadow:0 0 16px #35ca7733}
.account-plan:has(a[href$="plan=6"])::after,a.plan[href$="plan=6"]::after,.plan-list label:has(input[value="6"])::after{background:linear-gradient(135deg,#ff777d,#df303f)!important;color:#210308!important;box-shadow:0 0 16px #df303f33}
.account-plan:has(a[href$="plan=12"])::after,a.plan[href$="plan=12"]::after,.plan-list label:has(input[value="12"])::after{background:linear-gradient(135deg,#ffe69a,#d6a52d)!important;color:#302006!important;box-shadow:0 0 16px #d6a52d40}

/* Weekly price is 199 RUB without a stale comparative price. */
.account-plan:has(a[href$="plan=7"])::before,.account-plan:has(a[href$="plan=7"]) > strong::before,.plan-list label:has(input[value="7"]) > strong::before,.plan-list label:has(input[value="7"])::before{content:none!important;display:none!important}

/* Month is a fixed 299 RUB price. */
.account-plan:has(a[href$="plan=1"])::before,.account-plan:has(a[href$="plan=1"]) > strong::before,.plan-list label:has(input[value="1"]) > strong::before,.plan-list label:has(input[value="1"])::before,.pricing-options .price-card:has(a[href$="plan=1"]) .price::before,.pricing-options .price-card:has(a[href$="plan=1"]) .discount-badge{content:none!important;display:none!important}
.pricing-options .price-card:has(a[href$="plan=1"]) .price-total::after{content:none!important}

/* Daily tier badge aligned with STANDARD. */
a.plan.trial{padding-top:49px}
a.plan.trial>.badge{top:10px;left:14px;right:auto;padding:5px 10px;font-size:10px;line-height:16px;font-weight:800;letter-spacing:.08em;text-transform:none}

/* Leave space for the arrow below full plan benefits. */
a.plan .desc{line-height:1.5;padding-right:22px}a.plan{padding-bottom:35px}

/* Structured benefits with a shared baseline across tariff cards. */
a.plan{padding-bottom:42px}
a.plan>.price,a.plan>.sale-prices{margin-top:0;min-height:44px}
a.plan>.name{margin-bottom:18px}
a.plan>.plan-monthly{margin:6px 0 0;min-height:20px;color:#d3c5db}
a.plan:not(:has(.plan-monthly))>.plan-benefits{margin-top:26px}
.plan-benefits{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:9px;color:#c0b3c7;font-size:13px;line-height:1.45}
.plan-benefits li{position:relative;padding-left:17px}
.plan-benefits li::before{content:"–";position:absolute;left:0;top:0;color:#cf32ff;font-weight:800}
.plan.trial .plan-benefits li::before{color:#72e0ba}

/* Account daily card follows the same tier layout as STANDARD. */
.account-plan.trial>span{display:none!important}
.account-plan.trial>p{visibility:hidden}
.account-plan.trial>strong::before{content:none!important;display:none!important}
.account-plan.trial::after{content:"Test";position:absolute;top:10px;left:14px;right:auto;padding:5px 10px;background:#72e0ba;color:#07110d;border-radius:999px;font-size:10px;line-height:16px;font-weight:800;letter-spacing:.08em}
.account-plan ul{list-style:none;padding-left:0}
.account-plan ul li{position:relative;padding-left:17px}
.account-plan ul li::before{content:"–";position:absolute;left:0;color:#cf32ff}
.account-plan.trial ul li::before{color:#72e0ba}

/* Center main navigation against the full header, independently of side actions. */
@media(min-width:1100px){.topbar>nav,.topbar.fx-has-telegram>nav{position:absolute;left:50%;transform:translateX(-50%);margin:0;justify-content:center}}
