/* =====================================================================
   Tokens: light workspace, deep-indigo sidebar, violet brand, gold rank
   ===================================================================== */
:root {
  --bg: #f4f5fb;
  --surface: #ffffff;
  --surface-2: #f8f9fd;
  --hover: #f1f2f9;
  --ink: #0f1024;
  --text: #2a2d45;
  --muted: #6b6f8a;
  --faint: #a0a4bd;
  --border: #e7e8f3;
  --border-2: #d8daea;

  --brand: #6047ec;
  --brand-2: #8b5cf6;
  --brand-soft: #efecff;
  --brand-ink: #3d2bb5;
  --grad: linear-gradient(135deg, #5b47f5 0%, #8b5cf6 55%, #c084fc 100%);
  --grad-hero: radial-gradient(90% 120% at 100% 0%, rgba(236, 72, 153, .45) 0%, rgba(236,72,153,0) 50%), radial-gradient(80% 120% at 0% 100%, rgba(56, 189, 248, .35) 0%, rgba(56,189,248,0) 55%), linear-gradient(135deg, #4c3be6 0%, #7c3aed 100%);
  --side: #121031;
  --side-2: #1b1846;
  --side-text: #a9a6d6;

  --gold: #a96b05;
  --gold-soft: #fff6e0;
  --gold-grad: linear-gradient(135deg, #ffd66b 0%, #f5b02e 100%);

  --ok: #0f9f6e;  --ok-soft: #e3f8ef;
  --warn: #c26a06; --warn-soft: #fff3e2;
  --bad: #e0384f;  --bad-soft: #feecef;
  --sky: #0284c7; --sky-soft: #e3f3fd;
  --pink: #db2777; --pink-soft: #fde9f3;

  --shadow-sm: 0 1px 2px rgba(16, 17, 48, .06);
  --shadow: 0 1px 3px rgba(16, 17, 48, .04), 0 10px 30px -12px rgba(16, 17, 48, .12);
  --shadow-lg: 0 30px 60px -20px rgba(40, 25, 130, .35);
  --ring: 0 0 0 4px rgba(96, 71, 236, .14);
  --r: 20px;
  --head: 'Poppins', system-ui, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 500 14px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); color: var(--ink); letter-spacing: -.015em; line-height: 1.25; }
h1 { font-size: 26px; font-weight: 700; }
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mono { font-family: var(--mono); }
.hidden { display: none !important; }
.spacer { flex: 1; }
svg.i { flex: none; display: inline-block; vertical-align: middle; }
.num { font-family: var(--head); font-variant-numeric: tabular-nums; }

/* =====================================================================
   App frame: minimal top navigation (no sidebar)
   ===================================================================== */
.topnav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.topnav-in { max-width: 1200px; margin: 0 auto; padding: 0 28px; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 17px var(--head); letter-spacing: -.02em; white-space: nowrap; }
.logo { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--brand); flex: none; }
.links { display: flex; align-items: center; gap: 4px; height: 100%; }
.links a { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0 12px; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; transition: color .15s; }
.links a:hover { color: var(--ink); }
.links a.active { color: var(--ink); }
.links a.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--brand); }
.count { min-width: 19px; height: 19px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.balance-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 13.5px; }
.balance-chip svg { color: var(--brand); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--brand-ink); font: 700 14px var(--head); }
.avatar.xl { width: 76px; height: 76px; font-size: 28px; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: .15s; flex: none; }
.icon-btn:hover { color: var(--ink); background: var(--hover); }

.menu-wrap { position: relative; }
.avatar-btn { border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: 50%; }
.avatar-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.dropdown { position: absolute; right: 0; top: calc(100% + 10px); width: 240px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; animation: pop .15s ease-out; }
.dropdown .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.dropdown .who b { display: block; color: var(--ink); font-size: 14px; }
.dropdown .who span { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.dropdown a, .dropdown button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; border: 0; background: transparent; color: var(--text); font: 600 13.5px var(--font); cursor: pointer; text-align: left; }
.dropdown a:hover, .dropdown button:hover { background: var(--hover); color: var(--ink); }
.dropdown .danger { color: var(--bad); }

.content { max-width: 1200px; margin: 0 auto; padding: 30px 28px 72px; }
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: 26px; }
.page-head p { color: var(--muted); margin-top: 4px; }

@media (max-width: 900px) {
  .topnav-in { flex-wrap: wrap; height: auto; padding: 10px 16px 0; gap: 10px; }
  .links { order: 3; width: 100%; height: 44px; overflow-x: auto; margin: 0 -4px; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .links a { padding: 0 10px; font-size: 13.5px; }
  .links a.active::after { left: 10px; right: 10px; }
  .content { padding: 20px 16px 56px; }
  .page-head h1 { font-size: 22px; }
}
@media (max-width: 560px) { .hide-sm { display: none; } }

/* =====================================================================
   Cards, grids
   ===================================================================== */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.head-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--brand); }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.g { display: grid; gap: 22px; }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.g-buy { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.mt { margin-top: 22px; }
@media (max-width: 1200px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .g-main, .g-buy, .g-3, .g-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .g-4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .card { padding: 16px; border-radius: 16px; } }

/* =====================================================================
   Buttons & inputs
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 17px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); color: var(--ink);
  font: 600 13.5px var(--font); cursor: pointer; white-space: nowrap; transition: transform .12s, box-shadow .15s, background .15s, filter .15s, opacity .15s;
}
.btn:hover { background: var(--hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -8px rgba(96, 71, 236, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.gold { background: var(--gold-grad); border-color: transparent; color: #4b2c00; box-shadow: 0 8px 18px -8px rgba(245, 176, 46, .9), inset 0 1px 0 rgba(255,255,255,.4); }
.btn.gold:hover { filter: brightness(1.04); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.ghost:hover { background: var(--hover); color: var(--ink); }
.btn.danger { color: var(--bad); border-color: #f8c9d1; }
.btn.danger:hover { background: var(--bad-soft); }
.btn.white { background: #fff; border-color: #fff; color: var(--brand-ink); box-shadow: 0 10px 20px -10px rgba(0,0,0,.35); }
.btn.glass { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }
.btn.glass:hover { background: rgba(255,255,255,.22); }
.btn.success { background: linear-gradient(135deg, #10b981, #059669); border-color: transparent; color: #fff; }
.btn.sm { padding: 7px 12px; font-size: 12.5px; border-radius: 10px; }
.btn.lg { padding: 13px 22px; font-size: 15px; border-radius: 14px; }
.btn.block { width: 100%; }

input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface-2);
  color: var(--ink); font: 500 14px var(--font); outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: var(--border-2); }
input:focus, select:focus, textarea:focus { border-color: var(--brand); background: #fff; box-shadow: var(--ring); }
input[readonly] { color: var(--muted); background: var(--hover); }
label { display: block; font-size: 13px; font-weight: 600; margin: 16px 0 7px; color: var(--text); }
textarea { min-height: 96px; resize: vertical; }
.search { position: relative; }
.search input { padding-left: 44px; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }

/* =====================================================================
   Badges, chips, tabs
   ===================================================================== */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--hover); color: var(--muted); text-transform: capitalize; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.waiting, .badge.pending { background: var(--warn-soft); color: var(--warn); }
.badge.received, .badge.completed, .badge.approved, .badge.deposit, .badge.refund { background: var(--ok-soft); color: var(--ok); }
.badge.cancelled, .badge.expired, .badge.failed, .badge.rejected { background: var(--bad-soft); color: var(--bad); }
.badge.purchase, .badge.adjust { background: var(--brand-soft); color: var(--brand); }
.badge.available { background: var(--ok-soft); color: var(--ok); }
.badge.sold { background: var(--warn-soft); color: var(--warn); }
.badge.used { background: var(--brand-soft); color: var(--brand); }
/* Custom provider: big service cards (name, tagline, price, stock) */
.svc-grid.big, #buy-card .svc-grid.big { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.svc-big { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: var(--text); min-width: 0; transition: transform .15s, border-color .15s, box-shadow .15s, background .15s; }
.svc-big:hover { transform: translateY(-2px); border-color: #cfc7ff; background: #fbfaff; box-shadow: 0 10px 20px -14px rgba(96,71,236,.6); }
.svc-big .svc-icon { width: 44px; height: 44px; border-radius: 12px; padding: 8px; flex: none; box-shadow: none; }
.svc-big .sb-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.svc-big .sb-txt b { font: 700 14.5px var(--font); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-big .sb-txt small { font-size: 12px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-big .sb-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 11.5px; margin-top: 2px; }
.svc-big .sb-meta .svc-from { font-size: 12px; }
.svc-big .sb-go { color: var(--faint); flex: none; }
.svc-big:hover .sb-go { color: var(--brand); }
.svc-big.out { opacity: .65; }
.svc-big .sb-out { font-size: 11.5px; font-weight: 700; color: var(--bad); }
html[data-theme="dark"] .svc-big:hover { background: var(--surface-2); }
@media (max-width: 520px) { .svc-grid.big, #buy-card .svc-grid.big { grid-template-columns: minmax(0, 1fr) !important; } }
/* Admin: custom numbers */
.cn-card { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.cn-card:first-of-type { border-top: 0; }
.cn-card.off { opacity: .6; }
.cn-card > .svc-icon { width: 44px; height: 44px; border-radius: 12px; padding: 8px; flex: none; }
.cn-card .cc-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.cn-card .cc-txt b { font: 700 15px var(--font); color: var(--ink); }
.cn-card .cc-txt small { color: var(--muted); font-size: 12.5px; }
.cn-card .cc-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 2px; }
.cn-card .cc-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.badge.disabled { background: var(--hover); color: var(--muted); }
.cn-preview { padding: 14px; border-radius: 14px; background: var(--hover); }
@media (max-width: 760px) { .cn-card { flex-wrap: wrap; } .cn-card .cc-actions { width: 100%; justify-content: flex-start; } }
.modal.wide { max-width: 1120px; }
.cn-manage .card { box-shadow: none; }
.cn-form textarea.mono { min-height: 140px; font-size: 13px; }
.cn-test { margin-top: 12px; }
.cn-test pre { max-height: 220px; overflow: auto; white-space: pre-wrap; word-break: break-word; margin: 8px 0 0; padding: 12px; border-radius: 12px; background: var(--hover); font: 12.5px/1.5 var(--mono); }
.cn-codes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cn-codes .badge::before { display: none; }
.cn-link { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; }

.rank { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; font-family: var(--font); }
.rank.gold { background: var(--gold-grad); color: #4b2c00; box-shadow: 0 3px 8px -3px rgba(245,176,46,.8); }
.rank.std { background: var(--hover); color: var(--muted); }

.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--hover); border-radius: 13px; border: 1px solid var(--border); }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; padding: 8px 15px; border-radius: 10px; font: 600 13px var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; transition: .15s; }
.seg button:hover { color: var(--ink); }
.seg button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border); }
.seg button.gold.active { background: var(--gold-grad); color: #4b2c00; box-shadow: 0 6px 14px -6px rgba(245,176,46,.9); }

.tabs { display: flex; gap: 4px; padding: 4px; background: var(--hover); border-radius: 13px; overflow-x: auto; width: fit-content; max-width: 100%; border: 1px solid var(--border); }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 600 13px var(--font); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border); }

/* =====================================================================
   Dashboard pieces
   ===================================================================== */
