/* X Token premium restyle — integrated, no overlapping overlays */

:root {
  --x-safe-b: env(safe-area-inset-bottom, 0px);
  --x-nav-h: 0px;
  --x-black: #000000;
  --x-black-soft: #0a0a0a;
  --x-gray: #71767b;
  --x-gray-light: #e7e9ea;
  --x-blue: #1d9bf0;
  --x-blue-dim: rgba(29, 155, 240, 0.14);
  --x-line: rgba(231, 233, 234, 0.12);
  --x-card: rgba(22, 24, 28, 0.92);
}

html.x-premium {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.x-has-mobile-nav {
  --x-nav-h: calc(62px + var(--x-safe-b));
}

html.x-has-mobile-nav body {
  padding-bottom: calc(var(--x-nav-h) + 10px) !important;
}

/* Legacy junk from old builds */
.x-brand-chip,
#x-brand-chip,
.x-invite-banner,
#x-invite-banner,
.x-landing-invite,
#x-landing-invite,
#x-hero-offer,
.x-hero-offer,
.x-toast {
  display: none !important;
}

/* ── Global shell: X dark (landing + auth only) ── */
html.x-premium .marketing-shell,
html.x-premium .auth-shell {
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(29, 155, 240, 0.12), transparent 55%),
    radial-gradient(700px 360px at 88% 0%, rgba(255, 255, 255, 0.04), transparent 50%),
    linear-gradient(180deg, #000000 0%, #050505 42%, #000000 100%) !important;
  color: var(--x-gray-light) !important;
}

html.x-premium .marketing-shell::before,
html.x-premium .auth-shell::before {
  opacity: 0.35 !important;
}

/* ── Nav ── */
html.x-premium .marketing-nav {
  background: rgba(0, 0, 0, 0.82) !important;
  border-bottom: 1px solid var(--x-line) !important;
  backdrop-filter: blur(20px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
}

html.x-premium .marketing-nav__inner {
  min-height: 72px !important;
}

html.x-premium .brand-chip {
  border-color: var(--x-line) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important;
}

html.x-premium .brand-chip__sub {
  color: var(--x-gray-light) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

/* X-style buttons — landing + auth only; dashboard keeps native on desktop */
html.x-premium .brand-button-primary,
html.x-premium .auth-button-primary {
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.08) !important;
}

html.x-premium .brand-button-primary:hover,
html.x-premium .auth-button-primary:hover {
  filter: brightness(0.96) !important;
  transform: translateY(-1px) !important;
}

html.x-premium .brand-button-secondary,
html.x-premium .auth-button-secondary {
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  border: 1px solid var(--x-line) !important;
  background: transparent !important;
  color: var(--x-gray-light) !important;
  font-weight: 700 !important;
}

html.x-premium .brand-button-secondary:hover,
html.x-premium .auth-button-secondary:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

@media (max-width: 640px) {
  html.x-premium .marketing-nav__actions .brand-button-primary,
  html.x-premium .marketing-nav__actions .brand-button-secondary {
    min-height: 44px !important;
    font-size: 0.88rem !important;
  }
}

/* ── Hero typography ── */
html.x-premium .section-kicker {
  background: var(--x-blue-dim) !important;
  border-color: rgba(29, 155, 240, 0.28) !important;
  color: var(--x-blue) !important;
  letter-spacing: 0.14em !important;
}

html.x-premium .marketing-container h1,
html.x-premium .marketing-container h2,
html.x-premium .marketing-container h3 {
  letter-spacing: -0.03em !important;
}

html.x-premium .marketing-container h1 span {
  color: var(--x-blue) !important;
}

html.x-premium .marketing-container p {
  color: var(--x-gray) !important;
}

/* ── Hero cards (landing only — not dashboard) ── */
html.x-premium .marketing-shell .hero-insight-card,
html.x-premium .marketing-shell .hero-bottom-band,
html.x-premium .marketing-shell .marketing-stat,
html.x-premium .marketing-shell .glass-panel {
  border-color: var(--x-line) !important;
  background:
    linear-gradient(180deg, rgba(22, 24, 28, 0.96), rgba(8, 8, 8, 0.96)) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
}

html.x-premium .marketing-shell .hero-insight-card__eyebrow,
html.x-premium .marketing-shell .hero-bottom-band__eyebrow {
  color: var(--x-blue) !important;
}

html.x-premium .marketing-shell .hero-insight-card__value,
html.x-premium .marketing-shell .hero-bottom-band__title {
  color: #fff !important;
}

/* ── Invite strip — inside hero CTA row, stable layout ── */
html.x-premium .hero-cta-row {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
}

.x-invite-strip {
  width: 100%;
  margin: 0;
  animation: xStripIn 0.45s ease-out both;
}

@keyframes xStripIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.x-invite-strip__inner {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(29, 155, 240, 0.35);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(29, 155, 240, 0.18), transparent 55%),
    rgba(22, 24, 28, 0.92);
}

.x-invite-strip__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--x-blue-dim);
  color: var(--x-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.x-invite-strip__copy {
  display: grid;
  gap: 4px;
}

.x-invite-strip__copy strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.x-invite-strip__copy span {
  color: var(--x-gray);
  font-size: 13px;
  line-height: 1.45;
}

.x-invite-strip__link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--x-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.x-invite-strip__link:hover {
  filter: brightness(1.06);
}

@media (min-width: 768px) {
  .x-invite-strip__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px 18px;
    padding: 16px 18px;
  }

  .x-invite-strip__badge {
    grid-row: span 2;
  }

  .x-invite-strip__copy strong {
    font-size: 18px;
  }
}

