* {
  scroll-behavior: smooth;
}

/* Horizontal wordmark — height-led sizing */
.site-logo {
  --logo-h: 2.5rem;
  height: var(--logo-h);
  width: auto;
  max-width: min(14rem, 72vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
}

.site-logo--sm {
  --logo-h: 2.25rem; /* dashboard nav */
  max-width: min(12rem, 58vw);
}

/* Main site header — logo defines bar height; no extra min-height on nav */
.site-logo--md,
.site-logo--nav {
  --logo-h: 4rem; /* 64px mobile — bar height unchanged via tighter py */
  max-width: min(23rem, 88vw);
}

.site-logo--footer {
  --logo-h: 6.25rem; /* ~100px — +2 sizes from base */
  max-width: 28rem;
}

@media (min-width: 640px) {
  .site-logo--footer {
    --logo-h: 7rem; /* ~112px */
    max-width: 32rem;
  }
}

.site-logo--mobile-menu {
  --logo-h: 3.5rem;
  max-width: min(20rem, 92vw);
}

.site-logo--sidebar-drawer {
  --logo-h: 3.85rem;
  max-width: 100%;
  width: auto;
}

@media (min-width: 640px) {
  .site-logo--mobile-menu {
    --logo-h: 3.75rem;
    max-width: 21rem;
  }

  .site-logo--sidebar-drawer {
    --logo-h: 4.15rem;
  }
}

#dashboardView img.site-logo.site-logo--sidebar-drawer {
  height: var(--logo-h) !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  object-position: left center;
}

.site-logo--auth {
  --logo-h: 3rem; /* 48px admin login */
  max-width: 14rem;
}

.site-logo-hero-mark {
  height: 3.25rem;
  width: auto;
  max-width: min(18rem, 85%);
  object-fit: contain;
  display: block;
}

.hero-icon-mark {
  width: 88%;
  height: 88%;
  max-width: 12rem;
  max-height: 12rem;
  object-fit: contain;
  display: block;
}

@media (min-width: 640px) {
  .hero-icon-mark {
    max-width: 13rem;
    max-height: 13rem;
  }
}

@media (min-width: 1024px) {
  .hero-icon-mark {
    max-width: 16rem;
    max-height: 16rem;
  }
}

@media (min-width: 640px) {
  .site-logo--sm {
    --logo-h: 2.5rem;
    max-width: 13rem;
  }
}

@media (max-width: 1023px) {
  #siteLanding nav.sticky > div,
  #siteLanding .landing-nav {
    min-height: 3.75rem;
    padding-block: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .site-logo--md,
  .site-logo--nav {
    --logo-h: 4.75rem; /* 76px desktop */
    max-width: 27rem;
  }

  .site-logo-hero-mark {
    height: 4.25rem;
    max-width: 22rem;
  }
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: #0a0a0f;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 214, 10, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 195, 0, 0.06) 0%, transparent 40%),
    linear-gradient(135deg, #0a0a0f 0%, #12121a 100%);
  background-attachment: fixed;
  font-size: 1rem;
  line-height: 1.5;
}

.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 214, 10, 0.15);
}

.glass:hover {
  border-color: rgba(255, 214, 10, 0.4);
}

.gradient-text {
  background: linear-gradient(135deg, #ffd60a 0%, #ffc300 50%, #ffb800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd60a 0%, #ffc300 100%);
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(255, 214, 10, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 214, 10, 0.5);
}

.btn-secondary {
  color: #ffd60a;
  background: rgba(255, 214, 10, 0.06);
  border: 1px solid rgba(255, 214, 10, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.08);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: rgba(255, 214, 10, 0.14);
  border-color: rgba(255, 214, 10, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 214, 10, 0.15);
}

.auth-modal-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-modal-tabs {
  flex: 1;
  min-width: 0;
}

.auth-modal-close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 214, 10, 0.35);
  color: #ffd60a;
  background: rgba(255, 214, 10, 0.08);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.auth-modal-close:hover {
  background: rgba(255, 214, 10, 0.18);
  border-color: rgba(255, 214, 10, 0.65);
  transform: scale(1.05);
}

.auth-modal-close i {
  font-size: 1rem;
  line-height: 1;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero-cta__btn {
  min-height: 3.25rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  inline-size: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .hero-cta__btn {
    min-height: 3.5rem;
    padding: 1rem 1.875rem;
  }
}

@media (max-width: 1023px) {
  #siteLanding .landing-hero__copy .hero-cta {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  #siteLanding .landing-hero__copy .hero-cta {
    justify-content: flex-start;
  }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ========== Dashboard ========== */
body.dashboard-active {
  background: #0a0a0f;
  background-image: linear-gradient(180deg, #0a0a0f 0%, #101018 100%);
  scroll-behavior: auto;
}

#dashboardView {
  --dash-shell-max: 1560px;
  --dash-nav-h: 5.5rem;
  --dash-sidebar-w: 20.5rem;
  --dash-sidebar-inset: 0.875rem;
}

/* Shared horizontal rhythm — header + body align */
#dashboardView .dash-container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--dash-shell-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  #dashboardView .dash-container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  #dashboardView .dash-container {
    padding-inline: 1.5rem;
  }
}

/* User panel header */
.dash-top-nav {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dash-notif-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 50;
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(24rem, 70vh);
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 20, 0.98);
  backdrop-filter: blur(16px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 214, 10, 0.06);
}

.dash-notif-dropdown__head {
  padding: 0.875rem 1rem 0.625rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-notif-dropdown__title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.dash-notif-dropdown__sub {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: rgb(156 163 175);
}

.dash-notif-dropdown__list {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.375rem 0;
  margin: 0;
  list-style: none;
}

.dash-notif-dropdown__empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: rgb(156 163 175);
  font-size: 0.8125rem;
}

.dash-notif-dropdown__empty i {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 214, 10, 0.45);
}

.dash-notif-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  width: 100%;
  padding: 0.625rem 1rem;
  text-align: left;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dash-notif-item:hover,
.dash-notif-item:focus-visible {
  background: rgba(255, 214, 10, 0.08);
  outline: none;
}

.dash-notif-item__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgb(255 214 10);
  font-size: 0.8125rem;
}

.dash-notif-item__body {
  flex: 1;
  min-width: 0;
}

.dash-notif-item__title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
}

.dash-notif-item__title .dash-notif-item__pending {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.125rem 0.375rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.15);
  color: rgb(252 211 77);
}

.dash-notif-item__desc {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: rgb(156 163 175);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dash-notif-item__meta {
  flex-shrink: 0;
  text-align: right;
  font-size: 0.6875rem;
  color: rgb(107 114 128);
  line-height: 1.3;
}

.dash-notif-item__amount {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.dash-notif-item__amount--credit {
  color: rgb(74 222 128);
}

.dash-notif-item__amount--debit {
  color: rgb(248 113 113);
}

.dash-notif-dropdown__foot {
  padding: 0.5rem 0.75rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-notif-dropdown__view-all {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(255 214 10);
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.2);
  transition: background 0.15s ease;
}

.dash-notif-dropdown__view-all:hover {
  background: rgba(255, 214, 10, 0.14);
}

.site-logo--dash {
  --logo-h: 4.25rem;
  max-width: none;
}

#dashboardView .dash-nav-brand,
#dashboardView .dash-nav-logo {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  #dashboardView .dash-nav-brand {
    padding-inline: var(--dash-sidebar-inset);
    max-width: var(--dash-sidebar-w);
    box-sizing: border-box;
  }
}

#dashboardView img.site-logo.site-logo--dash {
  height: var(--logo-h) !important;
  width: auto !important;
  max-width: min(100%, 20rem) !important;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 640px) {
  #dashboardView {
    --dash-nav-h: 5.75rem;
  }

  .site-logo--dash {
    --logo-h: 4.5rem;
  }

  #dashboardView img.site-logo.site-logo--dash {
    max-width: min(100%, 21rem) !important;
  }
}

.dash-sidebar__mobile-head {
  position: relative;
  padding: max(1.125rem, env(safe-area-inset-top, 0px)) 3.25rem 1rem 0;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-sidebar__close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top, 0px));
  right: 0;
  z-index: 1;
}

.dash-sidebar__logo {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
  padding-left: 0.125rem;
}

.dash-sidebar {
  padding-top: 0;
  padding-bottom: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  background: #0a0a0f;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  .dash-sidebar {
    padding-top: 0;
    padding-inline: var(--dash-sidebar-inset);
    padding-bottom: 0.5rem;
    height: auto;
    max-height: calc(100dvh - var(--dash-nav-h) - 1.75rem);
    position: sticky;
    top: calc(var(--dash-nav-h) + 0.875rem);
    box-shadow: none;
    background: transparent;
    border-right: none;
    overflow: hidden;
    gap: 0.65rem;
  }

  .dash-sidebar__main {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  }

  .dash-sidebar__main::-webkit-scrollbar {
    width: 5px;
  }

  .dash-sidebar__main::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
  }
}

.dash-sidebar.open {
  transform: translateX(0) !important;
}

.dash-nav-group-label {
  padding: 0.35rem 0.75rem 0.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.dash-nav-label {
  white-space: nowrap;
  line-height: 1.25;
}

.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b8bcc6;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  min-width: 0;
}

.dash-nav-link i {
  opacity: 0.85;
}

.dash-nav-link:hover {
  background: rgba(255, 214, 10, 0.08);
  color: #ffd60a;
}

.dash-nav-link.active {
  background: rgba(255, 214, 10, 0.14);
  color: #ffd60a;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.12);
}

.dash-main {
  min-height: calc(100vh - var(--dash-nav-h) - 3rem);
  min-width: 0;
  overflow-x: hidden;
}

.dash-main .dash-view {
  animation: dashViewIn 0.25s ease;
}

@keyframes dashViewIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dash-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1rem 1.125rem;
  min-width: 0;
  transition: border-color 0.2s, transform 0.2s;
}

.dash-stat:hover {
  border-color: rgba(255, 214, 10, 0.25);
  transform: translateY(-2px);
}

.dash-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
}

