/* PORA Onchain — боковая панель расширения и PORA DASHBOARD (20.11, Влад: «Наши панели должны быть мега удобные, мега приятные
   глазу»; 25.11, UX-2511: «максимально понятным, приятным, удобным, юзабельным. Без воды»).
   Тёмная тема как у Binance; светлая — по системе (prefers-color-scheme) или по настройке «Тема» расширения (data-theme).
   ── UX-2511 · каркас: все переменные — здесь, одним блоком (правила 2.1–2.3 спецификации) ──
   Цвет: зелёный и красный — направление цены, золотой — действие и «лучшее», серый — вторичное. Категории цветом (--c1…--c4) —
   только внутри графиков и карт. Золотой текст — через --acc-fg (в светлой теме он темнее заливки --acc).
   Шрифт: шесть размеров --fs-1…--fs-6 (ничего мельче 11 px), у каждого своя высота строки --lh-N.
   Отступы: --s1…--s5 (4 · 8 · 12 · 16 · 24). Радиусы: --r карточка, --r2 кнопка/поле/плитка, --r3 чип/тег/сегмент. */
:root {
  color-scheme: dark;
  --bg: #0b0e11; --bg-a: rgba(11, 14, 17, .86); --card: #181a20; --card2: #1e2329; --hover: #20252c; --line: #2b3139; --line2: #363c45;
  --fg: #eaecef; --fg2: #b7bdc6; --dim: #9aa3b0; --dim2: #818b9a;
  --up: #2ebd85; --down: #f6465d; --up-bg: rgba(46, 189, 133, .13); --down-bg: rgba(246, 70, 93, .13);
  --acc: #f0b90b; --acc-ink: #181a20; --acc-fg: #f0b90b; --acc-bg: rgba(240, 185, 11, .12); --acc-line: rgba(240, 185, 11, .5);
  /* Палитра категорий — только для графиков, карт и полос состава. */
  --c1: #9085e9; --c2: #3987e5; --c3: #c98500; --c4: #5e6673;
  --skel: #1f242b; --skel2: #2a3039;
  --shadow: 0 10px 28px rgba(0, 0, 0, .5);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f5f5f5; --bg-a: rgba(245, 245, 245, .88); --card: #ffffff; --card2: #fafafa; --hover: #f3f4f6; --line: #eaecef; --line2: #dcdfe4;
    --fg: #1e2329; --fg2: #474d57; --dim: #5f6877; --dim2: #687180;
    --up: #0b8457; --down: #cf304a; --up-bg: rgba(11, 132, 87, .1); --down-bg: rgba(207, 48, 74, .1);
    --acc: #c99400; --acc-ink: #181a20; --acc-fg: #8f6700; --acc-bg: rgba(201, 148, 0, .12); --acc-line: rgba(201, 148, 0, .55);
    --c1: #6250d6; --c2: #2a78d6; --c3: #b07400; --c4: #a3abb5;
    --skel: #eceef1; --skel2: #f6f7f9;
    --shadow: 0 10px 28px rgba(24, 26, 32, .14);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f5; --bg-a: rgba(245, 245, 245, .88); --card: #ffffff; --card2: #fafafa; --hover: #f3f4f6; --line: #eaecef; --line2: #dcdfe4;
  --fg: #1e2329; --fg2: #474d57; --dim: #5f6877; --dim2: #687180;
  --up: #0b8457; --down: #cf304a; --up-bg: rgba(11, 132, 87, .1); --down-bg: rgba(207, 48, 74, .1);
  --acc: #c99400; --acc-ink: #181a20; --acc-fg: #8f6700; --acc-bg: rgba(201, 148, 0, .12); --acc-line: rgba(201, 148, 0, .55);
  --c1: #6250d6; --c2: #2a78d6; --c3: #b07400; --c4: #a3abb5;
  --skel: #eceef1; --skel2: #f6f7f9;
  --shadow: 0 10px 28px rgba(24, 26, 32, .14);
}
/* Размеры и производные цвета — одни на обе темы (ссылаются на базовые). Колонка «Панель 420» таблицы 2.1 — здесь,
   колонка «Дашборд» — ниже, у body.dash. */
:root {
  --fs-1: 11px; --lh-1: 16px;   /* только капс-подписи: шапка таблицы, подпись плитки, число в бейдже */
  --fs-2: 12px; --lh-2: 16px;   /* вторая строка ячейки, чип, сегмент, подвал карточки, подсказка «?» */
  --fs-3: 13px; --lh-3: 18px;   /* базовый: строки таблиц, текст */
  --fs-4: 14px; --lh-4: 20px;   /* заголовок карточки, пункт меню, вкладка */
  --fs-5: 16px; --lh-5: 22px;   /* число в плитке */
  --fs-6: 18px; --lh-6: 24px;   /* заголовок экрана, тикер и цена в шапке монеты */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --r: 12px; --r2: 8px; --r3: 6px;
  --page: 12px;        /* поля страницы */
  --gap-card: 10px;    /* между карточками */
  --card-h: 40px;      /* высота шапки карточки */
  --card-pad: 12px;    /* поля тела карточки */
  --row-h: 32px;       /* строка таблицы */
  --ctl-h: 28px;       /* кнопка, поле */
  --chip-h: 24px;      /* чип-фильтр */
  --top-h: 58px;       /* шапка дашборда */
  /* Старые имена категорий — на базовых цветах (правило 2.3); имена уйдут после пакетов A–D. Точки видов кошельков (.kdot) —
     формой, а не этими цветами; --k-* остаются палитрой видов для полос состава и схем. Биржа нигде не красная. */
  --g-safe: var(--acc); --g-cex: var(--fg2); --g-exit: var(--c2); --g-wallet: var(--dim2); --g-edge: var(--line2);
  --k-cex: var(--fg2); --k-pool: var(--c2); --k-safe: var(--acc); --k-team: var(--c1); --k-mm: var(--c3); --k-other: var(--c4);
  --f-cex: var(--fg2); --f-team: var(--c1); --f-mm: var(--c3); --f-hold: var(--c2); --f-fresh: var(--dim); --f-proto: var(--c4); --f-wallet: var(--dim2); --f-alpha: var(--acc);
  --fmk-cex: var(--fg2); --fmk-team: var(--acc); --fmk-safe: var(--acc); --fmk-mm: var(--c3); --fmk-pool: var(--c2); --fmk-bridge: var(--c1);
  --fmk-fresh: var(--c4); --fmk-contract: var(--dim); --fmk-wallet: var(--dim); --fmk-mint: var(--dim); --fmk-burn: var(--dim);
  --fme-dep: var(--down); --fme-wd: var(--up); --fme-team: var(--acc); --fme-other: var(--dim2);
  --mk-dep: var(--down); --mk-dump: var(--down); --mk-hack: var(--down); --mk-warn: var(--down);
  --mk-out: var(--up); --mk-wbuy: var(--up);
  --mk-team: var(--acc); --mk-safe: var(--acc); --mk-unlock: var(--acc); --mk-claim: var(--acc);
  --mk-news: var(--c2); --mk-alpha: var(--c2);
  --mk-move: var(--dim); --mk-dexw: var(--dim);
  --hl-liq: var(--c1);
}
body.dash {
  --fs-3: 14px; --lh-3: 20px; --fs-4: 15px; --lh-4: 20px; --fs-5: 18px; --lh-5: 24px; --fs-6: 22px; --lh-6: 28px;
  --page: 24px; --gap-card: 16px; --card-h: 48px; --card-pad: 16px; --row-h: 36px; --ctl-h: 32px; --chip-h: 28px;
}


* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-width: 300px; background: var(--bg); color: var(--fg);
  font: var(--fs-3)/var(--lh-3) system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:focus { outline: none; }
