/* ====================================================================
   DESIGN SYSTEM — "Ledger" (BSC-grounded gold, growth teal, rank violet)
   ==================================================================== */

/* Self-hosted fonts: no external CDN dependency, so the page always
   renders with correct typography regardless of network restrictions
   (corporate firewalls, restricted regions, CDN outages, etc). */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/manrope-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');
}

:root {
  /* ---- Surface (ink, not pure black) ---- */
  --ink-950: #0A0C10;
  --ink-900: #12151B;
  --ink-850: #161A22;
  --ink-800: #1C212B;
  --ink-700: #262C38;
  --ink-600: #353D4D;
  --ink-400: #7E8696;
  --ink-300: #A4ABB8;
  --ink-100: #E7E9ED;
  --ink-50:  #F5F6F8;

  /* ---- Accents, each with a job ---- */
  --gold-500: #F0B90B;   /* primary action / BSC heritage */
  --gold-400: #FFD23F;
  --gold-900: #3D2F08;
  --teal-400: #2DD4BF;   /* growth: deposits, positive deltas */
  --teal-500: #14B8A6;
  --teal-900: #0B3530;
  --violet-400: #A78BFA; /* rank / admin context */
  --violet-500: #8B5CF6;
  --violet-900: #2C2150;
  --red-400: #FB7185;
  --red-500: #F43F5E;
  --red-900: #3D1620;
  --amber-400: #FBBF24;
  --amber-900: #3D2E08;

  /* ---- Rank metals (the signature element) ---- */
  --rank-bronze-a: #C98452; --rank-bronze-b: #7C4A28; --rank-bronze-text: #FFE3C9;
  --rank-silver-a: #E3E8F0; --rank-silver-b: #98A2B3; --rank-silver-text: #1C212B;
  --rank-gold-a:   #FCE388; --rank-gold-b:   #C9971C; --rank-gold-text:   #3D2F08;
  --rank-platinum-a: #F3F8FF; --rank-platinum-b: #B9C6DE; --rank-platinum-text: #1C212B;
  --rank-diamond-a: #C9F4FF; --rank-diamond-b: #4FB3D9; --rank-diamond-text: #07303D;
  --rank-default-a: #8B92A3; --rank-default-b: #565E6E; --rank-default-text: #E7E9ED;

  /* ---- Type ---- */
  --font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', 'SF Mono', ui-monospace, monospace;

  /* ---- Geometry ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.03) inset, 0 12px 32px -16px rgba(0,0,0,0.6);
  --shadow-glow-gold: 0 0 0 1px rgba(240,185,11,0.4), 0 8px 24px -8px rgba(240,185,11,0.25);
  --shadow-pop: 0 24px 64px -24px rgba(0,0,0,0.7);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

body {
  background: var(--ink-950);
  color: var(--ink-100);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    radial-gradient(circle at 15% 0%, rgba(240,185,11,0.10), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(45,212,191,0.08), transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(139,92,246,0.07), transparent 42%);
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
  background-attachment: fixed;
}

a { color: var(--gold-400); text-decoration: none; }
a:hover { color: var(--gold-500); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-50);
  margin: 0;
}

code, .mono { font-family: var(--font-mono); font-size: 0.92em; }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- */
/* Layout primitives                                                 */
/* ---------------------------------------------------------------- */

.shell { max-width: 980px; margin: 0 auto; padding: 0 24px 64px; }
.shell-narrow { max-width: 460px; margin: 0 auto; padding: 0 20px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--ink-800);
  background: linear-gradient(180deg, rgba(18,21,27,0.9), rgba(18,21,27,0.6));
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 36px;
}
.topbar-inner { max-width: 980px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink-50); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 60%, #B8860B);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--ink-950); font-size: 14px;
  box-shadow: var(--shadow-glow-gold);
}

.wallet-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink-850); border: 1px solid var(--ink-700);
  border-radius: var(--radius-pill); padding: 7px 14px 7px 8px;
  font-size: 13px; color: var(--ink-300);
}
.wallet-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 8px var(--teal-400); }
.wallet-chip .addr { font-family: var(--font-mono); color: var(--ink-100); }
.wallet-chip a { color: var(--ink-400); font-size: 12px; }
.wallet-chip a:hover { color: var(--red-400); }

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 232px; flex-shrink: 0;
  background: var(--ink-900); border-right: 1px solid var(--ink-800);
  padding: 22px 14px; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.admin-sidebar .brand { padding: 0 10px 22px; border-bottom: 1px solid var(--ink-800); margin-bottom: 18px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--ink-300); font-size: 14px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.admin-nav a:hover { background: var(--ink-800); color: var(--ink-50); }
.admin-nav a.active { background: var(--gold-900); color: var(--gold-400); }
.admin-nav .icon { width: 17px; text-align: center; opacity: 0.9; }
.admin-foot { border-top: 1px solid var(--ink-800); padding-top: 14px; margin-top: 14px; }
.admin-who { font-size: 13px; color: var(--ink-100); }
.admin-role { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--violet-400); }
.admin-foot a.logout { font-size: 12.5px; color: var(--ink-400); }
.admin-foot a.logout:hover { color: var(--red-400); }
.admin-main { flex: 1; padding: 32px 36px 64px; max-width: 1080px; }