.dash-tab {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9ca3af;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

@media (min-width: 640px) {
  .dash-tab {
    flex: 0 0 auto;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

.dash-tab.active {
  background: linear-gradient(135deg, #ffd60a 0%, #ffc300 100%);
  color: #0a0a0f;
  box-shadow: 0 4px 16px rgba(255, 214, 10, 0.25);
}

.dash-table-wrap {
  position: relative;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.dash-table-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2rem;
  background: linear-gradient(to left, rgba(10, 10, 15, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

@media (max-width: 1023px) {
  .dash-table-wrap.can-scroll:not(.dash-table-wrap--scroll-x)::after {
    opacity: 1;
  }
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.dash-table thead th {
  padding: 0.75rem 0.75rem;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-table tbody td {
  padding: 0.875rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.dash-table tbody tr:hover {
  background: rgba(255, 214, 10, 0.04);
}

@media (max-width: 1023px) {
  .dash-table:not(.dash-table--scroll-x) {
    min-width: 0;
  }

  .dash-table:not(.dash-table--scroll-x) thead {
    display: none;
  }

  .dash-table:not(.dash-table--scroll-x) tbody tr {
    display: block;
    margin-bottom: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
  }

  .dash-table:not(.dash-table--scroll-x) tbody tr:hover {
    background: rgba(255, 214, 10, 0.05);
  }

  .dash-table:not(.dash-table--scroll-x) tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: none;
  }

  .dash-table:not(.dash-table--scroll-x) tbody td::before {
    content: attr(data-label);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    flex-shrink: 0;
  }

  .dash-table:not(.dash-table--scroll-x) tbody td:last-child {
    justify-content: flex-end;
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .dash-table:not(.dash-table--scroll-x) tbody td:last-child::before {
    display: none;
  }
}

/* Mobile: keep table columns + swipe horizontally (wallet tx + CDI keys) */
.dash-table--min-640 {
  min-width: 40rem;
}

.dash-table--min-720 {
  min-width: 45rem;
}

@media (max-width: 1023px) {
  .dash-table-wrap--scroll-x {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0.5rem;
  }

  .dash-table-wrap--scroll-x::after {
    display: none;
  }

  #txTableWrap .dash-table--scroll-x {
    width: max-content;
    min-width: 40rem;
    table-layout: auto;
  }

  #keysTableWrap .dash-table--scroll-x {
    width: max-content;
    min-width: 45rem;
    table-layout: auto;
  }

  .dash-table-wrap--scroll-x .dash-table--scroll-x thead {
    display: table-header-group;
  }

  .dash-table-wrap--scroll-x .dash-table--scroll-x tbody {
    display: table-row-group;
  }

  .dash-table-wrap--scroll-x .dash-table--scroll-x tbody tr {
    display: table-row;
    margin-bottom: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
  }

  .dash-table-wrap--scroll-x .dash-table--scroll-x tbody tr:hover {
    background: rgba(255, 214, 10, 0.04);
  }

  .dash-table-wrap--scroll-x .dash-table--scroll-x tbody td {
    display: table-cell;
    align-items: unset;
    justify-content: unset;
    flex-wrap: unset;
    gap: unset;
    padding: 0.875rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
    text-align: left;
    white-space: nowrap;
  }

  .dash-table-wrap--scroll-x .dash-table--scroll-x tbody td::before {
    display: none;
    content: none;
  }

  .dash-table-wrap--scroll-x .dash-table--scroll-x tbody td:last-child {
    padding-top: 0.875rem;
    margin-top: 0;
    border-top: none;
    text-align: center;
  }

  .dash-table-wrap--scroll-x .dash-table--scroll-x tbody td > :last-child {
    max-width: none;
    word-break: normal;
    text-align: inherit;
  }

  #keysTableWrap .dash-table--scroll-x tbody td:nth-child(4) {
    min-width: 11rem;
    max-width: 16rem;
    white-space: normal;
  }

  #keysTableWrap .dash-table--scroll-x tbody td:nth-child(4) .order-key-cell__code {
    display: inline-block;
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
  }

  #txTableWrap .dash-table--scroll-x tbody td:nth-child(1) {
    min-width: 5.5rem;
  }

  #txTableWrap .dash-table--scroll-x tbody td:nth-child(2) {
    min-width: 11rem;
    max-width: 18rem;
    white-space: normal;
    word-break: break-word;
  }

  #txTableWrap .dash-table--scroll-x tbody td:nth-child(3),
  #txTableWrap .dash-table--scroll-x tbody td:nth-child(4) {
    min-width: 5.5rem;
  }

  #txTableWrap .dash-table--scroll-x tbody td:nth-child(5) {
    min-width: 6.5rem;
  }

  #txTableWrap .dash-table--scroll-x thead th,
  #keysTableWrap .dash-table--scroll-x thead th {
    position: static;
    background: transparent;
  }
}

.dash-table-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0 0 0.65rem;
}

.dash-table-scroll-hint i {
  color: #ffd60a;
  opacity: 0.85;
}

@media (min-width: 1024px) {
  .dash-table-scroll-hint {
    display: none;
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.status-badge--active {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.status-badge--pending {
  background: rgba(255, 214, 10, 0.15);
  color: #ffd60a;
}

.provider-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.05rem;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.provider-card:hover {
  border-color: rgba(255, 214, 10, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 214, 10, 0.08);
}

.provider-card:active {
  transform: translateY(0);
}

.provider-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.provider-card__logo-wrap {
  flex: 0 0 auto;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  background: color-mix(in srgb, var(--provider-accent) 35%, #0a0a0f);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 3px 16px rgba(0, 0, 0, 0.32),
    0 0 0 1px color-mix(in srgb, var(--provider-accent) 40%, transparent);
}

.provider-card__info {
  flex: 1 1 auto;
  min-width: 0;
}

.provider-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.provider-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: #f9fafb;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}

.provider-card__badge {
  flex: 0 0 auto;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 214, 10, 0.15);
  color: #ffd60a;
}

.provider-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  color: #9ca3af;
}

.provider-card__meta i {
  color: rgba(255, 214, 10, 0.75);
  margin-right: 0.25rem;
  font-size: 0.625rem;
}

.provider-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.provider-card__pricing {
  min-width: 0;
}

.provider-card__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffd60a;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.provider-card__price small {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #9ca3af;
  margin-left: 0.1rem;
}

.provider-card__retail {
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  color: #6b7280;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.provider-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

.provider-card__compare {
  font-size: 1rem;
  font-weight: 700;
  color: #6ee7b7;
  text-decoration: line-through;
  text-decoration-color: rgba(110, 231, 183, 0.65);
  text-decoration-thickness: 2px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.provider-card__save {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #6ee7b7;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.provider-card__badge--discount {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
}

.provider-card__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  color: #0a0a0f;
  background: #ffd60a;
  border: 1px solid rgba(255, 214, 10, 0.9);
  box-shadow: 0 2px 10px rgba(255, 214, 10, 0.25);
  transition: background 0.15s, transform 0.15s;
}

.provider-card:hover .provider-card__cta {
  background: #ffe34d;
}

.provider-card__cta i {
  font-size: 0.65rem;
}

.provider-card--unavailable {
  opacity: 0.78;
  cursor: not-allowed;
}

.provider-card--unavailable .provider-card__cta {
  color: rgb(148 163 184);
}

.provider-card__badge--muted {
  background: rgba(148, 163, 184, 0.18);
  color: rgb(148 163 184);
}

.provider-card--residential-shop .provider-card__head {
  justify-content: flex-start;
}

.provider-card--residential-shop .provider-card__name {
  -webkit-line-clamp: 3;
}

.provider-card__price-label {
  display: none;
}

.provider-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  max-width: 100%;
}

.provider-logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: color-mix(in srgb, var(--provider-accent) 18%, transparent);
  color: var(--provider-accent);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.provider-logo--panel {
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: none;
  padding: 0;
  width: 5rem;
  height: 5rem;
}

.provider-logo--card {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}

.provider-logo--panel .provider-logo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  display: block;
  filter: none;
}

.provider-logo--card .provider-logo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
  filter: none;
  transform: scale(1.2);
}

.provider-logo--panel .provider-logo__fallback {
  color: var(--provider-accent);
  font-size: 1.5rem;
}

.provider-logo--card .provider-logo__fallback {
  color: var(--provider-accent);
  font-size: 1.125rem;
}

.provider-logo__img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.provider-logo:not(.provider-logo--panel) .provider-logo__img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.provider-logo__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.provider-logo__fallback[hidden],
.provider-logo__img[hidden] {
  display: none !important;
}

.transactions-wallet__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 214, 10, 0.1);
  color: #ffd60a;
  border: 1px solid rgba(255, 214, 10, 0.2);
}

.transactions-help li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.transactions-help li i {
  margin-top: 0.15rem;
}

.tx-amount--credit {
  color: #4ade80;
  font-weight: 700;
}

.tx-amount--debit {
  color: #f87171;
  font-weight: 700;
}

.dash-section-badge--wallet {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.25);
}

.recharge-preset {
  padding: 0.5rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: #e5e7eb;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.recharge-preset:hover,
.recharge-preset.active {
  border-color: rgba(255, 214, 10, 0.45);
  background: rgba(255, 214, 10, 0.1);
  color: #ffd60a;
}

/* —— Crypto recharge modal (light, standard checkout UI) —— */
.crypto-recharge-overlay {
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
}

.crypto-recharge-modal {
  width: 100%;
  max-width: min(56rem, 98vw);
  border-radius: 1.125rem;
  background: #e8ecf2;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.06);
  color: #1e293b;
}

.crypto-recharge-modal__scroll {
  max-height: min(96vh, 880px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem 1rem 1.125rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
}

@media (min-width: 768px) {
  .crypto-recharge-modal__scroll {
    padding: 1.125rem 1.35rem 1.25rem;
    overflow-y: hidden;
    max-height: min(94vh, 820px);
  }
}

@media (min-width: 640px) {
  .crypto-recharge-modal__scroll {
    padding: 1.15rem 1.35rem 1.2rem;
  }
}

.crypto-recharge-modal__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .crypto-recharge-modal__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 1.25rem 1.5rem;
    align-items: start;
  }

  .crypto-recharge-modal__body:has(.crypto-payment-panel:not(.hidden)) {
    align-items: stretch;
  }
}

.crypto-recharge-modal__col--setup {
  min-width: 0;
}

.crypto-recharge-modal__col--checkout {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crypto-recharge-modal__col--checkout .crypto-step-heading {
  margin-bottom: 0.4rem;
}

.crypto-recharge-modal__target {
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.crypto-recharge-modal__target .crypto-recharge-modal__amount {
  color: #0f172a;
  font-weight: 800;
}

.crypto-stepper {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
}

.crypto-stepper__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
  line-height: 1.2;
  padding: 0.4rem 0.25rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.crypto-stepper__item span {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 800;
  background: #cbd5e1;
  color: #fff;
  flex-shrink: 0;
}

.crypto-stepper__item.is-active {
  color: #0f172a;
  background: #fff;
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.crypto-stepper__item.is-active span {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.crypto-stepper__item.is-complete {
  color: #475569;
}

.crypto-stepper__item.is-complete span {
  background: #22c55e;
}

.crypto-stepper__item.is-next {
  border-color: rgba(34, 197, 94, 0.25);
  color: #334155;
}

@media (max-width: 480px) {
  .crypto-stepper__item {
    flex-direction: column;
    font-size: 0.75rem;
    padding: 0.35rem 0.15rem;
  }
}

.crypto-step-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.crypto-step-heading--spaced {
  margin-top: 0.85rem;
}

.crypto-step-heading__num {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 800;
  background: #0f172a;
  color: #fbbf24;
  flex-shrink: 0;
}

.crypto-panel {
  background: #f3f5f8;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.85rem;
  padding: 0.85rem 0.9rem;
}

.crypto-panel--book {
  margin-bottom: 0;
}

.crypto-panel--pay {
  margin-bottom: 0.65rem;
}

.crypto-panel--confirm {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
}

.crypto-panel__hint {
  font-size: 0.75rem;
  color: #64748b;
  margin: -0.25rem 0 0.65rem;
  line-height: 1.4;
}

.crypto-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.crypto-panel__head .crypto-step-heading {
  margin-bottom: 0;
}

.crypto-wallet-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid rgba(3, 105, 161, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.crypto-pay-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.crypto-amount-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.crypto-amount-block__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.crypto-amount-block__value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #b45309;
  letter-spacing: -0.02em;
}

.crypto-amount-block__network {
  font-size: 0.75rem;
  color: #475569;
}

.crypto-deposit-block__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.crypto-payment-card__addr--block {
  display: block;
  width: 100%;
  word-break: break-all;
  font-size: 0.6875rem;
  line-height: 1.45;
  padding: 0.5rem 0.55rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.crypto-payment-card__copy--sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.6875rem;
}

.crypto-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.35rem;
}

.crypto-recharge-modal__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-right: 2.5rem;
  margin-bottom: 0.65rem;
}

.crypto-recharge-modal__header-text {
  flex-shrink: 0;
}

.crypto-recharge-modal__process-btn,
.crypto-recharge-modal__confirm-btn {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.75rem;
  margin-top: 0.5rem;
}

.crypto-modal-label--spaced {
  margin-top: 0.65rem;
}

.crypto-proof-block {
  margin-top: 0.35rem;
}

.crypto-proof-block .crypto-modal-label {
  margin-bottom: 0.35rem;
}

.crypto-send-layout {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .crypto-send-layout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem 1rem;
    align-items: start;
  }
}

.crypto-send-layout__qr {
  display: flex;
  justify-content: center;
}

.crypto-payment-card--compact {
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.5rem;
}

.crypto-payment-card--preview {
  margin-bottom: 0;
}

.crypto-payment-card__meta--compact {
  margin-bottom: 0;
}

.crypto-recharge-footnote--tight {
  margin-top: 0.5rem;
  margin-bottom: 0;
  text-align: center;
}

.crypto-recharge-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f3f5f8;
  color: #64748b;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.crypto-recharge-modal__close:hover {
  background: #eef1f6;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}

.crypto-recharge-modal__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 0.25rem;
}