button:focus-visible, input:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--acc-line); outline-offset: 1px; border-radius: var(--r3); }
a { color: inherit; text-decoration: none; }
.num, .t-num { font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }
.dim { color: var(--dim); }
.dim2 { color: var(--dim2); }
.grow { flex: 1 1 auto; min-width: 0; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hide { display: none !important; }

/* ── шапка: марка, вкладки, строка монеты ── */
#hdr {
  position: sticky; top: 0; z-index: 20; background: var(--bg-a); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line); padding: 8px 10px 0;
}
.brand { display: flex; align-items: center; gap: 7px; height: 24px; }
.brand img { width: 18px; height: 18px; border-radius: var(--r3); }
.brand b { font-weight: 700; letter-spacing: .02em; }
.brand .sub { color: var(--acc-fg); font-weight: 600; }
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim2); margin-left: 2px; transition: background-color .2s ease; }
.brand .dot.ok { background: var(--up); }
.brand .dot.busy { background: var(--acc); animation: pulse 1.1s ease-in-out infinite; }
.brand .dot.err { background: var(--down); }
.brand .demo { margin-left: 4px; padding: 0 6px; border-radius: var(--r2); background: var(--acc-bg); color: var(--acc-fg); font-size: var(--fs-1); font-weight: 600; line-height: 17px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: var(--r2); color: var(--dim); transition: background-color .12s ease, color .12s ease; }
.icon-btn:hover { background: var(--hover); color: var(--fg); }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; margin: 7px 0 0; padding: 3px; border-radius: var(--r2); background: var(--card); border: 1px solid var(--line); }
.tabs button { height: 28px; border-radius: var(--r2); color: var(--dim); font-weight: 600; font-size: var(--fs-2); line-height: var(--lh-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background-color .15s ease, color .15s ease; }
#ctx:empty { display: none; }

.coinbar { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.cb-coin { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px; margin-left: -4px; border-radius: var(--r2); font-size: var(--fs-5); line-height: var(--lh-5); font-weight: 700; letter-spacing: .01em; transition: background-color .12s ease; }
.cb-coin:hover { background: var(--hover); }
.cb-coin i { font-style: normal; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 400; }
.cb-px { font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 600; font-variant-numeric: tabular-nums; }
.cb-chg { padding: 1px 6px; border-radius: var(--r3); font-weight: 600; font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; }
.cb-chg.up { background: var(--up-bg); }
.cb-chg.down { background: var(--down-bg); }
.cb-stats { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.cb-stats b { color: var(--fg2); font-weight: 600; font-variant-numeric: tabular-nums; }
.cb-search { display: flex; align-items: center; gap: 6px; }
.cb-search input { width: 120px; }
.cb-recent { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }

/* ── поля ввода и чипы ── */
input[type="text"], input[type="search"] {
  height: 30px; padding: 0 10px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--card); color: var(--fg);
  font: inherit; outline: none; transition: border-color .12s ease;
}
input[type="text"]:focus, input[type="search"]:focus { border-color: var(--acc-line); }
input::placeholder { color: var(--dim2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: var(--r2); background: var(--acc); color: var(--acc-ink); font-weight: 600; white-space: nowrap; transition: filter .12s ease; }
.btn:hover { filter: brightness(1.07); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--acc-line); filter: none; }
.coin-chip.nolink { cursor: default; }

/* ── карточки разделов ── */
.tab { display: none; }
.tab.on { display: block; animation: fade .16s ease-out; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; }
.card.shut .card-t .car { transform: rotate(-90deg); }
.card.shut .card-b, .card.shut .card-tools { display: none; }
.card-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: -2px 0 8px; }
.foot .lnk { color: var(--dim); }
.lnk { color: var(--acc-fg); cursor: pointer; }
.lnk:hover { text-decoration: underline; }
.more { display: block; width: 100%; margin-top: 6px; height: 26px; border-radius: var(--r2); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }

/* чипы-итоги («🏛 топ-100 без бирж 62%») */
.facts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.fact b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.fact.warn { box-shadow: inset 0 0 0 1px var(--acc-line); }
.fact.warn b { color: var(--acc-fg); }
.fact .bar2 { display: inline-flex; width: 38px; height: 6px; border-radius: 3px; overflow: hidden; background: var(--line); gap: 1px; }
.fact .bar2 i { display: block; height: 100%; }

/* ── строки таблиц ── */
.row.click { cursor: pointer; }
.row.click:hover { background: var(--hover); }
.row + .row { box-shadow: 0 -1px 0 var(--line); }
.row.click:hover + .row, .row.click:hover { box-shadow: none; }
.row .depth { position: absolute; left: 0; top: 4px; bottom: 4px; border-radius: var(--r3); background: var(--fg); opacity: .045; pointer-events: none; }
.row > * { position: relative; }
.r-coin { grid-template-columns: minmax(0, 1fr) 50px 58px 62px; }
.th > :not(:first-child), .row .rv { text-align: right; }
.rv { font-variant-numeric: tabular-nums; white-space: nowrap; }
.who .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-weight: 500; }
/* 21.11: в узкой колонке «КОМАНДНЫЙ» не режется в «КОМАН…» — уступает значок мультисига. */
.who .nm.team { flex: none; }
.who .kb.kb-safe { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who .nm.addr { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 400; color: var(--fg2); }
.sub-line { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }

/* полоски величины */
.mbar { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 3px; }
.mbar i { display: block; height: 100%; border-radius: 3px; }
.mbar i.up { background: var(--up); } .mbar i.down { background: var(--down); } .mbar i.acc { background: var(--acc); } .mbar i.exit { background: var(--g-exit); }
.split { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; background: transparent; }
.split i { display: block; height: 100%; }
.split i:first-child { border-radius: 4px 0 0 4px; } .split i:last-child { border-radius: 0 4px 4px 0; } .split i:only-child { border-radius: 4px; }
.split .l { background: var(--up); } .split .s { background: var(--down); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

/* итоги «кто набирает / кто сбрасывает» */
.sum .vl { font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum .vl small { display: block; margin-top: -1px; color: var(--dim); font-weight: 500; font-size: var(--fs-1); line-height: 1.3; }

/* события и лента */
.day { margin: 8px 0 2px; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.day:first-child { margin-top: 0; }
.ok-b, .no-b { display: inline-flex; align-items: center; gap: 3px; padding: 0 5px; border-radius: var(--r3); font-size: var(--fs-1); font-weight: 600; line-height: 16px; font-variant-numeric: tabular-nums; }
.ok-b { background: var(--up-bg); color: var(--up); }
.no-b { background: var(--down-bg); color: var(--down); }
.post { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.post:hover { color: var(--acc-fg); }
.addr-l { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-1); line-height: var(--lh-1); color: var(--fg2); cursor: pointer; border-bottom: 1px dotted var(--line2); }
.addr-l:hover { color: var(--acc-fg); border-bottom-color: var(--acc-line); }
.side-l { color: var(--fg2); }

.fi { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 7px 8px; margin: 0 0 6px; border-radius: var(--r2); background: var(--card); border: 1px solid var(--line); transition: border-color .15s ease, background-color .15s ease; }
.fi:hover { border-color: var(--line2); }
.fi.new { animation: flash 1.6s ease-out; }
.fi .gl { width: 26px; height: 26px; border-radius: var(--r2); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-2); line-height: var(--lh-2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
.fi .t1 { display: flex; align-items: center; gap: 7px; min-width: 0; }
.fi .t1 .usd { font-weight: 700; font-variant-numeric: tabular-nums; }
.fi .t1 .kind { color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi .t1 .tm { margin-left: auto; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fi .t2 { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; margin-top: 3px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); min-width: 0; }
.fi.click { cursor: pointer; }
.feed-tools { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.feed-tools .line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.feed-state { color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); margin-left: auto; }

/* значки видов событий: цвет — только у значка, текст — цветом текста */
.g-dep, .g-dexsell, .g-dump, .g-hack { color: var(--down); }
.g-out, .g-dexbuy, .g-wbuy { color: var(--up); }
.g-team, .g-safe, .g-claim, .g-unlock, .g-lead, .g-warn { color: var(--acc-fg); }
.g-move, .g-anom, .g-dexw, .g-news, .g-sig { color: var(--dim); }

/* ── графики ── */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .ax { stroke: var(--line2); stroke-width: 1; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .lbl { fill: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); font-family: inherit; }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:hover { fill: var(--fg); fill-opacity: .04; }
.chart .b-in { fill: var(--down); }
.chart .b-out { fill: var(--up); }
.tip { position: fixed; z-index: 50; max-width: 240px; padding: 6px 8px; border-radius: var(--r2); background: var(--card2); color: var(--fg); box-shadow: var(--shadow), inset 0 0 0 1px var(--line2); font-size: var(--fs-2); line-height: 1.4; pointer-events: none; opacity: 0; transform: translateY(3px); transition: opacity .1s ease, transform .1s ease; }
.tip.on { opacity: 1; transform: none; }
.tip b { font-weight: 600; }
.tip .tl { color: var(--dim); }
details.tbl { margin-top: 8px; }
details.tbl summary { cursor: pointer; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); list-style: none; }
details.tbl summary::-webkit-details-marker { display: none; }
details.tbl summary::before { content: "▸ "; }
details.tbl[open] summary::before { content: "▾ "; }
details.tbl table { width: 100%; margin-top: 4px; border-collapse: collapse; font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; }
details.tbl td, details.tbl th { padding: 2px 0; text-align: right; }
details.tbl td:first-child, details.tbl th:first-child { text-align: left; color: var(--dim); }
details.tbl th { color: var(--dim2); font-weight: 500; }

/* граф следа */
.graph-wrap { overflow-x: auto; overflow-y: hidden; margin: 0 -12px; padding: 0 12px 4px; scrollbar-width: thin; }
.graph-wrap svg { display: block; }
.graph-v svg { display: block; width: 100%; height: auto; overflow: visible; }
.graph .edge { fill: none; stroke: var(--g-edge); stroke-linecap: round; opacity: .75; transition: opacity .12s ease; }
.graph .edge.cex { stroke: var(--g-cex); opacity: .55; }
.graph .edge.exit { stroke: var(--g-exit); opacity: .55; }
.graph .edge.dim { opacity: .15; }
.graph .node { cursor: pointer; }
.graph .node rect.bg { fill: var(--card2); stroke: var(--line2); stroke-width: 1; transition: stroke .12s ease; }
.graph .node:hover rect.bg, .graph .node.hl rect.bg { stroke: var(--acc-line); }
.graph .node rect.k { fill: var(--g-wallet); }
.graph .node.safe rect.k { fill: var(--g-safe); } .graph .node.cex rect.k { fill: var(--g-cex); } .graph .node.exit rect.k { fill: var(--g-exit); }
.graph .node text { fill: var(--fg); font-size: var(--fs-1); line-height: var(--lh-1); font-family: inherit; }
.graph .node text.s { fill: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.graph .node text.m { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-1); line-height: var(--lh-1); }
.graph .col-t { fill: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); text-transform: uppercase; letter-spacing: .05em; }
.leg-g i.safe { background: var(--g-safe); } .leg-g i.wallet { background: var(--g-wallet); } .leg-g i.cex { background: var(--g-cex); } .leg-g i.exit { background: var(--g-exit); }

/* ── 🗺 карта потоков монеты (21.11): узлы-плашки, связи-кривые, свой сдвиг и масштаб ──
   Виды узлов — полоской слева (биржа, команда, КОМАНДНЫЙ, ММ, пул/DEX, мост, свежий, контракт, кошелёк, минт/сжигание), смысл связи —
   цветом (на биржу — красный, с биржи — зелёный, команда — фиолетовый, прочее — серый); соседние пары различимы в обеих темах. */
.fm-wrap { position: relative; margin: 2px 0 0; border-radius: var(--r); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.fm-wrap.busy { opacity: .62; transition: opacity .2s ease; }
.fm-svg { display: block; width: 100%; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.fm-svg.grab { cursor: grabbing; }
.fm-col { fill: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); letter-spacing: .06em; }
.fm-n { cursor: pointer; transition: opacity .12s ease; }
.fm-n.nolink { cursor: default; }
.fm-n .bg { fill: var(--card); stroke: var(--line2); stroke-width: 1; transition: stroke .12s ease; }
.fm-n:hover .bg, .fm-n:focus-visible .bg, .fm-n.on .bg { stroke: var(--acc-line); }
.fm-n.open .bg { stroke: var(--acc-line); stroke-dasharray: 4 3; }
.fm-n.via .bg { fill: var(--card2); }
.fm-n:focus { outline: none; }
.fm-n text { fill: var(--fg); font-size: var(--fs-1); line-height: var(--lh-1); font-family: inherit; }
.fm-n text.s { fill: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.fm-n text.m { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-1); line-height: var(--lh-1); }
.fm-n .kb { fill: var(--fmk-wallet); }
.fm-n.k-cex .kb { fill: var(--fmk-cex); } .fm-n.k-team .kb { fill: var(--fmk-team); } .fm-n.k-safe .kb { fill: var(--fmk-safe); } .fm-n.k-mm .kb { fill: var(--fmk-mm); }
.fm-n.k-pool .kb { fill: var(--fmk-pool); } .fm-n.k-bridge .kb { fill: var(--fmk-bridge); } .fm-n.k-fresh .kb { fill: var(--fmk-fresh); } .fm-n.k-contract .kb { fill: var(--fmk-contract); }
.fm-n.k-mint .kb { fill: var(--fmk-mint); } .fm-n.k-burn .kb { fill: var(--fmk-burn); }
.fm-n.k-safe text:first-of-type { fill: var(--acc); font-weight: 600; }
.fm-x { cursor: pointer; }
.fm-x circle { fill: var(--card2); stroke: var(--line2); stroke-width: 1; transition: stroke .12s ease; }
.fm-x text { fill: var(--acc); font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 700; }
.fm-x:hover circle { stroke: var(--acc-line); fill: var(--acc-bg); }
.fm-x.busy text { fill: var(--dim); }
.fm-x.sm text { font-size: var(--fs-1); line-height: var(--lh-1); }
.fm-e { fill: none; stroke-linecap: round; opacity: .5; transition: opacity .12s ease; }
.fm-e.via { stroke-dasharray: 6 4; }
.fm-ah { opacity: .75; transition: opacity .12s ease; }
.fm-e.k-dep { stroke: var(--fme-dep); } .fm-e.k-wd { stroke: var(--fme-wd); } .fm-e.k-team { stroke: var(--fme-team); } .fm-e.k-other { stroke: var(--fme-other); }
.fm-ah.k-dep { fill: var(--fme-dep); } .fm-ah.k-wd { fill: var(--fme-wd); } .fm-ah.k-team { fill: var(--fme-team); } .fm-ah.k-other { fill: var(--fme-other); }
.fm-eh { fill: none; stroke: transparent; pointer-events: stroke; cursor: pointer; }
.fm-svg.hl .fm-e:not(.on) { opacity: .07; } .fm-svg.hl .fm-ah:not(.on) { opacity: .1; }
.fm-svg.hl .fm-e.on { opacity: .92; } .fm-svg.hl .fm-n:not(.on) { opacity: .32; }
.fm-ct { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 4px; }
.fm-ct button { width: 26px; height: 26px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg2); font-size: var(--fs-4); line-height: 1; transition: box-shadow .12s ease, color .12s ease; }
.fm-ct button:hover { color: var(--acc-fg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.fm-sk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12%; padding: 26px 6% 0; }
.fm-skc { display: flex; flex-direction: column; justify-content: center; }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; margin: 0 -6px; border-radius: var(--r2); cursor: pointer; transition: background-color .12s ease, box-shadow .12s ease; }
.pick:hover { background: var(--hover); }
.pick.on { background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.pick .p1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pick .p2 { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 8px; align-items: center; font-size: var(--fs-2); line-height: var(--lh-2); margin-top: 6px; }
.kv .k { color: var(--dim); }
.kv .v { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }

/* досье кошелька */
.wsearch { display: flex; gap: 6px; margin-bottom: 8px; }
.wsearch input { flex: 1 1 auto; min-width: 0; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-2); line-height: var(--lh-2); }
/* 👛 26.11 (pg6): страница «Кошелёк» без адреса — поле с подсказками по имени, кошелёк дня, золотые, активные, мои кошельки; «👀 Следить». */
.wsearch .ww-in { position: relative; display: flex; flex: 1 1 auto; min-width: 0; }
.wsearch .ww-in input { width: 100%; }
.wsearch .ww-in .sugg { top: calc(100% + 4px); }
.ww-dayb { display: flex; flex-direction: column; gap: var(--s3); }
.ww-day { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.ww-dh { display: flex; flex: 1 1 auto; align-items: center; gap: var(--s2); min-width: 0; padding: 2px; margin: -2px; border-radius: var(--r2); text-align: left; }
.ww-dh:hover .ww-dn b { color: var(--acc-fg); }
.ww-dn { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ww-dn b { font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 700; }
.ww-dn b.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 600; }
.ww-dn small { font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ww-what { font-size: var(--fs-3); line-height: var(--lh-3); }
.ww-what b { font-weight: 700; }
.ww-dayb .tiles { margin: 0; }
.ww-coins { gap: var(--s1); }
.ww-cu { margin-left: 4px; color: var(--dim); font-weight: 500; }
.ww-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.btn.ww-f.on { color: var(--acc-fg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.row.r-ww { grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 44px; }
.r-ww .ww-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.r-ww .who { min-width: 0; }
.r-ww .who .ava { width: 20px; height: 20px; border-radius: 50%; }
.r-ww .who .kb { flex: none; }
.r-ww .ww-sub { padding-left: 28px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-ww .ww-v { display: flex; flex-direction: column; align-items: flex-end; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-ww .ww-v b { font-weight: 700; }
.r-ww .ww-v b.up { color: var(--up); }
.r-ww .ww-v b.down { color: var(--down); }
.r-ww .ww-v small { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.r-ww .ww-btns { display: flex; gap: 4px; }
.kb.ww-gold { color: var(--acc-fg); background: var(--acc-bg); }
@media (max-width: 479px) {
  .r-ww .ww-sub { padding-left: 0; white-space: normal; }
  .r-ww .who .kb.ww-k { display: none; }
  .row.r-wwm { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .r-wwm .ww-btns { justify-content: flex-end; }
}
.whead { display: flex; align-items: center; gap: 10px; padding: 12px; }
.ava { flex: none; width: 34px; height: 34px; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.whead .wa { min-width: 0; }
.whead .wa .w1 { display: flex; align-items: center; gap: 6px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 600; }
.whead .wa .w2 { margin-top: 2px; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wbadges { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 12px 10px; }
.wlinks { display: flex; gap: 6px; padding: 0 12px 12px; flex-wrap: wrap; }
.tg { font-size: var(--fs-2); line-height: 1.5; word-break: break-word; }
.tg code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-1); line-height: var(--lh-1); padding: 0 3px; border-radius: 4px; background: var(--card2); }
.tg a { color: var(--acc-fg); }
.tg a:hover { text-decoration: underline; }
.kb.warn { color: var(--acc-fg); box-shadow: inset 0 0 0 1px var(--acc-line); }

/* 21.11: досье 2.0 — откуда деньги (цепочка пополнителей), с кем работает, крупные переводы */
.chainv { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.cv { display: flex; align-items: center; gap: 7px; min-height: 26px; padding: 2px 8px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.cv > :not(.kdot):not(.cv-ar) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv .dim2 { margin-left: auto; font-size: var(--fs-1); line-height: var(--lh-1); flex: none; }
.cv.me { background: transparent; box-shadow: inset 0 0 0 1px var(--line2); }
.cv-ar { flex: none; width: 12px; color: var(--acc-fg); font-weight: 700; text-align: center; }
.r-peer { grid-template-columns: minmax(0, 1fr) 70px 70px; }
.r-move { grid-template-columns: 16px minmax(0, 1fr) auto 26px; gap: 7px; }
.mv-d { font-weight: 700; text-align: center; }
.mv-1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.mv-1 > .addr-l, .mv-1 > .side-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbtn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 20px; min-width: 24px; padding: 0 7px; border-radius: var(--r3); background: var(--card2); color: var(--dim); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; white-space: nowrap; transition: color .12s ease, box-shadow .12s ease, background-color .12s ease; }
.tbtn:hover { color: var(--acc-fg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.tbtn.on { background: var(--acc-bg); color: var(--acc-fg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.tbtn:disabled { opacity: .6; cursor: progress; }
.fi .t2 .tbtn { margin-left: auto; }
.t-route { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 6px; font-size: var(--fs-2); line-height: var(--lh-2); }

/* ── 👛 Досье кошелька «конфеткой» (21.11, Влад: «выглядит ещё очень сырым … чтобы вышла конфетка»): паспорт, портфель с историей,
   лента активности, биржи, схема связей, трек-рекорд, Hyperliquid, семья. Цвета видов — те же --k-*, числа — моноширинными цифрами. ── */
.wv-pass { margin-bottom: 10px; }
body.dash .wv-pass { margin-bottom: 14px; }
.wv-top { display: flex; align-items: center; gap: 12px; padding: 14px 14px 9px; }
.wv-ava { position: relative; flex: none; width: 46px; height: 46px; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.wv-ic { position: absolute; right: -6px; bottom: -6px; width: 23px; height: 23px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: var(--fs-2); line-height: var(--lh-2); background: var(--card2); box-shadow: 0 0 0 2px var(--card), inset 0 0 0 1px var(--line2); }
.wv-id { min-width: 0; flex: 1 1 auto; }
.wv-name { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: var(--fs-5); font-weight: 700; letter-spacing: .01em; line-height: 1.25; }
body.dash .wv-name { font-size: var(--fs-6); line-height: var(--lh-6); }
.wv-gold { flex: none; }
.wv-addr { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin-top: 3px; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.wv-mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-2); line-height: var(--lh-2); }
.wv-addr .ch { padding: 0 4px; border-radius: 4px; background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: var(--fs-1); font-weight: 600; line-height: 15px; text-transform: uppercase; }
.wv-addr .icon-btn { min-width: 20px; height: 20px; }
.wv-hint { font-size: var(--fs-1); line-height: var(--lh-1); }
.wv-tot { flex: none; padding-left: 8px; text-align: right; }
.wv-tl { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.wv-tv { font-size: var(--fs-6); font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.dash .wv-tv { font-size: var(--fs-6); line-height: var(--lh-6); }
.wv-ts { color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; }
.wv-pills { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 14px 9px; }
.wv-pill { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: var(--r); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg2); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; white-space: nowrap; }
.wv-pill.warn { color: var(--acc-fg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.wv-pill.gold, .wv-pill.k-safe { color: var(--acc-fg); background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.wv-about { margin: 0 14px 10px; padding: 8px 10px 8px 12px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 3px 0 0 var(--k-other), inset 0 0 0 1px var(--line); color: var(--fg2); font-size: var(--fs-2); line-height: 1.45; }
.wv-pass.k-pool .wv-about, .wv-pass.k-contract .wv-about { box-shadow: inset 3px 0 0 var(--k-pool), inset 0 0 0 1px var(--line); }
.wv-pass.k-cex .wv-about { box-shadow: inset 3px 0 0 var(--k-cex), inset 0 0 0 1px var(--line); }
.wv-pass.k-safe .wv-about { box-shadow: inset 3px 0 0 var(--k-safe), inset 0 0 0 1px var(--line); }
.wv-pass.k-team .wv-about { box-shadow: inset 3px 0 0 var(--k-team), inset 0 0 0 1px var(--line); }
.wv-pass.k-mm .wv-about { box-shadow: inset 3px 0 0 var(--k-mm), inset 0 0 0 1px var(--line); }
.wv-pass.k-burn .wv-about { box-shadow: inset 3px 0 0 var(--down), inset 0 0 0 1px var(--line); }
.wv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 6px; padding: 0 14px 10px; }
.wv-f { min-width: 0; padding: 7px 9px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .12s ease; }
.wv-f.click { cursor: pointer; }
.wv-f.click:hover { box-shadow: inset 0 0 0 1px var(--acc-line); }
.wv-f.gold { background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.wv-f.warn .wv-fv, .wv-f.gold .wv-fv { color: var(--acc-fg); }
.wv-f.good .wv-fv { color: var(--up); }
.wv-fl { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wv-fv { margin-top: 1px; font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wv-fs { color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wv-acts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px; }
.wv-acts .btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
@container (max-width: 460px) {
  .wv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 380px) {
  .wv-top { flex-wrap: wrap; }
  .wv-tot { width: 100%; padding-left: 58px; text-align: left; }
}

/* портфель: итог, история баланса, сети, монеты */
.wv-pfh { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 6px; }
.wv-big { font-size: var(--fs-6); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wv-chs { display: flex; flex-wrap: wrap; gap: 3px 10px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.wv-chl { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.wv-chl i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.wv-chl b { color: var(--fg2); font-weight: 600; }
.wv-spw { margin: 4px 0 8px; }
.wv-sp-host { position: relative; height: 64px; cursor: crosshair; }
.wv-sp { display: block; width: 100%; height: 100%; overflow: visible; }
.wv-sp-a { fill: var(--acc); fill-opacity: .1; stroke: none; }
.wv-sp-l { fill: none; stroke: var(--acc); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.wv-sp-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 2px var(--card); pointer-events: none; }
.wv-sp-v { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line2); pointer-events: none; }
.wv-spx { display: flex; justify-content: space-between; gap: 8px; margin-top: 3px; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); }
.wv-chbar { display: flex; gap: 2px; height: 6px; margin: 0 0 10px; }
.wv-chbar i, .wv-chl i { background: var(--k-other); }
.wv-chbar i { display: block; min-width: 3px; height: 100%; }
.wv-chbar i:first-child { border-radius: 3px 0 0 3px; } .wv-chbar i:last-child { border-radius: 0 3px 3px 0; } .wv-chbar i:only-child { border-radius: 3px; }
.wv-chbar i.c0, .wv-chl i.c0 { background: var(--acc); } .wv-chbar i.c1, .wv-chl i.c1 { background: var(--k-pool); } .wv-chbar i.c2, .wv-chl i.c2 { background: var(--k-team); }
.wv-chbar i.c3, .wv-chl i.c3 { background: var(--f-hold); } .wv-chbar i.c4, .wv-chl i.c4 { background: var(--k-mm); } .wv-chbar i.c5, .wv-chl i.c5 { background: var(--k-other); }
.r-wtk { grid-template-columns: minmax(0, 1fr) 84px 96px; }
.r-wtk .who .kb { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* доля монеты в портфеле — тонкой чертой под строкой, а не заливкой */
.r-wtk .depth { top: auto; bottom: 1px; height: 2px; border-radius: 1px; background: var(--acc); opacity: .5; }
.wv-pw { display: flex; align-items: center; gap: 6px; min-width: 0; }
.wv-pw > .who { min-width: 0; }
.wv-twin { flex: none; height: 17px; padding: 0 6px; font-size: var(--fs-1); line-height: var(--lh-1); }
.wv-note { margin: 0 0 8px; }
.wv-none { display: flex; align-items: flex-start; gap: 10px; padding: 2px 0 2px; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.wv-none .ic { flex: none; width: 26px; height: 26px; border-radius: var(--r2); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-3); line-height: var(--lh-3); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
.wv-none .dim2 { margin-top: 2px; font-size: var(--fs-1); line-height: 1.4; }
.wv-tk-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 700; }
.wv-sym { font-size: var(--fs-2); line-height: var(--lh-2); }
@container (max-width: 400px) {
  .r-wtk { grid-template-columns: minmax(0, 1fr) 84px; }
  .r-wtk > :nth-child(3) { display: none; }
  .th.r-wtk > :nth-child(2) { display: none; }
}

/* лента активности */
.wv-io { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: -2px 0 6px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.wv-act { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto auto 26px; grid-template-areas: "d a1 a2 at tb"; align-items: center; gap: 3px 8px; min-height: 34px; padding: 4px 6px; margin: 0 -6px; border-radius: var(--r2); transition: background-color .12s ease; }
.wv-act:hover { background: var(--hover); }
.wv-act + .wv-act { box-shadow: 0 -1px 0 var(--line); }
.wv-act:hover + .wv-act, .wv-act:hover { box-shadow: none; }
.wv-ad { grid-area: d; font-weight: 700; text-align: center; }
.wv-a1 { grid-area: a1; display: flex; align-items: center; gap: 6px; min-width: 0; }
.wv-a1 > .who { flex: 0 1 auto; min-width: 0; }
.wv-a2 { grid-area: a2; display: flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.wv-a2 .ch { padding: 0 4px; border-radius: 4px; background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: var(--fs-1); font-weight: 600; line-height: 15px; }
.wv-at { grid-area: at; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wv-act > :last-child { grid-area: tb; }
.wv-dex { font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; white-space: nowrap; }
@container (max-width: 600px) {
  .wv-act { grid-template-columns: 16px minmax(0, 1fr) auto 26px; grid-template-areas: "d a1 at tb" "d a2 a2 tb"; }
  .wv-a2 { justify-content: flex-start; flex-wrap: wrap; }
  .wv-a2:empty { display: none; }
}

/* биржи: слева — заводил на биржу, справа — выводил */
.r-wcx { grid-template-columns: minmax(0, 1fr) minmax(70px, 1.2fr) 70px 70px; }
.th.r-wcx > :nth-child(2) { text-align: center; }
.wv-cxb { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 10px; }
.wv-cxb .l { display: flex; justify-content: flex-end; }
.wv-cxb .r { display: flex; }
.wv-cxb i { display: block; height: 100%; }
.wv-cxb .l i { background: var(--down); border-radius: 4px 0 0 4px; }
.wv-cxb .r i { background: var(--up); border-radius: 0 4px 4px 0; }
@container (max-width: 400px) {
  .r-wcx { grid-template-columns: minmax(0, 1fr) 64px 64px; }
  .r-wcx .wv-cxb, .th.r-wcx > :nth-child(2) { display: none; }
}

/* схема связей */
.wv-gw { max-width: 440px; margin: 0 auto; }
.wv-g { display: block; width: 100%; height: auto; overflow: visible; }
.wv-gn { cursor: pointer; outline: none; }
.wv-gn .hit { fill: transparent; }
.wv-gn .dot { stroke: var(--card); stroke-width: 2; transition: stroke .12s ease; }
.wv-gn:hover .dot, .wv-gn:focus-visible .dot { stroke: var(--fg); }
.wv-gn text { fill: var(--fg2); font-size: var(--fs-1); line-height: var(--lh-1); font-family: inherit; pointer-events: none; }
.wv-gn text.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-1); line-height: var(--lh-1); }
.wv-gc { stroke: var(--card); stroke-width: 3; }
.wv-gct { fill: #fff; font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 700; pointer-events: none; }

/* трек-рекорд */
.wv-tk { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin-bottom: 8px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
.wv-tk.gold { background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.wv-tkb { flex: none; text-align: center; }
.wv-tkv { font-size: var(--fs-6); line-height: var(--lh-6); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wv-tk.gold .wv-tkv { color: var(--acc-fg); }
.wv-tks { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.wv-tkt { min-width: 0; }
.wv-tkg { font-weight: 700; }
.wv-tl1 { margin: 3px 0; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.wv-tl1 b { font-variant-numeric: tabular-nums; }
.wv-dotsw { margin: 8px 0 6px; }
.wv-dots { display: block; width: 100%; height: auto; overflow: visible; }
.wv-dots .z { stroke: var(--line2); stroke-width: 1; }
.wv-dots .ax { fill: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); font-family: inherit; }
.wv-dots .hit { fill: transparent; }
.wv-dots .pt { stroke: var(--card); stroke-width: 2; }
.wv-dots .ok .pt { fill: var(--up); }
.wv-dots .no .pt { fill: var(--down); }
.wv-dots .mu .pt { fill: var(--dim); }
.wv-dots .d:hover .pt { stroke: var(--fg); }
.r-wtr { grid-template-columns: 38px minmax(0, 1fr) auto auto; }
.wv-d { font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; }

/* Hyperliquid: до ликвидации — полоска (ближе 10% — красная, ближе 25% — жёлтая) */
.r-whl { grid-template-columns: minmax(0, 1fr) 62px 78px 64px 62px; }
.wv-lq { display: block; height: 3px; margin: 3px 0 0 auto; border-radius: 2px; background: var(--line2); }
.wv-lq.warm { background: var(--acc); }
.wv-lq.hot { background: var(--down); }
.wv-fills { margin-top: 10px; }
@container (max-width: 400px) {
  .r-whl { grid-template-columns: minmax(0, 1fr) 56px 62px 58px; }
  .r-whl > :nth-child(3) { display: none; }
}

/* семья */
.r-wfm { grid-template-columns: minmax(0, 1fr) auto; min-height: 28px; }
.r-wfm .rv { font-size: var(--fs-1); line-height: var(--lh-1); }

/* 21.11: связанные держатели — пузыри групп и список */
.bub-wrap { margin: 2px auto 0; }
.bub { display: block; width: 100%; height: auto; overflow: visible; }
.bub .b { cursor: pointer; }
.bub .b circle { fill: var(--k-team); fill-opacity: .2; stroke: var(--k-team); stroke-width: 1.5; transition: fill-opacity .12s ease, stroke-width .12s ease; }
.bub .b.up circle { fill: var(--up); stroke: var(--up); }
.bub .b.down circle { fill: var(--down); stroke: var(--down); }
.bub .b:hover circle, .bub .b:focus circle { fill-opacity: .34; }
.bub .b.on circle { fill-opacity: .42; stroke: var(--acc); stroke-width: 2.5; }
.bub text { pointer-events: none; font-family: inherit; }
.bub text.n { fill: var(--fg); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 700; }
.bub text.p { fill: var(--fg2); font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; }
.cg-list { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.cg { border-radius: var(--r2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.cg.on { box-shadow: inset 0 0 0 1px var(--acc-line); }
.cg-h { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; cursor: pointer; transition: background-color .12s ease; }
.cg-h:hover { background: var(--hover); }
.cg-dot { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 700; background: var(--card2); box-shadow: inset 0 0 0 1.5px var(--k-team); }
.cg-dot.up { box-shadow: inset 0 0 0 1.5px var(--up); } .cg-dot.down { box-shadow: inset 0 0 0 1.5px var(--down); }
.cg-1 { display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; }
.cg-why { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 1px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); min-width: 0; }
.cg-w { padding: 0 8px 6px 36px; }
.r-cw { grid-template-columns: minmax(0, 1fr) 50px 58px 58px; min-height: 28px; }

/* пусто, ошибка, загрузка */
.empty { padding: 14px 6px; color: var(--dim); text-align: center; font-size: var(--fs-2); line-height: var(--lh-2); }
.empty .big { display: block; font-size: var(--fs-6); line-height: var(--lh-6); margin-bottom: 4px; }
.empty b { color: var(--fg2); font-weight: 600; }
.err { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; color: var(--fg2); text-align: center; }
.err .big { font-size: var(--fs-6); line-height: var(--lh-6); }
.skel { display: block; height: 12px; border-radius: var(--r3); background: linear-gradient(90deg, var(--skel) 0%, var(--skel2) 50%, var(--skel) 100%); background-size: 200% 100%; animation: shimmer 1.2s ease-in-out infinite; }
.skel.w40 { width: 40%; } .skel.w60 { width: 60%; } .skel.w80 { width: 80%; } .skel.h28 { height: 28px; border-radius: var(--r2); } .skel.h70 { height: 70px; border-radius: var(--r2); }
.pend { display: inline-flex; align-items: center; gap: 5px; color: var(--acc-fg); font-size: var(--fs-1); line-height: var(--lh-1); }
.pend::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); animation: pulse 1.1s ease-in-out infinite; }
.note { margin: 0 0 10px; padding: 8px 10px; border-radius: var(--r2); background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.note b { color: var(--acc-fg); }

.toast { position: fixed; left: 50%; bottom: 14px; z-index: 60; max-width: calc(100% - 24px); padding: 8px 12px; border-radius: var(--r2); background: var(--card2); color: var(--fg); box-shadow: var(--shadow), inset 0 0 0 1px var(--line2); font-size: var(--fs-2); line-height: var(--lh-2); opacity: 0; transform: translate(-50%, 8px); transition: opacity .15s ease, transform .15s ease; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ── PORA DASHBOARD: верхняя строка, меню разделов слева, сетка карточек (тот же код, что у панели; от 1100 px — несколько колонок) ── */
.dtop .dot.ok { background: var(--up); } .dtop .dot.busy { background: var(--acc); animation: pulse 1.1s ease-in-out infinite; } .dtop .dot.err { background: var(--down); }
.dsearch input { width: 100%; height: 36px; padding-left: 32px; border-radius: var(--r); font-size: var(--fs-3); line-height: var(--lh-3); }
.dsearch .mag { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--dim2); pointer-events: none; font-size: var(--fs-4); line-height: var(--lh-4); }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; padding: 6px; border-radius: var(--r); background: var(--card2); box-shadow: var(--shadow), inset 0 0 0 1px var(--line2); }
.sugg .sl { padding: 2px 6px 4px; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); text-transform: uppercase; letter-spacing: .05em; }
.sugg button { display: flex; width: 100%; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: var(--r2); font-weight: 600; }
.sugg button:hover, .sugg button.on { background: var(--hover); color: var(--acc-fg); }
.sugg button small { color: var(--dim); font-weight: 400; }
.dcoin .px { font-size: var(--fs-5); line-height: var(--lh-5); font-weight: 600; font-variant-numeric: tabular-nums; }
.dcoin .ch { padding: 1px 7px; border-radius: var(--r2); font-weight: 600; font-variant-numeric: tabular-nums; }
.dcoin .ch.up { background: var(--up-bg); } .dcoin .ch.down { background: var(--down-bg); }
.dcoin .pin { color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.dnav .grp:first-child { padding-top: 2px; }
.dnav button { display: flex; align-items: center; gap: 11px; height: 42px; padding: 0 12px; border-radius: var(--r); color: var(--fg2); font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 600; text-align: left; transition: background-color .12s ease, color .12s ease, box-shadow .12s ease; }
.dnav button:hover { background: var(--hover); color: var(--fg); }
.dnav button.on { background: var(--acc-bg); color: var(--acc-fg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.dnav button .ni { width: 24px; text-align: center; font-size: var(--fs-5); line-height: var(--lh-5); flex: none; }
.dnav button .nl { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dnav button .nb { flex: none; min-width: 20px; padding: 0 6px; border-radius: var(--r); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: var(--fs-1); font-weight: 600; line-height: 19px; text-align: center; font-variant-numeric: tabular-nums; }
.dnav button.on .nb { background: var(--acc); color: var(--acc-ink); box-shadow: none; }
.dnav .hint { margin-top: auto; padding: 14px 12px 0; color: var(--dim2); font-size: var(--fs-1); line-height: 1.5; }
.vh .vs { color: var(--dim); font-size: var(--fs-3); line-height: var(--lh-3); padding-bottom: 2px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; align-items: start; }
.grid > .card { margin: 0; }
.grid .wide { grid-column: 1 / -1; }
.grid .span2 { grid-column: span 2; }
.cols { display: grid; gap: 14px; align-items: start; }
.cols > .stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cols > .stack > .card { margin: 0; }
@media (min-width: 1100px) { .cols.c2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cols.c21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } .cols.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1099px) { .grid .span2 { grid-column: 1 / -1; } }
.tile .tv { margin-top: 2px; font-size: var(--fs-5); line-height: var(--lh-5); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .td { margin-top: 1px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .split { margin-top: 7px; }

/* ── узко (панель 320–520 px и узкие карточки дашборда): ширина карточки решает, какие колонки показать ── */
html, body { overflow-x: hidden; max-width: 100%; }
.card { container-type: inline-size; }
@container (max-width: 470px) {
  .card-tools { margin-left: 0; width: 100%; justify-content: flex-start; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 400px) {
  .r-coin { grid-template-columns: minmax(0, 1fr) 46px 54px 58px; }
  .r-peer { grid-template-columns: minmax(0, 1fr) 62px 62px; }
  .r-cw { grid-template-columns: minmax(0, 1fr) 46px 54px 54px; }
  .cg-w { padding-left: 10px; }
  .sum .vl { font-size: var(--fs-3); line-height: var(--lh-3); }
  .seg button { padding: 0 6px; }
}
@container (max-width: 340px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .r-coin { grid-template-columns: minmax(0, 1fr) 54px 58px; }
  .r-coin .c-share { display: none; }
  .r-cw { grid-template-columns: minmax(0, 1fr) 54px 54px; }
  .r-cw > :nth-child(2) { display: none; }
}

/* ── 🧩 кто отдаёт · кто получает, 🧭 скринер, 📊 статистика сигналов (21.11) ──
   Цвета групп потока — постоянные, порядок долей в полосе: биржи, команды, ММ, держатели, свежие, протоколы, прочие (соседние пары
   проверены на различимость в обеих темах, в том числе при дальтонизме; «прочие» — нейтральный серый). */
.fm-side { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; white-space: nowrap; }
.fm-side > span { overflow: hidden; text-overflow: ellipsis; }
.fm-side .side-l.addr-l { font-family: inherit; font-size: var(--fs-2); line-height: var(--lh-2); }

.scr-q { width: 130px; height: 26px !important; font-size: var(--fs-2); line-height: var(--lh-2); }
.scr-sel { height: 26px; padding: 0 6px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; font-size: var(--fs-2); line-height: var(--lh-2); }
.th-b { display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; width: 100%; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.th-b:first-child { justify-content: flex-start; }
.th-b:hover { color: var(--fg); }
.th-b.on { color: var(--acc-fg); }
.th-b i { font-style: normal; font-size: var(--fs-1); line-height: var(--lh-1); }
.scr-b { font-weight: 700; letter-spacing: .01em; }
.scr-card { display: block; padding: 8px 10px; margin: 0 0 6px; border-radius: var(--r2); background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.scr-card:hover { border-color: var(--line2); background: var(--hover); }
.scr-card .s1 { display: flex; align-items: center; gap: 7px; min-width: 0; }
.scr-card .s1 .scr-b { font-size: var(--fs-3); line-height: var(--lh-3); }
.scr-card .s-net { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.scr-card .s-net small { display: block; margin-top: -2px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 500; }
.scr-card .s2 { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.scr-card .s2 .kb { font-variant-numeric: tabular-nums; }
.kb.up { color: var(--up); } .kb.down { color: var(--down); }

.th.r-st { text-transform: none; letter-spacing: 0; font-size: var(--fs-1); line-height: var(--lh-1); }
.day.st-g { margin-top: 14px; }
.st-c { text-align: right; font-variant-numeric: tabular-nums; min-width: 0; }
.st-c small { display: block; color: var(--dim2); font-size: var(--fs-1); line-height: 1.25; white-space: nowrap; }
.st-bar { height: 3px; margin: 3px 0 0 auto; width: 70%; border-radius: 2px; background: var(--line); overflow: hidden; display: flex; justify-content: flex-end; }
.st-bar i { display: block; height: 100%; border-radius: 2px; }
.st-bar i.up { background: var(--up); } .st-bar i.down { background: var(--down); }
.vchip { justify-self: end; padding: 0 8px; border-radius: var(--r); font-size: var(--fs-1); font-weight: 600; line-height: 20px; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); background: var(--card2); }
.vchip.v-edge { color: var(--up); background: var(--up-bg); box-shadow: inset 0 0 0 1px var(--up); }
.vchip.v-weak { color: var(--acc-fg); background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.vchip.v-none { color: var(--fg2); }
.vchip.v-few { color: var(--dim2); box-shadow: inset 0 0 0 1px var(--line); background: transparent; }
@container (max-width: 640px) {
  .th.r-st { display: none; }
  .r-st .st-k { grid-area: k; } .r-st .vchip { grid-area: v; align-self: start; }
  .r-st .c1 { grid-area: c1; } .r-st .c2 { grid-area: c2; } .r-st .c3 { grid-area: c3; }
  .r-st .st-c { text-align: left; padding: 4px 7px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
  .r-st .st-c .st-h { display: block; }
  .r-st .st-bar { margin-left: 0; width: 100%; justify-content: flex-start; }
}
@media (max-width: 479px) {
  .tabs .ti { display: none; }
}

@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes fade { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }
@keyframes flash { 0% { background-color: var(--acc-bg); border-color: var(--acc-line); } 100% { background-color: var(--card); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 4px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* ── 21.11 вкладки вида монеты (Влад по дашборду: «там ещё очень много всего не хватает»): Обзор · График · Рынок · DEX ·
   Переводы · Держатели. Цвета значков событий — те же, что у списка событий (g-*); светлая тема — свои, потемнее. ── */
.ctabs button .n { margin-left: 5px; padding: 0 5px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: var(--fs-1); line-height: 15px; font-variant-numeric: tabular-nums; }
.busy { opacity: .62; transition: opacity .2s ease; }
.tip:has(.mtip) { max-width: 330px; }
.mtip .mt-r { display: flex; align-items: flex-start; gap: 6px; margin-top: 3px; }
.mtip .mt-r .mk-key { margin-top: 5px; }
.mtip .mt-r .ok-b, .mtip .mt-r .no-b, .mtip .mt-r .mu-b { flex: none; }

/* график: свечи, объём, шкала цены справа, дни снизу, полоса событий над осью дней */
.kc-host { position: relative; min-height: 120px; }
.kc-host.busy { opacity: .6; }
.kc-read { display: flex; flex-wrap: wrap; gap: 2px 10px; min-height: 18px; margin: 0 0 4px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; }
.kc-read b { color: var(--fg2); font-weight: 600; }
.kc { display: block; max-width: 100%; }
.kc-grid line { stroke: var(--line); stroke-width: 1; shape-rendering: crispEdges; }
.kc-grid .kc-lane { stroke: var(--line2); }
.kc-ax { fill: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); font-family: inherit; font-variant-numeric: tabular-nums; }
.kc-c line { stroke-width: 1; shape-rendering: crispEdges; }
.kc-c rect { stroke: none; }
.kc-c .u { stroke: var(--up); fill: var(--up); }
.kc-c .d { stroke: var(--down); fill: var(--down); }
.kc-vol rect { opacity: .3; }
.kc-vol .u { fill: var(--up); } .kc-vol .d { fill: var(--down); }
.kc-now { stroke-width: 1; stroke-dasharray: 3 3; opacity: .85; }
.kc-now.u { stroke: var(--up); } .kc-now.d { stroke: var(--down); }
.kc-nowt.u { fill: var(--up); } .kc-nowt.d { fill: var(--down); }
.kc-nowv { fill: #fff; font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; font-variant-numeric: tabular-nums; }
.kc-ov { fill: transparent; cursor: crosshair; }
.kc-x { pointer-events: none; }
.kc-xl { stroke: var(--dim); stroke-width: 1; stroke-dasharray: 2 3; shape-rendering: crispEdges; }
.kc-tag { fill: var(--card2); stroke: var(--line2); }
.kc-tagt { fill: var(--fg); font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; }
.mk { cursor: pointer; outline: none; }
.mk .hit { fill: transparent; }
.mk .dot { stroke: var(--card); stroke-width: 2; transition: stroke .1s ease; }
.mk:hover .dot, .mk:focus-visible .dot { stroke: var(--fg); }
.mk.sel .dot { stroke: var(--acc); stroke-width: 2.5; }
.mk .cnt { fill: #fff; font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 700; pointer-events: none; }
.mk-unlock .cnt, .mk-claim .cnt, .mk-news .cnt, .mk-dexw .cnt, .mk-warn .cnt, .mk-team .cnt, .mk-safe .cnt { fill: #181a20; }
.mk-dep .dot, .mk-key.mk-dep { fill: var(--mk-dep); background: var(--mk-dep); }
.mk-out .dot, .mk-key.mk-out { fill: var(--mk-out); background: var(--mk-out); }
.mk-move .dot, .mk-key.mk-move { fill: var(--mk-move); background: var(--mk-move); }
.mk-team .dot, .mk-key.mk-team { fill: var(--mk-team); background: var(--mk-team); }
.mk-safe .dot, .mk-key.mk-safe { fill: var(--mk-safe); background: var(--mk-safe); }
.mk-dexw .dot, .mk-key.mk-dexw { fill: var(--mk-dexw); background: var(--mk-dexw); }
.mk-dump .dot, .mk-key.mk-dump { fill: var(--mk-dump); background: var(--mk-dump); }
.mk-wbuy .dot, .mk-key.mk-wbuy { fill: var(--mk-wbuy); background: var(--mk-wbuy); }
.mk-news .dot, .mk-key.mk-news { fill: var(--mk-news); background: var(--mk-news); }
.mk-warn .dot, .mk-key.mk-warn { fill: var(--mk-warn); background: var(--mk-warn); }
.mk-hack .dot, .mk-key.mk-hack { fill: var(--mk-hack); background: var(--mk-hack); }
.mk-unlock .dot, .mk-key.mk-unlock { fill: var(--mk-unlock); background: var(--mk-unlock); }
.mk-claim .dot, .mk-key.mk-claim { fill: var(--mk-claim); background: var(--mk-claim); }
.mk-key { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.mkg-flow { background: linear-gradient(90deg, var(--mk-dep) 50%, var(--mk-out) 50%); }
.mkg-team { background: var(--mk-team); } .mkg-dex { background: var(--mk-dexw); } .mkg-news { background: var(--mk-news); } .mkg-unlock { background: var(--mk-unlock); }
.mk-chips { margin: -2px 0 6px; }
.mkc { display: inline-flex; align-items: center; gap: 5px; }
.mkc:not(.on) { opacity: .6; text-decoration: line-through; }
.mkc:not(.on) .mk-key { background: var(--dim2); }
/* 26.11 📣 Колы бота на графике (callMkDraw): эмодзи кола в плашке цвета карточки с рамкой --mk-call (фиолетовый --c1 — меняется с темой),
   счёт кучки — кружком той же рамки; ключ в подсказке, чипе и «Слои ▾» — точкой --mk-call (выключенный чип — серой, правилом выше). */
:root { --mk-call: var(--c1); }
.mk-call .cbg { fill: var(--card); stroke: var(--mk-call); stroke-width: 1.5; transition: stroke .1s ease; }
.mk-call:hover .cbg, .mk-call:focus-visible .cbg { stroke: var(--fg); }
.mk-call.sel .cbg { stroke: var(--acc); stroke-width: 2.5; }
.mk-call .cic { font-size: 12px; pointer-events: none; }
.mk-call .ccnt { fill: var(--mk-call); stroke: var(--card); stroke-width: 1.5; }
.mk-call .cnt { fill: #fff; font-size: 9px; }
.mk-key.mk-call, .mkg-call { background: var(--mk-call); }

/* «Обзор»: выжимки вкладок */

/* рынок */
.frbar { position: relative; height: 6px; border-radius: 3px; background: var(--line); }
.frbar::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--line2); }
.frbar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.frbar i.p { background: var(--up); } .frbar i.n { background: var(--down); }
.lsl { display: flex; justify-content: space-between; margin-top: 4px; font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; }
.lq { display: flex; flex-direction: column; gap: 2px; }
.lq-r { display: grid; grid-template-columns: 52px 86px minmax(0, 1fr) 62px; gap: 8px; align-items: center; min-height: 22px; font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; }
.lq-r .lq-p { text-align: right; font-weight: 600; }
.lq-r.s .lq-p { color: var(--up); } .lq-r.l .lq-p { color: var(--down); }
.lq-r .lq-px { color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-r .lq-b i { display: block; height: 8px; border-radius: 0 4px 4px 0; opacity: .8; }
.lq-r.s .lq-b i { background: var(--up); } .lq-r.l .lq-b i { background: var(--down); }
.lq-r .lq-u { text-align: right; font-weight: 600; }
.lq-now { display: flex; align-items: center; gap: 8px; margin: 3px 0; padding: 4px 8px; border-radius: var(--r2); background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); font-size: var(--fs-2); line-height: var(--lh-2); }
.lq-now span { color: var(--dim); } .lq-now b { color: var(--acc-fg); font-variant-numeric: tabular-nums; }
.lq-e { padding: 3px 0; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); }
.lq-f { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: 8px; font-size: var(--fs-2); line-height: var(--lh-2); }
.r-wall { grid-template-columns: minmax(0, 1fr) 84px 66px 62px 56px; }
.r-wall .who .nm { font-size: var(--fs-1); line-height: var(--lh-1); }

/* DEX */
.ch-i { margin-left: 6px; padding: 0 4px; border-radius: 4px; background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: var(--fs-1); font-weight: 600; line-height: 15px; text-transform: uppercase; }

/* переводы */
.kb.up { color: var(--up); } .kb.down { color: var(--down); }
.who-l { cursor: pointer; }
.who-l:hover .nm { color: var(--acc-fg); }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 8px; font-size: var(--fs-2); line-height: var(--lh-2); }
.pg { min-width: 26px; height: 24px; padding: 0 6px; border-radius: var(--r3); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-weight: 600; font-variant-numeric: tabular-nums; }
.pg:hover { color: var(--fg); }
.pg.on { color: var(--acc-fg); background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.pg[disabled] { opacity: .4; cursor: default; }

/* держатели: полоса «кто держит топ-100» (блоки с зазором 2 px, подпись внутри — только если влезает) и команда */
.tiles.t3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cbar { display: flex; gap: 2px; height: 28px; margin-top: 4px; }
.cb-p { display: flex; align-items: center; min-width: 3px; padding: 0 6px; border-radius: 4px; cursor: default; }
.cb-p span { font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cb-k { display: inline-block; width: 9px; height: 9px; border-radius: 3px; }
.k-cex.cb-p, .cb-k.k-cex { background: var(--k-cex); } .k-pool.cb-p, .cb-k.k-pool { background: var(--k-pool); } .k-team.cb-p, .cb-k.k-team { background: var(--k-team); }
.k-safe.cb-p, .cb-k.k-safe { background: var(--k-safe); } .k-mm.cb-p, .cb-k.k-mm { background: var(--k-mm); } .k-other.cb-p, .cb-k.k-other { background: var(--k-other); }
.k-rest.cb-p, .cb-k.k-rest { background: var(--line2); }
.r-team { grid-template-columns: minmax(0, 1fr) 76px 66px; align-items: start; }
.r-team .mv { margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@container (max-width: 470px) {
  .r-wall { grid-template-columns: minmax(0, 1fr) 76px 60px 56px; }
  .r-wall .c-age { display: none; }
  .lq-r { grid-template-columns: 46px 74px minmax(0, 1fr) 54px; gap: 6px; }
}

/* Узкое окно дашборда (21.11): колонка сетки не шире экрана — иначе строка разделов задавала ширину всей страницы. */
@media (max-width: 900px) {
  .dwrap { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .dwrap > main { min-width: 0; }
}

/* ── 🍬 21.11 конфетка (Влад по 1.5.61: «выглядит ещё очень сырым… чтобы вышла конфетка»): шапка монеты и «Что происходит»,
   сигналы бота по монете, новости и разлоки, главная «Сейчас», избранное, поиск, подсказки «?», мини-графики. Только переменные
   цветов — светлая тема сама. ── */
.warn-t { color: var(--acc-fg); }

/* «?» у заголовка карточки и раскрытая подсказка */
.card-help p { margin: 0; }
.card.flash { animation: cardflash 1.4s ease-out; }
@keyframes cardflash { 0% { box-shadow: 0 0 0 2px var(--acc-line); } 100% { box-shadow: 0 0 0 0 transparent; } }
.card.lazy .card-t { color: var(--dim); }

/* мини-графики */
.spark { display: inline-block; vertical-align: middle; overflow: visible; }
.spark .sp-l { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.spark .sp-a { stroke: none; opacity: .14; }
.spark.up .sp-l { stroke: var(--up); } .spark.up .sp-a, .spark.up .sp-d { fill: var(--up); }
.spark.down .sp-l { stroke: var(--down); } .spark.down .sp-a, .spark.down .sp-d { fill: var(--down); }
.spark.neu .sp-l { stroke: var(--dim); } .spark.neu .sp-a, .spark.neu .sp-d { fill: var(--dim); }
.spark.bars .sp-z { stroke: var(--line2); stroke-width: 1; }
.spark.bars rect.up { fill: var(--up); } .spark.bars rect.down { fill: var(--down); }
.ostrip { display: flex; flex-wrap: wrap; gap: 3px; margin: 8px 0 2px; }
.ostrip i { display: block; width: 10px; height: 10px; border-radius: 3px; background: var(--line2); }
.ostrip i.ok { background: var(--up); } .ostrip i.no { background: var(--down); } .ostrip i.mu { background: var(--line2); }

/* шапка монеты (дашборд) */
.ch-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.ch-px { font-size: var(--fs-6); line-height: var(--lh-6); font-weight: 700; font-variant-numeric: tabular-nums; }
.ch-7d { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.ch-on { color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.ch-act { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.ch-m { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ch-m.dim2 { font-size: var(--fs-2); line-height: var(--lh-2); }
.pill .pv { margin-top: 1px; font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill .ps { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pill .skel + .skel { margin-top: 6px; }
.ch-brief { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.ch-bt { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--fg2); font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 700; }
.ch-brief .card-help { margin: 0 0 8px; }
.skel.bchip-sk { display: inline-block; width: 210px; height: 30px; border-radius: var(--r); margin: 0 !important; }

/* «Что происходит» — выжимки-кнопки */
.bchip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 30px; padding: 4px 10px 4px 8px; border-radius: var(--r); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; text-align: left; transition: box-shadow .12s ease, background-color .12s ease; }
.bchip .bi { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-1); line-height: var(--lh-1); background: var(--card); }
.bchip .bt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bchip .ba { flex: none; color: var(--dim2); font-weight: 400; }
.brief-calm { display: flex; align-items: center; gap: 10px; padding: 6px 2px; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.brief-calm .big { font-size: var(--fs-6); line-height: var(--lh-6); }
.brief-calm b { color: var(--fg); }

/* сигналы бота по монете */

/* новости и разлоки */
.nw { padding: 9px 10px; margin: 0 0 6px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
.nw-h { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: var(--fs-1); line-height: var(--lh-1); }
.nw-h .tm { color: var(--dim); white-space: nowrap; }
.nw-src { color: var(--dim); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nw-t { margin-top: 4px; font-size: var(--fs-3); font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-w { margin-top: 3px; color: var(--fg2); font-size: var(--fs-2); line-height: 1.45; }
.nw-f { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: var(--fs-1); line-height: var(--lh-1); }
.mv0 { color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mv0.main { font-weight: 700; color: var(--fg2); }
.mv0.up { color: var(--up); } .mv0.down { color: var(--down); }
.ul { padding: 7px 10px; margin: 0 0 6px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-2); line-height: var(--lh-2); }
.ul.soon { box-shadow: inset 0 0 0 1px var(--acc-line); background: var(--acc-bg); }
.ul.big { padding: 10px 12px; }
.ul-h { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.ul-h .num { font-variant-numeric: tabular-nums; }
.ul-d { font-weight: 700; }
.ul.big .ul-h b { font-size: var(--fs-4); line-height: var(--lh-4); }
.ub { display: flex; gap: 2px; height: 10px; margin: 8px 0 2px; }
.ub i { display: block; min-width: 3px; height: 100%; }
.ub i:first-child { border-radius: 4px 0 0 4px; } .ub i:last-child { border-radius: 0 4px 4px 0; } .ub i:only-child { border-radius: 4px; }
.ub i.u0, .ul .legend i.u0 { background: var(--c1); } .ub i.u1, .ul .legend i.u1 { background: var(--c2); } .ub i.u2, .ul .legend i.u2 { background: var(--c3); } .ub i.u3, .ul .legend i.u3 { background: var(--c4); }

/* 🏠 Сейчас */
.favs { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; }
.fav-line { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.fav-line .fl { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; margin-right: 2px; white-space: nowrap; }
.fchip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; transition: box-shadow .12s ease; }
.fchip:hover { box-shadow: inset 0 0 0 1px var(--acc-line); }
.fchip b { font-weight: 700; }
.fchip .fs { color: var(--acc-fg); font-size: var(--fs-1); line-height: var(--lh-1); }
.fchip.w b { font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-home { grid-template-columns: minmax(0, 1fr) auto; min-height: 34px; }
.r-home .who .ch { text-transform: none; }
.r-home .rv b { font-weight: 700; }
.r-home .sub-line { min-width: 0; }
.fav-mark { color: var(--acc-fg); font-size: var(--fs-1); line-height: var(--lh-1); }
.cb-chg.sm { padding: 0 5px; font-size: var(--fs-1); line-height: var(--lh-1); border-radius: var(--r3); }
.grid.home { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
/* 21.11 (главная, Влад выбрал 20.11): окно 1/4/24 ч, мини-график с точкой события, «скрыто», 🔥 горячие монеты плитками */
.hm-sp { display: inline-flex; flex: none; align-items: center; }
.r-home .who { overflow: hidden; }
.r-home .scr-b, .hot-h .scr-b { flex: none; white-space: nowrap; }
.r-home .rv small { max-width: 200px; overflow: hidden; text-overflow: ellipsis; margin-left: auto; }
/* строка монеты: монета · график · «после» · сумма — колонки одной ширины во всех строках карточки */
.r-home.hm-r { grid-template-columns: minmax(0, 1fr) 64px 50px 112px; column-gap: 8px; }
.hm-r .hm-rx { display: inline-flex; }
.hm-r .rv small { max-width: 112px; }
body:not(.dash) .r-home.hm-r { grid-template-columns: minmax(0, 1fr) 50px 46px 118px; column-gap: 6px; }
body:not(.dash) .hm-r .rv small { max-width: 118px; }
.spark .sp-ev { fill: var(--acc); stroke: var(--card); stroke-width: 1.2; }
.hot-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 8px; }
.hot-t { min-width: 0; padding: 8px 10px 7px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .12s ease; }
.hot-t:hover { box-shadow: inset 0 0 0 1px var(--acc-line); }
.hot-t.sk { cursor: default; }
.hot-h { display: flex; align-items: center; gap: 6px; min-height: 24px; }
.hot-h .scr-b { font-size: var(--fs-4); line-height: var(--lh-4); }
.hot-h .ch { flex: none; padding: 0 4px; border-radius: 4px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: var(--fs-1); font-weight: 600; line-height: 15px; }
.hot-n { flex: none; color: var(--acc-fg); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; white-space: nowrap; }
.hot-w { display: flex; flex-direction: column; margin-top: 4px; }
.hw { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; min-height: 21px; padding: 2px 0; font-size: var(--fs-2); line-height: var(--lh-2); }
.hw + .hw { box-shadow: 0 -1px 0 var(--line); }
.hw-i { flex: none; width: 16px; text-align: center; font-size: var(--fs-1); line-height: var(--lh-1); }
.hw-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg2); }
.hw-t b { margin-left: 5px; color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; }
.hw-t small { margin-left: 5px; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; }
.hw-e { flex: none; margin-left: auto; padding: 0 6px; border-radius: var(--r2); font-size: var(--fs-1); font-weight: 600; line-height: 17px; white-space: nowrap; color: var(--dim); }
.hw-e.e-edge { color: var(--up); background: var(--up-bg); }
.hw-e.e-weak { color: var(--acc-fg); background: var(--acc-bg); }
.hw-e.e-few, .hw-e.e-na { color: var(--dim2); }

/* меню дашборда: избранное и недавние */
.nchip { height: 24px; max-width: 100%; padding: 0 8px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nchip:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.nchip.on { color: var(--acc-fg); background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.nchip.w { font-weight: 500; max-width: 200px; }

/* ⭐ */
.icon-btn.fav.on, .btn.fav.on { color: var(--acc-fg); }
.btn.fav { min-width: 30px; font-size: var(--fs-4); line-height: var(--lh-4); }

/* поиск с подсказками */
.sugg { max-height: min(420px, 70vh); overflow-y: auto; }
.sugg .si { flex: none; width: 18px; text-align: center; font-size: var(--fs-2); line-height: var(--lh-2); }
.sugg .sn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sugg .sn.mono { font-weight: 500; }
.sugg button small { margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.sugg .on-t { color: var(--acc-fg); margin-left: 6px; }
.sugg .s-none { padding: 4px 8px 6px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r3); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line2); color: var(--dim2); font: 600 11px/18px ui-monospace, Consolas, monospace; text-align: center; pointer-events: none; }
.dsearch:focus-within .kbd { display: none; }
.dcoin .nm.lnk-c:hover { color: var(--acc-fg); }
.dcoin .nm.w { font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 700; }
.dcoin .icon-btn.fav { align-self: center; }

/* боковая панель: строка контекста, вкладки */
.cb-search .dsearch-in { flex: 1 1 auto; min-width: 0; }
.cb-search input { width: 100%; }
.cb-w { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.cb-find { flex: 1 1 auto; height: 28px; padding: 0 10px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim2); text-align: left; font-size: var(--fs-2); line-height: var(--lh-2); }
.cb-find:hover { color: var(--fg2); box-shadow: inset 0 0 0 1px var(--line2); }
.cb-sp { display: inline-flex; }

/* узко: 360–420 px боковой панели и узкие карточки */
@media (max-width: 420px) {
  .bchip { font-size: var(--fs-2); line-height: var(--lh-2); }
}
/* «Обзор» дашборда: нижние карточки колонками — без дыр между карточками разной высоты */
.mas { columns: 3 320px; column-gap: 14px; margin-top: 14px; }
.mas > * { break-inside: avoid; margin: 0 0 14px; }
.wv-pill.wv-twin-real { color: var(--dim); box-shadow: inset 0 0 0 1px var(--line); }

/* ── 21.11 (ветка easy — подписчик: «интуитивно понятен, простой в освоении, быстрый поиск и анализ, и может ещё нейронка»):
   поиск по всему, обучение, «Как пользоваться», ИИ в дашборде ── */
/* поиск: кошельки и метки — в две строки, ожидание ответа, примеры */
.dsearch .sugg { min-width: min(460px, calc(100vw - 24px)); }
.sugg button { text-align: left; }
.sugg button.two { height: auto; min-height: 38px; padding: 5px 8px; }
.sugg button.two .si { font-size: var(--fs-4); line-height: var(--lh-4); }
.sugg .sx { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.sugg .sx .ss { margin-left: 0; max-width: 100%; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg button.on .sx .ss, .sugg button:hover .sx .ss { color: var(--fg2); }
.sugg .s-wait { display: flex; align-items: center; gap: 8px; padding: 6px 8px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.sugg .s-ex { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 8px 8px; }
.sugg .s-ex .chip { height: 24px; font-weight: 600; }

/* обучение: подсветка рамкой с затемнением вокруг, пузырь с шагами */
.tour { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.tour-hole { position: fixed; border-radius: var(--r); box-shadow: 0 0 0 2px var(--acc), 0 0 0 9999px rgba(8, 10, 13, .62); transition: left .16s ease, top .16s ease, width .16s ease, height .16s ease; }
.tour-hole.none { left: 0; top: 0; right: 0; bottom: 0; border-radius: 0; box-shadow: none; background: rgba(8, 10, 13, .62); }
.tour-pop { position: fixed; width: min(340px, calc(100vw - 16px)); padding: 14px 14px 12px; border-radius: var(--r); background: var(--card); color: var(--fg); box-shadow: var(--shadow), inset 0 0 0 1px var(--acc-line); pointer-events: auto; animation: fade .14s ease; }
.tour-n { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tour-dots { display: inline-flex; align-items: center; gap: 4px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line2); }
.tour-dots i.done { background: var(--acc-line); }
.tour-dots i.on { width: 14px; background: var(--acc); }
.tour-t { margin: 8px 0 4px; font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 700; letter-spacing: .01em; }
.tour-x { color: var(--fg2); font-size: var(--fs-3); line-height: 1.5; }
.tour-b { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .tour-hole { transition: none; } .tour-pop { animation: none; } }

/* 📘 Как пользоваться */
.help-hero { background: linear-gradient(135deg, var(--acc-bg), transparent 60%), var(--card); border-color: var(--acc-line); }
.card.help-hero .card-b { padding: 16px 16px 14px; }
.help-hero-t { font-size: var(--fs-5); line-height: var(--lh-5); font-weight: 700; letter-spacing: .01em; }
.help-hero-x { max-width: 760px; margin: 6px 0 12px; color: var(--fg2); font-size: var(--fs-3); line-height: 1.5; }
.help-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.help-b .help-acts { margin-top: 10px; }
.help-steps { margin: 0; padding-left: 20px; color: var(--fg2); line-height: 1.55; }
.help-steps li { margin: 2px 0; }
.help-steps li::marker { color: var(--acc-fg); font-weight: 700; }
.help-kinds { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; }
.help-kind { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; cursor: default; }
.help-icons { display: grid; gap: 5px; }
.help-ic { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: var(--fs-2); line-height: 1.45; }
.help-ic .hi { font-weight: 700; text-align: center; white-space: nowrap; }
.help-keys { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.help-keys span { display: inline-flex; align-items: center; gap: 6px; color: var(--fg2); }
.help-keys kbd { min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--r3); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line2); color: var(--fg); font: 600 11px/20px ui-monospace, Consolas, monospace; text-align: center; }
.mas.help { columns: 2 380px; margin-top: 0; }
body.side .help-hero-t { font-size: var(--fs-4); line-height: var(--lh-4); }

/* пустые места: следующий шаг кнопками */
.next-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 6px; }

/* 🤖 ИИ: монета и досье */
.ai-card .card-t .ic { filter: saturate(1.2); }
.ai-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 0; }
.ai-ask { display: flex; gap: 6px; margin-top: 10px; }
.ai-ask .ai-in { flex: 1 1 auto; min-width: 0; height: 30px; }
.ai-ask .btn { flex: none; }
.ai-ask .btn[disabled] { opacity: .5; cursor: default; filter: none; }
.ai-err { margin: 8px 0 0; padding: 7px 9px; border-radius: var(--r2); background: var(--down-bg); color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.ai-busy .ai-think { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.ai-busy .ai-q { margin-bottom: 8px; }
.ai-res { display: flex; flex-direction: column; gap: 8px; }
.ai-qa { padding: 9px 10px; border-radius: var(--r2); background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.ai-q { color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); overflow-wrap: anywhere; }
.ai-a { margin-top: 4px; color: var(--fg); font-size: var(--fs-3); font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.ai-bias { display: block; padding: 7px 10px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-3); line-height: 1.45; color: var(--fg2); }
.ai-bias b { color: var(--fg); }
.ai-bias.up { background: var(--up-bg); box-shadow: inset 0 0 0 1px rgba(46, 189, 133, .35); }
.ai-bias.up b { color: var(--up); }
.ai-bias.down { background: var(--down-bg); box-shadow: inset 0 0 0 1px rgba(246, 70, 93, .35); }
.ai-bias.down b { color: var(--down); }
.ai-pic { font-size: var(--fs-3); font-weight: 700; line-height: 1.45; }
.ai-warn { color: var(--acc-fg); font-size: var(--fs-2); line-height: var(--lh-2); }
.ai-rows { display: grid; gap: 5px; }
.ai-row { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 6px; align-items: baseline; font-size: var(--fs-3); line-height: 1.45; }
.ai-row .ai-l { color: var(--dim); font-weight: 600; }
.ai-row .ai-v { color: var(--fg); overflow-wrap: anywhere; }
.ai-lv { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 2px; font-size: var(--fs-3); line-height: var(--lh-3); }
.ai-lv .lv b { font-variant-numeric: tabular-nums; }
.ai-lv .lv.up b { color: var(--up); }
.ai-lv .lv.down b { color: var(--down); }
.ai-lv .lv span { color: var(--fg2); }
.ai-plain { white-space: pre-wrap; color: var(--fg2); font-size: var(--fs-3); line-height: 1.5; }
.ai-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); }
@container (max-width: 360px) { .ai-row { grid-template-columns: 62px minmax(0, 1fr); } }
/* узкое окно дашборда (≤560 px): строка поиска забирает место, подписи шапки — прочь (кнопки остаются в окне) */
/* шапка дашборда выше полосы разделов (≤900 px она липнет под шапкой с тем же z-index и закрывала подсказки поиска) */
#hdr.dtop { z-index: 30; }

/* ── 🫙 Накопление на DEX и 🗂 история алертов (21.11, идеи подписчиков) ── */
/* Свои классы раздела (не зависят от стилей скринера): карточка монеты, тикер, поиск, выбор. */
.acc-b { font-weight: 700; letter-spacing: .01em; }
.acc-q { width: 130px; height: 26px !important; font-size: var(--fs-2); line-height: var(--lh-2); }
.ah-q { width: 180px; height: 26px !important; font-size: var(--fs-2); line-height: var(--lh-2); }
.acc-sel { height: 26px; padding: 0 6px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; font-size: var(--fs-2); line-height: var(--lh-2); }
.acc-card { display: block; padding: 8px 10px; margin: 0 0 6px; border-radius: var(--r2); background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.acc-card:hover { border-color: var(--line2); background: var(--hover); }
.acc-card .s1 { display: flex; align-items: center; gap: 7px; min-width: 0; }
.acc-card .s1 .acc-b { font-size: var(--fs-3); line-height: var(--lh-3); }
.acc-card .s-net { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.acc-card .s-net small { display: block; margin-top: -2px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 500; }
.acc-card .s2 { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.cchip { flex: none; display: inline-flex; align-items: baseline; gap: 3px; padding: 0 6px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg2); font-size: var(--fs-1); line-height: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cchip b { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 700; letter-spacing: .03em; }
.cchip.on { box-shadow: inset 0 0 0 1px var(--acc-line); color: var(--fg); }
.cchip.on b { color: var(--acc-fg); }
.kb.br { color: var(--g-exit); }
.acc-chs { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; min-width: 0; }
.r-acc { grid-template-columns: minmax(110px, 1.1fr) 84px 104px 76px 112px minmax(150px, 1.7fr) 92px; min-height: 40px; }
.th.r-acc, .th.r-accw, .th.r-ah { min-height: 0; }
.r-acc .car { flex: none; width: 10px; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); }
.r-acc .rv b { font-weight: 700; }
.th.r-acc > :nth-child(6) { text-align: left; }
.r-acc.on { background: var(--hover); }
.acc-grp { margin: 0 -6px; padding: 0 6px 8px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
.acc-grp > .row.r-acc { margin: 0 -6px; background: transparent; }
.rows > .acc-grp + .row, .rows > .row + .acc-grp, .rows > .acc-grp + .acc-grp { margin-top: 4px; }
.acc-open { padding: 4px 2px 2px 16px; }
.acc-oh { display: flex; align-items: center; gap: 6px; margin: 2px 0 6px; font-size: var(--fs-2); line-height: var(--lh-2); }
.r-accw { grid-template-columns: minmax(120px, 1.2fr) minmax(130px, 1.5fr) 124px 74px 108px 96px 26px; min-height: 36px; }
.th.r-accw > :nth-child(2) { text-align: left; }
.r-accw .rv b { font-weight: 700; }
.acc-card { cursor: pointer; }
.acc-card.on { border-color: var(--line2); }
.acc-card .acc-open { padding: 8px 0 0; margin-top: 7px; border-top: 1px solid var(--line); cursor: default; }
.acc-card .r-accw { grid-template-columns: minmax(0, 1fr) auto; gap: 1px 8px; padding: 6px; }
.acc-card .r-accw .who { grid-column: 1; grid-row: 1; }
.acc-card .r-accw .c-net { grid-column: 2; grid-row: 1 / 3; align-self: start; }
.acc-card .r-accw .acc-chs { grid-column: 1; grid-row: 2; }
.acc-card .r-accw .c-days { grid-column: 1; grid-row: 3; text-align: left; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.acc-card .r-accw .c-when { grid-column: 2; grid-row: 3; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.acc-card .r-accw .c-avg { grid-column: 1; grid-row: 4; text-align: left; font-size: var(--fs-1); line-height: var(--lh-1); }
.acc-card .r-accw .c-tx { grid-column: 2; grid-row: 4; }
.acc-card .r-accw .c-days small, .acc-card .r-accw .c-when small, .acc-card .r-accw .c-avg small { display: inline; margin-left: 5px; }
.acc-line { font-size: var(--fs-3); line-height: var(--lh-3); }
.acc-line b { font-size: var(--fs-4); line-height: var(--lh-4); font-variant-numeric: tabular-nums; }
.r-accm { grid-template-columns: minmax(0, 1fr) auto 88px; min-height: 30px; }
.r-accm .acc-chs { font-size: var(--fs-1); line-height: var(--lh-1); flex-wrap: nowrap; white-space: nowrap; }
.ah-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ah-day { height: 26px; padding: 0 6px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; font-size: var(--fs-2); line-height: var(--lh-2); }
.ah-day:focus { border-color: var(--acc-line); outline: none; }
@media (max-width: 620px) { .ah-q { width: 100% !important; flex: 1 1 100%; } }

/* ── 🟡 Binance Alpha (21.11, Влад выбрал 20.11 по BULLA): группа «Кто отдаёт · кто получает», события, лента, переводы, значки
   графика. Цвет группы — бирюзовый: жёлтые заняты «свежими» и разлоками; соседние пары с биржами и командами проверены валидатором
   палитры (тёмная и светлая темы). Значок события — 🟡 (эмодзи). ── */
.mk-alpha .dot, .mk-key.mk-alpha { fill: var(--mk-alpha); background: var(--mk-alpha); }

/* ── 🔭 Карта рынка и 🧱 Плотности и движения (24.11, «рынок целиком») ──
   Карта — canvas (цвета берёт из переменных темы при каждой отрисовке); списки по углам — справа от карты (от 1320 px), на
   узком экране — под ней. Плотности, движения и новые монеты: три колонки от 1760 px, две (плотности слева во всю высоту) от
   1280 px, иначе столбиком. Узкая карточка прячет второстепенные столбцы (container queries, как у остальных таблиц). */
.acc-t { color: var(--acc-fg); }
.seg button.off { opacity: .45; }
.quad-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.quad-grid > .card { margin: 0; }
.quad-card .card-b { padding-top: 10px; }
.quad-cv { display: block; width: 100%; height: 420px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
.quad-ax { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); text-transform: uppercase; letter-spacing: .04em; }
.quad-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.quad-lists > .card { margin: 0; }
@media (max-width: 720px) { .quad-lists { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1320px) {
  .quad-grid { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); }
  .quad-lists { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1620px) { .quad-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ql-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.row.r-ql { min-height: 26px; padding-top: 2px; padding-bottom: 2px; font-size: var(--fs-2); line-height: var(--lh-2); }
.quad-tip { min-width: 190px; }
.quad-tip .qt-h { display: flex; flex-direction: column; gap: 1px; margin-bottom: 4px; }
.quad-tip .qt-h b { font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 700; }
.quad-tip .qt-h span { font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; }
.quad-tip .qt-r { display: flex; justify-content: space-between; gap: 14px; font-variant-numeric: tabular-nums; }
.quad-tip .qt-f { margin-top: 4px; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); }
.tip:has(.quad-tip) { max-width: 300px; }
/* pg4-2611: карта рынка — «новая» в списке угла, строки подсказки точки, пустой блок под картой тонкой строкой; в узкой карточке
   списка (телефон) колонка «OI, $» уходит — остаются цена, OI и фандинг */
.q-new { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--acc-fg); cursor: help; }
/* cc2711: «В топе» — когда монета впервые вошла в топ-200 по OI и ход цены с тех пор («8 ч · −6.4%») */
.q-fs { white-space: nowrap; font-variant-numeric: tabular-nums; }
.quad-tip .qt-n { margin: -2px 0 4px; color: var(--acc-fg); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; }
.quad-tip .qt-s { margin-top: -1px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); text-align: right; }
.qd-nil { justify-self: start; display: inline-flex; align-items: center; gap: var(--s2); min-height: 32px; max-width: 100%; padding: var(--s1) var(--s3); border: 0; border-radius: var(--r2); background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font: inherit; font-size: var(--fs-2); line-height: var(--lh-2); text-align: left; }
.qd-nil .ic { flex: none; filter: grayscale(1); opacity: .7; }
.qd-nil .alt { color: var(--acc-fg); font-weight: 600; white-space: nowrap; }
button.qd-nil.click { cursor: pointer; }
button.qd-nil.click:hover, button.qd-nil.click:focus-visible { background: var(--hover); box-shadow: inset 0 0 0 1px var(--line2); }
@container (max-width: 400px) { .quad-list .tbl .c-qou { display: none; } }
.quad-list .row .depth { top: auto; bottom: 2px; height: 2px; border-radius: 1px; background: var(--qc, var(--acc)); opacity: .55; }
/* cc2-2711: списки углов карточками (по мобильному виду CandleCircle), доли бирж по обороту за 24 ч и 🎯 «одна биржа».
   Карточка: тикер и OI $, два хода окна крупно, «впервые в топе · с тех пор», фандинг и покупки мелко, полоса долей бирж (цвет биржи —
   как у OI бирж под графиком, остаток — серым) с подписями, полоска силы внизу цветом угла. Телефон — одна карточка в ряд; на ПК
   карточками — карта во всю ширину, списки углов под ней: 4 колонки от 1280 px, иначе по ширине. */
.ql-bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); min-width: 0; }
.qc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: var(--s2); }
.qc-list > .tbl-f { grid-column: 1 / -1; }
.qc { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px 12px 12px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.qc:hover, .qc:focus-visible { background: var(--hover); box-shadow: inset 0 0 0 1px var(--line2); outline: none; }
.qc-h { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-width: 0; }
.qc-h .q-coin { min-width: 0; font-size: var(--fs-4); line-height: var(--lh-4); }
.qc-ou { flex: none; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.qc-ou b { color: var(--fg2); font-weight: 600; }
.qc-m, .qc-fs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.qc-v { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.qc-l { color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-m .qc-v > b { font-size: var(--fs-6); line-height: var(--lh-6); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-fs .qc-v > span:last-child { font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qc-x { color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; }
.qc-vx { display: flex; flex-direction: column; gap: 5px; padding-top: 8px; border-top: 1px solid var(--line); }
.qc-vh { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-width: 0; min-height: 18px; }
.vx-bar { display: flex; gap: 2px; width: 100%; height: 6px; border-radius: 3px; overflow: hidden; }
.vx-bar .oik { flex: none; height: 100%; border-radius: 0; }
.vx-bar .vx-rest { background: var(--line2); }
.qc-vl { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: var(--fs-2); line-height: var(--lh-2); }
.qc-ve { display: inline-flex; align-items: center; gap: 5px; min-width: 0; color: var(--fg2); }
.qc-ve .oik { width: 8px; height: 8px; border-radius: 2px; }
.qc-ve b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.q-vd { flex: none; display: inline-flex; align-items: center; padding: 0 6px; border-radius: var(--r3); background: var(--acc-bg); color: var(--acc-fg); font-size: var(--fs-2); line-height: 18px; font-weight: 600; white-space: nowrap; cursor: help; }
.q-icw { position: relative; display: inline-flex; flex: none; vertical-align: middle; margin-right: 5px; cursor: help; }
.q-icw > .c-ic { margin-right: 0; }
.q-icw > .q-new { position: absolute; top: -1px; right: -3px; box-shadow: 0 0 0 1.5px var(--card); }
.q-vdx { position: absolute; right: -6px; bottom: -1px; font-size: 11px; line-height: 1; pointer-events: none; filter: drop-shadow(0 0 1px var(--card)); }
.qc-sb { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--qc, var(--acc)); opacity: .6; }
.quad-tip .qt-vx { display: flex; flex-direction: column; gap: 3px; margin: 3px 0 2px; }
.quad-tip .qt-vx .tl { color: var(--dim); }
.quad-tip .qt-vl { font-variant-numeric: tabular-nums; }
.quad-grid.lv-cards { grid-template-columns: minmax(0, 1fr); }
.quad-grid.lv-cards .quad-lists { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1280px) { .quad-grid.lv-cards .quad-lists { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.mw-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.mw-grid > .card { margin: 0; }
@media (min-width: 1280px) {
  .mw-grid { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); }
  .mw-grid > .mw-walls { grid-row: span 2; }
}
@media (min-width: 1760px) {
  .mw-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .9fr); }
  .mw-grid > .mw-walls { grid-row: auto; }
}
.mw-h { margin: 12px 0 2px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mw-h:first-child { margin-top: 0; }
.th .sortable { cursor: pointer; user-select: none; }
.th .sortable:hover, .th .sortable.on { color: var(--fg2); }
.r-nl { grid-template-columns: minmax(0, 1fr) auto 16px; }
.row.r-mw, .row.r-mv, .row.r-nl { font-size: var(--fs-2); line-height: var(--lh-2); }
@container (max-width: 560px) {
  .r-mw .c-px, .r-mw .c-age, .r-mw .c-x { display: none; }
}
@container (max-width: 330px) {
  .r-mv .c-24 { display: none; }
}

/* Ликвидации словами — под картой ликвидаций во вкладке «Рынок». */
.lq-words { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.sums.lq-best { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lq-say { display: flex; align-items: baseline; gap: 8px; margin: 6px 0; padding: 7px 10px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg2); font-size: var(--fs-2); line-height: 1.45; }
.lq-say b { color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; }
.lq-say .ar { flex: none; font-size: var(--fs-1); line-height: var(--lh-1); }
.lq-say.s .ar { color: var(--up); } .lq-say.l .ar { color: var(--down); }
.row.r-lqt { min-height: 24px; padding-top: 1px; padding-bottom: 1px; font-size: var(--fs-2); line-height: var(--lh-2); }
.row.r-lqt .lq-lv { text-align: left; }
.lq-heat-w { margin-top: 12px; }
.lq-heat { display: block; width: 100%; height: 150px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
.lq-heat-l { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.lq-heat-l span { display: inline-flex; align-items: center; gap: 5px; }
.lq-heat-l i { width: 10px; height: 10px; border-radius: 2px; }
.lq-heat-l i.s { background: var(--up); } .lq-heat-l i.l { background: var(--down); }
.lq-heat-l i.p { height: 2px; border-radius: 1px; background: var(--fg); }
/* ── 🛑 Стопы и лимитки китов HL · 🎯 кит → его сделки на графике (24.11; идеи — candlecircle.app и app.onchainradar.ai).
   Полоска уровня — что сделает рынок: зелёная — купит, красная — продаст. Линии графика: зелёная и красная — уровни ордеров китов,
   жёлтая — вход кита, фиолетовая — его ликвидация. ── */
.hlo-says { display: flex; flex-direction: column; gap: 6px; }
.hlo-say { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 6px; align-items: start; padding: 7px 10px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-2); line-height: 1.45; }
.hlo-say .ar { font-size: var(--fs-1); line-height: 17px; text-align: center; }
.hlo-say.su .ar { color: var(--up); } .hlo-say.sd .ar { color: var(--down); }
.hlo-say.none { color: var(--dim); } .hlo-say.none .ar { color: var(--dim2); }
.hlo-say b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hlo-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 20px; margin-top: 12px; }
.hlo-t { min-width: 0; }
.hlo-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 5px; font-size: var(--fs-2); line-height: var(--lh-2); }
.hlo-h span { font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-hlo { grid-template-columns: 82px 50px minmax(0, 1fr) 34px 60px; min-height: 28px; }
.th.r-hlo > :first-child { text-align: left; }
.th.r-hlo > * { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.r-hlo .hlo-px { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.r-hlo.open, .r-hlo.open:hover { background: var(--hover); box-shadow: none; }
.hlo-b { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 18px; min-width: 0; }
.hlo-b i { position: absolute; left: 0; top: 2px; bottom: 2px; border-radius: 0 4px 4px 0; opacity: .3; }
.hlo-b i.b { background: var(--up); } .hlo-b i.s { background: var(--down); }
.hlo-b b { position: relative; padding-right: 2px; font-weight: 700; font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hlo-w { margin: 0 -6px 6px; padding: 4px 6px 6px 12px; border-left: 2px solid var(--acc-line); border-radius: 0 0 7px 7px; background: var(--card2); }
.hlo-wr { display: grid; grid-template-columns: auto minmax(64px, auto) minmax(0, 1fr) auto auto; gap: 8px; align-items: center; min-height: 26px; padding: 2px 4px; border-radius: var(--r3); cursor: pointer; font-size: var(--fs-2); line-height: var(--lh-2); }
.hlo-wr:hover { background: var(--hover); }
.hlo-wr:hover .nm { color: var(--acc-fg); }
.hlo-wr .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.hlo-wr .nm.addr { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 400; color: var(--fg2); }
.hlo-wr .wk { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkg-hl { border-radius: 2px; background: linear-gradient(90deg, var(--up) 50%, var(--down) 50%); }
.card.hlw { margin-bottom: 14px; border-color: var(--acc-line); }
.card.hlw > .card-b { padding-top: 12px; }
.hlw.inl { margin: 4px -6px 8px; padding: 10px 10px 8px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--acc-line); cursor: default; }
.hlw-h { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hlw-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-3); line-height: var(--lh-3); }
body.dash .card.hlw .hlw-n { font-size: var(--fs-4); line-height: var(--lh-4); }
.hlw-n .addr { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-2); line-height: var(--lh-2); }
.hlw-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 8px 0; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; }
.hlw-cap b { color: var(--fg); font-weight: 700; }
.hlw-cap b.up, .hlw-sum b.up { color: var(--up); } .hlw-cap b.down, .hlw-sum b.down { color: var(--down); }
.hlw-tw { margin: 0 0 8px; padding: 7px 10px; border-radius: var(--r2); background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); font-size: var(--fs-2); line-height: var(--lh-2); }
.hlw-twl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.hlw-twb { height: 6px; margin-top: 6px; border-radius: 3px; background: var(--line2); overflow: hidden; }
.hlw-twb i { display: block; height: 100%; border-radius: 3px; }
.hlw-twb i.b { background: var(--up); } .hlw-twb i.s { background: var(--down); }
.hlw-sum { margin-top: 6px; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; }
.hlw-sum b { color: var(--fg); font-weight: 700; }
.kc-l { fill: none; stroke-dasharray: 6 4; opacity: .9; shape-rendering: crispEdges; }
.kc-l.buy { stroke: var(--up); } .kc-l.sell { stroke: var(--down); }
.kc-l.entry { stroke: var(--acc); stroke-dasharray: none; }
.kc-l.liq { stroke: var(--hl-liq); stroke-dasharray: 2 3; }
.kc-lt { font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; font-family: inherit; font-variant-numeric: tabular-nums; paint-order: stroke; stroke: var(--card); stroke-width: 3px; stroke-linejoin: round; cursor: default; }
.hlw.inl .kc-lt { stroke: var(--card2); }
.kc-lt.buy { fill: var(--up); } .kc-lt.sell { fill: var(--down); } .kc-lt.entry { fill: var(--acc); } .kc-lt.liq { fill: var(--hl-liq); }
.fl { outline: none; cursor: default; }
.fl .dot { stroke: var(--card); stroke-width: 1.5; fill-opacity: .82; transition: stroke .1s ease; }
.fl.b .dot { fill: var(--up); } .fl.s .dot { fill: var(--down); }
.fl:hover .dot, .fl:focus-visible .dot { stroke: var(--fg); fill-opacity: 1; }
.mk-key.fl-b { background: var(--up); } .mk-key.fl-s { background: var(--down); }
@container (max-width: 400px) {
  .r-hlo { grid-template-columns: 72px 56px minmax(0, 1fr) 30px; }
  .r-hlo .c-cum { display: none; }
  .hlo-wr { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .hlo-wr .wk { grid-column: 1 / -1; grid-row: 2; white-space: normal; }
  .hlw-n { font-size: var(--fs-3); line-height: var(--lh-3); }
}
/* ══ 24.11 (ветка small): 📅 отчёт дня по сигналам, 🛒 покупатели падения, ❓ «Спросить» ══ */
/* 📅 отчёт дня: столбики 7 дней (плюс — вверх от черты, минус — вниз, одной высоты шкала), итог, виды, лучший и худший */
.dr-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 2px 0 10px; }
.dr-bar { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 5px 2px 4px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .12s ease, background-color .12s ease; }
.dr-bar:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.dr-bar.on { background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.dr-bar .dr-v { font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dr-bar .dr-col { display: block; width: 100%; }
.dr-bar .dr-up, .dr-bar .dr-dn { display: flex; justify-content: center; height: 22px; }
.dr-bar .dr-up { align-items: flex-end; border-bottom: 1px solid var(--line2); }
.dr-bar .dr-dn { align-items: flex-start; }
.dr-bar .dr-col i { display: block; width: 46%; max-width: 26px; }
.dr-bar .dr-col i.up { background: var(--up); border-radius: 3px 3px 0 0; }
.dr-bar .dr-col i.down { background: var(--down); border-radius: 0 0 3px 3px; }
.dr-bar.few .dr-col i { opacity: .45; }
.dr-bar .dr-d { color: var(--fg2); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; }
.dr-bar .dr-n { color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; }
.dr-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 8px; }
.dr-tot { color: var(--fg2); font-size: var(--fs-3); line-height: var(--lh-3); }
.dr-tot b { font-size: var(--fs-6); line-height: var(--lh-6); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.dr-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.dr-sub .vchip { justify-self: auto; }
.r-dr { grid-template-columns: minmax(0, 1fr) 76px 112px 76px 76px; }
.row.r-dr, .row.r-dipw { min-height: 40px; }
.row.r-dip { min-height: 38px; }
.th.r-dr, .th.r-dip, .th.r-dipw { text-transform: none; letter-spacing: 0; font-size: var(--fs-1); line-height: var(--lh-1); }
.r-dr .rv, .r-dip .rv, .r-dipw .rv { font-variant-numeric: tabular-nums; min-width: 0; }
.r-dr .rv small, .r-dip .rv small, .r-dipw .rv small { display: block; color: var(--dim2); font-size: var(--fs-1); line-height: 1.25; white-space: nowrap; }
.r-dr .c-avg b { font-size: var(--fs-3); line-height: var(--lh-3); }
.dr-bws { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.dr-bw { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--fs-2); line-height: var(--lh-2); }
.dr-bw .dr-bwl { flex: none; width: 82px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); white-space: nowrap; }
.dr-bw .dr-bwt { flex: 1 1 auto; color: var(--fg2); }
.dr-bw b { flex: none; font-variant-numeric: tabular-nums; }
.dr-bw .post { flex: none; }
/* строка на главной */
/* 🛒 покупатели падения */
.r-dip { grid-template-columns: minmax(0, 1fr) 84px 96px 124px; }
.row.r-dip.on { background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.r-dip .dip-when { display: flex; align-items: center; gap: 6px; min-width: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-dipw { grid-template-columns: minmax(0, 1.5fr) 92px 92px 104px 100px 20px; }
.dip-buyers { margin-top: 10px; }
.dip-buyers .day { display: flex; align-items: center; gap: 8px; }
.dip-x { margin-left: auto; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; text-transform: none; letter-spacing: 0; }
.dip-x:hover { color: var(--acc-fg); }
@container (max-width: 560px) {
  .r-dr { grid-template-columns: minmax(0, 1fr) 54px 84px 52px; gap: 6px; }
  .r-dr > :nth-child(5) { display: none; }
  .dr-bar .dr-v { font-size: var(--fs-1); line-height: var(--lh-1); }
  .dr-bw { flex-wrap: wrap; gap: 4px 8px; }
  .dr-bw .dr-bwl { width: auto; }
  .dr-bw .dr-bwt { order: 9; flex: 1 1 100%; }
  .r-dip { grid-template-columns: minmax(0, 1fr) 64px minmax(92px, .8fr); gap: 6px; }
  .r-dip > :nth-child(3) { display: none; }
  .th.r-dipw { display: none; }
  .r-dipw { grid-template-columns: repeat(3, minmax(0, 1fr)) 20px; grid-template-areas: "who who res tx" "buy in st st"; row-gap: 4px; padding-top: 7px; padding-bottom: 7px; }
  .r-dipw .who { grid-area: who; flex-wrap: wrap; row-gap: 2px; } .r-dipw .c-res { grid-area: res; } .r-dipw .c-tx { grid-area: tx; }
  .r-dipw .c-buy { grid-area: buy; text-align: left; } .r-dipw .c-in { grid-area: in; text-align: left; } .r-dipw .c-st { grid-area: st; }
}
/* ❓ «Спросить»: кнопка в шапке дашборда — когда ей есть место (от 1340 px), уже — пункт меню разделов; окно — под шапкой */
.askw { position: fixed; z-index: 45; top: 66px; right: 16px; display: none; width: 400px; max-width: calc(100vw - 16px); max-height: calc(100vh - 82px); overflow-y: auto; padding: 12px 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line2); font-size: var(--fs-3); line-height: var(--lh-3); }
.askw.on { display: block; }
body.side .askw { top: 42px; left: 8px; right: 8px; width: auto; max-height: calc(100vh - 54px); }
.ask-h { display: flex; align-items: center; gap: 8px; font-size: var(--fs-4); line-height: var(--lh-4); }
.ask-x { margin: 4px 0 9px; color: var(--dim); font-size: var(--fs-2); line-height: 1.45; }
.ask-pre { margin-bottom: 9px; }
.ask-pre .chip { height: auto; min-height: 24px; padding: 3px 9px; line-height: 1.3; white-space: normal; text-align: left; }
.ask-row { display: flex; gap: 6px; }
.ask-row .ask-in { flex: 1 1 auto; min-width: 0; background: var(--card2); }
.ask-row .btn:disabled, .ask-pre .chip:disabled { opacity: .5; cursor: default; }
.ask-a { margin-top: 10px; padding: 9px 11px; border-radius: var(--r); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
.ask-a.err { color: var(--fg2); }
.ask-q { margin-bottom: 5px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; }
.ask-t { color: var(--fg); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-lnk { display: inline; color: var(--acc-fg); font-weight: 600; text-decoration: underline; text-decoration-color: var(--acc-line); text-underline-offset: 2px; }
.ask-lnk:hover { text-decoration-color: var(--acc); }
.ask-go { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 8px; }
.ask-guide { display: inline-block; margin-top: 8px; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.ask-guide:hover { color: var(--acc-fg); }
.ask-note { margin-top: 8px; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); }
.ask-log { margin-top: 10px; }
.ask-old { display: block; width: 100%; margin-top: 3px; padding: 4px 8px; border-radius: var(--r2); color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); text-align: left; box-shadow: inset 0 0 0 1px var(--line); }
.ask-old:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.ask-left { margin-top: 8px; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); }
@media (max-width: 480px) { .askw { left: 8px; right: 8px; width: auto; } }
/* ── 🔬 Свеча под рентгеном (24.11): график Hyperliquid с записью сделок по кошелькам и список кошельков свечи ── */
.kc-read b.up { color: var(--up); } .kc-read b.down { color: var(--down); }
.xr-host { min-height: 320px; user-select: none; -webkit-user-select: none; }
.xr-host > .skel { margin: 16px 0; }
.xr-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.xr-tools .seg button { min-width: 22px; }
.xr-ov { pointer-events: none; }
.xr-selr { fill: var(--acc-bg); stroke: var(--acc-line); stroke-width: 1; }
.xr-fs { fill: var(--down); } .xr-fb { fill: var(--up); }
.xr-ft { fill: var(--fg); font-size: var(--fs-1); line-height: var(--lh-1); font-family: inherit; font-variant-numeric: tabular-nums; }
.xr-poc { fill: none; stroke: var(--acc); stroke-width: 1.2; }
.xr-db { fill: var(--up); } .xr-ds { fill: var(--down); }
.xr-wn { fill: var(--fg2); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; font-family: inherit; font-variant-numeric: tabular-nums; }
.xr-wn.part { fill: var(--dim2); }
.xr-status { display: flex; align-items: center; gap: 8px; min-height: 18px; margin-top: 8px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.xr-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dim2); }
.xr-dot.is-on { background: var(--up); box-shadow: 0 0 0 3px var(--up-bg); }
.xr-dot.is-bad { background: var(--down); box-shadow: 0 0 0 3px var(--down-bg); }
.xr-sub { margin-top: 4px; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); }
.xr-sh { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: var(--fs-3); line-height: var(--lh-3); }
.xr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xr-tiles .tile { padding: 7px 9px; }
.xr-tiles .tile .tv { font-size: var(--fs-4); line-height: var(--lh-4); font-variant-numeric: tabular-nums; }
.xr-split { height: 6px; margin-top: 8px; }
.xr-did { margin: 10px 0 2px; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.xr-did b { color: var(--fg); font-weight: 600; }
.xr-side .chips { margin: 10px 0 6px; }
.xr-side .note { margin: 10px 0 0; }
.xr-rows { display: flex; flex-direction: column; }
.xr-w { padding: 7px 6px; margin: 0 -6px; border-radius: var(--r2); cursor: pointer; transition: background-color .12s ease; }
.xr-w + .xr-w { box-shadow: 0 -1px 0 var(--line); }
.xr-w:hover { background: var(--hover); box-shadow: none; }
.xr-w:hover + .xr-w { box-shadow: none; }
.xr-w1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.xr-w1 .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-weight: 600; }
.xr-w1 .nm.addr { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 400; color: var(--fg2); }
.xr-w1 b.num { flex: none; }
.xr-w2, .xr-w3, .xr-w4 { margin-top: 2px; padding-left: 13px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.xr-w3 { color: var(--fg2); }
.xr-w3 b { font-weight: 600; }
.xr-key { display: inline-block; width: 12px; height: 4px; vertical-align: middle; }
.xr-key-b { background: var(--up); border-radius: 2px 0 0 2px; }
.xr-key-s { background: var(--down); border-radius: 0 2px 2px 0; margin-right: 6px; }

/* ── ▦ Стена графиков (25.11): сетка 1 · 2 · 3 · 4 · 6 · 8 ячеек с графиками; кнопка «▦ на стену» в строках ── */
.wl-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.wl-grid.wl-g1 { grid-template-columns: minmax(0, 1fr); }
.wl-grid.wl-g3, .wl-grid.wl-g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wl-grid.wl-g8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1599px) { .wl-grid.wl-g8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1279px) { .wl-grid.wl-g3, .wl-grid.wl-g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .wl-grid, .wl-grid.wl-g3, .wl-grid.wl-g6, .wl-grid.wl-g8 { grid-template-columns: minmax(0, 1fr); } }
.wl-cell { min-width: 0; padding: 6px 10px 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.wl-h { display: flex; align-items: center; gap: 7px; min-height: 28px; margin-bottom: 2px; min-width: 0; }
.wl-nm { flex: none; font-weight: 700; font-size: var(--fs-4); line-height: var(--lh-4); letter-spacing: .01em; }
.wl-nm:hover { color: var(--acc-fg); }
.wl-px { flex: none; color: var(--fg2); font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wl-h .cb-chg { flex: none; }
.wl-note { min-width: 0; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-h .icon-btn { flex: none; opacity: .5; }
.wl-cell:hover .wl-h .icon-btn, .wl-h .icon-btn:focus-visible { opacity: 1; }
.wl-host { min-height: calc(var(--wl-h, 220px) + 22px); }
.wl-host .kc-read { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.wl-host .kc-read > * { flex: none; }
.wl-host svg.kc { display: block; }
.wl-wait { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: calc(var(--wl-h, 220px) + 22px); padding: 0 12px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); text-align: center; }
.wl-wait .empty, .wl-wait .err { padding: 0; }
.wl-empty { display: flex; min-height: calc(var(--wl-h, 220px) + 68px); padding: 0; border-style: dashed; background: transparent; overflow: visible; }
.wl-plus { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: var(--r); color: var(--dim); font-weight: 600; transition: color .12s ease, background-color .12s ease; }
.wl-plus .big { font-size: var(--fs-6); line-height: 1; }
.wl-plus:hover, .wl-plus:focus-visible { color: var(--acc-fg); background: var(--acc-bg); }
.wl-find { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; padding: 12px 14px; font-size: var(--fs-1); line-height: var(--lh-1); }
.wl-find input { width: 100%; height: 34px; font-size: var(--fs-3); line-height: var(--lh-3); }
.wl-bar .wl-lb { color: var(--dim2); font-size: var(--fs-2); line-height: var(--lh-2); }
.wl-bar .chip:disabled { opacity: .6; cursor: progress; }
.wl-bar .chip .pend { color: inherit; font-size: inherit; }
.wl-add { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: var(--r3); color: var(--dim); font-size: var(--fs-2); line-height: 1; opacity: 0; transition: opacity .12s ease, color .12s ease, background-color .12s ease; }
.row:hover .wl-add, .fi:hover .wl-add, .hot-t:hover .wl-add, .scr-card:hover .wl-add, .wl-add:focus-visible, .wl-add.on { opacity: 1; }
.wl-add:hover { color: var(--acc-fg); background: var(--acc-bg); }
.wl-add.on, .btn.wl-btn.on { color: var(--acc-fg); }
.fi .t1 .wl-add { margin-left: auto; }
.fi .t1 .wl-add + .tm { margin-left: 0; }
@media (hover: none) { .wl-add { opacity: .7; } }
/* ── 25.11: четыре блока вида монеты — 💵 где покупали крупные, 📅 календарь, ⚖️ против рынка, 💧 глубина и давление ── */
.r-bb { grid-template-columns: minmax(0, 1fr) 96px 66px 128px; }
.r-bbt { grid-template-columns: minmax(0, 1fr) 62px 88px 62px 60px; }
.r-vs { grid-template-columns: 62px repeat(4, minmax(0, 1fr)) 116px; }
.r-vs.r-vsb { grid-template-columns: 62px repeat(2, minmax(0, 1fr)) 116px; }
.r-vs2 { grid-template-columns: minmax(0, 1fr) 62px 62px 76px 116px; }
.r-dp { grid-template-columns: minmax(0, 1fr) repeat(4, 68px) 50px; }
.r-bb .who, .r-dp .who { min-width: 0; }
.r-vs .nm, .r-vs2 .nm { color: var(--fg2); white-space: nowrap; }
.bb-nm { min-width: 0; }
.bb-nm .ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-key { flex: none; width: 12px; height: 3px; border-radius: 2px; background: var(--dim2); }
.bb-key.bbo { background: var(--mk-out); } .bb-key.bbi { background: var(--mk-dep); } .bb-key.bbt { background: var(--mk-team); } .bb-key.bbh { background: var(--k-pool); }
.bb-key.bbl { background: repeating-linear-gradient(90deg, var(--up) 0 3px, transparent 3px 5px); }
.bb-key.bbs { background: repeating-linear-gradient(90deg, var(--down) 0 3px, transparent 3px 5px); }
.mkg-bb { border-radius: 2px; background: linear-gradient(90deg, var(--mk-out) 0 34%, var(--k-pool) 34% 67%, var(--mk-dep) 67%); }
.kc-l.bbo, .kc-l.bbi, .kc-l.bbt, .kc-l.bbh { stroke-dasharray: none; opacity: .8; }
.kc-l.bbo { stroke: var(--mk-out); } .kc-l.bbi { stroke: var(--mk-dep); } .kc-l.bbt { stroke: var(--mk-team); } .kc-l.bbh { stroke: var(--k-pool); }
.kc-l.bbl { stroke: var(--up); stroke-dasharray: 2 3; } .kc-l.bbs { stroke: var(--down); stroke-dasharray: 2 3; }
.kc-lt.bbo { fill: var(--mk-out); } .kc-lt.bbi { fill: var(--mk-dep); } .kc-lt.bbt { fill: var(--mk-team); } .kc-lt.bbh { fill: var(--k-pool); } .kc-lt.bbl { fill: var(--up); } .kc-lt.bbs { fill: var(--down); }
.card-tools .btn.ghost.on { color: var(--acc-fg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.c2-say { display: flex; flex-direction: column; gap: 5px; margin: 0 0 10px; }
.c2-say .sy { padding: 6px 10px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg2); font-size: var(--fs-2); line-height: 1.4; }
.c2-say .sy.main { color: var(--fg); font-weight: 600; background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.c2-miss { margin-top: 8px; color: var(--dim); font-size: var(--fs-1); line-height: 1.45; }
.c2-miss b { color: var(--fg2); font-weight: 600; }
.c2-top { margin-top: 8px; }
.vs-rk { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.vs-bar { position: relative; flex: none; display: inline-block; width: 52px; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.vs-bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.vs-bar > i.up { background: var(--up); } .vs-bar > i.down { background: var(--down); }
@container (max-width: 470px) {
  .r-bb { grid-template-columns: minmax(0, 1fr) 80px 112px; }
  .r-bb > :nth-child(3) { display: none; }
  .r-bbt { grid-template-columns: minmax(0, 1fr) 56px 78px 54px; }
  .r-bbt .c-age { display: none; }
  .r-vs { grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1fr) 84px; }
  .r-vs:not(.r-vsb) > :nth-child(3), .r-vs:not(.r-vsb) > :nth-child(5) { display: none; }
  .r-vs.r-vsb { grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1fr) 84px; }
  .r-vs2 { grid-template-columns: minmax(0, 1fr) 56px 56px 84px; }
  .r-vs2 > :nth-child(4) { display: none; }
  .vs-bar { width: 30px; }
  .r-dp { grid-template-columns: minmax(0, 1fr) repeat(4, 56px); gap: 6px; }
  .r-dp .c-age { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
   ── UX-2511 · пакет 0 «Каркас» ──
   Общие правила вида для обеих страниц (правила 2.1–2.9 спецификации reports-2411/ux-spec.md, справка — reports-2411/frame.md).
   Переменные — в начале файла. Здесь: текст, страница и сетки, шапка и меню дашборда, вкладки, карточка, плитка, таблица, чип,
   тег, сегмент, кнопка, состояния, шапка монеты. Правила пакетов A–D — ниже своими блоками «UX-2511 · пакет X»; общие классы
   отсюда пакеты не переопределяют.
   ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── текст ── */
body { font-size: var(--fs-3); line-height: var(--lh-3); font-variant-numeric: tabular-nums; }
.mono, .addr-l, .who .nm.addr { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--fs-2); line-height: var(--lh-2); }
.lnk { color: var(--acc-fg); }
/* значки — серые: цвет на экране только смысловой (правило 2.4) */
.card-t .ic, .dnav .ni, .tabs .ti, .dtop .icon-btn, .brand .icon-btn { filter: grayscale(1); }
.card-t .ic, .dnav .ni, .tabs .ti { opacity: .85; }
/* знак в строке списка: ▲ ▼ ⇄ ✓ ✗ — цвет классом */
.g-up { color: var(--up); } .g-down { color: var(--down); } .g-acc { color: var(--acc-fg); } .g-dim { color: var(--dim); }

/* ── страница и сетки ── */
main { padding: var(--page) var(--page) 28px; }
body.dash { min-width: 320px; }
body.dash main { padding: var(--page) var(--page) 48px; max-width: 1440px; }
/* .g3 — три по 4 колонки, .g2 — 6 + 6, .g21 — 8 + 4 (12-колоночная сетка); уже 1100 px — одна колонка. Порядок карточек —
   слева направо, сверху вниз. .stack — столбик карточек внутри колонки. */
.g3, .g2, .g21 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-card); align-items: start; margin: 0 0 var(--gap-card); }
.g3 > *, .g2 > *, .g21 > * { grid-column: 1 / -1; min-width: 0; margin: 0; }
@media (min-width: 1100px) {
  .g3 > * { grid-column: span 4; }
  .g2 > * { grid-column: span 6; }
  .g21 > :nth-child(odd) { grid-column: span 8; }
  .g21 > :nth-child(even) { grid-column: span 4; }
  .g3 > .w2 { grid-column: span 8; }
  .g3 > .w3, .g2 > .w3, .g21 > .w3 { grid-column: 1 / -1; }
}
.stack { display: flex; flex-direction: column; gap: var(--gap-card); min-width: 0; }
.stack > .card, .stack > section { margin: 0; }
/* старые раскладки (.grid, .cols, .mas) — до пакетов: тот же шаг между карточками */
.grid, .cols, .cols > .stack { gap: var(--gap-card); }
.cols { margin: 0 0 var(--gap-card); }
.mas { column-gap: var(--gap-card); margin-top: 0; }
.mas > * { margin: 0 0 var(--gap-card); }
.blk { margin: 0; }

/* ── шапка дашборда: логотип · поиск · монета · [промежуток] · связь · «↗ График» · значки ── */
.dtop { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: var(--s3); height: var(--top-h); padding: 0 var(--s4); background: var(--bg-a); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.dtop .logo { flex: none; display: flex; align-items: center; gap: var(--s2); min-width: 204px; font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.dtop .logo img { width: 24px; height: 24px; border-radius: var(--r3); }
.dtop .logo b { color: var(--acc-fg); font-weight: 700; }
.dtop .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dim2); }
.dtop .demo { padding: 0 var(--s2); border-radius: var(--r3); background: var(--acc-bg); color: var(--acc-fg); font-size: var(--fs-1); font-weight: 600; line-height: 20px; white-space: nowrap; }
.dtop .btn { height: 32px; }
.dtop .icon-btn { width: 32px; height: 32px; font-size: var(--fs-4); }
.dtop #askBtn { font-weight: 700; filter: none; box-shadow: inset 0 0 0 1px var(--line2); }
#askBtn.on { color: var(--acc-fg); background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.dsearch { position: relative; flex: 0 1 320px; min-width: 140px; }
.dsearch input { width: 100%; height: 36px; padding-left: 32px; border-radius: var(--r2); font-size: var(--fs-3); }
.dcoin { display: flex; align-items: center; gap: var(--s2); min-width: 0; white-space: nowrap; }
.dcoin:empty { display: none; }
.dcoin .nm, .dcoin .nm.lnk-c { font-size: var(--fs-5); line-height: var(--lh-5); font-weight: 700; letter-spacing: 0; }
.dcoin .nm.w { font-size: var(--fs-4); line-height: var(--lh-4); }
.dcoin .px { font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 600; }
.dcoin .ch { padding: 2px var(--s2); border-radius: var(--r3); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; }
.ch-dot { display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--up); vertical-align: middle; }

/* ── меню дашборда: 7 пунктов по 40 px, ширина 208 px; под ними — избранное ── */
.dwrap { display: grid; grid-template-columns: 208px minmax(0, 1fr); min-height: calc(100vh - var(--top-h)); }
.dnav { position: sticky; top: var(--top-h); align-self: start; display: flex; flex-direction: column; gap: 2px; height: calc(100vh - var(--top-h)); overflow-y: auto; padding: var(--s4) var(--s2); border-right: 1px solid var(--line); }
.dnav > button { flex: none; display: flex; align-items: center; gap: var(--s3); height: 40px; padding: 0 var(--s3); border-radius: var(--r2); color: var(--fg2); font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 600; text-align: left; box-shadow: none; transition: background-color .12s ease, color .12s ease; }
.dnav > button:hover { background: var(--hover); color: var(--fg); }
.dnav > button.on { background: var(--acc-bg); color: var(--acc-fg); box-shadow: none; }
.dnav > button .ni { flex: none; width: 20px; text-align: center; font-size: 16px; line-height: 20px; }
.dnav > button .nl { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dnav > button .nb, .dnav > button.on .nb { flex: none; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); box-shadow: none; font-size: var(--fs-1); font-weight: 700; line-height: 18px; text-align: center; }
.dnav .grp { padding: var(--s4) var(--s3) var(--s2); color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.nfav { display: flex; flex-wrap: wrap; gap: var(--s1); padding: 0 var(--s2); }
.dnav button.nchip { flex: none; display: inline-flex; align-items: center; gap: 0; max-width: 100%; height: 24px; padding: 0 var(--s2); border-radius: var(--r3); background: var(--card); box-shadow: none; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dnav button.nchip:hover { color: var(--fg); background: var(--hover); box-shadow: none; }
.dnav button.nchip.on { color: var(--acc-fg); background: var(--acc-bg); box-shadow: none; }
.dnav button.nchip.w { font-weight: 400; max-width: 180px; }

/* ── заголовок экрана и вкладки (экрана и монеты — один вид): строка 40 px, активная — цвет текста и золотая черта ── */
.vh { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s5); min-height: 40px; margin: 0 0 var(--s4); }
.vh h1 { margin: 0; font-size: var(--fs-6); line-height: var(--lh-6); font-weight: 700; letter-spacing: 0; }
.vh .ctabs { flex: 1 1 auto; margin: 0; }
.vh-r { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.ctabs { display: flex; gap: var(--s1); margin: 0 0 var(--s4); padding: 0; border: 0; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 var(--line); overflow-x: auto; scrollbar-width: none; }
.ctabs::-webkit-scrollbar { display: none; }
.ctabs button { flex: none; height: 40px; padding: 0 var(--s3); border-radius: 0; border-bottom: 2px solid transparent; background: none; box-shadow: none; color: var(--dim); font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 600; white-space: nowrap; transition: color .12s ease, border-color .12s ease; }
.ctabs button:hover { color: var(--fg); }
.ctabs button.on { color: var(--fg); border-bottom-color: var(--acc); background: none; box-shadow: none; }
.ctabs button .n { display: none; }
body.side .ctabs { margin-bottom: var(--s3); }
body.side .ctabs button { height: 36px; padding: 0 var(--s2); }
/* режим вкладки: сегмент под вкладками («Позиции · Стопы и лимитки · Рентген», «Таблица · Карта») */
.sub-bar { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s4); }
body.side .sub-bar { margin-bottom: var(--s3); }

/* ── шапка боковой панели: марка, шесть вкладок, строка монеты ── */
#hdr:not(.dtop) { padding: var(--s2) var(--s3) 0; }
.brand .icon-btn { min-width: 28px; height: 28px; }
.brand #askBtn { font-weight: 700; filter: none; }
.tabs { display: flex; gap: 0; margin: var(--s1) calc(-1 * var(--s3)) 0; padding: 0 var(--s1); border: 0; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1 0 auto; height: 36px; padding: 0 var(--s2); border-radius: 0; border-bottom: 2px solid transparent; background: none; box-shadow: none; color: var(--dim); font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 600; white-space: nowrap; overflow: visible; }
.tabs button:hover { color: var(--fg); }
.tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--acc); background: none; box-shadow: none; }
.tabs button .ti { margin-right: var(--s1); }
.tabs button .badge { display: inline-block; min-width: 16px; margin-left: var(--s1); padding: 0 var(--s1); border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-size: var(--fs-1); font-weight: 700; line-height: 16px; }
@media (max-width: 479px) { .tabs button .ti { display: none; } }
#ctx { padding: var(--s2) 0; }
.cb-stats:empty { display: none; }
.coinbar .icon-btn { min-width: 28px; height: 28px; filter: grayscale(1); }
.coinbar .icon-btn.on, .coinbar .icon-btn.fav { filter: none; }

/* ── карточка: шапка 48 / 40 px, тело, подвал одной строкой ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 var(--gap-card); overflow: clip; scroll-margin-top: calc(var(--top-h) + var(--s3)); }
.blk { scroll-margin-top: calc(var(--top-h) + var(--s3)); }
.card-h { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s1) var(--s2); min-height: var(--card-h); padding: var(--s1) var(--s3) var(--s1) var(--card-pad); }
.card-t { flex: 1 1 auto; display: flex; align-items: center; gap: var(--s2); min-width: 0; min-height: 32px; font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 700; text-align: left; }
.card-t .ic { flex: none; width: 20px; text-align: center; }
.card-t .cnt { flex: none; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--card2); color: var(--dim); font-size: var(--fs-1); font-weight: 600; line-height: 18px; text-align: center; }
.card-t .car { flex: none; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); transition: transform .15s ease; }
.card-tools { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: var(--s2); margin-left: auto; }
.card-b { padding: 0 var(--card-pad) var(--card-pad); }
.card-b.pad { padding-top: var(--card-pad); }
.card-b:has(+ .card-f) { padding-bottom: var(--s2); }
.card-f { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 32px; padding: 0 var(--card-pad) var(--s2); color: var(--dim2); font-size: var(--fs-2); line-height: var(--lh-2); }
.card.shut .card-f, .card.shut .card-help { display: none; }
.card-sub { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s2); min-width: 0; }
/* «?» и раскрытая подсказка: два абзаца — что это и как читать */
.hbtn, .icon-btn.hbtn { flex: none; min-width: 24px; width: 24px; height: 24px; padding: 0; border-radius: var(--r3); box-shadow: none; color: var(--dim2); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 700; }
.hbtn:hover, .hbtn.on { color: var(--acc-fg); background: var(--acc-bg); box-shadow: none; }
.card-help, body.dash .card-help { margin: 0 var(--card-pad) var(--s3); padding: var(--s2) var(--s3); border-radius: var(--r2); background: var(--card2); box-shadow: none; color: var(--fg2); font-size: var(--fs-2); line-height: 18px; }
.card-help p + p { margin-top: var(--s1); color: var(--dim); }
/* ссылка «все N →», «ещё N», «повторить» — одна на карточку, текстом */
.lnk-more { flex: none; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; white-space: nowrap; border-radius: var(--r3); }
.lnk-more:hover { color: var(--acc-fg); }
/* старые подвал и кнопка «Показать все» — до пакетов в том же виде */
.foot { margin-top: var(--s2); color: var(--dim2); font-size: var(--fs-2); line-height: var(--lh-2); }
.more { display: block; width: auto; height: auto; margin: var(--s2) 0 0 auto; padding: 0; border-radius: var(--r3); box-shadow: none; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; text-align: right; }
.more:hover { color: var(--acc-fg); box-shadow: none; }

/* ── плитка «подпись + число»: один вид (старые .sum, .pill, .pu — так же до пакетов) ── */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(max(116px, calc((100% - 3 * var(--s2)) / 4)), 1fr)); gap: var(--s2); }
.tile, .sum, .pill { min-width: 0; padding: var(--s2) var(--s3); border: 0; border-radius: var(--r2); background: var(--card2); box-shadow: none; overflow: hidden; }
.pu { min-width: 0; padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--r2); background: var(--card); }
.tiles.page .tile { border: 1px solid var(--line); background: var(--card); }
.tile .tl, .sum .lb, .pill .pl, .pu .pl { display: block; margin: 0; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .tv, .sum .vl, .pill .pv, .pu b { display: block; margin: 0; font-size: var(--fs-5); line-height: var(--lh-5); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .td, .sum .vl small, .pill .ps { display: block; margin: 0; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.acc, .pill.acc { box-shadow: inset 0 0 0 1px var(--acc-line); }

/* ── таблица: шапка капсом, строка 36 / 32 px, вся строка — одно действие ── */
.rows { display: flex; flex-direction: column; }
.row { position: relative; display: grid; align-items: center; gap: var(--s2); min-height: var(--row-h); padding: var(--s1) var(--s2); margin: 0 calc(-1 * var(--s2)); border-radius: var(--r2); transition: background-color .12s ease; }
.row .depth { top: var(--s1); bottom: var(--s1); border-radius: var(--r3); }
.th { display: grid; gap: var(--s2); padding: 0 0 var(--s1); color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.rv { white-space: nowrap; }
.rv small, .row small { display: block; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 400; }
/* tbl(): общая сетка колонок на шапку и строки (subgrid) — колонки «auto» ровные по всем строкам */
.tbl { display: grid; grid-template-columns: var(--tc); column-gap: var(--s3); align-items: center; min-width: 0; }
.tbl > .th, .tbl > .row { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; column-gap: var(--s3); }
.tbl > .th { padding-bottom: var(--s1); align-items: end; }
.tbl .rv { text-align: right; justify-self: end; }
.tbl .tc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl .th-s { color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; white-space: nowrap; border-radius: var(--r3); }
.tbl .th-s.tc { text-align: left; }
.tbl .th-s:hover, .tbl .th-s.on { color: var(--fg); }
.tbl .th-s i { font-style: normal; }
.tbl.sticky > .th { position: sticky; top: var(--top-h); z-index: 2; padding-top: var(--s2); background: var(--card); }
.tbl-f { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding-top: var(--s2); }
@container (max-width: 720px) { .tbl { grid-template-columns: var(--tc-m); } .tbl .c-p3 { display: none; } }
@container (max-width: 470px) { .tbl { grid-template-columns: var(--tc-s); column-gap: var(--s2); } .tbl > .th, .tbl > .row { column-gap: var(--s2); } .tbl .c-p2, .tbl .c-p3 { display: none; } }
/* сторона: точка вида — формой (биржа ■, пул ○, КОМАНДНЫЙ и команда ●, ММ ◆, кошелёк ●) */
.who { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
.who .ch { flex: none; padding: 0 var(--s1); border-radius: var(--r3); background: var(--card2); box-shadow: none; color: var(--dim); font-size: var(--fs-1); font-weight: 600; line-height: 16px; text-transform: uppercase; }
.kdot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dim2); box-shadow: none; }
.kdot.cex { border-radius: 1px; background: var(--fg2); }
.kdot.pool { background: transparent; box-shadow: inset 0 0 0 1.5px var(--dim); }
.kdot.safe, .kdot.team { background: var(--acc); }
.kdot.mm { width: 7px; height: 7px; border-radius: 1px; background: var(--dim); transform: rotate(45deg); }

/* ── чип-фильтр, тег в строке, сегмент, кнопка, поле ── */
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.chips.row1 { flex-wrap: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.chips.row1::-webkit-scrollbar { display: none; }
.chips.row1 > * { flex: none; }
.chip { display: inline-flex; align-items: center; height: var(--chip-h); padding: 0 var(--s2); border-radius: var(--r3); background: var(--card2); box-shadow: none; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; white-space: nowrap; transition: color .12s ease, background-color .12s ease; }
.chip:hover { color: var(--fg); }
.chip.on { color: var(--acc-fg); background: var(--acc-bg); box-shadow: none; }
.chip .n { margin-left: var(--s1); color: var(--dim); font-weight: 400; }
body.dash main > .chips .chip, body.dash .feed-tools .chip, main > .chips .chip, .feed-tools .chip { background: var(--card); }
body.dash .feed-tools .chip.on, .feed-tools .chip.on, main > .chips .chip.on { background: var(--acc-bg); }
.kb { flex: none; display: inline-flex; align-items: center; gap: var(--s1); height: 18px; padding: 0 6px; border-radius: var(--r3); background: var(--card2); box-shadow: none; color: var(--dim); font-size: var(--fs-1); line-height: 18px; white-space: nowrap; }
.ok-b, .no-b { display: inline-flex; align-items: center; gap: var(--s1); height: 18px; padding: 0 6px; border-radius: var(--r3); font-size: var(--fs-1); line-height: 18px; font-weight: 600; white-space: nowrap; }
.mu-b { padding: 0; border-radius: 0; background: none; color: var(--dim); font-size: var(--fs-1); line-height: 18px; white-space: nowrap; }
.seg { flex: none; display: inline-flex; align-items: center; height: 28px; padding: 2px; border-radius: var(--r2); background: var(--card2); box-shadow: none; }
.seg button { height: 24px; padding: 0 var(--s2); border-radius: var(--r3); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; white-space: nowrap; }
.seg button:hover { color: var(--fg); }
.seg button.on { background: var(--card); color: var(--fg); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
main > .seg, .sub-bar .seg, .feed-tools .seg, .vh .seg { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
main > .seg button.on, .sub-bar .seg button.on, .feed-tools .seg button.on, .vh .seg button.on { background: var(--card2); box-shadow: none; }
.coin-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: var(--r3); background: var(--card2); box-shadow: none; font-size: var(--fs-2); line-height: 20px; font-weight: 700; transition: color .12s ease, background-color .12s ease; }
.coin-chip:hover { color: var(--acc-fg); background: var(--hover); box-shadow: none; }
.coin-chip.nolink:hover { color: inherit; background: var(--card2); box-shadow: none; }
.fact { display: inline-flex; align-items: center; gap: var(--s1); height: 24px; padding: 0 var(--s2); border-radius: var(--r3); background: var(--card2); box-shadow: none; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); white-space: nowrap; }
.sums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); margin-bottom: var(--s2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); height: var(--ctl-h); padding: 0 var(--s3); border-radius: var(--r2); background: var(--acc); color: var(--acc-ink); font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 600; white-space: nowrap; }
.btn.ghost { background: var(--card2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn.sm { height: calc(var(--ctl-h) - 4px); padding: 0 var(--s2); border-radius: var(--r2); font-size: var(--fs-2); line-height: var(--lh-2); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: var(--ctl-h); height: var(--ctl-h); padding: 0 var(--s1); border-radius: var(--r2); color: var(--dim); }
.icon-btn.on { color: var(--acc-fg); }
.icon-btn.fav { font-size: var(--fs-4); line-height: var(--lh-4); }
input[type="text"], input[type="search"] { height: var(--ctl-h); padding: 0 var(--s3); border-radius: var(--r2); }

/* ── загрузка, «данных нет», ошибка, «нужна монета» — одной строкой (stateLine) ── */
.state { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s1) var(--s3); min-height: var(--row-h); color: var(--dim); font-size: var(--fs-3); line-height: var(--lh-3); text-align: left; }
.state.st-load { display: block; min-height: 0; padding: var(--s1) 0; }
.state.st-err { color: var(--fg2); }
.state.st-err .lnk-more { color: var(--acc-fg); }
main > .state { margin: 0 0 var(--s3); }
.skel { display: block; height: 12px; border-radius: var(--r3); }
.skel + .skel { margin-top: var(--s2); }
.skel.inl { display: inline-block; width: 110px; height: 20px; vertical-align: middle; }
/* старые .empty и .err, собранные мимо stateLine, — тем же видом */
main .empty, main .err { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: var(--s1) var(--s3); min-height: var(--row-h); padding: 0; color: var(--dim); font-size: var(--fs-3); line-height: var(--lh-3); text-align: left; }
main .empty .big, main .err .big { display: none; }
main .card > .err, main .card > .state { padding: var(--card-pad); }
.note { margin: 0 0 var(--s3); padding: var(--s2) var(--s3); border-radius: var(--r2); box-shadow: none; font-size: var(--fs-2); line-height: var(--lh-2); }
.next-steps { justify-content: flex-start; gap: var(--s2); margin: var(--s2) 0 0; }

/* ── шапка монеты (дашборд): одна строка 56 px — тикер · цена · ход · мини-график · значения · кнопки ── */
.chead { display: flex; align-items: center; gap: var(--s4); height: 56px; margin: calc(-1 * var(--s3)) 0 0; padding: 0; border: 0; background: none; overflow: hidden; }
.ch-id { flex: none; display: flex; align-items: center; flex-wrap: nowrap; gap: var(--s3); min-width: 0; }
.ch-tk, .ch-px { font-size: var(--fs-6); line-height: var(--lh-6); font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.ch-id .cb-chg { padding: 2px var(--s2); border-radius: var(--r3); font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 600; }
.ch-7d { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; white-space: nowrap; }
.ch-7d .dim { font-weight: 400; }
/* значения в одну строку: что не влезло по ширине — не рисуется (уходит на скрытую вторую строку), а не режется посередине */
.ch-m { flex: 1 1 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s5) var(--s5); height: var(--lh-3); min-width: 0; margin: 0; overflow: hidden; }
.cstat { flex: none; display: inline-flex; align-items: baseline; gap: 6px; font-size: var(--fs-3); line-height: var(--lh-3); white-space: nowrap; }
.cstat .cl { color: var(--dim); }
.cstat b { font-weight: 600; }
.cstat .cn { color: var(--dim); font-size: var(--fs-2); }
.cstat .cn.up { color: var(--up); } .cstat .cn.down { color: var(--down); }
.cstat.acc b { color: var(--acc-fg); }
.ch-act { flex: none; display: flex; align-items: center; gap: var(--s1); margin-left: auto; }
.ch-act .wl-btn { opacity: 1; width: var(--ctl-h); height: var(--ctl-h); font-size: var(--fs-4); }
/* «Что происходит»: чипы — знак тона и текст; в дашборде — одной строкой под вкладками «Обзора» */
.brief { display: flex; flex-wrap: wrap; gap: var(--s2); }
main > .brief { flex-wrap: nowrap; margin: 0 0 var(--s4); overflow-x: auto; scrollbar-width: none; }
main > .brief::-webkit-scrollbar { display: none; }
.bchip, .bchip.t-up, .bchip.t-down, .bchip.t-warn, .bchip.t-neu { flex: 0 1 auto; display: inline-flex; align-items: center; gap: var(--s2); min-width: 0; max-width: 100%; min-height: 32px; padding: var(--s1) var(--s3); border-radius: var(--r2); background: var(--card2); box-shadow: none; color: var(--fg); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; text-align: left; }
main > .brief .bchip { min-width: 180px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.bchip:hover, .bchip.t-up:hover, .bchip.t-down:hover, .bchip.t-warn:hover, .bchip.t-neu:hover { background: var(--hover); box-shadow: inset 0 0 0 1px var(--line2); }
.bchip .bi, .bchip.t-up .bi, .bchip.t-down .bi, .bchip.t-warn .bi { flex: none; width: auto; height: auto; border-radius: 0; background: none; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.bchip.t-up .bi { color: var(--up); } .bchip.t-down .bi { color: var(--down); } .bchip.t-warn .bi { color: var(--acc-fg); }
.bchip .bt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brief-calm { display: block; min-height: 0; padding: 0; color: var(--dim); font-size: var(--fs-3); line-height: var(--lh-3); }
main > .brief-calm { margin: 0 0 var(--s4); }

/* ── окно «?»: вопрос, ниже — «Как пользоваться», «Клавиши», «Пройти обучение» ── */
.ask-help { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.askw { border-radius: var(--r); }

/* ── узко: дашборд ≤ 900 px — меню полосой под шапкой; ≤ 620 и ≤ 560 px — шапка без подписей; карточка ≤ 470 px ── */
@media (max-width: 900px) {
  body.dash { --page: 12px; }
  .dtop { gap: var(--s2); padding: 0 var(--s3); }
  .dtop .logo { min-width: 0; }
  .dtop .logo span { display: none; }
  .dwrap { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .dwrap > main { min-width: 0; }
  .dnav { top: var(--top-h); z-index: 20; flex-direction: row; align-items: center; gap: var(--s1); height: auto; overflow-x: auto; overflow-y: hidden; padding: var(--s2) var(--s3); border-right: 0; border-bottom: 1px solid var(--line); background: var(--bg-a); backdrop-filter: blur(10px); scrollbar-width: none; }
  .dnav::-webkit-scrollbar { display: none; }
  .dnav .grp { display: none; }
  .dnav > button { height: 32px; gap: var(--s1); padding: 0 var(--s2); font-size: var(--fs-3); line-height: var(--lh-3); }
  .dnav > button .ni { width: 18px; font-size: 14px; }
  .dnav .nfav { flex: none; flex-wrap: nowrap; padding: 0 0 0 var(--s2); }
  .grid { grid-template-columns: 1fr; }
  /* шапка монеты — в две строки: тикер с ценой и кнопками, ниже значения */
  .chead { flex-wrap: wrap; height: auto; min-height: 48px; gap: var(--s1) var(--s3); margin: 0 0 var(--s2); overflow: visible; }
  .ch-id { flex: 1 1 auto; flex-wrap: wrap; gap: var(--s1) var(--s3); }
  .ch-m { order: 3; flex: 1 1 100%; gap: var(--s1) var(--s4); height: auto; overflow: visible; }
}
@media (max-width: 620px) {
  .dcoin .px, .dtop #toChart, .ch-7d .dim { display: none; }
  .dsearch { flex: 1 1 140px; min-width: 0; }
  .ctabs button { height: 36px; padding: 0 var(--s2); }
}
@media (max-width: 560px) {
  .dtop .logo b, .dtop .demo, .dtop #toSide, .dtop .dcoin .dim, .dtop .dcoin .ch { display: none; }
  .dtop .dcoin { min-width: 0; overflow: hidden; }
  .dtop .sugg { position: fixed; left: var(--s2); right: var(--s2); top: calc(var(--top-h) - 4px); min-width: 0; }
  .ch-tk, .ch-px { font-size: var(--fs-5); line-height: var(--lh-5); }
}
@media (max-width: 380px) { .dtop .dcoin, .dtop .dot { display: none; } .dtop .icon-btn { width: 28px; } }
@media (max-width: 359px) { .brand .icon-btn, .coinbar .icon-btn { min-width: 24px; height: 24px; } .brand .demo, .coinbar .cb-sp { display: none; } .coinbar { gap: var(--s1); } }
@container (max-width: 470px) {
  /* узкая карточка: «?» остаётся в строке заголовка, инструменты — второй строкой */
  .card-h > .card-t { order: 1; }
  .card-h > .hbtn { order: 2; }
  .card-tools { order: 3; width: 100%; margin-left: 0; padding-bottom: var(--s1); justify-content: flex-start; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 400px) { .seg button { padding: 0 6px; } }
@container (max-width: 300px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
/* ── конец блока «Каркас» ── */

/* ── UX-2511 · пакет A ── */
/* главная: строка заголовка «Сейчас [окно] … Вчера сигналы», 4 плитки, сетка 3 × 2 */
.hm-vh { gap: var(--s2) var(--s4); }
.hm-bar { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s3); min-width: 0; }
.hm-vh .vh-r, .hm-bar .vh-r { margin-left: auto; min-width: 0; }
.hm-dr { display: inline-flex; align-items: baseline; gap: var(--s1); max-width: 100%; height: var(--ctl-h); padding: 0 var(--s1); border-radius: var(--r2); color: var(--fg2); font-size: var(--fs-3); line-height: var(--ctl-h); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-dr b { font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-dr:hover { color: var(--acc-fg); }
.hm-tiles { margin: 0 0 var(--gap-card); }
body:not(.dash) .hm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-bar + .state, .hm-vh + .state { margin: 0 0 var(--s3); }
.favs { margin: 0 0 var(--s3); }
.fav-line .fl { text-transform: uppercase; letter-spacing: .04em; }
/* капа у тикера — серым текстом без рамки */
.r-home .who .ch, .hot-h .ch { padding: 0; background: none; box-shadow: none; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 400; text-transform: none; }
/* знак вида в строке (2.4): ▲ ▼ ⇄ текстом; вид словом — серым */
.mk { flex: none; display: inline-block; width: 12px; text-align: center; font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 700; }
.kw { flex: none; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.hw-i { width: 12px; font-weight: 700; }
.hw-i:empty { display: none; }
.hot-t.sk { padding: var(--s2) var(--s3); }
@media (max-width: 360px) {
  body:not(.dash) .r-home.hm-r { grid-template-columns: minmax(0, 1fr) 46px 104px; }
  body:not(.dash) .hm-r .hm-sp { display: none; }
  body:not(.dash) .hm-r .rv small { max-width: 104px; }
}
/* лента: таблица, новые строки вспыхивают, «след» — при наведении */
.t-feed > .row.new { animation: flash 1.6s ease-out; }
.t-feed .who { gap: var(--s1); }
.t-feed .f-side { min-width: 0; overflow: hidden; color: var(--fg2); }
.t-feed .f-side .side-l, .t-feed .f-side .addr-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-feed .f-act { display: inline-flex; align-items: center; gap: var(--s2); }
body.dash .t-feed > .row .tbtn:not(.on) { opacity: 0; transition: opacity .12s ease; }
body.dash .t-feed > .row:hover .tbtn, body.dash .t-feed > .row .tbtn:focus-visible { opacity: 1; }
.card[data-key="feed"] .card-b > div > .chips.row1, .card[data-key="scr"] .card-b > div > .chips.row1 { margin: 0 0 var(--s3); }
.fi .gl { background: none; }
/* скринер: капа серым у тикера, поле тикера в шапке карточки */
.scr-q { width: 140px; height: var(--chip-h) !important; }
.scr-tl { display: flex; align-items: center; gap: var(--s2); }
.scr-sel, .acc-sel { height: var(--chip-h); }
.tbl .who .cap { flex: none; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
/* накопление: одна строка фильтров, итог справа, сортировка щелчком по шапке */
.acc-fl { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s3); min-width: 0; overflow-x: auto; scrollbar-width: none; }
.acc-fl::-webkit-scrollbar { display: none; }
.acc-fl > * { flex: none; }
.acc-tot { color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); white-space: nowrap; }
.th.r-acc > :not(:first-child) { text-align: right; }
.th.r-acc > :nth-child(6) { text-align: left; }
.th.r-acc .th-s { color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; white-space: nowrap; border-radius: var(--r3); }
.th.r-acc .th-s:first-child { text-align: left; }
.th.r-acc .th-s:hover, .th.r-acc .th-s.on { color: var(--fg); }
.th.r-acc .th-s i { font-style: normal; }
.r-acc { min-height: var(--row-h); }
/* пакет A: у признака горячей монеты — «перевес…» золотым тегом, «слабый перевес…» серым текстом */
.hw-e.e-edge { color: var(--acc-fg); background: var(--acc-bg); }
.hw-e.e-weak { padding: 0; color: var(--dim); background: none; font-weight: 400; }
/* ── конец пакета A ── */

/* ── UX-2511 · пакет D ── */
/* выпадающие «фильтры ▾» / «ещё ▾» в строке фильтров */
.ah-fl { overflow: visible; flex-wrap: wrap; }
.pop-f { position: relative; }
.pop-f > summary { list-style: none; cursor: pointer; }
.pop-f > summary::-webkit-details-marker { display: none; }
.pop-b { position: absolute; z-index: 20; top: calc(100% + var(--s1)); left: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); padding: var(--s3); border-radius: var(--r2); background: var(--card); box-shadow: 0 0 0 1px var(--line2), 0 8px 24px rgba(0, 0, 0, .3); }
.card[data-key="hist"] .card-b > div > .chips.row1 { margin: 0 0 var(--s3); }
/* статистика: плитки «Есть перевес · Слабый перевес», ячейка — число и «61% · 505» */
.st-tiles { margin: 0 0 var(--gap-card); max-width: 600px; }
.t-st .who .nm { font-weight: 600; }
.t-st .st-c { display: block; }
.t-st .st-c b { font-weight: 700; font-variant-numeric: tabular-nums; }
.t-st .st-c small { color: var(--dim); }
.t-st .vchip { justify-self: start; }
.r-dr .who .nm { font-weight: 600; }
/* история */
.t-ah .who { gap: var(--s1); }
.t-ah .ah-who { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.t-ah .f-act { display: inline-flex; align-items: center; gap: var(--s2); white-space: nowrap; }
/* карта рынка: точка угла в шапке списка — цветом категории карты (не серая) */
.quad-list .card-t .ic { filter: none; opacity: 1; display: inline-flex; align-items: center; justify-content: center; }
/* плотности, движения, новые монеты */
.mw-walls .acc-fl, .mw-moves .acc-fl { margin: 0 0 var(--s3); }
/* ── конец пакета D ── */

/* ── UX-2511 · пакет B ── */
/* выжимки «Обзора» строками без шапки таблицы (сигналы, новости, киты, «Ещё по монете», «Крупнейшие») */
.tbl.t-mini > .th { display: none; }
.tbl .f-act { display: inline-flex; align-items: center; gap: var(--s2); white-space: nowrap; }
.tbl > .row.on { background: var(--acc-bg); }
.tbl > .row.team { background: linear-gradient(90deg, var(--acc-bg), transparent 40%); }
/* строка режима «Переводов»: фильтры режима · сегмент «Таблица · Карта» — одной строкой (чипы прокручиваются) */
body.dash .tx-bar { flex-wrap: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tx-bar::-webkit-scrollbar { display: none; }
.tx-bar > * { flex: none; }
.tx-bar > .grow { flex: 1 1 0; }
.tx-bar > .chips.row1 { flex: 0 1 auto; min-width: 0; }
body.side .tx-bar > .chips.row1 { flex-basis: 100%; }
.tx-way { display: flex; align-items: center; gap: var(--s2); min-width: 0; overflow: hidden; white-space: nowrap; }
.tx-way > .who, .tx-way > .fm-side { flex: 0 1 auto; min-width: 0; }
/* ── uxfix2611 (26.11, разбор reports-2411/ux2611.md — Влад выбрал все четыре починки) ── */
/* 1. «Переводы»: чипы видов — своей строкой во всю ширину (на 375 сжимались до 0, на 1440 резались «Биржа → б…»); окно, порог и
   «Таблица · Карта» — строкой ниже. Узко (телефон, Mini App): «Таблица · Карта» и окно — второй строкой, порог — третьей. */
body.dash .tx-bar { flex-wrap: wrap; overflow: visible; }
.tx-bar > .chips.row1 { flex: 1 1 100%; max-width: 100%; }
@media (max-width: 479px) {
  .tx-bar > .chips.row1 { order: -2; }
  .tx-bar > .seg:last-child { order: -1; }
  .tx-bar > .grow { display: none; }
}
/* Узкая таблица «Переводов» и ленты: под видом перевода — «на Binance hot» / «с Bybit hot» / «откуда → куда» (колонка «Откуда → Куда»
   там скрыта). Шире 470 px строки нет — есть колонка. */
.tx-what { display: flex; flex-direction: column; min-width: 0; }
.tx-dst { display: none; }
@container (max-width: 470px) {
  .tx-dst { display: flex; align-items: center; gap: var(--s1); min-width: 0; overflow: hidden; white-space: nowrap; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
  .tx-dst > .who, .tx-dst > .side-l, .tx-dst > .addr-l { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg2); }
  .tx-dst .who .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  /* тег «КОМАНДНЫЙ» узко не влезает — строка и так подсвечена, а сторона подписана «КОМАНДНЫЙ» во второй строке */
  .tx-what .kb { display: none; }
}
/* «Откуда → Куда» на 1440: не влезает — режется адрес (0x…), а не имя биржи или метка («Alpha-кошел…» было) */
.tx-way > .who:has(> .nm.addr) { flex-shrink: 4; }
/* 2. Главное не режется: «Что происходит» в дашборде — переносом в 1–2 строки и целиком (было «…4 дн н…», «…до 6…»); «Что сделали
   за 3 ч» — кит первой строкой, что сделал — второй; плитки — подпись целиком, на телефоне и число («▼ $11M на би…» было). */
main > .brief { flex-wrap: wrap; overflow: visible; }
main > .brief .bchip .bt { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.hl-act { display: flex; flex-direction: column; min-width: 0; }
.hl-act > .who { min-width: 0; }
.hl-act > .who .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-act-w { display: block; padding-left: 20px; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
/* подпись плитки (вторая строка) — целиком, переносом: «завели $5.98M · вывели $6M», «старт $1 000 · свободно $868» */
.tiles .tile .td { white-space: normal; overflow: visible; text-overflow: clip; }
@media (max-width: 479px) {
  .hm-tiles .tile .tv { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
  /* строки главной (Заводки, Отток…) на телефоне: без мини-графика — монета и капа целиком («ARK $9…» налезало на график) */
  body.dash .r-home.hm-r { grid-template-columns: minmax(0, 1fr) 46px 104px; column-gap: 6px; }
  body.dash .hm-r .hm-sp { display: none; }
  body.dash .hm-r .rv small { max-width: 104px; }
}
@media (max-width: 420px) {
  body:not(.dash) .r-home.hm-r { grid-template-columns: minmax(0, 1fr) 46px 104px; }
  body:not(.dash) .hm-r .hm-sp { display: none; }
  body:not(.dash) .hm-r .rv small { max-width: 104px; }
}
/* «Горячие монеты»: ход цены справа не уезжает за край («+10…») — сжимается мини-график. */
.hot-h > .hm-sp { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.hot-h > .cb-chg { flex: none; }
/* 3. Mini App (html.tgapp): вкладки монеты — сеткой 4 × 2, все восемь видно (DEX, Переводы, Держатели были за краем). */
html.tgapp body.side .ctabs.ct-coin { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; overflow: visible; }
html.tgapp body.side .ctabs.ct-coin button { height: 40px; min-width: 0; padding: 0 2px; font-size: var(--fs-3); line-height: var(--lh-3); text-align: center; overflow: hidden; text-overflow: ellipsis; }
/* Меню «Ещё» над нижней панелью Mini App (рисует panel.js, tgBarRender): разделы списком, крупно. */
html.tgapp .tg-more { position: fixed; left: 8px; right: 8px; bottom: calc(var(--tg-bar-h, 56px) + 8px + max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px))); z-index: 31; display: none; flex-direction: column; gap: 2px; padding: 6px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line2), 0 12px 32px rgba(0, 0, 0, .35); }
html.tgapp .tg-more.on { display: flex; }
html.tgapp .tg-more button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 6px 10px; border: 0; border-radius: 10px; background: none; box-shadow: none; color: var(--fg); text-align: left; -webkit-tap-highlight-color: transparent; }
html.tgapp .tg-more button:active, html.tgapp .tg-more button:hover { background: var(--hover); }
html.tgapp .tg-more button.on { background: var(--acc-bg); }
html.tgapp .tg-more .tm-i { flex: none; width: 28px; font-size: 22px; line-height: 28px; text-align: center; filter: grayscale(1); opacity: .7; }
html.tgapp .tg-more button.on .tm-i { filter: none; opacity: 1; }
html.tgapp .tg-more .tm-t { min-width: 0; }
html.tgapp .tg-more .tm-t b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
html.tgapp .tg-more .tm-t small { display: block; color: var(--dim); font-size: 12px; line-height: 16px; }
html.tgapp.tg-kb .tg-more { display: none; }
html.tgapp #tabs button.tg-more-b[aria-expanded="true"] { color: var(--acc-fg); }
html.tgapp #tabs button.tg-more-b[aria-expanded="true"] .ti { filter: none; opacity: 1; }
/* ── конец uxfix2611 ── */
/* события свечи: строка выбора над таблицей */
.mk-sel { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s2); color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
/* итог сигналов: тег вида второй строкой — «перевес» золотым, «слабый перевес» серым */
.t-kinds .tk-nm { min-width: 0; }
.t-kinds .tk-nm small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-kinds .tk-nm small.tk-edge { color: var(--acc-fg); font-weight: 600; }
.card[data-key="tr_list"] .card-b > div > .chips.row1 { margin: 0 0 var(--s3); }
.card[data-key="track_mini"] .ostrip, .card[data-key="tr_sum"] .ostrip { margin: var(--s3) 0; }
/* новости и разлоки */
.nw-h .mk { width: auto; }
.ul-h .kw { margin-right: calc(-1 * var(--s1)); }
.cal-flag { margin: 0 0 var(--s2); color: var(--acc-fg); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; }
/* потоки бирж: «по дням ▾» */
.fl-more { margin: var(--s2) 0 0; }
.fm-top { margin-top: var(--s3); }
/* «Ещё по монете»: имя блока и первая фраза выжимки */
.c2-b { min-width: 0; }
.c2-n { font-weight: 600; }
.c2-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.t-c2 > .row { min-height: 44px; }
/* киты: полоска лонги/шорты, сторона буквой */
.hl-split { margin: 0 0 var(--s3); }
.hl-split .split { height: 10px; }
.hl-sl { display: flex; justify-content: space-between; gap: var(--s2); margin-top: var(--s1); font-size: var(--fs-2); line-height: var(--lh-2); }
.hl-sd { flex: none; width: 12px; text-align: center; font-weight: 700; font-size: var(--fs-2); line-height: var(--lh-2); }
/* 25.11: площадка кита в общей карточке HL и Lighter — значок рядом со стороной */
.kb.vn { height: 16px; padding: 0 4px; line-height: 16px; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.kb.vn-hl { color: var(--fg2); }
.kb.vn-lgt { color: var(--c1); box-shadow: inset 0 0 0 1px currentColor; }
/* ── конец пакета B ── */

/* ── UX-2511 · пакет C ── */
/* рынок: полоска лонг/шорт фандинга, «за сутки ▾» у карты ликвидаций */
.fr-ls { margin-top: var(--s3); }
.fr-ls .split { height: 10px; }
.lq-words .fl-more { margin-top: var(--s1); }
.lq-heat-w { margin-top: var(--s2); }
/* стопы и лимитки: «и ещё N кошельков поменьше», «Входы по стопу» */
.hlo-more { padding: var(--s1) 0 0; font-size: var(--fs-2); line-height: var(--lh-2); }
.hlo-en { margin-top: var(--s3); }
.hlo-en .hlo-2 { margin-top: var(--s1); }
/* блок кита — карточкой: кнопки в шапке, заметки серой строкой */
.card.hlw .card-tools .grow { display: none; }
.hlw-note { margin-top: var(--s1); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
/* держатели: подпись полосы состава */
.conc-h { margin-top: var(--s3); }
.card[data-key="holders"] .card-b > div > .chips.row1 { margin: 0 0 var(--s3); }
.r-team .mv { display: flex; align-items: center; gap: var(--s1); }
/* кошельки команды в узкой колонке: имя и «2 из 3» переносятся, а не режутся */
.r-team .who { flex-wrap: wrap; row-gap: 2px; }
.r-team .who > .who { flex: 1 1 100%; flex-wrap: wrap; }
.r-team .who .nm, .r-team .who .kb-safe { white-space: normal; overflow: visible; }
/* ── конец пакета C ── */

/* ── 25.11 · ⭐ с прошлого захода, ⭐ в личку, мои позиции ── */
/* главная с вкладками (владелец и Максим): вкладки не растягиваются — окно и строка отчёта рядом */
.hm-vh.vh-tabs .ctabs { flex: 0 1 auto; }
/* «С прошлого захода»: строка монеты — текст во всю ширину, цена справа */
.card.since .tbl .tc .ell { display: block; }
.card.since .tbl .tc b { font-weight: 600; }
/* узкая панель и Mini App (наведения нет — подсказка строки не видна): текст строки — до двух строк, а не многоточие */
body:not(.dash) .card.since .tbl .tc .ell, body:not(.dash) .card[data-key="mp_calls"] .tbl .tc .ell, body:not(.dash) .card[data-key="mp_prot"] .tbl .tc .ell { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
/* монета позиции на узком экране — переносом, а не многоточием */
body:not(.dash) .card[data-key="mp_pos"] .tbl > .row > .tc:first-of-type { white-space: normal; }
/* настройки: переключатель «в личку» и пояснения под ним */
.set-b { display: flex; flex-direction: column; gap: var(--s2); }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.set-l { font-weight: 600; }
.set-n { color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
/* шапка текстовой колонки — влево (старое правило .th > :not(:first-child) уводит её вправо) */
.card.since .tbl > .th > .tc, .card[data-key^="mp_"] .tbl > .th > .tc { text-align: left; }
/* мои позиции: сторона серым рядом с тикером, вторая строка в числах */
.card[data-key="mp_pos"] .tbl .rv small, .card[data-key="mp_pos"] .tbl .rv b { white-space: nowrap; }
/* ── конец блока 25.11 ── */

/* ── карта рынка 25.11: логотипы монет, блок «Сквиз за час» под картой фандинга ── */
.c-logo { flex: none; display: inline-block; width: 16px; height: 16px; border-radius: 50%; object-fit: cover; vertical-align: -3px; background: var(--card2); }
.q-coin { display: inline-flex; align-items: center; gap: var(--s1); min-width: 0; max-width: 100%; }
.q-coin .scr-b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quad-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; min-width: 0; }
.quad-main > .card { margin: 0; }
.quad-tip .qt-h b { display: inline-flex; align-items: center; gap: var(--s1); }
/* ── конец блока карты 25.11 ── */
/* ── 25.11 · Скринер → «Сейфы» ── */
/* путь ухода: тег подписей, адрес сейфа, «→ 3 кошелька · 1 в следе» — одной строкой */
.sf-path { display: flex; align-items: center; gap: var(--s2); min-width: 0; overflow: hidden; white-space: nowrap; }
.sf-path .kb { flex: none; }
.sf-path .sf-to { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--fg2); }
/* дошло до бирж — давление продаж: доля красным, биржи рядом */
.sf-cex { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-hit { color: var(--down); font-weight: 600; }
.sf-st { color: var(--dim); white-space: nowrap; }
.sf-st.on { color: var(--acc-fg); font-weight: 600; }
/* шапки текстовых колонок — влево */
.card[data-key="sf_tbl"] .tbl > .th > .tc { text-align: left; }
.card[data-key="sf_tbl"] .tbl .rv b { font-weight: 700; }
/* ── конец блока «Сейфы» ── */

/* 25.11 chart2511: 📊 панели под графиком (та же ось времени, что у свечей), ☰ меню «Слои» в шапке графика, ▬●▬ шкала диапазона у цены */
.cp-wrap { margin-top: var(--s1); }
.cp-pane { border-top: 1px solid var(--line); }
.cp-h { display: flex; align-items: center; flex-wrap: wrap; gap: 0 var(--s2); min-height: 24px; padding-top: 2px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; }
.cp-n { display: inline-flex; align-items: center; gap: 6px; color: var(--fg2); font-weight: 600; white-space: nowrap; cursor: default; }
.cp-v { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s2); min-width: 0; }
.cp-v b { color: var(--fg); font-weight: 600; }
.cp-v .up, .cp-v b.up { color: var(--up); }
.cp-v .down, .cp-v b.down { color: var(--down); }
.cp-h .grow { flex: 1 1 auto; }
.cp-old { color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); }
.cp-h .cp-x { width: 22px; min-width: 22px; height: 22px; border-radius: var(--r3); color: var(--dim); font-size: var(--fs-2); line-height: 22px; opacity: .75; }
.cp-h .cp-x:hover, .cp-h .cp-x:focus-visible { opacity: 1; color: var(--fg); background: var(--hover); }
.cp-svg { display: block; }
.cp-st { display: flex; align-items: center; justify-content: center; padding: 0 var(--s3); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); text-align: center; }
.cp-st .skel { display: block; width: 70%; height: 10px; }
.cp-chips { align-items: center; gap: var(--s1); margin-top: var(--s2); }
.cp-lab { margin-right: 2px; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); white-space: nowrap; }
.cpc { display: inline-flex; align-items: center; gap: 6px; }
.cpc:not(.on) .cp-key { opacity: .5; }
.cp-key { display: inline-block; flex: none; width: 12px; height: 4px; border-radius: 2px; }
.cpk-oi { background: var(--c2); }
.cpk-cvd { background: linear-gradient(90deg, var(--c2) 50%, var(--c3) 50%); }
.cpk-liq { background: linear-gradient(90deg, var(--up) 50%, var(--down) 50%); }
.cpk-fund { background: var(--c1); }
.cpk-net { background: linear-gradient(90deg, var(--down) 50%, var(--up) 50%); }
.cp-ln { fill: none; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.cp-ln.oi { stroke: var(--c2); }
.cp-ar.oi { fill: var(--c2); opacity: .12; stroke: none; }
/* 26.11 (oix2611): OI других бирж в панели OI. Цвет — у биржи: палитра категорий из 8 (тёмная и светлая — свои шаги, проверены
   validate_palette на поверхности карточки: соседние пары CVD ΔE ≥ 8.4, без дальтонизма ≥ 19.3; в светлой три цвета ниже 3:1 —
   поэтому имя и значение каждой биржи подписаны в строке панели). Binance — тот же синий, что был у линии OI (--c2). */
:root { --oc1: #3987e5; --oc2: #d95926; --oc3: #199e70; --oc4: #c98500; --oc5: #d55181; --oc6: #0ca30c; --oc7: #9085e9; --oc8: #e66767; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --oc1: #2a78d6; --oc2: #eb6834; --oc3: #1baf7a; --oc4: #eda100; --oc5: #e87ba4; --oc6: #008300; --oc7: #6250d6; --oc8: #e34948; }
}
:root[data-theme="light"] { --oc1: #2a78d6; --oc2: #eb6834; --oc3: #1baf7a; --oc4: #eda100; --oc5: #e87ba4; --oc6: #008300; --oc7: #6250d6; --oc8: #e34948; }
.cp-ln.oc1 { stroke: var(--oc1); } .cp-ln.oc2 { stroke: var(--oc2); } .cp-ln.oc3 { stroke: var(--oc3); } .cp-ln.oc4 { stroke: var(--oc4); }
.cp-ln.oc5 { stroke: var(--oc5); } .cp-ln.oc6 { stroke: var(--oc6); } .cp-ln.oc7 { stroke: var(--oc7); } .cp-ln.oc8 { stroke: var(--oc8); }
.cp-ar.oc1, .cp-ar.oc2, .cp-ar.oc3, .cp-ar.oc4, .cp-ar.oc5, .cp-ar.oc6, .cp-ar.oc7, .cp-ar.oc8 { opacity: .12; stroke: none; }
.cp-ar.oc1 { fill: var(--oc1); } .cp-ar.oc2 { fill: var(--oc2); } .cp-ar.oc3 { fill: var(--oc3); } .cp-ar.oc4 { fill: var(--oc4); }
.cp-ar.oc5 { fill: var(--oc5); } .cp-ar.oc6 { fill: var(--oc6); } .cp-ar.oc7 { fill: var(--oc7); } .cp-ar.oc8 { fill: var(--oc8); }
.cp-ln.osum { stroke: var(--fg2); }
.cp-ar.osum { fill: var(--fg2); opacity: .08; stroke: none; }
.oik { display: inline-block; flex: none; width: 10px; height: 3px; border-radius: 2px; background: var(--dim); }
.oik.oc1 { background: var(--oc1); } .oik.oc2 { background: var(--oc2); } .oik.oc3 { background: var(--oc3); } .oik.oc4 { background: var(--oc4); }
.oik.oc5 { background: var(--oc5); } .oik.oc6 { background: var(--oc6); } .oik.oc7 { background: var(--oc7); } .oik.oc8 { background: var(--oc8); }
.oi-bar { display: flex; align-items: center; gap: var(--s2); min-width: 0; padding: 0 0 var(--s1); }
.oi-vs { flex: 1 1 auto; }
.oi-bar .seg { height: 26px; }
.oi-bar .seg button { height: 22px; }
.chip.oiv { gap: 6px; height: 22px; }
.chip.oiv:not(.on) .oik { opacity: .45; }
.oi-t { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.oi-t .oik { align-self: center; }
.oi-n { color: var(--fg2); }
/* Узко (телефон, боковая панель): чипы бирж — переносом, все на виду; «Наложить / Сложить» — строкой ниже. */
@media (max-width: 560px) {
  .oi-bar { flex-wrap: wrap; row-gap: var(--s1); }
  .oi-vs.chips.row1 { flex: 1 1 100%; flex-wrap: wrap; overflow: visible; }
}
.cp-ln.cvf { stroke: var(--c2); }
.cp-ln.cvs { stroke: var(--c3); }
.cp-zero { stroke: var(--line2); stroke-dasharray: 3 3; shape-rendering: crispEdges; }
.cp-b { stroke: none; shape-rendering: crispEdges; }
.cp-b.ls { fill: var(--up); }
.cp-b.ll { fill: var(--down); }
.cp-b.fp { fill: var(--up); opacity: .5; }
.cp-b.fn { fill: var(--down); opacity: .5; }
.cp-b.pred { opacity: .22; }
.cp-b.ni { fill: var(--down); opacity: .85; }
.cp-b.no { fill: var(--up); opacity: .85; }
.cp-k2 { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.cp-k2::before { content: ""; align-self: center; width: 10px; height: 2px; border-radius: 1px; background: currentColor; }
.cp-k2.f { color: var(--c2); }
.cp-k2.s { color: var(--c3); }
.cp-k2 b, .cp-k2 .dim { color: var(--fg); }
.cp-k2 b.up { color: var(--up); }
.cp-k2 b.down { color: var(--down); }
.cp-k2 .dim { color: var(--dim); }
.cp-lay { display: inline-flex; align-items: center; gap: 4px; }
.cp-lay .n { min-width: 16px; padding: 0 5px; border-radius: 999px; background: var(--card2); color: var(--dim); font-size: var(--fs-1); line-height: 16px; font-weight: 600; text-align: center; }
.cp-lay .car { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.cp-menu { position: fixed; z-index: 60; display: none; max-height: calc(100vh - 16px); overflow-y: auto; padding: var(--s1); border: 1px solid var(--line2); border-radius: var(--r2); background: var(--card); box-shadow: var(--shadow); color: var(--fg); }
.cp-menu.on { display: block; }
.cp-ms { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s2) var(--s2) 2px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.cp-ms .lnk-more { font-size: var(--fs-1); line-height: var(--lh-1); text-transform: none; letter-spacing: 0; }
.cp-mi { display: flex; align-items: center; gap: var(--s2); width: 100%; min-height: 32px; padding: 0 var(--s2); border-radius: var(--r3); color: var(--fg2); font-size: var(--fs-3); line-height: var(--lh-3); text-align: left; }
.cp-mi:hover, .cp-mi:focus-visible { background: var(--hover); color: var(--fg); }
.cp-mi.on { color: var(--fg); }
.cp-ck { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line2); color: var(--acc-ink); font-size: var(--fs-1); line-height: 1; font-weight: 700; }
.cp-mi.on .cp-ck { background: var(--acc); box-shadow: none; }
.cp-ml { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-mn { flex: none; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; }
.cp-mf { margin-top: var(--s1); padding: var(--s2) var(--s2) 2px; border-top: 1px solid var(--line); color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
/* 27.11 rd2711: 💬 «Что это значит?» — кнопка в конце строки «Под графиком» и поповер с разбором панелей словами (вне карточки,
   position: fixed; ширина — до 460 px, узко — экран минус 8 px с каждой стороны; не влезло по высоте — прокрутка внутри) */
.cp-rd-btn { margin-left: auto; color: var(--fg2); }
.cp-rd-btn:hover, .cp-rd-btn:focus-visible { color: var(--fg); }
.cp-rd-btn.on { background: var(--acc-bg); color: var(--acc-fg); }
.cp-rd { position: fixed; z-index: 61; display: none; box-sizing: border-box; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: var(--s2) var(--s3) var(--s3); border: 1px solid var(--line2); border-radius: var(--r2); background: var(--card); box-shadow: var(--shadow); color: var(--fg); font-size: var(--fs-3); line-height: var(--lh-3); }
.cp-rd.on { display: block; }
.rd-hd { display: flex; align-items: center; gap: var(--s2); min-width: 0; padding-bottom: var(--s1); }
.rd-t { flex: none; font-size: var(--fs-4); line-height: var(--lh-4); font-weight: 700; }
.rd-sub { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.rd-hd .grow { flex: 1 1 auto; }
.rd-hd .rd-x { flex: none; color: var(--dim); }
.rd-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--s2); padding: 7px 0; border-top: 1px solid var(--line); }
.rd-k { display: inline-flex; align-items: center; align-self: start; gap: 6px; min-height: var(--lh-3); color: var(--fg); font-weight: 600; white-space: nowrap; }
.rd-v { min-width: 0; overflow-wrap: anywhere; color: var(--fg2); }
.rd-v b { color: var(--fg); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rd-v b.up { color: var(--up); }
.rd-v b.down { color: var(--down); }
.rdk-s { background: var(--c3); }
.rdk-f { background: var(--c2); }
.rd-sum { margin-top: var(--s1); padding: var(--s2) var(--s3); border-radius: var(--r3); background: var(--card2); color: var(--fg); }
.rd-sum b { font-weight: 700; }
.rd-none { padding: var(--s3) 0; color: var(--dim); }
.rd-miss { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); margin-top: var(--s2); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.rd-ml { white-space: nowrap; }
.rd-mi { white-space: nowrap; }
.rd-add { height: 22px; color: var(--fg2); }
.rd-add:hover, .rd-add:focus-visible { color: var(--fg); }
.rd-ft { margin-top: var(--s2); color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
/* Узко (телефон, Mini App, боковая панель): подпись строки — над текстом. */
@media (max-width: 480px) {
  .rd-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
.rng { display: inline-flex; align-items: center; gap: var(--s2); min-width: 0; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rng .seg { height: 24px; }
.rng .seg button { height: 20px; padding: 0 6px; font-size: var(--fs-1); line-height: var(--lh-1); }
.rng-v { color: var(--fg2); font-weight: 600; }
.rng-t { position: relative; flex: none; width: 96px; height: 14px; }
.rng-tr { position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 1px; background: var(--line2); }
.rng-fl { position: absolute; left: 0; top: 6px; height: 2px; border-radius: 1px; background: var(--dim2); }
.rng-dot { position: absolute; top: 2px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 2px var(--bg); }
.rng-dot.hi { background: var(--up); }
.rng-dot.lo { background: var(--down); }
.rng-e { font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; }
.rng-e.hi { color: var(--up); }
.rng-e.lo { color: var(--down); }
.rng.busy .rng-t { opacity: .5; }
.rng-hd { flex: none; }
.rng-sd { display: flex; width: 100%; margin-top: 6px; }
.rng-sd .rng-t { flex: 1 1 60px; width: auto; min-width: 48px; }
@media (max-width: 420px) { .rng-sd .rng-e { display: none; } }
@media (max-width: 1279px) { body.dash .chead .rng-hd .rng-e { display: none; } }
/* ── 25.11 · 📶 ширина рынка, 🗂 вкладки внутри дашборда, 💾 наборы фильтров ── */
/* 📶 полоса на «Сейчас»: слева подпись и три числа, справа столбики; ниже — «?» и монеты выбранной корзины */
.mbr-strip { display: grid; grid-template-columns: minmax(0, auto) minmax(240px, 1fr); align-items: end; gap: var(--s2) var(--s5); margin: 0 0 var(--gap-card); padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--r2); background: var(--card); }
.mbr-l { display: flex; flex-direction: column; gap: var(--s1); min-width: 0; }
.mbr-t { display: flex; align-items: center; gap: var(--s2); min-width: 0; min-height: 24px; }
.mbr-t .hbtn { flex: none; }
.mbr-t .lnk-more { margin-left: auto; }
.mbr-strip .tl, .mbr-s .tl { display: block; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbr-v { display: flex; gap: var(--s5); min-width: 0; }
.mbr-s { display: flex; flex-direction: column; min-width: 0; }
.mbr-s b { font-size: var(--fs-5); line-height: var(--lh-5); font-weight: 700; white-space: nowrap; }
.mbr-s small { color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); white-space: nowrap; }
.mbr-h { min-width: 0; }
.mbr-bars { display: grid; grid-template-columns: repeat(var(--mbr-n, 12), minmax(0, 1fr)); gap: 3px; align-items: stretch; height: 52px; }
.mbr-h.big .mbr-bars { height: 132px; }
.mbr-b { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; height: 100%; padding: 0; border-radius: 3px 3px 0 0; background: none; }
.mbr-b i { display: block; flex: none; height: calc(var(--h, 0) * 100%); border-radius: 3px 3px 0 0; background: currentColor; opacity: .7; transition: opacity .12s ease; }
.mbr-h.big .mbr-b i { height: calc(var(--h, 0) * (100% - 16px)); }
.mbr-b.down { color: var(--down); }
.mbr-b.up { color: var(--up); }
.mbr-b:hover i, .mbr-b.on i { opacity: 1; }
.mbr-b.on { box-shadow: 0 3px 0 -1px var(--acc); }
.mbr-b:disabled { cursor: default; }
.mbr-n { flex: none; height: 16px; color: var(--fg2); font-size: var(--fs-1); line-height: 16px; text-align: center; white-space: nowrap; overflow: hidden; }
.mbr-ax { display: grid; grid-template-columns: repeat(var(--mbr-n, 12), minmax(0, 1fr)); gap: 3px; margin-top: 3px; padding-top: 2px; border-top: 1px solid var(--line); }
.mbr-ax span { justify-self: end; min-height: var(--lh-1); color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; transform: translateX(calc(50% + 1.5px)); }
.mbr-cl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); min-width: 0; }
.mbr-ct { margin-right: var(--s1); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.mbr-c { display: inline-flex; align-items: center; gap: var(--s1); height: var(--chip-h); padding: 0 var(--s2); border-radius: var(--r3); background: var(--card2); font-size: var(--fs-2); line-height: var(--lh-2); white-space: nowrap; transition: background-color .12s ease; }
.mbr-c:hover { background: var(--hover); }
.mbr-c b { font-weight: 700; }
.mbr-help { grid-column: 1 / -1; margin: 0; padding: 0; }
.mbr-cb { display: flex; flex-direction: column; gap: var(--s3); min-width: 0; }
.mbr-cb .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .mbr-strip { grid-template-columns: minmax(0, 1fr); align-items: stretch; } }
body:not(.dash) .mbr-strip { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (max-width: 420px) {
  .mbr-v { gap: var(--s3); justify-content: space-between; }
  .mbr-s b { font-size: var(--fs-4); line-height: var(--lh-4); }
}

/* 🗂 полоса вкладок над экраном: вкладка — значок, имя, ✕ (открытая — золотой обводкой); «⋯» — закрыть другие или все */
.otb { position: relative; display: flex; align-items: center; gap: var(--s1); min-width: 0; margin: 0 0 var(--s3); }
.otb-s { flex: 1 1 auto; display: flex; gap: var(--s1); min-width: 0; overflow-x: auto; scrollbar-width: none; }
.otb-s::-webkit-scrollbar { display: none; }
.otb-t { flex: none; display: inline-flex; align-items: center; max-width: 200px; height: var(--chip-h); border-radius: var(--r3); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.otb-t.on { background: var(--card2); box-shadow: inset 0 0 0 1px var(--acc-line); }
.otb-go { display: inline-flex; align-items: center; gap: 6px; min-width: 0; height: 100%; padding: 0 2px 0 var(--s2); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; transition: color .12s ease; }
.otb-go:hover, .otb-t.on .otb-go { color: var(--fg); }
.otb-i { flex: none; filter: grayscale(1); opacity: .8; }
.otb-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.otb-x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 100%; border-radius: 0 var(--r3) var(--r3) 0; color: var(--dim2); font-size: var(--fs-1); line-height: 1; transition: color .12s ease, background-color .12s ease; }
.otb-x:hover { color: var(--fg); background: var(--hover); }
.otb-m { flex: none; min-width: var(--chip-h); height: var(--chip-h); }
.otb-pop { position: absolute; top: calc(100% + 4px); right: 0; z-index: 40; display: flex; flex-direction: column; min-width: 220px; max-width: calc(100vw - 32px); padding: var(--s1); border-radius: var(--r2); background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.otb-pop button { height: 32px; padding: 0 var(--s3); border-radius: var(--r3); text-align: left; font-size: var(--fs-3); line-height: var(--lh-3); white-space: nowrap; }
.otb-pop button:hover { background: var(--hover); }
.otb-pt { padding: var(--s1) var(--s3); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) {
  .otb-t { max-width: 136px; }
  .otb-i { display: none; }
}
html.tgapp .otb-x { width: 34px; }
html.tgapp .otb-pop button { height: 44px; }

/* 💾 строка наборов фильтров: «НАБОРЫ» · наборы (включённый — золотом) · «Сохранить набор» или поле имени */
.fset { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s1) var(--s2); min-width: 0; margin: 0 0 var(--s2); }
.fset-t { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.fset-c { display: inline-flex; align-items: center; max-width: 100%; height: var(--chip-h); border-radius: var(--r3); background: var(--card2); color: var(--fg2); }
main > .fset { margin: var(--s3) 0; }
main > .fset .fset-c, .feed-tools + .fset .fset-c { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.fset-c.on, main > .fset .fset-c.on { background: var(--acc-bg); color: var(--acc-fg); box-shadow: none; }
.fset-go { min-width: 0; max-width: 240px; height: 100%; padding: 0 2px 0 var(--s2); color: inherit; font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fset-c.on .fset-go { cursor: default; }
.fset-x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 100%; border-radius: 0 var(--r3) var(--r3) 0; color: var(--dim2); font-size: var(--fs-1); line-height: 1; }
.fset-x:hover { color: var(--down); }
.fset-ed { display: inline-flex; align-items: center; gap: var(--s1); min-width: 0; max-width: 100%; }
.fset-in { width: 220px; min-width: 0; max-width: 56vw; height: calc(var(--ctl-h) - 4px); }
html.tgapp .fset-x { width: 34px; }
/* ── конец блока 25.11 · ширина, вкладки, наборы ── */
/* ── 🪪 Паспорт кита и 🏦 запас на биржах (25.11) ── */
/* значок паспорта в строке кита: «PF 2.3 · просадка −13%» */
.kb.wps-bdg { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.kb.wps-bdg.good { color: var(--up); background: var(--up-bg); }
.kb.wps-bdg.bad { color: var(--down); background: var(--down-bg); }
.t-hl .who .nm { min-width: 0; }
/* выбор площадки в досье */
.wps-vsel { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s2); font-size: var(--fs-2); }
/* четыре блока по 3–4 числа */
.wps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s2); }
.wps-b { min-width: 0; padding: var(--s2) var(--s3); border-radius: var(--r2); background: var(--card2); }
.wps-bt { margin-bottom: var(--s1); color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wps-kv { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); min-width: 0; padding: 2px 0; font-size: var(--fs-2); line-height: var(--lh-2); }
.wps-kv > span { min-width: 0; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wps-kv > b { flex: none; max-width: 70%; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
/* главное число блока — своей строкой под подписью: в узкой колонке не режет ни подпись, ни число */
.wps-kv.big { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: var(--s1); }
.wps-kv.big > b { max-width: 100%; font-size: var(--fs-5); line-height: var(--lh-5); font-weight: 700; text-align: left; }
.wps-kv > b.up { color: var(--up); } .wps-kv > b.down { color: var(--down); } .wps-kv > b.dim { color: var(--dim); }
.wps-split { height: 6px; margin: 2px 0 var(--s1); }
/* кривая PnL и столбики по дням */
.wps-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s3); margin-top: var(--s3); }
.wps-ch { min-width: 0; }
.wps-cht { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-bottom: var(--s1); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.wps-cht > span:first-child { margin-right: auto; color: var(--fg2); font-weight: 600; }
.wps-cht b { font-variant-numeric: tabular-nums; }
.wps-cht b.up { color: var(--up); } .wps-cht b.down { color: var(--down); } .wps-cht b.dim { color: var(--dim); }
.wps-host { position: relative; height: 84px; cursor: crosshair; }
body.dash .wps-host { height: 110px; }
.wps-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wps-z { stroke: var(--line2); stroke-width: 1; stroke-dasharray: 3 3; }
.wps-svg .wps-a { fill: var(--up); fill-opacity: .1; stroke: none; }
.wps-svg .wps-l { fill: none; stroke: var(--up); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.wps-svg.down .wps-a { fill: var(--down); }
.wps-svg.down .wps-l { stroke: var(--down); }
.wps-svg.bars rect.up { fill: var(--up); } .wps-svg.bars rect.down { fill: var(--down); }
.wps-svg.bars rect:hover { fill-opacity: .75; }
.wps-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 2px var(--card); pointer-events: none; }
.wps-v { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line2); pointer-events: none; }
.wps-nochart { display: flex; align-items: center; height: 84px; color: var(--dim2); font-size: var(--fs-2); }
.wps-note { margin-top: var(--s2); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.card.wps .busy { opacity: .6; transition: opacity .2s; }
/* запас на биржах и у топ-100 поверх цены */
.hh-host { position: relative; height: 150px; margin-top: var(--s2); cursor: crosshair; }
body.dash .hh-host { height: 190px; }
.hh-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hh-pa { fill: var(--c4); fill-opacity: .14; stroke: none; }
.hh-pl { fill: none; stroke: var(--c4); stroke-width: 1.5; stroke-linejoin: round; }
.hh-l { fill: none; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.hh-l.ex { stroke: var(--c3); } .hh-l.top { stroke: var(--c2); }
.hh-dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--card); pointer-events: none; }
.hh-dot.ex { background: var(--c3); } .hh-dot.top { background: var(--c2); }
.hh-k { display: inline-block; width: 10px; height: 3px; margin-right: 5px; border-radius: 2px; vertical-align: middle; }
.hh-k.ex { background: var(--c3); } .hh-k.top { background: var(--c2); } .hh-k.px { height: 8px; background: var(--c4); opacity: .45; }
.hh-leg { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: var(--s2); color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.hh-leg .dim { margin-left: auto; }
/* телефон (Mini App): блоки паспорта — в одну колонку, подписи не режутся */
@media (max-width: 400px) { .wps-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) {
  .wps-b { padding: var(--s2); }
  .wps-kv.big > b { font-size: var(--fs-4); line-height: var(--lh-4); }
  .hh-leg .dim { margin-left: 0; }
}
/* ── конец блока «Паспорт кита и запас на биржах» ── */
/* ── ⧉ Лента в окне (25.11, Document Picture-in-Picture): кнопка в шапке дашборда и у «Ленты»; само окно — body.pipw ──
   Окно ~360×520: шапка (марка, связь, пауза), поиск, чипы видов, строка «Сейчас» (золотые и сквиз), лента строками в одну линию:
   время · знак · тикер · что · цена после · сумма · ↗. Текст не мельче 11 px, прокрутки вбок нет. */
.dtop #toPip { gap: 6px; }
.dtop #toPip.on, .pip-btn.on { color: var(--acc-fg); background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
@media (max-width: 1180px) { .dtop #toPip .pl { display: none; } .dtop #toPip { width: 32px; padding: 0; } }
body.pipw { min-width: 0; height: 100vh; margin: 0; display: flex; flex-direction: column; overflow: hidden; font-size: var(--fs-2); line-height: var(--lh-2); }
.pp-top { flex: none; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 var(--s2); border-bottom: 1px solid var(--line); background: var(--bg-a); }
.pp-top img { flex: none; width: 16px; height: 16px; border-radius: 4px; }
.pp-h { font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 700; letter-spacing: .04em; }
.pp-hs { color: var(--acc-fg); font-weight: 600; font-size: var(--fs-3); line-height: var(--lh-3); }
.pp-dot { flex: none; width: 7px; height: 7px; margin-left: 2px; border-radius: 50%; background: var(--dim2); }
.pp-dot.ok { background: var(--up); }
.pp-dot.err { background: var(--down); }
.pp-dot.busy { background: var(--acc); animation: pulse 1.1s ease-in-out infinite; }
.pp-st { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.pp-pause { flex: none; height: 24px; padding: 0 var(--s2); border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; white-space: nowrap; }
.pp-pause:hover { box-shadow: inset 0 0 0 1px var(--acc-line); }
.pp-pause.on { background: var(--acc); color: var(--acc-ink); box-shadow: none; }
.pp-tools { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 6px var(--s2); border-bottom: 1px solid var(--line); }
.pp-q { width: 100%; min-width: 0; height: 26px; padding: 0 var(--s2); border: 1px solid var(--line); border-radius: var(--r2); background: var(--card); color: var(--fg); font: inherit; font-size: var(--fs-2); line-height: var(--lh-2); }
.pp-q::placeholder { color: var(--dim2); }
.pp-q:focus { outline: none; border-color: var(--acc-line); }
.pp-chips { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.pp-chips .chip { height: 22px; padding: 0 6px; }
.pp-chips .chip .n { margin-left: 3px; }
.pp-now { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; max-height: 48px; overflow: hidden; }
.pp-now:empty { display: none; }
.pp-ng { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; }
.pp-nl { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; white-space: nowrap; }
.pp-nc { height: 20px; padding: 0 5px; border-radius: var(--r3); background: var(--card2); color: var(--fg); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 700; white-space: nowrap; }
.pp-nc:hover { background: var(--hover); }
.pp-nc.g { background: var(--acc-bg); color: var(--acc-fg); }
.pp-nm { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.pp-list { position: relative; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
.pp-list .state { padding: var(--s3); }
.pp-r { display: grid; grid-template-columns: 38px 12px minmax(0, max-content) minmax(0, 1fr) auto auto 18px; align-items: center; gap: 0 6px; min-height: 28px; padding: 2px var(--s2); border-bottom: 1px solid var(--line); cursor: pointer; }
.pp-r:hover { background: var(--hover); }
.pp-r.nw { animation: ppnew 8s ease-out; }
@keyframes ppnew { 0% { background-color: var(--acc-bg); box-shadow: inset 3px 0 0 var(--acc); } 60% { background-color: var(--acc-bg); box-shadow: inset 3px 0 0 var(--acc); } 100% { background-color: transparent; box-shadow: inset 3px 0 0 transparent; } }
.pp-t { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-m { width: 12px; text-align: center; font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 700; }
.pp-b { max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 700; }
.pp-w { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg2); }
.pp-x { font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-v { white-space: nowrap; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pp-v.dim { font-weight: 400; }
.pp-go { width: 18px; height: 18px; border-radius: var(--r3); color: var(--dim); font-size: var(--fs-2); line-height: 18px; }
.pp-go:hover { background: var(--card2); color: var(--fg); }
.pp-wait { display: block; width: 100%; height: 28px; background: var(--acc-bg); color: var(--acc-fg); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; border-bottom: 1px solid var(--acc-line); }
/* стенд (?mock=1&pipview=1): окно рамкой поверх страницы */
.pip-sim { position: fixed; right: 16px; bottom: 16px; z-index: 1000; width: 360px; height: 520px; max-width: calc(100vw - 32px); border: 1px solid var(--line2); border-radius: 10px; background: var(--bg); box-shadow: var(--shadow); }
/* ── конец блока «Лента в окне» ── */

/* 📐 как отработали переводы: досье кошелька и «Статистика → Правила» (25.11) */
.dw .tiles { margin-bottom: var(--s2); }
.dw-hs2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); margin: 4px 0 8px; }
.dw-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; min-width: 0; padding: 8px 10px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-2); line-height: var(--lh-2); }
.dw-hl { flex: 0 0 100%; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.dw-h .num { font-size: var(--fs-5); line-height: var(--lh-5); font-weight: 700; font-variant-numeric: tabular-nums; }
.dw-hs { flex: 0 0 100%; font-variant-numeric: tabular-nums; }
.dw-he { flex: 0 0 100%; font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; }
.dw-v { margin: 0 0 8px; padding: 6px 10px; border-radius: var(--r2); background: var(--card2); box-shadow: inset 3px 0 0 var(--line2); color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.dw-v.down { box-shadow: inset 3px 0 0 var(--down); }
.dw-v.up { box-shadow: inset 3px 0 0 var(--up); }
.r-dw { grid-template-columns: 38px minmax(0, 1fr) auto auto; }
.dw-m { white-space: nowrap; font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; }
.dw-fl { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
.dw-q { flex: 1 1 auto; width: 100%; min-width: 0; height: 30px; font-size: var(--fs-3); line-height: var(--lh-3); }
.dw-sub { margin: 8px 0 6px; }
.dw-chips .chip, .dw-oth .chip { max-width: 100%; min-width: 0; }
.dw-chips .chip .ell, .dw-oth .chip .ell { display: inline-block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.dw-oth { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); margin-top: var(--s2); }
.dw-res > .card, .dw-res > section { margin-top: var(--s3); }
@media (max-width: 420px) {
  .dw-h { padding: 6px 8px; }
  .dw-chips .chip .ell, .dw-oth .chip .ell { max-width: 200px; }
}
@media (max-width: 340px) { .dw-hs2 { grid-template-columns: minmax(0, 1fr); } }
/* ── 🪙 Логотипы монет везде (25.11): значок перед тикером — картинка CoinGecko (круглая) или заглушка — кружок с первой буквой
   (буква из data-l через ::before, в тексте тикера её нет). Размер — --ic: 16 px в строках, 18 — шапка монеты и поиск, 22 — шапка
   вида монеты, 14 — чипы, вкладки и окно «⧉ В окно». В контейнере с gap — без своего отступа. ── */
.c-ic {
  --ic: 16px; flex: none; position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  width: var(--ic); height: var(--ic); margin-right: 5px; border-radius: 50%; overflow: hidden; vertical-align: middle;
  background: var(--card2); box-shadow: inset 0 0 0 1px var(--line2); color: var(--dim);
  font-style: normal; font-weight: 700; letter-spacing: 0; text-transform: none; text-decoration: none;
}
.c-ic > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.c-ic:not(:empty) { background: none; box-shadow: none; }
.c-ic:empty::before { content: attr(data-l); color: var(--dim); font-size: calc(var(--ic) * .56); line-height: 1; font-weight: 700; }
.c-ic.wv-tk-ic { width: var(--ic); height: var(--ic); color: var(--dim); font-size: inherit; }
.who > .c-ic, .q-coin > .c-ic, .otb-go > .c-ic, .sugg .si > .c-ic, .cb-coin > .c-ic { margin-right: 0; }
.coin-chip > .c-ic, .pp-nc > .c-ic, .dnav button.nchip > .c-ic, .otb-pt > .c-ic { margin-right: 4px; }
.ch-tk > .c-ic { margin-right: 8px; }
.dcoin .nm > .c-ic { margin-right: 6px; }
.sugg .si { display: inline-flex; align-items: center; justify-content: center; }
.sugg .s-fav { margin-left: 4px; color: var(--acc-fg); font-size: var(--fs-1); }
.pp-b { max-width: 98px; }
/* ── конец блока «Логотипы монет» ── */

/* 🔏 Водяной знак (1.5.62, C2): плитка «@ник · код дня» поверх окна — цветом текста темы, очень бледно; щелчки и касания проходят
   насквозь (pointer-events: none). 28.11 (Moroz: «глаза мозолит» → Влад «Бледнее и реже»): 5% → 3%, плитка в 1.6 раза реже. Картинка плитки и её размер — из panel.js (--wm-img, --wm-w, --wm-h). */
.pwm {
  position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; -webkit-user-select: none; user-select: none;
  background: var(--fg); opacity: var(--wm-a, .03);
  -webkit-mask-image: var(--wm-img); mask-image: var(--wm-img);
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  -webkit-mask-size: var(--wm-w, 280px) var(--wm-h, 160px); mask-size: var(--wm-w, 280px) var(--wm-h, 160px);
}
:root[data-theme="light"] .pwm { --wm-a: .027; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .pwm { --wm-a: .027; }
}

/* 26.11 fp2611: ▦ кластеры (footprint) на «Графике» — режим графика: покупки и продажи по рынку по уровням цены, дельта, перекос, POC */
.fp-wrap { display: flex; flex-direction: column; min-width: 0; }
.fp-tb { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); min-height: 28px; margin-bottom: var(--s1); }
.fp-tb .grow { flex: 1 1 auto; }
.fp-host { min-height: 300px; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.fp-host > .state { min-height: 300px; }
.fp-s { fill: var(--down); }
.fp-b { fill: var(--up); }
.fp-m-bar .fp-s, .fp-m-bar .fp-b { opacity: .55; }
.fp-m-bar .fp-s.imb, .fp-m-bar .fp-b.imb { opacity: 1; }
.fp-t { fill: var(--fg); font-size: var(--fs-1); font-family: inherit; font-variant-numeric: tabular-nums; }
.fp-t.imb { font-weight: 700; }
.fp-t.z { fill: var(--dim2); }
.fp-poc { fill: none; stroke: var(--acc); stroke-width: 1.4; }
.fp-pocl { stroke: var(--acc); stroke-width: 2; stroke-linecap: round; }
.fp-zb { stroke: var(--up); stroke-width: 2.5; stroke-linecap: round; }
.fp-zs { stroke: var(--down); stroke-width: 2.5; stroke-linecap: round; }
.fp-part { opacity: .45; }
.fp-dt { font-size: var(--fs-1); font-family: inherit; font-weight: 600; font-variant-numeric: tabular-nums; }
.fp-dt.u { fill: var(--up); }
.fp-dt.d { fill: var(--down); }
.fp-dt.k { opacity: .6; font-weight: 400; }
.fp-db.u { fill: var(--up); }
.fp-db.d { fill: var(--down); }
.fp-db.k { opacity: .5; }
.fp-edge { stroke: var(--dim2); stroke-dasharray: 3 3; shape-rendering: crispEdges; }
.fp-edt { fill: var(--dim); font-size: var(--fs-1); font-family: inherit; }
.fp-lvl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-height: 18px; margin-top: 2px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; }
.fp-lvl b { color: var(--fg2); font-weight: 600; }
.fp-lvl .up, .fp-lvl b.up { color: var(--up); }
.fp-lvl .down, .fp-lvl b.down { color: var(--down); }
.fp-lvl b.acc-t { color: var(--acc-fg); }
.fp-leg { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin-top: var(--s1); color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.fp-leg > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.fp-leg i { display: inline-block; flex: none; width: 10px; height: 8px; border-radius: 2px; }
.fp-leg i.s { background: var(--down); opacity: .7; }
.fp-leg i.b { background: var(--up); opacity: .7; }
.fp-leg i.p { box-shadow: inset 0 0 0 1.5px var(--acc); }
.fp-leg i.pl { height: 2px; border-radius: 1px; background: var(--acc); }
.fp-leg i.z { width: 3px; height: 10px; background: var(--up); }
.fp-stat { display: flex; align-items: center; flex-wrap: wrap; gap: 4px var(--s2); min-height: 18px; margin-top: var(--s2); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.fp-stat .grow { flex: 1 1 auto; }
.cpk-fp { background: linear-gradient(90deg, var(--down) 0 45%, transparent 45% 55%, var(--up) 55%); }
@media (max-width: 479px) {
  .fp-leg { gap: 2px 10px; }
  .fp-stat { font-size: var(--fs-1); line-height: var(--lh-1); }
}
/* ── конец блока fp2611 ── */

/* ▶ Кит на графике — «Проиграть по монете» (26.11, replay по образцу CandleCircle): значки сделок кита поверх свечей, пунктир
   позиций, итог у закрытия, подсветка свечи под курсором; карточка с «В этой свече» и списком позиций; кнопка в паспорте. */
.rp-g { pointer-events: none; }
.rp-hl { fill: var(--acc-bg); }
.rp-seg { stroke-width: 1.3; stroke-dasharray: 5 4; opacity: .7; fill: none; }
.rp-seg.up { stroke: var(--up); } .rp-seg.down { stroke: var(--down); }
.rp-seg.open { stroke-dasharray: 1.5 3.5; }
.rp-seg.on { stroke-width: 2.4; opacity: 1; stroke-dasharray: none; }
.rp-m { stroke-width: 1.4; stroke-linejoin: round; }
.rp-m.buy { fill: var(--up); stroke: var(--up); } .rp-m.sell { fill: var(--down); stroke: var(--down); }
.rp-m.cut { fill: var(--card); }
.rp-m.close, .rp-m.flip { stroke: var(--fg); stroke-width: 1.2; }
.rp-m.dim { opacity: .3; }
.rp-res { font-size: var(--fs-1); font-weight: 700; font-variant-numeric: tabular-nums; paint-order: stroke; stroke: var(--card); stroke-width: 3px; stroke-linejoin: round; }
.rp-res.up { fill: var(--up); } .rp-res.down { fill: var(--down); }
.rp-rd { color: var(--acc-fg); font-weight: 600; }
.mk-key.rp-key { border-radius: 2px; background: linear-gradient(90deg, var(--up) 50%, var(--down) 50%); }
.chip.rp-chip { color: var(--acc-fg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.card.rp { border-color: var(--acc-line); }
.rp-bx { margin: var(--s3) 0 var(--s2); padding: var(--s2) var(--s3); border-radius: var(--r2); background: var(--card2); min-height: 64px; }
.rp-bx-e { color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); padding: var(--s2) 0; }
.rp-bx-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); margin-bottom: var(--s1); font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; }
.rp-bx-h .grow { flex: 1 1 auto; }
.rp-bx-h .up { color: var(--up); font-weight: 600; } .rp-bx-h .down { color: var(--down); font-weight: 600; }
.rp-th, .rp-r { display: grid; grid-template-columns: 70px minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, .8fr) 64px; gap: var(--s2); align-items: baseline; }
.rp-th { padding: 2px 0; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.rp-r { padding: 3px 0; border-top: 1px solid var(--line); font-size: var(--fs-2); line-height: var(--lh-2); font-variant-numeric: tabular-nums; }
.rp-r > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-r .c-t { color: var(--dim); }
.rp-r .c-a.up b { color: var(--up); } .rp-r .c-a.down b { color: var(--down); }
.rp-r .c-a .kb { margin-left: var(--s1); }
.rp-r .c-p, .rp-r .c-s, .rp-r .c-f, .rp-th .c-p, .rp-th .c-s, .rp-th .c-f { text-align: right; }
.rp-r .c-r { color: var(--dim); } .rp-r .c-r.mk { color: var(--acc-fg); }
.rp-more { padding-top: var(--s1); font-size: var(--fs-2); line-height: var(--lh-2); }
.rp-leg { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin: 0 0 var(--s2); color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); }
.rp-leg b.up { color: var(--up); } .rp-leg b.down { color: var(--down); }
.acc-t { color: var(--acc-fg); }
.wps-rp { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s3); padding: var(--s2) var(--s3); border-radius: var(--r2); background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.wps-rp-l { color: var(--acc-fg); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 700; white-space: nowrap; }
.wps-rp .chips { display: flex; flex-wrap: wrap; gap: var(--s1); margin: 0; }
.wps-rp .chip { gap: var(--s1); color: var(--fg); background: var(--card); }
.wps-rp .chip.on { color: var(--acc-fg); box-shadow: inset 0 0 0 1px var(--acc-line); }
@media (max-width: 600px) {
  .rp-th, .rp-r { grid-template-columns: 58px minmax(0, 1fr) minmax(0, .8fr) minmax(0, .7fr); }
  .rp-th .c-f, .rp-th .c-r, .rp-r .c-f, .rp-r .c-r { display: none; }
}
/* 🏆 Рейтинг китов HL (26.11) — «Весь рынок» → «Киты HL». */
.hb-bar { display: flex; align-items: center; gap: var(--s2); min-width: 0; margin-bottom: var(--s2); }
.hb-bar > .chips { flex: 1 1 auto; margin: 0; }
.hb-bar > .chip { flex: none; }
.hb-who { gap: 6px; }
.hb-who .ava { width: 18px; height: 18px; border-radius: 50%; }
.hb-who .nm { flex: 0 1 auto; min-width: 56px; }
.hb-who .kb { flex: none; }
.kb.hb-whale { color: var(--acc-fg); background: var(--acc-bg); }
.hb-eye { flex: none; font-size: var(--fs-2); }
.hb-hold { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hb-hold .kb { flex: none; min-width: 18px; justify-content: center; }
.hb-hold .coin-chip { gap: 4px; }
.hb-hold .num.up { color: var(--up); } .hb-hold .num.down { color: var(--down); }
.icon-btn.hb-f { filter: grayscale(1); opacity: .55; }
.icon-btn.hb-f:hover { opacity: 1; background: var(--hover); }
.icon-btn.hb-f.on { filter: none; opacity: 1; background: var(--acc-bg); box-shadow: inset 0 0 0 1px var(--acc-line); }
.icon-btn.hb-f[disabled] { cursor: progress; }
@media (max-width: 600px) {
  .hb-who .ava, .hb-who .kb.up { display: none; }
}

/* ── 🧪 «Открыть сделку» (26.11, бумага с телефона): форма вида «Бумага» — дашборд, боковая панель, Mini App ── */
.ppf { display: grid; gap: var(--s2); min-width: 0; }
.ppf-coin { position: relative; display: flex; align-items: center; min-width: 0; }
.ppf-coin .ppf-q { width: 100%; min-width: 0; font-weight: 600; }
.ppf-coin.ic .ppf-q { padding-left: 34px; }
.ppf-coin:not(.ic) .ppf-ci { display: none; }
.ppf-coin .ppf-ci { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); display: inline-flex; pointer-events: none; }
.ppf-coin .sugg { top: calc(100% + 4px); }
.ppf-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s2); }
.ppf-side button { height: 36px; min-width: 0; border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 700; }
.ppf-side button:hover { color: var(--fg); }
.ppf-side button.l.on { background: var(--up-bg); color: var(--up); box-shadow: inset 0 0 0 1px var(--up); }
.ppf-side button.s.on { background: var(--down-bg); color: var(--down); box-shadow: inset 0 0 0 1px var(--down); }
.ppf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s2); }
.ppf-f { display: grid; gap: 3px; min-width: 0; align-content: start; }
.ppf-l { color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.ppf-in { display: flex; align-items: center; gap: 4px; min-width: 0; }
.ppf-in input { flex: 1 1 auto; width: 100%; min-width: 0; font-variant-numeric: tabular-nums; }
.ppf-in .seg { height: var(--ctl-h); }
.ppf-in .seg button { height: calc(var(--ctl-h) - 4px); padding: 0 7px; }
.ppf-x { flex: none; color: var(--dim); font-weight: 600; }
.ppf-h { min-height: var(--lh-1); color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ppf-h.bad, .ppf-err { color: var(--down); }
.ppf-h.warn { color: var(--acc-fg); }
.ppf-sum { padding: var(--s2) var(--s3); border-radius: var(--r2); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ppf-sub { margin-top: -4px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.ppf-sub:empty, .ppf-err:empty { display: none; }
.ppf-err { font-size: var(--fs-2); line-height: var(--lh-2); }
.ppf-go { width: 100%; height: 38px; font-size: var(--fs-3); line-height: var(--lh-3); font-weight: 700; }
.ppf-go.l { background: var(--up); color: #0b0e11; }
.ppf-go.s { background: var(--down); color: #fff; }
.ppf-go:disabled { opacity: .5; cursor: default; filter: none; }
:root[data-theme="light"] .ppf-go.l { color: #fff; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .ppf-go.l { color: #fff; } }

/* ── 26.11 uximp: улучшения по разбору ux2611 (Влад выбрал пп. 1–5) ── */
/* шапка таблиц: подпись текстовой колонки — влево, как её ячейки (было вправо у всех, кроме первой: «Откуда → Куда» в ленте) */
.tbl > .th > span.tc { text-align: left; }
/* «Обзор» монеты колонками (.g3m — три столбика .stack); уже 1100 px — одна колонка в прежнем порядке (order у карточек) */
@media (max-width: 1099.98px) {
  .g3m > .stack { display: contents; }
  .g3m > .stack > * { grid-column: 1 / -1; min-width: 0; margin: 0; }
}
/* лента: «через 1 ч / 4 ч»; узко — подстрокой под суммой */
.t-feed .f-aft { font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-feed .f-aft-n { display: none; font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
@container (max-width: 470px) { .t-feed .f-aft-n { display: block; } }
/* статистика: подпись ячеек над таблицей */
.st-legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0 0 var(--s2); color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.st-legend b { color: var(--fg2); font-weight: 600; }
/* шапка монеты: 🧪 ▲ Лонг / ▼ Шорт */
.ch-ppr { flex: none; display: inline-flex; align-items: center; gap: 2px; height: var(--ctl-h); padding: 0 3px 0 7px; border-radius: var(--r2); box-shadow: inset 0 0 0 1px var(--line); }
.ch-ppr-i { margin-right: 2px; font-size: var(--fs-2); line-height: 1; cursor: default; }
.ch-ppr button { height: calc(var(--ctl-h) - 8px); padding: 0 8px; border-radius: var(--r3); background: none; font-size: var(--fs-2); line-height: 1; font-weight: 700; white-space: nowrap; }
.ch-ppr button.l { color: var(--up); }
.ch-ppr button.s { color: var(--down); }
.ch-ppr button.l:hover, .ch-ppr button.l:focus-visible { background: var(--up-bg); }
.ch-ppr button.s:hover, .ch-ppr button.s:focus-visible { background: var(--down-bg); }
@media (max-width: 560px) {
  .ch-ppr { padding-left: 5px; }
  .ch-ppr button { padding: 0 6px; }
}

/* ── 26.11 uximp2611b: «Обзор» монеты (Влад по BULLA) ── */
/* «куда тянет цену» — строкой чипов под событиями, без заливки: это карта, а не событие */
.bchip.b-near, main > .brief .bchip.b-near { background: transparent; }
.bchip.b-near .bi { font-weight: 700; }
.bchip.t-neu.b-near .bi { color: var(--dim); }
main > .brief-near { margin-top: calc(-1 * var(--s2)); }
/* подпись под полоской исходов */
.ostrip-l { display: flex; flex-wrap: wrap; gap: 2px var(--s3); margin: calc(-1 * var(--s1)) 0 var(--s2); color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); }
.ostrip-l span { display: inline-flex; align-items: center; gap: 4px; }
.ostrip-l i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--line2); }
.ostrip-l i.ok { background: var(--up); } .ostrip-l i.no { background: var(--down); }
/* новости: свежих нет — одна серая строка */
.nw-old { padding: var(--s1) 0; color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }

/* ── 26.11 pg2611-home: «Сейчас» ── */
/* строка окна: «1 ч · 4 ч · 24 ч» и «по видам · по монетам» — узко переносится («Вчера сигналы…» — на следующую строку) */
.hm-bar { flex-wrap: wrap; row-gap: var(--s2); }
.hm-vh { flex-wrap: wrap; }
/* пустые карточки — тонкими строками одной полосой */
.hm-empties { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--gap-card); }
.hm-empty { display: inline-flex; align-items: center; gap: var(--s2); min-height: 32px; max-width: 100%; padding: var(--s1) var(--s3); border: 0; border-radius: var(--r2); background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font: inherit; font-size: var(--fs-2); line-height: var(--lh-2); text-align: left; }
.hm-empty .ic { flex: none; filter: grayscale(1); opacity: .7; }
.hm-empty .alt { color: var(--acc-fg); font-weight: 600; white-space: nowrap; }
button.hm-empty.click { cursor: pointer; }
button.hm-empty.click:hover, button.hm-empty.click:focus-visible { background: var(--hover); box-shadow: inset 0 0 0 1px var(--line2); }
/* лидеры: рост и падение — столбиком */
.lead-g { display: grid; gap: var(--s2); }
.lead-g .day { margin-top: 0; }
.r-lead .who .sub-line { min-width: 0; }
/* «по монетам»: что было — в две строки, не обрезая */
.t-hmc .hm-parts { display: inline; white-space: normal; overflow-wrap: anywhere; font-size: var(--fs-2); line-height: var(--lh-2); }
.t-hmc .tc:has(.hm-parts) { white-space: normal; overflow: visible; text-overflow: clip; }
.t-hmc .acc-t { color: var(--acc-fg); }

/* ── 26.11 pg3: 🧭 скринер — сила к капе, мелочь пустой ячейкой, КОМАНДНЫЕ словами, мини-график и быстрые действия ── */
/* монета — по содержимому: значок, тикер, капа второй строкой */
.t-scr .scr-who { gap: 6px; }
.t-scr .scr-nm { display: inline-flex; flex-direction: column; min-width: 0; }
.t-scr .scr-nm .scr-b { line-height: var(--lh-2); white-space: nowrap; }
.t-scr .scr-nm .cap { display: block; margin: 0; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 400; white-space: nowrap; }
/* цена: мини-график окна и ход */
.t-scr .scr-px { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.t-scr .scr-px .spark { flex: none; }
/* сила: от 1% капы — золотом, меньше 0.1% — серым */
.scr-str b { font-variant-numeric: tabular-nums; }
.scr-str.s-hi b, .scr-card .s-net.scr-str.s-hi { color: var(--acc-fg); }
.scr-str.dim b, .scr-card .s-net.scr-str.dim { color: var(--dim); }
.t-scr .rv b, .t-scr .rv small { white-space: nowrap; }
.t-scr .scr-team small { max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
/* мелочь: пустая ячейка, сумма — в подсказке */
.scr-dust { display: inline-block; min-width: 32px; min-height: 18px; cursor: help; }
/* подсказки на шапках — пунктир под подписью */
.t-scr > .th > [title] { text-decoration: underline dotted var(--dim2); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.t-scr > .th > span[title] { cursor: help; }
.scr-legend { margin: var(--s1) 0 var(--s2); }
.scr-legend b.up { color: var(--up); }
.scr-legend b.down { color: var(--down); }
/* быстрые действия: в таблице — при наведении и фокусе (без мыши — всегда), в карточке — по «⋯» или долгому нажатию */
.scr-acts { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.t-scr .scr-acts { opacity: 0; transition: opacity .12s ease; }
.t-scr > .row:hover .scr-acts, .t-scr > .row:focus-within .scr-acts { opacity: 1; }
@media (hover: none) { .t-scr .scr-acts { opacity: .8; } }
.sa-b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: var(--r3); color: var(--dim); font-size: var(--fs-2); line-height: 1; transition: background-color .12s ease, color .12s ease; }
.sa-b:hover, .sa-b:focus-visible { color: var(--acc-fg); background: var(--acc-bg); }
.sa-b.fav.on, .sa-b.wl-btn.on { color: var(--acc-fg); }
.sa-ppr { display: inline-flex; align-items: center; gap: 1px; height: 24px; margin-left: 2px; padding: 0 2px 0 5px; border-radius: var(--r3); box-shadow: inset 0 0 0 1px var(--line); }
.sa-ppr-i { margin-right: 1px; font-size: var(--fs-1); line-height: 1; cursor: default; }
.sa-ppr button { min-width: 20px; height: 20px; padding: 0 4px; border-radius: 4px; background: none; font-size: var(--fs-2); line-height: 1; font-weight: 700; white-space: nowrap; }
.sa-ppr button.l { color: var(--up); }
.sa-ppr button.s { color: var(--down); }
.sa-ppr button.l:hover, .sa-ppr button.l:focus-visible { background: var(--up-bg); }
.sa-ppr button.s:hover, .sa-ppr button.s:focus-visible { background: var(--down-bg); }
.scr-acts.full { flex-wrap: wrap; gap: var(--s1); }
.scr-acts.full .sa-ppr { height: var(--ctl-h); padding: 0 3px 0 7px; border-radius: var(--r2); }
.scr-acts.full .sa-ppr button { height: calc(var(--ctl-h) - 8px); padding: 0 8px; border-radius: var(--r3); }
/* карточка (узко): мини-график, сила справа, «⋯»; действия — строкой под тегами */
.scr-card .scr-sp { display: inline-flex; flex: none; align-items: center; }
.scr-card .sa-more { flex: none; min-width: 28px; height: 28px; margin: -2px -6px -2px 0; font-size: var(--fs-3); font-weight: 700; letter-spacing: .04em; }
.scr-card .sa-more.on { color: var(--acc-fg); background: var(--acc-bg); }
.scr-card .s3 { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); }
.scr-card.act { border-color: var(--line2); }
@media (hover: none) { .scr-card { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; } }

/* 26.11 (pg2, «Лента»): серия одной строкой (×5 ▸ и «за 2 ч 11 мин»), её строки с отступом, кит и фонд — имя и адрес серым, «⭐ Мои монеты» */
.f-cnt { display: inline-flex; align-items: center; gap: 3px; flex: none; height: 18px; padding: 0 6px; border-radius: var(--r3); background: var(--acc-bg); color: var(--acc-fg); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.f-car { font-style: normal; font-size: 9px; line-height: 1; }
.f-span { flex: none; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.f-nm { display: inline-flex; align-items: baseline; gap: var(--s1); min-width: 0; overflow: hidden; }
.f-nm > .side-l, .f-nm > .addr-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-adr { flex: none; color: var(--dim2); font-size: var(--fs-1); line-height: var(--lh-1); white-space: nowrap; }
.f-many { color: var(--fg2); }
.t-feed > .row.f-sub { background: var(--card2); box-shadow: inset 2px 0 0 var(--acc-line); }
.fi.f-sub { margin-left: var(--s4); background: var(--card2); }
.fi.f-grp .t1 .kind { flex: none; }
.fi .t2 .f-span { margin-left: auto; }
.chip.f-mine { gap: var(--s1); }
.feed-tools .line > .chip.f-mine { margin-left: var(--s2); }
@container (max-width: 470px) { .t-feed .tx-what .f-span, .t-feed .tx-what .mu-b { display: none; } .chips.row1 > .chip.f-mine { order: -1; } }

/* 26.11 (pg2611-stats): «Статистика» — вывод словами («лучше наоборот», «в минусе»), «мало данных» в ячейке срока, мини-график
   накопленного итога по дням, колы и бумага, подпись короткого окна; имя вида переносится, а не режется. */
.st-tiles { max-width: 860px; }
.vchip.v-rev { color: var(--down); background: var(--down-bg); box-shadow: inset 0 0 0 1px var(--down); }
.vchip.v-minus { color: var(--down); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.t-st .st-c.few b { color: var(--dim2); font-weight: 500; font-size: var(--fs-1); white-space: nowrap; }
.t-st .st-c.few small { color: var(--dim2); }
.st-spc { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 1px; line-height: 1; }
.st-spc small { color: var(--dim); font-size: var(--fs-1); line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-spc small.up { color: var(--up); }
.st-spc small.down { color: var(--down); }
.st-spc.few .spark { opacity: .45; }
.spark.st-sp .sp-z { stroke: var(--line2); stroke-width: 1; stroke-dasharray: 2 2; }
.st-note { margin: 0 0 var(--gap-card); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.t-st .who.st-k { flex-wrap: wrap; row-gap: 2px; }
.t-st .who.st-k .nm { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.t-st .st-spm { display: none; }
@container (max-width: 470px) { .t-st .st-spm { display: inline-flex; align-items: center; } }
.t-st .pp-mk.cl { color: var(--down); }

/* 02.12 (ls0212): ⚖️ Long/Short и Smart Money — вкладка «Рынок». Линии L/S — категориями --c1…--c3 (обе темы), тейкеры — зелёным
   выше 1 и красным ниже; Smart Money — сетка «группа × лонги/шорты», ячейки переносятся (телефон без прокрутки вбок). */
.ls-host { position: relative; margin-top: var(--s3); cursor: crosshair; }
.ls-main { position: relative; height: 128px; }
body.dash .ls-main { height: 168px; }
.ls-tk { position: relative; height: 42px; margin-top: var(--s1); border-top: 1px solid var(--line); }
body.dash .ls-tk { height: 52px; }
.ls-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ls-l { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ls-l.c1 { stroke: var(--c1); } .ls-l.c2 { stroke: var(--c2); } .ls-l.c3 { stroke: var(--c3); }
.ls-z { stroke: var(--line2); stroke-width: 1; stroke-dasharray: 3 3; }
.ls-tl { fill: none; stroke: var(--fg2); stroke-width: 1.25; stroke-linejoin: round; opacity: .8; }
.ls-ta { stroke: none; fill-opacity: .3; }
.ls-ta.up { fill: var(--up); } .ls-ta.down { fill: var(--down); }
.ls-dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--card); pointer-events: none; }
.ls-dot.c1 { background: var(--c1); } .ls-dot.c2 { background: var(--c2); } .ls-dot.c3 { background: var(--c3); }
.ls-ax { position: absolute; left: 0; padding: 0 4px; border-radius: 4px; background: var(--card); color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; pointer-events: none; opacity: .9; }
.ls-ax.hi { top: 0; } .ls-ax.lo { bottom: 0; }
.ls-tk .ls-ax.hi { top: 2px; pointer-events: auto; }
.ls-v { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line2); pointer-events: none; }
.ls-v.hide { display: none; }
.ls-ts { display: flex; justify-content: space-between; gap: var(--s2); margin-top: 2px; color: var(--dim); font-size: var(--fs-1); line-height: var(--lh-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ls-k { display: inline-block; width: 10px; height: 3px; margin-right: 5px; border-radius: 2px; vertical-align: middle; }
.ls-k.c1 { background: var(--c1); } .ls-k.c2 { background: var(--c2); } .ls-k.c3 { background: var(--c3); }
.ls-k.tk { background: linear-gradient(90deg, var(--up) 50%, var(--down) 50%); }
.ls-ex { margin-top: var(--s2); color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); overflow-wrap: anywhere; }
.ls-note { margin-top: var(--s2); color: var(--dim); font-size: var(--fs-2); line-height: var(--lh-2); }
.ls-smw { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.ls-smh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--s2); margin: 0 0 var(--s2); }
.ls-smh .ls-smt { color: var(--dim); font-weight: 400; text-transform: none; letter-spacing: 0; }
.ls-sm { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: var(--s1) var(--s2); align-items: stretch; }
.ls-sh { padding: 0 var(--s2); font-size: var(--fs-1); line-height: var(--lh-1); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.ls-sg { align-self: center; color: var(--fg2); font-size: var(--fs-2); line-height: var(--lh-2); font-weight: 600; }
.ls-sc { min-width: 0; padding: 6px var(--s2); border-radius: var(--r2); background: var(--card2); font-size: var(--fs-2); line-height: var(--lh-2); overflow-wrap: anywhere; }
.ls-sc.nil { display: flex; align-items: center; }
.ls-sc .ls-s1 b { font-size: var(--fs-3); font-weight: 700; }
.ls-sc .ls-s2 { color: var(--fg2); }
.ls-sc .ls-s2.dim { color: var(--dim); }
.ls-sc .ls-s2 b { font-weight: 700; }
.ls-vd { margin: var(--s2) 0 0; }
