:root {
  color-scheme: dark;
  --bg: #060809;
  --bg-2: #0b1011;
  --surface: rgba(14, 19, 20, 0.86);
  --surface-strong: #101718;
  --line: rgba(222, 236, 232, 0.14);
  --line-strong: rgba(222, 236, 232, 0.24);
  --text: #f4fbf8;
  --muted: #9aa8a4;
  --soft: #d8e5df;
  --green: #2f80ff;
  --green-2: #1c5ad8;
  --cyan: #52d7ff;
  --gold: #dcb765;
  --rose: #e96f8f;
  --platinum: #d6ddd9;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(47, 128, 255, 0.14), transparent 25rem),
    radial-gradient(circle at 90% 28%, rgba(82, 215, 255, 0.1), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Assistant", "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
  fill: currentColor;
}

.site-shell {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: 0;
}

body[data-view="home"] .dashboard-section {
  display: none;
}

body:not([data-view="admin"]) .admin-section {
  display: none;
}

body:not([data-view="home"]) .ads-pay-section {
  display: none;
}

body:not([data-view="home"]) .legal-section {
  display: none;
}

body[data-view="dashboard"] .hero,
body[data-view="dashboard"] .intro-band,
body[data-view="dashboard"] .coins-section,
body[data-view="dashboard"] .fee-band,
body[data-view="dashboard"] .ads-pay-section,
body[data-view="dashboard"] .flow-section,
body[data-view="dashboard"] .admin-section,
body[data-view="dashboard"] .site-footer {
  display: none;
}

body[data-view="admin"] .hero,
body[data-view="admin"] .intro-band,
body[data-view="admin"] .coins-section,
body[data-view="admin"] .fee-band,
body[data-view="admin"] .ads-pay-section,
body[data-view="admin"] .flow-section,
body[data-view="admin"] .dashboard-section,
body[data-view="admin"] .site-footer {
  display: none;
}

body[data-view="admin"] .site-header,
body[data-view="admin"] .bottom-bar {
  display: none;
}

body[data-view="dashboard"] .dashboard-section {
  min-height: calc(100vh - 74px);
  padding-top: clamp(28px, 5vw, 58px);
}

body[data-view="admin"] .admin-section {
  min-height: 100vh;
  padding-top: clamp(28px, 5vw, 58px);
}

body[data-view="admin"].admin-locked .admin-section {
  justify-content: center;
  padding-top: clamp(20px, 5vw, 44px);
}

body[data-view="admin"].admin-locked .admin-section > .section-heading {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 8, 9, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.desktop-nav,
.hero-actions,
.card-title-row,
.amount-row,
.profile-chip,
.bottom-bar {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green);
  border: 1px solid rgba(47, 128, 255, 0.38);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(47, 128, 255, 0.18), rgba(82, 215, 255, 0.08));
}

.brand-mark svg {
  width: 24px;
}

.brand-mark svg path + path {
  fill: #080f1c;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.desktop-nav {
  justify-content: center;
  justify-self: center;
  min-width: 0;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.desktop-nav a,
.panel-sidebar nav a {
  border-radius: var(--radius);
  color: var(--soft);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.desktop-nav a {
  padding: 8px 13px;
  font-size: 0.94rem;
}

.desktop-nav a:hover,
.panel-sidebar nav a:hover,
.panel-sidebar nav a.active {
  background: rgba(47, 128, 255, 0.12);
  color: var(--text);
}

.header-actions {
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
  min-width: max-content;
}

.language-menu {
  position: relative;
  z-index: 70;
}

.language-native {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  pointer-events: none;
}

/* Visible language switcher for the admin toolbar (both Super Admin and Super
   Duper). The <select> keeps data-language-select so it is auto-populated and
   auto-wired by the same logic as the home-page switcher. */
.admin-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.admin-language-switch svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
  opacity: 0.85;
}

.admin-language-select {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.admin-language-select option {
  color: #0b1220;
}

.language-trigger {
  display: inline-grid;
  grid-template-columns: 30px minmax(82px, auto) 16px;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 6px 10px;
  border: 1px solid rgba(47, 128, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.12), rgba(82, 215, 255, 0.05)),
    rgba(255, 255, 255, 0.045);
  color: var(--text);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.language-flag {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.language-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-trigger-text {
  display: grid;
  min-width: 0;
  text-align: start;
  line-height: 1.05;
}

.language-trigger-text small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.language-trigger-text strong {
  overflow: hidden;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-trigger svg {
  width: 16px;
  color: var(--green);
  transition: transform 160ms ease;
}

.language-menu.open .language-trigger svg {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  display: none;
  width: min(310px, calc(100vw - 24px));
  max-height: min(430px, calc(100vh - 110px));
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(7, 11, 12, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(18px);
}

.language-menu.open .language-options {
  display: grid;
  gap: 4px;
}

.language-option {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--soft);
  text-align: start;
}

.language-option:hover,
.language-option.active {
  border-color: rgba(47, 128, 255, 0.24);
  background: rgba(47, 128, 255, 0.1);
  color: var(--text);
}

.language-option strong,
.language-option small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-option strong {
  font-size: 0.92rem;
}

.language-option small {
  color: var(--muted);
  font-size: 0.76rem;
}

.mobile-link-preview {
  display: block;
  direction: ltr;
  max-width: 100%;
  margin-top: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button,
.icon-button,
.card-option {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  font-weight: 700;
  white-space: nowrap;
}

.button svg,
.icon-button svg,
.bottom-bar svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.button-primary {
  /* Deep, saturated blue gradient with crisp WHITE text so the label never gets
     swallowed (the old near-black text disappeared on the blue background). */
  background: linear-gradient(135deg, #3d8bff 0%, #1f5fe0 55%, #1747c9 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 2px rgba(7, 13, 24, 0.32);
  box-shadow: 0 14px 34px rgba(47, 128, 255, 0.4);
}

.button-primary svg {
  color: #ffffff;
}

/* Create-card CTA — a distinct, premium button so the MAIN call-to-action stands
   apart from the generic primary buttons used everywhere else. Targets the wallet
   CTA in both the header and the hero (data-wallet-cta). */
[data-wallet-cta] {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #2f7bff 0%, #1f5fe0 48%, #6a3cff 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 16px 40px rgba(47, 110, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
[data-wallet-cta] > svg,
[data-wallet-cta] > span {
  position: relative;
  z-index: 1;
}
[data-wallet-cta]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.45) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: ctaSheen 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaSheen {
  0% { transform: translateX(-130%); }
  35% { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}
[data-wallet-cta]:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(47, 110, 255, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
[data-wallet-cta]:active {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-wallet-cta]::before { animation: none; }
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.button-danger {
  border-color: rgba(233, 111, 143, 0.45);
  background:
    linear-gradient(135deg, rgba(233, 111, 143, 0.92), rgba(255, 99, 132, 0.72)),
    rgba(255, 255, 255, 0.06);
  color: #fff;
}

.button-reset {
  border-color: rgba(255, 214, 92, 0.28);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 214, 92, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(233, 111, 143, 0.96), rgba(120, 45, 80, 0.9));
  box-shadow: 0 18px 48px rgba(233, 111, 143, 0.22);
}

.button-large {
  min-height: 52px;
  padding-inline: 20px;
}

.button-small {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 0.86rem;
}

.button-full {
  width: 100%;
}

.button:hover,
.icon-button:hover,
.card-option:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
}

.button:active,
.icon-button:active,
.card-option:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  isolation: isolate;
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px) clamp(58px, 8vw, 92px);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: 0.82;
}

.hero-shade {
  z-index: -2;
  /* Desktop: darken the overlay behind the hero text (left side) so the title,
     eyebrow and lead stay readable over the bright card image — same intent as
     the mobile darkening. Left-weighted so the card on the right stays visible. */
  background:
    linear-gradient(90deg, rgba(6, 8, 9, 0.74) 0%, rgba(6, 8, 9, 0.52) 44%, rgba(6, 8, 9, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 8, 9, 0.32), rgba(6, 8, 9, 0.2));
}

.hero-content {
  width: min(760px, 100%);
  margin-left: 0;
  margin-right: auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.82rem;
}

/* Hero eyebrow only — white, larger and bolder so it doesn't get swallowed by
   the bright hero image, and deliberately broken into two lines (the source /
   translation uses a newline + white-space: pre-line). */
.hero .eyebrow {
  color: #ffffff;
  font-weight: 900;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  line-height: 1.4;
  white-space: pre-line;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  width: min(670px, 100%);
  margin: 22px 0 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 800;
  line-height: 1.7;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.9),
    0 10px 34px rgba(0, 0, 0, 0.72);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* Entry-access gate: hide the public entry buttons (create-card top+hero,
   enter-panel, login) when maintenance mode is on, or when the social gate is
   on and the visit didn't come from a social network. Uses !important so it
   always wins over other show/hide logic on those buttons. */
.entry-gated [data-connect-wallet],
.entry-gated [data-dashboard-link],
.entry-gated [data-open-login] {
  display: none !important;
}

.hero-actions .button-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(7, 10, 11, 0.94), rgba(16, 23, 24, 0.86)),
    rgba(0, 0, 0, 0.88);
  color: #fff;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82);
}

.hero-actions .button-ghost:hover {
  border-color: rgba(47, 128, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(10, 15, 16, 0.98), rgba(21, 31, 32, 0.92)),
    rgba(0, 0, 0, 0.92);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(760px, 100%);
  margin-top: 34px;
}

.hero-metrics div,
.feature-card,
.coin-card,
.fee-calculator,
.flow-grid article,
.dashboard-card,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 13, 14, 0.72);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  padding: 14px;
  backdrop-filter: blur(10px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 1.02rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: clamp(68px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.intro-band {
  background:
    linear-gradient(180deg, rgba(9, 14, 15, 0.94), rgba(6, 8, 9, 0.98)),
    var(--bg-2);
}

.section-heading {
  width: min(930px, 100%);
  margin-bottom: 34px;
}

.section-heading h2,
.fee-band h2,
.ads-pay-heading h2,
.panel-heading h2,
.modal-header h2 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading h2,
.fee-band h2,
.ads-pay-heading h2,
.panel-heading h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.panel-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  max-width: 760px;
}

.section-heading p,
.fee-band p,
.ads-pay-heading p,
.modal-step p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.feature-grid,
.coin-grid,
.flow-grid,
.dashboard-grid {
  display: grid;
  gap: 14px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.coin-card,
.flow-grid article {
  padding: 22px;
}

.feature-icon,
.option-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(47, 128, 255, 0.12);
  border: 1px solid rgba(47, 128, 255, 0.24);
}

.feature-icon svg,
.option-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3,
.coin-card h3,
.flow-grid h3,
.dashboard-card h3,
.modal-step h3 {
  margin: 8px 0 4px;
  line-height: 1.25;
  letter-spacing: 0;
}

.feature-card p,
.coin-card p,
.flow-grid p {
  margin: 0;
  color: var(--muted);
}

.coins-section {
  background:
    linear-gradient(180deg, rgba(6, 8, 9, 0.98), rgba(11, 15, 15, 0.97)),
    var(--bg);
}

.coin-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.coin-card {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.coin-logo-shell {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.coin-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.coin-card span {
  margin-top: auto;
  align-self: center;
  text-align: center;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
}

.fee-band {
  display: grid;
  grid-template-columns: minmax(220px, 400px) minmax(260px, 430px) minmax(220px, 360px);
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  justify-content: center;
  padding: clamp(64px, 9vw, 110px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.12), transparent 38%),
    linear-gradient(180deg, #0a0f0f, #070909);
  border-block: 1px solid var(--line);
}

.fee-heading {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 0;
  width: min(1280px, 100%);
  margin-bottom: clamp(8px, 2vw, 18px);
  text-align: center;
}

.fee-heading h2 {
  max-width: 1280px;
  margin-inline: auto;
}

.fee-heading p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
}

.fee-calculator {
  justify-self: center;
  width: min(400px, 100%);
  padding: 24px;
}

.fee-copy {
  display: grid;
  gap: 14px;
  align-content: center;
  justify-self: center;
  min-width: 0;
  width: min(360px, 100%);
  max-width: 100%;
}

.fee-copy h3 {
  display: block;
  max-width: 100%;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.7vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
  white-space: pre;
  overflow: visible;
}

.fee-pay-visual {
  display: block;
  position: relative;
  justify-self: center;
  width: min(430px, 100%);
  margin: 0;
}

.fee-pay-image {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1320px) {
  .fee-band {
    grid-template-columns: minmax(240px, 420px) minmax(240px, 360px);
  }

  .fee-pay-visual {
    order: 3;
  }

  .fee-copy {
    order: 2;
  }

  .fee-calculator {
    order: 4;
  }
}

.fee-calculator label,
.form-grid label,
.topup-form label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-weight: 700;
}

.amount-row {
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
}

.amount-row input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 900;
}

.amount-row span {
  color: var(--green);
  font-weight: 900;
}

.fee-calculator dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.fee-calculator dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.fee-calculator dt {
  color: var(--muted);
}

.fee-calculator dd {
  margin: 0;
  font-weight: 900;
}

.ads-pay-section {
  padding: clamp(64px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(180deg, #070909, rgba(8, 13, 14, 0.98)),
    #070909;
  border-bottom: 1px solid var(--line);
}

.ads-pay-heading {
  min-width: 0;
  width: min(900px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.ads-pay-heading h2 {
  font-size: clamp(2rem, 4.4vw, 3.7rem);
}

[data-fit-title] {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
}

.ads-pay-heading p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
}

.ads-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  width: min(1120px, 100%);
  margin-inline: auto;
}

.ads-platform-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 184px;
  padding: 24px 16px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(8, 13, 14, 0.78);
  box-shadow: var(--shadow);
}

.ads-platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background: linear-gradient(135deg, var(--platform-a), transparent 42%, var(--platform-b));
  pointer-events: none;
}

.ads-platform-logo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(2, 5, 6, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.ads-platform-logo svg {
  width: 54px;
  height: 54px;
}

.ads-platform-card strong,
.ads-platform-card small {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}

.ads-platform-card strong {
  color: var(--text);
  font-size: 1.24rem;
  font-weight: 900;
}

.ads-platform-card small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.facebook-card {
  --platform-a: rgba(24, 119, 242, 0.65);
  --platform-b: rgba(82, 215, 255, 0.22);
}

.facebook-card svg circle {
  fill: #1877f2;
}

.facebook-card svg path {
  fill: #fff;
}

.instagram-card {
  --platform-a: rgba(225, 48, 108, 0.62);
  --platform-b: rgba(252, 175, 69, 0.28);
}

.instagram-card svg rect {
  fill: none;
  stroke: url("#instagramGradient");
  stroke-width: 4;
}

.instagram-card svg circle {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
}

.instagram-card svg circle:last-child {
  fill: #fff;
  stroke: none;
}

.tiktok-card {
  --platform-a: rgba(0, 242, 234, 0.48);
  --platform-b: rgba(255, 0, 80, 0.38);
}

.tiktok-cyan {
  fill: #00f2ea;
  transform: translate(-2px, 1px);
}

.tiktok-red {
  fill: #ff0050;
  transform: translate(2px, -1px);
}

.tiktok-main {
  fill: #fff;
}

.google-ads-card {
  --platform-a: rgba(66, 133, 244, 0.62);
  --platform-b: rgba(52, 168, 83, 0.28);
}

.ads-blue {
  fill: #4285f4;
}

.ads-green {
  fill: #34a853;
}

.ads-yellow {
  fill: #fbbc05;
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-grid span {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
}

.dashboard-section {
  padding: clamp(64px, 9vw, 110px) clamp(18px, 4vw, 54px);
  background:
    radial-gradient(circle at 78% 14%, rgba(82, 215, 255, 0.1), transparent 25rem),
    #070a0a;
}

.admin-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(64px, 9vw, 110px) clamp(18px, 4vw, 54px);
  background:
    linear-gradient(180deg, rgba(8, 12, 13, 0.97), rgba(4, 7, 7, 0.98)),
    #050707;
  border-top: 1px solid var(--line);
}

.admin-gate,
.admin-console,
.admin-card,
.admin-metrics div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 17, 18, 0.84);
  box-shadow: var(--shadow);
}