.crypto-recharge-modal__title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 0;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .crypto-recharge-modal__title {
    font-size: 1.35rem;
  }
}

.crypto-recharge-modal__lead {
  flex: 1 1 16rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
  min-width: 0;
}

@media (min-width: 768px) {
  .crypto-recharge-modal__lead {
    font-size: 0.8125rem;
    max-width: 28rem;
    text-align: right;
  }
}

.crypto-recharge-modal__amount {
  color: #0f172a;
  font-weight: 700;
}

.crypto-modal-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.crypto-currency-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .crypto-currency-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }
}

@media (min-width: 900px) {
  .crypto-currency-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.crypto-currency-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.35rem;
  padding: 0.4rem 0.25rem;
  border-radius: 0.65rem;
  border: 1px solid #d5dbe4;
  background: #f3f5f8;
  color: #0f172a;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.12s;
  text-align: center;
  cursor: pointer;
}

.crypto-currency-btn:hover {
  border-color: color-mix(in srgb, var(--crypto-accent, #ca8a04) 45%, #e2e8f0);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.crypto-currency-btn:active {
  transform: scale(0.98);
}

.crypto-currency-btn.active {
  border-color: var(--crypto-accent, #ca8a04);
  background: color-mix(in srgb, var(--crypto-accent, #ca8a04) 10%, #f3f5f8);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--crypto-accent, #ca8a04) 35%, transparent),
    0 4px 14px color-mix(in srgb, var(--crypto-accent, #ca8a04) 18%, transparent);
}

.crypto-currency-btn__icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  color: var(--crypto-accent, #ca8a04);
  background: color-mix(in srgb, var(--crypto-accent, #ca8a04) 14%, #eef1f6);
}

.crypto-currency-btn__id {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.crypto-currency-btn__name {
  font-size: 0.5625rem;
  color: #64748b;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .crypto-currency-btn {
    min-height: 3.5rem;
  }

  .crypto-currency-btn__icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.85rem;
  }

  .crypto-currency-btn__id {
    font-size: 0.75rem;
  }
}

.crypto-network-select {
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  border-radius: 0.65rem;
  background: #f3f5f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1px solid #d5dbe4;
  color: #0f172a;
  font-size: 0.875rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.crypto-network-select:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25);
}

.crypto-sol-wallet-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid #d5dbe4;
  background: #fff;
  color: #0f172a;
  outline: none;
}

.crypto-sol-wallet-input:focus {
  border-color: #ca8a04;
  box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.15);
}

.crypto-network-select:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

.crypto-recharge-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.4;
  margin-bottom: 0.45rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.65rem;
}

.crypto-recharge-notice--loading {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.crypto-recharge-notice--timer {
  color: #475569;
  background: #eef1f6;
  border: 1px solid #d5dbe4;
}

.crypto-recharge-notice--timer strong {
  color: #0f172a;
  font-weight: 700;
}

.crypto-recharge-notice--lightning {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.crypto-recharge-notice--watching {
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #99f6e4;
}

.crypto-recharge-notice--submitted {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.crypto-panel--pay.is-settled {
  opacity: 0.72;
  pointer-events: none;
}

.crypto-payment-received {
  margin-top: 0.65rem;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #ecfdf5 0%, #f0fdf4 55%, #ffffff 100%);
  border: 1px solid #6ee7b7;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
}

.crypto-payment-received__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 0.35rem;
}

.crypto-payment-received__badge i {
  font-size: 1.125rem;
}

.crypto-payment-received__lead {
  font-size: 0.875rem;
  color: #334155;
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.crypto-payment-received__amounts {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #bbf7d0;
}

.crypto-payment-received__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.crypto-payment-received__row strong {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.crypto-payment-received__done {
  margin-top: 0.15rem;
}

.crypto-payment-card {
  border-radius: 0.75rem;
  background: #f3f5f8;
  border: 1px solid #d5dbe4;
  padding: 0.75rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.crypto-payment-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.crypto-payment-card__label {
  font-size: 0.875rem;
  color: #64748b;
}

.crypto-payment-card__value {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #b45309;
}

.crypto-payment-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.crypto-payment-card__hint {
  text-align: right;
  max-width: 12rem;
}

.crypto-payment-card__addr-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.crypto-payment-card__addr-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .crypto-payment-card__addr-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.crypto-payment-card__addr {
  flex: 1;
  font-size: 0.75rem;
  line-height: 1.45;
  word-break: break-all;
  color: #334155;
  background: #eef1f6;
  border: 1px solid #d5dbe4;
  border-radius: 0.65rem;
  padding: 0.65rem 0.75rem;
}

.crypto-payment-card__copy {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  transition: background 0.15s;
}

.crypto-payment-card__copy:hover {
  background: #fde68a;
}

.crypto-qr-box {
  min-height: 0;
  display: grid;
  place-items: center;
  width: 100%;
}

.crypto-qr-placeholder {
  width: 9.5rem;
  height: 9.5rem;
  max-width: 100%;
  border-radius: 0.65rem;
  border: 1px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #eef1f6;
  color: #b8c2d0;
  font-size: 1.5rem;
  padding: 0.5rem;
}

.crypto-qr-placeholder__text {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  max-width: 14rem;
  line-height: 1.35;
}

.crypto-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.crypto-qr-image {
  display: block;
  width: 9.5rem;
  height: 9.5rem;
  max-width: 100%;
  border-radius: 0.65rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.25rem;
}

.crypto-qr-caption {
  font-size: 0.6875rem;
  color: #64748b;
  margin: 0;
}

.crypto-recharge-error {
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.crypto-recharge-submit {
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.35);
}

.crypto-recharge-footnote {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #94a3b8;
  text-align: center;
  margin: 0.75rem 0 0;
}

@media (min-width: 640px) {
  .provider-card {
    padding: 1.05rem 1.15rem;
  }

  .provider-card__name {
    font-size: 1rem;
  }

  .provider-card__meta {
    font-size: 0.75rem;
  }

  .provider-card__price {
    font-size: 1.35rem;
  }

  .provider-card__logo-wrap {
    width: 5.5rem;
    height: 5.5rem;
  }

  .provider-logo--card .provider-logo__img {
    transform: scale(1.15);
  }
}

.buy-bundle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  max-height: min(11.5rem, 32vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.15rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.buy-bundle-grid--checkout {
  max-height: min(14.5rem, 36vh);
  overflow-y: auto;
  overflow-x: hidden;
  gap: 0.45rem;
  padding: 0.35rem 0.2rem 0.35rem 0;
}

.buy-bundle-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

@media (max-width: 480px) {
  .buy-bundle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.buy-bundle-grid--checkout .buy-bundle-pill,
.buy-bundle-grid--checkout .gb-preset {
  border-radius: 0.75rem;
}

.buy-bundle-pill,
.gb-preset {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.5rem 0.35rem;
  border-radius: 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: #d1d5db;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.buy-modal-overlay {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.buy-modal-overlay::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.buy-modal-panel,
.buy-modal-layout,
.buy-modal-details,
.buy-checkout-packages__grid-wrap,
.buy-bundle-grid,
.buy-bundle-grid--checkout {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.buy-modal-panel::-webkit-scrollbar,
.buy-modal-layout::-webkit-scrollbar,
.buy-modal-details::-webkit-scrollbar,
.buy-checkout-packages__grid-wrap::-webkit-scrollbar,
.buy-bundle-grid::-webkit-scrollbar,
.buy-bundle-grid--checkout::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.buy-modal-panel {
  max-height: none;
  overflow: visible;
  margin: auto;
  padding: 1.15rem 1.15rem 1.25rem;
}

.buy-modal-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.buy-modal-panel {
  max-width: min(72rem, 100%);
}

.buy-modal-panel--wide {
  max-width: min(90rem, calc(100vw - 1.5rem));
  padding: 1.35rem 1.35rem 1.5rem;
}

@media (min-width: 1024px) {
  .buy-modal-panel--wide {
    padding: 1.65rem 1.85rem 1.85rem;
  }

  .buy-modal-details {
    max-height: min(72dvh, 680px);
  }
}

.buy-modal-cdi-note {
  margin-bottom: 0.65rem;
  color: #d1d5db;
}

.buy-modal-cdi-steps {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.buy-modal-cdi-steps li {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #9ca3af;
}

.buy-modal-cdi-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

@media (min-width: 640px) {
  .buy-modal-cdi-links {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.buy-modal-cdi-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-decoration: none;
}

.buy-modal-cdi-link:hover {
  border-color: rgba(255, 214, 10, 0.45);
  background: rgba(255, 214, 10, 0.1);
  color: #ffd60a;
}

.buy-modal-cdi-link--primary {
  border-color: rgba(255, 214, 10, 0.35);
  background: rgba(255, 214, 10, 0.12);
  color: #ffd60a;
}

.buy-modal-cdi-link--compact {
  width: 100%;
  justify-content: center;
  font-size: 0.75rem;
  padding: 0.5rem 0.65rem;
}

.buy-modal-cdi-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.buy-modal-section--cdi {
  background: rgba(255, 214, 10, 0.04);
  border: 1px solid rgba(255, 214, 10, 0.12);
  border-radius: 1rem;
  padding: 0;
  margin-bottom: 0.75rem;
  border-bottom: none;
}

.buy-modal-checkout-cdi .buy-modal-cdi-link--compact {
  margin-top: 0;
}

.buy-modal-cdi-success {
  border-radius: 1rem;
  border: 1px solid rgba(255, 214, 10, 0.2);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.85rem 1rem;
}

.buy-modal-cdi-success__title {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #ffd60a;
  margin-bottom: 0.5rem;
}

.buy-modal-cdi-success .buy-modal-cdi-steps {
  margin-bottom: 0.65rem;
}

.buy-modal-cdi-success .buy-modal-cdi-links {
  margin-top: 0.35rem;
}

.buy-modal-header__rating {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.buy-modal-header__rating .fa-star {
  color: #ffd60a;
  font-size: 0.7rem;
}

.buy-modal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.65rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Desktop header KPI strip — full rules at end of file (after base .buy-modal-header) */

@media (min-width: 640px) and (max-width: 959px) {
  .buy-modal-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
  }
}

.buy-modal-stat {
  text-align: center;
  padding: 0.45rem 0.35rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
}

.buy-modal-stat--accent {
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.2);
}

.buy-modal-stat__value {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #f9fafb;
  line-height: 1.2;
}

.buy-modal-stat--accent .buy-modal-stat__value {
  color: #ffd60a;
}

.buy-modal-stat__label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
}

.buy-modal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 959px) {
  #buyModal.buy-modal-overlay {
    align-items: stretch !important;
    justify-content: stretch !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .buy-modal-panel,
  .buy-modal-panel--wide {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    height: 100svh;
    max-height: 100dvh;
    max-height: 100svh;
    margin: 0;
    border-radius: 0;
    padding:
      max(0.55rem, env(safe-area-inset-top, 0px))
      1rem
      max(0.35rem, env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
  }

  .buy-modal-header {
    flex-shrink: 0;
    margin-bottom: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .buy-modal-header__logo,
  .buy-modal-header__logo.provider-logo {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
  }

  .buy-modal-header__title {
    font-size: 0.9375rem;
    -webkit-line-clamp: 1;
  }

  .buy-modal-header__meta {
    -webkit-line-clamp: 1;
    font-size: 0.625rem;
  }

  .buy-modal-header__rating {
    margin-top: 0.15rem;
    font-size: 0.6875rem;
  }

  .buy-modal-stats {
    display: none;
  }

  .buy-modal-layout {
    flex: 1 1 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    touch-action: pan-y;
  }

  .buy-modal-checkout-card {
    order: -1;
    flex: 0 0 auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    gap: 0;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .buy-checkout-scroll {
    flex: 0 1 auto;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    padding-bottom: 0.25rem;
    gap: 0.45rem;
  }

  .buy-checkout-head {
    display: none;
  }

  .buy-checkout-price {
    flex-shrink: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
  }

  .buy-checkout-price__label {
    margin: 0;
  }

  .buy-checkout-price__value {
    font-size: 1.375rem;
    margin: 0;
  }

  .buy-checkout-packages__scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }

  .buy-checkout-packages__scroll-hint::after {
    content: '↓';
    font-size: 0.75rem;
    opacity: 0.85;
  }

  .buy-checkout-packages {
    flex: 0 0 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .buy-checkout-packages__grid-wrap {
    flex: 0 0 auto;
    min-height: 0;
    height: min(36dvh, 15.5rem);
    max-height: min(36dvh, 15.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
  }

  .buy-bundle-grid--checkout {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0;
  }

  .buy-checkout-packages__grid-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.25rem;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.55));
    border-radius: 0 0 0.75rem 0.75rem;
  }

  .buy-bundle-grid--checkout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    padding: 0.45rem;
    margin: 0;
  }

  .buy-bundle-grid--checkout .buy-bundle-pill,
  .buy-bundle-grid--checkout .gb-preset {
    min-height: 2.85rem;
    padding: 0.4rem 0.28rem;
  }

  .buy-bundle-pill__qty {
    font-size: 0.8125rem;
  }

  .buy-custom-qty {
    flex-shrink: 0;
    padding-top: 0.35rem;
    margin-bottom: 0;
  }

  .buy-custom-qty__range {
    display: none;
  }

  .buy-checkout-foot {
    flex-shrink: 0;
    margin-top: auto;
    padding: 0.55rem 0 0;
    border-top: 1px solid rgba(255, 214, 10, 0.2);
    background: rgba(0, 0, 0, 0.92);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  }

  .buy-checkout-summary {
    gap: 0.3rem;
    padding-top: 0;
  }

  .buy-checkout-summary__total {
    padding: 0.55rem 0.75rem;
  }

  .buy-checkout-cta {
    padding: 0.9rem 1rem;
    font-size: 0.9375rem;
  }

  .buy-modal-checkout-cdi--mobile {
    flex-shrink: 0;
    margin: 0;
    padding: 0.25rem 0 0;
    border: none;
    background: transparent;
  }

  .buy-modal-details-shell {
    flex: 0 0 auto;
    order: 2;
    margin-top: 0.35rem;
    margin-bottom: 0.5rem;
    border: none;
    background: transparent;
    overflow: visible;
  }

  .buy-modal-details-shell__summary {
    display: none;
  }

  .buy-modal-details-shell .buy-modal-details {
    display: block;
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .buy-modal-details-shell:not([open]) .buy-modal-details {
    display: block;
  }
}

@media (max-width: 959px) and (min-width: 600px) {
  .buy-bundle-grid--checkout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .buy-checkout-packages__scroll-hint {
    display: none !important;
  }

  .buy-checkout-packages__grid-wrap {
    max-height: none;
    overflow: visible;
    border: none;
    background: transparent;
  }

  .buy-checkout-packages__grid-wrap::after {
    display: none;
  }

  .buy-modal-checkout-cdi--mobile .buy-modal-checkout-cdi__summary {
    display: none;
  }

  .buy-modal-checkout-cdi--mobile {
    margin-top: 0.15rem;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 214, 10, 0.18);
    background: rgba(255, 214, 10, 0.04);
  }

  .buy-modal-checkout-cdi--mobile .buy-modal-checkout-cdi__hint {
    display: block;
  }

  .buy-modal-checkout-cdi--mobile .buy-modal-checkout-cdi__title {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
}

@media (max-width: 959px) {
  .buy-modal-checkout-cdi--mobile .buy-modal-checkout-cdi__title {
    display: none;
  }
}

@media (min-width: 960px) {
  .buy-modal-details-shell {
    display: block;
    min-width: 0;
  }

  .buy-modal-details-shell__summary {
    display: none;
  }

  .buy-modal-details-shell .buy-modal-details {
    display: block;
    max-height: none;
  }

  .buy-modal-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }

  .buy-modal-details {
    max-height: min(76dvh, 760px);
    overflow-y: auto;
    padding-right: 0.35rem;
  }

  .buy-modal-checkout-card {
    min-height: 100%;
    max-height: none;
    overflow: visible;
    gap: 1rem;
    padding: 1.15rem 1.2rem 1.25rem;
  }

  .buy-checkout-foot {
    margin: 0;
    padding: 0;
    border-top: none;
    background: transparent;
    box-shadow: none;
  }

  .buy-bundle-grid--checkout {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .buy-bundle-grid--checkout .buy-bundle-pill,
  .buy-bundle-grid--checkout .gb-preset {
    padding: 0.55rem 0.35rem;
    min-height: 3.35rem;
  }

  .buy-bundle-grid--checkout .buy-bundle-pill__qty {
    font-size: 0.9375rem;
  }
}

@media (min-width: 960px) {
  .buy-modal-panel {
    max-height: min(96dvh, 940px);
    overflow-y: auto;
  }

  .buy-modal-overlay {
    align-items: center;
    padding: 0.75rem 1rem;
  }
}

.buy-modal-checkout-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 214, 10, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 214, 10, 0.09) 0%, rgba(0, 0, 0, 0.15) 38%, rgba(0, 0, 0, 0.48) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 214, 10, 0.06) inset,
    0 16px 48px rgba(0, 0, 0, 0.45);
}

.buy-checkout-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.buy-checkout-head__badge {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  font-size: 1rem;
  color: #ffd60a;
  background: rgba(255, 214, 10, 0.12);
  border: 1px solid rgba(255, 214, 10, 0.28);
}

.buy-checkout-head__text {
  min-width: 0;
  padding-top: 0.1rem;
}

.buy-checkout-head__sub {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.35;
}

.buy-modal-checkout__eyebrow {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffd60a;
  margin: 0;
}

.buy-checkout-price {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.32);
}

.buy-checkout-price__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.buy-checkout-price__value {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffd60a;
  line-height: 1.1;
}

.buy-checkout-price__unit {
  font-size: 0.875rem;
  font-weight: 600;
  color: #9ca3af;
  margin-left: 0.15rem;
}

.buy-checkout-packages {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.buy-checkout-packages__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.buy-checkout-packages__scroll-hint {
  display: none;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.buy-checkout-packages__grid-wrap {
  position: relative;
}

.buy-checkout-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
}

.buy-checkout-foot {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-shrink: 0;
}

.buy-modal-checkout-cdi--mobile .buy-modal-checkout-cdi__summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 0.35rem 0;
}

.buy-modal-checkout-cdi--mobile .buy-modal-checkout-cdi__summary::-webkit-details-marker {
  display: none;
}

.buy-modal-checkout-cdi--mobile[open] {
  padding-top: 0.25rem;
}

.buy-checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.15rem;
}

.buy-checkout-summary__calc {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d1d5db;
  text-align: right;
  line-height: 1.35;
  min-height: 1.15rem;
}

.buy-checkout-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 214, 10, 0.22);
  background: rgba(255, 214, 10, 0.06);
}

.buy-checkout-summary__total-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #d1d5db;
}

.buy-checkout-summary__total-value {
  font-size: clamp(1.375rem, 3.5vw, 1.625rem);
  font-weight: 800;
  color: #ffd60a;
  letter-spacing: -0.02em;
}

.buy-checkout-error {
  margin: 0;
  font-size: 0.8125rem;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 0.85rem;
  padding: 0.55rem 0.75rem;
}

.buy-checkout-cta {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(255, 214, 10, 0.22);
}

.buy-checkout-cta:active {
  transform: translateY(1px);
}

.buy-modal-checkout-cdi {
  margin-top: 0.15rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 214, 10, 0.18);
  background: rgba(255, 214, 10, 0.04);
  text-align: left;
}

.buy-modal-checkout-cdi__title {
  margin: 0 0 0.45rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd60a;
}

.buy-modal-checkout-cdi__title i {
  margin-right: 0.35rem;
  opacity: 0.9;
}

.buy-modal-checkout-cdi__hint {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #9ca3af;
}

.buy-custom-qty__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #f3f4f6;
  margin: 0;
}

.buy-custom-qty__hint {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #9ca3af;
}

.buy-custom-qty__range {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  color: #6b7280;
}

.buy-section-label--checkout {
  font-size: 1rem;
}

.buy-modal-section--overview {
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
}

.buy-modal-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  align-items: start;
}

@media (min-width: 720px) {
  .buy-modal-overview-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 0.75rem;
  }
}

.buy-modal-section__text--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.buy-modal-specs--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

.buy-modal-specs--compact div {
  padding: 0.4rem 0.45rem;
}

.buy-modal-feature-chips {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.buy-modal-feature-chips li {
  display: inline-flex;
  align-items: center;
  width: auto;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.3;
}

.buy-modal-feature-chips li::before {
  display: none;
}

.buy-modal-accordion {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.22);
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.buy-modal-accordion.buy-modal-section--cdi {
  border-color: rgba(255, 214, 10, 0.15);
  background: rgba(255, 214, 10, 0.04);
}

.buy-modal-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #e5e7eb;
  user-select: none;
}

.buy-modal-accordion__summary::-webkit-details-marker {
  display: none;
}

.buy-modal-accordion__summary span:first-child i {
  color: #ffd60a;
  margin-right: 0.35rem;
}

.buy-modal-accordion__summary::after {
  content: '+';
  font-size: 1rem;
  font-weight: 700;
  color: #9ca3af;
  line-height: 1;
}

.buy-modal-accordion[open] .buy-modal-accordion__summary::after {
  content: '−';
  color: #ffd60a;
}

.buy-modal-accordion__body {
  padding: 0 0.75rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.buy-modal-cdi-steps--compact {
  margin-top: 0.5rem;
  gap: 0.35rem;
}

.buy-modal-cdi-steps--compact li {
  font-size: 0.75rem;
  line-height: 1.4;
}

.buy-modal-section--reviews.buy-modal-accordion {
  margin-bottom: 0;
}

.buy-modal-section--reviews .buy-modal-reviews-list {
  max-height: 8.5rem;
}

.buy-modal-section {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.buy-modal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.buy-modal-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.buy-modal-section__title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.buy-modal-section__title i {
  color: #ffd60a;
  font-size: 0.75rem;
}

.buy-modal-section__text {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #9ca3af;
}

.buy-modal-features {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
}

.buy-modal-features li {
  font-size: 0.8125rem;
  color: #d1d5db;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.4;
}

.buy-modal-features li::before {
  content: '';
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: #ffd60a;
}

.buy-modal-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
  margin: 0;
}

.buy-modal-specs div {
  padding: 0.5rem 0.55rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.buy-modal-specs dt {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin: 0;
}

.buy-modal-specs dd {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f3f4f6;
}

.buy-modal-review-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d1d5db;
}

.buy-modal-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 12rem;
  overflow-y: auto;
  margin-bottom: 0.75rem;
  scrollbar-width: thin;
}

.buy-modal-review-card {
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.buy-modal-review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.buy-modal-review-card__author {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f3f4f6;
}

.buy-modal-review-card__stars {
  color: #ffd60a;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.buy-modal-review-card__text {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #9ca3af;
  margin: 0;
}

.buy-modal-review-empty {
  font-size: 0.75rem;
  color: #6b7280;
  padding: 0.5rem 0;
}

.buy-modal-review-form__lead {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.buy-modal-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.buy-modal-stars__btn {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #6b7280;
  font-size: 0.95rem;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.buy-modal-stars__btn.is-active,
.buy-modal-stars__btn:hover {
  color: #ffd60a;
  border-color: rgba(255, 214, 10, 0.45);
  background: rgba(255, 214, 10, 0.1);
}

.buy-modal-review-form__input {
  width: 100%;
  font-size: 0.8125rem;
  line-height: 1.45;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #f3f4f6;
  resize: vertical;
  min-height: 4.5rem;
}

.buy-modal-review-form__input:focus {
  outline: none;
  border-color: rgba(255, 214, 10, 0.45);
}

.buy-modal-review-form__error {
  font-size: 0.75rem;
  color: #fca5a5;
  margin-top: 0.35rem;
}

.buy-modal-review-form__submit {
  margin-top: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid rgba(255, 214, 10, 0.35);
  background: rgba(255, 214, 10, 0.12);
  color: #ffd60a;
  transition: background 0.15s;
}

.buy-modal-review-form__submit:hover:not(:disabled) {
  background: rgba(255, 214, 10, 0.22);
}

.buy-modal-review-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.buy-modal-review-signin {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.35rem;
}

.buy-modal-review-signin a {
  color: #ffd60a;
  font-weight: 600;
}

.buy-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.buy-modal-header__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
}

.buy-modal-header__logo {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 1.35rem;
}

.buy-modal-header__logo.provider-logo {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  padding: 0;
  background: color-mix(in srgb, var(--provider-accent, #3437d5) 28%, #0a0a0f);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}

.provider-logo--buy-modal .provider-logo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  filter: none;
}

.provider-logo--buy-modal .provider-logo__fallback {
  font-size: 1.35rem;
}

.buy-modal-header__title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #f9fafb;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.buy-modal-header__meta {
  font-size: 0.6875rem;
  line-height: 1.35;
  color: #9ca3af;
  margin-top: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 960px) {
  .buy-modal-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) auto;
    grid-template-areas: 'brand stats close';
    align-items: center;
    column-gap: 1.25rem;
    row-gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .buy-modal-header__brand {
    grid-area: brand;
    flex: unset;
    max-width: none;
    align-items: center;
    min-width: 0;
  }

  .buy-modal-header__logo,
  .buy-modal-header__logo.provider-logo {
    width: 3.5rem;
    height: 3.5rem;
  }

  .buy-modal-header__title {
    font-size: 1.0625rem;
    -webkit-line-clamp: 2;
  }

  .buy-modal-header__meta {
    font-size: 0.75rem;
    -webkit-line-clamp: 1;
  }

  .buy-modal-header__rating {
    display: none;
  }

  .buy-modal-stats--header {
    grid-area: stats;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
    padding: 0;
    gap: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
  }

  .buy-modal-stats--header .buy-modal-stat {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.55rem 0.5rem;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .buy-modal-stats--header .buy-modal-stat:first-child {
    border-left: none;
  }

  .buy-modal-stats--header .buy-modal-stat--accent {
    background: rgba(255, 214, 10, 0.06);
    border-left: 1px solid rgba(255, 214, 10, 0.2);
  }

  .buy-modal-stats--header .buy-modal-stat__value {
    font-size: 1.125rem;
    line-height: 1.15;
  }

  .buy-modal-stats--header .buy-modal-stat__label {
    margin-top: 0.2rem;
    font-size: 0.5625rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .buy-modal-close {
    grid-area: close;
    align-self: center;
  }
}

@media (min-width: 1200px) {
  .buy-modal-header {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.75fr) auto;
    column-gap: 1.5rem;
  }

  .buy-modal-stats--header .buy-modal-stat__value {
    font-size: 1.2rem;
  }
}

.buy-modal-close {
  flex: 0 0 auto;
  width: 2.625rem;
  height: 2.625rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(255, 214, 10, 0.18);
  border: 1.5px solid rgba(255, 214, 10, 0.65);
  color: #ffd60a;
  font-size: 1.125rem;
  line-height: 1;
  box-shadow:
    0 0 0 1px rgba(255, 214, 10, 0.15),
    0 4px 14px rgba(255, 214, 10, 0.22);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.buy-modal-close:hover {
  background: rgba(255, 214, 10, 0.28);
  border-color: #ffd60a;
}

.buy-modal-close:active {
  transform: scale(0.96);
}

@media (min-width: 640px) and (max-width: 959px) {
  .buy-modal-panel {
    padding: 1.35rem 1.5rem 1.5rem;
  }

  .buy-modal-header__logo,
  .buy-modal-header__logo.provider-logo {
    width: 4.75rem;
    height: 4.75rem;
    font-size: 1.5rem;
  }

  .provider-logo--buy-modal .provider-logo__fallback {
    font-size: 1.5rem;
  }

  .buy-modal-header__title {
    font-size: 1.2rem;
  }

  .buy-modal-header__meta {
    font-size: 0.8125rem;
  }
}

@media (min-width: 960px) {
  .buy-modal-panel {
    padding: 1.35rem 1.5rem 1.5rem;
  }
}

@media (min-width: 640px) and (min-height: 640px) {
  .buy-modal-overlay {
    overflow-y: hidden;
    align-items: center;
  }

  .buy-modal-panel {
    border-radius: 1.5rem;
  }
}

@media (max-width: 639px) {
  .buy-custom-qty__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  #buyModalHint {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

}

.buy-section-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #f3f4f6;
  letter-spacing: -0.01em;
}

.buy-bundle-pill__qty {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

@media (min-width: 480px) {
  .buy-bundle-pill__qty {
    font-size: 1rem;
  }
}

.buy-bundle-pill__rate {
  font-size: 0.625rem;
  font-weight: 600;
  color: #9ca3af;
}

.buy-bundle-pill__total {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #ffd60a;
}

.buy-bundle-pill:hover,
.gb-preset:hover {
  border-color: rgba(255, 214, 10, 0.35);
  color: #ffd60a;
}

.buy-bundle-pill.is-active,
.gb-preset.is-active {
  border-color: rgba(255, 214, 10, 0.75);
  background: rgba(255, 214, 10, 0.14);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 214, 10, 0.25) inset,
    0 0 20px rgba(255, 214, 10, 0.18);
}

.buy-bundle-pill.is-active .buy-bundle-pill__qty,
.gb-preset.is-active .buy-bundle-pill__qty {
  color: #fff;
}

.buy-bundle-pill.is-active .buy-bundle-pill__total,
.gb-preset.is-active .buy-bundle-pill__total {
  color: #fde047;
}

.buy-custom-qty {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-bottom: 0.5rem;
}

.buy-custom-qty__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.buy-qty-stepper {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  gap: 0.5rem;
  align-items: stretch;
}

.buy-qty-stepper__btn {
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s;
}

.buy-qty-stepper__btn:hover:not(:disabled) {
  background: rgba(255, 214, 10, 0.12);
  border-color: rgba(255, 214, 10, 0.35);
}

.buy-qty-stepper__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.buy-qty-stepper__input {
  width: 100%;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 0.65rem 0.5rem;
  outline: none;
}

.buy-qty-stepper__input:focus {
  border-color: rgba(255, 214, 10, 0.45);
}

.buy-qty-stepper__input:disabled {
  opacity: 0.6;
}

.dash-nav-link:disabled {
  cursor: not-allowed;
}

.dash-section-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1rem;
}

.dash-section-head__top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.875rem;
}

.dash-section-head__copy {
  min-width: 0;
  width: 100%;
}

.provider-toolbar {
  width: 100%;
  max-width: none;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 0.875rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 1024px) {
  .dash-section-head__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
    align-items: start;
    gap: 1rem 1.75rem;
  }

  .provider-toolbar {
    justify-self: end;
    max-width: 22rem;
  }
}

.provider-toolbar__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.85rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 2.65rem;
}