html.x-premium .hero-cta-row__actions {
  width: 100%;
}

/* ── Buy page ── */
.x-buy-guide {
  width: min(920px, calc(100% - 24px));
  margin: 16px auto 24px;
}

.x-buy-guide__card {
  border-radius: 16px;
  border: 1px solid var(--x-line);
  background: var(--x-card);
  padding: 16px;
}

.x-buy-guide__badge {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--x-blue-dim);
  color: var(--x-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.x-buy-guide__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.x-buy-guide__steps,
.x-buy-guide__notes {
  margin: 0;
  padding-left: 18px;
  color: var(--x-gray);
  font-size: 13.5px;
  line-height: 1.5;
}

.x-buy-guide__steps {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.x-buy-guide__notes {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--x-line);
}

.x-buy-guide__steps strong,
.x-buy-guide__notes strong {
  color: #fff;
}

.x-buy-bonus-note {
  width: min(920px, calc(100% - 24px));
  margin: 12px auto 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 186, 124, 0.35);
  background: rgba(0, 186, 124, 0.08);
  color: #d1fae5;
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.25s ease;
}

.x-buy-bonus-note.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.x-first-bonus-strip {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: start;
  width: 100%;
  margin: 10px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 186, 124, 0.35);
  background: linear-gradient(180deg, rgba(0, 186, 124, 0.12) 0%, rgba(0, 186, 124, 0.05) 100%);
  box-sizing: border-box;
}

.x-first-bonus-strip__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 12px;
  background: rgba(0, 186, 124, 0.18);
  color: #6ee7b7;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.x-first-bonus-strip__title {
  margin: 0 0 4px;
  color: #ecfdf5;
  font-size: 14px;
  font-weight: 800;
}

.x-first-bonus-strip__sub {
  margin: 0 0 6px;
  color: #a7f3d0;
  font-size: 12.5px;
  line-height: 1.45;
}

.x-first-bonus-strip__calc {
  margin: 0;
  color: #d1fae5;
  font-size: 12.5px;
  line-height: 1.45;
}

.x-first-bonus-strip__calc strong {
  color: #fff;
}

html.x-page-buy .x-first-bonus-strip {
  max-width: 100%;
}

/* ── Buy page: official payment intro ── */
.x-pay-intro {
  width: min(920px, calc(100% - 24px));
  margin: 0 auto 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--x-line);
  background: var(--x-card);
}

.x-pay-intro__kicker {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--x-blue);
}

.x-pay-intro__title {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.x-pay-intro__sub {
  margin: 0;
  color: var(--x-gray);
  font-size: 13.5px;
  line-height: 1.5;
}

.x-pay-intro__link {
  color: var(--x-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.x-pay-intro__link:hover {
  color: #fff;
}

html.x-premium .crypto-select-container {
  width: min(920px, calc(100% - 24px));
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1025px) {
  html.x-premium .crypto-select-container {
    width: revert;
    margin-left: revert;
    margin-right: revert;
  }
}

/* ── Orders list (no ?order= in URL) ── */
html.x-orders-list-mode .transaction-page {
  display: none !important;
}

.x-orders-hub {
  width: min(920px, calc(100% - 24px));
  margin: 0 auto 20px;
}

.x-orders-hub__card {
  border-radius: 18px;
  border: 1px solid var(--x-line);
  background: var(--x-card);
  padding: 18px 16px;
}

.x-orders-hub__kicker {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--x-blue);
}

.x-orders-hub__title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.x-orders-hub__sub {
  margin: 0 0 14px;
  color: var(--x-gray);
  font-size: 13.5px;
  line-height: 1.45;
}

.x-orders-loading {
  padding: 18px 0;
  text-align: center;
  color: var(--x-gray);
  font-size: 14px;
}

.x-orders-list {
  display: grid;
  gap: 10px;
}

.x-orders-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--x-line);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
}

.x-orders-row:hover {
  border-color: rgba(29, 155, 240, 0.35);
  background: rgba(29, 155, 240, 0.06);
}

