/* =========================================================
   BLONIX CIRCLE — account & admin dashboards
   Builds on style.css design tokens.
   ========================================================= */

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dash-page, .auth-page { min-height: 100vh; }
.dash-page .bg-grid, .auth-page .bg-grid { height: 900px; }

/* ---------- alerts / pills ---------- */
.alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; border: 1px solid; }
.alert--ok  { color: #bff3d8; background: rgba(111,224,166,.08); border-color: rgba(111,224,166,.3); }
.alert--warn { color: #ffe2a8; background: rgba(245,184,74,.08); border-color: rgba(245,184,74,.35); }
.alert--err { color: #ffc6cf; background: rgba(255,107,139,.08); border-color: rgba(255,107,139,.35); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--pending, .pill--contacted, .pill--awaiting_payment, .pill--open { color: #ffd479; background: rgba(255,212,121,.08); border-color: rgba(255,212,121,.3); }
.pill--approved, .pill--active, .pill--paid, .pill--answered { color: var(--positive); background: rgba(111,224,166,.08); border-color: rgba(111,224,166,.3); }
.pill--shipped { color: var(--accent); background: rgba(var(--accent-rgb), .08); border-color: rgba(var(--accent-rgb), .3); }
.pill--rejected, .pill--disabled { color: #ff8a9b; background: rgba(255,107,139,.08); border-color: rgba(255,107,139,.3); }
.pos { color: var(--positive); font-weight: 600; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
.field { display: grid; gap: 7px; }
.field > span { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; color: var(--text-2); }
.field__link { font-weight: 500; color: var(--accent); }
.field input, .field textarea, .field select, .qitem__form select, .qitem__form input, .search input, .inline-form input {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: rgba(0,0,0,.35); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus, .qitem__form select:focus, .qitem__form input:focus, .search input:focus, .inline-form input:focus {
  outline: none; border-color: rgba(var(--accent-rgb), .6); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12);
}
.field input:disabled { opacity: .6; }
.field[hidden] { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #8b7cff; flex: none; }
.check a, .auth a, .dpanel a:not(.btn) { color: var(--accent); }

/* radio "choice cards" */
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice--2 { grid-template-columns: repeat(2, 1fr); }
.choice--bundles { grid-template-columns: repeat(5, 1fr); }
.choice__item { position: relative; cursor: pointer; }
.choice__item input { position: absolute; opacity: 0; pointer-events: none; }
.choice__item span { display: grid; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); transition: border-color .2s, background .2s, box-shadow .2s; }
.choice__item b { font-size: 15px; color: var(--text); }
.choice__item small { font-size: 12.5px; color: var(--muted); }
.choice__item input:checked + span {
  border-color: transparent;
  background: linear-gradient(#101219, #101219) padding-box, var(--grad) border-box;
  border: 1px solid transparent; box-shadow: 0 10px 30px -18px rgba(var(--violet-rgb), .8);
}
.choice__item input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- AUTH (login / register) ---------- */
.auth { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 28px 16px 40px; }
.auth__top { width: 100%; max-width: 440px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.auth__back { font-size: 14px; color: var(--muted); }
.auth__back:hover { color: var(--text); }
.auth__card {
  width: 100%; max-width: 440px; padding: 34px 30px; border-radius: 26px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #111319, #0c0d11) padding-box, linear-gradient(160deg, rgba(var(--accent-rgb), .45), rgba(255,255,255,.06) 40%, rgba(var(--magenta-rgb), .4)) border-box;
  box-shadow: 0 40px 100px -50px rgba(var(--violet-rgb), .7);
}
.auth__card h1 { font-size: 32px; font-weight: 600; letter-spacing: -.035em; }
.auth__sub { color: var(--muted); margin: 8px 0 24px; font-size: 15px; }
.auth__foot { margin-top: 22px; font-size: 14px; color: var(--muted); }
.auth__legal { margin-top: auto; padding-top: 40px; font-size: 12.5px; color: #5d6370; }
.auth__legal a { color: var(--muted) !important; }

/* ---------- DASHBOARD SHELL ---------- */
.dash { position: relative; z-index: 1; display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.dash__side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 26px;
  padding: 24px 16px; border-right: 1px solid var(--line); background: rgba(8,9,12,.7); backdrop-filter: blur(16px);
}
.dash__brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; flex: none; }
.dash__badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; color: #0a0b0e; background: var(--grad); font-weight: 600; }
.dash__nav { display: grid; gap: 4px; align-content: start; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -8px; padding: 0 8px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.dash__nav::-webkit-scrollbar { width: 6px; }
.dash__nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 6px; }
.dash__nav::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.32); }
.dash__nav a { flex: none; }
.dash__nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.dash__nav a:hover { background: var(--surface-2); color: var(--text); }
.dash__nav a.is-active { color: var(--text); background: linear-gradient(90deg, rgba(var(--accent-rgb), .12), rgba(var(--violet-rgb), .06)); box-shadow: inset 2px 0 0 var(--accent); }
.dash__count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; color: #0a0b0e; background: var(--grad); }
/* the Support number is red and stays until a chat is opened */
a[href="?tab=support"] .dash__count { background: #ff4d6d; color: #fff; box-shadow: 0 0 0 0 rgba(255,77,109,.6); animation: dashHot 1.8s infinite; }
@keyframes dashHot { 70% { box-shadow: 0 0 0 8px rgba(255,77,109,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,109,0); } }
.dash__me { margin-top: 0; flex: none; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.dash__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #0a0b0e; background: var(--grad); flex: none; }
.dash__who { min-width: 0; flex: 1; }
.dash__who b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__who small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__logout { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: none; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.dash__logout:hover { color: #ff8a9b; border-color: rgba(255,107,139,.4); }
.dash__topbar, .dash__tabbar { display: none; }

.dash__main { min-width: 0; padding: 36px clamp(16px, 4vw, 48px) 60px; max-width: 1120px; width: 100%; }

/* ---------- dashboard content ---------- */
.dhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.dhead h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 600; letter-spacing: -.035em; }
.dhead__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.dhead__kicker a { color: var(--accent); }
.dlabel { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.dpanel { padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); margin-bottom: 18px; }
.dpanel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.dpanel h2 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.empty { color: var(--muted); font-size: 14px; padding: 6px 0; }

.dstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.dstats--2 { grid-template-columns: repeat(2, 1fr); }
.dstats--4 { grid-template-columns: repeat(4, 1fr); }
.dstat { display: block; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); transition: border-color .2s, transform .3s var(--ease); }
a.dstat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.dstat--hl { border: 1px solid transparent; background: linear-gradient(#101219, #0c0d11) padding-box, var(--grad) border-box; }
.dstat__num { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -.04em; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.dstat__num--sm { font-size: 22px; }

/* hero card block */
.dhero { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 28px; align-items: center; padding: 24px; border-radius: 24px; margin-bottom: 18px;
  border: 1px solid transparent; background: linear-gradient(160deg, #12141b, #0b0c10) padding-box, linear-gradient(140deg, rgba(var(--accent-rgb), .45), rgba(255,255,255,.05) 45%, rgba(var(--magenta-rgb), .4)) border-box; }
.dhero__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 6px; }
.dhero__cta { margin-top: 14px; }

/* mini version of the real card (landscape) */
.mcard { position: relative; aspect-ratio: 1.586; border-radius: 16px; overflow: hidden; color: #e9ebef; border: 1px solid rgba(255,255,255,.12);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px), linear-gradient(270deg, #131417 0%, #0a0a0c 60%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 60px -30px rgba(0,0,0,.9), 0 20px 50px -30px rgba(var(--violet-rgb), .6); }
.mcard__holo { position: absolute; inset: 0; clip-path: polygon(0 0, 53% 0, 41% 100%, 0 100%);
  background: radial-gradient(32% 55% at 14% 12%, rgba(80,118,255,.9), transparent 70%), radial-gradient(24% 40% at 30% 34%, rgba(138,108,255,.65), transparent 70%), radial-gradient(28% 42% at 28% 90%, rgba(105,232,224,.9), transparent 70%), radial-gradient(22% 40% at 5% 80%, rgba(250,212,118,.95), transparent 70%), linear-gradient(85deg, #a4c3e6 0%, #acaed5 55%, #bcbad9 100%); }
.mcard__bolt { position: absolute; inset: 0; width: 100%; height: 100%; }
.mcard__bolt polygon { fill: #08080a; }
.mcard__visa { position: absolute; left: 7%; top: 9%; color: #161b3d; line-height: 1; }
.mcard__visa small { display: block; font-size: 8px; font-weight: 600; margin: 0 0 2px 14px; }
.mcard__visa b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 24px; }
.mcard__chip { position: absolute; right: 11%; top: 42%; width: 12%; aspect-ratio: 1.28; border-radius: 5px; background: linear-gradient(135deg, #eef0f3, #a8adb7 55%, #d9dce2); }
.mcard__brand { position: absolute; right: 7%; top: 9%; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: -.04em; }
.mcard__brand i { font-style: normal; font-weight: 400; opacity: .6; margin-left: .18em; }
.mcard__name { position: absolute; right: 7%; bottom: 9%; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.75); max-width: 50%; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dapp { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.dapp h2 { margin-bottom: 6px; }

/* activity list */
.dlist { display: grid; }
.dlist li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.dlist li:first-child { border-top: 0; }
.dlist li > div { flex: 1; min-width: 0; }
.dlist b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlist small { color: var(--muted); font-size: 12.5px; }
.dlist__ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: rgba(var(--accent-rgb), .07); border: 1px solid rgba(var(--accent-rgb), .18); flex: none; }

/* responsive tables (become cards on phones) */
.table { display: grid; }
.table__row { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.table--5 .table__row { grid-template-columns: 1.6fr 1fr .8fr 1fr auto; }
.table--2 .table__row { grid-template-columns: 2fr 1fr; }
.table--6 .table__row { grid-template-columns: 1.4fr 1fr .9fr 1fr 1.3fr auto; }
a.table__row:hover { background: rgba(255,255,255,.02); }
.table__row--head { border-top: 0; padding-top: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.table__row b { color: var(--text); font-weight: 600; }
.table__row small { display: block; font-size: 12.5px; }

/* admin review queue */
.qitem { display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.qitem:first-child { border-top: 0; padding-top: 0; }
.qitem__main p { margin-bottom: 6px; }
.qitem__main p:first-child { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qitem__form { display: grid; gap: 8px; align-content: start; }
.qitem__form select, .qitem__form input { padding: 10px 12px; font-size: 14px; }
.qitem__btns { display: flex; gap: 8px; }
.links { display: grid; gap: 4px; margin: 6px 0; font-size: 13px; }
.links a { word-break: break-all; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.filters a { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); }
.filters a.is-active { color: var(--text); border-color: var(--line-2); background: var(--surface-2); }
.search { display: flex; gap: 8px; margin-bottom: 16px; }
.search input { flex: 1; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.kv dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 4px 0 0; font-weight: 500; word-break: break-word; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { padding: 9px 12px; font-size: 14px; min-width: 220px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .dstats--4 { grid-template-columns: repeat(2, 1fr); }
  .choice--bundles { grid-template-columns: repeat(3, 1fr); }
  .qitem { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .dash__topbar {
    display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 20;
    padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top));
    background: rgba(8,9,12,.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
  }
  .dash__topout { margin-left: auto; }
  .dash__main { padding: 22px 16px calc(96px + env(safe-area-inset-bottom)); }
  .dash__tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(10,11,14,.92); backdrop-filter: blur(18px); border-top: 1px solid var(--line);
  }
  .dash__tabbar a { flex: 1; display: grid; justify-items: center; gap: 4px; padding: 6px 4px; border-radius: 12px; font-size: 11px; font-weight: 500; color: var(--muted); min-width: 64px; }
  .dash__tabbar a.is-active { color: var(--text); background: rgba(var(--accent-rgb), .1); }
  .dash__tabbar a.is-active .ic { color: var(--accent); }
  .dash__tabbar--scroll { overflow-x: auto; scrollbar-width: none; }
  .dash__tabbar--scroll::-webkit-scrollbar { display: none; }
  .dash__tabbar--scroll a { flex: 0 0 auto; min-width: 72px; }
  .dash__tabbar a { position: relative; }
  .dash__tabbar .dash__count { position: absolute; top: 0; left: calc(50% + 4px); margin: 0; min-width: 18px; height: 18px; padding: 0 5px; font-size: 10px; border: 2px solid rgba(10,11,14,.95); }
  .dhero { grid-template-columns: 1fr; }
  .mcard { max-width: 380px; }
  .kv { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .form__grid, .choice, .choice--2 { grid-template-columns: 1fr; }
  .choice--bundles { grid-template-columns: repeat(2, 1fr); }
  .dstats, .dstats--2, .dstats--4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dstats > .dstat:last-child:nth-child(odd) { grid-column: span 2; }
  .dstat { padding: 16px; }
  .dstat__num { font-size: 26px; }
  .dpanel { padding: 18px; border-radius: 18px; }
  .dhero { padding: 18px; gap: 18px; }
  .table__row, .table--5 .table__row, .table--6 .table__row, .table--2 .table__row { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; }
  .table__row--head { display: none; }
  .table__row > span[data-l]:not(:first-child):not(:last-child) { grid-column: 1; font-size: 13px; color: var(--muted); }
  .table__row > span[data-l]:last-child { grid-column: 2; grid-row: 1; }
  .kv { grid-template-columns: 1fr 1fr; }
  .inline-form { flex-wrap: wrap; }
  .inline-form input { min-width: 0; flex: 1 1 180px; }
  .auth__card { padding: 26px 20px; border-radius: 22px; }
}

/* ---- profile: phone, telegram, address, card gate ---- */
.form__sub { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin: 10px 0 -4px; padding-top: 18px; border-top: 1px solid var(--line); }
.field--full { grid-column: 1 / -1; }
.phone-in { display: grid; grid-template-columns: minmax(0, 170px) 1fr; gap: 8px; }
.phone-in select, .phone-in input { min-width: 0; }
.tg-in { position: relative; }
.tg-in i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); pointer-events: none; }
.tg-in input { width: 100%; padding-left: 30px !important; }
.dnotice { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 16px 20px; margin-bottom: 18px; border-radius: 18px;
  border: 1px solid rgba(255,200,87,.35); background: linear-gradient(90deg, rgba(255,200,87,.09), rgba(255,200,87,.02)); color: var(--text); }
.dnotice b { font-weight: 600; }
.dnotice span { grid-column: 1; font-size: 13.5px; color: var(--text-2); }
.dnotice i { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: 13.5px; font-weight: 600; color: #ffd27a; white-space: nowrap; }
.dgate h2 { margin-bottom: 6px; }
.dgate__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; padding: 0; }
.dgate__list li { padding: 6px 12px; border-radius: 999px; font-size: 13px; border: 1px solid rgba(255,200,87,.3); color: #ffd27a; background: rgba(255,200,87,.06); }
.dship { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 14px; line-height: 1.55; }
.dship .dlabel { margin-bottom: 4px; }
.dship__edit { align-self: start; font-size: 13px; font-weight: 600; color: var(--accent); }
.kv__wide { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .phone-in { grid-template-columns: 128px 1fr; }
  .dship { grid-template-columns: 1fr auto; }
  .dship > div:nth-child(2) { grid-column: 1; }
  .dship__edit { grid-column: 2; grid-row: 1; }
  .dnotice { grid-template-columns: 1fr; }
  .dnotice i { grid-column: 1; grid-row: auto; margin-top: 6px; }
}

/* ---- recommended tag + virtual card activation ---- */
.choice__item span { position: relative; }
.choice__tag { position: absolute; top: -9px; right: 12px; padding: 2px 9px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #0b0c10; background: linear-gradient(90deg, #7ee8fa, #c4b5fd, #f0abfc); }
.dactivate { border-color: rgba(126,232,250,.28); background: radial-gradient(120% 140% at 0% 0%, rgba(126,232,250,.08), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); }
.dactivate.is-new { box-shadow: 0 0 0 1px rgba(126,232,250,.35), 0 18px 60px -20px rgba(126,232,250,.35); }
.dactivate__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.dactivate__head h2 { margin-bottom: 4px; }
.dactivate__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(126,232,250,.1); color: #7ee8fa; }
.dsteps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 20px; padding: 0; }
.dsteps li { counter-increment: s; display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 13px; }
.dsteps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 6px; border-radius: 50%; font: 600 12px var(--font-mono); color: #0b0c10; background: linear-gradient(135deg, #7ee8fa, #e879f9); }
.dsteps b { font-size: 14px; font-weight: 600; word-break: break-word; }
.dsteps span { color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) { .dsteps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .dsteps { grid-template-columns: 1fr; }
  .dsteps li { grid-template-columns: 24px 1fr; column-gap: 12px; }
  .dsteps li::before { grid-row: 1 / 3; margin: 0; }
}

/* ---- Settings → Wallets: one tidy row per wallet ---- */
.wlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wrow { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.wrow.is-blocked { border-color: rgba(245,184,74,.45); background: rgba(245,184,74,.04); }
.wrow.is-off { opacity: .72; }
.wrow__main { flex: 1; min-width: 240px; }
.wrow__top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wrow__addr { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); word-break: break-all; }
.wrow__why { display: block; margin-top: 4px; font-size: 12.5px; color: #f5b84a; }
.wrow__btns { display: flex; gap: 6px; flex-wrap: wrap; }
.pill--off, .pill--closed { color: var(--muted); background: rgba(255,255,255,.04); border-color: var(--line); }
@media (max-width: 760px) { .wrow__btns { width: 100%; } .wrow__btns .btn { flex: 1; } .dstats .dstat { padding: 14px; } }

/* app download buttons inside the dashboard */
.dsteps .store-badges, .dpanel .store-badges { margin-top: 10px; }

/* an element marked hidden stays hidden even when a component style sets its display */
[hidden] { display: none !important; }
.neg { color: #ff8a9b; font-weight: 600; }
.pill--cancelled { color: var(--muted); background: rgba(255,255,255,.04); border-color: var(--line); }
.dstats--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .dstats--3 { grid-template-columns: 1fr; } }

/* ---------- promoter dashboard ---------- */
.ptier { display: grid; gap: 8px; }
.ptier__row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.ptier__row b { font-size: 18px; color: #fff; }
.ptier__row small { color: var(--muted); }
.ptier__row.is-current { border-color: rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .09); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .25) inset; }
.ptier__row.is-current b { color: var(--accent); }
.ptier__row.is-current small { color: var(--text); }
@media (max-width: 560px) { .ptier__row { grid-template-columns: 1fr auto; } .ptier__row small { grid-column: 1 / -1; } }
.plink__row { display: flex; gap: 10px; flex-wrap: wrap; }
.plink__row input { flex: 1 1 260px; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2, var(--line)); background: rgba(255,255,255,.04); color: var(--text); font-family: var(--font-mono); font-size: 14px; }

/* ---------- community posts ---------- */
.pill--scheduled, .pill--sending { color: #ffd479; background: rgba(255,212,121,.08); border-color: rgba(255,212,121,.3); }
.pill--sent { color: var(--positive); background: rgba(111,224,166,.08); border-color: rgba(111,224,166,.3); }
.pill--failed { color: #ff8a9b; background: rgba(255,107,139,.08); border-color: rgba(255,107,139,.3); }
.cpost { white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.55; color: var(--text-2); margin: 6px 0; }
.cpost-edit textarea { width: 100%; min-height: 120px; }