.provider-toolbar__search i {
  color: #9ca3af;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.provider-toolbar__search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #f3f4f6;
  font-size: 0.875rem;
  outline: none;
  padding: 0.5rem 0;
}

.provider-toolbar__search input::placeholder {
  color: #6b7280;
}

.provider-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem;
}

.provider-toolbar__field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1 1 5.5rem;
  min-width: 0;
}

.provider-toolbar__field span {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
}

.provider-toolbar__field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.65rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.875rem;
  color: #f3f4f6;
  outline: none;
  font-variant-numeric: tabular-nums;
}

.provider-toolbar__field input:focus {
  border-color: rgba(255, 214, 10, 0.45);
}

.provider-toolbar__reset {
  flex: 0 0 auto;
  align-self: flex-end;
  padding: 0.45rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.provider-toolbar__reset:hover {
  color: #ffd60a;
  border-color: rgba(255, 214, 10, 0.35);
  background: rgba(255, 214, 10, 0.08);
}

.provider-toolbar__count {
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.provider-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: #9ca3af;
  border-radius: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.dash-section-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: ui-monospace, monospace;
  color: #ffd60a;
  background: rgba(255, 214, 10, 0.1);
  border: 1px solid rgba(255, 214, 10, 0.25);
  padding: 0.2rem 0.5rem;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
}

.dash-section-badge--dc {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
}

.dash-section-badge--mobile {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.35);
}

