/* ==========================================================================
   TradeX369 — administrator portal
   --------------------------------------------------------------------------
   Dark partner-admin workspace and a dedicated restricted sign-in screen.
   All visuals are part of the local prototype; no real administrative action
   leaves this browser.
   ========================================================================== */

:root {
  --admin-sidebar-w: 280px;
}

.admin-body,
.admin-login-body {
  --admin-bg: #0a0b0d;
  --admin-bg-deep: #070809;
  --admin-panel: #0e1013;
  --admin-panel-2: #121418;
  --admin-panel-3: #171a1f;
  --admin-line: #1f2228;
  --admin-line-soft: #181b20;
  --admin-line-strong: #2b2f36;
  --admin-muted: #8e939b;
  --admin-dim: #656a73;
  --admin-text: #f3f4f5;
  --admin-gold-ink: #e0be45;
}

.admin-login-body {
  min-height: 100vh;
  background: #030303;
  color: var(--text);
}

.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.015), transparent 35%),
    #030303;
}

.admin-login-panel {
  width: 100%;
  max-width: 382px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.admin-login-lock {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border: 1px solid #292a2d;
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.09), transparent 48%),
    linear-gradient(150deg, #212326, #151618);
  color: #f4f5f6;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 22px 50px rgba(0, 0, 0, 0.5);
}

.admin-login-title {
  margin-top: 14px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: #f5f5f6;
}

.admin-login-subtitle {
  margin-top: 6px;
  color: #979ba1;
  font-size: 14.5px;
  line-height: 1.5;
}