.x-orders-row__main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.x-orders-row__id {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.x-orders-row__meta {
  color: var(--x-gray);
  font-size: 12px;
}

.x-orders-row__side {
  display: grid;
  gap: 4px;
  justify-items: end;
  flex-shrink: 0;
}

.x-orders-row__amount {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.x-orders-row__status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.x-orders-row__status--approved {
  color: #34d399;
}

.x-orders-row__status--pending {
  color: #fbbf24;
}

.x-orders-row__status--rejected,
.x-orders-row__status--declined {
  color: #f87171;
}

.x-orders-empty {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 8px 0 4px;
}

.x-orders-empty__title {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.x-orders-empty__sub {
  margin: 0;
  color: var(--x-gray);
  font-size: 13px;
  line-height: 1.45;
}

.x-orders-empty__cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 4px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

/* ── Footer sections polish ── */
html.x-premium .marketing-container section {
  scroll-margin-top: 88px;
}

html.x-premium .marketing-shell .hub-badge,
html.x-premium .landing-tokenomics-card__badge {
  background: var(--x-blue-dim) !important;
  color: var(--x-blue) !important;
}

/* ── Mobile bottom nav ── */
.x-mobile-nav {
  display: none;
}

@media (max-width: 1024px) {
  .x-mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: calc(62px + var(--x-safe-b));
    padding-bottom: var(--x-safe-b);
    background: rgba(0, 0, 0, 0.94);
    border-top: 1px solid var(--x-line);
    backdrop-filter: blur(18px);
  }

  .x-mobile-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--x-gray);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
  }

  .x-mobile-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: inherit;
  }

  .x-mobile-nav__icon svg {
    width: 22px;
    height: 22px;
    display: block;
  }

  .x-mobile-nav__icon--buy {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #fff;
    color: #000;
  }

  .x-mobile-nav__icon--buy svg {
    width: 18px;
    height: 18px;
  }

  .x-mobile-nav__item.is-active {
    color: #fff;
  }

  .x-mobile-nav__item.is-active .x-mobile-nav__icon--buy {
    box-shadow: 0 0 0 2px rgba(29, 155, 240, 0.45);
  }

  html.x-premium input,
  html.x-premium select,
  html.x-premium textarea,
  html.x-premium button {
    font-size: 16px !important;
  }

  html.x-premium #root {
    overflow-x: hidden;
  }
}

/* ═══════════════════════════════════════════
   Landing — responsive polish (all devices)
   ═══════════════════════════════════════════ */
html.x-premium .marketing-container {
  width: min(1180px, calc(100% - 24px)) !important;
}

html.x-premium #overview {
  gap: clamp(18px, 3vw, 28px) !important;
}

html.x-premium .marketing-container h1 {
  line-height: 0.96 !important;
}

html.x-premium .hero-cta-row__actions .brand-button-primary,
html.x-premium .hero-cta-row__actions .brand-button-secondary {
  min-height: 48px;
}

html.x-premium .hero-bottom-band,
html.x-premium .glass-panel,
html.x-premium .marketing-stat,
html.x-premium .landing-tokenomics-card {
  border-radius: clamp(18px, 3vw, 28px) !important;
}

html.x-premium .live-progress-modal__shell {
  border-color: var(--x-line) !important;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(0, 0, 0, 0.98)) !important;
}

@media (max-width: 1023px) {
  html.x-premium #overview {
    grid-template-columns: 1fr !important;
  }

  html.x-premium .hero-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1px !important;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--x-line);
  }

  html.x-premium .hero-insight-card {
    padding: 14px 16px !important;
    border-radius: 0 !important;
  }

  html.x-premium .hero-insight-card:first-child {
    grid-column: 1 / -1;
  }

  html.x-premium .hero-insight-card:not(:first-child)::before {
    display: none !important;
  }

  html.x-premium .hero-bottom-band__status-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    text-align: center;
  }

  html.x-premium .hero-bottom-band__status-spacer {
    display: none !important;
  }
}