.dash-section-badge--isp {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

/* ========== Overview page ========== */
.overview-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 214, 10, 0.18);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 214, 10, 0.12), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

@media (min-width: 768px) {
  .overview-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
  }
}

.overview-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd60a;
  margin-bottom: 0.75rem;
}

.overview-eyebrow__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #ffd60a;
  box-shadow: 0 0 12px rgba(255, 214, 10, 0.8);
}

.overview-hero__title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  max-width: 36rem;
}

@media (min-width: 640px) {
  .overview-hero__title {
    font-size: 1.5rem;
  }
}

.overview-hero__desc {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.55;
  max-width: 34rem;
  margin-bottom: 1rem;
}

.overview-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.75rem;
  color: #d1d5db;
}

.overview-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.overview-trust i {
  color: #ffd60a;
  font-size: 0.65rem;
}

.overview-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .overview-hero__actions {
    width: auto;
    min-width: 12.5rem;
  }
}

.overview-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.875rem;
  font-weight: 700;
  font-size: 0.875rem;
}

.overview-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
  transition: background 0.2s, border-color 0.2s;
}

.overview-hero__secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 214, 10, 0.35);
  color: #ffd60a;
}

.overview-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .overview-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .overview-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.overview-stat {
  position: relative;
  padding: 1.125rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.overview-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 214, 10, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.overview-stat:hover {
  border-color: rgba(255, 214, 10, 0.22);
  transform: translateY(-2px);
}

.overview-stat:hover::before {
  opacity: 1;
}

.overview-stat--wallet {
  border-color: rgba(59, 130, 246, 0.25);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.02));
}

