/* =========================================================================
   ADMIN view — same language as the app, denser. Every class is prefixed adm-.
   ========================================================================= */
.adm { min-height: 100%; }

/* ---------------------------------------------------------- shared bits */
.adm-tile {
  --tile: 40px; --tile-c: var(--violet-300); --tile-bg: rgba(132, 104, 246, 0.16); --tile-line: rgba(160, 139, 255, 0.22);
  flex: none; width: var(--tile); height: var(--tile);
  display: grid; place-items: center;
  border-radius: var(--r-md);
  color: var(--tile-c);
  background: var(--tile-bg);
  border: 1px solid var(--tile-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.25);
}
.adm-tile .ic { width: 20px; height: 20px; --ic-fill: 0.2; }
.adm-tile--sm { --tile: 34px; border-radius: var(--r-sm); }
.adm-tile--sm .ic { width: 17px; height: 17px; }
.adm-tile--gold { --tile-c: var(--gold-400); --tile-bg: rgba(255, 203, 71, 0.13); --tile-line: rgba(255, 203, 71, 0.22); }
.adm-tile--green { --tile-c: var(--green-400); --tile-bg: rgba(34, 197, 120, 0.13); --tile-line: rgba(79, 227, 154, 0.2); }
.adm-tile--red { --tile-c: var(--red-400); --tile-bg: rgba(255, 71, 87, 0.12); --tile-line: rgba(255, 107, 120, 0.2); }
.adm-tile--blue { --tile-c: var(--blue-400); --tile-bg: rgba(29, 143, 255, 0.13); --tile-line: rgba(76, 180, 255, 0.22); }
.adm-tile--neutral { --tile-c: var(--text-2); --tile-bg: rgba(255, 255, 255, 0.05); --tile-line: var(--line-strong); }

.adm-chev { width: 18px; height: 18px; color: var(--text-3); flex: none; }
.adm-label { color: var(--text-3); font-size: var(--fs-2xs); font-weight: 800; letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.adm-h2 {
  margin: var(--s-6) 0 var(--s-3);
  font-family: var(--font-display); font-size: var(--fs-md); font-weight: 650; letter-spacing: -0.01em;
}
.adm-note { margin-top: var(--s-2); color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; line-height: var(--lh-snug); }
.adm-sk-gap { margin-top: var(--s-2); }
.adm-form-error {
  margin-top: var(--s-3); padding: 10px 12px; border-radius: var(--r-sm);
  background: var(--red-tint); color: var(--red-400);
  font-size: var(--fs-sm); font-weight: 650; line-height: var(--lh-snug);
}
.adm-form-error[data-kind='blocked'] { background: rgba(255, 203, 71, 0.12); color: var(--gold-400); }
.adm-mini-empty {
  display: flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: var(--s-6) var(--s-4);
  border-radius: var(--r-lg); border: 1px dashed var(--line-strong);
  color: var(--text-3); font-size: var(--fs-sm); font-weight: 650;
}
.adm-mini-empty .ic { width: 18px; height: 18px; }

.adm-copy {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--surface-3); color: var(--text-2);
  border: 1px solid var(--line); border-top-color: var(--line-top);
}
.adm-copy .ic { width: 16px; height: 16px; }
.adm-copy:active { color: var(--text); }

.adm-quote {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: var(--s-3); padding: 8px 12px;
  border-left: 2px solid var(--line-strong); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(255, 255, 255, 0.025);
  font-size: var(--fs-sm); font-weight: 600; color: var(--text); line-height: var(--lh-snug);
  overflow-wrap: anywhere; user-select: text; -webkit-user-select: text;
}
.adm-quote > span:first-child { color: var(--text-3); font-size: var(--fs-2xs); font-weight: 800; letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.adm-quote--admin { border-left-color: var(--violet-500); background: var(--primary-tint); }
.adm-quote--admin > span:first-child { color: var(--violet-300); }

.adm-warn {
  display: flex; align-items: flex-start; gap: var(--s-2);
  margin-top: var(--s-3); padding: 8px 12px; border-radius: var(--r-sm);
  background: rgba(255, 138, 31, 0.12); color: #ffb470;
  border: 1px solid rgba(255, 138, 31, 0.22);
  font-size: var(--fs-xs); font-weight: 700; line-height: var(--lh-snug);
}
.adm-warn .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; --ic-stroke: 2; }