@media (max-width: 768px) {
  html.x-premium .marketing-container {
    width: min(1180px, calc(100% - 20px)) !important;
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }

  html.x-premium .marketing-nav__inner {
    min-height: auto !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  html.x-premium .section-kicker {
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    padding: 7px 12px !important;
  }

  html.x-premium .hero-cta-row__actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html.x-premium .hero-cta-row__actions > * {
    width: 100% !important;
  }

  html.x-premium .hero-cta-row__actions .brand-button-primary,
  html.x-premium .hero-cta-row__actions .brand-button-secondary {
    justify-content: center !important;
  }

  html.x-premium .hero-insights-grid {
    grid-template-columns: 1fr !important;
  }

  html.x-premium .hero-insight-card:first-child {
    grid-column: auto;
  }

  html.x-premium .hero-bottom-band {
    padding: 16px !important;
    border-radius: 20px !important;
  }

  html.x-premium .hero-insight-card__timer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  html.x-premium .marketing-stat {
    min-height: 148px !important;
    padding: 16px !important;
  }
}

@media (max-width: 390px) {
  html.x-premium .marketing-container h1 {
    font-size: clamp(2rem, 10.5vw, 2.65rem) !important;
  }

  html.x-premium .x-invite-strip__inner {
    padding: 12px !important;
  }

  html.x-premium .brand-chip {
    padding: 8px 10px !important;
    min-height: 40px !important;
  }
}

/* ═══════════════════════════════════════════
   Payment modal — full mobile adaptation
   ═══════════════════════════════════════════ */
html.x-pay-open {
  overflow: hidden;
}

html.x-pay-open body {
  touch-action: none;
}

html.x-pay-open .x-mobile-nav {
  z-index: 55;
}

@media (max-width: 1024px) {
  html.x-premium [data-state='open'].pay-sheet-dialog,
  html.x-premium [data-state='open'].pay_proc_cont {
    z-index: 100 !important;
  }

  html.x-premium .pay_proc_cont {
    border-color: var(--x-line) !important;
    background: #000 !important;
    box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.85) !important;
  }

  html.x-premium .pay_proc_cont::before {
    display: none !important;
  }

  html.x-premium .pay_proc_card {
    border-color: var(--x-line) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: none !important;
  }

  html.x-premium .pay-sheet__label,
  html.x-premium .payment-process-kicker {
    color: var(--x-blue) !important;
  }

  html.x-premium .pay-sheet__amount,
  html.x-premium .payment-process-title,
  html.x-premium .pay-sheet__copy-value {
    color: #fff !important;
  }

  html.x-premium .pay-sheet__receive {
    color: #8fd4ff !important;
  }

  html.x-premium .pay-sheet__note {
    color: var(--x-gray) !important;
  }
}