.admin-login-card {
  width: 100%;
  margin-top: 25px;
  padding: 30px 30px 20px;
  border: 1px solid #232427;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.018), transparent 35%),
    #111214;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.025);
  text-align: left;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-login-form .field { gap: 8px; }
.admin-login-form .label { color: #989da5; font-size: 10px; line-height: 1.4; }
.admin-login-form .input {
  height: 48px;
  border-color: #292b2f;
  border-radius: 10px;
  background: #0a0b0d;
  font-size: 13px;
}
.admin-login-form .input:hover { border-color: #383b40; }
.admin-login-form .input:focus {
  border-color: rgba(211, 174, 51, 0.85);
  box-shadow: 0 0 0 1px rgba(211, 174, 51, 0.35);
}
.admin-login-form .input-icon { color: #70757e; }
.admin-login-form .password-toggle { color: #8b9098; }
.admin-login-form .form-error { margin-bottom: -2px; }

.admin-login-submit {
  width: 100%;
  height: 44px;
  margin-top: 0;
  border-radius: 10px;
  color: #171307;
  border-color: rgba(245, 210, 89, 0.25);
  background: linear-gradient(135deg, #806716 0%, #b79727 52%, #caa92f 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.26), 0 10px 26px rgba(160, 127, 16, 0.12);
  font-size: 13.5px;
}
.admin-login-submit:hover {
  background: linear-gradient(135deg, #947817 0%, #c5a42c 52%, #dcba37 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.32), 0 14px 32px rgba(160, 127, 16, 0.19);
}

.admin-login-back {
  height: 50px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #2b2d31;
  border-radius: 10px;
  background: transparent;
  color: #e7e8ea;
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition);
}
.admin-login-back .icon { color: #a9adb4; }
.admin-login-back:hover {
  border-color: #4a4636;
  color: var(--gold-text);
  background: rgba(220, 174, 24, 0.045);
}

.admin-login-restricted {
  margin-top: 30px;
  color: #7d8188;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.admin-login-demo {
  margin-top: 9px;
  color: #6f747b;
  font-size: 10.5px;
  line-height: 1.6;
}
.admin-login-demo span { color: #a7904b; font-family: var(--font-mono); font-size: 10px; }
.admin-login-demo a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------------------------- admin shell */
.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% -16%, rgba(220, 174, 24, 0.028), transparent 30%),
    var(--admin-bg);
  color: var(--admin-text);
}

/* The design uses overlay scrollbars; keep the admin canvas edge-to-edge while
   leaving wheel/keyboard scrolling intact. */
html:has(body.admin-body) { scrollbar-width: none; }
html:has(body.admin-body)::-webkit-scrollbar { width: 0; height: 0; }

.admin-body .skip-link,
.admin-login-body .skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--primary-bright);
  color: var(--primary-ink);
  transition: top 0.2s ease;
}
.admin-body .skip-link:focus,
.admin-login-body .skip-link:focus { top: 16px; }

.admin-shell { min-height: 100vh; }

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  width: var(--admin-sidebar-w);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(220, 174, 24, 0.17);
  background:
    radial-gradient(ellipse at 18% -8%, rgba(137, 111, 33, 0.54), transparent 31%),
    radial-gradient(ellipse at -10% 104%, rgba(108, 87, 26, 0.3), transparent 40%),
    linear-gradient(180deg, #090909, #070809 64%, #080909);
  box-shadow: inset -1px 0 rgba(255, 255, 255, 0.016);
}

.admin-sidebar__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 116px;
  padding: 20px 16px 13px 25px;
}
.admin-sidebar__brand { display: inline-flex; min-width: 0; }
.admin-sidebar__brand img {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(220, 174, 24, 0.15));
}
.admin-sidebar__close { display: none; }

.admin-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  margin: 0 10px;
  padding: 10px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}
.admin-profile__icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(220, 174, 24, 0.28);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(220, 174, 24, 0.15), rgba(220, 174, 24, 0.035));
  color: #d8b446;
}
.admin-profile__copy { display: flex; flex-direction: column; min-width: 0; }
.admin-profile__copy strong { color: #efefef; font-size: 14.5px; font-weight: 500; letter-spacing: -0.015em; }
.admin-profile__copy span { margin-top: 1px; color: #8f9399; font-size: 10.5px; }

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4.5px;
  padding: 10px 10px 12px;
}
.admin-nav__link {
  position: relative;
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #b7babd;
  font-size: 13px;
  font-weight: 450;
  letter-spacing: -0.005em;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.admin-nav__icon { display: inline-flex; color: #9a9da1; transition: color var(--transition); }
.admin-nav__count { color: #8f9398; font-size: 12px; font-weight: 400; margin-left: -10px; }
.admin-nav__link:hover {
  color: var(--gold-text);
  background: rgba(220, 174, 24, 0.052);
}
.admin-nav__link:hover .admin-nav__icon { color: var(--gold-text); }
.admin-nav__link.is-active {
  color: #f4f2ea;
  border-color: rgba(240, 213, 121, 0.7);
  background:
    radial-gradient(ellipse at 0 0, rgba(220, 174, 24, 0.2), transparent 46%),
    linear-gradient(92deg, rgba(124, 98, 26, 0.32), rgba(73, 62, 27, 0.12) 60%, rgba(255, 255, 255, 0.012));
  box-shadow: inset 2px 0 #e9ce6a, inset 0 1px rgba(255, 255, 255, 0.05);
}
.admin-nav__link.is-active .admin-nav__icon { color: #f8f4e4; }
.admin-nav__link.is-active .admin-nav__count { color: #ddcf9d; }
.admin-nav__link.is-active::before {
  content: '';
  position: absolute;
  left: 9px;
  bottom: -3.5px;
  width: calc(100% - 18px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 174, 24, 0.17), transparent);
}

.admin-sidebar__bottom {
  margin-top: auto;
  padding: 10px 15px 17px;
}
.admin-signout {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
  color: #e3e4e6;
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
}
.admin-signout .icon { color: #c8cacd; }
.admin-signout:hover {
  color: var(--gold-text);
  border-color: var(--line);
  background: var(--gold-soft);
}
.admin-signout:hover .icon { color: var(--gold-text); }

.admin-workspace {
  min-height: 100vh;
  margin-left: var(--admin-sidebar-w);
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 40px;
  border-bottom: 1px solid var(--admin-line-soft);
  background: rgba(10, 11, 13, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.admin-header__left { display: flex; align-items: center; gap: 13px; min-width: 0; }
.admin-header__menu { display: none; }
.admin-header__icon { color: #d4b444; display: inline-flex; margin-top: 1px; }
.admin-header__titles { min-width: 0; }
.admin-header__titles h1 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #f1f1f2;
}
.admin-header__titles p { margin-top: 3px; color: #898e95; font-size: 11.5px; line-height: 1.2; }
.admin-header__actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }

.admin-live {
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(220, 174, 24, 0.48);
  border-radius: 999px;
  background: rgba(220, 174, 24, 0.07);
  color: #e0bd4b;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.admin-theme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: #dfe0e2;
  font-size: 11.5px;
  font-weight: 600;
  transition: var(--transition);
}
.admin-theme:hover { border-color: rgba(220, 174, 24, 0.35); color: var(--gold-text); }
.admin-theme .js-theme-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(220, 174, 24, 0.16);
  background: radial-gradient(circle at 35% 30%, rgba(245, 210, 89, 0.28), rgba(220, 174, 24, 0.06));
  color: #d8b63e;
}

.admin-refresh {
  height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: #e5e6e8;
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
}
.admin-refresh .icon { color: #cdd0d4; }
.admin-refresh:hover {
  border-color: rgba(220, 174, 24, 0.4);
  color: var(--gold-text);
  background: rgba(220, 174, 24, 0.05);
}
.admin-refresh:hover .icon { color: var(--gold-text); }
.admin-refresh.is-spinning .icon { animation: admin-spin 0.7s linear infinite; }

.admin-main {
  position: relative;
  padding: 16px 40px 44px;
}
.admin-main > * { animation: admin-fade-up 0.32s ease both; }

.admin-scrim {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(3px);
}

/* ------------------------------------------------- admin route transition
   Branded full-screen curtain shown while administrator access is verified
   and between direct-path admin sections. */
.admin-loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 38%, rgba(220, 174, 24, 0.12), transparent 31%),
    radial-gradient(circle at 82% 8%, rgba(220, 174, 24, 0.06), transparent 25%),
    #050505;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.36s ease, visibility 0.36s ease;
}
.admin-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.admin-loader__glow {
  position: absolute;
  width: min(780px, 92vw);
  height: min(780px, 92vw);
  border: 1px solid rgba(220, 174, 24, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(220, 174, 24, 0.018),
    0 0 0 160px rgba(220, 174, 24, 0.012),
    0 0 120px rgba(220, 174, 24, 0.06) inset;
  pointer-events: none;
}
.admin-loader__inner {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.admin-loader__logo {
  width: 148px;
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(220, 174, 24, 0.2));
}
.admin-loader__eyebrow {
  margin-top: 6px;
  color: #e7c34d;
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.admin-loader__title {
  margin-top: 12px;
  color: #f6f2e7;
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.admin-loader__sub {
  margin-top: 8px;
  color: #938f83;
  font-size: 11px;
  letter-spacing: 0.01em;
}
.admin-loader__bar {
  width: min(300px, 76vw);
  height: 2px;
  overflow: hidden;
  margin-top: 24px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}
.admin-loader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(245, 210, 89, 0.25), #f5d259 55%, #fff0ae);
  box-shadow: 0 0 12px rgba(245, 210, 89, 0.55);
  transform-origin: left center;
  animation: admin-loader-bar 1.05s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes admin-loader-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (max-width: 560px) {
  .admin-loader__logo { width: 124px; }
  .admin-loader__title { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .admin-loader__bar span { animation: none !important; }
  .admin-loader__bar span { transform: scaleX(1); }
}

.admin-body .noscript {
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  color: var(--admin-muted);
  background: var(--admin-panel);
}

/* --------------------------------------------------------------- common panels */
.admin-card {
  position: relative;
  border: 1px solid var(--admin-line);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.014), transparent 34%),
    var(--admin-panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.018);
}
.admin-card--flush { overflow: hidden; }
.admin-card__pad { padding: 24px; }

.admin-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(245, 210, 89, 0.34);
  border-radius: 10px;
  background: var(--gold-grad);
  color: var(--primary-ink);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.005em;
  box-shadow: 0 8px 24px rgba(220, 174, 24, 0.12), inset 0 1px rgba(255, 255, 255, 0.28);
  transition: var(--transition);
}
.admin-btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(220, 174, 24, 0.22), inset 0 1px rgba(255, 255, 255, 0.34);
}
.admin-btn-gold:disabled { opacity: 0.48; cursor: not-allowed; transform: none; }

.admin-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.024);
  color: #e6e7e9;
  font-size: 12px;
  font-weight: 550;
  transition: var(--transition);
}
.admin-btn-line .icon { color: #d9dadd; }
.admin-btn-line:hover {
  border-color: rgba(220, 174, 24, 0.38);
  color: var(--gold-text);
  background: rgba(220, 174, 24, 0.05);
}
.admin-btn-line:hover .icon { color: var(--gold-text); }

.admin-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d6ad33;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  line-height: 1.4;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  color: #b2b6bc;
  background: rgba(255, 255, 255, 0.035);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}
.admin-badge--green { color: #6de09d; border-color: rgba(92, 221, 145, 0.29); background: rgba(35, 100, 64, 0.2); }
.admin-badge--gold { color: #e4c24c; border-color: rgba(220, 174, 24, 0.34); background: rgba(220, 174, 24, 0.09); }
.admin-badge--blue { color: #a9caff; border-color: rgba(139, 185, 255, 0.29); background: rgba(67, 103, 163, 0.16); }
.admin-badge--purple { color: #cfb8ff; border-color: rgba(193, 165, 255, 0.28); background: rgba(95, 73, 158, 0.17); }
.admin-badge--red { color: #ff9c9c; border-color: rgba(255, 123, 123, 0.28); background: rgba(124, 43, 43, 0.18); }
.admin-badge--neutral { color: #9aa0a8; }
html[data-theme='light'] .admin-badge--green { color: #1c7a4a; border-color: rgba(28, 122, 74, 0.3); background: rgba(35, 164, 98, 0.1); }
html[data-theme='light'] .admin-badge--gold { color: #846408; border-color: rgba(148, 112, 6, 0.32); background: rgba(220, 174, 24, 0.13); }
html[data-theme='light'] .admin-badge--blue { color: #23588f; border-color: rgba(35, 88, 143, 0.28); background: rgba(67, 103, 163, 0.1); }
html[data-theme='light'] .admin-badge--purple { color: #5b3f9e; border-color: rgba(91, 63, 158, 0.28); background: rgba(95, 73, 158, 0.1); }
html[data-theme='light'] .admin-badge--red { color: #ad2f2f; border-color: rgba(173, 47, 47, 0.28); background: rgba(173, 47, 47, 0.08); }
html[data-theme='light'] .admin-badge--neutral { color: #5f666f; border-color: #d9dce1; background: rgba(15, 20, 28, 0.04); }

.admin-search-form { display: flex; align-items: center; gap: 8px; }
.admin-search-form .input {
  width: 300px;
  height: 42px;
  border-color: var(--admin-line);
  background: #0b0c0f;
  font-size: 12px;
}
.admin-search-form .input::placeholder { color: #656a73; }
.admin-search-form .admin-search-filter { width: auto; min-width: 170px; padding-right: 30px; cursor: pointer; }
.admin-search-form .input:focus { border-color: rgba(220, 174, 24, 0.55); }
.admin-search-form .admin-search-submit {
  height: 42px;
  min-width: 105px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(245, 210, 89, 0.25);
  border-radius: 9px;
  background: var(--gold-grad);
  color: var(--primary-ink);
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 9px 24px rgba(220, 174, 24, 0.12);
  transition: var(--transition);
}
.admin-search-form .admin-search-submit:hover { box-shadow: 0 11px 27px rgba(220, 174, 24, 0.2); transform: translateY(-1px); }

/* ----------------------------------------------------------------- overview */
.admin-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 27px 27px;
  border: 1px solid rgba(220, 174, 24, 0.29);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 91% 6%, rgba(220, 174, 24, 0.19), transparent 27%),
    radial-gradient(ellipse at 109% 112%, rgba(220, 174, 24, 0.14), transparent 31%),
    linear-gradient(132deg, #0b0c0f, #0a0b0d 60%, #0c0c0b);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}
.admin-hero::before,
.admin-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(220, 174, 24, 0.075);
  border-radius: 50%;
}
.admin-hero::before { width: 370px; height: 370px; right: -125px; top: -190px; }
.admin-hero::after { width: 280px; height: 280px; right: 130px; bottom: -260px; }
.admin-hero__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
}
.admin-hero__copy { min-width: 0; }
.admin-hero__copy h2 {
  margin-top: 8px;
  color: #f1f1f2;
  font-size: 30px;
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1.13;
}
.admin-hero__copy p { margin-top: 8px; color: #a2a6ad; font-size: 12.5px; line-height: 1.5; }
.admin-hero__actions { display: flex; align-items: center; gap: 8px; padding-top: 8px; flex: 0 0 auto; }
.admin-hero__actions .admin-btn-gold,
.admin-hero__actions .admin-btn-line { height: 44px; font-size: 11.5px; }
.admin-hero__actions .btn-icon-gold { color: var(--primary-ink); }
.admin-hero__actions .admin-btn-line .icon { color: #c9a93a; }

.admin-hero__stats {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.admin-hero-stat {
  min-height: 110px;
  padding: 15px 17px 13px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent),
    rgba(4, 5, 6, 0.38);
}
.admin-hero-stat__label {
  color: #c4c6ca;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-hero-stat__value {
  margin-top: 9px;
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: #f6f6f6;
  font-size: 24px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.035em;
}
.admin-hero-stat__value small { color: #ceb25d; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.admin-hero-stat__sub { margin-top: 9px; color: #777c84; font-size: 10px; line-height: 1.3; }

.admin-stat-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.admin-stat {
  --stat-tone: #d4ae35;
  --stat-soft: rgba(220, 174, 24, 0.1);
  position: relative;
  min-height: 172px;
  overflow: hidden;
  padding: 14px 20px 12px;
  border: 1px solid var(--admin-line);
  border-top-color: transparent;
  border-radius: 17px;
  background:
    radial-gradient(circle at 91% 20%, rgba(255, 255, 255, 0.026), transparent 27%),
    linear-gradient(150deg, #101215, #0c0e11);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.022);
}
.admin-stat::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 18px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--stat-tone), transparent 56%);
  opacity: 0.8;
  pointer-events: none;
}
.admin-stat--neutral { --stat-tone: #d7dade; --stat-soft: rgba(255, 255, 255, 0.06); }
.admin-stat--green { --stat-tone: #47c47a; --stat-soft: rgba(92, 221, 145, 0.1); }
.admin-stat--purple { --stat-tone: #9d82d3; --stat-soft: rgba(193, 165, 255, 0.1); }
.admin-stat--blue { --stat-tone: #6898de; --stat-soft: rgba(139, 185, 255, 0.1); }
.admin-stat--gold { --stat-tone: #d4ae35; --stat-soft: rgba(220, 174, 24, 0.1); }

.admin-stat__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--admin-line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--stat-tone);
}
.admin-stat__orbit {
  position: absolute;
  top: -4px;
  right: 20px;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.025), transparent 65%),
    rgba(255, 255, 255, 0.008);
  pointer-events: none;
}
.admin-stat__orbit::before {
  content: '';
  position: absolute;
  inset: -13px;
  border: 1px solid rgba(255, 255, 255, 0.025);
  border-radius: 50%;
}
.admin-stat__tag {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.038);
  color: #a8acb2;
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-stat--neutral .admin-stat__tag { color: #d4d7da; border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.045); }
.admin-stat--green .admin-stat__tag { color: #8ee5b0; border-color: rgba(92, 221, 145, 0.2); background: rgba(92, 221, 145, 0.055); }
.admin-stat--purple .admin-stat__tag { color: #cfb6ff; border-color: rgba(193, 165, 255, 0.2); background: rgba(193, 165, 255, 0.055); }
.admin-stat--blue .admin-stat__tag { color: #b0d0ff; border-color: rgba(139, 185, 255, 0.2); background: rgba(139, 185, 255, 0.055); }
.admin-stat--gold .admin-stat__tag { color: #e0c260; border-color: rgba(220, 174, 24, 0.22); background: rgba(220, 174, 24, 0.06); }

.admin-stat__value {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: #f4f4f5;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.admin-stat__value small { color: #d0d2d5; font-size: 11px; font-weight: 650; letter-spacing: 0.045em; }
.admin-stat__value--roi small { color: var(--stat-tone); font-size: 12px; }
.admin-stat__label {
  margin-top: 6px;
  color: #c9cbd0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-stat__sub { margin-top: 8px; color: #71767e; font-size: 9.5px; line-height: 1.4; }
.admin-stat__bars {
  position: absolute;
  right: 24px;
  bottom: 21px;
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  color: var(--stat-tone);
  opacity: 0.45;
}
.admin-stat__bars i { width: 3px; border-radius: 1px; background: currentColor; }
.admin-stat__bars i:nth-child(1) { height: 5px; opacity: 0.55; }
.admin-stat__bars i:nth-child(2) { height: 9px; opacity: 0.7; }
.admin-stat__bars i:nth-child(3) { height: 13px; opacity: 0.85; }
.admin-stat__bars i:nth-child(4) { height: 16px; }

.admin-bottom {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 18px;
}
.admin-bottom-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 23px 25px;
  border: 1px solid var(--admin-line);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 110%, rgba(220, 174, 24, 0.055), transparent 32%),
    var(--admin-panel);
}
.admin-bottom-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.admin-bottom-card__head h3 {
  margin-top: 7px;
  color: #ececee;
  font-size: 20px;
  font-weight: 450;
  letter-spacing: -0.028em;
}
.admin-bottom-card__head p { margin-top: 5px; color: #7d828a; font-size: 11.5px; }
.admin-bottom-card__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(220, 174, 24, 0.27);
  border-radius: 9px;
  background: rgba(220, 174, 24, 0.055);
  color: #d8b33d;
}
.admin-wallet-bars { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.admin-wallet-bar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #d5d7da;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.03em;
}
.admin-wallet-bar__top span:last-child { color: #d7b740; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0; }
.admin-wallet-bar__segments { margin-top: 8px; display: flex; gap: 6px; }
.admin-wallet-bar__segments i {
  display: block;
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: #24272b;
}
.admin-wallet-bar__segments i.is-live {
  background: linear-gradient(90deg, #3fbc71, #6be29c);
  box-shadow: 0 0 8px rgba(92, 221, 145, 0.22);
}
.admin-wallet-link {
  margin-top: 23px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d8b43c;
  font-size: 10.5px;
  font-weight: 550;
}
.admin-wallet-link:hover { color: var(--gold-text); }
.admin-attention-list { margin-top: 17px; display: flex; flex-direction: column; }
.admin-attention-row {
  min-height: 51px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--admin-line-soft);
}
.admin-attention-row:last-child { border-bottom: 0; }
.admin-attention-row__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(220, 174, 24, 0.24);
  border-radius: 7px;
  background: rgba(220, 174, 24, 0.055);
  color: #d3ad34;
}
.admin-attention-row__icon--green { border-color: rgba(92, 221, 145, 0.22); background: rgba(92, 221, 145, 0.055); color: #6ade9b; }
.admin-attention-row__icon--purple { border-color: rgba(193, 165, 255, 0.22); background: rgba(193, 165, 255, 0.055); color: #b99af0; }
.admin-attention-row__copy { min-width: 0; flex: 1; }
.admin-attention-row__copy strong { display: block; color: #dddde0; font-size: 10.5px; font-weight: 600; line-height: 1.45; }
.admin-attention-row__copy span { display: block; margin-top: 1px; color: #737880; font-size: 9px; line-height: 1.4; }
.admin-attention-row__tag {
  min-height: 20px;
  padding: 3px 8px;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  color: #8f939a;
  font-size: 6.8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.admin-attention-row__tag--gold { color: #d6b340; border-color: rgba(220, 174, 24, 0.28); }
.admin-attention-row__tag--green { color: #7edba2; border-color: rgba(92, 221, 145, 0.23); }
.admin-attention-row__tag--purple { color: #bfa4ec; border-color: rgba(193, 165, 255, 0.2); }

/* -------------------------------------------------------------------- tables */
.admin-table-card { overflow: hidden; border: 1px solid var(--admin-line); border-radius: 15px; background: var(--admin-panel); }
.admin-table-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 21px;
  border-bottom: 1px solid var(--admin-line-soft);
  background: var(--admin-panel);
}
.admin-table-head__copy h2 { color: #ededee; font-size: 17.5px; font-weight: 500; letter-spacing: -0.025em; }
.admin-table-head__copy p { margin-top: 3px; color: #797f87; font-size: 10.5px; }
.admin-table-wrap { width: 100%; overflow-x: auto; }
.admin-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.admin-table thead th {
  padding: 14px 20px;
  border-bottom: 1px solid var(--admin-line);
  background: #0e1013;
  color: #686d75;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-table thead th:last-child { text-align: right; }
.admin-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid #17191e;
  background: rgba(255, 255, 255, 0.003);
  color: #b9bdc3;
  font-size: 11.5px;
  line-height: 1.45;
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr { transition: background var(--transition); }
.admin-table tbody tr:hover td { background: rgba(255, 255, 255, 0.017); }
.admin-table td:last-child { text-align: right; }
.admin-table .cell-strong { color: #ececee; font-weight: 600; }
.admin-table .cell-gold { color: #d5b13b; font-weight: 500; }
.admin-table .cell-muted { color: #787d85; font-size: 10px; }
.admin-table .cell-mono {
  color: #a4a9b0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.admin-table .cell-note { display: block; margin-top: 3px; color: #696e76; font-size: 9px; line-height: 1.45; }
.admin-table .cell-amount { color: #e8e9ea; font-weight: 650; white-space: nowrap; }
.admin-table .cell-action { white-space: nowrap; }
.admin-table .table-empty-row td {
  padding: 54px 20px;
  color: #858a92;
  font-size: 11.5px;
  text-align: center;
}
.admin-table__user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-table__user-copy { min-width: 0; }
.admin-table__user-copy strong { display: block; color: #e8e9eb; font-size: 12px; font-weight: 500; line-height: 1.3; }
.admin-table__user-copy span { display: block; margin-top: 2px; color: #d5b13b; font-family: var(--font-mono); font-size: 8.5px; }
.admin-table .avatar { width: 31px; height: 31px; border-radius: 50%; font-size: 10px; }

.admin-user-avatar {
  width: 31px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  background: #262a30;
  color: #d4d6d9;
  font-size: 10px;
  font-weight: 650;
}
.admin-user-avatar--blue { background: rgba(77, 103, 144, 0.3); color: #c0d5f4; }
.admin-user-avatar--green { background: rgba(47, 108, 75, 0.3); color: #b9e7cd; }
.admin-user-avatar--purple { background: rgba(87, 69, 128, 0.32); color: #d8c7f7; }
.admin-user-avatar--rose { background: rgba(126, 62, 79, 0.3); color: #f0c3d2; }
.admin-user-avatar--teal { background: rgba(40, 106, 102, 0.3); color: #b5e9e4; }
.admin-user-avatar--gold { background: rgba(122, 95, 24, 0.32); color: #eed98f; }

.admin-view-btn {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  border: 1px solid #2c3036;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: #e0e1e3;
  font-size: 10.5px;
  font-weight: 500;
  transition: var(--transition);
}
.admin-view-btn .icon { color: #aeb2b8; }
.admin-view-btn:hover {
  border-color: rgba(220, 174, 24, 0.35);
  color: var(--gold-text);
  background: rgba(220, 174, 24, 0.055);
}

.admin-mini-action {
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 9px;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: #c7cacf;
  font-size: 8.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}
.admin-mini-action + .admin-mini-action { margin-left: 5px; }
.admin-mini-action--green { color: #8be3ac; border-color: rgba(92, 221, 145, 0.25); background: rgba(92, 221, 145, 0.055); }
.admin-mini-action--red { color: #ff9f9f; border-color: rgba(255, 123, 123, 0.24); background: rgba(255, 123, 123, 0.055); }
.admin-mini-action:hover { border-color: rgba(220, 174, 24, 0.35); color: var(--gold-text); }
.admin-mini-action--green:hover { border-color: rgba(92, 221, 145, 0.5); color: #b1f5c9; }
.admin-mini-action--red:hover { border-color: rgba(255, 123, 123, 0.5); color: #ffd1d1; }
.admin-mini-action:disabled { opacity: 0.4; cursor: not-allowed; }

.admin-reviewed {
  color: #747981;
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------- withdrawals */
.admin-withdraw-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.admin-requirement {
  position: relative;
  min-height: 180px;
  padding: 22px 23px 20px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(220, 174, 24, 0.045), transparent 35%),
    var(--admin-panel);
}
.admin-requirement__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.admin-requirement__label {
  color: #a7abb1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.admin-requirement__value {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #e5c153;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}
.admin-requirement__value small { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; }
.admin-requirement__sub { margin-top: 7px; color: #757a82; font-size: 9.5px; }
.admin-requirement__network {
  margin-top: 16px;
  padding: 10px 13px 11px;
  border: 1px solid #23262c;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.016);
}
.admin-requirement__network span {
  display: block;
  color: #676c74;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.admin-requirement__network strong { display: block; margin-top: 3px; color: #c9cbd0; font-size: 10px; font-weight: 500; }
.admin-requirement__network small { display: block; margin-top: 6px; color: #6ec893; font-size: 8.5px; line-height: 1.4; }
.admin-requirement .admin-badge { position: absolute; right: 22px; top: 23px; }

.admin-withdraw-card { border: 1px solid var(--admin-line); border-radius: 15px; overflow: hidden; background: var(--admin-panel); }
.admin-withdraw-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: 19px 21px 17px;
  border-bottom: 1px solid var(--admin-line-soft);
}
.admin-withdraw-head__copy h2 { color: #ededee; font-size: 19px; font-weight: 450; letter-spacing: -0.03em; }
.admin-withdraw-head__copy p { margin-top: 4px; color: #7d828a; font-size: 10.5px; }
.admin-withdraw-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 21px 15px;
  padding: 7px 11px;
  border: 1px solid rgba(92, 221, 145, 0.17);
  border-radius: 7px;
  background: rgba(92, 221, 145, 0.04);
  color: #7bcf99;
  font-size: 8.5px;
}
.admin-withdraw-note .admin-badge { color: #6fd99a; border-color: rgba(92, 221, 145, 0.28); background: transparent; font-size: 7px; min-height: 18px; }
.admin-withdraw-card .admin-table { min-width: 1000px; }
.admin-withdraw-card .admin-table thead th { background: #0d0f12; }
.admin-payout-amount { color: #e5c153; font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.admin-payout-amount span { display: block; margin-top: 2px; color: #777c83; font-size: 8.5px; font-weight: 400; }
.admin-destination strong { display: block; color: #b9bdc3; font-size: 10px; font-weight: 500; }
.admin-destination span { display: block; margin-top: 2px; max-width: 270px; overflow: hidden; color: #858a92; font-family: var(--font-mono); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.admin-copy-link {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c9a72e;
  font-size: 8px;
  font-weight: 500;
}
.admin-copy-link:hover { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------------- wallets */
.admin-wallet-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 27px 27px;
  border: 1px solid rgba(220, 174, 24, 0.3);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 94% 0, rgba(220, 174, 24, 0.16), transparent 26%),
    linear-gradient(135deg, #0b0c0e, #0a0b0d);
}
.admin-wallet-hero::after {
  content: '';
  position: absolute;
  right: -110px;
  bottom: -210px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(220, 174, 24, 0.07);
  border-radius: 50%;
  pointer-events: none;
}
.admin-wallet-hero__top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.admin-wallet-hero__top h2 { margin-top: 8px; color: #f0f0f1; font-size: 27px; font-weight: 450; letter-spacing: -0.04em; }
.admin-wallet-hero__top p { margin-top: 7px; color: #969aa1; font-size: 12px; }
.admin-wallet-hero__save { min-width: 154px; }
.admin-wallet-metrics { position: relative; z-index: 1; margin-top: 25px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.admin-wallet-metric {
  min-height: 80px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 11px;
  background: rgba(4, 5, 6, 0.32);
}
.admin-wallet-metric span { display: block; color: #999da4; font-size: 8.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.admin-wallet-metric strong { display: block; margin-top: 9px; color: #e8e9ea; font-size: 18px; font-weight: 500; letter-spacing: -0.025em; line-height: 1; }
.admin-wallet-metric strong em { color: #8e939a; font-size: 10px; font-style: normal; font-weight: 400; letter-spacing: 0; }

.admin-scanner-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-scanner {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border: 1px solid var(--admin-line);
  border-radius: 11px;
  background: var(--admin-panel);
}
.admin-scanner strong { display: block; color: #d1d3d6; font-size: 11px; font-weight: 600; }
.admin-scanner span { display: block; margin-top: 3px; color: #71767e; font-size: 8.5px; }

.admin-wallet-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.admin-wallet-card {
  padding: 19px 20px 20px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(220, 174, 24, 0.028), transparent 33%),
    var(--admin-panel);
}
.admin-wallet-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.admin-wallet-card__head h3 { margin-top: 5px; color: #e9e9ea; font-size: 21px; font-weight: 450; letter-spacing: -0.03em; }
.admin-wallet-card__tools { display: flex; align-items: center; gap: 7px; padding-top: 2px; }
.admin-wallet-card__tools .admin-badge { min-height: 26px; padding: 4px 10px; border-color: rgba(77, 104, 148, 0.4); color: #9dc3f2; background: rgba(72, 103, 152, 0.16); }
.admin-add-wallet {
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(220, 174, 24, 0.35);
  border-radius: 7px;
  background: rgba(220, 174, 24, 0.06);
  color: #d9b745;
  font-size: 9px;
  font-weight: 600;
  transition: var(--transition);
}
.admin-add-wallet:hover { border-color: rgba(220, 174, 24, 0.6); background: rgba(220, 174, 24, 0.12); color: var(--gold-text); }
.admin-wallet-list { margin-top: 13px; display: flex; flex-direction: column; gap: 7px; }
.admin-wallet-row {
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid #1d2025;
  border-radius: 8px;
  background: #101216;
}
.admin-wallet-row__num {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #2d3036;
  border-radius: 6px;
  background: #17191e;
  color: #b4b8be;
  font-size: 9px;
  font-weight: 600;
}
.admin-wallet-row__body { flex: 1; min-width: 0; }
.admin-wallet-row__label { display: block; color: #c0c3c8; font-size: 9px; font-weight: 500; line-height: 1.25; }
.admin-wallet-row__input {
  width: 100%;
  height: 20px;
  margin-top: 1px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #898e96;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.admin-wallet-row__input::placeholder { color: #5f646c; font-family: var(--font-sans); font-size: 8.5px; letter-spacing: 0; }
.admin-wallet-row__input:focus { outline: none; color: #e6e7e9; }
.admin-wallet-row__input.is-invalid { color: #ffaaaa; }

.admin-wallet-toggle,
.admin-wallet-remove {
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  border: 1px solid #30333a;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  color: #a9adb3;
  font-size: 8px;
  font-weight: 500;
  transition: var(--transition);
  flex: 0 0 auto;
}
.admin-wallet-toggle.is-active { color: #7edda2; border-color: rgba(92, 221, 145, 0.36); background: rgba(92, 221, 145, 0.065); }
.admin-wallet-toggle.is-off { color: #a5a9af; }
.admin-wallet-toggle:hover { border-color: rgba(220, 174, 24, 0.4); color: var(--gold-text); }
.admin-wallet-toggle.is-active:hover { border-color: rgba(92, 221, 145, 0.55); color: #a8f2c2; }
.admin-wallet-remove { color: #ff9292; border-color: rgba(255, 123, 123, 0.25); background: rgba(255, 123, 123, 0.035); }
.admin-wallet-remove:hover { border-color: rgba(255, 123, 123, 0.5); background: rgba(255, 123, 123, 0.08); }
.admin-wallet-note { margin-top: 14px; color: #6d727a; font-size: 9.5px; line-height: 1.55; }

/* ----------------------------------------------------------------------- ROI */
.admin-roi-wrap { max-width: 670px; }
.admin-roi-card { padding: 26px; }
.admin-roi-head { display: flex; align-items: flex-start; gap: 17px; }
.admin-roi-head__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(220, 174, 24, 0.27);
  border-radius: 12px;
  background: rgba(220, 174, 24, 0.06);
  color: #d8b23c;
}
.admin-roi-head h2 { margin-top: 2px; color: #efeff0; font-size: 21px; font-weight: 450; letter-spacing: -0.03em; }
.admin-roi-head p { margin-top: 3px; color: #838890; font-size: 11.5px; }
.admin-roi-policy {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid #23262b;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.007);
}
.admin-roi-policy__label { color: #656a72; font-size: 8.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.admin-roi-tiers { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.admin-roi-tier {
  position: relative;
  padding: 13px 14px 14px;
  border: 1px solid #2b2d2d;
  border-radius: 8px;
  background: #0b0d0f;
  text-align: left;
  transition: var(--transition);
}
button.admin-roi-tier:hover { border-color: rgba(220, 174, 24, 0.46); background: #0e100f; }
.admin-roi-tier > span { display: block; color: #8d9198; font-size: 8.5px; line-height: 1.3; }
.admin-roi-tier strong { display: block; margin-top: 11px; color: #e3c14d; font-size: 18px; font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.admin-roi-tier strong small { font-size: 9px; font-weight: 500; letter-spacing: 0; }
.admin-roi-tier__edit {
  position: absolute;
  right: 9px;
  top: 9px;
  display: inline-flex;
  color: #6e653f;
  opacity: 0.5;
  transition: var(--transition);
}
button.admin-roi-tier:hover .admin-roi-tier__edit { opacity: 1; color: var(--gold-text); }
.admin-roi-note { margin-top: 16px; color: #787d85; font-size: 9.5px; line-height: 1.6; }
.admin-roi-lock {
  margin-top: 22px;
  padding: 17px 19px;
  border: 1px solid rgba(220, 174, 24, 0.35);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(220, 174, 24, 0.08), rgba(220, 174, 24, 0.025)),
    #0c0d0d;
}
.admin-roi-lock strong { display: block; color: #dcb942; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.admin-roi-lock p { margin-top: 5px; color: #7f7470; font-size: 9.5px; line-height: 1.6; }

/* ----------------------------------------------------- announcements / popups */
.admin-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 18px;
  align-items: start;
}
.admin-form-card { padding: 21px 23px 24px; }
.admin-custody-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.admin-custody-grid fieldset { min-width: 0; }
@media (max-width: 760px) {
  .admin-custody-grid { grid-template-columns: minmax(0, 1fr); }
}
.admin-form-card__title { display: flex; align-items: center; gap: 9px; color: #dedfe1; font-size: 17px; font-weight: 500; letter-spacing: -0.025em; }
.admin-form-card__title .icon { color: #cfaa32; }
.admin-form-card form { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.admin-form-card .input { height: 47px; background: #0b0c0f; border-color: #272a30; font-size: 11.5px; }
.admin-form-card textarea.input { min-height: 86px; height: 86px; }
.admin-form-card .checkbox { color: #a7abb2; font-size: 10.5px; margin: 2px 0 4px; }
.admin-form-card .admin-publish {
  width: 100%;
  height: 48px;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(245, 210, 89, 0.28);
  border-radius: 9px;
  background: linear-gradient(135deg, #8e7214, #d9b62d 55%, #efce51);
  color: #1a1507;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 10px 30px rgba(220, 174, 24, 0.14), inset 0 1px rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}
.admin-form-card .admin-publish:hover { transform: translateY(-1px); box-shadow: 0 13px 36px rgba(220, 174, 24, 0.22); }
.admin-list-card { overflow: hidden; border: 1px solid var(--admin-line); border-radius: 14px; background: var(--admin-panel); }
.admin-list-card .admin-table { min-width: 540px; }
.admin-list-card .admin-table thead th { background: #0e1013; }
.admin-list-card .admin-table tbody td { padding-top: 13px; padding-bottom: 13px; }
.admin-list-title { display: block; color: #d8dade; font-size: 11.5px; font-weight: 500; }
.admin-list-sub { display: block; margin-top: 2px; color: #6e737b; font-size: 8.5px; line-height: 1.4; }
.admin-list-empty { padding: 44px 20px !important; color: #888d95 !important; font-size: 11px !important; text-align: center !important; }
.admin-delete-btn {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 123, 123, 0.22);
  border-radius: 6px;
  background: rgba(255, 123, 123, 0.04);
  color: #d98989;
  transition: var(--transition);
}
.admin-delete-btn:hover { border-color: rgba(255, 123, 123, 0.5); background: rgba(255, 123, 123, 0.09); color: #ffb3b3; }

/* --------------------------------------------------------------- live support */
.admin-support-desk {
  height: clamp(560px, 68.5vh, 680px);
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e5e6e9;
  border-radius: 18px;
  background: #fff;
  color: #1c1f24;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}
.admin-support-inbox {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid #e8e9ec;
  background: #fafafb;
}
.admin-support-inbox__head {
  padding: 21px 23px 13px;
  border-bottom: 1px solid #f0f1f3;
}
.admin-support-inbox__eyebrow {
  color: #a68a34;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.admin-support-inbox__title-row { margin-top: 5px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-support-inbox__title-row h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.035em; color: #1d2024; }
.admin-support-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 3px 9px;
  border: 1px solid #ecdc9e;
  border-radius: 999px;
  background: #fcf5dc;
  color: #a88724;
  font-size: 7.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.admin-support-search { position: relative; margin: 13px 22px 10px; display: flex; align-items: center; }
.admin-support-search .icon-search {
  position: absolute;
  left: 12px;
  color: #a8acb2;
  pointer-events: none;
}
.admin-support-search input {
  width: 100%;
  height: 40px;
  padding: 0 42px 0 34px;
  border: 1px solid #e4e5e8;
  border-radius: 9px;
  background: #fff;
  color: #292c31;
  font-size: 9.5px;
}
.admin-support-search input::placeholder { color: #a3a7ad; }
.admin-support-search input:focus { outline: none; border-color: #d6bd66; box-shadow: 0 0 0 3px rgba(220, 174, 24, 0.08); }
.admin-support-search__refresh {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #f0e5c3;
  border-radius: 6px;
  background: #fdf7e5;
  color: #b39335;
}
.admin-support-search__refresh:hover { background: #fbf0cd; }
.admin-support-list { flex: 1; overflow-y: auto; }
.admin-support-conv {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 22px;
  border: 0;
  border-top: 1px solid #f0f1f3;
  background: transparent;
  text-align: left;
  transition: background var(--transition);
}
.admin-support-conv:hover { background: #f7f7f8; }
.admin-support-conv.is-active { background: #fbf6e7; }
.admin-support-conv__avatar {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e5e7ea;
  color: #555b63;
  font-size: 10px;
  font-weight: 650;
}
.admin-support-conv__avatar::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 7px;
  height: 7px;
  border: 2px solid #fafafb;
  border-radius: 50%;
  background: #45c47a;
}
.admin-support-conv__body { min-width: 0; flex: 1; }
.admin-support-conv__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.admin-support-conv__top strong { color: #24272c; font-size: 10.5px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-support-conv__top time { flex: 0 0 auto; color: #a2a6ac; font-size: 7.5px; }
.admin-support-conv__id { display: block; margin-top: 1px; color: #b19335; font-family: var(--font-mono); font-size: 7px; }
.admin-support-conv__preview { display: block; margin-top: 3px; color: #8f949b; font-size: 8.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-support-empty-inbox { padding: 38px 24px; color: #989da4; font-size: 10px; text-align: center; line-height: 1.6; }
.admin-support-chat { min-width: 0; display: flex; flex-direction: column; background: #fff; }
.admin-support-chat__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}
.admin-support-chat__empty-icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border: 1px solid #f0dfaa;
  border-radius: 20px;
  background: #fdf5df;
  color: #b79636;
  box-shadow: 0 0 0 7px rgba(250, 242, 218, 0.45);
}
.admin-support-chat__empty h3 { margin-top: 22px; color: #25282d; font-size: 18px; font-weight: 650; letter-spacing: -0.025em; }
.admin-support-chat__empty p { margin-top: 7px; max-width: 390px; color: #8b9097; font-size: 9.5px; line-height: 1.55; }
.admin-support-chat__head {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 20px;
  border-bottom: 1px solid #eceef1;
  background: #fff;
}
.admin-support-chat__head .admin-support-conv__avatar { width: 38px; height: 38px; background: #eef0f2; }
.admin-support-chat__head-copy { flex: 1; min-width: 0; }
.admin-support-chat__head-copy strong { display: block; color: #24272b; font-size: 12px; font-weight: 600; }
.admin-support-chat__head-copy span { display: block; margin-top: 2px; color: #a0822c; font-family: var(--font-mono); font-size: 7.5px; }
.admin-support-chat__head-copy em { color: #a0a5ab; font-family: var(--font-sans); font-style: normal; font-size: 8px; }
.admin-support-chat__actions { display: flex; align-items: center; gap: 7px; }
.admin-support-resolve {
  height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 11px;
  border: 1px solid #e2e4e7;
  border-radius: 7px;
  background: #fff;
  color: #6f747c;
  font-size: 8.5px;
  font-weight: 550;
}
.admin-support-resolve:hover { border-color: #d8c47d; color: #9a7b19; background: #fffbef; }
.admin-support-resolve.is-resolved { border-color: #bde4ca; background: #f1fbf4; color: #388b58; }
.admin-support-thread {
  flex: 1;
  overflow-y: auto;
  padding: 19px 21px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: #fbfbfc;
}
.admin-support-day { align-self: center; margin: 2px 0 4px; color: #a3a7ae; font-size: 7.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.admin-support-msg {
  max-width: 70%;
  padding: 8px 11px;
  border-radius: 11px;
  font-size: 9.5px;
  line-height: 1.55;
}
.admin-support-msg time { display: block; margin-top: 3px; font-size: 7px; opacity: 0.55; text-align: right; }
.admin-support-msg--member {
  align-self: flex-start;
  border: 1px solid #e8e9ec;
  border-bottom-left-radius: 4px;
  background: #fff;
  color: #3e4248;
}
.admin-support-msg--support {
  align-self: flex-end;
  border: 1px solid #ecdda8;
  border-bottom-right-radius: 4px;
  background: #fdf5dc;
  color: #514625;
}
.admin-support-composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px 17px;
  border-top: 1px solid #eceef0;
  background: #fff;
}
.admin-support-composer textarea {
  flex: 1;
  height: 39px;
  max-height: 96px;
  min-height: 39px;
  padding: 10px 12px;
  border: 1px solid #e2e4e7;
  border-radius: 8px;
  background: #fafafb;
  color: #30343a;
  font-size: 9.5px;
  line-height: 1.45;
  resize: vertical;
}
.admin-support-composer textarea::placeholder { color: #a7abb1; }
.admin-support-composer textarea:focus { outline: none; border-color: #d6bd66; background: #fff; }
.admin-support-send {
  height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  border: 1px solid #d3b64e;
  border-radius: 8px;
  background: linear-gradient(135deg, #9c7e19, #d9b62d);
  color: #1c1607;
  font-size: 9px;
  font-weight: 650;
}
.admin-support-send:hover { filter: brightness(1.08); }
.admin-support-back { display: none; }

/* ------------------------------------------------------------------ support */
.admin-tickets-card { overflow: hidden; border: 1px solid var(--admin-line); border-radius: 15px; background: var(--admin-panel); }
.admin-tickets-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 21px 18px;
  border-bottom: 1px solid var(--admin-line-soft);
}
.admin-tickets-head h2 { color: #ededee; font-size: 18px; font-weight: 450; letter-spacing: -0.03em; }
.admin-tickets-head p { margin-top: 4px; color: #7c8189; font-size: 10px; }
.admin-tickets-card .admin-table { min-width: 800px; }
.admin-ticket-id { color: #d5b13b; font-family: var(--font-mono); font-size: 9px; }
.admin-ticket-sub { display: block; margin-top: 2px; color: #747981; font-size: 8.5px; }

/* ----------------------------------------------------------------- security */
.admin-security-grid {
  max-width: 1025px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.admin-security-card { padding: 25px 26px 27px; }
.admin-security-head { display: flex; align-items: flex-start; gap: 16px; }
.admin-security-head__icon {
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(220, 174, 24, 0.29);
  border-radius: 13px;
  background: rgba(220, 174, 24, 0.055);
  color: #d8b441;
}
.admin-security-head h2 { margin-top: 3px; color: #efeff0; font-size: 24px; font-weight: 450; letter-spacing: -0.035em; }
.admin-security-head p { margin-top: 4px; color: #858a92; font-size: 11px; }
.admin-security-form { margin-top: 23px; display: flex; flex-direction: column; gap: 15px; }
.admin-security-form .label { color: #8e9299; }
.admin-security-form .input { height: 45px; background: #0b0c0f; border-color: #272a30; font-size: 11.5px; }
.admin-security-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.admin-security-submit {
  width: fit-content;
  min-width: 191px;
  height: 44px;
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(245, 210, 89, 0.28);
  border-radius: 9px;
  background: linear-gradient(135deg, #8c7016, #cfad2a 60%, #e5c64a);
  color: #1a1507;
  font-size: 11.5px;
  font-weight: 650;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.27), 0 9px 25px rgba(220, 174, 24, 0.11);
  transition: var(--transition);
}
.admin-security-submit:hover { transform: translateY(-1px); box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 12px 32px rgba(220, 174, 24, 0.18); }
.admin-security-guidance {
  position: relative;
  overflow: hidden;
  padding: 25px 25px 24px;
  border: 1px solid rgba(220, 174, 24, 0.22);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 100% 100%, rgba(220, 174, 24, 0.12), transparent 36%),
    linear-gradient(150deg, #0f100f, #0b0c0d);
}
.admin-security-guidance__icon { position: absolute; right: 24px; top: 25px; color: #d4b13a; opacity: 0.9; }
.admin-security-guidance h2 { margin-top: 8px; color: #e9e9ea; font-size: 20px; font-weight: 450; letter-spacing: -0.03em; }
.admin-security-tips { margin-top: 19px; display: flex; flex-direction: column; gap: 8px; }
.admin-security-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #22252a;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}
.admin-security-tip__icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(220, 174, 24, 0.27);
  border-radius: 7px;
  background: rgba(220, 174, 24, 0.06);
  color: #d2ac32;
}
.admin-security-tip__icon--green { color: #65d893; border-color: rgba(92, 221, 145, 0.24); background: rgba(92, 221, 145, 0.05); }
.admin-security-tip__icon--blue { color: #8db4ef; border-color: rgba(139, 185, 255, 0.22); background: rgba(139, 185, 255, 0.05); }
.admin-security-tip strong { display: block; color: #d6d8db; font-size: 9.5px; font-weight: 600; line-height: 1.4; }
.admin-security-tip span { display: block; margin-top: 2px; color: #72777f; font-size: 8.5px; line-height: 1.5; }

/* -------------------------------------------------------------------- modal */
.admin-body .modal { border-color: rgba(220, 174, 24, 0.25); }
.admin-body .modal__body { background: transparent; }
.admin-user-summary { display: flex; align-items: center; gap: 13px; padding: 0 0 16px; border-bottom: 1px solid var(--admin-line-soft); }
.admin-user-summary .admin-user-avatar { width: 48px; height: 48px; font-size: 14px; }
.admin-user-summary h3 { color: #ededee; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.admin-user-summary p { margin-top: 2px; color: #8e939b; font-size: 10px; }
.admin-user-summary .admin-badge { margin-left: auto; }
.admin-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.admin-detail {
  padding: 9px 11px;
  border: 1px solid var(--admin-line-soft);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.018);
}
.admin-detail span { display: block; color: #70757d; font-size: 7.5px; font-weight: 650; letter-spacing: 0.09em; text-transform: uppercase; }
.admin-detail strong { display: block; margin-top: 3px; color: #d8dade; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.admin-detail strong.gold { color: #d5b13b; font-family: var(--font-mono); font-size: 10px; }
.admin-user-activity { margin-top: 17px; }
.admin-user-activity h4 { color: #9a9fa6; font-size: 8px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 7px; }
.admin-user-activity__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--admin-line-soft); color: #a8acb3; font-size: 10px; }
.admin-user-activity__row:last-child { border-bottom: 0; }
.admin-user-activity__row span:last-child { color: #d2d4d7; font-weight: 500; white-space: nowrap; }

/* ----------------------------------------------------------------- light mode */
html[data-theme='light'] .admin-body {
  --admin-bg: #f2f3f5;
  --admin-bg-deep: #e9ebee;
  --admin-panel: #ffffff;
  --admin-panel-2: #f8f9fa;
  --admin-panel-3: #eef0f3;
  --admin-line: #e1e3e7;
  --admin-line-soft: #eceef1;
  --admin-line-strong: #d4d8de;
  --admin-muted: #67707a;
  --admin-dim: #889099;
  --admin-text: #16191e;
  --admin-gold-ink: #846408;
  background:
    radial-gradient(circle at 82% -16%, rgba(220, 174, 24, 0.07), transparent 30%),
    var(--admin-bg);
}
html[data-theme='light'] .admin-sidebar {
  border-right-color: #e2e3e6;
  background:
    radial-gradient(ellipse at 18% -8%, rgba(220, 174, 24, 0.15), transparent 31%),
    radial-gradient(ellipse at -10% 104%, rgba(220, 174, 24, 0.07), transparent 40%),
    #fbfbfa;
  box-shadow: inset -1px 0 rgba(0, 0, 0, 0.02);
}
html[data-theme='light'] .admin-profile { border-color: #e7e8ea; }
html[data-theme='light'] .admin-profile__copy strong { color: #24272c; }
html[data-theme='light'] .admin-profile__copy span { color: #868c94; }
html[data-theme='light'] .admin-nav__link { color: #5a6169; }
html[data-theme='light'] .admin-nav__icon { color: #7e858e; }
html[data-theme='light'] .admin-nav__count { color: #8a9098; }
html[data-theme='light'] .admin-nav__link:hover { color: #8a6a09; background: rgba(220, 174, 24, 0.07); }
html[data-theme='light'] .admin-nav__link:hover .admin-nav__icon { color: #a77a0a; }
html[data-theme='light'] .admin-nav__link.is-active {
  color: #7b5c05;
  border-color: rgba(170, 123, 10, 0.45);
  background: linear-gradient(92deg, rgba(220, 174, 24, 0.16), rgba(220, 174, 24, 0.04));
}
html[data-theme='light'] .admin-nav__link.is-active .admin-nav__icon { color: #9a730b; }
html[data-theme='light'] .admin-nav__link.is-active .admin-nav__count { color: #866a1b; }
html[data-theme='light'] .admin-signout { color: #4e555e; border-color: #dadddf; background: rgba(255, 255, 255, 0.5); }
html[data-theme='light'] .admin-signout .icon { color: #707780; }
html[data-theme='light'] .admin-header { background: rgba(248, 249, 250, 0.93); border-bottom-color: #e4e5e8; }
html[data-theme='light'] .admin-header__titles h1 { color: #1a1d22; }
html[data-theme='light'] .admin-header__titles p { color: #7f858d; }
html[data-theme='light'] .admin-header__icon { color: #a47b0b; }
html[data-theme='light'] .admin-live { color: #8a6908; background: rgba(220, 174, 24, 0.1); border-color: rgba(170, 123, 10, 0.4); }
html[data-theme='light'] .admin-theme { color: #42484f; border-color: #dcdee2; background: #fff; }
html[data-theme='light'] .admin-refresh { color: #3c4249; border-color: #dcdee2; background: #fff; }
html[data-theme='light'] .admin-refresh .icon { color: #686f78; }
html[data-theme='light'] .admin-hero {
  background:
    radial-gradient(ellipse at 91% 6%, rgba(220, 174, 24, 0.17), transparent 27%),
    linear-gradient(132deg, #fefdfa, #faf8f1 60%, #fdfbf5);
  border-color: rgba(170, 123, 10, 0.27);
}
html[data-theme='light'] .admin-hero__copy h2 { color: #1a1d21; }
html[data-theme='light'] .admin-hero__copy p { color: #6e747c; }
html[data-theme='light'] .admin-hero-stat { border-color: #e7e4da; background: rgba(255, 255, 255, 0.56); }
html[data-theme='light'] .admin-hero-stat__label { color: #5e646c; }
html[data-theme='light'] .admin-hero-stat__value { color: #1b1e23; }
html[data-theme='light'] .admin-hero-stat__sub { color: #8a9098; }
html[data-theme='light'] .admin-btn-line { color: #4d545d; border-color: #dcdedf; background: rgba(255, 255, 255, 0.58); }
html[data-theme='light'] .admin-btn-line .icon { color: #94720e; }
html[data-theme='light'] .admin-stat { background: linear-gradient(150deg, #fff, #fbfbfa); }
html[data-theme='light'] .admin-stat__icon { background: rgba(20, 30, 40, 0.025); border-color: #e2e4e7; }
html[data-theme='light'] .admin-stat__orbit { background: rgba(20, 30, 40, 0.015); border-color: rgba(20, 30, 40, 0.055); }
html[data-theme='light'] .admin-stat__orbit::before { border-color: rgba(20, 30, 40, 0.03); }
html[data-theme='light'] .admin-stat__value { color: #181c21; }
html[data-theme='light'] .admin-stat__value small { color: #4f565e; }
html[data-theme='light'] .admin-stat__label { color: #4e555d; }
html[data-theme='light'] .admin-stat__sub { color: #8b9199; }
html[data-theme='light'] .admin-stat__tag { border-color: #e0e2e6; background: rgba(20, 30, 40, 0.03); color: #747b83; }
html[data-theme='light'] .admin-bottom-card { background: radial-gradient(circle at 100% 110%, rgba(220, 174, 24, 0.07), transparent 32%), #fff; }
html[data-theme='light'] .admin-bottom-card__head h3 { color: #202328; }
html[data-theme='light'] .admin-bottom-card__head p { color: #858b93; }
html[data-theme='light'] .admin-wallet-bar__top { color: #444b53; }
html[data-theme='light'] .admin-wallet-bar__segments i { background: #e7e9eb; }
html[data-theme='light'] .admin-attention-row { border-bottom-color: #eceef1; }
html[data-theme='light'] .admin-attention-row__copy strong { color: #343a41; }
html[data-theme='light'] .admin-attention-row__copy span { color: #8c929a; }
html[data-theme='light'] .admin-table-card,
html[data-theme='light'] .admin-withdraw-card,
html[data-theme='light'] .admin-tickets-card { background: #fff; }
html[data-theme='light'] .admin-table thead th { background: #f7f8f9; color: #737a83; border-bottom-color: #e7e9ec; }
html[data-theme='light'] .admin-table tbody td { color: #525a63; border-bottom-color: #f0f1f3; background: transparent; }
html[data-theme='light'] .admin-table tbody tr:hover td { background: #fafbfc; }
html[data-theme='light'] .admin-table .cell-strong { color: #1d2127; }
html[data-theme='light'] .admin-table .cell-gold { color: #8a6a08; }
html[data-theme='light'] .admin-table .cell-mono { color: #4f5760; }
html[data-theme='light'] .admin-table .cell-amount { color: #1d2127; }
html[data-theme='light'] .admin-table .table-empty-row td { color: #5f666e; }
html[data-theme='light'] .admin-mini-action--green { color: #226c45; border-color: rgba(34, 108, 69, 0.28); background: rgba(35, 164, 98, 0.08); }
html[data-theme='light'] .admin-mini-action--red { color: #b13333; border-color: rgba(177, 51, 51, 0.26); background: rgba(177, 51, 51, 0.06); }
html[data-theme='light'] .admin-mini-action:hover { border-color: rgba(166, 126, 10, 0.4); color: #846408; }
html[data-theme='light'] .admin-mini-action--green:hover { border-color: rgba(34, 108, 69, 0.5); color: #1a5535; }
html[data-theme='light'] .admin-mini-action--red:hover { border-color: rgba(177, 51, 51, 0.5); color: #8f2727; }
html[data-theme='light'] .admin-table__user-copy strong { color: #20242a; }
html[data-theme='light'] .admin-table__user-copy span { color: #8a6a08; }
html[data-theme='light'] .admin-ticket-id { color: #8a6a08; }
html[data-theme='light'] .admin-detail strong.gold { color: #8a6a08; }
html[data-theme='light'] .admin-table .avatar,
html[data-theme='light'] .admin-user-avatar { border-color: #dfe2e6; }
html[data-theme='light'] .admin-user-avatar { background: #eceef1; color: #5e6670; }
html[data-theme='light'] .admin-view-btn { color: #3e454d; border-color: #dfe1e4; background: #fff; }
html[data-theme='light'] .admin-header__menu { color: #5b626b; }
html[data-theme='light'] .admin-search-form .input { background: #fff; border-color: #dfe1e4; }
html[data-theme='light'] .admin-requirement,
html[data-theme='light'] .admin-scanner,
html[data-theme='light'] .admin-wallet-card { background: #fff; }
html[data-theme='light'] .admin-requirement__network { background: #fafbfc; border-color: #e8eaed; }
html[data-theme='light'] .admin-requirement__network strong { color: #3f464e; }
html[data-theme='light'] .admin-requirement__value { color: #a37b09; }
html[data-theme='light'] .admin-withdraw-head h2,
html[data-theme='light'] .admin-table-head__copy h2,
html[data-theme='light'] .admin-tickets-head h2 { color: #1d2127; }
html[data-theme='light'] .admin-wallet-hero {
  background:
    radial-gradient(ellipse at 94% 0, rgba(220, 174, 24, 0.14), transparent 26%),
    linear-gradient(135deg, #fefdfa, #fbf9f2);
  border-color: rgba(170, 123, 10, 0.27);
}
html[data-theme='light'] .admin-wallet-hero__top h2 { color: #1d2126; }
html[data-theme='light'] .admin-wallet-hero__top p { color: #777e86; }
html[data-theme='light'] .admin-wallet-metric { background: rgba(255, 255, 255, 0.58); border-color: #e6e4dc; }
html[data-theme='light'] .admin-wallet-metric strong { color: #23272d; }
html[data-theme='light'] .admin-wallet-row { background: #f8f9fa; border-color: #e5e7ea; }
html[data-theme='light'] .admin-wallet-row__num { background: #fff; border-color: #e1e3e7; color: #606872; }
html[data-theme='light'] .admin-wallet-row__label { color: #454c54; }
html[data-theme='light'] .admin-wallet-row__input { color: #6f7680; }
html[data-theme='light'] .admin-wallet-row__input::placeholder { color: #a1a7ae; }
html[data-theme='light'] .admin-wallet-card__head h3 { color: #22262b; }
html[data-theme='light'] .admin-scanner strong { color: #3c434b; }
html[data-theme='light'] .admin-scanner span { color: #8a9098; }
html[data-theme='light'] .admin-roi-card { background: #fff; }
html[data-theme='light'] .admin-roi-head h2 { color: #22262b; }
html[data-theme='light'] .admin-roi-tier { background: #fafbfc; border-color: #e3e5e8; }
html[data-theme='light'] .admin-roi-tier strong { color: #9e7708; }
html[data-theme='light'] .admin-roi-lock { background: #fffbef; border-color: rgba(170, 123, 10, 0.32); }
html[data-theme='light'] .admin-roi-lock p { color: #7c7361; }
html[data-theme='light'] .admin-form-card,
html[data-theme='light'] .admin-list-card { background: #fff; }
html[data-theme='light'] .admin-form-card__title { color: #22262c; }
html[data-theme='light'] .admin-form-card .input { background: #fff; border-color: #e1e3e6; }
html[data-theme='light'] .admin-list-title { color: #323840; }
html[data-theme='light'] .admin-security-card { background: #fff; }
html[data-theme='light'] .admin-security-head h2 { color: #22262b; }
html[data-theme='light'] .admin-security-head p { color: #80868e; }
html[data-theme='light'] .admin-security-form .input { background: #fff; border-color: #e1e3e6; }
html[data-theme='light'] .admin-security-guidance {
  background:
    radial-gradient(ellipse at 100% 100%, rgba(220, 174, 24, 0.12), transparent 36%),
    linear-gradient(150deg, #fffdf7, #fff);
  border-color: rgba(170, 123, 10, 0.22);
}
html[data-theme='light'] .admin-security-guidance h2 { color: #22262b; }
html[data-theme='light'] .admin-security-tip { background: #f8f9fa; border-color: #e4e7eb; }
html[data-theme='light'] .admin-security-tip strong { color: #2f353d; }
html[data-theme='light'] .admin-security-tip span { color: #5b636c; }
html[data-theme='light'] .admin-sidebar__close { color: #5e6570; }
html[data-theme='light'] .admin-scrim { background: rgba(20, 24, 29, 0.28); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1360px) {
  .admin-main { padding-left: 26px; padding-right: 26px; }
  .admin-header { padding-left: 26px; padding-right: 26px; }
  .admin-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-hero__copy h2 { font-size: 28px; }
}

@media (max-width: 1180px) {
  :root { --admin-sidebar-w: 244px; }
  .admin-sidebar__brand-row { padding-left: 18px; }
  .admin-sidebar__brand img { width: 122px; }
  .admin-bottom { grid-template-columns: 1fr; }
  .admin-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .admin-hero__actions { flex-wrap: wrap; justify-content: flex-end; }
  .admin-hero__stats { gap: 12px; }
  .admin-security-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1020px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.24s ease;
    box-shadow: 30px 0 70px rgba(0, 0, 0, 0.35);
  }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-sidebar__close { display: inline-grid; color: #d8dadd; border-color: rgba(255, 255, 255, 0.14); }
  .admin-workspace { margin-left: 0; }
  .admin-header__menu { display: inline-grid; }
  .admin-header { padding-left: 20px; padding-right: 20px; }
  .admin-main { padding: 16px 20px 36px; }
  .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-hero { padding: 22px 22px 24px; }
  .admin-hero__top { flex-direction: column; gap: 15px; }
  .admin-hero__actions { justify-content: flex-start; }
  .admin-split { grid-template-columns: 1fr; }
  .admin-security-grid { grid-template-columns: 1fr; max-width: 760px; }
  .admin-support-desk { grid-template-columns: 290px minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .admin-header { height: auto; min-height: 74px; padding-top: 10px; padding-bottom: 10px; }
  .admin-header__actions { gap: 6px; }
  .admin-refresh span:last-child { display: none; }
  .admin-refresh { width: 37px; padding: 0; }
  .admin-theme { padding-right: 6px; }
  .admin-theme .js-theme-label { display: none; }
  .admin-live { display: none; }
  .admin-header__titles h1 { font-size: 19px; }
  .admin-main { padding: 13px 14px 30px; }
  .admin-hero__stats { grid-template-columns: 1fr; margin-top: 20px; }
  .admin-hero-stat { min-height: 94px; }
  .admin-stat-grid { grid-template-columns: 1fr; gap: 11px; }
  .admin-stat { min-height: 165px; }
  .admin-withdraw-summary { grid-template-columns: 1fr; }
  .admin-scanner-grid,
  .admin-wallet-grid { grid-template-columns: 1fr; }
  .admin-wallet-metrics { grid-template-columns: 1fr; gap: 9px; }
  .admin-wallet-hero__top { flex-direction: column; }
  .admin-hero__actions { width: 100%; }
  /* Natural width, wrapping onto a new row instead of squeezing labels onto three lines. */
  .admin-hero__actions > * { flex: 1 1 auto; white-space: nowrap; }
  .admin-table-head,
  .admin-withdraw-head,
  .admin-tickets-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .admin-search-form { width: 100%; flex-wrap: wrap; }
  .admin-search-form .input { flex: 1; width: auto; min-width: 0; }
  .admin-search-form .admin-search-filter { flex: 1 1 100%; }
  .admin-search-form .admin-search-submit { min-width: 92px; }
  .admin-split { grid-template-columns: 1fr; }
  .admin-roi-tiers { grid-template-columns: 1fr; }
  .admin-security-grid2 { grid-template-columns: 1fr; }
  .admin-support-desk { display: flex; flex-direction: column; height: 620px; }
  .admin-support-inbox { border-right: 0; flex: 1; }
  .admin-support-chat { display: none; flex: 1; }
  .admin-support-desk.has-chat .admin-support-inbox { display: none; }
  .admin-support-desk.has-chat .admin-support-chat { display: flex; }
  .admin-support-back { display: inline-grid; width: 29px; height: 29px; place-items: center; border: 1px solid #e5e7ea; border-radius: 7px; background: #fff; color: #6d747d; }
  .admin-support-msg { max-width: 86%; }
  .admin-login-card { padding: 23px; }
  .admin-login-title { font-size: 27px; }
  .admin-login-panel { max-width: 382px; }
  .admin-login-demo { font-size: 9.5px; }
  .admin-user-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .admin-login-page { padding: 22px 14px; }
  .admin-login-card { padding: 20px; margin-top: 26px; }
  .admin-login-lock { width: 68px; height: 68px; border-radius: 16px; }
  .admin-login-card .input { height: 46px; }
}

/* ----------------------------------------------------------------- anim keyframes */
@keyframes admin-spin { to { transform: rotate(360deg); } }
@keyframes admin-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ------------------------------------------------- support desk · themed
   The support desk predates the admin token set, so its light palette is
   re-mapped onto the same variables the rest of the console uses. Keeping the
   mapping here means the desk follows the theme toggle like every other card. */
.admin-support-desk {
  border-color: var(--admin-line);
  background: var(--admin-panel);
  color: var(--admin-text);
}
.admin-support-inbox {
  border-right-color: var(--admin-line);
  background: var(--admin-bg);
}
.admin-support-inbox__head { border-bottom-color: var(--admin-line-soft); }
.admin-support-inbox__title-row h2 { color: var(--admin-text); }
.admin-support-unread {
  border-color: rgba(213, 177, 59, 0.32);
  background: rgba(213, 177, 59, 0.12);
  color: #8a721f;
}
.admin-support-search input {
  border-color: var(--admin-line);
  background: var(--admin-panel);
  color: var(--admin-text);
}
.admin-support-search input::placeholder { color: var(--admin-dim); }
.admin-support-search input:focus {
  border-color: rgba(213, 177, 59, 0.55);
  box-shadow: 0 0 0 3px rgba(213, 177, 59, 0.1);
}
.admin-support-search__refresh {
  border-color: rgba(213, 177, 59, 0.28);
  background: rgba(213, 177, 59, 0.1);
  color: #b9972e;
}
.admin-support-search__refresh:hover { background: rgba(213, 177, 59, 0.18); }
.admin-support-conv { border-top-color: var(--admin-line-soft); }
.admin-support-conv:hover { background: rgba(255, 255, 255, 0.035); }
.admin-support-conv.is-active { background: rgba(213, 177, 59, 0.09); }
.admin-support-conv__avatar {
  background: var(--admin-line);
  color: var(--admin-muted);
}
.admin-support-conv__avatar::after { border-color: var(--admin-bg); }
.admin-support-conv__top strong { color: var(--admin-text); }
.admin-support-conv__top time { color: var(--admin-dim); }
.admin-support-conv__preview { color: var(--admin-muted); }
.admin-support-conv__unread {
  flex: 0 0 auto;
  align-self: center;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9c7e19, #d9b62d);
  color: #1c1607;
  font-size: 8px;
  font-weight: 700;
}
.admin-support-empty-inbox { color: var(--admin-dim); }
.admin-support-chat { background: var(--admin-panel); }
.admin-support-chat__head {
  border-bottom-color: var(--admin-line-soft);
  background: var(--admin-panel);
}
.admin-support-chat__head .admin-support-conv__avatar { background: var(--admin-line); }
.admin-support-chat__head-copy strong { color: var(--admin-text); }
.admin-support-chat__head-copy p {
  margin-top: 2px;
  color: var(--admin-muted);
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-support-chat__head-copy em { color: var(--admin-dim); }
.admin-support-chat__empty h3 { color: var(--admin-text); }
.admin-support-chat__empty p { color: var(--admin-muted); }
.admin-support-chat__empty-icon {
  border-color: rgba(213, 177, 59, 0.3);
  background: rgba(213, 177, 59, 0.08);
  color: #b9972e;
  box-shadow: none;
}
.admin-support-resolve {
  border-color: var(--admin-line);
  background: transparent;
  color: var(--admin-muted);
}
.admin-support-resolve:hover {
  border-color: rgba(213, 177, 59, 0.45);
  background: rgba(213, 177, 59, 0.08);
  color: #b9972e;
}
.admin-support-resolve.is-resolved {
  border-color: rgba(96, 200, 140, 0.4);
  background: rgba(96, 200, 140, 0.1);
  color: #5cab7e;
}
html[data-theme='light'] .admin-support-resolve.is-resolved {
  border-color: rgba(46, 125, 82, 0.38);
  background: rgba(96, 200, 140, 0.16);
  color: #2e7d52;
}
.admin-support-thread { background: var(--admin-bg-deep); }
.admin-support-day { color: var(--admin-dim); }
.admin-support-msg--member {
  border-color: var(--admin-line);
  background: var(--admin-panel);
  color: var(--admin-text);
}
.admin-support-msg--support {
  border-color: rgba(213, 177, 59, 0.32);
  background: rgba(213, 177, 59, 0.12);
  color: #6f5714;
}
.admin-support-closed {
  margin: 16px;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  color: var(--admin-muted);
  font-size: 9.5px;
  text-align: center;
}
.admin-support-composer {
  border-top-color: var(--admin-line-soft);
  background: var(--admin-panel);
}
.admin-support-composer textarea {
  border-color: var(--admin-line);
  background: var(--admin-bg);
  color: var(--admin-text);
}
.admin-support-composer textarea::placeholder { color: var(--admin-dim); }
.admin-support-composer textarea:focus {
  border-color: rgba(213, 177, 59, 0.55);
  background: var(--admin-panel);
}
html[data-theme='dark'] .admin-support-unread { color: #d5b13b; }
html[data-theme='dark'] .admin-support-msg--support { color: #ecd9a4; }
html[data-theme='dark'] .admin-support-conv:hover { background: rgba(255, 255, 255, 0.035); }
html[data-theme='light'] .admin-support-conv:hover { background: #f4f5f6; }

/* Publish button: the dark-theme ramp starts on a deep olive, which reads muddy
   on the light shell; use the standard gold ramp with dark ink instead. */
html[data-theme='light'] .admin-form-card .admin-publish {
  border-color: rgba(154, 111, 12, 0.34);
  background: linear-gradient(180deg, #f0cd45 0%, #e0b31f 55%, #d3a414 100%);
  color: #191307;
  box-shadow: 0 10px 26px rgba(178, 137, 16, 0.2), inset 0 1px rgba(255, 255, 255, 0.5);
}
html[data-theme='light'] .admin-form-card .admin-publish:hover {
  box-shadow: 0 13px 32px rgba(178, 137, 16, 0.28), inset 0 1px rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------- partner admin pages
   Pieces added with the daily ROI postings, multi-wallet deposits and popups.
   Everything reads from the same admin tokens, so the theme toggle applies. */
.admin-user-avatar--square {
  width: 30px;
  height: 30px;
  border-color: #2c3036;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  color: #a9adb3;
  font-size: 9.5px;
}
.admin-table .cell-name { color: #e8e9eb; font-size: 12px; font-weight: 500; }
.admin-table .cell-id,
.admin-list-sub.cell-id { color: #d5b13b; font-family: var(--font-mono); }
.admin-table .cell-balance { color: #e3e4e6; font-weight: 500; white-space: nowrap; }
.admin-table .cell-date { color: #d6d8db; font-size: 10px; font-weight: 500; white-space: nowrap; }
.admin-table .cell-pos,
.admin-detail .cell-pos,
.admin-user-activity .cell-pos { color: #6de09d; }
.admin-table .cell-neg,
.admin-detail .cell-neg,
.admin-user-activity .cell-neg { color: #ff9c9c; }
.admin-row-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.admin-row-actions .admin-mini-action + .admin-mini-action { margin-left: 0; }
.admin-member-email { display: block; margin-top: 1px; color: #6e737b; font-size: 8px; font-style: normal; }

.admin-verify strong { display: block; color: #d2d4d8; font-size: 10px; font-weight: 500; }
.admin-verify span { display: block; margin-top: 2px; color: #6a6f77; font-size: 8.5px; }
.admin-verify .cell-mono { color: #80858d; font-size: 8px; }
.admin-hash {
  padding: 0;
  border: 0;
  background: transparent;
  color: #80858d;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.admin-hash:hover { color: var(--gold-text); }
.admin-destination .admin-copy-link { display: block; }

/* overview: boxed attention rows and side-by-side wallet bars */
.admin-wallet-bars--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-bottom-card__icon--bare { border: 0; background: transparent; }
.admin-bottom-card .admin-attention-row {
  margin-bottom: 8px;
  padding: 9px 12px;
  border: 1px solid var(--admin-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.012);
  transition: border-color var(--transition), background var(--transition);
}
.admin-bottom-card .admin-attention-row:last-child { margin-bottom: 0; border-bottom: 1px solid var(--admin-line); }
.admin-bottom-card .admin-attention-row:hover { border-color: rgba(220, 174, 24, 0.32); background: rgba(220, 174, 24, 0.03); }
.admin-attention-row__icon--blue { border-color: rgba(139, 185, 255, 0.22); background: rgba(139, 185, 255, 0.055); color: #8db4ef; }
.admin-attention-row__tag--blue { color: #a9caff; border-color: rgba(139, 185, 255, 0.22); }
.admin-attention-row__tag { border: 0; padding-right: 0; }

/* callouts used in confirmations */
.admin-callout {
  margin-bottom: 12px;
  padding: 11px 13px;
  border: 1px solid var(--admin-line);
  border-radius: 9px;
  color: #b9bdc3;
  font-size: 11px;
  line-height: 1.55;
}
.admin-callout--gold { color: #e6c867; border-color: rgba(220, 174, 24, 0.34); background: rgba(220, 174, 24, 0.07); }
.admin-callout--red { color: #ffb3b3; border-color: rgba(255, 123, 123, 0.32); background: rgba(124, 43, 43, 0.16); }
.admin-callout--neutral { background: rgba(255, 255, 255, 0.02); }
.admin-modal-table { border: 1px solid var(--admin-line); border-radius: 10px; }
.admin-modal-table .admin-table { min-width: 520px; }
.admin-total-row td { border-top: 1px solid var(--admin-line); }

/* deposit wallets */
.admin-wallet-row__label em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 7px;
  color: #d6b340;
  font-size: 7.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.admin-wallet-row__input[readonly] { cursor: not-allowed; }
.admin-add-wallet:disabled { opacity: 0.45; cursor: not-allowed; }
.admin-wallet-dirty {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e4c24c;
  font-size: 10.5px;
}
.admin-wallet-switches { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 22px; }
.admin-wallet-switches .checkbox { display: flex; align-items: center; gap: 8px; }
.admin-limit-set { min-width: 0; padding: 12px 14px 14px; border: 1px solid var(--admin-line); border-radius: 10px; }
.admin-limit-set legend { padding: 0 6px; color: var(--admin-gold-ink); font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-limit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.admin-limit-grid .field label { color: #8e9299; font-size: 9.5px; }
.admin-form-card .admin-custody-grid { margin-top: 14px; }
.admin-confirm-net { margin-bottom: 10px; padding: 10px 12px; border: 1px solid var(--admin-line); border-radius: 9px; }
.admin-confirm-net strong { display: block; color: var(--admin-text); font-size: 11px; font-weight: 600; }
.admin-confirm-net span { display: block; margin-top: 4px; color: var(--admin-muted); font-size: 10px; word-break: break-all; }
.admin-confirm-net .cell-mono { color: #d9dbde; font-family: var(--font-mono); font-size: 10px; }

/* daily ROI */
.admin-roi-layout {
  display: grid;
  grid-template-columns: minmax(0, 670px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.admin-roi-policy__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-roi-policy__top .admin-copy-link { margin-top: 0; font-size: 9px; }
.admin-roi-tier strong.is-negative { color: #ff9c9c; }
.admin-roi-tier__when { display: block; margin-top: 8px; color: #6f747c; font-size: 8px; font-style: normal; }
.admin-roi-form form { gap: 13px; }
.admin-roi-form .field label,
.admin-body .modal .admin-roi-rate-grid .field label { display: flex; justify-content: space-between; gap: 6px; color: #a7abb2; font-size: 10px; }
.admin-roi-form .field label span,
.admin-body .modal .admin-roi-rate-grid .field label span { color: #6e737b; font-size: 9px; }
.admin-roi-rate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.admin-roi-rate { position: relative; }
.admin-roi-rate .input { padding-right: 30px; }
.admin-roi-rate .input[readonly] { opacity: 0.6; }
.admin-roi-rate span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #8e9299; font-size: 11px; pointer-events: none; }
.admin-roi-duty {
  padding: 12px 14px;
  border: 1px solid rgba(220, 174, 24, 0.24);
  border-radius: 9px;
  background: rgba(220, 174, 24, 0.04);
}
.admin-roi-duty strong { display: flex; align-items: center; gap: 6px; color: #e0bf4c; font-size: 10.5px; font-weight: 650; }
.admin-roi-duty ul { margin-top: 7px; padding-left: 16px; list-style: disc; }
.admin-roi-duty li { margin-top: 3px; color: #9b9fa6; font-size: 9.5px; line-height: 1.5; }
.admin-roi-attest { display: flex; align-items: flex-start !important; gap: 9px; line-height: 1.55; }
.admin-roi-attest input { flex: 0 0 auto; margin-top: 3px; }
.admin-roi-attest span { color: #b2b6bc; font-size: 10px; }
.admin-roi-history { min-width: 1080px; }
.admin-roi-note-cell { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-roi-correction-row td { background: rgba(193, 165, 255, 0.025); }
.admin-roi-correction-row td:first-child { box-shadow: inset 2px 0 rgba(193, 165, 255, 0.45); }

/* security */
.admin-security-foot { position: relative; margin-top: 16px; color: #7d828a; font-size: 9.5px; }
.admin-security-foot a { display: inline-flex; align-items: center; gap: 3px; color: #d8b43c; }
.admin-security-foot a:hover { color: var(--gold-text); }
.admin-security-tip > span:last-child { min-width: 0; }

/* Live Support keeps the white desk from the design in both themes: the
   themed rules above read these tokens, so re-scoping them is enough. */
.admin-support-desk {
  --admin-bg: #fafafb;
  --admin-bg-deep: #f6f7f8;
  --admin-panel: #ffffff;
  --admin-line: #e5e6e9;
  --admin-line-soft: #eef0f2;
  --admin-muted: #8b9097;
  --admin-dim: #a3a7ad;
  --admin-text: #1d2024;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}
.admin-support-desk .admin-support-conv__avatar { background: #1f2630; color: #ffffff; }
.admin-support-desk .admin-support-conv__avatar::after { border-color: #ffffff; }
.admin-support-desk .admin-support-conv__id { color: #b19335; }
html[data-theme='dark'] .admin-support-desk .admin-support-unread { color: #a88724; }
html[data-theme='dark'] .admin-support-desk .admin-support-msg--support { color: #6f5714; }
html[data-theme='dark'] .admin-support-desk .admin-support-conv:hover { background: #f4f5f6; }
.admin-support-desk .admin-support-conv.is-active { background: #fbf6e7; }

/* light theme */
html[data-theme='light'] .admin-user-avatar--square { border-color: #d9dce1; background: #fff; color: #5f666f; }
html[data-theme='light'] .admin-table .cell-name,
html[data-theme='light'] .admin-table .cell-balance,
html[data-theme='light'] .admin-table .cell-date { color: #1f2329; }
html[data-theme='light'] .admin-table .cell-id,
html[data-theme='light'] .admin-list-sub.cell-id { color: #8a6a0c; }
html[data-theme='light'] .admin-table .cell-pos,
html[data-theme='light'] .admin-detail .cell-pos,
html[data-theme='light'] .admin-user-activity .cell-pos { color: #1c7a4a; }
html[data-theme='light'] .admin-table .cell-neg,
html[data-theme='light'] .admin-detail .cell-neg,
html[data-theme='light'] .admin-user-activity .cell-neg { color: #ad2f2f; }
html[data-theme='light'] .admin-verify strong { color: #2a2e34; }
html[data-theme='light'] .admin-bottom-card .admin-attention-row { background: #fff; }
html[data-theme='light'] .admin-callout { color: #3d434b; }
html[data-theme='light'] .admin-callout--gold { color: #7a5c06; }
html[data-theme='light'] .admin-callout--red { color: #9b2c2c; background: rgba(173, 47, 47, 0.06); }
html[data-theme='light'] .admin-confirm-net .cell-mono { color: #2a2e34; }
html[data-theme='light'] .admin-roi-duty { background: rgba(220, 174, 24, 0.08); }
html[data-theme='light'] .admin-roi-duty strong { color: #846408; }
html[data-theme='light'] .admin-roi-duty li,
html[data-theme='light'] .admin-roi-attest span { color: #4b5159; }
html[data-theme='light'] .admin-roi-tier strong.is-negative { color: #ad2f2f; }
html[data-theme='light'] .admin-wallet-dirty { color: #846408; }

@media (max-width: 1180px) {
  .admin-roi-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .admin-wallet-bars--split,
  .admin-roi-rate-grid,
  .admin-limit-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-wallet-row { flex-wrap: wrap; }
  .admin-wallet-row__body { flex-basis: calc(100% - 40px); }
}

/* ------------------------------------------------------------ investment plans */
.admin-plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.admin-plan-card { display: flex; flex-direction: column; padding: 20px 21px; }
.admin-plan-card__cover {
  position: relative;
  margin: -20px -21px 16px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: linear-gradient(135deg, rgba(220, 174, 24, 0.14), rgba(255, 255, 255, 0.02));
}
.admin-plan-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-plan-card__cover.is-empty {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--admin-muted); font-size: 10px; border-bottom: 1px dashed var(--admin-line-strong);
}
.admin-cover-field__label { display: block; margin-bottom: 8px; color: var(--admin-text); font-size: 12px; font-weight: 500; }
.admin-cover-field__row { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 16px; align-items: center; }
.admin-cover-preview {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px dashed var(--admin-line-strong); border-radius: 12px;
  background: linear-gradient(135deg, rgba(220, 174, 24, 0.1), rgba(255, 255, 255, 0.02));
}
.admin-cover-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.admin-cover-preview.has-image { border-style: solid; }
.admin-cover-preview__empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--admin-muted); font-size: 10px;
}
.admin-cover-preview.has-image .admin-cover-preview__empty { display: none; }
.admin-cover-field__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-cover-field__actions .admin-list-sub { flex-basis: 100%; margin-top: 2px; }
.admin-cover-pick { cursor: pointer; }
.admin-cover-pick:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 640px) { .admin-cover-field__row { grid-template-columns: minmax(0, 1fr); } }
.admin-plan-card.is-hidden { opacity: 0.72; }
.admin-plan-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.admin-plan-card__head h3 { margin-top: 6px; color: var(--admin-text); font-size: 20px; font-weight: 500; letter-spacing: -0.025em; }
.admin-plan-card__tagline { margin-top: 6px; font-size: 10px; }
.admin-plan-terms { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-plan-terms div { padding: 9px 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: rgba(255, 255, 255, 0.015); }
.admin-plan-terms span { display: block; color: #70757d; font-size: 7.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.admin-plan-terms strong { display: block; margin-top: 4px; color: #e3c14d; font-size: 11px; font-weight: 600; }
.admin-plan-stats { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; color: #868b93; font-size: 9.5px; }
.admin-plan-stats b { color: #dfe1e4; font-weight: 600; }
.admin-plan-features { margin-top: 12px; display: flex; flex-direction: column; gap: 5px; }
.admin-plan-features li { display: flex; align-items: center; gap: 7px; color: #a5a9b0; font-size: 10px; }
.admin-plan-features .icon { color: #6ade9b; flex: 0 0 auto; }
.admin-plan-card__actions { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; }
.admin-plan-card__actions .admin-btn-line { height: 36px; padding: 0 14px; }
.admin-rate-chips { display: flex; flex-direction: column; gap: 3px; }
.admin-rate-chips span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; max-width: 220px; font-size: 10px; }
.admin-rate-chips em { color: #8e939b; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-rate-chips b { font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; }
.admin-rate-chips .cell-pos { color: #6de09d; }
.admin-rate-chips .cell-neg { color: #ff9c9c; }
.admin-wallet-metrics--wide { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-roi-tiers { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
html[data-theme='light'] .admin-plan-terms div { background: #fff; }
html[data-theme='light'] .admin-plan-terms strong { color: #846408; }
html[data-theme='light'] .admin-plan-stats b { color: #1f2329; }
html[data-theme='light'] .admin-rate-chips .cell-pos { color: #1c7a4a; }
html[data-theme='light'] .admin-rate-chips .cell-neg { color: #ad2f2f; }
@media (max-width: 1180px) { .admin-wallet-metrics--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .admin-wallet-metrics--wide { grid-template-columns: minmax(0, 1fr); }
  .admin-plan-terms { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------- admin security */
.admin-security-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.admin-card-head .admin-form-card__title { margin: 0; }
.admin-checks { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.admin-check { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-top: 1px solid var(--admin-line-soft); }
.admin-check:first-child { border-top: 0; }
.admin-check__icon { display: inline-flex; flex: none; margin-top: 1px; }
.admin-check--green .admin-check__icon { color: #5cdd91; }
.admin-check--gold .admin-check__icon { color: #e4c24c; }
.admin-check--red .admin-check__icon { color: #ff8f8f; }
.admin-check strong { display: block; color: var(--admin-text); font-size: 12px; font-weight: 600; }
.admin-check strong + span { display: block; margin-top: 2px; color: var(--admin-muted); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.admin-events { display: grid; gap: 0; max-height: 430px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.admin-event { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--admin-line-soft); }
.admin-event:first-child { border-top: 0; }
.admin-event > div { flex: 1; min-width: 0; }
.admin-event strong { display: block; color: #c9ccd1; font-size: 11.5px; font-weight: 500; line-height: 1.45; }
.admin-event.is-open strong { color: var(--admin-text); font-weight: 600; }
.admin-event span:not(.admin-badge) { display: block; margin-top: 3px; color: var(--admin-dim); font-size: 10.5px; overflow-wrap: anywhere; }
.admin-event .admin-badge { flex: none; text-transform: capitalize; }
.admin-block-form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 0.8fr) auto;
  gap: 8px;
  padding: 0 18px 14px;
}
.admin-quote { color: #c9ccd1; font-size: 11px; font-style: italic; }
.admin-link-btn { padding: 0; border: 0; background: none; color: var(--admin-gold-ink); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.admin-link-btn:hover { text-decoration: underline; }
.admin-link-btn:focus-visible { outline: 2px solid var(--admin-gold-ink); outline-offset: 2px; }
.cell-note { display: block; margin-top: 2px; color: var(--admin-dim); font-size: 10.5px; overflow-wrap: anywhere; }
.admin-callout .icon { margin-right: 6px; vertical-align: -2px; }
.admin-callout--row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.admin-callout--row .admin-btn-line { flex: none; }
.admin-empty-state { padding: 52px 24px; text-align: center; }
.admin-empty-state .admin-security-head__icon { margin: 0 auto 14px; }
.admin-empty-state h2 { color: var(--admin-text); font-size: 17px; font-weight: 500; }
.admin-empty-state p { max-width: 440px; margin: 8px auto 0; color: var(--admin-muted); font-size: 12px; line-height: 1.6; }
.admin-enrol { max-width: 760px; }
.admin-enrol__grid { display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 18px; }
.admin-enrol__qr { width: 188px; height: 188px; padding: 8px; border-radius: 12px; background: #fff; }
.admin-enrol__steps { display: grid; gap: 9px; margin: 0 0 16px; padding-left: 18px; color: #c9ccd1; font-size: 12px; line-height: 1.55; }
.admin-enrol__key {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 7px;
  border: 1px solid var(--admin-line-strong);
  border-radius: 6px;
  background: var(--admin-panel-3);
  color: var(--admin-gold-ink);
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
@media (max-width: 980px) {
  .admin-security-split { grid-template-columns: minmax(0, 1fr); }
  .admin-block-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .admin-enrol__grid { grid-template-columns: minmax(0, 1fr); }
  .admin-block-form { grid-template-columns: minmax(0, 1fr); }
  .admin-callout--row { flex-direction: column; align-items: flex-start; }
}
html[data-theme='light'] .admin-check strong,
html[data-theme='light'] .admin-event.is-open strong { color: #1d2026; }
html[data-theme='light'] .admin-event strong,
html[data-theme='light'] .admin-quote,
html[data-theme='light'] .admin-enrol__steps { color: #3d424b; }
html[data-theme='light'] .admin-enrol__key { background: #f6f3ea; color: #7a5c06; }
/* Screen-reader-only header labels are absolutely positioned; keep them
   inside the scrolling table instead of widening the page on phones. */
.admin-table-wrap { position: relative; }

/* --------------------------------------------------------------- coin mining */
.admin-mining-grid { display: flex; flex-direction: column; gap: 16px; }
.admin-mining-game { overflow: hidden; padding: 0; }
.admin-mining-game__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 19px 20px 15px; border-bottom: 1px solid var(--admin-line);
}
.admin-mining-game__head h3 { margin-top: 3px; color: var(--admin-text); font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.admin-mining-game__head .admin-list-sub { max-width: 700px; margin-top: 5px; }
.admin-mining-game__badges { display: flex; flex: none; flex-wrap: wrap; gap: 6px; }
.admin-mining-game__stats {
  display: flex; flex-wrap: wrap; gap: 7px 24px; padding: 12px 20px;
  border-bottom: 1px solid var(--admin-line-soft); color: var(--admin-muted); font-size: 11.5px;
}
.admin-mining-game__stats span { display: inline-flex; align-items: baseline; gap: 5px; }
.admin-mining-game__stats b { color: var(--admin-text); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.admin-mining-game__foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 16px; border-top: 1px solid var(--admin-line-soft); }
.admin-mining-segment { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--admin-text); font-weight: 500; }
.admin-mining-segment > i { flex: none; width: 9px; height: 9px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.admin-mining-chance { color: var(--admin-gold-ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.admin-mining-editor__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.admin-mining-editor__top--three { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.7fr); }
.admin-mining-editor__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 2px; }
.admin-mining-editor__head h3 { color: var(--admin-text); font-size: 14px; font-weight: 600; }
.admin-mining-editor__head .admin-list-sub { margin-top: 3px; }
.admin-mining-editor__head .admin-btn-line { flex: none; }
.admin-mining-editor { width: 100%; min-width: 0; table-layout: fixed; }
.admin-mining-editor th,
.admin-mining-editor td { padding: 8px 6px; vertical-align: middle; }
.admin-mining-editor th:nth-child(1) { width: 27%; }
.admin-mining-editor th:nth-child(2) { width: 13%; }
.admin-mining-editor th:nth-child(3) { width: 15%; }
.admin-mining-editor th:nth-child(4) { width: 14%; }
.admin-mining-editor th:nth-child(5) { width: 12%; }
.admin-mining-editor th:nth-child(6) { width: 19%; }
.admin-mining-editor .input { width: 100%; min-width: 0; padding: 7px 9px; font-size: 11.5px; }
.admin-mining-editor .admin-mining-segment { width: 100%; }
.admin-mining-editor .admin-mining-segment .input { flex: 1 1 auto; }
.admin-mining-editor .admin-mini-action { padding: 0 7px; }
.admin-mini-action--danger { color: #ff9a9a; border-color: rgba(255, 122, 122, 0.28); }
.admin-mini-action--danger:hover { border-color: rgba(255, 122, 122, 0.55); background: rgba(255, 122, 122, 0.08); }

@media (max-width: 880px) {
  .admin-mining-editor__top,
  .admin-mining-editor__top--three { grid-template-columns: minmax(0, 1fr); }
  .admin-mining-game__head { flex-direction: column; }
  .admin-mining-editor__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .admin-mining-editor { table-layout: auto; min-width: 620px; }
}
html[data-theme='light'] .admin-mini-action--danger { color: #b02a2a; border-color: rgba(176, 42, 42, 0.28); }
html[data-theme='light'] .admin-mining-game__stats b,
html[data-theme='light'] .admin-mining-segment { color: #1d2026; }
html[data-theme='light'] .admin-mining-game__head h3,
html[data-theme='light'] .admin-mining-editor__head h3 { color: #1d2026; }

/* Card Clash (Coin Mining) */
.admin-cards { margin-top: 2px; }
.admin-cards .admin-callout { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; line-height: 1.5; }
.admin-cards .admin-callout .icon { flex: none; margin-top: 1px; }
.admin-cards .admin-mining-game__stats b.is-neg { color: #ff8a8a; }
.admin-cards-players { display: flex; flex-direction: column; gap: 3px; min-width: 180px; }
.admin-cards-player { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px; color: var(--admin-text); font-size: 12px; }
.admin-cards-player small { color: var(--admin-muted, #8d929a); font-size: 11px; }
.admin-cards-player.is-winner { color: #f5d259; font-weight: 600; }
.admin-cards-player .icon { align-self: center; color: #f5d259; }
html[data-theme='light'] .admin-cards-player.is-winner, html[data-theme='light'] .admin-cards-player .icon { color: #8a6405; }

/* ---------------------------------------------- mining, coin shop, activity */
.admin-asset-dot {
  --size: 26px; display: inline-grid; place-items: center; flex: none; width: var(--size); height: var(--size); border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.8), transparent 42%), radial-gradient(circle at 50% 60%, var(--coin, #f5d259), color-mix(in srgb, var(--coin, #f5d259) 55%, #000));
  box-shadow: inset 0 0 0 calc(var(--size) * 0.06) rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.3);
  color: #fff; font-size: calc(var(--size) * 0.42); font-weight: 800; line-height: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.admin-asset-dot--usdt { --coin: #26a17b; }
.admin-asset-inline { display: inline-flex; align-items: center; gap: 8px; }
.admin-asset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.admin-asset-card { position: relative; overflow: hidden; padding: 18px; }
.admin-asset-card::before {
  content: ''; position: absolute; top: -70px; right: -60px; width: 180px; height: 180px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--coin), transparent 65%); opacity: 0.14;
}
.admin-asset-card__head { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.admin-asset-card__head h3 { font-size: 16px; }
.admin-asset-card__head .admin-badge { margin-left: auto; }
.admin-asset-card__facts { display: grid; gap: 8px; margin: 0; }
.admin-asset-card__facts div { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 7px; border-bottom: 1px solid var(--admin-line-soft); font-size: 12.5px; }
.admin-asset-card__facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.admin-asset-card__facts dt { color: var(--admin-muted); }
.admin-asset-card__facts dd { margin: 0; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.admin-asset-card__facts small { display: block; color: var(--admin-muted); font-size: 11px; font-weight: 500; }
.admin-coin-settings__coin { display: flex; align-items: center; gap: 14px; }
.admin-coin-settings__coin h3 { margin: 2px 0; font-size: 17px; }
.admin-coin-settings__rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; margin-top: 16px; }
.admin-coin-settings__rates > div { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 1px solid var(--admin-line); border-radius: 12px; }
.admin-coin-settings__rates span { color: var(--admin-muted); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-coin-settings__rates b { font-size: 15px; }
.admin-coin-settings__rates small { color: var(--admin-muted); font-size: 11.5px; }
.admin-pack-chip { display: inline-block; margin: 2px 4px 2px 0; padding: 3px 9px; border: 1px solid var(--admin-line); border-radius: 99px; font-size: 11.5px; white-space: nowrap; }
.admin-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 14px; }
.admin-chip {
  padding: 6px 12px; border: 1px solid var(--admin-line); border-radius: 99px; background: transparent; color: var(--admin-muted);
  font: inherit; font-size: 12px; font-weight: 650; cursor: pointer;
}
.admin-chip:hover { color: inherit; border-color: var(--admin-line-strong); }
.admin-chip.is-active { border-color: var(--admin-gold-ink); background: rgba(224, 190, 69, 0.12); color: var(--admin-gold-ink); }
.admin-activity-head { flex-wrap: wrap; gap: 12px; }
.admin-table .cell-balance.is-neg { color: #f06e6e; }
.admin-table .cell-balance.is-pos { color: #42d392; }

/* new admin device waiting for the emailed approval link */
.admin-login-notice {
  padding: 11px 13px; border: 1px solid rgba(224, 190, 69, 0.45); border-radius: 12px;
  background: rgba(224, 190, 69, 0.1); color: inherit; font-size: 13px; line-height: 1.5;
}
.admin-login-notice.hidden { display: none; }
.admin-login-notice--ok { border-color: rgba(66, 211, 146, 0.5); background: rgba(66, 211, 146, 0.1); }
.admin-login-notice--bad { border-color: rgba(240, 110, 110, 0.5); background: rgba(240, 110, 110, 0.1); }

/* sign-in protection switches and the administrator's own two-step card */
.admin-switches { display: grid; gap: 4px; margin-bottom: 6px; padding: 6px 12px; border: 1px solid var(--admin-line); border-radius: 12px; }
.admin-switches .checkbox { align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--admin-line-soft); }
.admin-switches .checkbox:last-child { border-bottom: 0; }
.admin-switches .checkbox input { margin-top: 2px; }
.admin-switches .checkbox span { display: flex; flex-direction: column; gap: 2px; }
.admin-switches .checkbox b { font-size: 13px; font-weight: 650; }
.admin-switches .checkbox small { color: var(--admin-muted); font-size: 12px; line-height: 1.45; }
.admin-switches .checkbox.is-disabled { opacity: 0.6; cursor: not-allowed; }
.admin-twostep { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--admin-line); }
.admin-twostep__note { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.admin-twostep__off { width: 100%; justify-content: center; margin-top: 4px; }

/* The admin menu grew past short screens: scroll it, keep Sign Out pinned. */
.admin-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(220, 174, 24, 0.3) transparent;
  gap: 3px;
}
.admin-nav::-webkit-scrollbar { width: 4px; }
.admin-nav::-webkit-scrollbar-track { background: transparent; }
.admin-nav::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(220, 174, 24, 0.28); }
.admin-nav__link { min-height: 40px; }
.admin-sidebar__bottom { flex: none; border-top: 1px solid rgba(220, 174, 24, 0.12); }

/* quick games: sub heading inside a game card */
.admin-subhead { margin: 18px 0 8px; color: var(--text); font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }

/* Referral commission card (Plans page) */
.admin-referrals { margin-top: 18px; }
/* Seven levels plus the total: four by two, two by four on phones. */
.admin-referral-rates { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 20px 4px; }
.admin-referral-rates div.is-off strong { color: #70757d; }
.admin-referral-rates__total { border-style: dashed !important; }
.admin-referral-rates strong { font-size: 16px; }
.admin-referral-rates small { display: block; margin-top: 2px; }
.admin-referral-top { margin: 14px 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.admin-referral-top li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--admin-line); border-radius: 8px; }
.admin-referral-top li > span { flex: 1 1 auto; min-width: 0; }
.admin-referral-top li b { color: #e3c14d; font-size: 11px; font-weight: 600; white-space: nowrap; }
.admin-referral-top li small { display: none; }
.admin-referral-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-referral-levels .field { min-width: 0; }
.admin-referral-levels__total { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 12px; border: 1px dashed var(--admin-line); border-radius: 10px; }
.admin-referral-levels__total span { color: #70757d; font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.admin-referral-levels__total strong { color: #e3c14d; font-size: 18px; font-weight: 650; }
.admin-referral-levels__total strong.cell-neg { color: #ff9c9c; }
.admin-referral-levels__total small { color: #8a8f96; font-size: 10px; }
html[data-theme='light'] .admin-referral-levels__total strong { color: #846408; }
html[data-theme='light'] .admin-referral-levels__total strong.cell-neg { color: #ad2f2f; }
html[data-theme='light'] .admin-referral-rates div.is-off strong { color: #9a9fa6; }
/* Member details: their group and who earns from them, side by side. */
.admin-user-referrals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-user-referrals .admin-user-activity__row span:first-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .admin-referral-rates, .admin-referral-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-user-referrals { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Exactly four cards (security stats, mining coins): one row of four or two by
   two, never three with one left over on its own row. */
@media (max-width: 1360px) and (min-width: 761px) {
  .admin-stat-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1500px) {
  .admin-asset-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1499px) and (min-width: 761px) {
  .admin-asset-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Withdrawal rules card and where withdrawn money came from */
.admin-rules-card { margin-bottom: 18px; }
.admin-rules-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 20px 14px; }
.admin-rules-terms strong { font-size: 15px; }
.admin-rules-terms small { display: block; margin-top: 2px; }
.admin-rules-card .admin-mining-game__foot { align-items: center; gap: 12px; }
.admin-source-chips { display: flex; flex-wrap: wrap; gap: 4px; max-width: 240px; }
.admin-source {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid var(--admin-line); border-radius: 99px;
  color: var(--admin-text); font-size: 10.5px; font-weight: 600; white-space: nowrap;
}
.admin-source b { font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-source::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #8b9097; }
.admin-source--deposit::before { background: #6c8cff; }
.admin-source--roi::before { background: #5cdd91; }
.admin-source--bonus::before { background: #e3c14d; }
.admin-source--commission::before { background: #c084fc; }
.admin-source--games::before { background: #ff9f43; }
.admin-source--mining::before { background: #22d3ee; }
.admin-source--added::before { background: #f472b6; }
/* Added funds card (Deposits page) and the money-history tab */
.admin-added-card { margin-bottom: 18px; }
.admin-added-card .admin-mining-game__badges .admin-btn-gold { white-space: nowrap; }
.admin-added-note { max-width: 260px; white-space: normal; overflow-wrap: anywhere; color: var(--admin-text); }
.admin-money-tiles { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.admin-money-tile { padding: 12px 14px; border: 1px solid var(--admin-line); border-radius: 12px; }
.admin-money-tile span { display: block; color: var(--admin-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-money-tile strong { display: block; margin-top: 6px; color: var(--admin-text); font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
.admin-money-tile strong small { color: var(--admin-muted); font-size: 11px; font-weight: 600; }
.admin-money-tile em { display: block; margin-top: 3px; color: var(--admin-muted); font-size: 11px; font-style: normal; }
.admin-money-tile--green strong { color: #5cdd91; }
.admin-money-tile--gold strong { color: #e3c14d; }
.admin-money-tile--blue strong { color: #8fa8ff; }
.admin-money-h { margin: 18px 0 8px; color: var(--admin-text); font-size: 13px; font-weight: 650; }
.admin-money-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 4px; }
.admin-money-pane .admin-table-wrap { margin-top: 10px; }
.admin-money-pane .admin-table { min-width: 520px; }
.admin-made-of { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 760px) {
  .admin-rules-terms { grid-template-columns: minmax(0, 1fr); }
  .admin-money-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Wallets saved but all switched off */
.admin-wallet-off { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 10px; font-size: 12.5px; line-height: 1.5; }
.admin-wallet-off svg { flex: none; margin-top: 2px; }

/* TRX and ETH settings on Deposit Wallets */
.admin-coin-set { display: flex; flex-direction: column; gap: 10px; }
.admin-coin-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; color: #7edda2; font-size: 12.5px; }
.admin-coin-price b { color: inherit; }
.admin-coin-price span { color: var(--admin-muted, #8b9098); font-size: 11.5px; }
.admin-coin-price.is-missing { color: #e6c867; }
.admin-coin-price svg { flex: none; }
html[data-theme='light'] .admin-coin-price { color: #17803d; }
html[data-theme='light'] .admin-coin-price.is-missing { color: #7a5c06; }
.admin-wallet-row__static { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 20px; }
.admin-wallet-toggle--static { cursor: default; pointer-events: none; }
.admin-coin-switches { margin-top: 12px; }
.admin-coin-note { margin-top: 8px; }
.admin-wallet-card__head .admin-coin-price { margin-top: 6px; }
.admin-wallet-metrics--wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* KYC review: document photos and selfie */
.admin-kyc-photos { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.admin-kyc-photo { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.admin-kyc-photo button { display: block; width: 100%; padding: 0; border: 1px solid var(--admin-line); border-radius: 10px; background: #0b0c0e; overflow: hidden; cursor: zoom-in; }
.admin-kyc-photo img { display: block; width: 100%; height: 170px; object-fit: contain; background: #0b0c0e; }
.admin-kyc-photo figcaption { color: var(--admin-muted); font-size: 11.5px; }
.admin-kyc-photo.is-zoomed { grid-column: 1 / -1; }
.admin-kyc-photo.is-zoomed button { cursor: zoom-out; }
.admin-kyc-photo.is-zoomed img { height: auto; max-height: 75vh; }
html[data-theme='light'] .admin-kyc-photo button, html[data-theme='light'] .admin-kyc-photo img { background: #f3f4f6; }
@media (max-width: 720px) { .admin-kyc-photos { grid-template-columns: 1fr; } }

/* Deposit filters */
.admin-dep-filters { margin-bottom: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.admin-dep-filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-dep-chip { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--admin-line); border-radius: 999px;
  background: transparent; color: var(--admin-muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.admin-dep-chip b { color: var(--admin-text, #e9e9ea); font-weight: 700; }
.admin-dep-chip:hover { border-color: rgba(220, 174, 24, 0.45); color: var(--gold-text); }
.admin-dep-chip.is-active { border-color: rgba(220, 174, 24, 0.6); background: rgba(220, 174, 24, 0.12); color: var(--gold-text); }
.admin-dep-filters__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.admin-dep-filters__form .input { height: 40px; border-color: var(--admin-line); background: #0b0c0f; font-size: 12px; }
.admin-dep-filters__form select.input { width: 200px; }
.admin-dep-filters__q { flex: 1 1 240px; min-width: 0; }
.admin-dep-filters__date { display: flex; flex-direction: column; gap: 3px; color: var(--admin-muted); font-size: 10.5px; }
.admin-dep-filters__date .input { width: 150px; }
.admin-dep-filters__clear { height: 40px; }
.admin-dep-filters__summary { margin: 0; }
html[data-theme='light'] .admin-dep-filters__form .input { background: #fff; }
html[data-theme='light'] .admin-dep-chip b { color: #22262b; }
@media (max-width: 720px) {
  .admin-dep-filters__form select.input, .admin-dep-filters__date, .admin-dep-filters__date .input { width: 100%; }
  .admin-dep-filters__date { flex: 1 1 45%; }
}

/* Plan editor: limited-time offer */
.admin-offer-set { margin: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(220, 174, 24, 0.3); border-radius: 12px; background: rgba(220, 174, 24, 0.04); }
.admin-offer-set legend { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; color: var(--gold-text); font-size: 12px; font-weight: 700; }
.admin-offer-set legend span { color: var(--admin-muted); font-weight: 500; }
.admin-offer-set .admin-list-sub { margin: 0; }
@media (max-width: 720px) { .admin-offer-set .admin-roi-rate-grid { grid-template-columns: 1fr !important; } }
.admin-asset-dot--logo { background: none; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.admin-asset-dot--logo .coin-logo { display: block; width: 100%; height: 100%; }
.admin-dep-filters__form .admin-search-submit { height: 40px; min-width: 96px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid rgba(245, 210, 89, 0.25); border-radius: 9px; background: var(--gold-grad); color: var(--primary-ink); font-size: 12px; font-weight: 650; cursor: pointer; }
.admin-wallet-row__label .admin-wallet-row__soon { color: var(--gold-text); }
.admin-wallet-row__cancel { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--admin-muted); font: inherit; text-decoration: underline; cursor: pointer; }
.admin-wallet-row__cancel:hover { color: #ff8a8a; }

/* Account status (member details) */
.admin-account-status { margin-top: 12px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--admin-line); border-radius: 12px; }
.admin-account-status__main { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.admin-account-status__main > svg { flex: none; margin-top: 3px; }
.admin-account-status__main div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.admin-account-status__main strong { font-size: 15px; color: var(--admin-text); }
.admin-account-status__reason { color: var(--admin-text); font-size: 12px; opacity: .85; overflow-wrap: anywhere; }
.admin-account-status--active > .admin-account-status__main > svg { color: #7edda2; }
.admin-account-status--review { border-color: rgba(139, 185, 255, 0.45); background: rgba(139, 185, 255, 0.06); }
.admin-account-status--review > .admin-account-status__main > svg { color: #8bb9ff; }
.admin-account-status--hold { border-color: rgba(220, 174, 24, 0.5); background: rgba(220, 174, 24, 0.07); }
.admin-account-status--hold > .admin-account-status__main > svg { color: var(--gold-text); }
.admin-account-status--suspended, .admin-account-status--terminated { border-color: rgba(255, 123, 123, 0.45); background: rgba(255, 123, 123, 0.06); }
.admin-account-status--suspended > .admin-account-status__main > svg, .admin-account-status--terminated > .admin-account-status__main > svg { color: #ff8a8a; }
.admin-status-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.admin-status-option { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--admin-line); border-radius: 12px; cursor: pointer; }
.admin-status-option input { position: absolute; opacity: 0; pointer-events: none; }
.admin-status-option__head { display: flex; align-items: center; gap: 7px; color: var(--admin-text); font-size: 13px; }
.admin-status-option__head em { margin-left: auto; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--admin-muted); font-size: 10.5px; font-style: normal; }
.admin-status-option__copy { color: var(--admin-muted); font-size: 11.5px; line-height: 1.45; }
.admin-status-option:hover { border-color: rgba(220, 174, 24, 0.4); }
.admin-status-option:focus-within { outline: 2px solid rgba(220, 174, 24, 0.5); outline-offset: 2px; }
.admin-status-option.is-chosen { border-color: rgba(220, 174, 24, 0.75); background: rgba(220, 174, 24, 0.09); }
.admin-status-option--review .admin-status-option__head svg { color: #8bb9ff; }
.admin-status-option--hold .admin-status-option__head svg { color: var(--gold-text); }
.admin-status-option--suspended .admin-status-option__head svg, .admin-status-option--terminated .admin-status-option__head svg { color: #ff8a8a; }
.admin-status-option--active .admin-status-option__head svg { color: #7edda2; }
html[data-theme='light'] .admin-status-option__head em { background: rgba(0, 0, 0, 0.06); }
.admin-plan-note { display: block; margin-top: 4px; }
.admin-plan-note.is-running { color: #8bb9ff; }

/* Locked balances (2026-11-10): request filters and the mining convert lock. */
.admin-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-filter-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  border: 1px solid var(--admin-line); border-radius: 99px; background: transparent;
  color: var(--admin-muted); font-size: 11px; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.admin-filter-chip b { color: var(--admin-text); font-weight: 700; }
.admin-filter-chip:hover { border-color: rgba(220, 174, 24, 0.35); color: var(--gold-text); }
.admin-filter-chip.is-active { border-color: rgba(220, 174, 24, 0.45); background: rgba(220, 174, 24, 0.1); color: var(--gold-text); }
.admin-asset-card__convert {
  display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; padding: 8px 10px;
  border: 1px dashed var(--admin-line-strong); border-radius: 8px; color: var(--admin-muted); font-size: 11px;
}
.admin-asset-card__convert span { flex: 1 1 auto; }
.admin-asset-card__convert .icon { color: var(--gold-text); }

/* WhatsApp & Email page */
.admin-notify-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.admin-wa-body { display: flex; gap: 18px; align-items: flex-start; justify-content: center; flex-wrap: wrap; padding: 4px 0 6px; }
/* Sender, reply-to and site address are long: one per row, wrapped. */
.admin-rules-terms.admin-mail-terms { grid-template-columns: minmax(0, 1fr); }
.admin-notify-grid .admin-callout { margin: 0 20px 16px; }
.admin-mail-terms strong { font-size: 13.5px; line-height: 1.4; overflow-wrap: anywhere; }
.admin-wa-body .admin-plan-terms { flex: 1 1 260px; }
.admin-wa-qr { display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 12px; border-radius: 12px; background: #ffffff; }
.admin-wa-qr img { width: 220px; height: 220px; display: block; }
.admin-wa-qr .cell-note { color: #5d6670; max-width: 220px; text-align: center; }
@media (max-width: 1100px) { .admin-notify-grid { grid-template-columns: minmax(0, 1fr); } }
