/* VeriSMS — visual tokens */
:root {
  --orange: #fb7800;
  --orange-2: #fc983d;
  --orange-soft: rgba(251, 120, 0, 0.4);
  --orange-soft-2: rgba(251, 120, 0, 0.12);
  --green: #0ea341;
  --ink: #22252d;          /* body text color */
  --ink-2: #22252d;
  --muted: #6b7280;
  --line: #e8eaed;
  --bg: #f5f5f5;
  --card: #ffffff;
  --radius-10: 10px;
  --radius-8: 8px;
  --radius-16: 16px;
  --gap: 16px;
  --container: 1400px;
  --content: 1352px;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  line-height: 24px;
}
* { box-sizing: border-box; }
html { height: 100%; }
html, body { margin: 0; background: var(--bg); min-height: 100%; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ===== TOP HEADER (white) — header ===== */
.header-root { position: sticky; top: 0; z-index: 100; flex-shrink: 0; }
.header-top {
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: 64px;
  display: flex;
  align-items: center;
}
.header-top-content {
  display: flex;
  align-items: center;
  width: 100%;
  height: 64px;
  gap: 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: #22252d;
  white-space: nowrap;
  flex: 0 0 auto;
  height: 50px;
  box-sizing: border-box;
}
/* Rounded white pill behind icon + wordmark (header + footer). */
.header-top .logo,
.footer-brand {
  background: #fff;
  border-radius: 12px;
  padding: 3px 12px 3px 3px;
  height: auto;
  max-height: 56px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.logo img {
  width: auto;
  height: 44px;
  max-height: 44px;
  border-radius: 9px;
  object-fit: contain;
}
.logo img.logo-word {
  width: auto;
  max-width: none;
  height: 36px;
  max-height: 36px;
  border-radius: 0;
  object-fit: contain;
}
.logo img.logo-word--sm {
  height: 22px;
  max-height: 22px;
  max-width: none;
}
.logo img[hidden], .logo span[hidden] { display: none !important; }
.footer-brand {
  height: auto;
  max-height: none;
  padding: 4px 10px 4px 4px;
  border-radius: 10px;
  gap: 6px;
}
.footer-brand img {
  height: 28px;
  max-height: 28px;
  width: auto;
  border-radius: 7px;
}
.footer-brand img.logo-word,
.footer-brand img.logo-word--sm {
  height: 20px;
  max-height: 20px;
}
.footer-brand img[hidden], .footer-brand span[hidden] { display: none !important; }
.nav-main {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 40px;
  overflow: hidden;
}
.nav-main a {
  padding: 0;
  border-radius: 0;
  color: #292c36;
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}
.nav-main a:hover { color: var(--orange); }
.nav-main a.on { color: var(--orange); }

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}
.hdr-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: rgba(34, 37, 45, 0.04);
  color: var(--ink);
  cursor: pointer;
  box-sizing: border-box;
}
.hdr-ico:hover { background: rgba(34, 37, 45, 0.08); }
.lang-toggle { position: relative; }
.lang-toggle > summary { list-style: none; width: auto; min-width: 49px; }
.lang-toggle > summary::-webkit-details-marker { display: none; }
.lang-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; display: block; }
.lang-caret { opacity: .7; flex: 0 0 auto; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16,24,40,.12);
  padding: 6px;
  z-index: 120;
}
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.lang-menu button:hover,
.lang-menu button.on { background: rgba(251, 120, 0,.12); color: var(--orange); }
.lang-menu img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.burger { display: none; font-size: 18px; width: 40px; }
.lang-native { display: none !important; }
/* ===== THEME / SOUND / NOTIFY CONTROLS ===== */
.hdr-sound { position: relative; }
.hdr-sound > summary { list-style: none; }
.hdr-sound > summary::-webkit-details-marker { display: none; }
.hdr-sound__panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 140;
  min-width: 260px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(34, 37, 45, 0.1);
  box-shadow: 0 4px 24px rgba(16, 24, 40, 0.25);
}
.hdr-sound__panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}
.hdr-sound[open] .hdr-sound__panel,
.hdr-sound:hover .hdr-sound__panel { display: block; }
.hdr-sound__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  user-select: none;
}
.hdr-sound__row:hover { color: var(--orange); }
.hdr-sound__row input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--orange);
  cursor: pointer;
}
.hdr-sound__row span { flex: 1; }
.hdr-sound__preview {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.hdr-sound__preview:hover { transform: scale(1.12); background: rgba(251, 120, 0,.1); }
.hdr-notify-wrap { position: relative; }
.hdr-notify-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}
.notifications-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.notifications-root:not([hidden]) { pointer-events: auto; }
.notifications-root .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding-top: 64px;
}
.notifications {
  width: min(420px, calc(100vw - 24px));
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(16,24,40,.22);
  border: 1px solid rgba(34,37,45,.08);
  overflow: hidden;
}
.notifications__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0;
}
.notifications__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.notifications__mark {
  border: 0;
  background: transparent;
  color: #ada9a6;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}
.notifications__mark:hover { text-decoration: underline; color: var(--orange); }
.notifications__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0 16px 20px;
  max-height: min(70vh, 480px);
  overflow: auto;
}
.notifications__empty,
.notifications__hint {
  font-size: 14px;
  font-weight: 500;
  color: #767d88;
  padding: 12px 0 4px;
}
.notifications__item {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(34,37,45,.04);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
}
.notifications__item.unread {
  background: rgba(251, 120, 0,.08);
  border-color: rgba(251, 120, 0,.18);
}
.notifications__item:hover { border-color: rgba(251, 120, 0,.35); }
.notifications__item-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.notifications__item-body { font-size: 13px; color: #5f6670; word-break: break-word; }
.notifications__item-time { font-size: 12px; color: #9aa0a6; }
.notifications__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(16, 24, 40, 0.18);
}

html[data-theme="dark"] {
  --ink: #ffffff;
  --ink-2: #ffffff;
  --muted: #cfc6bb;
  --line: rgba(255, 255, 255, 0.12);
  --bg: #241706;
  --card: #180e02;
  color-scheme: dark;
}
html[data-theme="dark"] body { background: #241706; color: #fff; }
html[data-theme="dark"] .header-top {
  background: #180e02;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .header-bottom { background: #4c2910; }
html[data-theme="dark"] .nav-main a { color: var(--orange); }
html[data-theme="dark"] .logo { color: #22252d; }
html[data-theme="dark"] .panel,
html[data-theme="dark"] .fav-panel,
html[data-theme="dark"] .promo-card,
html[data-theme="dark"] .card-panel,
html[data-theme="dark"] .mkt-page .card-panel,
html[data-theme="dark"] .act-card,
html[data-theme="dark"] .lang-menu,
html[data-theme="dark"] .hdr-sound__panel,
html[data-theme="dark"] .notifications,
html[data-theme="dark"] .how-block,
html[data-theme="dark"] .video-block,
html[data-theme="dark"] .blog-block,
html[data-theme="dark"] .feedback-block,
html[data-theme="dark"] .seo,
html[data-theme="dark"] .seo.seo-right {
  background: #180e02;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-theme="dark"] .how-block,
html[data-theme="dark"] .video-block,
html[data-theme="dark"] .blog-block,
html[data-theme="dark"] .feedback-block,
html[data-theme="dark"] .seo {
  border: 1px solid rgba(255, 255, 255, 0.1);
}
html[data-theme="dark"] .hdr-ico { background: rgba(255, 255, 255, 0.06); color: #fff; }
html[data-theme="dark"] .lang-menu button,
html[data-theme="dark"] .hdr-sound__row { color: #fff; }
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .footer { background: #140c02; color: #cfc6bb; }
html[data-theme="dark"] .site-footer a,
html[data-theme="dark"] .footer a { color: #fb7800; }
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .contact input,
html[data-theme="dark"] .contact textarea,
html[data-theme="dark"] .form input,
html[data-theme="dark"] .form select,
html[data-theme="dark"] .form textarea,
html[data-theme="dark"] .search-wrap,
html[data-theme="dark"] .search-wrap input,
html[data-theme="dark"] .file-attach-input {
  background: #4c2910;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}
html[data-theme="dark"] .search-wrap input::placeholder,
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
html[data-theme="dark"] .svc-item,
html[data-theme="dark"] .country-row,
html[data-theme="dark"] .fav-card,
html[data-theme="dark"] .multi-prices .price-chip {
  background: #4c2910;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-theme="dark"] .svc-item:hover,
html[data-theme="dark"] .fav-card:hover {
  background: rgba(251, 120, 0, 0.18);
  border-color: rgba(251, 120, 0, 0.35);
}
html[data-theme="dark"] .svc-item.on {
  background: rgba(251, 120, 0, 0.4);
  border-color: rgba(251, 120, 0, 0.55);
}
html[data-theme="dark"] .mode-tabs .tab,
html[data-theme="dark"] .country-sort button {
  background: #4c2910;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-theme="dark"] .mode-tabs .tab.on,
html[data-theme="dark"] .country-sort button.on {
  background: #fb7800;
  color: #fff;
  border-color: #fb7800;
}
html[data-theme="dark"] .how-block > h2,
html[data-theme="dark"] .how-title,
html[data-theme="dark"] .how-lead,
html[data-theme="dark"] .how-step,
html[data-theme="dark"] .how-blurb,
html[data-theme="dark"] .blog-title,
html[data-theme="dark"] .blog-card h3,
html[data-theme="dark"] .blog-announce,
html[data-theme="dark"] .blog-meta,
html[data-theme="dark"] .feedback-block > h2,
html[data-theme="dark"] .fav-title,
html[data-theme="dark"] .seo h1,
html[data-theme="dark"] .seo h2,
html[data-theme="dark"] .seo p,
html[data-theme="dark"] .seo li,
html[data-theme="dark"] .feedback-agree,
html[data-theme="dark"] .file-attach-hint,
html[data-theme="dark"] .country-name,
html[data-theme="dark"] .country-qty,
html[data-theme="dark"] .panel-title,
html[data-theme="dark"] .section-title {
  color: #fff;
}
html[data-theme="dark"] .blog-announce,
html[data-theme="dark"] .how-lead,
html[data-theme="dark"] .how-blurb,
html[data-theme="dark"] .seo p,
html[data-theme="dark"] .seo li,
html[data-theme="dark"] .feedback-agree,
html[data-theme="dark"] .file-attach-hint,
html[data-theme="dark"] .blog-meta,
html[data-theme="dark"] .country-qty {
  color: #cfc6bb;
}
html[data-theme="dark"] .seo.seo-right:not(.is-open) .seo-clip::after {
  background: linear-gradient(180deg, rgba(24, 14, 2, 0), #180e02 85%);
}
html[data-theme="dark"] .notifications__item { background: rgba(255, 255, 255, 0.04); }
html[data-theme="dark"] .notifications__item.unread { background: rgba(251, 120, 0, 0.16); }
html[data-theme="dark"] .notifications__backdrop { background: rgba(0, 0, 0, 0.45); }
html[data-theme="dark"] .notifications__title,
html[data-theme="dark"] .notifications__item-title { color: #fff; }
html[data-theme="dark"] .btn-auth,
html[data-theme="dark"] .btn-topup {
  background: var(--orange) !important;
  color: #fff !important;
}
html[data-theme="dark"] .account-menu a {
  background: transparent;
  color: #fff;
}
html[data-theme="dark"] .account-menu a:hover,
html[data-theme="dark"] .account-menu a.on {
  background: rgba(255, 255, 255, 0.16);
}
html[data-theme="dark"] .bal-pill {
  background: rgba(251, 120, 0, 0.85);
  color: #fff;
}
html[data-theme="dark"] .banner,
html[data-theme="dark"] .home-banner { border-color: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .act-card .phone,
html[data-theme="dark"] .act-card .meta { color: #fff; }
html[data-theme="dark"] .act-card button {
  background: #4c2910;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}
html[data-theme="dark"] .multi-price-row,
html[data-theme="dark"] .tier-more summary {
  background: #4c2910;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

/* ===== ORANGE ACCOUNT BAR ===== */
.header-bottom {
  background: var(--orange);
  height: 51px;
  display: flex;
  align-items: center;
}
.header-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 51px;
}
.account-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 1 auto;
  min-width: 0;
}
.account-menu a {
  display: inline-flex;
  align-items: center;
  height: 33px;
  padding: 0 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,.2);
  white-space: nowrap;
}
.account-menu a:first-child { border-radius: 8px 0 0 8px; }
.account-menu a:last-child { border-radius: 0 8px 8px 0; }
.account-menu a:hover,
.account-menu a.on { background: rgba(255,255,255,.36); }
.account-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}
.acct-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  max-width: 240px;
}
.acct-email span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acct-copy {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: .95;
}
.acct-copy:hover { opacity: 1; }
.bal-pill {
  display: inline-flex;
  align-items: center;
  height: 33px;
  padding: 0 12px;
  border-radius: 8px;
  background: #e56a00;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.bal-pill strong { color: #fff; font-weight: 700; margin-left: 4px; }
.btn-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  padding: 0 16px;
  border-radius: 8px;
  background: #fff;
  color: #fa7900 !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}
.btn-auth:hover { filter: brightness(0.98); }
.btn-logout {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0 4px;
  height: 33px;
}
.btn-logout:hover { opacity: .9; }
.btn-auth[hidden], .bal-pill[hidden], .link-light[hidden],
.acct-email[hidden], .btn-topup[hidden], .btn-logout[hidden] { display: none !important; }
.footer-brand { color: #22252d !important; }

/* ===== PAGE ===== */
.app {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 16px 24px 40px;
  box-sizing: border-box;
  flex: 1 0 auto;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap);
  align-items: stretch;
}
.col-left, .col-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
/* Right content sets grid row height; left uses height:0 + min-height:100% so it fills without expanding */
.col-left {
  height: 0;
  min-height: 100%;
  overflow: hidden;
}
.col-right {
  min-height: 0;
}
#leftPane {
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  min-height: 0;
  overflow: hidden;
}
.panel-services {
  flex: 0 0 auto;
}
.panel-countries {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0;
  overflow: hidden;
}
.panel-countries .panel-b {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  min-height: 0;
  overflow: hidden;
}
/* keep right content stacked at top column wrappers still stretch equal height */
@media (max-width: 1400px) {
  .app,
  .container,
  .footer-grid,
  .copy {
    width: min(100%, var(--container));
    max-width: var(--container);
  }
}

.mode-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex: 0 0 auto; }
.mode-tabs .tab {
  height: 36px;
  padding: 10px 12px;
  border-radius: var(--radius-10);
  border: 0;
  background: #fff;
  color: #767d88;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  cursor: default;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.mode-tabs .tab.on {
  background: var(--green);
  color: #fff;
}

/* Left cards measured: br 16px, pad 16px 20px 20px */
.panel {
  background: var(--card);
  border-radius: var(--radius-16);
  box-shadow: 0 1px 3px rgba(16,24,40,.06);
  overflow: hidden;
  margin-bottom: 12px;
  padding: 16px 20px 20px;
}
.panel-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 12px;
  gap: 12px;
}
.panel-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-2);
  line-height: 1.2;
}
.panel-title #svcLabel,
.panel-title span {
  color: var(--orange);
  font-weight: 800;
}
.panel-link {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.panel-h h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-2);
}
.panel-h a {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
}
.panel-b { padding: 0; }

.search-wrap {
  position: relative;
  margin-bottom: 12px;
  background: #f5f5f5;
  border-radius: 10px;
  height: 48px;
}
.search-wrap input {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 10px;
  padding: 0 20px 0 48px;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  color: var(--ink);
  outline: none;
}
.search-wrap::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: var(--orange) center / 18px 18px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Zm0-2a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11Zm7.03.97 2.12 2.12a1 1 0 0 0 1.42-1.42l-2.12-2.12a1 1 0 0 0-1.42 1.42Z' fill='%23fff'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Popular list = 3 columns (Grizzly); 2 cols on narrower panes */
.svc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 232px; /* ~4 rows × 48px + gaps, matches Grizzly popular list */
  overflow: auto;
  scrollbar-width: thin;
}
.svc-grid:not(.is-scroll) {
  overflow: hidden;
}
.svc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 calc((100% - 16px) / 3);
  width: calc((100% - 16px) / 3);
  height: 48px;
  min-height: 48px;
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.1);
  background: #f5f5f5;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  color: var(--orange);
  box-sizing: border-box;
}
.svc-item:hover { border-color: var(--orange-2); background: #fff7ef; }
.svc-item.on {
  background: rgba(251, 120, 0, .4);
  border-color: transparent;
  color: var(--orange);
}
.svc-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  flex: 0 0 auto;
}
.svc-ico-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  flex: 0 0 auto;
}
.svc-name {
  flex: 1;
  min-width: 0;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
}

.country-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 10px;
}
.sort-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #7a7c81;
}
.sort-item.active { color: var(--ink-2); }
.sort-item svg { opacity: .7; }
.sort-item[data-sort="qty"] { margin-left: auto; }
.country-list {
  /* Grizzly: tall scroll window under services (not a tiny 3-row clip) */
  --country-row-h: 51px;
  --country-row-gap: 8px;
  --country-list-h: calc(var(--country-row-h) * 3.5 + var(--country-row-gap) * 3);
  display: flex;
  flex-direction: column;
  gap: var(--country-row-gap);
  flex: 1 1 auto;
  min-height: var(--country-list-h);
  height: auto;
  max-height: none;
  overflow: auto;
  padding-right: 2px;
  scrollbar-width: thin;
}
.svc-grid::-webkit-scrollbar,
.country-list::-webkit-scrollbar {
  width: 6px;
}
.svc-grid::-webkit-scrollbar-thumb,
.country-list::-webkit-scrollbar-thumb {
  background: rgba(122, 124, 129, 0.45);
  border-radius: 8px;
}
.svc-grid::-webkit-scrollbar-track,
.country-list::-webkit-scrollbar-track {
  background: transparent;
}
.country-row {
  background: #f5f5f5;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
  min-height: var(--country-row-h, 51px);
}
.country-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  min-height: 49px;
  box-sizing: border-box;
}
.wish-star {
  width: 20px;
  height: 20px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.wish-star.on .wish-star-icon__path {
  fill: var(--orange);
  stroke: var(--orange);
}
.country-flag {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}
.flag-ico {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  flex: 0 0 auto;
}
.flag-fallback {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #e8eaed;
  flex: 0 0 auto;
  display: inline-block;
}
.country-name {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.country-name .from-price {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  color: #7a7c81;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.country-row.is-multi .country-name { white-space: normal; }
.country-qty {
  flex: 0 0 auto;
  min-width: 108px;
  font-size: 16px;
  font-weight: 500;
  color: #7a7c81;
  text-align: right;
  white-space: nowrap;
  padding: 0 4px;
}
.country-price { flex: 0 0 auto; }
.price-btn {
  min-width: 88px;
  width: 88px;
  height: 33px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
  padding: 0 8px;
}
.price-btn:hover { filter: brightness(1.05); }
.multi-prices {
  padding: 0 8px 10px 40px;
  display: grid;
  gap: 6px;
}
.multi-prices-head {
  display: flex;
  justify-content: space-between;
  padding: 4px 0 2px 12px;
  font-size: 13px;
  color: #7a7c81;
}
.multi-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0 6px 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  font-size: 14px;
  color: #445055;
}
.tier-more { margin-top: 2px; }
.tier-more summary {
  cursor: pointer;
  color: var(--orange);
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 0 2px;
}
.tier-more summary::-webkit-details-marker { display: none; }
.tier-more summary svg { color: var(--orange); }
.tier-more[open] summary { margin-bottom: 6px; }
.tier-more .multi-price-row { margin-top: 6px; }

/* RIGHT COLUMN — banner: full right-col width × 250px */
.banner {
  position: relative;
  width: 100%;
  height: 250px;
  min-height: 250px;
  max-height: 250px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  margin-bottom: 20px;
  background: #12162a;
  box-shadow: none;
}
.banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(12,16,40,.82), rgba(12,16,40,.28));
  pointer-events: none;
}
.banner-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 28px 28px 48px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.banner h3 { margin: 0 0 8px; font-size: 28px; font-weight: 800; line-height: 1.15; }
.banner p { margin: 0 0 16px; font-size: 15px; opacity: .92; line-height: 1.45; }
.banner .cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.banner-dots {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 16px;
  display: flex;
  gap: 6px;
}
.banner-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); }
.banner-dots span.on { background: var(--orange); }