@media (max-width: 1024px) {
  html.x-premium .pay_proc_cont.pay-dialog-mobile,
  html.x-premium .pay-sheet-dialog.pay-dialog-mobile {
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    transform: none !important;
    translate: none !important;
    max-height: min(94dvh, calc(100dvh - 8px)) !important;
    border-radius: 20px 20px 0 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 10px 14px calc(16px + env(safe-area-inset-bottom)) !important;
    background: #000 !important;
    border: 1px solid var(--x-line) !important;
    border-bottom: none !important;
  }

  html.x-has-mobile-nav html.x-premium .pay_proc_cont.pay-dialog-mobile,
  html.x-has-mobile-nav html.x-premium .pay-sheet-dialog.pay-dialog-mobile,
  html.x-has-mobile-nav.x-premium .pay_proc_cont.pay-dialog-mobile,
  html.x-has-mobile-nav.x-premium .pay-sheet-dialog.pay-dialog-mobile {
    max-height: min(92dvh, calc(100dvh - var(--x-nav-h) - 8px)) !important;
    padding-bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  }

  html.x-premium .pay_proc_cont > button[class*='absolute'],
  html.x-premium .pay-sheet-dialog > button[class*='absolute'] {
    top: 8px !important;
    right: 8px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
  }

  /* Step 1: order summary inside modal */
  html.x-premium .pay_proc_cont form > hr,
  html.x-premium .pay_proc_cont .p-4.sm\:p-0 {
    padding: 0 !important;
    max-width: 100%;
  }

  html.x-premium .pay_proc_cont .pay_proc_cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  html.x-premium .pay_proc_cont .pay_proc_card {
    width: 100% !important;
    min-height: 68px;
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }

  html.x-premium .pay_proc_cont .account-button-primary.mt-4 {
    margin-top: 12px !important;
    min-height: 52px !important;
    border-radius: 999px !important;
    position: sticky;
    bottom: 0;
    z-index: 3;
  }

  html.x-premium .pay_proc_cont .text-2xl.text-title {
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
  }

  /* Step 2: mobile pay-sheet (QR + address) */
  html.x-premium .pay-sheet {
    display: grid !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 2px 0 4px !important;
    box-sizing: border-box;
  }

  html.x-premium .pay-sheet__handle {
    width: 36px;
    height: 4px;
    margin: 0 auto 4px;
    background: rgba(255, 255, 255, 0.22);
  }

  html.x-premium .pay-sheet__hero {
    padding: 0 4px !important;
  }

  html.x-premium .pay-sheet__amount {
    font-size: clamp(1.25rem, 6.5vw, 1.65rem) !important;
    line-height: 1.2 !important;
    word-break: break-word;
  }

  html.x-premium .pay-sheet__receive {
    font-size: 0.88rem !important;
  }

  html.x-premium .pay-sheet__qr {
    width: min(100%, 260px) !important;
    margin: 0 auto !important;
    padding: 12px !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-sizing: border-box;
  }

  html.x-premium .pay-sheet__qr canvas,
  html.x-premium .pay-sheet__qr img,
  html.x-premium .pay-sheet__qr svg {
    width: 100% !important;
    height: auto !important;
    max-width: 220px;
    margin: 0 auto;
    display: block;
  }

  html.x-premium .pay-sheet__copies {
    gap: 8px !important;
    width: 100%;
  }

  html.x-premium .pay-sheet__copy-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 6px 10px !important;
    align-items: center !important;
    width: 100% !important;
    padding: 12px !important;
    border-radius: 14px !important;
    border: 1px solid var(--x-line) !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  html.x-premium .pay-sheet__copy-label {
    grid-column: 1 / -1 !important;
    font-size: 10px !important;
    color: var(--x-blue) !important;
  }

  html.x-premium .pay-sheet__copy-value {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
    word-break: break-all;
    text-align: left;
  }

  html.x-premium .pay-sheet__copy-value--address {
    font-size: 0.78rem !important;
    color: var(--x-gray-light) !important;
    max-height: none;
  }

  html.x-premium .pay-sheet__confirm {
    min-height: 52px !important;
    margin-top: 4px !important;
    border-radius: 999px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    position: sticky;
    bottom: 0;
    z-index: 4;
    background: #fff !important;
    color: #000 !important;
  }

  html.x-premium .payment-process-confirm__content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  html.x-premium .payment-process-detail-card {
    border-radius: 14px !important;
    border: 1px solid var(--x-line) !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  html.x-premium .payment-process-detail-input,
  html.x-premium .payment-process-detail-input--address {
    min-height: 52px !important;
    font-size: 14px !important;
    word-break: break-all;
  }

  html.x-premium .payment-process-detail-address-viewport {
    width: 100% !important;
    max-width: 100% !important;
  }

  html.x-premium .payment-process-actions {
    flex-direction: column !important;
    gap: 10px !important;
    position: sticky;
    bottom: 0;
    padding-top: 10px;
    background: linear-gradient(180deg, transparent, #000 35%);
  }

  html.x-premium .payment-process-actions .account-button-primary,
  html.x-premium .payment-process-actions .account-button-secondary {
    width: 100% !important;
    min-height: 50px !important;
    border-radius: 999px !important;
  }

  /* Buy flow after crypto selected */
  html.x-premium .buy-checkout,
  html.x-premium .buy-checkout--active,
  html.x-premium .buy-amount-panel,
  html.x-premium .order-entry-shell,
  html.x-premium .buy-params-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  html.x-premium .buy-amount-panel__row {
    grid-template-columns: minmax(0, 1fr) 48px !important;
  }

  html.x-premium .buy_input--mobile,
  html.x-premium .buy-crypto-container .buy_input.buy_input--mobile {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1.2rem !important;
    height: 54px !important;
  }

  html.x-premium .buy-preset-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  html.x-premium .buy-preset-scroll::-webkit-scrollbar {
    display: none;
  }

  html.x-premium .buy-submit-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
  }

  html.x-premium .buy-submit-wrap__button {
    width: 100% !important;
    min-height: 52px !important;
  }

  html.x-page-buy-checkout .buy-submit-wrap__button {
    border-radius: 18px !important;
  }

  html.x-premium .crypto-rail--mobile {
    display: grid !important;
    gap: 10px;
    width: 100%;
  }

  html.x-premium .crypto-card.crypto-card--compact {
    width: 100% !important;
    min-width: 0 !important;
  }

  html.x-premium .crypto-select-toolbar {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  html.x-premium .crypto-select-toolbar__search {
    flex: 1 1 100% !important;
    min-height: 52px !important;
  }

  html.x-premium .buy-crypto-container,
  html.x-premium .buy-summary-flow {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  html.x-premium .pay_proc_cont.pay-dialog-mobile,
  html.x-premium .pay-sheet-dialog.pay-dialog-mobile {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  html.x-premium .pay-sheet__qr {
    width: min(100%, 230px) !important;
  }
}

/* ═══════════════════════════════════════════
   Dashboard — mobile-only dark flattening
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  html.x-premium .account-shell {
    background: #000 !important;
  }

  html.x-premium .account-main,
  html.x-premium .account-layout,
  html.x-premium #root {
    background: #000 !important;
  }

  html.x-premium .account-shell::before,
  html.x-premium .account-shell::after {
    display: none !important;
  }

  html.x-premium .dashboard-surface,
  html.x-premium .hub-surface,
  html.x-premium .account-card,
  html.x-premium .account-page-hero,
  html.x-premium .account-topbar {
    border-radius: 16px !important;
    border: 1px solid var(--x-line) !important;
    background: #0a0a0a !important;
    box-shadow: none !important;
  }

  html.x-premium .crypto-card.crypto-card--modern,
  html.x-premium .crypto-select-toolbar {
    background: #0a0a0a !important;
    border-color: var(--x-line) !important;
    box-shadow: none !important;
  }

  html.x-premium .crypto-card.crypto-card--modern.active {
    background: rgba(29, 155, 240, 0.08) !important;
    border-color: rgba(29, 155, 240, 0.35) !important;
    box-shadow: none !important;
  }

  html.x-premium .hub-surface::after,
  html.x-premium .dashboard-surface::after {
    display: none !important;
  }

  html.x-premium .account-main {
    padding-bottom: calc(var(--x-nav-h) + 12px);
  }

  html.x-premium .account-button-primary {
    min-height: 48px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.08) !important;
  }

  html.x-premium .account-button-secondary {
    min-height: 48px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    border: 1px solid var(--x-line) !important;
    background: transparent !important;
    color: var(--x-gray-light) !important;
    font-weight: 700 !important;
  }
}

@media (max-width: 1024px) {
  html.x-premium .account-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 10px 14px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--x-line) !important;
    background: rgba(0, 0, 0, 0.92) !important;
    backdrop-filter: blur(16px);
  }

  html.x-premium .account-topbar .text-xs.uppercase,
  html.x-premium .account-topbar [class*='tracking-'] {
    display: none !important;
  }

  html.x-premium .account-topbar h1,
  html.x-premium .account-topbar .text-2xl,
  html.x-premium .account-topbar .text-3xl {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  html.x-premium .dashboard-logout {
    min-height: 36px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    border-radius: 999px !important;
    border: 1px solid var(--x-line) !important;
    background: transparent !important;
  }

  html.x-premium .account-page-hero {
    padding: 16px !important;
  }

  html.x-premium .account-page-hero h2,
  html.x-premium .account-page-hero .text-2xl,
  html.x-premium .account-page-hero .text-3xl,
  html.x-premium .hub-surface__title {
    font-size: 1.2rem !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
  }

  html.x-premium .hub-surface__copy,
  html.x-premium .account-page-hero p {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  html.x-premium .section-kicker,
  html.x-premium .order-section-kicker {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
    padding: 4px 10px !important;
  }

  /* Buy page — remove duplicate slider/range junk on mobile */
  html.x-page-buy .order-range-shell,
  html.x-page-buy .buy-summary-flow__range,
  html.x-page-buy .order-quote-grid,
  html.x-page-buy .buy-mobile-limits,
  html.x-page-buy #x-buy-guide {
    display: none !important;
  }

  html.x-page-buy .account-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  html.x-page-buy .crypto-select-container {
    width: 100% !important;
    margin: 0 !important;
    gap: 12px !important;
  }

  html.x-page-buy .crypto-select-toolbar {
    padding: 12px !important;
    border-radius: 14px !important;
    background: rgba(22, 24, 28, 0.96) !important;
    box-shadow: none !important;
  }

  html.x-page-buy .crypto-card.crypto-card--modern {
    padding: 14px !important;
    border-radius: 14px !important;
    gap: 10px !important;
    border-color: var(--x-line) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html.x-page-buy .crypto-card.crypto-card--modern.active {
    border-color: rgba(29, 155, 240, 0.45) !important;
    background: rgba(29, 155, 240, 0.08) !important;
    box-shadow: none !important;
  }

  html.x-page-buy .buy-checkout__asset {
    border-radius: 14px !important;
    padding: 12px 14px !important;
  }

  html.x-page-buy .buy-amount-panel {
    border-radius: 14px !important;
    padding: 12px 14px !important;
  }

  html.x-page-buy .x-pay-intro {
    width: 100%;
    margin: 0 0 10px;
  }

  /* Kill horizontal overflow + right-edge cropping on buy */
  html.x-page-buy .account-main,
  html.x-page-buy .buy-crypto-container,
  html.x-page-buy .buy-summary-flow,
  html.x-page-buy .buy-checkout,
  html.x-page-buy .buy-checkout--active,
  html.x-page-buy .buy-amount-panel,
  html.x-page-buy .buy-mobile-quote,
  html.x-page-buy .buy-mobile-quote__row,
  html.x-page-buy .buy-mobile-bonus,
  html.x-page-buy [class*='buy-'] {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html.x-page-buy .account-main,
  html.x-page-buy .account-shell,
  html.x-page-buy #root {
    overflow-x: hidden !important;
  }

  html.x-page-buy .buy-mobile-quote {
    width: 100% !important;
    border-radius: 14px !important;
  }

  html.x-page-buy .buy-mobile-quote__row {
    width: 100% !important;
    gap: 8px !important;
  }

  html.x-page-buy .buy-mobile-quote__value {
    text-align: right !important;
    word-break: break-word;
    min-width: 0;
  }

  /* Mobile checkout — native-style sticky buy bar (button only) */
  @media (max-width: 768px) {
    html.x-page-buy-checkout .buy-summary-flow {
      transform: none !important;
    }

    html.x-page-buy-checkout .buy-submit-wrap,
    html.x-page-buy-checkout .buy-submit-wrap--ready {
      position: fixed !important;
      left: 0 !important;
      right: 0 !important;
      bottom: var(--x-nav-h) !important;
      z-index: 70 !important;
      width: 100% !important;
      max-width: 100vw !important;
      margin: 0 !important;
      padding: 10px 12px calc(12px + env(safe-area-inset-bottom)) !important;
      border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
      background: rgba(5, 11, 20, 0.94) !important;
      backdrop-filter: blur(16px) !important;
      -webkit-backdrop-filter: blur(16px) !important;
      box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35) !important;
      box-sizing: border-box !important;
    }

    html.x-page-buy-checkout .buy-submit-wrap__button {
      min-height: 54px !important;
      border-radius: 18px !important;
      font-size: 1rem !important;
      font-weight: 700 !important;
    }

    html.x-page-buy-checkout .buy-checkout--active {
      padding-bottom: calc(var(--x-nav-h) + 88px) !important;
    }

    html.x-page-buy-checkout #x-first-bonus-strip {
      position: static !important;
      margin: 8px 0 10px !important;
      padding: 10px 12px !important;
      grid-template-columns: 44px 1fr !important;
      gap: 10px !important;
    }

    html.x-page-buy-checkout .x-first-bonus-strip__badge {
      min-height: 44px !important;
      font-size: 13px !important;
    }

    html.x-page-buy-checkout .x-first-bonus-strip__sub {
      display: none !important;
    }
  }
}

/* Desktop — native dashboard/buy, no overlay injections */
@media (min-width: 1025px) {
  html.x-page-buy #x-pay-intro,
  html.x-page-buy #x-buy-guide,
  html.x-page-buy #x-first-bonus-strip {
    display: none !important;
  }

  /* Native bundle puts .buy-mobile-limits after Tailwind .md:hidden — it wins on desktop */
  html.x-page-buy .buy-mobile-limits,
  html.x-page-buy .buy-mobile-bonus {
    display: none !important;
  }

  html.x-page-buy-checkout .buy-submit-wrap,
  html.x-page-buy-checkout .buy-submit-wrap--ready {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html.x-page-buy-checkout .buy-submit-wrap__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 54px !important;
    padding: 0 22px !important;
    border-radius: 18px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
  }

  html.x-page-buy-checkout .buy-checkout--active,
  html.x-page-buy-checkout .buy-summary-flow {
    padding-bottom: revert !important;
  }
}

