/* ════════════════════════════════════════════════════════════
   Страница токена разлоков: /unlocks/<TICKER> (webapp/js/unlock-token.js)
   Стиль — как у графика арбитража: нейтральные токены темы, зелёный/красный
   только для свечей, фандинга и знаковых процентов; разлоки — золотые кружки.
   ════════════════════════════════════════════════════════════ */
#page-unlock.active {
  height: auto; min-height: 100%;
  /* без полей сверху и по бокам: график вплотную к шапке и меню, как на
     арбитраже (владелец, 09.11.2026); снизу — запас под таблицы разлоков */
  gap: 12px; padding: 0 0 28px;
  box-sizing: border-box;
  font-variant-numeric: tabular-nums;
  color: var(--text-1);
}
/* шапка и меню страницы живут вне #page-unlock (#topbar, body) */
#page-unlock .ut-pos, .ut-tbar .ut-pos, .ut-vmenu .ut-pos { color: var(--c-pos); }
#page-unlock .ut-neg, .ut-tbar .ut-neg, .ut-vmenu .ut-neg { color: var(--c-neg); }
#page-unlock .ut-dim, .ut-tbar .ut-dim, .ut-vmenu .ut-dim { color: var(--text-3); font-weight: 400; }
.ut-sp { flex: 1; }
#page-unlock .ut-warn { color: var(--brand); }

/* ── шапка: в #topbar сайта (класс .favs-toolbar из app.css — ряд,
   на узких прокрутка вбок); без шапки сайта — над графиком (.ut-bar) ── */
/* шапка графика (.chart-tile-header из app.css) — первой строкой блока
   графика, как у плитки арбитража; на узких листается вбок */