@media (max-width: 860px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; flex-direction: row; align-items: center; overflow-x: auto; padding: 12px 14px; }
  .admin-sidebar .brand { border-bottom: none; padding: 0; margin: 0 16px 0 0; }
  .admin-nav { flex-direction: row; }
  .admin-foot { border-top: none; padding: 0; margin: 0 0 0 auto; flex-shrink: 0; }
  .admin-who, .admin-role { display: none; } /* hide name/role on mobile, keep logout */
  .admin-main { padding: 24px 18px 48px; }
}

/* ---------------------------------------------------------------- */
/* Page intro                                                        */
/* ---------------------------------------------------------------- */

.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: 22px; margin-bottom: 4px; }
.page-head p { color: var(--ink-400); font-size: 14px; margin: 0; }
.eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--gold-400); margin-bottom: 8px; display: block;
}

/* ---------------------------------------------------------------- */
/* Cards                                                              */
/* ---------------------------------------------------------------- */

.card {
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 20px;
  animation: rise 0.45s ease both;
}
.card-tight { padding: 18px 22px; }
.card-title {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--ink-50); margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
}
.card-sub { color: var(--ink-400); font-size: 13px; margin: 0 0 18px; }
.card-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
@media (max-width: 700px) { .card-row { grid-template-columns: 1fr; } }
.withdraw-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
@media (max-width: 640px) { .withdraw-grid { grid-template-columns: 1fr; } .withdraw-grid .btn { width: 100%; } }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.card:nth-of-type(1) { animation-delay: 0.02s; }
.card:nth-of-type(2) { animation-delay: 0.08s; }
.card:nth-of-type(3) { animation-delay: 0.14s; }
.card:nth-of-type(4) { animation-delay: 0.2s; }

/* ---------------------------------------------------------------- */
/* Stat grid                                                          */
/* ---------------------------------------------------------------- */

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
@media (max-width: 700px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

.stat {
  background: var(--ink-900); border: 1px solid var(--ink-800); border-radius: var(--radius-md);
  padding: 16px 18px; position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; inset: 0; opacity: 0.06; pointer-events: none;
  background: radial-gradient(circle at 100% 0%, var(--accent, var(--gold-500)), transparent 60%);
}
.stat-label { font-size: 12px; color: var(--ink-400); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.stat-value { font-family: var(--font-display); font-size: 23px; font-weight: 600; color: var(--ink-50); }
.stat-value.mono { font-family: var(--font-mono); font-size: 19px; }
.stat--gold { --accent: var(--gold-500); }
.stat--teal { --accent: var(--teal-400); }
.stat--violet { --accent: var(--violet-400); }

/* ---------------------------------------------------------------- */
/* Buttons                                                            */
/* ---------------------------------------------------------------- */

.btn {
  font-family: var(--font-body); font-weight: 700; font-size: 13.5px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 10px 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: transform 0.1s, filter 0.15s, background 0.15s, box-shadow 0.15s;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }

.btn-primary { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--ink-950); box-shadow: var(--shadow-glow-gold); }
.btn-primary:hover { filter: brightness(1.08); }

.btn-ghost { background: var(--ink-850); color: var(--ink-100); border-color: var(--ink-700); }
.btn-ghost:hover { background: var(--ink-800); border-color: var(--ink-600); }

.btn-outline { background: transparent; color: var(--ink-100); border-color: var(--ink-700); }
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); }

.btn-success { background: linear-gradient(135deg, var(--teal-400), var(--teal-500)); color: var(--ink-950); }
.btn-success:hover { filter: brightness(1.08); }

.btn-danger { background: transparent; color: var(--red-400); border-color: var(--red-900); }
.btn-danger:hover { background: var(--red-900); border-color: var(--red-500); }

/* ---------------------------------------------------------------- */
/* Forms                                                              */
/* ---------------------------------------------------------------- */

label, .field-label { display: block; font-size: 12.5px; color: var(--ink-300); margin-bottom: 6px; font-weight: 600; }

.input, input[type="text"], input[type="number"], input[type="email"], select, textarea {
  width: 100%; background: var(--ink-850); border: 1px solid var(--ink-700); color: var(--ink-50);
  border-radius: var(--radius-sm); padding: 10px 13px; font-family: var(--font-body); font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(240,185,11,0.15);
}
.input.mono, input.mono { font-family: var(--font-mono); font-size: 13px; }
.input::placeholder, input::placeholder { color: var(--ink-400); }

.input-row { display: flex; gap: 8px; }
.input-row .input, .input-row input { flex: 1; }

.field { margin-bottom: 16px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; align-items: end; }

.msg { font-size: 13px; margin-top: 8px; }
.msg-error { color: var(--red-400); }
.msg-success { color: var(--teal-400); }
.msg-muted { color: var(--ink-400); }

/* ---------------------------------------------------------------- */
/* Tables                                                             */
/* ---------------------------------------------------------------- */