.overview-stat--wallet::before {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.8), transparent);
  opacity: 1;
}

.overview-stat__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.overview-stat__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.overview-stat__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.overview-stat__icon--yellow {
  background: rgba(255, 214, 10, 0.12);
  color: #ffd60a;
}

.overview-stat__icon--green {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}

.overview-stat__icon--blue {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
}

.overview-stat__icon--purple {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
}

.overview-stat__value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.overview-stat__hint {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.35;
}

.overview-split {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .overview-split {
    grid-template-columns: 1fr 1.05fr;
    gap: 1.25rem;
    align-items: stretch;
  }
}

.overview-section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
}

.overview-quick__grid {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.overview-quick-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  text-align: left;
  padding: 0.875rem 1rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.overview-quick-card:hover {
  border-color: rgba(255, 214, 10, 0.3);
  background: rgba(255, 214, 10, 0.05);
  transform: translateX(2px);
}

.overview-quick-card--accent {
  border-color: rgba(255, 214, 10, 0.22);
  background: rgba(255, 214, 10, 0.06);
}

.overview-quick-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 214, 10, 0.12);
  color: #ffd60a;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.overview-quick-card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.overview-quick-card__text strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.overview-quick-card__text small {
  font-size: 0.75rem;
  color: #9ca3af;
}

.overview-quick-card__arrow {
  color: #6b7280;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.overview-recent {
  padding: 1.125rem 1.25rem;
  min-height: 100%;
}

.overview-recent__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.overview-recent__head .overview-section-title {
  margin-bottom: 0;
}

.overview-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffd60a;
}

.overview-link:hover {
  text-decoration: underline;
}

.overview-recent__list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.overview-recent__empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

.overview-recent__empty i {
  font-size: 1.75rem;
  color: rgba(255, 214, 10, 0.35);
  margin-bottom: 0.75rem;
}

.overview-recent-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.overview-recent-item:last-child {
  border-bottom: none;
}

.overview-recent-item__badge {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: #ffd60a;
  flex-shrink: 0;
}

.overview-recent-item__main {
  flex: 1;
  min-width: 0;
}

.overview-recent-item__main strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-recent-item__main span {
  font-size: 0.6875rem;
  color: #6b7280;
}

.overview-recent-item__meta {
  text-align: right;
  flex-shrink: 0;
}

.overview-recent-item__meta em {
  display: block;
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffd60a;
}

.overview-recent-item__meta time {
  font-size: 0.6875rem;
  color: #6b7280;
}

.overview-steps-wrap {
  padding: 1.25rem 1.25rem 1.5rem;
}

@media (min-width: 640px) {
  .overview-steps-wrap {
    padding: 1.5rem 1.75rem 1.75rem;
  }
}

.overview-steps__head {
  margin-bottom: 1.25rem;
}

.overview-steps__sub {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.overview-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .overview-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1280px) {
  .overview-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.overview-step {
  display: flex;
  gap: 0.875rem;
  padding: 1rem;
  border-radius: 0.875rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.overview-step__num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 214, 10, 0.15);
  color: #ffd60a;
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.overview-step__body strong {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
}

.overview-step__body p {
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.45;
}

/* ========== Mobile responsive polish ========== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

nav.sticky.top-0 {
  padding-top: env(safe-area-inset-top, 0);
}

#dashboardView {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.dash-top-nav {
  padding-top: env(safe-area-inset-top, 0);
}

#buyModal,
#successModal {
  padding: max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
}

.purchase-success-key-box {
  padding: 1.15rem 1.25rem 1.2rem;
}

.purchase-success-key-box__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 0.65rem;
}

.purchase-success-key-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.purchase-success-key {
  flex: 1 1 10rem;
  min-width: 0;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  font-size: clamp(1.375rem, 4.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: #facc15;
  word-break: break-all;
}

.purchase-success-key-copy {
  flex-shrink: 0;
  padding: 0.6rem 1.05rem;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #facc15;
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.35);
  transition: background 0.15s ease;
}

.purchase-success-key-copy:hover {
  background: rgba(250, 204, 21, 0.24);
}

.purchase-success-key-copy--copied {
  color: #86efac !important;
  background: rgba(74, 222, 128, 0.22) !important;
  border-color: rgba(74, 222, 128, 0.65) !important;
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.35);
}

.purchase-success-key-copy--failed {
  color: #fca5a5 !important;
  background: rgba(248, 113, 113, 0.18) !important;
  border-color: rgba(248, 113, 113, 0.55) !important;
}

.purchase-success-key-box--copied {
  border-color: rgba(74, 222, 128, 0.55) !important;
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.15) inset, 0 0 20px rgba(74, 222, 128, 0.2);
}

.purchase-success-key-box--copied .purchase-success-key {
  color: #86efac;
  transition: color 0.2s ease;
}

.order-key-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}

.order-key-badge--loki {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
}

.order-key-badge--nine {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
}

.order-key-cell {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.order-key-cell__code {
  display: inline-block;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffd60a;
  word-break: break-all;
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  background: rgba(255, 214, 10, 0.14);
  border: 1px solid rgba(255, 214, 10, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 214, 10, 0.08) inset,
    0 0 14px rgba(255, 214, 10, 0.22);
  text-shadow: 0 0 20px rgba(255, 214, 10, 0.35);
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    color 0.2s,
    transform 0.15s;
}

.order-key-cell__code:hover {
  background: rgba(255, 214, 10, 0.22);
  border-color: rgba(255, 214, 10, 0.65);
  box-shadow:
    0 0 0 1px rgba(255, 214, 10, 0.12) inset,
    0 0 18px rgba(255, 214, 10, 0.32);
}

.order-key-cell__code:active {
  transform: scale(0.98);
}

.order-key-cell__code--copied {
  color: #86efac !important;
  background: rgba(74, 222, 128, 0.14) !important;
  border-color: rgba(74, 222, 128, 0.55) !important;
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.28) !important;
  text-shadow: none;
}

#keysTableWrap .order-key-cell__code {
  color: #ffd60a;
  max-width: 100%;
}

.crypto-recharge-overlay {
  padding: max(0.75rem, env(safe-area-inset-top, 0px))
    max(0.75rem, env(safe-area-inset-right, 0px))
    max(0.75rem, env(safe-area-inset-bottom, 0px))
    max(0.75rem, env(safe-area-inset-left, 0px));
  min-height: 100dvh;
  min-height: 100vh;
}

.crypto-recharge-modal__scroll {
  max-height: min(88dvh, 720px);
  max-height: min(88vh, 720px);
}

@media (max-width: 1023px) {
  #dashboardView {
    --dash-nav-h: 3.25rem;
  }

  .dash-nav-bar {
    gap: 0.5rem;
  }

  .dash-nav-brand {
    flex: 0 0 auto;
  }

  .dash-nav-actions {
    flex-wrap: nowrap;
  }

  .dash-nav-user-row {
    gap: 0.375rem;
  }

  .dash-sidebar {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .dash-table:not(.dash-table--scroll-x) tbody td {
    align-items: flex-start;
  }

  .dash-table:not(.dash-table--scroll-x) tbody td:not([data-label=""]) {
    flex-wrap: wrap;
  }

  .dash-table:not(.dash-table--scroll-x) tbody td > :last-child {
    max-width: 100%;
    word-break: break-word;
    text-align: right;
  }
}

@media (max-width: 1023px) {
  #dashboardView .dash-container.dash-shell {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }

  .dash-section-head__top {
    gap: 0.75rem;
  }

  .provider-toolbar {
    padding: 0.7rem 0.85rem;
  }
}

@media (max-width: 639px) {
  .dash-section-head {
    padding-bottom: 0.75rem;
    margin-bottom: 0.85rem !important;
  }

  .dash-section-head__copy h2 {
    font-size: 1.125rem;
    line-height: 1.3;
  }

  .dash-section-head__copy .text-xl {
    font-size: 1.125rem;
    line-height: 1.3;
  }

  .dash-section-head__copy .text-gray-400 {
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-top: 0.25rem;
    max-width: none;
  }

  /* Slug badge overlaps filters on narrow screens — title is enough */
  .dash-section-badge {
    display: none;
  }

  .provider-toolbar {
    padding: 0.65rem 0.75rem;
    gap: 0.5rem;
  }

  .provider-toolbar__search {
    min-height: 2.75rem;
    padding: 0 0.75rem;
  }

  .provider-toolbar__search input {
    font-size: 16px;
  }

  .provider-toolbar__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 0.5rem;
  }

  .provider-toolbar__field {
    min-width: 0;
  }

  .provider-toolbar__field span {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .provider-toolbar__reset {
    grid-column: 1 / -1;
    width: 100%;
    align-self: stretch;
    justify-self: stretch;
    text-align: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.8125rem;
  }

  .provider-toolbar__count {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }

  .provider-grid {
    gap: 0.875rem !important;
  }

  .provider-grid--residential {
    gap: 1rem !important;
  }

  .provider-card {
    gap: 0;
    padding: 0;
    border-radius: 1.125rem;
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(0, 0, 0, 0.12) 100%);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.06) inset,
      0 8px 28px rgba(0, 0, 0, 0.28);
  }

  .provider-card:hover {
    transform: none;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.06) inset,
      0 8px 28px rgba(0, 0, 0, 0.28);
  }

  .provider-card:active {
    transform: scale(0.985);
    border-color: rgba(255, 214, 10, 0.35);
  }

  .provider-card__header {
    gap: 0.875rem;
    align-items: center;
    padding: 1rem 1.0625rem 0.875rem;
  }

  .provider-card__logo-wrap {
    width: 4.375rem;
    height: 4.375rem;
    border-width: 1.5px;
    box-shadow:
      0 2px 10px rgba(0, 0, 0, 0.28),
      0 0 0 1px color-mix(in srgb, var(--provider-accent) 35%, transparent);
  }

  .provider-logo--card .provider-logo__img {
    transform: scale(1.1);
  }

  .provider-card__name {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .provider-card--residential-shop .provider-card__name {
    -webkit-line-clamp: 3;
    font-size: 0.9rem;
  }

  .provider-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
  }

  .provider-card__meta-item {
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #b0b8c4;
    line-height: 1.25;
  }

  .provider-card__meta-item i {
    font-size: 0.6875rem;
    opacity: 0.9;
  }

  .provider-card__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8125rem 1.0625rem;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.24);
  }

  .provider-card__pricing {
    flex: 1 1 auto;
    min-width: 0;
  }

  .provider-card--residential-shop .provider-card__price-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #9ca3af;
    margin-bottom: 0.125rem;
  }

  .provider-card__price {
    font-size: 1.25rem;
    line-height: 1.15;
  }

  .provider-card__price small {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
  }

  .provider-card__compare {
    font-size: 1.0625rem;
  }

  .provider-card__save {
    font-size: 1rem;
    margin-top: 0.3rem;
  }

  .provider-card__retail {
    margin-top: 0.2rem;
  }

  .provider-card__cta {
    flex: 0 0 auto;
    width: auto;
    max-width: 46%;
    min-height: 2.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: none;
    line-height: 1.2;
  }

  .provider-card--residential-shop .provider-card__cta {
    max-width: none;
    padding: 0.5625rem 1rem;
    font-size: 0.8125rem;
  }

  .provider-card__cta i {
    font-size: 0.75rem;
    opacity: 0.85;
  }

  .overview-hero {
    padding: 1.15rem 1rem;
    gap: 1.15rem;
  }

  .overview-hero__title {
    font-size: 1.125rem;
  }

  .overview-hero__desc {
    font-size: 0.8125rem;
  }

  .overview-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .overview-stat {
    padding: 1rem;
  }

  .transactions-wallet__badge {
    font-size: 0.6875rem;
    padding: 0.35rem 0.6rem;
  }

  #txBalanceDisplay {
    font-size: 1.75rem !important;
  }

  .dash-panel.p-5,
  .dash-panel.p-4 {
    padding: 1rem !important;
  }

  .buy-bundle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  .buy-bundle-pill,
  .gb-preset {
    padding: 0.55rem 0.4rem;
    min-height: 3.25rem;
  }

  .crypto-payment-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .crypto-payment-card__hint {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 380px) {
  #dashboardView .dash-container {
    padding-inline: 0.75rem;
  }

  #dashboardView {
    --dash-nav-h: 3rem;
  }

  #userCreditsNav {
    max-width: 5.5rem !important;
    padding-inline: 0.5rem !important;
    font-size: 0.6875rem !important;
  }

  .crypto-currency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crypto-recharge-modal__scroll {
    overflow-y: auto;
  }
}