/* ---------------------------------------------------------- lock screen */
.adm-lock { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: var(--s-6) 0; }
.adm-lock__inner { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.adm-lock__art { margin-bottom: var(--s-6); }
.adm-lock__title { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; letter-spacing: var(--tracking-display); }
.adm-lock__text { margin-top: var(--s-2); color: var(--text-2); font-size: var(--fs-sm); max-width: 30ch; }
.adm-lock__form { width: 100%; margin-top: var(--s-6); text-align: left; }
.adm-lock__form .btn { margin-top: var(--s-4); }
.adm-lock__form.is-shake { animation: adm-shake 380ms var(--ease-standard); }
@keyframes adm-shake {
  20% { transform: translateX(-8px); } 40% { transform: translateX(7px); }
  60% { transform: translateX(-4px); } 80% { transform: translateX(2px); }
}
.adm-pass {
  display: flex; align-items: center; gap: var(--s-2);
  height: 54px; padding: 0 6px 0 var(--s-4);
  background: var(--bg-0); border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  color: var(--text-3);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.adm-pass:focus-within { border-color: var(--violet-500); box-shadow: 0 0 0 3px var(--primary-tint), inset 0 1px 2px rgba(0, 0, 0, 0.35); }
.adm-pass > .ic { width: 18px; height: 18px; }
.adm-pass__input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none;
  color: var(--text); font-weight: 700; font-size: var(--fs-lg); letter-spacing: 0.02em;
}
.adm-pass__input::placeholder { color: var(--text-3); font-weight: 600; letter-spacing: 0; }
.adm-pass__eye { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--text-3); }
.adm-pass__eye .ic { width: 20px; height: 20px; }
.adm-pass__eye.is-on { color: var(--violet-300); background: var(--primary-tint); }
.adm-lock__exit {
  display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-5);
  padding: 8px 12px; border-radius: var(--r-sm);
  color: var(--text-2); font-size: var(--fs-sm); font-weight: 700;
}
.adm-lock__exit .ic { width: 16px; height: 16px; }

/* ---------------------------------------------------------- header + nav */
.adm-head { display: flex; align-items: center; gap: var(--s-2); min-height: 44px; margin-bottom: var(--s-3); }
.adm-head__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-left: 4px; }
.adm-head__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.015em; line-height: var(--lh-tight); }
.adm-head__sub { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; min-width: 0; }
.adm-head__sub > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-head__sub .live-dot { width: 6px; height: 6px; box-shadow: 0 0 0 2px rgba(34, 197, 120, 0.18); }
.adm-head .icon-btn.is-spin .ic { animation: spin 0.6s var(--ease-standard); }
.adm-nav {
  position: sticky; top: var(--tg-top); z-index: var(--z-sticky);
  margin: 0 calc(-1 * var(--gutter)) var(--s-2); padding: var(--s-1) var(--gutter) var(--s-3);
  background: linear-gradient(180deg, var(--bg) 78%, rgba(21, 21, 23, 0));
}
.adm-nav::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(var(--tg-top) + var(--s-4)); background: var(--bg); }
.adm-nav .seg__badge { top: -6px; right: 4px; }

/* ---------------------------------------------------------- summary */
.adm-period { margin-bottom: var(--s-3); }
.adm-period .seg { padding: 3px; border-radius: var(--r-md); }
.adm-period .seg__thumb { top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n)); border-radius: calc(var(--r-md) - 3px); background: var(--surface-4); box-shadow: var(--hl-top-strong), var(--shadow-1); }
.adm-period .seg__item { height: 32px; font-size: var(--fs-xs); }
.adm-pend {
  display: flex; align-items: center; gap: var(--s-3); width: 100%;
  padding: 12px 14px 12px 12px; text-align: left;
  background: var(--surface-1);
  border: 1px solid var(--line); border-top-color: var(--line-top);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1);
}
.adm-pend.is-hot {
  background: linear-gradient(135deg, rgba(255, 203, 71, 0.12), rgba(255, 203, 71, 0.03) 60%), var(--surface-1);
  border-color: rgba(255, 203, 71, 0.24);
}
.adm-pend__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: var(--lh-snug); }
.adm-pend__main b { font-weight: 800; font-size: var(--fs-md); }
.adm-pend__main > span { color: var(--text-2); font-size: var(--fs-sm); font-weight: 650; }
.adm-pend.is-hot .adm-pend__main > span { color: var(--gold-300); }