.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--ink-800); }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.t thead th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-400); font-weight: 700; padding: 11px 14px; background: var(--ink-850);
  border-bottom: 1px solid var(--ink-800);
}
table.t tbody td { padding: 12px 14px; border-bottom: 1px solid var(--ink-850); color: var(--ink-100); vertical-align: middle; }
table.t tbody tr:last-child td { border-bottom: none; }
table.t tbody tr { transition: background 0.12s; }
table.t tbody tr:hover { background: var(--ink-850); }
table.t .num { font-family: var(--font-mono); }
table.t .muted { color: var(--ink-400); font-size: 12.5px; }

.empty { text-align: center; padding: 36px 20px; color: var(--ink-400); font-size: 13.5px; }

/* ---------------------------------------------------------------- */
/* Badges & rank chips                                               */
/* ---------------------------------------------------------------- */

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { background: var(--teal-900); color: var(--teal-400); }
.badge-info    { background: #122A3D; color: #5EC5F1; }
.badge-warn    { background: var(--amber-900); color: var(--amber-400); }
.badge-danger  { background: var(--red-900); color: var(--red-400); }
.badge-neutral { background: var(--ink-800); color: var(--ink-300); }

.rank-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  padding: 5px 13px 5px 10px; border-radius: var(--radius-pill);
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--rank-default-a), var(--rank-default-b));
  color: var(--rank-default-text);
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 2px 8px -2px rgba(0,0,0,0.5);
}
.rank-chip::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 48%, transparent 65%);
  background-size: 220% 100%; background-position: 130% 0;
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.rank-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.rank-chip[data-rank="bronze"]   { background: linear-gradient(135deg, var(--rank-bronze-a), var(--rank-bronze-b)); color: var(--rank-bronze-text); }
.rank-chip[data-rank="silver"]   { background: linear-gradient(135deg, var(--rank-silver-a), var(--rank-silver-b)); color: var(--rank-silver-text); }
.rank-chip[data-rank="gold"]     { background: linear-gradient(135deg, var(--rank-gold-a), var(--rank-gold-b)); color: var(--rank-gold-text); }
.rank-chip[data-rank="platinum"] { background: linear-gradient(135deg, var(--rank-platinum-a), var(--rank-platinum-b)); color: var(--rank-platinum-text); }
.rank-chip[data-rank="diamond"]  { background: linear-gradient(135deg, var(--rank-diamond-a), var(--rank-diamond-b)); color: var(--rank-diamond-text); }

/* ---------------------------------------------------------------- */
/* Auth step flow (connect -> sign -> working)                       */
/* ---------------------------------------------------------------- */

.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { max-width: 420px; width: 100%; margin: 0; }
.auth-card .card { margin-bottom: 0; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.auth-logo img { width: 80px; height: 80px; object-fit: contain; display: block; margin: 0 auto; }
.auth-logo .brand-mark { width: 46px; height: 46px; font-size: 19px; border-radius: 13px; }
.auth-title { text-align: center; font-size: 19px; margin-bottom: 4px; }
.auth-sub { text-align: center; color: var(--ink-400); font-size: 13.5px; margin: 0 0 22px; }
.step { display: block; }
.connected-pill {
  display: flex; align-items: center; gap: 8px; background: var(--ink-850);
  border: 1px solid var(--ink-700); border-radius: var(--radius-sm); padding: 9px 12px;
  font-size: 12.5px; color: var(--ink-300); margin-bottom: 16px;
}
.connected-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 8px var(--teal-400); flex-shrink: 0; }
.connected-pill code { color: var(--ink-50); }

.spinner {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid var(--ink-700); border-top-color: var(--gold-400);
  animation: spin 0.8s linear infinite; margin: 8px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.working-text { text-align: center; color: var(--ink-400); font-size: 13.5px; margin-top: 10px; }

.wallet-support { text-align: center; color: var(--ink-400); font-size: 12px; margin-top: 18px; }

/* ---------------------------------------------------------------- */
/* Utility                                                            */
/* ---------------------------------------------------------------- */

.flex { display: flex; }
.d-none { display: none !important; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-muted { color: var(--ink-400); }
.text-mono { font-family: var(--font-mono); }
.text-sm { font-size: 12.5px; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.divider { border: none; border-top: 1px solid var(--ink-800); margin: 18px 0; }

.copy-btn {
  background: var(--ink-800); border: 1px solid var(--ink-700); color: var(--ink-300);
  border-radius: var(--radius-sm); padding: 0 14px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.copy-btn:hover { background: var(--ink-700); color: var(--gold-400); }

/* ---------------------------------------------------------------- */
/* Modal (replaces native confirm()/prompt() for credit & reject)    */
/* ---------------------------------------------------------------- */

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(5,6,9,0.7); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px;
  animation: fadein 0.15s ease both;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--ink-900); border: 1px solid var(--ink-700); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop); padding: 24px; width: 100%; max-width: 380px;
  animation: rise 0.2s ease both;
}
.modal h3 { font-size: 16px; margin-bottom: 14px; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; justify-content: flex-end; }