/* ========== Landing page design system ========== */
#siteLanding {
  --landing-max: 81.25rem;
  --landing-narrow: 50rem;
  --landing-px: clamp(1rem, 4.2vw, 1.5rem);
  --landing-section-y: clamp(3.25rem, 8vw, 5rem);
  --landing-head-gap: clamp(2rem, 5vw, 3rem);
  overflow-x: clip;
}

.legal-page {
  --landing-max: 81.25rem;
  --landing-px: clamp(1rem, 4.2vw, 1.5rem);
  --landing-section-y: clamp(2.5rem, 6vw, 4rem);
}

.legal-page .landing-shell,
#siteLanding .landing-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--landing-max);
  margin-inline: auto;
  padding-inline: max(var(--landing-px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

#siteLanding .landing-shell--narrow {
  max-width: var(--landing-narrow);
}

.legal-page .landing-section,
#siteLanding .landing-section {
  padding-block: var(--landing-section-y);
}

#siteLanding .landing-section--tight {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

#siteLanding .landing-section--divider {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#siteLanding .landing-section-head {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: var(--landing-head-gap);
}

#siteLanding .landing-section-head--wide {
  max-width: 48rem;
}

#siteLanding .landing-section-head--faq {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

#siteLanding .landing-section-head--left {
  text-align: center;
  max-width: none;
  margin-inline: 0;
  margin-bottom: 0;
}

#siteLanding .landing-kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd60a;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

#siteLanding .landing-kicker--muted {
  color: #6b7280;
}

@media (min-width: 640px) {
  #siteLanding .landing-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }
}

#siteLanding .landing-title {
  font-size: clamp(1.625rem, 4.2vw + 0.35rem, 2.375rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  text-wrap: balance;
}

#siteLanding .landing-lead {
  color: #9ca3af;
  font-size: clamp(0.9375rem, 2vw + 0.4rem, 1.0625rem);
  line-height: 1.6;
  margin-inline: auto;
  max-width: 36rem;
  text-wrap: pretty;
}

#siteLanding .landing-lead--wide {
  max-width: 44rem;
}

#siteLanding .landing-lead--flush {
  max-width: none;
  margin-inline: 0;
}

#siteLanding .landing-hero__copy {
  min-width: 0;
}

#siteLanding .landing-hero__title {
  font-size: clamp(1.875rem, 5.5vw + 0.25rem, 3.75rem);
}

#siteLanding .landing-hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 1024px) {
  #siteLanding .landing-hero__grid {
    grid-template-columns: 1.2fr 1fr;
  }

  #siteLanding .landing-section-head--left {
    text-align: left;
  }

  #siteLanding #contactInfoList {
    text-align: left;
  }
}

#siteLanding .landing-cta-band {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
}

#siteLanding .landing-cta-band__btn {
  min-height: 3rem;
}

#siteLanding .landing-card-grid .glass,
#siteLanding .landing-pricing-grid .glass {
  height: 100%;
}

#siteLanding .landing-brand-chip {
  min-width: 0;
}

#siteLanding .landing-brand-chip span {
  overflow-wrap: anywhere;
}

#siteLanding .landing-footer {
  padding-top: clamp(2.75rem, 6vw, 4rem);
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

#siteLanding .landing-footer__bottom {
  padding-bottom: 0.25rem;
}

/* Mobile landing header — standard wordmark (~52px), scales on small phones */
.site-logo--nav-mobile {
  --logo-h: 3.25rem;
  max-width: min(19rem, 72vw);
}

#siteLanding .landing-nav .site-logo--nav-mobile {
  --logo-h: 3.25rem;
  max-width: min(19rem, 72vw);
}

@media (min-width: 390px) {
  .site-logo--nav-mobile,
  #siteLanding .landing-nav .site-logo--nav-mobile {
    --logo-h: 3.5rem;
    max-width: min(20rem, 74vw);
  }
}

#siteLanding #mobileMenu {
  padding-inline: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}

#siteLanding #mobileMenu a.block:not(.mobile-menu__logo) {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  border-radius: 0.625rem;
  padding-inline: 0.35rem;
}

@media (max-width: 1023px) {
  #siteLanding .hero-visual-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto !important;
    min-height: 0;
    gap: 0.75rem;
    padding-bottom: 0.25rem;
  }

  #siteLanding .hero-visual-core {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 0.5rem;
    width: min(13rem, 52vw);
    height: min(13rem, 52vw);
    flex-shrink: 0;
  }

  #siteLanding .hero-float-card {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    animation: none !important;
    width: 100%;
    max-width: 100%;
    padding: 0.875rem 1rem;
    justify-content: flex-start;
  }

  #siteLanding .hero-float-card i {
    font-size: 1.25rem;
  }

  #siteLanding .landing-stats {
    text-align: center;
  }

  #siteLanding .landing-stats h3 {
    font-size: 1.375rem;
  }

  #siteLanding .landing-card-grid .glass,
  #siteLanding .landing-pricing-grid .glass,
  #siteLanding #companies .grid > .glass {
    padding: clamp(1.25rem, 3.5vw, 1.75rem);
  }

  #siteLanding .landing-brand-chip {
    padding: 0.875rem 1rem;
  }

  #siteLanding .landing-cta-band__btn {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  #siteLanding .landing-card-grid .glass a.btn-primary,
  #siteLanding .landing-pricing-grid .glass a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #siteLanding .landing-footer .site-logo--footer {
    --logo-h: 5.75rem;
    max-width: min(26rem, 92vw);
  }

  #siteLanding .landing-footer__grid {
    gap: 2rem;
  }

  #siteLanding .landing-contact {
    gap: 2rem;
  }

  #siteLanding .landing-footer__brand,
  #siteLanding .landing-footer__col {
    text-align: center;
  }

  #siteLanding .landing-footer__brand > a {
    justify-content: center;
    width: 100%;
  }

  #siteLanding .landing-footer__brand p {
    margin-inline: auto;
  }

  #siteLanding .landing-footer__brand .flex {
    justify-content: center;
  }

  #siteLanding #contactInfoList {
    text-align: center;
  }
}

@media (max-width: 639px) {
  #siteLanding .text-xs {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  #siteLanding .text-sm {
    font-size: 0.9375rem;
  }

  #siteLanding .text-lg {
    font-size: 1.0625rem;
    line-height: 1.55;
  }

  #siteLanding .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 2rem;
  }

  #siteLanding .hero-cta__btn {
    width: 100%;
    max-width: 100%;
  }

  #siteLanding #mobileMenu a.block {
    font-size: 1rem;
  }

  #siteLanding .landing-nav {
    gap: 0.5rem;
  }

  #siteLanding .landing-brand-grid {
    gap: 0.75rem;
  }

  #siteLanding .landing-brand-grid.grid-cols-2 .landing-brand-chip {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  #siteLanding .landing-faq-list summary {
    font-size: 0.9375rem;
    gap: 0.75rem;
    padding-right: 0.25rem;
  }

  #siteLanding .landing-faq-list details {
    padding: 1rem 1.125rem;
  }

  #siteLanding .landing-pricing-grid ul {
    max-width: 18rem;
    margin-inline: auto;
  }

  #dashboardView .text-xs {
    font-size: 0.8125rem !important;
    line-height: 1.45;
  }

  #dashboardView .dash-table tbody td::before,
  #dashboardView .dash-table thead th,
  #dashboardView .status-badge {
    font-size: 0.75rem;
  }

  .buy-bundle-pill,
  .gb-preset {
    font-size: 0.8125rem;
  }

  .buy-bundle-pill__rate {
    font-size: 0.75rem;
  }

  #authModal input,
  #authModal select,
  #authModal textarea,
  #siteLanding #contact input,
  #siteLanding #contact textarea {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  #siteLanding .landing-brand-grid.grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .site-logo--nav-mobile,
  #siteLanding .landing-nav .site-logo--nav-mobile {
    --logo-h: 3rem;
    max-width: min(17rem, 68vw);
  }
}

@media (max-width: 1023px) {
  .dash-table tbody td::before {
    font-size: 0.75rem;
  }
}

.live-support-card {
  width: 100%;
  max-width: none;
  background: linear-gradient(165deg, #1c1c22 0%, #141418 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  text-align: left;
}

.live-support-card--sidebar {
  padding: 14px 15px 15px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.live-support-card--sidebar .live-support-card__head {
  margin-bottom: 12px;
}

.live-support-card--sidebar .live-support-card__brand {
  gap: 10px;
}

.live-support-card--sidebar .live-support-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.22);
}

.live-support-card--sidebar .live-support-card__title-row h2 {
  font-size: 0.9375rem;
}

.live-support-card--sidebar .live-support-card__status {
  font-size: 0.625rem;
  padding: 3px 8px;
}

.live-support-card--sidebar .live-support-card__desc {
  font-size: 0.75rem;
  line-height: 1.4;
}

.live-support-card--sidebar .live-support-btn {
  padding: 11px 12px;
  gap: 8px;
  font-size: 0.8125rem;
}

.live-support-card--sidebar .live-support-card__section-label {
  margin: 12px 0 8px;
}

.live-support-card--sidebar .live-support-link {
  padding: 9px 10px;
  gap: 10px;
  margin-bottom: 6px;
}

.live-support-card--sidebar .live-support-link__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.live-support-card--sidebar .live-support-link__body strong {
  font-size: 0.8125rem;
}