/* Orders page — one clean screen, no double layout */
html.x-orders-list-mode .transaction-page,
html.x-orders-list-mode .account-topbar {
  display: none !important;
}

html.x-orders-list-mode .account-main > *:not(#x-orders-hub) {
  display: none !important;
}

html.x-orders-list-mode .account-main {
  padding: 10px 12px calc(var(--x-nav-h) + 12px) !important;
}

html.x-orders-list-mode #x-orders-hub {
  width: 100%;
  max-width: 100%;
  margin: 0;
  flex: none;
}

html.x-orders-list-mode .x-orders-hub__card {
  min-height: auto !important;
  height: auto !important;
  padding: 14px !important;
  border-radius: 16px !important;
  background: rgba(22, 24, 28, 0.96) !important;
  border: 1px solid var(--x-line) !important;
  box-shadow: none !important;
}

html.x-orders-list-mode .x-orders-hub__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

html.x-orders-list-mode .x-orders-hub__title {
  margin: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
}

html.x-orders-list-mode .x-orders-hub__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--x-blue-dim);
  color: var(--x-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html.x-orders-list-mode .x-orders-hub__sub {
  margin: 0 0 12px !important;
  font-size: 13px !important;
}

html.x-orders-list-mode .x-orders-list {
  gap: 8px;
}

html.x-orders-list-mode .x-orders-row {
  padding: 12px !important;
  border-radius: 12px !important;
}

html.x-orders-list-mode .x-orders-row__id {
  font-size: 13px !important;
}

html.x-orders-list-mode .x-orders-row__amount {
  font-size: 12px !important;
}

html.x-orders-list-mode .x-orders-empty {
  flex: none;
  padding: 20px 0 8px;
}

html.x-orders-list-mode .x-orders-empty__cta {
  justify-self: center;
}

/* Dashboard mobile shell — stop right-edge drift */
@media (max-width: 1024px) {
  html.x-premium .account-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  html.x-premium .account-main {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    padding: 10px 12px calc(var(--x-nav-h) + 14px) !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  html.x-premium .account-topbar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
    padding: 10px 12px !important;
  }

  html.x-premium .account-topbar > .flex,
  html.x-premium .account-topbar .flex.flex-wrap {
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  html.x-premium .account-topbar .flex.items-center.gap-3 {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  html.x-premium .account-topbar h1,
  html.x-premium .account-topbar .text-2xl,
  html.x-premium .account-topbar .text-3xl {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 100% !important;
  }

  html.x-premium .dashboard-logout {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  html.x-page-buy .buy-amount-panel {
    overflow: hidden !important;
    width: 100% !important;
  }

  html.x-page-buy .buy-amount-panel__row {
    width: 100% !important;
    max-width: 100% !important;
  }

  html.x-page-buy .buy_input--mobile,
  html.x-page-buy .buy-crypto-container .buy_input.buy_input--mobile {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html.x-page-buy .buy-preset-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 2px 2px 6px !important;
    margin-top: 10px !important;
    box-sizing: border-box !important;
  }

  html.x-page-buy .buy-preset-scroll__chip {
    flex: 0 0 auto !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  html.x-page-buy .buy-mobile-bonus {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    word-break: break-word;
  }

  html.x-page-buy .buy-checkout,
  html.x-page-buy .buy-summary-flow,
  html.x-page-buy .buy-crypto-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .x-mobile-nav__icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 2;
  }

  .x-mobile-nav__icon--buy svg {
    width: 16px !important;
    height: 16px !important;
  }
}

/* ── How to Buy guide ── */
html.x-howto-mode .account-main > *:not(.account-topbar):not(#x-howto-guide),
html.x-howto-mode .account-main .relative.z-10,
html.x-howto-mode .binance-guide-step {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.x-howto-mode .account-shell,
html.x-howto-mode .account-layout,
html.x-howto-mode .account-main,
html.x-howto-mode #root {
  min-height: 0 !important;
  height: auto !important;
}

html.x-howto-mode .account-main {
  padding-bottom: calc(var(--x-nav-h) + 16px) !important;
}

html.x-howto-mode #x-howto-guide {
  min-height: 0 !important;
}

.x-howto-guide {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 20px;
}

.x-howto-guide__hero {
  margin-bottom: 16px;
}

.x-howto-guide__kicker {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--x-blue);
}

.x-howto-guide__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.x-howto-guide__lead {
  margin: 0;
  color: var(--x-gray);
  font-size: 14px;
  line-height: 1.55;
}

.x-howto-guide__lead strong {
  color: #fff;
}

.x-howto-guide__pick {
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.x-howto-guide__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.x-howto-guide__tabs::-webkit-scrollbar {
  display: none;
}

.x-howto-tab {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--x-line);
  background: #0a0a0a;
  color: var(--x-gray);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.x-howto-tab.is-active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.x-howto-region {
  display: block;
}

.x-howto-region__countries {
  margin: 0 0 6px;
  color: var(--x-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.x-howto-region__intro {
  margin: 0 0 14px;
  color: var(--x-gray);
  font-size: 13.5px;
  line-height: 1.5;
}

.x-howto-methods {
  display: grid;
  gap: 10px;
}

.x-howto-method {
  border-radius: 16px;
  border: 1px solid var(--x-line);
  background: #0a0a0a;
  overflow: hidden;
}

.x-howto-method[open] {
  border-color: rgba(29, 155, 240, 0.35);
  background: rgba(29, 155, 240, 0.04);
}

.x-howto-method__summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 40px 14px 14px;
  position: relative;
}

.x-howto-method__summary::-webkit-details-marker {
  display: none;
}

.x-howto-method__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.x-howto-method__name {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.x-howto-method__badge {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--x-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--x-gray);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.x-howto-method__tag {
  margin: 0;
  color: var(--x-gray);
  font-size: 13px;
  line-height: 1.45;
}

.x-howto-method__chev {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--x-gray);
  border-bottom: 2px solid var(--x-gray);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.x-howto-method[open] .x-howto-method__chev {
  transform: rotate(-135deg);
  margin-top: -2px;
  border-color: var(--x-blue);
}

.x-howto-method__body {
  padding: 0 14px 14px;
  border-top: 1px solid var(--x-line);
}

.x-howto-method__steps {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--x-gray);
  font-size: 13.5px;
  line-height: 1.5;
}

.x-howto-method__steps li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.x-howto-method__steps li:last-child {
  margin-bottom: 0;
}

.x-howto-method__steps strong {
  color: #fff;
}

.x-howto-method__steps a {
  color: var(--x-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.x-howto-method__tip {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(29, 155, 240, 0.2);
  background: rgba(29, 155, 240, 0.06);
  color: #b8dcff;
  font-size: 12.5px;
  line-height: 1.45;
}

.x-howto-finish {
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, #0a0a0a 100%);
}

.x-howto-finish__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.x-howto-finish__steps {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--x-gray);
  font-size: 13.5px;
  line-height: 1.5;
}

.x-howto-finish__steps li {
  margin-bottom: 8px;
}

.x-howto-finish__steps a {
  color: var(--x-blue);
  font-weight: 700;
}

.x-howto-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

html.x-page-buy #x-pay-intro {
  width: 100%;
  max-width: 100%;
  margin: 0 0 12px;
  box-sizing: border-box;
}