.adm-hero {
  margin-top: var(--s-3); padding: var(--s-4);
  display: flex; flex-direction: column; gap: 6px;
  border-radius: var(--r-xl);
  background: radial-gradient(120% 140% at 100% 0%, rgba(132, 104, 246, 0.16), transparent 60%), var(--surface-1);
  border: 1px solid var(--line); border-top-color: var(--line-top);
  box-shadow: var(--shadow-1), var(--hl-top);
}
.adm-hero .amt--xl { font-size: var(--fs-3xl); }
.adm-hero .amt--xl:not(.amt--pos):not(.amt--neg) .num { color: var(--text); }
.adm-hero__sub { color: var(--text-2); font-size: var(--fs-xs); font-weight: 650; }
.adm-hero__sub b { color: var(--text); font-weight: 750; }

.adm-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-top: var(--s-2); }
.adm-kpi {
  min-width: 0; display: flex; flex-direction: column; gap: 3px;
  padding: 12px 12px 11px;
  background: var(--surface-1);
  border: 1px solid var(--line); border-top-color: var(--line-top);
  border-radius: var(--r-md);
}
.adm-kpi__label { color: var(--text-3); font-size: var(--fs-2xs); font-weight: 800; letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.adm-kpi__value {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); letter-spacing: -0.02em; line-height: 1.15;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.adm-kpi__sub { color: var(--text-2); font-size: var(--fs-xs); font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-kpi--pos .adm-kpi__value { color: var(--green-400); }
.adm-kpi--gold .adm-kpi__value { color: var(--gold-400); }
.adm-kpi--warn { border-color: rgba(255, 138, 31, 0.3); background: linear-gradient(180deg, rgba(255, 138, 31, 0.08), transparent), var(--surface-1); }
.adm-kpi--warn .adm-kpi__value { color: #ffb470; }
.adm-kpis--dense .adm-kpi { padding: 10px 12px; }
.adm-kpis--dense .adm-kpi__value { font-size: var(--fs-md); }

.adm-stathead { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }
.adm-stathead__text { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.adm-h3 { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 650; letter-spacing: -0.01em; }
.adm-stathead__since { color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-stathead__btn { flex: none; color: var(--text-2); }
.adm-wd__since { margin-top: 6px; color: var(--text-3); font-size: var(--fs-2xs); font-weight: 700; }

.adm-flow {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  margin-top: var(--s-2); padding: 10px 12px; border-radius: var(--r-md);
  background: var(--bg-0); border: 1px solid var(--line);
  color: var(--text-2); font-size: var(--fs-sm); font-weight: 650;
}
.adm-flow b { font-weight: 800; white-space: nowrap; }

.adm-game {
  padding: 12px; border-radius: var(--r-lg);
  background: var(--surface-1); border: 1px solid var(--line); border-top-color: var(--line-top);
}
.adm-game + .adm-game { margin-top: var(--s-2); }
.adm-game__head { display: flex; align-items: center; gap: var(--s-3); }
.adm-game__head .grow { display: flex; flex-direction: column; gap: 1px; }
.adm-game__name { font-weight: 800; font-size: var(--fs-md); }
.adm-game__sub { color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; }
.adm-game__rtp { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.adm-game__rtp b { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.adm-game__rtp-label { color: var(--text-3); font-size: var(--fs-2xs); font-weight: 800; letter-spacing: var(--tracking-caps); }
.adm-rtp--ok { --rtp: var(--green-400); }
.adm-rtp--warn { --rtp: var(--gold-400); }
.adm-rtp--bad { --rtp: var(--red-400); }
.adm-rtp--none { --rtp: var(--text-3); }
.adm-game__rtp b { color: var(--rtp); }
.adm-bar { position: relative; height: 6px; margin: 12px 0 10px; border-radius: var(--r-pill); background: var(--bg-0); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4); }
.adm-bar__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--rtp); opacity: 0.85; transform-origin: left; animation: adm-grow var(--dur-slow) var(--ease-standard) both; }
.adm-bar__mark { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--text); opacity: 0.7; }
@keyframes adm-grow { from { transform: scaleX(0); } }
.adm-game__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.adm-game__grid > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.adm-game__grid span { color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; }
.adm-game__grid b { font-weight: 800; font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.adm-rates {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface-1); border: 1px solid var(--line); border-top-color: var(--line-top);
}
.adm-rates.is-empty { display: flex; align-items: center; gap: var(--s-2); padding: 12px; color: var(--gold-400); font-size: var(--fs-sm); font-weight: 650; }
.adm-rates.is-empty .ic { width: 18px; height: 18px; flex: none; }
.adm-rate { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 11px 12px; }
.adm-rate + .adm-rate { border-top: 1px solid var(--line); }
.adm-rate__coin { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.adm-rate__coin b { font-weight: 800; }
.adm-rate__coin small, .adm-rate__val small { color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; }
.adm-rate__val { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.adm-rate__val b { font-weight: 800; font-size: var(--fs-md); }
.adm-rates__foot {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px;
  background: var(--bg-0); border-top: 1px solid var(--line);
  color: var(--text-3); font-size: var(--fs-xs); font-weight: 650;
}
.adm-rates__foot .ic { width: 14px; height: 14px; }

/* ---------------------------------------------------------- chips (status / detail tabs) */
.adm-chips {
  display: flex; gap: 6px; overflow-x: auto;
  margin: 0 calc(-1 * var(--gutter)) var(--s-3); padding: 2px var(--gutter);
  scroll-padding: 0 var(--gutter);
}
.adm-chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px; border-radius: var(--r-pill);
  background: var(--surface-1); color: var(--text-2);
  border: 1px solid var(--line); border-top-color: var(--line-top);
  font-size: var(--fs-sm); font-weight: 700; white-space: nowrap;
}
.adm-chip em {
  font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill);
  display: inline-grid; place-items: center;
  background: linear-gradient(180deg, #ffb347, var(--orange-500)); color: #2a1200;
  font-size: var(--fs-2xs); font-weight: 800;
}
.adm-chip em.adm-chip__n { background: var(--surface-3); color: var(--text-3); }
.adm-chip.is-active { background: var(--text); color: #17171a; border-color: transparent; box-shadow: var(--shadow-1); }
.adm-chip.is-active em.adm-chip__n { background: rgba(0, 0, 0, 0.1); color: #17171a; }

/* ---------------------------------------------------------- withdrawal card */
.adm-list > * + * { margin-top: var(--s-3); }
.adm-wd {
  position: relative; padding: 12px;
  background: var(--surface-1);
  border: 1px solid var(--line); border-top-color: var(--line-top);
  border-radius: var(--r-xl); box-shadow: var(--shadow-1);
  transition: opacity var(--dur-fast) var(--ease-standard);
}
.adm-wd--pending { box-shadow: var(--shadow-1), inset 3px 0 0 var(--gold-400); }
.adm-wd.is-busy { opacity: 0.6; pointer-events: none; }
.adm-wd.is-sk { animation: fade var(--dur-ui) both; animation-delay: calc(var(--i, 0) * 80ms); }
.adm-wd__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.adm-who { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 2px 6px 2px 2px; margin: -2px; border-radius: var(--r-md); text-align: left; }
.adm-who__text { display: flex; flex-direction: column; min-width: 0; line-height: var(--lh-snug); }
.adm-who__text b { font-weight: 800; font-size: var(--fs-sm); }
.adm-who__text small { color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; }
.adm-who .adm-chev { width: 16px; height: 16px; }
.adm-wd__amount { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); margin: 12px 0 10px; }
.adm-wd__no { color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; white-space: nowrap; }

.adm-send { padding: 4px 4px 0 12px; border-radius: var(--r-md); background: var(--bg-0); border: 1px solid var(--line); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35); }
.adm-send__row { display: flex; align-items: center; gap: var(--s-2); min-height: 40px; }
.adm-send__row + .adm-send__row { border-top: 1px solid var(--line); }
.adm-send__k { flex: none; width: 66px; color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; }
.adm-send__v { flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 0 5px; font-weight: 700; font-size: var(--fs-sm); }
.adm-send__v b { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; color: var(--green-400); letter-spacing: -0.01em; }
.adm-send__v small { color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; }
.adm-net { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--r-pill); background: var(--blue-tint); color: var(--blue-400); font-size: var(--fs-2xs); font-weight: 800; letter-spacing: 0.04em; }
.adm-send__addr { flex: 1; min-width: 0; font-size: 12px; line-height: 1.35; padding: 6px 0; color: var(--text); }
.adm-send__foot { padding: 6px 0 8px; border-top: 1px solid var(--line); color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; }

.adm-wd__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: var(--s-3); }
.adm-wd__stats > div { min-width: 0; display: flex; flex-direction: column; gap: 1px; padding: 7px 8px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.03); }
.adm-wd__stats span { color: var(--text-3); font-size: var(--fs-2xs); font-weight: 700; }
.adm-wd__stats b { font-size: var(--fs-sm); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-wd__stats .is-warn { background: rgba(255, 138, 31, 0.12); }
.adm-wd__stats .is-warn b { color: #ffb470; }
.adm-wd__foot { display: flex; align-items: center; justify-content: flex-end; gap: var(--s-2); margin-top: var(--s-3); }
.adm-wd__foot .btn { flex: 1; }
.adm-wd__when { flex: 1; color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; }
.adm-wd__when + .btn { flex: none; }
.adm-btn-reject { color: var(--red-400); }

/* ---------------------------------------------------------- sheets */
.adm-sheet .sheet__panel { padding-left: var(--s-4); padding-right: var(--s-4); }
.adm-sheet-intro { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); line-height: var(--lh-snug); }
.adm-sheet-intro b { color: var(--text); font-weight: 800; }
.adm-sheet-addr { padding: 8px 10px; border-radius: var(--r-sm); background: var(--bg-0); border: 1px solid var(--line); color: var(--text); }
.adm-textarea { height: auto; min-height: 88px; padding: 12px 14px; resize: none; line-height: var(--lh-snug); font-family: var(--font-text); font-size: var(--fs-md); }

/* ---------------------------------------------------------- users list */
.adm-search {
  display: flex; align-items: center; gap: var(--s-2);
  height: 48px; padding: 0 6px 0 14px;
  background: var(--bg-0); border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  color: var(--text-3);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.adm-search:focus-within { border-color: var(--violet-500); box-shadow: 0 0 0 3px var(--primary-tint), inset 0 1px 2px rgba(0, 0, 0, 0.35); }
.adm-search > .ic { width: 18px; height: 18px; }
.adm-search__input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; color: var(--text); font-weight: 650; font-size: var(--fs-md); }
.adm-search__input::placeholder { color: var(--text-3); }
.adm-search__input::-webkit-search-cancel-button { display: none; }
.adm-search__clear { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--text-3); }
.adm-search__clear .ic { width: 16px; height: 16px; }
.adm-count { margin: 10px 2px 8px; color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; }
.adm-count b { color: var(--text-2); }
.adm-ulist { display: flex; flex-direction: column; gap: 6px; }
.adm-urow {
  display: flex; align-items: center; gap: var(--s-3); width: 100%; text-align: left;
  padding: 10px 12px 10px 10px; border-radius: var(--r-lg);
  background: var(--surface-1);
  border: 1px solid var(--line); border-top-color: var(--line-top);
}
.adm-urow__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: var(--lh-snug); }
.adm-urow__main b { font-weight: 800; font-size: var(--fs-sm); }
.adm-urow__main small { color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; }
.adm-urow__trail { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.adm-urow__trail small { color: var(--text-3); font-size: var(--fs-2xs); font-weight: 700; }
.adm-ulist .sk-list .lrow { min-height: 62px; }
.adm-more { margin-top: var(--s-3); }

/* ---------------------------------------------------------- user detail */
.adm-prof {
  padding: var(--s-4); border-radius: var(--r-xl);
  background: radial-gradient(120% 120% at 0% 0%, rgba(132, 104, 246, 0.14), transparent 55%), var(--surface-1);
  border: 1px solid var(--line); border-top-color: var(--line-top);
  box-shadow: var(--shadow-1), var(--hl-top);
}
.adm-prof__top { display: flex; align-items: center; gap: 14px; }
.adm-prof__top .avatar { margin: 4px; }
.adm-prof__id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.adm-prof__name { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.02em; line-height: var(--lh-tight); }
.adm-prof__meta { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; min-width: 0; }
.adm-prof__meta .adm-copy { width: 26px; height: 26px; }
.adm-prof__meta .adm-copy .ic { width: 14px; height: 14px; }
.adm-prof__bal { display: flex; flex-direction: column; gap: 4px; margin-top: var(--s-4); }
.adm-prof__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-3); }
.adm-prof__ref {
  display: flex; flex-direction: column; gap: 4px; margin: var(--s-3) 0 var(--s-4);
  padding: 10px 12px; border-radius: var(--r-md); background: var(--bg-0); border: 1px solid var(--line);
  color: var(--text-2); font-size: var(--fs-sm); font-weight: 600;
}
.adm-prof__ref b { color: var(--text); font-weight: 800; }
.adm-link { color: var(--violet-300); font-weight: 800; }
.adm-rows { display: flex; flex-direction: column; gap: 6px; }
.adm-row {
  display: flex; align-items: flex-start; gap: var(--s-3);
  padding: 10px 12px 10px 10px; border-radius: var(--r-lg);
  background: var(--surface-1);
  border: 1px solid var(--line); border-top-color: var(--line-top);
}
.adm-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: var(--lh-snug); }
.adm-row__main > b { font-weight: 800; font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-row__main > small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; }
.adm-row__main .t-mono { font-size: 11px; color: var(--text-3); }
.adm-row__main .badge { height: 18px; padding: 0 6px; font-size: var(--fs-2xs); }
.adm-row__trail { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding-top: 1px; }
.adm-row__trail small { color: var(--text-3); font-size: var(--fs-2xs); font-weight: 700; }
.adm-row--dense { padding-top: 8px; padding-bottom: 8px; align-items: center; }
.adm-row__send {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin-top: 4px;
  padding: 6px 6px 6px 10px; border-radius: var(--r-sm); background: var(--bg-0); border: 1px solid var(--line);
  color: var(--text-2); font-size: var(--fs-xs); font-weight: 650;
}
.adm-row__send b { color: var(--green-400); font-weight: 800; font-size: var(--fs-sm); }
.adm-row__send .t-mono { flex: 1 1 140px; min-width: 0; color: var(--text); }
.adm-row__send .adm-copy { width: 28px; height: 28px; }
.adm-row__send .adm-copy .ic { width: 14px; height: 14px; }
.adm-row__note { color: var(--text-2); font-size: var(--fs-xs); font-weight: 600; overflow-wrap: anywhere; }
.adm-row__note i { font-style: normal; color: var(--text-3); font-weight: 750; }
.adm-row__acts { display: flex; gap: 6px; margin-top: 6px; }
.adm-row__acts .btn--sm { --btn-h: 32px; flex: 1; }
.adm-row__acts .btn--ghost { flex: none; padding: 0 8px; margin-left: -8px; color: var(--violet-300); }
.adm-inline-ic { width: 12px; height: 12px; color: var(--gold-400); --ic-fill: 0.5; }