.live-support-card--sidebar .live-support-link__body small {
  font-size: 0.6875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-support-card--sidebar .live-support-card__meta {
  margin-top: 10px;
  padding-top: 10px;
  font-size: 0.6875rem;
  line-height: 1.35;
}

@media (max-height: 820px) and (min-width: 1024px) {
  .live-support-card--sidebar .live-support-card__desc,
  .live-support-card--sidebar .live-support-card__meta {
    display: none;
  }

  .live-support-card--sidebar .live-support-card__head {
    margin-bottom: 10px;
  }

  .live-support-card--sidebar .live-support-card__section-label {
    margin-top: 10px;
  }
}

.live-support-card__head {
  margin-bottom: 20px;
}

.live-support-card__brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.live-support-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1a1a;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.live-support-card__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.live-support-card__title-row h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}

.live-support-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.live-support-card__status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.live-support-card__desc {
  font-size: 0.8125rem;
  color: #a1a1aa;
  line-height: 1.5;
  margin: 2px 0 0;
}

.live-support-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.live-support-btn--primary {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  color: #1c1917;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.live-support-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.live-support-btn--primary i:first-child {
  font-size: 1rem;
  opacity: 0.9;
}

.live-support-btn__label {
  flex: 1;
  min-width: 0;
  text-align: left;
  line-height: 1.25;
}

.live-support-btn__arrow {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.75rem;
  opacity: 0.7;
}

.live-support-card__section-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
  margin: 20px 0 10px;
}

.live-support-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #fafafa;
  text-decoration: none;
  transition: 0.2s ease;
}

.live-support-link:last-of-type {
  margin-bottom: 0;
}

.live-support-link:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(56, 189, 248, 0.35);
}

.live-support-link__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.live-support-link__icon--telegram {
  background: rgba(38, 165, 228, 0.15);
  color: #38bdf8;
}

.live-support-link__icon--news {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
}

.live-support-link__body {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.live-support-link__body strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f4f4f5;
  margin-bottom: 2px;
}

.live-support-link__body small {
  display: block;
  font-size: 0.75rem;
  color: #a1a1aa;
  font-weight: 500;
}

.live-support-link > .fa-arrow-up-right-from-square {
  font-size: 0.7rem;
  color: #52525b;
  flex-shrink: 0;
}

.live-support-card__meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #71717a;
}

.live-support-card__meta i {
  color: #52525b;
}

.live-support-card__empty {
  font-size: 0.75rem;
  color: #71717a;
  margin: 0 0 8px;
}

.live-support-btn .dash-support-badge {
  position: static;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.wallet-support-tickets__item {
  padding: 0.5rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-support-tickets__subject {
  display: block;
  font-weight: 600;
  color: #f3f4f6;
  font-size: 0.8125rem;
}

.wallet-support-tickets__meta {
  display: block;
  font-size: 0.6875rem;
  color: #9ca3af;
  margin-top: 0.15rem;
}

.support-ticket-overlay {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.support-ticket-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: min(96vw, 56rem);
  max-height: min(94vh, 880px);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 214, 10, 0.22);
  background: linear-gradient(165deg, rgba(18, 18, 24, 0.98) 0%, rgba(10, 10, 15, 0.99) 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.support-ticket-modal__header {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 3.25rem 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  shrink: 0;
}

.support-ticket-modal__header-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: rgba(255, 214, 10, 0.12);
  border: 1px solid rgba(255, 214, 10, 0.28);
  color: #ffd60a;
  font-size: 1.1rem;
  shrink: 0;
}

.support-ticket-modal__eyebrow {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd60a;
  margin-bottom: 0.15rem;
}

.support-ticket-modal__title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.25;
  color: #f9fafb;
}

.support-ticket-modal__subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.35rem;
  line-height: 1.45;
  max-width: 28rem;
}

.support-ticket-chrome {
  padding: 0 1rem 0.65rem;
  shrink: 0;
}

.support-ticket-chrome.hidden {
  display: none;
}

.support-ticket-modal__stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 1rem 1rem;
}

.support-ticket-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.support-ticket-panel--scroll {
  overflow-y: auto;
  padding-right: 0;
  scrollbar-width: none;
}

.support-ticket-panel--scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.support-ticket-panel--detail {
  gap: 0;
}

.support-ticket-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  transition: background 0.15s, color 0.15s;
}

.support-ticket-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dash-support-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1.125rem;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.55);
}

.support-ticket-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-ticket-tabs__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #9ca3af;
  transition: background 0.15s, color 0.15s;
}

.support-ticket-tabs__count {
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1.125rem;
}

.support-ticket-tabs__btn.active {
  background: rgba(255, 214, 10, 0.15);
  color: #ffd60a;
}

.support-ticket-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.support-ticket-list__item {
  position: relative;
  width: 100%;
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

.support-ticket-list__item:hover {
  border-color: rgba(255, 214, 10, 0.35);
  background: rgba(255, 214, 10, 0.05);
  transform: translateY(-1px);
}

.support-ticket-list__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.support-ticket-list__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #ffd60a;
  box-shadow: 0 0 8px #ffd60a;
  margin-top: 0.35rem;
  shrink: 0;
}

.support-ticket-list__title {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  color: #f3f4f6;
  line-height: 1.3;
}

.support-ticket-list__preview {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.35rem;
  line-height: 1.4;
}

.support-ticket-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.6875rem;
  color: #6b7280;
  margin-top: 0.45rem;
}

.support-ticket-status {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.support-ticket-status--open {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.25);
}

.support-ticket-status--in_progress {
  color: #fde68a;
  background: rgba(255, 214, 10, 0.12);
  border-color: rgba(255, 214, 10, 0.28);
}

.support-ticket-status--resolved {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
}

.support-ticket-status--closed {
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.support-ticket-detail-head {
  padding-bottom: 0.65rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  shrink: 0;
}

.support-ticket-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffd60a;
  margin-bottom: 0.65rem;
}

.support-ticket-back:hover {
  text-decoration: underline;
}

.support-ticket-detail-head__title {
  font-size: 1rem;
  font-weight: 800;
  color: #f3f4f6;
  line-height: 1.35;
}

.support-ticket-detail-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-top: 0.45rem;
  font-size: 0.6875rem;
  color: #6b7280;
}

.support-ticket-detail-head__id {
  font-family: ui-monospace, monospace;
  color: #9ca3af;
}

.support-ticket-thread {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.35rem 0 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.support-ticket-thread::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.support-ticket-composer {
  shrink: 0;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}

.support-ticket-composer__field {
  margin-bottom: 0.45rem;
}

.support-ticket-composer__input {
  width: 100%;
  min-height: 4.25rem;
  max-height: 9rem;
  resize: vertical;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: #f3f4f6;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s;
}

.support-ticket-composer__input:focus {
  border-color: rgba(255, 214, 10, 0.45);
}

.support-ticket-composer__toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.support-ticket-composer__attach {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d1d5db;
  font-size: 0.75rem;
  font-weight: 600;
}

.support-ticket-composer__attach:hover {
  border-color: rgba(255, 214, 10, 0.35);
  color: #ffd60a;
}

.support-ticket-composer__hint {
  flex: 1;
  font-size: 0.625rem;
  color: #6b7280;
  min-width: 6rem;
}

.support-ticket-composer__send {
  margin-left: auto;
  padding: 0.5rem 1rem !important;
  font-size: 0.8125rem !important;
  border-radius: 0.65rem !important;
}

.support-ticket-composer__error {
  font-size: 0.75rem;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 0.65rem;
  padding: 0.45rem 0.65rem;
  margin-bottom: 0.45rem;
}

.support-ticket-create {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.support-ticket-create__lead {
  font-size: 0.8125rem;
  color: #9ca3af;
  line-height: 1.5;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 214, 10, 0.06);
  border: 1px solid rgba(255, 214, 10, 0.15);
}

.support-ticket-field label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.support-ticket-field__input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: #f3f4f6;
  font-size: 0.875rem;
  outline: none;
}

.support-ticket-field__input:focus {
  border-color: rgba(255, 214, 10, 0.45);
}

.support-ticket-field__textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.support-ticket-form-msg {
  font-size: 0.8125rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
}

.support-ticket-form-msg--error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.support-ticket-form-msg--ok {
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.support-ticket-reply-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.support-ticket-reply-preview__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 214, 10, 0.12);
  border: 1px solid rgba(255, 214, 10, 0.25);
  font-size: 0.6875rem;
  color: #fde68a;
}

.support-ticket-reply-preview__remove {
  color: #fca5a5;
  font-weight: 700;
  line-height: 1;
}

.support-ticket-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.support-ticket-attachments__img {
  max-width: 100%;
  max-height: min(42vh, 380px);
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-ticket-attachments__video {
  max-width: 100%;
  max-height: min(44vh, 400px);
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.support-ticket-admin-thread__msg {
  padding: 0.5rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.support-ticket-admin-thread__msg--admin {
  border-color: rgba(255, 214, 10, 0.25);
  background: rgba(255, 214, 10, 0.06);
}

.support-ticket-msg {
  display: flex;
  flex-direction: column;
  max-width: min(92%, 36rem);
}

.support-ticket-msg--user {
  align-self: flex-end;
}

.support-ticket-msg--admin {
  align-self: flex-start;
}

.support-ticket-bubble {
  padding: 0.65rem 0.8rem;
  border-radius: 0.85rem;
}

.support-ticket-msg--user .support-ticket-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-right-radius: 0.25rem;
}

.support-ticket-msg--admin .support-ticket-bubble {
  background: rgba(255, 214, 10, 0.09);
  border: 1px solid rgba(255, 214, 10, 0.28);
  border-bottom-left-radius: 0.25rem;
}

.support-ticket-bubble__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.support-ticket-bubble__label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.support-ticket-msg--user .support-ticket-bubble__label {
  color: #d1d5db;
}

.support-ticket-msg--admin .support-ticket-bubble__label {
  color: #ffd60a;
}

.support-ticket-bubble__time {
  font-size: 0.625rem;
  color: #6b7280;
  white-space: nowrap;
}

.support-ticket-bubble__text {
  font-size: 0.8125rem;
  color: #e5e7eb;
  white-space: pre-wrap;
  line-height: 1.45;
}

.support-ticket-empty {
  text-align: center;
  padding: 2.5rem 1rem;
}

.support-ticket-empty__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 214, 10, 0.08);
  color: rgba(255, 214, 10, 0.55);
  font-size: 1.25rem;
}

.support-ticket-empty__title {
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 0.35rem;
}

.support-ticket-empty__desc {
  font-size: 0.8125rem;
  color: #9ca3af;
  line-height: 1.5;
  max-width: 16rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .support-ticket-modal {
    min-height: min(86vh, 680px);
  }

  .support-ticket-panel--detail {
    min-height: 0;
  }
}

/* ========== Legal pages (Privacy, Terms, etc.) ========== */
.legal-site-header .site-logo {
  --logo-h: 2.85rem;
  max-width: min(17rem, 70vw);
}

@media (min-width: 640px) {
  .legal-site-header .site-logo {
    --logo-h: 3.5rem;
    max-width: 20rem;
  }
}

.legal-doc {
  max-width: 46rem;
  margin-inline: auto;
  padding-bottom: 2rem;
}

.legal-doc__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-doc__meta {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-doc h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: #f3f4f6;
}

.legal-doc h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: #e5e7eb;
}

.legal-doc p,
.legal-doc li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.legal-doc a {
  color: #ffd60a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-doc a:hover {
  color: #ffe45c;
}

.legal-doc strong {
  color: #d1d5db;
  font-weight: 600;
}