.admin-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) auto;
  gap: 14px;
  align-items: end;
  width: min(1180px, 100%);
  padding: 22px;
}

.admin-gate h3,
.admin-toolbar h3,
.admin-card h3 {
  margin: 0;
}

.admin-gate p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-console {
  width: 100%;
  max-width: none;
  padding: clamp(16px, 3vw, 28px);
}

.admin-toolbar,
.admin-toolbar-actions,
.translation-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-toolbar {
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-toolbar-actions,
.translation-actions {
  flex-wrap: wrap;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.admin-metrics div {
  padding: 16px;
}

.admin-metrics strong,
.admin-metrics span {
  display: block;
}

.admin-metrics strong {
  font-size: 1.55rem;
}

.admin-metrics span {
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.admin-card,
.pending-requests-card,
.admin-users-card,
.translation-card,
.kyc-admin-card,
.online-visitors-card,
.gas-support-card,
.settings-card,
.system-wallets-card,
.cards-admin-card {
  grid-column: 1 / -1;
  padding: 18px;
}

.admin-users-card {
  order: 1;
}

.online-visitors-card {
  order: 2;
}

.gas-support-card {
  order: 5;
}

.cards-admin-card {
  order: 6;
}

.pending-requests-card {
  order: 7;
}

.kyc-admin-card {
  order: 8;
}

.settings-card {
  order: 3;
}

.system-wallets-card {
  order: 4;
}

.translation-card {
  order: 9;
}

.admin-card .form-grid {
  margin-top: 12px;
}

.admin-card .form-grid.single {
  margin-bottom: 12px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-db-status {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(47, 128, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(47, 128, 255, 0.07);
  color: var(--soft);
  font-weight: 800;
}

.admin-db-status.loading {
  border-color: rgba(220, 183, 101, 0.26);
  background: rgba(220, 183, 101, 0.08);
}

.admin-db-status.error {
  border-color: rgba(233, 111, 143, 0.34);
  background: rgba(233, 111, 143, 0.1);
  color: #ffdce5;
}

.new-customer-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 12px;
  padding: 12px;
  border: 1px solid rgba(233, 111, 143, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(233, 111, 143, 0.2), rgba(47, 128, 255, 0.12)),
    rgba(14, 19, 20, 0.92);
  box-shadow: 0 18px 50px rgba(233, 111, 143, 0.16);
}

.new-customer-alert[hidden] {
  display: none;
}

.new-customer-alert strong,
.new-customer-alert span {
  display: block;
}

.new-customer-alert strong {
  color: #fff;
  font-size: 1.02rem;
}

.new-customer-alert span {
  color: var(--soft);
  font-size: 0.9rem;
}

/* Alarm-mode toggles + support wallet gas monitor */
.alarm-mode-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 8px 0 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: var(--muted);
}

.alarm-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--soft);
  cursor: pointer;
}

.support-gas-panel {
  margin: 10px 0 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.support-gas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.support-gas-head strong {
  color: var(--text);
  font-size: 0.95rem;
}

.support-gas-list {
  display: grid;
  gap: 6px;
}

.support-gas-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.support-gas-chain { color: var(--soft); font-weight: 500; }
.support-gas-amount { color: var(--muted); font-family: monospace; font-size: 0.85rem; }
.support-gas-usd { color: var(--green); font-weight: 600; }
.support-gas-usd.is-low,
.support-gas-row.is-low .support-gas-chain { color: var(--rose); }
.support-gas-row.is-low {
  border-color: rgba(233, 111, 143, 0.5);
  background: rgba(233, 111, 143, 0.08);
}

.support-gas-panel.is-alarming {
  animation: supportGasBlink 0.85s steps(1) infinite;
  border-color: rgba(233, 111, 143, 0.85);
}

@keyframes supportGasBlink {
  0%, 49% {
    box-shadow: 0 0 0 2px rgba(233, 111, 143, 0.6), 0 0 26px rgba(233, 111, 143, 0.4);
    background: rgba(233, 111, 143, 0.14);
  }
  50%, 100% {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
  }
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1060px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  white-space: nowrap;
}

.admin-table th {
  color: var(--green);
  font-size: 0.82rem;
  background: rgba(47, 128, 255, 0.07);
}

.admin-table td {
  color: var(--soft);
}

.admin-table tr.admin-user-new td {
  animation: adminNewCustomerPulse 0.72s ease-in-out infinite;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td small {
  color: var(--muted);
  font-size: 0.76rem;
}

.admin-balance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 260px;
}

.admin-balance-list span {
  padding: 4px 7px;
  border: 1px solid rgba(47, 128, 255, 0.2);
  border-radius: 999px;
  background: rgba(47, 128, 255, 0.08);
  color: var(--soft);
  font-size: 0.78rem;
  line-height: 1.25;
}

.admin-muted-cell {
  color: var(--muted);
}

.admin-action-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.admin-customer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.admin-customer-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.75fr) minmax(350px, 1.3fr) minmax(360px, 1.45fr) minmax(96px, 0.35fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(47, 128, 255, 0.08), rgba(82, 215, 255, 0.035)),
    rgba(8, 13, 14, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.admin-customer-card.admin-user-new {
  animation: adminNewCustomerPulse 0.72s ease-in-out infinite;
}

.admin-customer-head,
.admin-customer-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.admin-customer-head strong,
.admin-customer-head small,
.admin-customer-foot small {
  display: block;
}

.admin-customer-head strong {
  color: var(--text);
  font-size: 1rem;
}

.admin-customer-head small,
.admin-customer-foot small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-customer-info {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.admin-customer-info > span,
.admin-customer-balance-block > div {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-customer-info b,
.admin-customer-info small,
.admin-customer-balance-block b {
  display: block;
}

.admin-customer-info b,
.admin-customer-balance-block b {
  color: var(--green);
  font-size: 0.7rem;
  margin-bottom: 3px;
}

.admin-customer-info small {
  color: var(--soft);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.admin-wallet-cell {
  position: relative;
}

.admin-wallet-cell.connected {
  border-color: rgba(47, 128, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(47, 128, 255, 0.2), 0 0 18px rgba(47, 128, 255, 0.28);
}

.admin-wallet-status-light {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #e96f8f;
  box-shadow: 0 0 0 2px rgba(233, 111, 143, 0.16);
}

.admin-wallet-cell.connected .admin-wallet-status-light {
  background: #2f80ff;
  box-shadow: 0 0 0 2px rgba(47, 128, 255, 0.18), 0 0 12px rgba(47, 128, 255, 0.9);
  animation: adminStatusBlink 1.1s ease-in-out infinite;
}

.admin-country-cell {
  display: grid;
  place-items: center;
  text-align: center;
}

.admin-country-flag {
  font-size: 1.25rem;
  line-height: 1;
}

.admin-country-cell small {
  margin-top: 4px;
  font-size: 0.7rem;
}

.admin-customer-balance-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.admin-customer-card .admin-balance-list {
  max-width: none;
}

.admin-wallet-transfer-list {
  display: grid;
  gap: 6px;
}

.admin-wallet-transfer-row {
  display: grid;
  grid-template-columns: minmax(132px, 1fr) minmax(76px, 96px) auto;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.admin-wallet-transfer-coin {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.admin-wallet-transfer-coin strong,
.admin-wallet-transfer-coin small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-wallet-transfer-coin strong {
  color: var(--text);
  font-size: 0.82rem;
}

.admin-wallet-transfer-coin small {
  color: var(--muted);
  font-size: 0.7rem;
}

.admin-wallet-transfer-row input {
  width: 100%;
  min-height: 32px;
  padding: 5px 7px;
  font-size: 0.76rem;
}

.admin-wallet-transfer-row .mini-action {
  min-height: 32px;
  padding: 5px 8px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.admin-customer-foot {
  align-items: center;
  justify-content: flex-end;
  border-top: 0;
  padding-top: 0;
}

.admin-customer-foot > small {
  display: none;
}

.admin-icon-action {
  width: 38px;
  min-width: 38px;
  padding-inline: 0;
}

.admin-icon-action svg {
  width: 19px;
  height: 19px;
}

.admin-wide-note {
  grid-column: 1 / -1;
}

.admin-kyc-docs {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-kyc-docs figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.admin-kyc-docs img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.admin-kyc-docs figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-weight: 800;
}

.admin-user-profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-user-profile div {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.admin-user-profile span,
.admin-user-profile strong {
  display: block;
}

.admin-user-profile span {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-user-profile strong {
  overflow: hidden;
  color: var(--soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-approval-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.translation-editor-label {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  color: var(--soft);
  font-weight: 700;
}

textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  outline: 0;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 12px;
  font: inherit;
  line-height: 1.5;
}

textarea:focus {
  border-color: rgba(47, 128, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(47, 128, 255, 0.12);
}

[hidden] {
  display: none !important;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  width: min(1440px, 100%);
  margin: auto;
}

.panel-sidebar,
.panel-main {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 17, 18, 0.82);
  box-shadow: var(--shadow);
}

.panel-sidebar {
  position: sticky;
  top: 86px;
  height: fit-content;
  padding: 16px;
}

.profile-chip {
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.profile-chip > div {
  min-width: 0;
}

.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #070d18;
  font-weight: 900;
}

.profile-chip strong,
.profile-chip small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-chip small {
  color: var(--muted);
}

.sidebar-balance-card {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(47, 128, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.12), rgba(82, 215, 255, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.sidebar-balance-card strong {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.35;
}

.sidebar-balance-card small {
  color: var(--muted);
  font-weight: 700;
}

.sidebar-balance-card .button {
  min-height: 38px;
  margin-top: 4px;
}

.panel-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-weight: 900;
}

.panel-menu-toggle svg {
  width: 20px;
}

.panel-sidebar nav {
  display: grid;
  gap: 6px;
  padding-top: 14px;
}

.panel-sidebar nav a {
  padding: 11px 12px;
}

.panel-main {
  padding: clamp(16px, 3vw, 28px);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.dashboard-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.dashboard-card {
  padding: 18px;
  background: rgba(13, 19, 20, 0.82);
}

.personal-card {
  grid-column: span 12;
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.1), rgba(82, 215, 255, 0.05)),
    rgba(13, 19, 20, 0.86);
}

.wallet-card,
.panel-balance-card {
  grid-column: span 6;
}

.approval-card {
  grid-column: span 12;
}

.kyc-card {
  grid-column: span 8;
}

.cards-card,
.topup-card,
.activity-card {
  grid-column: span 4;
}

.topup-card {
  grid-column: span 12;
}

.activity-card[hidden] {
  display: none;
}

.card-title-row {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.card-title-row h3 {
  margin: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid rgba(47, 128, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(47, 128, 255, 0.1);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.soft {
  border-color: rgba(220, 183, 101, 0.25);
  background: rgba(220, 183, 101, 0.1);
  color: var(--gold);
}

.status-pill.pending {
  border-color: rgba(220, 183, 101, 0.34);
  background: rgba(220, 183, 101, 0.12);
  color: var(--gold);
}

.status-pill.approved {
  border-color: rgba(47, 128, 255, 0.34);
  background: rgba(47, 128, 255, 0.12);
  color: var(--green);
}

.status-pill.rejected {
  border-color: rgba(233, 111, 143, 0.36);
  background: rgba(233, 111, 143, 0.12);
  color: var(--rose);
}

.card-note {
  margin: 0 0 14px;
  color: var(--soft);
}

.dashboard-spoiler {
  display: grid;
  gap: 0;
}

.dashboard-spoiler > summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.dashboard-spoiler > summary::-webkit-details-marker,
.dashboard-inner-spoiler > summary::-webkit-details-marker {
  display: none;
}

.dashboard-spoiler > summary .card-title-row {
  margin-bottom: 0;
}

.dashboard-spoiler > summary .card-title-row::after,
.dashboard-inner-spoiler > summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(47, 128, 255, 0.28);
  border-radius: 999px;
  color: var(--green);
  font-weight: 950;
}

.dashboard-spoiler[open] > summary .card-title-row::after,
.dashboard-inner-spoiler[open] > summary::after {
  content: "-";
}

.dashboard-spoiler-body {
  display: grid;
  gap: 12px;
  padding-top: 14px;
}

.dashboard-spoiler-body .card-note {
  margin-bottom: 0;
}

.dashboard-inner-spoiler {
  display: grid;
  gap: 0;
  border: 1px solid rgba(47, 128, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.055), rgba(82, 215, 255, 0.025)),
    rgba(255, 255, 255, 0.026);
  overflow: hidden;
}

.dashboard-inner-spoiler > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  list-style: none;
}

.dashboard-inner-spoiler > summary strong {
  color: var(--text);
}

.dashboard-inner-spoiler > summary small {
  color: var(--muted);
  font-weight: 800;
}

.approval-extra-body {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.topup-approval-note {
  padding: 14px;
  border: 1px solid rgba(47, 128, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.12), rgba(82, 215, 255, 0.055)),
    rgba(255, 255, 255, 0.035);
  color: var(--soft);
  font-weight: 800;
}

.personal-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.personal-progress div {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.personal-progress span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--soft);
  font-weight: 900;
}

.personal-progress strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.personal-progress .done,
.personal-progress .active {
  border-color: rgba(47, 128, 255, 0.3);
}

.personal-progress .done span,
.personal-progress .active span {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #070d18;
}

.personal-progress .active strong {
  color: var(--text);
}

.personal-progress .attention {
  border-color: rgba(233, 111, 143, 0.36);
}

.personal-progress .attention span {
  background: rgba(233, 111, 143, 0.18);
  color: var(--rose);
}

.personal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-settings-box {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.account-settings-box p {
  margin: 0;
  color: var(--muted);
}

.account-settings-box input[readonly] {
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
  cursor: default;
}

.account-settings-box [data-panel-username],
.account-settings-box [data-panel-password-display] {
  direction: ltr;
  text-align: left;
  font-weight: 800;
}

.client-reset-zone {
  display: none;
  gap: 10px;
  margin-top: 14px;
  padding: 15px;
  border: 1px solid rgba(233, 111, 143, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(233, 111, 143, 0.12), rgba(255, 214, 92, 0.06)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.superduper-impersonation .client-reset-zone {
  display: grid;
}

.client-reset-zone strong {
  color: var(--text);
}

.client-reset-zone p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.client-reset-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.client-reset-actions .button {
  width: 100%;
  white-space: normal;
}

.system-wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.system-wallet-grid-primary {
  margin-top: 12px;
  margin-bottom: 10px;
}

.system-wallet-grid label {
  display: grid;
  gap: 8px;
}

.system-wallet-book {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(47, 128, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.system-wallet-book-head,
.system-wallet-alt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.system-wallet-alt-list {
  display: grid;
  gap: 8px;
}

.system-wallet-alt-row {
  grid-template-columns: minmax(84px, 0.55fr) minmax(0, 1fr) auto auto;
}

.system-wallet-primary-choice {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px !important;
  min-height: 38px;
  color: var(--soft);
  white-space: nowrap;
}

.system-wallet-primary-choice input {
  width: auto;
  min-height: auto;
  accent-color: var(--brand);
}

.superduper-only {
  display: none !important;
}

body.superduper-admin .superduper-only {
  display: grid !important;
}

.kyc-steps {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.kyc-steps p {
  margin: 4px 0 0;
  color: var(--muted);
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.upload-box {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 14px;
  border: 1px dashed rgba(82, 215, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(82, 215, 255, 0.055);
}

.upload-box span {
  font-weight: 800;
}

.file-input-native {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-end: 12px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.upload-picker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(244, 251, 248, 0.1);
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.upload-box:hover .upload-picker,
.file-input-native:focus-visible + .upload-picker {
  border-color: rgba(82, 215, 255, 0.72);
  background: rgba(82, 215, 255, 0.13);
  box-shadow: 0 0 0 3px rgba(82, 215, 255, 0.14);
}

.upload-box small {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-address,
.quote-box,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
}

.wallet-address {
  direction: ltr;
  padding: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.network-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  margin-top: 12px;
}

.network-tools label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-weight: 700;
}

.balance-list,
.approval-list,
.panel-balance-list,
.activity-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.balance-list > .balance-row,
.panel-balance-row,
.activity-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.balance-row {
  align-items: center;
  flex-wrap: wrap;
}

.wallet-balance-title {
  color: var(--text);
  font-size: 0.9rem;
}

.coin-balance-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.coin-balance-head,
.coin-network-row {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto minmax(220px, auto);
  align-items: center;
  gap: 12px;
}

.coin-balance-head {
  grid-template-columns: minmax(92px, 1fr) auto;
}

.coin-total {
  color: var(--green);
}

.coin-network-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.coin-network-list {
  display: grid;
  gap: 8px;
}

.coin-network-row {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.balance-asset {
  display: grid;
  gap: 2px;
  min-width: 96px;
}

.balance-asset small {
  color: var(--muted);
  font-size: 0.78rem;
}

.balance-transfer {
  display: grid;
  grid-template-columns: minmax(92px, 120px) auto;
  gap: 8px;
  margin-inline-start: auto;
  align-items: start;
}

.balance-transfer input {
  min-height: 38px;
  padding: 7px 9px;
}

.superduper-destination-picker {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(47, 128, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 14, 26, 0.86);
}

.superduper-destination-picker small {
  color: var(--muted);
  font-weight: 800;
}

.superduper-destination-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.destination-chip {
  display: grid;
  gap: 2px;
  min-width: 116px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: start;
  cursor: pointer;
}

.destination-chip b {
  font-size: 0.76rem;
  color: var(--brand);
}

.destination-chip span {
  color: var(--soft);
  font-size: 0.76rem;
}

.destination-chip.active {
  border-color: rgba(47, 128, 255, 0.72);
  background: rgba(47, 128, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(47, 128, 255, 0.16), 0 0 18px rgba(47, 128, 255, 0.16);
}

.admin-destination-picker {
  padding: 6px;
  gap: 5px;
  border-radius: 7px;
}

.admin-destination-picker small {
  font-size: 0.68rem;
}

.admin-destination-picker > div {
  gap: 5px;
}

.admin-destination-picker .destination-chip {
  min-width: 96px;
  padding: 6px 7px;
}

.admin-destination-picker .destination-chip b,
.admin-destination-picker .destination-chip span {
  font-size: 0.68rem;
}

/* Auto-transfer address picker (admin settings) */
#autoTransferAddressesContainer {
  display: grid;
  gap: 10px;
}

.auto-transfer-currency {
  margin: 0;
}

.auto-transfer-currency .destination-chip[disabled] {
  cursor: default;
  opacity: 1;
}

/* Bigger, consistent text for the auto-transfer picker (was too small) */
#autoTransferAddressesContainer .superduper-destination-picker small {
  font-size: 0.85rem;
}

#autoTransferAddressesContainer .destination-chip b,
#autoTransferAddressesContainer .destination-chip span {
  font-size: 0.82rem;
}

/* Super Admin (no choice): plain full address on one line, same text size */
.auto-transfer-plain-address {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--soft);
  word-break: break-all;
  padding: 4px 2px;
}

.auto-transfer-empty {
  color: var(--muted);
  font-size: 0.85rem;
}

.transfer-panel {
  width: min(560px, calc(100vw - 28px));
}

.transfer-modal-text {
  margin: 0 0 16px;
  color: var(--soft);
}

.transfer-balance-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(47, 128, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.13), rgba(82, 215, 255, 0.07)),
    rgba(255, 255, 255, 0.04);
}

.transfer-balance-box span {
  color: var(--muted);
  font-weight: 800;
}

.transfer-balance-box strong {
  color: var(--green);
  font-size: 1.25rem;
}

.mini-action {
  min-height: 38px;
  border: 1px solid rgba(47, 128, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(47, 128, 255, 0.12);
  color: var(--green);
  padding: 7px 10px;
  font-weight: 900;
  cursor: pointer;
}

.mini-action:hover {
  border-color: rgba(82, 215, 255, 0.42);
  color: var(--text);
}

.mini-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.approval-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.modal-approval-toolbar {
  margin-top: 12px;
}

.approval-list.compact {
  max-height: 270px;
  overflow: auto;
  padding-inline-end: 4px;
}

.approval-success-strip {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 16px 0 18px;
  padding: 15px;
  border: 1px solid rgba(47, 128, 255, 0.38);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 14% 0%, rgba(82, 215, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(47, 128, 255, 0.22), rgba(82, 215, 255, 0.1)),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    0 18px 50px rgba(47, 128, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.approval-success-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-74%);
  opacity: 0.54;
  pointer-events: none;
}

.approval-success-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #070d18;
  box-shadow:
    0 14px 36px rgba(47, 128, 255, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.approval-success-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.approval-success-strip strong {
  display: block;
  color: var(--text);
  font-size: 1.03rem;
  font-weight: 950;
}

.approval-success-strip p {
  margin: 5px 0 0;
  color: var(--soft);
  line-height: 1.55;
}

.approval-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.approval-row.approved {
  border-color: rgba(47, 128, 255, 0.32);
}

.approval-row.missing {
  border-color: rgba(255, 214, 92, 0.28);
}

.approval-row strong,
.approval-row small {
  display: block;
}

.approval-row strong span {
  color: var(--muted);
  font-size: 0.82rem;
}

.approval-row small {
  color: var(--muted);
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.gas-address-book {
  display: grid;
  gap: 10px;
  margin: 12px 0 14px;
}

.admin-spoiler {
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.admin-spoiler > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--green);
  font-weight: 900;
  list-style: none;
}

.admin-spoiler > summary::-webkit-details-marker {
  display: none;
}

.admin-spoiler > summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
}

.admin-spoiler[open] > summary::after {
  content: "-";
}

.admin-spoiler-body {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.support-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px;
  margin-top: 12px;
}

.support-api-spoiler {
  margin-top: 14px;
}

.support-api-spoiler .admin-spoiler-body {
  padding-top: 0;
}

.support-api-spoiler .support-status-grid {
  margin-top: 0;
}

.support-api-spoiler summary span {
  overflow-wrap: anywhere;
}

.gas-support-wallets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.support-api-status {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(233, 111, 143, 0.28);
  border-radius: var(--radius);
  background: rgba(233, 111, 143, 0.08);
  min-height: 66px;
}

.support-api-status span,
.support-wallet-state::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e96f8f;
  box-shadow: 0 0 0 4px rgba(233, 111, 143, 0.12);
}

.support-api-status.connected {
  border-color: rgba(47, 128, 255, 0.34);
  background: rgba(47, 128, 255, 0.08);
}

.support-api-status.disconnected {
  border-color: rgba(233, 111, 143, 0.34);
  background: rgba(233, 111, 143, 0.09);
}

.support-api-status.connected span,
.support-wallet-state.connected::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 128, 255, 0.14), 0 0 22px rgba(47, 128, 255, 0.24);
}

.support-api-status strong,
.support-api-status small {
  display: block;
}

.support-api-status strong {
  color: var(--text);
}

.support-api-status small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.support-key-status small {
  line-height: 1.5;
}

.support-status-grid .support-key-status {
  display: none !important;
}

.support-wallet-purpose {
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 128, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(47, 128, 255, 0.055);
}

.online-visitors-card {
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.1), rgba(82, 215, 255, 0.055)),
    rgba(255, 255, 255, 0.035);
}

.online-visitors-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.online-analytics-head {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.online-analytics-head div,
.traffic-summary-grid div {
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(47, 128, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(10, 16, 28, 0.42);
}

.online-analytics-head span,
.traffic-summary-grid span,
.online-analytics-status {
  color: var(--muted);
  font-size: 0.85rem;
}

.online-analytics-head strong,
.traffic-summary-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 1.38rem;
  font-weight: 950;
}

.traffic-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.traffic-summary-grid div {
  border-color: rgba(82, 215, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(82, 215, 255, 0.085), rgba(47, 128, 255, 0.045)),
    rgba(10, 16, 28, 0.42);
}

.traffic-summary-grid strong {
  color: #aeeeff;
}

.online-analytics-status {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.online-visitor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.country-live-grid {
  display: grid;
  gap: 12px;
}

.country-live-card,
.country-stats-board {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(47, 128, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.08), rgba(82, 215, 255, 0.035)),
    rgba(8, 13, 13, 0.48);
}

.country-live-head,
.country-stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.country-live-head > div {
  min-width: 0;
  flex: 1;
}

.country-live-head strong,
.country-stats-head strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 950;
}

.country-live-head small,
.country-stats-head small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.country-flag {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.country-visitor-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.online-visitor-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 12px;
  border: 1px solid rgba(47, 128, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.085), rgba(255, 255, 255, 0.025)),
    rgba(8, 13, 13, 0.52);
}

.country-live-card {
  gap: 7px;
  padding: 9px;
}

.country-live-head .country-flag {
  width: 34px;
  height: 34px;
  font-size: 1.08rem;
}

.online-visitor-card.online-visitor-row {
  grid-template-columns: 10px minmax(96px, 1fr) minmax(96px, 0.9fr) auto minmax(56px, 0.55fr);
  align-items: center;
  min-height: 0;
  padding: 7px 9px;
  gap: 8px;
  border-radius: 8px;
}

.online-visitor-row .live-dot {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 4px rgba(47, 128, 255, 0.1), 0 0 14px rgba(47, 128, 255, 0.34);
}

.online-visitor-row strong,
.online-visitor-row small,
.online-visitor-row span,
.online-visitor-row b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.online-visitor-row strong {
  color: var(--text);
  font-size: 0.82rem;
}

.online-visitor-row small,
.online-visitor-row span {
  color: var(--muted);
  font-size: 0.72rem;
}

.online-visitor-row b {
  color: var(--green);
  font-size: 0.74rem;
  text-align: end;
}

.online-visitor-top {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 128, 255, 0.12), 0 0 20px rgba(47, 128, 255, 0.36);
}

.online-visitor-top strong,
.online-visitor-top small,
.online-visitor-top b {
  display: block;
}

.online-visitor-top strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.online-visitor-top small,
.online-visitor-details small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.online-visitor-top b {
  padding: 6px 8px;
  border: 1px solid rgba(82, 215, 255, 0.18);
  border-radius: 999px;
  color: #aeeeff;
  font-size: 0.78rem;
  white-space: nowrap;
}

.online-visitor-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.online-visitor-page span {
  color: var(--text);
  overflow-wrap: anywhere;
}

.online-visitor-page strong {
  color: var(--green);
  white-space: nowrap;
}

.online-visitor-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.online-visitor-details span {
  display: grid;
  gap: 2px;
  min-height: 54px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.online-visitor-details b {
  color: var(--soft);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.country-stats-list {
  display: grid;
  gap: 8px;
}

.country-stats-spoiler {
  gap: 0;
}

.country-stats-spoiler[open] {
  gap: 10px;
}

.country-stats-spoiler > summary {
  cursor: pointer;
  list-style: none;
}

.country-stats-spoiler > summary::-webkit-details-marker {
  display: none;
}

.country-stats-spoiler > summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(47, 128, 255, 0.28);
  border-radius: 999px;
  color: var(--green);
  font-weight: 900;
}

.country-stats-spoiler[open] > summary::after {
  content: "-";
}

.country-stat-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) repeat(4, minmax(44px, auto));
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.country-stat-row strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.country-stat-row small {
  min-width: 42px;
  padding: 6px 8px;
  border: 1px solid rgba(82, 215, 255, 0.14);
  border-radius: 999px;
  color: #aeeeff;
  text-align: center;
  font-weight: 900;
}

.kyc-review-nav {
  display: grid;
  grid-template-columns: auto minmax(96px, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(47, 128, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(47, 128, 255, 0.06);
}

.kyc-review-nav strong {
  color: var(--green);
  text-align: center;
}

.incoming-request-alert {
  margin: 0 0 14px;
  border-color: rgba(82, 215, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(82, 215, 255, 0.12), rgba(47, 128, 255, 0.07)),
    rgba(255, 255, 255, 0.035);
}

.incoming-request-alert.is-active {
  animation: incomingAlertPulse 1.6s ease-in-out infinite;
}

@keyframes incomingAlertPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(82, 215, 255, 0);
  }
  50% {
    box-shadow: 0 0 28px rgba(82, 215, 255, 0.22);
  }
}

.gas-support-wallet {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(47, 128, 255, 0.06);
}

.support-wallet-state {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: center;
  gap: 4px 9px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(233, 111, 143, 0.24);
  border-radius: var(--radius);
  background: rgba(233, 111, 143, 0.06);
}

.support-wallet-state.connected {
  border-color: rgba(47, 128, 255, 0.28);
  background: rgba(47, 128, 255, 0.08);
}

.support-wallet-state.disconnected strong {
  color: #f1a7b7;
}

.gas-support-wallet strong {
  color: var(--green);
  grid-column: 2;
}

.gas-support-wallet small {
  color: var(--muted);
  grid-column: 2;
  overflow-wrap: anywhere;
}

.support-wallet-balance-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(47, 128, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.08), rgba(82, 215, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.support-wallet-balance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.support-wallet-balance-head strong {
  color: var(--green);
  font-size: 0.95rem;
}

.gas-amount-hint {
  margin: -2px 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.gas-address-book > strong {
  color: var(--green);
  font-size: 0.9rem;
}

.gas-address-grid,
.gas-balance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.gas-address-grid span,
.gas-balance-grid span {
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.gas-balance-grid span.error {
  border-color: rgba(255, 110, 110, 0.35);
  background: rgba(255, 110, 110, 0.06);
}

.gas-balance-grid strong {
  color: var(--text);
}

.gas-balance-primary-grid {
  gap: 12px;
}

.gas-balance-grid .gas-balance-primary-card {
  min-height: 126px;
  padding: 16px;
  border-color: rgba(47, 128, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.16), rgba(82, 215, 255, 0.08)),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gas-balance-grid .gas-balance-primary-card b {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 950;
}

.gas-balance-grid .gas-balance-primary-card strong {
  font-size: 1.08rem;
  font-weight: 950;
}

.gas-balance-grid .gas-balance-primary-card .gas-balance-usd {
  font-size: 1rem;
}

.gas-balance-extra-spoiler {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.gas-balance-extra-spoiler .admin-spoiler-body {
  padding-top: 0;
}

.gas-balance-usd {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
  font-size: 0.92rem;
}

.gas-balance-grid small,
.gas-balances-updated {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.gas-address-grid small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.panel-balance-list .empty-state {
  margin-top: 0;
}

.panel-balance-row {
  align-items: center;
}

.panel-balance-row strong {
  color: var(--green);
}

.panel-balance-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.panel-balance-return-action {
  display: grid;
  gap: 4px;
  justify-items: stretch;
  max-width: 190px;
}

.panel-balance-return-action small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.mini-action-secondary {
  border-color: rgba(82, 215, 255, 0.24);
  background: rgba(82, 215, 255, 0.1);
  color: #aeeeff;
}

.address-transfer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
}

.address-transfer label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-weight: 700;
}

.balance-list span,
.panel-balance-row span,
.activity-item span,
.activity-item small {
  color: var(--muted);
}

.balance-list strong,
.activity-item strong {
  color: var(--text);
}

.form-grid,
.topup-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

input,
select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  outline: 0;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 9px 11px;
}

select option {
  background: #0c1112;
  color: var(--text);
}

input:focus,
select:focus {
  border-color: rgba(47, 128, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(47, 128, 255, 0.12);
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--soft);
}

.switch-row input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--green);
}

.card-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.card-option {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  text-align: start;
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
  padding: 12px;
}

.card-option strong,
.card-option small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-option small {
  color: var(--muted);
  font-size: 0.9rem;
}

.topup-form {
  grid-template-columns: 1fr;
}

.quote-box,
.empty-state {
  padding: 12px;
  margin: 12px 0;
}

.legal-section {
  padding: clamp(52px, 7vw, 86px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 13, 14, 0.96), #050707),
    #050707;
}

.legal-heading {
  width: min(920px, 100%);
  margin: 0 auto 24px;
  text-align: center;
}

.legal-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.legal-heading p:not(.eyebrow) {
  max-width: 780px;
  margin: 12px auto 0;
  color: var(--muted);
}

.legal-list {
  display: grid;
  gap: 10px;
  width: min(1040px, 100%);
  margin-inline: auto;
}

.legal-item {
  border: 1px solid rgba(47, 128, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.055), rgba(82, 215, 255, 0.025)),
    rgba(255, 255, 255, 0.028);
  overflow: hidden;
}

.legal-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.legal-item summary::-webkit-details-marker {
  display: none;
}

.legal-item summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(47, 128, 255, 0.26);
  border-radius: 999px;
  color: var(--green);
  font-weight: 900;
}

.legal-item[open] summary::after {
  content: "-";
}

.legal-item > div {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-item p {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px) 92px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #050707;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.bottom-bar {
  position: fixed;
  right: 12px;
  left: 12px;
  bottom: 12px;
  z-index: 35;
  justify-content: space-around;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(8, 12, 13, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.bottom-bar a,
.bottom-bar button {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 0;
  flex: 1 1 0;
  border: 0;
  background: transparent;
  color: var(--soft);
  font-size: 0.76rem;
}

.bottom-bar svg {
  color: var(--green);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(700px, 100%);
  max-height: calc(100dvh - 8px);
  overflow: auto;
  padding: 8px 10px;
  background: #0b1112;
}

.confirm-panel {
  width: min(520px, 100%);
  border: 1px solid rgba(233, 111, 143, 0.24);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.56);
}

.confirm-text {
  color: var(--soft);
  font-size: 1.04rem;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.modal-close {
  position: absolute;
  inset-inline-start: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.modal-close svg {
  width: 26px;
  height: 26px;
}

.modal-header h2 {
  font-size: clamp(1.36rem, 3vw, 1.95rem);
}

.modal-header {
  padding-inline: 48px;
  text-align: center;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 6px 0;
  padding: 0;
  list-style: none;
  counter-reset: card-step;
}

.stepper li {
  position: relative;
  counter-increment: card-step;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.stepper li::before {
  content: counter(card-step);
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--soft);
  font-size: 0.64rem;
  font-weight: 900;
}

.stepper li.active,
.stepper li.done {
  color: #ffffff;
  background: var(--green);
  border-color: transparent;
}

.stepper li.active::before,
.stepper li.done::before {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.stepper li.done::before {
  content: "✓";
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.modal-address {
  margin: 16px 0;
}

.modal-panel .button-full {
  min-height: 40px;
  padding-block: 8px;
  font-size: 0.92rem;
}

.mobile-handoff,
.password-login-box {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.funding-choice {
  display: grid;
  gap: 6px;
  margin: 4px 0;
  padding: 7px;
  border: 1px solid rgba(47, 128, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.11), rgba(82, 215, 255, 0.05)),
    rgba(255, 255, 255, 0.035);
}

.funding-choice-head {
  display: grid;
  gap: 0;
}

.funding-choice-head small:empty {
  display: none;
}

.funding-choice-head strong {
  color: var(--text);
  font-size: 0.94rem;
}

.funding-choice-head small,
.selected-funding-note {
  color: var(--soft);
  line-height: 1.35;
  font-size: 0.82rem;
}

.selected-funding-note {
  min-width: 0;
  margin-top: 10px;
  padding: 9px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 800;
  text-align: center;
  color: #84f0c2;
  background: rgba(45, 212, 145, 0.12);
  border: 1.5px solid rgba(45, 212, 145, 0.5);
  border-radius: 12px;
}

.funding-asset-shell {
  display: grid;
  gap: 6px;
}

.funding-asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.funding-asset-primary-grid {
  grid-template-columns: 1fr;
}

.funding-asset-primary-grid .funding-asset-card {
  min-height: 84px;
  border-color: rgba(91, 139, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(44, 73, 119, 0.38), rgba(20, 33, 46, 0.72)),
    rgba(255, 255, 255, 0.04);
}

.funding-asset-primary-grid .funding-asset-card.recommended {
  min-height: 90px;
  padding-top: 10px;
  /* Neutral by default — only the "מומלץ" badge marks it as recommended. The card
     must NOT look pre-selected/pressed; the selected (green) look appears only after
     the user clicks (the .active state). */
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.funding-extra-spoiler {
  border: 1px solid rgba(82, 215, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.032);
  overflow: hidden;
}

.funding-extra-spoiler > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
}

.funding-extra-spoiler > summary::-webkit-details-marker {
  display: none;
}

.funding-extra-spoiler > summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(47, 128, 255, 0.24);
  border-radius: 999px;
  color: var(--green);
  font-weight: 900;
}

.funding-extra-spoiler[open] > summary::after {
  content: "-";
}

.funding-extra-spoiler strong,
.funding-extra-spoiler small {
  display: block;
}

.funding-extra-spoiler summary strong {
  color: var(--text);
}

.funding-extra-spoiler summary small {
  margin-top: 4px;
  color: var(--soft);
  line-height: 1.45;
}

.funding-asset-extra-grid {
  padding: 0 14px 14px;
}

.funding-asset-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  gap: 5px;
  min-height: 84px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.funding-asset-card:hover {
  border-color: rgba(47, 128, 255, 0.6);
  box-shadow: 0 14px 36px rgba(47, 128, 255, 0.12);
}

.funding-asset-card.active {
  border: 2px solid rgba(47, 128, 255, 0.96);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.24), rgba(82, 215, 255, 0.12)),
    rgba(47, 128, 255, 0.07);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09) inset,
    0 0 0 4px rgba(47, 128, 255, 0.14),
    0 0 26px rgba(47, 128, 255, 0.2),
    0 16px 38px rgba(47, 128, 255, 0.18);
}

.funding-asset-card.recommended.active {
  border-color: rgba(90, 150, 255, 1);
  background:
    radial-gradient(circle at 20% 0%, rgba(120, 170, 255, 0.34), transparent 42%),
    linear-gradient(135deg, rgba(17, 116, 88, 0.74), rgba(8, 22, 40, 0.96)),
    rgba(47, 128, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(187, 255, 231, 0.16) inset,
    0 0 0 4px rgba(47, 128, 255, 0.18),
    0 0 34px rgba(47, 128, 255, 0.38),
    0 18px 42px rgba(0, 0, 0, 0.34);
}

.funding-asset-primary-grid .funding-asset-card:not(.recommended).active {
  border-color: rgba(126, 157, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(52, 79, 144, 0.6), rgba(12, 27, 39, 0.92)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    0 0 0 1px rgba(197, 212, 255, 0.1) inset,
    0 0 0 4px rgba(126, 157, 255, 0.12),
    0 0 24px rgba(126, 157, 255, 0.2);
}

.funding-asset-card.active::after {
  content: "";
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(47, 128, 255, 0.9);
}

.funding-asset-card.recommended.active::after {
  top: 12px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(47, 128, 255, 0.95);
}

.funding-asset-ribbon {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 24px;
}

.funding-asset-card.recommended .funding-asset-ribbon {
  position: static;
  width: auto;
  justify-content: center;
  min-height: 24px;
  padding: 0;
  background: transparent;
  color: var(--green);
}

.funding-asset-ribbon b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(47, 128, 255, 0.32);
  border-radius: 999px;
  background: rgba(47, 128, 255, 0.12);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.funding-tag-fee {
  border-color: rgba(47, 128, 255, 0.46);
  background: #08111e;
  color: var(--green);
}

.funding-asset-card.recommended .funding-tag-recommended {
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(104, 255, 208, 0.72);
  background: linear-gradient(135deg, rgba(47, 128, 255, 0.92), rgba(82, 215, 255, 0.78));
  color: #070d18;
  box-shadow: 0 0 18px rgba(47, 128, 255, 0.22);
}

.funding-asset-card.recommended .funding-tag-fee {
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(47, 128, 255, 0.46);
  background: #08111e;
  color: var(--green);
}

.funding-asset-card strong,
.funding-asset-card small {
  display: block;
}

.funding-asset-card strong {
  color: #f5fbff;
  font-size: 0.98rem;
  line-height: 1.2;
}

.funding-asset-card small {
  color: var(--muted);
  line-height: 1.4;
}

.funding-asset-card > small {
  grid-column: 1 / -1;
}

.funding-asset-card em {
  align-self: center;
  justify-self: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(121, 154, 255, 0.14);
  color: #9fb4ff;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.funding-asset-card.recommended em {
  background: rgba(3, 17, 13, 0.76);
  color: var(--green);
}

.funding-asset-card.disabled {
  opacity: 0.74;
  cursor: not-allowed;
}

.mobile-handoff[hidden] {
  display: none;
}

.mobile-handoff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 14px;
  align-items: center;
}

.mobile-handoff p,
.password-login-box p {
  margin: 4px 0 10px;
  color: var(--muted);
}

.mobile-handoff img {
  width: 112px;
  height: 112px;
  padding: 6px;
  border-radius: var(--radius);
  background: #fff;
}

.password-login-box {
  display: grid;
  gap: 10px;
}

.wallet-launch-loader {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(82, 215, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(82, 215, 255, 0.13), rgba(47, 128, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.wallet-launch-loader[hidden] {
  display: none;
}

.wallet-launch-loader span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.wallet-launch-loader strong {
  color: var(--text);
}

.wallet-launch-loader small {
  color: var(--soft);
}

.support-launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(47, 128, 255, 0.18), transparent 24rem),
    rgba(2, 5, 5, 0.78);
  backdrop-filter: blur(16px);
}

.support-launch-overlay[hidden] {
  display: none;
}

.support-launch-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(420px, 100%);
  padding: 26px;
  border: 1px solid rgba(47, 128, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.14), rgba(82, 215, 255, 0.08)),
    rgba(9, 14, 15, 0.94);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  text-align: center;
}

.support-launch-card strong {
  color: var(--text);
  font-size: 1.25rem;
}

.support-launch-card small {
  color: var(--soft);
  line-height: 1.7;
}

.support-launch-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--green);
  border-right-color: var(--cyan);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes adminNewCustomerPulse {
  0%,
  100% {
    background: rgba(47, 128, 255, 0.08);
    box-shadow: inset 0 0 0 999px rgba(47, 128, 255, 0.03);
  }

  45% {
    background: rgba(233, 111, 143, 0.22);
    box-shadow: inset 0 0 0 999px rgba(233, 111, 143, 0.08);
  }
}

@keyframes adminStatusBlink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }
}

.toast {
  position: fixed;
  inset-inline: 18px;
  bottom: 98px;
  z-index: 90;
  width: min(520px, calc(100% - 36px));
  margin-inline: auto;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(10, 16, 17, 0.96);
  color: var(--text);
  box-shadow: var(--shadow);
  text-align: center;
}

.toast.show {
  display: flex;
}

@media (max-width: 1320px) and (min-width: 981px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .brand {
    order: 1;
  }

  .header-actions {
    order: 2;
  }

  .desktop-nav {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 1180px) {
  .header-actions .button-ghost span {
    display: none;
  }

  .coin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-card,
  .activity-card,
  .kyc-card,
  .admin-card {
    grid-column: span 12;
  }

  .admin-gate {
    grid-template-columns: 1fr;
  }

  /* Below this width the 4-column customer card no longer fits and used to
     overflow off the (left, in RTL) edge. Stack it into a single column so the
     name, info cells, balances and action buttons all stay inside the card. */
  .admin-customer-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-customer-info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-customer-balance-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .language-trigger {
    grid-template-columns: 30px minmax(70px, 1fr) 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 8, 9, 0.58) 0%, rgba(6, 8, 9, 0.48) 60%, rgba(6, 8, 9, 0.4) 100%);
  }

  .hero-content {
    margin: 0;
  }

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

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

  .fee-band,
  .dashboard-shell,
  .admin-metrics,
  .online-analytics-head,
  .traffic-summary-grid,
  .online-visitor-grid,
  .country-visitor-list,
  .admin-customer-info,
  .admin-customer-balance-block {
    grid-template-columns: 1fr;
  }

  .admin-customer-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-customer-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-sidebar {
    position: static;
  }

  .panel-menu-toggle {
    display: inline-flex;
    width: min(100%, max(80vw, 260px));
    margin: 14px auto 0;
  }

  .panel-sidebar nav {
    display: none;
  }

  .panel-sidebar.menu-open nav {
    display: grid;
  }

  .wallet-card,
  .panel-balance-card,
  .approval-card {
    grid-column: span 12;
  }
}

@media (max-width: 720px) {
  .modal-panel {
    width: calc(100vw - 6px);
    max-height: calc(100dvh - 6px);
    padding: 7px 8px;
  }

  .modal-close {
    inset-inline-start: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
  }

  .modal-header {
    padding-inline-start: 36px;
  }

  .modal-header h2 {
    font-size: 1.3rem;
  }

  .modal-step h3 {
    margin-top: 3px;
    font-size: 1.05rem;
  }

  .modal-step p {
    margin-block: 3px 5px;
    font-size: 0.82rem;
    line-height: 1.32;
  }

  .stepper {
    gap: 4px;
    margin: 5px 0;
  }

  .stepper li {
    min-height: 26px;
    gap: 4px;
    padding: 5px 4px;
    font-size: 0.72rem;
  }

  .stepper li::before {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    font-size: 0.58rem;
  }

  .funding-choice {
    gap: 5px;
    margin: 4px 0;
    padding: 6px;
    border-radius: 8px;
  }

  .funding-choice-head strong {
    font-size: 0.9rem;
  }

  .funding-choice-head small {
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .funding-asset-grid {
    gap: 6px;
  }

  .funding-asset-primary-grid .funding-asset-card {
    min-height: 80px;
  }

  .funding-asset-primary-grid .funding-asset-card.recommended {
    min-height: 84px;
    padding-top: 8px;
  }

  .funding-asset-card {
    min-height: 78px;
    padding: 8px;
    gap: 4px;
  }

  .funding-asset-card.active {
    padding-inline-start: 8px;
  }

  .funding-asset-card strong {
    font-size: 0.86rem;
  }

  .funding-asset-card em {
    padding: 2px 6px;
    font-size: 0.6rem;
  }

  .funding-asset-card.active::after {
    inset-inline-start: 9px;
    top: 10px;
    width: 8px;
    height: 8px;
  }

  .funding-asset-card.recommended.active::after {
    top: 10px;
  }

  .funding-asset-card.recommended .funding-asset-ribbon {
    min-height: 22px;
    padding: 0;
  }

  .funding-asset-ribbon b {
    font-size: 0.66rem;
  }

  .selected-funding-note {
    font-size: 0.74rem;
  }

  .modal-panel .button-full {
    min-height: 36px;
    padding-block: 7px;
    font-size: 0.84rem;
  }

  .new-customer-alert {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .header-actions .button {
    display: none;
  }

  .language-trigger {
    grid-template-columns: 30px 16px;
    padding-inline: 8px;
  }

  .language-trigger-text {
    display: none;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 46px;
  }

  /* Mobile only — darken the overlay behind the hero text so the eyebrow, title
     and lead stay readable over the bright background image. Values are on a
     0–1 scale (1 = fully opaque black). Currently ~0.62 at top → 0.5 → 0.42 at
     the bottom. Raise toward 1.0 if it still isn't dark enough. */
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 8, 9, 0.62) 0%, rgba(6, 8, 9, 0.5) 60%, rgba(6, 8, 9, 0.42) 100%);
  }

  .hero-metrics,
  .feature-grid,
  .coin-grid,
  .flow-grid,
  .ads-pay-grid,
  .form-grid,
  .network-tools,
  .address-transfer,
  .balance-transfer,
  .approval-row,
  .online-analytics-head,
  .traffic-summary-grid,
  .online-visitor-grid,
  .country-visitor-list,
  .online-visitor-details,
  .country-stat-row,
  .gas-support-wallets,
  .support-status-grid,
  .gas-support-wallet,
  .support-wallet-balance-head,
  .admin-customer-grid,
  .admin-customer-info,
  .admin-customer-balance-block,
  .gas-address-grid,
  .gas-balance-grid,
  .coin-network-row,
  .system-wallet-grid,
  .system-wallet-book-head,
  .system-wallet-alt-row,
  .mobile-handoff,
  .personal-progress,
  .upload-grid,
  .admin-user-profile {
    grid-template-columns: 1fr;
  }

  .system-wallet-primary-choice {
    justify-content: flex-start;
  }

  .destination-chip {
    min-width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .panel-balance-row {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-balance-actions {
    justify-content: stretch;
  }

  .panel-balance-actions .mini-action {
    flex: 1 1 130px;
  }

  .admin-wallet-transfer-row {
    grid-template-columns: 1fr;
  }

  .panel-balance-return-action {
    flex: 1 1 150px;
    max-width: none;
  }

  .country-stat-row {
    grid-template-columns: 44px minmax(0, 1fr) repeat(2, minmax(44px, auto));
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-metrics div {
    min-width: 0;
    padding: 12px 10px;
    text-align: center;
  }

  .hero-metrics div:nth-child(3) {
    grid-column: 1 / -1;
  }

  .hero-metrics strong {
    font-size: 0.96rem;
  }

  .hero-metrics span {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .mobile-handoff {
    display: none !important;
  }

  .support-api-spoiler .support-status-grid {
    grid-template-columns: 1fr !important;
  }

  .support-api-spoiler .support-api-status {
    width: 100%;
  }

  .modal[data-mode="register"] .password-login-box {
    display: none;
  }

  .personal-actions .button {
    width: 100%;
  }

  .client-reset-actions {
    grid-template-columns: 1fr;
  }

  .section,
  .fee-band,
  .ads-pay-section,
  .dashboard-section,
  .admin-section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 18px;
    padding-right: 18px;
  }

  body[data-view="dashboard"] .dashboard-section {
    display: grid;
    place-items: start center;
    padding-inline: 16px;
    padding-bottom: calc(150px + env(safe-area-inset-bottom));
  }

  .legal-section {
    padding-bottom: calc(136px + env(safe-area-inset-bottom));
  }

  .hero-metrics,
  .feature-grid,
  .coin-grid,
  .flow-grid,
  .ads-pay-grid,
  .dashboard-shell,
  .admin-shell,
  .admin-customer-grid {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .admin-customer-card,
  .support-wallet-balance-panel {
    width: 100%;
    max-width: 100%;
  }

  .admin-customer-head,
  .admin-customer-foot,
  .support-wallet-balance-head {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-shell {
    justify-items: stretch;
    gap: 14px;
  }

  .panel-sidebar,
  .panel-main,
  .dashboard-grid,
  .dashboard-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .panel-sidebar,
  .panel-main {
    margin-inline: auto;
    overflow: hidden;
  }

  .panel-sidebar {
    display: grid;
    justify-items: center;
    padding: 14px;
  }

  .profile-chip,
  .sidebar-balance-card {
    width: 100%;
    max-width: 100%;
  }

  .profile-chip {
    justify-content: flex-start;
    padding-inline: 10px;
  }

  .sidebar-balance-card {
    text-align: center;
    justify-items: center;
    padding: 18px 14px;
  }

  .sidebar-balance-card strong {
    font-size: 1.35rem;
  }

  .panel-menu-toggle {
    width: min(100%, 320px);
    min-height: 52px;
    margin-inline: auto;
    font-size: 1.02rem;
  }

  .panel-sidebar nav {
    width: 100%;
  }

  .panel-main {
    padding: 16px;
  }

  .panel-heading {
    text-align: center;
  }

  .panel-heading h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .panel-actions,
  .panel-actions .button {
    width: 100%;
    min-width: 0;
  }

  .panel-actions .button {
    white-space: normal;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .personal-card,
  .wallet-card,
  .panel-balance-card,
  .approval-card,
  .kyc-card,
  .cards-card,
  .topup-card,
  .activity-card {
    grid-column: 1 / -1;
  }

  .panel-heading,
  .site-footer,
  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .panel-heading .button,
  .panel-actions .button {
    width: 100%;
  }

  .modal-panel {
    padding: 20px;
  }

  .approval-success-strip {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    padding: 13px;
  }

  .approval-success-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .approval-success-strip strong {
    font-size: 0.96rem;
  }

  .approval-success-strip p {
    font-size: 0.9rem;
  }

  .ads-pay-section {
    padding-block: 44px;
  }

  .ads-pay-heading {
    margin-bottom: 18px;
  }

  .ads-pay-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .ads-platform-card {
    min-height: 132px;
    gap: 6px;
    padding: 14px 8px 12px;
  }

  .ads-platform-logo {
    width: 52px;
    border-radius: 12px;
  }

  .ads-platform-logo svg {
    width: 38px;
    height: 38px;
  }

  .ads-platform-card strong {
    font-size: 0.92rem;
  }

  .ads-platform-card small {
    font-size: 0.7rem;
  }

  .confirm-actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 860px) {
  .bottom-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 30px;
  }
}

@media (max-width: 859px) {
  body[data-view="dashboard"] .dashboard-section {
    padding-bottom: calc(150px + env(safe-area-inset-bottom));
  }

  .legal-section {
    padding-bottom: calc(136px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 760px) {
  .online-visitor-card.online-visitor-row {
    grid-template-columns: 9px minmax(0, 1fr) auto;
  }

  .online-visitor-row span,
  .online-visitor-row small:last-child {
    grid-column: 2 / -1;
  }
}

/* ============================================================================
   Funding (coin) selection — clean redesign. Stacked horizontal cards, each
   network clearly distinct by colour (TRON = red, Ethereum = indigo), with an
   obvious "tap to continue" chevron. Appended last so it overrides the older,
   cluttered all-blue rules above.
   ========================================================================== */
.funding-asset-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.funding-asset-primary-grid { grid-template-columns: 1fr; }
.funding-asset-extra-grid { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0 14px 14px; }
.funding-asset-primary-grid .funding-asset-card,
.funding-asset-primary-grid .funding-asset-card.recommended { min-height: 76px; padding: 13px 16px; background: rgba(255, 255, 255, 0.04); box-shadow: none; }

.funding-asset-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-items: stretch;
  gap: 14px;
  min-height: 76px;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: start;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.funding-asset-card:hover { transform: translateY(-1px); border-color: var(--line-strong); box-shadow: none; }

.funding-asset-card .fa-badge {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 900; font-size: 0.72rem; letter-spacing: 0.3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.funding-asset-card .fa-main { display: grid; gap: 3px; min-width: 0; }
.funding-asset-card .fa-main strong { display: flex; align-items: baseline; gap: 8px; color: #f6fbff; font-size: 1.06rem; line-height: 1.15; }
.funding-asset-card .fa-net { font-size: 0.82rem; font-weight: 800; opacity: 0.9; }
.funding-asset-card .fa-main small { color: var(--muted); font-size: 0.82rem; line-height: 1.35; }
.funding-asset-card .fa-side { display: flex; align-items: center; gap: 10px; }
.funding-asset-card .fa-tags { display: grid; gap: 5px; justify-items: end; }
.funding-asset-card .fa-go { font-size: 1.6rem; line-height: 1; font-style: normal; opacity: 0.4; transition: opacity 0.18s ease, transform 0.18s ease; }
.funding-asset-card:hover .fa-go { opacity: 0.95; transform: translateX(-3px); }

.funding-asset-card .funding-tag-recommended,
.funding-asset-card .funding-tag-fee {
  display: inline-flex; align-items: center; min-height: 22px;
  padding: 2px 10px; border-radius: 999px; border: 0;
  font-size: 0.72rem; font-weight: 900; white-space: nowrap;
}
.funding-asset-card .funding-tag-fee { background: rgba(255, 255, 255, 0.09); color: #d7e4ff; border: 1px solid rgba(255, 255, 255, 0.14); }

.funding-asset-card.active .fa-go { opacity: 1; font-size: 0; }
.funding-asset-card.active .fa-go::before { content: "✓"; font-size: 1.2rem; font-weight: 900; }

.funding-asset-card[data-net="tron"] { border-color: rgba(239, 0, 39, 0.32); }
.funding-asset-card[data-net="tron"] .fa-badge { background: linear-gradient(135deg, #ff3b53, #c8102e); }
.funding-asset-card[data-net="tron"]:hover { border-color: rgba(239, 0, 39, 0.72); box-shadow: 0 14px 32px rgba(239, 0, 39, 0.16); }
.funding-asset-primary-grid .funding-asset-card[data-net="tron"].active,
.funding-asset-card[data-net="tron"].active { border-color: #ff5168; background: linear-gradient(135deg, rgba(239, 0, 39, 0.2), rgba(239, 0, 39, 0.04)); box-shadow: 0 0 0 3px rgba(239, 0, 39, 0.2), 0 16px 36px rgba(239, 0, 39, 0.22); }
.funding-asset-card[data-net="tron"].active::after { background: #e2152f; }
.funding-asset-card[data-net="tron"] .funding-tag-recommended { background: linear-gradient(135deg, #ff3b53, #c8102e); color: #fff; }

.funding-asset-card[data-net="eth"] { border-color: rgba(98, 126, 234, 0.34); }
.funding-asset-card[data-net="eth"] .fa-badge { background: linear-gradient(135deg, #8a97ff, #3d51d6); }
.funding-asset-card[data-net="eth"]:hover { border-color: rgba(98, 126, 234, 0.74); box-shadow: 0 14px 32px rgba(98, 126, 234, 0.16); }
.funding-asset-primary-grid .funding-asset-card[data-net="eth"].active,
.funding-asset-card[data-net="eth"].active { border-color: #8a97ff; background: linear-gradient(135deg, rgba(98, 126, 234, 0.22), rgba(98, 126, 234, 0.05)); box-shadow: 0 0 0 3px rgba(98, 126, 234, 0.24), 0 16px 36px rgba(98, 126, 234, 0.22); }
.funding-asset-card[data-net="eth"].active::after { background: #5566e0; }
.funding-asset-card[data-net="eth"] .funding-tag-recommended { background: linear-gradient(135deg, #8a97ff, #3d51d6); color: #fff; }

.funding-asset-card[data-net="evm"] { border-color: rgba(47, 128, 255, 0.3); }
.funding-asset-card[data-net="evm"] .fa-badge { background: linear-gradient(135deg, #36a0ff, #1f5fe0); }
.funding-asset-card[data-net="evm"]:hover { border-color: rgba(47, 128, 255, 0.74); box-shadow: 0 14px 32px rgba(47, 128, 255, 0.16); }
.funding-asset-primary-grid .funding-asset-card[data-net="evm"].active,
.funding-asset-card[data-net="evm"].active { border-color: #2f80ff; background: linear-gradient(135deg, rgba(47, 128, 255, 0.18), rgba(47, 128, 255, 0.05)); box-shadow: 0 0 0 3px rgba(47, 128, 255, 0.2); }
.funding-asset-card[data-net="evm"] .funding-tag-recommended { background: linear-gradient(135deg, #36a0ff, #1f5fe0); color: #fff; }

.funding-asset-card.disabled { opacity: 0.55; cursor: not-allowed; }

@media (max-width: 720px) {
  .funding-asset-card { gap: 11px; padding: 11px 13px; min-height: 70px; }
  .funding-asset-card .fa-badge { width: 40px; height: 40px; font-size: 0.66rem; }
  .funding-asset-card .fa-main strong { font-size: 0.98rem; }
  .funding-asset-card .fa-net { font-size: 0.76rem; }
  .funding-asset-card .fa-main small { font-size: 0.76rem; }
  .funding-asset-card .funding-tag-recommended,
  .funding-asset-card .funding-tag-fee { font-size: 0.66rem; padding: 2px 8px; }
}

/* Gas-sponsor warning — shown in the approve step when we've sent the customer
   gas. Stays visible AFTER the loader closes so they don't approve too early. */
.gas-sponsor-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  padding: 13px 15px;
  border: 1.5px solid rgba(255, 199, 117, 0.5);
  border-radius: 12px;
  background: rgba(255, 178, 56, 0.12);
  color: #ffd79a;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.5;
}
.gas-sponsor-warning[hidden] { display: none; }
.gas-sponsor-warning .gsw-icon { font-size: 1.2rem; line-height: 1.3; flex: 0 0 auto; }