/* cases: skin thumb in «Предметы» (rarity glow + bottom bar, as the app's .cs-item), skin names in «Ставки» */
.adm-skin {
  --rc: #b0c3d9;
  flex: none; width: 46px; height: 34px; display: grid; place-items: center; overflow: hidden;
  border-radius: var(--r-sm);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 36%, transparent), transparent), var(--surface-2);
  border: 1px solid color-mix(in srgb, var(--rc) 22%, var(--line));
  box-shadow: inset 0 -2px 0 var(--rc);
}
.adm-skin img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); }
.adm-row--item.is-gone .adm-skin, .adm-row--item.is-gone .adm-row__trail { opacity: 0.45; }
.adm-rc { color: color-mix(in srgb, var(--rc) 65%, var(--text)); font-weight: 750; }

/* ---------------------------------------------------------- balance adjust sheet */
.adm-adj__form .field { margin-top: var(--s-4); }
.adm-amount-input {
  display: flex; align-items: center; gap: var(--s-2);
  height: 56px; padding: 0 var(--s-4);
  background: var(--bg-0); border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.adm-amount-input:focus-within { border-color: var(--violet-500); box-shadow: 0 0 0 3px var(--primary-tint), inset 0 1px 2px rgba(0, 0, 0, 0.35); }
.adm-amount-input__sign { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; color: var(--green-400); width: 14px; text-align: center; }
.adm-amount-input__sign.is-neg { color: var(--red-400); }
.adm-amount-input__el { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; color: var(--text); font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; }
.adm-amount-input__el::placeholder { color: var(--text-3); }
.adm-amount-input__suf { color: var(--text-3); font-weight: 800; font-size: var(--fs-sm); }
.adm-hint { color: var(--text-3); font-size: var(--fs-xs); font-weight: 650; }
.adm-confirm {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: var(--s-5) var(--s-4) var(--s-4); border-radius: var(--r-lg);
  background: var(--bg-0); border: 1px solid var(--line);
}
.adm-confirm__who { color: var(--text-2); font-size: var(--fs-sm); font-weight: 700; }
.adm-confirm__bal { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--text-3); font-size: var(--fs-sm); font-weight: 700; }
.adm-confirm__bal b { color: var(--text); font-weight: 800; }
.adm-confirm__bal .ic { width: 14px; height: 14px; }
.adm-confirm .adm-quote { align-self: stretch; text-align: left; }
.adm-adj__acts--row { display: flex; gap: var(--s-2); }
.adm-adj__acts--row .btn { flex: 1; }
.adm-adj__acts--row .btn--secondary { flex: 0 0 auto; padding: 0 var(--s-5); }