.ut-tbar { gap: var(--sp-2, 8px); overflow-x: auto; scrollbar-width: none; border-radius: 0; }
.ut-tbar::-webkit-scrollbar { display: none; }
.ut-tbar > * { flex-shrink: 0; }
.ut-tbar .chart-tile-spacer { flex: 1 1 8px; min-width: 8px; }
.ut-bar { flex-wrap: wrap; min-height: 34px; }
.ut-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-3); text-decoration: none; font-size: 13px;
  padding: 6px 10px 6px 4px; border-radius: var(--r-md);
}
.ut-back:hover { color: var(--text-1); background: var(--bg-hover); }
.ut-tk { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ut-tk b { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: .2px; }
.ut-nm { color: var(--text-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }

.ut-venue { position: relative; }
/* биржа — зелёная пилюля, как пара на плитке арбитража (.pair-pill) */
.ut-vbtn { height: 28px; padding: 0 10px 0 9px; background: none; cursor: pointer; font-family: inherit; }
.ut-vbtn:disabled { cursor: default; }
.ut-vbtn:disabled:hover { background: none; box-shadow: none; }
.ut-vbtn .venue-logo { width: 14px; height: 14px; border-radius: 3px; }
.ut-vbtn:disabled .ut-chev, .ut-vbtn.single .ut-chev { display: none; }
.ut-vcur { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.ut-vcur .pill-coin { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; }
.ut-vbtn .ut-chev { background: currentColor; opacity: .8; }
.ut-chev {
  width: 9px; height: 9px; background: var(--text-3);
  -webkit-mask: no-repeat center / 9px 9px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'><path d='M1 1.4 5 4.6 9 1.4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  mask: no-repeat center / 9px 9px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'><path d='M1 1.4 5 4.6 9 1.4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
/* меню бирж и ТФ живут в body (fixed, место ставит JS): ряд шапки
   листается вбок и обрезал бы выпадашки */
.ut-vmenu {
  display: none; position: fixed; z-index: 1000; top: 60px; left: 12px;
  min-width: 300px; max-height: 360px; overflow: auto; padding: 4px; box-sizing: border-box;
  background: var(--bg-modal); border: 1px solid var(--border-hi); border-radius: var(--r-md);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.ut-vmenu.open { display: block; }
.ut-vi {
  display: grid; grid-template-columns: 16px 1fr auto 74px; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: var(--r-sm); cursor: pointer; font-size: 12.5px; white-space: nowrap;
}
.ut-vi:hover { background: var(--bg-hover); }
.ut-vi.on { background: var(--bg-card); }
.ut-vi.on .n { color: var(--brand); }
.ut-vi .f { font-family: var(--font-mono); font-size: 12px; text-align: right; }
.ut-vi .o { font-family: var(--font-mono); font-size: 11.5px; text-align: right; }

/* таймфрейм списком — как у графика арбитража (.tf-dd из app.css) */
/* таймфрейм и «поделиться» стоят в ряду чипов панелей (.ut-ptb) сразу за
   BTC: размеры — как у чипа .ptb-dd-btn (28px, --r-sm, --bg-card); у
   .tf-dd-btn из app.css они такие и есть */
.ut-tfdd { display: inline-flex; flex: none; }
.ut-tfdd .tf-dd-btn { font-family: inherit; }
.ut-tfmenu {
  display: none; position: fixed; z-index: 1000; top: 60px; left: 12px;
  min-width: 84px; padding: 4px; overflow: auto; box-sizing: border-box;
  background: var(--bg-modal); border: 1px solid var(--border-hi);
  border-radius: var(--r-md); box-shadow: 0 18px 44px rgba(0,0,0,.5);
}
[data-theme="light"] .ut-tfmenu, [data-theme="light"] .ut-vmenu { box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.ut-tfmenu.open { display: block; animation: pageEnter .16s cubic-bezier(.16,1,.3,1); }
.ut-tfmenu .tf-dd-opt { font-family: inherit; }
/* поделиться: квадратная кнопка со стрелкой, как .btn-share арбитража */
.ut-share.tile-btn {
  flex: none; width: 28px; min-width: 28px; height: 28px; padding: 0; cursor: pointer;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text-2);
}
.ut-share.tile-btn:hover { border-color: var(--outline); color: var(--text-1); }
/* закладка «в избранное» перед «поделиться»: сохранено — золотая, залитая */
.ut-fav.tile-btn { display: inline-flex; align-items: center; justify-content: center; }
.ut-fav.tile-btn.on, .ut-fav.tile-btn.on:hover { color: #F5B50A; }
.ut-fav.tile-btn.on svg { fill: #F5B50A; filter: drop-shadow(0 0 5px rgba(245,181,10,.45)); }
/* наложение BTC: кнопка-переключатель и подпись значения */
.ut-btc {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border: 1px solid var(--tb-chip-bd); border-radius: var(--r-md); background: none;
  color: var(--text-3); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.ut-btc i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #F7931A; }
.ut-btc:hover { color: var(--text-1); background: var(--tb-chip-bg-hi); }
.ut-btc.on { color: var(--text-1); border-color: rgba(247, 147, 26, .55); background: rgba(247, 147, 26, .10); }
.ut-btc.on i { background: #F7931A; }
.ut-btc-v { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; color: var(--text-3); }
.ut-btc-v i { width: 8px; height: 8px; border-radius: 50%; background: #F7931A; }
.ut-btc-v b { color: #F7931A; }
/* объём и OI — те же переключатели, свой цвет точки */
.ut-tvol i { border-color: var(--text-3); }
.ut-tvol.on { border-color: var(--border-hi); background: var(--tb-chip-bg-hi); }
.ut-tvol.on i { background: var(--text-3); }
.ut-toi i { border-color: var(--c-info); }
.ut-toi.on { border-color: rgba(59, 130, 246, .55); background: rgba(59, 130, 246, .10); }
.ut-toi.on i { background: var(--c-info); }
.ut-btc:disabled { opacity: .45; cursor: default; }
.ut-btc:disabled:hover { color: var(--text-3); background: none; }
.ut-vol-v { margin-left: 10px; color: var(--text-3); }
.ut-oi-v { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; color: var(--text-3); }
.ut-oi-v i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-info); }
.ut-oi-v b { color: var(--c-info); }

.ut-ext { display: flex; gap: 12px; font-size: 12px; white-space: nowrap; margin-left: 4px; }
.ut-ext:empty { display: none; }
.ut-ext a { color: var(--text-3); text-decoration: none; }
.ut-ext a:hover { color: var(--text-1); }

/* ── график + правая панель ──
   высота — всё, что осталось в #content под шапкой (--ut-mh считает JS),
   без верхнего предела: на большом мониторе график почти на весь экран */
.ut-main {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--ut-sw, 290px); gap: 0;
  height: var(--ut-mh, calc(var(--app-h, 100dvh) - 140px));
  min-height: 480px;
  /* одна рамка на график и панель, как плитка арбитража */
  background: var(--bg-panel); border: 0; border-bottom: 1px solid var(--border); border-radius: 0; overflow: hidden;
}
.ut-main > .ut-chart { border: 0; border-radius: 0; }
/* график — как плитка арбитража: фон --bg, ряд панелей сверху, полосы
   вплотную через линии 1px */
.ut-chart {
  position: relative; min-width: 0; min-height: 0;
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
}
.ut-cv { position: relative; flex: 1 1 auto; min-height: 0; }
/* колонка панелей: с неё JS снимает zoom страницы (fixZoom) — панели,
   разделители, общая вертикаль и карточки живут в пикселях полотна */
.ut-cvz { position: absolute; inset: 0; display: flex; flex-direction: column; }
/* тач: все жесты на колонке панелей (щипок, шкала цены, протяжка по времени)
   забирает сам график — браузер не перехватывает их как прокрутку страницы
   (как .chart-main арбитража, app.css). Страница листается за всё, что вне
   колонки: шапка, панель справа/под графиком, таблицы */
@media (pointer: coarse) { .ut-cvz { touch-action: none; overscroll-behavior: none; } }
/* ряд «ЦЕНА / ФАНДИНГ / ОИ / ОБЪЁМ / BTC» (.pane-toolbar, .ptb-dd-btn арбитража) */
.ut-ptb { flex-wrap: nowrap; gap: 6px; overflow: hidden; }
.ut-ptb .ptb-scroll {
  display: flex; align-items: center; gap: 6px; min-width: 0;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; touch-action: pan-x;
}
.ut-ptb .ptb-scroll::-webkit-scrollbar { display: none; }
.ut-chip { flex-shrink: 0; white-space: nowrap; }
.ut-chip .ptb-group { font-weight: 700; }
/* включена — как группа арбитража с числом панелей: светлая подпись и
   значок (галочка цветом своего ряда: фандинг зелёный, ОИ синий, BTC рыжий) */
.ut-chip .ptb-cnt { display: none; }
.ut-chip.has-on .ptb-cnt {
  display: inline-flex;
  color: var(--dot, var(--brand)); border-color: var(--dot, var(--brand));
  background: color-mix(in srgb, var(--dot, var(--brand)) 14%, transparent);
}
.ut-c-fund { --dot: var(--c-pos); }
.ut-c-oi { --dot: var(--c-info); }
.ut-c-vol { --dot: var(--text-2); }
.ut-c-btc { --dot: #F7931A; }
.ut-chip:disabled { opacity: .45; cursor: default; }
/* «ОИ» / «Объём»: число выбранных ног и стрелка меню «из чего считать» */
.ut-chip-n { font-size: 10.5px; font-weight: 700; color: var(--brand); margin-left: -2px; }
.ut-chip-n:empty { display: none; }
.ut-chip-car { margin: -6px -8px -6px 2px; padding: 6px 8px 6px 6px; color: var(--text-3); font-size: 10px; border-left: 1px solid var(--border); }
.ut-chip-car:hover { color: var(--text-1); }
.ut-smenu {
  display: none; position: fixed; z-index: 1000; top: 60px; left: 12px;
  width: 300px; max-width: calc(100vw - 16px); overflow: auto; padding: 8px; box-sizing: border-box;
  background: var(--bg-modal); border: 1px solid var(--border-hi); border-radius: var(--r-md);
  box-shadow: 0 18px 44px rgba(0,0,0,.5); font-size: 12.5px;
}
[data-theme="light"] .ut-smenu { box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.ut-smenu.open { display: block; }
.ut-sm-h { font-weight: 700; padding: 2px 4px 8px; }
.ut-sm-as { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.ut-sm-a {
  font: inherit; font-size: 12px; padding: 4px 8px; border-radius: var(--r-sm); cursor: pointer;
  background: transparent; border: 1px solid var(--border); color: var(--text-2);
}
.ut-sm-a:hover { color: var(--text-1); border-color: var(--border-hi); }
.ut-sm-a.on { color: var(--brand); border-color: var(--brand); }
.ut-sm-r { display: grid; grid-template-columns: 16px 1fr 46px 46px; align-items: center; gap: 8px; padding: 4px; border-radius: 5px; }
.ut-sm-r:not(.ut-sm-th):hover { background: var(--bg-hover); }
.ut-sm-r .venue-logo { width: 16px; height: 16px; border-radius: 4px; }
.ut-sm-r .n { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; grid-column: 2; }
.ut-sm-th { color: var(--text-3); font-size: 10px; text-transform: uppercase; letter-spacing: .2px; }
.ut-sm-th span { text-align: center; }
.ut-sm-c { display: flex; justify-content: center; align-items: center; cursor: pointer; }
.ut-sm-c.off { color: var(--text-3); cursor: default; }
.ut-sm-c input { width: 15px; height: 15px; margin: 0; cursor: pointer; accent-color: var(--brand); }
.ut-sm-c i { display: none; }
.ut-sm-st { padding: 14px 8px; text-align: center; color: var(--text-3); }
.ut-sm-note { margin-top: 6px; padding: 6px 4px 0; border-top: 1px solid var(--border); color: var(--text-3); font-size: 11px; line-height: 1.35; }
/* цена, OI и выплаты — три панели, у каждой свой график библиотеки (своё
   полотно и шкала: свечи не выходят за свою панель), окно времени и
   перекрестие связывает JS механикой плитки арбитража. Панели — flex-колонка
   в порядке S.order (стрелки ↑/↓ в шапке): цена тянется (остаток), ОИ и
   выплаты — высота в px от JS (layoutPanes); ось времени — у нижней (--ut-ta
   на панели — её высота, у остальных 0); --ut-fb (ось времени), --ut-sw
   (колонка шкалы) — px внутри колонки панелей */
.ut-pane { position: relative; flex: 0 0 auto; min-height: 0; overflow: hidden; }
.ut-pane.ut-flex { flex: 1 1 auto; min-height: 100px; }
.ut-pane[hidden] { display: none; }
.ut-box { position: absolute; inset: 0; }
/* общая вертикаль перекрестия через все панели (.cross-vline из app.css) */
.ut-cvz > .ut-vline { z-index: 6; }
/* панели одна под другой через линию 1px (граница — разделитель .ut-split) */
.ut-p-price { z-index: 1; }
.ut-chart.ut-nop .ut-p-price .ut-lbl, .ut-chart.ut-nop .ut-tools, .ut-chart.ut-nop .ut-pills { display: none; }
/* шапка панели — пилюля арбитража (.pane-bar) в своей полоске сверху */
.ut-p-oi .ut-lbl, .ut-p-fund .ut-lbl {
  top: 4px; left: 8px; right: auto; max-width: calc(100% - var(--ut-sw, 84px) - 16px);
  flex-wrap: nowrap; white-space: nowrap; overflow: hidden; align-items: center;
}
/* сообщение панели («Загрузка OI…») — над областью данных, не над осью времени */
.ut-pane .ut-msg { bottom: var(--ut-ta, 0px); }
.ut-pbar { position: relative; top: auto; left: auto; z-index: auto; flex: none; pointer-events: auto; white-space: nowrap; max-width: none; overflow: visible; }
.ut-pbar .pane-bar-title { margin-right: 0; }
.ut-pbar .pbar-fold { opacity: .7; }
.ut-lv { display: inline-flex; gap: 10px; align-items: baseline; min-width: 0; }
.ut-lv:empty { display: none; }
.ut-lv .ut-oi-v { margin-left: 0; }
/* разделители соседних полос (.panel-resizer из app.css): тянуть — высоты
   двух соседей; место (top) и пара полос (data-a/data-b) — от layoutBands */
.ut-split {
  position: relative; flex: none; z-index: 6; touch-action: none;
}
.ut-split::before { top: -6px; bottom: -6px; }
.ut-chart:not(.ut-ready) .ut-split, .ut-split[hidden] { display: none; }
@media (pointer: coarse) { .ut-split::before { top: -12px !important; bottom: -12px !important; } }
/* пилюли у нижнего края панели цены, у шкалы (ближайший разлок за краем — скрыт) */
.ut-pills {
  position: absolute; z-index: 4; right: calc(var(--ut-sw, 84px) + 8px);
  bottom: calc(var(--ut-ta, 0px) + 8px);
  display: flex; flex-direction: row-reverse; gap: 6px; max-width: calc(100% - var(--ut-sw, 84px) - 16px);
  pointer-events: none;
}
/* «Авто»: шкалу какой-то панели сдвинули/растянули — вернуть автомасштаб
   всем; в углу графика над осью времени, слева от колонки шкалы */
.ut-cvz > .ut-auto { position: absolute; z-index: 7; right: calc(var(--ut-sw, 84px) + 8px); bottom: calc(var(--ut-fb, 26px) + 8px); }
.ut-auto, .ut-nx {
  pointer-events: auto; flex: none;
  height: 22px; padding: 0 9px; border-radius: 11px; cursor: pointer;
  background: var(--bg-modal); border: 1px solid var(--border-hi); color: var(--text-2);
  font: inherit; font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.ut-nx { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--brand); }
:root[data-theme="light"] .ut-nx { color: var(--brand-dim); }
@media (hover: hover) {
  .ut-auto:hover, .ut-nx:hover { color: var(--text-1); border-color: var(--brand); }
}
.ut-auto[hidden], .ut-nx[hidden] { display: none; }
/* фандинг на бирже начинается позже свечей: пунктир у первого бара */
.ut-f0 {
  position: absolute; top: 20px; bottom: 0; width: 0; border-left: 1px dashed var(--border-hi);
}
.ut-f0[hidden] { display: none; }
.ut-f0 span {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--text-3); white-space: nowrap;
}
.ut-f0.nar span { display: none; }

/* шкалы ОИ и выплат — родные оси своих графиков (подписи fUsd / «+0.050%»),
   свои колонки-накладки .ut-fax больше не нужны */
/* карточка значений панели под курсором (.chart-tooltip арбитража) — лежит
   в своей панели (overflow hidden — соседей не перекрывает) */
.ut-pane > .ut-btip { z-index: 60; min-width: 160px; }
.ut-btip .tooltip-row > span:last-child { font-variant-numeric: tabular-nums; }
.ut-btip[hidden] { display: none; }
.ut-btip b { font-weight: 600; }
.ut-btip .ut-oi-n { color: var(--c-info); }
.ut-lbl {
  position: absolute; z-index: 3; top: 8px; left: 8px; right: 96px; pointer-events: none;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-2);
}
.ut-lbl b { color: var(--text-1); font-weight: 500; }
.ut-lbl i { font-style: normal; }
.ut-msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 13px; pointer-events: none; z-index: 2; text-align: center; padding: 0 20px;
}
.ut-msg:empty { display: none; }
/* биржу сменили, свечи новой ещё не пришли: старые приглушены, поверх — «Загрузка графика…» */
.ut-chart.ut-vload .ut-pane > .ut-box, .ut-chart.ut-vload .ut-locks { opacity: .28; transition: opacity .12s; }
/* короткая подсказка поверх графика («нет свечей на эту дату») */
.ut-flash {
  position: absolute; z-index: 6; left: 50%; top: 40px; transform: translate(-50%, -4px);
  max-width: calc(100% - 120px); padding: 6px 12px; border-radius: var(--r-md);
  background: var(--bg-modal); border: 1px solid var(--border-hi); box-shadow: 0 8px 22px rgba(0,0,0,.35);
  color: var(--text-2); font-size: 12px; text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.ut-flash.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ── карточка разлока у кружка (как подсказки графика арбитража) ── */
.ut-tip[hidden] { display: none !important; }
.ut-tip {
  position: absolute; z-index: 5; pointer-events: none; left: 0; top: 0;
  width: max-content; min-width: 220px; max-width: min(330px, calc(100% - 16px));
  max-height: calc(100% - 8px); overflow: hidden; box-sizing: border-box;
  padding: 8px 10px 9px;
  background: var(--bg-modal); border: 1px solid var(--border-hi); border-radius: var(--r-md);
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  font-size: 12px; color: var(--text-1); line-height: 1.45;
}
[data-theme="light"] .ut-tip { box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.ut-tip.pin { pointer-events: auto; overflow: auto; border-color: var(--brand); }
.ut-tip-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.ut-tip-h b { font-weight: 600; font-size: 12.5px; }
.ut-tip-h .ut-cdn { margin-left: auto; }
.ut-tip-x {
  display: none; flex: 0 0 auto; width: 22px; height: 22px; margin: -3px -4px -3px 2px; padding: 0;
  background: transparent; border: 0; border-radius: var(--r-sm); cursor: pointer;
  color: var(--text-3); font: inherit; font-size: 16px; line-height: 22px; text-align: center;
}
.ut-tip-x:hover { color: var(--text-1); background: var(--bg-hover); }
.ut-tip.pin .ut-tip-x, .ut-tip.dock .ut-tip-x { display: block; }
.ut-tip-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 5px; }
.ut-tip-tags:empty { display: none; }
.ut-tip-tags span {
  padding: 0 6px; border-radius: 3px; font-size: 10.5px; line-height: 17px; font-weight: 600; letter-spacing: .2px;
  color: var(--brand); background: var(--brand-glow);
}
[data-theme="light"] .ut-tip-tags span { color: var(--brand-dim); }
.ut-tip-kv { display: flex; justify-content: space-between; gap: 14px; color: var(--text-2); }
.ut-tip-kv b { font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; color: var(--text-1); white-space: nowrap; }
.ut-tip-rc { margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--border); }
.ut-tip-rc div { display: grid; grid-template-columns: minmax(0, 1fr) auto 36px; gap: 8px; align-items: baseline; color: var(--text-2); }
.ut-tip-rc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ut-tip-rc span i { font-style: normal; color: var(--text-3); font-size: 10.5px; margin-left: 5px; }
.ut-tip-rc em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); white-space: nowrap; }
.ut-tip-rc b { font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; color: var(--text-1); text-align: right; }
.ut-tip-rx {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 2px 12px;
  margin: 5px 0 3px; padding-top: 5px; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11.5px;
}
.ut-tip-rx i { font-style: normal; color: var(--text-3); margin-right: 4px; }
.ut-tip-sep { height: 1px; margin: 7px -10px; background: var(--border-hi); }
.ut-tip-sub { font-weight: 600; margin-bottom: 4px; }

/* ── правая панель ── */
/* сплошная колонка во всю высоту, разделы — через тонкие линии (как «Ноги») */
/* ручка ширины панели — на её левой границе (стиль .side-resizer из app.css) */
.ut-side > .ut-srz { position: absolute; top: 0; bottom: 0; left: -3px; width: 5px; flex: none; touch-action: none; }
.ut-side > .ut-srz::after { right: auto; left: 2px; }
.ut-main.ut-sfold .ut-srz { display: none; }
.ut-side {
  position: relative;
  display: flex; flex-direction: column; min-width: 0; min-height: 0;
  border-left: 1px solid var(--border); background: var(--bg-panel);
}
.ut-sb { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border-hi) transparent; }
.ut-sb::-webkit-scrollbar { width: 6px; }
.ut-sb::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }
.ut-ss { padding: var(--sp-3) var(--sp-3); border-bottom: 1px solid var(--border); border-left: 3px solid transparent; }
/* блок биржи — зелёная полоса слева, как нога лонга на арбитраже */
.ut-ss.ut-legc { border-left-color: var(--c-pos); }
/* разделы разлоков — золотой акцент слева: та же полоса-рамка 3px, что у блока
   биржи, одной линией (раньше был inset-тенью 2px и стоял на 3px правее) */
.ut-ss.ut-acc { border-left-color: color-mix(in srgb, var(--brand) 75%, transparent); }
.ut-ss.ut-click { cursor: pointer; transition: background var(--dur) var(--ease); }
.ut-ss.ut-click:hover { background: var(--bg-hover); }
.ut-ssh {
  display: flex; align-items: center; gap: var(--sp-2); min-height: 20px; margin-bottom: var(--sp-2);
  font-size: 13.5px; font-weight: 700; color: var(--text-1); white-space: nowrap; min-width: 0;
}
.ut-ssh > b { overflow: hidden; text-overflow: ellipsis; }
.ut-ssh > .ut-dim { font-family: var(--font-mono); font-size: 11px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.ut-ttl { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
/* шеврон сворачивания раздела — как .leg-fold */
.ut-fold {
  margin-left: auto; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; padding: 0;
  border: 1px solid var(--border-hi); border-radius: 4px;
  background: transparent; color: var(--text-3); cursor: pointer;
  transition: color .12s ease, border-color .12s ease, transform .18s ease;
}
.ut-fold svg { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ut-fold:hover { color: var(--text-1); border-color: var(--text-3); }
.ut-fold.on { transform: rotate(-90deg); }
.ut-ss.folded .ut-ssb { display: none; }
.ut-ss.folded .ut-ssh { margin-bottom: 0; }
/* строки: подпись слева, моно-значение справа */
.ut-kv { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); font-size: 12px; padding: 2.5px 0; }
.ut-ssh > .leg-type { flex-shrink: 0; font-weight: 700; }
.ut-kv > span { color: var(--text-3); white-space: nowrap; }
.ut-kv > b { font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; color: var(--text-1); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ut-kv.ut-pxr > b { font-size: 12.5px; }
.ut-kv.ut-pxr > b .ut-dim { font-size: 11px; font-weight: 500; }
.ut-kv.ut-dt > span { color: var(--text-1); font-weight: 600; }
.ut-kv.ut-dt > b { font-weight: 500; }
/* боковое меню нижней кнопкой: свернуть всю панель */
.ut-sbot {
  margin-top: auto; flex-shrink: 0; display: flex; justify-content: flex-start;
  padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--border); background: var(--bg-panel);
}
.ut-stog {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0; padding: 0;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: transparent; color: var(--text-2); cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.ut-stog svg { width: 16px; height: 16px; display: block; }
.ut-stog:hover { color: var(--text-1); border-color: var(--border-hi); background: var(--bg-hover); }
.ut-main.ut-sfold { grid-template-columns: minmax(0, 1fr) 46px; }
.ut-sfold .ut-sb { display: none; }
.ut-sfold .ut-sbot { justify-content: center; padding: var(--sp-3) 0; }
.ut-sfold .ut-stog svg { transform: scaleX(-1); }
.ut-sfold .ut-stog { color: var(--text-1); border-color: var(--outline); }
/* «Фандинг» — открывает историю выплат (как строка ноги на арбитраже) */
.ut-kv.fh-open { cursor: pointer; }
.ut-kv.fh-open > .fh-lbl { transition: color var(--dur) var(--ease); }
.ut-kv.fh-open:hover > .fh-lbl, .ut-kv.fh-open:hover .fh-caret { color: var(--brand); }
[data-theme="light"] .ut-kv.fh-open:hover > .fh-lbl, [data-theme="light"] .ut-kv.fh-open:hover .fh-caret { color: var(--brand-dim); }
.ut-prog { height: 3px; border-radius: 2px; background: var(--border); margin: 4px 0 1px; overflow: hidden; }
.ut-prog i { display: block; height: 100%; background: var(--text-3); }
.ut-nx { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.ut-nx b { font-size: 14px; font-weight: 600; }
.ut-nx .ut-dim { font-size: 12px; white-space: nowrap; }
.ut-cdn { color: var(--brand); font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
[data-theme="light"] .ut-cdn { color: var(--brand-dim); }
.ut-kv > b.ut-cdn { color: var(--brand); font-weight: 600; }
[data-theme="light"] .ut-kv > b.ut-cdn { color: var(--brand-dim); }
.ut-kv > b.ut-dim { color: var(--text-3); }
.ut-rcp { margin-top: 3px; padding-top: 3px; border-top: 1px solid var(--border-soft); font-size: 12px; }
.ut-rcp div { display: flex; justify-content: space-between; gap: 10px; line-height: 20px; color: var(--text-2); }
.ut-rcp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ut-rcp b { font-family: var(--font-mono); font-weight: 600; color: var(--text-1); }
.ut-rxs {
  display: flex; justify-content: space-between; gap: 8px; margin: 2px 0; line-height: 22px;
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
}
.ut-rxs i { font-style: normal; color: var(--text-3); margin-right: 4px; }
.ut-note { color: var(--text-3); font-size: 12px; line-height: 1.5; padding-top: 2px; }
.ut-state, .ut-empty { color: var(--text-3); font-size: 13px; padding: 18px 4px; }
.ut-sb > .ut-state { padding: 14px 12px; }

/* ── таблицы ── */
/* справа — полоса шире: над таблицей колесо листает её саму (у истории своя
   прокрутка), а страницу удобно листать с этой полосы (владелец, 10.11.2026) */
.ut-sec { min-width: 0; padding: 0 48px 0 16px; }
.ut-sh { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 6px; flex-wrap: wrap; }
.ut-sh > b { font-size: 14px; font-weight: 600; }
.ut-sh > .ut-dim { font-family: var(--font-mono); font-size: 12px; }
.ut-hint { font-size: 11.5px; margin-left: 6px; }
.ut-btn {
  background: var(--tb-chip-bg); border: 1px solid var(--tb-chip-bd); border-radius: var(--r-md);
  color: var(--text-2); font: inherit; font-size: 12px; padding: 5px 10px; cursor: pointer; align-self: center;
}
.ut-btn:hover { color: var(--text-1); background: var(--tb-chip-bg-hi); border-color: var(--tb-chip-bd-hi); }
.ut-btn.on { color: var(--brand); border-color: var(--brand); }
.ut-tw {
  overflow-x: auto; background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--r-md);
}
/* история длинная — своя прокрутка, иначе липкая шапка не держится */
.ut-hist .ut-tw { max-height: min(70vh, 640px); overflow: auto; overscroll-behavior: contain; }
.ut-table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ut-table thead { position: sticky; top: 0; z-index: 2; }
.ut-table th {
  background: var(--bg-panel);
  color: var(--text-3); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .2px;
  padding: 7px 10px; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.ut-table th.ut-rk { text-transform: none; font-size: 11px; }
.ut-table td {
  padding: 5px 10px; text-align: right; white-space: nowrap; font-family: var(--font-mono); font-size: 12px;
  border-bottom: 1px solid var(--border-soft);
}
.ut-table .l { text-align: left; }
.ut-table td.l { font-family: var(--font-body); font-size: 12.5px; }
.ut-table tbody tr[data-t] { cursor: pointer; transition: background var(--dur) var(--ease); }
.ut-table tbody tr[data-t]:hover { background: var(--bg-hover); }
.ut-table tbody tr.on { background: var(--brand-glow); }
.ut-table tbody tr.on td:first-child { box-shadow: inset 2px 0 0 var(--brand); }
.ut-table tbody tr:last-child td { border-bottom: 0; }
.ut-who { max-width: 380px; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); }
.ut-ht .ut-who { max-width: 240px; }
.ut-hi { color: var(--text-1); font-weight: 600; }
.ut-approx { opacity: .55; }
.ut-prec {
  display: inline-block; margin-left: 6px; padding: 0 4px; border-radius: 3px;
  font-family: var(--font-mono); font-size: 10px; line-height: 15px; color: var(--text-3); border: 1px solid var(--border);
  vertical-align: 1px;
}
.ut-fd { color: var(--text-2); }
/* сводка — в шапке таблицы (липнет вместе с ней) */
.ut-sum td { background: var(--bg-card); border-bottom: 0; }
.ut-sum td.l { color: var(--text-2); font-size: 12px; }
.ut-sum.first td { padding-top: 7px; }
.ut-sum.last td { padding-bottom: 7px; border-bottom: 1px solid var(--border); }

/* ── окно «Поделиться разлоком»: формат, картинка, действия ── */
.ut-share-modal { width: min(1060px, 96vw); }
.ut-share-body { padding: var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.ut-share-stage {
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  height: min(62vh, 640px, calc(85vh - 220px)); min-height: 220px;
}
.ut-share-stage .ut-share-cv { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.ut-share-foot { flex-wrap: wrap; }
.ut-share-foot .btn.ut-ok { color: var(--c-pos); border-color: var(--c-pos); }
@media (max-width: 640px) {
  .ut-share-body { padding: var(--sp-3); overflow-y: auto; }
  .ut-share-stage { height: auto; min-height: 0; }
  .ut-share-stage .ut-share-cv { max-height: max(220px, min(56vh, calc(85vh - 300px))); }
  .ut-share-foot .btn { flex: 1 1 auto; }
}
@media (pointer: coarse) and (max-height: 500px) {
  .ut-share-stage { height: 200px; min-height: 0; }
}

/* ── планшет / узкое окно: панель уже ── */
@media (max-width: 1199px) {
  .ut-main { grid-template-columns: minmax(0, 1fr) var(--ut-sw, 270px); }
  .ut-nm { display: none; }
}
/* ── телефон/узкий экран: всё в столбик ── */
@media (max-width: 900px) {
  #page-unlock.active { padding: 0 0 24px; }
  .ut-sec { padding: 0 12px; }
  .ut-main { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
  .ut-chart { height: max(380px, 64vh); height: max(380px, 64svh); }
  /* своя полоса OI — график выше, свечам остаётся место */
  .ut-chart.ut-ready:not(.ut-nooi) { height: max(480px, 74vh); height: max(480px, 74svh); }
  /* панель — под графиком, без сворачивания */
  .ut-main.ut-sfold { grid-template-columns: minmax(0, 1fr); }
  .ut-side { border-left: 0; border-top: 1px solid var(--border); }
  .ut-sb, .ut-sfold .ut-sb { display: block; overflow: visible; }
  .ut-sbot { display: none; }
  .ut-sb > .ut-ss:last-child { border-bottom: 0; }
  /* страница листается — история не перехватывает прокрутку */
  .ut-hist .ut-tw { overscroll-behavior: auto; }
  .ut-ext { display: none; }
  .ut-hint { display: none; }
  .ut-vmenu { min-width: 260px; }
}
/* планшет стоя: разделы в две колонки через вертикальную линию */
@media (min-width: 600px) and (max-width: 900px) {
  .ut-sb { column-count: 2; column-gap: 0; column-rule: 1px solid var(--border); }
  .ut-ss { break-inside: avoid; }
}
@media (max-width: 768px) {
  /* меню бирж — на всю ширину экрана под кнопкой (место ставит JS) */
  .ut-vmenu { min-width: 0; max-height: 60vh; }
  /* кнопки шапки — под палец, как .tb-btn */
  .ut-vbtn, .ut-btc { height: 38px; }
  .ut-back { padding-block: 9px; }
  /* карточка разлока — внизу панели цены, во всю ширину, с крестиком */
  .ut-lbl { right: 66px; }
  .ut-auto, .ut-nx { height: 26px; border-radius: 13px; padding: 0 11px; }
}
/* планшет: кнопки шапки чуть крупнее под палец */
@media (pointer: coarse) and (min-width: 769px) {
  .ut-vbtn, .ut-btc { height: 36px; }
}
/* тач (телефон и планшет): карточка по тапу, пристёгнута к низу панели цены */
.ut-tip.dock {
  left: 8px !important; right: 8px; top: auto !important; bottom: 8px;
  width: auto; min-width: 0; max-width: none; max-height: 55%;
  overflow: auto; pointer-events: auto; overscroll-behavior: contain;
}
/* планшет: карточка не во всю ширину графика */
@media (min-width: 769px) {
  .ut-tip.dock { right: auto; width: min(400px, calc(100% - 16px)); }
}
@media (hover: none) {
  .ut-ss.ut-click:hover { background: transparent; }
  .ut-table tbody tr[data-t]:hover { background: transparent; }
  .ut-table tbody tr.on { background: var(--brand-glow); }
}
@media (max-width: 480px) {
  .ut-back span { display: none; }
  .ut-vcur .ut-dim { display: none; }
  .ut-vi { grid-template-columns: 16px 1fr auto; }
  .ut-vi .o { display: none; }
  .ut-lbl { font-size: 10.5px; gap: 8px; }
  .ut-lbl .hl { display: none; }
  .ut-tip-rx { grid-template-columns: repeat(3, auto); }
}
/* монеты нет в индексе разлоков */
.ut-nodata { color: var(--text-3); font-size: 12.5px; line-height: 1.45; }

/* ── инструменты слева на графике: линейка ── */
.ut-tools {
  position: absolute; left: 8px; top: 42px; z-index: 6;
  display: flex; flex-direction: column; gap: 4px;
}
.ut-tool {
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--tb-chip-bd); border-radius: 8px; cursor: pointer;
  background: var(--bg-panel); color: var(--text-3);
}
.ut-tool:hover { color: var(--text-1); background: var(--tb-chip-bg-hi); }
.ut-tool.on { color: var(--brand); border-color: var(--brand); background: var(--brand-glow); }
.ut-ruling .ut-box { cursor: crosshair; touch-action: none; }
.ut-ruler { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.ut-ruler[hidden] { display: none; }
/* линейка — вид «диапазона цены и дат» TradingView: нейтральная заливка,
   тонкие уровни, стрелки цены и времени, тёмная подпись */
.ut-r-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
/* метка листинга: зелёная черта во всю высоту графика, подпись сверху */
.ut-list { position: absolute; top: 0; width: 0; z-index: 4; pointer-events: none; }
.ut-list[hidden] { display: none; }
.ut-list > i { position: absolute; top: 0; bottom: 0; left: -1px; width: 3px; border-radius: 2px;
  background: var(--c-pos); box-shadow: 0 0 10px color-mix(in srgb, var(--c-pos) 55%, transparent); opacity: .9; }
.ut-list > span { position: absolute; top: 46px; left: 6px; white-space: nowrap;
  padding: 2px 7px; border-radius: 5px; font-size: 11px; font-weight: 700; letter-spacing: .02em;
  background: var(--c-pos); color: #04150C; }
/* замер не вылезает за график: раньше рисовался поверх шапки и кнопок */
.ut-ruler { overflow: hidden; }
/* телефон (09.11.2026): шапка графика в одну строку — тикер, биржа (сжимается),
   ТФ и «Поделиться»; подпись полосы цены — одной строкой, инструменты
   измерения под ней, а не поверх */
@media (max-width: 768px) {
  .ut-tbar { flex-wrap: nowrap !important; }
  .ut-tbar .ut-venue { min-width: 0; flex: 0 1 auto; }
  .ut-tbar .ut-vbtn { max-width: 100%; overflow: hidden; }
  .ut-tbar .ut-vbtn .pill-coin { display: none; }
  .ut-tbar .ut-ext { display: none; }
  .ut-p-price .ut-lbl { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; right: 8px; }
  .ut-tools { top: 46px; }
}
/* готовый замер: наведение на область — ручки на концах (тянуть) */
.ut-r-svg .r-m .r-fill { pointer-events: all; }
.ut-r-svg .r-h {
  fill: var(--bg); stroke: var(--c-info, #3987e5); stroke-width: 2;
  opacity: 0; pointer-events: none; cursor: grab;
  transition: opacity var(--dur) var(--ease);
}
.ut-r-svg .r-m:hover .r-h, .ut-r-svg .r-m.ed .r-h { opacity: 1; pointer-events: all; }
.ut-r-svg .r-m.ed .r-h { cursor: grabbing; }
.ut-r-svg .r-m:hover .r-fill { fill: color-mix(in srgb, var(--text-1) 13%, transparent); }
@media (hover: none) { .ut-r-svg .r-h { opacity: 1; pointer-events: all; } }
.ut-r-svg .r-fill { fill: color-mix(in srgb, var(--text-1) 9%, transparent); }
.ut-r-svg .r-edge { stroke: color-mix(in srgb, var(--text-1) 45%, transparent); stroke-width: 1; shape-rendering: crispEdges; }
.ut-r-svg .r-arrow { stroke: var(--text-1); stroke-width: 1.3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* «Прогноз»: дуга (тот же .r-arrow), точки на концах; невидимая широкая
   обводка — зона наведения (показывает ручки концов, как заливка у замеров) */
.ut-r-svg .r-dot { fill: var(--text-1); stroke: var(--bg); stroke-width: 1; }
.ut-r-svg .r-hit { fill: none; stroke: transparent; stroke-width: 14; }
.ut-r-svg .r-m .r-hit { pointer-events: stroke; }
.ut-r-lbl .r-clk { vertical-align: -1.5px; margin: 0 1px 0 4px; }
.ut-r-lbls { position: absolute; inset: 0; }
.ut-r-lbl {
  position: absolute; transform: translate(-50%, -100%); white-space: nowrap; text-align: center;
  padding: 6px 11px; border-radius: 8px; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums;
  background: var(--bg-modal); border: 1px solid var(--border-hi); color: var(--text-1);
  box-shadow: 0 6px 18px rgba(0,0,0,.42);
}
[data-theme="light"] .ut-r-lbl { box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.ut-r-lbl.below { transform: translate(-50%, 0); }
.ut-r-lbl b { font-weight: 600; }
.ut-r-lbl .r2 { color: var(--text-2); font-size: 11.5px; }
/* готовый замер: подпись кликабельна — клик удаляет; при наведении краснеет
   рамка и появляется крестик */
.ut-r-lbl[data-i] { pointer-events: auto; cursor: pointer; transition: border-color var(--dur) var(--ease); }
.ut-r-lbl[data-i]::after {
  content: "✕"; position: absolute; top: -7px; right: -7px;
  width: 16px; height: 16px; border-radius: 50%; font-size: 9px; line-height: 16px; text-align: center;
  background: var(--c-neg); color: #fff; opacity: 0; transform: scale(.6);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ut-r-lbl[data-i]:hover { border-color: var(--c-neg); }
.ut-r-lbl[data-i]:hover::after { opacity: 1; transform: scale(1); }
@media (hover: none) { .ut-r-lbl[data-i]::after { opacity: 1; transform: scale(1); } }

/* шапка панели: ✕ — закрыть панель, 👁 — спрятать данные; «Авто» — одна на
   все панели, появляется, когда хоть одна в ручном масштабе */
.ut-pbar .pbar-fold.off { opacity: .28; }
.ut-pbar .pbar-x { font-size: 11px; }
/* ↑/↓ — панель выше/ниже; у крайней панели стрелка «за край» неактивна */
.ut-pbar .pbar-up:disabled, .ut-pbar .pbar-dn:disabled { opacity: .3; cursor: default; }
.ut-pbar .pbar-up:disabled:hover, .ut-pbar .pbar-dn:disabled:hover { color: var(--text-3); }

/* пояс оси времени — угол под шкалой цены (ширина = колонке шкалы) */
.ut-cv .tz-btn { width: var(--ut-sw, 84px); height: var(--ut-fb, 26px); right: 0; bottom: 0; }
.ut-cv .tz-menu { bottom: calc(var(--ut-fb, 26px) + 4px); }

/* лого монеты в шапке страницы токена */
.ut-clogo { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-card); overflow: hidden; flex: none; display: inline-block; align-self: center; }
.ut-clogo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ut-tk { align-items: center; }

/* ── замки разлоков на графике (вместо кружков): закрытый — впереди, открытый — был ── */
.ut-locks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: hidden; }
.ut-locks[hidden] { display: none; }
.ut-lk { opacity: .62; transition: opacity .12s ease; }
.ut-lk .lk-b { fill: var(--brand); stroke: var(--brand); stroke-width: 1.4; stroke-linejoin: round; }
.ut-lk .lk-bo { fill: var(--bg, #0b0d10); fill-opacity: .85; }
.ut-lk .lk-s { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; }
.ut-lk .lk-k { fill: var(--bg, #0b0d10); }
.ut-lk .lk-r { fill: var(--brand); fill-opacity: 0; stroke: var(--brand); stroke-opacity: 0; stroke-width: 1.2; transition: fill-opacity .12s, stroke-opacity .12s; }
.ut-lk.hv { opacity: 1; }
/* выбранный замок выглядит как все: без ободка и без своей яркости
   (владелец, 10.11.2026: «одинаковый для всех»); мигание при выборе — .blink */
.ut-lk.blink { opacity: 0; }
[data-theme="light"] .ut-lk .lk-b, [data-theme="light"] .ut-lk .lk-s, [data-theme="light"] .ut-lk .lk-r { stroke: var(--brand-dim, var(--brand)); }
[data-theme="light"] .ut-lk .lk-b { fill: var(--brand-dim, var(--brand)); }
[data-theme="light"] .ut-lk .lk-bo { fill: #fff; }
[data-theme="light"] .ut-lk .lk-k { fill: #fff; }
/* ячейка «токены / $» таблиц разлоков — одной строкой */
.ut-table td.ut-two { white-space: nowrap; }

/* «Реакция на разлок»: до (3д · 24ч · 12ч) и после (1ч · 3ч · 12ч) — в карточке
   замка и в блоке «Прошлый разлок»; высота постоянная (числа или «…») */
.ut-rx2 { margin: 6px 0 4px; font-size: 12px; font-variant-numeric: tabular-nums; }
.ut-rx-h { color: var(--text-3); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.ut-rx-r { display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)); gap: 0 8px; align-items: baseline; padding: 2px 0; }
.ut-rx-r em { font-style: normal; color: var(--text-2); }
.ut-rx-r span { white-space: nowrap; font-family: var(--font-mono); font-weight: 600; }
.ut-rx-r i { font-style: normal; font-weight: 400; color: var(--text-3); margin-right: 4px; }
/* палец: стрелка меню «из чего считать» и галочки в нём — крупнее */
@media (pointer: coarse) {
  .ut-chip-car { margin: -8px -10px -8px 4px; padding: 8px 11px 8px 9px; font-size: 11px; }
  .ut-sm-r { padding: 7px 4px; }
  .ut-sm-c input { width: 20px; height: 20px; }
  .ut-sm-a { padding: 7px 10px; font-size: 13px; }
}
