:root{
  --bg: #06070d;
  --bg-elev: #0d0f1a;
  --bg-card: #12142280;
  --border: #262a45;
  --text: #eef0ff;
  --muted: #8b8fb3;
  --blue: #3d8bff;
  --purple: #a259ff;
  --gradient: linear-gradient(135deg, #3d8bff 0%, #a259ff 100%);
  --success: #2be08d;
  --danger: #ff5c7a;
  --gold: #ffb020;
  --radius: 16px;
  --radius-sm: 10px;
}

*{box-sizing:border-box; margin:0; padding:0;}

html,body{
  height:100%;
  height:100dvh;
  background:var(--bg);
  color:var(--text);
  font-family:'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  overflow-x:hidden;
}

body{
  background-image:
    radial-gradient(circle at 15% 10%, rgba(61,139,255,0.10), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(162,89,255,0.12), transparent 45%);
}

button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
input, textarea{ font-family:inherit; }
a{ color:inherit; text-decoration:none; }
.hidden{ display:none !important; }
.muted{ color:var(--muted); }
.small{ font-size:12.5px; }

/* ---------- SCREENS ---------- */
.screen{
  display:none; width:100%;
  min-height:100vh; /* fallback for older browsers */
  min-height:100dvh; /* dynamic viewport height: prevents mobile address-bar
                         collapse from resizing the layout and yanking
                         centered content (like the splash logo) upward */
}
.screen.active{ display:block; }

/* ---------- SPLASH ---------- */
.splash{
  display:none; flex-direction:column; align-items:center; justify-content:center;
  min-height:100vh;
  min-height:100dvh;
  text-align:center; padding:24px; animation:fadeIn 0.6s ease;
}
.splash.active{ display:flex; }
@keyframes fadeIn{ from{opacity:0} to{opacity:1} }

/* Circular logo display
   aspect-ratio:1/1 + object-fit:cover forces every logo image into a true
   circle that's fully filled edge-to-edge, regardless of the source art's
   original width/height — no empty rim, no squished oval, no overflow. */
.splash-full-logo{
  position:relative;
  width:min(85vw, 360px);
  aspect-ratio:1/1;
  border-radius:50%;
  object-fit:cover;
  filter:drop-shadow(0 0 20px rgba(162,89,255,0.25));
  animation:logoRadiate 2.4s ease-in-out infinite;
}

@keyframes logoRadiate{
  0%, 100%{ box-shadow:0 0 0 0 rgba(162,89,255,0.45), 0 0 30px 6px rgba(162,89,255,0.25); }
  50%{ box-shadow:0 0 0 18px rgba(162,89,255,0), 0 0 46px 14px rgba(162,89,255,0.4); }
}

.logo-mark{
  width:180px;
  aspect-ratio:1/1;
  border-radius:50%;
  object-fit:cover;
  padding:0;
}
.logo-mark.small{
  width:120px;
  aspect-ratio:1/1;
  margin-bottom:8px;
  border-radius:50%;
  object-fit:cover;
}
.logo-mark.tiny{
  width:70px;
  aspect-ratio:1/1;
  margin:0 auto 10px;
  border-radius:50%;
  object-fit:cover;
}
.logo-mark.topbar{ width:32px; aspect-ratio:1/1; border-radius:50%; object-fit:cover; }
.tap-target{ user-select:none; -webkit-tap-highlight-color: transparent; }

.community-title{
  margin-top:6px; font-size:21px; font-weight:700;
  background:var(--gradient); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.community-title span.tap-target{ background:inherit; -webkit-background-clip:inherit; background-clip:inherit; color:inherit; }
.community-sub{ color:var(--muted); max-width:320px; margin:10px 0 26px; font-size:14px; line-height:1.5; }
.wa-btn{
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; max-width:320px; padding:14px; margin-bottom:12px;
  border:1px solid #1f7a4d55; border-radius:var(--radius-sm);
  background:#0d1f16; color:#5be89a; font-weight:600; font-size:14.5px;
  transition:transform .15s ease, border-color .15s ease;
}
.wa-btn:hover{ transform:translateY(-1px); border-color:#2be08d; }
.link-btn{ margin-top:14px; color:var(--blue); font-weight:600; font-size:14.5px; padding:6px 10px; user-select:none; }

/* ---------- AUTH ----------
   IMPORTANT: this must be scoped to .active. An unscoped ID selector here
   (#authScreen{display:flex}) has higher CSS specificity than the
   .screen.active{display:block} rule that's supposed to control visibility,
   so it was silently forcing these three screens to always render on top
   of whatever else was active -- that's what caused the login screen /
   admin code modal to stay visible and stack behind the dashboard,
   forcing a scroll to get past them. */
#authScreen.active, #adminAccessScreen.active, #deviceLimitScreen.active{
  display:flex; align-items:center; justify-content:center; min-height:100vh; padding:24px;
}
.auth-card{
  width:100%; max-width:380px; background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); padding:28px 24px; text-align:center; backdrop-filter: blur(12px);
}
.tabs{ display:flex; background:#181b2c; border-radius:999px; padding:4px; margin:18px 0 20px; }
.tab-btn{ flex:1; padding:9px 0; border-radius:999px; font-size:13.5px; font-weight:600; color:var(--muted); }

.google-btn{
  width:100%; display:flex; align-items:center; justify-content:center; gap:10px;
  padding:12px; border-radius:var(--radius-sm); background:#fff; color:#1f1f1f;
  font-weight:700; font-size:14px; border:1px solid var(--border); transition:filter .15s ease;
}
.google-btn:hover{ filter:brightness(0.96); }
.google-btn:disabled{ opacity:0.7; cursor:not-allowed; }
.google-btn .google-spinner{ display:none; border-color:rgba(0,0,0,0.2); border-top-color:#1f1f1f; }
.google-btn.loading .google-spinner{ display:inline-block; }
.google-btn.loading .google-icon{ display:none; }
.auth-divider{
  display:flex; align-items:center; gap:10px; margin:16px 0; color:var(--muted); font-size:11.5px;
  text-transform:uppercase; letter-spacing:0.05em;
}
.auth-divider::before, .auth-divider::after{ content:""; flex:1; height:1px; background:var(--border); }
.tab-btn.active{ background:var(--gradient); color:#fff; }
.auth-form{ display:none; flex-direction:column; gap:14px; text-align:left; }
.auth-form.active{ display:flex; }
.auth-form label{ font-size:12.5px; color:var(--muted); display:flex; flex-direction:column; gap:6px; }
.password-field{
  position:relative;
  display:flex;
  align-items:center;
}
.password-field input{
  flex:1;
}
.eye-toggle{
  position:absolute;
  right:12px;
  background:none;
  border:none;
  color:var(--muted);
  cursor:pointer;
  padding:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:color .15s ease;
}
.eye-toggle:hover{
  color:var(--text);
}
.eye-toggle svg{
  width:18px;
  height:18px;
}

.auth-form input, .admin-form input, .admin-form textarea{
  background:#0d0f1a; border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:11px 12px; color:var(--text); font-size:14px; outline:none;
}
.password-field input{ padding-right:42px; }
.auth-form input:focus, .admin-form input:focus{ border-color:var(--purple); }
.optional{ color:#565a7a; font-weight:400; }
.primary-btn{
  margin-top:6px; padding:13px; border-radius:var(--radius-sm); background:var(--gradient);
  color:#fff; font-weight:700; font-size:14.5px; box-shadow:0 0 22px rgba(162,89,255,0.25);
  transition:filter .15s ease, opacity .15s ease;
  display:flex; align-items:center; justify-content:center; gap:10px;
}
.primary-btn:hover{ filter:brightness(1.1); }
.primary-btn:disabled{ cursor:not-allowed; opacity:0.85; }

.btn-spinner{
  display:none;
  width:17px; height:17px; border-radius:50%;
  border:2.5px solid rgba(255,255,255,0.35);
  border-top-color:#fff;
  animation:btn-spin .7s linear infinite;
}
.primary-btn.loading .btn-spinner{ display:inline-block; }
.primary-btn.loading .btn-label{ opacity:0.85; }
@keyframes btn-spin{ to{ transform:rotate(360deg); } }
.ghost-btn{
  padding:10px 14px; border-radius:var(--radius-sm); border:1px solid var(--border);
  color:var(--text); font-size:13.5px; font-weight:600; background:#ffffff08;
}
.ghost-btn.small{ padding:8px 12px; font-size:12.5px; }
.ghost-btn:hover{ border-color:var(--purple); }
.danger-btn{
  margin-top:24px; width:100%; padding:12px; border-radius:var(--radius-sm);
  border:1px solid #4a1f2c; background:#1c0e13; color:var(--danger); font-weight:600;
}
.form-error{ color:var(--danger); font-size:12.5px; }

/* ---------- APP SHELL ---------- */
#appShell{ padding-bottom:78px; }
.topbar{
  position:sticky; top:0; z-index:20;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:14px 16px; background:#06070dee; backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.icon-btn{
  width:38px; height:38px; display:flex; align-items:center; justify-content:center;
  border-radius:10px; background:#ffffff08; border:1px solid var(--border); position:relative;
}
.dot-badge{
  position:absolute; top:2px; right:2px; min-width:16px; height:16px; padding:0 3px;
  border-radius:9px; background:var(--danger); color:#fff; font-size:10px; font-weight:800;
  display:flex; align-items:center; justify-content:center; line-height:1; border:1.5px solid #0a0b13;
}

/* ---------- WALLET SUMMARY (redesigned, bigger) ---------- */
.wallet-summary{
  display:grid; grid-template-columns:1fr 1fr; gap:10px;
  padding:14px 16px 0;
  max-width:720px; margin:0 auto;
}
.wallet-box{
  display:flex; flex-direction:column; align-items:flex-start; gap:6px;
  padding:16px; border-radius:var(--radius); border:1px solid var(--border);
  background:var(--bg-card); text-align:left; cursor:pointer; position:relative;
  transition:border-color .15s ease;
}
.wallet-box:hover{ border-color:rgba(162,89,255,0.45); }
.wallet-box.deposit{ border-color:rgba(61,139,255,0.3); }
.wallet-box.profit{ border-color:rgba(43,224,141,0.3); }
.wallet-box-ico{ color:var(--blue); }
.wallet-box.profit .wallet-box-ico{ color:var(--success); }
.wallet-box-amt{ font-size:19px; font-weight:800; }
.wallet-box-label{ font-size:11.5px; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:0.05em; }
.wallet-box-cta{
  display:flex; align-items:center; gap:3px; margin-top:4px;
  font-size:12.5px; font-weight:700; color:var(--blue);
}
.wallet-box.profit .wallet-box-cta{ color:var(--success); }
.wallet-box-info{
  position:absolute; top:10px; right:10px; width:20px; height:20px; border-radius:50%;
  background:rgba(43,224,141,0.15); color:var(--success); border:1px solid rgba(43,224,141,0.4);
  font-size:12px; font-weight:800; font-style:italic; display:flex; align-items:center; justify-content:center;
  line-height:1; padding:0;
}
.wallet-box-info:hover{ background:rgba(43,224,141,0.28); }

.how-to-earn-btn{
  display:flex; align-items:center; gap:8px;
  width:calc(100% - 32px); max-width:688px; margin:10px auto 0;
  padding:13px 16px; border-radius:var(--radius-sm);
  background:linear-gradient(135deg, rgba(255,176,32,0.12), rgba(162,89,255,0.10));
  border:1px solid rgba(255,176,32,0.25);
  color:var(--gold); font-weight:700; font-size:13px;
}
.how-to-earn-btn .chev{ margin-left:auto; color:var(--muted); font-size:16px; }

.bottomnav{
  position:fixed; bottom:0; left:0; right:0; z-index:20;
  display:flex;
  background:#0a0b13ee; backdrop-filter:blur(10px);
  border-top:1px solid var(--border); padding:6px 4px calc(6px + env(safe-area-inset-bottom));
}
/* No extra hiding rules needed: this nav only exists inside #appShell's markup,
   and .screen{display:none} already hides the whole section (and everything
   inside it, including this nav) whenever appShell isn't the active screen. */
.nav-btn{
  flex:1; display:flex; flex-direction:column; align-items:center; gap:2px;
  padding:6px 0; color:var(--muted); border-radius:10px;
}
.nav-btn span{ font-size:10.5px; font-weight:600; }
.nav-btn.active{ color:var(--purple); background:#a259ff14; }

.app-body{ max-width:720px; margin:0 auto; padding:16px 16px 40px; }
.view{ display:none; animation:fadeIn .3s ease; }
.view.active{ display:block; }
.view-head h2{ font-size:20px; font-weight:800; }
.view-sub{ color:var(--muted); font-size:13px; margin-top:4px; margin-bottom:18px; }

/* ---------- TOOL CATEGORY NAV ---------- */
.tool-category-nav{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:-4px 0 16px;
  width:100%;
}
.tool-category-btn{
  min-width:0; min-height:52px; width:100%; display:flex; align-items:center; justify-content:center; gap:7px;
  padding:8px 10px; border:1px solid #7c52ff35; border-radius:12px;
  background:linear-gradient(145deg,#111321cc,#0a0b13cc); color:var(--muted);
  font-size:11.5px; font-weight:800; letter-spacing:.1px; cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,background .18s ease;
  position:relative; overflow:hidden; white-space:nowrap;
  -webkit-tap-highlight-color:transparent;
}
.tool-category-btn::after{
  content:""; position:absolute; inset:-2px; opacity:0;
  background:radial-gradient(circle at 50% 0%,#a259ff28,transparent 62%); transition:opacity .18s ease; pointer-events:none;
}
.tool-category-btn:hover{ transform:translateY(-1px); border-color:#a259ff88; color:#fff; box-shadow:0 0 18px #7c3aed22; }
.tool-category-btn.active{ color:#fff; border-color:#a259ff99; background:linear-gradient(135deg,#5b2bbd25,#0e1324); box-shadow:0 0 18px #8b5cf633,inset 0 0 14px #8b5cf60e; }
.tool-category-btn.active::after{ opacity:1; }
.tool-category-icon{ width:22px; height:22px; flex:0 0 22px; display:grid; place-items:center; position:relative; z-index:1; }
.tool-category-icon svg{ width:20px; height:20px; display:block; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 5px #a259ff88); }
.tool-category-btn span:last-child{ position:relative; z-index:1; white-space:nowrap; }
@media(max-width:420px){
  .tool-category-nav{ gap:6px; margin-top:-2px; }
  .tool-category-btn{ min-height:50px; gap:5px; padding:7px 5px; font-size:11px; border-radius:11px; }
  .tool-category-icon{ width:20px; height:20px; flex-basis:20px; }
  .tool-category-icon svg{ width:18px; height:18px; }
}

.tool-type-fieldset{
  border:1px solid var(--border); border-radius:12px; padding:10px 12px 12px; margin:0 0 12px;
}
.tool-type-fieldset legend{ padding:0 6px; font-size:12px; color:var(--text); font-weight:800; }
.tool-type-options{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.tool-type-option{
  display:flex !important; flex-direction:row !important; align-items:center; gap:8px;
  border:1px solid var(--border); border-radius:10px; padding:10px; cursor:pointer;
  background:#ffffff05; transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.tool-type-option:has(input:checked){ border-color:#a259ff88; background:#a259ff12; box-shadow:0 0 12px #a259ff18; }
.tool-type-option input{ width:auto !important; accent-color:#a259ff; }
.tool-category-badge{ font-size:10px; font-weight:800; padding:3px 7px; border-radius:999px; border:1px solid var(--border); }
.tool-category-badge.template{ color:#c7a6ff; border-color:#a259ff55; background:#a259ff10; }
.tool-category-badge.tool{ color:#67e8f9; border-color:#22d3ee55; background:#22d3ee0c; }

/* ---------- TOOL CARDS (always boxy, even on very small phones) ---------- */
.tool-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media(max-width:360px){
  .tool-grid{ gap:8px; }
  .tool-card{ padding:11px; }
  .tool-name{ font-size:13.5px; }
  .tool-desc{ font-size:11px; min-height:28px; }
}
.tool-card{
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
  padding:16px; display:flex; flex-direction:column; gap:8px;
  transition:border-color .15s ease, transform .15s ease;
}
.tool-card:hover{ border-color:var(--purple); transform:translateY(-2px); }
.tool-icon{ font-size:44px; line-height:1; }
.tool-icon-img{ width:56px; height:56px; border-radius:12px; object-fit:cover; }
.tool-demo-toggle{
  display:flex; align-items:center; justify-content:center; gap:4px;
  width:100%; background:transparent; border:1px solid var(--border); border-radius:8px;
  color:var(--purple); font-size:12.5px; padding:6px 8px; margin-top:6px; cursor:pointer;
}
.tool-demo-toggle .demo-caret{ transition:transform 0.15s ease; font-size:10px; }
.tool-demo-toggle.open .demo-caret{ transform:rotate(180deg); }
.tool-demo-wrap{ margin-top:6px; width:100%; max-width:100%; overflow:hidden; box-sizing:border-box; }
.tool-demo-video{ width:100%; max-width:100%; max-height:220px; border-radius:8px; display:block; background:#000; object-fit:contain; }
.tool-name{ font-weight:700; font-size:15px; }
.tool-desc{ color:var(--muted); font-size:12px; line-height:1.4; min-height:32px; }
.tool-demo-link{ font-size:11.5px; color:var(--blue); font-weight:700; }
.tool-price{ font-size:12.5px; color:var(--blue); font-weight:700; }
.tool-view-btn, .tool-grant-btn{
  margin-top:6px; padding:9px; text-align:center; border-radius:var(--radius-sm);
  background:var(--gradient); color:#fff; font-weight:700; font-size:13px;
}
.tool-grant-btn{ background:linear-gradient(135deg, var(--success), #1aa46a); }
.tool-owned-badge{ font-size:11px; color:var(--success); font-weight:700; }
.tool-code-box{
  display:flex; align-items:center; justify-content:space-between; gap:6px;
  background:#0d1f16; border:1px solid #1f7a4d55; border-radius:8px;
  padding:7px 9px; font-family:monospace; font-size:11.5px; font-weight:700; color:var(--success);
}
.tool-code-box button{ font-size:10.5px; color:var(--text); background:#ffffff10; padding:4px 8px; border-radius:6px; }
.tool-grant-label{
  display:flex; flex-direction:column; gap:4px; font-size:10.5px; color:var(--muted); font-weight:600; margin-top:8px;
}
.tool-grant-input{
  background:#0d0f1a; border:1px solid var(--border); border-radius:8px; padding:8px 9px;
  color:var(--text); font-size:12px; font-family:monospace;
}
.tool-card .form-error{ margin-top:6px; font-size:10.5px; }

.empty-state{ text-align:center; color:var(--muted); padding:40px 10px; font-size:13.5px; }

/* ---------- CRYPTO ---------- */
.asset-total-card{
  background:var(--gradient); border-radius:var(--radius); padding:20px;
  display:flex; flex-direction:column; align-items:center; margin-bottom:20px; position:relative;
}
.asset-total-label{ font-size:12px; color:#ffffffcc; font-weight:600; }
.asset-total-value{ font-size:30px; font-weight:800; color:#fff; margin-top:4px; }
.asset-total-card .ghost-btn{ margin-top:12px; background:#ffffff22; border-color:#ffffff40; color:#fff; }

.coin-list{ display:flex; flex-direction:column; gap:10px; }
.coin-row{
  display:flex; align-items:center; gap:12px; background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-sm); padding:14px;
}
.coin-icon{
  width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:16px; font-weight:800; background:#181b2c; overflow:hidden; flex-shrink:0;
}
.coin-icon img{ width:100%; height:100%; object-fit:cover; border-radius:50%; }
.coin-icon-fallback{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:16px; font-weight:800; }
.coin-meta{ flex:1; }
.coin-symbol{ font-weight:700; font-size:14px; }
.coin-name{ color:var(--muted); font-size:11.5px; }
.coin-balances{ text-align:right; }
.coin-amt{ font-weight:700; font-size:14px; }
.coin-fiat{ color:var(--muted); font-size:11.5px; }
.coin-deposit-btn{ padding:7px 10px; border-radius:8px; font-size:11px; font-weight:700; background:#ffffff10; border:1px solid var(--border); white-space:nowrap; }
.coin-deposit-btn{ transition:transform .15s ease, border-color .15s ease, background .15s ease; }
.coin-deposit-btn:hover{ transform:translateY(-1px); border-color:var(--purple); background:#ffffff18; }
.coin-convert-btn{ background:linear-gradient(135deg,#a259ff22,#4b8cff22); }
.crypto-action-card{ max-width:420px; background:linear-gradient(180deg,#171a34,#101222); box-shadow:0 24px 70px #00000070; }
.crypto-modal-icon{ width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 0 12px;font-size:25px;font-weight:900; }
.crypto-modal-icon.receive{ background:#1bd98a18;border:1px solid #1bd98a55;color:#5be89a; }
.crypto-modal-icon.convert{ background:#a259ff18;border:1px solid #a259ff55;color:#c49aff; }
.crypto-modal-icon.withdraw{ background:#4b8cff18;border:1px solid #4b8cff55;color:#8bb8ff; }
.crypto-result-card{ margin-top:14px;border:1px solid var(--border);background:#0b0e1b;border-radius:14px;padding:14px;text-align:left; }
.crypto-result-line{ display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px; }
.crypto-result-line span,.crypto-result-label{ color:var(--muted);font-size:11px; }
.conversion-fee-box{ margin-top:12px;padding:12px;border-radius:12px;background:#a259ff0f;border:1px solid #a259ff35;display:grid;grid-template-columns:1fr auto;gap:3px 10px;align-items:center; }
.conversion-fee-box span{font-size:12px;color:var(--muted);}.conversion-fee-box strong{font-size:16px;color:#c49aff;}.conversion-fee-box small{grid-column:1/-1;color:var(--muted);font-size:10px;}
.conversion-estimate{ margin-top:10px;padding:10px 12px;border-radius:10px;background:#ffffff06;border:1px solid var(--border);font-size:11.5px;line-height:1.45;color:var(--muted); }
.coin-actions{ display:flex; flex-direction:column; gap:6px; margin-left:8px; }
.currency-toggle{ display:flex; justify-content:flex-end; margin-bottom:10px; }
.currency-toggle button{ padding:6px 12px; font-size:11.5px; font-weight:700; border:1px solid var(--border); color:var(--muted); }
.currency-toggle button.active{ color:#fff; background:var(--gradient); border-color:transparent; border-radius:8px; }
.currency-toggle button:first-child{ border-radius:8px 0 0 8px; }
.currency-toggle button:last-child{ border-radius:0 8px 8px 0; }

/* ---------- PROFILE ---------- */
.profile-card{ text-align:center; padding:20px 0; }
.profile-avatar{
  width:64px; height:64px; border-radius:50%; background:var(--gradient);
  display:flex; align-items:center; justify-content:center; margin:0 auto 10px; color:#fff;
}
.ref-card, .devices-card{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:16px; margin-top:14px; }
.ref-card h4, .devices-card h4{ font-size:13.5px; margin-bottom:10px; }
.ref-row{ display:flex; gap:8px; }
.ref-row input{ flex:1; background:#0d0f1a; border:1px solid var(--border); border-radius:8px; padding:10px; color:var(--text); font-size:12.5px; }
.device-list{ display:flex; flex-direction:column; gap:8px; margin-top:4px; }
.device-row{
  display:flex; align-items:center; gap:10px; background:#0d0f1a; border:1px solid var(--border);
  border-radius:8px; padding:10px 12px; font-size:12.5px;
}
.device-row .this-tag{ color:var(--success); font-size:10.5px; font-weight:700; margin-left:auto; }
.device-row button{ color:var(--danger); font-size:11.5px; font-weight:700; margin-left:auto; }

/* ---------- HAMBURGER MENU LIST ---------- */
.menu-list{ display:flex; flex-direction:column; gap:8px; }
.menu-item{
  display:flex; align-items:center; justify-content:space-between; width:100%;
  padding:14px 16px; border-radius:var(--radius-sm); background:#0d0f1a; border:1px solid var(--border);
  font-size:14px; font-weight:600;
}
.menu-item:hover{ border-color:var(--purple); }
.menu-item .chev{ color:var(--muted); font-size:16px; }

.ref-summary{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:18px; }
.ref-summary-item{
  display:flex; flex-direction:column; gap:4px; padding:14px; border-radius:var(--radius-sm);
  background:#0d0f1a; border:1px solid var(--border); text-align:center;
}
.ref-summary-num{ font-size:20px; font-weight:800; color:var(--success); }
.ref-summary-label{ font-size:10.5px; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:0.03em; }

/* ---------- TRANSACTION HISTORY ---------- */
.tx-history-filters{ display:flex; gap:6px; margin-bottom:14px; }
.tx-history-filters button{
  flex:1; padding:7px 4px; border-radius:8px; border:1px solid var(--border, #333);
  background:transparent; color:var(--muted); font-size:12px; font-weight:600; cursor:pointer;
}
.tx-history-filters button.active{ background:var(--purple); color:#fff; border-color:var(--purple); }
.tx-history-row{
  display:flex; align-items:flex-start; justify-content:space-between; gap:10px;
  padding:12px 0; border-bottom:1px solid var(--border, #2a2a35);
}
.tx-history-desc{ font-size:13.5px; font-weight:600; }
.tx-history-meta{ margin-top:2px; }
.tx-history-amt{ font-size:14px; font-weight:800; white-space:nowrap; }
.tx-history-amt.tx-credit{ color:var(--success); }
.tx-history-amt.tx-debit{ color:var(--danger); }
.ref-history-row{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  padding:12px; border-radius:8px; background:#0d0f1a; border:1px solid var(--border); margin-bottom:8px;
}
.ref-history-tool{ font-weight:700; font-size:13px; }
.ref-history-meta{ font-size:10.5px; color:var(--muted); margin-top:2px; }
.ref-history-amt{ font-weight:800; color:var(--success); font-size:13px; white-space:nowrap; }
.steps-list{ list-style:none; padding-left:0; display:flex; flex-direction:column; gap:14px; font-size:14px; line-height:1.5; counter-reset:step; }
.steps-list li{ display:flex; align-items:flex-start; gap:12px; counter-increment:step; }
.step-text{ flex:1; min-width:0; }
.steps-list li::before{
  content:counter(step); flex:0 0 auto; width:24px; height:24px; border-radius:50%;
  background:var(--gradient); color:#fff; font-size:12px; font-weight:800;
  display:flex; align-items:center; justify-content:center; margin-top:1px;
}
.tagline-badge{
  margin-top:22px; text-align:center; font-weight:800; font-size:13.5px; letter-spacing:0.03em;
  padding:14px; border-radius:var(--radius-sm);
  background:linear-gradient(135deg, rgba(255,176,32,0.14), rgba(162,89,255,0.14));
  border:1px solid rgba(255,176,32,0.3); color:var(--gold);
}
.faq-item{ margin-bottom:16px; }
.faq-item strong{ display:block; font-size:13.5px; margin-bottom:4px; }

/* ---------- PANELS / MODALS ---------- */
.overlay{ position:fixed; inset:0; background:#000000aa; backdrop-filter:blur(2px); z-index:30; }
.side-panel{
  position:fixed; top:0; right:0; bottom:0; width:100%; max-width:380px; background:#0d0f1a;
  border-left:1px solid var(--border); z-index:31; display:flex; flex-direction:column; animation:slideIn .25s ease;
}
@keyframes slideIn{ from{transform:translateX(20px); opacity:0;} to{transform:translateX(0); opacity:1;} }
.panel-head{ display:flex; align-items:center; gap:10px; padding:18px 18px 14px; border-bottom:1px solid var(--border); }
.panel-head h3{
  font-size:18px; font-weight:800; flex:1;
  background:var(--gradient); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.back-btn{
  flex:0 0 auto; width:30px; height:30px; border-radius:50%; background:#ffffff08; border:1px solid var(--border);
  color:var(--text); font-size:18px; display:flex; align-items:center; justify-content:center; line-height:1;
}
.back-btn:hover{ border-color:var(--purple); }
.close-x{ flex:0 0 auto; font-size:16px; color:var(--muted); }
.panel-body{ padding:18px; overflow-y:auto; }
.big-balance{ font-size:30px; font-weight:800; margin-bottom:6px; background:var(--gradient); -webkit-background-clip:text; background-clip:text; color:transparent; }
.panel-body label{ display:flex; flex-direction:column; gap:6px; font-size:12.5px; color:var(--muted); margin:16px 0 10px; }
.panel-body input{ background:#0d0f1a; border:1px solid var(--border); border-radius:8px; padding:10px; color:var(--text); }

.bank-account-box{
  margin:18px 0; padding:14px; border-radius:var(--radius-sm); background:#0d0f1a; border:1px solid var(--border);
}
.bank-account-title{ font-size:13px; font-weight:700; margin-bottom:10px; }
.bank-account-name{ font-weight:700; font-size:14px; }
.bank-account-meta{ margin-top:2px; }
.bank-account-box label{ margin:10px 0 0; }
.bank-account-box label:first-of-type{ margin-top:0; }

.modal{ position:fixed; inset:0; z-index:40; display:flex; align-items:center; justify-content:center; background:#000000aa; padding:20px; }
.modal-card{ width:100%; max-width:360px; background:#12142a; border:1px solid var(--border); border-radius:var(--radius); padding:24px; }
.modal-card.center{ text-align:center; }
.modal-card h3{ font-size:16px; margin-bottom:4px; }
.duration-options{ display:flex; flex-direction:column; gap:8px; margin:16px 0; }
.duration-opt{
  display:flex; justify-content:space-between; align-items:center; padding:12px 14px;
  border-radius:var(--radius-sm); border:1px solid var(--border); font-size:13.5px; font-weight:600;
}
.duration-opt.selected{ border-color:var(--purple); background:#a259ff14; }
.duration-opt .price{ color:var(--blue); font-weight:800; }
.success-check{
  width:56px; height:56px; border-radius:50%; margin:0 auto 14px; background:var(--success)22; color:var(--success);
  display:flex; align-items:center; justify-content:center; font-size:26px; border:2px solid var(--success);
}
.alert-icon{
  width:56px; height:56px; border-radius:50%; margin:0 auto 14px; background:var(--gold)22; color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:800; border:2px solid var(--gold);
}
.alert-icon.danger{ background:var(--danger)22; color:var(--danger); border-color:var(--danger); }
.alert-icon.success{ background:var(--success)22; color:var(--success); border-color:var(--success); }
.code-box{
  display:flex; align-items:center; justify-content:space-between; gap:10px; background:#0d1f16;
  border:1px solid #1f7a4d55; border-radius:10px; padding:12px 14px; margin:16px 0;
  font-family:monospace; font-weight:700; color:var(--success);
}

/* ---------- ADMIN ---------- */
.admin-heading{ font-size:16px; font-weight:700; }
.admin-body{ max-width:820px; }
.admin-stats{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-bottom:24px; }
.stat-card{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-sm); padding:14px; text-align:center; }
.stat-card.wide{ grid-column:span 2; text-align:left; padding:18px; }
.stat-label{ display:block; font-size:11px; color:var(--muted); margin-bottom:6px; }
.stat-card.wide .stat-label{ font-size:12px; }
.stat-value{ font-size:18px; font-weight:800; color:var(--purple); }
.stat-card.wide .stat-value{ font-size:24px; }
.admin-section{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:18px; margin-bottom:18px; }
.admin-section h3{ font-size:14.5px; margin-bottom:12px; }
.admin-inline-form{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.admin-inline-form input, .admin-inline-form select{
  padding:8px 10px; border-radius:8px; border:1px solid var(--line, #333); background:var(--input-bg, #1a1a22); color:inherit; font-size:12.5px;
}
.admin-inline-form input[type="email"]{ flex:1; min-width:180px; }
.suspended-tag{ background:var(--danger); color:#fff; font-size:9.5px; font-weight:800; padding:2px 6px; border-radius:5px; vertical-align:middle; }
.admin-form{ display:flex; flex-direction:column; gap:12px; }
.admin-form label{ display:flex; flex-direction:column; gap:6px; font-size:12px; color:var(--muted); }
.price-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.admin-tool-list, .admin-user-list{ display:flex; flex-direction:column; gap:10px; }
.admin-tool-row, .admin-user-row{
  display:flex; align-items:center; gap:10px; background:#0d0f1a; border:1px solid var(--border);
  border-radius:10px; padding:12px; font-size:12.5px; flex-wrap:wrap;
}
.admin-tool-row .t-name{ font-weight:700; flex:1; }
.admin-tool-row button, .admin-user-row button{ color:var(--danger); font-weight:700; font-size:11.5px; }
.admin-tool-row button[data-act="approve"]{ color:var(--success); }
.admin-tool-row button.btn-danger{ color:var(--danger); }

::-webkit-scrollbar{ width:6px; }
::-webkit-scrollbar-thumb{ background:#2a2e4a; border-radius:4px; }

/* Adsterra native banner: sit at bottom of app content */
.native-ad-slot{
  width:100%;
  max-width:420px;
  margin:16px auto 8px;
  display:flex;
  justify-content:center;
}
.native-ad-slot > div{
  width:100%;
}

/* Custom domain connect — DNS record instructions shown to buyers */
.dns-record-list{
  display:flex; flex-direction:column; gap:8px; margin-top:8px;
}
.dns-record-row{
  background:#0d0f1a; border:1px solid var(--border); border-radius:10px;
  padding:10px 12px; font-size:12px;
}
.dns-record-row .dns-record-type{
  color:var(--purple); font-weight:700; margin-right:8px;
}
.dns-record-row .dns-record-line{
  font-family:monospace; word-break:break-all; margin-top:2px; color:var(--muted);
}
.dns-verify-ok{ color:#2be08d; }
.dns-verify-fail{ color:var(--danger); }

/* Generic button loading spinner — used by Open Tool (data-grant), the
   deposit button, and anywhere else that adds/removes .is-loading via JS. */
button.is-loading{
  position: relative;
  padding-left: 34px;
  opacity: 0.85;
  cursor: wait;
}
button.is-loading::before{
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: toolTokenSpin 0.7s linear infinite;
}
@keyframes toolTokenSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/* Present in the HTML for SEO (search engines want a real <h1>, not just
   a <title> tag) but not shown on the actual login/signup screen — this
   is the standard "visually hidden, still readable by crawlers and
   screen readers" pattern (clip instead of display:none, since some
   crawlers/screen readers skip display:none content entirely). */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------------
   AI support agent widget
--------------------------------------------------------------------- */
.ai-agent-bubble {
  position: fixed;
  bottom: calc(78px + env(safe-area-inset-bottom)); /* clears the bottomnav
    bar instead of sitting on top of the Profile tab */
  right: 16px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 9998;
  transition: transform 0.15s ease;
}
.ai-agent-bubble:hover { transform: scale(1.06); }
.ai-agent-bubble.hidden { display: none; }

.ai-agent-panel {
  position: fixed;
  bottom: calc(78px + env(safe-area-inset-bottom)); /* same clearance as the bubble */
  right: 16px;
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: calc(100vh - 160px);
  background: #14161a;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}
.ai-agent-panel.hidden { display: none; }

.ai-agent-head {
  background: #16a34a;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-agent-subtitle { font-size: 12px; opacity: 0.85; }
.ai-agent-head .close-x { color: #fff; background: none; border: none; font-size: 16px; cursor: pointer; }

.ai-agent-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-agent-msg {
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.4;
  white-space: pre-wrap;
}
.ai-agent-msg-ai {
  align-self: flex-start;
  background: #23262c;
  color: #e6e6e6;
  border-bottom-left-radius: 4px;
}
.ai-agent-msg-user {
  align-self: flex-end;
  background: #16a34a;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-agent-typing { opacity: 0.6; font-style: italic; }

.ai-agent-escalation {
  padding: 10px 14px;
  border-top: 1px solid #2a2d33;
  background: #1b1e24;
  font-size: 13px;
}
.ai-agent-escalation.hidden { display: none; }
.ai-agent-escalation p { margin: 0 0 8px; color: #d8d8d8; }

.ai-agent-form {
  display: flex;
  border-top: 1px solid #2a2d33;
  padding: 10px;
  gap: 8px;
}
.ai-agent-form input {
  flex: 1;
  background: #1b1e24;
  border: 1px solid #2a2d33;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 13.5px;
}
.ai-agent-form button {
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 600;
  cursor: pointer;
}
.ai-agent-form button:disabled { opacity: 0.6; cursor: default; }

/* ---------------------------------------------------------------------
   Daily Sales Report (admin)
--------------------------------------------------------------------- */
.report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #23262c;
  font-size: 14px;
}
.report-row.total { font-weight: 700; border-bottom: none; padding-top: 12px; }
.report-row input {
  width: 120px;
  background: #1b1e24;
  border: 1px solid #2a2d33;
  border-radius: 6px;
  padding: 6px 8px;
  color: #fff;
  text-align: right;
}
.saved-reports-list { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow-y: auto; }
.saved-report-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  padding: 6px 8px;
  background: #1b1e24;
  border-radius: 6px;
}

/* ---------------------------------------------------------------------
   Admin dashboard — sidebar redesign
--------------------------------------------------------------------- */
.admin-body {
  max-width: 1100px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.admin-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 190px;
  flex-shrink: 0;
  background: #14161a;
  border-radius: 14px;
  padding: 12px;
  position: sticky;
  top: 12px;
}
.admin-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: #b7b9be;
  text-align: left;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  cursor: pointer;
}
.admin-tab-btn .ico { font-size: 16px; }
.admin-tab-btn:hover { background: #1b1e24; color: #fff; }
.admin-tab-btn.active { background: #16a34a; color: #fff; font-weight: 600; }

.admin-tab-panel { display: none; flex: 1; min-width: 0; }
.admin-tab-panel.active { display: block; }

/* Revenue trend chart */
.revenue-chart { width: 100%; }
.revenue-svg { width: 100%; height: 180px; }

/* Tool progress rings */
.progress-rings { display: flex; flex-wrap: wrap; gap: 20px; }
.progress-ring-card { display: flex; flex-direction: column; align-items: center; width: 110px; }
.progress-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-ring-inner {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #14161a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.progress-ring-label { margin-top: 8px; font-size: 12.5px; text-align: center; font-weight: 600; }
.progress-ring-sub { font-size: 11px; color: #9a9da3; text-align: center; }

/* Transactions tab */
.tx-totals { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.tx-total-card {
  background: #1b1e24;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 130px;
  font-size: 12.5px;
}
.tx-total-card strong { font-size: 15px; }
.tx-total-card.grand { background: #16a34a; color: #fff; }
.tx-table { display: flex; flex-direction: column; gap: 2px; }
.tx-row {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 1.4fr;
  gap: 8px;
  padding: 9px 10px;
  font-size: 13px;
  border-bottom: 1px solid #23262c;
}
.tx-row.tx-head { font-weight: 700; color: #9a9da3; font-size: 11.5px; text-transform: uppercase; border-bottom: 1px solid #33363c; }

/* Chats tab */
.day-summary-box {
  margin-top: 12px;
  background: #1b1e24;
  border-radius: 10px;
  padding: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.escalation-row {
  background: #1b1e24;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-left: 3px solid #6b7280;
}
.escalation-row.severity-critical { border-left-color: #dc2626; }
.escalation-row.severity-serious { border-left-color: #d97706; }
.escalation-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.severity-badge {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: #6b7280;
  color: #fff;
}
.severity-badge.severity-critical { background: #dc2626; }
.severity-badge.severity-serious { background: #d97706; }

@media (max-width: 760px) {
  .admin-body { flex-direction: column; }
  .admin-tabs { width: 100%; flex-direction: row; overflow-x: auto; position: static; }
  .admin-tab-btn { flex-shrink: 0; }
  .tx-row { grid-template-columns: 1fr 1fr 1fr; font-size: 12px; }
  .tx-row span:last-child { display: none; }
}

/* ---------------------------------------------------------------------
   Numbers rental view
--------------------------------------------------------------------- */
.section-subhead { font-size: 14px; font-weight: 700; margin: 18px 0 10px; }
.numbers-country-list { display: flex; flex-direction: column; gap: 8px; }
.numbers-country-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: var(--card, #1b1e24);
  border: 1px solid var(--border, #2a2d33);
  border-radius: 10px;
  padding: 12px 14px;
  color: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.numbers-country-flag { font-size: 20px; }
.numbers-country-name { flex: 1; font-weight: 600; }
.numbers-country-price { font-size: 12.5px; color: #9a9da3; }
.numbers-available-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

.numbers-chat-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border, #2a2d33);
}
.numbers-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 55vh;
  overflow-y: auto;
  margin-bottom: 12px;
}
.numbers-chat-msg {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.4;
}
.numbers-chat-msg.in { align-self: flex-start; background: #23262c; border-bottom-left-radius: 4px; }
.numbers-chat-msg.out { align-self: flex-end; background: #16a34a; color: #fff; border-bottom-right-radius: 4px; }
.numbers-chat-msg-time { font-size: 10.5px; opacity: 0.65; margin-top: 3px; }
.numbers-chat-form { display: flex; gap: 8px; }
.numbers-chat-form input {
  flex: 1;
  background: #1b1e24;
  border: 1px solid var(--border, #2a2d33);
  border-radius: 8px;
  padding: 10px 12px;
  color: inherit;
}
.numbers-chat-form button {
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 600;
}
.numbers-my-row { display: flex; align-items: center; justify-content: space-between; }
.numbers-my-row-full { align-items: flex-start; gap: 12px; }
.numbers-autorenew-toggle { display: flex; align-items: center; gap: 6px; margin-top: 6px; cursor: pointer; }
.numbers-autorenew-toggle input { width: auto; margin: 0; }
.numbers-my-row-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }

/* ---------------------------------------------------------------------
   Ekpo.M About panel + reliable country flag images
--------------------------------------------------------------------- */
.about-ekpo-hero {
  display:flex;
  align-items:center;
  gap:12px;
  padding:4px 0 16px;
  margin-bottom:4px;
  border-bottom:1px solid var(--border, #2a2d33);
}
.about-ekpo-logo {
  width:42px;
  height:42px;
  border-radius:10px;
  object-fit:cover;
  flex:0 0 42px;
}
.about-ekpo-hero h4 { margin:0 0 3px; font-size:16px; }
.about-ekpo-section {
  padding:13px 0;
  border-bottom:1px solid var(--border, #2a2d33);
}
.about-ekpo-section:last-of-type { border-bottom:0; }
.about-ekpo-section h4 { margin:0 0 5px; font-size:13.5px; }
.about-ekpo-section p { margin:0; line-height:1.55; }
.numbers-country-flag {
  width:28px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 28px;
  overflow:hidden;
  border-radius:3px;
  background:#22252b;
}
.numbers-country-flag img, .numbers-detail-flag {
  display:block;
  width:28px;
  height:20px;
  object-fit:cover;
  border-radius:3px;
}
.numbers-detail-title { display:inline-flex; align-items:center; gap:9px; }
.numbers-detail-title .numbers-detail-flag { width:30px; height:21px; }