/* Favorites — favorites country-service block */
.fav-panel {
  background: #fff;
  border-radius: 20px;
  padding: 24px 30px;
  box-shadow: none;
  margin-bottom: 0;
  height: 292px;
  box-sizing: border-box;
  overflow: hidden;
}
.fav-title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.fav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.fav-card {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 calc((100% - 24px) / 3);
  width: calc((100% - 24px) / 3);
  min-width: 0;
  height: 44px;
  margin-top: 0;
  padding: 7px 6px 5px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 10px;
  background: #f5f5f5;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  box-sizing: border-box;
}
.fav-card:hover { border-color: var(--orange-2); background: #fff7ef; }
.fav-card .svc-ico-img, .fav-card .svc-ico {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}
.fav-card .t {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fav-card .p {
  flex: 0 0 auto;
  background: var(--orange);
  color: #fff;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* Bottom promos — 3 equal cards three equal promo cards */
.side-promo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

/* Video — video block */
.video-block {
  margin: 16px 0;
  background: #fff;
  border-radius: 20px;
  padding: 24px 30px;
}
.video-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 262px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}
.video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.28);
}
.video-play svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.promo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 20px;
  padding: 16px;
  min-height: 0;
  height: auto;
  box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.05);
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.promo-card:hover { box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.2); }
.promo-logo {
  margin-bottom: 6px;
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  background: transparent;
  overflow: visible;
}
.promo-logo--img img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.promo-logo--stores { width: 100%; max-width: 100%; }
.promo-stores {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  width: 100%;
}
.promo-store {
  display: inline-flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  line-height: 0;
}
.promo-store img {
  display: block;
  width: auto;
  height: 36px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.promo-title {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 600;
  color: #3c4555;
  line-height: 1.2;
}
.promo-desc {
  display: block;
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  color: #02b0e5;
  line-height: 1.2;
  overflow-wrap: break-word;
}
html[data-theme="dark"] .promo-title { color: #fff; }
html[data-theme="dark"] .promo-desc { color: #02b0e5; }
html[data-theme="dark"] .promo-card {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.05);
}
@media (max-width: 1399px) {
  .promo-desc { font-size: 13px; }
}
@media (max-width: 1359px) {
  .promo-card { border-radius: 12px; }
  .promo-desc { font-size: 12px; }
}

.received { margin-top: 12px; }
.act-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  background: #fff;
}
.act-card .phone { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.act-card .code { margin-top: 6px; color: var(--green); font-size: 22px; font-weight: 800; }
.act-card .meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.act-card .actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.act-card button {
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.act-card button.danger { color: #d9480f; border-color: #ffd8a8; }

/* —— My purchases / activation cards (Grizzly-like) —— */
/* Purchases page = Grizzly /profile: left services+countries, right activations */
.page-purchases {
  --purchases-h: max(640px, calc(100vh - 168px));
  min-height: var(--purchases-h);
  align-items: start;
}
.page-purchases .col-left {
  height: auto;
  min-height: var(--purchases-h);
  max-height: none;
  overflow: visible;
}
.page-purchases #leftPane {
  gap: 12px;
  height: auto;
  min-height: var(--purchases-h);
  overflow: visible; /* no nested outer scrollbar */
}
.page-purchases .panel-services {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.page-purchases .panel-services .panel-b {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.page-purchases .panel-services .svc-grid {
  max-height: 232px;
}
.page-purchases .panel-countries {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
}
.page-purchases .panel-countries .panel-b {
  flex: 0 0 auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
}
.page-purchases .country-list {
  flex: 0 0 auto;
  /* tall window like Grizzly services-list-section__list */
  min-height: min(420px, 55vh);
  height: min(560px, 70vh);
  max-height: min(560px, 70vh);
}
.page-purchases .col-right,
.page-purchases .page-right {
  position: static;
  top: auto;
  min-height: var(--purchases-h);
  max-height: none;
  height: auto;
  overflow: visible;
  align-self: start;
}
.purchases-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: var(--purchases-h, calc(100vh - 168px));
  height: auto;
  max-height: none;
  box-sizing: border-box;
}
.purchases-hero,
.purchases-panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
  border: 1px solid #e8ecef;
  box-sizing: border-box;
}
.purchases-hero {
  padding: 26px 28px 0;
  flex: 0 0 auto;
}
.purchases-panel {
  padding: 6px 24px 28px;
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.purchases-list {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
  display: grid;
  gap: 10px;
  align-content: start;
}
.purchases-list:has(.purchases-empty) {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 280px;
}
.purchases-crumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #7a7c81;
  margin: 0 0 2px;
}
.purchases-crumb a { color: #7a7c81; text-decoration: none; }
.purchases-crumb a:hover { color: #fb7800; }
.purchases-hero h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  color: #1b1e25;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.purchases-sub {
  margin-top: 14px;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: #fb7800;
  border-bottom: 3px solid #fb7800;
  padding-bottom: 10px;
  line-height: 1.2;
}
.purchases-tabs {
  display: flex;
  gap: 28px;
  margin: 8px 0 0;
  border-bottom: 1px solid #eceff2;
  flex: 0 0 auto;
}
.purchases-tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 14px 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #98a2b3;
  cursor: pointer;
}
.purchases-tab.on {
  color: #fb7800;
  border-bottom-color: #fb7800;
}
.purchases-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 12px 18px;
  box-sizing: border-box;
}
.purchases-empty__art {
  width: min(240px, 38vw);
  height: auto;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}
.purchases-empty__copy {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 320px;
}
.purchases-empty__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #fb7800;
}
.purchases-empty__hint {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #7a7c81;
}
@media (max-width: 720px) {
  .purchases-empty {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .purchases-empty__copy { max-width: none; }
  .purchases-empty__art { width: min(200px, 70vw); }
  .purchases-hero h1 { font-size: 28px; }
}
.purchases-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.purchases-stat {
  border: 1px solid #e8ecef;
  border-radius: 12px;
  padding: 16px;
  background: #f7f8fa;
}
.purchases-stat b { display: block; font-size: 28px; font-weight: 800; color: #1b1e25; }
.purchases-stat span { color: #98a2b3; font-size: 13px; }

/* Grizzly-style History + Request statistics */
.purchases-list--table {
  display: block;
  gap: 0;
  overflow: visible;
}
.phist,
.pstats {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
}
.phist-stats {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin: 0 0 16px;
}
.phist-stat {
  box-sizing: border-box;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.phist-stat__label,
.phist-stat__value {
  display: flex;
  align-items: center;
  align-self: stretch;
  font-size: 14px;
  font-weight: 500;
}
.phist-stat__label { color: #7a7c81; line-height: 16px; }
.phist-stat__value { line-height: 1.2; }
.phist-stat--activated {
  background: rgba(38, 161, 123, 0.12);
  border-color: rgba(38, 161, 123, 0.5);
}
.phist-stat--activated .phist-stat__value { color: #26a17b; }
.phist-stat--cancelled {
  background: #f5f5f5;
  border-color: #dedede;
}
.phist-stat--cancelled .phist-stat__value { color: #22252d; }
.phist-stat--compensated {
  background: rgba(2, 146, 229, 0.15);
  border-color: rgba(2, 146, 229, 0.5);
}
.phist-stat--compensated .phist-stat__value { color: #0292e5; }
.phist-filter,
.pstats-filter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0 0 16px;
  box-sizing: border-box;
}
.phist-filter__row,
.pstats-filter__row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.phist-filter__row--top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.phist-filter__row--bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.pstats-filter__row--primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pstats-filter__row--secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: end;
  max-width: 50%;
}
.phist-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  margin: 0;
}
.phist-field__label {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  color: #7a7c81;
}
.phist-field select,
.phist-field input[type="date"] {
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #f5f5f5;
  color: #30353e;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.333 6.666L10 13.333L16.667 6.666' stroke='%23fb7800' stroke-width='1.67'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 34px;
}
.phist-field input[type="date"] {
  background-image: none;
  padding-right: 12px;
}
.phist-export {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid #fb7800;
  border-radius: 12px;
  background: transparent;
  color: #fb7800;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.phist-export:hover { background: rgba(251, 120, 0, 0.06); }
.pstats-group {
  display: inline-flex;
  align-items: center;
  align-self: end;
  gap: 8px;
  height: 36px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  position: relative;
}
.pstats-group__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.pstats-group__box {
  box-sizing: border-box;
  display: inline-flex;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  background: #fff;
}
.pstats-group__input:checked + .pstats-group__box {
  border-color: #fb7800;
  background: #fb7800 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.pstats-group__label {
  color: #30353e;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.phist-table-wrap,
.pst-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}
.phist-table,
.pst-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 6px;
}
.phist-table th,
.pst-table th {
  padding: 0 0 0 12px;
  height: 18px;
  color: #767d88;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}
.phist-table th:nth-child(n+3),
.pst-table th:nth-child(n+2) { text-align: center; padding: 0 12px; }
.phist-table td,
.pst-table td {
  padding: 12px;
  vertical-align: middle;
  background: #f5f5f5;
  color: #30353e;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  overflow: hidden;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.phist-table td:first-child,
.pst-table td:first-child { border-radius: 12px 0 0 12px; }
.phist-table td:last-child,
.pst-table td:last-child { border-radius: 0 12px 12px 0; }
.phist-table td:nth-child(n+3),
.pst-table td:nth-child(n+2) { text-align: center; }
.phist-table th:nth-child(1), .phist-table td:nth-child(1) { width: 28%; }
.phist-table th:nth-child(2), .phist-table td:nth-child(2) { width: 22%; }
.phist-table th:nth-child(3), .phist-table td:nth-child(3) { width: 16%; }
.phist-table th:nth-child(4), .phist-table td:nth-child(4) { width: 16%; }
.phist-table th:nth-child(5), .phist-table td:nth-child(5) { width: 18%; }
.pst-table th:nth-child(1), .pst-table td:nth-child(1) { width: 34%; }
.pst-table th:nth-child(2), .pst-table td:nth-child(2) { width: 18%; }
.pst-table th:nth-child(3), .pst-table td:nth-child(3),
.pst-table th:nth-child(4), .pst-table td:nth-child(4) { width: 24%; }
.phist-empty {
  text-align: center !important;
  color: #767d88;
  background: transparent !important;
  border-radius: 12px !important;
  padding: 28px 12px !important;
}
.pht-service,
.pst-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.pht-service__row,
.pst-service__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}
.pht-service__icon,
.pst-service__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}
.pht-service__icon img,
.pst-service__icon img,
.pht-service__icon svg,
.pst-service__icon svg {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}
.pht-service__icon--flag,
.pst-service__icon--flag { border-radius: 2px; }
.pht-service__icon--flag img,
.pst-service__icon--flag img { object-fit: cover; }
.pht-service__name,
.pht-service__country,
.pst-service__name,
.pst-service__country {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: #22252d;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pht-service__phone {
  color: #22252d;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
}
.pht-code-empty,
.pht-code-box {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 100px;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fff;
  color: #22252d;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}
.pht-copy {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: #767d88;
  cursor: pointer;
  display: inline-flex;
}
.pht-copy:hover { color: #fb7800; }
.pht-activation-id {
  display: flex;
  margin-top: 5px;
  max-width: 100%;
  min-width: 0;
}
.pht-activation-id__value {
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #767d88;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.pht-activation-id__value:hover { color: #fb7800; }
.pht-status {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  min-width: 72px;
  height: 22px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  white-space: nowrap;
}
.pht-status--activated {
  background: rgba(38, 161, 123, 0.12);
  border-color: rgba(38, 161, 123, 0.5);
  color: #26a17b;
}
.pht-status--cancelled {
  background: transparent;
  border-color: #b3b5b9;
  color: #767d88;
}
.pht-status--compensated {
  background: rgba(2, 146, 229, 0.12);
  border-color: rgba(2, 146, 229, 0.5);
  color: #0292e5;
}
.pht-price-cell__inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pht-price {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #22252d;
}
.pht-reorder-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 6px;
  margin: 0;
  border: 1px solid #fb7800;
  border-radius: 5px;
  background: transparent;
  color: #fb7800;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.pht-reorder-btn:hover { background: rgba(251, 120, 0, 0.08); }
.phist-table td:nth-child(4),
.pht-price-cell,
.pht-price-cell__inner {
  overflow: visible;
}
.rebuy-tip-host {
  position: relative;
}
.rebuy-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  z-index: 40;
  box-sizing: border-box;
  width: max-content;
  max-width: min(280px, 70vw);
  padding: 6px 10px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fff;
  color: #292c36;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.rebuy-tip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
}
.rebuy-tip-host:hover .rebuy-tip,
.rebuy-tip-host:focus-visible .rebuy-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.pht-date,
.pht-time {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #22252d;
}
.pht-provider,
.pst-provider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #535d6b;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pst-sort {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.pst-sort::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #b0b3b8;
  opacity: 0;
}
.pst-sort.is-asc::after,
.pst-sort.is-desc::after { opacity: 1; }
.pst-sort.is-asc::after {
  border-top: 0;
  border-bottom: 5px solid #fb7800;
}
.pst-sort.is-desc::after { border-top-color: #fb7800; }
.pst-issue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
  white-space: nowrap;
}
.pst-issue__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5c518;
}
.pst-issue--high { color: #26a17b; }
.pst-issue--high .pst-issue__dot { background: #26a17b; }
.pst-issue--medium { color: #22252d; }
.pst-issue--medium .pst-issue__dot { background: #f5c518; }
.pst-issue--low { color: #e24c45; }
.pst-issue--low .pst-issue__dot { background: #e24c45; }
.ptp {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  margin-top: 12px;
  overflow: visible;
}
.ptp__info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ptp__show-label,
.ptp__summary {
  color: #7a7c81;
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  white-space: nowrap;
}
.ptp__summary {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ptp__per-page select {
  box-sizing: border-box;
  min-width: 58px;
  height: 34px;
  padding: 0 28px 0 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #f5f5f5 url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4.667L8 10.667L14 4.667' stroke='%2330353e' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: #30353e;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
}
.ptp__pages {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ptp__btn {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 34px;
  height: 34px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid #7a7c81;
  border-radius: 12px;
  background: #f5f5f5;
  color: #30353e;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  cursor: pointer;
}
.ptp__btn:hover:not(:disabled) { background: #eeeeee; }
.ptp__btn:disabled { cursor: default; opacity: 0.4; }
.ptp__btn--active {
  background: #fff;
  border-color: #fb7800;
  color: #fb7800;
}
.ptp__btn--ellipsis {
  background: transparent;
  border-color: transparent;
  cursor: default;
}
.ptp__btn--arrow { width: 34px; padding: 0; }
@media (max-width: 900px) {
  .phist-filter__row--top,
  .phist-filter__row--bottom,
  .pstats-filter__row--primary,
  .pstats-filter__row--secondary {
    grid-template-columns: 1fr 1fr;
  }
  .phist-export { grid-column: 1 / -1; width: 100%; }
  .pstats-group { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .phist-stats { flex-direction: column; }
  .phist-filter__row--top,
  .phist-filter__row--bottom,
  .pstats-filter__row--primary,
  .pstats-filter__row--secondary {
    grid-template-columns: 1fr;
  }
  .ptp { flex-direction: column; align-items: stretch; }
  .ptp__pages { justify-content: flex-start; flex-wrap: wrap; }
}
html[data-theme="dark"] .phist-stat--cancelled { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .phist-stat--cancelled .phist-stat__value { color: rgba(255,255,255,.9); }
html[data-theme="dark"] .phist-stat__label { color: rgba(255,255,255,.45); }
html[data-theme="dark"] .phist-field__label,
html[data-theme="dark"] .ptp__show-label,
html[data-theme="dark"] .ptp__summary { color: rgba(255,255,255,.45); }
html[data-theme="dark"] .phist-field select,
html[data-theme="dark"] .phist-field input[type="date"],
html[data-theme="dark"] .ptp__per-page select {
  background-color: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.9);
}
html[data-theme="dark"] .phist-table th,
html[data-theme="dark"] .pst-table th { color: rgba(255,255,255,.45); }
html[data-theme="dark"] .phist-table td,
html[data-theme="dark"] .pst-table td { background: #24160a; color: rgba(255,255,255,.9); }
html[data-theme="dark"] .pht-code-empty,
html[data-theme="dark"] .pht-code-box { background: rgba(255,255,255,.08); color: #fff; }
html[data-theme="dark"] .pht-activation-id__value { color: rgba(255,255,255,.45); }
html[data-theme="dark"] .pht-status--cancelled { border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.7); }
html[data-theme="dark"] .pstats-group__box { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); }
html[data-theme="dark"] .pstats-group__label { color: rgba(255,255,255,.85); }
html[data-theme="dark"] .ptp__btn {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
}
html[data-theme="dark"] .ptp__btn--active {
  background: #2a1a0c;
  border-color: #fb7800;
  color: #fb7800;
}

.anc-card {
  display: grid;
  grid-template-columns: minmax(200px, 1.25fr) minmax(210px, 1.05fr) 148px;
  gap: 14px 18px;
  align-items: center;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  background: #f5f6f8;
  overflow: visible;
}
.anc-card--compact {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
}
.anc-card__info { min-width: 0; }
.anc-card__service {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.anc-card__country {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.anc-card__ico {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}
.anc-card__ico img,
.anc-card__ico .svc-ico-img,
.anc-card__ico .flag-ico-img {
  width: 28px !important;
  height: 28px !important;
  object-fit: cover;
  border-radius: 7px;
}
.anc-card__svc-name {
  font-size: 14px;
  font-weight: 700;
  color: #1b1e25;
  line-height: 1.2;
}
.anc-card__country-body { min-width: 0; flex: 1; }
.anc-card__country-name {
  font-size: 12px;
  font-weight: 600;
  color: #667085;
  line-height: 1.2;
  margin-bottom: 2px;
}
.anc-card__phone-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}
.anc-card__phone {
  font-size: 17px;
  font-weight: 800;
  color: #1b1e25;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}
.anc-card__copies {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}
.anc-card__icon-btn {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #fb7800;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  flex: 0 0 auto;
}
.anc-card__icon-btn svg { width: 14px; height: 14px; }
.anc-card__icon-btn:hover { background: rgba(251, 120, 0, 0.1); }
.anc-card__provider {
  margin-top: 8px;
  font-size: 11px;
  color: #98a2b3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.anc-card__provider b { font-weight: 600; color: #98a2b3; }
.anc-card__code {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
  color: #12b76a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.anc-card__center {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 0;
  min-width: 0;
  padding: 0;
}
.anc-card__col {
  text-align: left;
  min-width: 0;
  padding: 0 14px;
}
.anc-card__col--status {
  padding-left: 0;
  flex: 1 1 auto;
}
.anc-card__col--time {
  padding-right: 0;
  flex: 0 0 auto;
}
.anc-card__label {
  font-size: 12px;
  font-weight: 500;
  color: #98a2b3;
  margin-bottom: 6px;
}
.anc-card__value {
  font-size: 14px;
  font-weight: 700;
  color: #1b1e25;
  line-height: 1.25;
  white-space: nowrap;
}
.anc-card__divider {
  width: 1px;
  height: 36px;
  background: #dde2e8;
  flex: 0 0 1px;
}
.anc-card__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  width: 148px;
  justify-self: end;
  overflow: visible;
}
.anc-card__cancel-wrap { width: 100%; }
.anc-card__cancel-wrap--spacer { min-height: 0; }
.anc-card__btn {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  box-sizing: border-box;
  white-space: nowrap;
}
.anc-card__btn--cancel.is-ready {
  background: #ef4444;
  color: #fff;
}
.anc-card__btn--cancel.is-ready:hover { background: #dc2626; }
.anc-card__btn--cancel.is-locked,
.anc-card__btn--cancel:disabled {
  background: #e8eaed;
  color: #98a2b3;
  cursor: not-allowed;
  opacity: 1;
}
.anc-card__btn--new {
  background: #16c15a;
  color: #fff;
}
.anc-card__btn--new:hover { background: #12a94e; }
.anc-card__btn-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.5);
  flex: 0 0 1px;
}
.anc-card__btn-price { font-variant-numeric: tabular-nums; }
.anc-card__countdown {
  margin-top: 4px;
  text-align: center;
  font-size: 11px;
  line-height: 1.3;
  color: #98a2b3;
  font-weight: 500;
}
.anc-card__countdown[hidden] { display: none !important; }

@media (max-width: 900px) {
  .anc-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .anc-card__center {
    justify-content: flex-start;
  }
  .anc-card__actions {
    width: 100%;
    max-width: 240px;
    justify-self: start;
  }
}

/* Buy waiting modal */
.buy-wait {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
}
.buy-wait[hidden] { display: none !important; }
.buy-wait__mask {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 32, 0.42);
  backdrop-filter: blur(2px);
}
.buy-wait__panel {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 28px));
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 22px;
  box-shadow: 0 22px 60px rgba(16, 24, 40, 0.22);
  border: 1px solid #e8edf0;
}
.buy-wait__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #f3f4f6;
  cursor: pointer;
}
.buy-wait__x::before,
.buy-wait__x::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 13px;
  height: 2px;
  background: #667085;
}
.buy-wait__x::before { transform: rotate(45deg); }
.buy-wait__x::after { transform: rotate(-45deg); }
.buy-wait__pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}
.buy-wait__item { text-align: center; min-width: 96px; }
.buy-wait__ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.buy-wait__ico img { width: 56px; height: 56px; object-fit: cover; }
.buy-wait__name { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.buy-wait__plus {
  font-size: 28px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 22px;
}
.buy-wait__bar {
  height: 6px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
  margin-bottom: 16px;
}
.buy-wait__bar-fill {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fb7800, #ffb067);
  animation: buyWaitBar 1.2s ease-in-out infinite;
}
@keyframes buyWaitBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
.buy-wait__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.buy-wait__msg {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
}
.buy-wait__extra { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.buy-wait__hint-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.buy-wait__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.buy-wait__err-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.buy-wait__err-actions[hidden] { display: none !important; }

html[data-theme="dark"] .purchases-hero,
html[data-theme="dark"] .purchases-panel,
html[data-theme="dark"] .buy-wait__panel {
  background: #1b222b;
  border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .anc-card { background: #232b35; }
html[data-theme="dark"] .purchases-hero h1,
html[data-theme="dark"] .anc-card__svc-name,
html[data-theme="dark"] .anc-card__phone,
html[data-theme="dark"] .anc-card__value,
html[data-theme="dark"] .buy-wait__name,
html[data-theme="dark"] .buy-wait__msg,
html[data-theme="dark"] .buy-wait__hint-title { color: #fff; }
html[data-theme="dark"] .anc-card__country-name,
html[data-theme="dark"] .anc-card__label,
html[data-theme="dark"] .anc-card__provider,
html[data-theme="dark"] .anc-card__provider b,
html[data-theme="dark"] .anc-card__countdown { color: #9aa3af; }
html[data-theme="dark"] .anc-card__divider { background: rgba(255, 255, 255, 0.12); }
html[data-theme="dark"] .anc-card__btn--cancel.is-locked,
html[data-theme="dark"] .anc-card__btn--cancel:disabled {
  background: #2f3844;
  color: #8b95a3;
}
html[data-theme="dark"] .purchases-stat { background: #151b22; }
html[data-theme="dark"] .purchases-tab { color: #8b95a3; }
html[data-theme="dark"] .purchases-tab.on { color: #fb7800; }
html[data-theme="dark"] .purchases-empty__hint { color: #9aa3af; }
html[data-theme="dark"] .purchases-crumb,
html[data-theme="dark"] .purchases-crumb a { color: #8b95a3; }
html[data-theme="dark"] .purchases-tabs { border-bottom-color: rgba(255,255,255,.08); }

.page {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 1px 3px rgba(16,24,40,.06);
  max-width: 920px;
}
.page h1 { margin: 0 0 12px; font-size: 28px; font-weight: 800; color: var(--ink-2); }
.page h2 { margin: 24px 0 10px; font-size: 20px; font-weight: 700; }
.page .lead { color: var(--muted); font-size: 16px; line-height: 1.5; }
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.faq-item p { margin: 0; color: #445055; font-size: 15px; line-height: 1.5; }

.auth-wrap { max-width: 520px; margin: 24px auto; }
.auth-page {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 32px 20px 56px;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(251, 120, 0, 0.14), transparent 60%),
    radial-gradient(700px 360px at 88% 0%, rgba(252, 152, 61, 0.12), transparent 55%),
    var(--bg);
}
.auth-card {
  width: min(100%, 520px);
  max-width: 520px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 36px 28px;
  box-shadow: 0 18px 50px rgba(34, 37, 45, 0.07);
  box-sizing: border-box;
  overflow: hidden;
}
/* .form { display:grid } would otherwise override [hidden] and show 2FA under login */
.auth-form[hidden],
#auth2faForm[hidden],
#authForm[hidden],
.auth-captcha[hidden] {
  display: none !important;
}
.auth-card__brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.auth-card__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: 0 0 auto;
  background:
    linear-gradient(145deg, var(--orange) 0%, var(--orange-2) 100%);
  box-shadow: 0 8px 18px rgba(251, 120, 0, 0.28);
  position: relative;
}
.auth-card__mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(45deg);
}
.auth-card__title {
  margin: 0 0 4px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.auth-card__lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.auth-form { gap: 16px; min-width: 0; }
.auth-form label { min-width: 0; }
.auth-form input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.auth-submit {
  width: 100%;
  height: 48px !important;
  border-radius: 12px !important;
  font-size: 15px;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(251, 120, 0, 0.25);
}
.auth-submit:hover { filter: brightness(1.04); }
.auth-switch {
  margin: 4px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.auth-switch a {
  color: var(--orange);
  font-weight: 700;
}
.auth-captcha {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.auth-captcha__label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.auth-captcha__row {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}
/* Beat .form button orange fill — captcha is just the SVG plate. */
.form button.auth-captcha__image,
.auth-captcha__image {
  height: 48px !important;
  width: 156px;
  border: 0 !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: none !important;
  outline: none;
  white-space: normal;
  transition: opacity .15s ease;
}
.form button.auth-captcha__image:hover,
.auth-captcha__image:hover { opacity: 0.92; filter: none; }
.form button.auth-captcha__image:focus,
.form button.auth-captcha__image:focus-visible,
.auth-captcha__image:focus,
.auth-captcha__image:focus-visible {
  outline: none;
  box-shadow: none !important;
  background: transparent !important;
}
.auth-captcha__image.is-loading { opacity: 0.55; }
.auth-captcha__image svg {
  width: 156px;
  height: 48px;
  display: block;
}
.auth-captcha__skeleton,
.auth-captcha__fail {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.auth-captcha__fail { color: #c2410c; padding: 0 4px; text-align: center; }
.auth-captcha__input {
  width: 100% !important;
  min-width: 0;
  height: 48px !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 15px;
  text-align: center;
  box-sizing: border-box;
}
.auth-captcha__input:focus {
  outline: none;
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px var(--orange-soft-2);
}
.auth-captcha__hint {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
}
html[data-theme="dark"] .auth-page {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(251, 120, 0, 0.16), transparent 60%),
    radial-gradient(700px 360px at 88% 0%, rgba(252, 152, 61, 0.1), transparent 55%),
    var(--bg);
}
html[data-theme="dark"] .auth-card {
  background: #1a1d24;
  border-color: #2a2f3a;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .auth-captcha__image {
  background: transparent;
}
@media (max-width: 560px) {
  .auth-card { padding: 24px 18px 20px; border-radius: 16px; }
  .auth-card__title { font-size: 24px; }
  .auth-captcha__row {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 10px;
  }
  .auth-captcha__image,
  .auth-captcha__image svg { width: 140px; }
}

/* Google Authenticator 2FA modal (login only when totp enabled) */
.auth-2fa[hidden] { display: none !important; }
.auth-2fa {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.auth-2fa__mask {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.48);
  backdrop-filter: blur(2px);
}
.auth-2fa__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 22px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
  box-sizing: border-box;
}
.auth-2fa__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9ca3af;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.auth-2fa__close:hover { background: #f3f4f6; color: #374151; }
.auth-2fa__title {
  margin: 4px 8px 22px 0;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}
.auth-2fa__digits {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.auth-2fa__digit {
  height: 52px;
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  box-sizing: border-box;
  caret-color: var(--orange);
}
.auth-2fa__digit:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px var(--orange-soft-2);
}
.auth-2fa__digit.is-error {
  border-color: #f87171;
  background: #fff1f2;
}
.auth-2fa__hint {
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
}
.auth-2fa__submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(251, 120, 0, 0.25);
}
.auth-2fa__submit:hover { filter: brightness(1.04); }
.auth-2fa__submit:disabled { opacity: 0.65; cursor: wait; }
.auth-2fa__msg {
  margin: 10px 0 0;
  text-align: center;
  min-height: 1.2em;
}
.auth-2fa__foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #eef0f3;
  text-align: center;
}
.auth-2fa__cancel {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
}
.auth-2fa__cancel:hover { color: var(--orange); }
body.auth-2fa-open { overflow: hidden; }
html[data-theme="dark"] .auth-2fa__panel {
  background: #1a1d24;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .auth-2fa__title { color: #f3f4f6; }
html[data-theme="dark"] .auth-2fa__digit {
  background: #12151b;
  border-color: #2a2f3a;
  color: #f3f4f6;
}
html[data-theme="dark"] .auth-2fa__digit:focus {
  background: #0f1218;
}
html[data-theme="dark"] .auth-2fa__close:hover { background: #2a2f3a; }
html[data-theme="dark"] .auth-2fa__foot { border-top-color: #2a2f3a; }
@media (max-width: 420px) {
  .auth-2fa__panel { padding: 22px 16px 18px; }
  .auth-2fa__digits { gap: 6px; }
  .auth-2fa__digit { height: 46px; font-size: 18px; }
}
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.form input, .form select, .form textarea {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}
.form textarea { height: auto; padding: 10px 12px; }
.form button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  padding: 0 16px;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
}
.msg { color: #d9480f; min-height: 1.2em; font-size: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 10px 6px; text-align: left; }
.wallet-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.wallet-title-row h1 { margin: 0; }
.wallet-title-topup {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; background: var(--orange); color: #fff;
  font-weight: 700; padding: 8px 14px; text-decoration: none; white-space: nowrap;
  font-size: 14px;
}
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 24px;
}
.settings-page { max-width: 880px; margin: 4px auto 48px; }
.settings-hero { text-align: center; margin: 8px 0 18px; }
.settings-hero__icon { display: inline-flex; margin-bottom: 8px; }
.settings-hero h1 { margin: 0 0 6px; font-size: 30px; font-weight: 800; }
.settings-hero__sub { margin: 0; color: #7a8490; }
.settings-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  padding: 5px; margin: 0 auto 18px; max-width: 560px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.settings-tab {
  border: 0; background: transparent; border-radius: 999px;
  padding: 10px 18px; font-weight: 700; color: #5b6570; cursor: pointer;
}
.settings-tab.on { background: #222831; color: #fff; }
.settings-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 20px 18px; box-shadow: 0 10px 28px rgba(20,24,32,.04);
}
.settings-panel h2 { margin: 0 0 14px; font-size: 20px; }
.settings-block + .settings-block { margin-top: 28px; padding-top: 22px; border-top: 1px solid #eef1f4; }
.settings-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px;
}
.settings-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.settings-actions .btn, .settings-actions button { min-width: 120px; }
.settings-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  margin: 10px 0 14px;
}
.settings-meta div {
  padding: 10px 12px; border-radius: 10px; background: #f7f8fa; border: 1px solid #eef1f4;
}
.settings-meta b { display: block; font-size: 12px; color: #8a939e; margin-bottom: 4px; }
.settings-2fa-select-label { display: block; margin-bottom: 12px; }
.settings-2fa-box {
  margin-top: 8px; padding: 14px; border-radius: 12px;
  border: 1px solid #ffe0c2; background: #fffaf4;
}
.settings-2fa-status { font-weight: 700; color: #c05600; margin: 0 0 10px; }
.settings-2fa-qrwrap {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 12px 0 14px; padding: 14px; border-radius: 12px;
  background: #fff; border: 1px solid #ffe0c2;
}
.settings-2fa-qrwrap canvas {
  width: 180px; height: 180px; border-radius: 8px; background: #fff;
}
.settings-2fa-qrhint { margin: 0; font-size: 13px; text-align: center; }
.settings-notify { display: flex; flex-direction: column; }
.settings-switch {
  display: flex !important; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid #eef1f4; cursor: pointer;
  grid-template-columns: none !important;
}
.settings-switch:last-child { border-bottom: 0; }
.settings-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.settings-switch__ui {
  width: 46px; height: 26px; border-radius: 999px; background: #d7dbe2;
  position: relative; flex: 0 0 auto; transition: background .15s ease;
}
.settings-switch__ui::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: transform .15s ease;
}
.settings-switch input:checked + .settings-switch__ui { background: var(--orange); }
.settings-switch input:checked + .settings-switch__ui::after { transform: translateX(20px); }
/* Ensure checkbox sits before the visual track for :checked + sibling */
.settings-switch { position: relative; }
.settings-switch input {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 46px; height: 26px; opacity: 0; margin: 0; cursor: pointer; z-index: 2;
}
.settings-switch__ui { pointer-events: none; }
@media (max-width: 720px) {
  .settings-grid, .settings-meta { grid-template-columns: 1fr; }
  .settings-tabs { border-radius: 16px; }
}
.tickets-page { max-width: 860px; margin: 8px auto 48px; }
.tickets-page__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}
.tickets-page__head h1 { margin: 0 0 6px; font-size: 28px; font-weight: 800; }
.tickets-page__hint { color: #7a8490; margin: 0; line-height: 1.5; max-width: 52ch; }
.tk-new-btn { flex: 0 0 auto; white-space: nowrap; }
.tk-create {
  margin-bottom: 14px; padding: 16px; border: 1px solid #ffe0c2;
  border-radius: 14px; background: linear-gradient(180deg, #fffaf4, #fff);
}
.tickets-form { margin: 0; }
.tk-create__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-bottom: 10px;
}
.tk-create__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tk-toolbar { margin: 0 0 12px; }
.tk-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.tk-tab {
  border: 0; background: transparent; border-radius: 999px;
  padding: 8px 14px; cursor: pointer; font-weight: 700; color: #66707a;
}
.tk-tab em {
  font-style: normal; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  background: #f0f3f6; color: #5b6570; font-size: 12px;
}
.tk-tab.on { background: #fff4e8; color: var(--orange); }
.tk-tab.on em { background: #ffe0c2; color: #a85a00; }
.tk-accordion { display: flex; flex-direction: column; gap: 10px; }
.tk-empty {
  margin: 0; padding: 28px 16px; text-align: center;
  border: 1px dashed #d9dee5; border-radius: 14px; background: #fafbfc;
}
.tk-card {
  border: 1px solid #e6e9ee; border-radius: 14px; background: #fff;
  overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease;
}
.tk-card.is-open {
  border-color: #ffc48a;
  box-shadow: 0 10px 28px rgba(251, 120, 0, 0.08);
}
.tk-card--closed { background: #fcfcfd; }
.tk-card__head {
  width: 100%; display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px; align-items: center;
  padding: 14px 16px; border: 0; background: transparent;
  text-align: left; cursor: pointer;
}
.tk-card__head:hover { background: #fffaf4; }
.tk-card--closed .tk-card__head:hover { background: #f7f8fa; }
.tk-card__chev {
  width: 10px; height: 10px; border-right: 2px solid #a0a8b2; border-bottom: 2px solid #a0a8b2;
  transform: rotate(-45deg); transition: transform .16s ease; margin-left: 2px;
}
.tk-card.is-open .tk-card__chev { transform: rotate(45deg); margin-top: -2px; }
.tk-card__main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tk-card__title {
  font-weight: 750; color: #1b1e25; font-size: 15px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tk-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 12px; color: #8a939e; font-size: 12px;
}
.tk-card__badge {
  flex: 0 0 auto; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.tk-card__badge--open { background: #eef6ff; color: #2b6cb0; }
.tk-card__badge--pending { background: #fff4e8; color: #c05600; }
.tk-card__badge--closed { background: #eef0f3; color: #6b7280; }
.tk-card__body {
  border-top: 1px solid #f0f2f5; padding: 14px 16px 16px; background: #fff;
}
.tk-card--closed .tk-card__body { background: #fafbfc; }
.tk-card__loading { padding: 8px 0; }
.tk-thread {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 360px; overflow: auto; margin-bottom: 12px;
  padding-right: 4px;
}
.ticket-bubble { border-radius: 12px; padding: 10px 12px; background: #f4f6f8; }
.ticket-bubble--staff { background: #fff4e8; border: 1px solid #ffe0c2; }
.ticket-bubble--me { background: #eef4ff; border: 1px solid #d9e6ff; }
.ticket-bubble__meta { font-size: 12px; color: #8a939e; margin-bottom: 4px; }
.ticket-bubble__body { white-space: pre-wrap; line-height: 1.5; color: #222831; }
.tk-closed-note {
  margin: 0; padding: 10px 12px; border-radius: 10px;
  background: #f3f4f6; color: #6b7280; font-size: 13px;
}
.tk-reply textarea { width: 100%; margin-bottom: 8px; }
.tk-reply button { min-width: 96px; }
@media (max-width: 720px) {
  .tickets-page__head { flex-direction: column; align-items: stretch; }
  .tk-create__grid { grid-template-columns: 1fr; }
  .tk-card__head { grid-template-columns: 14px minmax(0, 1fr); }
  .tk-card__badge { grid-column: 2; justify-self: start; }
}
.apikey-page {
  max-width: 720px;
  margin: 8px auto 40px;
  padding: 8px 4px 24px;
}
.apikey-page__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: #1b1e25;
}
.apikey-page__hint {
  margin: 0 0 18px;
  color: #7a8490;
  font-size: 14px;
  line-height: 1.5;
}
.apikey-page__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.apikey-field {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 6px 0 14px;
  border: 1px solid #e6e9ee;
  border-radius: 10px;
  background: #f4f6f8;
}
.apikey-field__input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #2a313a;
  min-width: 0;
}
.apikey-field__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a939e;
  cursor: pointer;
}
.apikey-field__copy:hover { color: var(--orange); background: #fff7ef; }
.apikey-page__rotate {
  flex: 0 0 auto;
  min-width: 120px;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.apikey-page__rotate:hover { filter: brightness(0.96); }
.wallet-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 22px rgba(20, 24, 32, 0.04);
}
.wallet-card--reward { border-color: #ffe0c2; background: linear-gradient(180deg, #fffaf4, #fff); }
.wallet-card__label { color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.wallet-card__value { font-size: 28px; font-weight: 800; color: #1b1e25; margin-bottom: 8px; }
.wallet-card__hint { margin: 0 0 14px; color: #66707a; font-size: 13px; line-height: 1.5; }
.wallet-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wallet-card .btn, .wallet-panel .btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; background: var(--orange); color: #fff;
  font-weight: 700; padding: 10px 14px; cursor: pointer; text-decoration: none;
}
.btn-outline {
  background: #fff !important; color: var(--orange) !important;
  border: 1px solid #ffc48a !important;
}
.wallet-panel {
  margin: 0 0 22px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid #ffe0c2; background: #fff8f1;
}
.wallet-panel h2 { margin: 0 0 10px; font-size: 18px; }
.wallet-warn {
  margin: 0 0 12px; padding: 10px 12px; border-radius: 10px;
  background: #fff; border: 1px solid #ffd7a8; color: #8a4b00; line-height: 1.5; font-size: 14px;
}
.wallet-check { display: flex !important; align-items: center; gap: 8px; grid-template-columns: none !important; }
.wallet-check input { width: auto !important; }
.wallet-section { margin: 28px 0 10px; font-size: 18px; }
.wallet-amt-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px;
}
.wallet-all-btn {
  border: 1px solid #ffc48a; background: #fff7ef; color: var(--orange);
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.wallet-all-btn:disabled { opacity: .45; cursor: not-allowed; }
.wallet-amt-label { display: block !important; }
.wallet-fee-line { margin: 0 0 6px; font-size: 14px; color: #445055; }
.wallet-fee-summary { margin: 0 0 8px; font-size: 13px; }
.wallet-dialog {
  position: fixed; inset: 0; z-index: 1200;
  display: grid; place-items: center; padding: 16px;
}
.wallet-dialog[hidden] { display: none !important; }
.wallet-dialog__mask {
  position: absolute; inset: 0; background: rgba(20, 24, 32, 0.45);
}
.wallet-dialog__panel {
  position: relative; z-index: 1; width: min(100%, 420px);
  background: #fff; border-radius: 16px; padding: 20px 18px 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
.wallet-dialog__panel h3 { margin: 0 0 10px; font-size: 18px; color: #1b1e25; }
.wallet-dialog__panel p { margin: 0 0 16px; color: #445055; line-height: 1.55; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.wallet-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .wallet-grid { grid-template-columns: 1fr; }
}
.invoice {
  border: 1px dashed var(--orange);
  background: #fff7ef;
  border-radius: 10px;
  padding: 12px;
  margin: 10px 0;
  font-size: 14px;
}

/* ===== Top-up / payment channels ===== */
.topup-page { max-width: 1100px; margin: 0 auto; }
.topup-heading {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 8px;
}
.topup-title {
  display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 32px; font-weight: 700;
}
.topup-plus {
  width: 28px; height: 28px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--orange); color: #fff; font-size: 20px; line-height: 1; font-weight: 700;
  flex-shrink: 0;
}
.topup-lead {
  margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted, #6b7280);
  padding-left: 4px;
}
.topup-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 16px;
  margin: 20px 0 28px;
  align-items: start;
}
.pay-side, .pay-detail {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  min-height: 420px;
}
.pay-side { display: flex; flex-direction: column; gap: 14px; }
.pay-side__title { font-weight: 700; margin-bottom: 0; }
.pay-create-wrap { margin-top: 2px; }
.pay-create-wrap .pay-create { margin: 0; }
.pay-filters { display: grid; gap: 10px; margin-bottom: 12px; }
.pay-filters input {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fafafa;
}
.pay-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-cat {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px;
  cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted);
}
.pay-cat.on, .pay-cat:hover { background: var(--orange-soft-2); border-color: var(--orange); color: var(--orange); }
.pay-method-list { display: grid; gap: 8px; max-height: 360px; overflow: auto; }
.pay-method {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 12px; cursor: pointer;
}
.pay-method.on, .pay-method:hover { border-color: var(--orange); background: #fff7ef; }
.pay-method__ico img, .pay-ico-fallback {
  width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: #f3f4f6;
}
.pay-ico-fallback { display: grid; place-items: center; font-weight: 700; color: var(--orange); }
.pay-method__meta { display: grid; gap: 2px; }
.pay-method__meta strong { font-size: 14px; }
.pay-method__meta em { font-style: normal; font-size: 12px; color: var(--muted); }
.pay-detail__head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.pay-detail__head h2 { margin: 0 0 6px; font-size: 22px; }
.pay-detail__head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.pay-detail__logo { border-radius: 10px; background: #f3f4f6; object-fit: contain; }
.pay-create {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fafafa;
}
.pay-create__title { font-weight: 700; margin-bottom: 10px; font-size: 14px; }
.pay-create-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.pay-amount-form { display: grid; gap: 10px; margin-top: 4px; }
.pay-amount-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pay-amount-form input {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; width: 100%;
}
.pay-cta {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  background: var(--orange) !important; color: #fff !important; border: 0; border-radius: 10px;
  padding: 12px 16px; font-weight: 700; cursor: pointer; text-decoration: none;
}
.pay-order {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  min-height: 320px;
}
.pay-order.is-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff, #fffaf5);
}
.pay-order-empty { text-align: center; color: var(--muted); max-width: 260px; }
.pay-order-empty__ico {
  width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 14px;
  display: grid; place-items: center; background: var(--orange-soft-2); color: var(--orange); font-size: 22px;
}
.pay-order-empty p { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.pay-order-empty span { font-size: 13px; line-height: 1.45; }
.pay-order-card { display: grid; gap: 12px; }
.pay-order-id {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 14px; font-weight: 600;
}
.pay-order-id code {
  font-size: 14px; font-weight: 700; word-break: break-all;
  background: #f5f6f8; padding: 4px 8px; border-radius: 6px;
}
.pay-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-pill {
  background: #f5f6f8; border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px;
}
.pay-pill__lab { font-size: 12px; color: var(--muted); font-weight: 600; }
.pay-pill__val { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.pay-pill__val img { border-radius: 4px; }
.pay-meta-bar {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border: 1px solid var(--orange); color: var(--ink); background: #fff7ef;
  border-radius: 10px; padding: 10px 12px; font-size: 13px;
}
.pay-order-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}
.pay-guide-col { display: grid; gap: 12px; align-content: start; }
.pay-guide { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pay-guide li {
  display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start;
  font-size: 13px; line-height: 1.45; color: var(--ink);
}
.pay-guide li span {
  width: 22px; height: 22px; border-radius: 999px; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.pay-countdown {
  border: 1px solid #ffe0bf;
  background: #fff7ef;
  border-radius: 12px;
  padding: 10px 12px;
}
.pay-countdown__head {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
}
.pay-countdown__head strong {
  font-size: 20px; font-variant-numeric: tabular-nums; color: var(--orange); letter-spacing: .04em;
}
.pay-countdown__track {
  margin-top: 8px; height: 6px; border-radius: 999px; background: #f0e2d4; overflow: hidden;
}
.pay-countdown__track i {
  display: block; height: 100%; width: 100%; background: var(--orange); border-radius: inherit;
  transition: width .4s linear;
}
.pay-countdown__hint {
  margin: 8px 0 0; font-size: 12px; color: var(--muted); line-height: 1.4; font-weight: 500;
}
.pay-result {
  text-align: center; padding: 36px 20px; display: grid; gap: 10px; justify-items: center;
}
.pay-result__ico {
  width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center;
  font-size: 28px; font-weight: 700; color: #fff;
}
.pay-result--ok .pay-result__ico { background: #059669; }
.pay-result--bad .pay-result__ico { background: #9ca3af; }
.pay-result h3 { margin: 4px 0 0; font-size: 22px; }
.pay-result p { margin: 0; color: var(--muted); line-height: 1.5; max-width: 360px; }
.pay-result__amt { font-size: 20px; font-weight: 700; color: var(--ink) !important; }
.pay-result .pay-cta { width: auto; min-width: 160px; margin-top: 8px; }
.pay-qr-wrap {
  width: 200px; height: 200px; border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; background: #fff; display: grid; place-items: center;
}
.pay-qr { width: 184px; height: 184px; object-fit: contain; }
.pay-copy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
}
.pay-exact, .pay-wallet { display: grid; gap: 6px; min-width: 0; }
.pay-exact__lab, .pay-wallet__lab { font-size: 13px; font-weight: 700; color: var(--orange); }
.pay-exact__row, .pay-wallet__row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
  background: #f5f6f8; border-radius: 10px; padding: 10px 12px;
}
.pay-exact__row code, .pay-wallet__row code {
  font-size: 13px; word-break: break-all; font-weight: 700;
}
.pay-copy {
  border: 1px solid var(--orange); background: #fff; color: var(--orange);
  border-radius: 8px; padding: 6px 10px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.pay-copy:hover { background: #fff7ef; }
.pay-note { font-size: 13px; color: var(--muted); line-height: 1.5; display: grid; gap: 6px; }
.pay-note p { margin: 0; }
.pay-warn { color: #444; font-weight: 600; }
.btn-link {
  border: 0; background: transparent; color: var(--orange); font-weight: 700; cursor: pointer; padding: 0;
}
.topup-history-title { font-size: 18px; margin: 8px 0 12px; }
.topup-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.topup-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
.topup-table th, .topup-table td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle;
  white-space: nowrap;
}
.topup-table th { font-weight: 600; color: var(--muted, #6b7280); background: #fafafa; }
.topup-table tbody tr:last-child td { border-bottom: 0; }
.topup-table code { font-size: 12px; }
.topup-oid, .topup-addr { cursor: default; }
.topup-st {
  display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: #f3f4f6; color: #374151;
}
.topup-st.ok { background: #ecfdf5; color: #047857; }
.topup-st.wait { background: #fff7ed; color: #c2410c; }
.topup-st.bad { background: #f3f4f6; color: #6b7280; }
html[data-theme="dark"] .topup-table th { background: #1a1a1a; }
html[data-theme="dark"] .topup-st { background: #2a2a2a; color: #d1d5db; }
html[data-theme="dark"] .topup-st.ok { background: #064e3b; color: #6ee7b7; }
html[data-theme="dark"] .topup-st.wait { background: #431407; color: #fdba74; }
@media (max-width: 1100px) {
  .topup-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .pay-side, .pay-detail { min-height: 0; }
  .pay-order-main { grid-template-columns: 1fr; }
  .pay-qr-wrap { margin: 0 auto; }
  .pay-copy-grid { grid-template-columns: 1fr; }
}

/* How it works — how-works */
.how-block {
  margin: 16px 0;
  background: #fff;
  border-radius: 20px;
  padding: 24px 30px;
}
.how-block > h2,
.how-block .how-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-2);
}
.how-lead {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  min-height: 166px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.35;
  padding-top: 8px;
}
.how-ico {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
}
.how-blurb {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* About / SEO — about section */
.seo {
  margin-top: 16px;
  background: #ededed;
  border-radius: 20px;
  padding: 12px 30px 20px;
  box-shadow: none;
}
.seo.seo-right { margin: 16px 0; }
.seo-clip {
  max-height: 330px;
  overflow: hidden;
  position: relative;
}
.seo.seo-right:not(.is-open) .seo-clip::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(237,237,237,0), #ededed 85%);
  pointer-events: none;
}
.seo.seo-right.is-open .seo-clip { max-height: none; }
.about-more {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.about-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 48px;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}
.seo .about-label {
  color: #fb7800;
  font-size: 20px;
  font-weight: 500;
  margin: 8px 0 10px;
}
.seo h1 { font-size: 28px; font-weight: 600; margin: 0 0 16px; color: var(--ink-2); }
.seo h2 { font-size: 18px; font-weight: 600; margin: 20px 0 8px; color: var(--ink-2); }
.seo p, .seo li { font-size: 15px; line-height: 1.55; color: #3a4048; }
.contact { display: grid; gap: 16px; margin-top: 8px; }
.contact input, .contact textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
}
.contact textarea { min-height: 38px; height: 38px; resize: vertical; }
.feedback-block {
  margin: 16px 0;
  background: #ededed;
  border-radius: 20px;
  padding: 24px 30px;
}
.feedback-block > h2 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-2);
}
.file-attach { display: grid; gap: 8px; }
.file-attach-input {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px dashed #c5c8d0;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  width: fit-content;
}
.file-attach-hint { font-size: 13px; color: var(--muted); line-height: 1.4; }
.feedback-action {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.feedback-agree {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  flex: 1 1 220px;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.feedback-agree input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}
.feedback-agree__text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.feedback-agree__text a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.feedback-form .btn { height: 48px; min-width: 120px; border-radius: 8px; }

/* Blog — blog articles */
.blog-block {
  margin: 16px 0;
  background: #ededed;
  border-radius: 20px;
  padding: 24px 30px;
}
.blog-title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-2);
}
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.blog-card {
  flex: 0 0 calc((100% - 10px) / 2);
  width: calc((100% - 10px) / 2);
  min-width: 0;
  background: transparent;
  border-radius: 20px;
  padding: 5px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.blog-card-img {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 369 / 260;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-body { padding: 12px 6px 8px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-2);
}
.blog-announce {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #3a4048;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.blog-rating { color: var(--orange); font-weight: 600; }
.blog-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  width: fit-content;
  margin-top: auto;
  font-size: 14px;
}
.blog-show-more {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.blog-show-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 160px;
  padding: 0 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.site-footer {
  background: #1b1e25;
  color: #c5c8d0;
  padding: 36px 24px 20px;
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}
.footer-grid {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 24px;
}
.site-footer a { display: block; color: #a8adb8; margin: 6px 0; font-size: 14px; }
.site-footer h4 { margin: 0 0 10px; color: #fff; font-size: 15px; }
.copy {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin: 24px auto 0;
  padding: 0 24px;
  box-sizing: border-box;
  opacity: .7;
  font-size: 13px;
}
.empty { color: var(--muted); padding: 10px 0; font-size: 14px; }

.crumb {
  font-size: 14px;
  color: #7a7c81;
  margin: 0 0 12px;
}
.crumb a { color: var(--orange); font-weight: 600; }
.site-notice {
  background: #fff7ef;
  border: 1px solid rgba(251, 120, 0,.35);
  color: var(--ink-2);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 500;
}
.page .faq-item { margin: 0 0 14px; }
.page .faq-item h3 { margin: 0 0 6px; font-size: 17px; }
.page .faq-item p, .page .faq-item li { color: #445055; line-height: 1.55; }
.page h2 { margin: 28px 0 12px; font-size: 22px; }

@media (max-width: 1100px) {
  .svc-item {
    flex-basis: calc((100% - 8px) / 2);
    width: calc((100% - 8px) / 2);
  }
}
@media (max-width: 980px) {
  .home-grid, .footer-grid, .side-promo { grid-template-columns: 1fr 1fr; }
  .svc-item { width: calc((100% - 8px) / 2); flex-basis: calc((100% - 8px) / 2); }
  .fav-card { width: calc((100% - 12px) / 2); }
  .fav-panel { height: auto; }
  .col-right > .side-promo { margin-top: 12px; }
  .nav-main { display: none; }
  .nav-main.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px; z-index: 50; gap: 14px;
  }
  .burger { display: inline-flex; }
  .header-controls .hdr-ico--sound,
  .header-controls #themeToggle { display: none; }
  .header-bottom { height: auto; min-height: 51px; padding: 8px 0; }
  .header-bottom-content { flex-wrap: wrap; height: auto; gap: 10px; }
  .acct-email { max-width: 160px; }
  .country-qty { display: none; }
  .country-body { gap: 8px; }
  .multi-prices { padding-left: 28px; }
}
@media (max-width: 640px) {
  .side-promo { grid-template-columns: 1fr; }
  .svc-item, .fav-card { width: 100%; }
  .fav-panel { padding: 18px 16px; border-radius: 12px; height: auto; }
  .fav-title { font-size: 22px; }
  .promo-card { padding: 8px; border-radius: 12px; }
  .promo-logo--img img { width: 20px; height: 20px; }
  .promo-store img { height: 20px; }
  .promo-stores { gap: 4px; }
  .promo-title { margin-bottom: 2px; font-size: 13px; }
  .promo-desc { font-size: 10px; }
}

/* ---- Secondary pages (FAQ / API / Earn / Affiliate / Software) ---- */
.page.page-full {
  max-width: 100%;
  width: 100%;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.page-right { min-width: 0; }
.page .mkt-hero h1,
.page .mkt-hero li,
.page .mkt-hero p {
  color: #fff;
}
.page .mkt-hero h1 {
  font-size: 40px;
  margin: 0 0 14px;
}
.page .mkt-form-wrap h2,
.page .mkt-page .card-panel > h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
}
.page .api-intro__top h1 {
  font-size: 32px;
  color: #1b1e25;
}
.card-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  padding: 24px 28px;
  margin: 0 0 16px;
}
.breadcrumbs { margin: 0 0 14px; }
.breadcrumbs__list {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0;
  font-size: 14px; color: #7a7c81;
}
.breadcrumbs__item:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b0b3ba; }
.breadcrumbs__item a { color: var(--orange); font-weight: 600; text-decoration: none; }
.breadcrumbs__item.active span { color: #22252d; font-weight: 600; }

.faq-cms-block { background: transparent; }
.faq-cms-block__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 0 18px;
}
.faq-cms-block__title {
  margin: 0 0 14px; font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: #1b1e25;
}
.faq-cms-block__search {
  display: flex; align-items: center; gap: 10px; background: #f3f4f6; border-radius: 12px;
  padding: 0 14px; height: 48px; width: min(100%, 420px);
}
.faq-cms-block__search input {
  border: 0; background: transparent; outline: none; width: 100%; font: inherit; font-size: 15px;
}
.faq-hero-art {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(145deg, #ffb25a, #fb7800);
  color: #fff; font-size: 64px; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 12px 28px rgba(251, 120, 0,.28);
  flex: 0 0 auto;
}
.faq-tag-card {
  background: #fff; border-radius: 12px; margin: 0 0 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05); overflow: hidden;
}
.faq-tag-card__head,
.faq-item-card__head {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 20px; font-weight: 700; color: #1b1e25;
}
.faq-tag-card__head::-webkit-details-marker,
.faq-item-card__head::-webkit-details-marker { display: none; }
.faq-tag-card__head h2 { margin: 0; font-size: 18px; font-weight: 700; }
.faq-tag-card__body { padding: 0 12px 12px; }
.faq-item-card {
  background: #f7f8fa; border-radius: 10px; margin: 0 0 8px;
}
.faq-item-card__head { font-size: 15px; font-weight: 600; padding: 14px 16px; }
.faq-item-card__body { padding: 0 16px 14px; color: #445055; font-size: 14px; line-height: 1.55; }
.faq-item-card__body p { margin: 0 0 8px; }
.faq-item-card__body a { color: var(--orange); font-weight: 600; }

.api-docs { display: flex; flex-direction: column; gap: 16px; }
.api-intro__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px;
}
.api-intro__top h1 { margin: 0; font-size: 32px; font-weight: 800; }
.api-search {
  display: flex; align-items: center; gap: 10px; background: #f3f4f6; border-radius: 999px;
  padding: 0 16px; height: 44px; min-width: 220px; flex: 0 1 280px;
}
.api-search input { border: 0; background: transparent; outline: none; width: 100%; font: inherit; }
.api-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(200px, 1fr);
  gap: 24px;
  align-items: start;
}
.api-intro__main,
.api-intro__aside {
  min-width: 0;
}
.api-intro__main p { margin: 0 0 12px; color: #445055; line-height: 1.55; }
.api-warn {
  background: #fff4e8; border-left: 3px solid var(--orange); padding: 10px 12px; border-radius: 8px;
  color: #22252d !important; font-size: 14px;
}
.api-intro__aside {
  list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 1px solid #e6e8ec;
}
.api-intro__aside li { margin: 0; }
.api-intro__aside a {
  display: block;
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
.api-shell { padding-top: 18px; }
.api-tabs {
  display: flex; gap: 4px; background: #f3f4f6; border-radius: 999px; padding: 4px;
  width: fit-content; margin: 0 auto 20px;
}
.api-tab {
  border: 0; background: transparent; padding: 10px 18px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 14px; color: #767d88; cursor: pointer;
}
.api-tab.on { background: #fff; color: var(--orange); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.api-tab:disabled { opacity: .45; cursor: default; }
.api-tab-panel { display: none; }
.api-tab-panel.on { display: block; }
.api-token-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  font-size: 14px;
  font-weight: 600;
  min-width: 0;
  max-width: 100%;
}
.api-token-row > span,
.api-token-row > strong {
  flex: 0 0 auto;
}
.api-token-row code {
  background: #f3f4f6;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.api-token-row .api-copy,
.api-token-row button {
  flex: 0 0 auto;
}
.api-token-hint { margin: 0; color: #767d88; font-size: 13px; }
.api-auth-badge {
  display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 999px;
  background: #fff4e8; color: var(--orange); font-size: 12px; font-weight: 700;
}
.api-headers { font-size: 13px; color: #445055; margin: 0 0 12px; }
.api-params { margin: 0 0 14px; padding-left: 18px; color: #445055; font-size: 14px; line-height: 1.55; }
.api-params code { color: var(--orange); font-weight: 700; }
.api-table-view { display: none; }
.api-table-view.on { display: block; }
.api-table-wrap { max-height: 520px; overflow: auto; border: 1px solid #eef0f3; border-radius: 12px; }
.api-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.api-table th, .api-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eef0f3; }
.api-table th { position: sticky; top: 0; background: #f7f8fa; font-weight: 700; }
.api-table tr:hover td { background: #fffaf4; }
.api-layout {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 20px;
  min-height: 420px;
}
.api-panels { min-width: 0; }
.api-nav { display: flex; flex-direction: column; gap: 2px; border-right: 1px solid #eef0f3; padding-right: 8px; }
.api-nav__item {
  text-align: left; border: 0; background: transparent; padding: 12px 14px; border-radius: 10px;
  font: inherit; font-size: 14px; font-weight: 600; color: #445055; cursor: pointer;
  border-left: 3px solid transparent;
}
.api-nav__item.on {
  background: #fff4e8; color: var(--orange); border-left-color: var(--orange);
}
.api-endpoint { display: none !important; }
.api-endpoint.on { display: block !important; }
.api-endpoint h3 { margin: 0 0 8px; font-size: 22px; }
.api-desc { color: #445055; margin: 0 0 14px; }
.api-url {
  display: flex; align-items: stretch; gap: 0; background: #fff4e8; border-radius: 12px; overflow: hidden;
  margin: 0 0 16px;
}
.api-method {
  display: inline-flex; align-items: center; padding: 0 12px; background: rgba(251, 120, 0,.15);
  color: var(--orange); font-weight: 800; font-size: 13px;
}
.api-url code {
  flex: 1; padding: 14px 12px; font-size: 13px; word-break: break-all; color: #22252d;
}
.api-copy {
  border: 0; background: var(--orange); color: #fff; font-weight: 700; padding: 0 16px; cursor: pointer;
}
.api-pre {
  background: #f7f8fa; border-radius: 10px; padding: 14px 16px; overflow: auto;
  font-size: 13px; line-height: 1.45; margin: 0 0 14px;
}
.api-endpoint h4 { margin: 16px 0 8px; font-size: 15px; }
.api-note, .api-errors { color: #445055; font-size: 14px; }

.mkt-page { display: flex; flex-direction: column; gap: 16px; }
.mkt-hero {
  border-radius: 18px; padding: 36px 40px; color: #fff;
  background: linear-gradient(110deg, #fb7800 0%, #ff9a3d 55%, #ffb25a 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: 0 10px 28px rgba(251, 120, 0,.25);
}
.mkt-hero h1 { margin: 0 0 14px; font-size: 40px; font-weight: 800; }
.mkt-hero ul { margin: 0; padding-left: 18px; font-size: 16px; line-height: 1.55; }
.mkt-hero__art {
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #f5b400 55%, #d49200);
  display: grid; place-items: center; font-size: 72px; font-weight: 800; color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.18); flex: 0 0 auto;
}
.mkt-form-wrap h2, .mkt-page .card-panel > h2 {
  margin: 0 0 18px; text-align: center; font-size: 28px; font-weight: 800;
}
.mkt-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-bottom: 14px;
}
.mkt-form label {
  display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #445055;
}
.mkt-form input, .mkt-form textarea {
  border: 0; background: #f3f4f6; border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px;
  outline: none;
}
.mkt-form input:focus, .mkt-form textarea:focus { box-shadow: 0 0 0 2px rgba(251, 120, 0,.35); }
.mkt-agree {
  flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 500 !important;
  margin: 8px 0 16px;
}
.mkt-agree a { color: var(--orange); }
.mkt-send {
  display: block; margin: 0 auto; min-width: 180px; height: 48px; border-radius: 10px;
  background: linear-gradient(90deg, #fb7800, #ff9a3d); color: #fff; border: 0;
  font-weight: 700; font-size: 16px; cursor: pointer;
}
.mkt-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.mkt-cards > div {
  background: #f7f8fa; border-radius: 12px; padding: 18px;
}
.mkt-cards strong { display: block; margin-bottom: 6px; font-size: 16px; }
.mkt-cards p { margin: 0; color: #445055; font-size: 14px; line-height: 1.5; }
.mkt-steps { padding-left: 18px; color: #445055; line-height: 1.6; }

.aff-page { gap: 18px; }
.aff-tabs {
  display: flex; justify-content: center; gap: 8px; margin: 4px 0 2px;
}
.aff-tabs__item {
  border: 0; background: transparent; font: inherit; font-weight: 700; color: #7a828c;
  padding: 10px 18px; cursor: pointer; position: relative; border-radius: 12px;
}
.aff-tabs__item.on {
  color: #1b1e25; background: #fff; box-shadow: 0 6px 18px rgba(20,24,32,.06);
}
.aff-tabs__item.on::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 4px; height: 3px;
  border-radius: 999px; background: var(--orange);
}
.aff-panel[hidden] { display: none !important; }
.aff-hero {
  display: flex; gap: 24px; align-items: stretch; background: linear-gradient(135deg, #fff7ef, #ffe8d2);
  border-radius: 24px; padding: 28px 28px 24px; overflow: hidden; border: 1px solid #ffe0c2;
}
.aff-hero__left { flex: 1 1 56%; min-width: 0; }
.aff-hero__badge {
  display: inline-flex; background: #fff; color: var(--orange); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 700; margin-bottom: 14px;
  border: 1px solid #ffd7b0;
}
.aff-hero__title { margin: 0 0 14px; font-size: 36px; font-weight: 800; line-height: 1.2; color: #1b1e25; }
.aff-hero__title p { margin: 0; }
.aff-hero__muted { color: #1b1e25; font-weight: 800; }
.aff-hero__accent { color: var(--orange); font-weight: 800; }
.aff-hero__message { margin: 0 0 18px; color: #445055; font-size: 16px; line-height: 1.55; max-width: 520px; }
.aff-hero__message-accent { color: var(--orange); font-weight: 800; }
.aff-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.aff-hero__footer { margin: 0; color: #7a828c; font-size: 14px; }
.aff-hero__right {
  flex: 1 1 40%; min-width: 240px; display: grid; place-items: center; position: relative;
}
.aff-hero__image {
  width: min(100%, 360px); height: 280px; object-fit: cover; border-radius: 20px;
  box-shadow: 0 16px 36px rgba(251, 120, 0,.18);
}
.aff-hero__art {
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd19a, #fb7800 70%);
  display: grid; place-items: center; color: #fff; font-size: 64px; font-weight: 900;
  box-shadow: 0 18px 40px rgba(251, 120, 0,.28);
}
.aff-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 14px; padding: 12px 18px; font: inherit; font-weight: 800;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.aff-btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.aff-btn--primary:hover { filter: brightness(0.97); }
.aff-btn--secondary { background: #fff; color: var(--orange); border-color: #ffc48a; }
.aff-btn--ghost { background: #fff4e8; color: var(--orange); border-color: #ffe0c2; }
.aff-how { text-align: center; padding: 8px 0 0; }
.aff-how h2 { margin: 0 0 8px !important; font-size: 30px !important; text-align: center !important; }
.aff-how__intro { display: inline-flex; align-items: center; gap: 8px; color: #66707a; }
.aff-how__intro p { margin: 0; }
.aff-how__tip {
  width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center;
  background: #fff4e8; color: var(--orange); font-size: 12px; font-weight: 800; cursor: help;
  border: 1px solid #ffd7b0;
}
.aff-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aff-method {
  background: #fff; border-radius: 20px; border: 1px solid #eceef2; padding: 22px;
  display: flex; flex-direction: column; gap: 16px; box-shadow: 0 8px 24px rgba(20,24,32,.04);
}
.aff-method__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.aff-method__head h3 { margin: 0; font-size: 22px; }
.aff-method__badge {
  background: #fff4e8; color: var(--orange); border-radius: 999px; padding: 4px 10px;
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.aff-method__desc { margin: 0 0 12px; color: #445055; line-height: 1.55; }
.aff-method__features { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.aff-method__feature-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.aff-method__check {
  width: 18px; height: 18px; border-radius: 50%; background: #fff4e8; color: var(--orange);
  display: inline-grid; place-items: center; font-size: 11px; font-weight: 900;
}
.aff-method__feature-label { font-weight: 800; color: #1b1e25; }
.aff-method__feature-text { color: #66707a; font-size: 14px; padding-left: 26px; }
.aff-method__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.aff-method__step { display: flex; gap: 12px; align-items: flex-start; }
.aff-method__step-num { color: var(--orange); font-weight: 900; font-size: 18px; min-width: 28px; }
.aff-method__step-title { font-weight: 800; color: #1b1e25; }
.aff-method__step-sub { color: #66707a; font-size: 14px; }
.aff-method__code {
  margin: 12px 0 0; background: #111827; color: #e5e7eb; border-radius: 12px;
  padding: 12px 14px; font-size: 12px; overflow: auto;
}
.aff-method__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.aff-benefits-block h3 {
  margin: 8px 0 16px !important; text-align: center !important; font-size: 26px !important;
}
.aff-benefits-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.aff-benefit {
  background: #fff; border: 1px solid #eceef2; border-radius: 18px; padding: 18px;
  box-shadow: 0 8px 20px rgba(20,24,32,.04);
}
.aff-benefit__icon {
  width: 40px; height: 40px; border-radius: 12px; background: #fff4e8; color: var(--orange);
  display: grid; place-items: center; font-size: 18px; margin-bottom: 10px;
}
.aff-benefit__title { font-weight: 800; color: #1b1e25; margin-bottom: 6px; }
.aff-benefit__body { color: #66707a; font-size: 14px; line-height: 1.5; }
.aff-promo {
  display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 20px;
  border: 1px solid #eceef2; padding: 18px 20px; box-shadow: 0 8px 24px rgba(20,24,32,.04);
}
.aff-promo__media { width: 88px; height: 88px; border-radius: 18px; overflow: hidden; flex: 0 0 auto; }
.aff-promo__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aff-promo__media--art {
  display: grid; place-items: center; background: linear-gradient(145deg,#ffb25a,#fb7800);
  color: #fff; font-size: 36px; font-weight: 900;
}
.aff-promo__text { flex: 1; min-width: 0; }
.aff-promo__text h3 { margin: 0 0 6px; font-size: 22px; }
.aff-promo__text p { margin: 0; color: #66707a; }
.aff-provider-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.aff-provider-step {
  background: #fff; border-radius: 18px; border: 1px solid #eceef2; padding: 18px;
  box-shadow: 0 8px 20px rgba(20,24,32,.04);
}
.aff-provider-step__num { color: var(--orange); font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.aff-provider-step h3 { margin: 0 0 8px; font-size: 18px; }
.aff-provider-step p { margin: 0 0 10px; color: #66707a; font-size: 14px; line-height: 1.5; }
.aff-provider-step__chip {
  display: inline-flex; background: #fff4e8; color: var(--orange); border-radius: 999px;
  padding: 4px 10px; font-size: 12px; font-weight: 800;
}
.aff-provider-note {
  background: #fff8f1; border: 1px solid #ffe0c2; border-radius: 14px; padding: 14px 16px;
  color: #445055; line-height: 1.55;
}
.aff-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  background: #1b1e25; color: #fff; border-radius: 12px; padding: 10px 16px; z-index: 40;
  font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.aff-toast[hidden] { display: none !important; }
.aff-rewards-desk { margin-top: 8px; }
.referral-page.aff-rewards-desk { margin-top: 0; }
.aff-wallet {
  background: #fff; border: 1px solid #eceef2; border-radius: 20px; padding: 22px 22px 18px;
  box-shadow: 0 8px 24px rgba(20,24,32,.04);
}
.aff-wallet__tip strong { color: #c45a00; }
.aff-wallet h2 { margin: 0 0 10px; font-size: 24px; }
.aff-wallet h3 { margin: 0 0 8px; font-size: 16px; }
.aff-wallet__tip {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 12px;
  background: #fff8f1; border: 1px solid #ffe0c2; color: #5c3d12; line-height: 1.55; font-size: 14px;
}
.aff-wallet__stats {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 10px;
}
.aff-wallet__stats > div,
.aff-wallet__rate,
.aff-wallet__link {
  background: #fafbfc; border: 1px solid #eef1f4; border-radius: 12px; padding: 10px 12px;
}
.aff-wallet__stats b,
.aff-wallet__rate b,
.aff-wallet__link b { display: block; color: #7a828c; font-size: 12px; margin-bottom: 4px; font-weight: 600; }
.aff-wallet__meta-row {
  display: grid;
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.aff-wallet__rate strong { font-size: 16px; color: #1b1e25; }
.aff-wallet__link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.aff-wallet__link-url {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: #1b1e25;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 8px;
  padding: 8px 10px;
}
.aff-wallet__copy {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
}
.aff-wallet__copy:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.aff-wallet__copy:hover:not(:disabled) { filter: brightness(1.05); }
.aff-wallet__forms {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px;
}
.aff-wallet__form {
  border: 1px solid #eceef2; border-radius: 14px; padding: 14px; display: grid; gap: 8px; background: #fcfcfd;
}
.aff-wallet__form label { display: grid; gap: 4px; font-size: 13px; color: #445055; font-weight: 600; }
.aff-wallet__form input {
  border: 1px solid #dde3ea; border-radius: 10px; padding: 8px 10px; font: inherit;
}
.aff-wallet__form button {
  margin-top: 4px; border: 0; border-radius: 10px; background: var(--orange); color: #fff;
  font-weight: 700; padding: 10px 12px; cursor: pointer;
}
.aff-wallet__tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.aff-mini-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.aff-mini-table th, .aff-mini-table td { border-bottom: 1px solid #eef1f4; padding: 8px 6px; text-align: left; }
.aff-mini-table th { color: #7a828c; font-weight: 600; }
@media (max-width: 860px) {
  .aff-wallet__forms, .aff-wallet__tables, .aff-wallet__meta-row { grid-template-columns: 1fr; }
}

.soft-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.soft-hero h1 { margin: 0 0 12px; font-size: 32px; font-weight: 800; color: #1b1e25; }
.soft-hero p { margin: 0 0 10px; color: #445055; line-height: 1.55; max-width: 720px; }
.soft-hero a { color: var(--orange); font-weight: 600; }
.soft-hero__art {
  width: 120px; height: 120px; border-radius: 28px; flex: 0 0 auto;
  background: linear-gradient(145deg, #ffb25a, #fb7800);
  color: #fff; font-size: 54px; display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(251, 120, 0,.25);
}
.soft-filter-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px;
}
.soft-filter-head h2 { margin: 0 !important; text-align: left !important; font-size: 22px !important; }
.soft-search { width: min(100%, 280px); }
.soft-svc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.soft-svc {
  border: 1px solid #e6e8ec; background: #f3f4f6; border-radius: 999px; padding: 10px 14px;
  font: inherit; font-size: 14px; font-weight: 600; color: #445055; cursor: pointer;
}
.soft-svc.on {
  background: #fff4e8; border-color: var(--orange); color: var(--orange);
}
.soft-list-panel { padding-top: 22px; }
.soft-rows { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.soft-row[hidden] { display: none !important; }
.soft-empty-msg {
  margin: 18px 0 6px; color: #8a9199; font-size: 15px; text-align: left;
}
.soft-empty-msg[hidden] { display: none !important; }
.soft-apply {
  display: flex; align-items: center; gap: 28px; padding: 28px 36px !important;
  border-radius: 20px;
}
.soft-apply[hidden] { display: none !important; }
.soft-apply__art {
  position: relative; width: 160px; height: 140px; flex: 0 0 auto;
  display: grid; place-items: center;
}
.soft-apply__gear {
  width: 88px; height: 88px; border-radius: 24px;
  background: linear-gradient(145deg, #ffb25a, #fb7800);
  color: #fff; font-size: 42px; display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(251, 120, 0,.28); z-index: 1;
}
.soft-apply__cube {
  position: absolute; width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(145deg, #ffc27a, #fb7800);
  box-shadow: 0 6px 14px rgba(251, 120, 0,.22);
}
.soft-apply__cube--1 { top: 10px; right: 18px; }
.soft-apply__cube--2 { bottom: 18px; left: 8px; width: 22px; height: 22px; }
.soft-apply__cube--3 { bottom: 12px; right: 8px; width: 18px; height: 18px; opacity: .85; }
.soft-apply__text { flex: 1; min-width: 0; }
.soft-apply__text h2 {
  margin: 0 0 12px !important; text-align: left !important;
  font-size: 28px !important; font-weight: 800 !important; color: #1b1e25 !important;
}
.soft-apply__text p {
  margin: 0 0 18px; color: #445055; line-height: 1.6; font-size: 15px; max-width: 720px;
}
.soft-apply__cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; border: 0; border-radius: 12px;
  padding: 12px 22px; font-weight: 800; text-decoration: none;
}
.soft-apply__cta:hover { filter: brightness(0.96); }
.soft-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.4fr) minmax(220px, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: #f7f8fa;
  border-radius: 14px;
  padding: 16px 18px;
}
.soft-row:hover { background: #fff4e8; }
.soft-row__logo {
  width: 56px; height: 56px; border-radius: 14px; background: #fff; border: 1px solid #eceef2;
  display: grid; place-items: center; overflow: hidden; color: var(--orange); font-size: 24px;
}
.soft-row__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soft-row__logo--lg { width: 72px; height: 72px; border-radius: 18px; font-size: 32px; }
.soft-row__main h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: #1b1e25; }
.soft-row__main p { margin: 0; color: #445055; font-size: 14px; line-height: 1.5; }
.soft-row__meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.soft-row__meta span {
  display: block; font-size: 12px; color: #7a828c; margin-bottom: 4px; font-weight: 600;
}
.soft-row__meta strong { display: block; font-size: 14px; color: #1b1e25; font-weight: 700; line-height: 1.35; }
.soft-row__cta {
  white-space: nowrap; background: var(--orange); color: #fff; border: 0; border-radius: 10px;
  padding: 12px 16px; font-weight: 700; text-decoration: none;
}
.soft-row__cta:hover { filter: brightness(0.96); }
.soft-detail { display: flex; flex-direction: column; gap: 18px; }
.soft-banner { padding: 0 !important; overflow: hidden; border-radius: 24px; }
.soft-banner__content {
  display: flex; align-items: stretch; min-height: 420px;
}
.soft-banner__left {
  flex: 1 1 54%; padding: 36px 34px 28px; max-width: 620px;
}
.soft-banner__left h1 {
  margin: 0 0 18px; font-size: 34px; font-weight: 800; color: #1b1e25; line-height: 1.15;
}
.soft-banner__message { color: #445055; font-size: 15px; line-height: 1.65; }
.soft-banner__message p { margin: 0 0 14px; }
.soft-banner__message a { color: var(--orange); font-weight: 600; text-decoration: none; }
.soft-banner__message a:hover { text-decoration: underline; }
.soft-banner__message a.soft-cms-btn:hover { text-decoration: none; filter: brightness(0.96); }
.soft-banner__message strong { color: #1b1e25; }
.soft-gjs-root,
.soft-gjs-root--fluid {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.soft-banner__message .soft-gjs-root img,
.soft-detail-body .soft-gjs-root img,
.soft-gjs-root img,
.soft-gjs-root video,
.soft-gjs-root iframe {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
}
.soft-gjs-root * { box-sizing: border-box; max-width: 100%; }
.soft-gjs-root table {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto;
}
.soft-banner__back { margin: 18px 0 0; }
.soft-banner__back a { color: var(--orange); font-weight: 700; text-decoration: none; }
.soft-banner__right {
  flex: 1 1 46%; min-width: 280px; background: #111827;
  display: flex; align-items: stretch; justify-content: center; overflow: hidden;
}
.soft-banner__image {
  width: 100%; height: 100%; object-fit: cover; display: block; min-height: 420px;
}
.soft-banner__placeholder {
  width: 100%; min-height: 420px; display: grid; place-items: center;
  font-size: 72px; color: #fff; background: linear-gradient(145deg, #ffb25a, #fb7800);
}
.soft-licenses-block, .soft-adv-block, .soft-news-block {
  background: transparent; border-radius: 0; padding: 8px 0 0;
}
.soft-licenses-block h2, .soft-adv-block h2 {
  margin: 0 0 18px !important; text-align: center !important;
  font-size: 28px !important; font-weight: 800 !important; color: #1b1e25 !important;
}
.soft-lic-list {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
}
.soft-lic-card {
  width: min(100%, 368px); background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid #eceef2; box-shadow: 0 8px 24px rgba(20, 24, 32, 0.05);
  display: flex; flex-direction: column;
}
.soft-lic-card__head {
  background: var(--orange); color: #fff; padding: 18px 20px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.soft-lic-card__title { font-weight: 800; font-size: 16px; line-height: 1.35; }
.soft-lic-card__price { font-weight: 800; font-size: 22px; white-space: nowrap; }
.soft-lic-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.soft-lic-card__body ul { margin: 0; padding: 0 0 0 18px; color: #445055; }
.soft-lic-card__body li { margin: 0 0 6px; }
.soft-lic-card__stock { color: #66707a; font-size: 14px; }
.soft-lic-card__stock span { color: #1b1e25; font-weight: 700; }
.soft-lic-card__buy {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; border: 0; border-radius: 10px;
  padding: 12px 16px; font-weight: 800; text-decoration: none; text-align: center;
}
.soft-lic-card__buy:hover { filter: brightness(0.96); }
.soft-lic-card__note { color: #7a828c; font-size: 12px; line-height: 1.5; }
.soft-adv-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.soft-adv-card {
  background: #fff; border-radius: 24px; padding: 38px 25px 30px;
  border: 1px solid #eceef2; box-shadow: 0 8px 24px rgba(20, 24, 32, 0.04);
  position: relative; overflow: hidden; min-height: 220px;
}
.soft-adv-card__num {
  font-size: 64px; font-weight: 800; line-height: 1; color: rgba(251, 120, 0, 0.18);
  margin-bottom: 8px;
}
.soft-adv-card h3 {
  margin: 0 0 10px; font-size: 20px; font-weight: 800; color: #1b1e25;
}
.soft-adv-card p {
  margin: 0; color: #445055; font-size: 14px; line-height: 1.55;
}
.soft-news-block { display: flex; flex-direction: column; gap: 8px; padding: 8px 4px 24px; }
.soft-cms-block {
  background: #fff; border-radius: 16px; padding: 22px 24px; border: 1px solid #eceef2;
}
.soft-cms-block h2 {
  margin: 0 0 12px !important; text-align: left !important;
  font-size: 20px !important; font-weight: 800 !important; color: #1b1e25 !important;
}
.soft-cms-block__body { color: #445055; font-size: 15px; line-height: 1.65; }
.soft-cms-block__body p { margin: 0 0 10px; }
.soft-cms-block__body a { color: var(--orange); }
.soft-detail-body {
  margin: 16px 0;
  padding: 28px 30px;
  border-radius: 20px;
  background: #fff;
  color: #445055;
  font-size: 15px;
  line-height: 1.65;
}
.soft-detail-body h2,
.soft-detail-body h3 {
  margin: 0 0 12px;
  color: #1b1e25;
  font-weight: 800;
}
.soft-detail-body h2 { font-size: 24px; }
.soft-detail-body h3 { font-size: 18px; }
.soft-detail-body p { margin: 0 0 12px; }
.soft-detail-body ul { margin: 0 0 12px; padding-left: 1.2rem; }
.soft-detail-body img { max-width: 100%; border-radius: 12px; margin: 8px 0; }
.soft-detail-body a { color: var(--orange); font-weight: 600; }
.soft-detail-body a.soft-cms-btn,
.soft-detail-body .soft-cms-btn,
.soft-banner__message a.soft-cms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 800;
  margin: 0 4px;
  line-height: 1.2;
  vertical-align: middle;
}
/* Inline styles from visual editor (color / padding / radius) win over defaults */
.soft-banner__message a.soft-cms-btn[style],
.soft-detail-body a.soft-cms-btn[style] {
  /* keep authored colors */
}
html[data-theme="dark"] .soft-detail-body,
html[data-theme="dark"] .soft-cms-block,
html[data-theme="dark"] .soft-adv-card,
html[data-theme="dark"] .soft-lic-card {
  background: #180e02;
  color: #cfc6bb;
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-theme="dark"] .soft-detail-body h2,
html[data-theme="dark"] .soft-detail-body h3,
html[data-theme="dark"] .soft-adv-card h3,
html[data-theme="dark"] .soft-cms-block h2,
html[data-theme="dark"] .soft-lic-card__title,
html[data-theme="dark"] .soft-banner__message,
html[data-theme="dark"] .soft-banner__message strong {
  color: #fff;
}
.page-plain h1 { margin: 0 0 10px; font-size: 32px; }
.page-plain .lead { font-size: 17px; font-weight: 600; }

/* —— Price page —— */
.price-page { gap: 18px; }
.cms-price-block {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #eceef2;
  box-shadow: 0 8px 28px rgba(27, 30, 37, 0.05);
  padding: 28px 28px 22px;
}
.cms-price-block__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: #1b1e25;
  line-height: 1.25;
}
.cms-price-block__sub {
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 15px;
}
.cms-price-block__tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.cms-price-block__tab {
  flex: 1;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 18px;
  cursor: pointer;
}
.cms-price-block__tab.on {
  background: var(--orange, #fb7800);
  color: #fff;
}
.cms-price-block__tab .--mobile { display: none; }
.price-mode[hidden] { display: none !important; }
.price-head__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #1b1e25;
  margin-bottom: 12px;
}
.price-head__ico { color: var(--orange, #fb7800); font-size: 18px; }
.price-head__filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.price-select { position: relative; }
.price-select__btn,
.price-search {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
  box-sizing: border-box;
}
.price-select__btn {
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.price-select__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.price-select__icon img,
.price-select__option-ico img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}
.price-select__label {
  flex: 1;
  font-weight: 600;
  color: #1b1e25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.price-select__chev { color: #9ca3af; }
.price-select__panel {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  padding: 10px;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-select__panel[hidden] { display: none !important; }
.price-select__search {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
.price-select__list {
  overflow: auto;
  max-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-select__option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #1b1e25;
}
.price-select__option:hover,
.price-select__option.on { background: #fff4e8; }
.price-search__ico { color: var(--orange, #fb7800); font-size: 18px; }
.price-search input {
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  background: transparent;
}
.price-table-wrap { position: relative; min-height: 120px; }
.price-loading {
  margin: 8px 0 12px;
  color: #6b7280;
  font-weight: 600;
}
.price-loading:not([hidden])::after {
  content: "";
  display: block;
  margin-top: 8px;
  height: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #fb7800 0 16px, #ffd29a 16px 32px);
  background-size: 64px 4px;
  animation: priceBar 1s linear infinite;
}
@keyframes priceBar { to { background-position: 64px 0; } }
.price-block-table {
  width: 100%;
  border-collapse: collapse;
}
.price-block-table th,
.price-block-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #f0f1f4;
  text-align: left;
  font-size: 14px;
  color: #1b1e25;
  vertical-align: middle;
}
.price-block-table th {
  color: #9aa0a6;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.price-block-table th .sort-ico {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  color: #c4c7cc;
}
.price-block-table th .--mobile { display: none; }
.price-block-table tbody tr:hover { background: #fafbfc; }
.price-row-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.price-row-link:hover { color: var(--orange, #fb7800); }
.price-row-ico {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.price-row-ico img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.price-ratio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.price-ratio::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9aa0a6;
}
.price-ratio--high { color: #16a34a; }
.price-ratio--high::before { background: #22c55e; }
.price-ratio--mid { color: #d97706; }
.price-ratio--mid::before { background: #f59e0b; }
.price-ratio--low { color: #dc2626; }
.price-ratio--low::before { background: #ef4444; }
.price-empty {
  margin: 18px 0;
  color: #6b7280;
  text-align: center;
}
.price-more {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  background: #f7f8fa;
  color: #1b1e25;
  font: inherit;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
}
.price-more:hover { background: #eef0f3; }

@media (max-width: 980px) {
  .cms-price-block { padding: 22px 16px; }
  .cms-price-block__title { font-size: 22px; }
  .price-head__filters { grid-template-columns: 1fr; }
  .cms-price-block__tab .--pc { display: none; }
  .cms-price-block__tab .--mobile { display: inline; }
  .price-block-table th .--pc { display: none; }
  .price-block-table th .--mobile { display: inline; }
  .price-block-table th,
  .price-block-table td { padding: 12px 6px; font-size: 13px; }
}

@media (max-width: 1100px) {
  .api-intro__grid {
    grid-template-columns: 1fr;
  }
  .api-intro__aside {
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid #e6e8ec;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 4px 16px;
  }
  .api-intro__aside a { margin: 0 0 8px; }
}
@media (max-width: 980px) {
  .api-intro__grid, .api-layout, .aff-methods, .aff-benefits-grid, .aff-provider-steps, .mkt-cards, .mkt-form-grid, .soft-adv-list {
    grid-template-columns: 1fr;
  }
  .aff-hero { flex-direction: column; }
  .aff-hero__title { font-size: 28px; }
  .aff-promo { flex-wrap: wrap; }
  .soft-row {
    grid-template-columns: 56px 1fr;
    align-items: start;
  }
  .soft-row__meta { grid-column: 1 / -1; }
  .soft-row__cta { grid-column: 1 / -1; justify-self: start; }
  .soft-banner__content { flex-direction: column; }
  .soft-banner__left { max-width: none; padding: 26px 22px; }
  .soft-banner__left h1 { font-size: 28px; }
  .soft-banner__right, .soft-banner__image, .soft-banner__placeholder { min-height: 240px; }
  .soft-licenses-block h2, .soft-adv-block h2 { font-size: 24px !important; }
  .soft-apply { flex-direction: column; align-items: flex-start; padding: 24px 20px !important; gap: 16px; }
  .soft-apply__text h2 { font-size: 24px !important; }
  .api-nav { border-right: 0; border-bottom: 1px solid #eef0f3; padding: 0 0 12px; flex-direction: row; flex-wrap: wrap; }
  .faq-cms-block__title { font-size: 30px; }
  .mkt-hero { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .mkt-hero h1 { font-size: 28px; }
  .faq-hero-art, .mkt-hero__art { width: 88px; height: 88px; font-size: 42px; }
}

/* ===== Site-wide H5 / mobile adaptive (all pages) ===== */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, video, iframe, svg, canvas { max-width: 100%; }
table { max-width: 100%; }

/* GrapesJS / CMS free-layout auto reflow on phone — no separate mobile design needed */
@media (max-width: 768px) {
  .container { padding: 0 14px; }
  .page { padding-left: 0; padding-right: 0; }
  .page.page-full { padding: 0; }

  .home-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .header-top { height: auto; min-height: 56px; }
  .header-top-content { height: auto; min-height: 56px; flex-wrap: wrap; gap: 6px; padding: 6px 0; }
  .nav-main { margin-left: 12px; gap: 18px; }
  .header-controls { gap: 6px; }
  .logo { font-size: 16px; height: auto; }
  .header-top .logo {
    padding: 2px 10px 2px 2px;
    border-radius: 10px;
  }
  .header-top .logo img {
    width: auto;
    height: 40px;
    max-height: 40px;
  }
  .header-top .logo img.logo-word,
  .header-top .logo img.logo-word--sm {
    width: auto;
    height: 30px;
    max-height: 30px;
  }
  .footer-brand img {
    height: 26px;
    max-height: 26px;
  }
  .footer-brand img.logo-word,
  .footer-brand img.logo-word--sm {
    height: 18px;
    max-height: 18px;
  }
  html[data-theme="dark"] .nav-main.open {
    background: #180e02;
    border-bottom-color: #4c2910;
  }

  .form { width: 100%; max-width: 100%; }
  .form input, .form select, .form textarea, .form button { width: 100%; max-width: 100%; }
  .auth-wrap { margin: 16px auto; padding: 0 4px; max-width: 100%; }
  .soft-row__cta,
  .soft-apply__cta,
  .soft-lic-card__buy,
  .mkt-send,
  .auth-wrap .btn { width: 100%; max-width: 100%; justify-content: center; }

  .card-panel { border-radius: 16px; }
  .soft-lic-card { width: 100%; }
  .soft-lic-list { gap: 14px; }
  .soft-detail-body { padding: 18px 14px; border-radius: 16px; }
  .soft-banner { border-radius: 16px; }
  .soft-banner__left h1 { font-size: 24px; }
  .soft-banner__message { font-size: 14px; }
  .soft-row__main h3 { font-size: 16px; }
  .soft-filter-head { flex-direction: column; align-items: stretch; gap: 10px; }
  .soft-search { width: 100%; }

  .soft-gjs-root { min-height: 0 !important; }
  .soft-gjs-root [style*="position:absolute"],
  .soft-gjs-root [style*="position: absolute"],
  .soft-gjs-root [style*="position:fixed"],
  .soft-gjs-root [style*="position: fixed"] {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
    margin: 0 0 12px !important;
  }
  .soft-gjs-root [style*="display:flex"],
  .soft-gjs-root [style*="display: flex"] {
    flex-direction: column !important;
    flex-wrap: wrap !important;
  }
  .soft-gjs-root [style*="display:grid"],
  .soft-gjs-root [style*="display: grid"] {
    grid-template-columns: 1fr !important;
  }
  .soft-gjs-root a.soft-cms-btn,
  .soft-gjs-root .soft-cms-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center;
  }

  .mkt-hero h1, .aff-hero__title, .faq-cms-block__title { font-size: 24px !important; }
  .mkt-form input, .mkt-form textarea, .mkt-send { width: 100%; max-width: 100%; }
  .api-table-wrap, .price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .api-table, .price-block-table { min-width: 480px; }
  .price-head__filters { grid-template-columns: 1fr; }
  .aff-hero__actions { flex-direction: column; }
  .aff-hero__actions .btn { width: 100%; justify-content: center; }
  .aff-hero__image { width: 100%; height: auto; }
  .cms-price-block { padding: 18px 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 10px; }
  .btn-auth, .btn-topup { padding: 8px 10px; font-size: 13px; }
  .bal-pill { font-size: 12px; }
  .soft-banner__left { padding: 20px 16px; }
  .soft-banner__left h1 { font-size: 22px; }
  .soft-licenses-block h2, .soft-adv-block h2 { font-size: 20px !important; }
  .promo-card { min-height: 0; }
  .fav-title { font-size: 20px; }
  .page .mkt-hero h1 { font-size: 22px; }
}