.banner {
  position: relative; overflow: hidden; border-radius: 24px; padding: 30px 32px; color: #fff; background: var(--grad-hero); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.banner::before { content: ''; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.08); }
.banner::after { content: ''; position: absolute; right: 140px; bottom: -110px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.07); }
.banner > * { position: relative; z-index: 1; }
.banner .hi { font-size: 13.5px; font-weight: 600; color: #e0dbff; display: flex; align-items: center; gap: 8px; }
.banner h2 { color: #fff; font-size: 27px; margin: 6px 0 6px; }
.banner p { color: #e4e0ff; max-width: 520px; font-size: 14.5px; }
.banner .acts { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.banner .bal { margin-left: auto; text-align: right; padding: 18px 22px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); min-width: 220px; }
.banner .bal .l { font-size: 12.5px; color: #e4e0ff; font-weight: 600; }
.banner .bal .v { font: 700 32px var(--head); letter-spacing: -.02em; }
@media (max-width: 760px) { .banner { padding: 22px; } .banner h2 { font-size: 22px; } .banner .bal { margin-left: 0; text-align: left; width: 100%; } }

.stat { display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.stat .top { display: flex; align-items: center; gap: 12px; }
.stat .chip { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.stat .label { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat .value { font: 700 26px var(--head); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .foot { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat .foot b { color: var(--ok); }
.tone-violet { background: var(--brand-soft); color: var(--brand); }
.tone-green { background: var(--ok-soft); color: var(--ok); }
.tone-sky { background: var(--sky-soft); color: var(--sky); }
.tone-pink { background: var(--pink-soft); color: var(--pink); }
.tone-gold { background: var(--gold-soft); color: var(--gold); }
.tone-red { background: var(--bad-soft); color: var(--bad); }
.stat.feature { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 20px 40px -18px rgba(96, 71, 236, .8); }
.stat.feature .label, .stat.feature .foot { color: #e4e0ff; }
.stat.feature .value { color: #fff; }
.stat.feature .chip { background: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 520px) { .stat .value { font-size: 20px; } .stat .chip { width: 38px; height: 38px; } }

.chart { width: 100%; height: 220px; display: block; }
.chart .bar { fill: url(#barGrad); transition: opacity .15s; }
.chart .bar:hover { opacity: .8; }
.chart .gridline { stroke: var(--border); stroke-dasharray: 3 4; }
.chart text { font: 600 10.5px var(--font); fill: var(--faint); }
.chart .val { fill: var(--ink); font-size: 10px; }

.toplist { display: flex; flex-direction: column; gap: 14px; }
.topitem { display: flex; align-items: center; gap: 12px; }
.topitem .grow { flex: 1; min-width: 0; }
.topitem .name { font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.topitem .meter { height: 7px; border-radius: 7px; background: var(--hover); margin-top: 7px; overflow: hidden; }
.topitem .meter > i { display: block; height: 100%; border-radius: 7px; background: var(--grad); }

.quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 16px 8px 13px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--surface); cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--text); text-align: center; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.tile:hover { transform: translateY(-3px); border-color: #c9bfff; box-shadow: 0 16px 30px -16px rgba(96, 71, 236, .55); }
.tile .name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* =====================================================================
   Icons (services & flags)
   ===================================================================== */
.svc-icon, .flag { flex: none; display: inline-grid; place-items: center; }
.svc-icon { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: #fff; padding: 8px; object-fit: contain; box-shadow: var(--shadow-sm); }
.svc-icon.letter { padding: 0; font: 700 15px var(--head); border-color: transparent; }
.svc-icon.lg { width: 50px; height: 50px; border-radius: 15px; padding: 10px; }
.svc-icon.xs { width: 26px; height: 26px; border-radius: 8px; padding: 4px; font-size: 11px; box-shadow: none; }
.flag { width: 34px; height: 25px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px rgba(16,17,48,.08), var(--shadow-sm); background: var(--hover); }
.flag.xs { width: 22px; height: 16px; border-radius: 4px; }
.flag-none { color: var(--faint); box-shadow: none; background: transparent; }

/* =====================================================================
   Buy flow
   ===================================================================== */
.stepper { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.step { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--faint); }
.step .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--head); background: var(--hover); color: var(--muted); border: 1px solid var(--border); }
.step.on { color: var(--ink); }
.step.on .n { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 14px -5px rgba(96,71,236,.8); }
.step.done .n { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.step-line { width: 28px; height: 2px; border-radius: 2px; background: var(--border); }

.section-label { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.list { display: flex; flex-direction: column; gap: 8px; max-height: 580px; overflow-y: auto; padding: 2px 6px 2px 2px; margin: 0 -6px 0 -2px; }
.list::-webkit-scrollbar { width: 8px; }
.list::-webkit-scrollbar-thumb { background: #d8daea; border-radius: 8px; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 15px; transition: border-color .15s, box-shadow .15s; }
.row:hover { border-color: var(--border-2); box-shadow: var(--shadow); }
.row.clickable { cursor: pointer; }
.row.clickable:hover { border-color: #c9bfff; }
.row.clickable:hover .go { color: var(--brand); transform: translateX(3px); }
.row .go { color: var(--faint); transition: .15s; }
.row.open { border-color: #c9bfff; box-shadow: 0 0 0 4px rgba(96,71,236,.08); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .title { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.row .sub { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.16); flex: none; }
.dot.low { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.16); }
.dot.out { background: #c7cadb; box-shadow: none; }
.price { font: 700 14.5px var(--head); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.price .from { display: block; font: 700 10px var(--font); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.actions { display: flex; gap: 6px; }
.empty { text-align: center; padding: 38px 16px; color: var(--muted); font-size: 13.5px; }
.empty .art { width: 68px; height: 68px; border-radius: 22px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.empty b { display: block; color: var(--ink); font: 600 15px var(--head); margin-bottom: 4px; }

.partners { margin-top: -9px; border: 1px solid #c9bfff; border-top: 0; border-radius: 0 0 15px 15px; background: linear-gradient(#f8f6ff, #fff); padding: 6px 14px 10px; box-shadow: 0 0 0 4px rgba(96,71,236,.08); }
.partners-head { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 8px 0 4px; }
.partner { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--border); }
.partner:last-child { border-bottom: 0; }
.partner .grow { flex: 1; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

.selected-service { display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 16px; border-radius: 17px; background: linear-gradient(135deg, #f6f4ff, #fff); border: 1px solid #e4defe; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar .search { flex: 1; min-width: 200px; }
.hint { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }

/* =====================================================================
   Active number card
   ===================================================================== */
.order { border: 1px solid var(--border); border-radius: 20px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.order + .order { margin-top: 14px; }
.orders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 16px; }
.orders-grid .order + .order { margin-top: 0; }
.order-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.order-top .svc { font-weight: 700; color: var(--ink); }
.order-body { padding: 16px; }
.phone-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.phone { font-family: var(--mono); font-size: 23px; font-weight: 700; color: var(--ink); }
.meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.timebar { height: 6px; background: var(--hover); border-radius: 6px; overflow: hidden; margin-top: 12px; }
.timebar > i { display: block; height: 100%; background: var(--grad); border-radius: 6px; transition: width 1s linear; }
.code-box { margin-top: 16px; padding: 18px; border-radius: 16px; text-align: center; background: var(--surface-2); border: 1.5px dashed var(--border-2); color: var(--muted); font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.code-box.got { display: block; border: 0; background: linear-gradient(135deg, #f1edff, #fdf2ff); box-shadow: inset 0 0 0 1px #ddd4ff; color: var(--text); }
/* Several codes on one order: earlier ones listed as 1st, 2nd... */
.code-history { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border-2); text-align: left; }
.code-history .ch-title { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.code-history .ch-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.code-history .ch-n { min-width: 38px; padding: 2px 8px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); font-size: 11.5px; font-weight: 700; color: var(--brand); text-align: center; }
.code-history .ch-row b { font-size: 16px; letter-spacing: .08em; color: var(--ink); flex: 1; }
.code { font-family: var(--mono); font-size: 38px; font-weight: 700; letter-spacing: 8px; line-height: 1.15; margin: 4px 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); position: relative; flex: none; }
.pulse::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--brand); animation: ping 1.4s ease-out infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.order-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   Tables
   ===================================================================== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--faint); font-weight: 700; background: var(--surface-2); }
th:first-child { border-top-left-radius: 12px; } th:last-child { border-top-right-radius: 12px; }
tbody tr:hover { background: #fafaff; }
tr:last-child td { border-bottom: 0; }
td.wrap { white-space: normal; }
.cell { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.pos { color: var(--ok); font-weight: 700; }
.neg { color: var(--bad); font-weight: 700; }

/* =====================================================================
   Wallet, profile, help
   ===================================================================== */
.wallet-card { position: relative; overflow: hidden; border-radius: 24px; padding: 26px; color: #fff; background: var(--grad-hero); box-shadow: var(--shadow-lg); min-height: 200px; display: flex; flex-direction: column; }
.wallet-card::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 36px solid rgba(255,255,255,.09); }
.wallet-card .l { color: #e4e0ff; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.wallet-card .v { font: 700 38px var(--head); letter-spacing: -.02em; margin: 8px 0 auto; }
.wallet-card .row2 { display: flex; gap: 22px; margin-top: 22px; font-size: 12.5px; color: #e4e0ff; position: relative; z-index: 1; }
.wallet-card .row2 b { display: block; color: #fff; font: 600 15px var(--head); }
.methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.method { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; font-weight: 600; color: var(--ink); background: var(--surface); transition: .15s; font-size: 13px; }
.method:hover { border-color: #c9bfff; }
.method.active { border-color: var(--brand); box-shadow: var(--ring); background: #faf9ff; }
.method .mi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.amounts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.amounts button { padding: 7px 13px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); font: 600 12.5px var(--font); color: var(--text); cursor: pointer; }
.amounts button:hover { border-color: var(--brand); color: var(--brand); }

.profile-hero { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.profile-hero .who h2 { font-size: 22px; }
.level { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-top: 8px; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.kv > div { padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.kv .k { font-size: 12px; color: var(--muted); font-weight: 600; }
.kv .v { font: 700 18px var(--head); color: var(--ink); margin-top: 2px; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how { padding: 20px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); }
.how .n { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 16px var(--head); margin-bottom: 14px; box-shadow: 0 8px 18px -8px rgba(96,71,236,.8); }
.how p { font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .steps3 { grid-template-columns: minmax(0, 1fr); } }
.faq details { border: 1px solid var(--border); border-radius: 14px; padding: 0 16px; background: var(--surface); }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 15px 0; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; font: 500 20px var(--head); color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--muted); font-size: 13.5px; }
.contact { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-weight: 600; transition: .15s; }
.contact:hover { border-color: #c9bfff; box-shadow: var(--shadow); }
.contact .ci { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.contact small { display: block; color: var(--muted); font-weight: 500; }

/* =====================================================================
   Auth page
   ===================================================================== */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-art { position: relative; overflow: hidden; padding: 40px 56px; display: flex; flex-direction: column; color: #fff; background: var(--grad-hero); }
.auth-art::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 100%); }
.auth-art > * { position: relative; }
.side-brand.on-art { padding: 0; }
.auth-copy { margin: auto 0; padding: 36px 0; max-width: 560px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: 12.5px; font-weight: 600; }
.auth-copy h1 { color: #fff; font-size: 50px; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin: 20px 0 16px; }
.auth-copy h1 .hl { background: linear-gradient(90deg, #fff7c2, #ffd66b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-copy p { color: #e9e5ff; font-size: 16.5px; line-height: 1.6; max-width: 480px; }
.sms-demo { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; max-width: 400px; }
.sms { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 44px -18px rgba(20, 10, 80, .6); animation: float 6s ease-in-out infinite; }
.sms:nth-child(2) { margin-left: 40px; animation-delay: -2s; }
.sms .t { font-size: 12px; color: var(--muted); font-weight: 600; }
.sms .c { font-weight: 700; font-size: 14px; }
.sms .c b { font-family: var(--mono); color: var(--brand); letter-spacing: 2px; }
.sms .when { margin-left: auto; font-size: 11px; color: var(--faint); font-weight: 600; align-self: flex-start; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.auth-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.auth-stats .v { font: 700 26px var(--head); letter-spacing: -.02em; }
.auth-stats .k { font-size: 12.5px; color: #e0dbff; font-weight: 600; }
.auth-panel { display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 430px; padding: 36px; border-radius: 26px; box-shadow: var(--shadow-lg); }
.auth-card h2 { font-size: 27px; }
.trust { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; font-size: 12px; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.trust span { display: inline-flex; align-items: center; gap: 5px; }
.logos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.logos .svc-icon { width: 42px; height: 42px; border-radius: 13px; border: 0; }
@media (max-width: 920px) {
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .auth-art { padding: 26px 20px; }
  .auth-copy { padding: 26px 0 8px; }
  .auth-copy h1 { font-size: 34px; }
  .sms-demo, .auth-stats { display: none; }
}

/* =====================================================================
   Misc
   ===================================================================== */
.notice { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font-size: 13px; font-weight: 600; background: var(--warn-soft); color: var(--warn); margin-bottom: 18px; border: 1px solid #fde0b8; }
.notice.brand { background: var(--brand-soft); color: var(--brand-ink); border-color: #dcd5ff; }
.info { padding: 14px 16px; border-radius: 14px; font-size: 13.5px; background: var(--brand-soft); border: 1px solid #dcd5ff; color: var(--brand-ink); white-space: pre-wrap; font-weight: 500; }

#toasts { position: fixed; bottom: 22px; right: 22px; left: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; z-index: 100; pointer-events: none; }
.toast { pointer-events: auto; max-width: 400px; padding: 13px 18px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: 13.5px; font-weight: 600; animation: pop .25s cubic-bezier(.2,.9,.3,1.3); }
.toast.error { background: var(--bad); }
.toast.success { background: linear-gradient(135deg, #5b47f5, #8b5cf6); }
@keyframes pop { from { transform: translateY(10px) scale(.97); opacity: 0; } }

.modal-bg { position: fixed; inset: 0; background: rgba(15, 16, 36, .5); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 80; padding: 16px; animation: fade .15s; }
.modal { width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: pop .25s cubic-bezier(.2,.9,.3,1.2); }
@keyframes fade { from { opacity: 0; } }
.page { animation: fade .25s ease; }

/* =====================================================================
   Minimal theme overrides: flat colors, soft borders, calm surfaces
   ===================================================================== */
:root {
  --bg: #f7f7f9;
  --border: #ebebf0;
  --border-2: #dedee6;
  --grad: #5b47f5;
  --shadow: 0 1px 2px rgba(16, 17, 48, .04);
  --shadow-lg: 0 16px 40px -16px rgba(16, 17, 48, .18);
  --ring: 0 0 0 3px rgba(91, 71, 245, .14);
}
.card { box-shadow: var(--shadow); border-radius: 16px; }
.btn.primary { background: var(--brand); box-shadow: none; }
.btn.primary:hover { filter: none; background: #4c38e6; }
.btn.gold { box-shadow: none; }
.head-ic { background: var(--hover); color: var(--ink); width: 38px; height: 38px; border-radius: 11px; }
.eyebrow { letter-spacing: .1em; }

/* Dashboard intro: plain card instead of a colored banner */
.banner { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 16px; padding: 26px 28px; }
.banner::before, .banner::after { display: none; }
.banner .hi { color: var(--muted); }
.banner h2 { color: var(--ink); font-size: 24px; }
.banner p { color: var(--muted); }
.banner .btn.white { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: none; }
.banner .btn.glass { background: var(--surface); border-color: var(--border-2); color: var(--ink); }
.banner .btn.glass:hover { background: var(--hover); }
.banner .bal { background: var(--surface-2); border: 1px solid var(--border); backdrop-filter: none; }
.banner .bal .l { color: var(--muted); }
.banner .bal .v { color: var(--ink); }

/* Stat cards: all white, small neutral icon */
.stat.feature { background: var(--surface); border-color: var(--border); color: var(--text); box-shadow: var(--shadow); }
.stat.feature .label, .stat.feature .foot { color: var(--muted); }
.stat.feature .value { color: var(--brand); }
.stat.feature .chip { background: var(--brand-soft); color: var(--brand); }
.stat .chip { width: 38px; height: 38px; border-radius: 11px; }
.stat .value { font-size: 24px; }

/* Wallet card: white */
.wallet-card { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 16px; min-height: 0; }
.wallet-card::after { display: none; }
.wallet-card .l, .wallet-card .row2 { color: var(--muted); }
.wallet-card .v { color: var(--ink); margin-bottom: 0; }
.wallet-card .row2 b { color: var(--ink); }
.wallet-card .row2 > div { padding-right: 22px; border-right: 1px solid var(--border); }
.wallet-card .row2 > div:last-child { border-right: 0; }

/* Buy flow & numbers */
.step.on .n { box-shadow: none; }
.tile { border-radius: 14px; }
.tile:hover { transform: none; border-color: var(--brand); box-shadow: none; }
.row:hover { box-shadow: none; }
.row.clickable:hover, .row.open, .partners { border-color: #cfc7ff; }
.row.open, .partners { box-shadow: none; }
.partners { background: var(--surface-2); }
.selected-service { background: var(--surface-2); border-color: var(--border); }
.order { box-shadow: none; border-radius: 16px; }
.code-box.got { background: var(--brand-soft); box-shadow: none; }
.code { background: none; color: var(--brand); -webkit-text-fill-color: currentColor; }
.how .n { box-shadow: none; }
.how { background: var(--surface); }
.topitem .meter > i { background: var(--brand); }
.toast.success { background: var(--ink); }
.notice.brand { background: var(--surface); border-color: var(--border); color: var(--text); }
.notice.brand svg { color: var(--brand); }

/* Login: calm solid panel */
.auth-art { background: #17153a; }
.auth-art::before { opacity: .5; }
.auth-copy h1 .hl { background: none; color: #a99bff; -webkit-text-fill-color: currentColor; }
.auth-card { box-shadow: var(--shadow-lg); border-radius: 20px; }

/* =====================================================================
   Dashboard promo slider + offer cards
   ===================================================================== */
.promo-wrap { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 18px; margin-bottom: 22px; }
.promo { position: relative; overflow: hidden; border-radius: 20px; min-height: 250px; box-shadow: 0 18px 40px -22px rgba(30, 20, 90, .45); touch-action: pan-y; }
.promo-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.slide { position: relative; flex: 0 0 100%; display: flex; align-items: center; gap: 20px; padding: 32px 36px 44px; color: #fff; overflow: hidden; }
.slide::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -90px; top: -150px; background: rgba(255,255,255,.09); }
.slide::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: 180px; bottom: -150px; background: rgba(255,255,255,.07); }
.slide > * { position: relative; z-index: 1; }
.slide.t0 { background: linear-gradient(120deg, #4f3df0 0%, #7c4dff 55%, #b06bff 100%); }
.slide.t1 { background: linear-gradient(120deg, #1d1a3f 0%, #3a2c63 60%, #6b4e16 130%); }
.slide.t2 { background: linear-gradient(120deg, #047857 0%, #0d9488 60%, #22c1a6 100%); }
.slide.t3 { background: linear-gradient(120deg, #0f4c9c 0%, #1e74d8 55%, #39a8f0 100%); }
.slide .copy { flex: 1; min-width: 0; max-width: 470px; }
.slide .tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.slide.t1 .tag { background: rgba(255, 214, 107, .16); border-color: rgba(255, 214, 107, .4); color: #ffd66b; }
.slide h2 { color: #fff; font-size: 29px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 14px 0 10px; }
.slide.t1 h2 span { color: #ffd66b; }
.slide p { color: rgba(255,255,255,.85); font-size: 14.5px; line-height: 1.55; }
.slide .cta { margin-top: 20px; background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.slide .cta:hover { background: #f3f1ff; }
.slide.t1 .cta { background: var(--gold-grad); border-color: transparent; color: #4b2c00; }
.slide .art { flex: none; width: 250px; height: 180px; position: relative; }

/* slide artwork */
.art .bubble { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 15px; background: #fff; color: var(--ink); box-shadow: 0 18px 30px -16px rgba(0,0,0,.5); font-weight: 700; font-size: 13px; animation: float 6s ease-in-out infinite; white-space: nowrap; }
.art .bubble small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.art .bubble b { font-family: var(--mono); color: var(--brand); letter-spacing: 2px; }
.art .ico { position: absolute; width: 54px; height: 54px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 28px -14px rgba(0,0,0,.5); animation: float 6s ease-in-out infinite; }
.art .ico .svc-icon { border: 0; box-shadow: none; width: 38px; height: 38px; padding: 4px; }
.art .medal { position: absolute; width: 160px; height: 160px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff3c4, #f5b02e 55%, #b7791f); box-shadow: 0 0 0 10px rgba(255, 214, 107, .14), 0 0 0 22px rgba(255, 214, 107, .07), 0 24px 40px -18px rgba(0,0,0,.6); color: #5a3500; text-align: center; font: 800 15px var(--head); letter-spacing: .12em; }
.art .medal svg { display: block; margin: 0 auto 4px; }
.art .big { position: absolute; inset: 0; display: grid; place-items: center; }
.art .ring { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 2px dashed rgba(255,255,255,.45); animation: spin 30s linear infinite; }
.art .ring-in { position: absolute; width: 112px; height: 112px; border-radius: 50%; background: #fff; color: #047857; display: grid; place-items: center; text-align: center; font: 800 26px var(--head); line-height: 1; box-shadow: 0 20px 34px -16px rgba(0,0,0,.5); }
.art .ring-in small { display: block; font: 700 10px var(--font); letter-spacing: .12em; color: var(--muted); margin-top: 4px; }
.art .pay { position: absolute; padding: 9px 14px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; box-shadow: 0 16px 28px -14px rgba(0,0,0,.5); display: flex; align-items: center; gap: 8px; animation: float 6s ease-in-out infinite; }
.art .pay i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.promo-dots { position: absolute; left: 36px; bottom: 18px; display: flex; gap: 6px; z-index: 2; }
.promo-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.promo-dots button.on { width: 26px; background: #fff; }
.promo-nav { position: absolute; right: 16px; bottom: 12px; display: flex; gap: 6px; z-index: 2; }
.promo-nav button { width: 32px; height: 32px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.promo-nav button:hover { background: rgba(255,255,255,.26); }

.promo-side { display: grid; gap: 18px; }
.offer { position: relative; overflow: hidden; border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 116px; color: var(--ink); border: 1px solid var(--border); background: var(--surface); transition: transform .15s, box-shadow .15s; }
.offer:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.offer .o-top { display: flex; align-items: center; gap: 10px; }
.offer h3 { font-size: 16px; }
.offer p { font-size: 12.5px; color: var(--muted); }
.offer .go { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--brand); }
.offer.gold { background: linear-gradient(135deg, #fff8e4 0%, #ffeec2 100%); border-color: #f6dfa5; }
.offer.gold .go { color: var(--gold); }
.offer.gold::after { content: '★'; position: absolute; right: -6px; bottom: -34px; font-size: 120px; line-height: 1; color: rgba(245, 176, 46, .18); }
.offer.dark { background: linear-gradient(135deg, #17153a 0%, #2a2468 100%); border-color: transparent; color: #fff; }
.offer.dark h3 { color: #fff; }
.offer.dark p { color: #b9b5e6; }
.offer.dark .go { color: #c4b8ff; }
.offer.dark::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 26px solid rgba(255,255,255,.06); }
.offer .bal { font: 700 22px var(--head); letter-spacing: -.02em; }

@media (max-width: 1100px) { .slide .art { width: 190px; transform: scale(.85); } }
@media (max-width: 980px) {
  .promo-wrap { grid-template-columns: minmax(0, 1fr); }
  .promo-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .slide { padding: 24px 22px 50px; }
  .slide .art { display: none; }
  .slide h2 { font-size: 23px; }
  .promo { min-height: 0; }
  .promo-dots { left: 22px; }
  .promo-side { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* =====================================================================
   Multiple servers (providers)
   ===================================================================== */
.server-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.server-badge.s0 { background: var(--brand-soft); color: var(--brand); }
.server-badge.s1 { background: var(--sky-soft); color: var(--sky); }
.server-badge.s2 { background: var(--ok-soft); color: var(--ok); }
.server-badge.s3 { background: var(--pink-soft); color: var(--pink); }
.srv-count { color: var(--brand); font-weight: 600; }
.ptabs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 6px; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 12px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); font: 600 12.5px var(--font); color: var(--ink); cursor: pointer; text-align: left; }
.ptab small { font-size: 11px; color: var(--muted); font-weight: 600; }
.ptab:hover { border-color: #cfc7ff; }
.ptab.active { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--ring); }
.ptab.active small { color: var(--brand); }
.deliv { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.deliv.good { background: var(--ok-soft); color: var(--ok); }
.deliv.ok { background: var(--warn-soft); color: var(--warn); }
.deliv.bad { background: var(--bad-soft); color: var(--bad); }
@media (max-width: 640px) {
  .partner { flex-wrap: wrap; gap: 8px; }
  .partner .grow { flex-basis: 100%; order: 5; }
  .partner .price { margin-left: auto; }
}

/* Admin: providers page */
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.prov { display: flex; flex-direction: column; gap: 12px; }
.prov .top { display: flex; align-items: center; gap: 10px; }
.prov .src { font-size: 12px; color: var(--muted); }
.prov .facts { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); }
.prov .facts b { display: block; color: var(--ink); font: 700 16px var(--head); }
.state { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; margin-left: auto; }
.state.live { background: var(--ok-soft); color: var(--ok); }
.state.mock { background: var(--warn-soft); color: var(--warn); }
.state.not_configured, .state.off { background: var(--hover); color: var(--muted); }
.state.empty { background: var(--bad-soft); color: var(--bad); }
.switch { position: relative; width: 40px; height: 23px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--border-2); cursor: pointer; transition: .2s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: .2s; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(17px); }
.switch input:disabled + span { opacity: .5; cursor: not-allowed; }

/* Server picker on the buy page */
.server-pick { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.server-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 10px; }
.server-tab { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.server-tab:hover { border-color: #cfc7ff; }
.server-tab .st-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.server-tab.s0 .st-ic { background: var(--brand-soft); color: var(--brand); }
.server-tab.s1 .st-ic { background: var(--sky-soft); color: var(--sky); }
.server-tab.s2 .st-ic { background: var(--ok-soft); color: var(--ok); }
.server-tab.s3 .st-ic { background: var(--pink-soft); color: var(--pink); }
.server-tab .st-txt { min-width: 0; }
.server-tab b { display: block; font-size: 14px; }
.server-tab small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.server-tab.active { border-color: var(--brand); background: #faf9ff; box-shadow: var(--ring); }
.server-tab .st-check { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
@media (max-width: 640px) { .server-tabs { grid-template-columns: repeat(2, 1fr); } }
.server-tab { padding-right: 28px; }

/* =====================================================================
   Provider dropdown (buy page)
   ===================================================================== */
.prov-pick { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.prov-select { position: relative; }
.prov-current { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--border); background: linear-gradient(135deg, #fbfaff, #fff); cursor: pointer; text-align: left; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.prov-current:hover { border-color: #cfc7ff; }
.prov-select.open .prov-current { border-color: var(--brand); box-shadow: var(--ring); }
.pc-txt { flex: 1; min-width: 0; }
.pc-txt b { display: flex; align-items: center; gap: 8px; font: 700 15px var(--head); }
.pc-txt small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-switch { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; white-space: nowrap; transition: transform .2s; }
.prov-select.open .pc-switch svg { transform: rotate(90deg); }
.pc-switch svg { transition: transform .2s; }

.prov-av { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; color: #fff; font: 800 18px var(--head); box-shadow: 0 8px 16px -8px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.3); }
.prov-av.lg { width: 46px; height: 46px; font-size: 19px; }
.prov-av.s0 { background: linear-gradient(135deg, #6d5cff, #9b6bff); }
.prov-av.s1 { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.prov-av.s2 { background: linear-gradient(135deg, #10b981, #34d399); }
.prov-av.s3 { background: linear-gradient(135deg, #ec4899, #f472b6); }

.prov-menu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 25; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; animation: pop .16s ease-out; }
.pm-head { padding: 8px 10px 10px; font: 700 13px var(--head); color: var(--ink); }
.pm-head small { display: block; font: 500 12px var(--font); color: var(--muted); margin-top: 2px; }
.pm-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px; border: 0; border-radius: 13px; background: transparent; cursor: pointer; text-align: left; font: inherit; color: var(--ink); transition: background .12s; }
.pm-item:hover { background: var(--hover); }
.pm-item.active { background: var(--brand-soft); }
.pm-check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }

.server-badge .sb-l { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; background: currentColor; color: #fff; font-size: 9.5px; line-height: 1; }
.server-badge.s0 .sb-l { background: var(--brand); }
.server-badge.s1 .sb-l { background: var(--sky); }
.server-badge.s2 .sb-l { background: var(--ok); }
.server-badge.s3 .sb-l { background: var(--pink); }

/* =====================================================================
   Service icon cards
   ===================================================================== */
.svc-head { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 10px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.svc-card { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 10px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font: 600 11.5px var(--font); color: var(--text); transition: transform .15s, border-color .15s, box-shadow .15s, background .15s; min-width: 0; }
.svc-card:hover { transform: translateY(-2px); border-color: #cfc7ff; background: #fbfaff; box-shadow: 0 10px 20px -14px rgba(96,71,236,.6); }
.svc-card .svc-icon { width: 34px; height: 34px; border-radius: 10px; padding: 6px; box-shadow: none; }
.svc-card .svc-icon.letter { padding: 0; font-size: 14px; }
.svc-card .name { max-width: 100%; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.more-btn { width: 100%; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1.5px dashed var(--border-2); background: var(--surface-2); color: var(--brand); font: 700 13.5px var(--font); cursor: pointer; transition: .15s; }
.more-btn:hover { border-color: var(--brand); background: var(--brand-soft); }
#quick.svc-grid, .quick { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
@media (max-width: 520px) { .svc-grid, .quick { grid-template-columns: repeat(4, 1fr) !important; gap: 6px; } .svc-card { padding: 10px 2px 8px; font-size: 10.5px; } .pc-switch { display: none; } }

/* =====================================================================
   Dashboard extras
   ===================================================================== */
.prov-strip { margin-bottom: 22px; }
.ps-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.ps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ps-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.ps-card::after { content: ''; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; opacity: .1; }
.ps-card.s0::after { background: #6d5cff; } .ps-card.s1::after { background: #0ea5e9; } .ps-card.s2::after { background: #10b981; } .ps-card.s3::after { background: #ec4899; }
.ps-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d8d2ff; }
.ps-card .pc-txt b { font-size: 14.5px; }
.ps-card .pc-txt small { white-space: normal; }
.ps-go { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--hover); color: var(--muted); flex: none; transition: .15s; }
.ps-card:hover .ps-go { background: var(--brand); color: #fff; }
.prov-av.sm { width: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
@media (max-width: 1100px) { .ps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ps-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

.month-cmp { text-align: right; }
.mc-v { font-size: 18px; font-weight: 700; color: var(--ink); }
.mc-l { font-size: 12px; color: var(--muted); display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.mc-d { font-weight: 700; padding: 1px 6px; border-radius: 6px; font-size: 11px; }
.mc-d.up { background: var(--warn-soft); color: var(--warn); }
.mc-d.down { background: var(--ok-soft); color: var(--ok); }

.donut-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.donut-box { position: relative; width: 170px; height: 170px; flex: none; }
.donut { width: 100%; height: 100%; }
.donut circle { transition: stroke-dasharray .6s ease; }
.donut-c { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; }
.donut-c b { font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1; }
.donut-c small { color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 4px; }
.legend { display: grid; gap: 10px; min-width: 190px; flex: 1; }
.lg { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); }
.lg i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.lg span { flex: 1; }
.lg b { color: var(--ink); }

.timeline { display: flex; flex-direction: column; }
.tl { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.tl:last-child { border-bottom: 0; }
.tl-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--hover); color: var(--ink); }
.tl .grow { flex: 1; min-width: 0; }
.tl b { display: block; font-size: 13.5px; color: var(--ink); }
.tl small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl .tl-t { color: var(--faint); font-size: 11px; }

/* Promo slides 5 (provider + USA themes) */
.slide.t0 { background: linear-gradient(120deg, #4f3df0 0%, #7c4dff 55%, #b06bff 100%); }
.slide.t1 { background: linear-gradient(120deg, #0b3a82 0%, #1d4ed8 50%, #e11d48 140%); }
.slide.t2 { background: linear-gradient(120deg, #1d1a3f 0%, #3a2c63 60%, #6b4e16 130%); }
.slide.t3 { background: linear-gradient(120deg, #047857 0%, #0d9488 60%, #22c1a6 100%); }
.slide.t4 { background: linear-gradient(120deg, #0f4c9c 0%, #1e74d8 55%, #39a8f0 100%); }
.slide.t2 .tag { background: rgba(255, 214, 107, .16); border-color: rgba(255, 214, 107, .4); color: #ffd66b; }
.slide.t2 .cta { background: var(--gold-grad); border-color: transparent; color: #4b2c00; }
.slide.t1 .tag, .slide.t0 .tag { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.22); color: #fff; }
.slide.t1 .cta, .slide.t0 .cta { background: #fff; color: var(--ink); }
.art .pbub { position: absolute; display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 8px; border-radius: 15px; background: #fff; color: var(--ink); box-shadow: 0 18px 30px -16px rgba(0,0,0,.55); animation: float 6s ease-in-out infinite; white-space: nowrap; }
.art .pbub .prov-av { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; box-shadow: none; }
.art .pbub b { display: block; font: 700 12.5px var(--head); }
.art .pbub small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.art .usa { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-6deg); }
.art .usa .flag { width: 130px; height: 88px; border-radius: 14px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.6), 0 0 0 4px rgba(255,255,255,.85); }
.art .pbub { max-width: 128px; }
.art .pbub > div { min-width: 0; }
.slide .art { width: 262px; }
.ps-card .prov-av { position: relative; z-index: 1; }
.ps-card .pc-txt b { white-space: nowrap; }
.prov-av { display: grid !important; place-items: center; justify-content: center; text-align: center; }

/* =====================================================================
   Buy pages: narrower left column, roomier right column
   ===================================================================== */
.g-buy { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
@media (max-width: 980px) { .g-buy { grid-template-columns: minmax(0, 1fr); } }
#buy-card, #email-card { padding: 18px; }
.prov-pick { margin-bottom: 14px; padding-bottom: 14px; gap: 6px; }
.prov-current { padding: 9px 11px; gap: 11px; border-radius: 14px; }
.prov-current .prov-av { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
.prov-current .pc-txt b { font-size: 14px; }
.prov-current .pc-txt small { font-size: 11.5px; }
.pc-switch { padding: 5px 8px; font-size: 11px; }
#buy-card .stepper, #email-card .stepper { margin-bottom: 14px; }
#buy-card .svc-head, #email-card .svc-head { margin: 14px 0 8px; }
#buy-card .svc-grid, #email-card .svc-grid { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 6px; }
#buy-card .svc-card, #email-card .svc-card { padding: 9px 3px 8px; gap: 5px; font-size: 10.5px; border-radius: 12px; }
#buy-card .svc-card .svc-icon, #email-card .svc-card .svc-icon { width: 28px; height: 28px; padding: 5px; border-radius: 8px; }
#buy-card .more-btn, #email-card .more-btn { padding: 9px; font-size: 12.5px; margin-top: 10px; }
.all-box { margin-top: 12px; max-height: 380px; overflow-y: auto; padding-right: 4px; border-top: 1px solid var(--border); }
.all-box::-webkit-scrollbar { width: 8px; }
.all-box::-webkit-scrollbar-thumb { background: #d8daea; border-radius: 8px; }
#buy-card .list { max-height: 460px; }
.svc-from { font-size: 10px; font-weight: 700; color: var(--brand); }

/* =====================================================================
   Buy Email
   ===================================================================== */
.new-pill { margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: linear-gradient(135deg, #ff6aa2, #ff9a5a); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.mail-hero { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(135deg, #fff4ec, #fdf0ff); border: 1px solid #fbe0d4; }
.mail-hero .mail-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ff6aa2, #ff9a5a); flex: none; box-shadow: 0 8px 16px -8px rgba(255, 106, 162, .8); }
.mail-hero b { display: block; font: 700 14px var(--head); color: var(--ink); }
.mail-hero small { display: block; font-size: 12px; color: var(--muted); }
.domain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.domain-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 12px 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); transition: border-color .15s, box-shadow .15s, transform .15s; }
.domain-card:hover { border-color: #cfc7ff; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.domain-card.out { opacity: .55; }
.domain-card b { font: 700 15px var(--head); color: var(--ink); margin-top: 4px; }
.domain-card small { font-size: 11.5px; color: var(--muted); }
.dom-logo { width: 44px; height: 44px; border-radius: 13px; padding: 8px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); object-fit: contain; }
.dom-logo.letter { display: grid; place-items: center; padding: 0; font: 800 18px var(--head); color: var(--brand); background: var(--brand-soft); border: 0; }
.dom-meta { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.dom-price { font-size: 19px; font-weight: 700; color: var(--ink); margin: 4px 0 8px; }
.dom-best { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 6px; font-size: 10px; font-weight: 800; background: var(--ok-soft); color: var(--ok); text-transform: uppercase; letter-spacing: .04em; }
.mail-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; background: #fff1ea; color: #e2582a; font-size: 11px; font-weight: 700; }
.phone.is-mail { font-size: 17px; word-break: break-all; }

/* =====================================================================
   Banner in the right column when nothing is active
   ===================================================================== */
.empty-banner { border-radius: 18px; overflow: hidden; border: 1px solid #e4defe; background: linear-gradient(160deg, #f6f3ff 0%, #ffffff 60%); }
.empty-banner.mail { border-color: #fbe0d4; background: linear-gradient(160deg, #fff4ec 0%, #ffffff 60%); }
.eb-top { display: flex; align-items: center; gap: 20px; padding: 22px; flex-wrap: wrap; }
.eb-top h3 { font: 700 19px var(--head); color: var(--ink); margin: 8px 0 6px; }
.eb-top p { color: var(--muted); font-size: 13.5px; max-width: 360px; }
.eb-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 700; }
.empty-banner.mail .eb-tag { background: #ffe9df; color: #e2582a; }
.eb-art { flex: none; }
.eb-phone { width: 96px; height: 150px; border-radius: 22px; padding: 8px; background: linear-gradient(160deg, #2a2468, #121031); box-shadow: 0 20px 34px -18px rgba(40, 25, 130, .7); animation: float 6s ease-in-out infinite; }
.eb-screen { height: 100%; border-radius: 15px; background: linear-gradient(160deg, #6d5cff, #b06bff); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: 4px; }
.eb-screen small { font-size: 9.5px; opacity: .85; font-weight: 600; }
.eb-screen b { font-size: 14px; letter-spacing: 2px; }
.eb-mail { display: grid; grid-template-columns: repeat(3, 44px); gap: 8px; animation: float 6s ease-in-out infinite; }
.eb-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px dashed var(--border-2); }
.eb-step { display: flex; align-items: center; gap: 7px; padding: 13px 14px; font-size: 12.5px; font-weight: 600; color: var(--text); }
.eb-step + .eb-step { border-left: 1px dashed var(--border-2); }
.eb-step svg { color: var(--brand); }
.eb-n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.empty-banner.mail .eb-n { background: #ff7a6b; }
.empty-banner.mail .eb-step svg { color: #e2582a; }
@media (max-width: 640px) { .eb-steps { grid-template-columns: minmax(0, 1fr); } .eb-step + .eb-step { border-left: 0; border-top: 1px dashed var(--border-2); } .eb-art { display: none; } }

/* =====================================================================
   Currency switcher (top menu)
   ===================================================================== */
.cur-select { position: relative; }
.cur-btn { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 10px 0 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font: 700 12.5px var(--font); cursor: pointer; transition: .15s; }
.cur-btn:hover { border-color: #cfc7ff; }
.cur-btn svg { transform: rotate(90deg); color: var(--muted); transition: transform .2s; }
.cur-select.open .cur-btn { border-color: var(--brand); box-shadow: var(--ring); }
.cur-select.open .cur-btn svg { transform: rotate(-90deg); }
.cur-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 230px; z-index: 40; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 6px; animation: pop .15s ease-out; }
.cur-item { width: 100%; display: flex; align-items: center; gap: 11px; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.cur-item:hover { background: var(--hover); }
.cur-item.active { background: var(--brand-soft); }
.cur-item.active svg { color: var(--brand); }
.cur-txt { flex: 1; min-width: 0; }
.cur-txt b { display: block; font-size: 13px; }
.cur-txt small { display: block; font-size: 11.5px; color: var(--muted); }
.cur-coin { width: 22px; height: 16px; border-radius: 4px; display: grid; place-items: center; background: #26a17b; color: #fff; font-size: 11px; font-weight: 800; flex: none; }
@media (max-width: 560px) { .cur-btn { padding: 0 8px; } .cur-btn svg { display: none; } }
.fx-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.fx-row .muted { display: inline-flex; align-items: center; gap: 4px; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-foot { position: relative; margin-top: 8px; background: var(--side); color: var(--side-text); overflow: hidden; }
.site-foot::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 100% 0%, rgba(139, 92, 246, .28) 0%, rgba(139,92,246,0) 60%),
              radial-gradient(50% 70% at 0% 100%, rgba(56, 189, 248, .14) 0%, rgba(56,189,248,0) 60%); }
.foot-in { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.site-foot a { color: var(--side-text); transition: color .15s; }
.site-foot a:hover { color: #fff; }

.foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: 40px 0 0; padding: 24px 28px; border-radius: 22px; background: var(--grad-hero); color: #fff;
  box-shadow: 0 24px 50px -24px rgba(124, 58, 237, .9), inset 0 1px 0 rgba(255,255,255,.18); }
.cta-copy { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cta-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.foot-cta h3 { color: #fff; font-size: 19px; font-weight: 700; }
.foot-cta p { color: rgba(255,255,255,.82); margin-top: 3px; font-size: 13.5px; }
.cta-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.site-foot .btn.cta-light { background: #fff; color: var(--brand-ink); border-color: transparent; font-weight: 700; }
.site-foot .btn.cta-light:hover { color: var(--brand); background: #f6f4ff; }
.site-foot .btn.cta-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); font-weight: 700; }
.site-foot .btn.cta-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }

.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr 1fr; gap: 36px; padding: 44px 0 32px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font: 700 18px var(--head); letter-spacing: -.02em; }
.foot-brand .logo { background: var(--grad); }
.foot-about p { margin-top: 14px; max-width: 330px; font-size: 13.5px; line-height: 1.65; }
.foot-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.foot-trust span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #e4e2ff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); }
.foot-trust .i { color: #a78bfa; }

.foot-col { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.foot-col h4 { color: #fff; font: 600 13px var(--head); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.foot-col > a { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; width: fit-content; }
.foot-col > a:hover { transform: translateX(2px); }

.foot-svcs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.foot-svcs a { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 11px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); min-width: 0; }
.foot-svcs a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foot-svcs a:hover { background: rgba(255,255,255,.1); border-color: rgba(167,139,250,.45); }
.foot-svcs .svc-icon.xs { width: 24px; height: 24px; border: 0; border-radius: 7px; }

.foot-contacts { display: flex; flex-direction: column; gap: 10px; }
.foot-contacts:empty { display: none; }
.foot-contacts a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; width: fit-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.foot-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 7px 12px; width: fit-content; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: #b7f5d8; background: rgba(16, 185, 129, .1); border: 1px solid rgba(16, 185, 129, .25); }
.foot-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: foot-pulse 2s infinite; }
@keyframes foot-pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.foot-pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); }
.foot-pay .lbl { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a87bd; }
.pay-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chip { padding: 6px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }

.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #8a87bd; }
.foot-stats b { color: #fff; font-weight: 700; }
.foot-stats i { font-style: normal; margin: 0 6px; opacity: .5; }
.to-top { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .15s, transform .15s; }
.to-top .i { transform: rotate(-90deg); }
.to-top:hover { background: var(--brand); transform: translateY(-2px); }

@media (max-width: 980px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; }
}
@media (max-width: 560px) {
  .site-foot { margin-top: 0; }
  .foot-in { padding: 0 16px; }
  .foot-cta { margin-top: 28px; padding: 20px; border-radius: 18px; }
  .cta-acts, .cta-acts .btn { width: 100%; }
  .cta-acts .btn { justify-content: center; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 0 24px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; padding-right: 56px; }
  .to-top { position: absolute; right: 16px; bottom: 24px; }
}
.auth-foot { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--faint); }

/* =====================================================================
   Phone layout
   ===================================================================== */
.mtabs { display: none; }
@media (max-width: 760px) {
  /* One-row header; page links move to the bottom tab bar */
  body.has-tabs .topnav-in { flex-wrap: nowrap; height: 58px; padding: 0 14px; gap: 10px; }
  body.has-tabs .topnav .links { display: none; }
  .nav-right { gap: 8px; }
  .balance-chip { padding: 7px 10px; font-size: 13px; }
  body.has-tabs { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mtabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--border); box-shadow: 0 -10px 30px -18px rgba(16, 17, 48, .3); }
  .mtabs a { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px;
    color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
  .mtabs a.active { color: var(--brand); }
  .mtabs a.active::before { content: ''; position: absolute; z-index: -1; top: 2px; left: 50%; width: 48px; height: 30px; margin-left: -24px; border-radius: 10px; background: var(--brand-soft); }
  .mtabs .count { position: absolute; top: 0; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 5px; font-size: 10px; border: 2px solid #fff; }
  .to-top { display: none; }
  .foot-bottom { padding-right: 0; }

  /* Tables become stacked cards */
  .table-wrap { overflow: visible; }
  table.resp thead { display: none; }
  table.resp, table.resp tbody, table.resp tr { display: block; width: 100%; }
  table.resp tr { padding: 10px 14px; margin-bottom: 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
  table.resp tbody tr:hover { background: var(--surface); }
  table.resp td { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 0; border: 0; white-space: normal; text-align: right; min-height: 30px; }
  table.resp td::before { content: attr(data-label); flex: none; text-align: left; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  table.resp td[data-label=""]::before { display: none; }
  table.resp td[data-label=""] { justify-content: flex-end; }
  table.resp td:empty { display: none; }
  table.resp td > * { min-width: 0; }
}
@media (max-width: 520px) {
  .stat .value { font-size: 20px; }
}
@media (max-width: 400px) {
  .topnav .brand .site-name { display: none; }
}
.notice { white-space: normal; }
@media (max-width: 760px) {
  /* compact 2-column cards */
  table.resp tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 16px; padding: 14px; }
  table.resp td { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 3px; padding: 0; min-height: 0; text-align: left; overflow-wrap: anywhere; }
  table.resp td::before { font-size: 10.5px; }
  table.resp td[data-label=""] { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; }
  table.resp td.wrap { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  /* Country / domain rows: name + price on top, buttons full width below */
  .list > .row { flex-wrap: wrap; gap: 10px 12px; }
  .list > .row > .grow { flex: 1 1 0; min-width: 0; }
  .list > .row > .actions { flex: 1 0 100%; }
  .list > .row > .actions .btn { flex: 1; justify-content: center; }
  .list { max-height: 64vh; }
  .partner { flex-wrap: wrap; gap: 8px 12px; }
  .partner .grow { flex: 1 1 140px; min-width: 0; }
}
.hint { display: block; line-height: 1.5; }
.hint > svg { vertical-align: -3px; margin-right: 6px; }
@media (max-width: 760px) {
  body.has-tabs #toasts { bottom: calc(78px + env(safe-area-inset-bottom)); }
  #toasts { right: 14px; left: 14px; align-items: stretch; }
}
@media (max-width: 560px) {
  .wallet-card .v { font-size: 32px; }
  .wallet-card .row2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .wallet-card .row2 > div { padding-right: 10px; font-size: 11.5px; }
  .wallet-card .row2 b { font-size: 13.5px; white-space: nowrap; }
  .foot-cta .cta-ic { display: none; }
}
@media (max-width: 760px) {
  .cur-menu { position: fixed; top: 62px; right: 12px; left: auto; width: min(260px, calc(100vw - 24px)); max-height: calc(100vh - 150px); overflow-y: auto; }
}
@media (max-width: 400px) {
  .phone { font-size: 20px; overflow-wrap: anywhere; }
}
@media (max-width: 560px) {
  .side-brand.on-art { display: flex; align-items: center; gap: 10px; font: 700 17px var(--head); color: #fff; }
  .auth-art { padding: 20px 18px 22px; }
  .auth-copy { padding: 16px 0 0; }
  .auth-copy h1 { font-size: 28px; margin: 14px 0 10px; }
  .auth-copy p { font-size: 14px; }
  .logos { margin-top: 16px; gap: 6px; }
  .logos .svc-icon { width: 34px; height: 34px; border-radius: 10px; }
  .auth-panel { padding: 22px 14px 28px; }
}
@media (max-width: 760px) {
  /* Admin panel: all sections visible as a 3 x 2 grid */
  body:not(.has-tabs) .links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: auto; overflow: visible; margin: 0; padding-bottom: 6px; gap: 0; }
  body:not(.has-tabs) .links a { justify-content: center; height: 38px; padding: 0 4px; }
  body:not(.has-tabs) .links a.active { background: var(--brand-soft); border-radius: 10px; color: var(--brand-ink); }
  body:not(.has-tabs) .links a.active::after { display: none; }
}

/* =====================================================================
   Rent a number
   ===================================================================== */
.rent-hero { background: linear-gradient(135deg, #eef4ff, #f3efff); border-color: #dcd5ff; }
.rent-hero .mail-ic { background: var(--grad); box-shadow: 0 8px 16px -8px rgba(96, 71, 236, .8); }
.rent-pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.rent-pick .eyebrow { margin-bottom: 7px; }
.rent-country { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 13px; border: 1px solid var(--border-2); background: var(--surface); font: 600 14px var(--font); color: var(--ink); cursor: pointer; transition: .15s; }
.rent-country:hover { border-color: var(--brand); box-shadow: var(--ring); }
.rent-country > span { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: left; }
.rent-country .i { color: var(--faint); transform: rotate(90deg); }
.rent-hours { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
.rent-hours::-webkit-scrollbar { display: none; }
.rent-hours button { flex: 1 0 auto; }
.row.rent-full { border-color: #e4defe; background: linear-gradient(135deg, #faf8ff, #fff); }
.rent-c { width: 100%; text-align: left; font: inherit; }
.rent-sum { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.rent-sum b { color: var(--ink); }
.rent-sum .muted { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.rent-rules { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 10px; font-size: 13px; color: var(--text); }
.rent-rules li { display: flex; gap: 10px; align-items: flex-start; }
.rent-rules .i { color: var(--brand); margin-top: 2px; flex: none; }
.rent-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); }
.rent-msgs { display: grid; gap: 8px; margin: 12px 0; }
.rent-msg { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); }
.rent-msg.new { border-color: #cfc7ff; background: var(--brand-soft); }
.rent-msg .rm-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rent-msg .rm-top b { font-size: 18px; color: var(--brand-ink); letter-spacing: .04em; }
.rent-msg .rm-text { margin-top: 6px; font-size: 13px; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .mtabs .count { left: calc(50% + 4px); }
}
#rent-list .row .title { white-space: normal; flex-wrap: wrap; row-gap: 4px; }

/* =====================================================================
   Promo banners v2: living gradients, per-topic art, animated copy
   ===================================================================== */
.promo { min-height: 268px; border-radius: 22px; isolation: isolate; box-shadow: 0 24px 50px -26px rgba(30, 20, 90, .55); }
.slide { padding: 34px 38px 52px; gap: 18px; }
.slide::before, .slide::after { display: none; }
.slide .bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.slide .bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.2px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%); mask-image: linear-gradient(100deg, transparent 30%, #000 85%); }
.slide .bg i { position: absolute; border-radius: 50%; filter: blur(42px); opacity: .75; animation: blob 14s ease-in-out infinite alternate; }
.slide .bg .b1 { width: 340px; height: 340px; right: -70px; top: -140px; background: var(--g1); }
.slide .bg .b2 { width: 280px; height: 280px; left: 32%; bottom: -190px; background: var(--g2); animation-duration: 18s; }
.slide .bg .b3 { width: 200px; height: 200px; left: -70px; top: -80px; background: var(--g3); animation-duration: 22s; }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(34px, 22px) scale(1.15); } 100% { transform: translate(-22px, 12px) scale(.94); } }

.slide.k-providers { background: linear-gradient(125deg, #3b2bd9 0%, #6d3df5 50%, #a855f7 100%); --g1: #ec4899; --g2: #38bdf8; --g3: #818cf8; }
.slide.k-rent { background: linear-gradient(125deg, #14123f 0%, #2e2a8c 55%, #4f46e5 100%); --g1: #22d3ee; --g2: #a855f7; --g3: #6366f1; }
.slide.k-usa { background: linear-gradient(125deg, #0a1a4a 0%, #1638a8 55%, #2563eb 100%); --g1: #f43f5e; --g2: #60a5fa; --g3: #1e40af; }
.slide.k-gold { background: linear-gradient(125deg, #1a1206 0%, #3a2709 55%, #6b4510 100%); --g1: #f5b02e; --g2: #fde68a; --g3: #b45309; }
.slide.k-refund { background: linear-gradient(125deg, #053b2e 0%, #047857 55%, #10b981 100%); --g1: #6ee7b7; --g2: #22d3ee; --g3: #065f46; }
.slide.k-topup { background: linear-gradient(125deg, #082f49 0%, #0369a1 55%, #0ea5e9 100%); --g1: #f472b6; --g2: #a78bfa; --g3: #0c4a6e; }

.slide .tag { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); color: #fff; backdrop-filter: blur(6px); }
.slide.k-gold .tag { background: rgba(255, 214, 107, .14); border-color: rgba(255, 214, 107, .45); color: #ffd66b; }
.slide.k-rent .tag { background: rgba(34, 211, 238, .14); border-color: rgba(34, 211, 238, .45); color: #a5f3fc; }
.slide h2 { font-size: 31px; line-height: 1.12; margin: 14px 0 10px; text-wrap: balance; }
.slide h2 .hl { background: linear-gradient(90deg, #fff7c2, #ffd66b); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.slide.k-rent h2 .hl { background-image: linear-gradient(90deg, #a5f3fc, #c4b5fd); }
.slide.k-usa h2 .hl { background-image: linear-gradient(90deg, #ffffff, #fda4af); }
.slide.k-refund h2 .hl { background-image: linear-gradient(90deg, #d1fae5, #6ee7b7); }
.slide.k-topup h2 .hl { background-image: linear-gradient(90deg, #fbcfe8, #f9a8d4); }
.slide p { color: rgba(255,255,255,.86); max-width: 440px; }
.slide .cta { gap: 8px; padding: 11px 18px; border-radius: 12px; font-weight: 700; }
.slide .cta .i { transition: transform .2s; }
.slide .cta:hover .i { transform: translateX(3px); }
.slide.k-gold .cta { background: var(--gold-grad); border-color: transparent; color: #4b2c00; }
.slide.k-providers .cta, .slide.k-rent .cta, .slide.k-usa .cta, .slide.k-refund .cta, .slide.k-topup .cta { background: #fff; color: var(--ink); }

/* entrance: copy and art glide in each time a banner becomes active */
.slide .copy > * { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1); }
.slide.on .copy > * { opacity: 1; transform: none; }
.slide.on .copy > :nth-child(2) { transition-delay: .08s; }
.slide.on .copy > :nth-child(3) { transition-delay: .16s; }
.slide.on .copy > :nth-child(4) { transition-delay: .24s; }
.slide .art { width: 272px; height: 200px; opacity: 0; translate: 28px 0; transition: opacity .7s .15s, translate .7s .15s cubic-bezier(.2, .8, .2, 1); }
.slide.on .art { opacity: 1; translate: 0 0; }

/* progress dots */
.promo-dots { left: 38px; bottom: 20px; }
.promo-dots button { position: relative; overflow: hidden; background: rgba(255,255,255,.38); }
.promo-dots button.on { width: 34px; background: rgba(255,255,255,.35); }
.promo-dots button i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #fff; border-radius: inherit; }
.promo-dots button.on i { animation: promoProg var(--promo-ms, 6000ms) linear forwards; }
.promo.paused .promo-dots button.on i { animation-play-state: paused; }
@keyframes promoProg { to { width: 100%; } }
.promo-nav button { backdrop-filter: blur(6px); }

/* phone: big glass icon instead of the picture */
.slide .m-ic { display: none; position: absolute; z-index: 2; top: 20px; right: 18px; width: 50px; height: 50px; border-radius: 16px; place-items: center; color: #fff;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); box-shadow: 0 14px 26px -14px rgba(0,0,0,.6); animation: float 5s ease-in-out infinite; }
.slide.k-gold .m-ic { color: #ffd66b; }

/* shared art pieces */
.art .chip-float { position: absolute; z-index: 3; left: 50%; bottom: -8px; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; box-shadow: 0 14px 26px -12px rgba(0,0,0,.55); }
.art .chip-float .i { color: var(--brand); }

/* providers: 2x2 glass tiles */
.a-prov .tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.a-prov .tile { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 16px; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.6); animation: float 6s ease-in-out infinite; min-width: 0; }
.a-prov .tile .prov-av { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
.a-prov .tile b { font: 700 13px var(--head); margin-top: 4px; }
.a-prov .tile small { font-size: 10.5px; color: rgba(255,255,255,.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* rent: phone receiving SMS + calendar */
.a-rent .phone-mock { position: absolute; right: 24px; top: -10px; width: 184px; height: 218px; padding: 14px 12px; border-radius: 26px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); box-shadow: 0 30px 50px -24px rgba(0,0,0,.7); overflow: hidden; }
.a-rent .pm-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #fff; font-size: 11.5px; margin-bottom: 10px; }
.a-rent .pm-pill { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 999px; background: #fff; color: var(--brand-ink); font-size: 10px; font-weight: 800; }
.a-rent .pm-sms { display: flex; align-items: center; gap: 8px; padding: 7px 9px; margin-bottom: 7px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 10px 20px -12px rgba(0,0,0,.5); opacity: 0; }
.a-rent .pm-sms small { display: block; font-size: 9.5px; color: var(--muted); font-weight: 600; }
.a-rent .pm-sms b { font-family: var(--mono); color: var(--brand); letter-spacing: 1px; font-size: 13px; }
.slide.on .a-rent .pm-sms { animation: smsIn .5s cubic-bezier(.2, .8, .2, 1) forwards; }
.slide.on .a-rent .pm-sms:nth-child(2) { animation-delay: .5s; }
.slide.on .a-rent .pm-sms:nth-child(3) { animation-delay: 1.3s; }
.slide.on .a-rent .pm-sms:nth-child(4) { animation-delay: 2.1s; }
@keyframes smsIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.a-rent .cal-badge { position: absolute; left: 4px; bottom: 10px; width: 72px; border-radius: 16px; overflow: hidden; text-align: center; background: #fff; box-shadow: 0 20px 34px -16px rgba(0,0,0,.6); animation: float 6s ease-in-out infinite; }
.a-rent .cal-badge small { display: block; padding: 4px 0; background: #ef4444; color: #fff; font: 800 10px var(--font); letter-spacing: .12em; }
.a-rent .cal-badge b { display: block; font: 800 30px/52px var(--head); color: var(--ink); }

/* usa: flag globe with orbiting apps */
.a-usa .globe { position: absolute; left: 50%; top: 50%; width: 124px; height: 124px; margin: -66px 0 0 -62px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 10px rgba(255,255,255,.1), 0 0 0 24px rgba(255,255,255,.05), 0 30px 50px -20px rgba(0,0,0,.7); }
.a-usa .globe img, .a-usa .globe .flag { width: 100%; height: 100%; object-fit: cover; border-radius: 0; border: 0; }
.a-usa .orbit { position: absolute; width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 14px 26px -12px rgba(0,0,0,.55); animation: float 5s ease-in-out infinite; }
.a-usa .orbit .svc-icon { border: 0; box-shadow: none; width: 32px; height: 32px; padding: 3px; }
.a-usa .o1 { left: 12px; top: 6px; }
.a-usa .o2 { right: 8px; top: 22px; animation-delay: -1.6s; }
.a-usa .o3 { right: 34px; bottom: 2px; animation-delay: -3.2s; }
.a-usa .bubble { left: -6px; bottom: 6px; }

/* gold: shining medal with sparkles */
.a-gold .medal { overflow: hidden; }
.a-gold .shine { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%); background-size: 260% 100%; animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 130% 0; } 60%, 100% { background-position: -130% 0; } }
.a-gold .spark { position: absolute; color: #ffd66b; font-size: 16px; animation: twinkle 2.4s ease-in-out infinite; text-shadow: 0 0 12px rgba(255, 214, 107, .8); }
.a-gold .s1 { left: 22px; top: 16px; }
.a-gold .s2 { right: 26px; top: 8px; animation-delay: .6s; font-size: 12px; }
.a-gold .s3 { left: 36px; bottom: 34px; animation-delay: 1.2s; font-size: 11px; }
.a-gold .s4 { right: 14px; bottom: 50px; animation-delay: 1.8s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
.a-gold .chip-float .i { color: var(--gold); }

/* refund: ring + "money returned" toast */
.a-refund .ring { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -86px 0 0 -75px; border: 0; animation: none; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.a-refund .ring::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.5); animation: spin 30s linear infinite; }
.a-refund .ring-in { position: relative; width: 112px; height: 112px; color: #047857; }
.a-refund .toast-mock { position: absolute; right: -4px; bottom: 0; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 14px; background: #fff; color: var(--ink);
  box-shadow: 0 18px 30px -14px rgba(0,0,0,.55); animation: float 6s ease-in-out infinite; animation-delay: -2s; }
.a-refund .tm-ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.a-refund .toast-mock small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.a-refund .toast-mock b { font-size: 12.5px; }

/* top-up: wallet card + payment chips */
.a-topup .wallet-mock { position: absolute; left: 50%; top: 50%; width: 196px; height: 118px; margin: -66px 0 0 -98px; padding: 16px; border-radius: 18px; rotate: -6deg;
  background: linear-gradient(135deg, #ffffff, #eef2ff); color: var(--ink); box-shadow: 0 30px 50px -20px rgba(0,0,0,.65); }
.a-topup .wallet-mock small { color: var(--muted); font-size: 11px; font-weight: 600; }
.a-topup .wallet-mock b { display: block; font: 800 21px var(--head); margin: 2px 0 10px; letter-spacing: -.02em; }
.a-topup .wm-plus { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; }
.a-topup .pay { z-index: 2; }
.a-topup .p1 { left: -6px; top: 0; }
.a-topup .p2 { right: -6px; top: 12px; animation-delay: -2s; }
.a-topup .p3 { left: 6px; bottom: 2px; animation-delay: -4s; }
.a-topup .p4 { right: 10px; bottom: -6px; animation-delay: -1s; }

/* side cards */
.offer .o-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; background: var(--grad); box-shadow: 0 8px 16px -8px rgba(96, 71, 236, .8); }
.offer.rentc { background: linear-gradient(135deg, #eef2ff 0%, #f5f0ff 100%); border-color: #ddd6fe; }
.offer.rentc .go { color: var(--brand); }
.offer.rentc::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .22), rgba(139, 92, 246, 0) 70%); }
.offer.dark .o-ic { background: rgba(255,255,255,.12); box-shadow: none; }
.offer.dark .o-top p { color: #b9b5e6; }
.offer .o-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.offer .o-chips { display: flex; gap: 4px; }
.offer .o-chips span { padding: 3px 8px; border-radius: 7px; font-size: 10.5px; font-weight: 700; color: #d9d5ff; background: rgba(255,255,255,.1); }

@media (max-width: 1100px) { .slide .art { scale: .85; transform: none; } }
@media (max-width: 860px) and (min-width: 641px) { .slide .art { scale: .75; margin: -20px -20px -20px 0; } }
@media (max-width: 640px) {
  .promo { min-height: 0; border-radius: 18px; }
  .slide { padding: 22px 20px 54px; min-height: 236px; align-items: flex-start; }
  .slide .art { display: none; }
  .slide .m-ic { display: grid; }
  .slide .copy .tag { margin-right: 62px; }
  .slide h2 { font-size: 23px; margin-top: 16px; }
  .slide p { font-size: 13.5px; }
  .slide .cta { margin-top: 16px; }
  .promo-dots { left: 20px; bottom: 22px; }
  .promo-nav { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide .bg i, .slide .m-ic, .a-prov .tile, .a-rent .cal-badge, .a-usa .orbit, .a-gold .shine, .a-gold .spark, .a-refund .ring::before, .a-refund .toast-mock { animation: none; }
  .slide .copy > *, .slide .art { transition: none; }
}
.a-prov .tile { align-items: flex-start; text-align: left; }
.a-prov .tiles { margin-top: 6px; }
.a-rent .pm-head { flex-wrap: nowrap; white-space: nowrap; font-size: 11px; }
.a-rent .pm-head b { overflow: hidden; text-overflow: ellipsis; }
.a-rent .pm-pill { flex: none; }
.a-prov .tile { overflow: hidden; }
.a-prov .tile small, .a-prov .tile b { max-width: 100%; }
/* top menu never pushes the page wider; tighter on small laptops */
.topnav .links { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.topnav .links::-webkit-scrollbar { display: none; }
.topnav .links a.active::after { bottom: 0; }
.nav-right { flex: none; }
@media (max-width: 1200px) and (min-width: 761px) { .topnav-in { gap: 16px; } .links a { padding: 0 9px; font-size: 13.5px; } .links .new-pill { display: none; } }
@media (max-width: 1100px) and (min-width: 761px) { .topnav .brand .site-name { display: none; } }

/* =====================================================================
   Email code + forgot password screens
   ===================================================================== */
.pw-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.link-btn { border: 0; background: none; padding: 0; font: 600 13px var(--font); color: var(--brand); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.link-btn:disabled { color: var(--faint); cursor: default; text-decoration: none; }
.link-btn.muted { color: var(--muted); }
.pw-label .link-btn { font-size: 12.5px; }
.auth-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; background: var(--grad); box-shadow: 0 12px 24px -12px rgba(96, 71, 236, .9); }
.ink { color: var(--ink); overflow-wrap: anywhere; }
.code-input { text-align: center; font: 700 28px var(--mono) !important; letter-spacing: .5em; padding-left: .5em !important; height: 62px; }
.code-input::placeholder { color: var(--border-2); letter-spacing: .35em; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.auth-hint { margin-top: 14px; text-align: center; }
#view-verify h2, #view-forgot h2 { font-size: 24px; }
@media (max-width: 400px) { .code-input { font-size: 24px !important; letter-spacing: .4em; } }
.mail-test { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* =====================================================================
   Dark theme (html[data-theme="dark"]); light stays the default
   ===================================================================== */
.theme-btn .i { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.theme-btn:hover .i { transform: rotate(-20deg); }
.auth-panel { position: relative; }
.auth-theme { position: absolute; top: 18px; right: 18px; z-index: 2; }

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0c1a;
  --surface: #14152b;
  --surface-2: #1a1b35;
  --hover: #21223f;
  --ink: #f3f3ff;
  --text: #d5d6ee;
  --muted: #9b9dc2;
  --faint: #6d6f95;
  --border: #262849;
  --border-2: #34365e;
  --brand: #7d6dff;
  --brand-2: #9a7bff;
  --brand-soft: #231f56;
  --brand-ink: #cbc2ff;
  --gold: #f5b947;
  --gold-soft: #2d230c;
  --ok: #34d399;  --ok-soft: #0d2e24;
  --warn: #f6ad3c; --warn-soft: #30230b;
  --bad: #f8717f;  --bad-soft: #351620;
  --sky: #38bdf8; --sky-soft: #0b2a3e;
  --pink: #f472b6; --pink-soft: #36122a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 3px rgba(0, 0, 0, .35), 0 12px 30px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .8);
  --ring: 0 0 0 4px rgba(125, 109, 255, .22);
}
html[data-theme="dark"] body { background: var(--bg); }

/* banners, the login art and the footer keep their own dark-on-white cards */
html[data-theme="dark"] .slide, html[data-theme="dark"] .auth-art, html[data-theme="dark"] .eb-art {
  --ink: #0f1024; --text: #2a2d45; --muted: #6b6f8a; --brand: #6047ec; --brand-ink: #3d2bb5; --brand-soft: #efecff; --border: #e7e8f3;
  --ok: #0f9f6e; --ok-soft: #e3f8ef; --gold: #a96b05;
}

/* bars and panels */
html[data-theme="dark"] .topnav { background: rgba(20, 21, 43, .86); }
html[data-theme="dark"] .mtabs { background: rgba(20, 21, 43, .95); }
html[data-theme="dark"] .mtabs .count { border-color: var(--surface); }
html[data-theme="dark"] .toast { background: #23244a; border: 1px solid var(--border-2); }
html[data-theme="dark"] .toast.error { background: #7a1f2e; border-color: #9b2c3e; }
html[data-theme="dark"] .modal-bg { background: rgba(3, 3, 12, .7); }
html[data-theme="dark"] input:focus, html[data-theme="dark"] select:focus, html[data-theme="dark"] textarea:focus { background: var(--surface-2); }
html[data-theme="dark"] select option { background: var(--surface); color: var(--ink); }
html[data-theme="dark"] tbody tr:hover, html[data-theme="dark"] .svc-card:hover { background: var(--hover); }
html[data-theme="dark"] .notice { border-color: rgba(246, 173, 60, .3); }
html[data-theme="dark"] .info { border-color: #3a3380; }

/* tinted cards and heroes */
html[data-theme="dark"] .partners { background: linear-gradient(var(--surface-2), var(--surface)); border-color: #3a3380; }
html[data-theme="dark"] .row.clickable:hover, html[data-theme="dark"] .row.open { border-color: #3a3380; }
html[data-theme="dark"] .selected-service { background: linear-gradient(135deg, #1f1b4c, var(--surface)); border-color: #322c6e; }
html[data-theme="dark"] .code-box.got { background: linear-gradient(135deg, #221d52, #2b1d4a); box-shadow: inset 0 0 0 1px #3a3380; }
html[data-theme="dark"] .method.active, html[data-theme="dark"] .server-tab.active { background: var(--brand-soft); }
html[data-theme="dark"] .prov-current { background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
html[data-theme="dark"] .ps-card:hover { border-color: #3a3380; }
html[data-theme="dark"] .offer.gold { background: linear-gradient(135deg, #2a210c, #3b2c0f); border-color: #5a4517; }
html[data-theme="dark"] .offer.gold::after { color: rgba(245, 176, 46, .12); }
html[data-theme="dark"] .offer.rentc { background: linear-gradient(135deg, #1b1d4c, #261c4d); border-color: #34306c; }
html[data-theme="dark"] .mail-hero { background: linear-gradient(135deg, #2b1a1f, #2a1832); border-color: #4a2a33; }
html[data-theme="dark"] .rent-hero { background: linear-gradient(135deg, #16204c, #231a4c); border-color: #322c6e; }
html[data-theme="dark"] .row.rent-full { background: linear-gradient(135deg, #1e1a4b, var(--surface)); border-color: #322c6e; }
html[data-theme="dark"] .mail-chip { background: #3a2018; color: #ff9f80; }
html[data-theme="dark"] .empty-banner { background: linear-gradient(160deg, #1d1948 0%, var(--surface) 60%); border-color: #2f2a66; }
html[data-theme="dark"] .empty-banner.mail { background: linear-gradient(160deg, #2b1a1f 0%, var(--surface) 60%); border-color: #4a2a33; }
html[data-theme="dark"] .empty-banner.mail .eb-tag { background: #3a2018; color: #ff9f80; }
html[data-theme="dark"] .rent-msg.new { border-color: #3a3380; }
html[data-theme="dark"] .rent-sum { background: var(--surface-2); }
html[data-theme="dark"] .wallet-card { background: var(--surface); }
html[data-theme="dark"] .balance-chip, html[data-theme="dark"] .cur-btn { background: var(--surface-2); }

/* the service and email-provider logos stay on white tiles so dark logos stay visible */
html[data-theme="dark"] .svc-icon:not(.letter), html[data-theme="dark"] .dom-logo { background: #fff; border-color: transparent; }

/* footer sits a shade darker than the page */
html[data-theme="dark"] .site-foot { background: #07080f; }
html[data-theme="dark"] .auth-panel { background: var(--bg); }
.topnav-in { gap: 20px; }
.links a { padding: 0 10px; }
.links a.active::after { left: 10px; right: 10px; }
@media (max-width: 1200px) and (min-width: 761px) { .topnav-in { gap: 14px; } .links a { padding: 0 7px; font-size: 13px; } .links a.active::after { left: 7px; right: 7px; } }

/* Facebook banners (admin's own provider): blue phone with Facebook codes + "Low price" sticker */
.slide.k-facebook { background: linear-gradient(125deg, #062a7a 0%, #0b5cff 55%, #3b82f6 100%); --g1: #38bdf8; --g2: #a78bfa; --g3: #1e40af; }
.slide.k-fbmarket { background: linear-gradient(125deg, #1e1065 0%, #5b21b6 50%, #c026d3 100%); --g1: #f472b6; --g2: #60a5fa; --g3: #7c3aed; }
.slide.k-facebook h2 .hl { background-image: linear-gradient(90deg, #fef08a, #facc15); }
.slide.k-fbmarket h2 .hl { background-image: linear-gradient(90deg, #fbcfe8, #fde68a); }
.slide.k-facebook .cta, .slide.k-fbmarket .cta { background: #fff; color: #0b5cff; }
.slide.k-fbmarket .cta { color: #6d28d9; }
.a-fb .fb-phone { position: absolute; right: 8px; top: -14px; width: 190px; height: 222px; padding: 12px 11px; border-radius: 26px; background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); box-shadow: 0 30px 50px -24px rgba(0,0,0,.7); overflow: hidden; transform: rotate(-4deg); }
.a-fb .fp-head { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: #fff; font: 700 12px var(--head); white-space: nowrap; }
.a-fb .fp-head .svc-icon { width: 24px; height: 24px; border-radius: 7px; background: #fff; border: 0; padding: 2px; }
.a-fb .fp-head .flag { width: 22px; height: 15px; border-radius: 3px; margin-left: auto; }
.a-fb .fp-sms { display: flex; align-items: center; gap: 8px; padding: 6px 10px; margin-bottom: 6px; border-radius: 13px; background: #fff; color: var(--ink);
  box-shadow: 0 10px 20px -12px rgba(0,0,0,.5); opacity: 0; border-left: 4px solid #0b5cff; }
.a-fb.mk .fp-sms { border-left-color: #c026d3; }
.a-fb .fp-sms small { display: block; font-size: 9.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.a-fb .fp-sms b { font-family: var(--mono); color: #0b5cff; letter-spacing: 1.5px; font-size: 14px; }
.a-fb.mk .fp-sms b { color: #7c3aed; }
.slide.on .a-fb .fp-sms { animation: smsIn .5s cubic-bezier(.2, .8, .2, 1) forwards; }
.a-fb .fb-burst { position: absolute; left: -6px; top: 92px; z-index: 2; width: 86px; height: 86px; display: grid; place-items: center; text-align: center; color: #7c0a02;
  font: 800 11px var(--font); letter-spacing: .06em; text-transform: uppercase; filter: drop-shadow(0 14px 18px rgba(0,0,0,.4)); animation: fbWobble 4s ease-in-out infinite; }
.a-fb .fb-burst::before { content: ""; position: absolute; inset: 0; background: #fde047; z-index: -1;
  clip-path: polygon(50% 0%, 61% 15%, 79% 9%, 80% 27%, 98% 32%, 88% 48%, 98% 65%, 80% 70%, 79% 90%, 61% 84%, 50% 100%, 39% 84%, 21% 90%, 20% 70%, 2% 65%, 12% 48%, 2% 32%, 20% 27%, 21% 9%, 39% 15%); }
.a-fb .fb-burst b { display: block; font: 800 19px/1 var(--head); letter-spacing: 0; }
.a-fb.mk .fb-burst { color: #4a044e; }
.a-fb.mk .fb-burst::before { background: #fbcfe8; }
.a-fb .chip-float { left: 58%; bottom: -16px; }
@keyframes fbWobble { 0%, 100% { transform: rotate(-10deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .a-fb .fb-burst { animation: none; } .a-fb .fp-sms { opacity: 1; } }

/* Buy Email: choose the email provider (Email A = SMSBower, Email B = SMS Activate) */
.mail-provs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: -2px 0 16px; }
.mail-prov { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card);
  color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.mail-prov:hover { border-color: #f9a8d4; }
.mail-prov.on { border-color: #ec4899; background: linear-gradient(135deg, #fff4ec, #fdf0ff); box-shadow: 0 10px 22px -16px rgba(236, 72, 153, .9); }
.mail-prov .mp-av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; font: 800 15px var(--head);
  background: linear-gradient(135deg, #ff6aa2, #ff9a5a); }
.mail-prov.s1 .mp-av { background: linear-gradient(135deg, #6366f1, #22d3ee); }
.mail-prov .pc-txt { min-width: 0; }
.mail-prov b { display: block; font: 700 13.5px var(--head); }
.mail-prov small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-prov .mp-check { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #ec4899; color: #fff; box-shadow: 0 4px 10px -4px rgba(236,72,153,.9); }
[data-theme="dark"] .mail-prov.on { background: rgba(236, 72, 153, .12); }

/* =====================================================================
   Dashboard provider cards v2: bold gradient tiles
   ===================================================================== */
.prov-strip { margin-bottom: 26px; }
.ps-head { margin-bottom: 14px; }
.ps-head h2 { font-size: 22px; margin: 6px 0 2px; }
.ps-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font: 700 11.5px var(--font); letter-spacing: .02em; }
.ps-grid { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 16px; }
.ps-card { --c1: #4c3bdb; --c2: #8b5cf6; --glow: rgba(124, 92, 255, .55);
  flex-direction: column; align-items: stretch; gap: 0; min-height: 188px; padding: 18px 18px 16px; border: 0; border-radius: 22px; color: #fff; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.22), transparent 55%), linear-gradient(145deg, var(--c1), var(--c2));
  box-shadow: 0 18px 34px -20px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
.ps-card::after { display: none; }
.ps-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.3px); background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(160deg, transparent 35%, #000 100%); mask-image: linear-gradient(160deg, transparent 35%, #000 100%); }
.ps-card:hover { transform: translateY(-5px); box-shadow: 0 28px 44px -22px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); border-color: transparent; }
.ps-card.s0 { --c1: #3b2bd9; --c2: #8b5cf6; --glow: rgba(109, 76, 255, .6); }
.ps-card.s1 { --c1: #0369a1; --c2: #22b8f0; --glow: rgba(14, 165, 233, .6); }
.ps-card.s2 { --c1: #047857; --c2: #22c55e; --glow: rgba(16, 185, 129, .6); }
.ps-card.s3 { --c1: #be185d; --c2: #f472b6; --glow: rgba(236, 72, 153, .6); }
.ps-card.fb { --c1: #0a3fb8; --c2: #2f7bff; --glow: rgba(24, 119, 242, .65); }
.ps-card.cu { --c1: #7c2d12; --c2: #f97316; --glow: rgba(249, 115, 22, .6); }
.ps-mark { position: absolute; right: -8px; bottom: -34px; z-index: -1; font: 900 150px/1 var(--head); color: rgba(255,255,255,.12); pointer-events: none; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.ps-card:hover .ps-mark { transform: translate(-6px, -6px) rotate(-6deg); }
.ps-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.ps-av { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; flex: none; font: 900 22px var(--head); color: #fff;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.38); backdrop-filter: blur(6px); box-shadow: 0 10px 20px -10px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.ps-av .svc-icon { width: 34px; height: 34px; border: 0; box-shadow: none; border-radius: 10px; background: #fff; padding: 3px; }
.ps-perk { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; white-space: nowrap;
  background: rgba(255,255,255,.95); color: var(--c1); font: 800 11px var(--font); letter-spacing: .01em; box-shadow: 0 6px 14px -8px rgba(0,0,0,.45); }
.ps-card.s0 .ps-perk { background: linear-gradient(90deg, #ffe08a, #ffc94a); color: #5a3500; }
.ps-txt { display: block; margin: 16px 0 14px; min-width: 0; }
.ps-txt b { display: block; font: 800 19px/1.15 var(--head); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 10px rgba(0,0,0,.18); }
.ps-txt small { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.86); }
.ps-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 11px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); font: 700 12.5px var(--font); transition: background .15s, color .15s; }
.ps-card:hover .ps-cta { background: #fff; color: var(--c1); }
.ps-card:hover .ps-cta .i { transform: translateX(2px); }
.ps-cta .i { transition: transform .15s; }
@media (max-width: 520px) {
  .ps-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .ps-card { min-height: 168px; padding: 14px; border-radius: 18px; }
  .ps-av { width: 42px; height: 42px; border-radius: 13px; font-size: 19px; }
  .ps-perk { display: none; }
  .ps-txt { margin: 12px 0 10px; }
  .ps-txt b { font-size: 16px; }
  .ps-txt small { font-size: 11.5px; }
  .ps-mark { font-size: 120px; bottom: -28px; }
}
@media (prefers-reduced-motion: reduce) { .ps-card, .ps-mark { transition: none; } }

/* =====================================================================
   Buy Number provider picker v2: matches the dashboard provider cards
   ===================================================================== */
.pv { --c1: #3b2bd9; --c2: #8b5cf6; --glow: rgba(109, 76, 255, .55); --soft: #f1edff; }
.pv.s1 { --c1: #0369a1; --c2: #22b8f0; --glow: rgba(14, 165, 233, .55); --soft: #e6f6fd; }
.pv.s2 { --c1: #047857; --c2: #22c55e; --glow: rgba(16, 185, 129, .55); --soft: #e4f8ee; }
.pv.s3 { --c1: #be185d; --c2: #f472b6; --glow: rgba(236, 72, 153, .55); --soft: #fdeaf3; }
.pv.fb { --c1: #0a3fb8; --c2: #2f7bff; --glow: rgba(24, 119, 242, .6); --soft: #e8f0ff; }
.pv.cu { --c1: #9a3412; --c2: #f97316; --glow: rgba(249, 115, 22, .55); --soft: #fff1e6; }

/* round badge */
.pv-av { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; font: 900 19px var(--head);
  background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.3), transparent 60%), linear-gradient(145deg, var(--c1), var(--c2));
  box-shadow: 0 10px 18px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.35); }
.pv-av .svc-icon { width: 30px; height: 30px; border: 0; box-shadow: none; border-radius: 9px; background: #fff; padding: 3px; }

/* the selected provider: a gradient tile */
.prov-current.pv { position: relative; overflow: hidden; isolation: isolate; padding: 13px 14px; gap: 13px; border: 0; border-radius: 18px; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.22), transparent 55%), linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 16px 30px -18px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .15s, box-shadow .15s; }
.prov-current.pv::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.17) 1px, transparent 1.3px); background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 100%); mask-image: linear-gradient(100deg, transparent 40%, #000 100%); }
.prov-current.pv:hover { transform: translateY(-1px); box-shadow: 0 20px 34px -18px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); border-color: transparent; }
.prov-select.open .prov-current.pv { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c2) 28%, transparent), 0 16px 30px -18px var(--glow); }
.prov-current .pc-mark { position: absolute; right: 108px; bottom: -30px; z-index: -1; font: 900 96px/1 var(--head); color: rgba(255,255,255,.12); pointer-events: none; }
.prov-current .pv-av { width: 46px; height: 46px; border-radius: 15px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); font-size: 20px; }
.prov-current.pv .pc-txt b { color: #fff; font-size: 16px; }
.prov-current.pv .pc-txt small { color: rgba(255,255,255,.85); font-size: 12px; }
.prov-current.pv .pc-switch { background: rgba(255,255,255,.95); color: var(--c1); padding: 7px 11px; border-radius: 11px; font-size: 12px; box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); }
.prov-select.open .prov-current.pv .pc-switch .i, .prov-select.open .prov-current.pv .pc-switch svg { transform: rotate(90deg); }

/* the list */
.prov-menu { padding: 10px; border-radius: 20px; }
.prov-menu .pm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 6px 8px 12px; font-size: 14px; }
.pm-count { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font: 800 12px var(--font); }
.pm-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.prov-menu .pm-item.pv { min-width: 0; }
.prov-menu .pm-item.pv { position: relative; gap: 12px; padding: 10px 12px; border-radius: 15px; border: 1.5px solid var(--border); background: var(--surface); transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.prov-menu .pm-item.pv::before { content: ""; position: absolute; left: -1.5px; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--c1), var(--c2)); opacity: 0; transition: opacity .15s; }
.prov-menu .pm-item.pv:hover { border-color: color-mix(in srgb, var(--c2) 45%, transparent); background: var(--soft); transform: translateX(2px); }
.prov-menu .pm-item.pv:hover::before, .prov-menu .pm-item.pv.active::before { opacity: 1; }
.prov-menu .pm-item.pv.active { border-color: var(--c2); background: var(--soft); box-shadow: 0 10px 22px -16px var(--glow); }
.prov-menu .pm-item .pc-txt b { font-size: 14.5px; }
.pv-perk { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; white-space: nowrap; flex: none; font: 800 10.5px var(--font);
  color: var(--c1); background: color-mix(in srgb, var(--c2) 14%, #fff); border: 1px solid color-mix(in srgb, var(--c2) 30%, transparent); }
.pv.s0 .pv-perk { color: #7a4b00; background: linear-gradient(90deg, #fff3c4, #ffe08a); border-color: #f5c84c; }
.prov-menu .pm-check { width: 22px; height: 22px; background: linear-gradient(145deg, var(--c1), var(--c2)); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.prov-menu .pm-item.active .pm-check { opacity: 1; transform: none; }
html[data-theme="dark"] .pv { --soft: rgba(255,255,255,.05); }
html[data-theme="dark"] .pv-perk { background: rgba(255,255,255,.08); color: #fff; }
@media (max-width: 520px) {
  .pv-perk { display: none; }
  .prov-current .pc-mark { right: 12px; }
}
