/* ux-unify.css — Phase 5/UX. Loaded LAST on every page.
   1) same scrollbar gutter everywhere (no horizontal jump between pages)
   2) one header geometry: full-width bar, 1320px container, 22px side padding, 68px row (+1px border)
   3) soft cross-document page transition (View Transitions) with a static header
   4) shop: even rhythm between catalog/generator card and the "Contact us" block */

html { scrollbar-gutter: stable; }
html.support-page { scrollbar-width: auto; } /* same 15px track as every other page */
@media (hover: hover) and (pointer: fine) { html { overflow-y: scroll; } }

/* ---------- 2. unified header geometry ---------- */
:root { --sf-hdr-row: 68px; --sf-hdr-pad: max(22px, calc((100% - 1320px) / 2 + 22px)); }

/* account (+ shop top row reuses acc-topbar-* parts) */
.acc-topbar-inner { min-height: var(--sf-hdr-row); box-sizing: border-box; padding-block: 12px; }

/* shop: header block starts at the same place as the account bar */
.shop-page .shop-header-premium { padding: 0 !important; }
.shop-page .shop-header-shell { margin: 0 auto !important; padding: 12px 22px 14px !important; }
.shop-page .shop-header-bar { padding: 0 !important; }
.shop-page .shop-header-top { min-height: 44px; }

/* legal: full-width bar, content aligned to the same 1320 container */
.legal-topbar {
  max-width: none !important; width: 100%; box-sizing: border-box;
  min-height: calc(var(--sf-hdr-row) + 1px);
  padding: 12px var(--sf-hdr-pad) !important;
}

/* support */
.support-header-inner {
  max-width: none !important; box-sizing: border-box;
  min-height: var(--sf-hdr-row);
  padding: 9px var(--sf-hdr-pad) !important;
}

/* oxygen */
.oxy-header__inner.oxy-shell {
  width: auto !important; margin-inline: 0 !important; box-sizing: border-box;
  min-height: var(--sf-hdr-row);
  padding: 8px var(--sf-hdr-pad) !important;
}

@media (max-width: 720px) {
  :root { --sf-hdr-pad: 12px; }
  .shop-page .shop-header-shell { padding: 9px 12px 10px !important; }
  .shop-page .shop-header-top { row-gap: 10px; }
  /* the 2-row shop header was ~200px sticky = a quarter of the phone screen, covering content */
  .shop-page .shop-header-premium { position: relative !important; }
}

/* ---------- 3. page transitions ---------- */
@view-transition { navigation: auto; }
.shop-page .shop-header-premium, .acc-topbar, .legal-topbar, .support-header, .oxy-header { view-transition-name: sf-chrome; }
::view-transition-group(sf-chrome) { animation-duration: 0s; }
::view-transition-old(sf-chrome) { display: none; }
::view-transition-new(sf-chrome) { animation: none; }
::view-transition-old(root) { animation: sf-vt-out 120ms ease both; }
::view-transition-new(root) { animation: sf-vt-in 180ms ease both; }
@keyframes sf-vt-out { to { opacity: 0; } }
@keyframes sf-vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- 4. shop: catalog -> "Contact us" rhythm ---------- */
.shop-page .shop-unified-wrap { padding-bottom: 0 !important; }
.shop-page .shop-footer { margin-top: 40px; }
@media (max-width: 640px) { .shop-page .shop-footer { margin-top: 28px; } }
.shop-page .shop-footer-inner { contain: layout style; }

/* ---------- 5. shop footer: Telegram handle was cut to "@SmartFix_S…" on phones ---------- */
@media (max-width: 640px) {
  .shop-page .shop-footer-card--featured .shop-footer-card-text { flex: 1 1 calc(100% - 70px); min-width: 0; }
  .shop-page .shop-footer-card--featured .shop-footer-card-value { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; font-size: 16px; }
  .shop-page .shop-footer-card--featured .shop-footer-card-cta { flex: 1 0 100%; text-align: center; justify-content: center; }
  .shop-page .shop-footer-card--featured .shop-footer-card-arrow { display: none; }
}