@media (max-width: 374px) {
  .adm-wd__stats { grid-template-columns: repeat(2, 1fr); }
  .adm-kpi__value { font-size: var(--fs-md); }
  .adm-send__k { width: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .adm-bar__fill, .adm-lock__form.is-shake { animation: none; }
}

/* ---------------------------------------------------------- media (bloggers) */
.adm-mcard, .adm-mbadge, .adm-mlist { --media: #ff7ab0; --media-tint: rgba(255, 92, 160, 0.14); --media-line: rgba(255, 122, 176, 0.3); }
/* withdrawals: crypto / skins switch and the skin card */
.adm-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: var(--s-3); padding: 4px; border-radius: 14px; background: var(--surface-1); border: 1px solid var(--line); }
.adm-kind__b { height: 36px; border-radius: 10px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 800; }
.adm-kind__b.is-active { color: #17171a; background: var(--text); box-shadow: var(--shadow-1); }
.adm-skw__item { display: flex; align-items: center; gap: var(--s-3); margin: var(--s-3) 0; }
.adm-skw__stage { position: relative; flex: none; width: 92px; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.adm-skw__stage i { position: absolute; inset: -24%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 45%, transparent), transparent 72%); }
.adm-skw__stage img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.55)); }
.adm-skw__meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.adm-skw__meta b { font-size: var(--fs-sm); font-weight: 800; line-height: 1.3; }
.adm-skw__val { display: inline-flex; align-items: center; gap: 5px; --coin: 15px; color: var(--gold-300); font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; }
.adm-skw .adm-send__addr { word-break: break-all; }
.adm-skw .adm-send__foot { display: flex; align-items: center; gap: 6px; }

