: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: #25d695;
  --green-2: #0aa76f;
  --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(37, 214, 149, 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[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(37, 214, 149, 0.38);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(37, 214, 149, 0.18), rgba(82, 215, 255, 0.08));
}

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

.brand-mark svg path + path {
  fill: #06110d;
}

.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(37, 214, 149, 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;
}

.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(37, 214, 149, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 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(37, 214, 149, 0.24);
  background: rgba(37, 214, 149, 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 {
  background: linear-gradient(135deg, var(--green), #1fbda6 48%, var(--cyan));
  color: #04100d;
  box-shadow: 0 16px 40px rgba(37, 214, 149, 0.2);
}

.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;
  background:
    linear-gradient(90deg, rgba(6, 8, 9, 0.18), rgb(6 8 9 / 0%) 52%, rgb(6 8 9 / 0%)),
    linear-gradient(180deg, rgba(6, 8, 9, 0.2), rgb(6 8 9 / 4%));
}

.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 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;
}

.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(37, 214, 149, 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: 1.03rem;
}

.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(37, 214, 149, 0.12);
  border: 1px solid rgba(37, 214, 149, 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: 14px 0 6px;
  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(280px, 400px) minmax(280px, 430px) minmax(280px, 400px);
  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(37, 214, 149, 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;
  width: min(400px, 100%);
}

.fee-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.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);
}

.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: 3;
}

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

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

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

.settings-card {
  order: 7;
}

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

.translation-card {
  order: 8;
}

.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(37, 214, 149, 0.18);
  border-radius: var(--radius);
  background: rgba(37, 214, 149, 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(37, 214, 149, 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;
}

.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(37, 214, 149, 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(37, 214, 149, 0.2);
  border-radius: 999px;
  background: rgba(37, 214, 149, 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;
}

.admin-customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.admin-customer-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(37, 214, 149, 0.08), rgba(82, 215, 255, 0.035)),
    rgba(8, 13, 14, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.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: 12px;
}

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

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

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

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

.admin-customer-info span,
.admin-customer-balance-block > div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  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.78rem;
  margin-bottom: 4px;
}

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

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

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

.admin-customer-foot {
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.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(37, 214, 149, 0.68);
  box-shadow: 0 0 0 3px rgba(37, 214, 149, 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: #03110d;
  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(37, 214, 149, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 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(37, 214, 149, 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(37, 214, 149, 0.22);
  border-radius: var(--radius);
  background: rgba(37, 214, 149, 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(37, 214, 149, 0.34);
  background: rgba(37, 214, 149, 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);
}

.topup-approval-note {
  padding: 14px;
  border: 1px solid rgba(37, 214, 149, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 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(37, 214, 149, 0.3);
}

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

.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: grid;
  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);
}

.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 label {
  display: grid;
  gap: 8px;
}

.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 {
  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;
}

.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;
}

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

.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(37, 214, 149, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 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(37, 214, 149, 0.28);
  border-radius: var(--radius);
  background: rgba(37, 214, 149, 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(37, 214, 149, 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(37, 214, 149, 0.22), rgba(82, 215, 255, 0.1)),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    0 18px 50px rgba(37, 214, 149, 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: #03110d;
  box-shadow:
    0 14px 36px rgba(37, 214, 149, 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(37, 214, 149, 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(37, 214, 149, 0.34);
  background: rgba(37, 214, 149, 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(37, 214, 149, 0.14), 0 0 22px rgba(37, 214, 149, 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(37, 214, 149, 0.16);
  border-radius: var(--radius);
  background: rgba(37, 214, 149, 0.055);
}

.online-visitors-card {
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 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(37, 214, 149, 0.18);
  border-radius: var(--radius);
  background: rgba(10, 18, 17, 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(37, 214, 149, 0.045)),
    rgba(10, 18, 17, 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(37, 214, 149, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 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: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.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(37, 214, 149, 0.12), 0 0 20px rgba(37, 214, 149, 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-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(37, 214, 149, 0.16);
  border-radius: var(--radius);
  background: rgba(37, 214, 149, 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(37, 214, 149, 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(37, 214, 149, 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(37, 214, 149, 0.28);
  background: rgba(37, 214, 149, 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(37, 214, 149, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 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(37, 214, 149, 0.34);
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 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(37, 214, 149, 0.68);
  box-shadow: 0 0 0 3px rgba(37, 214, 149, 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;
}

.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: 18px;
}

.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(620px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px;
  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: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.modal-close svg {
  width: 20px;
}

.modal-header h2 {
  font-size: clamp(1.7rem, 4vw, 2.45rem);
}

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

.stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.stepper li {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

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

.modal-step {
  display: none;
}

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

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

.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: 12px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(37, 214, 149, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 0.11), rgba(82, 215, 255, 0.05)),
    rgba(255, 255, 255, 0.035);
}

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

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

.funding-choice-head small,
.selected-funding-note {
  color: var(--soft);
  line-height: 1.6;
}

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

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

.funding-asset-primary-grid .funding-asset-card {
  min-height: 104px;
  border-color: rgba(37, 214, 149, 0.34);
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 0.16), rgba(82, 215, 255, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.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(37, 214, 149, 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: minmax(0, 1fr) auto;
  gap: 5px 10px;
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: start;
  cursor: pointer;
  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(37, 214, 149, 0.6);
  box-shadow: 0 14px 36px rgba(37, 214, 149, 0.12);
}

.funding-asset-card.active {
  padding-inline-start: 30px;
  border: 2px solid rgba(37, 214, 149, 0.96);
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 0.24), rgba(82, 215, 255, 0.12)),
    rgba(37, 214, 149, 0.07);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09) inset,
    0 0 0 4px rgba(37, 214, 149, 0.12),
    0 18px 46px rgba(37, 214, 149, 0.22);
}

.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(37, 214, 149, 0.9);
}

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

.funding-asset-card strong {
  color: var(--green);
  font-size: 1.05rem;
}

.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: start;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(37, 214, 149, 0.13);
  color: var(--green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.funding-asset-card.disabled {
  opacity: 0.48;
  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(37, 214, 149, 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(37, 214, 149, 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(37, 214, 149, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 214, 149, 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(37, 214, 149, 0.08);
    box-shadow: inset 0 0 0 999px rgba(37, 214, 149, 0.03);
  }

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

.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;
  }
}

@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(90deg, rgba(6, 8, 9, 0.18), rgb(6 8 9 / 0%) 52%, rgb(6 8 9 / 0%)),
      linear-gradient(180deg, rgba(6, 8, 9, 0.2), rgb(6 8 9 / 4%));
  }

  .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;
  }

  .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) {
  .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;
  }

  .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,
  .funding-asset-grid,
  .system-wallet-grid,
  .mobile-handoff,
  .personal-progress,
  .upload-grid,
  .admin-user-profile,
  .stepper {
    grid-template-columns: 1fr;
  }

  .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;
  }

  .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: 112px;
  }

  .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;
  }
}