/* ---------- 6. consent checkbox (guest checkout / registration) ---------- */
.sf-consent { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 10px; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.78); cursor: pointer; position: relative; }
.sf-consent[hidden] { display: none; }
.sf-consent-chk { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.sf-consent-box { flex: 0 0 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(167,139,250,.55); background: rgba(0,0,0,.28); display: grid; place-items: center; transition: background .15s, border-color .15s, box-shadow .15s; margin-top: 1px; }
.sf-consent-box::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #0f0b18; border-bottom: 2px solid #0f0b18; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .15s; }
.sf-consent-chk:checked + .sf-consent-box { background: linear-gradient(135deg, #965eea, #a78bfa); border-color: transparent; }
.sf-consent-chk:checked + .sf-consent-box::after { transform: rotate(-45deg) scale(1); }
.sf-consent-chk:focus-visible + .sf-consent-box { box-shadow: 0 0 0 3px rgba(150,94,234,0.35); }
.sf-consent-text a { color: #b586fa; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.sf-consent.is-shake { animation: sf-shake .35s ease; }
@keyframes sf-shake { 20%,60% { transform: translateX(-4px); } 40%,80% { transform: translateX(4px); } }
body.sf-need-consent #btn-pay-sbp, body.sf-need-consent #btn-pay-usdt, body.sf-need-consent #shop-dhru-modal-pay .shop-dhru-pay { opacity: .45; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .sf-consent.is-shake { animation: none; } }

/* ---------- 7. /account sign-in form: options row, one eye icon, custom checkboxes ---------- */
.acc-auth-opts { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.shop-account-form .acc-check, .acc-auth-opts .acc-check { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 10px; width: auto; min-height: 32px; }
.acc-check input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; flex: 0 0 20px; width: 20px !important; height: 20px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; box-sizing: border-box; margin: 0;
  border-radius: 6px; border: 1.5px solid rgba(167, 139, 250, .55); background: rgba(0, 0, 0, .28) center / 12px 12px no-repeat;
  cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s; position: relative;
}
.acc-check input[type="checkbox"]:checked {
  border-color: transparent;
  background-color: #965eea;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3 4.9 9l4.9-5.6' fill='none' stroke='%230b0d18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(135deg, #965eea, #a78bfa);
  background-size: 12px 12px, 100% 100%;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.acc-check input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(150,94,234,0.35); }
.acc-check::before { content: none; }
/* single password toggle: hide-icon only when the field is revealed; no native browser reveal/clear button */
.acc-pass-toggle .acc-pass-ico-hide { display: none !important; }
.acc-pass-toggle.is-on .acc-pass-ico-hide { display: block !important; }
.acc-pass-toggle.is-on .acc-pass-ico-show { display: none !important; }
input[type="password"]::-ms-reveal, input[type="password"]::-ms-clear { display: none; }
input[type="password"]::-webkit-credentials-auto-fill-button { visibility: hidden; position: absolute; right: 0; }

@media (max-width: 720px) { .shop-account-form .acc-check, .acc-auth-opts .acc-check { min-height: 44px; } }
.acc-guest-restore { align-self: flex-start; background: none; border: 0; padding: 6px 0; margin: -2px 0 2px; font: inherit; font-size: 13px; font-weight: 600; color: #b586fa; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 32px; }
.acc-guest-restore[hidden] { display: none; }
@media (max-width: 720px) { .acc-guest-restore { min-height: 44px; } }

/* Phase 6 п.5: consent label inside the Telegram login block */
.acc-auth-tg .sf-consent { margin: 0 0 12px; }

/* Phase 7: unified SVG icon set (sprite in templates/_icons.html) */
.sf-i { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.14em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.sf-i.is-fill { fill: currentColor; }
.acc-empty-icon .sf-i { width: 1.9rem; height: 1.9rem; }
.acc-quick-icon .sf-i, .acc-stat-icon .sf-i { width: 1.25rem; height: 1.25rem; }
.acc-tg-logo .sf-i { width: 1.6rem; height: 1.6rem; }

/* Phase 7: CLS fix (/service mobile). While the catalog block is still loading, reserve the height it will
   occupy so the screenshots gallery below it (order:1 on mobile) does not jump when the purchase block renders. */
@media (max-width: 900px) {
  .shop-page .shop-master-content:has(> #shop-mode-loading:not([hidden])) { min-height: 1040px; }
}
/* Phase 7: root cause of the /service mobile CLS: `.shop-master{content-visibility:auto; contain-intrinsic-size:auto 220px}`
   (mobile perf pass) made the first render treat the master card as 220px tall and then expand it to ~1450px,
   shifting the footer. The card is above the fold, so skipping its rendering gives no benefit. */
.shop-page .shop-master { content-visibility: visible; contain-intrinsic-size: none; }

/* Phase 7: unified custom checkbox for the remaining native ones (checkout "use balance", FRP gate "remember").
   Progressive enhancement: browsers without `appearance:none` keep the native control. */
@supports ((-webkit-appearance: none) or (appearance: none)) {
  #chk-use-balance, #frp-gate-remember {
    -webkit-appearance: none; appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; padding: 0; box-sizing: border-box;
    border-radius: 6px; border: 1.5px solid rgba(167, 139, 250, .55); background: rgba(0, 0, 0, .28) center / 12px 12px no-repeat;
    cursor: pointer; vertical-align: middle; transition: background-color .15s, border-color .15s, box-shadow .15s;
  }
  #chk-use-balance:checked, #frp-gate-remember:checked {
    border-color: transparent; background-color: #965eea;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3 4.9 9l4.9-5.6' fill='none' stroke='%230b0d18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px 12px; background-position: center; background-repeat: no-repeat;
  }
  #chk-use-balance:focus-visible, #frp-gate-remember:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(150,94,234,0.35); }
  @media (max-width: 720px) { #chk-use-balance { width: 22px; height: 22px; flex-basis: 22px; } }
}

/* Phase 8 (LCP): the catalog wrapper faded in with `shop-fade-up .75s .15s both` (opacity:0 until the animation
   started/progressed), which delayed the first paint of the title/description (LCP element) by ~0.6-0.9 s.
   The text is server-rendered now, so show it immediately. Other fade-ups on the page are untouched. */
.shop-page .shop-unified-wrap.shop-catalog { animation: none; opacity: 1; transform: none; }

/* Phase 8: keyboard focus ring + touch targets for the custom dropdown options (sf-dd-kbd.js) */
.shop-dhru-dd-option:focus-visible, .shop-version-dd-option:focus-visible, .support-dd-option:focus-visible,
.shop-dhru-dd-btn:focus-visible, .shop-version-dd-trigger:focus-visible, .support-dd-trigger:focus-visible {
  outline: 2px solid rgba(150,94,234,0.75); outline-offset: -2px;
}
.shop-dhru-dd-btn, .shop-dhru-dd-option, .shop-version-dd-trigger, .shop-version-dd-option, .support-dd-trigger, .support-dd-option { touch-action: manipulation; }
@media (pointer: coarse), (max-width: 720px) {
  .shop-page .shop-dhru-dd-option, .shop-page .shop-version-dd-option, .support-dd-option { min-height: 44px; }
}
/* the category menu is portaled to <body>, so it is not under .shop-page's descendants in some states */
@media (pointer: coarse), (max-width: 720px) { .shop-dhru-dd-menu .shop-dhru-dd-option { min-height: 44px; } }

/* Phase 8: link / merge cards in the Telegram panel */
.acc-link-extra{display:grid;gap:14px;margin-top:14px}
.acc-link-card{border:1px solid rgba(172,160,202,0.18);border-radius:16px;padding:16px 18px;background:rgba(255,255,255,.03)}
.acc-link-card h3{margin:0 0 6px;font-size:1.02rem}
.acc-link-card p{margin:0 0 10px;color:rgba(200,190,224,0.86);font-size:.92rem;line-height:1.45}
.acc-link-form{display:grid;gap:10px;max-width:420px}
.acc-link-status{margin:10px 0 0;color:rgba(200,190,224,0.9)}
.acc-link-status.is-err{color:#ff8f8f}
.acc-merge-sides{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:10px 0}
.acc-merge-side{border:1px solid rgba(172,160,202,0.16);border-radius:12px;padding:12px}
.acc-merge-side h4{margin:0 0 8px;font-size:.92rem}
.acc-merge-side dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:4px 10px;font-size:.88rem}
.acc-merge-side dt{color:rgba(172,160,202,0.8)}
.acc-merge-side dd{margin:0;word-break:break-all}
.acc-merge-total{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline}
.acc-link-note{font-size:.84rem!important}

/* Phase 8 / Кабинет: «Войти через Telegram» — спокойный синий градиент Telegram, минимальное свечение */
.acc-auth-tg .acc-auth-tg-btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  width:100%;min-height:50px;padding:0 18px;border:1px solid rgba(255,255,255,.08);border-radius:14px;
  font-family:inherit;font-size:15px;font-weight:700;line-height:1;letter-spacing:.01em;color:#f6f3fc;
  background:linear-gradient(135deg,#562ac5 0%,#4c25ad 55%,#44219b 100%);
  box-shadow:0 1px 0 rgba(255,255,255,.12) inset,0 4px 12px rgba(48,18,125,0.28);
  cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,filter .16s ease;
}
.acc-auth-tg .acc-auth-tg-btn svg{width:22px;height:22px;flex:0 0 22px;color:#f6f3fc;transition:transform .18s ease}
.acc-auth-tg .acc-auth-tg-btn:hover{filter:brightness(.93);transform:translateY(-1px);box-shadow:0 1px 0 rgba(255,255,255,.1) inset,0 6px 14px rgba(48,18,125,0.3)}
.acc-auth-tg .acc-auth-tg-btn:hover svg{transform:translateX(1px)}
.acc-auth-tg .acc-auth-tg-btn:active{transform:translateY(0);filter:brightness(.88);box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 2px 6px rgba(48,18,125,0.3)}
.acc-auth-tg .acc-auth-tg-btn:focus-visible{outline:0;box-shadow:0 0 0 3px #110b20,0 0 0 5px #b07ffa}
.acc-auth-tg .acc-auth-tg-btn:disabled,.acc-auth-tg .acc-auth-tg-btn.is-loading{cursor:wait;transform:none;filter:saturate(.85) brightness(.92)}
.acc-auth-tg .acc-auth-tg-btn:disabled{opacity:.6}
.acc-auth-tg .acc-auth-tg-btn.is-loading{opacity:1}
.acc-auth-tg .acc-auth-tg-btn.is-loading svg{display:none}
.acc-auth-tg .acc-auth-tg-btn.is-loading::before{content:"";width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;animation:acc-tg-spin .7s linear infinite}
@keyframes acc-tg-spin{to{transform:rotate(360deg)}}
@media (max-width:820px){.acc-auth-tg .acc-auth-tg-btn{min-height:48px}}
@media (max-width:360px){.acc-auth-tg .acc-auth-tg-btn{font-size:14.5px;padding:0 12px;gap:8px}}
@media (prefers-reduced-motion:reduce){.acc-auth-tg .acc-auth-tg-btn,.acc-auth-tg .acc-auth-tg-btn svg{transition:none}.acc-auth-tg .acc-auth-tg-btn.is-loading::before{animation-duration:1.6s}}

/* pending Telegram login: timer, links, manual instruction */
.acc-tg-pend{display:grid;gap:10px;margin-top:2px;padding:12px;border:1px solid rgba(176,127,250,0.18);border-radius:14px;background:rgba(28,14,64,0.35)}
.acc-tg-pend[hidden]{display:none}
.acc-tg-pend-timer{margin:0;font-size:12.5px;color:rgba(200,190,224,0.9);text-align:center}
.acc-tg-pend-timer strong{font-variant-numeric:tabular-nums;color:#ece6fa}
.acc-tg-pend-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.acc-tg-pend-btn{display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 10px;border-radius:12px;border:1px solid rgba(255,255,255,.14);color:#ece6fa;font-size:13.5px;font-weight:650;text-align:center;text-decoration:none;background:rgba(255,255,255,.04);transition:background-color .15s ease,border-color .15s ease}
.acc-tg-pend-btn:hover{background:rgba(255,255,255,.09);border-color:rgba(176,127,250,0.4)}
.acc-tg-pend-btn:focus-visible{outline:2px solid #b07ffa;outline-offset:2px}
.acc-tg-pend-btn.is-primary{background:rgba(86,42,197,0.28);border-color:rgba(176,127,250,0.35)}
@media (max-width:360px){.acc-tg-pend-row{grid-template-columns:1fr}}
.acc-tg-pend-manual{font-size:13px;color:rgba(200,190,224,0.92)}
.acc-tg-pend-manual summary{cursor:pointer;padding:6px 0;color:#b586fa;font-weight:600;list-style-position:inside}
.acc-tg-pend-manual p{margin:6px 0}
.acc-tg-pend-manual a{color:#b586fa}
.acc-tg-pend-code{display:flex;gap:8px;align-items:stretch}
.acc-tg-pend-code code{flex:1;min-width:0;padding:9px 10px;border-radius:10px;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.1);font-size:12px;word-break:break-all;user-select:all}
.acc-tg-pend-code button,.acc-tg-pend-retry{min-height:40px;padding:0 14px;border-radius:10px;border:1px solid rgba(176,127,250,0.35);background:rgba(86,42,197,0.25);color:#ece6fa;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.acc-tg-pend-code button:hover,.acc-tg-pend-retry:hover{background:rgba(86,42,197,0.4)}
.acc-tg-pend-retry{width:100%}

/* Phase 8: DHru filter panel — reserve space BEFORE JS/catalog (no layout shift, controls never "pop in") */
.shop-page .shop-dhru-toolbar--pro .shop-dhru-sort-wrap,
.shop-page .shop-dhru-toolbar--pro .shop-dhru-group-wrap { min-height: 59px; }
.shop-page .shop-dhru-toolbar--pro .shop-dhru-meta { min-height: 18px; }
@media (min-width: 821px) {
  .shop-page .shop-dhru-toolbar--pro .shop-dhru-filters { min-height: 59px; }
}
@keyframes sf-sk { to { background-position: -200% 0; } }
@supports selector(:has(a)) {
  .shop-page .shop-dhru-toolbar--pro .shop-dhru-sort-wrap:not(:has(.shop-dhru-dd))::after,
  .shop-page .shop-dhru-toolbar--pro .shop-dhru-group-wrap:not(:has(.shop-dhru-dd))::after {
    content: ""; display: block; height: 40px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.07), rgba(255,255,255,.03)) 0 0 / 200% 100%;
    animation: sf-sk 1.4s linear infinite;
  }
  @media (min-width: 821px) {
    .shop-page .shop-dhru-toolbar--pro .shop-dhru-filters:has(> .shop-dhru-filters-dynamic:empty)::before {
      content: ""; flex: 1 1 320px; height: 53px; border-radius: 12px;
      background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.07), rgba(255,255,255,.03)) 0 0 / 200% 100%;
      animation: sf-sk 1.4s linear infinite;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-page .shop-dhru-toolbar--pro *::after, .shop-page .shop-dhru-toolbar--pro *::before { animation: none !important; }
}
/* catalog not rendered yet: keep the footer below the fold so it is not pushed from view when the list arrives */
.shop-page .shop-dhru-catalog:empty { min-height: 100vh; min-height: 100svh; }
/* Category heading dot: the glow was clipped on the left by `content-visibility:auto` (paint containment at the section
   edge) -> lop-sided "two-way" glow. Give the section 12px of inner room (compensated by negative margin so the
   layout/alignment is unchanged) and use a symmetric glow. */
.shop-page .shop-dhru-section { padding-inline: 12px; margin-inline: -12px; }
.shop-page .shop-dhru-section-icon { box-shadow: 0 0 10px var(--dhru-accent, #a381f8); }
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .shop-page .shop-dhru-section-icon {
    box-shadow:
      0 0 0 3px color-mix(in srgb, var(--dhru-accent, #a381f8) 16%, transparent),
      0 0 10px color-mix(in srgb, var(--dhru-accent, #a381f8) 55%, transparent);
  }
}

/* ───────── Phase 9: calm button palette (единая приглушённая палитра кнопок) ─────────
   Один набор переменных; без цветного свечения; hover = чуть темнее + 1px; AA-контраст текста. */
:root{
  --sf-ind-1:#674dab;--sf-ind-2:#573f93;--sf-ind-fg:#f5f2fe;
  --sf-teal-1:#482a75;--sf-teal-2:#3b235f;--sf-teal-fg:#f2eefa;
  --sf-soft-1:#dbd5ea;--sf-soft-2:#cbc3e0;--sf-soft-fg:#221938;
  --sf-ghost-bg:rgba(255,255,255,.06);--sf-ghost-bd:rgba(255,255,255,.13);--sf-ghost-fg:#e4dff0;
  --sf-danger-bg:rgba(214,110,110,.08);--sf-danger-bd:rgba(214,110,110,.28);--sf-danger-fg:#efb4b4;
  --sf-btn-h:46px;--sf-btn-r:12px;--sf-focus:#aa8bfa;--sf-sh:0 1px 2px rgba(0,0,0,.4);
  --sf-ico-sbp:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3.5l7.5 4.5L4 12.5zM4 12.5l7.5 4.5L4 21.5zM13 8l7 4-7 4z'/%3E%3C/svg%3E");
  --sf-ico-usdt:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2.2a9.8 9.8 0 100 19.6 9.8 9.8 0 000-19.6zM6.8 7.3h10.4v2.2h-4.1v1.1c2 .1 3.6.6 3.6 1.3s-1.6 1.2-3.6 1.3v4.2h-2.2v-4.2c-2-.1-3.6-.6-3.6-1.3s1.6-1.2 3.6-1.3V9.5H6.8zm5.2 4.8c-1.6 0-2.7-.2-2.7-.4s1.1-.4 2.7-.4 2.7.2 2.7.4-1.1.4-2.7.4z'/%3E%3C/svg%3E");
  --sf-ico-card:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='2.5'/%3E%3Cpath d='M3 10.5h18M7 15h4'/%3E%3C/svg%3E");
  --sf-ico-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --sf-ico-copy:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2.5'/%3E%3Cpath d='M5 15V6.5A2.5 2.5 0 0 1 7.5 4H15'/%3E%3C/svg%3E");
  --sf-ico-download:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 11l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
  --sf-ico-logout:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H6.5A2.5 2.5 0 0 0 4 6.5v11A2.5 2.5 0 0 0 6.5 20H10M15 8l4 4-4 4M19 12H9'/%3E%3C/svg%3E");
  --sf-ico-support:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13v-1a8 8 0 0 1 16 0v1'/%3E%3Crect x='3' y='13' width='4' height='6' rx='1.5'/%3E%3Crect x='17' y='13' width='4' height='6' rx='1.5'/%3E%3Cpath d='M19 19c0 1.5-2 2-5 2'/%3E%3C/svg%3E");
  --sf-ico-refresh:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14-4M4 5v4h4M4 13a8 8 0 0 0 14 4M20 19v-4h-4'/%3E%3C/svg%3E");
}
/* общая геометрия основных кнопок */
html:root body .shop-pay-btn.btn,html:root body .acc-access-cta,html:root body .acc-order-btn,html:root body .acc-sidebar-topup,html:root body .oxy-cta,html:root body .drv-link.drv-link--primary{
  min-height:var(--sf-btn-h);border-radius:var(--sf-btn-r);font-weight:700;letter-spacing:.005em;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;
  border:1px solid rgba(255,255,255,.1);box-shadow:var(--sf-sh);-webkit-tap-highlight-color:transparent;
  transition:transform .16s ease,filter .16s ease,background-color .16s ease,box-shadow .16s ease,border-color .16s ease;
}
/* primary: индиго */
html:root body .shop-pay-btn.shop-pay-btn--sbp,html:root body .acc-access-cta:not(.acc-access-cta--ghost),html:root body .acc-order-btn.acc-order-open,html:root body .acc-order-btn:not([class*="--"]):not(.acc-order-open),html:root body .acc-sidebar-topup,html:root body .oxy-cta.oxy-cta--primary,html:root body .oxy-header__shop,html:root body .oxy-cta.oxy-cta--compact{
  background:linear-gradient(135deg,var(--sf-ind-1),var(--sf-ind-2));color:var(--sf-ind-fg);border-color:rgba(255,255,255,.1);text-shadow:none;
}
/* success: приглушённый бирюзовый (USDT, повторить) */
html:root body .shop-pay-btn.shop-pay-btn--usdt,html:root body .acc-order-btn.acc-order-btn--repeat{
  background:linear-gradient(135deg,var(--sf-teal-1),var(--sf-teal-2));color:var(--sf-teal-fg);border-color:rgba(255,255,255,.1);
}
/* secondary / ghost */
html:root body .shop-pay-btn.shop-pay-btn--balance,html:root body .acc-access-cta.acc-access-cta--ghost,html:root body .acc-order-btn.acc-order-btn--refresh,html:root body .oxy-cta.oxy-cta--ghost{
  background:var(--sf-ghost-bg);color:var(--sf-ghost-fg);border-color:var(--sf-ghost-bd);
}
/* светлая кнопка (Пополнить →) — мягкая, не «белое свечение» */
html:root body .acc-access-cta:not(.acc-access-cta--ghost):not([class*="acc-access-cta--"]){}
html:root body .drv-link.drv-link--primary{background:linear-gradient(135deg,#c2b9da,#ada2c9);color:#19122a;border-color:rgba(255,255,255,.14)}
/* hover / active / disabled / loading / focus */
html:root body .shop-pay-btn.btn:hover:not(:disabled),html:root body .acc-access-cta:hover:not(:disabled),html:root body .acc-order-btn:hover:not(:disabled),html:root body .acc-sidebar-topup:hover,html:root body .oxy-cta:hover,html:root body .drv-link.drv-link--primary:hover{filter:brightness(.92);transform:translateY(-1px);box-shadow:var(--sf-sh)}
html:root body .shop-pay-btn.btn:active:not(:disabled),html:root body .acc-access-cta:active:not(:disabled),html:root body .acc-order-btn:active:not(:disabled),html:root body .acc-sidebar-topup:active,html:root body .oxy-cta:active{filter:brightness(.86);transform:none}
html:root body .shop-pay-btn.btn:disabled,html:root body .acc-access-cta:disabled,html:root body .acc-order-btn:disabled{opacity:.55;filter:saturate(.7);cursor:not-allowed;transform:none}
html:root body .shop-pay-btn.btn.is-loading,html:root body .acc-access-cta.is-loading,html:root body .acc-order-btn.is-loading,html:root body [aria-busy="true"].shop-pay-btn{cursor:progress;pointer-events:none;filter:saturate(.8) brightness(.92)}
html:root body .shop-pay-btn.btn:focus-visible,html:root body .acc-access-cta:focus-visible,html:root body .acc-order-btn:focus-visible,html:root body .acc-sidebar-topup:focus-visible,html:root body .oxy-cta:focus-visible,html:root body .acc-key-copy:focus-visible,html:root body #acc-logout:focus-visible{outline:0;box-shadow:0 0 0 2px #0e0b16,0 0 0 4px var(--sf-focus)}
/* иконки единого набора */
html:root body .acc-topup-method.shop-pay-btn--sbp::before,html:root body .acc-topup-method.shop-pay-btn--usdt::before,html:root body .acc-sidebar-topup::before,html:root body .acc-key-copy::before,html:root body .oxy-pwd-copy::before,html:root body #acc-logout::before{
  content:"";flex:0 0 auto;width:18px;height:18px;background:currentColor;
  -webkit-mask:var(--sf-i) center/contain no-repeat;mask:var(--sf-i) center/contain no-repeat;
}
html:root body .shop-pay-btn--sbp{--sf-i:var(--sf-ico-sbp)}
html:root body .shop-pay-btn--usdt{--sf-i:var(--sf-ico-usdt)}
html:root body .shop-pay-btn--balance{--sf-i:var(--sf-ico-card)}
html:root body .acc-sidebar-topup{--sf-i:var(--sf-ico-plus)}
html:root body .acc-key-copy,html:root body .oxy-pwd-copy{--sf-i:var(--sf-ico-copy)}
html:root body .acc-order-btn--repeat,html:root body .acc-order-btn--refresh{--sf-i:var(--sf-ico-refresh)}
html:root body #acc-logout{--sf-i:var(--sf-ico-logout)}
html:root body .support-btn--tg{--sf-i:var(--sf-ico-support)}
/* навигация / табы / пилюли: спокойный индиго вместо фиолетово-зелёных градиентов и свечения */
html:root body .acc-topbar-pill.is-active,html:root body .shop-header-nav-item.is-active,html:root body .acc-filter-pill.is-active,html:root body .shop-topup-preset.is-active,html:root body .support-nav-link.is-active,html:root body .acc-nav-link.is-active,html:root body.acc-authed .acc-nav-link.is-active{
  background:rgba(131,105,196,0.2);border-color:rgba(173,150,230,0.3);color:#f3effe;box-shadow:none;text-shadow:none;
}
html:root body .acc-topbar-lang-btn.is-active{background:#dbd5ea;color:#221938;box-shadow:none}
html:root body .acc-sidebar-topup{background:linear-gradient(135deg,var(--sf-ind-1),var(--sf-ind-2))}
html:root body .acc-topbar-balance{background:rgba(255,255,255,.04);box-shadow:none}
html[data-acc-sec] body .acc-nav-link.is-active{box-shadow:none}
html:root[data-acc-sec="dashboard"] .acc-nav-link[data-section="dashboard"],html:root[data-acc-sec="orders"] .acc-nav-link[data-section="orders"],html:root[data-acc-sec="favorites"] .acc-nav-link[data-section="favorites"],html:root[data-acc-sec="balance"] .acc-nav-link[data-section="balance"],html:root[data-acc-sec="telegram"] .acc-nav-link[data-section="telegram"],html:root[data-acc-sec="entitlements"] .acc-nav-link[data-section="entitlements"],html:root[data-acc-sec="referral"] .acc-nav-link[data-section="referral"],html:root[data-acc-sec="settings"] .acc-nav-link[data-section="settings"],html:root[data-acc-sec="support"] .acc-nav-link[data-section="support"]{background:rgba(131,105,196,0.2);color:#f3effe}
/* «Выйти»: собственный стиль, не наследует зелёные/активные состояния навигации */
html:root body #acc-logout.acc-sidebar-logout{
  display:flex;align-items:center;justify-content:center;gap:9px;
  background:var(--sf-danger-bg);border:1px solid var(--sf-danger-bd);color:var(--sf-danger-fg);
  box-shadow:none;outline:0;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;
  min-height:var(--sf-btn-h);border-radius:var(--sf-btn-r);isolation:isolate;
}
html:root body #acc-logout.acc-sidebar-logout:hover{background:rgba(214,110,110,.14);border-color:rgba(214,110,110,.42);color:#f6c6c6;transform:translateY(-1px);box-shadow:none}
html:root body #acc-logout.acc-sidebar-logout:active{background:rgba(214,110,110,.2);transform:none}
html:root body #acc-logout.acc-sidebar-logout.is-active,html:root body #acc-logout.acc-sidebar-logout:focus:not(:focus-visible){background:var(--sf-danger-bg);border-color:var(--sf-danger-bd);box-shadow:none;outline:0}
/* прочие яркие акценты кнопок и ссылок-кнопок */
html:root body .shop-dl-btn,html:root body .shop-dl-pass{box-shadow:none}
html:root body .support-nav-link.is-active,html:root body .oxy-header__shop{box-shadow:none}
html:root body .acc-key-copy{background:var(--sf-ghost-bg);border:1px solid var(--sf-ghost-bd);color:var(--sf-ghost-fg);display:inline-flex;align-items:center;gap:7px}
@media (prefers-reduced-motion:reduce){html:root body .shop-pay-btn.btn,html:root body .acc-access-cta,html:root body .acc-order-btn,html:root body #acc-logout{transition:none}}
/* карточки баланса/героя/Telegram: без зелёного ореола и радиальных «пятен» */
html:root body .acc-sidebar-balance,html:root body .acc-topbar-balance,html:root body .acc-dash-hero,html:root body .acc-wallet-card,html:root body .acc-tg-card.acc-tg-card--linked,html:root body .acc-settings-profile-card{
  background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.018));border-color:rgba(255,255,255,.1);box-shadow:none;
}
html:root body .acc-sidebar-balance-glow,html:root body .acc-dash-hero-glow,html:root body .acc-wallet-card-glow,html:root body .acc-tg-card-glow,html:root body .acc-showcase-hero-glow,html:root body .acc-settings-profile-glow{display:none}
html:root body .acc-balance-usdt,html:root body .acc-topbar-usdt,html:root body #acc-topbar-usdt,html:root body #acc-sidebar-usdt{color:#b69fd8;text-shadow:none}
html:root body .acc-avatar-ring{background:linear-gradient(135deg,rgba(163,140,220,0.7),rgba(134,110,196,0.5));box-shadow:none}
html:root body .acc-chip--ok, html:root body .acc-showcase-chip--ok{background:rgba(110,170,150,.12);border-color:rgba(140,190,170,.28);color:#bfe3d8}
html:root body .acc-tg-pill{background:rgba(132,110,170,0.12);border-color:rgba(158,140,190,0.28);color:#ccbfe3}
html:root body .acc-stat-icon,html:root body .acc-quick-icon{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}
html:root body .shop-topup-preset.is-active{background:rgba(131,105,196,0.2);border-color:rgba(173,150,230,0.4);box-shadow:none}
html:root body .acc-access-cta,html:root body label.acc-access-cta{box-shadow:var(--sf-sh)}
/* shop-premium использует !important и яркий --sf-grad-cta: приводим к общей палитре */
:root{--sf-grad-cta:linear-gradient(135deg,var(--sf-soft-1),var(--sf-soft-2))}
html:root body .shop-pay-btn.shop-pay-btn--sbp{background:linear-gradient(135deg,var(--sf-ind-1),var(--sf-ind-2))!important;color:var(--sf-ind-fg)!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:var(--sf-sh)!important;border-radius:var(--sf-btn-r)!important}
html:root body .shop-pay-btn.shop-pay-btn--usdt{background:linear-gradient(135deg,var(--sf-teal-1),var(--sf-teal-2))!important;color:var(--sf-teal-fg)!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:var(--sf-sh)!important;border-radius:var(--sf-btn-r)!important}
html:root body .shop-pay-btn.shop-pay-btn--balance{background:var(--sf-ghost-bg)!important;color:var(--sf-ghost-fg)!important;border:1px solid var(--sf-ghost-bd)!important;box-shadow:none!important;border-radius:var(--sf-btn-r)!important}
html:root body .shop-page .shop-pay-btn--sbp:hover:not(:disabled),html:root body .shop-pay-btn.shop-pay-btn--sbp:hover:not(:disabled){box-shadow:var(--sf-sh)!important}
html:root body .shop-dhru-card-cta,html:root body .shop-dhru-pay-btn--balance,html:root body .gen-card .btn-primary,html:root body .gen-card .btn-flagship,html:root body .gen-card .btn-neogen,html:root body .btn-primary{
  background:linear-gradient(135deg,var(--sf-soft-1),var(--sf-soft-2))!important;color:var(--sf-soft-fg)!important;box-shadow:var(--sf-sh)!important;
}
html:root body .shop-dhru-card-cta:hover:not(:disabled),html:root body .shop-dhru-pay-btn--balance:hover:not(:disabled),html:root body .btn-primary:hover:not(:disabled){box-shadow:var(--sf-sh)!important;filter:brightness(.94)!important}
html:root body .shop-header-nav-item.is-active,html:root body .shop-header-seg-btn.is-active{box-shadow:none!important}
/* oxygen / drivers / support акценты */
html:root body.oxy-page .oxy-cta--primary,html:root body.oxy-page .oxy-header__shop,html:root body.oxy-page .oxy-cta--compact{background:linear-gradient(135deg,var(--sf-teal-1),var(--sf-teal-2));color:var(--sf-teal-fg);box-shadow:var(--sf-sh)}
html:root body .support-nav-link.is-active{background:rgba(131,105,196,0.2)!important;color:#f3effe!important;box-shadow:none!important}

/* ───────── Phase 9: единая модель статусов заказов + активные сессии ───────── */
html:root body .shop-order-badge{border:1px solid transparent;font-weight:600;letter-spacing:.01em}
html:root body .shop-order-badge.is-pending{background:rgba(196,160,92,.12);color:#e3cd9a;border-color:rgba(196,160,92,.22)}
html:root body .shop-order-badge.is-paid{background:rgba(136,110,200,0.13);color:#c8b9ee;border-color:rgba(136,110,200,0.24)}
html:root body .shop-order-badge.is-processing{background:rgba(133,110,190,0.14);color:#cec2ee;border-color:rgba(133,110,190,0.26)}
html:root body .shop-order-badge.is-done{background:rgba(70,150,125,.14);color:#a9dcc9;border-color:rgba(70,150,125,.26)}
html:root body .shop-order-badge.is-fail{background:rgba(205,110,110,.12);color:#efb8b8;border-color:rgba(205,110,110,.26)}
html:root body .shop-order-badge.is-refund{background:rgba(169,160,190,0.12);color:#d5cfe4;border-color:rgba(169,160,190,0.24)}
html:root body .shop-order-badge.is-muted{background:rgba(156,150,170,0.1);color:#b9b3c8;border-color:rgba(156,150,170,0.2)}

.acc-sessions .acc-sess-list{list-style:none;margin:14px 0 4px;padding:0;display:flex;flex-direction:column;gap:8px}
.acc-sess-row{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08)}
.acc-sess-row.is-current{border-color:rgba(99,70,150,0.32);background:rgba(99,70,150,0.07)}
.acc-sess-ic{flex:0 0 auto;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.06);color:#cbc3e0}
.acc-sess-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.acc-sess-main strong{font-size:.92rem;font-weight:600;color:#eae6f5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acc-sess-main small{font-size:.78rem;color:#a49abd}
.acc-sess-end{flex:0 0 auto;min-height:34px;padding:0 12px;border-radius:10px;font:inherit;font-size:.82rem;font-weight:600;cursor:pointer;color:var(--sf-danger-fg,#efb4b4);background:var(--sf-danger-bg,rgba(214,110,110,.08));border:1px solid var(--sf-danger-bd,rgba(214,110,110,.28));transition:background .15s,transform .15s}
.acc-sess-end:hover:not(:disabled){background:rgba(214,110,110,.14);transform:translateY(-1px)}
.acc-sess-end:focus-visible{outline:0;box-shadow:0 0 0 2px #0e0b16,0 0 0 4px var(--sf-focus,#bca3fb)}
.acc-sess-end:disabled{opacity:.55;cursor:default}
.acc-sess-empty{padding:10px 2px;color:#a49abd;font-size:.88rem}
.acc-sess-skel{opacity:.7}
@media (max-width:480px){.acc-sess-row{flex-wrap:wrap}.acc-sess-end,.acc-sess-row .acc-chip{margin-left:48px}}
.acc-sessions h3{font-size:1.08rem;margin:0 0 4px}
.acc-sessions .acc-tg-actions{margin-top:12px}

/* ───────── Phase 9.2: РОВНО ОДНА иконка на кнопке оплаты ─────────
   Причина дублей: в разметке/JS у кнопок уже есть своя иконка (плитка .shop-pay-btn-icon / .shop-dhru-pay-icon с SVG из спрайта),
   а поверх неё Phase 9 добавлял ::before-маску. Теперь: ::before только там, где своей иконки нет (кнопки пополнения в кабинете);
   плитки-«квадраты» убраны, значки СБП/USDT в спрайте заменены на единый знак (currentColor). */
html:root body{--sf-ico-wallet:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8V7a2 2 0 0 1 2-2h12v3'/%3E%3Crect x='3' y='8' width='18' height='12' rx='2.5'/%3E%3Ccircle cx='16.5' cy='14' r='1.1'/%3E%3C/svg%3E")}
html:root body .shop-pay-btn .shop-pay-btn-icon,html:root body .shop-dhru-pay-btn .shop-dhru-pay-icon{
  flex:0 0 24px;width:24px;height:24px;border-radius:0;background:none;border:0;box-shadow:none;color:inherit;opacity:1;
}
html:root body .shop-pay-btn .shop-pay-btn-icon svg,html:root body .shop-pay-btn .shop-pay-btn-icon .sf-icon-pay,html:root body .shop-dhru-pay-btn .shop-dhru-pay-icon svg,html:root body .shop-dhru-pay-btn .shop-dhru-pay-icon .sf-icon-pay{
  width:22px;height:22px;opacity:1;color:inherit;fill:currentColor;
}
html:root body .shop-dhru-pay-btn--balance .shop-dhru-pay-icon svg{fill:none;stroke:currentColor}
html:root body .shop-pay-btn .shop-pay-btn-icon.shop-pay-btn-icon--balance{font-size:0;color:inherit;background:none}
html:root body .shop-pay-btn .shop-pay-btn-icon.shop-pay-btn-icon--balance::before{
  content:"";display:block;width:22px;height:22px;background:currentColor;
  -webkit-mask:var(--sf-ico-wallet) center/contain no-repeat;mask:var(--sf-ico-wallet) center/contain no-repeat;
}

/* ═════════ Phase 10.1 — единый стиль «Аренда/Услуги»: приглушённые кнопки, линейные иконки, генератор, карточка товара ═════════ */
:root{
  --sf-ind-h1:#7056b4;--sf-ind-h2:#6146a3;--sf-ind-a1:#5a409b;--sf-ind-a2:#4c3586;
  --sf-grad-cta:linear-gradient(135deg,var(--sf-ind-1),var(--sf-ind-2));
  --sf-card10:linear-gradient(165deg,rgba(255,255,255,.035),transparent 42%),linear-gradient(180deg,rgba(27,22,40,0.96),rgba(13,10,20,0.94));
  --sf-line10:rgba(255,255,255,.09);
  --sf-ico-key:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='3.5'/%3E%3Cpath d='M10.5 12.5 20 3M17 6l2.5 2.5M14 9l2.5 2.5'/%3E%3C/svg%3E");
}
/* линейные иконки: .sf-icon = тот же набор, что и .sf-i */
.sf-icon{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sf-icon-pay{stroke:none}
/* ── основные кнопки: глубокий индиго, без белых/светлых заливок и без яркого свечения ── */
html:root body .btn-primary,html:root body .btn-flagship,html:root body .btn-neogen,html:root body .shop-btn-premium,
html:root body .gen-card .btn-primary,html:root body .gen-card .btn-flagship,html:root body .gen-card .btn-neogen,
html.shop-page:root body .shop-btn-premium.btn-primary,html.shop-page:root body .shop-btn-premium.btn-flagship,html.shop-page:root body .shop-btn-premium.btn-neogen,
html:root body .shop-dhru-card-cta,html:root body .acc-auth-submit,html:root body .drv-link.drv-link--primary,html:root body .legal-support-cta{
  background:linear-gradient(135deg,var(--sf-ind-1),var(--sf-ind-2))!important;color:var(--sf-ind-fg)!important;
  border:1px solid rgba(192,169,251,0.22)!important;box-shadow:0 1px 2px rgba(0,0,0,.4)!important;text-shadow:none!important;
  animation:none!important;filter:none!important;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:700;letter-spacing:.005em;
  transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease;
}
html:root body .btn-neogen::after,html:root body .btn-flagship::after,html.shop-page:root body .shop-btn-premium::after{display:none!important}
html:root body .btn-primary:hover:not(:disabled),html:root body .btn-flagship:hover:not(:disabled),html:root body .btn-neogen:hover:not(:disabled),html:root body .shop-btn-premium:hover:not(:disabled),
html.shop-page:root body .shop-btn-premium:hover:not(:disabled),html:root body .shop-dhru-card-cta:hover:not(:disabled),html:root body .acc-auth-submit:hover:not(:disabled),
html:root body .drv-link.drv-link--primary:hover,html:root body .legal-support-cta:hover{
  background:linear-gradient(135deg,var(--sf-ind-h1),var(--sf-ind-h2))!important;border-color:rgba(210,193,252,0.34)!important;
  box-shadow:0 2px 8px rgba(0,0,0,.35)!important;filter:none!important;transform:translateY(-1px)
}
html:root body .btn-primary:active:not(:disabled),html:root body .btn-flagship:active:not(:disabled),html:root body .btn-neogen:active:not(:disabled),html:root body .shop-btn-premium:active:not(:disabled),
html:root body .shop-dhru-card-cta:active:not(:disabled),html:root body .acc-auth-submit:active:not(:disabled),html:root body .drv-link.drv-link--primary:active{
  background:linear-gradient(135deg,var(--sf-ind-a1),var(--sf-ind-a2))!important;transform:none;box-shadow:none!important
}
html:root body .btn-primary:disabled,html:root body .btn-flagship:disabled,html:root body .btn-neogen:disabled,html:root body .shop-btn-premium:disabled,
html:root body .shop-dhru-card-cta:disabled,html:root body .acc-auth-submit:disabled{
  background:linear-gradient(135deg,rgba(101,75,168,0.35),rgba(85,62,144,0.3))!important;color:rgba(245,242,254,0.55)!important;
  border-color:rgba(192,169,251,0.12)!important;box-shadow:none!important;cursor:not-allowed;transform:none;opacity:1
}
html:root body .btn.is-loading:disabled,html:root body .btn.is-loading,html:root body .acc-auth-submit.is-loading{
  opacity:1;cursor:progress;pointer-events:none;
  background:linear-gradient(135deg,rgba(101,75,168,0.8),rgba(85,62,144,0.8))!important;color:var(--sf-ind-fg)!important
}
html:root body .btn:focus-visible,html:root body .acc-auth-submit:focus-visible,html:root body .shop-dhru-card-cta:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(188,163,251,0.4)!important}
/* спиннер на кнопке (is-loading) */
html:root body .btn .btn-spinner{display:none;width:16px;height:16px;border:2px solid rgba(255,255,255,.28);border-top-color:#f5f2fe;border-radius:50%;animation:spin .7s linear infinite;flex:none}
html:root body .btn.is-loading .btn-spinner{display:block}
html:root body .btn.is-loading .btn-text{opacity:.85}
html:root body .acc-auth-submit.is-loading{color:transparent!important}
html:root body .acc-auth-submit.is-loading::after{border-color:rgba(245,242,254,0.28)!important;border-top-color:#f5f2fe!important}
/* вторичные кнопки */
html:root body .btn-secondary{background:var(--sf-ghost-bg);color:var(--sf-ghost-fg);border:1px solid var(--sf-ghost-bd);box-shadow:none;text-shadow:none}
html:root body .btn-secondary:hover:not(:disabled){background:rgba(255,255,255,.1);color:#f5f2fe;border-color:rgba(192,169,251,0.35);transform:translateY(-1px)}
html:root body .btn-secondary:active:not(:disabled){background:rgba(255,255,255,.05);transform:none}
html:root body .btn-secondary:disabled{opacity:.5;cursor:not-allowed}
/* иконки в кнопках генератора */
html:root body .gen-card .shop-btn-premium::before,html:root body .gen-card .btn-secondary[id^="btn-download"]::before{
  content:"";flex:0 0 auto;width:18px;height:18px;background:currentColor;
  -webkit-mask:var(--sf-i) center/contain no-repeat;mask:var(--sf-i) center/contain no-repeat
}
html:root body .gen-card .shop-btn-premium{--sf-i:var(--sf-ico-key)}
html:root body .gen-card .btn-secondary[id^="btn-download"]{--sf-i:var(--sf-ico-download)}
html:root body .gen-card .shop-btn-premium.is-loading::before{display:none}
/* RU/EN и табы входа: приглушённый индиго вместо белых плашек */
html:root body .acc-topbar-lang-btn.is-active,html:root body .shop-header-seg-btn.is-active{background:rgba(131,105,196,0.3)!important;color:#f3effe!important;border-color:rgba(173,150,230,0.3)!important;box-shadow:none!important}
html:root body .shop-account-tabs-pill{background:rgba(131,105,196,0.28)!important;border:1px solid rgba(173,150,230,0.3);box-shadow:none!important}
html:root body .shop-account-tab.is-active{color:#f3effe!important}
html:root body .oxy-picker__pill{background:rgba(132,110,170,0.14)!important;color:#ccbfe3!important;border:1px solid rgba(158,140,190,0.3)}
html:root body .sfx-dl__ico{background:rgba(131,105,196,0.2)!important;color:#e9e0fe!important;border:1px solid rgba(173,150,230,0.3)}
html:root body .drv-link.drv-link--primary{background:linear-gradient(135deg,var(--sf-ind-1),var(--sf-ind-2))!important}
html:root body .legal-support-cta{border-radius:12px;padding:11px 18px}
html:root body .shop-dhru-pay-btn--balance{background:var(--sf-ghost-bg)!important;color:var(--sf-ghost-fg)!important;border:1px solid var(--sf-ghost-bd)!important}

/* ── окно генератора ключа ── */
html:root body .shop-generator-block{display:flex;flex-direction:column;gap:12px}
html.shop-page:root body .shop-block-label{display:flex;align-items:center;gap:9px;margin:0;color:rgba(206,190,245,0.78);font-size:11px;font-weight:750;letter-spacing:.11em;text-transform:uppercase}
html.shop-page:root body .shop-block-label .sf-icon{width:18px;height:18px;flex:none;color:rgba(170,139,250,0.95);stroke-width:1.8}
html.shop-page:root body .shop-quota-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0!important;padding:10px 14px 10px 12px!important;border-radius:14px!important;
  border:1px solid rgba(158,140,190,0.22)!important;background:linear-gradient(160deg,rgba(132,110,170,0.1),rgba(132,110,170,0.04))!important;color:#ddd3ef;font-size:13.5px;font-weight:600}
html.shop-page:root body .shop-quota-bar>.sf-icon{width:32px!important;height:32px!important;padding:7px;border-radius:10px;background:rgba(132,110,170,0.16);color:#ccbfe3;box-sizing:border-box;flex:none;vertical-align:middle}
html.shop-page:root body .shop-quota-bar strong{color:#f2eefa;font-weight:800}
html.shop-page:root body .shop-quota-hint{flex:1 1 100%;margin-left:44px;margin-top:-6px;font-size:12px;font-weight:500;color:rgba(204,191,227,0.65)}
@media (min-width:700px){html.shop-page:root body .shop-quota-hint{flex:1 1 auto;margin:0}}
html:root body .gen-card.gen-card-inline{padding:16px;border-radius:16px;border:1px solid var(--sf-line10);background:var(--sf-card10);box-shadow:0 8px 20px rgba(0,0,0,.2)}
html:root body .gen-head{margin-bottom:12px}
html:root body .gen-head .tag,html:root body .tag-neogen,html:root body .tag-green{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;font-size:11px;font-weight:750;letter-spacing:.08em;
  background:rgba(131,105,196,0.16);border:1px solid rgba(173,150,230,0.3);color:#e9e0fe;text-transform:uppercase}
html:root body .gen-head .tag-neogen{background:rgba(132,110,170,0.14);border-color:rgba(158,140,190,0.3);color:#d9cdee}
html:root body .gen-card .field-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
html:root body .gen-card .field-row label{font-size:11px;font-weight:750;letter-spacing:.1em;color:rgba(206,190,245,0.78);text-transform:uppercase}
html:root body .shop-paste-btn{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 13px;border-radius:10px;font-size:13px;font-weight:650;
  background:var(--sf-ghost-bg);border:1px solid var(--sf-ghost-bd);color:var(--sf-ghost-fg);box-shadow:none;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
html:root body .shop-paste-btn:hover{background:rgba(255,255,255,.1);border-color:rgba(192,169,251,0.35);transform:translateY(-1px)}
html:root body .shop-paste-btn:active{transform:none;background:rgba(255,255,255,.05)}
html:root body .gen-card textarea[id^="hwid"]{width:100%;box-sizing:border-box;min-height:84px;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(7,5,12,0.55);
  color:#ece8f7;font:500 13.5px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.01em;resize:vertical;transition:border-color .16s,box-shadow .16s,background .16s}
html:root body .gen-card textarea[id^="hwid"]::placeholder{color:rgba(177,169,196,0.4)}
html:root body .gen-card textarea[id^="hwid"]:focus{outline:0;border-color:rgba(173,150,230,0.6);box-shadow:0 0 0 3px rgba(131,105,196,0.22);background:rgba(7,5,12,0.75)}
html:root body .gen-card textarea[id^="hwid"].is-invalid{border-color:rgba(214,130,130,.55);box-shadow:0 0 0 3px rgba(214,110,110,.1)}
html:root body .gen-card textarea[id^="hwid"].is-valid{border-color:rgba(140,190,170,.5)}
html:root body .sf-hwid-hint{display:flex;align-items:flex-start;gap:7px;margin:8px 2px 14px;font-size:12px;line-height:1.45;color:rgba(177,169,196,0.78);min-height:17px;transition:color .16s}
html:root body .sf-hwid-hint::before{content:"";flex:none;width:14px;height:14px;margin-top:1px;background:currentColor;opacity:.8;
  -webkit-mask:var(--sf-hint-i) center/contain no-repeat;mask:var(--sf-hint-i) center/contain no-repeat;
  --sf-hint-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8v.01'/%3E%3C/svg%3E")}
html:root body .sf-hwid-hint.is-err{color:#efb4b4}
html:root body .sf-hwid-hint.is-ok{color:#bfe3d8}
html:root body .sf-hwid-hint.is-ok::before{--sf-hint-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.7 2.7L16 9.8'/%3E%3C/svg%3E")}
html:root body .gen-card .result-135{margin-top:14px;padding:14px;border-radius:14px;border:1px solid rgba(158,140,190,0.22);background:linear-gradient(160deg,rgba(132,110,170,0.08),rgba(255,255,255,.015));display:flex;flex-direction:column;gap:12px}
html:root body .gen-card .output{border-radius:12px;border:1px dashed rgba(255,255,255,.16);background:rgba(7,5,12,0.5);padding:12px 14px}
html:root body .gen-card .output-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:rgba(206,190,245,0.78);margin-bottom:6px}
html:root body .gen-card .link-btn{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 11px;border-radius:9px;border:1px solid var(--sf-ghost-bd);background:var(--sf-ghost-bg);color:var(--sf-ghost-fg);
  font:650 12px/1 inherit;letter-spacing:.02em;text-transform:none;cursor:pointer;transition:background .16s,color .16s,border-color .16s}
html:root body .gen-card .link-btn:hover{background:rgba(255,255,255,.1);border-color:rgba(192,169,251,0.35)}
html:root body .gen-card .link-btn.is-copied{background:rgba(132,110,170,0.16);border-color:rgba(158,140,190,0.4);color:#d9cdee}

/* ── карточка товара: блоки версия / скачать / пароль / оплата — тот же стиль, что у карточек аренды ── */
html.shop-page:root body .shop-version-hero,html.shop-page:root body .shop-downloads-block,html.shop-page:root body .shop-purchase-block{
  border-radius:16px;border:1px solid var(--sf-line10);background:var(--sf-card10);box-shadow:0 8px 20px rgba(0,0,0,.2)!important}
html.shop-page:root body .shop-dl-btn{display:inline-flex!important;align-items:center;gap:9px;min-height:40px;padding:0 14px 0 11px;border-radius:12px;font-size:13.5px;font-weight:650;color:#ebe6f7;text-decoration:none;
  background:rgba(255,255,255,.04)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none;transition:background .16s,border-color .16s,transform .16s}
html.shop-page:root body .shop-dl-btn:hover{background:rgba(131,105,196,0.14)!important;border-color:rgba(173,150,230,0.42)!important;transform:translateY(-1px)}
html.shop-page:root body .shop-dl-btn:active{transform:none;background:rgba(131,105,196,0.08)!important}
html.shop-page:root body .shop-dl-brand{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:rgba(131,105,196,0.16);color:#d9cbfd;flex:none}
html.shop-page:root body .shop-dl-brand .sf-icon,html.shop-page:root body .shop-dl-brand .shop-dl-logo{width:16px;height:16px;color:currentColor}
html.shop-page:root body .shop-dl-pass{border:1px solid rgba(255,255,255,.12)!important;background:rgba(255,255,255,.035)!important;box-shadow:none!important;color:#ebe6f7;border-radius:12px}
html.shop-page:root body .shop-dl-pass:hover{border-color:rgba(173,150,230,0.42)!important;background:rgba(131,105,196,0.1)!important;box-shadow:none!important}
html.shop-page:root body .shop-dl-pass.is-copied{border-color:rgba(158,140,190,0.5)!important;background:rgba(132,110,170,0.1)!important;box-shadow:none!important}
html.shop-page:root body .shop-dl-pass-ico{background:rgba(131,105,196,0.18);color:#d9cbfd}
html.shop-page:root body .shop-dl-pass-label{color:rgba(206,190,245,0.7)}
html.shop-page:root body .shop-dl-pass-value{color:#f3effe}
html.shop-page:root body .shop-dl-pass-copy{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:9px;background:var(--sf-ghost-bg)!important;border:1px solid var(--sf-ghost-bd)!important;color:var(--sf-ghost-fg)!important;font-size:12px;font-weight:650;box-shadow:none!important}
html.shop-page:root body .shop-dl-pass.is-copied .shop-dl-pass-copy{background:rgba(132,110,170,0.16)!important;border-color:rgba(158,140,190,0.4)!important;color:#d9cdee!important}
/* цена: место под старую цену и бейдж акции (резерв высоты, без сдвига) */
html:root body .shop-price-row--checkout{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-height:76px;padding:14px 16px;border-radius:14px;border:1px solid var(--sf-line10);background:rgba(7,5,12,0.4)}
html:root body .shop-price-row--checkout .shop-price-old{order:3;font-size:15px;font-weight:600;color:rgba(177,169,196,0.55);text-decoration:line-through;text-decoration-thickness:1.5px;padding:0;background:none;border:0}
html:root body .shop-price-badge{order:4;display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.02em;
  background:rgba(148,110,214,0.14);border:1px solid rgba(148,110,214,0.32);color:#c7b0f0}
html:root body .shop-price-badge[hidden],html:root body .shop-price-old[hidden]{display:none}
html:root body .shop-price-rub-note{order:2;color:rgba(177,169,196,0.8)}
html:root body .shop-qty-row{border-radius:14px;border:1px solid var(--sf-line10);background:rgba(7,5,12,0.35)}
html:root body .shop-qty-btn{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;border:1px solid var(--sf-ghost-bd);background:var(--sf-ghost-bg);color:var(--sf-ghost-fg);transition:background .16s,border-color .16s}
html:root body .shop-qty-btn:hover{background:rgba(255,255,255,.1);border-color:rgba(192,169,251,0.35)}
html:root body .shop-qty-btn .sf-icon{width:16px;height:16px}
@media (prefers-reduced-motion:reduce){html:root body .btn,html:root body .shop-dl-btn,html:root body .shop-paste-btn{transition:none}html:root body .btn .btn-spinner{animation-duration:1.4s}}
html:root body .shop-sticky-buy-btn{background:linear-gradient(135deg,var(--sf-ind-1),var(--sf-ind-2))!important;border:1px solid rgba(192,169,251,0.22)!important;box-shadow:none!important;color:#f5f2fe!important;transition:background .16s,transform .16s}
html:root body .shop-sticky-buy-btn:active{background:linear-gradient(135deg,var(--sf-ind-a1),var(--sf-ind-a2))!important;transform:scale(.98)}
html:root body .shop-qty-stepper{display:inline-flex;align-items:center;gap:6px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;flex:none}
html:root body .shop-qty-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:nowrap;padding:10px 12px}
html:root body .shop-qty-val{min-width:28px;text-align:center;font-weight:750}
html:root body .shop-price-row--checkout{justify-content:center;text-align:center}

/* ═════════ Phase 10.2 — кабинет: фон, скелетоны, анимации, нижняя навигация, состояния кнопок ═════════ */
:root{--sf-ico-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
/* — живой, но спокойный фон: два мягких пятна, только transform; выключается при reduced-motion / Save-Data / слабом устройстве / низком заряде — */
.sf-bg{display:none}
html.account-page .sf-bg{display:block;position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;contain:strict;
  background:radial-gradient(1100px 620px at 8% -8%,rgba(117,88,190,0.13),transparent 62%),radial-gradient(900px 560px at 100% 0%,rgba(92,60,140,0.08),transparent 58%)}
.sf-bg::before,.sf-bg::after{content:"";position:absolute;width:60vmax;height:60vmax;border-radius:50%;opacity:0;will-change:transform;transform:translate3d(0,0,0)}
html.sf-fx .sf-bg::before{opacity:.55;left:-20vmax;top:-26vmax;background:radial-gradient(circle,rgba(123,92,200,0.2),transparent 62%);animation:sfDriftA 42s ease-in-out infinite alternate}
html.sf-fx .sf-bg::after{opacity:.5;right:-22vmax;bottom:-30vmax;background:radial-gradient(circle,rgba(107,72,160,0.14),transparent 62%);animation:sfDriftB 52s ease-in-out infinite alternate}
html.sf-hidden .sf-bg::before,html.sf-hidden .sf-bg::after{animation-play-state:paused}
@media (max-width:900px){html.sf-fx .sf-bg::after{display:none}}
@keyframes sfDriftA{to{transform:translate3d(16vmax,12vmax,0) scale(1.12)}}
@keyframes sfDriftB{to{transform:translate3d(-14vmax,-9vmax,0) scale(1.08)}}
html.account-page #acc-app,html.account-page #acc-guest{position:relative;z-index:1}

/* — скелетоны вместо пустых блоков (opacity-пульс, резерв высоты = нет сдвигов) — */
@keyframes sfPulse{0%,100%{opacity:1}50%{opacity:.45}}
html:root body #acc-dash-hero{min-height:168px}

html:root body #acc-dash-orders{min-height:132px}
html:root body #acc-dash-hero:empty{border-radius:18px;background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.08);animation:sfPulse 1.4s ease-in-out infinite}
html:root body #acc-stat-grid:empty::before,html:root body #acc-stat-grid:empty::after{content:"";display:block;height:88px;border-radius:16px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);animation:sfPulse 1.4s ease-in-out infinite}
html:root body #acc-stat-grid:empty::after{animation-delay:.2s}
html:root body #acc-dash-orders:empty::before,html:root body #acc-orders-list:empty::before,html:root body #acc-ledger-list:empty::before,html:root body #acc-favorites-list:empty::before,html:root body #acc-referral-panel:empty::before{
  content:"";display:block;height:104px;margin-bottom:16px;border-radius:16px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);
  box-shadow:0 120px 0 -1px rgba(255,255,255,.04),0 240px 0 -1px rgba(255,255,255,.03);animation:sfPulse 1.4s ease-in-out infinite}
html:root body #acc-orders-list:empty,html:root body #acc-ledger-list:empty,html:root body #acc-favorites-list:empty,html:root body #acc-referral-panel:empty{min-height:340px}
html:root body #acc-dash-orders:empty{min-height:340px}
/* — появление секций и карточек (только после первой отрисовки; transform/opacity) — */
@media (prefers-reduced-motion:no-preference){
  html.sf-anim .acc-section.is-active{animation:sfSecIn .28s cubic-bezier(.22,1,.36,1) both}
  html.sf-anim .acc-section.is-active .acc-dash-panel>*,html.sf-anim .acc-section.is-active .acc-orders-panel>*{animation:sfCardIn .42s cubic-bezier(.22,1,.36,1) both}
  html.sf-anim .acc-section.is-active .acc-dash-panel>*:nth-child(2),html.sf-anim .acc-section.is-active .acc-orders-panel>*:nth-child(2){animation-delay:.05s}
  html.sf-anim .acc-section.is-active .acc-dash-panel>*:nth-child(3),html.sf-anim .acc-section.is-active .acc-orders-panel>*:nth-child(3){animation-delay:.1s}
  html.sf-anim .acc-section.is-active .acc-dash-panel>*:nth-child(4){animation-delay:.15s}
  html.sf-anim .acc-section.is-active .acc-dash-panel>*:nth-child(5){animation-delay:.2s}
  html.sf-anim .acc-section.is-active .acc-dash-panel>*:nth-child(n+6){animation-delay:.25s}
  @keyframes sfSecIn{from{opacity:.001}to{opacity:1}}
  @keyframes sfCardIn{from{opacity:0;transform:translate3d(0,10px,0)}to{opacity:1;transform:none}}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  html:root body .acc-stat-card,html:root body .acc-quick-card,html:root body .acc-support-card,html:root body .acc-order-card,html:root body .acc-tg-card{transition:transform .2s cubic-bezier(.22,1,.36,1),border-color .2s ease}
  html:root body .acc-stat-card:hover,html:root body .acc-quick-card:hover,html:root body .acc-support-card:hover,html:root body .acc-order-card:hover{transform:translate3d(0,-2px,0);border-color:rgba(173,150,230,0.3)}
}
/* — состояния кнопок: busy / copied — */
@keyframes sfSpin{to{transform:rotate(360deg)}}
.sf-busy{cursor:progress}
.sf-busy-ui{position:relative;opacity:.88}
.sf-busy-ui::after{content:"";position:absolute;right:14px;top:50%;width:16px;height:16px;margin-top:-8px;border-radius:50%;border:2px solid rgba(255,255,255,.28);border-top-color:#f5f2fe;animation:sfSpin .7s linear infinite;pointer-events:none}
html:root body .sf-copied{color:#d9cdee!important;border-color:rgba(158,140,190,0.45)!important;background:rgba(132,110,170,0.16)!important;--sf-i:var(--sf-ico-check)!important}
/* — успех пополнения — */
html.sf-topup-ok .acc-wallet-card,html.sf-topup-ok .acc-dash-hero{position:relative;animation:sfPop .9s cubic-bezier(.22,1,.36,1)}
html.sf-topup-ok .acc-wallet-card::after,html.sf-topup-ok .acc-dash-hero::after{content:"";position:absolute;inset:-2px;border-radius:inherit;border:2px solid rgba(140,190,170,.65);pointer-events:none;animation:sfRing 1.4s ease-out both}
@keyframes sfPop{0%{transform:scale(1)}35%{transform:scale(1.025)}100%{transform:none}}
@keyframes sfRing{from{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.05)}}
/* — нижняя навигация и «Ещё» (только мобильный кабинет) — */
.sf-bnav,.sf-sheet{display:none}
@media (max-width:900px){
  html:root body.acc-authed .acc-sidebar,html:root body.acc-authed .acc-topbar-nav{display:none!important}
  html:root body.acc-authed .acc-topbar-inner{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:60px;padding:8px 14px;flex-wrap:nowrap!important}
  html:root body.acc-authed .acc-topbar-brand{flex:0 0 auto;min-width:0}
  html:root body.acc-authed .acc-topbar-brand-text small{display:none}
  html:root body.acc-authed .acc-topbar-tools{margin-left:auto;display:flex;align-items:center;gap:8px;min-width:0}
  html:root body.acc-authed .acc-topbar-balance{min-height:40px}
  html:root body.acc-authed .acc-main{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
  html:root body.acc-authed .sf-bnav{display:flex;position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:120;height:64px;padding:6px;gap:2px;border-radius:20px;
    background:rgba(18,14,28,0.95);border:1px solid rgba(255,255,255,.1);box-shadow:0 10px 30px rgba(0,0,0,.5);transition:transform .24s cubic-bezier(.22,1,.36,1),opacity .2s;max-width:560px;margin:0 auto}
  html.sf-kb body.acc-authed .sf-bnav,html.sf-sheet-open body.acc-authed .sf-bnav{transform:translate3d(0,140%,0);opacity:0;pointer-events:none}
  .sf-bnav-item{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;border:0;background:none;color:rgba(201,190,230,0.72);
    font:650 11px/1 inherit;letter-spacing:.01em;border-radius:14px;-webkit-tap-highlight-color:transparent;cursor:pointer;transition:color .18s,background-color .18s,transform .12s}
  .sf-bnav-item:active{transform:scale(.95)}
  .sf-bnav-item.is-active{color:#f3effe;background:rgba(131,105,196,0.22)}
  .sf-bnav-ico .sf-i{width:22px;height:22px;display:block}
  .sf-bnav-lbl{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html:root body.acc-authed .sf-sheet{display:block;position:fixed;inset:0;z-index:130;visibility:hidden;pointer-events:none}
  html:root body.acc-authed .sf-sheet.is-open{visibility:visible;pointer-events:auto}
  .sf-sheet-bd{position:absolute;inset:0;background:rgba(5,3,10,0.62);opacity:0;transition:opacity .22s}
  .sf-sheet.is-open .sf-sheet-bd{opacity:1}
  .sf-sheet-card{position:absolute;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));max-width:520px;margin:0 auto;border-radius:22px;padding:8px 8px 10px;
    background:linear-gradient(180deg,rgba(30,24,44,0.99),rgba(15,12,24,0.99));border:1px solid rgba(255,255,255,.1);box-shadow:0 20px 50px rgba(0,0,0,.55);
    transform:translate3d(0,26px,0);opacity:0;transition:transform .28s cubic-bezier(.22,1,.36,1),opacity .2s}
  .sf-sheet.is-open .sf-sheet-card{transform:none;opacity:1}
  .sf-sheet-grip{display:block;width:38px;height:4px;border-radius:4px;background:rgba(255,255,255,.18);margin:4px auto 8px}
  .sf-sheet-item{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;padding:0 12px;border:0;background:none;color:#ebe6f7;font:650 15px/1.2 inherit;border-radius:14px;text-decoration:none;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .15s}
  .sf-sheet-item:active{background:rgba(255,255,255,.07)}
  .sf-sheet-ico{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(131,105,196,0.16);color:#d9cbfd;flex:none}
  .sf-sheet-ico .sf-i{width:19px;height:19px}
  .sf-sheet-arr{margin-left:auto;opacity:.45}.sf-sheet-arr .sf-i{width:16px;height:16px}
  .sf-sheet-item--danger{color:#efb4b4}.sf-sheet-item--danger .sf-sheet-ico{background:rgba(214,110,110,.12);color:#efb4b4}
}
@media (max-width:900px) and (prefers-reduced-motion:reduce){.sf-bnav,.sf-sheet-card,.sf-sheet-bd{transition:none}}
/* — боковое меню: линейные иконки единого набора — */
html:root body .acc-nav-ico .sf-i{width:18px;height:18px}
html:root body .acc-orders-search-icon .sf-i{width:16px;height:16px}

/* — единая ширина секций кабинета, по центру области контента — */
@media (min-width:901px){html:root body .acc-main>.acc-section{max-width:920px;margin-left:auto;margin-right:auto}html:root body .acc-balance-page,html:root body .acc-dash-page{max-width:920px}}
@media (min-width:901px){html:root body .sf-hdr-avatar{display:none!important}}
.sf-hdr-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border-radius:50%;overflow:hidden;border:1px solid rgba(173,150,230,0.35);background:linear-gradient(135deg,rgba(131,105,196,0.55),rgba(103,72,150,0.4));color:#f5f2fe;font:700 15px/1 inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sf-hdr-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.sf-hdr-avatar:active{transform:scale(.94)}

/* ===== CLS: stable dashboard column (dynamic showcase goes below static blocks; stats reserve real height) ===== */
html:root body .acc-dash-panel #acc-showcase{order:2}
html:root body .acc-dash-panel .acc-dash-block--orders{order:3}
html:root body #acc-stat-grid{min-height:79px}
@media (max-width:1000px){html:root body #acc-stat-grid{min-height:164px}}
@media (max-width:560px){html:root body #acc-stat-grid{min-height:331px}}
html:root body #acc-dash-hero{min-height:203px}
@media (max-width:560px){html:root body #acc-dash-hero{min-height:252px}}
@media (min-width:1001px){html:root body #acc-dash-hero{min-height:212px}}

/* ===== narrow header: keep RU/EN pill inside the viewport ===== */
@media (max-width:430px){html:root body .acc-topbar-brand-text{display:none!important}}
@media (max-width:350px){html:root body .sf-hdr-avatar{display:none!important}html:root body .acc-topbar-tools{gap:6px}}
@media (max-width:350px){html:root body.acc-authed .sf-bnav{left:6px;right:6px;padding:5px 3px;gap:0}html:root body .sf-bnav-item{font-size:10px;letter-spacing:-.01em}html:root body .sf-bnav-ico .sf-i{width:20px;height:20px}}

/* ===== Stage C: support hero in the muted palette ===== */
html:root body .acc-support-hero{border-color:rgba(153,130,210,0.26)!important;background:radial-gradient(120% 100% at 0% 0%,rgba(131,105,196,0.18),transparent 55%),radial-gradient(90% 80% at 100% 0%,rgba(102,70,150,0.1),transparent 50%),linear-gradient(165deg,rgba(24,18,40,0.98),rgba(11,8,18,0.99))!important}
html:root body .acc-support-hero:hover{border-color:rgba(173,150,230,0.45)!important;box-shadow:0 24px 60px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.07)!important}
html:root body .acc-support-hero-glow{background:radial-gradient(circle,rgba(131,105,196,0.22),transparent 70%)!important}
html:root body .acc-support-hero-label{color:rgba(188,170,235,0.82)!important}
html:root body .acc-support-hero-cta{color:#f3effe!important;background:var(--sf-grad-cta)!important;border:1px solid rgba(183,160,240,0.28);box-shadow:0 8px 22px rgba(85,60,150,0.28)!important;filter:none!important}
html:root body .acc-support-hero:hover .acc-support-hero-cta{filter:none!important;background:linear-gradient(135deg,var(--sf-ind-h1),var(--sf-ind-h2))!important}
html:root body .acc-support-hero-icon{border-color:rgba(173,150,230,0.28)!important;background:rgba(131,105,196,0.12)!important;color:#d9cbfd}
html:root body .acc-tg-logo{background:linear-gradient(145deg,rgba(131,105,196,0.55),rgba(102,70,150,0.38))!important;border:1px solid rgba(183,160,240,0.28);color:#eee7fe;box-shadow:0 10px 26px rgba(47,30,90,0.35)!important}
html:root body .acc-tg-logo--muted{background:rgba(131,105,196,0.14)!important;box-shadow:none!important;opacity:1}

/* bottom nav labels: the earlier `font` shorthand with `inherit` family was invalid → explicit longhands */
html:root body .sf-bnav-item{font-family:inherit;font-weight:650;font-size:11px;line-height:1}
html:root body .sf-sheet-item{font-family:inherit}
@media (max-width:350px){html:root body .sf-bnav-item{font-size:10px}}
html:root body .gen-card .link-btn{font-family:inherit;font-weight:650;font-size:13px;line-height:1}
html:root body .sf-sheet-item{font-weight:650;font-size:15px;line-height:1.2}
html:root body .sf-hdr-avatar{font-family:inherit;font-weight:700;font-size:15px;line-height:1}

/* ===== /privacy /terms: one muted palette for both documents, headings like "Аренда/Услуги" ===== */
html:root body .legal-title,html[data-legal] body .legal-page .legal-title{background:linear-gradient(120deg,#f7f4ff 0%,#d1c4f2 55%,#baa8d4 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important;letter-spacing:-.01em}
html:root body .legal-kicker,html[data-legal] body .legal-kicker{color:rgba(188,170,235,0.85)!important}
html:root body .legal-hero,html[data-legal="terms"] body .legal-hero,html[data-legal] body .legal-hero{border-color:rgba(153,130,210,0.2)!important;background:radial-gradient(120% 100% at 0% 0%,rgba(131,105,196,0.15),transparent 55%),radial-gradient(90% 80% at 100% 0%,rgba(102,70,150,0.09),transparent 50%),linear-gradient(165deg,rgba(24,18,40,0.98),rgba(11,8,18,0.99))!important}
html:root body .legal-hero-glow{background:radial-gradient(circle,rgba(131,105,196,0.2),transparent 70%)!important}
html:root body .legal-hero-badge,html[data-legal] body .legal-hero-badge{color:#e2d7fd!important;border-color:rgba(173,150,230,0.28)!important;background:linear-gradient(145deg,rgba(131,105,196,0.2),rgba(102,70,150,0.08))!important;box-shadow:0 12px 30px rgba(47,30,90,0.3)!important}
html:root body .legal-switch-btn.is-active,html[data-legal] body .legal-switch-btn.is-active{color:#f3effe!important;border-color:rgba(173,150,230,0.38)!important;background:radial-gradient(120% 100% at 0% 0%,rgba(131,105,196,0.2),transparent 60%),linear-gradient(160deg,rgba(55,40,92,0.4),rgba(15,12,24,0.96))!important;box-shadow:0 10px 28px rgba(47,30,90,0.25)!important}
@media (max-width:560px){
  html:root body .lg-bc li:not(:last-child){display:none}
  html:root body .lg-bc li:last-child::before{content:none}
}
/* brand link keeps an accessible name when the wordmark is hidden on narrow screens */
@media (max-width:430px){html:root body .acc-topbar-brand-text{display:block!important;position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}}

/* one heading gradient for all cabinet sections */
html:root body .acc-section h1{background:linear-gradient(120deg,#f7f4ff 0%,#d1c4f2 60%,#baa8d4 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important}

/* ===== Stage D: product card fixes (owner screenshots) ===== */
/* [hidden] must win over the display set by button/generator rules */
html:root body :is(.btn,.shop-generator-block,.shop-quota-bar,.result-135,.acc-access-cta,.shop-pay-use-balance,.shop-pay-balance-hint.is-hidden,.shop-price-old,.shop-price-badge)[hidden]{display:none!important}
/* even more muted action colours */
:root{--sf-ind-1:#4f3b80;--sf-ind-2:#42326b;--sf-ind-fg:#ede8fb;--sf-teal-1:#3a2756;--sf-teal-2:#302047;--sf-teal-fg:#e8e3f2;--sf-ind-h1:#5d4797;--sf-ind-h2:#4f3b81;--sf-ind-a1:#473478;--sf-ind-a2:#3c2d62}
html:root body .shop-pay-btn.shop-pay-btn--sbp,html:root body .shop-pay-btn.shop-pay-btn--usdt{border:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important}
html:root body .shop-pay-btn.shop-pay-btn--sbp:hover:not(:disabled){background:linear-gradient(135deg,var(--sf-ind-h1),var(--sf-ind-h2))!important}
html:root body .shop-pay-btn.shop-pay-btn--usdt:hover:not(:disabled){background:linear-gradient(135deg,#432e62,#372552)!important}
/* pay buttons: one line label, never overflow */
html:root body .shop-pay-btn .shop-pay-btn-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:root body .shop-pay-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:640px){html:root body .shop-pay-methods{grid-template-columns:1fr}}
/* use-balance row: neutral instead of amber */
html:root body .shop-pay-use-balance{border:1px solid rgba(255,255,255,.1)!important;background:rgba(255,255,255,.035)!important;color:rgba(239,233,254,0.9);font-size:13px;align-items:center}
html:root body .shop-pay-use-balance input{accent-color:#745bb4;margin:0}
html:root body .shop-pay-btn-icon--balance{color:inherit}
/* balance button (when visible) sits above the two method buttons with a gap */
html:root body .shop-pay-row{display:flex;flex-direction:column;gap:10px}
/* sticky mobile buy bar: muted */
html:root body .shop-sticky-buy .btn,html:root body .shop-mobile-buy .btn{background:linear-gradient(135deg,var(--sf-ind-1),var(--sf-ind-2))!important}
html:root body #chk-use-balance,html:root body #frp-gate-remember,html:root body .acc-check input[type=checkbox]{border:1px solid rgba(255,255,255,.28)!important;background-color:rgba(255,255,255,.04)!important;border-radius:6px}
html:root body #chk-use-balance:checked,html:root body #frp-gate-remember:checked,html:root body .acc-check input[type=checkbox]:checked{background-color:#5e469a!important;border-color:#826ac0!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3 4.9 9l4.9-5.6' fill='none' stroke='%23eef0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-size:12px 12px!important;background-position:center!important;background-repeat:no-repeat!important}
html:root body #chk-use-balance:focus-visible,html:root body #frp-gate-remember:focus-visible,html:root body .acc-check input[type=checkbox]:focus-visible{box-shadow:0 0 0 3px rgba(155,130,220,0.35)!important}
/* download block rhythm */
html:root body .shop-downloads-block{display:flex;flex-direction:column;gap:12px}
html:root body .shop-downloads-block .shop-block-label{margin:0}
html:root body .shop-dl-row{display:flex;flex-direction:column;gap:10px}

/* ===== Stage E: narrow screens / big zoom — nothing may overflow or be clipped in the product card ===== */
html:root body :is(#shop-master,.shop-master-inner,.shop-master-content,.shop-purchase-block,.shop-version-hero,.shop-downloads-block,.shop-pay-row,.shop-pay-methods,.shop-pay-btn,.shop-price-row,.shop-dl-row,.shop-dl-pass,.shop-qty-row,.shop-generator-block,.shop-pay-use-balance){min-width:0;max-width:100%;box-sizing:border-box}
html:root body .shop-pay-methods{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media (max-width:640px){html:root body .shop-pay-methods{grid-template-columns:minmax(0,1fr)}}
/* qty row: label wraps, stepper never leaves the row */
html:root body .shop-qty-row{flex-wrap:wrap;row-gap:8px}
html:root body .shop-qty-label-text{flex:1 1 130px;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.25}
html:root body .shop-qty-stepper{margin-left:auto;max-width:100%}
html:root body .shop-qty-val{min-width:26px}
/* pay buttons: allow two lines instead of cutting the amount */
html:root body .shop-pay-btn{height:auto;min-height:50px}
html:root body .shop-pay-btn .shop-pay-btn-label{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.2;overflow-wrap:anywhere;text-align:left}
html:root body .shop-pay-use-balance span{min-width:0;overflow-wrap:anywhere}
html:root body .shop-pay-btn-text{min-width:0}
/* download block */
html:root body .shop-dl-mirrors{display:flex;flex-wrap:wrap;gap:10px}
html:root body .shop-dl-btn{flex:1 1 auto;max-width:100%}
html:root body .shop-dl-btn-label{overflow-wrap:anywhere}
html:root body .shop-dl-pass{flex-wrap:wrap;row-gap:6px}
html:root body .shop-dl-pass-body{min-width:0;flex:1 1 90px}
html:root body .shop-dl-pass-label,html:root body .shop-dl-pass-value{overflow-wrap:anywhere}
/* tighter gutters on small screens */
@media (max-width:400px){
  html:root body .shop-master-content{padding-left:10px;padding-right:10px}
  html:root body .shop-purchase-block,html:root body .shop-downloads-block,html:root body .shop-version-hero{padding-left:12px;padding-right:12px}
  html:root body .shop-qty-row{padding:8px 10px}
  html:root body #shop-catalog{padding-left:10px;padding-right:10px}
  html:root body .shop-price-usdt--hero{font-size:clamp(28px,11vw,40px)}
}
@media (max-width:260px){html:root body .shop-qty-btn{width:30px;height:30px}html:root body .shop-qty-stepper{gap:2px}html:root body .shop-qty-stepper .shop-qty-val{min-width:18px!important;padding:0 2px!important}}
@media (max-width:480px){
  html:root body .shop-version-dd-trigger{height:auto;min-height:48px;padding-top:8px;padding-bottom:8px}
  html:root body .shop-version-dd-value{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.25;text-align:left}
  html:root body .shop-version-dd-menu .shop-version-dd-option{white-space:normal;overflow-wrap:anywhere}
}
@media (max-width:220px){html:root body .shop-qty-btn{width:24px;height:24px}html:root body .shop-qty-stepper{gap:1px}}

/* ===== Stage F: степпер количества (круглые кнопки, SVG-знаки) и единый ритм блока «Оплата» ===== */
html:root body{--sf-q:36px}
@media (max-width:640px){html:root body{--sf-q:40px}}
html:root body .shop-qty-stepper{display:inline-flex;align-items:center;justify-content:center;gap:0;flex:none}
html:root body .shop-qty-btn,
html:root body .shop-dhru-modal-qty .shop-qty-btn,
html:root body .shop-dhru-modal-card--authed .shop-dhru-modal-qty .shop-qty-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 var(--sf-q);width:var(--sf-q)!important;height:var(--sf-q)!important;min-width:var(--sf-q)!important;min-height:var(--sf-q)!important;padding:0;margin:0;border-radius:50%!important;border:1px solid var(--sf-ghost-bd);background:var(--sf-ghost-bg);color:var(--sf-ghost-fg);font-size:0;line-height:0;cursor:pointer}
html:root body .shop-qty-btn:hover,
html:root body .shop-dhru-modal-qty .shop-qty-btn:hover{background:rgba(255,255,255,.1);border-color:rgba(192,169,251,0.35);color:var(--sf-ghost-fg)}
html:root body .shop-qty-btn:active{background:rgba(255,255,255,.14)}
html:root body .shop-qty-btn:focus-visible{outline:2px solid rgba(192,169,251,0.7);outline-offset:2px}
html:root body .shop-qty-btn svg{display:block;flex:none;width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
html:root body .shop-qty-val,
html:root body .shop-dhru-modal-qty .shop-qty-val{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:48px;height:var(--sf-q);padding:0 6px;text-align:center;font-size:16px;line-height:1;font-weight:750;font-variant-numeric:tabular-nums}
/* окно IMEI: степпер без своей рамки, в одну линию с заголовком */
html:root body .shop-dhru-modal-qty .shop-qty-stepper,
html:root body .shop-dhru-qty-stepper{padding:0;border:0;background:none;border-radius:0}
html:root body .shop-dhru-modal-qty-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
/* единый ритм блока оплаты: 12px между всеми элементами */
html:root body .shop-purchase-block{display:flex;flex-direction:column;gap:12px}
html:root body .shop-purchase-block[hidden]{display:none}
html:root body .shop-purchase-block>*{margin:0!important}
html:root body .shop-purchase-block .shop-pay-row{gap:12px}
html:root body .shop-purchase-block .shop-pay-methods{gap:12px}
html:root body .shop-qty-row{min-height:60px;padding:10px 12px;align-items:center}
html:root body .shop-qty-label-text{line-height:1.3}
@media (max-width:220px){html:root body{--sf-q:28px}html:root body .shop-qty-val{min-width:32px}}
/* единые радиусы: блоки оплаты 14px, кнопки скачивания 12px */
html:root body .shop-purchase-block :is(.shop-qty-row,.shop-price-row--checkout,.shop-pay-btn,.shop-pay-use-balance){border-radius:14px}
html:root body .shop-dl-btn{border-radius:12px}
html:root body .shop-purchase-block .shop-pay-btn{border-radius:14px!important}
html:root body .shop-pay-btn--balance{justify-content:flex-start}
html:root body .shop-pay-btn--balance .shop-pay-btn-text{flex:1 1 auto;min-width:0;text-align:left}
/* окно IMEI: «Количество» слева, степпер справа, пустая подсказка не занимает место */
html:root body .shop-dhru-modal-qty{gap:8px 12px}
html:root body .shop-dhru-modal-qty-top{flex:1 1 100%;min-width:0}
html:root body .shop-dhru-modal-qty-hint:empty{display:none}
html:root body .shop-dhru-modal-qty-hint{margin:0}
/* окно IMEI: «С баланса» — спокойная кнопка (раньше светлая и нечитаемая в disabled) */
html:root body .shop-dhru-pay-btn--balance{background:var(--sf-ghost-bg)!important;color:var(--sf-ghost-fg)!important;border:1px solid var(--sf-ghost-bd)!important;box-shadow:none!important}
html:root body .shop-dhru-pay-btn--balance .shop-dhru-pay-name,html:root body .shop-dhru-pay-btn--balance .shop-dhru-pay-go,html:root body .shop-dhru-pay-btn--balance .shop-dhru-pay-amount{color:var(--sf-ghost-fg)!important}
html:root body .shop-dhru-pay-btn--balance .shop-dhru-pay-amount{opacity:.7}
html:root body .shop-dhru-pay-btn--balance .shop-dhru-pay-icon{background:rgba(255,255,255,.06);color:var(--sf-ghost-fg)}
html:root body .shop-dhru-pay-btn--balance:disabled{opacity:.6}
html:root body .shop-dhru-pay-btn--balance .shop-dhru-pay-icon{background:none;border:0}
html:root body .shop-dhru-modal-section-title{color:rgba(206,190,245,0.72)}