.adm-mbadge {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  height: 22px; padding: 0 8px; border-radius: var(--r-pill);
  background: var(--media-tint); color: var(--media);
  font-size: var(--fs-2xs); font-weight: 800; letter-spacing: 0.02em;
}
.adm-mbadge .ic { width: 13px; height: 13px; --ic-stroke: 2; --ic-fill: 0.25; }
.adm-mbadge--sm { height: 18px; padding: 0 6px; gap: 3px; }
.adm-mbadge--sm .ic { width: 11px; height: 11px; }
.adm-mbadge--chip { height: auto; padding: 0; background: none; font-size: inherit; font-weight: inherit; letter-spacing: 0; color: inherit; }
.adm-chip.is-active .adm-mbadge--chip { color: #b0125a; }
.adm-urow__name { display: flex; align-items: center; gap: 6px; min-width: 0; }

.adm-mcard {
  margin-top: var(--s-3); padding: var(--s-4); border-radius: var(--r-xl);
  background: radial-gradient(120% 120% at 0% 0%, rgba(255, 92, 160, 0.12), transparent 55%), var(--surface-1);
  border: 1px solid var(--media-line); border-top-color: rgba(255, 170, 205, 0.4);
  box-shadow: var(--shadow-1), var(--hl-top);
}
.adm-mcard--off {
  display: flex; align-items: center; gap: var(--s-3); width: 100%; text-align: left;
  padding: 12px; background: var(--surface-1); border: 1px dashed var(--line-strong); box-shadow: none;
}
.adm-mcard__head { display: flex; align-items: center; gap: var(--s-3); }
.adm-mcard__ic {
  flex: none; width: 40px; height: 40px; border-radius: var(--r-md);
  display: grid; place-items: center; color: var(--media);
  background: var(--media-tint); border: 1px solid var(--media-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.25);
}
.adm-mcard__ic .ic { width: 20px; height: 20px; --ic-fill: 0.25; }
.adm-mcard--off .adm-mcard__ic { color: var(--text-2); background: rgba(255, 255, 255, 0.05); border-color: var(--line-strong); }
.adm-mcard__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: var(--lh-snug); }
.adm-mcard__main b { font-weight: 800; font-size: var(--fs-md); }
.adm-mcard__main small { color: var(--text-2); font-size: var(--fs-xs); font-weight: 650; overflow-wrap: anywhere; }
.adm-mcard--off .adm-mcard__main b { font-size: var(--fs-sm); }
.adm-mcard--off .adm-mcard__main small { color: var(--text-3); }
.adm-mcard__edit {
  flex: none; width: 36px; height: 36px; border-radius: var(--r-sm);
  display: grid; place-items: center; color: var(--text-2);
  background: var(--surface-3); border: 1px solid var(--line); border-top-color: var(--line-top);
}
.adm-mcard__edit .ic { width: 18px; height: 18px; }
.adm-mcard__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: var(--s-3); }
.adm-mcard__grid > div {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
  padding: 10px 12px; border-radius: var(--r-md); background: var(--bg-0); border: 1px solid var(--line);
}
.adm-mcard__grid span { color: var(--text-3); font-size: var(--fs-2xs); font-weight: 800; letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.adm-mcard__grid b { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.01em; }
.adm-mcard__grid small { color: var(--text-3); font-size: var(--fs-2xs); font-weight: 700; }
.adm-mcard__acts { display: flex; gap: var(--s-2); margin-top: var(--s-3); }
.adm-mcard__acts .btn { flex: 1; }
.adm-mcard__foot { display: flex; align-items: flex-start; gap: 6px; margin-top: var(--s-3); color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; line-height: 1.45; }
.adm-mcard__foot .ic { flex: none; width: 14px; height: 14px; margin-top: 1px; }
.adm-mlist { margin-top: var(--s-2); }
.adm-mrow .adm-urow__trail b { font-size: var(--fs-sm); font-weight: 800; }
